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

Multi-database data processing method, device, storage medium and electronic device

A data processing and database technology, applied in the computer field, can solve problems such as abnormalities, and achieve the effect of good data consistency

Active Publication Date: 2020-11-20
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the asynchronous processing of MQ messages will cause the amount in database A to be reduced by 10 twice, and an exception will occur when the state of database B changes for the second time.

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
  • Multi-database data processing method, device, storage medium and electronic device
  • Multi-database data processing method, device, storage medium and electronic device
  • Multi-database data processing method, device, storage medium and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0045]Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities m...

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 relates to a multi-database data processing method, a multi-database data processing device, a storage medium and electronic equipment. The method comprises the steps of acquiring a first operating request and a second operating request separately corresponding to a first database and a second database; executing a first data operation on the first database according to the first operating request; when a preset method in a preset cache is called to judge that concurrent operations do not exist currently, storing operating content information of the second operating request to the preset cache; and calling the operating content information from the preset cache, and executing a second data operation on the second database via a preset Java multi-thread pool. According to themethod, device, medium and equipment provided by the invention, the data consistency problem of the multiple databases is solved by using a technology based on the cache and the multiple threads, thedisadvantages of processing in an MQ message manner are avoided, and thus the data consistency of the multiple databases is relatively good.

Description

technical field [0001] The present disclosure relates to the field of computer technology, and in particular to a multi-database data processing method, a multi-database data processing device, and a computer-readable storage medium and electronic equipment for realizing the multi-database data processing method. Background technique [0002] At present, with the large and rapid growth of the amount of data stored in the database and the amount of data access, there will be more and more tables in the database with the development of time and business without sub-database sub-tables. The amount of data will also increase. Correspondingly, the overhead of data manipulation, addition, deletion, modification and query will also increase. In addition, since distributed deployment cannot be performed, and the resources of a server are limited, the amount of data that the database can carry and the data processing capacity will eventually encounter bottlenecks. [0003] In order...

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/23G06F16/2455
Inventor 马文军
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
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