Movatterモバイル変換


[0]ホーム

URL:


CN116016428A - Method, device and system for detecting IPv6 upgrade of a website - Google Patents

Method, device and system for detecting IPv6 upgrade of a website
Download PDF

Info

Publication number
CN116016428A
CN116016428ACN202211650962.2ACN202211650962ACN116016428ACN 116016428 ACN116016428 ACN 116016428ACN 202211650962 ACN202211650962 ACN 202211650962ACN 116016428 ACN116016428 ACN 116016428A
Authority
CN
China
Prior art keywords
website
ipv6
detected
address
ipv4
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211650962.2A
Other languages
Chinese (zh)
Other versions
CN116016428B (en
Inventor
郑直
常力元
佟欣哲
宋悦
乔现朋
孟坤
张熹
王业君
刘文龙
陈奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianyi Safety Technology Co Ltd
Original Assignee
Tianyi Safety Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianyi Safety Technology Co LtdfiledCriticalTianyi Safety Technology Co Ltd
Priority to CN202211650962.2ApriorityCriticalpatent/CN116016428B/en
Publication of CN116016428ApublicationCriticalpatent/CN116016428A/en
Application grantedgrantedCritical
Publication of CN116016428BpublicationCriticalpatent/CN116016428B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The application provides a method, a device and a system for detecting IPv6 upgrading of a website, wherein the method comprises the following steps: obtaining a first mapping relation between a domain name, a routing prefix and an IPv6 address, and a second mapping relation between the domain name, the routing prefix and the IPv4 address; according to the first mapping relation and the second mapping relation, determining a domain name and a routing prefix respectively mapped by the IPv6 address of the website to be detected and the IPv4 address of the website to be detected; if the number of domain names or routing prefixes mapped by the IPv6 address of the website to be detected or the number of domain names or routing prefixes mapped by the IPv4 address of the website to be detected is larger than a first threshold, determining that the IPv6 upgrading scheme of the website to be detected is an intelligent gateway conversion scheme, so as to solve the technical problem that the IPv6 upgrading scheme of the website cannot be detected in the existing IPv6 upgrading detection method of the website.

Description

Translated fromChinese
一种网站的IPv6升级检测方法、装置及系统Method, device and system for detecting IPv6 upgrade of a website

技术领域technical field

本申请涉及互联网技术领域,尤其涉及一种网站的IPv6升级检测方法、装置及系统。The present application relates to the technical field of the Internet, in particular to a website IPv6 upgrade detection method, device and system.

背景技术Background technique

在国家推进互联网协议第六版(Internet Protocol Version 6,IPv6)规模部署的要求下,需要按照该要求分步骤对全国网站进行IPv6升级。对网站进行IPv6升级是指原本仅支持用户通过互联网协议第4版(Internet Protocol Version4,IPv4)访问并获取服务的网站,在经过技术(如IPv6和IPv4双协议栈技术、隧道技术、翻译技术、智能网关转化技术、内容分发网络(Content Delivery Network,CDN)解析技术等)升级后,能够同时支持用户通过IPv4和IPv6访问并获取服务。Under the requirements of the country to promote the large-scale deployment of Internet Protocol Version 6 (IPv6), it is necessary to upgrade the national website to IPv6 step by step according to this requirement. The IPv6 upgrade of the website refers to the website that originally only supported users to access and obtain services through Internet Protocol Version 4 (IPv4). After the intelligent gateway conversion technology, content delivery network (Content Delivery Network, CDN) analysis technology, etc.) are upgraded, it can support users to access and obtain services through IPv4 and IPv6 at the same time.

目前,传统的网站的IPv6升级检测是从网站内容的IPv6支持度检测网站是否支持IPv6,如检测首页内容的IPv6支持度、二级链接内容的IPv6支持度以及三级链接内容的IPv6支持度等,传统的网站的IPv6升级检测仅检测网站进行IPv6升级后的结果,并未检测网站进行IPv6升级时的方案。不同的网站的IPv6升级方案对网站的安全性、可靠性以及访问性能有不同程度的影响,如果不检测网站进行IPv6升级时的方案,可能无法了解网站的IPv6在部署升级过程中存在的问题,无法为网站的IPv6的部署升级提供数据支撑,不利于全面落实国家IPv6规模部署要求。At present, the traditional IPv6 upgrade detection of the website is to detect whether the website supports IPv6 from the IPv6 support degree of the website content, such as detecting the IPv6 support degree of the homepage content, the IPv6 support degree of the secondary link content, and the IPv6 support degree of the third-level link content, etc. , the traditional IPv6 upgrade detection of the website only detects the result of the IPv6 upgrade of the website, and does not detect the solution of the IPv6 upgrade of the website. The IPv6 upgrade plan of different websites has different impacts on the security, reliability and access performance of the website. If you do not check the IPv6 upgrade plan of the website, you may not be able to understand the problems existing in the IPv6 deployment and upgrade process of the website. It is unable to provide data support for the deployment and upgrade of IPv6 on the website, which is not conducive to the full implementation of the national IPv6 large-scale deployment requirements.

发明内容Contents of the invention

本申请实施例提供一种网站的IPv6升级检测方法、装置及系统,用于解决现有网站的IPv6升级检测方法存在的无法检测网站的IPv6升级方案的技术问题。The embodiment of the present application provides a website IPv6 upgrade detection method, device and system, which are used to solve the technical problem that the existing website IPv6 upgrade detection method cannot detect the website's IPv6 upgrade solution.

第一方面,本申请实施例提供一种网站的IPv6升级检测方法,所述方法包括:In the first aspect, the embodiment of the present application provides a method for detecting an IPv6 upgrade of a website, the method comprising:

获得域名、路由前缀与互联网协议第六版IPv6地址之间的第一映射关系,域名、路由前缀与互联网协议第4版IPv4地址之间的第二映射关系;Obtaining a first mapping relationship between domain names, routing prefixes and Internet Protocol version 6 IPv6 addresses, and a second mapping relationship between domain names, routing prefixes and Internet Protocol version 4 IPv4 addresses;

根据所述第一映射关系和所述第二映射关系,确定待检测网站的IPv6地址和所述待检测网站的IPv4地址分别映射的域名和路由前缀,其中,所述待检测网站为在进行IPv6升级后同时支持用户通过IPv6和IPv4访问并获取服务的网站;According to the first mapping relationship and the second mapping relationship, determine the IPv6 address of the website to be detected and the domain name and routing prefix respectively mapped to the IPv4 address of the website to be detected, wherein the website to be detected is performing IPv6 Websites that support users to access and obtain services through IPv6 and IPv4 at the same time after the upgrade;

如果所述待检测网站的IPv6地址映射的域名或路由前缀的数量或所述待检测网站的IPv4地址映射的域名或路由前缀的数量大于第一阈值,则确定所述待检测网站的IPv6升级方案为智能网关转化方案,其中,所述智能网关转化方案用于为IPv4单协议栈网站提供一个指向智能网关的IPv6地址。If the number of domain names or routing prefixes mapped to the IPv6 address of the website to be detected or the number of domain names or routing prefixes mapped to the IPv4 address of the website to be detected is greater than the first threshold, then determine the IPv6 upgrade plan of the website to be detected It is an intelligent gateway conversion solution, wherein the intelligent gateway conversion solution is used to provide an IPv6 address pointing to an intelligent gateway for an IPv4 single-protocol stack website.

在本申请实施例中,智能网关转化方案是为原本只支持IPv4用户访问的网站提供一个指向智能网关的IPv6地址,使得IPv6用户可以通过智能网关访问网站,通过智能网关转化方案进行IPv6升级的网站的IPv6地址或IPv4地址映射的域名或路由前缀的数量较多,因此可以根据网站的IPv6地址映射的域名或路由前缀的数量或网站的IPv4地址映射的域名或路由前缀的数量是否大于阈值,确定网站的IPv6升级方案是否为智能网关转化方案,从而了解待检测网站的IPv6在部署升级过程中存在的问题,为待检测网站的IPv6的部署升级提供数据支撑,有利于全面落实国家IPv6规模部署要求。In the embodiment of this application, the smart gateway conversion solution is to provide an IPv6 address pointing to the smart gateway for the website that originally only supports IPv4 user access, so that IPv6 users can access the website through the smart gateway, and upgrade the website to IPv6 through the smart gateway conversion solution The number of domain names or routing prefixes mapped to the IPv6 address or IPv4 address of the website is large, so it can be determined according to whether the number of domain names or routing prefixes mapped to the IPv6 address of the website or the number of domain names or routing prefixes mapped to the IPv4 address of the website is greater than the threshold. Whether the IPv6 upgrade plan of the website is an intelligent gateway transformation plan, so as to understand the problems existing in the IPv6 deployment and upgrade process of the website to be tested, and provide data support for the IPv6 deployment and upgrade of the website to be tested, which is conducive to the full implementation of the national IPv6 scale deployment requirements .

一种可选实施方式中,获得域名、路由前缀与互联网协议第六版IPv6地址之间的第一映射关系,域名、路由前缀与互联网协议第4版IPv4地址之间的第二映射关系,包括:In an optional implementation manner, the first mapping relationship between domain names, routing prefixes and Internet Protocol version 6 IPv6 addresses, and the second mapping relationship between domain names, routing prefixes and Internet Protocol version 4 IPv4 addresses are obtained, including :

获得域名系统DNS解析服务器的日志数据,确定域名与IPv6地址之间的映射关系和域名与IPv4地址之间的映射关系;Obtain the log data of the domain name system DNS resolution server, determine the mapping relationship between the domain name and the IPv6 address and the mapping relationship between the domain name and the IPv4 address;

获得路由表数据,确定路由前缀与所述IPv6地址之间的映射关系和路由前缀与所述IPv4地址之间的映射关系;Obtain routing table data, determine the mapping relationship between the routing prefix and the IPv6 address and the mapping relationship between the routing prefix and the IPv4 address;

