Java Application Backup via Intermediate Format Conversion
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current JAVA application management modules cannot backup and recover JAVA applications across different platforms, leading to limitations in usage and copyright protection issues, as storage structures and formats vary between platforms, preventing seamless cross-platform operation.
Innovation Solution
A method and device that convert JAVA application files into an intermediate format identifiable by multiple platforms, allowing backup and recovery on various terminals, while ensuring copyright protection through identification information verification and encryption.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If JAVA application programs are stored using platform-specific storage structures, then the application program can run normally on the original platform, but the application program cannot be recovered and run on different platforms
Solution Approach 1:
The patent introduces a standard storage structure as an intermediary format between different JAVA virtual machine platforms. During backup, application program information is converted from platform-specific storage structures into this standard intermediate format, which can then be recovered and converted to the target platform's storage structure, enabling cross-platform compatibility while maintaining execution reliability
Solution Approach 2:
The patent changes the storage format parameter of application program information from platform-specific formats to a standardized format during backup. This parameter transformation allows the same application program data to be compatible with multiple platforms while preserving the original execution characteristics through proper conversion during recovery
2Adaptability or versatility
If application program information is stored in platform-specific file system structures, then the storage is optimized for the original platform, but the application program cannot be transferred to other JAVA virtual machines
Solution Approach 1:
A standard storage structure serves as a mediator between different platform-specific file system structures. The backup process converts application program information from the source platform's file system structure into this standard intermediate representation, which can then be adapted to any target platform's file system structure, simplifying the transfer process while enhancing platform transferability
3Adaptability or versatility
If simple backup and recovery methods are used, then the backup process is simple and fast, but the application program cannot run on different platforms due to storage structure differences
Solution Approach 1:
The standard storage structure acts as an intermediary that bridges simple backup operations with cross-platform requirements. The backup process converts application program information into this standardized format, which inherently contains the necessary information to be adapted to different platforms, thus achieving cross-platform operation without significantly increasing backup process complexity
Solution Approach 2:
The patent performs preliminary conversion of application program information into a standard storage structure during the backup phase. This preliminary action ensures that when recovery occurs on a different platform, the information is already in a compatible format, eliminating the need for complex real-time conversion during recovery and simplifying the overall process
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A managing method for an application program is disclosed, which includes that: a first terminal converts a file of a specified application program stored by the first terminal per se into an intermediate file in a predetermined intermediate format, wherein the intermediate format can be identified by other terminals having a running environment of the application program (S101); and the first terminal performs backup management on the specified application program by storing the intermediate file into a specified storage location, so as to enable a second terminal to recover the application program that has been made a backup, wherein both the second terminal and the first terminal have the running environment of the application program (S103). A managing device for an application program and a terminal are further disclosed. By means of the solution of the disclosure, performing universal backup management on an application program is realized, such that terminals that need to recover the application program convert a file in the intermediate format into a format required by each terminal, so as to recover and normally use the application program.