Method and system for summarizing 404 request prompts and storage medium
By automatically identifying and classifying the backend interface, dynamically adjusting its importance score and predicting the probability of 404 errors, the problem of 404 error prompts affecting the user experience in large websites is solved, and more efficient user interaction and interface adjustment is achieved.
Patent Information
- Application Number
- CN202411213319.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2025-01-14
AI Technical Summary
A large number of 404 error request prompts popping up in large websites or services will affect the user experience.
By automatically identifying and classifying the background interface that requires 404 prompts, use natural language processing technology to analyze the interface importance score, and dynamically adjust the score based on the interface call frequency and user feedback; collect influencing factors, predict the probability of 404 errors, and generate reminder users to adjust the display. Interface information.
The 404 prompt information is reduced to bounce out, which improves the user experience, allows users to view specific error information by themselves, and reduces the complexity of the interface.
Smart Images

Figure CN119316306A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network technology, and in particular to a method, system and storage medium for aggregating 404 request prompts. Background Art
[0002] In today's Internet environment, website servers need to process a large number of HTTP requests every day.
[0003] Among them, 404 error request is a common error, indicating that the requested resource is not found on the server. This error usually returns a 404 error page to the user.
[0004] However, for large websites or services, a large number of pop-up 404 error request prompts will affect the user experience. Summary of the invention
[0005] To achieve the above-mentioned purpose and other related purposes, the present invention discloses a method for aggregating 404 request prompts, comprising: Automatically identify the backend interfaces that need to display 404 prompts, and display the backend interfaces that need to display 404 prompts; Display the 404 prompt information of the relevant background interface in detail according to the user's interactive information; Collect and store all the factors affecting 404 errors, and predict the probability of 404 errors occurring on each backend interface based on the factors.
[0006] Furthermore, the automatic identification of the background interface that needs to provide a 404 prompt includes: Identify and classify backend interfaces that require 404 prompts; Use natural language processing technology to analyze the functional descriptions and parameters of each backend interface to obtain the importance score of each backend interface; Display each backend interface in order according to the importance score; Collect interface call frequency and user feedback, and dynamically adjust the importance score of each background interface based on the interface call frequency and user feedback.
[0007] Furthermore, dynamically adjusting the importance score of each background interface according to the interface call frequency and user feedback includes: S=log(1+F)*√U+e^(N / 10)-1; Among them, S is the importance score, F is the interface call frequency, U is the user feedback score, and N is the natural language processing technology analysis score.
[0008] Furthermore, the detailed display of the 404 prompt information of the relevant background interface according to the user's interactive information includes: Obtain user interaction information and display the 404 prompt information of the background interface selected by the user in detail; According to the number of prompt information and the element categories of prompt information, the layout complexity of the display interface is analyzed; When the layout complexity is higher than a preset complexity threshold, adjustment information is generated to remind the user to adjust the display interface.
[0009] Furthermore, the analysis of the layout complexity of the display interface according to the number of prompt information and the element category of the prompt information includes: C=Σ(Wi*Ti^1.5)+(n*log(n))^0.8; Where C is the layout complexity, Wi is the weight of the i-th element type, Ti is the number of elements of this type, and n is the total number of elements.
[0010] Further, the predicting the probability of a 404 error occurring in each background interface according to the error information includes: P(r)=1 / (1+e^-(w0+w1x1+w2x2+...+xjwj+...+wmxm)), where P(r) is the probability of the rth 404 error occurring, xj is the influencing factor, and wj is the corresponding weight.
[0011] On the other hand, the present invention also provides a 404 error handling system based on intelligent analysis and adaptive display, comprising: The interface identification module is used to automatically identify the background interface that needs to be prompted with a 404 error, and display the background interface that needs to be prompted with a 404 error; The prompt information display module is used to display the 404 prompt information of the relevant background interface in detail according to the user's interactive information; The 404 interface prediction module is used to collect and store all the influencing factors of 404, and predict the probability of 404 errors occurring in each background interface based on the influencing factors.
[0012] On the other hand, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which implements the above-described method when the program is executed by a processor.
[0013] Through the above technical solution, the background interface that generates the 404 prompt is first automatically identified, and the identified background interface that generates the 404 error is displayed, so that the user can view the background interface that needs to be viewed. Then, according to the user's interactive information, the 404 information of the background interface selected by the user is displayed in detail, so that the user can view the specific error information. The 404 interface prediction module is used to collect and store all influencing factors that cause 404 problems, and predict the probability of 404 errors occurring in each background interface based on the collected influencing factors, so that the user can pay attention to the background interface in advance according to the probability, reducing the situation where a large number of 404 prompt information pops up to affect the user. The user can click to view as needed, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, among which:
[0015] Figure 1 A flowchart of a method for summarizing 404 request prompts. DETAILED DESCRIPTION
[0016] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0017] Reference Figure 1 , an embodiment of the present invention provides a method for aggregating 404 request prompts, including: Automatically identify the backend interfaces that need to display 404 prompts, and display the backend interfaces that need to display 404 prompts; Display the 404 prompt information of the relevant background interface in detail according to the user's interactive information; Collect and store all the factors affecting 404 errors, and predict the probability of 404 errors occurring on each backend interface based on the factors.
[0018] As described above, the background interface that generates the 404 prompt is first automatically identified, and the identified background interface that generates the 404 error is displayed, so that the user can view the background interface that needs to be viewed. Then, based on the user's interactive information, the 404 information of the background interface selected by the user is displayed in detail, so that the user can view the specific error information. The 404 interface prediction module is used to collect and store all influencing factors that cause 404 problems, and predict the probability of 404 errors occurring in each background interface based on the collected influencing factors, so that the user can pay attention to the background interface in advance based on the probability, reducing the situation where a large number of 404 prompt messages pop up to affect the user. The user can click to view as needed, thereby improving the user experience.
[0019] The automatic identification of the background interface that needs to issue a 404 prompt includes: Identify and classify backend interfaces that require 404 prompts; Use natural language processing technology to analyze the functional descriptions and parameters of each backend interface to obtain the importance score of each backend interface; Display each backend interface in order according to the importance score; Collect interface call frequency and user feedback, and dynamically adjust the importance score of each background interface based on the interface call frequency and user feedback, including: S=log(1+F)*√U+e^(N / 10)-1; Among them, S is the importance score, F is the interface call frequency, U is the user feedback score, and N is the natural language processing technology analysis score.
[0020] As described above, the background interface that generated the 404 error is first identified, and then the functional description and parameters of the background interface that generated the 404 error are identified using natural language recognition technology, and a preliminary importance score is obtained. The background interfaces are arranged in order from large to small according to the importance score, so that users can view the background interfaces according to importance. At the same time, by obtaining the interface call frequency and user feedback scores, the importance score is updated in real time, so that the importance can be adjusted according to actual conditions, thereby improving the user experience.
[0021] In addition, the 404 prompt information of the relevant background interface is displayed in detail according to the user's interactive information, including: Obtain user interaction information and display the 404 prompt information of the background interface selected by the user in detail; According to the number of prompt information and the element categories of prompt information, the layout complexity of the display interface is analyzed; When the layout complexity is higher than a preset complexity threshold, adjustment information is generated to remind the user to adjust the display interface.
[0022] As mentioned above, the specific value of the complexity threshold is set by those skilled in the art and will not be described in detail here.
[0023] As mentioned above, the user's interactive information includes existing technical means for selecting a target, such as mouse clicks and tablet clicks, which will not be described in detail here.
[0024] Specifically, according to the number of prompt information and the element categories of the prompt information, the layout complexity of the display interface is analyzed to include: C=Σ(Wi*Ti^1.5)+(n*log(n))^0.8; Where C is the layout complexity, Wi is the weight of the i-th element type, Ti is the number of elements of this type, and n is the total number of elements.
[0025] Specifically, the specific type and number of elements are determined by the type and number of elements contained in the 404 information, and the specific weight value is set by those skilled in the art, which will not be described in detail here.
[0026] In addition, the probability of 404 errors occurring in each backend interface is predicted based on the error information, including: P(r)=1 / (1+e^-(w1x1+w2x2+...+xjwj+...+wmxm)), where P(r) is the probability of the rth 404 error occurring, xj is the influencing factor, and wj is the corresponding weight. The specific weight value is set by a person skilled in the art and will not be repeated here.
[0027] The embodiment of the present invention provides a method for summarizing 404 request prompts. First, the background interface that generates the 404 error is identified. Then, the function description and parameters of the background interface that generates the 404 error are identified using natural language recognition technology, and a preliminary importance score is obtained. The background interfaces are arranged in order from large to small according to the importance score, so that users can view the background interfaces according to importance. At the same time, by obtaining the call frequency of the interface and the score of user feedback, the importance score is updated in real time, so that the importance can be adjusted according to the actual situation, thereby improving the user experience.
[0028] The present invention also provides a system for aggregating 404 request prompts, comprising: The interface identification module is used to automatically identify the background interface that needs to be prompted with a 404 error, and display the background interface that needs to be prompted with a 404 error; The prompt information display module is used to display the 404 prompt information of the relevant background interface in detail according to the user's interactive information; The 404 interface prediction module is used to collect and store all the influencing factors of 404, and predict the probability of 404 errors occurring in each background interface based on the influencing factors.
[0029] The present invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method described above is implemented. Those skilled in the art will appreciate that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined.
[0030] For the method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0031] It can be known from the description of the above implementation modes that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server or a network device, etc.) to execute the methods described in the various implementation modes of the present application or certain parts of the implementation modes.
[0032] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for aggregating 404 request prompts, characterized in that: include: Automatically identify the backend interfaces that need to display 404 prompts, and display the backend interfaces that need to display 404 prompts; Display the 404 prompt information of the relevant background interface in detail according to the user's interactive information; Collect and store all the factors affecting 404 errors, and predict the probability of 404 errors occurring on each backend interface based on the factors.
2. The method according to claim 1, characterized in that: The background interface for automatically identifying the need for 404 prompts includes: Identify and classify backend interfaces that require 404 prompts; Use natural language processing technology to analyze the functional descriptions and parameters of each backend interface to obtain the importance score of each backend interface; Display each backend interface in order according to the importance score; Collect interface call frequency and user feedback, and dynamically adjust the importance score of each background interface based on the interface call frequency and user feedback.
3. The method according to claim 2, characterized in that The dynamically adjusting the importance score of each background interface according to the interface call frequency and user feedback includes: S=log(1+F)*√U+e^(N / 10)-1; Among them, S is the importance score, F is the interface call frequency, U is the user feedback score, and N is the natural language processing technology analysis score.
4. The method according to claim 1, characterized in that: The detailed display of the 404 prompt information of the relevant background interface according to the user's interactive information includes: Obtain user interaction information and display the 404 prompt information of the background interface selected by the user in detail; According to the number of prompt information and the element categories of prompt information, the layout complexity of the display interface is analyzed; When the layout complexity is higher than a preset complexity threshold, adjustment information is generated to remind the user to adjust the display interface.
5. The method according to claim 4, characterized in that The layout complexity of the display interface obtained by analyzing the number of prompt information and the element category of the prompt information includes: C=Σ(Wi*Ti^1.5)+(n*log(n))^0.8; Where C is the layout complexity, Wi is the weight of the i-th element type, Ti is the number of elements of this type, and n is the total number of elements.
6. The method according to claim 1, characterized in that The predicting of the probability of a 404 error occurring in each backend interface according to the error information includes: P(r)=1 / (1+e^-(w0+w1x1+w2x2+...+xjwj+...+wmxm)), where P(r) is the probability of the rth 404 error occurring, xj is the influencing factor, and wj is the corresponding weight.
7. A system for aggregating 404 request prompts, characterized in that: include: The interface identification module is used to automatically identify the background interface that needs to be prompted with a 404 error, and display the background interface that needs to be prompted with a 404 error; The prompt information display module is used to display the 404 prompt information of the relevant background interface in detail according to the user's interactive information; The 404 interface prediction module is used to collect and store all the influencing factors of 404, and predict the probability of 404 errors occurring in each background interface based on the influencing factors.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method described in any one of claims 1 to 6 is implemented.