确定所述第一映射关系和所述第二映射关系。Determine the first mapping relationship and the second mapping relationship.

一种可选实施方式中,所述方法还包括:In an optional embodiment, the method further includes:

从单一测量点获得所述待检测网站在第一网络环境下的第一指纹数据和在第二网络环境下的第二指纹数据,其中,所述第一网络环境为所述待检测网站只支持用户通过IPv6访问并获取服务的网络环境,所述第二网络环境为所述待检测网站只支持用户通过IPv4访问并获取服务的网络环境,所述指纹数据包括所述单一测量点访问所述待检测网站的路径和所述待检测网站的传输控制协议TCP连接时间;Obtain the first fingerprint data of the website to be detected under the first network environment and the second fingerprint data under the second network environment from a single measurement point, wherein the first network environment only supports the website to be detected A network environment in which users access and obtain services through IPv6, the second network environment is a network environment in which the website to be detected only supports users to access and obtain services through IPv4, and the fingerprint data includes the single measurement point to access the network environment to be detected Detecting the path of the website and the transmission control protocol TCP connection time of the website to be detected;

获得自治系统、组织机构、地理位置与IPv6地址之间的第三映射关系,自治系统、组织机构、地理位置与IPv4地址之间的第四映射关系,并根据所述第三映射关系和所述第四映射关系,确定所述待检测网站的IPv6地址和所述待检测网站的IPv4地址分别映射的自治系统、组织机构和地理位置;Obtain the third mapping relationship between the autonomous system, the organization, the geographic location and the IPv6 address, and the fourth mapping relationship between the autonomous system, the organization, the geographic location and the IPv4 address, and according to the third mapping relationship and the The fourth mapping relationship is to determine the autonomous system, organizational structure and geographical location to which the IPv6 address of the website to be detected and the IPv4 address of the website to be detected are respectively mapped;

如果所述第一指纹数据与所述第二指纹数据的相似度或所述待检测网站的IPv6地址与所述待检测网站的IPv4地址分别映射的域名、自治系统、组织机构和地理位置的相似度大于第二阈值,且所述待检测网站的IPv6地址除所述待检测网站的IPv4地址映射的域名之外未映射其他域名,则确定所述待检测网站的IPv6升级方案为IPv6和IPv4双协议栈方案,其中,所述IPv6和IPv4双协议栈方案用于将只启动IPv4单协议栈的网站升级为同时启动IPv6和IPv4双协议栈的网站。If the similarity between the first fingerprint data and the second fingerprint data or the similarity of the domain name, autonomous system, organization and geographic location that are respectively mapped between the IPv6 address of the website to be detected and the IPv4 address of the website to be detected degree is greater than the second threshold, and the IPv6 address of the website to be detected does not map other domain names except the domain name mapped to the IPv4 address of the website to be detected, then it is determined that the IPv6 upgrade solution of the website to be detected is a dual IPv6 and IPv4 A protocol stack solution, wherein the IPv6 and IPv4 dual protocol stack solution is used to upgrade a website that only activates IPv4 single protocol stack to a website that simultaneously activates IPv6 and IPv4 dual protocol stacks.

在本申请实施例中,IPv6和IPv4双协议栈方案是将只启动IPv4单协议栈的网站升级为同时启动IPv6和IPv4双协议栈的网站,可以根据纯IPv6网络环境和纯IPv4网络环境这两种网络环境下网站的指纹信息和网站的IP地址映射的信息(如域名、自治系统、组织机构、地理位置)的相似度,确定网站的IPv6地址和IPv4地址是否是同一台主机,如果是同一台主机,且没有发现该IPv6地址除该IPv4地址映射的域名之外未映射其他域名,则确定网站的IPv6升级方案为IPv6和IPv4双协议栈方案,从而了解待检测网站的IPv6在部署升级过程中存在的问题,为待检测网站的IPv6的部署升级提供数据支撑,有利于全面落实国家IPv6规模部署要求。In the embodiment of this application, the IPv6 and IPv4 dual protocol stack solution is to upgrade the website that only starts the IPv4 single protocol stack to the website that starts the IPv6 and IPv4 dual protocol stack at the same time, which can be based on the pure IPv6 network environment and pure IPv4 network environment. The similarity between the fingerprint information of the website and the information mapped to the IP address of the website (such as domain name, autonomous system, organization, and geographical location) in different network environments determines whether the IPv6 address and IPv4 address of the website are the same host, and if they are the same host, and it is not found that the IPv6 address does not map other domain names except the domain name mapped to the IPv4 address, then it is determined that the IPv6 upgrade solution of the website is a dual protocol stack solution of IPv6 and IPv4, so as to understand the IPv6 deployment and upgrade process of the website to be detected It provides data support for the deployment and upgrade of IPv6 of the website to be tested, and is conducive to the full implementation of the national IPv6 scale deployment requirements.

一种可选实施方式中,所述方法还包括:In an optional embodiment, the method further includes:

如果所述待检测网站的IPv6地址映射的自治系统的语义信息包含内容分发网络CDN描述字段,则确定所述待检测网站的IPv6升级方案为CDN解析方案,其中,所述CDN解析方案用于将只解析IPv4地址的CDN升级为同时解析IPv6地址和IPv4地址的CDN。If the semantic information of the autonomous system of the IPv6 address mapping of the website to be detected includes a content distribution network CDN description field, then it is determined that the IPv6 upgrade solution of the website to be detected is a CDN resolution solution, wherein the CDN resolution solution is used to A CDN that only resolves IPv4 addresses is upgraded to a CDN that resolves both IPv6 addresses and IPv4 addresses.

在本申请实施例中,CDN解析方案是将只解析IPv4地址的CDN升级为同时解析IPv6地址和IPv4地址的CDN,可以根据网站的IPv6地址映射的自治系统的语义信息是否包含CDN描述字段,确定网站的IPv6升级方案是否为CDN解析方案,从而了解待检测网站的IPv6在部署升级过程中存在的问题,为待检测网站的IPv6的部署升级提供数据支撑,有利于全面落实国家IPv6规模部署要求。In the embodiment of this application, the CDN resolution solution is to upgrade the CDN that only resolves IPv4 addresses to a CDN that resolves both IPv6 addresses and IPv4 addresses. It can be determined according to whether the semantic information of the autonomous system mapped to the IPv6 address of the website contains the CDN description field. Whether the IPv6 upgrade plan of the website is a CDN resolution solution, so as to understand the problems existing in the IPv6 deployment and upgrade process of the website to be tested, provide data support for the deployment and upgrade of IPv6 of the website to be tested, and help to fully implement the national IPv6 scale deployment requirements.

一种可选实施方式中,所述方法还包括:In an optional embodiment, the method further includes:

根据所述第一映射关系,确定第一IPv6地址映射的域名,其中,第一IPv6地址为第一路由前缀映射的除所述待检测网站的IPv6地址之外的IPv6地址,第一路由前缀为所述待检测网站的IPv6地址映射的路由前缀;According to the first mapping relationship, determine the domain name mapped to the first IPv6 address, wherein the first IPv6 address is an IPv6 address other than the IPv6 address of the website to be detected mapped to the first routing prefix, and the first routing prefix is The routing prefix mapped to the IPv6 address of the website to be detected;

如果所述第一IPv6地址映射的域名的语义信息包含CDN描述字段,则确定所述待检测网站的IPv6升级方案为CDN解析方案,其中,所述CDN解析方案用于将只解析IPv4地址的CDN升级为同时解析IPv6地址和IPv4地址的CDN。If the semantic information of the domain name mapped to the first IPv6 address contains a CDN description field, then it is determined that the IPv6 upgrade solution of the website to be detected is a CDN resolution solution, wherein the CDN resolution solution is used to only resolve the CDN of the IPv4 address Upgrade to a CDN that resolves both IPv6 and IPv4 addresses.

在本申请实施例中,CDN解析方案是将只解析IPv4地址的CDN升级为同时解析IPv6地址和IPv4地址的CDN,可以根据网站的IPv6地址映射的路由前缀映射的其他IPv6地址映射的域名的语义信息是否包含CDN描述字段,确定网站的IPv6升级方案是否为CDN解析方案,从而了解待检测网站的IPv6在部署升级过程中存在的问题,为待检测网站的IPv6的部署升级提供数据支撑,有利于全面落实国家IPv6规模部署要求。In the embodiment of this application, the CDN resolution solution is to upgrade the CDN that only resolves IPv4 addresses to a CDN that resolves both IPv6 addresses and IPv4 addresses, and can map domain names mapped to other IPv6 addresses according to the routing prefix mapped to the IPv6 address of the website. Whether the information contains the CDN description field, determine whether the IPv6 upgrade plan of the website is a CDN resolution plan, so as to understand the problems existing in the IPv6 deployment and upgrade process of the website to be tested, and provide data support for the deployment and upgrade of IPv6 of the website to be tested, which is beneficial Fully implement the national IPv6 scale deployment requirements.

一种可选实施方式中,所述方法还包括:In an optional embodiment, the method further includes:

如果所述待检测网站的IPv6地址的前缀格式与请求评议RFC中定义的隧道前缀格式相同,则确定所述待检测网站的IPv6升级方案为隧道方案,其中,所述隧道方案用于利用IPv4协议来传输IPv6协议的数据。If the prefix format of the IPv6 address of the website to be detected is the same as the tunnel prefix format defined in the request for comment RFC, then it is determined that the IPv6 upgrade solution of the website to be detected is a tunnel solution, wherein the tunnel solution is used to utilize the IPv4 protocol To transmit the data of IPv6 protocol.

在本申请实施例中,可以根据网站的IPv6地址的前缀格式与RFC中定义的隧道前缀格式是否相同,确定网站的IPv6升级方案是否为隧道方案,从而了解待检测网站的IPv6在部署升级过程中存在的问题,为待检测网站的IPv6的部署升级提供数据支撑,有利于全面落实国家IPv6规模部署要求。In this embodiment of the application, it can be determined whether the IPv6 upgrade scheme of the website is a tunnel scheme according to whether the prefix format of the IPv6 address of the website is the same as the tunnel prefix format defined in the RFC, so as to understand the IPv6 deployment and upgrade process of the website to be detected The existing problems provide data support for the deployment and upgrading of IPv6 of the website to be tested, which is conducive to the full implementation of the national IPv6 scale deployment requirements.

