Database addressing method, apparatus and system

A database and business system technology, applied in the field of data processing, can solve the problems of increased complexity of system data access layer, increased complexity of configuration, and high coupling, so as to improve portability and reduce direct dependence.

Inactive Publication Date: 2018-10-09
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, this method will cause the business system to directly depend on the specific database, which has high coupling and is not conducive to system transplantation.
In addition, because the database access strategy is fixed at the source code level, it is often necessary to modify the source code or source configuration file when changing the configuration of the database connection pool, and restart the business system, or even go online again; and when a business system relies on multiple databases at the same time , it is necessary to configure multiple database connections at the source code level, which not only increases the complexity of the configuration, but also increases the complexity of the system data access layer

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
  • Database addressing method, apparatus and system
  • Database addressing method, apparatus and system
  • Database addressing method, apparatus and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The technical solutions of the present invention will be described in further detail below with reference to the accompanying drawings and embodiments.

[0053] A schematic diagram of an embodiment of the database addressing device of the present invention is shown in figure 1 shown. Wherein, the service receiving module 101 can receive a database calling request from a business system, and the database calling request includes a request identifier. In one embodiment, the service system can call a predetermined interface of the database addressing device in a predetermined format. In one embodiment, the request identifier includes a business rule number and a request type identifier. Different fields and types of business can be classified and identified by business rule numbers, such as user information rules, commodity information rules, and transaction information rules. Wait. Each business rule includes different request types, such as deletion, query, modification...

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 present invention provides a database addressing method, apparatus and system, and relates to the field of data processing. The database addressing apparatus comprises: a service receiving module,configured to receive a database call request from a service system; a parsing module, configured to determine a database call statement according to a request identifier included in the database call request; a database selection module, configured to determine a target database according to the database call statement; and a database call module, configured to send the database call statement to the target database. According to the apparatus of the present invention, without coupling the service system with the database, direct dependence of the service system on the database is reduced, and the portability of the database and the maintainability of the service system can be improved in a facilitated manner.

Description

technical field [0001] The present application relates to the field of data processing, in particular to a database addressing method, device and system. Background technique [0002] With the complexity of the business, engineers often design the distributed architecture of each business in the same system, and each business system that is split out uses an independent database to realize the decoupling of business data. For example, in an e-commerce platform, every time a user completes a transaction, the system needs to access the user information database, product information database, product inventory database, and product promotion database. In the case of a huge amount of data, in order to achieve fast access to data, the database is often designed to be divided into databases and tables. [0003] In the prior art, the corresponding database connection configuration is configured in the business source code, the database connection is initialized after the business ...

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): G06F17/30
Inventor 武勇
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
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