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

Data processing method and device, server and storage medium

A data processing and data technology, applied in the field of data processing, can solve the problems of abnormal data reading, untimely data synchronization, inconsistent data in the main process, etc.

Pending Publication Date: 2020-10-23
深圳市腾讯网域计算机网络有限公司
View PDF0 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the master-slave process mode, it may be that the master process does not synchronize data with the slave process in time, making the master process and the slave process data inconsistent, so that the data fed back to the client by the slave process is incorrect or the data is read abnormally.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The data processing method of the present application is applicable to business service platforms in various business scenarios. For example, when the business scenario is a game business scenario, the business service platform is a game service platform. Correspondingly, the game client may request the game service platform to read or write game-related data. As another example, when the business scenario is a financial transaction business, the business service platform is a transaction service platform. In this scenario, when the client performs business such as payment or transfer, it may involve reporting to the business service platform. Request to read or write data. Of course, there may be other possibilities in the applicable business scenarios of this application, which are not limited.

[0042] In this application, the business service platform may be an independent server, or a cloud platform, a server cluster, or a distributed system composed of multiple s...

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, a server and a storage medium, the scheme of the invention is applied to a business service platform, the business service platform runs amaster process and at least one slave process. The method comprises the following steps: obtaining a data processing request sent by a client; under the condition that the data processing request comprises a reading request, determining a first data identifier of data requested to be read by the reading request; if the first data identifier belongs to a data identifier in a cached non-synchronousrecord, forwarding the read request to the master process for processing, the non-synchronous record recording a data identifier corresponding to data which is not synchronized from the master processto the slave process; and if the first data identifier does not belong to the data identifier in the non-synchronous record, forwarding the read request to the slave process for processing. Accordingto the scheme, the data request processing efficiency can be improved, Meanwhile, the situation of data reading errors or abnormalities caused by inconsistency of the master process data and the slave process data can be reduced.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a data processing method, device, server and storage medium. Background technique [0002] In business scenarios that involve a large amount of data and require high data read and write performance, the business service platform generally caches data and processes data read and write requests through processes to achieve more efficient data read and write processing. [0003] At present, there are two commonly used methods for the business service platform to process data read and write requests through processes: one is a single process method, and the other is a master-slave process method. Wherein, the single-process mode refers to processing read requests and write requests simultaneously through a single process. The advantage of the single-process method is that no data synchronization is required, and there is no data inconsistency. However, due to t...

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/50G06F9/448G06F11/07G06F16/2455
CPCG06F9/5005G06F11/0793G06F9/4482G06F16/24552
Inventor 谢亚晋
Owner 深圳市腾讯网域计算机网络有限公司
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