Data processing method and device

A data processing and data technology, applied in the computer field, can solve problems such as poor user experience, influence query, complex business layer logic, etc., to reduce development costs, improve user experience, and improve data processing efficiency.

Pending Publication Date: 2021-08-27
BEIJING WODONG TIANJUN INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the existing method of synchronizing MySQL data to Redis, the business layer logic is coupled with the data synchronization work, which makes the business layer logic complex and error-prone, which in turn leads to data synchronization failure, affecting subsequent queries and other operations, and poor user experience

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded 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 in the following description for clarity and conciseness.

[0051] figure 1 An exemplary system architecture diagram of a data processing method or a data processing device applicable to an embodiment of the present invention is shown, as shown in figure 1 As shown, the exemplary system architecture of the data processing method or data processing device in the embodiment of the present invention includes:

[0052] Such as figur...

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, and relates to the technical field of computers. The specific embodiment of the method comprises the following steps: receiving a data processing request sent by a service layer through a first component, wherein the first component and the business layer are mutually independent; determining a to-be-operated database corresponding to the to-be-processed data according to the data processing request; determining a synchronization mode of the to-be-processed data according to the operation attribute of the to-be-operated database; and synchronizing the to-be-operated database with the data in the Redis cache through the first component according to the synchronization mode. According to the embodiment, the data synchronization can be extracted from the service layer, so that the service layer focuses on service development, the development cost is reduced, the data synchronization efficiency is improved, and the user experience is improved.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a data processing method and device. Background technique [0002] MySQL is a relational database management system. A relational database stores data in different tables, and has high data processing speed and flexibility. Redis (Remote Dictionary Server), the remote dictionary service, is a high-performance key-value database that supports storage of multiple value types. [0003] When existing MySQL data is synchronized to Redis, developers usually develop codes in the business layer to write data into MySQL and Redis. [0004] In the existing method of synchronizing MySQL data to Redis, the business layer logic is coupled with the data synchronization work, which makes the business layer logic complex and error-prone, which in turn leads to data synchronization failure, affecting subsequent queries and other operations, and poor user experience . Contents of the...

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): G06F16/22G06F16/23G06F16/2455G06F16/27
CPCG06F16/2282G06F16/2365G06F16/24552G06F16/27
Inventor 赵晨郭伟杨轩嘉刘岩许海华王伟
Owner BEIJING WODONG TIANJUN 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