Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Exception handling method, exception handling system and exception handling server for webpage front end

An exception handling system and exception handling technology, applied in hardware monitoring, platform integrity maintenance, etc., can solve the problems of slow feedback, long time, inaccurate positioning, and code occupying too much space, and achieve accurate code positioning, fast feedback, The effect of code occupying more space

Active Publication Date: 2015-10-14
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the purpose of the present invention is to provide an exception handling method, an exception handling system, and an exception handling server at the front end of a webpage, which can solve the problems in the prior art such as slow feedback time, excessive code occupation space, and inability to locate accurately

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Exception handling method, exception handling system and exception handling server for webpage front end
  • Exception handling method, exception handling system and exception handling server for webpage front end
  • Exception handling method, exception handling system and exception handling server for webpage front end

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] See figure 2 , Which is a schematic diagram of the workflow of the method for handling exceptions at the front end of a webpage provided by an embodiment of the present invention.

[0040] In step S201, the abnormal information at the front end of the webpage is collected, and the abnormal type of the abnormal information is determined according to the channel for collecting the abnormal information.

[0041] It is understandable that the steps specifically include: collecting the abnormal information at the front end of the webpage through the underlying network components and the collection code block as the collection channel; wherein,

[0042] If the collection channel is a bottom-level component, determine the type of abnormality as a network timeout abnormality; or

[0043] If the collection channel is to collect code blocks, it is determined that the type of exception is a script exception.

[0044] Wherein, the collection code block may be one or a combination of the fol...

Embodiment 2

[0072] See image 3 , Which is a schematic diagram of modules of an exception handling system for a web page front end provided by an embodiment of the present invention.

[0073] As shown in the figure, the exception handling system 10 includes: a collection module 11, an acquisition module 12, a memory 13, an upload module 14, and an update module 15.

[0074] Wherein, the collection module 11 is used to collect abnormal information on the front end of the webpage, and determine the abnormal type of the abnormal information according to the channel through which the abnormal information is collected.

[0075] The collection module 11 includes: a network bottom layer component 111 and a collection code block 112 for collecting abnormal information of different abnormal types. Wherein, the network bottom layer component 111 is used to collect abnormal information on the front end of the webpage and mark the abnormal type as network timeout abnormality; the collection code block 112 i...

Embodiment 3

[0094] See Figure 4 , Shows the module diagram of the exception handling server at the front end of the webpage.

[0095] As shown in the figure, the exception handling server 20 includes: a receiving module 21, a log module 22, an analysis module 23, a vulnerability update module 24, and a sending module 25.

[0096] The receiving module 21 is used to receive the exception list from the exception handling system.

[0097] The log module 22 is used to write the abnormal list received by the receiving module.

[0098] The analysis module 23 is used to read the log module for statistical analysis and generate analysis results.

[0099] Such as Figure 5 As shown, the timeout rate of WEB APP connection in network communication can be counted by day, and the network environment distribution (WIFI, 3G) when the timeout occurs; the communication address with the highest timeout rate of WEB APP in network communication can be counted by day / Methods and the number of affected users; the numb...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an exception handling method, an exception handling system and an exception handling server for a webpage front end. The method comprises the following steps of: collecting exception information at the webpage front end, and judging the exception type according to collecting channels; obtaining an exception keyword according to the exception type; obtaining universal information of a webpage browser; storing the exception keyword and the universal information into an exception information block; and reporting the exception information block to the exception handling server. The exception information is obtained through various channels; the exception information and the universal information are simultaneously stored into the exception information block to be uploaded to the server for generating vulnerability updating data; and the advantages of high feedback speed, small occupied space by codes, high code positioning accuracy and the like are realized.

Description

Technical field [0001] The invention belongs to the field of network data processing, and in particular relates to an exception processing method, an exception processing system and an exception processing server at the front end of a webpage. Background technique [0002] A single page application (Single Page Application, SPA) is an application that loads a single Hyper Text Mark-up Language (HTML) page and dynamically updates the page when the user interacts with the application. The advantages of single-page applications are: efficient and provide a better user experience. The disadvantage is that there will be occasional exceptions, including script (JavaScript) execution errors or network timeouts, resulting in unparseable data, data after parsing does not conform to business logic, or picture pull failures. [0003] In order to avoid the above-mentioned abnormal situations, traditional solutions include the use of OnError events, ReadyStateChange events, or try...catch...co...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/57G06F11/34
Inventor 廖晗成
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products