Application Data Reconstruction via Runtime Control Flow Analysis
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for exposing data and functions of device applications require manual reconstruction by third-party development teams, leading to high development costs and long cycles, especially for enterprises and government agencies lacking in-house development teams.
Innovation Solution
A method that uses program analysis and reconstruction to convert existing application data and functions into externally callable APIs, by acquiring and reconstructing application runtime control flows and context, separating sub-control flows, and generating an external interface.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If manual reconstruction by third-party development teams is used to expose data and functions of device applications, then the data and functions can be made externally accessible, but development costs and development cycles increase significantly
Solution Approach 1:
The system enables applications to automatically expose their own data and functions through runtime control flow analysis and reconstruction, eliminating the need for manual third-party development intervention. The application self-describes its data structures and control flows, which are then automatically transformed into external interfaces.
Solution Approach 2:
Manual mechanical reconstruction work by development teams is replaced with automated program analysis and reconstruction technology. The system uses runtime control flow monitoring and static code analysis to automatically generate external interfaces, substituting human labor with computational processes.
2Adaptability or versatility
If manual reconstruction by third-party development teams is used to expose data and functions of device applications, then the data and functions can be made externally accessible, but development time increases significantly
Solution Approach 1:
The system performs preliminary analysis of control flows and runtime contexts during application execution, preparing the necessary information about data structures and function relationships in advance. This preliminary information gathering enables rapid automatic generation of external interfaces without time-consuming manual reconstruction later.
Solution Approach 2:
The time-consuming manual reconstruction process is replaced with automated program analysis and interface generation. The system uses computational methods to rapidly analyze control flows and generate external interfaces, dramatically reducing development cycle time compared to manual third-party team approaches.
3Measurement precision
If runtime control flow monitoring and reconstruction is performed, then external interfaces can be automatically generated with high accuracy, but system complexity increases
Solution Approach 1:
The system introduces a runtime control flow monitoring intermediary that sits between the application and external access points. This intermediary automatically captures control flow information and runtime contexts, mediating between the complex internal application logic and the need for accurate external interface generation without requiring direct complex analysis at interface creation time.
Data Source
AI summary
The invention discloses a method for opening up data and functions of device applications based on reconstruction technology. The method modifies the runtime environment of the application to obtain control flow information when the application function and data are used, to reconstruct the original control flow. This method conducts program analysis of run-time control flow and application static code, removes application function and data that are unrelated to sub-control flows, and retains a set of sub-control flows and contexts directly related to application functions and data. In certain context environment, the sub-set of the control flows are reconstructed to achieve respective application functions and to acquire the application data. The disclosed method can be used to open functions and data of applications based on Java, C++, and JavaScript, etc. on different types of devices. The present method is of great importance for application owners who need to open up application data, while faced with challenges of missing development documents and lacking developers.


