Supercharge Your Innovation With Domain-Expert AI Agents!

A long task processing method and system

A task processing and task technology, applied in the field of data processing, can solve the problems of long synchronization mode, inability to monitor the progress of task processing, and the inability of the server to continue to provide services, so as to improve work efficiency.

Inactive Publication Date: 2019-01-04
行吟信息科技(上海)有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the e-commerce business system, we often encounter long-term batch processing tasks. The traditional synchronization method takes a long time, which may easily cause the server to fail to provide services. The traditional asynchronous method cannot monitor the task processing progress, and needs to be processed consistently sexual problems

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
  • A long task processing method and system
  • A long task processing method and system
  • A long task processing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0045] like figure 1 As shown, it is a flow chart of Embodiment 1 of a long task processing method disclosed in this application, and the method may include the following steps:

[0046] S101, generating parameters for long tasks;

[0047] When a long task needs to be processed, the task is created first, and the parameters of the long task are generated when the task is created.

[0048] S102, judging whether the framework passes the consistency judgment, if so, proceed to S103: ...

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

A long task processing method and system are disclosed. The method comprises the following steps: generating parameters of a growth task, judging whether the frame passes the consistency judgement; ifso, creating a long task according to the input, returning the task id after the task is successfully created, sending the task information to the consumers of the long task through a message queue based on the frame, and outputting the progress and the log during the long task execution. The application can mask the bottom details in a common way, so that the developer pays more attention to theservice realization of the task execution, and improves the work efficiency of the long task processing.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a long task processing method and system. Background technique [0002] In the e-commerce business system, we often encounter long-term batch processing tasks. The traditional synchronization method takes a long time, which may easily cause the server to fail to provide services. The traditional asynchronous method cannot monitor the task processing progress, and needs to be processed consistently sexual issues. The traditional way of executing long batch tasks requires developers to consider many underlying details, including: uploading and downloading files, timeouts, denial of service, monitoring, consistency, etc. [0003] Therefore, how to provide a general way to shield these low-level details and allow developers to pay more attention to the business implementation of task execution to improve work efficiency is an urgent problem to be solved. Cont...

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
IPC IPC(8): G06F9/54G06F9/46
CPCG06F9/466G06F9/546
Inventor 范文良
Owner 行吟信息科技(上海)有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More