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

Data processing method, system and device

A data processing system and data processing technology, applied in the computer field, can solve problems such as consuming large resources, affecting normal business execution, and consuming too many computer resources.

Pending Publication Date: 2020-09-04
ALIBABA GRP HLDG LTD
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When there are a large number of idempotent tasks to be executed, it needs to consume a lot of resources
Therefore, it is necessary to control the frequency of execution to ensure final consistency, otherwise it will consume too much computer resources and affect the execution of normal business

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
  • Data processing method, system and device
  • Data processing method, system and device
  • Data processing method, system and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043] Before introducing the technical solutions provided by the embodiments of the present application, a brief explanation of the terms appearing in this document is given to facilitate the understanding of the technical solutions.

[0044] Idempotency: The result of repeatedly calling an interface on the same resource with the same parameters is the same as calling it once.

[0045] Final consistency: Although there will be temporary data inconsistencies at certain points in time, as time goes by, the data of each node will eventually remain consistent.

[0046] In a short period of time, the computing device receives a large number of notifications to perform the same task, resulting in a large number of task calculations in a short period of time, which imposes a large burden on the computing device itself. Therefore, the frequency of execution needs to be controlled to ensure eventual consistency. There are currently two common solutions to this idempotent task:

[00...

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 embodiment of the invention provides a data processing method, a system and a device. The data processing method comprises the following steps that under the condition that a notification is received, obtaining a thread corresponding to the type to which the notification belongs; when the thread is in the first state, switching the thread from the first state to the second state to enable thethread to start timing; switching the thread from the second state to the first state after timing of the thread reaches a target task corresponding to the preset duration callback notification; and performing the target task. According to the data processing method provided by the embodiment of the invention, the effect of aggregating the same type of notifications in the timing period is realized, so that the execution frequency is reduced; besides, due to the characteristics of the idempotent tasks, the result of only calling back and executing the target task once after the same type of notifications are aggregated is the same as the result of executing the target task after each notification, so that the technical scheme provided by the embodiment of the invention also ensures the final consistency of the result.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a data processing method, system and equipment. Background technique [0002] In computer business application systems, there is often a need to perform idempotent tasks for external responses. Among them, idempotence means: the result of repeatedly calling an interface on the same resource with the same parameter is the same as the result of calling it once. For example, a scheduled task is a typical idempotent task. [0003] When there are a large number of idempotent tasks to be executed, large resources are consumed. Therefore, the frequency of execution must be controlled to ensure final consistency, otherwise excessive computer resources will be consumed and normal business execution will be affected. Contents of the invention [0004] Various embodiments of the present application provide a data processing method, system, and device that can effectively re...

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/48G06F9/50
CPCG06F9/485G06F9/5038
Inventor 高超
Owner ALIBABA GRP HLDG 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