Intelligent quality scoring method, system and program for network range site and system

Through Node.js and Puppeteer simulation browsers, combined with Lighthouse tools for automated inspection, the problem of inefficiency of traditional manual testing is solved, the intelligent quality score of network shooting range sites is realized, the accuracy, efficiency and comprehensiveness of detection is improved, and the product is supported Continuous optimization of quality.

CN119071180APending Publication Date: 2024-12-03SAINING WANGAN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411089721.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

Traditional network shooting range site inspection and evaluation methods rely on manual testing, which is inefficient, difficult to conduct comprehensive and in-depth inspections, and cannot meet the needs of high complexity and high security.

Method used

The Node.js middle layer and Puppeteer simulate the browser, combined with Lighthouse tool for automated detection, collect performance data, JavaScript error analysis and network request monitoring, and intelligently score based on preset weights.

Benefits of technology

It realizes comprehensive, intelligent and automated detection of web pages and system performance, significantly improves detection value and accuracy, simplifies report interpretation, quickly locates problems, reduces testing costs, shortens cycles, and ensures the stability and reliability of the product.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071180A_ABST
    Figure CN119071180A_ABST
Patent Text Reader

Abstract

The invention discloses a network range site and system intelligent quality scoring method, system and program. The method comprises the following steps: verifying a URL (Uniform Resource Locator) of a site to be scored; the data of the URL passing the verification is sent to a Node.js intermediate layer; in the Node.js, a Puppeteer is used for simulating and browsing the received URL, and the URL is detected; carrying out collection and analysis processing on a detection result, specifically comprising the following steps: collecting and evaluating performance data through Lighthouse; capturing, recording and analyzing JavaScript errors, warnings and information; capturing and analyzing all network requests sent by the site; scoring the sites and the system according to an analysis processing result in combination with a preset intelligent scoring standard; according to the invention, the accuracy and reliability of a network target range site and system quality scoring result can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a method, system and program for intelligent quality scoring of sites and systems, and in particular to a method, system and program for intelligent quality scoring of sites and systems in a network target range. Background Art

[0002] Cyber ​​Range is a technology that simulates and reproduces the network architecture, system equipment, operating status and operating environment of business processes in real cyberspace.

[0003] With the rapid development of network technology, the importance of cyber ranges, as a key platform for simulating real network environments, training network security skills, and evaluating system defense capabilities, is increasing day by day. Cyber ​​ranges not only provide a practical exercise venue for educational institutions, enterprises, and national security departments, but also promote the research and development and innovation of network security technology.

[0004] However, with the increasing complexity of network ranges and the diversification of user needs, how to ensure the high performance, high availability and high security of range sites and pages has become an urgent problem to be solved. Traditional network range site detection and evaluation methods often rely on manual testing, which is not only inefficient, but also difficult to cover all possible user scenarios and potential problems. Manual testing is often limited by the experience, time and energy of testers, and it is difficult to conduct comprehensive and in-depth detection of sites, especially when facing large-scale and highly complex network ranges. Its limitations are particularly obvious. In addition, with the continuous evolution of network attack methods, the security requirements for range sites are also getting higher and higher, and traditional manual testing can no longer meet this demand. Summary of the invention

[0005] Purpose of the invention: In view of the problems existing in the above-mentioned prior art, the purpose of the present invention is to provide a network target range site and system intelligent quality scoring method, system and program that can improve the accuracy and reliability of scoring results.

[0006] Technical solution: To achieve the above-mentioned invention object, the present invention adopts the following technical solution:

[0007] The network range site and system intelligent quality scoring method described in the present invention comprises the following steps:

[0008] Step 1: Verify the URL of the site to be rated;

[0009] Step 2: Send the verified URL link to the Node.js middle layer;

[0010] Step 3: Use Puppeteer in Node.js to simulate browsing the received URL and perform detection;

[0011] Step 4: Collect and analyze the test results, including:

[0012] Collect and evaluate performance data through Lighthouse;

[0013] Capture and record analysis of JavaScript errors, warnings and information;

[0014] Capture and analyze all network requests made by your site.

[0015] Furthermore, the step 1 specifically includes, through the front-end JavaScript, verifying the format of the URL of the site to be scored, ensuring that it is a valid HTTP or HTTPS protocol address, and checking whether the URL falls within the domain name range managed by the network range.

[0016] Furthermore, the step 3 is specifically that the Node.js middle layer uses Puppeteer to create a new browser instance and navigate to the received URL. Puppeteer is integrated through the Chrome DevTools Protocol to simulate the user browsing behavior.

[0017] Furthermore, the performance data collection and evaluation through Lighthouse described in step 4 is specifically as follows:

[0018] Utilize the data processing library to extract multi-dimensional performance indicators; the performance indicators include site loading time, resource loading speed, DOM operation efficiency and event processing time;

[0019] Use page.evaluate() in combination with the browser's Performance API to collect performance data corresponding to performance indicators;

[0020] Performance data was evaluated using Lighthouse.

[0021] Furthermore, the capture, recording and analysis of JavaScript errors, warnings and information described in step 4 is specifically,

[0022] Capture and record JavaScript errors, warnings, and messages generated during site execution;

[0023] For the JavaScript errors, log analysis tools are used to analyze the error types and sources, analyze error trends, and count frequencies to help locate the problems.

[0024] Furthermore, the step 4 captures and analyzes all network requests sent by the site, specifically,

[0025] Capture all network requests made by the site, including XHR, Fetch, and automatically loaded resources;

[0026] Collect key data of the request, including: the requested URL, method, header information and response status;

[0027] The success of the request is determined by the status code and the response body; for failed requests, information is recorded and a failure report is generated.

[0028] Furthermore, the step 5 specifically includes assigning preset weights to performance data, JavaScript errors, warnings and information, and network requests, scoring them respectively according to preset scoring criteria, and weightedly adding the three scores to obtain the scores of the site and system.

[0029] Based on the same inventive concept, the present invention also provides a network range site and system intelligent quality scoring system, including:

[0030] Verification module, used to verify the URL of the site to be rated;

[0031] The transport module is used to send the data of the verified URL to the Node.js middle layer;

[0032] The simulation detection module is used to use Puppeteer in Node.js to simulate browsing the received URL and perform detection;

[0033] The data analysis module is used to collect and analyze the test results, including: collecting and evaluating performance data through Lighthouse; capturing, recording and analyzing JavaScript errors, warnings and information; capturing and analyzing all network requests issued by the site;

[0034] The intelligent scoring module is used to score sites and systems based on the analysis and processing results combined with preset intelligent scoring standards.

[0035] Based on the same inventive concept, the present invention also provides a computing device, including: one or more processors, one or more memories and one or more programs, wherein the programs are stored in the memories and configured to be executed by the processors, and when the programs are loaded into the processors, the steps of the network target range site and system intelligent quality scoring method according to any one of the above items are implemented.

[0036] Based on the same inventive concept, the present invention also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the network target range site and system intelligent quality scoring method according to any of the above items.

[0037] Beneficial effects: Compared with the prior art, the present invention realizes comprehensive, intelligent and automated detection of web page and system performance by integrating Lighthouse and Puppeteer, and introduces an intelligent scoring mechanism to significantly improve the detection value. The system is based on Lighthouse in-depth analysis, covering key dimensions such as loading performance and accessibility, ensuring comprehensive and accurate evaluation. Puppeteer simulates user behavior, deeply explores problems such as dynamic loading and interactive fluency, and enhances the depth and efficiency of testing. The intelligent scoring module quantifies the evaluation performance through preset weights and standardized processing, simplifies report interpretation, and provides developers with intuitive optimization suggestions. The scoring mechanism also promotes rapid problem location. By analyzing network requests and JS error logs, the development team can quickly identify and solve front-end and back-end problems to ensure product stability and reliability. At the same time, if the team regularly conducts automated detection combined with intelligent scoring feedback, it provides the team with real-time performance monitoring and continuously optimizes product performance and user experience. Compared with manual testing, the present invention greatly reduces testing costs, shortens cycles, reduces human errors, and accelerates product launch. In summary, the present invention can improve the accuracy, efficiency and comprehensiveness of detection and scoring, and also provides strong support for continuous improvement and optimization of product quality through an intelligent scoring mechanism. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 The figure is a flow chart of a method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0039] The technical solution of the present invention will be clearly and completely described below in conjunction with the accompanying drawings and specific embodiments.