一种可选实施方式中,所述方法还包括:In an optional embodiment, the method further includes:

如果所述待检测网站的IPv6地址的前缀格式与RFC中定义的翻译前缀格式相同,则确定所述待检测网站的IPv6升级方案为翻译方案,其中,所述翻译方案用于将IPv4地址翻译为IPv6地址以及将IPv6地址翻译为IPv4地址。If the prefix format of the IPv6 address of the website to be detected is the same as the translation prefix format defined in the RFC, then it is determined that the IPv6 upgrade scheme of the website to be detected is a translation scheme, wherein the translation scheme is used to translate the IPv4 address into IPv6 addresses and translation of IPv6 addresses to IPv4 addresses.

在本申请实施例中,可以根据网站的IPv6地址的前缀格式与RFC中定义的翻译前缀格式是否相同,确定网站的IPv6升级方案是否为翻译方案,从而了解待检测网站的IPv6在部署升级过程中存在的问题,为待检测网站的IPv6的部署升级提供数据支撑,有利于全面落实国家IPv6规模部署要求。In the embodiment of this application, it can be determined whether the IPv6 upgrade plan of the website is a translation plan according to whether the prefix format of the IPv6 address of the website is the same as the translation prefix format defined in the RFC, so as to understand the IPv6 deployment and upgrade process of the website to be detected The existing problems provide data support for the deployment and upgrading of IPv6 of the website to be tested, which is conducive to the full implementation of the national IPv6 scale deployment requirements.

第二方面,本申请实施例还提供一种网站的IPv6升级检测装置,所述装置包括:In the second aspect, the embodiment of the present application also provides an IPv6 upgrade detection device for a website, the device comprising:

处理模块,用于获得域名、路由前缀与互联网协议第六版IPv6地址之间的第一映射关系,域名、路由前缀与互联网协议第4版IPv4地址之间的第二映射关系;A processing module, configured to obtain a first mapping relationship between domain names, routing prefixes and Internet Protocol version 6 IPv6 addresses, and a second mapping relationship between domain names, routing prefixes and Internet Protocol version 4 IPv4 addresses;

确定模块,用于根据所述第一映射关系和所述第二映射关系,确定待检测网站的IPv6地址和所述待检测网站的IPv4地址分别映射的域名和路由前缀,其中,所述待检测网站为在进行IPv6升级后同时支持用户通过IPv6和IPv4访问并获取服务的网站;A determining module, configured to determine, according to the first mapping relationship and the second mapping relationship, the domain name and routing prefix to which the IPv6 address of the website to be detected and the IPv4 address of the website to be detected are respectively mapped, wherein the to-be-detected The website is a website that supports users to access and obtain services through IPv6 and IPv4 at the same time after IPv6 upgrade;

第一检测模块,用于如果所述待检测网站的IPv6地址映射的域名或路由前缀的数量或所述待检测网站的IPv4地址映射的域名或路由前缀的数量大于第一阈值,则确定所述待检测网站的IPv6升级方案为智能网关转化方案,其中,所述智能网关转化方案用于为IPv4单协议栈网站提供一个指向智能网关的IPv6地址。The first detection module is configured to determine that the The IPv6 upgrade scheme of the website to be detected is an intelligent gateway transformation scheme, wherein the intelligent gateway transformation scheme is used to provide an IPv6 address pointing to the intelligent gateway for the IPv4 single protocol stack website.

一种可选实施方式中,所述处理模块,具体用于:In an optional implementation manner, the processing module is specifically used for:

获得域名系统DNS解析服务器的日志数据,确定域名与IPv6地址之间的映射关系和域名与IPv4地址之间的映射关系;Obtain the log data of the domain name system DNS resolution server, determine the mapping relationship between the domain name and the IPv6 address and the mapping relationship between the domain name and the IPv4 address;

获得路由表数据,确定路由前缀与所述IPv6地址之间的映射关系和路由前缀与所述IPv4地址之间的映射关系;Obtain routing table data, determine the mapping relationship between the routing prefix and the IPv6 address and the mapping relationship between the routing prefix and the IPv4 address;

确定所述第一映射关系和所述第二映射关系。Determine the first mapping relationship and the second mapping relationship.

一种可选实施方式中,所述装置还包括第二检测模块,用于:In an optional implementation manner, the device further includes a second detection module, configured to:

从单一测量点获得所述待检测网站在第一网络环境下的第一指纹数据和在第二网络环境下的第二指纹数据,其中,所述第一网络环境为所述待检测网站只支持用户通过IPv6访问并获取服务的网络环境,所述第二网络环境为所述待检测网站只支持用户通过IPv4访问并获取服务的网络环境,所述指纹数据包括所述单一测量点访问所述待检测网站的路径和所述待检测网站的传输控制协议TCP连接时间;Obtain the first fingerprint data of the website to be detected under the first network environment and the second fingerprint data under the second network environment from a single measurement point, wherein the first network environment only supports the website to be detected A network environment in which users access and obtain services through IPv6, the second network environment is a network environment in which the website to be detected only supports users to access and obtain services through IPv4, and the fingerprint data includes the single measurement point to access the network environment to be detected Detecting the path of the website and the transmission control protocol TCP connection time of the website to be detected;

获得自治系统、组织机构、地理位置与IPv6地址之间的第三映射关系,自治系统、组织机构、地理位置与IPv4地址之间的第四映射关系,并根据所述第三映射关系和所述第四映射关系,确定所述待检测网站的IPv6地址和所述待检测网站的IPv4地址分别映射的自治系统、组织机构和地理位置;Obtain the third mapping relationship between the autonomous system, the organization, the geographic location and the IPv6 address, and the fourth mapping relationship between the autonomous system, the organization, the geographic location and the IPv4 address, and according to the third mapping relationship and the The fourth mapping relationship is to determine the autonomous system, organizational structure and geographical location to which the IPv6 address of the website to be detected and the IPv4 address of the website to be detected are respectively mapped;

如果所述第一指纹数据与所述第二指纹数据的相似度或所述待检测网站的IPv6地址与所述待检测网站的IPv4地址分别映射的域名、自治系统、组织机构和地理位置的相似度大于第二阈值,且所述待检测网站的IPv6地址除所述待检测网站的IPv4地址映射的域名之外未映射其他域名,则确定所述待检测网站的IPv6升级方案为IPv6和IPv4双协议栈方案,其中,所述IPv6和IPv4双协议栈方案用于将只启动IPv4单协议栈的网站升级为同时启动IPv6和IPv4双协议栈的网站。If the similarity between the first fingerprint data and the second fingerprint data or the similarity of the domain name, autonomous system, organization and geographic location that are respectively mapped between the IPv6 address of the website to be detected and the IPv4 address of the website to be detected degree is greater than the second threshold, and the IPv6 address of the website to be detected does not map other domain names except the domain name mapped to the IPv4 address of the website to be detected, then it is determined that the IPv6 upgrade solution of the website to be detected is a dual IPv6 and IPv4 A protocol stack solution, wherein the IPv6 and IPv4 dual protocol stack solution is used to upgrade a website that only activates IPv4 single protocol stack to a website that simultaneously activates IPv6 and IPv4 dual protocol stacks.

一种可选实施方式中,所述装置还包括第三检测模块,用于:In an optional implementation manner, the device further includes a third detection module, configured to:

如果所述待检测网站的IPv6地址映射的自治系统的语义信息包含内容分发网络CDN描述字段,则确定所述待检测网站的IPv6升级方案为CDN解析方案,其中,所述CDN解析方案用于将只解析IPv4地址的CDN升级为同时解析IPv6地址和IPv4地址的CDN。If the semantic information of the autonomous system of the IPv6 address mapping of the website to be detected includes a content distribution network CDN description field, then it is determined that the IPv6 upgrade solution of the website to be detected is a CDN resolution solution, wherein the CDN resolution solution is used to A CDN that only resolves IPv4 addresses is upgraded to a CDN that resolves both IPv6 addresses and IPv4 addresses.

一种可选实施方式中,所述装置还包括第四检测模块,用于:In an optional implementation manner, the device further includes a fourth detection module, configured to:

根据所述第一映射关系,确定第一IPv6地址映射的域名,其中,第一IPv6地址为第一路由前缀映射的除所述待检测网站的IPv6地址之外的IPv6地址,第一路由前缀为所述待检测网站的IPv6地址映射的路由前缀;According to the first mapping relationship, determine the domain name mapped to the first IPv6 address, wherein the first IPv6 address is an IPv6 address other than the IPv6 address of the website to be detected mapped to the first routing prefix, and the first routing prefix is The routing prefix mapped to the IPv6 address of the website to be detected;

如果所述第一IPv6地址映射的域名的语义信息包含CDN描述字段,则确定所述待检测网站的IPv6升级方案为CDN解析方案,其中,所述CDN解析方案用于将只解析IPv4地址的CDN升级为同时解析IPv6地址和IPv4地址的CDN。If the semantic information of the domain name mapped to the first IPv6 address contains a CDN description field, then it is determined that the IPv6 upgrade solution of the website to be detected is a CDN resolution solution, wherein the CDN resolution solution is used to only resolve the CDN of the IPv4 address Upgrade to a CDN that resolves both IPv6 and IPv4 addresses.

一种可选实施方式中,所述装置还包括第五检测模块,用于:In an optional implementation manner, the device further includes a fifth detection module, configured to:

如果所述待检测网站的IPv6地址的前缀格式与请求评议RFC中定义的隧道前缀格式相同,则确定所述待检测网站的IPv6升级方案为隧道方案,其中,所述隧道方案用于利用IPv4协议来传输IPv6协议的数据。If the prefix format of the IPv6 address of the website to be detected is the same as the tunnel prefix format defined in the request for comment RFC, then it is determined that the IPv6 upgrade solution of the website to be detected is a tunnel solution, wherein the tunnel solution is used to utilize the IPv4 protocol To transmit the data of IPv6 protocol.

一种可选实施方式中,所述装置还包括第六检测模块,用于:In an optional implementation manner, the device further includes a sixth detection module, configured to:

如果所述待检测网站的IPv6地址的前缀格式与RFC中定义的翻译前缀格式相同,则确定所述待检测网站的IPv6升级方案为翻译方案,其中,所述翻译方案用于将IPv4地址翻译为IPv6地址以及将IPv6地址翻译为IPv4地址。If the prefix format of the IPv6 address of the website to be detected is the same as the translation prefix format defined in the RFC, then it is determined that the IPv6 upgrade scheme of the website to be detected is a translation scheme, wherein the translation scheme is used to translate the IPv4 address into IPv6 addresses and translation of IPv6 addresses to IPv4 addresses.

第三方面,本申请实施例还提供一种网站的IPv6升级检测系统,所述系统包括:In a third aspect, the embodiment of the present application also provides an IPv6 upgrade detection system for a website, and the system includes:

存储器,用于存储程序指令;memory for storing program instructions;

处理器,用于调用所述存储器中存储的程序指令,按照获得的程序指令执行第一方面中的任一种实施方式包括的步骤。The processor is configured to call the program instructions stored in the memory, and execute the steps included in any one of the implementation manners in the first aspect according to the obtained program instructions.

第四方面,本申请实施例提供一种存储介质,该存储介质存储有计算机可执行指令,所述计算机可执行指令用于使计算机执行第一方面中的任一种实施方式包括的步骤。In a fourth aspect, the embodiments of the present application provide a storage medium, the storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause a computer to execute the steps included in any implementation manner in the first aspect.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例。In order to more clearly illustrate the technical solutions in the embodiments of the present application or in the prior art, the accompanying drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only for the application. some examples.

图1为本申请实施例提供的一种网站的IPv6升级检测系统的结构示意图;Fig. 1 is the structural representation of the IPv6 upgrade detection system of a kind of website that the embodiment of the present application provides;

图2为本申请实施例提供的一种网站的IPv6升级检测方法的流程示意图;Fig. 2 is the schematic flow chart of the IPv6 upgrade detection method of a kind of website that the embodiment of the present application provides;

图3为本申请实施例提供的一种网站的IPv6升级检测装置的结构示意图;FIG. 3 is a schematic structural diagram of an IPv6 upgrade detection device for a website provided in an embodiment of the present application;

图4为本申请实施例提供的又一种网站的IPv6升级检测系统的结构示意图。FIG. 4 is a schematic structural diagram of another IPv6 upgrade detection system for a website provided by an embodiment of the present application.

具体实施方式Detailed ways

为使本申请的目的、技术方案和优点更加清楚明白,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,能够以不同于此处的顺序执行所示出或描述的步骤。In order to make the purpose, technical solutions and advantages of the application clearer, the technical solutions in the embodiments of the application will be clearly and completely described below in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments are only It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application. In the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined arbitrarily with each other. Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described can be performed in an order different from that shown or described herein.

本申请的说明书和权利要求书及上述附图中的术语“第一”和“第二”是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”以及它们任何变形,意图在于覆盖不排他的保护。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first" and "second" in the specification and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the term "comprises", as well as any variations thereof, is intended to cover non-exclusive protections. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally further includes For other steps or units inherent in these processes, methods, products or apparatuses.

本申请实施例中,“至少一个”可以表示至少两个,例如可以是两个、三个或者更多个,本申请实施例不做限制。In the embodiment of the present application, "at least one" may mean at least two, for example, it may be two, three or more, which is not limited in the embodiment of the present application.

另外,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,在不做特别说明的情况下,一般表示前后关联对象是一种“或”的关系。In addition, the term "and/or" in this article is only an association relationship describing associated objects, which means that there may be three relationships, for example, A and/or B, which may mean: A exists alone, A and B exist at the same time, There are three cases of B alone. In addition, the character "/" in this article, unless otherwise specified, generally indicates that the contextual objects are an "or" relationship.

目前,传统的网站的IPv6升级检测是从网站内容的IPv6支持度检测网站是否支持IPv6,如检测首页内容的IPv6支持度、二级链接内容的IPv6支持度以及三级链接内容的IPv6支持度等,传统的网站的IPv6升级检测仅检测网站进行IPv6升级后的结果,并未检测网站进行IPv6升级时的方案。不同的网站的IPv6升级方案对网站的安全性、可靠性以及访问性能有不同程度的影响,如果不检测网站进行IPv6升级时的方案,可能无法了解网站的IPv6在部署升级过程中存在的问题,无法为网站的IPv6的部署升级提供数据支撑,不利于全面落实国家IPv6规模部署要求。由此可见,现有的网站的IPv6升级检测方法存在无法检测网站的IPv6升级方案的问题。At present, the traditional IPv6 upgrade detection of the website is to detect whether the website supports IPv6 from the IPv6 support degree of the website content, such as detecting the IPv6 support degree of the homepage content, the IPv6 support degree of the secondary link content, and the IPv6 support degree of the third-level link content, etc. , the traditional IPv6 upgrade detection of the website only detects the result of the IPv6 upgrade of the website, and does not detect the solution of the IPv6 upgrade of the website. The IPv6 upgrade plan of different websites has different impacts on the security, reliability and access performance of the website. If you do not check the IPv6 upgrade plan of the website, you may not be able to understand the problems existing in the IPv6 deployment and upgrade process of the website. It is unable to provide data support for the deployment and upgrade of IPv6 on the website, which is not conducive to the full implementation of the national IPv6 large-scale deployment requirements. It can be seen that the existing IPv6 upgrade detection method for a website has the problem of being unable to detect the IPv6 upgrade solution of the website.

鉴于此,本申请实施例提供一种网站的IPv6升级检测方法,该方法可以根据网站的IPv6地址映射的域名或路由前缀的数量或网站的IPv4地址映射的域名或路由前缀的数量是否大于阈值,确定网站的IPv6升级方案是否为智能网关转化方案,从而了解待检测网站的IPv6在部署升级过程中存在的问题,为待检测网站的IPv6的部署升级提供数据支撑,有利于全面落实国家IPv6规模部署要求。In view of this, the embodiment of the present application provides a method for detecting an IPv6 upgrade of a website, which can be based on whether the number of domain names or routing prefixes mapped to the IPv6 address of the website or the number of domain names or routing prefixes mapped to the IPv4 address of the website is greater than a threshold, Determine whether the IPv6 upgrade plan of the website is an intelligent gateway transformation plan, so as to understand the problems existing in the IPv6 deployment and upgrade process of the website to be tested, and provide data support for the IPv6 deployment and upgrade of the website to be tested, which is conducive to the comprehensive implementation of the national IPv6 scale deployment Require.

为了更好的理解上述技术方案,下面通过说明书附图以及具体实施例对本申请技术方案做详细的说明,应当理解本申请实施例以及实施例中的具体特征是对本申请技术方案的详细的说明,而不是对本申请技术方案的限定,在不冲突的情况下,本申请实施例以及实施例中的技术特征可以相互组合。In order to better understand the above technical solution, the technical solution of the present application will be described in detail below through the accompanying drawings and specific examples. It should be understood that the embodiments of the present application and the specific features in the examples are detailed descriptions of the technical solution of the present application. Instead of limiting the technical solutions of the present application, the embodiments of the present application and the technical features in the embodiments can be combined with each other under the condition of no conflict.

