CN110290230B - Method, device and storage medium for detecting dialing mode supported by network environment - Google Patents

Method, device and storage medium for detecting dialing mode supported by network environment Download PDF

Info

Publication number
CN110290230B
CN110290230B CN201910498852.0A CN201910498852A CN110290230B CN 110290230 B CN110290230 B CN 110290230B CN 201910498852 A CN201910498852 A CN 201910498852A CN 110290230 B CN110290230 B CN 110290230B
Authority
CN
China
Prior art keywords
domain name
dialing mode
network environment
network
dialing
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.)
Active
Application number
CN201910498852.0A
Other languages
Chinese (zh)
Other versions
CN110290230A (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.)
Shanghai Lianhong Technology Co ltd
Original Assignee
TP Link Technologies 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 TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN201910498852.0A priority Critical patent/CN110290230B/en
Publication of CN110290230A publication Critical patent/CN110290230A/en
Application granted granted Critical
Publication of CN110290230B publication Critical patent/CN110290230B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, a device and a storage medium for detecting a dialing mode supported by a network environment, wherein the method comprises the following steps: judging whether a WAN interface of the network equipment supporting the IPv6 protocol is connected with a domain name server or not; when the WAN interface is not connected with the domain name server, a router request message is sent, and whether the IPv6 address of the network equipment can be acquired or not is judged according to the received router notification message; when the IPv6 address of the network equipment can be acquired, the IP address of the domain name server is acquired through a DHCP6C process so as to communicate with the domain name server; judging whether a format domain name corresponding to the first type of dialing mode can be obtained by analyzing the domain name server; when the format domain name can be obtained by analyzing according to the domain name server, the first type dialing mode corresponding to the format domain name supported by the network environment is judged. The invention can automatically detect the dialing mode under the condition of no actual dialing, and is convenient for users to quickly acquire the dialing mode supported by the network environment.

Description

