Method for accessing database by means of database storage layer used in instant communication system

A database and storage layer technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of increasing system instability factors, huge storage layer, difficult code maintenance, etc., to achieve easy maintenance and reduce the amount of code , the effect of reducing labor costs

Active Publication Date: 2013-12-04
BEIJING 58 INFORMATION TECH
View PDF6 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This will cause the storage layer to become larger and larger, the code will become more and more difficult to maintain, and it will also increase the instability of the system

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 for accessing database by means of database storage layer used in instant communication system
  • Method for accessing database by means of database storage layer used in instant communication system
  • Method for accessing database by means of database storage layer used in instant communication system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The objects and functions of the present invention and methods for achieving the objects and functions will be clarified by referring to the exemplary embodiments. However, the present invention is not limited to the exemplary embodiments disclosed below; it can be implemented in various forms. The essence of the description is only to help those skilled in the relevant art comprehensively understand the specific details of the present invention.

[0020] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the drawings, the same reference numerals represent the same or similar components, or the same or similar steps.

[0021] The present invention provides a method for abstracting the service interface of the storage layer of the instant messaging system, so that the storage service only provides several atomic interfaces to the outside. The service completes a business request of the upstream applicatio...

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 provides a method for accessing a database by means of a database storage layer used in an instant communication system. The database storage layer comprises an abstract interface module, a configuration analysis module, a structural body module and an application interface module. The method comprises the following steps of a, carrying out initialized configuration on the database storage layer by the configuration analysis module; b, receiving a request for operating the database sent by a service module from an upstream application, and analyzing and configuring the request by the application interface module; c, calling the structural body module for searching a structural body corresponding to the request from the structural body module; d, constructing the request into a request conforming to abstract interface specifications for operating the database by means of the abstract interface module based on the searched structural body and sending to the database for carrying out corresponding operation; and e, compositing operating results returned by the database by the application interface module, and then returning the composited operating results to the service module sending the request in the upstream application.

Description

technical field [0001] The invention relates to the design of a server data storage module in the field of instant messaging, in particular to a method for satisfying the requirement of an instant messaging system to utilize an abstract unified data storage interface of a database storage layer. Background technique [0002] In the instant messaging system, almost all functional modules will need to access the database. However, due to various considerations such as security and maintainability, these modules cannot directly interact with the database. Generally, a special module is provided to access the database. This module is called the storage layer module. When the functional modules need to access the database, they first need to use the system-defined protocol to send a request to the storage layer. After receiving the request, the storage layer accesses the database and returns the results to these modules. [0003] In the current instant messaging system, for each...

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 58 INFORMATION TECH
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