CN108282500A - Message issuance method, device and electronic equipment - Google Patents

Message issuance method, device and electronic equipment Download PDF

Info

Publication number
CN108282500A
CN108282500A CN201710006699.6A CN201710006699A CN108282500A CN 108282500 A CN108282500 A CN 108282500A CN 201710006699 A CN201710006699 A CN 201710006699A CN 108282500 A CN108282500 A CN 108282500A
Authority
CN
China
Prior art keywords
message
node
subscriber
response
subscribing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710006699.6A
Other languages
Chinese (zh)
Inventor
代立晨
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710006699.6A priority Critical patent/CN108282500A/en
Publication of CN108282500A publication Critical patent/CN108282500A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services

Abstract

This application discloses a kind of message issuance methods, including:In the case where receiving the first node control that publisher sends message current message is sent to the subscriber for subscribing to current message;Summarize the message response for the subscriber's feedback for subscribing to the message using the first node;The message response after summarizing is sent to the publisher for sending the message.The message issuance method is after publisher carries out news release, the message response to be given out information by the communication realization publisher between subscriber, first node and subscriber summarizes and feeds back, the state that publisher gives out information is can determine according to message response, realizes that publisher gives out information state holding.

Description

Message issuance method, device and electronic equipment
Technical field
This application involves news release technical fields, and in particular to a kind of message issuance method.The application is related to one simultaneously Kind news release device and a kind of electronic equipment.
Background technology
Message-oriented middleware carries out platform-independent data exchange using the message passing mechanism of high efficient and reliable, passes through offer Message transmission and message queueing model can realize the communication between extension process.Between in the message in the message transmission mode of part, no The event of other side is activated by transmitting message between same object, completes corresponding operation, common transmission mechanism uses hair Cloth person-subscriber's pattern, publisher transmit the message to message server, and message server is by message deposit in several message teams In row, subscriber is forwarded messages to when suitable.
Currently, a common providing message service of message-oriented middleware cluster is formed based on several message-oriented middlewares, it can The efficiency of transmission for greatly improving message uses publisher-in the message system using message-oriented middleware cluster>Cluster->It orders The pattern of reader carries out message transmission, and publisher is by each node in message distribution to cluster, then by being received in cluster The subscriber of subscription current message is transmitted the message to the node of message.However, message system is carrying out news release at present During, publisher is served only for the publication of message, and subscriber is served only for the reception of message, for publisher publication message, Once message hair is released from cloth person, whether message is sent to subscriber, whether is published to which subscriber even message Issuing successfully can not learn, there are certain defects.
Invention content
The application provides a kind of message issuance method, to solve defect of the existing technology.In addition the application provides one Kind news release device and a kind of electronic equipment.
The application provides a kind of message issuance method, including:
It sends to the subscriber for subscribing to current message in the case where receiving the first node control that publisher sends message and currently disappears Breath;
Summarize the message response for the subscriber's feedback for subscribing to the message using the first node;
The message response after summarizing is sent to the publisher for sending the message.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Current message is sent, is realized in the following way:
The current message that the publisher sends is received by the first node;
Using the first node message is broadcasted to second node;
For each node in the first node and the second node, operations described below is executed:By the message With in the subscription list of present node each subscribe to record matched respectively, if successful match, using present node to Corresponding subscriber, which is recorded, with successful subscription sends the message.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Current message is sent, is realized in the following way:
The current message that the publisher sends is received by the first node;
Using the first node message is broadcasted to second node;
For each node in the second node, operations described below is executed:By ordering for the message and present node It reads each subscription record in list to be matched respectively, if successful match, is subscribed to and recorded to successful match using present node Corresponding subscriber sends the message.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Current message is sent, is realized in the following way:
The current message that the publisher sends is received by the first node;
The message is subscribed to record with each in the subscription list of the first node to match respectively, if matching Success records corresponding subscriber to successful match subscription using the first node and sends the message.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Send current message step execute after, and it is described summarized using the first node subscribes to the message subscriber feed back disappear Before ceasing response of step execution, following step is executed:
The second node, which receives, subscribes to the message response that the subscriber of current message sends, and is sent out to the first node Send the message response;
The first node receives the message response that the second node is sent.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Send current message step execute after, and it is described summarized using the first node subscribes to the message subscriber feed back disappear Before ceasing response of step execution, following step is executed:
The second node, which receives, subscribes to the message response that the subscriber of current message sends, and is sent out to the first node Send the message response;
The first node receives the message response that the second node is sent, and receives and subscribed in the first node The message response that the subscriber of current message sends.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Send current message step execute after, and it is described summarized using the first node subscribes to the message subscriber feed back disappear Before ceasing response of step execution, following step is executed:
The first node, which receives, subscribes to the message response that the subscriber of current message sends.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Send current message step execute after, and it is described summarized using the first node subscribes to the message subscriber feed back disappear Before ceasing response of step execution, following step is executed:
The second node, which receives, subscribes to the message response that the subscriber of current message sends, and is sent out to the first node Send the message response;
The first node receives the message response that the second node is sent.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Send current message step execute after, and it is described summarized using the first node subscribes to the message subscriber feed back disappear Before ceasing response of step execution, following step is executed:
The first node, which receives, subscribes to the message response that the subscriber of current message sends.
Optionally, after the first node broadcasts the message to second node, following step is executed:
The second node reports respective node state to the first node;
The first node receives the node state that the second node reports.
Optionally, it after the first node receives the node state step execution that the second node reports, executes following Step:
The node state that the second node reports is matched with the message response that the second node is sent, according to Matching result judges whether the first node receives the message that all second nodes are sent in the first response time section Response, if so, executing the message response step of the subscriber's feedback for summarizing using the first node and subscribing to the message; Include the message response of second node response timeout if it is not, being created based on the first node, and executes the utilization described the One node summarizes the message response step for the subscriber's feedback for subscribing to the message.
Optionally, after the first node broadcasts the message to second node, following step is executed:
Judge whether the first node receives the message that all second nodes are sent in the first response time section Response, if so, executing the message response step of the subscriber's feedback for summarizing using the first node and subscribing to the message; Include the message response of second node response timeout if it is not, being created based on the first node, and executes the utilization described the One node summarizes the message response step for the subscriber's feedback for subscribing to the message.
Optionally, after the first node sends the message to its corresponding subscriber, following step is executed:
Judge whether the first node receives disappearing for its corresponding subscriber's transmission in the second response time section Breath response, if so, executing the message response step of the subscriber's feedback for summarizing using the first node and subscribing to the message Suddenly;Include the message response of subscriber's response timeout if it is not, being created based on the first node, and executes the utilization described the One node summarizes the message response step for the subscriber's feedback for subscribing to the message;Wherein, the first node corresponds to subscriber Including:All subscribers of the message are subscribed in the first node.
Optionally, after the first node broadcasts the message to second node, and the first node is corresponded to it Subscriber send the message after, execute following step:
Judge whether the first node receives the message that all second nodes are sent in the first response time section Response, if so, executing next step;If it is not, the message response for including second node response timeout is created based on the first node, And execute next step;
Judge whether the first node receives disappearing for its corresponding subscriber's transmission in the second response time section Breath response, if so, executing the message response of the subscriber's feedback for summarizing using the first node and subscribing to the message Step;Include the message response of subscriber's response timeout if not, being created based on the first node, and executes and described utilize institute State the message response step that first node summarizes the subscriber's feedback for subscribing to the message;Wherein, the first node correspondence is ordered The side of readding includes:All subscribers of the message are subscribed in the first node.
Optionally, after the second node sends the message to subscriber, following step is executed:
For each node in the second node, operations described below is executed:
Judge whether present node receives the institute that the message is subscribed in present node in third response time section There is the message response that subscriber sends, if so, execution is described to summarize the subscriber for subscribing to the message using the first node The message response step of feedback;If it is not, creating the message response comprising subscriber's response timeout from present node and to described the One node is sent, and executes the message response step of the subscriber's feedback for summarizing using the first node and subscribing to the message Suddenly.
Optionally, the first node receives after the node state step that the second node reports executes, and described the After two nodes send the message to subscriber, following step is executed:
Judge whether all nodes receive in third response time section on respective node in the second node The message response that all subscribers for subscribing to the message send, if so, executing next step;It is wrapped if it is not, being created by present node The message response of the response timeout containing subscriber is simultaneously sent to the first node, and executes next step;
The node state that the second node reports is matched with the message response that the second node is sent, according to Matching result judges whether the first node receives the message that all second nodes are sent in the first response time section Response, if so, executing the message response step of the subscriber's feedback for summarizing using the first node and subscribing to the message Suddenly;Include the message response of second node response timeout if not, being created based on the first node, and executes and described utilize institute State the message response step that first node summarizes the subscriber's feedback for subscribing to the message.
Optionally, the message issuance method, including:
For each node in the first node and the second node, operations described below is executed:According to default inspection Cyclic check checks present node;If checking present node, there are node failures, for there is currently node failures The subscription list of node executes subscription operation again.
Optionally, the message issuance method, including:
For each node in the first node, operations described below is executed:According to default inspection cycle inspection to current Node is checked;If checking present node, there are node failures, for there is currently the subscription lists of node failure node Execute subscription operation again.
Optionally, the subscription operation again, including:
It is sent to all subscribers of present node and subscribes to message again;
The connection with present node is re-established by the subscriber, and present node is connected to according to what is re-established Subscription list in register subscribe to message.
Optionally, described that checking step is carried out to present node according to default inspection cycle inspection, it is based on the first segment Any one node in point and the second node executes.
Optionally, described that checking step is carried out to present node according to default inspection cycle inspection, it is based on the first segment Any one node in point executes.
Optionally, the message issuance method, including:
When detecting the connection quilt in the first node and the second node between any one node and subscriber When disconnection, following operation is executed:The connection with present node is re-established by the subscriber, and according to the company re-established It is connected on to register in the subscription list of present node and subscribes to message.
Optionally, the message issuance method, including:
When detecting that the connection of any one node and subscriber in the first node are disconnected, following behaviour is executed Make:The connection with present node is re-established by the subscriber, and ordering for present node is connected to according to what is re-established It reads to register in list and subscribes to message.
The application also provides a kind of news release device, including:
Message sending unit, to subscription current message under the first node control for sending message in reception publisher Subscriber sends current message;
Message response collection unit, for summarized using the first node subscribe to the message subscriber feedback disappear Breath response;
Message response transmission unit, for sending the message response after summarizing to the publisher for sending the message.
Optionally, the message sending unit, including:
First message receiving subelement, for receiving the current message that the publisher sends by the first node;
First message broadcasts subelement, for broadcasting the message to second node using the first node;
First message matches transmission sub-unit, for subscribing to each in the subscription list of the message and present node Record is matched respectively, if successful match, is recorded corresponding subscriber to successful match subscription using present node and is sent institute State message;Also, for each node in the first node and the second node, run the first message matching Transmission sub-unit.
Optionally, the message sending unit, including:
Second message receiving subelement, for receiving the current message that the publisher sends by the first node;
Second message broadcasts subelement, for broadcasting the message to second node using the first node;
Second message matches transmission sub-unit, for subscribing to each in the subscription list of the message and present node Record is matched respectively, if successful match, is recorded corresponding subscriber to successful match subscription using present node and is sent institute State message;And for each node in the second node, run the second message matching transmission sub-unit.
Optionally, the message sending unit, including:
Third message sink subelement, for receiving the current message that the publisher sends by the first node;
Third match messages transmission sub-unit is used for each in the subscription list of the message and the first node It subscribes to record to be matched respectively, if successful match, corresponding subscription is recorded to successful match subscription using the first node Side sends the message.
In addition the application provides a kind of electronic equipment, including:
Memory and processor;
For the memory for storing computer executable instructions, the processor is executable for executing the computer Instruction:
It sends to the subscriber for subscribing to current message in the case where receiving the first node control that publisher sends message and currently disappears Breath;
Summarize the message response for the subscriber's feedback for subscribing to the message using the first node;
The message response after summarizing is sent to the publisher for sending the message.
Application provides a kind of message issuance method, including:Receive publisher send message first node control under to The subscriber for subscribing to current message sends current message;Summarize the subscriber's feedback for subscribing to the message using the first node Message response;The message response after summarizing is sent to the publisher for sending the message.
The message issuance method provided by the present application, for subscriber after carrying out message subscribing, publisher carries out message hair When cloth, the message that publisher currently issues is obtained by first node, and to subscription current message under first node control Subscriber sends current message, is rung for the message of current message feedback to the subscriber for subscribing to current message using first node It should be summarized, the message response after summarizing finally is returned to the publisher of current message, to realize publisher's publication The message response of message summarizes and feeds back, and can determine the state that publisher gives out information according to message response.The message hair Cloth method realizes publisher after publisher carries out news release, by the communication between subscriber, first node and subscriber The message response to give out information summarizes and feeds back, and can determine the state that publisher gives out information according to message response, realizes hair Cloth side give out information state holding.
Description of the drawings
Attached drawing 1 is a kind of process chart of message issuance method embodiment provided by the present application;
Attached drawing 2 is the schematic diagram of the first message system provided by the present application;
Attached drawing 3 is the schematic diagram of second of message system provided by the present application;
Attached drawing 4 is the schematic diagram of the third message system provided by the present application;
Attached drawing 5 is a kind of schematic diagram of news release device embodiment provided by the present application;
Attached drawing 6 is the schematic diagram of a kind of electronic equipment embodiment provided by the present application.
Specific implementation mode
Many details are elaborated in the following description in order to fully understand the application.But the application can be with Much implement different from other manner described here, those skilled in the art can be without prejudice to the application intension the case where Under do similar popularization, therefore the application is not limited by following public specific implementation.
The application provides a kind of message issuance method, in addition the application provides a kind of news release device and a kind of electricity Sub- equipment.It is described in detail one by one below in conjunction with the attached drawing of embodiment provided by the present application, and to each of method Step illustrates.
Message issuance method embodiment provided by the present application is as follows:
With reference to attached drawing 1, it illustrates a kind of process chart of message issuance method embodiment provided by the present application, references Attached drawing 2, it illustrates the schematic diagrames of the first message system provided by the present application, and with reference to attached drawing 3, it illustrates the application offers Second of message system schematic diagram, with reference to attached drawing 4, it illustrates the signals of the third message system provided by the present application Figure.Further, since this implementation cooperates with following another message issuance method embodiments provided by the present application, therefore, When reading the present embodiment, following another message issuance method embodiments are please referred to.
Step S101, in the case where receiving the first node control that publisher sends message to the subscriber's hair for subscribing to current message Send current message.
In news release scene, including the publisher of message, the subscriber of message and for message middle-agent's Node cluster, and publisher, subscriber and node cluster can be operated in as a logic unit, progress mutually In the clusters of machines of cooperation on different machines, role of the publisher as production message, for the message of generation to be sent to On node cluster interior joint, and by the message response of node cluster interior joint reception transmitted message, so as to basis Message response determines the state of message.Message system operates in multiple processes of multiple servers, every server it is every A process is all independent from each other, therefore each process can be regarded as a node, these nodes collectively constitute node cluster, All nodes run same set of message system in node cluster.Role of the subscriber as consumption message or reception message, leads to It crosses and subscribes to message in node cluster interior joint, the message that publisher sends is sent to after node cluster interior joint, on node Message system sends a message to the subscriber for subscribing to current message.
In the application, according to the difference of node cluster interior joint deployment way, the message issuance method specific embodiment party Formula is also different, and the application provides following three kinds of nodes cluster interior joint deployment way, corresponding offer following three Kind embodiment, is described in detail separately below.
Embodiment one:
Include at least two nodes in node cluster, and each node is all in the embodiment of the present application It is equality, can be used for receiving the message that the publisher sends, and by what the publisher received sent disappear It ceases and is sent to the subscriber, and, the message response sent for receiving the subscriber, and by the message response to institute State subscriber's transmission.Here, for ease of description, any one node in node cluster receives publisher's transmission Message after, the node for receiving the message is first node, remaining all node is second in node cluster Node.As shown in Fig. 2, when the node 2 in node cluster receives the message A that publisher P2 is sent, node 2 is first Node, node 1 and node 3 in node cluster are second node.
On this basis, this step sends to the subscriber for subscribing to current message under first node control and currently disappears Breath, is specifically realized in the following way:
1) current message that the publisher sends is received by the first node;
2) using the first node message is broadcasted to second node;
3) it is directed to each node in the first node and the second node, executes operations described below:Disappear described Breath is subscribed to record with each in the subscription list of present node and is matched respectively, if successful match, shows in the subscription Registered in list current subscription record corresponding subscriber as subscribe to current message subscriber, using present node to matching at Work(subscription records corresponding subscriber and sends the message;If it fails to match, shows to register in the subscription list and currently order It is to subscribe to the subscriber of current message, therefore do not record corresponding subscriber's hair to current subscription to read and record corresponding subscriber not Current message is sent, is not dealt with.
For example, as shown in Fig. 2, the message A that publisher sends is received by first node (node 2), by first node Second node (node 1 and node 3) all into node cluster message A is broadcasted;In first node and second node On each node, i.e.,:On node 1, node 2 and node 3, message A and node 1, node 2 and node 3 are respectively safeguarded respectively Subscription list in each subscribe to record matched respectively, as matching result shows that subscriber S1 and subscriber S2 are being saved Message A is had subscribed in the subscription list of point 1, and subscriber S3 has subscribed message A in the subscription list of node 3, then by saving Message A is respectively sent to subscriber S1 and subscriber S2 by point 1, and message A is sent to subscriber S3 by node 3.
After the execution of this step, and before following step S102 execution, message response can also be performed and obtain operation, currently Message response described in embodiment obtains any one that operation can be used in three kinds of realization methods of following offers and realizes:
1) it is that second node of the subscriber in node cluster has subscribed and currently disappear that such realization method is corresponding Breath.Based on this, the second node, which receives, subscribes to the message response that the subscriber of current message sends, and to the first node Send the message response;After this, the first node receives the message response that the second node is sent.For example, such as Shown in attached drawing 2, node 1 (second node) receives the subscriber S1 and subscriber S2 that message A is subscribed in the subscription list of its own Sent for the message response that message A is sent, and to node 2 (first node), node 3 (second node) receive its own Subscription list subscribes to the message response that the subscriber S3 of message A is sent for message A, and is sent to node 2 (first node), section Three message that subscriber S1, the subscriber S2 and subscriber S3 that 2 (first node) receiving nodes 1 of point and node 3 are sent are returned Response.
2) it is that first node and second node of the subscriber in node cluster are equal that such realization method is corresponding Have subscribed current message.Based on this, the second node, which receives, subscribes to the message response that the subscriber of current message sends, and to The first node sends the message response;After this, the first node receives the message that the second node is sent Response, and receive and subscribe to the message response that the subscriber of current message sends in the first node.
3) it is that first node of the subscriber in node cluster has subscribed and currently disappear that such realization method is corresponding Breath.Based on this, the first node, which receives, subscribes to the message response that the subscriber of current message sends.
In the specific implementation, after the first node broadcasts the message to second node in this step, and it is following Before step S102 is executed, following step can also be performed:
1) second node reports respective node state to the first node;
2) first node receives the node state that the second node reports.
For example, second node (node 1 and node 3) reports respectively current state, first segment to first node (node 2) Point (node 2) receives the respective current state that second node (node 1 and node 3) reports.
Based on this, after the first node receives the node state that the second node reports, second can also be performed Node messages response check operation, to the message from the first node be sent to the second node after state carry out It checks and judges, the second node message response inspection operation is realized in the following way:
The node state that the second node reports is matched with the message response that the second node is sent, according to Matching result judges whether the first node receives the message that all second nodes are sent in the first response time section Response is held if so, showing that all second nodes return to message response after receiving the first node and sending the message Row following step S102 summarizes the message response for the subscriber's feedback for subscribing to the message using the first node;If it is not, table There are at least one second nodes in the bright second node, after receiving the message that the first node is sent simultaneously Message response is not returned, therefore, the message response for including second node response timeout is created based on the first node, such as logical It includes currently not return to the message response of message response second node response timeout, and execute following step to cross first node and create S102 summarizes the message response for the subscriber's feedback for subscribing to the message using the first node.
In addition to this, the realization method of the second node message response inspection operation is not limited to this, and can also be used Other specific implementations except above-mentioned offer realization method, the way of realization of the second node message response inspection operation Variation, all only changes of specific implementation, all without departing from the core of the application, therefore all in the protection domain of the application Within.Such as after the first node broadcasts the message to second node, described second is realized using following realization method Node messages response checks operation:Judge whether the first node receives all second in the first response time section The message response that node is sent, if so, showing all second nodes after receiving the first node and sending the message Message response is returned, following step S102 is executed, the subscriber's feedback for subscribing to the message is summarized using the first node Message response;If it is not, showing that there are at least one second nodes in the second node, are receiving the first node hair Message response is not returned after the message sent, the message for including second node response timeout is created based on the first node Response, and following step S102 is executed, the message that the subscriber's feedback for subscribing to the message is summarized using the first node is rung It answers.
As described above, the first node is as the second node, it is same to have to subscriber transmission message With the function for the message response for receiving subscriber's feedback, therefore, the first node sends institute to its corresponding subscriber After stating message, first subscriber's message response inspection operation can also be performed, the message is sent from the first node State after to the subscriber carries out inspection judgement, and the first subscriber message response inspection operation is real in the following way It is existing:Judge whether the first node receives the message that its corresponding subscriber sends in the second response time section and ring It answers, if so, showing that the first node corresponds to subscriber and returns to message response after receiving the message, executes following step S102 summarizes the message response for the subscriber's feedback for subscribing to the message using the first node;If it is not, being based on described first Node creates the message response for including subscriber's response timeout, and executes following step S102, is summarized using the first node The message response for the subscriber's feedback for subscribing to the message.Wherein, the first node corresponds to subscriber and includes:Described first Node subscribes to all subscribers of the message.
On this basis, the second node message response inspection can also be operated and above-mentioned described first provided is ordered Second of realization method of the side's of readding message response inspection operation is integrated into an operation, wide to second node in the first node After broadcasting the message, and after the first node sends described message to its corresponding subscriber, the behaviour after integration is utilized The message of opposing is sent to the state after the second node and carries out inspection judgement, while to the message from described first Node is sent to the state after the subscriber and carries out inspection judgement, and under type realization such as can be used in the operation after integration:
1) judge whether the first node receives what all second nodes were sent in the first response time section Message response, if so, executing following step 2);If it is not, show in the second node there are at least one second node, Message response is not returned after receiving the message that the first node is sent, therefore, is created based on the first node Include the message response of second node response timeout, and execute following step 2);
2) judge whether the first node receives what its corresponding subscriber sent in the second response time section Message response summarizes the subscriber's feedback for subscribing to the message using the first node if so, executing following step S102 Message response;If not, creating the message response for including subscriber's response timeout based on the first node, and execute following Step S102 summarizes the message response for the subscriber's feedback for subscribing to the message using the first node.
In the specific implementation, after the second node sends the message to subscriber, and following step S102 is executed Before, second subscriber's message response inspection operation can also be performed, described order is sent to from the second node to the message State behind the side of readding carries out inspection judgement, and the second subscriber message response inspection operation is realized in the following way:For Each node in the second node executes operations described below:
Judge whether present node receives the institute that the message is subscribed in present node in third response time section There is the message response that subscriber sends, if so, showing to receive present node sends all subscribers of the message to working as Front nodal point returns to message response, executes following step S102, the subscriber for subscribing to the message is summarized using the first node The message response of feedback;If it is not, showing that receiving present node sends in the subscriber of the message, orders there are at least one It reads Fang Wei and returns to message response to present node, therefore, the message response for including subscriber's response timeout is created by present node And sent to the first node, and following step S102 is executed, summarized using the first node and subscribes to ordering for the message The message response that the side of readding is fed back.
In addition, in the specific implementation, the second node message response inspection can also be operated and described second subscribes to Square message response inspection operation is integrated into an operation, after the first node broadcasts the message to second node, and institute It states after second node sends the message to the subscriber, described the is sent to the message using the operation after integration State after two nodes carries out inspection judgement, while to the message after the second node is sent to the subscriber State carries out inspection judgement, and the operation after integration can be used under type such as and realize:
1) judge whether all nodes receive in third response time section in respective node in the second node The message response that the upper all subscribers for subscribing to the message send, if so, executing following step 2);If it is not, by present node It creates the message response comprising subscriber's response timeout and is sent to the first node, and execute following step 2);
2) node state that the second node reports is matched with the message response that the second node is sent, root Judge whether the first node receives disappearing for all second nodes transmissions in the first response time section according to matching result Breath response summarizes the subscriber's feedback for subscribing to the message using the first node if so, executing following step S102 Message response;If not, creating the message response for including second node response timeout based on the first node, and execute following Step S102 summarizes the message response for the subscriber's feedback for subscribing to the message using the first node.
Embodiment two:
Under current embodiment, at least one first node and at least one second section are disposed in the node cluster Point, the first node is used to receive the message that the publisher sends, and will receive the message to the second node It sends, message of the second node for the first node to be sent is sent to the subscriber, and it is anti-to receive the subscriber The message response of feedback, and the message response is sent to the first node, finally by the first node by described second The message response that node is sent is sent to the publisher.As shown in Fig. 3, administration's first node 1, second saves in the middle part of node cluster Point 1, second node 2 and second node 3.
On this basis, this step sends to the subscriber for subscribing to current message under first node control and currently disappears Breath, is specifically realized in the following way:
1) current message that the publisher sends is received by the first node;
2) using the first node message is broadcasted to second node;
3) it is directed to each node in the second node, executes operations described below:
By the message in the subscription list of present node each subscribe to record match respectively, if matching at Work(shows that current subscription is registered in the subscription list records corresponding subscriber to subscribe to the subscriber of current message, profit Corresponding subscriber is recorded to successful match subscription send the message with present node;If it fails to match, show to order described It reads and registers current subscription in list and record corresponding subscriber not and be the subscriber for subscribing to current message, do not deal with.
For example, as shown in Fig. 3, first node 1 receives the message B that publisher P3 is sent, by first node 1 by message B Into node cluster, second node 1, second node 2 and third node 3 are broadcasted;Second node 1, second node 2 and third node 3 Message B is subscribed to record with each in the subscription list respectively safeguarded respectively to match respectively, if matching result table Bright subscriber S1, subscriber S2 and subscriber S3 have subscribed message B in the subscription list of second node 2, by second node 2 Message B is sent to subscriber S1, subscriber S2 and subscriber S3 respectively.
After the execution of this step, and before following step S102 execution, message response can also be performed and obtain operation, currently The message response is obtained operation and is realized using following manner under embodiment:The second node, which receives, subscribes to current message The message response that subscriber sends, and send the message response to the first node;After this, the first node connects Receive the message response that the second node is sent.For example, as shown in Fig. 3, second node 2 is received in the subscription list of its own The message response that subscriber S1, subscriber S2 and the subscriber S3 of message B are sent for message B is subscribed to, and is sent out to first node 1 It send, first node 1 receives three message responses that subscriber S1, the subscriber S2 that second node 2 is sent and subscriber S3 are returned.
In the specific implementation, after the first node broadcasts the message to second node in this step, and it is following Before step S102 is executed, following step can also be performed:
1) second node reports respective node state to the first node;
2) first node receives the node state that the second node reports.
For example, second node 1, second node 2 and second node 3 report respectively current state to first node 1, first The respective current state that node 1 receives second node 1, second node 2 and second node 3 report.
On this basis, it after the first node receives the node state that the second node reports, can also be performed First message response check operation, to the message from the first node be sent to the second node after state carry out It checks and judges, the first message response checks that operation is realized in the following way:The node shape that the second node is reported State is matched with the message response that the second node is sent, and judges the first node in the first response according to matching result Whether message response that all second node send is received in time interval, if so, showing that all second nodes are connecing It receives after the first node sends the message and returns to message response, execute following step S102, utilize the first node Summarize the message response for the subscriber's feedback for subscribing to the message;If it is not, showing that there are at least one in the second node Second node does not return to message response after receiving the message that the first node is sent, therefore, based on described the One node creates the message response for including second node response timeout, and executes following step S102, utilizes the first node Summarize the message response for the subscriber's feedback for subscribing to the message.
In addition to this, the first message response checks that the realization method of operation is not limited to this, and can also use above-mentioned Other specific implementations except realization method are provided, the first message response checks the variation of the way of realization of operation, All it is the change of specific implementation, all without departing from the core of the application, therefore all within the protection domain of the application.Than After the message as described in the first node to second node broadcast, realize that the first message responds using following realization method Check operation:Judge whether the first node receives disappearing for all second node transmissions in the first response time section Breath response summarizes disappearing for the subscriber's feedback for subscribing to the message using the first node if so, executing following step S102 Breath response;If it is not, creating the message response for including second node response timeout based on the first node, following step is executed S102 summarizes the message response for the subscriber's feedback for subscribing to the message using the first node.
In the specific implementation, after the second node sends the message to subscriber, and following step S102 is executed Before, second message response can also be performed and check operation, to the message after the second node is sent to the subscriber State carry out inspection judgement, the second message response checks that operation is realized in the following way:For the second node In each node, execute operations described below:
Judge whether present node receives the institute that the message is subscribed in present node in third response time section There is the message response that subscriber sends, if so, executing following step S102, is summarized using the first node and subscribe to the message Subscriber feedback message response;If it is not, creating the message response comprising subscriber's response timeout from present node and to institute State first node transmission, and execute following step S102, summarized using the first node subscribe to the message subscriber it is anti- The message response of feedback.
On this basis, the first message can also be responded and checks that operation and second message response check operation It is integrated into an operation, after the node state that the first node receives that the second node reports, and second section After point sends the message to the subscriber, after being sent to the second node to the message using the operation after integration State carry out inspection judgement, while the state being sent to the message after the subscriber carries out inspection judgement, after integration The operation can be used such as under type realization:
1) judge whether all nodes receive in third response time section in respective node in the second node The message response that the upper all subscribers for subscribing to the message send, if so, executing following step 2);If it is not, by present node It creates the message response comprising subscriber's response timeout and is sent to the first node, and execute following step 2);
2) node state that the second node reports is matched with the message response that the second node is sent, root Judge whether the first node receives disappearing for all second nodes transmissions in the first response time section according to matching result Breath response summarizes the subscriber's feedback for subscribing to the message using the first node if so, executing following step S102 Message response;If not, creating the message response for including second node response timeout based on the first node, and execute following Step S102 summarizes the message response for the subscriber's feedback for subscribing to the message using the first node.
Embodiment three:
Under current embodiment, at least one first node, and these first nodes are disposed in the node cluster The subscription list respectively safeguarded is identical or subscription list is opened in common maintenance one, in this case, when any one first segment Point receives the message that the publisher sends, since the subscription list that all first nodes are safeguarded is identical or common A subscription list is safeguarded, without broadcasting the message in node cluster, by the first segment for receiving the message Point handles current message.Alternatively, a first node is only disposed in the node cluster, by the first node To safeguard subscription list.The first node is used to receive the message that the publisher sends, and will receive the message to The subscriber sends, and, receive the message response of subscriber's feedback, and by the message response to the publisher It sends.As shown in Fig. 4, node cluster therein includes first node 1, second node 2 and first node 3, safeguards one jointly Open subscription list.
On this basis, this step sends to the subscriber for subscribing to current message under first node control and currently disappears Breath, is specifically realized in the following way:
1) current message that the publisher sends is received by the first node;
2) message record is subscribed to each in the subscription list of the first node to match respectively, if With success, corresponding subscriber is recorded to successful match subscription using the first node and send the message.
For example, as shown in Fig. 4, receiving the message C that publisher P1 is sent by first node 2, message C and subscription being arranged Subscription record in table is matched, if matching result shows that subscriber S1, subscriber S2 and subscriber S3 are subscribing to row Message C is had subscribed in table, is sent message C to subscriber S1, subscriber S2 and subscriber S3 respectively from first node 2.
Under current embodiment, after the execution of this step, i.e., to subscription current message under first node control Subscriber send current message after, and before following step S102 is executed, following message response can also be performed and obtain operation, The message response is obtained operation and is realized using following manner under current embodiment:The first node, which receives to subscribe to, currently to disappear The message response that the subscriber of breath sends.For example, as shown in Fig. 4, first node 2 is received subscribes to message C's in subscription list Subscriber S1, subscriber S2 and subscriber S3 are directed to the message response that message C is respectively returned.
On this basis, after the first node sends the message to its corresponding subscriber, it can also be performed and disappear Breath response check operation, to the message from the first node be sent to the subscriber after state carry out inspection judgement, The message response inspection operation is realized in the following way:Judge the first node in the second response time section whether The message response that its corresponding subscriber sends is received if so, executing following step S102 to summarize using the first node The message response for the subscriber's feedback for subscribing to the message;If it is not, being created based on the first node super comprising subscriber's response When message response, and execute following step S102, the subscriber's feedback for subscribing to the message summarized using the first node Message response.
Step S102 summarizes the message response for the subscriber's feedback for subscribing to the message using the first node.
In this step, the message response for the subscriber's feedback for subscribing to the message is summarized using the first node.For example, As shown in Fig. 2, first node (node 2) is ordered what the node 1 (second node) received and node 3 (second node) were sent Three message responses that the side of readding S1, subscriber S2 and subscriber S3 are returned gather.
As shown in Fig. 3, subscriber S1, subscriber S2 and the subscription that first node 1 sends the second node 2 received Three message responses that square S3 is returned gather.
As shown in Fig. 4, first node 2 returns the subscriber S1 received, subscriber S2 and subscriber S3 for message C Three message responses returned gather.
Step S103 sends the message response after summarizing to the publisher for sending the message.
Above-mentioned steps S102 summarizes the message response for the subscriber's feedback for subscribing to the message using the first node, this Message response after step summarizes above-mentioned steps S102 is sent to the publisher for sending the message.
For example, as shown in Fig. 2, by node 2 (first node) by the subscriber S1 summarized, subscriber S2 and subscription Three message responses that square S3 is returned are sent to the publisher P2 for sending message A.
As shown in Fig. 3, the subscriber S1 summarized, subscriber S2 and subscriber S3 are returned by first node 1 Three message responses are sent to the publisher P3 for sending message B.
As shown in Fig. 4, the subscriber S1 summarized, subscriber S2 and subscriber S3 are returned by first node 2 Three message responses are sent to the publisher P1 for sending message C.
In practical applications, the node in node cluster is inevitably since failure leads to error or even the nothing that goes offline Method provides service, is based on this, node inspection operation is also provided for node cluster interior joint, for the section in node cluster Point is checked, and provides respective handling mode according to inspection result, to enable the stability of set of node group to be promoted, into one Step enables the stability of message system to be promoted.Here, embodiment one and embodiment that corresponding above-mentioned steps S101 is provided Two, the node inspection operation can be used under type such as and realize:
For each node in the first node and the second node, operations described below is executed:According to default inspection Cyclic check checks present node;If checking present node, there are node failures, for there is currently node failures The subscription list of node executes subscription operation again.Again the subscription operation is realized as follows:All subscription to present node Side sends and subscribes to message again;And the connection with present node re-established by the subscriber, and according to re-establishing It is connected to register in the subscription list of present node and subscribes to message.For example, the institute recorded into the subscription list of present node There is subscriber to send and subscribe to message again, after subscriber receives subscription message again, is based respectively on socket and works as prosthomere Point establish TCP connection, and be based respectively on the TCP connection established therebetween registered in the subscription list of present node it is each custom The message read.
In the specific implementation, described that checking step is carried out to present node according to default inspection cycle inspection, it can be based on Any one node in the first node and the second node executes.For example, every an inspection cycle at random by collecting A node checks all nodes of other in clustered node in group node.
In addition, the embodiment three that corresponding above-mentioned steps S101 is provided, the node inspection operation can be used such as under type reality It is existing:
For each node in the first node, operations described below is executed:According to default inspection cycle inspection to current Node is checked;If checking present node, there are node failures, for there is currently the subscription lists of node failure node Execute subscription operation again.Again the subscription operation is realized as follows:It sends to all subscribers of present node and subscribes to again Message, i.e., all subscribers recorded into the subscription list of present node send and subscribe to message again, and pass through the subscription Side re-establishes the connection with present node, and is ordered according to being registered in the subscription list for being connected to present node re-established Read message.
In the specific implementation, described that checking step is carried out to present node according to default inspection cycle inspection, it can be based on Any one node in the first node executes.For example, every an inspection cycle at random by one in clustered node One node checks all nodes of other in clustered node.
In addition, in practical applications, when any one node wants death due to being out of order in node cluster, with Connection between subscriber can be disconnected, and be based on this, also provide connecting detection operation, be used for node cluster interior joint and subscribed to Connection between side is detected, and carries out respective handling according to testing result.Here, the reality that corresponding above-mentioned steps S101 is provided Mode one and embodiment two are applied, the nodal test operation can be used under type such as and realize:
When detecting the connection quilt in the first node and the second node between any one node and subscriber When disconnection, following operation is executed:The connection with present node is re-established by the subscriber, and according to the company re-established It is connected on to register in the subscription list of present node and subscribes to message.For example, when detecting that certain node is corresponding in node cluster One or more subscriber between TCP connection when being disconnected, one be disconnected for the TCP connection with the node or Person multiple subscribers are based respectively on socket and establish TCP connection between the node, and are based respectively on and establish therebetween TCP connection registers the message respectively subscribed in the subscription list of the node.
In addition, the embodiment three that corresponding above-mentioned steps S101 is provided, the nodal test operation can be used such as under type reality It is existing:
When detecting that the connection of any one node and subscriber in the first node are disconnected, following behaviour is executed Make:The connection with present node is re-established by the subscriber, and ordering for present node is connected to according to what is re-established It reads to register in list and subscribes to message.
In conclusion the message issuance method provided by the present application, subscriber after carrying out message subscribing, publisher into When row news release, the message that publisher currently issues is obtained by first node, and work as to subscription under first node control The subscriber of preceding message sends current message, is fed back for current message to the subscriber for subscribing to current message using first node Message response summarized, the message response after summarizing finally is returned to the publisher of current message, to realize hair The message response that cloth side gives out information summarizes and feeds back, and can determine the state that publisher gives out information according to message response.Institute Message issuance method is stated after publisher carries out news release, it is real by the communication between subscriber, first node and subscriber The message response that existing publisher gives out information summarizes and feeds back, and can determine the shape that publisher gives out information according to message response State, realize publisher give out information state holding.
A kind of news release device embodiment provided by the present application is as follows:
In the above-described embodiment, a kind of message issuance method is provided, corresponding, present invention also provides one Kind news release device, illustrates below in conjunction with the accompanying drawings.
With reference to attached drawing 5, it illustrates a kind of schematic diagrames of news release device embodiment provided by the present application.
Since device embodiment is corresponded with the embodiment of the method for above-mentioned offer, the content for reading the present embodiment please refers to The corresponding explanation of above method embodiment.Device embodiment described below is only schematical.
The application provides a kind of news release device, including:
Message sending unit 501, for currently disappearing to subscription in the case where receiving the first node control that publisher sends message The subscriber of breath sends current message;
Message response collection unit 502, for summarizing the subscriber's feedback for subscribing to the message using the first node Message response;
Message response transmission unit 503, for sending the message response after summarizing to the publisher for sending the message.
Optionally, the message sending unit 501, including:
First message receiving subelement, for receiving the current message that the publisher sends by the first node;
First message broadcasts subelement, for broadcasting the message to second node using the first node;
First message matches transmission sub-unit, for subscribing to each in the subscription list of the message and present node Record is matched respectively, if successful match, is recorded corresponding subscriber to successful match subscription using present node and is sent institute State message;Also, for each node in the first node and the second node, run the first message matching Transmission sub-unit.
Optionally, the message sending unit 501, including:
Second message receiving subelement, for receiving the current message that the publisher sends by the first node;
Second message broadcasts subelement, for broadcasting the message to second node using the first node;
Second message matches transmission sub-unit, for subscribing to each in the subscription list of the message and present node Record is matched respectively, if successful match, is recorded corresponding subscriber to successful match subscription using present node and is sent institute State message;And for each node in the second node, run the second message matching transmission sub-unit.
Optionally, the message sending unit 501, including:
Third message sink subelement, for receiving the current message that the publisher sends by the first node;
Third match messages transmission sub-unit is used for each in the subscription list of the message and the first node It subscribes to record to be matched respectively, if successful match, corresponding subscription is recorded to successful match subscription using the first node Side sends the message.
Optionally, the news release device, including:
First message response receives retransmission unit, for receiving the subscriber for subscribing to current message by the second node The message response of transmission, and send the message response to the first node;
First message responds receiving unit, is rung for receiving the message that the second node is sent by the first node It answers.
Optionally, the news release device, including:
Second message response receives retransmission unit, for receiving the subscriber for subscribing to current message by the second node The message response of transmission, and send the message response to the first node;
Second message responds receiving unit, is rung for receiving the message that the second node is sent by the first node It answers, and receives and subscribe to the message response that the subscriber of current message sends in the first node.
Optionally, the news release device, including:
Third message response receiving unit, for receiving the subscriber's transmission for subscribing to current message by the first node Message response.
Optionally, the news release device, including:
4th message response receives retransmission unit, for receiving the subscriber for subscribing to current message by the second node The message response of transmission, and send the message response to the first node;
4th message response receiving unit is rung for receiving the message that the second node is sent by the first node It answers.
Optionally, the news release device, including:
5th message response receiving unit, for receiving the subscriber's transmission for subscribing to current message by the first node Message response.
Optionally, after the first node broadcasts the message to second node, operation node state reporting unit and Node state receiving unit;The node state reporting unit is reported for passing through the second node to the first node Respective node state;The node state receiving unit is reported for passing through the first node reception second node Node state.
Optionally, the news release device, including:
First message responds judging unit, and the node state for reporting the second node is sent out with the second node The message response sent is matched, and judges whether the first node receives in the first response time section according to matching result The message response sent to all second nodes, if so, running the message response collection unit 502;If it is not, based on described the One node creates the message response for including second node response timeout, and runs the message response collection unit 502.
Optionally, after the first node broadcasts the message to second node, operation second message response judges single Member;Whether the second message responds judging unit, received in the first response time section for judging the first node The message response sent to all second nodes, if so, running the message response collection unit 502;If it is not, based on described the One node creates the message response for including second node response timeout, and runs the message response collection unit 502.
Optionally, after the first node sends the message to its corresponding subscriber, third message response is run Judging unit;The third message response judging unit is for judging the first node in the second response time section The no message response for receiving its corresponding subscriber and sending, if so, running the message response collection unit 502;If it is not, base The message response for including subscriber's response timeout is created in the first node, and runs the message response collection unit 502; Wherein, the first node corresponds to subscriber and includes:All subscribers of the message are subscribed in the first node.
Optionally, after the first node broadcasts the message to second node, and the first node is corresponded to it Subscriber send the message after, run the 4th message response judging unit;The 4th message response judging unit is used In the message response for judging the first node in the first response time section and whether receiving that all second nodes are sent, if It is to run the 5th message response judging unit;If it is not, creating disappearing comprising second node response timeout based on the first node Breath response, and run the 5th message response judging unit;
The 5th message response judging unit, for judge the first node in the second response time section whether The message response that its corresponding subscriber sends is received, if so, running the message response collection unit 502;If not, The message response for including subscriber's response timeout is created based on the first node, and runs the message response collection unit 502;Wherein, the first node corresponds to subscriber and includes:All subscribers of the message are subscribed in the first node.
Optionally, after the second node sends the message to subscriber, the 6th message response judging unit is run; Whether the 6th message response judging unit receives current for judging present node in third response time section Node subscribes to the message response that all subscribers of the message send, if so, running the message response collection unit 502; If it is not, being created the message response comprising subscriber's response timeout from present node and being sent to the first node, and run institute State message response collection unit 502;Also, it for each node in the second node, runs the 6th message and rings Answer judging unit.
Optionally, after the second node sends the message to subscriber, the 7th message response judging unit is run; The 7th message response judging unit, for judging that all nodes are in third response time section in the second node No receive subscribes to the message response that all subscribers of the message send on respective node, if so, the 8th message of operation Respond judging unit;If it is not, creating the message response comprising subscriber's response timeout from present node and to the first node It sends, and runs the 8th message response judging unit;
The 8th message response judging unit, the node state for reporting the second node are saved with described second Point send message response matched, according to matching result judge the first node in the first response time section whether The message response that all second nodes are sent is received, if so, running the message response collection unit 502;If not, base The message response for including second node response timeout is created in the first node, and runs the message response collection unit 502。
Optionally, the news release device, including:
First node inspection unit, for being checked present node according to default inspection cycle inspection;If checking Present node is there are node failure, the subscription operation execution unit again of operation first, described first again subscription operation execute list Member, for for there is currently the subscription lists of node failure node to execute subscription operation again;Also, it is directed to the first segment Each node in point and the second node, runs the first node inspection unit.
Optionally, the news release device, including:
Second node inspection unit, for being checked present node according to default inspection cycle inspection;If checking Present node is there are node failure, the subscription operation execution unit again of operation second, described second again subscription operation execute list Member, for for there is currently the subscription lists of node failure node to execute subscription operation again;Also, it is directed to the first segment Each node in point runs the second node inspection unit.
Optionally, the subscription operation again, including:
It is sent to all subscribers of present node and subscribes to message again;
The connection with present node is re-established by the subscriber, and present node is connected to according to what is re-established Subscription list in register subscribe to message.
Optionally, the first node inspection unit is based on any one in the first node and the second node Node is run.
Optionally, the second node inspection unit is executed based on any one node in the first node.
Optionally, the news release device, including:
First connection registering unit, for any one node in detecting the first node and the second node When connection between subscriber is disconnected, following operation is executed:The company with present node is re-established by the subscriber It connects, and message is subscribed to according to being registered in the subscription list for being connected to present node re-established.
Optionally, the news release device, including:
Second connection registering unit, the connection for any one node and subscriber in detecting the first node When being disconnected, following operation is executed:By the subscriber re-establish the connection with present node, and according to re-establishing It is connected to register in the subscription list of present node and subscribes to message.
A kind of electronic equipment embodiment provided by the present application is as follows:
In the above-described embodiment, a kind of message issuance method is provided, in addition, present invention also provides one kind for real The electronic equipment of the existing message issuance method, illustrates below in conjunction with the accompanying drawings.
With reference to attached drawing 6, it illustrates the schematic diagrames of a kind of electronic equipment provided in this embodiment.
The electronic equipment provided by the present application is for realizing the message issuance method provided by the present application, the present embodiment Corresponding with the message issuance method embodiment of above-mentioned offer, the content for reading the present embodiment please refers to the message hair of above-mentioned offer The corresponding explanation of cloth embodiment of the method.Embodiment described below is only schematical.
The application provides a kind of electronic equipment, including:
Memory 601 and processor 602;
The memory 601 is for storing computer executable instructions, and the processor 602 is for executing the computer Executable instruction:
It sends to the subscriber for subscribing to current message in the case where receiving the first node control that publisher sends message and currently disappears Breath;
Summarize the message response for the subscriber's feedback for subscribing to the message using the first node;
The message response after summarizing is sent to the publisher for sending the message.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Current message is sent, is realized in the following way:
The current message that the publisher sends is received by the first node;
Using the first node message is broadcasted to second node;
For each node in the first node and the second node, operations described below is executed:By the message With in the subscription list of present node each subscribe to record matched respectively, if successful match, using present node to Corresponding subscriber, which is recorded, with successful subscription sends the message.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Current message is sent, is realized in the following way:
The current message that the publisher sends is received by the first node;
Using the first node message is broadcasted to second node;
For each node in the second node, operations described below is executed:By ordering for the message and present node It reads each subscription record in list to be matched respectively, if successful match, is subscribed to and recorded to successful match using present node Corresponding subscriber sends the message.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Current message is sent, is realized in the following way:
The current message that the publisher sends is received by the first node;
The message is subscribed to record with each in the subscription list of the first node to match respectively, if matching Success records corresponding subscriber to successful match subscription using the first node and sends the message.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Send current message instruction execution after, and it is described summarized using the first node subscribes to the message subscriber feed back disappear Before breath response instruction execution, the processor 602 is additionally operable to execute following computer executable instructions:
The second node, which receives, subscribes to the message response that the subscriber of current message sends, and is sent out to the first node Send the message response;
The first node receives the message response that the second node is sent.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Send current message instruction execution after, and it is described summarized using the first node subscribes to the message subscriber feed back disappear Before breath response instruction execution, the processor 602 is additionally operable to execute following computer executable instructions:
The second node, which receives, subscribes to the message response that the subscriber of current message sends, and is sent out to the first node Send the message response;
The first node receives the message response that the second node is sent, and receives and subscribed in the first node The message response that the subscriber of current message sends.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Send current message instruction execution after, and it is described summarized using the first node subscribes to the message subscriber feed back disappear Before breath response instruction execution, the processor 602 is additionally operable to execute following computer executable instructions:
The first node, which receives, subscribes to the message response that the subscriber of current message sends.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Send current message instruction execution after, and it is described summarized using the first node subscribes to the message subscriber feed back disappear Before breath response instruction execution, the processor 602 is additionally operable to execute following computer executable instructions:
The second node, which receives, subscribes to the message response that the subscriber of current message sends, and is sent out to the first node Send the message response;
The first node receives the message response that the second node is sent.
Optionally, to the subscriber for subscribing to current message under the first node that message is sent in reception publisher controls Send current message instruction execution after, and it is described summarized using the first node subscribes to the message subscriber feed back disappear Before breath response instruction execution, the processor 602 is additionally operable to execute following computer executable instructions:
The first node, which receives, subscribes to the message response that the subscriber of current message sends.
Optionally, after the first node broadcasts the message to second node, the processor 602 is additionally operable to execute Following computer executable instructions:
The second node reports respective node state to the first node;
The first node receives the node state that the second node reports.
Optionally, after the first node receives the node state instruction execution that the second node reports, the processing Device 602 is additionally operable to execute following computer executable instructions:
The node state that the second node reports is matched with the message response that the second node is sent, according to Matching result judges whether the first node receives the message that all second nodes are sent in the first response time section Response, if so, executing the message response instruction of the subscriber's feedback for summarizing using the first node and subscribing to the message; Include the message response of second node response timeout if it is not, being created based on the first node, and executes the utilization described the One node summarizes the message response instruction for the subscriber's feedback for subscribing to the message.
Optionally, after the first node broadcasts the message to second node, the processor 602 is additionally operable to execute Following computer executable instructions:
Judge whether the first node receives the message that all second nodes are sent in the first response time section Response, if so, executing the message response instruction of the subscriber's feedback for summarizing using the first node and subscribing to the message; Include the message response of second node response timeout if it is not, being created based on the first node, and executes the utilization described the One node summarizes the message response instruction for the subscriber's feedback for subscribing to the message.
Optionally, after the first node sends the message to its corresponding subscriber, the processor 602 is also used In the following computer executable instructions of execution:
Judge whether the first node receives disappearing for its corresponding subscriber's transmission in the second response time section Breath response, if so, the message response for executing the subscriber's feedback for being summarized using the first node and subscribing to the message is referred to It enables;Include the message response of subscriber's response timeout if it is not, being created based on the first node, and executes the utilization described the One node summarizes the message response instruction for the subscriber's feedback for subscribing to the message;Wherein, the first node corresponds to subscriber Including:All subscribers of the message are subscribed in the first node.
Optionally, after the first node broadcasts the message to second node, and the first node is corresponded to it Subscriber send the message after, the processor 602 is additionally operable to execute following computer executable instructions:
Judge whether the first node receives the message that all second nodes are sent in the first response time section Response, if so, executing next instruction;It is rung if it is not, creating the message comprising second node response timeout based on the first node It answers, and executes next instruction;
Judge whether the first node receives disappearing for its corresponding subscriber's transmission in the second response time section Breath response, if so, executing the message response of the subscriber's feedback for summarizing using the first node and subscribing to the message Instruction;Include the message response of subscriber's response timeout if not, being created based on the first node, and executes and described utilize institute State the message response instruction that first node summarizes the subscriber's feedback for subscribing to the message;Wherein, the first node correspondence is ordered The side of readding includes:All subscribers of the message are subscribed in the first node.
Optionally, after the second node sends the message to subscriber, the processor 602 is additionally operable under execution State computer executable instructions:
For each node in the second node, operations described below is executed:Judge present node when third responds Between whether receive in section and subscribe to the message response that all subscribers of the message send in present node, if so, executing The message response instruction for summarizing the subscriber's feedback for subscribing to the message using the first node;If it is not, by working as prosthomere Point create comprising subscriber's response timeout message response simultaneously to the first node send, and execute it is described utilize described first Node summarizes the message response instruction for the subscriber's feedback for subscribing to the message.
Optionally, after the first node receives the node state instruction execution that the second node reports, and described After two nodes send the message to subscriber, the processor 602 is additionally operable to execute following computer executable instructions:
Judge whether all nodes receive in third response time section on respective node in the second node The message response that all subscribers for subscribing to the message send, if so, executing next instruction;If it is not, being created by present node Including the message response of subscriber's response timeout and being sent to the first node, and next instruction is executed;
The node state that the second node reports is matched with the message response that the second node is sent, according to Matching result judges whether the first node receives the message that all second nodes are sent in the first response time section Response, if so, the message response for executing the subscriber's feedback for being summarized using the first node and subscribing to the message is referred to It enables;Include the message response of second node response timeout if not, being created based on the first node, and executes and described utilize institute State the message response instruction that first node summarizes the subscriber's feedback for subscribing to the message.
Optionally, the processor 602 is additionally operable to execute following computer executable instructions:
For each node in the first node and the second node, operations described below is executed:According to default inspection Cyclic check checks present node;If checking present node, there are node failures, for there is currently node failures The subscription list of node executes subscription operation again.
Optionally, the processor 602 is additionally operable to execute following computer executable instructions:
For each node in the first node, operations described below is executed:According to default inspection cycle inspection to current Node is checked;If checking present node, there are node failures, for there is currently the subscription lists of node failure node Execute subscription operation again.
Optionally, the subscription operation again, including:
It is sent to all subscribers of present node and subscribes to message again;
The connection with present node is re-established by the subscriber, and present node is connected to according to what is re-established Subscription list in register subscribe to message.
Optionally, described that inspection instruction is carried out to present node according to default inspection cycle inspection, it is based on the first segment Any one node in point and the second node executes.
Optionally, described that inspection instruction is carried out to present node according to default inspection cycle inspection, it is based on the first segment Any one node in point executes.
Optionally, the processor 602 is additionally operable to execute following computer executable instructions:
When detecting the connection quilt in the first node and the second node between any one node and subscriber When disconnection, following operation is executed:The connection with present node is re-established by the subscriber, and according to the company re-established It is connected on to register in the subscription list of present node and subscribes to message.
Optionally, the processor 602 is additionally operable to execute following computer executable instructions:
When detecting that the connection of any one node and subscriber in the first node are disconnected, following behaviour is executed Make:The connection with present node is re-established by the subscriber, and ordering for present node is connected to according to what is re-established It reads to register in list and subscribes to message.
Although the application is disclosed as above with preferred embodiment, it is not for limiting the application, any this field skill Art personnel are not departing from spirit and scope, can make possible variation and modification, therefore the guarantor of the application Shield range should be subject to the range that the application claim defined.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology realizes information storage.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic disk storage or other magnetic storage apparatus Or any other non-transmission medium, it can be used for storage and can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include non-temporary computer readable media (transitory media), such as data-signal and carrier wave of modulation.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.

