Data processing method and device, equipment, and storage medium

A data processing and data technology, applied in the field of data processing, can solve problems such as reducing concurrency, affecting services, and short-lived, and achieving the effect of improving processing capacity and program access performance

Active Publication Date: 2019-01-25
GUANGZHOU BAIGUOYUAN INFORMATION TECH CO LTD
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] During the process of realizing the present invention, the inventor found that there are at least the following problems in the prior art: the update operation by restarting will temporarily affect the service; The method will reduce the amount of concurrency and affect the performance of the program

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0050] During the running of a computer program, an update operation is often required to make new data take effect, so that it can be used later by a read operation. According to the update and usage of data, the specific application scenarios of update operations and read operations can be divided as follows. First, the application scenarios with few update operations and many read operations; second, there are many update operations and few read operations. application scenarios. The technical solutions of the embodiments of the present invention are applicable to application scenarios with few update operations and many read operations. At the same time, for application scenarios with few update operations and many read operations, the following conditions need to be met, specifically: first, update operations are performed in the same thread; second, each read operation takes a short time and the cycle of the read operation is short , and the update period of the update ...

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, equipment and a storage medium. The method comprises the following steps: when the current cycle ends, an update request for obtaining thedata of the next cycle is obtained; according to the update request, the current pointer is changed from pointing to data of the current cycle to pointing to data of the next cycle, and the current pointer is a pointer variable pointe to the data in use; Changes the use pointer from pointing to the data of the previous cycle to pointing to the data of the current cycle, and the use pointer is a pointer variable pointing to the used data. The embodiment of the invention realizes that the update operation can be completed without exclusive locking or restarting the program, and improves the dataconcurrent processing quantity and the program access performance.

Description

technical field [0001] Embodiments of the present invention relate to data processing technologies, and in particular, to a data processing method, device, device, and storage medium. Background technique [0002] During the running of a computer program, it is often necessary to perform a write operation (that is, an update operation) to make new data take effect. For application scenarios with many read operations and few update operations, for example, such as updating gift configuration, updating keyword configuration or updating configuration files, etc., the following two methods are usually used in the prior art: first, restart program. That is, when an update operation is required, restart the program; second, use an exclusive lock. That is, the read operation cannot be performed while the update operation is performed, and correspondingly, the update operation cannot be performed while the read operation is performed. This is because reading and updating the same...

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): G06F8/656
CPCG06F8/656
Inventor 李丹
Owner GUANGZHOU BAIGUOYUAN 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