[0040] This example builds a comprehensive and efficient pre-release scoring solution for Web applications. It is a complete solution from inputting scoring links, detecting sites, collecting site data logs to data storage analysis, and generating scoring reports. This solution combines the Lighthouse tool of the Chrome browser with the Puppeteer library in the Node.js environment to simulate the browser environment of real users and ensure the accuracy and reliability of the scoring results.

[0041] As attached Figure 1 As shown, a network range site and system intelligent quality scoring method disclosed in an embodiment of the present invention includes the following steps:

[0042] Step 1: Verify the URL of the site to be rated;

[0043] Step 2: Send the data of the verified URL to the Node.js middle layer;

[0044] Step 3: Use Puppeteer in Node.js to simulate browsing the received URL and perform detection;

[0045] Step 4: Collect and analyze the test results, including:

[0046] Collect and evaluate performance data through Lighthouse;

[0047] Capture and record analysis of JavaScript errors, warnings and information;

[0048] Capture and analyze all network requests made by the site;

[0049] Step 5: Score the site and system based on the analysis and processing results combined with the preset intelligent scoring criteria.

[0050] Specifically, step 1 specifically includes inputting the URL to be scored: the user enters the URL to be scored through the scoring page of the web portal. First, the URL format is verified to ensure that it is a valid HTTP or HTTPS protocol address, and to check whether the URL belongs to the domain name range managed by the network range.

[0051] Step 2 specifically includes: Form validation and submission: After the URL format is validated by front-end JavaScript, the user clicks the "Start Rating" button. This action triggers an AJAX request, which securely sends the URL data to the back-end Node.js middle service layer.

[0052] In step 2, not only is the verified URL address confirmed, but it also involves accurately passing this valid URL address to the Node.js middle layer so that the layer can be fully prepared for subsequent detection work. This step ensures the smooth connection of the detection process and lays a solid foundation for subsequent operations such as using Puppeteer for deep browsing detection and Lighthouse for performance evaluation.

[0053] Step 3 specifically includes, simulating browser environment detection: after the Node.js intermediate service layer receives the URL, it uses Puppeteer to create a new browser instance and navigates to the URL specified by the user.

[0054] Puppeteer is deeply integrated with the Chrome DevTools Protocol (CDP), which allows it to simulate user browsing behavior and capture detailed performance data and interaction information for your site.

[0055] Step 4 specifically includes, performance data collection: use page.evaluate() combined with the browser's Performance API to collect multi-dimensional performance data including site loading time, resource loading time, event processing time, etc. Use the Lighthouse tool (which can be integrated and called in Puppeteer) to conduct a more comprehensive performance evaluation, including accessibility, best practices, and other aspects.

[0056] JavaScript error and warning collection: By listening to the page.on('console',...) event, it captures and records all JavaScript errors, warnings, and information generated during the execution of the site to help developers locate problems.

[0057] Network request data capture: listen to page.on('request',...) events, capture all network requests issued by the site, including XHR (XMLHttpRequest), Fetch and automatically loaded resources (images, CSS, etc.), and collect key data such as the requested URL, method, header information and response status.

[0058] Step 5 specifically assigns preset weights to performance data, JavaScript errors, warnings and information, and network requests, scores them respectively according to preset scoring criteria, and weightedly adds the three scores to obtain the scores of the site and system.

[0059] Before the URL data is sent to the Node.js middle layer, in the process of data collection and processing, multi-dimensional data, including detailed performance indicators, JavaScript error logs, and network request details, are carefully classified and organized. This process is encapsulated in a highly structured JSON format, which not only ensures the clear hierarchy and integrity of the data, but also greatly facilitates seamless exchange and efficient analysis across systems, ensuring that each record can accurately map the actual operating status of the site.

