Two-Tier Mobile App Generator for Direct Database Access

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Building native mobile applications for multiple platforms using three-tier architecture is complex and requires significant development effort, especially when direct database access is needed, due to the need for platform-specific boilerplate code and application server caches.

Innovation Solution

A mobile application generator that retrieves database metadata and automatically generates native source code for two-tier mobile applications, allowing direct database access without an application server, using RESTful APIs or JDBC, and compiles the code into distributable applications for iOS, Android, and other platforms.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If three-tier architecture is used with application server caches, then data access reliability is improved, but device complexity and development effort increase

Engineering Contradiction:
Improvedata access reliabilityVSAvoidapplication architecture complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent extracts and removes the application server tier from the traditional three-tier architecture, creating a two-tier system where mobile devices access the database directly. This eliminates the intermediate caching layer while simplifying the overall system architecture.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent implements universal data access by allowing mobile devices to directly connect to and access the database through standardized protocols (RESTful APIs or JDBC), making the system platform-independent and reducing architectural complexity across multiple mobile platforms.

Inventive Principle:
Principle #6Universality (Multi-functionality)

2Speed

If platform-specific boilerplate code is written for direct database access, then data access speed is improved, but development time and cost increase

Engineering Contradiction:
Improvedata access speedVSAvoiddevelopment time
Core Design Contradiction:
SpeedVSLoss of time

Solution Approach 1:

The patent creates a universal data access layer using RESTful APIs and JDBC that works across iOS, Android, and other mobile platforms without requiring platform-specific code, thereby maintaining fast data access while eliminating repetitive boilerplate development.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent introduces RESTful APIs as an intermediary layer between mobile applications and the database, providing a standardized interface that simplifies data access across different platforms while maintaining performance through direct database connections when needed.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Speed

If in-memory databases are used, then data access performance is improved, but memory resource consumption increases

Engineering Contradiction:
Improvedata access performanceVSAvoidmemory resource consumption
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The patent changes the storage medium parameter from disk-based to in-memory database, utilizing RAM instead of disk storage to dramatically improve data access performance. This parameter change accepts increased memory consumption as a trade-off for superior speed.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent implements periodic data synchronization between the in-memory database and persistent storage, allowing the system to maintain fast in-memory access while periodically flushing data to disk, thereby balancing performance with resource management.

Inventive Principle:
Principle #19Periodic action

Data Source

PatentUS9043750B2Automated generation of two-tier mobile applications
Publication Date: 2015.05.26 SAP SE
  • US9043750B2 patent drawing
  • US9043750B2 patent drawing
  • US9043750B2 patent drawing

AI summary

The disclosure generally describes computer-implemented methods, software, and systems for creating and using two-tier mobile applications. A computer-implemented method includes identifying at least a portion of a database to be associated with a mobile application, retrieving a set of metadata associated with the at least a portion of the identified database, automatically generating a set of mobile application source code for directly accessing the at least a portion of the database based on the set of retrieved metadata, and compiling the set of mobile application source code into a distributable mobile application, the distributable mobile application configured to directly access the identified database associated with the mobile application. In some instances, the identifying, retrieving, generating, and compiling operations are performed at design time, while at runtime, the mobile application is executable by a mobile device and, during runtime execution, can request database-related information directly from the identified database.