Method, device and storage medium for detecting dialing mode supported by network environment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for detecting a dialing mode supported by a network environment, and a storage medium.
Background
Because address resources under the Internet technology of Internet Protocol Version 4(IPv4, Internet Protocol Version 4) are increasingly deficient, the use of IPv4 cannot support all devices accessing the Internet, and therefore, the Internet technology of Internet Protocol Version 6(IPv6, Internet Protocol Version 6) has come into force. At present, the IPv4 network still dominates, only part of users use the IPv6 network, and in this background, an IPv6 transition technology is generated, so that users dial between the IPv4 network and the IPv6 network to establish network connection, and thus, the intercommunication and transition between the IPv4 network and the IPv6 network are realized.
Different network connections or network service services need to be established through different dialing modes, and corresponding network connections or network service services can be established only by supporting the dialing mode corresponding to the network environment, for example, a network environment supporting a DS-lite (dual stack lite) dialing mode or a MAP-E dialing mode can establish network connections between an IPv4 network and an IPv6 network. Thus, the user needs to know the dialing mode supported by the network environment.
However, in the prior art, the automatic detection of the dialing mode needs to detect the dialing mode supported by the network environment on the premise of actual dialing, and needs to actually dial each dialing mode, and when actual dialing is performed, it needs to accurately locate the network to be connected to dial, and further determine whether the network environment supports a certain dialing mode, so that the user cannot quickly know the dialing mode supported by the network environment.
Disclosure of Invention
The technical problem to be solved in the embodiments of the present invention is to provide a method, an apparatus, and a storage medium for detecting a dialing mode supported by a network environment, which can automatically detect a dialing mode without actual dialing, and facilitate a user to quickly know the dialing mode supported by the network environment.
In a first aspect, an embodiment of the present invention provides a method for detecting a dialing mode supported by a network environment, where the method is executed by a network device, and the method includes:
judging whether a WAN interface of the network equipment supporting an IPv6 protocol is connected with a domain name server or not;
when the WAN interface is not connected with the domain name server, a router request message is sent, and whether the IPv6 address of the network equipment can be acquired or not is judged according to the received router advertisement message;
when the IPv6 address of the network equipment can be acquired, the IP address of a domain name server is acquired through a DHCP6C process so as to communicate with the domain name server;
judging whether the format domain name corresponding to the first type of dialing mode can be obtained by analyzing the domain name server; the first type of dialing mode comprises a DS-Lite dialing mode or/and a MAP-E dialing mode;
and when the format domain name corresponding to the first type of dialing mode can be obtained by analyzing according to the domain name server, judging that the network environment supports the first type of dialing mode.
Further, the method further comprises:
when the format domain name corresponding to the first type of dialing mode cannot be obtained through resolution according to the domain name server, judging that the network environment does not support the first type of dialing mode, and sending a PADI message;
and after receiving a reply message corresponding to the PADI message, judging that the network environment supports a PPPoE dialing mode.
Further, the method further comprises:
when the format domain name corresponding to the first type of dialing mode cannot be obtained through resolution according to the domain name server, judging that the network environment does not support the first type of dialing mode, and sending a dhcp discover message;
and after receiving a reply message corresponding to the DHCP discover message, judging that the network environment supports a DHCP dialing mode.
Further, the method further comprises:
when the IPv6 address of the network equipment cannot be acquired, the network environment is judged not to support the first-type dialing mode.
Further, the method further comprises:
when the WAN interface is connected with a domain name server, judging whether a format domain name corresponding to a first type of dialing mode can be obtained according to the resolution of the domain name server;
and when the format domain name corresponding to the first type of dialing mode can be obtained by analyzing according to the domain name server, judging that the network environment supports the first type of dialing mode.
Further, the method sends the router solicitation message by the following steps:
triggering and sending the router request message through a switch IPv6 protocol stack; or the like, or, alternatively,
and triggering and sending the router request message by responding to the corresponding sending instruction.
Further, before the determining whether the WAN interface of the network device supporting the IPv6 protocol is connected to the domain name server, the method further includes:
recording first network configuration information of the network environment;
then, after the dial mode detection is completed, the method further includes:
judging whether the network configuration information of the network environment changes or not according to the first network configuration information;
and when the network configuration information of the network environment changes, performing network configuration on the network environment according to the first network configuration information.
In a second aspect, an embodiment of the present invention further provides a device for detecting a dialing mode supported by a network environment, where the device includes:
the first judgment module is used for judging whether a WAN interface of the network equipment supporting the IPv6 protocol is connected with a domain name server or not;
the second judgment module is used for sending a router request message when the WAN interface is not connected with the domain name server, and judging whether the IPv6 address of the network equipment can be acquired or not according to the received router advertisement message;
the acquisition module is used for acquiring the IP address of the domain name server through a DHCP6C process to communicate with the domain name server when the IPv6 address of the network equipment can be acquired;
the third judging module is used for judging whether the format domain name corresponding to the first-class dialing mode can be obtained according to the resolution of the domain name server; the first type of dialing mode comprises a DS-Lite dialing mode or/and a MAP-E dialing mode;
and the first judging module is used for judging that the network environment supports the first type of dialing mode when the format domain name corresponding to the first type of dialing mode can be obtained by analyzing according to the domain name server.
In a third aspect, an embodiment of the present invention further provides an apparatus for detecting a dialing mode supported by a network environment, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor, when executing the computer program, implements a method for detecting a dialing mode supported by a network environment according to any one of the above-mentioned first aspects.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, a device in which the computer-readable storage medium is located is controlled to execute the method for detecting a dialing mode supported by a network environment, as described in any one of the above first aspects.
The method, the device and the storage medium for detecting the dialing mode supported by the network environment can realize automatic detection of the dialing mode supported by the network environment under the condition of no actual dialing without actual dialing, and are convenient for a user to quickly acquire the dialing mode supported by the network environment. The method is particularly suitable for two dialing modes, namely a DS-Lite dialing mode and an MAP-E dialing mode, which can realize IPv4-in-IPv6 network communication, but the dialing mode with more complicated network positioning avoids the network positioning during actual dialing, and automatically detects the dialing mode supported by the network environment more quickly, simply and conveniently.
Drawings
Fig. 1 is a schematic flow chart of a method for detecting a dialing mode supported by a network environment according to a preferred embodiment of the present invention;
fig. 2 is a schematic structural diagram of a preferred embodiment of a device for detecting a dialing mode supported by a network environment according to the present invention;
fig. 3 is a schematic structural diagram of another preferred embodiment of the detection apparatus for a dialing mode supported by a network environment according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, it is a flowchart illustrating a method for detecting a dialing mode supported by a network environment according to a preferred embodiment of the present invention, and in particular, the method for detecting a dialing mode supported by a network environment is implemented by a network device, and the method includes:
s1, judging whether the WAN interface of the network equipment supporting the IPv6 protocol is connected with a domain name server;
s2, when the WAN interface is not connected with the domain name server, sending a router request message, and judging whether the IPv6 address of the network equipment can be acquired according to the received router notification message;
s3, when the IPv6 address of the network equipment can be obtained, the IP address of the domain name server is obtained through a DHCP6C process so as to communicate with the domain name server;
s4, judging whether the format domain name corresponding to the first type of dialing mode can be obtained according to the resolution of the domain name server; the first type of dialing mode comprises a DS-Lite dialing mode or/and a MAP-E dialing mode;
and S5, when the format domain name corresponding to the first type of dialing mode can be obtained by analyzing according to the domain name server, determining that the first type of dialing mode is supported by the network environment.
Wherein, the router request message, namely RS (router solicitation) message, is broadcast and sent to the outside by the network equipment; the router advertisement message, i.e. ra (router advertisement) message, is a message replied to the network device by the gateway device receiving the RS message in response to the RS message. The RA message includes a 64-bit address prefix, and a 128-bit IPv6 address can be generated by combining the MAC address of the network device at the user end.
A format domain name refers to a domain name having a specific domain name format.
The first type of dialing mode comprises a DS-Lite dialing mode or/and a MAP-E dialing mode, wherein the DS-Lite (Dual Stack Lite) dialing mode is a dual Stack evolution dialing mode, is a tunnel communication technology and can realize communication between an IPv6 network and an IPv4 network. Under the DS-Lite dialing mode, the domain name obtained by analysis has a special domain name format, namely the gw.
The MAP-E dial mode is a Network Service item provided by an Internet Service Provider (ISP) of a Next Generation Network (NGN) following an NTT Network Service to a user without IPv6 and IPv4 devices, and the item is a Service mode of a dual stack roaming link that realizes IPv6 Network access and IPv4 Network access on an IPv6 Network by an IPoE mode, and is a dial mode specific to japan. In the MAP-E dialing mode, the domain name obtained by the resolution also has a specific domain name format, i.e., api.
The DHCP6C process is a process for a DHCP6 client network device to obtain an IPv6 address. Under the DHCP6C process, the network device configures the corresponding configuration script, sends a DHCPv6 protocol request packet, and acquires information such as an IP address, an IP prefix and/or other configurations required by the network device according to a reply message of the server.
Specifically, whether a WAN interface of the network equipment supporting the IPv6 protocol is connected with a domain name server is judged; when a WAN interface is not connected with a domain name server, the WAN interface and the domain name server indicate that the network equipment at the moment does not have the capability of acquiring related information from the domain name server, a router request message is sent, gateway equipment such as a router or a server receiving the router request message responds to the router request message, a router notification message is replied to the network equipment, and the network equipment judges whether the IPv6 address of the network equipment can be acquired or not according to the received router notification message; when the IPv6 address of the network equipment can be obtained, the IP address of the domain name server is obtained through a DHCP6C process to communicate with the domain name server, so that the network equipment has the capability of obtaining relevant information from the domain name server; judging whether the format domain name corresponding to the first-class dialing mode can be obtained by analyzing according to the domain name server, for example, if the first-class dialing mode comprises a DS-Lite dialing mode, judging whether the format domain name corresponding to the DS-Lite dialing mode and having the format of the gw.transit.jp domain name format can be obtained by analyzing according to the domain name server; if the first type of dialing mode comprises an MAP-E dialing mode, judging whether a format domain name with an api. If the first type of dialing mode comprises a DS-Lite dialing mode and an MAP-E dialing mode, whether a format domain name with a gw.trans.jp domain name format corresponding to the DS-Lite dialing mode can be obtained by analyzing the domain name server or not is judged according to a preset sequence, or whether a format domain name with an api.enable.ne.jp domain name format corresponding to the MAP-E dialing mode can be obtained by analyzing the format domain name. When the format domain name can be obtained by analyzing according to the domain name server, judging that the network environment supports a first type of dialing mode corresponding to the format domain name, namely when the format domain name obtained by analyzing has the gw.transix.jp domain name format, judging that the network environment supports the DS-Lite dialing mode; and when the format domain name obtained by analysis has the api.
It should be noted that, the network device determines the manner of obtaining the format domain name corresponding to the first-type dialing manner according to whether the domain name server can perform resolution, and may be that after the domain name server completes resolution, the domain name server replies a corresponding message to the network device to inform the network device whether to successfully resolve the format domain name corresponding to the first-type dialing manner, and the network device may determine whether the domain name server can perform resolution to obtain the format domain name corresponding to the first-type dialing manner according to the message replied by the domain name server.
Optionally, after the detection and determination of whether the network environment supports the first-type dialing mode is completed, further detection and determination may be further performed on whether other dialing modes are supported by the network environment, or the supported first-type dialing mode may be directly returned, so that the network device preferably establishes the network connection by using the first-type dialing mode.
According to the method for detecting the dialing mode supported by the network environment, provided by the embodiment of the invention, when a WAN interface is not connected with a domain name server, the IPv6 address of the network equipment is obtained through the interaction of an RS message and an RA message and a DHCP6C process, after a format domain name is obtained through the resolution of the domain name server, the dialing mode supported by the network environment is judged according to the format domain name, actual dialing is not needed, the dialing mode supported by the network environment is automatically detected under the condition of no actual dialing, and a user can conveniently and quickly know the dialing mode supported by the network environment. Meanwhile, when actual dialing is performed, a network currently used by a user may be interrupted for a certain time, for example, when the user currently uses an IPv4 network and needs to detect a dialing mode under an IPv6 network such as a DS-Lite dialing mode or a MAP-E dialing mode, and when actual dialing is performed, the IPv4 network currently used by the user interrupts for a certain time and affects the network currently used by the user. The method is particularly suitable for two dialing modes, namely a DS-Lite dialing mode and an MAP-E dialing mode, which can realize IPv4-in-IPv6 network communication, but the dialing mode with complicated network positioning.
Preferably, the method further comprises:
when the format domain name corresponding to the first type of dialing mode cannot be obtained through resolution according to the domain name server, judging that the network environment does not support the first type of dialing mode, and sending a PADI message;
and after receiving a reply message corresponding to the PADI message, judging that the network environment supports a PPPoE dialing mode.
The PPPoE dialing mode is a Point-to-Point Protocol Over Ethernet (PPPoE) dialing mode. The padi (PPPoE Active Discovery initiation) message is a message broadcasted by the network device on the ethernet, and is an Active Discovery message, which finds an access concentrator for a network service providing point to access the corresponding internet through a PPPoE dialing mode. The reply message corresponding to the PADI message is a pado (pppoe Active Discovery offer) message, and the access concentrator replies to the network device.
Specifically, when the format domain name corresponding to the dialing mode cannot be obtained through resolution by the domain name server, it is indicated that the network environment does not support the first-class dialing mode, it is determined that the network environment does not support the first-class dialing mode, and the PPPoE dialing mode is further detected and determined. The network equipment actively sends the PADI message, and judges that the network environment supports the PPPoE dialing mode after receiving the reply message corresponding to the PADI message.
According to the method for detecting the dialing mode supported by the network environment, provided by the embodiment of the invention, when the first dialing mode is judged not to be supported by the network environment, the PPPoE dialing mode is further detected and judged, more dialing modes are detected, and the user can comprehensively master the dialing mode supported by the network environment.
It should be noted that, when the detection of the PPPoE dialing mode does not conflict with the detection of other dialing modes, the PPPoE dialing mode can be further detected. For example, when it is determined that the network environment supports the first-type dialing mode, or after the detection of the DHCP dialing mode is completed, if the user knows the dialing mode supported by the network device more completely, the PPPoE dialing mode may be further detected. That is, the method for detecting a dialing mode supported by a network environment according to the embodiment of the present invention may detect and determine a PPPoE dialing mode when it is determined that the network environment does not support the first-type dialing mode, but may further adaptively detect whether the network environment supports the PPPoE dialing mode after obtaining other determination results.
Preferably, the method further comprises:
when the format domain name corresponding to the first type of dialing mode cannot be obtained through resolution according to the domain name server, judging that the network environment does not support the first type of dialing mode, and sending a dhcp discover message;
and after receiving a reply message corresponding to the DHCP discover message, judging that the network environment supports a DHCP dialing mode.
The DHCP dialing mode is a dialing mode based on a Dynamic Host Configuration Protocol (DHCP). The dhcp discover message is a message broadcasted by the network device to the server. And the reply message corresponding to the DHCP discover message is a DHCP Offer message, is generated by the server according to the response of the DHCP discover message, and replies to the network equipment.
Specifically, when a format domain name corresponding to a dialing mode cannot be obtained through resolution by a domain name server, it is indicated that a network environment does not support a first-class dialing mode, it is determined that the network environment does not support the first-class dialing mode, and further, a DHCP dialing mode is detected and determined, a DHCP discover message is sent, and after a reply message corresponding to the DHCP discover message is received, it is determined that the network environment supports the DHCP dialing mode.
According to the method for detecting the dialing mode supported by the network environment, provided by the embodiment of the invention, when the first-class dialing mode is judged not to be supported by the network environment, the DHCP dialing mode is further detected and judged, more dialing modes are detected, and the user can comprehensively master the dialing mode supported by the network environment.
It should be noted that, when the detection of the DHCP dialing scheme does not conflict with the detection of the other dialing schemes, the DHCP dialing scheme may be further detected. For example, when it is determined that the network environment supports the first-type dialing mode, or after the detection of the PPPoE dialing mode is completed, if the user knows the dialing mode supported by the network device more completely, the DHCP dialing mode may be further detected. That is, the method for detecting a dialing mode supported by a network environment according to the embodiment of the present invention may further detect and determine a DHCP dialing mode when it is determined that the network environment does not support the first-type dialing mode, but may also adaptively further detect whether the network environment supports the DHCP dialing mode after obtaining other determination results.
Preferably, the method further comprises:
when the IPv6 address of the network equipment cannot be acquired, the network environment is judged not to support the first-type dialing mode.
Specifically, when the IPv6 address of the network device cannot be acquired, it is determined that the network environment does not support the first-type dialing mode. Optionally, the PPPoE dialing mode and/or the DHCP dialing mode may be further detected and determined subsequently according to the method for detecting a dialing mode supported by a network environment provided in the above embodiment, or the method may also end the dialing mode detection process after directly returning a determination result that the network environment does not support the first type of dialing mode, and may be set according to actual needs.
Preferably, the method further comprises:
when the WAN interface is connected with a domain name server, judging whether a format domain name corresponding to a first type of dialing mode can be obtained according to the resolution of the domain name server;
and when the format domain name corresponding to the first type of dialing mode can be obtained by analyzing according to the domain name server, judging that the network environment supports the first type of dialing mode.
Specifically, when the WAN interface is connected to the domain name server, it indicates that the network device at this time has the capability of performing direct or indirect communication with the domain name server, and determines whether the format domain name corresponding to the first-class dialing mode can be obtained by resolution according to the domain name server, and when the format domain name can be obtained by resolution according to the domain name server, determines that the network environment supports the first-class dialing mode corresponding to the format domain name. It should be noted that, in the method for detecting a dialing mode supported by a network environment according to the embodiments of the present invention, when a WAN interface is connected to a domain name server, a first type of dialing mode supported by the network environment is also determined according to a format domain name format, that is, when a format domain name obtained by parsing has a gw.transix.jp domain name format, it is determined that the network environment supports a DS-Lite dialing mode; and when the format domain name obtained by analysis has the api.
According to the method for detecting the dialing mode supported by the network environment, when a WAN interface is connected with a domain name server, whether a format domain name corresponding to a first type of dialing mode can be obtained through resolution according to the domain name server is judged, after the format domain name can be obtained through resolution according to the domain name server, the dialing mode supported by the network environment is judged according to the format domain name, actual dialing is not needed, automatic detection of the dialing mode supported by the network environment under the condition that actual dialing is not carried out is achieved, and a user can conveniently and quickly know the dialing mode supported by the network environment. Meanwhile, when actual dialing is performed, a network currently used by a user may be interrupted for a certain time, for example, when the user currently uses an IPv4 network and needs to detect a dialing mode under an IPv6 network such as a DS-Lite dialing mode or a MAP-E dialing mode, and when actual dialing is performed, the IPv4 network currently used by the user interrupts for a certain time and affects the network currently used by the user. The method is particularly suitable for two dialing modes, namely a DS-Lite dialing mode and an MAP-E dialing mode, which can realize IPv4-in-IPv6 network communication, but the dialing mode with complicated network positioning.
Preferably, the method sends the router solicitation message by:
triggering and sending the router request message through a switch IPv6 protocol stack; or the like, or, alternatively,
and triggering and sending the router request message by responding to the corresponding sending instruction.
Specifically, the sending of the RS message is triggered by switching the IPv6 protocol stack, and optionally, the execution sequence of "first closing the IPv6 protocol stack, and then opening the IPv6 protocol stack" may be set. The router request message is triggered and sent by responding to a corresponding sending instruction, and optionally, the sending instruction can be set to be 'echo 1>/proc/sys/net/ipv 6/conf/interface/sendrs'.
The method for detecting the dialing mode supported by the network environment, provided by the embodiment of the invention, realizes the transmission of the router request message by switching an IPv6 protocol stack or responding to a corresponding transmission instruction mode.
Preferably, before the determining whether the WAN interface of the network device supporting the IPv6 protocol is connected to a domain name server, the method further includes:
recording first network configuration information of the network environment;
then, after the dial mode detection is completed, the method further includes:
judging whether the network configuration information of the network environment changes or not according to the first network configuration information;
and when the network configuration information of the network environment changes, performing network configuration on the network environment according to the first network configuration information.
Specifically, before the detection, first network configuration information of the network environment is recorded, and after the dial-up mode detection is completed, whether the network configuration of the network environment changes or not is judged according to the first network configuration information. When the network configuration information of the network environment changes, it is explained that certain modification is carried out on the network configuration in the dialing mode detection process, and then the network environment is subjected to network configuration according to the first network configuration information.
According to the method for detecting the dialing mode supported by the network environment, provided by the embodiment of the invention, in the dialing mode detection process, if certain modification is required to be carried out on the network configuration, the network configuration of the network environment is recovered after the detection is finished, so that the influence on the currently used network state of a user is avoided. For example, in the dial mode detection process, if an IPv6 protocol stack which is originally closed needs to be opened, sending of an RS message is triggered, after detection is completed, network configuration of a network environment is restored, and the opened IPv6 protocol stack during detection is closed.
When the method for detecting the dialing mode supported by the network environment is implemented specifically, whether a WAN interface of network equipment supporting an IPv6 protocol is connected with a domain name server is judged; when a WAN interface is not connected with a domain name server, the network equipment at the moment can not directly acquire the domain name from the domain name server, a router request message is sent, gateway equipment such as a router or a server receiving the router request message responds to the router request message, a router notification message is replied to the network equipment, and the network equipment judges whether the IPv6 address of the network equipment can be acquired or not according to the received router notification message; when the IPv6 address of the network equipment can be acquired, the IP address of the domain name server is acquired through a DHCP6C process so as to communicate with the domain name server; judging whether the format domain name corresponding to the first-class dialing mode can be obtained by analyzing according to the domain name server, for example, if the first-class dialing mode comprises a DS-Lite dialing mode, judging whether the format domain name corresponding to the DS-Lite dialing mode and having the format of the gw.transit.jp domain name format can be obtained by analyzing according to the domain name server; and if the first type of dialing mode comprises an MAP-E dialing mode, judging whether a format domain name with an api. When the format domain name can be obtained by analyzing according to the domain name server, judging that the network environment supports a first type of dialing mode corresponding to the format domain name, namely when the format domain name obtained by analyzing has the gw.transix.jp domain name format, judging that the network environment supports the DS-Lite dialing mode; and when the format domain name obtained by analysis has the api.
According to the method for detecting the dialing mode supported by the network environment, provided by the embodiment of the invention, when a WAN interface is not connected with a domain name server, the IPv6 address of the network equipment is obtained through the interaction of an RS message and an RA message and a DHCP6C process, a format domain name is obtained through analysis, the dialing mode supported by the network environment is judged according to the format domain name, actual dialing is not needed, automatic detection on the dialing mode supported by the network environment under the condition of no actual dialing is realized, and a user can conveniently and quickly know the dialing mode supported by the network environment. Meanwhile, the method for detecting the dialing mode supported by the network environment provided by the embodiment of the invention can automatically detect the dialing mode supported by the network environment under the condition of no actual dialing, and can also avoid the influence of the detection process on the current network state used by a user compared with the prior art. The method is particularly suitable for two dialing modes, namely a DS-Lite dialing mode and an MAP-E dialing mode, which can realize IPv4-in-IPv6 network communication, but the dialing mode with complicated network positioning.
The embodiment of the present invention further provides a device for detecting a dialing mode supported by a network environment, please refer to fig. 2, which is a schematic structural diagram of a preferred embodiment of the device for detecting a dialing mode supported by a network environment according to the present invention; specifically, the apparatus comprises:
the first judging module 11 is configured to judge whether a WAN interface of the network device supporting an IPv6 protocol is connected to a domain name server;
a second determining module 12, configured to send a router solicitation message when the WAN interface is not connected to the domain name server, and determine whether an IPv6 address of the network device can be obtained according to the received router advertisement message;
an obtaining module 13, configured to obtain, when an IPv6 address of the network device can be obtained, an IP address of a domain name server through a DHCP6C process to communicate with the domain name server;
a third determining module 14, configured to determine whether the format domain name corresponding to the first-class dialing mode can be obtained by resolution of the domain name server; the first type of dialing mode comprises a DS-Lite dialing mode or/and a MAP-E dialing mode;
the first determining module 15 is configured to determine that the network environment supports the first type of dialing mode when the domain name server can resolve the format domain name corresponding to the first type of dialing mode according to the domain name.
The device for detecting the dialing mode supported by the network environment, provided by the embodiment of the invention, judges whether a WAN interface of the network equipment supporting an IPv6 protocol is connected with a domain name server or not through a first judging module 11; when the WAN interface is not connected to the domain name server, a router solicitation message is sent by the second determining module 12, and whether the IPv6 address of the network device can be acquired is determined according to the received router advertisement message; when the IPv6 address of the network device can be acquired, acquiring, by the acquiring module 13, the IP address of the domain name server through a DHCP6C process to communicate with the domain name server; judging whether the format domain name corresponding to the first-class dialing mode can be obtained according to the resolution of the domain name server through a third judging module 14; when the format domain name corresponding to the first type of dialing mode can be obtained by resolution according to the domain name server, the first judging module 15 judges that the network environment supports the first type of dialing mode.
According to the detection device for the dialing mode supported by the network environment, provided by the embodiment of the invention, when a WAN interface is not connected with a domain name server, the IPv6 address of the network equipment is obtained through the interaction of an RS message and an RA message and a DHCP6C process, a format domain name is obtained through analysis, the dialing mode supported by the network environment is judged according to the format domain name, actual dialing is not needed, automatic detection on the dialing mode supported by the network environment under the condition of no actual dialing is realized, and a user can conveniently and quickly know the dialing mode supported by the network environment. Meanwhile, the device for detecting the dialing mode supported by the network environment provided by the embodiment of the invention can automatically detect the dialing mode supported by the network environment under the condition of no actual dialing, and can also avoid the influence of the detection process on the current network state used by a user compared with the prior art. The device is particularly suitable for two dialing modes, namely a DS-Lite dialing mode and an MAP-E dialing mode, which can realize IPv4-in-IPv6 network communication, but the dialing mode with complicated network positioning.
Preferably, the apparatus further comprises:
the first message sending module is used for judging that the network environment does not support the first type of dialing mode and sending a PADI message when the format domain name corresponding to the first type of dialing mode cannot be obtained through resolution according to the domain name server;
and the second judging module is used for judging that the network environment supports a PPPoE dialing mode after receiving a reply message corresponding to the PADI message.
Preferably, the apparatus further comprises:
the second message sending module is used for judging that the network environment does not support the first type of dialing mode and sending a dhcp discover message when the format domain name corresponding to the first type of dialing mode cannot be obtained through resolution according to the domain name server;
and the third judging module is used for judging that the network environment supports a DHCP dialing mode after receiving the reply message corresponding to the DHCP discover message.
Preferably, the apparatus further comprises:
a fourth determining module, configured to determine that the network environment does not support the first-type dialing mode when the IPv6 address of the network device cannot be obtained.
Preferably, the apparatus further comprises:
the fourth judgment module is used for judging whether the format domain name corresponding to the first-class dialing mode can be obtained by analyzing the domain name server or not when the WAN interface is connected with the domain name server;
and the fifth judging module is used for judging that the network environment supports the first type of dialing mode when the format domain name corresponding to the first type of dialing mode can be obtained by analyzing according to the domain name server.
Preferably, the second judging module 12 further includes:
the first triggering unit is used for triggering and sending the router request message through a switch IPv6 protocol stack; or the like, or, alternatively,
and the second trigger unit is used for triggering and sending the router request message by responding to the corresponding sending instruction.
Preferably, the apparatus further comprises:
the recording module is used for recording first network configuration information of the network environment before judging whether a WAN interface of the network equipment supporting the IPv6 protocol is connected with a domain name server or not;
the device further comprises a configuration module, which is specifically configured to:
after the dial-up mode detection is finished, judging whether the network configuration information of the network environment changes or not according to the first network configuration information;
and when the network configuration information of the network environment changes, performing network configuration on the network environment according to the first network configuration information.
It should be noted that the apparatus for detecting a dialing mode supported by a network environment according to the embodiment of the present invention is configured to execute the steps of the method for detecting a dialing mode supported by a network environment according to the foregoing embodiment, and working principles and beneficial effects of the two are in one-to-one correspondence, which is not described again.
It will be understood by those skilled in the art that the schematic diagram of the detecting apparatus of the dialing modes supported by the network environment is merely an example of the detecting apparatus of the dialing modes supported by the network environment, and does not constitute a limitation to the detecting apparatus of the dialing modes supported by the network environment, and may include more or less components than those shown in the diagram, or combine some components, or different components, for example, the detecting apparatus of the dialing modes supported by the network environment may further include an input-output device, a network access device, a bus, and the like.
An embodiment of the present invention further provides a device for detecting a dialing mode supported by a network environment, please refer to fig. 3, which is a schematic structural diagram of another preferred embodiment of the device for detecting a dialing mode supported by a network environment according to the present invention. Specifically, the device for detecting a dialing mode supported by a network environment includes a processor 10, a memory 20, and a computer program stored in the memory 20 and configured to be executed by the processor, where the processor executes the computer program to implement the method for detecting a dialing mode supported by a network environment according to any one of the embodiments.
Specifically, the processor 10 and the memory 20 in the detection apparatus for the dialing mode supported by the network environment may be one or more, and the detection apparatus for the dialing mode supported by the network environment may be composed of a computer, a client host, a cloud device, or the like.
The device for detecting the dialing mode supported by the network environment of the embodiment comprises: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps in the method for detecting a dialing mode supported by a network environment, which is provided by the above embodiment, are implemented, for example, step S1 shown in fig. 1, and it is determined whether a WAN interface of the network device supporting the IPv6 protocol is connected to a domain name server. Alternatively, the processor implements the functions of the modules in the above device embodiments when executing the computer program, for example, implements a first determining module 11, configured to determine whether a WAN interface of the network device supporting the IPv6 protocol is connected to a domain name server.
Illustratively, the computer program can be divided into one or more modules/units (e.g., computer program 1, computer program 2, shown in FIG. 3), which are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used for describing the execution process of the computer program in the detection device of the dialing mode supported by the network environment. For example, the computer program may be divided into a first determining module 11, a second determining module 12, an obtaining module 13, a third determining module 14, and a first determining module 15, and the specific functions of the modules are as follows:
the first judging module 11 is configured to judge whether a WAN interface of the network device supporting an IPv6 protocol is connected to a domain name server;
a second determining module 12, configured to send a router solicitation message when the WAN interface is not connected to the domain name server, and determine whether an IPv6 address of the network device can be obtained according to the received router advertisement message;
an obtaining module 13, configured to obtain, when an IPv6 address of the network device can be obtained, an IP address of a domain name server through a DHCP6C process to communicate with the domain name server;
a third determining module 14, configured to determine whether the format domain name corresponding to the first-class dialing mode can be obtained by resolution of the domain name server; the first type of dialing mode comprises a DS-Lite dialing mode or/and a MAP-E dialing mode;
the first determining module 15 is configured to determine that the network environment supports the first type of dialing mode when the format domain name corresponding to the first type of dialing mode is obtained through resolution by the domain name server.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general processor may be a microprocessor or the processor may be any conventional processor, etc., and the processor is a control center of the detecting device of the dialing mode supported by the network environment, and various interfaces and lines are used to connect various parts of the detecting device of the dialing mode supported by the whole network environment.
The memory may be configured to store the computer program and/or the module, and the processor may implement various functions of the device for detecting a dialing mode supported by the network environment by executing or executing the computer program and/or the module stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the module/unit integrated with the detection device of the dialing mode supported by the network environment can be stored in a computer readable storage medium if the module/unit is realized in the form of a software functional unit and sold or used as an independent product. Based on such understanding, all or part of the processes in the method for detecting a dialing mode supported by a network environment according to the embodiments of the present invention may also be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for detecting a dialing mode supported by a network environment according to any of the embodiments of the present invention may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that the above-mentioned detecting device for the dialing modes supported by the network environment may include, but is not limited to, a processor and a memory, and those skilled in the art will understand that the schematic diagram of fig. 3 is only an example of the detecting device for the dialing modes supported by the network environment, and does not constitute a limitation to the detecting device for the dialing modes supported by the network environment, and may include more or less components than those shown in the drawings, or may combine some components, or may differ from those shown in the drawings.
An embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, where when the computer program runs, a device where the computer-readable storage medium is located is controlled to execute the method for detecting a dialing mode supported by a network environment according to any one of the methods provided in the foregoing embodiments.
To sum up, the embodiment of the present invention provides a method and an apparatus for detecting a dialing mode supported by a network environment, and a computer-readable storage medium, and has the following advantages:
1) the dialing mode supported by the network environment is automatically detected under the condition that actual dialing is not available, so that a user can quickly acquire the dialing mode supported by the network environment;
2) the influence of the detection process on the current network state of the user is avoided;
3) whether the network environment supports the DHCP dialing mode and/or the DHCP dialing mode is further judged, and the user can comprehensively master the dialing mode supported by the network environment;
4) after the dialing mode is detected, network configuration is carried out on the network environment according to the first network configuration information, and influence on the current network state used by a user is avoided.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.

Claims (10)

1. A method for detecting a dialing mode supported by a network environment, the method being performed by a network device, the method comprising:
judging whether a WAN interface of the network equipment supporting an IPv6 protocol is connected with a domain name server or not;
when the WAN interface is not connected with the domain name server, a router request message is sent, and whether the IPv6 address of the network equipment can be acquired or not is judged according to the received router advertisement message;
when the IPv6 address of the network equipment can be acquired, the IP address of a domain name server is acquired through a DHCP6C process so as to communicate with the domain name server;
judging whether the format domain name corresponding to the first type of dialing mode can be obtained by analyzing the domain name server; the first type of dialing mode comprises a DS-Lite dialing mode or/and a MAP-E dialing mode;
and when the format domain name corresponding to the first type of dialing mode can be obtained by analyzing according to the domain name server, judging that the network environment supports the first type of dialing mode.
2. The method for detecting a dialing pattern supported by a network environment as claimed in claim 1, wherein said method further comprises:
when the format domain name corresponding to the first type of dialing mode cannot be obtained through resolution according to the domain name server, judging that the network environment does not support the first type of dialing mode, and sending a PADI message;
and after receiving a reply message corresponding to the PADI message, judging that the network environment supports a PPPoE dialing mode.
3. The method for detecting a dialing pattern supported by a network environment as claimed in claim 1, wherein said method further comprises:
when the format domain name corresponding to the first type of dialing mode cannot be obtained through resolution according to the domain name server, judging that the network environment does not support the first type of dialing mode, and sending a dhcp discover message;
and after receiving a reply message corresponding to the DHCP discover message, judging that the network environment supports a DHCP dialing mode.
4. The method for detecting a dialing pattern supported by a network environment as claimed in claim 1, wherein said method further comprises:
when the IPv6 address of the network equipment cannot be acquired, the network environment is judged not to support the first-type dialing mode.
5. The method for detecting a dialing pattern supported by a network environment as claimed in claim 1, wherein said method further comprises:
when the WAN interface is connected with a domain name server, judging whether a format domain name corresponding to a first type of dialing mode can be obtained according to the resolution of the domain name server;
and when the format domain name corresponding to the first type of dialing mode can be obtained by analyzing according to the domain name server, judging that the network environment supports the first type of dialing mode.
6. The method according to claim 1, wherein the method sends the router solicitation message by:
triggering and sending the router request message through a switch IPv6 protocol stack; or the like, or, alternatively,
and triggering and sending the router request message by responding to the corresponding sending instruction.
7. The method for detecting the dialing mode supported by the network environment according to any claim 1 to 6, wherein before the determining whether the WAN interface of the network device supporting the IPv6 protocol is connected to the domain name server, the method further comprises:
recording first network configuration information of the network environment;
then, after the dial mode detection is completed, the method further includes:
judging whether the network configuration information of the network environment changes or not according to the first network configuration information;
and when the network configuration information of the network environment changes, performing network configuration on the network environment according to the first network configuration information.
8. An apparatus for detecting a dialing mode supported by a network environment, the apparatus comprising:
the first judgment module is used for judging whether a WAN interface of the device supporting the IPv6 protocol is connected with a domain name server or not;
the second judgment module is used for sending a router request message when the WAN interface is not connected with the domain name server, and judging whether the IPv6 address of the device can be acquired or not according to the received router notification message;
the acquisition module is used for acquiring the IP address of the domain name server through a DHCP6C process to communicate with the domain name server when the IPv6 address of the device can be acquired;
the third judging module is used for judging whether the format domain name corresponding to the first-class dialing mode can be obtained according to the resolution of the domain name server; the first type of dialing mode comprises a DS-Lite dialing mode or/and a MAP-E dialing mode;
and the first judging module is used for judging that the network environment supports the first type of dialing mode when the format domain name corresponding to the first type of dialing mode can be obtained by analyzing according to the domain name server.
9. An apparatus for detecting a dialing mode supported by a network environment, comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the method for detecting a dialing mode supported by a network environment according to any one of claims 1 to 7.
10. A computer-readable storage medium, comprising a stored computer program, wherein when the computer program runs, the computer-readable storage medium controls a device to execute the method for detecting the dialing mode supported by the network environment according to any one of claims 1 to 7.
CN201910498852.0A 2019-06-10 2019-06-10 Method, device and storage medium for detecting dialing mode supported by network environment Active CN110290230B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910498852.0A CN110290230B (en) 2019-06-10 2019-06-10 Method, device and storage medium for detecting dialing mode supported by network environment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910498852.0A CN110290230B (en) 2019-06-10 2019-06-10 Method, device and storage medium for detecting dialing mode supported by network environment

Publications (2)

Publication Number Publication Date
CN110290230A CN110290230A (en) 2019-09-27
CN110290230B true CN110290230B (en) 2021-11-12

Family

ID=68003746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910498852.0A Active CN110290230B (en) 2019-06-10 2019-06-10 Method, device and storage medium for detecting dialing mode supported by network environment

Country Status (1)

Country Link
CN (1) CN110290230B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112272244B (en) * 2020-10-22 2023-02-17 北京自如信息科技有限公司 Router WAN end IPv6 internet mode configuration method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599904A (en) * 2009-06-26 2009-12-09 中国电信股份有限公司 The method and system that a kind of virtual dial-up safe inserts
CN105897479A (en) * 2016-04-18 2016-08-24 上海斐讯数据通信技术有限公司 Method of detecting wide area network interface of gateway device and gateway device
CN106059832A (en) * 2016-08-31 2016-10-26 上海斐讯数据通信技术有限公司 Method and system for automatically judging Internet-surfing way of WAN (Wide Area Network) port
CN107370627A (en) * 2017-08-07 2017-11-21 上海斐讯数据通信技术有限公司 A kind of router presets the method for retrieving and device of account information
CN107592240A (en) * 2017-09-07 2018-01-16 上海斐讯数据通信技术有限公司 A kind of method and system of router automatic detection network access

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9331923B2 (en) * 2012-03-02 2016-05-03 Futurewei Technologies, Inc. DS-Lite with BFD support

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599904A (en) * 2009-06-26 2009-12-09 中国电信股份有限公司 The method and system that a kind of virtual dial-up safe inserts
CN105897479A (en) * 2016-04-18 2016-08-24 上海斐讯数据通信技术有限公司 Method of detecting wide area network interface of gateway device and gateway device
CN106059832A (en) * 2016-08-31 2016-10-26 上海斐讯数据通信技术有限公司 Method and system for automatically judging Internet-surfing way of WAN (Wide Area Network) port
CN107370627A (en) * 2017-08-07 2017-11-21 上海斐讯数据通信技术有限公司 A kind of router presets the method for retrieving and device of account information
CN107592240A (en) * 2017-09-07 2018-01-16 上海斐讯数据通信技术有限公司 A kind of method and system of router automatic detection network access

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于 ADSL 虚拟拨号的动态域名解析的研究与实现;张建臣;《德州学院学报》;20070831;54-56页 *

