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

Multi-task processing method and device based on service system, equipment and storage medium

A business system and processing method technology, applied in the field of business process optimization, can solve the problems of unfavorable business dynamic increase, high development and maintenance costs, low execution efficiency, etc.

Pending Publication Date: 2019-11-05
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Most of the currently used task processing solutions use schedule to configure timing tasks, which is not conducive to the dynamic increase of business. Each time, it needs to be configured in the configuration file and then repackaged and released to take effect. The development and maintenance costs are too high, and Tasks are executed with a single thread, which results in low execution efficiency

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
  • Multi-task processing method and device based on service system, equipment and storage medium
  • Multi-task processing method and device based on service system, equipment and storage medium
  • Multi-task processing method and device based on service system, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027]The present invention provides a multi-task processing method, device, device and storage medium based on a business system, which are used to dynamically configure multiple tasks of the business system, execute the configured multiple tasks simultaneously, and improve the processing efficiency of multiple tasks in the business system .

[0028] In order to enable those skilled in the art to better understand the solutions of the present invention, the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

[0029] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments descri...

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 the field of base frame operation and maintenance, discloses a multi-task processing method and device based on a service system, equipment and a storage medium, which are used for dynamically configuring multiple tasks of the service system, executing the configured tasks at the same time and monitoring the execution state of each task, so as to improve the processing efficiency of the multiple tasks in the service system. The method comprises the steps of obtaining a target task list, wherein the target task list comprises a plurality of to-be-executed tasks of a service system; adding a redis distributed lock to each to-be-executed task in the target task list through an SETNX command; judging whether the interval duration between the starting moment and the current moment of each to-be-executed task is smaller than a threshold value or not, wherein each to-be-executed task comprises a redis distributed lock; determining a task of which the interval durationis less than a threshold value in the plurality of to-be-executed tasks as a target task, and adding the target task into the EventLoop thread; modifying the state of the target task from the initialstate to the execution state; and starting the EventLoop thread, and executing all the target tasks in the EventLoop thread.

Description

technical field [0001] The invention relates to the field of business process optimization, in particular to a multi-task processing method, device, equipment and storage medium based on a business system. Background technique [0002] With the rapid development of the Internet, computer equipment processes more and more data, so more and more tasks need to be processed. In many cases, a computer device needs to process multiple tasks at the same time to improve the processing efficiency of the computer device and ensure that there is no conflict between the multiple tasks. [0003] Most of the currently used task processing solutions use schedule to configure timing tasks, which is not conducive to the dynamic increase of business. Each time, it needs to be configured in the configuration file and then repackaged and released to take effect. The development and maintenance costs are too high, and Tasks are executed with a single thread, and the execution efficiency is low....

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/4812
Inventor 孙瑞飞
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN