Automated Routing Configuration for Single Page Application View Files

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Manual configuration of routing information for view files in single page applications is inefficient, leading to high update frequency and a likelihood of configuration errors, thereby increasing development and maintenance costs.

Innovation Solution

A method that automatically detects updates in view files, determines the updated files, acquires update state information, and updates routing configuration information in a routing configuration file, thereby enabling automatic configuration and reducing errors and maintenance costs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If manual configuration of routing information is performed for each view file, then routing configuration can be achieved, but the efficiency is low and configuration errors are prone to occur

Engineering Contradiction:
Improverouting configuration accuracyVSAvoidrouting configuration efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system performs self-service by automatically detecting view file updates and generating corresponding routing configuration information without human intervention. The update detection module monitors view files, and when changes are detected, the system automatically generates routing configuration code, eliminating the need for manual configuration while ensuring accuracy through automated processes.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary action by proactively detecting view file updates before routing configuration errors can occur. The update detection mechanism continuously monitors view files and triggers automatic routing configuration generation in advance, preventing configuration issues before they affect the application.

Inventive Principle:
Principle #10Preliminary action

2Adaptability or versatility

If a large number of view files are created to enhance user experience, then the single page application functionality is improved, but the development and maintenance cost increases due to repeated manual routing configuration

Engineering Contradiction:
Improvesingle page application functionalityVSAvoiddevelopment and maintenance cost
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system provides universal functionality by implementing a general-purpose update detection and routing configuration generation mechanism that works across all view files in the single page application. This universal system handles routing configuration for any number of view files uniformly, eliminating the need for separate manual configuration processes for each file and reducing overall system complexity.

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

3Duration of action of moving object

If view files are updated frequently to improve application dynamics, then the application responsiveness is enhanced, but routing configuration errors increase due to repeated manual updates

Engineering Contradiction:
Improveapplication update frequencyVSAvoidrouting configuration accuracy
Core Design Contradiction:
Duration of action of moving objectVSReliability

Solution Approach 1:

The system implements feedback by continuously monitoring view file updates and automatically adjusting routing configuration information in response to detected changes. The update detection module provides real-time feedback on view file status, and the system responds by automatically generating updated routing configuration, ensuring accuracy regardless of how frequently views are updated.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS10887171B2Routing configuration method of view files, storage medium, terminal device and apparatus
Publication Date: 2021.01.05 PING AN TECH (SHENZHEN) CO LTD
  • US10887171B2 patent drawing
  • US10887171B2 patent drawing
  • US10887171B2 patent drawing

AI summary

The present application discloses a routing configuration method of view files, a computer readable storage medium, a terminal device and an apparatus, which aims at solving a problem that an efficiency of manually configuring routing information of view file is low and routing configuration errors are prone to occur. The routing configuration method comprises: determining a target single page application; detecting whether there exists an update in a view file of the target single page application; determining an updated target view file if there is the update for the view file of the target single page application; acquiring update state information of the target view file; and updating routing configuration information in a routing configuration file of the target single page application according to the update state information.