Also Published As

Publication number Publication date
CN110290230A (en) 2019-09-27

Similar Documents

Publication Publication Date Title
US8787200B2 (en) Device, system, and method for automatically configuring application terminals in home network
US9729501B2 (en) System and data card for stateless automatic configuration of IPv6 address and method for implementing the same
RU2463725C2 (en) Detecting mobile internet protocol local agent
US20180091581A1 (en) Method of switching download mode, control method thereof and control system thereof
EP2169877A1 (en) Processing method and device for qinq termination configuration
CN104821905A (en) Network relay device, and method for relaying data packet
CN111224854B (en) Working mode selection method, client front-end equipment and storage medium
US9615246B2 (en) Dynamic allocation of host IP addresses
EP2675117A1 (en) Routing method and device for host in multi-homing site
CN104821904A (en) Network relay device, and method for relaying data packet
CN113098722A (en) Multi-network card management method, device and computer readable storage medium
CN112449752A (en) IPv6 address configuration method and routing equipment
CN110290230B (en) Method, device and storage medium for detecting dialing mode supported by network environment
CN106302845B (en) Domain name system address configuration method and device of data channel product
DK1817892T3 (en) PROCEDURE AND SYSTEM TO OPEN A NETWORK LINK
CN107534585B (en) Communication method and terminal
WO2017161866A1 (en) Network connection method and device
CN108718280B (en) Message forwarding method and device
CN110933190A (en) Client address obtaining method and device, storage medium and computer equipment
CN114024903A (en) Network switching method and device and gateway equipment
EP3200433A1 (en) Ipv6 address management method, device and terminal
US11936617B2 (en) System and method of applying policy based, targeted prefix advertisements via internet protocol version 6 (IPv6) stateless address auto-configuration (SLAAC) router advertisement (RA) poisoning
US8170529B1 (en) Supporting multiple authentication technologies of devices connecting to a wireless network
CN117014404A (en) Internet surfing control method, router, electronic equipment and storage medium
CN115865800A (en) IPv6 address obtaining method and device and storage medium

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220610

Address after: 200000 5th floor, No. 1 and 5, Lane 168, Xumin Road, Qingpu District, Shanghai

Patentee after: Shanghai LianHong Technology Co.,Ltd.

Address before: 518000 the 1st and 3rd floors of the south section of building 24 and the 1st-4th floor of the north section of building 28, Shennan Road Science and Technology Park, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: TP-LINK TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right