CN109743142A - Information communication method and device - Google Patents
Information communication method and device Download PDFInfo
- Publication number
- CN109743142A CN109743142A CN201811155175.4A CN201811155175A CN109743142A CN 109743142 A CN109743142 A CN 109743142A CN 201811155175 A CN201811155175 A CN 201811155175A CN 109743142 A CN109743142 A CN 109743142A
- Authority
- CN
- China
- Prior art keywords
- message
- broadcast
- data
- mark
- data receiver
- 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
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention proposes a kind of information communication method and device, and wherein method includes: to obtain message to be broadcast;By information reporting to be broadcast to Message Queuing Middleware, so that at least one data receiver obtains message to be broadcast from Message Queuing Middleware, and return response result is to Message Queuing Middleware;Judge whether the response results that all data receivers are got from Message Queuing Middleware;If it is not, then message to be retransmitted is cached to preset cache region, and whether the communication link between detection data sender and the first data receiver of not sent response results is connected to;It include: the mark of message content, the mark of data sender and the first data receiver in message to be retransmitted;If communication link is connected to, by information reporting to be retransmitted to Message Queuing Middleware, so as to be retransmitted in time to message, it is ensured that cloud platform administrative center receives message in time, to improve message communicating efficiency when message sends failure.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of information communication methods and device.
Background technique
At present in passenger information system (Passenger Information System, PIS), multimedia host passes through
Network protocol obtains the video file that cloud platform administrative center issues, and sends phase by way of plug-flow for video file
The Broadcast Control device answered carries out video playing.Multimedia host in the process of running, can generate a large amount of status information, fault message
Deng these information need to be reported to cloud platform administrative center.Currently, multimedia host is sent out message by Message Queuing Middleware
It send to cloud platform administrative center, when message sends failure, multimedia host is by cycling through mechanism, repeatedly again by message
It is sent to Message Queuing Middleware, until cycle-index meets preset times.
However, the interval time for cycling through mechanism is generally long, such as half an hour in above scheme, it is delayed significantly
The transmission of message, so that cloud platform administrative center is difficult to receive message in time;In addition, meeting preset times in cycle-index
When, if the also not sent success of message, does not retransmit, reduce success rate and effect that cloud platform administrative center receives message
Rate reduces message communicating efficiency.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, the first purpose of this invention is to propose a kind of information communication method, disappear in the prior art for solving
The inefficient problem of message communication.
Second object of the present invention is to propose another information communication method.
Third object of the present invention is to propose a kind of message communicating device.
Fourth object of the present invention is to propose another message communicating device.
5th purpose of the invention is to propose another message communicating device.
In order to achieve the above object, first aspect present invention embodiment proposes a kind of information communication method, it is applied to data and sends out
The side of sending, comprising:
Obtain message to be broadcast;Include: in the message to be broadcast message content, data sender mark, with
And the mark of at least one data receiver;
By the information reporting to be broadcast to Message Queuing Middleware, so that at least one described data receiver is from institute
It states and obtains the message to be broadcast in Message Queuing Middleware, and returned after successfully obtaining and carry self identification and described
The response results of the mark of data sender give the Message Queuing Middleware;
Judge whether the response results that at least one data receiver is got from the Message Queuing Middleware;
The first data receiver of response results has not been obtained if it exists, then caches message to be retransmitted to preset cache area
Domain, and whether the communication link detected between the data sender and first data receiver is connected to;It is described to be retransmitted
It include: the mark of the message content, the mark of the data sender and first data receiver in message;
It, will be described to be retransmitted when communication link between the data sender and first data receiver is connected to
Information reporting is to Message Queuing Middleware.
Further, after by the information reporting to be retransmitted to Message Queuing Middleware, further includes:
Judge whether the response results that first data receiver is got from the Message Queuing Middleware;
If getting the response results of first data receiver, delete in the preset cache region it is described to
Retransmit message;
If the response results of first data receiver have not been obtained, in the data sender and first number
When being connected to according to the communication link between recipient, by the information reporting to be retransmitted to Message Queuing Middleware, until described pre-
If uncached in buffer zone have the message to be retransmitted.
It is further, described to obtain message to be broadcast, comprising:
Obtain theme belonging to message content and the message content to be broadcast;
According to the theme, query subscription list obtains at least one subscriber corresponding with the theme;
According to the message content to be broadcast, the mark of the data sender and at least one described subscriber
Mark, generate the message to be broadcast.
Further, in the message to be broadcast further include: theme belonging to the message content;
At least one described data receiver obtains the side of the message to be broadcast from the Message Queuing Middleware
Formula is,
Message to be broadcast relevant to ordered theme is obtained from the Message Queuing Middleware;
Judge in the message to be broadcast whether to include self identification;
If including self identification, the message to be broadcast is received.
The information communication method of the embodiment of the present invention, by obtaining message to be broadcast;It include: to disappear in message to be broadcast
Cease content, the mark of data sender and the mark of at least one data receiver;By information reporting to be broadcast to message
Queue middleware, so that at least one data receiver obtains message to be broadcast from Message Queuing Middleware, and in success
The response results for the mark for carrying self identification and data sender are returned after acquisition to Message Queuing Middleware;Judge whether
The response results of at least one data receiver are got from Message Queuing Middleware;Response results have not been obtained if it exists
First data receiver then caches message to be retransmitted to preset cache region, and detection data sender connects with the first data
Whether the communication link between debit is connected to;It include: the mark of message content, data sender, Yi Ji in message to be retransmitted
The mark of one data receiver;It, will be to be retransmitted when communication link between data sender and the first data receiver is connected to
Information reporting is to Message Queuing Middleware, so as to be retransmitted to message in time when message sends failure, it is ensured that
Cloud platform administrative center receives message in time, to improve message communicating efficiency.
In order to achieve the above object, second aspect of the present invention embodiment proposes another information communication method, it is applied to data
Recipient, comprising:
Monitoring information queue middleware obtains the message to be broadcast in the Message Queuing Middleware;It is described to be broadcast
Message in include: message content, the mark of data sender and at least one data receiver mark;
Judge in the mark of at least one data receiver whether to include self identification;
If in the mark of at least one data receiver including self identification, self identification and described will be carried
The response results of the mark of data sender are sent to the Message Queuing Middleware, so that the data sender disappears from described
The response results are obtained in breath queue middleware, and are determined whether to retransmit described to be broadcast disappear according to the response results
Breath.
The information communication method of the embodiment of the present invention, data receiver obtain message by monitoring information queue middleware
Message to be broadcast in queue middleware;Include: in message to be broadcast message content, data sender mark and
The mark of at least one data receiver;If in the mark of at least one data receiver including self identification, will carry certainly
Body mark and the response results of mark of data sender are sent to Message Queuing Middleware, so that data sender is from message
Response results are obtained in queue middleware, and result determines whether to retransmit message to be broadcast according to response, however, it is determined that retransmit, then
It will include retransmitting object, such as the message to be retransmitted of the first data receiver and message content, data sender is cached to pre-
If buffer zone, and when the communication link between data sender and the first data receiver is connected to, it will be in message to be retransmitted
Message Queuing Middleware is offered, so as to retransmit in time to message, it is ensured that each number when message sends failure
Message is received in time according to recipient, to improve message communicating efficiency.
In order to achieve the above object, third aspect present invention embodiment proposes a kind of message communicating device, it is applied to data and sends out
The side of sending, comprising:
Module is obtained, for obtaining message to be broadcast;It include: message content, data hair in the message to be broadcast
The mark for the side of sending and the mark of at least one data receiver;
Reporting module, for by the information reporting to be broadcast to Message Queuing Middleware so that it is described at least one
Data receiver obtains the message to be broadcast from the Message Queuing Middleware, and returns and carried certainly after successfully obtaining
The response results of body mark and the mark of the data sender give the Message Queuing Middleware;
Judgment module gets at least one described data receiver for judging whether from the Message Queuing Middleware
The response results of side;
Processing module, for when there is the first data receiver that response results have not been obtained, message to be retransmitted to be delayed
It deposits to preset cache region, and whether the communication link detected between the data sender and first data receiver connects
It is logical;It include: that the message content, the mark of the data sender and first data connect in the message to be retransmitted
The mark of debit;
The reporting module, the communication link being also used between the data sender and first data receiver
When connection, by the information reporting to be retransmitted to Message Queuing Middleware.
Further, the device further include: removing module;
The judgment module is also used to judge whether to get first data from the Message Queuing Middleware and connects
The response results of debit;
The removing module, it is described default for deleting when getting the response results of first data receiver
The message to be retransmitted in buffer zone;
The processing module is also used to when the response results of first data receiver have not been obtained, in the number
When being connected to according to the communication link between sender and first data receiver, the information reporting to be retransmitted is given to message team
Column middleware, until uncached in the preset cache region have the message to be retransmitted.
Further, the acquisition module is specifically used for,
Obtain theme belonging to message content and the message content to be broadcast;
According to the theme, query subscription list obtains at least one subscriber corresponding with the theme;
According to the message content to be broadcast, the mark of the data sender and at least one described subscriber
Mark, generate the message to be broadcast.
Further, in the message to be broadcast further include: theme belonging to the message content;
At least one described data receiver obtains the side of the message to be broadcast from the Message Queuing Middleware
Formula is,
Message to be broadcast relevant to ordered theme is obtained from the Message Queuing Middleware;
Judge in the message to be broadcast whether to include self identification;
If including self identification, the message to be broadcast is received.
The message communicating device of the embodiment of the present invention, by obtaining message to be broadcast;It include: to disappear in message to be broadcast
Cease content, the mark of data sender and the mark of at least one data receiver;By information reporting to be broadcast to message
Queue middleware, so that at least one data receiver obtains message to be broadcast from Message Queuing Middleware, and in success
The response results for the mark for carrying self identification and data sender are returned after acquisition to Message Queuing Middleware;Judge whether
The response results of at least one data receiver are got from Message Queuing Middleware;Response results have not been obtained if it exists
First data receiver then caches message to be retransmitted to preset cache region, and detection data sender connects with the first data
Whether the communication link between debit is connected to;It include: the mark of message content, data sender, Yi Ji in message to be retransmitted
The mark of one data receiver;It, will be to be retransmitted when communication link between data sender and the first data receiver is connected to
Information reporting is to Message Queuing Middleware, so as to be retransmitted to message in time when message sends failure, it is ensured that
Cloud platform administrative center receives message in time, to improve message communicating efficiency.
In order to achieve the above object, fourth aspect present invention embodiment proposes another message communicating device, it is applied to data
Recipient, comprising:
Module is monitored, monitoring information queue middleware is used for, obtain in the Message Queuing Middleware to be broadcast disappears
Breath;It include: message content, the mark of data sender and at least one data receiver in the message to be broadcast
Mark;
Whether judgment module includes self identification in the mark for judging at least one data receiver;
Sending module when for including self identification in the mark of at least one data receiver, will carry certainly
The response results of body mark and the mark of the data sender are sent to the Message Queuing Middleware, so that the data
Sender obtains the response results from the Message Queuing Middleware, and is determined whether to retransmit institute according to the response results
State message to be broadcast.
The information communication method of the embodiment of the present invention, data receiver obtain message by monitoring information queue middleware
Message to be broadcast in queue middleware;Include: in message to be broadcast message content, data sender mark and
The mark of at least one data receiver;If in the mark of at least one data receiver including self identification, will carry certainly
Body mark and the response results of mark of data sender are sent to Message Queuing Middleware, so that data sender is from message
Response results are obtained in queue middleware, and result determines whether to retransmit message to be broadcast according to response, however, it is determined that retransmit, then
It will include retransmitting object, such as the message to be retransmitted of the first data receiver and message content, data sender is cached to pre-
If buffer zone, and when the communication link between data sender and the first data receiver is connected to, it will be in message to be retransmitted
Message Queuing Middleware is offered, so as to retransmit in time to message, it is ensured that each number when message sends failure
Message is received in time according to recipient, to improve message communicating efficiency.
In order to achieve the above object, fifth aspect present invention embodiment proposes another message communicating device, comprising: storage
Device, processor and storage are on a memory and the computer program that can run on a processor, which is characterized in that the processor
Information communication method as described above is realized when executing described program.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is a kind of flow diagram of information communication method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of another information communication method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of message communicating device provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another message communicating device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another message communicating device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another message communicating device provided in an embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings the information communication method and device of the embodiment of the present invention are described.
Fig. 1 is a kind of flow diagram of information communication method provided in an embodiment of the present invention.As shown in Figure 1, the message
Communication means is applied to data sender, mainly comprises the steps that
S101, message to be broadcast is obtained;Include: in message to be broadcast message content, data sender mark, with
And the mark of at least one data receiver.
In the present embodiment, by taking passenger information system PIS as an example, data sender can be the cloud platform pipe in PIS system
Reason center or multimedia host.When data sender is cloud platform administrative center, data receiver can be multimedia master
Machine.When data sender is multimedia host, data receiver can be cloud platform administrative center.Wherein, cloud platform management
Center and multimedia host can be distributed system, can be distributed on server cluster.
In the present embodiment, when data sender is multimedia host, message to be broadcast for example can be following message
In any one or it is a variety of: status message, failure message, log information, response message etc..When data sender is Yun Ping
When platform administrative center, message to be broadcast for example can in following message any one or it is a variety of: response message, video
Message etc..
Further, in the present embodiment, the process that data sender obtains message to be broadcast is specifically as follows, obtain to
Theme belonging to the message content and message content of broadcast;According to theme, query subscription list is obtained corresponding with theme
At least one subscriber;According to the mark of message content to be broadcast, the mark of data sender and at least one subscriber
Know, generates message to be broadcast.
Wherein, theme can be for example log, failure, state, response etc..It may include: each theme in subscription list
Corresponding subscriber.For example, if cloud platform administrative center wants to obtain the status message of each multimedia host, cloud platform pipe
Reason center is the corresponding subscriber of status topic.If multimedia host is wanted to obtain the response message of cloud platform administrative center,
Multimedia host is the corresponding subscriber of response subject.
In the present embodiment, Message Queuing Middleware is the software independently of data sender and data receiver, that is,
It says, Message Queuing Middleware is arranged on server cluster, and the server cluster is independently of multimedia host and cloud platform pipe
Reason center, and the server cluster can be communicated with multimedia host and cloud platform administrative center.Wherein, in message queue
Between be provided with multiple queues in part, for example, Message Queuing Middleware can be each more matchmakers when multimedia host is sender
Body host creates a queue, is used to place the message that corresponding multimedia host is reported in queue.
The corresponding relationship between theme and subscriber is preserved in the present embodiment, in Message Queuing Middleware.For message
Some message in queue middleware, when theme belonging to the message is subscribed to by cloud platform administrative center, Message Queuing Middleware
The message can be supplied to cloud platform administrative center, alternatively, cloud platform administrative center can obtain in Message Queuing Middleware
To the message, and handled.
S102, by information reporting to be broadcast to Message Queuing Middleware so that at least one data receiver is from message
Message to be broadcast is obtained in queue middleware, and the mark for carrying self identification and data sender is returned after successfully obtaining
The response results of knowledge are to Message Queuing Middleware.
In the present embodiment, data sender by information reporting to be broadcast to Message Queuing Middleware before, can be first right
Message to be broadcast such as is compressed, is encrypted, is packaged at the processing, reduces occupied flow when message transmission, and improve message
The safety of transmission.Corresponding, data receiver can first unpack message after getting message to be broadcast, be solved
Close and parsing etc. reason, to obtain treated message.After the message that gets that treated, judge in message whether include
Self identification receives message and message is further processed if including self identification.
Further, in message to be broadcast further include: theme belonging to message content.It is corresponding, at least one data
The mode that recipient obtains message to be broadcast from Message Queuing Middleware can be, obtained from Message Queuing Middleware with
The relevant message to be broadcast of ordered theme;Judge in message to be broadcast whether to include self identification;If including
Self identification then receives message to be broadcast.
In the present embodiment, due to data sender by information reporting to be broadcast to Message Queuing Middleware before, can be right
Message to be broadcast such as is compressed, is encrypted, is packaged at the processing, and therefore, it is outer that the theme belonging to message content can be placed on to packet,
So as to data receiver's directly theme according to belonging to message content, to determine whether message is message that oneself is subscribed to, if so,
It the operation such as then unpacked, decompressed, being parsed to message, and judge in message whether to include self identification, if including oneself
Body mark, then receive message to be broadcast, if not including has self identification, does not receive message to be broadcast.
Wherein, when the theme according to belonging to message content, after determining the message that message is oneself subscription, continue basis and disappear
Whether include self identification to determine whether to receive message to be broadcast in breath, is because there are a kind of following situations: working as number
When repeating to send message according to sender, when sending message due to first time, partial data recipient is successfully received message, because
This, when data sender repeats to send message, partial data recipient does not need to repeat to receive message, but message connects for data
Message ordered by debit, whether therefore, it is necessary to further determine whether to receive message according to including self identification in message.
S103, judge whether the response results that at least one data receiver is got from Message Queuing Middleware.
In the present embodiment, data sender can be by number in the mark and message of the data receiver in each response results
It is compared according to the mark of recipient, to determine whether to get the response of all data receivers from Message Queuing Middleware
As a result.
S104, the first data receiver that response results have not been obtained if it exists then cache message to be retransmitted to default
Buffer zone, and whether the communication link between detection data sender and the first data receiver is connected to;In message to be retransmitted
It include: the mark of message content, the mark of data sender and the first data receiver.
In the present embodiment, message sends the communication that unsuccessful reason is generally between data sender and data receiver
Link disconnects, and failure or Message Queuing Middleware are to number when leading to data sender to Message Queuing Middleware reporting message
According to recipient send message when fail or data receiver send response results when fail, not so as to cause data sender
Receive the response results of data receiver.Therefore, when preset cache region is cached with message to be retransmitted, data sender can
To obtain the mark of the first data receiver in message to be retransmitted, and real-time detector data sender and the first data receiver
Between communication link whether be connected to, if connection, by information reporting to be retransmitted to Message Queuing Middleware, so that the first data
Recipient can obtain message to be retransmitted in time.
It, will be in message to be retransmitted when S105, the communication link between data sender and the first data receiver are connected to
Offer Message Queuing Middleware.
In the present embodiment, data sender by information reporting to be retransmitted to Message Queuing Middleware after, the first data receiver
Side can obtain message to be retransmitted from Message Queuing Middleware, if getting message to be retransmitted, to Message Queuing Middleware
Response results are sent, so that data sender gets the response results.
Further, on the basis of the above embodiments, after step 105, the method can also include following step
It is rapid: to judge whether the response results that the first data receiver is got from Message Queuing Middleware;If getting the first data
The response results of recipient then delete the message to be retransmitted in preset cache region;If having not been obtained to the first data receiver's
Response results, the then when communication link between data sender and the first data receiver is connected to, by information reporting to be retransmitted
To Message Queuing Middleware, until uncached in preset cache region have message to be retransmitted.
Further, on the basis of the above embodiments, data receiver gets from Message Queuing Middleware to wide
After the message broadcast, the format of available message, and the format of message is converted into JSON word string format, JSON word string is provided
To display platform and data storing platform, so that display platform shows message, data storing platform deposits message
Storage.
The information communication method of the embodiment of the present invention, by obtaining message to be broadcast;It include: to disappear in message to be broadcast
Cease content, the mark of data sender and the mark of at least one data receiver;By information reporting to be broadcast to message
Queue middleware, so that at least one data receiver obtains message to be broadcast from Message Queuing Middleware, and in success
The response results for the mark for carrying self identification and data sender are returned after acquisition to Message Queuing Middleware;Judge whether
The response results of at least one data receiver are got from Message Queuing Middleware;Response results have not been obtained if it exists
First data receiver then caches message to be retransmitted to preset cache region, and detection data sender connects with the first data
Whether the communication link between debit is connected to;It include: the mark of message content, data sender, Yi Ji in message to be retransmitted
The mark of one data receiver;It, will be to be retransmitted when communication link between data sender and the first data receiver is connected to
Information reporting is to Message Queuing Middleware, so as to be retransmitted to message in time when message sends failure, it is ensured that
Cloud platform administrative center receives message in time, to improve message communicating efficiency.
Fig. 2 is the flow diagram of another information communication method provided in an embodiment of the present invention.As shown in Fig. 2, this disappears
Message communication method is applied to data receiver, mainly comprises the steps that
S201, monitoring information queue middleware obtain the message to be broadcast in Message Queuing Middleware;To be broadcast disappears
It include: the mark of message content, the mark of data sender and at least one data receiver in breath.
In the present embodiment, by taking passenger information system PIS as an example, data receiver can be the cloud platform pipe in PIS system
Reason center or multimedia host.When data receiver is cloud platform administrative center, data sender can be multimedia master
Machine.When data receiver is multimedia host, data sender can be cloud platform administrative center.Wherein, cloud platform management
Center and multimedia host can be distributed system, can be distributed on server cluster.
In the present embodiment, when data sender is multimedia host, message to be broadcast for example can be following message
In any one or it is a variety of: status message, failure message, log information, response message etc..When data sender is Yun Ping
When platform administrative center, message to be broadcast for example can in following message any one or it is a variety of: response message, video
Message etc..
In the present embodiment, Message Queuing Middleware is the software independently of data sender and data receiver, that is,
It says, Message Queuing Middleware is arranged on server cluster, and the server cluster is independently of multimedia host and cloud platform pipe
Reason center, and the server cluster can be communicated with multimedia host and cloud platform administrative center.Wherein, in message queue
Between be provided with multiple queues in part, for example, Message Queuing Middleware can be each more matchmakers when multimedia host is sender
Body host creates a queue, is used to place the message that corresponding multimedia host is reported in queue.
It further, can also include: theme belonging to message content in message to be broadcast in the present embodiment.Wherein,
Theme can be for example log, failure, state, response etc..Subscription list can be preserved in Message Queuing Middleware, subscribe to column
It include: the corresponding subscriber of each theme in table.For example, if cloud platform administrative center wants to obtain the shape of each multimedia host
State message, then cloud platform administrative center is the corresponding subscriber of status topic.If multimedia host is wanted to obtain cloud platform management
The response message at center, then multimedia host is the corresponding subscriber of response subject.
In the case where including theme belonging to message content in message to be broadcast, data receiver is from message queue
Between to obtain the mode of message to be broadcast in part can be to obtain the theme ordered by itself;It is obtained from Message Queuing Middleware
Take message to be broadcast relevant to ordered theme.
Further, in the present embodiment, occupied flow when in order to reduce message transmission, and improve message transmission
Safety, the message that data sender is reported to Message Queuing Middleware can be disappearing by processing such as compression, encryption, packings
Breath.Corresponding, data receiver can first unpack message after getting message to be broadcast, decrypted and be parsed
Processing, to obtain treated message.After the message that gets that treated, judge in message whether to include self identification,
If including self identification, receives message and message is further processed;If not including has self identification, do not receive
Message to be broadcast.
S202, judge in the mark of at least one data receiver whether to include self identification.
In the present embodiment, data receiver can be connect the mark of itself at least one data in message to be broadcast
The mark of debit is compared one by one, determines in the mark of at least one data receiver with the presence or absence of self identification.
If S203, at least one data receiver mark in include self identification, self identification and number will be carried
It is sent to Message Queuing Middleware according to the response results of the mark of sender, so that data sender is from Message Queuing Middleware
Response results are obtained, and result determines whether to retransmit message to be broadcast according to response.
In the present embodiment, after response results are sent to Message Queuing Middleware by data receiver, data sender can
To monitor Message Queuing Middleware, response results are obtained;Then judge whether to get the sound of all data receivers
Answer result;The first data receiver of response results has not been obtained if it exists, then caches message to be retransmitted to preset cache area
Domain, and whether the communication link between detection data sender and the first data receiver is connected to;It include: to disappear in message to be retransmitted
Cease content, the mark of data sender and the mark of the first data receiver;In data sender and the first data receiver
Between communication link connection when, by information reporting to be retransmitted to Message Queuing Middleware.Then the first data receiver can be with
Monitoring information queue middleware gets message to be retransmitted.
Further, on the basis of the above embodiments, data receiver gets from Message Queuing Middleware to wide
After the message broadcast, the format of available message, and the format of message is converted into JSON word string format, JSON word string is provided
To display platform and data storing platform, so that display platform shows message, data storing platform deposits message
Storage.
The information communication method of the embodiment of the present invention, data receiver obtain message by monitoring information queue middleware
Message to be broadcast in queue middleware;Include: in message to be broadcast message content, data sender mark and
The mark of at least one data receiver;If in the mark of at least one data receiver including self identification, will carry certainly
Body mark and the response results of mark of data sender are sent to Message Queuing Middleware, so that data sender is from message
Response results are obtained in queue middleware, and result determines whether to retransmit message to be broadcast according to response, however, it is determined that retransmit, then
It will include retransmitting object, such as the message to be retransmitted of the first data receiver and message content, data sender is cached to pre-
If buffer zone, and when the communication link between data sender and the first data receiver is connected to, it will be in message to be retransmitted
Message Queuing Middleware is offered, so as to retransmit in time to message, it is ensured that each number when message sends failure
Message is received in time according to recipient, to improve message communicating efficiency.
Fig. 3 is a kind of structural schematic diagram of message communicating device provided in an embodiment of the present invention.As shown in figure 3, the message
Communication device is applied to data sender, comprising: obtains module 31, reporting module 32, judgment module 33 and processing module 34.
Wherein, module 31 is obtained, for obtaining message to be broadcast;Include: in the message to be broadcast message content,
The mark of data sender and the mark of at least one data receiver;
Reporting module 32, for by the information reporting to be broadcast to Message Queuing Middleware so that described at least one
A data receiver obtains the message to be broadcast from the Message Queuing Middleware, and returns and carry after successfully obtaining
The response results of the mark of self identification and the data sender give the Message Queuing Middleware;
Judgment module 33, for judging whether that getting at least one described data from the Message Queuing Middleware connects
The response results of debit;
Processing module 34, when for the first data receiver of response results to have not been obtained in presence, by message to be retransmitted
It caches to preset cache region, and whether detects the communication link between the data sender and first data receiver
Connection;It include: the mark and first data of the message content, the data sender in the message to be retransmitted
The mark of recipient;
The reporting module 32, the communication chain being also used between the data sender and first data receiver
When road is connected to, by the information reporting to be retransmitted to Message Queuing Middleware.
In the present embodiment, by taking passenger information system PIS as an example, data sender can be the cloud platform pipe in PIS system
Reason center or multimedia host.When data sender is cloud platform administrative center, data receiver can be multimedia master
Machine.When data sender is multimedia host, data receiver can be cloud platform administrative center.Wherein, cloud platform management
Center and multimedia host can be distributed system, can be distributed on server cluster.
In the present embodiment, when data sender is multimedia host, message to be broadcast for example can be following message
In any one or it is a variety of: status message, failure message, log information, response message etc..When data sender is Yun Ping
When platform administrative center, message to be broadcast for example can in following message any one or it is a variety of: response message, video
Message etc..
Further, in the present embodiment, obtaining module 31 specifically can be used for, and obtain message content to be broadcast, and
Theme belonging to message content;According to theme, query subscription list obtains at least one subscriber corresponding with theme;According to
The mark of message content, data sender to be broadcast and the mark of at least one subscriber, generate message to be broadcast.
Wherein, theme can be for example log, failure, state, response etc..It may include: each theme in subscription list
Corresponding subscriber.For example, if cloud platform administrative center wants to obtain the status message of each multimedia host, cloud platform pipe
Reason center is the corresponding subscriber of status topic.If multimedia host is wanted to obtain the response message of cloud platform administrative center,
Multimedia host is the corresponding subscriber of response subject.
In the present embodiment, Message Queuing Middleware is the software independently of data sender and data receiver, that is,
It says, Message Queuing Middleware is arranged on server cluster, and the server cluster is independently of multimedia host and cloud platform pipe
Reason center, and the server cluster can be communicated with multimedia host and cloud platform administrative center.Wherein, in message queue
Between be provided with multiple queues in part, for example, Message Queuing Middleware can be each more matchmakers when multimedia host is sender
Body host creates a queue, is used to place the message that corresponding multimedia host is reported in queue.
The corresponding relationship between theme and subscriber is preserved in the present embodiment, in Message Queuing Middleware.For message
Some message in queue middleware, when theme belonging to the message is subscribed to by cloud platform administrative center, Message Queuing Middleware
The message can be supplied to cloud platform administrative center, alternatively, cloud platform administrative center can obtain in Message Queuing Middleware
To the message, and handled.
In the present embodiment, data sender by information reporting to be broadcast to Message Queuing Middleware before, can be first right
Message to be broadcast such as is compressed, is encrypted, is packaged at the processing, reduces occupied flow when message transmission, and improve message
The safety of transmission.Corresponding, data receiver can first unpack message after getting message to be broadcast, be solved
Close and parsing etc. reason, to obtain treated message.After the message that gets that treated, judge in message whether include
Self identification receives message and message is further processed if including self identification.
Further, in message to be broadcast further include: theme belonging to message content.It is corresponding, at least one data
The mode that recipient obtains message to be broadcast from Message Queuing Middleware can be, obtained from Message Queuing Middleware with
The relevant message to be broadcast of ordered theme;Judge in message to be broadcast whether to include self identification;If including
Self identification then receives message to be broadcast.
In the present embodiment, due to data sender by information reporting to be broadcast to Message Queuing Middleware before, can be right
Message to be broadcast such as is compressed, is encrypted, is packaged at the processing, and therefore, it is outer that the theme belonging to message content can be placed on to packet,
So as to data receiver's directly theme according to belonging to message content, to determine whether message is message that oneself is subscribed to, if so,
It the operation such as then unpacked, decompressed, being parsed to message, and judge in message whether to include self identification, if including oneself
Body mark, then receive message to be broadcast, if not including has self identification, does not receive message to be broadcast.
Wherein, when the theme according to belonging to message content, after determining the message that message is oneself subscription, continue basis and disappear
Whether include self identification to determine whether to receive message to be broadcast in breath, is because there are a kind of following situations: working as number
When repeating to send message according to sender, when sending message due to first time, partial data recipient is successfully received message, because
This, when data sender repeats to send message, partial data recipient does not need to repeat to receive message, but message connects for data
Message ordered by debit, whether therefore, it is necessary to further determine whether to receive message according to including self identification in message.
In the present embodiment, message sends the communication that unsuccessful reason is generally between data sender and data receiver
Link disconnects, and failure or Message Queuing Middleware are to number when leading to data sender to Message Queuing Middleware reporting message
According to recipient send message when fail or data receiver send response results when fail, not so as to cause data sender
Receive the response results of data receiver.Therefore, when preset cache region is cached with message to be retransmitted, data sender can
To obtain the mark of the first data receiver in message to be retransmitted, and real-time detector data sender and the first data receiver
Between communication link whether be connected to, if connection, by information reporting to be retransmitted to Message Queuing Middleware, so that the first data
Recipient can obtain message to be retransmitted in time.
Further, on the basis of the above embodiments, in conjunction with reference Fig. 4, on the basis of embodiment shown in Fig. 3, institute
The device stated can also include: removing module 35;
The judgment module 33 is also used to judge whether to get first data from the Message Queuing Middleware
The response results of recipient;
The removing module 35, for deleting described pre- when getting the response results of first data receiver
If the message to be retransmitted in buffer zone;
The processing module 34 is also used to when the response results of first data receiver have not been obtained, described
When communication link between data sender and first data receiver is connected to, by the information reporting to be retransmitted to message
Queue middleware, until uncached in the preset cache region have the message to be retransmitted.
Further, on the basis of the above embodiments, data receiver gets from Message Queuing Middleware to wide
After the message broadcast, the format of available message, and the format of message is converted into JSON word string format, JSON word string is provided
To display platform and data storing platform, so that display platform shows message, data storing platform deposits message
Storage.
The message communicating device of the embodiment of the present invention, by obtaining message to be broadcast;It include: to disappear in message to be broadcast
Cease content, the mark of data sender and the mark of at least one data receiver;By information reporting to be broadcast to message
Queue middleware, so that at least one data receiver obtains message to be broadcast from Message Queuing Middleware, and in success
The response results for the mark for carrying self identification and data sender are returned after acquisition to Message Queuing Middleware;Judge whether
The response results of at least one data receiver are got from Message Queuing Middleware;Response results have not been obtained if it exists
First data receiver then caches message to be retransmitted to preset cache region, and detection data sender connects with the first data
Whether the communication link between debit is connected to;It include: the mark of message content, data sender, Yi Ji in message to be retransmitted
The mark of one data receiver;It, will be to be retransmitted when communication link between data sender and the first data receiver is connected to
Information reporting is to Message Queuing Middleware, so as to be retransmitted to message in time when message sends failure, it is ensured that
Cloud platform administrative center receives message in time, to improve message communicating efficiency.
Fig. 5 is the structural schematic diagram of another message communicating device provided in an embodiment of the present invention.As shown in figure 5, this disappears
Message communication device is applied to data receiver, comprising: monitors module 51, judgment module 52 and sending module 53.
Wherein, monitor module 51, be used for monitoring information queue middleware, obtain in the Message Queuing Middleware to wide
The message broadcast;It include: that message content, the mark of data sender and at least one data connect in the message to be broadcast
The mark of debit;
Whether judgment module 52 includes self identification in the mark for judging at least one data receiver;
Sending module 53 will carry when for including self identification in the mark of at least one data receiver
The response results of the mark of self identification and the data sender are sent to the Message Queuing Middleware, so that the number
The response results are obtained from the Message Queuing Middleware according to sender, and determine whether to retransmit according to the response results
The message to be broadcast.
In the present embodiment, by taking passenger information system PIS as an example, data receiver can be the cloud platform pipe in PIS system
Reason center or multimedia host.When data receiver is cloud platform administrative center, data sender can be multimedia master
Machine.When data receiver is multimedia host, data sender can be cloud platform administrative center.Wherein, cloud platform management
Center and multimedia host can be distributed system, can be distributed on server cluster.
In the present embodiment, when data sender is multimedia host, message to be broadcast for example can be following message
In any one or it is a variety of: status message, failure message, log information, response message etc..When data sender is Yun Ping
When platform administrative center, message to be broadcast for example can in following message any one or it is a variety of: response message, video
Message etc..
In the present embodiment, Message Queuing Middleware is the software independently of data sender and data receiver, that is,
It says, Message Queuing Middleware is arranged on server cluster, and the server cluster is independently of multimedia host and cloud platform pipe
Reason center, and the server cluster can be communicated with multimedia host and cloud platform administrative center.Wherein, in message queue
Between be provided with multiple queues in part, for example, Message Queuing Middleware can be each more matchmakers when multimedia host is sender
Body host creates a queue, is used to place the message that corresponding multimedia host is reported in queue.
It further, can also include: theme belonging to message content in message to be broadcast in the present embodiment.Wherein,
Theme can be for example log, failure, state, response etc..Subscription list can be preserved in Message Queuing Middleware, subscribe to column
It include: the corresponding subscriber of each theme in table.For example, if cloud platform administrative center wants to obtain the shape of each multimedia host
State message, then cloud platform administrative center is the corresponding subscriber of status topic.If multimedia host is wanted to obtain cloud platform management
The response message at center, then multimedia host is the corresponding subscriber of response subject.
In the case where including theme belonging to message content in message to be broadcast, data receiver is from message queue
Between to obtain the mode of message to be broadcast in part can be to obtain the theme ordered by itself;It is obtained from Message Queuing Middleware
Take message to be broadcast relevant to ordered theme.
Further, in the present embodiment, occupied flow when in order to reduce message transmission, and improve message transmission
Safety, the message that data sender is reported to Message Queuing Middleware can be disappearing by processing such as compression, encryption, packings
Breath.Corresponding, data receiver can first unpack message after getting message to be broadcast, decrypted and be parsed
Processing, to obtain treated message.After the message that gets that treated, judge in message whether to include self identification,
If including self identification, receives message and message is further processed;If not including has self identification, do not receive
Message to be broadcast.
In the present embodiment, after response results are sent to Message Queuing Middleware by data receiver, data sender can
To monitor Message Queuing Middleware, response results are obtained;Then judge whether to get the sound of all data receivers
Answer result;The first data receiver of response results has not been obtained if it exists, then caches message to be retransmitted to preset cache area
Domain, and whether the communication link between detection data sender and the first data receiver is connected to;It include: to disappear in message to be retransmitted
Cease content, the mark of data sender and the mark of the first data receiver;In data sender and the first data receiver
Between communication link connection when, by information reporting to be retransmitted to Message Queuing Middleware.Then the first data receiver can be with
Monitoring information queue middleware gets message to be retransmitted.
Further, on the basis of the above embodiments, data receiver gets from Message Queuing Middleware to wide
After the message broadcast, the format of available message, and the format of message is converted into JSON word string format, JSON word string is provided
To display platform and data storing platform, so that display platform shows message, data storing platform deposits message
Storage.
The message communicating device of the embodiment of the present invention, data receiver obtain message by monitoring information queue middleware
Message to be broadcast in queue middleware;Include: in message to be broadcast message content, data sender mark and
The mark of at least one data receiver;If in the mark of at least one data receiver including self identification, will carry certainly
Body mark and the response results of mark of data sender are sent to Message Queuing Middleware, so that data sender is from message
Response results are obtained in queue middleware, and result determines whether to retransmit message to be broadcast according to response, however, it is determined that retransmit, then
It will include retransmitting object, such as the message to be retransmitted of the first data receiver and message content, data sender is cached to pre-
If buffer zone, and when the communication link between data sender and the first data receiver is connected to, it will be in message to be retransmitted
Message Queuing Middleware is offered, so as to retransmit in time to message, it is ensured that each number when message sends failure
Message is received in time according to recipient, to improve message communicating efficiency.
Fig. 6 is the structural schematic diagram of another message communicating device provided in an embodiment of the present invention.The message communicating device
Include:
Memory 1001, processor 1002 and it is stored in the calculating that can be run on memory 1001 and on processor 1002
Machine program.
Processor 1002 realizes the information communication method provided in above-described embodiment when executing described program.
Further, message communicating device further include:
Communication interface 1003, for the communication between memory 1001 and processor 1002.
Memory 1001, for storing the computer program that can be run on processor 1002.
Memory 1001 may include high speed RAM memory, it is also possible to further include nonvolatile memory (non-
Volatile memory), a for example, at least magnetic disk storage.
Processor 1002 realizes information communication method described in above-described embodiment when for executing described program.
If memory 1001, processor 1002 and the independent realization of communication interface 1003, communication interface 1003, memory
1001 and processor 1002 can be connected with each other by bus and complete mutual communication.The bus can be industrial standard
Architecture (Industry Standard Architecture, referred to as ISA) bus, external equipment interconnection
(Peripheral Component, referred to as PCI) bus or extended industry-standard architecture (Extended Industry
Standard Architecture, referred to as EISA) bus etc..The bus can be divided into address bus, data/address bus, control
Bus processed etc..Only to be indicated with a thick line in Fig. 6, it is not intended that an only bus or a type of convenient for indicating
Bus.
Optionally, in specific implementation, if memory 1001, processor 1002 and communication interface 1003, are integrated in one
It is realized on block chip, then memory 1001, processor 1002 and communication interface 1003 can be completed mutual by internal interface
Communication.
Processor 1002 may be a central processing unit (Central Processing Unit, referred to as CPU), or
Person is specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC) or quilt
It is configured to implement one or more integrated circuits of the embodiment of the present invention.
The present invention also provides a kind of non-transitorycomputer readable storage mediums, are stored thereon with computer program, the journey
Information communication method as described above is realized when sequence is executed by processor.
The present invention also provides a kind of computer program products, when the instruction processing unit in the computer program product executes
When, realize information communication method as described above.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present invention, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing custom logic function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.Such as, if realized with hardware in another embodiment, following skill well known in the art can be used
Any one of art or their combination are realized: have for data-signal is realized the logic gates of logic function from
Logic circuit is dissipated, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene can compile
Journey gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as to limit of the invention
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of the invention
Type.
Claims (11)
1. a kind of information communication method is applied to data sender characterized by comprising
Obtain message to be broadcast;It include: message content, the mark of data sender, Yi Jizhi in the message to be broadcast
The mark of a few data receiver;
By the information reporting to be broadcast to Message Queuing Middleware, so that at least one described data receiver disappears from described
The message to be broadcast is obtained in breath queue middleware, and is returned after successfully obtaining and carried self identification and the data
The response results of the mark of sender give the Message Queuing Middleware;
Judge whether the response results that at least one data receiver is got from the Message Queuing Middleware;
The first data receiver of response results has not been obtained if it exists, then caches message to be retransmitted to preset cache region,
And whether the communication link detected between the data sender and first data receiver is connected to;The message to be retransmitted
In include: the message content, the mark of the data sender and first data receiver mark;
When communication link between the data sender and first data receiver is connected to, by the message to be retransmitted
It is reported to Message Queuing Middleware.
2. the method according to claim 1, wherein by the information reporting to be retransmitted to Message Queuing Middleware
Later, further includes:
Judge whether the response results that first data receiver is got from the Message Queuing Middleware;
If getting the response results of first data receiver, delete described to be retransmitted in the preset cache region
Message;
If the response results of first data receiver have not been obtained, connect in the data sender and first data
When communication link between debit is connected to, by the information reporting to be retransmitted to Message Queuing Middleware, until described default slow
Depositing uncached in region has the message to be retransmitted.
3. the method according to claim 1, wherein described obtain message to be broadcast, comprising:
Obtain theme belonging to message content and the message content to be broadcast;
According to the theme, query subscription list obtains at least one subscriber corresponding with the theme;
According to the mark of the message content to be broadcast, the mark of the data sender and at least one subscriber
Know, generates the message to be broadcast.
4. according to the method described in claim 3, it is characterized in that, in the message to be broadcast further include: in the message
Theme belonging to holding;
The mode that at least one described data receiver obtains the message to be broadcast from the Message Queuing Middleware is,
Message to be broadcast relevant to ordered theme is obtained from the Message Queuing Middleware;
Judge in the message to be broadcast whether to include self identification;
If including self identification, the message to be broadcast is received.
5. a kind of information communication method is applied to data receiver characterized by comprising
Monitoring information queue middleware obtains the message to be broadcast in the Message Queuing Middleware;Described to be broadcast disappears
It include: the mark of message content, the mark of data sender and at least one data receiver in breath;
Judge in the mark of at least one data receiver whether to include self identification;
If in the mark of at least one data receiver including self identification, self identification and the data will be carried
The response results of the mark of sender are sent to the Message Queuing Middleware, so that the data sender is from the message team
The response results are obtained in column middleware, and are determined whether to retransmit the message to be broadcast according to the response results.
6. a kind of message communicating device is applied to data sender characterized by comprising
Module is obtained, for obtaining message to be broadcast;It include: message content, data sender in the message to be broadcast
Mark and at least one data receiver mark;
Reporting module, for by the information reporting to be broadcast to Message Queuing Middleware so that at least one described data
Recipient obtains the message to be broadcast from the Message Queuing Middleware, and returns after successfully obtaining and carry itself mark
Know and the response results of the mark of the data sender are to the Message Queuing Middleware;
Judgment module gets at least one data receiver's for judging whether from the Message Queuing Middleware
Response results;
Processing module, for exist have not been obtained response results the first data receiver when, by message to be retransmitted cache to
Preset cache region, and whether the communication link detected between the data sender and first data receiver is connected to;
It include: the message content, the mark of the data sender and first data receiver in the message to be retransmitted
Mark;
The reporting module, the communication link being also used between the data sender and first data receiver are connected to
When, by the information reporting to be retransmitted to Message Queuing Middleware.
7. device according to claim 6, which is characterized in that further include: removing module;
The judgment module is also used to judge whether to get first data receiver from the Message Queuing Middleware
Response results;
The removing module, for deleting the preset cache when getting the response results of first data receiver
The message to be retransmitted in region;
The processing module is also used to when the response results of first data receiver have not been obtained, and is sent out in the data
When communication link between the side of sending and first data receiver is connected to, by the information reporting to be retransmitted in message queue
Between part, until uncached having the message to be retransmitted in the preset cache region.
8. device according to claim 6, which is characterized in that the acquisition module is specifically used for,
Obtain theme belonging to message content and the message content to be broadcast;
According to the theme, query subscription list obtains at least one subscriber corresponding with the theme;
According to the mark of the message content to be broadcast, the mark of the data sender and at least one subscriber
Know, generates the message to be broadcast.
9. device according to claim 6, which is characterized in that in the message to be broadcast further include: in the message
Theme belonging to holding;
The mode that at least one described data receiver obtains the message to be broadcast from the Message Queuing Middleware is,
Message to be broadcast relevant to ordered theme is obtained from the Message Queuing Middleware;
Judge in the message to be broadcast whether to include self identification;
If including self identification, the message to be broadcast is received.
10. a kind of message communicating device is applied to data receiver characterized by comprising
Module is monitored, monitoring information queue middleware is used for, obtains the message to be broadcast in the Message Queuing Middleware;Institute
State include: in message to be broadcast message content, the mark of data sender and at least one data receiver mark;
Whether judgment module includes self identification in the mark for judging at least one data receiver;
Sending module when for including self identification in the mark of at least one data receiver, will carry itself mark
Know and the response results of the mark of the data sender are sent to the Message Queuing Middleware, so that the data are sent
Side obtains the response results from the Message Queuing Middleware, and according to the response results determine whether to retransmit it is described to
The message of broadcast.
11. a kind of message communicating device characterized by comprising
Memory, processor and storage are on a memory and the computer program that can run on a processor, which is characterized in that institute
It states when processor executes described program and realizes such as information communication method as claimed in any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811155175.4A CN109743142A (en) | 2018-09-30 | 2018-09-30 | Information communication method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811155175.4A CN109743142A (en) | 2018-09-30 | 2018-09-30 | Information communication method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109743142A true CN109743142A (en) | 2019-05-10 |
Family
ID=66354419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811155175.4A Pending CN109743142A (en) | 2018-09-30 | 2018-09-30 | Information communication method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109743142A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110247808A (en) * | 2019-06-27 | 2019-09-17 | 深圳前海微众银行股份有限公司 | Method for sending information, device, equipment and readable storage medium storing program for executing |
CN111026560A (en) * | 2019-10-17 | 2020-04-17 | 平安科技(深圳)有限公司 | Method and device for processing product data, computer equipment and storage medium |
CN111181999A (en) * | 2020-01-09 | 2020-05-19 | 山东超越数控电子股份有限公司 | Stable, efficient and easy-to-use communication method |
CN111262706A (en) * | 2020-01-15 | 2020-06-09 | 杭州涂鸦信息技术有限公司 | Data transmission method, server and storage device |
CN112468386A (en) * | 2020-11-17 | 2021-03-09 | 福建天泉教育科技有限公司 | Method and terminal for processing repeated messages |
CN112906012A (en) * | 2019-12-03 | 2021-06-04 | 株洲中车时代电气股份有限公司 | Processing method and device for data with different structures and electronic equipment |
CN112995095A (en) * | 2019-12-13 | 2021-06-18 | 北京京东乾石科技有限公司 | Data processing method, device and computer readable storage medium |
CN113125849A (en) * | 2021-04-06 | 2021-07-16 | 上海创能国瑞新能源科技股份有限公司 | Method and device for processing data of intelligent electric meter |
CN113535428A (en) * | 2021-07-09 | 2021-10-22 | 中星电子股份有限公司 | Method, device, equipment and medium for processing request message and response message |
CN113938846A (en) * | 2021-10-13 | 2022-01-14 | 福建天泉教育科技有限公司 | Message delay sending method and terminal |
CN115174440A (en) * | 2022-07-11 | 2022-10-11 | 中国银行股份有限公司 | Connectivity detection method, device, storage medium and equipment |
CN115190164A (en) * | 2022-06-24 | 2022-10-14 | 弥费实业(上海)有限公司 | Network communication method, device, computer equipment and storage medium |
CN115866058A (en) * | 2022-12-02 | 2023-03-28 | 用友网络科技股份有限公司 | Flow scheduling system, operation method and device thereof and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060129650A1 (en) * | 2004-12-10 | 2006-06-15 | Ricky Ho | Guaranteed delivery of application layer messages by a network element |
CN101056194A (en) * | 2006-06-30 | 2007-10-17 | 华为技术有限公司 | A SNMP message transfer method and device |
CN101917394A (en) * | 2010-06-13 | 2010-12-15 | 大连海事大学 | Middleware system for sharing data in mobile phone equipment and working method |
CN108023683A (en) * | 2016-11-02 | 2018-05-11 | 华为技术有限公司 | A kind of method, apparatus, chip and terminal for sending message |
-
2018
- 2018-09-30 CN CN201811155175.4A patent/CN109743142A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060129650A1 (en) * | 2004-12-10 | 2006-06-15 | Ricky Ho | Guaranteed delivery of application layer messages by a network element |
CN101056194A (en) * | 2006-06-30 | 2007-10-17 | 华为技术有限公司 | A SNMP message transfer method and device |
CN101917394A (en) * | 2010-06-13 | 2010-12-15 | 大连海事大学 | Middleware system for sharing data in mobile phone equipment and working method |
CN108023683A (en) * | 2016-11-02 | 2018-05-11 | 华为技术有限公司 | A kind of method, apparatus, chip and terminal for sending message |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110247808B (en) * | 2019-06-27 | 2024-04-09 | 深圳前海微众银行股份有限公司 | Information transmission method, device, equipment and readable storage medium |
CN110247808A (en) * | 2019-06-27 | 2019-09-17 | 深圳前海微众银行股份有限公司 | Method for sending information, device, equipment and readable storage medium storing program for executing |
CN111026560A (en) * | 2019-10-17 | 2020-04-17 | 平安科技(深圳)有限公司 | Method and device for processing product data, computer equipment and storage medium |
WO2021073153A1 (en) * | 2019-10-17 | 2021-04-22 | 平安科技(深圳)有限公司 | Method and apparatus for processing product data, computer device and storage medium |
CN111026560B (en) * | 2019-10-17 | 2023-08-29 | 平安科技(深圳)有限公司 | Method, apparatus, computer device and storage medium for processing product data |
CN112906012A (en) * | 2019-12-03 | 2021-06-04 | 株洲中车时代电气股份有限公司 | Processing method and device for data with different structures and electronic equipment |
CN112995095A (en) * | 2019-12-13 | 2021-06-18 | 北京京东乾石科技有限公司 | Data processing method, device and computer readable storage medium |
CN111181999A (en) * | 2020-01-09 | 2020-05-19 | 山东超越数控电子股份有限公司 | Stable, efficient and easy-to-use communication method |
CN111262706B (en) * | 2020-01-15 | 2023-05-16 | 杭州涂鸦信息技术有限公司 | Data transmission method, server and storage device |
CN111262706A (en) * | 2020-01-15 | 2020-06-09 | 杭州涂鸦信息技术有限公司 | Data transmission method, server and storage device |
CN112468386A (en) * | 2020-11-17 | 2021-03-09 | 福建天泉教育科技有限公司 | Method and terminal for processing repeated messages |
CN113125849A (en) * | 2021-04-06 | 2021-07-16 | 上海创能国瑞新能源科技股份有限公司 | Method and device for processing data of intelligent electric meter |
CN113535428B (en) * | 2021-07-09 | 2023-05-23 | 中星电子股份有限公司 | Method, device, equipment and medium for processing request message and response message |
CN113535428A (en) * | 2021-07-09 | 2021-10-22 | 中星电子股份有限公司 | Method, device, equipment and medium for processing request message and response message |
CN113938846A (en) * | 2021-10-13 | 2022-01-14 | 福建天泉教育科技有限公司 | Message delay sending method and terminal |
CN115190164A (en) * | 2022-06-24 | 2022-10-14 | 弥费实业(上海)有限公司 | Network communication method, device, computer equipment and storage medium |
CN115190164B (en) * | 2022-06-24 | 2023-11-03 | 弥费科技(上海)股份有限公司 | Network communication method, device, computer equipment and storage medium |
CN115174440A (en) * | 2022-07-11 | 2022-10-11 | 中国银行股份有限公司 | Connectivity detection method, device, storage medium and equipment |
CN115174440B (en) * | 2022-07-11 | 2024-03-26 | 中国银行股份有限公司 | Connectivity detection method, device, storage medium and equipment |
CN115866058A (en) * | 2022-12-02 | 2023-03-28 | 用友网络科技股份有限公司 | Flow scheduling system, operation method and device thereof and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109743142A (en) | Information communication method and device | |
CN106294357B (en) | Data processing method and stream calculation system | |
CN104468629B (en) | A kind of method and apparatus of Batch sending message | |
US10270726B2 (en) | Selective distribution of messages in a scalable, real-time messaging system | |
CN102469033B (en) | Message subscription system and message sending method | |
JP2017069941A (en) | Fraud-detection electronic control unit, in-vehicle network system, and communication method | |
CN103634224B (en) | The method and system of data transmission in network | |
CN105991520A (en) | Inner/outer network interaction method and system | |
CN108989240A (en) | Method for controlling network flow, device, terminal device and storage medium | |
CN110417756A (en) | Across a network data transmission method and device | |
CN104579765A (en) | Disaster tolerance method and device for cluster system | |
CN103986585A (en) | Message preprocessing method and device | |
CN104484219B (en) | The method and apparatus of distributing policy in virtual platform | |
CN109688200A (en) | A kind of message treatment method, device and equipment | |
CN107959696A (en) | A kind of daily record bill processing method and system | |
CN115361312A (en) | Link flow based method and device for monitoring link state between ring network nodes | |
CN104363257B (en) | A kind of user interface data method for refreshing and equipment | |
CN107086960B (en) | Message transmission method and device | |
WO2019182659A1 (en) | System and method for querying and updating a live video stream using a structured query language | |
US11357020B2 (en) | Connecting computer processing systems and transmitting data | |
CN113055493A (en) | Data packet processing method, device, system, scheduling device and storage medium | |
US20210250743A1 (en) | Connecting computer processing systems and transmitting data | |
US20210250425A1 (en) | Connecting computer processing systems and transmitting data | |
KR20170092602A (en) | Method and apparatus for detecting connectivity of label switched path | |
CN106559404A (en) | A kind of client for accessing data, proxy server and system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190510 |
|
RJ01 | Rejection of invention patent application after publication |