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

A data processing method and device

A data processing and data technology, applied in the field of data processing, can solve problems such as data asynchrony, and achieve the effect of ensuring data synchronization

Active Publication Date: 2020-11-03
BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a data processing method and device to solve the problem in the prior art that the data of different interface calls is not synchronized

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
  • A data processing method and device
  • A data processing method and device
  • A data processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0038] The inventors of the present invention found that data out of synchronization and inconsistency often occur in application scenarios that require high real-time performance, such as performing a read operation immediately after a write operation, and if the data returned by the read operation is not the latest updated data , it will cause failures, and even cause user misoperations, such as repeated execution of the same write operation. Therefore, the ...

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 an apparatus for data processing. The method includes the steps of: according to a read request sent by a client to read the first data through a read interface, requesting a third party interface to execute the read request, wherein the first data is data obtained after the client successfully performs a write operation on the second data, and the client invokes the read interface to send a read request to read the first data after determining that the write operation on the second data is successful; receiving third data returned by the third party interface; performing a write operation corresponding to the update operation type on the third data according to the update operation type carried in the read request to obtain the first data; returning thefirst data to the client. The invention obtains the first data after the false writing operation by carrying out a local false writing operation on the third data, thereby realizing the real-time synchronous updating of the data and ensuring the data synchronization of different interface calls.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a data processing method and device. Background technique [0002] In the case of high concurrency and large amount of data, due to the lock mechanism adopted by the server, the cluster master-slave mechanism, the read-write separation mechanism, and the cache mechanism, it may cause the problem that the data in the server is not updated in time, and the data called by the interface may not be updated in time. Synchronization problems, such as when the same data stored in different addresses in the server cannot be updated synchronously or the update is not timely, if the data of a certain address called by one interface is updated in time, and another address called by another interface If the data is not updated in time, there will be a problem that the data called by two different interfaces is not synchronized. The following uses an application scenario as an...

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 Patents(China)
IPC IPC(8): G06F16/25G06F16/23
Inventor 李龙泉
Owner BEIJING QIYI CENTURY SCI & TECH CO LTD