A method and device for judging website IPv6 transformation
By obtaining and analyzing the dual-stack access parameters of the website, and automatically adjusting the total score, it solves the problems of inefficiency and low accuracy in the evaluation of website IPv6 upgrade and transformation in the existing technology, and provides scientific evaluation standards and judgment of the degree of transformation.
Patent Information
- Application Number
- CN202210760039.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-30
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-06-30
AI Technical Summary
The lack of clear judgment criteria in the existing technology results in inefficiency and low accuracy in judging the IPv6 upgrade status of websites, relying on manual subjective judgment.
By obtaining the user's dual-stack access request to the website, obtaining the access parameters of the IPv4 and IPv6 stages, setting the total access quality score, and adjusting the total score according to the parameters and page parameters of different access stages, the IPv6 transformation evaluation results of the website are obtained. .
It realizes automated and accurate website IPv6 transformation evaluation, avoids the inefficiency of manual subjective judgment, and provides scientific evaluation standards to help judge the degree of IPv6 transformation and website quality.
Smart Images

Figure CN115174519B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the computer field, and in particular to a method and device for judging the IPv6 transformation of a website. Background Art
[0002] At present, under the requirement of the country to promote the large-scale deployment of Internet Protocol Version 6 (IPv6), it is necessary to upgrade and transform all websites across the country to IPv6 in steps according to this requirement. Nowadays, websites in various places have gradually completed the IPv6 upgrade and transformation. What follows is how to judge whether a website has completed the IPv6 application upgrade and transformation and judge the application quality under dual-stack access. This is an important issue to judge the depth of IPv6 promotion and the quality of the website. However, there is no clear judgment standard for website monitoring at present. At present, the website service quality and whether the IPv6 upgrade and transformation plan is completed are only judged by experience or subjective judgment of staff. Summary of the invention
[0003] One purpose of the present application is to provide a method and device for judging the IPv6 transformation of a website, so as to solve the problems of inefficiency and low accuracy caused by judging the IPv6 transformation of a website through manual subjective judgment in the prior art.
[0004] According to one aspect of the present application, a method for judging website IPv6 transformation is provided, the method comprising:
[0005] Obtain access requests from users when they access the website through Dual Stack;
[0006] Acquire parameters and page parameters at different access stages based on the access request, wherein the different access stages include an IPv4 stage and an IPv6 stage;
[0007] Setting an initial value of the total score of the access quality score, and adjusting the initial value of the total score based on the parameters of the different access stages and the page parameters, wherein the initial value is determined by the initial value of the IPv4 stage score and the initial value of the IPv6 stage score;
[0008] The evaluation result of the website IPv6 transformation is obtained based on the adjusted total score.
[0009] Optionally, after obtaining the result of the website IPv6 transformation evaluation according to the adjusted total score, it includes:
[0010] The degree of IPv6 transformation of the website is determined based on the adjusted total score and the preset threshold.
[0011] Optionally, adjusting the initial value of the total score based on the parameters of the different access stages and the page parameters includes:
[0012] Determine the quality scoring index of each access stage based on the parameters of the different access stages and the page parameters, wherein the quality scoring index includes any combination of domain name resolution record, website response status code, website homepage response time, secondary page response rate, secondary page average response time, tertiary page response rate, tertiary page average response time, subdomain response rate, subdomain average response time, external link response rate, external link average response time, js and css response rate, js and css average response time, picture resource response rate, picture resource average response time, and dual stack page consistency;
[0013] The initial value of the total score is adjusted in turn according to each indicator in the quality score indicator of each access stage.
[0014] Optionally, adjusting the initial value of the total score in turn according to each indicator in the quality score indicator of each access stage includes:
[0015] Determine whether the website supports IPv4 access based on the domain name resolution record. If not, adjust the initial value of the IPv4 stage score to 0;
[0016] Determine whether the website supports IPv6 access based on the domain name resolution record. If not, adjust the initial value of the IPv6 stage score to 0.
[0017] Optionally, adjusting the initial value of the total score in turn according to each indicator in the quality score indicator of each access stage includes:
[0018] The initial value of the total score is adjusted according to the website homepage response time of each access stage and a preset response time threshold;
[0019] The initial value of the total score is adjusted according to the hierarchical page response rate of each access stage and a preset response rate threshold, wherein the hierarchical response rate includes the secondary page response rate and / or the tertiary page response rate;
[0020] The initial value of the total score is adjusted according to the average response time of the hierarchical pages in each access stage and a preset average response time threshold, wherein the hierarchical average response time includes the average response time of the secondary pages and / or the average response time of the tertiary pages.
[0021] Optionally, adjusting the initial value of the total score in turn according to each indicator in the quality score indicator of each access stage includes:
[0022] Counting the subdomain information on the homepage during each access phase, wherein the subdomain information includes the subdomain response rate and the subdomain average response time;
[0023] The initial value of the total score is adjusted according to the subdomain information.
[0024] Optionally, adjusting the initial value of the total score in turn according to each indicator in the quality score indicator of each access stage includes:
[0025] Counting the access information of the external links in the homepage during each access stage, wherein the access information of the external links includes the external link response rate and the external link average response time;
[0026] The initial value of the total score is adjusted according to the access information of the external link.
[0027] Optionally, adjusting the initial value of the total score in turn according to each indicator in the quality score indicator of each access stage includes:
[0028] Counting the access information of js and css in the homepage during each access stage, wherein the access information of js and css includes the response rate of js and css and the average response time of js and css;
[0029] The initial value of the total score is adjusted according to the access information of the js and css.
[0030] Optionally, adjusting the initial value of the total score in turn according to each indicator in the quality score indicator of each access stage includes:
[0031] Counting the access information of the image resources in the homepage during each access phase, wherein the access information of the image resources includes the image resource response rate and the average response time of the image resources;
[0032] The initial value of the total score is adjusted according to the access information of the picture resource.
[0033] Optionally, adjusting the initial value of the total score in turn according to each indicator in the quality score indicator of each access stage includes:
[0034] The page difference degree after the dual stack access in all access stages is determined, and the initial value of the total score is adjusted according to the page difference degree.
[0035] According to yet another aspect of the present application, a computer-readable medium is provided, on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement any of the methods described above.
[0036] According to another aspect of the present application, a device for judging website IPv6 transformation is also provided, wherein the device comprises:
[0037] one or more processors; and
[0038] A memory storing computer readable instructions, which, when executed, cause the processor to perform the operations of any of the methods described above.
[0039] Compared with the prior art, the present application obtains the access request when the user visits the website through the dual stack; obtains the parameters and page parameters at different access stages based on the access request, wherein the different access stages include the IPv4 stage and the IPv6 stage; sets the initial value of the total score of the access quality score, and adjusts the initial value of the total score based on the parameters and page parameters of the different access stages, wherein the initial value is determined by the initial value of the IPv4 stage score and the initial value of the IPv6 stage score; obtains the result of the website IPv6 transformation evaluation according to the adjusted total score. This avoids the problems of inefficiency and low accuracy caused by subjective judgment by humans, and can intuitively judge and determine the degree of IPv6 transformation, providing a scientific basis for subsequent website monitoring. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
[0041] Figure 1 A schematic diagram of a method flow for judging website IPv6 transformation provided according to one aspect of the present application is shown;
[0042] Figure 2 A flow chart showing website IPv6 transformation evaluation criteria in a specific embodiment of the present application is shown.
[0043] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION
[0044] The present application is described in further detail below in conjunction with the accompanying drawings.
[0045] In a typical configuration of the present application, the terminal, the device of the service network and the trusted party all include one or more processors (CPU), input / output interfaces, network interfaces and memories.
[0046] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0047] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory media such as modulated data signals and carrier waves.
[0048] Figure 1 A schematic flow chart of a method for judging the IPv6 transformation of a website provided according to one aspect of the present application is shown, the method comprising: steps S11 to S14, wherein, in step S11, an access request when a user accesses a website through a dual stack is obtained; in step S12, parameters and page parameters at different access stages are obtained based on the access request, wherein the different access stages include an IPv4 stage and an IPv6 stage; in step S13, an initial value of the total score of the access quality score is set, and the initial value of the total score is adjusted based on the parameters and page parameters of the different access stages, wherein the initial value is determined by the initial value of the IPv4 stage score and the initial value of the IPv6 stage score; in step S14, the result of the IPv6 transformation judgment of the website is obtained according to the adjusted total score. Thus, the problems of inefficiency and low accuracy caused by subjective judgment by humans are avoided, and the method of the present application can intuitively judge and determine the degree of IPv6 transformation, providing a scientific basis for subsequent website monitoring.
[0049] Specifically, in step S11, an access request of a user when accessing a website through a dual stack is obtained; here, when a user accesses a website, it is performed through a dual stack, thereby obtaining an access request of the user when accessing the website through a dual stack, and subsequently performing a quality assessment of the website for the access request.
[0050] Specifically, in step S12, parameters and page parameters at different access stages are obtained based on the access request, wherein the different access stages include the IPv4 stage and the IPv6 stage; here, the website is transformed to determine whether the transformation of the website is completed and the quality of the transformation, and the parameters and page parameters of the website at different access stages before and after the transformation are obtained according to the user's access request to the website, and the different access stages include the IPv4 stage and the IPv6 stage, that is, some parameters when accessing the IPv4 stage before the transformation and some parameters when upgrading to the IPv6 stage, such as parameters including the domain name of the website, the response status code, etc., and page parameters including js and css response status, img picture resource status, etc. Thus, the evaluation result of the IPv6 website transformation is comprehensively obtained using the website IPv4 access quality and the website IPv6 access quality scores.
[0051] Specifically, in step S13, the initial value of the total score of the access quality score is set, and the initial value of the total score is adjusted based on the parameters of the different access stages and the page parameters, wherein the initial value is determined by the initial value of the IPv4 stage score and the initial value of the IPv6 stage score; then, in step S14, the result of the website IPv6 transformation evaluation is obtained according to the adjusted total score. Here, the initial value of the total score of the access quality score can be set to 100 points, which is obtained by combining the website IPv4 access quality and the website IPv6 access quality score, and can be specifically: total score = IPv4 access quality score * 50% + IPv6 access quality score * 50%, the preset IPv6 transformation score is 100, and the IPv4 and IPv6 quality scores are 100. The parameters of the different access stages of the website are set as scoring index items, so that the set initial value score is adjusted according to each indicator of each access stage, specifically judging whether points need to be deducted from the total score and how many points are deducted, and obtaining the final access quality score. This clarifies the judgment criteria for website monitoring, solves the problem of formulating IPv6 upgrade and transformation plans based solely on experience or subjective judgment of staff, and provides a scientific basis for subsequent website monitoring.
[0052] In some embodiments of the present application, after obtaining the result of the website IPv6 transformation evaluation according to the adjusted total score, the degree of the website IPv6 transformation is determined according to the adjusted total score and the preset threshold. Here, the website IPv6 transformation situation and website service quality details are judged according to the final access quality score and several thresholds set, such as the following situations of the scoring result and the preset threshold: if the final total score of IPv4 access quality is greater than 90, the website IPv4 service quality is good, if the IPv4 total score is between 75-89, the website IPv4 service quality is general, if the total score is less than 75, the website IPv4 service quality is poor, and if the total score is 0, the website cannot be accessed via IPv4. If the total score of IPv6 access quality is greater than 90, the website's IPv6 service quality is good and the IPv6 transformation and upgrade has been completed. If the score is between 75-89, the website's IPv6 service quality is average and the IPv6 transformation and upgrade has been completed. If the score is less than 75, the website's IPv6 service quality is poor and the IPv6 transformation and upgrade has been completed. If the score is 0, the website cannot be accessed via IPv6 and the IPv6 transformation and upgrade has not been performed. Through different judgments on the total score, the corresponding website monitoring report is obtained, and the corresponding detailed parameter results are displayed. The indicators with serious deductions are highlighted and rectification suggestions are put forward.
[0053] In some embodiments of the present application, in step S13, the quality scoring indicators of each access stage are determined based on the parameters of the different access stages and the page parameters, wherein the quality scoring indicators include domain name resolution records, website response status code, website homepage response time, secondary page response rate, secondary page average response time, tertiary page response rate, tertiary page average response time, subdomain response rate, subdomain average response time, external link response rate, external link average response time, js and css response rate, js and css average response time, image resource response rate, image resource average response time, and any combination of dual-stack page consistency; the initial value of the total score is adjusted in turn according to each indicator in the quality scoring indicators of each access stage. Here, if Figure 2 As shown, through domain name consistency, address resolvability, domain name authorization system, home page response time and status code, content layout consistency, page response rate and time, link response rate and time, external link response rate and time, and page visibility, the scores of the website when accessing IPv4 and IPv6 are calculated, so as to intuitively judge and evaluate the degree of IPv6 transformation.
[0054] Specifically, first determine whether the website supports IPv4 access based on the domain name resolution record. If not, adjust the initial value of the IPv4 stage score to 0; determine whether the website supports IPv6 access based on the domain name resolution record. If not, adjust the initial value of the IPv6 stage score to 0. Figure 2 , judge the consistency of the domain name, resolve the domain name, and then judge whether IPv4 access is supported based on the resolution record. If there is no A record in the domain name resolution record, it means that the website does not support IPv4 access, then adjust the score, and the IPv4 access quality score is 0. If there is no AAAA record in the domain name resolution record, it means that the website does not support IPv6 access and has not yet been transformed to IPv6, then adjust the score, and the IPv6 access quality score is 0.
[0055] Next, the initial value of the total score is adjusted according to the website homepage response time of each access stage and the preset response time threshold; the initial value of the total score is adjusted according to the hierarchical page response rate of each access stage and the preset response rate threshold, wherein the hierarchical response rate includes the secondary page response rate and / or the tertiary page response rate; the initial value of the total score is adjusted according to the hierarchical page average response time of each access stage and the preset average response time threshold, wherein the hierarchical average response time includes the secondary page average response time and / or the tertiary page average response time. Here, continue to refer to Figure 2, when the website is accessed via IPv4, if the page status code returned is not a normal status code, it means that the website cannot be accessed normally under the IPv4 protocol, and the IPv4 access quality score is 0. When the website is accessed via IPv6, if the page status code returned is not a normal status code, it means that the website cannot be accessed normally under the IPv6 protocol, and the IPv6 access quality score is 0. The common response status code for the home page of a normal website is 200 or 3XX. When the website is accessed via IPv4 or IPv6, the response time of the home page is different, and the scoring criteria are also different. For example: within 4 seconds, the response time is normal, and no points are deducted from the initial value of the total score; 4-7 seconds, slow response, 10 points are deducted from the total score; within 8-9 seconds, slow response, 50 points are deducted from the total score; more than 10 seconds, the webpage cannot be accessed or the access quality is very poor, and the access quality score is 0. Next, statistics are given on the access to the secondary pages on the homepage under IPv4 or IPv6 access, and the evaluation is made based on the overall response success rate of the secondary pages, as follows: a response rate of 100% indicates that the secondary pages can be accessed normally, and no points are deducted from the initial value, i.e., when accessing IPv4, if the secondary response rate is 100%, then the initial value of IPv4 is 100 points, and no points are deducted; when accessing IPv6, under the same circumstances, the initial value of IPv6 is 100 points, and no points are deducted; when the response rate is 95-99.99%, it indicates that the secondary pages can basically be accessed normally, and 5 points are deducted from the total score. At this time, the total quality score of the website is 95 (points)*50% for IPv4 + 95 (points)*50% for IPv6; a response rate of less than 95% indicates that a part of the secondary pages cannot be accessed normally, and 10 points are deducted from the total score. If there are no secondary pages, no evaluation is made, and no points are deducted. The average response time of the secondary pages in the home page under IPv4 or IPv6 access is calculated. The average response time = total access time of the secondary pages / number of secondary pages. The evaluation is based on the average response time, as follows: within 4 seconds, normal response time, no deduction; within 4-7 seconds, slow response, 5 points deduction from the total score; within 8-9 seconds, slow response, 10 points deduction from the total score; more than 10 seconds, the webpage is inaccessible or the access quality is very poor, 15 points deduction from the total score; if there is no secondary page, no evaluation is made and no points are deducted. It should be noted that the total score here refers to the total score of the access quality score of each access stage. When deducting, the total score of the access quality score of each access stage is deducted. For example, IPv4 starts with 100 points and IPv6 starts with 100 points. When deducting according to each indicator, the 100 points of each indicator are deducted, and then the deducted scores are weighted to obtain the quality score of the entire website. The total score in the specific implementation adjustment score under each indicator below is the total score of each access stage.
[0056] Continue to refer Figure 2When there are third-level pages, the access status of the third-level pages in the homepage under IPv4 or IPv6 access is counted, and the evaluation is based on the overall response success rate of the third-level pages, as follows: a response rate of 100% means that all third-level pages can be accessed normally and no points will be deducted; a response rate of 95-99.99% means that the third-level pages can basically be accessed normally and 5 points will be deducted from the total score; a response rate of less than 95% means that some third-level pages cannot be accessed normally and 10 points will be deducted from the total score. If there are no third-level pages, no evaluation will be made and no points will be deducted. The average response time of the third-level pages in the homepage under IPv4 or IPv6 access is calculated. Average response time = total access time of the third-level pages / number of third-level pages. The evaluation is based on the average response time, as follows: within 4 seconds, normal response time, no points are deducted; within 4-7 seconds, slow response, 5 points are deducted from the total score; within 8-9 seconds, slow response, 10 points are deducted from the total score; more than 10 seconds, the webpage cannot be accessed or the access quality is very poor, 15 points are deducted from the total score; if there is no third-level page, no evaluation is made and no points are deducted.
[0057] Next, the subdomain information in the homepage at each access stage is counted, wherein the subdomain information includes the subdomain response rate and the subdomain average response time; the initial value of the total score is adjusted according to the subdomain information. Figure 2 , statistics on the access of subdomains on the homepage under IPv4 or IPv6 access, and judged according to the overall response success rate of subdomains, as follows: response rate 100%, indicating that all subdomains can be accessed normally, no points are deducted; response rate 95-99.99%, indicating that subdomains can basically be accessed normally, and 10 points are deducted from the total score; response rate less than 95%, indicating that some subdomains cannot be accessed normally, and 15 points are deducted from the total score; if there is no subdomain, no judgment is made and no points are deducted. Statistics on the average response time of subdomains on the homepage under IPv4 or IPv6 access, average response time = total access time of subdomains / number of subdomains, judged according to the average response time, as follows: within 4 seconds, normal response time, no points are deducted; within 4-7 seconds, slow response, 5 points are deducted from the total score; within 8-9 seconds, slow response, 10 points are deducted from the total score; more than 10 seconds, the webpage cannot be accessed or the access quality is very poor, and 15 points are deducted from the total score; if there is no subdomain, no judgment is made and no points are deducted.
[0058] Next, the access information of the external links in the homepage during each access stage is counted, wherein the access information of the external links includes the external link response rate and the external link average response time; the initial value of the total score is adjusted according to the access information of the external links. Figure 2, statistics on the access of external links in the homepage under IPv4 or IPv6 access, and judge according to the overall response success rate of external links, as follows: response rate 100%, indicating that all external links can be accessed normally, no points are deducted; response rate 95-99.99%, indicating that the external links can basically be accessed normally, and 10 points are deducted from the total score; response rate less than 95%, indicating that some external links cannot be accessed normally, and 15 points are deducted from the total score; if there are no external links, no judgment is made and no points are deducted. Statistics on the average response time of external links in the homepage under IPv4 or IPv6 access, average response time = total access time of external links / number of external links, judged according to the average response time, as follows: within 4 seconds, normal response time, no points are deducted; within 4-7 seconds, slow response, 5 points are deducted from the total score; within 8-9 seconds, slow response, 10 points are deducted from the total score; more than 10 seconds, the webpage cannot be accessed or the access quality is very poor, and 15 points are deducted from the total score; if there are no external links, no judgment is made and no points are deducted.
[0059] In some embodiments of the present application, the access information of js and css in the homepage at each access stage is counted, wherein the access information of js and css includes the response rate of js and css and the average response time of js and css; the initial value of the total score is adjusted according to the access information of js and css. Figure 2 , statistics on the access to js and css in the homepage under IPv4 or IPv6 access, and judge according to the response success rate of js and css, as follows: a response rate of 100% means that js and css can be loaded normally, and no points will be deducted; a response rate of 95-99.99% means that js and css can basically be loaded normally, and 10 points will be deducted from the total score; a response rate of less than 95% means that part of js and css cannot be loaded normally, and 15 points will be deducted from the total score; if there is no js and css, no judgment will be made, and no points will be deducted. Statistics are taken of the average response time of js and css in the homepage under IPv4 or IPv6 access. Average response time = total loading time of js and css / number of js and css. Judgment is made based on the average response time, as follows: within 4 seconds, normal response time, no points deducted; within 4-7 seconds, slow response, 5 points deducted from the total score; within 8-9 seconds, slow response, 10 points deducted from the total score; more than 10 seconds, js and css cannot be accessed or load very slowly, 15 points deducted from the total score; if there is no js and css, no judgment is made and no points are deducted.
[0060] In some embodiments of the present application, the access information of the image resources in the homepage at each access stage is counted, wherein the access information of the image resources includes the image resource response rate and the average response time of the image resources; the initial value of the total score is adjusted according to the access information of the image resources. Figure 2, statistics on the access to img image resources on the home page under IPv4 or IPv6 access, and judged according to the overall response success rate of img image resources, as follows: response rate 100%, indicating that all images can be loaded normally, no points are deducted; response rate 95-99.99%, indicating that the images can basically be loaded normally, and 10 points are deducted from the total score; response rate less than 95%, indicating that part of the image cannot be loaded normally, and 15 points are deducted from the total score; if there is no img image resource, no judgment is made and no points are deducted. Statistics on the average response time of img image resources on the home page under IPv4 or IPv6 access, average response time = total loading time of img image resources / number of img image resources, judged according to the average response time, as follows: within 4 seconds, normal response time, no points are deducted; within 4-7 seconds, slow response, 5 points are deducted from the total score; within 8-9 seconds, slow response, 10 points are deducted from the total score; more than 10 seconds, img image resources cannot be accessed or load very slowly, and 15 points are deducted from the total score.
[0061] In some embodiments of the present application, the degree of page difference after dual stack access in all access stages is determined, and the initial value of the total score is adjusted according to the degree of page difference. Here, after the IPv6 upgrade is completed, the page difference is compared through dual stack access, and the evaluation is made according to the difference, as follows: if the difference is 0%, there is no difference in the dual stack comparison, and no points are deducted; if the difference is 1%-3%, there is some difference in the dual stack comparison, and 10 points are deducted from the total score; if the difference exceeds 3%, the dual stack comparison is relatively different, and 20 points are deducted from the total score.
[0062] By using the method described in this application, by obtaining parameters and page elements at different access stages, and based on scientific evaluation criteria, the comprehensive quality details of the website's IPv6 upgrade and transformation and dual-stack services are obtained, which solves the problem of the judgment criteria for the transformation of the website in the IPv6 upgrade and transformation, and helps the website improve its own service quality. It is practical and provides scientific evaluation criteria for current IPv6 monitoring, which helps to accelerate the promotion of IPv6; scientific, through multi-dimensional comprehensive evaluation of the website, the scoring mechanism is adjusted according to the different importance of each dimension; the comprehensive evaluation criteria for the website are not yet clear, this application proposes the evaluation criteria for the comprehensive service quality of the website, and also proposes judgment basis and rectification opinions for IPv6 upgrade and transformation.
[0063] The embodiment of the present application also provides a computer-readable medium having computer-readable instructions stored thereon, and the computer-readable instructions can be executed by a processor to implement the aforementioned method for judging the IPv6 transformation of a website.
[0064] In one embodiment of the present application, a device for judging website IPv6 transformation is also provided, wherein the device comprises:
[0065] one or more processors; and
[0066] A memory storing computer-readable instructions, wherein when the computer-readable instructions are executed, the processor executes the operations of the aforementioned website IPv6 transformation evaluation method.
[0067] For example, the computer readable instructions, when executed, cause the one or more processors to:
[0068] Obtain access requests from users when they access the website through Dual Stack;
[0069] Acquire parameters and page parameters at different access stages based on the access request, wherein the different access stages include an IPv4 stage and an IPv6 stage;
[0070] Setting an initial value of the total score of the access quality score, and adjusting the initial value of the total score based on the parameters of the different access stages and the page parameters, wherein the initial value is determined by the initial value of the IPv4 stage score and the initial value of the IPv6 stage score;
[0071] The evaluation result of the website IPv6 transformation is obtained based on the adjusted total score.
[0072] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
[0073] It should be noted that the present application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present application can be executed by a processor to implement the steps or functions described above. Similarly, the software program of the present application (including relevant data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.
[0074] In addition, a part of the present application may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present application through the operation of the computer. The program instruction for calling the method of the present application may be stored in a fixed or removable recording medium, and / or transmitted through a data stream in a broadcast or other signal-bearing medium, and / or stored in a working memory of a computer device that runs according to the program instruction. Here, according to an embodiment of the present application, a device is included, the device including a memory for storing computer program instructions and a processor for executing program instructions, wherein, when the computer program instruction is executed by the processor, the device is triggered to run the method and / or technical solution based on the aforementioned multiple embodiments according to the present application.
[0075] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is defined by the appended claims rather than the above description, and it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
Claims
1. A method for judging the IPv6 transformation of a website, wherein: The method comprises: Obtain access requests from users when they access the website through Dual Stack; Acquire parameters and page parameters at different access stages based on the access request, wherein the different access stages include an IPv4 stage and an IPv6 stage; Setting an initial value of the total score of the access quality score, and adjusting the initial value of the total score based on the parameters of the different access stages and the page parameters, wherein the initial value is determined by the initial value of the IPv4 stage score and the initial value of the IPv6 stage score; The result of the website IPv6 transformation evaluation is obtained based on the adjusted total score; Determine the degree of IPv6 transformation of the website based on the adjusted total score and the preset threshold; The initial value of the total score is adjusted based on the parameters of the different access stages and the page parameters, including: Determine the quality scoring index of each access stage based on the parameters of the different access stages and the page parameters, wherein the quality scoring index includes any combination of domain name resolution record, website response status code, website homepage response time, secondary page response rate, secondary page average response time, tertiary page response rate, tertiary page average response time, subdomain response rate, subdomain average response time, external link response rate, external link average response time, js and css response rate, js and css average response time, picture resource response rate, picture resource average response time, and dual stack page consistency; Adjusting the initial value of the total score in turn according to each of the quality scoring indicators of each access stage; The initial value of the total score is adjusted in turn according to each of the quality score indicators of each access stage, including: Determine whether the website supports IPv4 access based on the domain name resolution record. If not, adjust the initial value of the IPv4 stage score to 0; Determine whether the website supports IPv6 access based on the domain name resolution record. If not, adjust the initial value of the IPv6 stage score to 0; The initial value of the total score is adjusted in turn according to each of the quality score indicators of each access stage, including: The initial value of the total score is adjusted according to the website homepage response time of each access stage and a preset response time threshold; The initial value of the total score is adjusted according to the hierarchical page response rate of each access stage and a preset response rate threshold, wherein the hierarchical page response rate includes a secondary page response rate and / or a tertiary page response rate; The initial value of the total score is adjusted according to the average response time of the hierarchical pages in each access stage and the preset average response time threshold, wherein the average response time of the hierarchical pages includes the average response time of the secondary pages and / or the average response time of the tertiary pages; The initial value of the total score is adjusted in turn according to each of the quality score indicators of each access stage, including: The page difference degree after the dual stack access in all access stages is determined, and the initial value of the total score is adjusted according to the page difference degree.
2. The method according to claim 1, wherein: The initial value of the total score is adjusted in turn according to each of the quality scoring indicators of each access stage, including: Counting the subdomain information on the homepage during each access phase, wherein the subdomain information includes the subdomain response rate and the subdomain average response time; The initial value of the total score is adjusted according to the subdomain information.
3. The method according to claim 1, characterized in that The initial value of the total score is adjusted in turn according to each of the quality scoring indicators of each access stage, including: Counting the access information of the external links in the homepage during each access stage, wherein the access information of the external links includes the external link response rate and the external link average response time; The initial value of the total score is adjusted according to the access information of the external link.
4. The method according to claim 1, characterized in that: The initial value of the total score is adjusted in turn according to each of the quality scoring indicators of each access stage, including: Counting the access information of js and css in the homepage during each access stage, wherein the access information of js and css includes the response rate of js and css and the average response time of js and css; The initial value of the total score is adjusted according to the access information of the js and css.
5. The method according to claim 1, characterized in that The initial value of the total score is adjusted in turn according to each of the quality scoring indicators of each access stage, including: Counting the access information of the image resources in the homepage during each access phase, wherein the access information of the image resources includes the image resource response rate and the average response time of the image resources; The initial value of the total score is adjusted according to the access information of the picture resource.
6. A computer-readable medium having computer-readable instructions stored thereon, wherein the computer-readable instructions can be executed by a processor to implement the method according to any one of claims 1 to 5.
7. A device for judging website IPv6 transformation, wherein: The device comprises: one or more processors; and A memory storing computer readable instructions which, when executed, cause the processor to perform the operations of the method as claimed in any one of claims 1 to 5.
Citation Information
Patent Citations
Detection method and system, electronic device and medium
CN109194776A
Website IPv6 support degree assessment method, device and equipment
CN109495325A
Website performance evaluation method and device
CN109586942A
Network asset data evaluation method and device, electronic equipment and storage medium
CN114329312A
Website IPv6 network support mode detection method and electronic equipment
CN114448849A
