CN115550165A - Method and device for IPv6 network configuration, network connection equipment, storage medium - Google Patents
Method and device for IPv6 network configuration, network connection equipment, storage medium Download PDFInfo
- Publication number
- CN115550165A CN115550165A CN202211044166.4A CN202211044166A CN115550165A CN 115550165 A CN115550165 A CN 115550165A CN 202211044166 A CN202211044166 A CN 202211044166A CN 115550165 A CN115550165 A CN 115550165A
- Authority
- CN
- China
- Prior art keywords
- response message
- network configuration
- network
- ipv6 network
- verification result
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0866—Checking the configuration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/10—Active monitoring, e.g. heartbeat, ping or trace-route
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请涉及网络配置领域,公开一种用于IPv6网络配置的方法,包括:发送第一探测报文;在接收到第一探测报文对应的第一响应报文的情况下,对第一响应报文进行校验,获得校验结果;根据校验结果进行IPv6网络配置。这样,由于在网络中存在对应服务器的情况下,服务器会回复相应的响应报文。根据是否接收到响应报文能够推测出IPv6网络是哪一种网络类型。对响应报文进行校验,能够更准确的确定IPv6网络的网络类型,从而能够自动准确的对IPv6网络进行网络配置,进而能够在提高了IPv6网络配置的效率的同时还保证了网络配置的准确性。本申请还公开一种用于IPv6网络配置的装置、网络连接设备、存储介质。
This application relates to the field of network configuration, and discloses a method for IPv6 network configuration, including: sending a first detection message; in the case of receiving a first response message corresponding to the first detection message, responding to the first response The message is verified, and the verification result is obtained; IPv6 network configuration is performed according to the verification result. In this way, since there is a corresponding server in the network, the server will reply a corresponding response message. According to whether the response message is received, it can be inferred which network type the IPv6 network is. Verifying the response message can more accurately determine the network type of the IPv6 network, so that the network configuration of the IPv6 network can be automatically and accurately performed, thereby improving the efficiency of IPv6 network configuration and ensuring the accuracy of network configuration sex. The application also discloses a device for IPv6 network configuration, a network connection device and a storage medium.
Description
技术领域technical field
本申请涉及网络配置领域,例如涉及一种用于IPv6网络配置的方法及装置、网络连接设备、存储介质。The present application relates to the field of network configuration, for example, to a method and device for configuring an IPv6 network, a network connection device, and a storage medium.
背景技术Background technique
随着互联网的升级演进,对于IPv6(Internet Protocol Version 6,互联协议第6版)的规模部署和应用是必然趋势。如何进行IPv6的网络配置成为了大家关心的问题。相关技术中,通常由用户自行确定IPv6的网络模式,并根据网络模式手动配置网络。由于IPv6的网络地址配置方式,需要随着IPv6网络类型的不同而采用不同的配置策略,配置难度较高。而大部分用户对网络技术并不了解,在配置IPv6网络的过程中错误率较高,使得用户需要进行多次IPv6网络的配置才能正确配置IPv6网络。因此,人工进行IPv6的网络配置效率较低。With the upgrading and evolution of the Internet, the large-scale deployment and application of IPv6 (Internet Protocol Version 6, Internet Protocol Version 6) is an inevitable trend. How to configure the IPv6 network has become a concern of everyone. In related technologies, usually, the user determines the IPv6 network mode by himself, and manually configures the network according to the network mode. Due to the IPv6 network address configuration mode, different configuration strategies need to be adopted according to different types of IPv6 networks, and the configuration is difficult. However, most users do not understand network technology, and the error rate is high in the process of configuring the IPv6 network, so that users need to perform multiple IPv6 network configurations to correctly configure the IPv6 network. Therefore, manual IPv6 network configuration is inefficient.
发明内容Contents of the invention
为了对披露的实施例的一些方面有基本的理解,下面给出了简单的概括。所述概括不是泛泛评述,也不是要确定关键/重要组成元素或描绘这些实施例的保护范围,而是作为后面的详细说明的序言。In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is presented below. The summary is not intended to be an extensive overview nor to identify key/important elements or to delineate the scope of these embodiments, but rather serves as a prelude to the detailed description that follows.
本公开实施例提供了一种用于IPv6网络配置的方法及装置、网络连接设备、存储介质,以提高IPv6网络配置的效率。Embodiments of the present disclosure provide a method and device for IPv6 network configuration, a network connection device, and a storage medium, so as to improve the efficiency of IPv6 network configuration.
在一些实施例中,所述用于IPv6网络配置的方法,包括:发送第一探测报文;在接收到所述第一探测报文对应的第一响应报文的情况下,对所述第一响应报文进行校验,获得校验结果;根据所述校验结果进行IPv6网络配置。In some embodiments, the method for IPv6 network configuration includes: sending a first probe message; in the case of receiving a first response message corresponding to the first probe message, A response message is verified to obtain a verification result; IPv6 network configuration is performed according to the verification result.
在一些实施例中,所述用于IPv6网络配置的装置,包括:发送模块,被配置为发送第一探测报文;校验模块,被配置为在接收到所述第一探测报文对应的第一响应报文的情况下,对所述第一响应报文进行校验,获得校验结果;网络配置模块,被配置为根据所述校验结果进行IPv6网络配置。In some embodiments, the device for IPv6 network configuration includes: a sending module configured to send a first detection message; a verification module configured to receive the first detection message corresponding to In the case of the first response message, verifying the first response message to obtain a verification result; the network configuration module is configured to perform IPv6 network configuration according to the verification result.
在一些实施例中,所述网络连接设备,包括处理器和存储有程序指令的存储器,所述处理器被配置为在运行所述程序指令时,执行上述的用于IPv6网络配置的方法。In some embodiments, the network connection device includes a processor and a memory storing program instructions, and the processor is configured to execute the above-mentioned method for IPv6 network configuration when running the program instructions.
在一些实施例中,所述存储介质,存储有程序指令,所述程序指令在运行时,执行上述的用于IPv6网络配置的方法。In some embodiments, the storage medium stores program instructions, and the program instructions execute the above-mentioned method for IPv6 network configuration when running.
本公开实施例提供的用于IPv6网络配置的方法及装置、网络连接设备、存储介质,可以实现以下技术效果:通过发送第一探测报文。在接收到第一探测报文对应的第一响应报文的情况下,对第一响应报文进行校验,获得校验结果。根据校验结果进行IPv6网络配置。这样,由于在网络中存在对应服务器的情况下,服务器会回复相应的响应报文。根据是否接收到响应报文能够推测出IPv6网络是哪一种网络类型。对响应报文进行校验,能够更准确的确定IPv6网络的网络类型,从而能够自动准确的对IPv6网络进行网络配置,进而能够在提高了IPv6网络配置的效率的同时还保证了网络配置的准确性。The method and device for configuring an IPv6 network, the network connection device, and the storage medium provided by the embodiments of the present disclosure can achieve the following technical effects: by sending the first detection message. If the first response message corresponding to the first detection message is received, the first response message is verified to obtain a verification result. Perform IPv6 network configuration based on the verification result. In this way, since there is a corresponding server in the network, the server will reply a corresponding response message. According to whether the response message is received, it can be inferred which network type the IPv6 network is. Verifying the response message can more accurately determine the network type of the IPv6 network, so that the network configuration of the IPv6 network can be automatically and accurately performed, thereby improving the efficiency of IPv6 network configuration and ensuring the accuracy of network configuration sex.
以上的总体描述和下文中的描述仅是示例性和解释性的,不用于限制本申请。The foregoing general description and the following description are exemplary and explanatory only and are not intended to limit the application.
附图说明Description of drawings
一个或多个实施例通过与之对应的附图进行示例性说明,这些示例性说明和附图并不构成对实施例的限定,附图中具有相同参考数字标号的元件示为类似的元件,附图不构成比例限制,并且其中:One or more embodiments are exemplified by the corresponding drawings, and these exemplifications and drawings do not constitute a limitation to the embodiments, and elements with the same reference numerals in the drawings are shown as similar elements, The drawings are not limited to scale and in which:
图1是本公开实施例提供的一个用于IPv6网络配置的方法的示意图;FIG. 1 is a schematic diagram of a method for configuring an IPv6 network provided by an embodiment of the present disclosure;
图2是本公开实施例提供的另一个用于IPv6网络配置的方法的示意图;FIG. 2 is a schematic diagram of another method for configuring an IPv6 network provided by an embodiment of the present disclosure;
图3是本公开实施例提供的另一个用于IPv6网络配置的方法的示意图;FIG. 3 is a schematic diagram of another method for configuring an IPv6 network provided by an embodiment of the present disclosure;
图4是本公开实施例提供的另一个用于IPv6网络配置的方法的示意图;FIG. 4 is a schematic diagram of another method for configuring an IPv6 network provided by an embodiment of the present disclosure;
图5是本公开实施例提供的一个用于IPv6网络配置的装置的示意图;FIG. 5 is a schematic diagram of an apparatus for configuring an IPv6 network provided by an embodiment of the present disclosure;
图6是本公开实施例提供的一个网络连接设备的示意图。Fig. 6 is a schematic diagram of a network connection device provided by an embodiment of the present disclosure.
具体实施方式detailed description
为了能够更加详尽地了解本公开实施例的特点与技术内容,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开实施例。在以下的技术描述中,为方便解释起见,通过多个细节以提供对所披露实施例的充分理解。然而,在没有这些细节的情况下,一个或多个实施例仍然可以实施。在其它情况下,为简化附图,熟知的结构和装置可以简化展示。In order to understand the characteristics and technical content of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure will be described in detail below in conjunction with the accompanying drawings. The attached drawings are only for reference and description, and are not intended to limit the embodiments of the present disclosure. In the following technical description, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown simplified in order to simplify the drawings.
本公开实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开实施例的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。The terms "first", "second" and the like in the description and claims of the embodiments of the present disclosure and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence. It should be understood that the data so used may be interchanged under appropriate circumstances so as to facilitate the embodiments of the disclosed embodiments described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion.
除非另有说明,术语“多个”表示两个或两个以上。Unless stated otherwise, the term "plurality" means two or more.
本公开实施例中,字符“/”表示前后对象是一种“或”的关系。例如,A/B表示:A或B。In the embodiments of the present disclosure, the character "/" indicates that the preceding and following objects are an "or" relationship. For example, A/B means: A or B.
术语“和/或”是一种描述对象的关联关系,表示可以存在三种关系。例如,A和/或B,表示:A或B,或,A和B这三种关系。The term "and/or" is an associative relationship describing objects, indicating that there can be three relationships. For example, A and/or B means: A or B, or, A and B, these three relationships.
本申请应用于网络连接设备,网络连接设备用于实现LAN(Local Area Network,局域网)侧和WAN(Wide Area Network,广域网)侧的数据互通;可选地,网络连接设备包括路由器、家庭网关等。This application is applied to a network connection device, and the network connection device is used to realize data intercommunication between the LAN (Local Area Network, local area network) side and the WAN (Wide Area Network, wide area network) side; optionally, the network connection device includes a router, a home gateway, etc. .
可选地,本申请中客户端设备包括:PC(Personal Computer,个人计算机)、笔记本、平板、智能家居设备等能够连接互联网的电子设备。Optionally, the client devices in this application include: PCs (Personal Computers, personal computers), notebooks, tablets, smart home devices, and other electronic devices capable of connecting to the Internet.
IPv6的网络地址配置方式,需要随着IPv6网络类型的不同而采用不同的配置策略。但是,网络连接设备缺少对上游IPv6网络类型的探测感知手段,不能自动确定IPv6的IPv6网络类型。因此现有的IPv6网络配置方式,通常由用户自行确定IPv6的网络模式,并根据网络模式手动配置网络。但是,人工配置配置IPv6网络的方式效率较低。本方案通过发送第一探测报文。在接收到第一探测报文对应的第一响应报文的情况下,对第一响应报文进行校验,获得校验结果。根据校验结果进行IPv6网络配置。这样,由于在网络中存在对应服务器的情况下,服务器会回复相应的响应报文。根据是否接收到响应报文能够推测出IPv6网络是哪一种网络类型。对响应报文进行校验,能够更准确的确定IPv6网络的网络类型,从而能够自动准确的对IPv6网络进行网络配置,进而能够在提高了IPv6网络配置的效率的同时还保证了网络配置的准确性。The IPv6 network address configuration method needs to adopt different configuration strategies according to the different types of IPv6 networks. However, the network connection device lacks detection and perception means for the upstream IPv6 network type, and cannot automatically determine the IPv6 network type of the IPv6. Therefore, in the existing IPv6 network configuration method, the user usually determines the IPv6 network mode by himself, and manually configures the network according to the network mode. However, the manual configuration and configuration of the IPv6 network is inefficient. In this solution, the first detection message is sent. If the first response message corresponding to the first detection message is received, the first response message is verified to obtain a verification result. Perform IPv6 network configuration based on the verification result. In this way, since there is a corresponding server in the network, the server will reply a corresponding response message. According to whether the response message is received, it can be inferred which network type the IPv6 network is. Verifying the response message can more accurately determine the network type of the IPv6 network, so that the network configuration of the IPv6 network can be automatically and accurately performed, thereby improving the efficiency of IPv6 network configuration and ensuring the accuracy of network configuration sex.
结合图1所示,本公开实施例提供一种用于IPv6网络配置的方法,包括:As shown in FIG. 1 , an embodiment of the present disclosure provides a method for configuring an IPv6 network, including:
步骤S101,网络连接设备发送第一探测报文。In step S101, the network connection device sends a first detection message.
步骤S102,网络连接设备在接收到第一探测报文对应的第一响应报文的情况下,对第一响应报文进行校验,获得校验结果。In step S102, when the network connection device receives the first response message corresponding to the first detection message, it checks the first response message to obtain a check result.
步骤S103,网络连接设备根据校验结果进行IPv6网络配置。Step S103, the network connection device performs IPv6 network configuration according to the verification result.
采用本公开实施例提供的用于IPv6网络配置的方法,通过发送第一探测报文。在接收到第一探测报文对应的第一响应报文的情况下,对第一响应报文进行校验,获得校验结果。根据校验结果进行IPv6网络配置。这样,由于在网络中存在对应服务器的情况下,服务器会回复相应的响应报文。根据是否接收到响应报文能够推测出IPv6网络是哪一种网络类型。对响应报文进行校验,能够更准确的确定IPv6网络的网络类型,从而能够自动准确的对IPv6网络进行网络配置,进而能够在提高了IPv6网络配置的效率的同时还保证了网络配置的准确性。The method for configuring an IPv6 network provided by the embodiments of the present disclosure is used to send the first detection message. If the first response message corresponding to the first detection message is received, the first response message is verified to obtain a verification result. Perform IPv6 network configuration based on the verification result. In this way, since there is a corresponding server in the network, the server will reply a corresponding response message. According to whether the response message is received, it can be inferred which network type the IPv6 network is. Verifying the response message can more accurately determine the network type of the IPv6 network, so that the network configuration of the IPv6 network can be automatically and accurately performed, thereby improving the efficiency of IPv6 network configuration and ensuring the accuracy of network configuration sex.
在一些实施例中,第一探测报文为ICMPv6 RS(Router Solicitation,路由器请求)探测报文。网络连接设备组播发送ICMPv6 RS探测报文,在接收到RA(RouterAdvertisment,路由器公告)报文的情况下,即接收到第一探测报文对应的第一响应报文。这样,在接收到第一探测报文对应的第一响应报文的情况下,能够初步判定IPv6网络类型为动态主机配置类型。便于后续进一步验证IPv6网络类型,使得确定的IPv6网络类型更准确。In some embodiments, the first detection packet is an ICMPv6 RS (Router Solicitation, router solicitation) detection packet. The network connection device multicasts the ICMPv6 RS detection message, and receives the first response message corresponding to the first detection message when receiving the RA (Router Advertisment, router advertisement) message. In this way, when the first response message corresponding to the first detection message is received, it can be preliminarily determined that the IPv6 network type is the dynamic host configuration type. It is convenient to further verify the IPv6 network type later, so that the determined IPv6 network type is more accurate.
可选地,对第一响应报文进行校验,获得校验结果,包括:获取第一响应报文的第一标志位信息和第二标志位信息。在第一标志位信息和第二标志位信息均为0的情况下,确定校验结果为校验失败。在第一标志位信息或第二标志位信息为1的情况下,确定校验结果为校验成功。其中,第一标志位信息为第一响应报文中的Flag字段的M标志位,M标志位为管理地址配置位。第二标志位信息为第一响应报文中的Flag字段的O标志位,O标志位为其他配置标志位。这样,IPv6网络类型为动态主机配置类型的情况下,又细分为动态主机配置且具有IA-PD分配能力的类型和动态主机配置不具有IA-PD分配能力的类型,针对不同的类型需要进行不同的网络配置。由于第一响应报文的内容与IPv6网络是否具备IA-PD分配能力之间存在联系。对第一响应报文进行校验,能够快速的分辨IPv6网络是否具备IA-PD分配能力,从而更准确的区分IPv6网络的网络类型。Optionally, verifying the first response message to obtain a verification result includes: obtaining first flag bit information and second flag bit information of the first response message. In a case where both the first flag bit information and the second flag bit information are 0, it is determined that the verification result is a verification failure. If the first flag bit information or the second flag bit information is 1, it is determined that the verification result is successful verification. Wherein, the first flag bit information is the M flag bit of the Flag field in the first response message, and the M flag bit is a management address configuration bit. The second flag bit information is the O flag bit of the Flag field in the first response message, and the O flag bit is other configuration flag bits. In this way, when the IPv6 network type is a dynamic host configuration type, it is further subdivided into a type with dynamic host configuration and IA-PD allocation capability and a type with dynamic host configuration without IA-PD allocation capability. Different network configurations. Because there is a relationship between the content of the first response message and whether the IPv6 network has the IA-PD allocation capability. Verifying the first response message can quickly determine whether the IPv6 network has the IA-PD allocation capability, thereby more accurately distinguishing the network type of the IPv6 network.
可选地,校验结果为校验失败或校验成功;根据校验结果进行IPv6网络配置,包括:在校验结果为校验失败的情况下,按照预设的第一配置方式进行网络配置。在校验结果为校验成功的情况下,确定IPv6网络的用户侧前缀IA-PD的分配能力情况。根据分配能力情况进行IPv6网络配置。Optionally, the verification result is verification failure or verification success; performing IPv6 network configuration according to the verification result, including: performing network configuration according to the preset first configuration mode when the verification result is verification failure . If the verification result is that the verification is successful, the allocation capability of the prefix IA-PD on the user side of the IPv6 network is determined. Configure the IPv6 network according to the allocated capacity.
进一步的,第一配置方式,包括:配置网络连接设备的LAN侧自动开启NPTv6(IPv6-to-IPv6 Network Prefix Translation,IPv6-to-IPv6网络前缀转换)协议或将IPv6报文转发模式配置为桥接。Further, the first configuration method includes: configuring the LAN side of the network connection device to automatically open the NPTv6 (IPv6-to-IPv6 Network Prefix Translation, IPv6-to-IPv6 Network Prefix Translation) protocol or configuring the IPv6 packet forwarding mode as bridging .
结合图2所示,本公开实施例提供另一种用于IPv6网络配置的方法,包括:In conjunction with what is shown in Figure 2, the embodiment of the present disclosure provides another method for configuring an IPv6 network, including:
步骤S201,网络连接设备发送第一探测报文。In step S201, the network connection device sends a first detection message.
步骤S202,网络连接设备在接收到第一探测报文对应的第一响应报文的情况下,获取第一响应报文的第一标志位信息和第二标志位信息。Step S202, when the network connection device receives the first response message corresponding to the first detection message, acquire the first flag bit information and the second flag bit information of the first response message.
步骤S203,网络连接设备在第一标志位信息和第二标志位信息均为0的情况下,确定校验结果为校验失败。In step S203, the network connection device determines that the verification result is a verification failure when both the first flag bit information and the second flag bit information are 0.
步骤S204,网络连接设备在第一标志位信息或第二标志位信息为1的情况下,确定校验结果为校验成功。In step S204, the network connection device determines that the verification result is a successful verification when the first flag bit information or the second flag bit information is 1.
步骤S205,网络连接设备根据校验结果进行IPv6网络配置。Step S205, the network connection device performs IPv6 network configuration according to the verification result.
采用本公开实施例提供的用于IPv6网络配置的方法,通过发送第一探测报文。在接收到第一探测报文对应的第一响应报文的情况下,获取第一响应报文的第一标志位信息和第二标志位信息。在第一标志位信息和第二标志位信息均为0的情况下,确定校验结果为校验失败。在第一标志位信息或第二标志位信息为1的情况下,确定校验结果为校验成功。根据校验结果进行IPv6网络配置。这样,由于在网络中存在对应服务器的情况下,服务器会回复相应的响应报文。根据是否接收到响应报文能够推测出IPv6网络是哪一种网络类型。由于第一响应报文的内容与IPv6网络类型之间存在联系。对响应报文进行校验,能够更准确的确定IPv6网络的网络类型,从而能够自动准确的对IPv6网络进行网络配置,进而能够在提高了IPv6网络配置的效率的同时还保证了网络配置的准确性。The method for configuring an IPv6 network provided by the embodiments of the present disclosure is used to send the first detection message. If the first response message corresponding to the first probe message is received, the first flag bit information and the second flag bit information of the first response message are acquired. In a case where both the first flag bit information and the second flag bit information are 0, it is determined that the verification result is a verification failure. If the first flag bit information or the second flag bit information is 1, it is determined that the verification result is successful verification. Perform IPv6 network configuration based on the verification result. In this way, since there is a corresponding server in the network, the server will reply a corresponding response message. According to whether the response message is received, it can be inferred which network type the IPv6 network is. Because there is a relationship between the content of the first response message and the IPv6 network type. Verifying the response message can more accurately determine the network type of the IPv6 network, so that the network configuration of the IPv6 network can be automatically and accurately performed, thereby improving the efficiency of IPv6 network configuration and ensuring the accuracy of network configuration sex.
进一步的,确定IPv6网络的IA-PD的分配能力情况,包括:发送第二探测报文,第二探测报文包括用户侧前缀。在未接收到第二探测报文对应的第二响应报文的情况下,确定分配能力情况为不具备分配能力。在接收到第二探测报文对应的第二响应报文的情况下,确定第二响应报文的IA-PD前缀的存在情况,根据存在情况确定分配能力情况。其中,在第二响应报文中存在IA-PD前缀的情况下,确定IA-PD前缀的存在情况为存在。在第二响应报文中不存在IA-PD前缀的情况下,确定IA-PD前缀的存在情况为不存在。这样,由于IPv6网络为动态主机配置类型的情况下,IPv6网络是否具备IA-PD的分配能力,会导致后续的网络配置不一样。因此,通过确定IPv6网络的IA-PD的分配能力情况,能够准确的进行后续的网络配置。Further, determining the allocation capability of the IA-PD of the IPv6 network includes: sending a second detection message, where the second detection message includes the user-side prefix. If the second response message corresponding to the second detection message is not received, it is determined that the allocation capability is not capable of allocation. If the second response message corresponding to the second detection message is received, determine the existence of the IA-PD prefix of the second response message, and determine the allocation capability according to the existence. Wherein, if the IA-PD prefix exists in the second response packet, it is determined that the presence of the IA-PD prefix is present. If the IA-PD prefix does not exist in the second response message, it is determined that the presence of the IA-PD prefix is not present. In this way, since the IPv6 network is a dynamic host configuration type, whether the IPv6 network has the IA-PD allocation capability will cause the subsequent network configuration to be different. Therefore, by determining the allocation capability of the IA-PD of the IPv6 network, subsequent network configuration can be accurately performed.
在一些实施例中,网络连接设备将第二探测报文发送到回复第一响应报文的服务器。In some embodiments, the network connection device sends the second detection message to the server that replies with the first response message.
在一些实施例中,第二探测报文为DHCPv6-Solicit报文,DHCPv6-Solicit报文包括IA-PD(Identity Association-Prefix Delegation,用户侧前缀);可选地,DHCPv6-Solicit报文还包括IA-NA(Identidy Association-Non-temporary Address,非临时地址的身份关联)和/或,DNS(Domain Name System,域名系统)。In some embodiments, the second detection message is a DHCPv6-Solicit message, and the DHCPv6-Solicit message includes IA-PD (Identity Association-Prefix Delegation, user-side prefix); Optionally, the DHCPv6-Solicit message also includes IA-NA (Identidy Association-Non-temporary Address, identity association of non-temporary addresses) and/or, DNS (Domain Name System, domain name system).
进一步的,根据存在情况确定分配能力情况,包括:在存在情况为存在的情况下,确定分配能力情况为具备分配能力;在存在情况为不存在的情况下,确定分配能力情况为不具备分配能力。这样,由于第二响应报文的内容与IPv6网络是否具备IA-PD分配能力存在联系,根据第二响应报文的内容能够更加准确的确定IPv6网络是否具备分配能力,从而更准确的进行IPv6网络配置。Further, determining the distribution capacity according to the existence, including: if the existence is existence, determine the distribution capacity as having distribution capacity; if the existence is non-existent, determine the distribution capacity as not having distribution capacity . In this way, since the content of the second response message is related to whether the IPv6 network has the IA-PD distribution capability, it can be more accurately determined whether the IPv6 network has the distribution capability according to the content of the second response message, so as to perform IPv6 network allocation more accurately. configuration.
可选地,分配能力情况为不具备分配能力或具备分配能力;根据分配能力情况进行IPv6网络配置,包括:在分配能力情况为不具备分配能力的情况下,按照预设的第一配置方式进行网络配置。在分配能力情况为具备分配能力的情况下,按照预设的第二配置方式进行网络配置。这样,根据不同的分配能力情况进行不同的网络配置,能够自动合理的进行网络配置。Optionally, the distribution capability is that it does not have the distribution capability or has the distribution capability; performing IPv6 network configuration according to the distribution capability situation, including: when the distribution capability situation is that it does not have the distribution capability, perform according to the preset first configuration mode Network Configuration. In the case that the distribution capability is available, the network configuration is performed according to the second preset configuration mode. In this way, different network configurations are performed according to different distribution capacity conditions, and the network configuration can be automatically and reasonably performed.
进一步的,第二配置方式,包括:配置网络连接设备的LAN侧自动开启DHCPv6协议,并向客户端设备提供IPv6地址分配服务。Further, the second configuration method includes: configuring the LAN side of the network connection device to automatically enable the DHCPv6 protocol, and provide the client device with an IPv6 address allocation service.
结合图3所示,本公开实施例提供另一种用于IPv6网络配置的方法,包括:In conjunction with what is shown in FIG. 3 , an embodiment of the present disclosure provides another method for configuring an IPv6 network, including:
步骤S301,网络连接设备发送第一探测报文,然后执行步骤S302。In step S301, the network connection device sends a first detection packet, and then executes step S302.
步骤S302,网络连接设备在接收到第一探测报文对应的第一响应报文的情况下,对第一响应报文进行校验,获得校验结果,然后执行步骤S303。In step S302, when the network connection device receives the first response message corresponding to the first detection message, it verifies the first response message, obtains a verification result, and then executes step S303.
步骤S303,网络连接设备确定是否校验失败;在校验结果为校验失败的情况下,执行步骤S304;在校验结果未校验失败的情况下,执行步骤S305。Step S303, the network connection device determines whether the verification fails; if the verification result is verification failure, execute step S304; if the verification result is not verification failure, execute step S305.
步骤S304,网络连接设备按照预设的第一配置方式进行网络配置。In step S304, the network connection device performs network configuration according to a preset first configuration mode.
步骤S305,网络连接设备发送第二探测报文,然后执行步骤S306。Step S305, the network connection device sends a second detection message, and then executes step S306.
步骤S306,网络连接设备确定是否接收到第二探测报文对应的第二响应报文;在未接收到第二探测报文对应的第二响应报文的情况下,执行步骤S304;在接收到第二探测报文对应的第二响应报文的情况下,执行步骤S307。Step S306, the network connection device determines whether the second response message corresponding to the second detection message is received; if the second response message corresponding to the second detection message is not received, perform step S304; In the case of the second response packet corresponding to the second detection packet, step S307 is executed.
步骤S307,网络连接设备确定第二响应报文的报文内容是否存在IA-PD前缀;在不存在IA-PD前缀的情况下,执行步骤S304;在存在IA-PD前缀的情况下,执行步骤S308。Step S307, the network connection device determines whether there is an IA-PD prefix in the message content of the second response message; if there is no IA-PD prefix, perform step S304; if there is an IA-PD prefix, perform step S308.
步骤S308,网络连接设备按照预设的第二配置方式进行网络配置。In step S308, the network connection device performs network configuration according to a preset second configuration mode.
采用本公开实施例提供的用于IPv6网络配置的方法,通过在接收到第一探测报文对应的第一响应报文的情况下,对第一响应报文进行校验,获得校验结果。在校验结果为校验失败的情况下,按照预设的第一配置方式进行网络配置。在校验结果为校验成功的情况下,根据是否接收到第二探测报文对应的第二响应报文以及第二响应报文的报文内容,使网络配置按照预设的第一配置方式或预设的第二配置方式进行配置。这样,由于在网络中存在对应服务器的情况下,服务器会回复相应的响应报文。根据是否接收到响应报文以及响应报文的报文内容,进行不同的网络配置,能够合理准确的进行网络配置。Using the method for IPv6 network configuration provided by the embodiments of the present disclosure, when the first response message corresponding to the first detection message is received, the first response message is verified to obtain a verification result. In the case that the verification result is a verification failure, the network configuration is performed according to the preset first configuration mode. In the case that the verification result is a successful verification, according to whether the second response message corresponding to the second detection message and the message content of the second response message are received, the network configuration is configured according to the preset first configuration mode or the preset second configuration mode to configure. In this way, since there is a corresponding server in the network, the server will reply a corresponding response message. According to whether the response message is received and the message content of the response message, different network configurations are performed, and the network configuration can be performed reasonably and accurately.
可选地,发送第一探测报文后,还包括:在未接收到第一探测报文对应的第一响应报文的情况下,按照预设的第三配置方式进行网络配置。这样,在未接收到第一探测报文对应的第一响应报文的情况下,则网络中不存在第一探测报文对应的服务器,因此,能够快速判定IPv6网络类型为宽带拨号上网类型。进而能够根据宽带拨号上网类型,来进行IPv6网络配置。Optionally, after sending the first detection message, the method further includes: performing network configuration according to a preset third configuration mode if the first response message corresponding to the first detection message is not received. In this way, if the first response message corresponding to the first detection message is not received, there is no server corresponding to the first detection message in the network, therefore, the IPv6 network type can be quickly determined as the broadband dial-up Internet access type. Furthermore, IPv6 network configuration can be performed according to the type of broadband dial-up Internet access.
进一步的,第三配置方式包括:配置网络连接设备的WAN侧自动使能PPPoE协议,自动开启IPv6协议栈,设置转发模式为路由模式,利用与IPv4一致的宽带用户名和密码进行拨号。配置网络连接设备的LAN侧自动开启DHCPv6协议,并向客户端设备提供IPv6地址分配服务。Further, the third configuration method includes: configuring the WAN side of the network connection device to automatically enable the PPPoE protocol, automatically open the IPv6 protocol stack, set the forwarding mode to the routing mode, and use the broadband user name and password consistent with IPv4 for dialing. Configure the LAN side of the network connection device to automatically enable the DHCPv6 protocol, and provide IPv6 address allocation services to client devices.
结合图4所示,本公开实施例提供另一种用于IPv6网络配置的方法,包括:In conjunction with what is shown in Figure 4, the embodiment of the present disclosure provides another method for configuring an IPv6 network, including:
步骤S401,网络连接设备发送第一探测报文,然后执行步骤S402。In step S401, the network connection device sends a first detection message, and then executes step S402.
步骤S402,网络连接设备确定是否接收到第一探测报文对应的第一响应报文;在网络连接设备接未收到第一探测报文对应的第一响应报文的情况下,执行步骤S403;在网络连接设备接收到第一探测报文对应的第一响应报文的情况下,执行步骤S404。Step S402, the network connection device determines whether the first response message corresponding to the first detection message has been received; if the network connection device has not received the first response message corresponding to the first detection message, execute step S403 ; When the network connection device receives the first response message corresponding to the first detection message, execute step S404.
步骤S403,网络连接设备按照预设的第三配置方式进行网络配置。In step S403, the network connection device performs network configuration according to a third preset configuration mode.
步骤S404,网络连接设备对第一响应报文进行校验,获得校验结果,然后执行步骤S405。In step S404, the network connection device verifies the first response message, obtains a verification result, and then executes step S405.
步骤S405,网络连接设备确定是否校验失败;在校验结果为校验失败的情况下,执行步骤S406;在校验结果不为校验失败的情况下,执行步骤S407。Step S405, the network connection device determines whether the verification fails; if the verification result is verification failure, execute step S406; if the verification result is not verification failure, execute step S407.
步骤S406,网络连接设备按照预设的第一配置方式进行网络配置。In step S406, the network connection device performs network configuration according to a preset first configuration mode.
步骤S407,网络连接设备发送第二探测报文,然后执行步骤S408。Step S407, the network connection device sends a second detection message, and then executes step S408.
步骤S408,网络连接设备确定是否接收到第二探测报文对应的第二响应报文;在未接收到第二探测报文对应的第二响应报文的情况下,执行步骤S406;在接收到第二探测报文对应的第二响应报文的情况下,执行步骤S409。Step S408, the network connection device determines whether the second response message corresponding to the second detection message is received; if the second response message corresponding to the second detection message is not received, perform step S406; In the case of the second response packet corresponding to the second detection packet, step S409 is performed.
步骤S409,网络连接设备确定第二响应报文的报文内容是否存在IA-PD前缀;在不存在IA-PD前缀的情况下,执行步骤S406;在存在IA-PD前缀的情况下,执行步骤S410。Step S409, the network connection device determines whether there is an IA-PD prefix in the message content of the second response message; if there is no IA-PD prefix, perform step S406; if there is an IA-PD prefix, perform step S410.
步骤S410,网络连接设备按照预设的第二配置方式进行网络配置。In step S410, the network connection device performs network configuration according to a preset second configuration mode.
采用本公开实施例提供的用于IPv6网络配置的方法,采用本公开实施例提供的用于IPv6网络配置的方法,网络连接设备在未接收到第一探测报文对应的第一响应报文的情况下,按照预设的第三配置方式进行网络配置。在接收到第一探测报文对应的第一响应报文的情况下,对第一响应报文进行校验,获得校验结果。在校验结果为校验失败的情况下,按照预设的第一配置方式进行网络配置。在校验结果为校验成功的情况下,根据是否接收到第二探测报文对应的第二响应报文以及第二响应报文的报文内容,使网络配置按照预设的第一配置方式或预设的第二配置方式进行配置。这样,由于在网络中存在对应服务器的情况下,服务器会回复相应的响应报文。根据是否接收到响应报文以及响应报文的报文内容,进行不同的网络配置,能够合理准确的进行网络配置。Using the method for IPv6 network configuration provided by the embodiment of the present disclosure, using the method for configuring the IPv6 network provided by the embodiment of the present disclosure, when the network connection device does not receive the first response message corresponding to the first detection message In this case, the network configuration is performed according to the preset third configuration method. If the first response message corresponding to the first detection message is received, the first response message is verified to obtain a verification result. In the case that the verification result is a verification failure, the network configuration is performed according to the preset first configuration mode. In the case that the verification result is a successful verification, according to whether the second response message corresponding to the second detection message and the message content of the second response message are received, the network configuration is configured according to the preset first configuration mode or the preset second configuration mode to configure. In this way, since there is a corresponding server in the network, the server will reply a corresponding response message. According to whether the response message is received and the message content of the response message, different network configurations are performed, and the network configuration can be performed reasonably and accurately.
结合图5所示,本公开实施例提供一种用于IPv6网络配置的装置,包括:发送模块501、校验模块502和网络配置模块503。发送模块501,被配置为发送第一探测报文;校验模块502,被配置为在接收到第一探测报文对应的第一响应报文的情况下,对第一响应报文进行校验,获得校验结果;网络配置模块503,被配置为根据校验结果进行IPv6网络配置。As shown in FIG. 5 , an embodiment of the present disclosure provides an apparatus for configuring an IPv6 network, including: a sending
采用本公开实施例提供的用于IPv6网络配置的装置,通过发送模块发送第一探测报文。校验模块在接收到第一探测报文对应的第一响应报文的情况下,对第一响应报文进行校验,获得校验结果。网络配置模块根据校验结果进行IPv6网络配置。这样,由于在网络中存在对应服务器的情况下,服务器会回复相应的响应报文。根据是否接收到响应报文能够推测出IPv6网络是哪一种网络类型。对响应报文进行校验,能够更准确的确定IPv6网络的网络类型,从而能够自动准确的对IPv6网络进行网络配置,进而能够在提高了IPv6网络配置的效率的同时还保证了网络配置的准确性。Using the device for IPv6 network configuration provided by the embodiment of the present disclosure, the sending module sends the first detection message. When the verification module receives the first response message corresponding to the first detection message, it verifies the first response message to obtain a verification result. The network configuration module performs IPv6 network configuration according to the verification result. In this way, since there is a corresponding server in the network, the server will reply a corresponding response message. According to whether the response message is received, it can be inferred which network type the IPv6 network is. Verifying the response message can more accurately determine the network type of the IPv6 network, so that the network configuration of the IPv6 network can be automatically and accurately performed, thereby improving the efficiency of IPv6 network configuration and ensuring the accuracy of network configuration sex.
可选地,校验模块被配置为通过以下方式对第一响应报文进行校验,获得校验结果:获取第一响应报文的第一标志位信息和第二标志位信息;在第一标志位信息和第二标志位信息均为0的情况下,确定校验结果为校验失败;在第一标志位信息或第二标志位信息为1的情况下,确定校验结果为校验成功。Optionally, the verification module is configured to verify the first response message in the following manner to obtain the verification result: obtain the first flag bit information and the second flag bit information of the first response message; When both the flag information and the second flag information are 0, it is determined that the verification result is a verification failure; when the first flag information or the second flag information is 1, it is determined that the verification result is a verification success.
可选地,校验结果为校验失败或校验成功;网络配置模块被配置为通过以下方式根据校验结果进行IPv6网络配置:在校验结果为校验失败的情况下,按照预设的第一配置方式进行网络配置;在校验结果为校验成功的情况下,确定IPv6网络的用户侧前缀IA-PD的分配能力情况;根据分配能力情况进行IPv6网络配置。Optionally, the verification result is verification failure or verification success; the network configuration module is configured to perform IPv6 network configuration according to the verification result in the following manner: when the verification result is verification failure, according to the preset The first configuration mode is to configure the network; if the verification result is a successful verification, determine the allocation capability of the user side prefix IA-PD of the IPv6 network; perform IPv6 network configuration according to the allocation capability.
可选地,网络配置模块被配置为通过以下方式确定IPv6网络的IA-PD的分配能力情况:发送第二探测报文;第二探测报文包括用户侧前缀;在未接收到第二探测报文对应的第二响应报文的情况下,确定分配能力情况为不具备分配能力;在接收到第二探测报文对应的第二响应报文的情况下,确定第二响应报文的IA-PD前缀的存在情况;根据存在情况确定分配能力情况。Optionally, the network configuration module is configured to determine the allocation capability of the IA-PD of the IPv6 network in the following manner: sending a second detection message; the second detection message includes a user-side prefix; when the second detection message is not received In the case of the second response message corresponding to the second detection message, it is determined that the distribution capability situation is not having the distribution capability; in the case of receiving the second response message corresponding to the second detection message, it is determined that the IA- The existence of the PD prefix; determine the allocation capability according to the existence.
可选地,网络配置模块被配置为通过以下方式根据存在情况确定分配能力情况:在存在情况为存在的情况下,确定分配能力情况为具备分配能力;在存在情况为不存在的情况下,确定分配能力情况为不具备分配能力。Optionally, the network configuration module is configured to determine the allocation capability according to the presence in the following manner: if the presence is existence, determine that the allocation capability is capable of allocation; if the presence is non-existence, determine The distribution capacity status is that it does not have the distribution capacity.
可选地,分配能力情况为不具备分配能力或具备分配能力;网络配置模块被配置为通过以下方式根据分配能力情况进行IPv6网络配置:在分配能力情况为不具备分配能力的情况下,按照预设的第一配置方式进行网络配置;在分配能力情况为具备分配能力的情况下,按照预设的第二配置方式进行网络配置。Optionally, the distribution capability is that it does not have the distribution capability or has the distribution capability; the network configuration module is configured to perform IPv6 network configuration according to the distribution capability in the following manner: when the distribution capability is that it does not have the distribution capability, according to the preset The network configuration is performed in the first configuration mode; if the distribution capacity is available, the network configuration is performed in the second configuration mode.
可选地,用于IPv6网络配置的装置还包括:分配模块,被配置为发送第一探测报文后,在未接收到第一探测报文对应的第一响应报文的情况下,按照预设的第三配置方式进行网络配置。Optionally, the device for configuring the IPv6 network further includes: an allocation module, configured to send the first detection message, if the first response message corresponding to the first detection message is not received, according to the predetermined Configure the network in the third configuration mode.
结合图6所示,本公开实施例提供一种网络连接设备,包括处理器(processor)600和存储器(memory)601。可选地,该装置还可以包括通信接口(Communication Interface)602和总线603。其中,处理器600、通信接口602、存储器601可以通过总线603完成相互间的通信。通信接口602可以用于信息传输。处理器600可以调用存储器601中的逻辑指令,以执行上述实施例的用于IPv6网络配置的方法。As shown in FIG. 6 , an embodiment of the present disclosure provides a network connection device, including a processor (processor) 600 and a memory (memory) 601 . Optionally, the device may further include a communication interface (Communication Interface) 602 and a
此外,上述的存储器601中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the above logic instructions in the
存储器601作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器600通过运行存储在存储器601中的程序指令/模块,从而执行功能应用以及数据处理,即实现上述实施例中用于IPv6网络配置的方法。The
存储器601可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器601可以包括高速随机存取存储器,还可以包括非易失性存储器。The
采用本公开实施例的网络连接设备,通过发送第一探测报文。在接收到第一探测报文对应的第一响应报文的情况下,对第一响应报文进行校验,获得校验结果。根据校验结果进行IPv6网络配置。这样,由于在网络中存在对应服务器的情况下,服务器会回复相应的响应报文。根据是否接收到响应报文能够推测出IPv6网络是哪一种网络类型。对响应报文进行校验,能够更准确的确定IPv6网络的网络类型,从而能够自动准确的对IPv6网络进行网络配置,进而能够在提高了IPv6网络配置的效率的同时还保证了网络配置的准确性。Using the network connection device in the embodiment of the present disclosure, by sending the first detection packet. If the first response message corresponding to the first detection message is received, the first response message is verified to obtain a verification result. Perform IPv6 network configuration based on the verification result. In this way, since there is a corresponding server in the network, the server will reply a corresponding response message. According to whether the response message is received, it can be inferred which network type the IPv6 network is. Verifying the response message can more accurately determine the network type of the IPv6 network, so that the network configuration of the IPv6 network can be automatically and accurately performed, thereby improving the efficiency of IPv6 network configuration and ensuring the accuracy of network configuration sex.
本公开实施例提供了一种存储介质,存储有程序指令,所述序指令在运行时,执行上述用于IPv6网络配置的方法。An embodiment of the present disclosure provides a storage medium, which stores program instructions, and when the program instructions are run, execute the above-mentioned method for IPv6 network configuration.
本公开实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述用于IPv6网络配置的方法。An embodiment of the present disclosure provides a computer program product, the computer program product includes a computer program stored on a computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer, the The computer executes the above-mentioned method for IPv6 network configuration.
上述的计算机可读存储介质可以是暂态计算机可读存储介质,也可以是非暂态计算机可读存储介质。The above-mentioned computer-readable storage medium may be a transitory computer-readable storage medium, or a non-transitory computer-readable storage medium.
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,路由器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The technical solutions of the embodiments of the present disclosure may be embodied in the form of software products, which are stored in a storage medium and include one or more instructions to enable a computer device (which may be a personal computer, a router, or a network equipment, etc.) to perform all or part of the steps of the method described in the embodiments of the present disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc. A medium that can store program code, or a transitory storage medium.
以上描述和附图充分地示出了本公开的实施例,以使本领域的技术人员能够实践它们。其他实施例可以包括结构的、逻辑的、电气的、过程的以及其他的改变。实施例仅代表可能的变化。除非明确要求,否则单独的部件和功能是可选的,并且操作的顺序可以变化。一些实施例的部分和特征可以被包括在或替换其他实施例的部分和特征。而且,本申请中使用的用词仅用于描述实施例并且不用于限制权利要求。如在实施例以及权利要求的描述中使用的,除非上下文清楚地表明,否则单数形式的“一个”(a)、“一个”(an)和“所述”(the)旨在同样包括复数形式。类似地,如在本申请中所使用的术语“和/或”是指包含一个或一个以上相关联的列出的任何以及所有可能的组合。另外,当用于本申请中时,术语“包括”(comprise)及其变型“包括”(comprises)和/或包括(comprising)等指陈述的特征、整体、步骤、操作、元素,和/或组件的存在,但不排除一个或一个以上其它特征、整体、步骤、操作、元素、组件和/或这些的分组的存在或添加。在没有更多限制的情况下,由语句“包括一个…”限定的要素,并不排除在包括所述要素的过程、方法或者设备中还存在另外的相同要素。本文中,每个实施例重点说明的可以是与其他实施例的不同之处,各个实施例之间相同相似部分可以互相参见。对于实施例公开的方法、产品等而言,如果其与实施例公开的方法部分相对应,那么相关之处可以参见方法部分的描述。The above description and drawings sufficiently illustrate the embodiments of the present disclosure to enable those skilled in the art to practice them. Other embodiments may incorporate structural, logical, electrical, procedural, and other changes. The examples merely represent possible variations. Individual components and functions are optional unless explicitly required, and the order of operations may vary. Portions and features of some embodiments may be included in or substituted for those of other embodiments. Also, the terms used in the present application are used to describe the embodiments only and are not used to limit the claims. As used in the examples and description of the claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well unless the context clearly indicates otherwise . Similarly, the term "and/or" as used in this application is meant to include any and all possible combinations of one or more of the associated listed ones. Additionally, when used in this application, the term "comprise" and its variants "comprises" and/or comprising (comprising) etc. refer to stated features, integers, steps, operations, elements, and/or The presence of a component does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groupings of these. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method or apparatus comprising said element. Herein, what each embodiment focuses on may be the difference from other embodiments, and the same and similar parts of the various embodiments may refer to each other. For the method, product, etc. disclosed in the embodiment, if it corresponds to the method part disclosed in the embodiment, then the relevant part can refer to the description of the method part.
本领域技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,可以取决于技术方案的特定应用和设计约束条件。所述技术人员可以对每个特定的应用来使用不同方法以实现所描述的功能,但是这种实现不应认为超出本公开实施例的范围。所述技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed by hardware or software may depend on the specific application and design constraints of the technical solution. Said artisans may implement the described functions using different methods for each particular application, but such implementation should not be regarded as exceeding the scope of the disclosed embodiments. The skilled person can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
本文所披露的实施例中,所揭露的方法、产品(包括但不限于装置、设备等),可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,可以仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例。另外,在本公开实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units may only be a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined Or it can be integrated into another system, or some features can be ignored, or not implemented. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiments of the present disclosure may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
附图中的流程图和框图显示了根据本公开实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。在附图中的流程图和框图所对应的描述中,不同的方框所对应的操作或步骤也可以以不同于描述中所披露的顺序发生,有时不同的操作或步骤之间不存在特定的顺序。例如,两个连续的操作或步骤实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the disclosure. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code that includes one or more Executable instructions. In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than that disclosed in the description, and sometimes there is no specific agreement between different operations or steps. order. For example, two consecutive operations or steps may, in fact, be performed substantially concurrently, or they may sometimes be performed in the reverse order, depending upon the functionality involved. Each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by dedicated hardware implemented in combination with computer instructions.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211044166.4A CN115550165A (en) | 2022-08-30 | 2022-08-30 | Method and device for IPv6 network configuration, network connection equipment, storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211044166.4A CN115550165A (en) | 2022-08-30 | 2022-08-30 | Method and device for IPv6 network configuration, network connection equipment, storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115550165A true CN115550165A (en) | 2022-12-30 |
Family
ID=84726478
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211044166.4A Pending CN115550165A (en) | 2022-08-30 | 2022-08-30 | Method and device for IPv6 network configuration, network connection equipment, storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115550165A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954161A (en) * | 2014-03-28 | 2015-09-30 | 中兴通讯股份有限公司 | IPv6 transitional technology type processing method, device and system |
CN112272244A (en) * | 2020-10-22 | 2021-01-26 | 北京自如信息科技有限公司 | Router WAN end IPv6 internet mode configuration method and device |
CN114051019A (en) * | 2021-10-14 | 2022-02-15 | 深圳市联洲国际技术有限公司 | Network device and method for automatically detecting address configuration methods supported by IPv6 networks |
-
2022
- 2022-08-30 CN CN202211044166.4A patent/CN115550165A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104954161A (en) * | 2014-03-28 | 2015-09-30 | 中兴通讯股份有限公司 | IPv6 transitional technology type processing method, device and system |
CN112272244A (en) * | 2020-10-22 | 2021-01-26 | 北京自如信息科技有限公司 | Router WAN end IPv6 internet mode configuration method and device |
CN114051019A (en) * | 2021-10-14 | 2022-02-15 | 深圳市联洲国际技术有限公司 | Network device and method for automatically detecting address configuration methods supported by IPv6 networks |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101883158B (en) | Method and client for acquiring VLAN (Virtual Local Area Network) IDs (Identifiers) and network protocol addresses | |
CN108011824B (en) | A message processing method and network device | |
CN102025792B (en) | Router and IP address setting method thereof | |
CN107592209A (en) | A kind of multi-network card server automatically configures the method and system of IP address information | |
EP2169877A1 (en) | Processing method and device for qinq termination configuration | |
CN102171986B (en) | A method and a gateway for providing multiple internet access | |
CN103580980A (en) | Automatic searching and automatic configuration method and device of VN | |
WO2007085860A1 (en) | Automatic ip network determination and configuration for edge devices | |
CN104753697A (en) | Method, equipment and system for controlling provisioning of network equipment | |
JP2002368763A (en) | Network device, server device, client device, network IP address assigning method and program | |
CN112654049B (en) | Method, system, node and medium for configuring a wireless communication coverage extension system | |
CN102571729A (en) | Internet protocol version (IPV)6 network access authentication method, device and system | |
CN107547665B (en) | Method, equipment and system for allocating DHCP (dynamic host configuration protocol) address | |
US8438390B2 (en) | Method and system for using neighbor discovery unspecified solicitation to obtain link local address | |
CN108307694A (en) | A kind of network connection information acquisition methods and router | |
CA2559645A1 (en) | Open wireless access point detection and identification in a data network | |
CN104601743A (en) | IP (internet protocol) forwarding IPoE (IP over Ethernet) dual-stack user access control method and equipment based on Ethernet | |
JP2006129355A (en) | Information processor, data transmission system, data transmission method, and program for performing the data transmission method on the information processor | |
CN103561122A (en) | IPv6 address collocation method, IPv6 client and server | |
CN111447302A (en) | Method and system for simulating multi-client to test DHCP (dynamic host configuration protocol) by using raw socket | |
CN102546331B (en) | Method and device for transmitting service information | |
CN104780229A (en) | Method, system and cloud system for setting cloud server IP address through cloud terminal | |
CN104852974B (en) | A kind of message processing method and relevant device in PPPoE verification process | |
CN103856573B (en) | A kind of collocation method of internet protocol address, apparatus and system | |
JP5983314B2 (en) | Information processing apparatus and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |