Front-End Diagnostic Tool for Web Page Error Localization

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In modern web page development, identifying and fixing errors in translated web pages is challenging due to the distributed nature of the web-page-creation process, which involves multiple servers and files, making it time-consuming to locate the source of errors in existing systems.

Innovation Solution

A front-end development tool that captures and displays metadata and performance metrics, allowing users to activate a diagnostic mode to gather and visualize metadata, including call graphs and error messages, facilitating the identification and correction of errors through a popup interface.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If developers sift through log files on various servers to identify error sources, then they can locate the source of errors, but the process becomes extremely time-consuming

Engineering Contradiction:
Improveerror source identification accuracyVSAvoidtime to locate error source
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary actions by automatically generating and distributing trace tokens throughout the distributed system before errors occur. These tokens are embedded in data as it flows through multiple servers, so when an error happens, the trace information is already captured and ready for immediate retrieval, eliminating the need for time-consuming manual log analysis

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback by creating a closed-loop trace mechanism where trace tokens are generated, distributed through the system, collected at the error point, and fed back to the developer through the user interface. This feedback loop provides real-time information about the error's origin and path, enabling rapid identification without manual intervention

Inventive Principle:
Principle #23Feedback

2Adaptability or versatility

If the web page creation process involves multiple back-end servers and files for translation and data gathering, then the web page can be dynamically generated for different users, but it becomes difficult to identify the source of errors

Engineering Contradiction:
Improveweb page localization capabilityVSAvoiderror source detection difficulty
Core Design Contradiction:
Adaptability or versatilityVSDifficulty of detecting and measuring

Solution Approach 1:

The system segments the distributed web page creation process into traceable units by generating unique trace tokens for each server and file involved in the process. Each segment (server, file, translation service) receives and passes along the trace token, creating a segmented but connected traceable path that makes error source identification straightforward despite the system's complexity

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The trace token acts as an intermediary that mediates between the distributed components of the web page creation system. This single traceable element travels through multiple servers, files, and translation services, linking them together in a traceable chain that reveals the error source without requiring direct analysis of each component

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20140325399A1Front-end tool for displaying diagnostic information to facilitate web page development
Publication Date: 2014.10.30 MICROSOFT TECHNOLOGY LICENSING LLC
  • US20140325399A1 patent drawing
  • US20140325399A1 patent drawing
  • US20140325399A1 patent drawing

AI summary

The disclosed embodiments relate to a system that displays diagnostic information to facilitate web page development. While a web page is being assembled at a front-end system using data gathered from one or more back-end systems, the system accumulates metadata associated with the assembly process. Next, the system renders the web page using the gathered data. Finally, the system sends the rendered web page along with the metadata to a browser to be displayed to a user, wherein the browser is configured to selectively display the metadata when the web page is displayed.