A multi-database access method based on android terminal

An access method and database technology, applied in the field of intelligent handheld terminal operating systems, can solve the problems of inconvenient development and maintenance, redundant business processes, etc., and achieve good adaptability, improve processing efficiency, and ensure security.

Active Publication Date: 2016-04-13
PLA UNIV OF SCI & TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Using the traditional method to write business processes for operating each database, including creating data tables, indexes, views, triggers, etc., will generate a large number of redundant business processes, which will bring great inconvenience to development and maintenance

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
  • A multi-database access method based on android terminal
  • A multi-database access method based on android terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0043] The short message database includes a public short message database and an encrypted short message database. Among them, the public short message database is the main database, and the encrypted short message database is the secondary database. The ID range [10001,20000] of the encrypted message database, the specific implementation is as follows:

[0044] Step 1. Construct the access architecture of SMS master content provider-SMS slave content provider on the Android terminal;

[0045] Step 1-1. Construct SMSContentProvider, the main content provider of SMS. Directly inherit the original Android content provider to generate the SMS main content provider. The SMS main content provider has all the interfaces and functions of the original Android content provider, including data query interface, data insertion interface, data update interface and data deletion interface.

[0046] Step 1-2. Build the SMS slave content provider SMSSlaveContentProvider. The SMS slave conte...

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 relates to a multi database visiting method based on an Android terminal. The multi database visiting method based on the Android terminal comprises the following steps: firstly, establishing a visiting framework which both a main-content provider and a following content provider are coexisted on the Android terminal; secondly, respectively connecting a plurality of databases with identical database table structures on the main content provider and the following content provider in a hanging way, and enabling the main content provider and the following content provider to operate corresponding databases; and finally, the main content provider and the following content provider achieve visit of the plurality of databases at the same time based on the call request of an application program. By establishing the visiting framework of the main content provider and the following content provider, the multi database visiting method based on the Android terminal simplifies a complex process flow of an original content provider to the plurality of databases as visiting and improves process efficiency.

Description

technical field [0001] The invention belongs to the field of intelligent handheld terminal operating systems, in particular to an Android terminal-based multi-database access method. Background technique [0002] Android is a well-structured hierarchical software and hardware platform, which can be divided into four layers: the top layer is the application program layer, which is provided by operating system manufacturers or third-party developers with multiple functional applications; the second layer is the application framework layer, Provides the Java layer framework for application running and necessary basic services, etc.; the third layer is the system runtime layer, which provides system libraries and Android runtime libraries; the bottom layer is the Linux kernel layer, which provides the necessary operating system kernel drivers and hardware drivers . Among them, the application framework layer is the basis for application development. It provides rich API interfa...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 袁志坚张涛陈融王金双赵敏于晗陈萍
Owner PLA UNIV OF SCI & 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