Method and system for realizing compatibility of heterogeneous database reserved words based on driver layer

A technology of reserved words and databases, applied in the direction of digital data processing, special data processing applications, program loading/starting, etc., to achieve the effect of improving compatibility, reducing system risks, and reducing transplant costs
CN102867045AInactive Publication Date: 2013-01-09WUHAN DAMENG DATABASE

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
WUHAN DAMENG DATABASE
Publication Date
2013-01-09
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
Patent Text Reader

Abstract

The invention discloses a method for realizing compatibility of heterogeneous database reserved words. In the method, a reserved word configuration file which belongs to a target database but does not belong to any source database is loaded and stored in a driver layer. The method comprises the following specific steps of: implementing an SQL (Structured Query Language) sentence through an application program; analyzing the SQL language sentence by using the driver layer to generate a semantic grammar tree; performing reserved word identification on an object in the grammar tree according the reserved word configuration file, and marking reserved words by adopting reserved word signs in a target database; generating a new SQL sentence according to the grammar tree in which the reserved words are marked; and transmitting the new SQL sentence to the target database. The invention further provides a system for implementing the method. Due to the adoption of the method, the aim of transplanting from a source database to different heterogeneous databases can be fulfilled without changing an application program code; and compared with compatible support of the conventional server layer, the method has the advantages of the technical characteristics of easiness and flexibility due to support of compatibility in the driver layer, and the system risk and transplanting cost are lowered.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention belongs to the technical field of databases in computers, and in particular relates to a heterogeneous database reserved word compatibility method and system based on a driver layer, which is used for transplantation services across heterogeneous databases. Background technique

[0002] The field of database compatibility for applications is very common in the current large number of existing old information system upgrade projects. In these projects, developers require domestic database manufacturers to ensure that the application does not change a line of code, so as to realize the transplantation from the old database to the new database of other manufacturers. However, because foreign database manufacturers have stable market scope in their respective markets, there is no strong product demand in the field of heterogeneous database product compatibility. DB2 has only started to take the route of Oracle compatibility in the past two ye...

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