Claims (28)

1. a kind of message issuance method, which is characterized in that including:
In the case where receiving the first node control that publisher sends message current message is sent to the subscriber for subscribing to current message;
Summarize the message response for the subscriber's feedback for subscribing to the message using the first node;
The message response after summarizing is sent to the publisher for sending the message.
2. message issuance method according to claim 1, which is characterized in that described receive that publisher sends message the Current message is sent to the subscriber for subscribing to current message under one node control, is realized in the following way:
The current message that the publisher sends is received by the first node;
Using the first node message is broadcasted to second node;
For each node in the first node and the second node, operations described below is executed:
The message is subscribed to record with each in the subscription list of present node to match respectively, if successful match, profit Corresponding subscriber is recorded to successful match subscription send the message with present node.
3. message issuance method according to claim 1, which is characterized in that described receive that publisher sends message the Current message is sent to the subscriber for subscribing to current message under one node control, is realized in the following way:
The current message that the publisher sends is received by the first node;
Using the first node message is broadcasted to second node;
For each node in the second node, operations described below is executed:
The message is subscribed to record with each in the subscription list of present node to match respectively, if successful match, profit Corresponding subscriber is recorded to successful match subscription send the message with present node.
4. message issuance method according to claim 1, which is characterized in that described receive that publisher sends message the Current message is sent to the subscriber for subscribing to current message under one node control, is realized in the following way:
The current message that the publisher sends is received by the first node;
By the message in the subscription list of the first node each subscribe to record match respectively, if matching at Work(records corresponding subscriber to successful match subscription using the first node and sends the message.
5. message issuance method according to claim 2, which is characterized in that described receive that publisher sends message the After the execution of current message step being sent under one node control to the subscriber for subscribing to current message, and the utilization first segment Before point summarizes the message response step execution for the subscriber's feedback for subscribing to the message, following step is executed:
The second node, which receives, subscribes to the message response that the subscriber of current message sends, and sends institute to the first node State message response;
The first node receives the message response that the second node is sent.
6. message issuance method according to claim 2, which is characterized in that described receive that publisher sends message the After the execution of current message step being sent under one node control to the subscriber for subscribing to current message, and the utilization first segment Before point summarizes the message response step execution for the subscriber's feedback for subscribing to the message, following step is executed:
The second node, which receives, subscribes to the message response that the subscriber of current message sends, and sends institute to the first node State message response;
The first node receives the message response that the second node is sent, and receives and subscribed to currently in the first node The message response that the subscriber of message sends.
7. message issuance method according to claim 2, which is characterized in that described receive that publisher sends message the After the execution of current message step being sent under one node control to the subscriber for subscribing to current message, and the utilization first segment Before point summarizes the message response step execution for the subscriber's feedback for subscribing to the message, following step is executed:
The first node, which receives, subscribes to the message response that the subscriber of current message sends.
8. message issuance method according to claim 3, which is characterized in that described receive that publisher sends message the After the execution of current message step being sent under one node control to the subscriber for subscribing to current message, and the utilization first segment Before point summarizes the message response step execution for the subscriber's feedback for subscribing to the message, following step is executed:
The second node, which receives, subscribes to the message response that the subscriber of current message sends, and sends institute to the first node State message response;
The first node receives the message response that the second node is sent.
9. message issuance method according to claim 4, which is characterized in that described receive that publisher sends message the After the execution of current message step being sent under one node control to the subscriber for subscribing to current message, and the utilization first segment Before point summarizes the message response step execution for the subscriber's feedback for subscribing to the message, following step is executed:
The first node, which receives, subscribes to the message response that the subscriber of current message sends.
10. according to the message issuance method described in claim 5,6 or 8, which is characterized in that the first node is to second node After broadcasting the message, following step is executed:
The second node reports respective node state to the first node;
The first node receives the node state that the second node reports.
11. message issuance method according to claim 10, which is characterized in that the first node receives second section After the node state step that point reports executes, following step is executed:
The node state that the second node reports is matched with the message response that the second node is sent, according to matching As a result judge whether the first node receives the message response that all second nodes are sent in the first response time section, If so, executing the message response step of the subscriber's feedback for summarizing using the first node and subscribing to the message;If it is not, The message response for including second node response timeout is created based on the first node, and executes the utilization first node Summarize the message response step for the subscriber's feedback for subscribing to the message.
12. according to the message issuance method described in claim 5,6 or 8, which is characterized in that the first node is to second node After broadcasting the message, following step is executed:
Judge whether the first node receives the message response that all second nodes are sent in the first response time section, If so, executing the message response step of the subscriber's feedback for summarizing using the first node and subscribing to the message;If it is not, The message response for including second node response timeout is created based on the first node, and executes the utilization first node Summarize the message response step for the subscriber's feedback for subscribing to the message.
13. according to the message issuance method described in claim 6,7 or 9, which is characterized in that the first node is corresponding to its After subscriber sends the message, following step is executed:
Judge whether the first node receives the message that its corresponding subscriber sends in the second response time section and ring It answers, if so, executing the message response step of the subscriber's feedback for summarizing using the first node and subscribing to the message;If It is no, the message response for including subscriber's response timeout is created based on the first node, and execute the utilization first segment Point summarizes the message response step for the subscriber's feedback for subscribing to the message;
Wherein, the first node corresponds to subscriber and includes:All subscribers of the message are subscribed in the first node.
14. message publishing system according to claim 6, which is characterized in that the first node is broadcasted to second node After the message, and after the first node sends described message to its corresponding subscriber, following step is executed:
Judge whether the first node receives the message response that all second nodes are sent in the first response time section, If so, executing next step;If it is not, creating the message response for including second node response timeout based on the first node, and hold Row is in next step;
Judge whether the first node receives the message that its corresponding subscriber sends in the second response time section and ring It answers, if so, executing the message response step of the subscriber's feedback for summarizing using the first node and subscribing to the message; Include the message response of subscriber's response timeout if not, being created based on the first node, and executes the utilization described the One node summarizes the message response step for the subscriber's feedback for subscribing to the message;
Wherein, the first node corresponds to subscriber and includes:All subscribers of the message are subscribed in the first node.
15. according to the message issuance method described in claim 5,6 or 8, which is characterized in that the second node is sent out to subscriber After sending the message, following step is executed:
For each node in the second node, operations described below is executed:
Judge whether present node receives in third response time section to subscribe to all of the message in present node and order The message response that the side of readding is sent, if so, executing the subscriber's feedback for summarizing using the first node and subscribing to the message Message response step;If it is not, creating the message response comprising subscriber's response timeout from present node and to the first segment Point is sent, and executes the message response step of the subscriber's feedback for summarizing using the first node and subscribing to the message.
16. message issuance method according to claim 10, which is characterized in that the first node receives second section After the node state step that reports of point executes, and after the second node sends the message to subscriber, following steps are executed Suddenly:
Judge in the second node whether all nodes receive in third response time section to subscribe on respective node The message response that all subscribers of the message send, if so, executing next step;If it is not, it includes to order to be created by present node The message response of the side's of readding response timeout is simultaneously sent to the first node, and executes next step;
The node state that the second node reports is matched with the message response that the second node is sent, according to matching As a result judge whether the first node receives the message response that all second nodes are sent in the first response time section, If so, executing the message response step of the subscriber's feedback for summarizing using the first node and subscribing to the message;Such as Fruit is no, is created based on the first node and include the message response of second node response timeout, and executes the utilization described the One node summarizes the message response step for the subscriber's feedback for subscribing to the message.
17. message issuance method according to claim 2 or 3, which is characterized in that including:
For each node in the first node and the second node, operations described below is executed:
Present node is checked according to default inspection cycle inspection;
If checking present node, there are node failures, for there is currently the execution of the subscription list of node failure node to order again It reviews soldiers at drill work.
18. message issuance method according to claim 4, which is characterized in that including:
For each node in the first node, operations described below is executed:
Present node is checked according to default inspection cycle inspection;
If checking present node, there are node failures, for there is currently the execution of the subscription list of node failure node to order again It reviews soldiers at drill work.
19. the message issuance method according to claim 17 or 18, which is characterized in that the subscription operation again, including:
It is sent to all subscribers of present node and subscribes to message again;
The connection with present node is re-established by the subscriber, and ordering for present node is connected to according to what is re-established It reads to register in list and subscribes to message.
20. message issuance method according to claim 17, which is characterized in that described according to the inspection pair of default inspection cycle Present node carries out checking step, is executed based on any one node in the first node and the second node.
21. message issuance method according to claim 18, which is characterized in that described according to the inspection pair of default inspection cycle Present node carries out checking step, is executed based on any one node in the first node.
22. message issuance method according to claim 2 or 3, which is characterized in that including:
When detecting that the connection in the first node and the second node between any one node and subscriber is disconnected When, execute following operation:
The connection with present node is re-established by the subscriber, and ordering for present node is connected to according to what is re-established It reads to register in list and subscribes to message.
23. message issuance method according to claim 4, which is characterized in that including:
When detecting that the connection of any one node and subscriber in the first node are disconnected, following operation is executed:
The connection with present node is re-established by the subscriber, and ordering for present node is connected to according to what is re-established It reads to register in list and subscribes to message.
24. a kind of news release device, which is characterized in that including:
Message sending unit, for the subscription in the case where receiving the first node control that publisher sends message to subscription current message Side sends current message;
Message response collection unit, the message for being summarized the subscriber's feedback for subscribing to the message using the first node are rung It answers;
Message response transmission unit, for sending the message response after summarizing to the publisher for sending the message.
25. news release device according to claim 24, which is characterized in that the message sending unit, including:
First message receiving subelement, for receiving the current message that the publisher sends by the first node;
First message broadcasts subelement, for broadcasting the message to second node using the first node;
First message matches transmission sub-unit, for each in the subscription list of the message and present node to be subscribed to record It is matched respectively, if successful match, is recorded to successful match subscription using present node and disappeared described in corresponding subscriber's transmission Breath;Also, it for each node in the first node and the second node, runs the first message matching and sends Subelement.
26. news release device according to claim 24, which is characterized in that the message sending unit, including:
Second message receiving subelement, for receiving the current message that the publisher sends by the first node;
Second message broadcasts subelement, for broadcasting the message to second node using the first node;
Second message matches transmission sub-unit, for each in the subscription list of the message and present node to be subscribed to record It is matched respectively, if successful match, is recorded to successful match subscription using present node and disappeared described in corresponding subscriber's transmission Breath;And for each node in the second node, run the second message matching transmission sub-unit.
27. news release device according to claim 24, which is characterized in that the message sending unit, including:
Third message sink subelement, for receiving the current message that the publisher sends by the first node;
Third match messages transmission sub-unit, for subscribing to each in the subscription list of the message and the first node Record is matched respectively, if successful match, is recorded corresponding subscriber to successful match subscription using the first node and is sent out Send the message.
28. a kind of electronic equipment, which is characterized in that including:
Memory and processor;
The memory is for storing computer executable instructions, and for executing, the computer is executable to be referred to the processor It enables:
In the case where receiving the first node control that publisher sends message current message is sent to the subscriber for subscribing to current message;
Summarize the message response for the subscriber's feedback for subscribing to the message using the first node;
The message response after summarizing is sent to the publisher for sending the message.
CN201710006699.6A 2017-01-05 2017-01-05 Message issuance method, device and electronic equipment Pending CN108282500A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710006699.6A CN108282500A (en) 2017-01-05 2017-01-05 Message issuance method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710006699.6A CN108282500A (en) 2017-01-05 2017-01-05 Message issuance method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN108282500A true CN108282500A (en) 2018-07-13

Family

ID=62800434

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710006699.6A Pending CN108282500A (en) 2017-01-05 2017-01-05 Message issuance method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108282500A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111740872A (en) * 2020-05-06 2020-10-02 北京百度网讯科技有限公司 Message passing test method and device, electronic equipment and storage medium
CN112333037A (en) * 2019-08-05 2021-02-05 北京百度网讯科技有限公司 Communication link self-detection method and system and automatic driving vehicle

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668031A (en) * 2008-09-02 2010-03-10 阿里巴巴集团控股有限公司 Message processing method and message processing system
US20110055339A1 (en) * 2009-08-25 2011-03-03 International Business Machines Corporation Apparatus for providing feedback to a publisher
CN102143198A (en) * 2010-09-30 2011-08-03 华为技术有限公司 Method, device and system for transferring messages
CN102664947A (en) * 2012-04-18 2012-09-12 迈普通信技术股份有限公司 Notification distribution method for distributed system
US8615580B2 (en) * 2011-02-20 2013-12-24 International Business Machines Corporation Message publication feedback in a publish/subscribe messaging environment
CN103841206A (en) * 2014-03-17 2014-06-04 北京京东尚科信息技术有限公司 Thematic message subscripting and releasing method
CN104378426A (en) * 2014-11-14 2015-02-25 中国电子科技集团公司第二十九研究所 Load balancing method for real-time information distribution system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668031A (en) * 2008-09-02 2010-03-10 阿里巴巴集团控股有限公司 Message processing method and message processing system
US20110055339A1 (en) * 2009-08-25 2011-03-03 International Business Machines Corporation Apparatus for providing feedback to a publisher
CN102143198A (en) * 2010-09-30 2011-08-03 华为技术有限公司 Method, device and system for transferring messages
US8615580B2 (en) * 2011-02-20 2013-12-24 International Business Machines Corporation Message publication feedback in a publish/subscribe messaging environment
CN102664947A (en) * 2012-04-18 2012-09-12 迈普通信技术股份有限公司 Notification distribution method for distributed system
CN103841206A (en) * 2014-03-17 2014-06-04 北京京东尚科信息技术有限公司 Thematic message subscripting and releasing method
CN104378426A (en) * 2014-11-14 2015-02-25 中国电子科技集团公司第二十九研究所 Load balancing method for real-time information distribution system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112333037A (en) * 2019-08-05 2021-02-05 北京百度网讯科技有限公司 Communication link self-detection method and system and automatic driving vehicle
CN112333037B (en) * 2019-08-05 2022-11-01 北京百度网讯科技有限公司 Communication link self-detection method and system and automatic driving vehicle
CN111740872A (en) * 2020-05-06 2020-10-02 北京百度网讯科技有限公司 Message passing test method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106502769A (en) Distributed transaction processing method, apparatus and system
WO2020147336A1 (en) Micro-service full-link monitoring system and method
CN107294808A (en) The methods, devices and systems of interface testing
CN106572054B (en) Distributed lock service implementing method and device in distributed system
CN105553943B (en) Pass transmission method, screen transmission method, equipment and the data transmission system of screen software
CN106464746A (en) Computer system to support failover in event stream processing system
CN101605092A (en) A kind of content-based SiteServer LBS
CN109600261A (en) Network restoration method, cloud server, user terminal and network restoration system
CN110851278A (en) Distribution network automation master station mobile application service management method and system based on micro-service architecture
US20180329771A1 (en) Identifying failed customer experience in distributed computer systems
WO2022127504A1 (en) Network element management method and apparatus, and storage medium
CN114401284B (en) Real-time data acquisition and transmission system and method for fixed pollution source treatment working condition
CN102467411A (en) Workflow processing and workflow agent method, device and system
CN112737800A (en) Service node fault positioning method, call chain generation method and server
CN104023082A (en) Method for achieving cluster load balance
CN110442502A (en) A kind of method, apparatus buried a little, equipment and storage medium
CN107277162A (en) A kind of intelligent household management system and method based on network cloud
US20130173965A1 (en) Fault tracing system and method for remote maintenance
CN104506893B (en) A kind of information updating method, cloud server and CRM server
AU2014237655A1 (en) Accessing multiple Converged Infrastructure systems
CN108282500A (en) Message issuance method, device and electronic equipment
CN106533803A (en) CPE (Customer Premise Equipment) configuration method and device based on TR069 protocol
CN106775952A (en) A kind of process management method and device of Android application
CN105897504A (en) Satellite universal testing system data interaction method and system
CN106126283A (en) A kind of method of product allocation, Apparatus 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180713