Method and device for executing multiple tasks

A multi-task and task technology, applied in the computer field, can solve problems such as heavy development workload, inconsistent data, difficult maintenance, etc., and achieve the effects of improving efficiency, enhancing scalability, and avoiding repeated execution

Active Publication Date: 2018-11-02
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In actual work, the software developers of the existing maintenance center often develop multiple calling clients according to different business scenarios and service provider requirements. The existing solution has the following defects: First, it needs to be redeveloped for similar business scenarios Calling the client brings a lot of repetitive workload;

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 and device for executing multiple tasks
  • Method and device for executing multiple tasks
  • Method and device for executing multiple tasks

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0030] Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding and should be considered 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 from the following description for clarity and conciseness.

[0031] figure 1 It is a schematic diagram of the main steps of the method for performing multitasking according to the embodiment of the present invention.

[0032] like figure 1 As shown, the method for performing multitasking according to the embodiment of the present invention mainly includes the following steps S101 to S103.

[0033] Step S101: Receive task data sent by...

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 provides a method and a device for executing multiple tasks, electronic equipment and a computer readable medium, being capable of reducing the workload of repeated development of a developer, and ensuring data consistency during interaction between multiple systems, without affecting the performance of the whole system at the same time. The method for executing the multiple tasks provided by the invention comprises the steps of receiving task data sent by each service system, wherein each piece of task data comprises a respective task type that is corresponding to a service logic for executing the task, and the service logic is stored in a server; according to a preset task distribution rule, distributing each task to the preset quantity of task queues; and generating a taskexecuter for each task of the task queues according to a corresponding task type and executing the corresponding task by the task executer according to a preset task execution rule, wherein the taskexecuter is used for executing the service logic corresponding to the server.

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular, to a method, an apparatus, an electronic device and a computer-readable medium for performing multiple tasks. Background technique [0002] In practice, software developers of existing maintenance centers often develop multiple calling clients according to different business scenarios and the requirements of service providers. The existing solution has the following defects: First, it needs to be re-developed for similar business scenarios. Calling the client side brings a lot of repetitive workload; secondly, there is also the risk of data inconsistency. If multiple external system services need to be called at the same time, the existing solution to ensure data consistency is very cumbersome and requires additional development. The function of the compensation mechanism has a large amount of development work and is prone to problems and is not easy to maintain. SU...

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/50
CPCG06F9/5038G06F2209/5021
Inventor 吴俊德
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
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
Try Eureka
PatSnap group products