Page script monitoring method and device
A page script and page technology, applied in the field of communication, can solve the problem of inaccurate measurement of page script stability, achieve the effect of high accuracy and reduce the probability of false alarms
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0052] This embodiment of the application is described from the server side. The server such as figure 1 logs in the monitoring server or figure 2 application server in .
[0053] refer to Figure 4 , which shows a flow chart of an embodiment of a page script monitoring method according to an embodiment of the present application, which may specifically include the following steps:
[0054] Step 401, receiving a page status message sent by a client during page execution; the page status message includes script execution status information.
[0055] In the embodiment of the present application, the page information obtained from the application server is used in the execution process of the client, and the window.onerror function is used to capture the script error in the execution process of the page. Towards figure 1 logs in the monitoring server or figure 2 The application server in the page sends the page status message during the page execution process, and the pag...
Embodiment 2
[0065] This embodiment of the application is described from the server side.
[0066] refer to Figure 5 , which shows a specific flowchart of an embodiment of a method for monitoring page scripts according to an embodiment of the present application, which may specifically include the following steps:
[0067] Step 501 , receiving a page status message for the page loading process sent by the client when the page loading is completed.
[0068] In the embodiment of this application, the client sends a page request to the corresponding application server, and the application server returns the corresponding page information according to the received page request. After receiving the page information, the client loads the page information in the web page, and the page During loading, the window.onerror function can be used to capture script errors during page loading.
[0069] refer to Image 6 , shows a schematic diagram of sending a page status message according to an embod...
Embodiment 3
[0108] This embodiment of the application is described from the client side.
[0109] refer to Figure 7 , which shows a flow chart of another embodiment of a page script monitoring method according to the embodiment of the present application, which may specifically include the following steps:
[0110] Step 701, determine the script execution status during the page execution process.
[0111] In the embodiment of this application, when a user needs to access a certain page on the client, the client will send a page request to the corresponding application server, and the application server will return the corresponding page information according to the received page request, and the client will After receiving the information, load and run the page in the webpage of the client; use the window.onerror function in the client to capture script errors during page execution. During page execution, as long as a script error is captured, it can be determined that it occurred Scri...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com