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

Method and system for accessing external database based on local interface

A local interface and database technology, applied in the database field, can solve problems such as only supporting a certain type of database, and a single type of database

Active Publication Date: 2021-06-11
MASSIVE CLOUD BEIJING DATA TECH
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At present, the database products or plug-ins that provide external database access services support a relatively single type of database, most of which are based on the external access of each database client, and generally only support a certain type of database

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
  • Method and system for accessing external database based on local interface
  • Method and system for accessing external database based on local interface
  • Method and system for accessing external database based on local interface

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] figure 1 is a flowchart of a method 100 for accessing an external database based on a local interface according to an embodiment of the present invention. Method 100 starts at step 101 .

[0057] In step 101, a local database is started, a local interface of the local database is initialized, and the local database monitors user requests from user equipment in real time.

[0058] In step 102, when a user request from a user device is received, the request type involved in the user request is determined, and when the request type is reading / writing a table in an external database, the user request is parsed to determine the user Identity information and processing tasks of the device, wherein the identity information includes an identity that can uniquely identify the user equipment, and the processing tasks include at least one data task, where each data task includes multiple task items, associated The database ID of the external database and the ID information of th...

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 method and a system for accessing an external database based on a local interface. The method comprises the following steps: acquiring login information of user equipment in the external database from a user mapping table according to an identity label of the user equipment; calling an external interface of the local database through the local interface, promoting the external interface to establish connection with the external database based on a network address and a port number of the external database, and promoting the external interface to log in the external database based on login information of the user equipment in the external database; converting the plurality of task items into a plurality of processing sequences suitable for being executed in an external database, and sending the plurality of processing sequences to the external database by an external interface so as to promote the external database to execute the plurality of processing sequences and generate execution results of the plurality of processing sequences; and sending execution results of the plurality of processing sequences to the user equipment through the local interface.

Description

technical field [0001] The present invention relates to the technical field of databases, and more specifically relates to a method and system for accessing external databases based on a local interface. Background technique [0002] With the rapid development of the Internet and the vigorous development of database technology, various databases emerge in endlessly. In order to meet the needs of different business scenarios, many enterprises and government departments often choose multiple databases to support business operations according to the characteristics of each database in practical applications. However, due to inconsistent read-write interfaces and inconsistent drivers for each database, business development and operation and maintenance costs are high and difficult. This makes unifying the database read-write interface and encapsulating database differences has become a huge challenge for database development. [0003] In order to make the business run normally ...

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): G06F13/38G06F16/25
CPCG06F13/382G06F16/252
Inventor 苏章艳何小栋
Owner MASSIVE CLOUD BEIJING DATA TECH