Communication method, device, electronic equipment and storage medium based on distributed system
A distributed system and communication method technology, applied in the field of devices, communication methods based on distributed systems, electronic equipment and storage media, can solve problems such as high risk, difficult synchronization, high maintenance cost of configuration files, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] figure 1 It is a schematic flowchart of a communication method based on a distributed system provided in Embodiment 1 of the present invention. This method can be executed by a communication device or electronic device based on a distributed system. The device or electronic device can be implemented by software and / or hardware. Realized, this device or electronic equipment can be integrated in any intelligent equipment with network communication function. Such as figure 1 As shown, the communication method based on the distributed system may include the following steps:
[0053] S101. Any current node in the distributed system receives a topology message broadcast by other nodes; wherein, the topology message includes at least a message subject of a service message to be sent and a message subject of a subscribed service message.
[0054] In a specific embodiment of the present invention, any current node in the distributed system can receive topology messages broadca...
Embodiment 2
[0062] figure 2 It is a schematic flowchart of a communication method based on a distributed system provided by Embodiment 2 of the present invention. Such as figure 2 As shown, the communication method based on the distributed system may include the following steps:
[0063] S201. Any current node in the distributed system receives a topology message broadcast by other nodes; wherein, the topology message includes at least a message subject of a service message to be sent and a message subject of a subscribed service message.
[0064]In a specific embodiment of the present invention, any current node in the distributed system can receive topology messages broadcast by other nodes, and at the same time, any current node in the distributed system broadcasts topology messages to other nodes; wherein, topology The message at least includes the message subject of the service message to be sent and the message subject of the subscribed service message. Specifically, it is assu...
Embodiment 3
[0077] image 3 A schematic structural diagram of a first communication device based on a distributed system provided by Embodiment 3 of the present invention. The distributed system includes at least two hosts, and each host has multiple nodes, such as image 3 As shown, the communication device based on the distributed system described in the embodiment of the present invention may include: a communication module 301 and a determination module 302; wherein,
[0078] The communication module 301 is configured to receive topology messages broadcast by other nodes; wherein, the topology message includes at least the message subject of the service message to be sent and the message subject of the subscribed service message;
[0079] The determining module 302 is configured to determine at least one target node from other nodes according to the topology message; wherein, the message subject of the service message to be sent by the target node is the same as the message of the se...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


