Sub-library and sub-table switching method, device and system based on proxy mode

A technology of sub-database, sub-table and proxy mode, applied in the computer field, can solve the problems of common implementation of different services, increase the complexity of the switching process, long switching time, etc., so as to reduce the amount of development and speed up the switching of sub-database and sub-table switching. The effect of process and business code isolation

Pending Publication Date: 2021-01-05
微民保险代理有限公司
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These two sets of logic codes are customized logic codes, which cannot be used universally for different businesses and have poor flexibility.
Once the business code is adjusted, the two sets of codes also need to be adjusted, that is, the coupling of the business code increases the complexity of the switching process, resulting in a long switching 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
  • Sub-library and sub-table switching method, device and system based on proxy mode
  • Sub-library and sub-table switching method, device and system based on proxy mode
  • Sub-library and sub-table switching method, device and system based on proxy mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0049] In order to facilitate the understanding of the embodiments of the present application, the following will further explain and illustrate with specific embodiments in conjunction with the accompanying drawings, and the embodiments do not constitute a limitation to the embodiments of the present application.

[0050] figure 1 A schematic flow c...

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 embodiment of the invention relates to a sub-library and sub-table switching method, device and system based on an agent mode, and the method comprises the steps: loading a pre-configured data source configuration file, generating a link according to the data source configuration file, and storing the link in a data source set; receiving a pre-configured data source identifier transmitted by the service logic layer; obtaining a data source link corresponding to the data source identifier from the data source set according to the current data reading / writing operation instruction and the data source identifier, and obtaining data in the data source according to the data source link; and according to the current data read / write operation instruction, executing a sub-library sub-table read / write operation. By means of the mode, decoupling between the data reading / writing logic layer and the service logic layer is achieved, the multi-data-source switching assembly can be flexibly plugged and unplugged, invasiveness is avoided, the repeated code development amount is greatly reduced, reliability, rapidness and conciseness are truly achieved, and therefore the switching process of switching the sub-libraries and the sub-tables is greatly accelerated.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular, to a method, device, and system for switching between sub-database and sub-table based on proxy mode. Background technique [0002] With the development of time and business, there will be more and more tables in the database, and the amount of data in the tables will also increase. This undoubtedly puts a considerable load on the database, affecting the stability and performance of the system. Switching the original single-database single-table into database and sub-table is the most common and effective method to solve this kind of problem. In the existing technology, every time it is necessary to switch a single database and single table into sub-databases and sub-tables, two sets of logic codes need to be re-edited, one of which is the business read / write logic based on the old database and asynchronously written into the new database code. ...

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/21G06F16/23G06F16/25G06F16/27
CPCG06F16/211G06F16/2379G06F16/254G06F16/27
Inventor 谭造乐
Owner 微民保险代理有限公司
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