如图1所示,为本申请实施例提供的一种网站的IPv6升级检测系统的结构示意图,该系统包括电子设备101和网站102,其中,电子设备101用于检测网站102的IPv6升级方案。电子设备101可以是便携式设备,诸如手机、平板电脑、具备无线通讯功能的可穿戴设备(例如,手表、手环、头盔、耳机等)、车载终端设备、增强现实(Augmented Reality,AR)/虚拟现实(Virtual Reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobilepersonal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等。电子设备还可以是智能家居设备(例如,智能电视、智能音箱等)、智能汽车、智能机器人、车间设备、无人驾驶(Self Driving)中的无线终端、远程手术(Remote MedicalSurgery)中的无线终端、智能电网(Smart Grid)中的无线终端、运输安全(TransportationSafety)中的无线终端、智慧城市(Smart City)中的无线终端,或智慧家庭(Smart Home)中的无线终端、飞行设备(例如,智能机器人、热气球、无人机、飞机)等。本申请实施例对电子设备的具体类型不作任何限制。As shown in FIG. 1 , it is a schematic structural diagram of an IPv6 upgrade detection system for a website provided by an embodiment of the present application. The system includes an electronic device 101 and a website 102 , wherein the electronic device 101 is used to detect the IPv6 upgrade solution of the website 102 . The electronic device 101 may be a portable device, such as a mobile phone, a tablet computer, a wearable device with a wireless communication function (for example, a watch, a bracelet, a helmet, a headset, etc.), a vehicle terminal device, an augmented reality (Augmented Reality, AR)/virtual Reality (Virtual Reality, VR) equipment, notebook computer, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook, personal digital assistant (personal digital assistant, PDA), etc. Electronic devices can also be smart home devices (such as smart TVs, smart speakers, etc.), smart cars, smart robots, workshop equipment, wireless terminals in self-driving (Self Driving), wireless terminals in remote surgery (Remote MedicalSurgery) , wireless terminals in Smart Grid, wireless terminals in Transportation Safety, wireless terminals in Smart City, or wireless terminals in Smart Home, flight equipment (for example, intelligent robots, hot air balloons, drones, airplanes), etc. The embodiment of the present application does not impose any limitation on the specific type of the electronic device.

应理解,图1中仅为便于理解,示例性地示出了一个网站的IPv6升级检测系统,但这不应对本申请构成任何限定,该网站的IPv6升级检测系统中还可以包括更多数量的电子设备,也可以包括更多数量的网站,与不同的网站通信的电子设备可以是相同的电子设备,也可以是不同的电子设备,本申请实施例对此不做具体限定。It should be understood that the IPv6 upgrade detection system of a website is exemplarily shown in Fig. 1 for ease of understanding, but this should not constitute any limitation to the application, and the IPv6 upgrade detection system of the website may also include more The electronic device may also include a greater number of websites, and the electronic devices communicating with different websites may be the same electronic device or different electronic devices, which is not specifically limited in this embodiment of the present application.

如图2所示,为本申请实施例提供的一种网站的IPv6升级检测方法的流程示意图。在下文的介绍过程中,以该网站的IPv6升级检测方法应用于图1所示的网站的IPv6升级检测系统为例。为了便于介绍,在下文中,以该网站的IPv6升级检测方法由电子设备执行为例。因为本实施例是以应用在图1所示的网站的IPv6升级检测系统为例,因此,下文中所述的电子设备可以是图1所示的网站的IPv6升级检测系统中的电子设备100,下文中所述的网站可以是图1所示的网站的IPv6升级检测系统中的网站102。As shown in FIG. 2 , it is a schematic flowchart of a method for detecting an IPv6 upgrade of a website provided in the embodiment of the present application. In the following introduction process, the IPv6 upgrade detection method of this website is applied to the IPv6 upgrade detection system of the website shown in FIG. 1 as an example. For ease of introduction, in the following, the method for detecting IPv6 upgrade of the website is executed by electronic equipment as an example. Because this embodiment takes the IPv6 upgrade detection system applied to the website shown in Figure 1 as an example, therefore, the electronic device described below may be the electronic device 100 in the IPv6 upgrade detection system of the website shown in Figure 1 , The website described below may be the website 102 in the IPv6 upgrade detection system for websites shown in FIG. 1 .

步骤201:获得域名、路由前缀与IPv6地址之间的第一映射关系,域名、路由前缀与IPv4地址之间的第二映射关系。Step 201: Obtain a first mapping relationship between domain names, routing prefixes and IPv6 addresses, and a second mapping relationship between domain names, routing prefixes and IPv4 addresses.

在本申请实施例中,可以获得域名系统(Domain Name System,DNS)解析服务器的日志数据,根据该日志数据确定域名与IPv6地址之间的映射关系和域名与IPv4地址之间的映射关系,例如,域名www.a.com映射IPv6地址a,域名www.b.com映射IPv4地址b。获得路由表数据,根据该路由表数据确定路由前缀与IPv6地址之间的映射关系和路由前缀与IPv4地址之间的映射关系,其中,一条完整的路由前缀由网络地址+前缀长度(或者网络掩码)构成,两者缺一不可,例如192.168.1.0/24与192.168.1.0/25,虽然网络地址相同,都是192.168.1.0,但是两者绝对是两条不同的路由,因为他们的前缀长度不相同。确定域名、路由前缀与IPv6地址之间的第一映射关系和域名、路由前缀与IPv4地址之间的第二映射关系>。In the embodiment of the present application, the log data of the domain name system (Domain Name System, DNS) resolution server can be obtained, and the mapping relationship between the domain name and the IPv6 address and the mapping relationship between the domain name and the IPv4 address are determined according to the log data, for example , the domain name www.a.com is mapped to IPv6 address a, and the domain name www.b.com is mapped to IPv4 address b. Obtain the routing table data, and determine the mapping relationship between the routing prefix and the IPv6 address and the mapping relationship between the routing prefix and the IPv4 address according to the routing table data, wherein a complete routing prefix consists of network address+prefix length (or network mask Code), both are indispensable, for example, 192.168.1.0/24 and 192.168.1.0/25, although the network address is the same, both are 192.168.1.0, but the two are definitely two different routes, because of their prefix length Are not the same. Determine the first mapping relationship between the domain name, routing prefix and IPv6 address and the second mapping relationship> between the domain name, routing prefix and IPv4 address.

例如,如表1所示,IPv6地址a映射一个路由前缀192.168.1.0/24和两个域名www.a.com和www.c.com,IPv6地址b映射一个路由前缀192.168.1.0/25和两个域名www.b.com。For example, as shown in Table 1, IPv6 address a maps a routing prefix 192.168.1.0/24 and two domain names www.a.com and www.c.com, and IPv6 address b maps a routing prefix 192.168.1.0/25 and two domain names domain name www.b.com.

域名domain name路由前缀routing prefixIPv6地址IPv6 addresswww.a.comwww.a.com192.168.1.0/24192.168.1.0/24IPv6地址aIPv6 addressawww.b.comwww.b.com192.168.1.0/25192.168.1.0/25IPv6地址bIPv6 addressbwww.c.comwww.c.com192.168.1.0/24192.168.1.0/24IPv6地址aIPv6 addressa

表1Table 1

步骤202:根据第一映射关系和第二映射关系,确定待检测网站的IPv6地址和待检测网站的IPv4地址分别映射的域名和路由前缀。Step 202: According to the first mapping relationship and the second mapping relationship, determine the domain name and routing prefix respectively mapped to the IPv6 address of the website to be detected and the IPv4 address of the website to be detected.

在本申请实施例中,在获得域名、路由前缀与IPv6地址之间的第一映射关系,域名、路由前缀与IPv4地址之间的第二映射关系之后,可以根据第一映射关系和第二映射关系,确定待检测网站的IPv6地址和待检测网站的IPv4地址分别映射的域名和路由前缀,其中,待检测网站为在进行IPv6升级后同时支持用户通过IPv6和IPv4访问并获取服务的网站。例如,待检测网站的IPv6地址映射的域名包括域名1、域名2和域名3,映射的路由前缀包括路由前缀1和路由前缀2;待检测网站的IPv4地址映射的域名包括域名a,映射的路由前缀包括路由前缀3。In this embodiment of the application, after obtaining the first mapping relationship between the domain name, routing prefix and IPv6 address, and the second mapping relationship between the domain name, routing prefix and IPv4 address, according to the first mapping relationship and the second mapping relationship The relationship between the IPv6 address of the website to be detected and the IPv4 address of the website to be detected are respectively mapped to the domain name and routing prefix, wherein the website to be detected is a website that supports users to access and obtain services through IPv6 and IPv4 at the same time after IPv6 upgrade. For example, the domain name mapped to the IPv6 address of the website to be detected includes domain name 1, domain name 2, and domain name 3, and the mapped routing prefix includes routing prefix 1 and routing prefix 2; the domain name mapped to the IPv4 address of the website to be detected includes domain name a, and the mapped routing prefix The prefix includes route prefix 3.

步骤203:如果待检测网站的IPv6地址映射的域名或路由前缀的数量或待检测网站的IPv4地址映射的域名或路由前缀的数量大于第一阈值,则确定待检测网站的IPv6升级方案为智能网关转化方案。Step 203: If the number of domain names or routing prefixes mapped to the IPv6 address of the website to be detected or the number of domain names or routing prefixes mapped to the IPv4 address of the website to be detected is greater than the first threshold, then determine that the IPv6 upgrade solution of the website to be detected is an intelligent gateway conversion program.

在本申请实施例中,在确定待检测网站的IPv6地址和待检测网站的IPv4地址分别映射的域名和路由前缀之后,如果待检测网站的IPv6地址映射的域名或路由前缀的数量或待检测网站的IPv4地址映射的域名或路由前缀的数量大于第一阈值,则可以确定待检测网站的IPv6升级方案为智能网关转化方案,其中,智能网关转化方案用于为IPv4单协议栈网站(即只支持IPv4用户访问的网站)提供一个指向智能网关的IPv6地址,使得IPv6用户可以通过智能网关访问IPv4单协议栈网站。例如,第一阈值为2,待检测网站的IPv6地址映射的域名的数量为3,分别是域名1、域名2和域名3,则确定待检测网站的IPv6升级方案为智能网关转化方案。In the embodiment of the present application, after determining the domain name and the routing prefix respectively mapped to the IPv6 address of the website to be detected and the IPv4 address of the website to be detected, if the number of domain names or routing prefixes mapped to the IPv6 address of the website to be detected or the website to be detected The number of domain names or routing prefixes mapped to the IPv4 address of the corresponding IPv4 address is greater than the first threshold, then it can be determined that the IPv6 upgrade scheme of the website to be detected is an intelligent gateway transformation scheme, wherein the intelligent gateway transformation scheme is used for an IPv4 single protocol stack website (that is, only supports The website visited by IPv4 users) provides an IPv6 address pointing to the smart gateway, so that IPv6 users can access the IPv4 single protocol stack website through the smart gateway. For example, if the first threshold is 2, and the number of domain names mapped to the IPv6 address of the website to be detected is 3, which are respectively domain name 1, domain name 2 and domain name 3, then it is determined that the IPv6 upgrade solution of the website to be detected is an intelligent gateway conversion solution.

作为一种可能的实施方式,还可以从单一测量点获得待检测网站在第一网络环境下的第一指纹数据和在第二网络环境下的第二指纹数据。其中,第一网络环境为待检测网站只支持用户通过IPv6访问并获取服务的网络环境,即纯IPv6网络环境。第二网络环境为待检测网站只支持用户通过IPv4访问并获取服务的网络环境,即纯IPv4网络环境。指纹数据可以包括单一测量点访问待检测网站的路径和待检测网站的传输控制协议(Transmission Control Protocol,TCP)连接时间。根据路由表数据获得自治系统(Autonomous System,AS)、组织机构、地理位置与IPv6地址之间的第三映射关系,自治系统、组织机构、地理位置与IPv4地址之间的第四映射关系,并根据第三映射关系和第四映射关系,确定待检测网站的IPv6地址和待检测网站的IPv4地址分别映射的自治系统、组织机构和地理位置。如果第一指纹数据与第二指纹数据的相似度或待检测网站的IPv6地址与待检测网站的IPv4地址分别映射的域名、自治系统、组织机构和地理位置的相似度大于第二阈值,且待检测网站的IPv6地址除待检测网站的IPv4地址映射的域名之外未映射其他域名,则确定待检测网站的IPv6升级方案为IPv6和IPv4双协议栈方案,其中,IPv6和IPv4双协议栈方案用于将只启动IPv4单协议栈的网站升级为同时启动IPv6和IPv4双协议栈的网站。例如,第一指纹数据与第二指纹数据的相似度为80%,第二阈值为70%,且待检测网站的IPv6地址除待检测网站的IPv4地址映射的域名之外未映射其他域名,则确定待检测网站的IPv6升级方案为IPv6和IPv4双协议栈方案。As a possible implementation manner, the first fingerprint data of the website to be detected under the first network environment and the second fingerprint data of the website under the second network environment may also be obtained from a single measurement point. Wherein, the first network environment is a network environment in which the website to be detected only supports users to access and obtain services through IPv6, that is, a pure IPv6 network environment. The second network environment is a network environment in which the website to be detected only supports users to access and obtain services through IPv4, that is, a pure IPv4 network environment. The fingerprint data may include a path for a single measurement point to access the website to be detected and a transmission control protocol (Transmission Control Protocol, TCP) connection time of the website to be detected. Obtain the third mapping relationship between the autonomous system (Autonomous System, AS), organizational structure, geographic location and IPv6 address according to the routing table data, and the fourth mapping relationship between the autonomous system, organizational structure, geographic location and IPv4 address, and According to the third mapping relationship and the fourth mapping relationship, determine the autonomous system, organization and geographic location to which the IPv6 address of the website to be detected and the IPv4 address of the website to be detected are respectively mapped. If the similarity between the first fingerprint data and the second fingerprint data or the similarity of the domain name, autonomous system, organization and geographical location mapped between the IPv6 address of the website to be detected and the IPv4 address of the website to be detected is greater than the second threshold, and to be If the IPv6 address of the detected website does not map other domain names except the domain name mapped to the IPv4 address of the website to be detected, then it is determined that the IPv6 upgrade solution of the website to be detected is the IPv6 and IPv4 dual protocol stack solution, wherein the IPv6 and IPv4 dual protocol stack solution uses It is used to upgrade the website that only starts IPv4 single protocol stack to the website that starts IPv6 and IPv4 dual protocol stack at the same time. For example, the similarity between the first fingerprint data and the second fingerprint data is 80%, the second threshold is 70%, and the IPv6 address of the website to be detected is not mapped to other domain names except the domain name mapped to the IPv4 address of the website to be detected, then It is determined that the IPv6 upgrade scheme of the website to be tested is the IPv6 and IPv4 dual protocol stack scheme.

作为一种可能的实施方式,还可以根据第三映射关系,确定待检测网站的IPv6地址映射的自治系统,如果待检测网站的IPv6地址映射的自治系统的语义信息包含内容分发网络(Content Delivery Network,CDN)描述字段,则可以确定待检测网站的IPv6升级方案为CDN解析方案,其中,CDN解析方案用于将只解析IPv4地址的CDN升级为同时解析IPv6地址和IPv4地址的CDN。As a possible implementation, it is also possible to determine the autonomous system mapped to the IPv6 address of the website to be detected according to the third mapping relationship, if the semantic information of the autonomous system mapped to the IPv6 address of the website to be detected includes Content Delivery Network (Content Delivery Network) , CDN) description field, then it can be determined that the IPv6 upgrade scheme of the website to be detected is a CDN resolution scheme, wherein the CDN resolution scheme is used to upgrade a CDN that only resolves IPv4 addresses to a CDN that resolves IPv6 addresses and IPv4 addresses simultaneously.

