Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Task scheduling method and device

A task scheduling and task technology, applied in the computer field, can solve the problems of task backlog, affecting the efficiency of information interaction, not reliable interaction, etc., to achieve the effect of ensuring reliability, improving information interaction efficiency, and overcoming reliability and efficiency.

Inactive Publication Date: 2019-09-17
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF9 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art: instead of reliability interaction, if the system dies or the system is powered off, the data in the memory will all disappear and cannot be reproduced; moreover, in the processing thread processing In business, if an exception occurs, it will be retried in the current processing thread, resulting in a backlog of tasks and affecting the efficiency of information interaction

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
  • Task scheduling method and device
  • Task scheduling method and device
  • Task scheduling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0040] figure 1 It is a task scheduling method according to an embodiment of the present invention. As an embodiment of the present invention, such as figure 1 As shown, the task scheduling method may include:

[0041] Step 101, scan the tasks in the database, and write the tasks whose task status is unprocessed into the memory queue.

[0042] In this step, the tasks i...

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 task scheduling method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the following steps: scanning tasks in a database, and writing the tasks with unprocessed task states into a memory queue; removing the task from the memory queue through a processing thread, and processing the task; judging whether the task is successfully processed or not, if yes, changing the task state of the task into a processed task state, and updating a database; and if not, writing the task into an abnormal memory queue. According to the embodiment, the problems of reliability and high efficiency of information interaction between systems can be solved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a task scheduling method and device. Background technique [0002] With the development of the software industry, more and more software systems have been developed, and these software systems often interact with each other. For some large-scale software systems, in order to decouple each module, many subsystems have been divided at the beginning of the design, and there will also be information interaction between these subsystems. Interactions between subsystems often involve multiple and interact with each other. No matter which subsystem has a problem or information interaction fails, it will affect the flow of the entire normal business. Therefore, the information exchange between systems must be reliable. [0003] In the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art: instead of reli...

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/5016G06F16/23
Inventor 姜洋
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products