[0060] Then, with the help of Node.js' powerful intermediate service layer, we used the built-in HTTPS module to build a secure data transmission channel. The HTTPS protocol, relying on the solid fortress of SSL / TLS encryption technology, effectively defends the privacy and integrity of the data transmission process and prevents any potential eavesdropping or tampering. When building the request, we accurately specified the API interface URL of the self-test server and carefully set the request header, such as Content-Type clearly indicating that the data format is application / json, and Authorization ensures that the authentication of the request is safe. Then, the carefully encapsulated data is used as the request body and safely transmitted to the self-test server through this encrypted and secure channel.

[0061] After receiving the request, the self-test server immediately starts a series of rigorous verification processes, including identity authentication and request header checks, to ensure the legitimacy and accuracy of the data. After the verification is passed, the server will use its powerful data parsing capabilities to organize the data in the request body in an orderly manner according to the preset data model, and store it securely in the database. The design of the database fully considers the type and purpose of the data, and realizes efficient organization and convenient query of data by dividing it into different tables or collections.

[0062] During the data collection and analysis phase, we first focused on performance data, using data processing libraries such as lodash and d3.js to accurately extract key performance indicators such as site loading time, resource loading speed, DOM operation efficiency, and so on, and then generate a detailed performance evaluation report to provide developers with a strong basis for optimizing site performance.

[0063] For JavaScript error data, we use log analysis tools such as ELK Stack and Splunk to deeply analyze error types and sources, and provide functions such as error trend analysis and frequency statistics to help developers quickly locate and solve problems.

[0064] We have carefully classified and monitored network request data, not only recording detailed information about HTTP requests and responses, but also accurately judging the success or failure of interface requests through status codes and response bodies. For failed interface requests, we have specially recorded relevant information and generated detailed failure reports, which are promptly fed back to the detector to ensure that the problem can be promptly addressed and handled. This process not only improves the accuracy of interface monitoring, but also provides strong support for ensuring business stability.

[0065] The core principle of this embodiment is to deeply integrate the Lighthouse performance audit tool of the Chrome browser and the Puppeteer automation control library on the Node.js platform to jointly create an intelligent detection system that highly simulates the browsing behavior of real users. It not only accurately reproduces the complex interactive environment of modern browsers, but also has powerful data collection and analysis capabilities. During the detection process, Puppeteer acts as a bridge to drive the Chrome browser instance, simulating the entire process of users accessing the network target range site to ensure that the detection environment is as close to the actual usage scenario as possible. In this process, the Lighthouse tool is fully utilized. It deeply analyzes each stage of site loading, from first content drawing (FCP) to full loading (LCP), and then to interactive readiness (TTI), and comprehensively evaluates the site. At the same time, it also automatically collects network request details (including request success rate, response time, etc.), as well as errors and warning information during JavaScript execution, to ensure that all key performance indicators are covered without omission. After completing data collection, the built-in algorithm engine will conduct an in-depth analysis of these data to identify potential performance bottlenecks, resource waste points, and problems that may affect user experience.

[0066] This embodiment gives a comprehensive score to the site based on the analysis and processing results and predefined weights (30% for performance, 40% for JS errors / warnings, and 30% for network requests). First, the scores of each dimension are standardized to 0-100 points. The performance score is obtained directly through the Lighthouse tool. The score has been standardized to 0-100 points, which directly reflects the key performance indicators of the site such as loading speed and interactive performance. We multiply this score directly by 30%; the comprehensive assessment of JS errors / warnings (score ≥ 60 points) is multiplied by 40%; for network requests, we deduct 5 points (with an upper limit) for each failed network request based on the number of failed requests, and then multiply it by 30%. Finally, the weighted scores are summed to obtain the final intelligent score, which fully reflects the quality of the site.

[0067] Specific:

[0068] Performance score (obtained through Lighthouse): 85 points

[0069] JavaScript Error / Warning Analysis:

[0070] 5 warnings detected (2 points deducted for each warning, but warnings do not bring the score below 60 points)

[0071] No serious errors detected

[0072] Assume that without warnings, the JavaScript score is 90

[0073] Network request monitoring:

[0074] 3 failed requests detected (5 points will be deducted for each failed request, with a maximum deduction of 50 points)

[0075] Assume that if there are no failed requests, the network request score is 100 points

[0076] Calculation process

[0077] 1. Performance score (30%)

[0078] Performance score: 85 points

[0079] Weighted score: 85×0.3=25.5 points (rounded to one decimal place)

[0080] 2. JavaScript Error / Warning Score (40%)

[0081] Initial hypothesis score: 90 points

[0082] Warning deduction: 5×2=10 points (however, since the minimum score guarantee is 60 points, the actual deduction needs to take this limitation into account)

[0083] Adjusted score: Since 90 minus 10 points is still higher than 60 points, the JavaScript score is

[0084] 80 points

[0085] Weighted score: 80 × 0.4 = 32 points

[0086] 3. Network request score (30%)

[0087] Initial score: 100 points

[0088] Failed request penalty: 3×5=15 points (does not exceed the penalty limit)

[0089] Adjusted score: 100-15=85 points

[0090] Weighted score: 85×0.3=25.5 points (rounded to one decimal place)

[0091] 4. Final intelligent scoring

[0092] Add the weighted scores of the three dimensions: 25.5+32+25.5=83 points

[0093] Therefore, the final Smart Score of the site is 83. This score combines performance, JavaScript code quality, and network requests to provide a comprehensive and objective quality assessment of the site.

[0094] Subsequently, a detailed scoring report is automatically generated based on the analysis results, and optimization suggestions and improvement directions are also proposed for specific issues. This report will be directly fed back to the scorer, helping them to quickly locate the problem and motivate them to take corresponding measures to optimize the site, thereby effectively improving the overall performance and user experience of the website.

[0095] Use the Puppeteer automation control library on the Node.js platform to open the site page, get the entry page, and close the page. The sample code is as follows:

[0096] const puppeteer = require('puppeteer');

[0097] (async () => {

[0098] / / Start the browser

[0099] const browser = await puppeteer.launch({

[0100] headless: false, args: ['--no-sandbox', '--disable-setuid-sandbox']});

[0101] / / Open a new page

[0102] const page = await browser.newPage();

[0103] / / Navigate to the specified URL await page.goto('https: / / example.com');

[0104] / / You can add more operations here, such as screenshots, form filling, clicks, etc.

[0105] / / Close the page

[0106] await page.close();

[0107] / / Close the browser

[0108] await browser.close();

[0109] })();

[0110] Use Puppeteer and Lighthouse in Node.js to obtain site performance data, such as first contentful paint (FCP), largest contentful paint (LCP), time to interactive (TTI), and site page full load time, FCP (first contentful paint) and other data. You need to execute additional scripts through Puppeteer before or after the Lighthouse test to obtain this value.

[0111] The sample code is as follows:

[0112]

[0113]

[0114]

[0115] You can also use performance to get all the relevant data about the site page performance. For example, the sample code for getting FCP and page complete loading time is as follows:

[0116]

[0117]

[0118] Using Puppeteer in Node.js to get data related to JavaScript errors on a site page can be achieved by listening to the console events of the page. When errors occur when JavaScript code is running in a page, these errors are usually output to the console through the console.error method. Puppeteer allows you to listen to these events and capture these error information.

[0119] The following is an example code for using Puppeteer to capture JavaScript errors on a site page:

[0120]

[0121]

[0122] Use Puppeteer in Node.js to obtain business request data initiated by site pages and calculate the success rate of interface requests, which usually involves monitoring the network requests of the page.

[0123] Puppeteer's page.on('request') and page.on('response') events can achieve this. However, to calculate the success rate of interface requests, you also need to track whether the request is successfully completed (that is, whether the response status code is in the range of 200-299).

[0124] The sample code is as follows:

[0125]

[0126]

