URL Translation Rule Engine for Bi-directional Address Mapping
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current web browsers face challenges in translating URLs between internal and external representations efficiently, leading to cumbersome and user-unfriendly URLs, especially when dealing with multiple applications and languages.
Innovation Solution
A system that utilizes a rule engine with multiple rule sets assigned to respective applications, allowing for bi-directional URL translation by matching URL portions with specific rules, including replacement, recursive, exclusive, and framework rules, to generate more readable external URLs from internal URLs and vice versa, without requiring regular expressions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If multiple rule sets are used for different applications, then URL translation accuracy is improved, but system complexity increases
Solution Approach 1:
The patent divides the URL translation system into multiple application-specific rule sets, where each rule set contains translation rules tailored to a specific application's URL structure. This segmentation allows accurate translation for each application while keeping individual rule sets manageable in size and complexity.
Solution Approach 2:
The patent creates a universal URL translation system that handles multiple applications through a common translation service. The system universally applies the appropriate rule set based on the application identifier extracted from the URL, enabling one system to serve multiple applications with different translation requirements.
2Adaptability or versatility
If bi-directional translation is implemented, then versatility is improved, but rule specification complexity increases
Solution Approach 1:
The patent implements bi-directional translation by creating inverse rule sets where the source and target URL structures are swapped. For example, if a forward rule translates internal URL pattern A to external URL pattern B, the inverse rule translates external URL pattern B back to internal URL pattern A. This inversion approach enables reverse translation without requiring completely separate rule sets.
Solution Approach 2:
The patent creates copied rule sets for reverse translation by duplicating the forward translation rules and modifying them to translate in the opposite direction. The copied rules maintain the same structural relationships but reverse the source and target patterns, allowing the system to handle both translation directions using similar rule structures.
3Measurement precision
If application-specific rule sets are used, then translation precision is improved, but processing time increases
Solution Approach 1:
The patent performs preliminary actions by extracting the application identifier from the URL and selecting the appropriate rule set before actual URL translation begins. This pre-selection process avoids the need to search through all possible rule sets during translation, significantly reducing processing time while maintaining application-specific translation precision.
Solution Approach 2:
The patent applies different translation rules locally to different applications based on their specific URL structures. Each application receives translation processing tailored to its particular requirements, ensuring high precision for each application's specific URL patterns without unnecessarily processing other applications' URLs with irrelevant rules.
4Adaptability or versatility
If multiple rule types are implemented, then translation capability is improved, but ease of operation deteriorates
Solution Approach 1:
The patent introduces an intermediary translation service that manages multiple rule types (replacement rules, recursive rules, exclusive rules, framework rules) behind a unified interface. Users interact with a single translation service without needing to understand or manually configure the different rule types, while the service internally applies the appropriate rule combinations to achieve versatile translation capabilities.
Data Source
AI summary
Translation of uniform resource locators (URLs). A URL is received, in a computer system and from a computer device, referring to a resource managed by a first application in the computer system, for which resource the computer system uses an internal URL. A first rule set is selected from among multiple rule sets assigned to a respective one of multiple applications, based on the first rule set being assigned to the first application. At least a portion of the URL is matched with a rule in the first rule set identifying an internal URL portion as corresponding to the portion of the URL. The internal URL portion is included in a translated URL, wherein a second rule set identifies another internal URL portion as corresponding to the portion of the URL. At least part of the resource is forwarded to the computing device.


