首页>
外国专利>
REAL-TIME COMMUNICATION METHOD AND APPARATUS FOR DISTRIBUTED SYSTEM, AND DISTRIBUTED SYSTEM
REAL-TIME COMMUNICATION METHOD AND APPARATUS FOR DISTRIBUTED SYSTEM, AND DISTRIBUTED SYSTEM
展开▼
机译:用于分布式系统的实时通信方法和装置和分布式系统
展开▼
页面导航
摘要
著录项
相似文献
摘要
Disclosed are a real-time communication method and apparatus for a distributed system and a distributed system, pertaining to the technical field of distribution. The distributed system comprises a master node and an operation node. An algorithm task unit and a communication task unit are deployed on the operation node. The method comprises: after being started, a communication task unit performing initialization operation, and entering a monitoring state after the initialization operation is completed, wherein the initialization operation comprises initializing a shared memory and a network connection; an algorithm task unit being started after the communication task unit enters the monitoring state, and then processing a calculation task initiated by a master node; the algorithm task unit writing a calculation result of the calculation task into the shared memory; when the communication task unit detects that the calculation result has been stored in the shared memory, the communication task unit reading the calculation resu and the communication task unit returning the calculation result to the master node by means of the network connection. Embodiments of the present invention achieve real-time communication in the entire distributed system to ensure real-time output of an algorithm.
展开▼