[0127] The above method not only collects the key performance data of the site, accurately tracks the success rate of interface requests and detailed JavaScript error information, but also ensures the comprehensiveness and accuracy of data collection. In the data collection stage when the URL data is sent to the Node.js middle layer, all key data are efficiently encapsulated into structured data packets once generated, and securely transmitted to the preset network target range intelligent scoring server interface through the encrypted HTTP / HTTPS protocol. This process strictly guarantees the security and integrity of the data during transmission and prevents the risk of data leakage or tampering. After receiving the data, the server first starts the intelligent data cleaning engine. Relying on complex algorithms and sophisticated rule sets, the engine automatically identifies and eliminates redundant, invalid or malformed data entries, such as duplicate request records, abnormal data generated by network fluctuations, etc., thereby significantly improving the accuracy and efficiency of subsequent data analysis.

[0128] Entering the data analysis phase, we adopted specialized processing strategies for different types of data:

[0129] For performance data, we use efficient data processing libraries such as lodash to accurately extract core performance indicators such as site loading time, resource loading speed, DOM operation efficiency, etc., and use visualization tools such as d3.js to generate intuitive performance evaluation reports to provide developers with intuitive optimization suggestions and performance improvement directions.

[0130] For JavaScript error data, it integrates industry-leading log analysis tools such as ELK Stack and Splunk to deeply analyze error types, sources, and distribution, provide error frequency statistics, and help developers quickly locate and solve potential JavaScript problems.

[0131] In the processing of network request data, we have achieved detailed classification and monitoring. Not only does it record detailed information about HTTP requests and responses, but it also accurately determines the success or failure of interface requests through intelligent analysis of status codes and response body content. For failed interface requests, we have specially set up a detailed failure record mechanism, and promptly notify the detector through the final report to ensure that the problem is quickly noticed and resolved. This process greatly improves the real-time and accuracy of interface monitoring, and provides solid technical support for the continuous optimization of business stability and user experience.

[0132] Entering the smart scoring stage, the results of performance evaluation, JavaScript error analysis and network request monitoring are combined according to predefined weight distribution to obtain a site quality score, of which performance accounts for 30%, JavaScript errors / warnings account for 40%, and network requests account for 30%. First, we ensure that the scores of each dimension are standardized to a unified scale of 0-100 points for easy comparison. Next, we calculate the weighted scores: the performance score is directly obtained through the Lighthouse tool. The score has been standardized to 0-100 points and directly reflects the key performance indicators such as the loading speed and interactive performance of the site. We multiply this score by 30% to obtain the weighted score of the performance dimension. The JavaScript error / warning score is comprehensively evaluated based on the number and severity of errors / warnings, while ensuring that the minimum score is not less than 60 points, and then multiplied by 40%; for network requests, we deduct 5 points for each failed request based on the number of failed requests (the deduction has an upper limit to ensure that the total score does not exceed the range), and then multiply by 30%. Finally, we add the weighted scores of these three dimensions to obtain a comprehensive final smart score that reflects the overall quality of the site or system. This scoring system can effectively measure site performance, code quality, and network requests, providing raters with an intuitive and objective quality assessment.

[0133] Finally, the results of performance evaluation, JavaScript error analysis, and network request monitoring are combined into a comprehensive, professional site scoring report, providing raters with detailed problem analysis and optimization suggestions, helping them to quickly locate and resolve existing problems, thereby effectively improving the overall performance of the website and user experience.

[0134] Based on the same inventive concept, this embodiment also provides a network range site and system intelligent quality scoring system, including:

[0135] Verification module, used to verify the URL of the site to be rated;

[0136] The transport module is used to send the data of the verified URL to the Node.js middle layer;

[0137] The simulation detection module is used to use Puppeteer in Node.js to simulate browsing the received URL and perform detection;

[0138] The data analysis module is used to collect and analyze the test results, including: collecting and evaluating performance data through Lighthouse; capturing, recording and analyzing JavaScript errors, warnings and information; capturing and analyzing all network requests issued by the site;

[0139] The intelligent scoring module is used to score sites and systems based on the analysis and processing results combined with preset intelligent scoring standards.

