Real-time communication method and device in distributed system and distributed system

A distributed system and real-time communication technology, applied in the distributed field, can solve the problems of CPU interruption, algorithm calculation task interruption, serious algorithm calculation efficiency, etc., to achieve the effect of improving efficiency and ensuring real-time output

Active Publication Date: 2019-12-31
SUNING CLOUD COMPUTING CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When real-time communication between these two nodes is required, if the amount of data concurrency is large, a large amount of IO will be generated. Such tasks requiring a large amount of IO are generally called IO-intensive tasks, and IO-intensive tasks generally do not consume Too much CPU, but interrupts the CPU frequently
[0003] In the process of realizing the present invention, the inventor found that: when the algorithm is deployed on the distributed system architecture to respond to the output in real time, the tasks on the multi-core nodes are both computing-intensive and network IO-intensive tasks. It will cause the algorithm calculation task to be frequently interrupted and seriously affect the efficiency of algorithm calculation, resulting in the entire distributed system not being able to respond to the output in real time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Real-time communication method and device in distributed system and distributed system
  • Real-time communication method and device in distributed system and distributed system
  • Real-time communication method and device in distributed system and distributed system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only Some, but not all, embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0055] In the existing technology, distributed solutions have been widely used. For example, unmanned supermarkets in the retail field require servers to process multiple cameras, and a single device cannot meet the demand. If all tasks are concentrated on one device When it is online, the equipment will be overwhelmed, so it is necessary to adopt a distributed system ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a real-time communication method and device in a distributed system and the distributed system, and belong to the distributed technical field, the distributed system comprisesa main node and a working node, an algorithm task unit and a communication task unit are deployed on the working node, the method comprises the steps that the communication task unit executes initialization operation after being started and enters a monitoring state after the initialization operation is completed, and the initialization operation comprises initialization of a shared memory and network connection; the algorithm task unit is started after the communication task unit enters a monitoring state, and processes a calculation task initiated by the main node after being started; the algorithm task unit writes a calculation result of the calculation task into a shared memory; when the communication task unit monitors that the calculation result is stored in the shared memory, the communication task unit reads the calculation result; and the communication task unit returns a calculation result to the main node through network connection. According to the embodiment of the invention, real-time communication in the whole distributed system can be realized so as to ensure real-time output of the algorithm.

Description

technical field [0001] The invention relates to the field of distributed technology, in particular to a real-time communication method, device and distributed system in a distributed system. Background technique [0002] With the vigorous development of artificial intelligence technology, more and more artificial intelligence technologies have begun to be applied. In the process of implementing artificial intelligence algorithms, in addition to the performance of the algorithm itself, it also relies heavily on hardware computing resources. At present, a single device has multiple cores, and its performance is already very strong. However, when the computing power resources required by the project exceed the limit that a single device can provide, a distributed solution is usually adopted, that is, the resources required for computing power are allocated to different devices. Distributed solutions need to divide the system into nodes, each node undertakes certain computing t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/50
CPCG06F9/5083G06F9/5027
Inventor 董邦发
Owner SUNING CLOUD COMPUTING CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products