Web Content Proxy Server Emulating JavaScript for Mobile Devices
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Mobile computing devices face limitations in effectively utilizing web services, particularly when executing functionality implemented using JavaScript code, due to their inability to exploit such functionality without custom coding resources.
Innovation Solution
A web content proxy server is used to emulate a JavaScript environment, creating a JavaScript object from received web service requests and executing JavaScript files to facilitate web transactions, enabling the construction and provision of web service responses.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If mobile computing devices execute JavaScript code directly, then they can utilize web service functionality, but they require significant custom coding resources and development complexity
Solution Approach 1:
The patent introduces a server-side JavaScript environment as an intermediary between the mobile device and the web service. The mobile device sends web service requests without executing JavaScript, while the server executes the JavaScript code in a simulated environment and returns the results. This mediator approach allows mobile devices to utilize JavaScript-based web services without requiring local JavaScript execution capability or custom coding resources.
2Adaptability or versatility
If mobile computing devices execute JavaScript code directly, then they can access JavaScript-based web services, but execution reliability and consistency are compromised
Solution Approach 1:
The server-side JavaScript environment acts as a reliable intermediary that executes JavaScript code in a controlled, consistent environment. This eliminates the reliability issues of executing JavaScript on mobile devices with limited or inconsistent JavaScript support. The server maintains execution reliability while providing access to JavaScript-based web services.
Solution Approach 2:
The patent creates a simulated JavaScript environment on the server that replicates the functionality needed to execute JavaScript code. Instead of relying on the mobile device's JavaScript implementation, the server creates a copy of the necessary JavaScript execution environment, ensuring consistent and reliable execution regardless of the mobile device's capabilities.
3Adaptability or versatility
If web services are integrated into mobile applications, then application features are extended, but mobile devices cannot effectively utilize web services without custom coding
Solution Approach 1:
The server-side JavaScript environment serves as an intermediary that handles the complexity of web service integration. Mobile applications can integrate web services using standard protocols without needing to implement custom JavaScript execution code. The server intermediary manages the JavaScript execution and returns results in a format the mobile application can use, simplifying the integration process.
Data Source
AI summary
A method, non-transitory computer readable medium, and apparatus that determines when a JavaScript file is associated with a received web service request. A JavaScript environment is emulated when the determining indicates the JavaScript file is associated with the received web service request. A JavaScript object including one or more parameters of the received web service request is created. The JavaScript file associated with the received web service request is executed in the emulated JavaScript environment using the JavaScript object. A web service response is constructed based on the JavaScript object as populated based on the executing. The constructed web service response is provided to a source of the received web service request.


