Self-Hosted Server Interface Expansion for Cross-Platform Development
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing methods for developing software applications require repeated development for multiple platforms, either by using hardware-specific frameworks for high efficiency but with increased development workload or by using unified webpages that cannot fully utilize hardware functions, leading to inefficiencies and increased development costs.
Innovation Solution
Implementing an interface self-service method that involves installing a self-hosted server with webpage and function expansion packages, allowing the server to handle access requests and provide corresponding webpages or functions, thereby reducing the need for repeated development across platforms.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If a framework supported by hardware is used to develop native applications, then adaptability to equipment platform and operating efficiency are improved, but development workload increases due to repeated development for each hardware platform
Solution Approach 1:
The patent applies universality by creating a unified webpage program that can run across multiple hardware platforms through a framework adapter mechanism. The adapter layer translates platform-specific calls into standardized webpage interface calls, allowing a single codebase to serve multiple platforms (mobile phones, tablets, computers) without requiring separate native applications for each device type.
2Adaptability or versatility
If a unified webpage program is used to develop applications for all clients, then compatibility with all access terminals is improved, but hardware function utilization deteriorates
Solution Approach 1:
The patent introduces an intermediary framework adapter that mediates between the unified webpage program and hardware-specific functions. The adapter acts as a bridge, receiving standardized interface calls from the webpage and translating them into platform-specific hardware calls, thereby enabling hardware function access (camera, microphone, sensors) while maintaining cross-platform compatibility of the webpage application.
3Ease of manufacture
If native programs are developed for each hardware platform, then hardware function utilization is improved, but development cost and time increase due to repeated development
Solution Approach 1:
The patent applies copying by creating a standardized interface specification that can be copied and adapted across different platforms. Instead of writing unique native code for each platform, developers write once in the standardized webpage interface, and the framework adapter copies and translates this interface to work with various hardware platforms, significantly reducing development time and effort while maintaining full hardware functionality.
Data Source
AI summary
An interface self-service method, an apparatus, a computer device and a non-transitory storage medium for implementing the same. The interface self-service method includes: installation of a self-hosted server in a local device; installation of an interface webpage in the self-hosted server in the form of a webpage expansion package; installation of an interface function in the self-hosted server in the form of a function expansion package; confirmation of an access request when the self-hosted server receives the access request from a local browser; if the access request is an interface webpage request, a corresponding interface webpage is returned to the local browser according to the webpage expansion package; and if the access request is an interface function request, a corresponding interface function of the function expansion package is accessed.


