Unlock instant, AI-driven research and patent intelligence for your innovation.

Switching method and device among multiple databases and electronic equipment

A database and switching request technology, applied in the field of data processing, can solve problems such as low efficiency, achieve the effect of improving efficiency and solving development time

Pending Publication Date: 2019-04-12
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When a business program needs to connect to multiple databases, it generally needs to use graphical development tools for secondary development of the database, so the efficiency is low

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
  • Switching method and device among multiple databases and electronic equipment
  • Switching method and device among multiple databases and electronic equipment
  • Switching method and device among multiple databases and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] The embodiment of this application provides a method for switching between multiple databases, such as figure 1 As shown, the method includes: step S101 to step S103.

[0052] Wherein, in step S101 , when a switching request for the current database is detected, a database identifier of a target database corresponding to the switching request is acquired.

[0053] For this embodiment of the application, the database identifier is used to represent different databases, and the switching request includes the database identifier of the target database. When a certain business program is connected to the current database, the purpose of determining the target database is realized through the switching request.

[0054] In actual application, the same business program can be used to connect to one database or multiple databases.

[0055] For example, all the databases provided to business program A are database 1, database 2 and data 3 respectively, and the database identif...

Embodiment 2

[0097]The embodiment of the present application provides a switching device between multiple databases, such as figure 2 As shown, the device 20 for switching between multiple databases may include: a switching detection module 201 , an interface determination module 202 and a switching processing module 203 .

[0098] Wherein, the switching detection module 201 is configured to obtain the database identifier of the target database corresponding to the switching request when detecting a switching request for the current database;

[0099] Interface determination module 202, configured to determine the interface class corresponding to the database identifier of the target database;

[0100] The switch processing module 203 is used to switch the connection with the current database to the target database corresponding to the interface class, so as to complete the switch between the current database and the target database.

[0101] This application obtains the database identif...

Embodiment 3

[0114] The embodiment of the present application provides an electronic device, such as Figure 4 as shown, Figure 4 The electronic device 400 shown includes: a processor 4001 and a memory 4003 . Wherein, the processor 4001 is connected to the memory 4003 , such as through a bus 4002 . Further, the electronic device 400 may further include a transceiver 4004 . Among them, the transceiver is used to provide communication functions between electronic devices and other electronic devices. It should be noted that, in practical applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 400 does not limit the embodiment of the present application.

[0115] The processor 4001 may be a CPU, a general processor, DSP, ASIC, FPGA or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can implement or execute the various illustrative logical blocks, modules and circuits described in 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 provides a switching method and device among multiple databases and electronic equipment. The method comprises the steps of: when a switching request for a current database is detected, acquiring a database identifier of a target database corresponding to the switching request; determining an interface class corresponding to the database identifier of the target database; and switching the connection with the current database into the connection with the target database corresponding to the interface class. The target database is determined according to the database identifier, the interface class is determined according to the database identifier of the target database, and the target database is connected according to the interface class, so that the problem of development time consumed by database switching is solved, and the efficiency of connecting with multiple databases is improved.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular, the present application relates to a switching method, device and electronic equipment among multiple databases. Background technique [0002] With the development of information technology and market, there are more and more types of databases, such as oracle, mysql, SQLServer and so on. When a business program needs to connect to multiple databases, it generally needs to use graphical development tools for secondary development of the database, so the efficiency is low. Contents of the invention [0003] The present application provides a method, device and electronic equipment for switching between multiple databases, which can solve the above technical problems. Described technical scheme is as follows: [0004] In a first aspect, the present application provides a method for switching between multiple databases, the method comprising: [0005] When a...

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/25G06F16/27
Inventor 郑郁晶
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN