Web Application Package Resource Extraction

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods for generating web application packages are not space-efficient, as they include redundant static resources, leading to increased storage requirements.

Innovation Solution

A method that determines the resources required by a web application, stores them, and generates a package with resource addresses instead of the resources themselves, allowing for resource retrieval upon loading, thereby reducing the package size by excluding static resources.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If static resources are included in the web application package, then the package is self-contained and can be loaded independently, but the package size increases and storage space is wasted

Engineering Contradiction:
Improvepackage independenceVSAvoidpackage size
Core Design Contradiction:
ReliabilityVSWeight of stationary object

Solution Approach 1:

The patent extracts static resources from the web application package and stores them in a separate storage location. The package now contains only resource addresses (URLs) pointing to these external resources, significantly reducing package size while maintaining the ability to retrieve resources when needed.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

Instead of embedding actual resource files in the package, the patent uses resource addresses (URLs) as references. These addresses act as copies or pointers to the actual resources stored externally, allowing the package to reference resources without containing them physically.

Inventive Principle:
Principle #26Copying

2Speed

If all resources are embedded in the package, then resource access is fast and offline, but storage requirements increase and space efficiency decreases

Engineering Contradiction:
Improveresource access speedVSAvoidstorage requirements
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The patent extracts resources from the package and stores them externally, keeping only lightweight resource addresses within the package. This dramatically reduces the quantity of data stored in the package while maintaining efficient resource access through URL-based retrieval mechanisms.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The resource address (URL) serves multiple functions: it identifies the resource, provides the location for retrieval, and enables access to resources that can be shared across multiple applications. This single data structure replaces the need to store actual resource copies.

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

Data Source

PatentUS11157254B2Method, apparatus, and device for processing web application package
Publication Date: 2021.10.26 ADVANCED NEW TECHNOLOGIES CO LTD
  • US11157254B2 patent drawing
  • US11157254B2 patent drawing
  • US11157254B2 patent drawing

AI summary

Implementations of the present specification disclose a method, an apparatus, and a device for processing a web application package. In the method, processing the web application package includes: determining a resource required by a web application; storing the resource; determining a resource address corresponding to a storage location of the resource; and generating a web application package that comprises the resource address, wherein the web application package excludes the resource corresponding to the resource address.