作为一种可能的实施方式,还可以根据第一映射关系,确定第一IPv6地址映射的域名,其中,第一IPv6地址为第一路由前缀映射的除待检测网站的IPv6地址之外的IPv6地址,第一路由前缀为待检测网站的IPv6地址映射的路由前缀,如果第一IPv6地址映射的域名的语义信息包含CDN描述字段,则可以确定待检测网站的IPv6升级方案为CDN解析方案。As a possible implementation, it is also possible to determine the domain name mapped to the first IPv6 address according to the first mapping relationship, where the first IPv6 address is an IPv6 address other than the IPv6 address of the website to be detected mapped to the first routing prefix , the first routing prefix is the routing prefix mapped to the IPv6 address of the website to be detected, if the semantic information of the domain name mapped to the first IPv6 address contains a CDN description field, then it can be determined that the IPv6 upgrade solution of the website to be detected is a CDN resolution solution.

作为一种可能的实施方式,还可以分析待检测网站的IPv6地址的结构,确定待检测网站的IPv6地址的前缀格式,如果待检测网站的IPv6地址的前缀格式与请求评议(Request For Comments,RFC)中定义的隧道前缀格式相同,则可以确定待检测网站的IPv6升级方案为隧道方案,其中,隧道方案用于利用IPv4协议来传输IPv6协议的数据。As a possible implementation, the structure of the IPv6 address of the website to be detected can also be analyzed to determine the prefix format of the IPv6 address of the website to be detected, if the prefix format of the IPv6 address of the website to be detected is the same as Request For Comments (RFC ), the tunnel prefix format defined in ) is the same, then it can be determined that the IPv6 upgrade scheme of the website to be detected is a tunnel scheme, wherein the tunnel scheme is used to transmit IPv6 protocol data using the IPv4 protocol.

作为一种可能的实施方式,还可以分析待检测网站的IPv6地址的结构,确定待检测网站的IPv6地址的前缀格式,如果待检测网站的IPv6地址的前缀格式与RFC中定义的翻译前缀格式相同,则可以确定待检测网站的IPv6升级方案为翻译方案,其中,翻译方案用于将IPv4地址翻译为IPv6地址以及将IPv6地址翻译为IPv4地址。As a possible implementation, the structure of the IPv6 address of the website to be detected can also be analyzed to determine the prefix format of the IPv6 address of the website to be detected, if the prefix format of the IPv6 address of the website to be detected is the same as the translated prefix format defined in the RFC , then it can be determined that the IPv6 upgrade solution of the website to be detected is a translation solution, wherein the translation solution is used to translate an IPv4 address into an IPv6 address and translate an IPv6 address into an IPv4 address.

上述方案,可以根据网站的IPv6地址映射的域名或路由前缀的数量或网站的IPv4地址映射的域名或路由前缀的数量是否大于阈值,确定网站的IPv6升级方案是否为智能网关转化方案;还可以根据纯IPv6网络环境和纯IPv4网络环境这两种网络环境下网站的指纹信息和网站的IP地址映射的信息(如域名、自治系统、组织机构、地理位置)的相似度,确定网站的IPv6地址和IPv4地址是否是同一台主机,如果是同一台主机,且没有发现该IPv6地址除该IPv4地址映射的域名之外未映射其他域名,则确定网站的IPv6升级方案为IPv6和IPv4双协议栈方案;还可以根据网站的IPv6地址映射的自治系统的语义信息或者映射的路由前缀映射的其他IPv6地址映射的域名的语义信息是否包含CDN描述字段,确定网站的IPv6升级方案是否为CDN解析方案;还可以根据网站的IPv6地址的前缀格式与RFC中定义的隧道前缀格式是否相同,确定网站的IPv6升级方案是否为隧道方案;还可以根据网站的IPv6地址的前缀格式与RFC中定义的翻译前缀格式是否相同,确定网站的IPv6升级方案是否为翻译方案。从而了解待检测网站的IPv6在部署升级过程中存在的问题,为待检测网站的IPv6的部署升级提供数据支撑,有利于全面落实国家IPv6规模部署要求。The above scheme can determine whether the IPv6 upgrade scheme of the website is an intelligent gateway transformation scheme according to whether the number of domain names or routing prefixes mapped to the IPv6 address of the website or the number of domain names or routing prefixes mapped to the IPv4 address of the website is greater than a threshold; The similarity between the fingerprint information of the website and the information mapped to the IP address of the website (such as domain name, autonomous system, organization, geographical location) in the pure IPv6 network environment and the pure IPv4 network environment determines the IPv6 address of the website and Whether the IPv4 address is the same host, if it is the same host, and it is not found that the IPv6 address is not mapped to any other domain name except the domain name mapped to the IPv4 address, then determine that the IPv6 upgrade plan of the website is the IPv6 and IPv4 dual protocol stack plan; It is also possible to determine whether the IPv6 upgrade solution of the website is a CDN resolution solution according to whether the semantic information of the autonomous system mapped to the IPv6 address of the website or the semantic information of the domain name mapped to other IPv6 addresses mapped to the route prefix contains the CDN description field; According to whether the prefix format of the IPv6 address of the website is the same as the tunnel prefix format defined in RFC, determine whether the IPv6 upgrade plan of the website is a tunnel solution; it can also be based on whether the prefix format of the IPv6 address of the website is the same as the translation prefix format defined in RFC , to determine whether the IPv6 upgrade solution of the website is a translation solution. In order to understand the problems existing in the IPv6 deployment and upgrading process of the website to be tested, provide data support for the deployment and upgrade of IPv6 of the website to be tested, and help to fully implement the national IPv6 scale deployment requirements.

