Data processing method and device, electronic equipment and storage medium

A data processing and target data technology, applied in the computer field, can solve problems such as business system performance degradation, data request and response efficiency reduction, and achieve the effect of improving performance and avoiding efficiency

Pending Publication Date: 2022-06-24
JINGDONG CITY BEIJING DIGITS TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the embodiments of the present invention provide a data processing method, device, electronic device, and storage medium, which can solve the problem of updating the exp

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 and device, electronic equipment and storage medium
  • Data processing method and device, electronic equipment and storage medium
  • Data processing method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0058] 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.

[0059] It should be pointed out that the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict.

[0060] An embodiment of the present invention provides a data processing system, which can be used in a scenario of data processing in a cache. Specifically, the system can be used in a scenario of high concurrenc...

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 data processing method and device, electronic equipment and a storage medium, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of receiving a data request, obtaining a data identifier in the data request to query corresponding target data from a cache, returning the target data, and triggering an update operation of the target data; in response to the updating operation, an expiration timestamp and an updating threshold value of the target data are obtained, and the updating threshold value is determined from an updating time interval corresponding to the expiration timestamp based on the attribute parameters of the target data; and calculating the duration between the expired timestamp and the current time, determining that the duration is smaller than an updating threshold value, and calling a preset data updating thread to update the target data in the cache. According to the embodiment, the problem that the performance of a service system is reduced due to the fact that the data is updated after the data in the cache arrives at the expiration time in a high-concurrency scene can be solved.

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular, to a data processing method, apparatus, electronic device and storage medium. Background technique [0002] With the rapid development of the Internet, high concurrency has become a common scenario for business systems to process business data, and the expired refresh cache mechanism is a common method in high concurrency scenarios. The expired refresh cache mechanism means that the expiration time is set when the data in the cache is stored, and the data is updated when the expiration time is reached. However, during the high-concurrency stress test of the business system, it was found that after the data in the cache reaches the expiration time, even if the downstream data source is fully optimized so that the data can be updated in time, the efficiency of data request and response will still be reduced, which will lead to the failure of the business system. Perfor...

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): G06F16/2455G06F16/23G06F16/2457
CPCG06F16/24552G06F16/23G06F16/24578
Inventor 高志立谭高威
Owner JINGDONG CITY BEIJING DIGITS 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