[0140] Based on the same inventive concept, this embodiment also provides a computing device, including: one or more processors, one or more memories, and one or more programs, wherein the programs are stored in the memories and configured to be executed by the processors, and when the programs are loaded into the processors, the steps of the network target range site and system intelligent quality scoring method according to any one of the above items are implemented.

[0141] Based on the same inventive concept, this embodiment also provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the network target range site and system intelligent quality scoring method according to any of the above items.

Claims

1. A network range site and system intelligent quality scoring method, It is characterized in that The following steps are involved: Step 1: Verify the URL of the site to be rated; Step 2: Send the verified URL link to the Node.js middle layer; Step 3: Use Puppeteer in Node.js to simulate browsing the received URL and perform detection; Step 4: Collect and analyze the test results, including: Collect and evaluate performance data through Lighthouse; Capture and record analysis of JavaScript errors, warnings and information; Capture and analyze all network requests made by the site; Step 5: Score the site and system based on the analysis and processing results combined with the preset intelligent scoring criteria.

2. According to claim 1, the network range site and system intelligent quality scoring method, It is characterized in that Specifically, the step 1 is to verify the format of the URL of the site to be scored through front-end JavaScript to ensure that it is a valid HTTP or HTTPS protocol address, and check whether the URL belongs to the domain name range managed by the network range.

3. The network range site and system intelligent quality scoring method according to claim 1, It is characterized in that Specifically, the step 3 is that the Node.js middle layer uses Puppeteer to create a new browser instance and navigates to the received URL. Puppeteer is integrated through the Chrome DevTools Protocol to simulate the user browsing behavior.

4. The network range site and system intelligent quality scoring method according to claim 1, It is characterized in that The performance data collection and evaluation through Lighthouse described in step 4 is as follows: Utilize the data processing library to extract multi-dimensional performance indicators; the performance indicators include site loading time, resource loading speed, DOM operation efficiency and event processing time; Use page.evaluate() in combination with the browser's Performance API to collect performance data corresponding to performance indicators; Performance data was evaluated using Lighthouse.

5. The network range site and system intelligent quality scoring method according to claim 1, It is characterized in that The capture, recording and analysis of JavaScript errors, warnings and information described in step 4 is as follows: Capture and record JavaScript errors, warnings, and messages generated during site execution; For the JavaScript errors, log analysis tools are used to analyze the error types and sources, analyze error trends, and count frequencies to help locate the problems.

6. The network range site and system intelligent quality scoring method according to claim 1, It is characterized in that Step 4 captures and analyzes all network requests from the site, specifically, Capture all network requests made by the site, including XHR, Fetch, and automatically loaded resources; Collect key data of the request, including: the requested URL, method, header information and response status; The success of the request is determined by the status code and the response body; for failed requests, information is recorded and a failure report is generated.

7. The network range site and system intelligent quality scoring method according to claim 1, It is characterized in that Specifically, step 5 is to assign preset weights to performance data, JavaScript errors, warnings and information, and network requests, score them respectively according to preset scoring criteria, and add the three scores weightedly to obtain the scores of the site and system.

8. A network range site and system intelligent quality scoring system, It is characterized in that include: Verification module, used to verify the URL of the site to be rated; The transport module is used to send the data of the verified URL to the Node.js middle layer; The simulation detection module is used to use Puppeteer in Node.js to simulate browsing the received URL and perform detection; The data analysis module is used to collect and analyze the test results, including: collecting and evaluating performance data through Lighthouse; capturing, recording and analyzing JavaScript errors, warnings and information; capturing and analyzing all network requests issued by the site; The intelligent scoring module is used to score sites and systems based on the analysis and processing results combined with preset intelligent scoring standards.

9. A computing device, It is characterized in that include: One or more processors, one or more memories, and one or more programs, wherein the programs are stored in the memories and configured to be executed by the processors, and when the programs are loaded into the processors, the steps of the network range site and system intelligent quality scoring method according to any one of claims 1 to 7 are implemented.

10. A computer program product comprising a computer program / instructions, It is characterized in that When the computer program / instructions are executed by a processor, the steps of the network range site and system intelligent quality scoring method according to any one of claims 1 to 7 are implemented.