基于同一发明构思,本申请实施例还提供一种网站的IPv6升级检测装置,该网站的IPv6升级检测装置可以应用于前述图1所示的网站的IPv6升级检测系统。该网站的IPv6升级检测装置可以实现前述的网站的IPv6升级检测方法对应的功能。该网站的IPv6升级检测装置可以是硬件结构、软件模块、或硬件结构加软件模块。该网站的IPv6升级检测装置可以由芯片系统实现,芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。如图3所示,为本申请实施例提供的一种网站的IPv6升级检测装置的结构示意图,该网站的IPv6升级检测装置包括处理模块301、确定模块302以及第一检测模块303。Based on the same inventive concept, the embodiment of the present application also provides an IPv6 upgrade detection device for a website. The IPv6 upgrade detection device for a website can be applied to the IPv6 upgrade detection system for a website shown in FIG. 1 . The device for detecting IPv6 upgrade of the website can realize the functions corresponding to the aforementioned method for detecting IPv6 upgrade of the website. The IPv6 upgrade detection device of the website may be a hardware structure, a software module, or a hardware structure plus a software module. The IPv6 upgrade detection device of this website can be implemented by a chip system, and the chip system can be composed of chips, and can also include chips and other discrete devices. As shown in FIG. 3 , it is a schematic structural diagram of an IPv6 upgrade detection device for a website provided by an embodiment of the present application. The IPv6 upgrade detection device for a website includes aprocessing module 301 , adetermination module 302 and afirst detection module 303 .

处理模块301,用于获得域名、路由前缀与互联网协议第六版IPv6地址之间的第一映射关系,域名、路由前缀与互联网协议第4版IPv4地址之间的第二映射关系;Theprocessing module 301 is configured to obtain a first mapping relationship between domain names, routing prefixes and Internet Protocol version 6 IPv6 addresses, and a second mapping relationship between domain names, routing prefixes and Internet Protocol version 4 IPv4 addresses;

确定模块302,用于根据所述第一映射关系和所述第二映射关系,确定待检测网站的IPv6地址和所述待检测网站的IPv4地址分别映射的域名和路由前缀,其中,所述待检测网站为在进行IPv6升级后同时支持用户通过IPv6和IPv4访问并获取服务的网站;Thedetermination module 302 is configured to determine the domain name and routing prefix respectively mapped to the IPv6 address of the website to be detected and the IPv4 address of the website to be detected according to the first mapping relationship and the second mapping relationship, wherein the to-be-detected website The detection website is a website that supports users to access and obtain services through IPv6 and IPv4 at the same time after IPv6 upgrade;

第一检测模块303,用于如果所述待检测网站的IPv6地址映射的域名或路由前缀的数量或所述待检测网站的IPv4地址映射的域名或路由前缀的数量大于第一阈值,则确定所述待检测网站的IPv6升级方案为智能网关转化方案,其中,所述智能网关转化方案用于为IPv4单协议栈网站提供一个指向智能网关的IPv6地址。Thefirst detection module 303 is configured to determine if the number of domain names or routing prefixes mapped to the IPv6 address of the website to be detected or the number of domain names or routing prefixes mapped to the IPv4 address of the website to be detected is greater than a first threshold The IPv6 upgrade scheme of the website to be detected is an intelligent gateway transformation scheme, wherein the intelligent gateway transformation scheme is used to provide an IPv6 address pointing to the intelligent gateway for the IPv4 single protocol stack website.

一种可选实施方式中,所述处理模块301,具体用于:In an optional implementation manner, theprocessing module 301 is specifically configured to:

获得域名系统DNS解析服务器的日志数据,确定域名与IPv6地址之间的映射关系和域名与IPv4地址之间的映射关系;Obtain the log data of the domain name system DNS resolution server, determine the mapping relationship between the domain name and the IPv6 address and the mapping relationship between the domain name and the IPv4 address;

获得路由表数据,确定路由前缀与所述IPv6地址之间的映射关系和路由前缀与所述IPv4地址之间的映射关系;Obtain routing table data, determine the mapping relationship between the routing prefix and the IPv6 address and the mapping relationship between the routing prefix and the IPv4 address;

确定所述第一映射关系和所述第二映射关系。Determine the first mapping relationship and the second mapping relationship.

一种可选实施方式中,所述装置还包括第二检测模块,用于:In an optional implementation manner, the device further includes a second detection module, configured to:

从单一测量点获得所述待检测网站在第一网络环境下的第一指纹数据和在第二网络环境下的第二指纹数据,其中,所述第一网络环境为所述待检测网站只支持用户通过IPv6访问并获取服务的网络环境,所述第二网络环境为所述待检测网站只支持用户通过IPv4访问并获取服务的网络环境,所述指纹数据包括所述单一测量点访问所述待检测网站的路径和所述待检测网站的传输控制协议TCP连接时间;Obtain the first fingerprint data of the website to be detected under the first network environment and the second fingerprint data under the second network environment from a single measurement point, wherein the first network environment only supports the website to be detected A network environment in which users access and obtain services through IPv6, the second network environment is a network environment in which the website to be detected only supports users to access and obtain services through IPv4, and the fingerprint data includes the single measurement point to access the network environment to be detected Detecting the path of the website and the transmission control protocol TCP connection time of the website to be detected;

获得自治系统、组织机构、地理位置与IPv6地址之间的第三映射关系,自治系统、组织机构、地理位置与IPv4地址之间的第四映射关系,并根据所述第三映射关系和所述第四映射关系,确定所述待检测网站的IPv6地址和所述待检测网站的IPv4地址分别映射的自治系统、组织机构和地理位置;Obtain the third mapping relationship between the autonomous system, the organization, the geographic location and the IPv6 address, and the fourth mapping relationship between the autonomous system, the organization, the geographic location and the IPv4 address, and according to the third mapping relationship and the The fourth mapping relationship is to determine the autonomous system, organizational structure and geographical location to which the IPv6 address of the website to be detected and the IPv4 address of the website to be detected are respectively mapped;

如果所述第一指纹数据与所述第二指纹数据的相似度或所述待检测网站的IPv6地址与所述待检测网站的IPv4地址分别映射的域名、自治系统、组织机构和地理位置的相似度大于第二阈值,且所述待检测网站的IPv6地址除所述待检测网站的IPv4地址映射的域名之外未映射其他域名,则确定所述待检测网站的IPv6升级方案为IPv6和IPv4双协议栈方案,其中,所述IPv6和IPv4双协议栈方案用于将只启动IPv4单协议栈的网站升级为同时启动IPv6和IPv4双协议栈的网站。If the similarity between the first fingerprint data and the second fingerprint data or the similarity of the domain name, autonomous system, organization and geographic location that are respectively mapped between the IPv6 address of the website to be detected and the IPv4 address of the website to be detected degree is greater than the second threshold, and the IPv6 address of the website to be detected does not map other domain names except the domain name mapped to the IPv4 address of the website to be detected, then it is determined that the IPv6 upgrade solution of the website to be detected is a dual IPv6 and IPv4 A protocol stack solution, wherein the IPv6 and IPv4 dual protocol stack solution is used to upgrade a website that only activates IPv4 single protocol stack to a website that simultaneously activates IPv6 and IPv4 dual protocol stacks.

一种可选实施方式中,所述装置还包括第三检测模块,用于:In an optional implementation manner, the device further includes a third detection module, configured to:

如果所述待检测网站的IPv6地址映射的自治系统的语义信息包含内容分发网络CDN描述字段,则确定所述待检测网站的IPv6升级方案为CDN解析方案,其中,所述CDN解析方案用于将只解析IPv4地址的CDN升级为同时解析IPv6地址和IPv4地址的CDN。If the semantic information of the autonomous system of the IPv6 address mapping of the website to be detected includes a content distribution network CDN description field, then it is determined that the IPv6 upgrade solution of the website to be detected is a CDN resolution solution, wherein the CDN resolution solution is used to A CDN that only resolves IPv4 addresses is upgraded to a CDN that resolves both IPv6 addresses and IPv4 addresses.

一种可选实施方式中,所述装置还包括第四检测模块,用于:In an optional implementation manner, the device further includes a fourth detection module, configured to:

根据所述第一映射关系,确定第一IPv6地址映射的域名,其中,第一IPv6地址为第一路由前缀映射的除所述待检测网站的IPv6地址之外的IPv6地址,第一路由前缀为所述待检测网站的IPv6地址映射的路由前缀;According to the first mapping relationship, determine the domain name mapped to the first IPv6 address, wherein the first IPv6 address is an IPv6 address other than the IPv6 address of the website to be detected mapped to the first routing prefix, and the first routing prefix is The routing prefix mapped to the IPv6 address of the website to be detected;

如果所述第一IPv6地址映射的域名的语义信息包含CDN描述字段,则确定所述待检测网站的IPv6升级方案为CDN解析方案,其中,所述CDN解析方案用于将只解析IPv4地址的CDN升级为同时解析IPv6地址和IPv4地址的CDN。If the semantic information of the domain name mapped to the first IPv6 address contains a CDN description field, then it is determined that the IPv6 upgrade solution of the website to be detected is a CDN resolution solution, wherein the CDN resolution solution is used to only resolve the CDN of the IPv4 address Upgrade to a CDN that resolves both IPv6 and IPv4 addresses.

一种可选实施方式中,所述装置还包括第五检测模块,用于:In an optional implementation manner, the device further includes a fifth detection module, configured to:

如果所述待检测网站的IPv6地址的前缀格式与请求评议RFC中定义的隧道前缀格式相同,则确定所述待检测网站的IPv6升级方案为隧道方案,其中,所述隧道方案用于利用IPv4协议来传输IPv6协议的数据。If the prefix format of the IPv6 address of the website to be detected is the same as the tunnel prefix format defined in the request for comment RFC, then it is determined that the IPv6 upgrade solution of the website to be detected is a tunnel solution, wherein the tunnel solution is used to utilize the IPv4 protocol To transmit the data of IPv6 protocol.

一种可选实施方式中,所述装置还包括第六检测模块,用于:In an optional implementation manner, the device further includes a sixth detection module, configured to:

如果所述待检测网站的IPv6地址的前缀格式与RFC中定义的翻译前缀格式相同,则确定所述待检测网站的IPv6升级方案为翻译方案,其中,所述翻译方案用于将IPv4地址翻译为IPv6地址以及将IPv6地址翻译为IPv4地址。If the prefix format of the IPv6 address of the website to be detected is the same as the translation prefix format defined in the RFC, then it is determined that the IPv6 upgrade scheme of the website to be detected is a translation scheme, wherein the translation scheme is used to translate the IPv4 address into IPv6 addresses and translation of IPv6 addresses to IPv4 addresses.

