Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, device and system for implementing task in cluster circumstance

A task and cluster technology, applied in the field of communication, can solve problems such as difficult startup status, complex system structure, and performance bottleneck of the entire cluster

Active Publication Date: 2009-07-01
泰州市海通资产管理有限公司
View PDF0 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The structure of the problem-solving system adopted in the above-mentioned prior art is complex, and it is difficult to ensure that the startup state of the task can be accurately marked. There may be a delay between the two operations of task and marking, and another application may also get the same task during the delay period, which will cause a task to be launched by multiple applications
[0006] Further, in the above prior art, if a certain application server is abnormal or shut down, the existing system cannot automatically migrate tasks to other normal working application servers, so that tasks in the abnormal or shut down system cannot be application
[0007] In addition, in the above-mentioned prior art, when a certain application starts first, all tasks may be loaded on a certain application, causing the application to become the performance bottleneck of the entire cluster

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, device and system for implementing task in cluster circumstance
  • Method, device and system for implementing task in cluster circumstance
  • Method, device and system for implementing task in cluster circumstance

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The embodiment of the present invention provides a method for realizing tasks in a cluster environment. In the method, a designated application can first obtain a task from a database, load the obtained task, create a task instance (that is, obtain the task instance by loading and executing the corresponding task), and save the task instance in the The specified application belongs to the memory of the server. Then, the designated application starts a scanning thread to synchronize the changed or newly added tasks in the database to the server memory, so that the task operation can be correctly implemented in the cluster environment.

[0026] The method for realizing a task in a cluster environment provided by the embodiment of the present invention further includes a step of setting a startup mode, that is, setting the specified application, and the step includes:

[0027] Setting one or more applications in the cluster environment to a task scheduling startup mode, and th...

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 relates to a method, a device and a system for realizing a task under a cluster environment. In the embodiment of the invention, the designated application in the cluster environment obtains the task from a database, and the obtained task is loaded; a task example is created, and is stored in a memory of a server where the designated application belongs to, thereby avoiding the circumstances that the task in the database is loaded repeatedly in the cluster environment.

Description

Technical field [0001] The present invention relates to the field of communication technology, and in particular to a method, system and device for realizing tasks in a cluster environment. Background technique [0002] In order to improve the disaster tolerance and performance of the system, cluster technology is increasingly used. However, once many functions of the previous stand-alone version are migrated to a cluster environment, problems may arise. Such as the realization of the task function, because the application of each server node in the cluster shares the database (as attached figure 1 As shown), therefore, multiple applications in different servers may obtain the same task in the same database at the same time (such as the startup or restart process), which will cause a task to be repeatedly loaded by multiple applications, resulting in one The task was mistakenly turned into multiple tasks in execution. [0003] In order to avoid the above error scenarios, the exi...

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): H04L12/24H04M3/24
CPCH04L67/10H04L29/08135
Inventor 章志国
Owner 泰州市海通资产管理有限公司