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

Multi-data-source dynamic switching method, electronic equipment and storage medium

A technology with multiple data sources and data sources, which is applied in the direction of version control, software maintenance/management, etc., can solve problems such as increasing the workload of developers and operation and maintenance personnel, interrupting users from using the system, and complicated operation methods, so as to save operation and maintenance Workload, the effect of improving scalability

Pending Publication Date: 2021-01-15
SHANDONG INSPUR GENESOFT INFORMATION TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing technology, the data source is usually configured in the configuration file of the headquarters web application, and then the java file is modified. This operation method is complicated. Every time a data source is added, repeated work is required. In addition, the operation and maintenance personnel need to upgrade the patch , restart the application server, which not only increases the workload of developers and operation and maintenance personnel, but also interrupts the user's use of the system, and the ease of use is poor

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-data-source dynamic switching method, electronic equipment and storage medium
  • Multi-data-source dynamic switching method, electronic equipment and storage medium
  • Multi-data-source dynamic switching method, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to explain the overall concept of the present application more clearly, the following detailed description will be given by way of examples in combination with the accompanying drawings.

[0037] In the prior art, when a web application adds a data source, an interface needs to be configured every time a data source is added, the process is repeated, and the application server needs to be restarted every time a data source is added.

[0038] figure 1 It is a schematic diagram of a data source switching method in the prior art, such as figure 1 As shown, in the prior art, for each data source, a session interface must be created in order to realize database access.

[0039] figure 2 A schematic diagram of the data source switching method provided by the embodiment of the present invention, such as figure 2 As shown, the data source information is set from the front-end web function, and the system obtains it from the background and encapsulates it into a Sp...

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-data-source dynamic switching method, electronic equipment and a storage medium, and aims to solve the problems that configuration of a data source file in an application needs a large amount of work and a server needs to be rebooted, and the method comprises the following steps: responding to a first request of a user for accessing a target database; determining whether a target data source corresponding to data source information of a target database carried in the first request exists in a set or not; and if not, loading the data source information of the target database into the set to generate a target data source, so that the current user can access the target database.

Description

technical field [0001] The invention relates to the technical field of computer software, in particular to a method for dynamically switching multiple data sources, electronic equipment and a storage medium. Background technique [0002] For group enterprises, the information system generally adopts a distributed architecture for development and deployment, such as grain collection enterprises and processing enterprises. Specifically, the group headquarters deploys an independent system (web application + database), and each subordinate unit deploys an independent system (web application + database). In this deployment mode, if the headquarters-level system wants to directly connect to the database of the subordinate unit for data processing, query and other operations, the headquarters system needs to support the multi-data source mode. [0003] In the existing technology, the data source is usually configured in the configuration file of the headquarters web application, ...

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): G06F8/71
CPCG06F8/71
Inventor 王伟亮邵辉傅慧寇兵
Owner SHANDONG INSPUR GENESOFT 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