Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Plug-in scheduling method, system and device based on Elastic job and storage medium

A scheduling method and scheduling system technology, applied in the computer field, can solve problems such as the inability to flexibly start and stop tasks, and achieve the effect of improving flexibility and solving heavy dependencies.

Pending Publication Date: 2021-11-26
BEIJING XUEZHITU NETWORK TECH
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The present invention aims at the technical problems that the above-mentioned existing Elastic Job can solve the scheduling problem of tasks, but cannot achieve flexible start and stop of tasks, and flexible deletion of tasks, and proposes a pluggable scheduling method based on Elastic Job , systems, equipment and storage media

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
  • Plug-in scheduling method, system and device based on Elastic job and storage medium
  • Plug-in scheduling method, system and device based on Elastic job and storage medium
  • Plug-in scheduling method, system and device based on Elastic job and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] figure 1 A step showing an Elastic JOB-based pluggable scheduling method provided by the present invention. like figure 1 As shown, this embodiment discloses a specific embodiment of an ELASTIC JOB based pluggable scheduling method (hereinafter referred to as "method").

[0045] Specifically, the method disclosed in this example mainly includes the steps of:

[0046] Step S1: Sign up for the Job and Web to the NACOS in NACOS.

[0047] Specifically, the web and the JOB share a network store, the network storage for storing the task JAR. Changes in the status of the task are synchronized into the database table by listen, and is displayed on the web page.

[0048] Step S2: Upload or update the task's JAR through the interface of the web, and read or update the key to the key to execute the parameters corresponding to the task;

[0049] Specifically, the step S2 includes: determining whether the JAR of the task exists, if yes, the original JAR is overwritten, and the key of t...

Embodiment 2

[0068] In conjunction with an Elastic JOB-based pluggable scheduling method, this embodiment discloses a specific embodiment of an ELASTIC JOB-based pluggable scheduling system (hereinafter referred to as "system").

[0069] The existing Elastic Job can resolve the task's scheduling problem, but it does not understand the flexible start and stop of the task, the flexibility of the task is flexible, this system has two expansion on Elastic Job. 1. Increase the web page, provide a change display of the task startup interface and status, 2, provide task JAR upload interface, which can be flexible to add changes to the task.

[0070] Refer Figure 5 As shown, the system includes:

[0071] Registration unit 1: Register the Job and Web to the NACOS with NACOS for the Service Registry.

[0072] Task Update Unit 2: Upload or update the JAR of the task through the interface of the web, and read or update the task corresponding to the KEY of the execution parameters;

[0073] Specifically, t...

Embodiment 3

[0081] Combine Image 6 As shown, this embodiment discloses a specific embodiment of a computer device. The computer device can include a processor 81 and a memory 82 stored with a computer program instruction.

[0082] Specifically, the processor 81 may include a central processor (CPU), or a particular integrated circuit (Application Specific Integrated Circuit, an ASIC), or can be configured to implement one or more integrated circuits of the present application embodiment.

[0083]The memory 82 can include a large capacity memory for data or instructions. For example, not limited, memory 82 can include a hard disk drive (HDD), a floppy disk drive, a solid state drive (SOLIDState Drive, referred to as SSD), flash memory, disc, magneto, magnetic plate or universal serial bus (Universal Serialbus, referred to as a USB) Driver or two or more combinations of these. In appropriate, memory 82 can include a medium that is removably or not removable (or fixed). In a suitable case, the m...

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 plug-in scheduling method, system and device based on Elastic job and a storage medium, and the method comprises the steps: taking nacos as a service registration center, and registering a job and a web to the nacos; uploading or updating the Jar of the task through a web interface, and reading or updating the key of the execution parameter corresponding to the task through the database; acquiring a key of an execution parameter of the job, and filling a value corresponding to the task in a web page; the interface of the job is called by utilizing the interface of the rpc through the web, Jars of different tasks are dynamically loaded, and pluggable task starting and stopping are achieved through the Elastic job. And the severe dependency relationship of the Elastic Job task on the platform is solved, and the flexibility is greatly improved.

Description

Technical field [0001] The present invention relates to the field of computer technology, and more particularly to an ELASTIC JOB-based pluggable scheduling method, a system, a device, and a storage medium. Background technique [0002] Elastic Job is Dang Dang Provide Quartz-based distributed scheduling solutions, composed of two sub-projects: Elastic-Job-Lite and Elastic-Job-Cloud composition. JOB-Lite is a lightweight-free solution that provides distributed task schedule services in the form of a JAR package. But during our actual use, if we need new tasks, you need to develop the task, and then the entire dispatch will re-release the deployment. There is a strong dependence between tasks and tasks, and it is not possible to stop the task. Inventive content [0003] According to the present invention, the above-mentioned existing Elastic Job can solve the scheduling problem of the task, but the flexibility of the task is flexible, the flexible deletion of the task, proposes a...

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/48
CPCG06F9/4881G06F9/485
Inventor 罗贤林
Owner BEIJING XUEZHITU NETWORK TECH
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
Eureka Blog
Learn More
PatSnap group products