Route Display Templates for Decoupled Map Interpretation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing route interpretation scenarios in electronic maps require complex code logic updates and low iteration efficiency due to the need for hard-coding every time a new scenario is added, leading to cumbersome maintenance and debugging processes.
Innovation Solution
A route display method and apparatus that decouples route planning modes and interpretation scenarios by using interpretation templates, allowing independent maintenance and updates, with the server determining element information for display based on route planning requests and templates stored in a database.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If hard-coding is used to implement route interpretation scenarios, then the system can handle specific route planning modes and scenarios, but the code logic becomes complex and iteration efficiency decreases
Solution Approach 1:
The patent segments the route interpretation system into independent template components. Each route interpretation scenario is defined as a separate template with specific elements (title, content, display position, etc.), allowing the system to handle multiple scenarios without complex interconnected code logic. This segmentation enables modular maintenance and reduces overall system complexity.
Solution Approach 2:
The patent creates a universal template structure that can accommodate multiple route interpretation scenarios through configuration rather than code changes. The template includes flexible elements that can be adapted to different route planning modes and scenarios, making the system multi-functional without requiring separate hard-coded logic for each scenario.
2Adaptability or versatility
If hard-coding is used for every route interpretation scenario, then specific scenarios can be implemented, but iteration efficiency and maintenance become difficult
Solution Approach 1:
The patent transforms the static hard-coded system into a dynamic configurable one. Route interpretation templates can be added, modified, or removed by simply updating configuration data rather than recompiling code. This dynamic approach allows the system to adapt to new scenarios quickly, improving iteration efficiency while maintaining comprehensive scenario coverage.
Solution Approach 2:
The patent uses template copying where a base template structure is replicated and customized for different scenarios. Instead of creating unique code logic for each scenario, the system copies and configures template elements, significantly reducing the effort required for iteration and maintenance while maintaining versatility across multiple scenarios.
3Adaptability or versatility
If multiple route planning modes and interpretation scenarios are combined, then comprehensive route interpretation is achieved, but the number of combinations increases system complexity
Solution Approach 1:
The patent segments the combination logic into independent template matchings. Each route interpretation template is independently matched with route planning modes based on configuration parameters rather than complex combination logic. This segmentation allows comprehensive coverage of mode-scenario combinations without increasing system complexity.
Data Source
AI summary
This application provides a route display method performed by a computer device. When a route planning request for a route planning mode is obtained from a terminal device, a corresponding route planning result and original interpretation data involved in the current route planning result are determined; a route interpretation scenario corresponding to the original interpretation data and the route planning mode are used to query a corresponding target interpretation template; and a target interpretation element that needs to be displayed when the route planning result is displayed in an electronic map on the terminal device is determined through the target interpretation template, to explain the route planning result by using the target interpretation element. Such a manner of interpreting templates can store, query, modify and synchronize the interpretation templates through a database, so that combinations of various route planning modes and route interpretation scenarios can be decoupled from each other.


