Method, work node and system for actively receiving task and storage medium

A technology of working nodes and tasks, applied in transmission systems, electrical components, etc., can solve problems such as task claim conflicts, increase the degree of heterogeneity of the cluster architecture, and achieve the effect of reducing the degree of heterogeneity

Active Publication Date: 2017-10-13
UCLOUD TECH CO LTD
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This leads to differences in the entire cluster architecture, thereby increasing the degree of heterogeneity of the entire cluster architecture
On the other hand, when a task is wrongly claimed by two working nodes at the same time, it will also lead to the problem of task claim conflict

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
  • Method, work node and system for actively receiving task and storage medium
  • Method, work node and system for actively receiving task and storage medium
  • Method, work node and system for actively receiving task and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0061] figure 1 is a schematic diagram of a system 10 for proactively accepting tasks according to an embodiment of the present invention. The system 10 includes a data center 11, a plurality of working nodes 12a, 12b, 12c... (hereinafter referred to as a working node 12 when describing a certain working node). Wherein, the data center 11 stores a plurality of tasks (all tasks) and information of a plurality of current working nodes, and each working node receives tasks from the data center 11 periodically. The data center 11 can be, for example, a database.

[0062] figure 2 is a structural diagram of a certain working node 12 according to an embodiment of the present invention, such as figure 2 As shown, the working node 12 includes an acquisition and calculation unit 1200, a first judging unit 1201, a first adding unit 1202, a second judging u...

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 provides a method, a work node and a system for actively receiving a task and a non-volatile storage medium. The system comprises a data center and a plurality of work nodes, wherein each of the plurality of work nodes periodically receives a task which belongs to the work node from the data center and hands over a task which does not belong to the work node at the same time. Each work node periodically transmits a local task list to the data center so as to be used for updating configuration information of the data center. According to the invention, each work node in a cluster formed by a plurality of work nodes is ensured to receive a task which belongs to the work node. Meanwhile, the heterogeneous degree of the whole cluster architecture is reduced, and the work nodes are facilitated to be dynamically added or deleted in the cluster.

Description

technical field [0001] The invention relates to a task receiving task by a working node, in particular to a method for actively receiving a task, a working node, a system and a storage medium. Background technique [0002] In order to ensure the scalability and high availability of the service, it is very meaningful to expand the service from a single service entity to a service entity (working node) that works together in a cluster. Manage the address information (IP address) of each working node in the cluster through load balancing algorithm, master working node election, broadcast system and other methods, so that a certain task can be distributed to a certain working node in the cluster. In order to work together, each working node in the cluster needs to send a heartbeat message periodically. In a cluster without clients, a master worker node is usually required to distribute tasks. The main work node assigns all tasks to each work node respectively, that is to say, ...

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): H04L29/08
CPCH04L67/1001H04L67/60
Inventor 周德江郑荃玮
Owner UCLOUD TECH 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