Test Sandbox in Production Systems via Segmented Database Access

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In production systems, testing new application versions without exposing end users to test data is challenging, as existing methods require separate test databases and can lead to delays and resource inefficiencies.

Innovation Solution

Implementing a system where the production application has read-write access to the production database and the test application has read-only access to the production database and read-write access to a separate test database, with data elements numbered from opposite ends of a valid range to prevent matching values, allowing for controlled access and testing without data corruption.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a separate test database is made to avoid exposing end users to test data, then data security is improved, but resource usage increases and testing efficiency decreases

Engineering Contradiction:
Improvedata securityVSAvoidtesting efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent segments database access rights by application type: production applications receive read-write access to the production database, while test applications receive read-only access to the production database and read-write access to a separate test database. This segmentation allows testing to proceed efficiently without compromising production data security.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary mechanism (the access control system that manages database connections) that mediates between test applications and the production database. This intermediary ensures that test applications can access production data for realistic testing while preventing any modifications that could corrupt production data.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Stability of the object's composition

If a separate test database is made to prevent data corruption, then data integrity is improved, but resource consumption increases

Engineering Contradiction:
Improvedata integrityVSAvoidresource consumption
Core Design Contradiction:
Stability of the object's compositionVSQuantity of substance

Solution Approach 1:

The patent applies local quality by differentiating database access permissions based on the specific needs of different applications. Production applications maintain full read-write access to the production database, while test applications are granted read-only access to production data and read-write access to a separate test database, optimizing resource allocation for each function.

Inventive Principle:
Principle #3Local quality

3Measurement precision

If test applications have full access to production database for realistic testing, then testing accuracy is improved, but risk of data corruption increases

Engineering Contradiction:
Improvetesting accuracyVSAvoiddata corruption risk
Core Design Contradiction:
Measurement precisionVSObject-affected harmful factors

Solution Approach 1:

The patent implements preliminary anti-action by pre-configuring the database access control system to prevent test applications from modifying production data. Before testing begins, the system establishes read-only permissions for test applications on the production database, proactively eliminating the risk of data corruption while still allowing access to production data for realistic testing scenarios.

Inventive Principle:
Principle #9Preliminary anti-action

Data Source

PatentUS9721116B2Test sandbox in production systems during productive use
Publication Date: 2017.08.01 SAP SE
  • US9721116B2 patent drawing
  • US9721116B2 patent drawing
  • US9721116B2 patent drawing

AI summary

Methods and systems are directed to controlling access to data in a production environment. Production data may be stored in a production database and test data may be stored in a test database. A production application may have access only to the data in the production database while a test application may have access to both the production database and the test database. The test application may have read-only access to the production database and read-write access to the test database. Data in the test database may be handled differently than data in the production database. A type of data may be associated with a range of valid values. The values assigned to the elements may differ depending on whether the elements are stored in the production database or the test database.