基于同一发明构思,本申请实施例还提供一种网站的IPv6升级检测系统,如图4所示,为本申请实施例提供的一种网站的IPv6升级检测系统的结构示意图,该网站的IPv6升级检测系统包括至少一个处理器402,以及与至少一个处理器连接的存储器401,本申请实施例中不限定处理器402与存储器401之间的具体连接介质,图4是以处理器402和存储器401之间通过总线400连接为例,总线400在图4中以粗线表示,其它部件之间的连接方式,仅是进行示意性说明,并不以此为限。总线400可以分为地址总线、数据总线、控制总线等,为便于表示,图4中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Based on the same inventive concept, the embodiment of this application also provides an IPv6 upgrade detection system for a website, as shown in Figure 4, which is a schematic structural diagram of an IPv6 upgrade detection system for a website provided by the embodiment of this application. The detection system includes at least oneprocessor 402, and amemory 401 connected to at least one processor. The specific connection medium between theprocessor 402 and thememory 401 is not limited in the embodiment of the present application. FIG. 4 is based on theprocessor 402 and thememory 401. Thebus 400 is used as an example to connect between them. Thebus 400 is represented by a thick line in FIG. Thebus 400 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in FIG. 4 , but it does not mean that there is only one bus or one type of bus.

在本申请实施例中,存储器401存储有可被至少一个处理器402执行的指令,至少一个处理器402通过调用存储器401存储的指令,可以执行前述的网站的IPv6升级检测方法中所包括的步骤。其中,处理器402是网站的IPv6升级检测系统的控制中心,可以利用各种接口和线路连接整个网站的IPv6升级检测系统的各个部分,通过执行存储在存储器401内的指令,从而实现网站的IPv6升级检测系统的各种功能。可选的,处理器402可包括一个或多个处理单元,处理器402可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器402中。在一些实施例中,处理器402和存储器401可以在同一芯片上实现,在一些实施例中,它们也可以在独立的芯片上分别实现。In the embodiment of the present application, thememory 401 stores instructions that can be executed by at least oneprocessor 402, and at least oneprocessor 402 can execute the steps included in the aforementioned method for detecting an IPv6 upgrade of a website by calling the instructions stored in thememory 401 . Among them, theprocessor 402 is the control center of the IPv6 upgrade detection system of the website, which can use various interfaces and lines to connect various parts of the IPv6 upgrade detection system of the entire website, and implement the IPv6 upgrade detection system of the website by executing the instructions stored in thememory 401. Upgrade various functions of the detection system. Optionally, theprocessor 402 may include one or more processing units, and theprocessor 402 may integrate an application processor and a modem processor. The tuner processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into theprocessor 402 . In some embodiments, theprocessor 402 and thememory 401 can be implemented on the same chip, and in some embodiments, they can also be implemented on independent chips.

存储器401作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块。存储器401可以包括至少一种类型的存储介质,例如可以包括闪存、硬盘、多媒体卡、卡型存储器、随机访问存储器(Random AccessMemory,RAM)、静态随机访问存储器(Static Random Access Memory,SRAM)、可编程只读存储器(Programmable Read Only Memory,PROM)、只读存储器(Read Only Memory,ROM)、带电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、磁性存储器、磁盘、光盘等等。存储器401是能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。本申请实施例中的存储器401还可以是电路或者其它任意能够实现存储功能的装置,用于存储程序指令和/或数据。Thememory 401, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs and modules. Thememory 401 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (Random Access Memory, RAM), static random access memory (Static Random Access Memory, SRAM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Magnetic Memory, Disk, discs and more. Thememory 401 is any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. Thememory 401 in the embodiment of the present application may also be a circuit or any other device capable of implementing a storage function, and is used for storing program instructions and/or data.

在本申请实施例中,处理器402可以是通用处理器,例如中央处理器(CPU)、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,可以实现或者执行本申请实施例中公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的网站的IPv6升级检测方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。In the embodiment of the present application, theprocessor 402 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic devices, discrete gate or transistor logic Devices and discrete hardware components can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the website IPv6 upgrade detection method disclosed in the embodiment of the present application can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.

通过对处理器402进行设计编程,可以将前述实施例中介绍的网站的IPv6升级检测方法所对应的代码固化到芯片内,从而使芯片在运行时能够执行前述的网站的IPv6升级检测方法的步骤,如何对处理器402进行设计编程为本领域技术人员所公知的技术,这里不再赘述。By designing and programming theprocessor 402, the code corresponding to the IPv6 upgrade detection method of the website introduced in the foregoing embodiments can be solidified into the chip, so that the chip can execute the steps of the aforementioned IPv6 upgrade detection method of the website during operation. How to design and program theprocessor 402 is well known to those skilled in the art, and will not be repeated here.

基于同一发明构思,本申请实施例还提供一种存储介质,该存储介质存储有计算机指令,当该计算机指令在计算机上运行时,使得计算机执行如前述的网站的IPv6升级检测方法的步骤。Based on the same inventive concept, the embodiment of the present application also provides a storage medium, the storage medium stores computer instructions, and when the computer instructions are run on the computer, the computer executes the steps of the above-mentioned IPv6 upgrade detection method for the website.

在一些可能的实施方式中,本申请提供的网站的IPv6升级检测方法的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当程序产品在网站的IPv6升级检测系统上运行时,程序代码用于使该网站的IPv6升级检测系统执行本说明书上述描述的根据本申请各种示例性实施方式的网站的IPv6升级检测方法中的步骤。In some possible implementations, various aspects of the website IPv6 upgrade detection method provided by this application can also be implemented in the form of a program product, which includes program codes. When the program product runs on the website IPv6 upgrade detection system The program code is used to make the IPv6 upgrade detection system of the website execute the steps in the IPv6 upgrade detection method of the website according to various exemplary embodiments of the present application described above in this specification.

本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present application may be provided as methods, systems, or computer program products. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.

本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the present application. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.

显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the application without departing from the spirit and scope of the application. In this way, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these modifications and variations.

Claims (16)

CN202211650962.2A2022-12-212022-12-21IPv6 upgrade detection method, device and system for websiteActiveCN116016428B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202211650962.2ACN116016428B (en)2022-12-212022-12-21IPv6 upgrade detection method, device and system for website

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202211650962.2ACN116016428B (en)2022-12-212022-12-21IPv6 upgrade detection method, device and system for website

Publications (2)

Publication NumberPublication Date
CN116016428Atrue CN116016428A (en)2023-04-25
CN116016428B CN116016428B (en)2024-11-29

Family

ID=86036611

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202211650962.2AActiveCN116016428B (en)2022-12-212022-12-21IPv6 upgrade detection method, device and system for website

Country Status (1)

CountryLink
CN (1)CN116016428B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102984300A (en)*2012-12-132013-03-20北京邮电大学Distributed gateway system in 4-6-4 hybrid protocol network and access method
US20130097336A1 (en)*2010-10-092013-04-18Huawei Technologies Co., Ltd.Method, terminal and gateway for transmitting ipv6 packet in ipv4 network
CN114301874A (en)*2021-11-102022-04-08北京邮电大学IPv6 address positioning method based on IPv4 address geographical position information and electronic equipment
CN115242749A (en)*2022-07-262022-10-25明阳产业技术研究院(沈阳)有限公司IPv6 address planning method, device, medium and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20130097336A1 (en)*2010-10-092013-04-18Huawei Technologies Co., Ltd.Method, terminal and gateway for transmitting ipv6 packet in ipv4 network
CN102984300A (en)*2012-12-132013-03-20北京邮电大学Distributed gateway system in 4-6-4 hybrid protocol network and access method
CN114301874A (en)*2021-11-102022-04-08北京邮电大学IPv6 address positioning method based on IPv4 address geographical position information and electronic equipment
CN115242749A (en)*2022-07-262022-10-25明阳产业技术研究院(沈阳)有限公司IPv6 address planning method, device, medium and equipment

Also Published As

Publication numberPublication date
CN116016428B (en)2024-11-29

Similar Documents

PublicationPublication DateTitle
US11050814B2 (en)Method, device and vehicle for message deduplication
RU2486586C1 (en)Method and device for integration of data on point provided by group of suppliers
CN104703125B (en)Information recommendation method, device and terminal based on instant messaging
CN113726918A (en)Domain name resolution method based on cloud computing network and related system and device
CN111522838A (en) Address similarity calculation method and related device
CN104699236A (en)Using context to interpret natural language speech recognition commands
CN108376141B (en)Indoor fingerprint database construction method, device, equipment and storage medium
CN113079123B (en)Malicious website detection method and device and electronic equipment
US20170017480A1 (en)Method and apparatus for updating an application in a user terminal
CN113630479B (en)Domain name resolution method and related products
CN104657224A (en)Inter-process communication method and device
CN106790444A (en)Network data exchange method and device
CN113992382B (en)Service data processing method and device, electronic equipment and storage medium
CN113242331A (en)Different types of address translation methods, different types of address translation devices, different types of computer equipment and different types of storage media
US8635233B2 (en)Techniques to automatically build a language dependency graph for localizable resources
CN115495489A (en)Cross-border logistics order track query method and device, terminal equipment and storage medium
CN104038522B (en)A kind of virtual-real blending space positioning system Internet-based
CN113890879A (en)Load balancing method and device for data access, computer equipment and medium
CN114448849A (en) Website IPv6 network support mode detection method and electronic device
CN116016428A (en) Method, device and system for detecting IPv6 upgrade of a website
CN117472806B (en) A method, device and computer storage medium for address translation
CN111601367B (en)Network connection control method and system based on voiceprint recognition and mobile terminal
CN111026613B (en)Log processing method and device
CN112667508A (en)Mock method, system and device based on user-defined Mock platform and storage medium
CN116346781B (en)Address space allocation method, server, electronic equipment and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp