Browser error reporting method and browser error reporting device based on interceptor

A browser and interceptor technology, applied in the computer field, can solve problems such as user inconvenience and achieve the effect of preventing data loss

Inactive Publication Date: 2012-07-04
SHENZHEN KINGDEE MIDDLEWARE
View PDF3 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In order to solve the problem that the user is very inconvenient when the browser accesses the Internet webpage or the operation page of the software when an error occurs in the prior art, the embodiment of the present invention proposes an interceptor-based Method and device for browser error reporting

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
  • Browser error reporting method and browser error reporting device based on interceptor
  • Browser error reporting method and browser error reporting device based on interceptor
  • Browser error reporting method and browser error reporting device based on interceptor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] The first embodiment of the present invention proposes an interceptor-based browser error reporting method, the process of which is as follows figure 1 shown, including:

[0038] Step 101, obtain the return information of the browser;

[0039] Step 102, when the returned information is error information, intercept the returned information.

[0040] In the embodiment of the present invention, by intercepting the error message of the browser, the browser cannot receive the error message returned when accessing the server, so that the browser will not jump to the preset error page. This can effectively prevent the loss of data entered in the browser caused by the browser jumping to the error reporting page, and it can also solve the problem that the browser can only return to the previous page by pressing the back button after jumping to the "this page cannot be displayed" page The problem caused by the complicated operation of the user.

Embodiment 2

[0042] The second embodiment of the present invention is improved on the basis of the aforementioned first embodiment, and its process is as follows figure 2 shown, including:

[0043] Step 201. Obtain the format of the error message returned by the server, and set a corresponding error message according to the format of the error message.

[0044] Because the embodiment of the present invention can be applied not only when the browser accesses common standard webpages, but also when accessing server-side programs to exchange data with the server-side programs, there may be many types of error messages returned by the server-side. Therefore, it is necessary to obtain the format of the error message returned by the server in advance, so as to determine whether the returned message from the server is an error message. Of course, this step is only an optional step in the embodiment of the present invention, and it can also be realized by setting the error message format of the ...

Embodiment 3

[0060] The third embodiment of the present invention proposes an interceptor-based browser error reporting device, the structure of which is as follows image 3 shown, including:

[0061] Obtaining module 1, configured to obtain the return information of the browser;

[0062] The interception module 2 is configured to intercept the returned information when the returned information is error information.

[0063] In the embodiment of the present invention, by intercepting the error message of the browser, the browser cannot receive the error message returned when accessing the server, so that the browser will not jump to the preset error page. This can effectively prevent the loss of data entered in the browser caused by the browser jumping to the error reporting page, and it can also solve the problem that the browser can only return to the previous page by pressing the back button after jumping to the "this page cannot be displayed" page The problem caused by the complicate...

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 a browser error reporting method and a browser error reporting device based on an interceptor, which belong to the technical field of computers. The device comprises an acquisition module and an intercepting module, and the method includes the steps: acquiring return information of a browser; and intercepting the return information when the return information is error reporting information. The browser cannot receive the returned error information when accessing a server by intercepting the error information of the browser, so that the browser cannot turn to a preset error reporting webpage. Therefore, the problem of loss of data inputted into the browser due to the fact that the browser turns to the error reporting webpage can be effectively prevented, the problem of complicated operation of a user due to the fact that the browser can return to a previous page only by the aid of a back key after the browser turns to a 'the page cannot be displayed' page can be also solved, and the error information tips are friendly.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an interceptor-based browser error reporting method and device. Background technique [0002] With the development of technology, browsers are no longer limited to browsing webpages, and more and more software with C / S architecture also use browsers to access servers, so that terminals can access servers without installing clients. In the prior art, various problems often occur when the browser accesses the server, causing the browser to make errors; for example, an operation interface is interrupted due to data errors or server errors. This is especially the case in large systems. The processing method in the prior art is: one or more error reporting webpages are preset on the access server, and when the webpage or operation interface is interrupted due to data error or server error, the browser will directly jump to the corresponding error reporting page. Web page. In orde...

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): G06F17/30
Inventor 杨海悌邓昌峰马振宇
Owner SHENZHEN KINGDEE MIDDLEWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products