Network access method and device, communication equipment and computer readable storage medium

Through DHCP packet interaction, the terminal can dynamically select to configure the IPv6 single-stack or dual-stack environment, which solves the problem of inflexible access environment in the evolution of the Internet to IPv6 single-stack, and improves the flexibility and efficiency of network access .

CN118984344AActive Publication Date: 2024-11-19CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410974920.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-11-19
Estimated Expiration
2044-07-19

AI Technical Summary

Technical Problem

In the process of the evolution of the Internet to IPv6 single stack, the terminal side and network side lack the ability to support the IPv6 single stack environment, resulting in users being unable to flexibly choose to access a single stack or dual stack environment, and network access is not flexible enough to be effectively adapted. Application environment.

Method used

By carrying preset fields to obtain IPv6 configuration parameters in the DHCP message interaction between the terminal and the server, dynamically selecting to configure the IPv6 single-stack or dual-stack environment to achieve flexible access to the network environment by the terminal.

Benefits of technology

It improves the flexibility and efficiency of network access, reduces operation and maintenance costs, and provides users with a better network connection experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure FT_1
    Figure FT_1
  • Figure FT_2
    Figure FT_2
  • Figure FT_3
    Figure FT_3
Patent Text Reader

Abstract

The invention relates to a network access method and device, communication equipment and a computer readable storage medium. The method comprises the steps that in response to a network connection request initiated by a user through a terminal, the terminal sends a DHCP message carrying a first field to a server and receives a feedback message generated by the server according to the DHCP message, and when the feedback message carries a field value matched with the first field, the DHCP message is sent to the server from a second field of the feedback message. Acquiring an IPv6 configuration parameter, and configuring an IPv6 single-stack environment through the IPv6 configuration parameter so as to access an IPv6 single-stack network environment; and in addition, under the condition that the field value matched with the first field is not carried in the feedback message, configuring a dual-stack environment so as to access a dual-stack network environment. By adopting the method, the network access flexibility and efficiency can be improved, the operation and maintenance cost is reduced, and better network connection experience is provided for users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data communication network technology, and in particular to a network access method, apparatus, communication equipment, computer-readable storage medium, and computer program product. Background Art

[0002] The evolution of the Internet to an IPv6 single stack has become an inevitable trend. Applications and network systems carried by IP networks are also undergoing IPv6 transformation. The current network has basically entered dual-stack operation. In the process of the Internet evolving to an IPv6 single stack, there are actual deployment issues brought about by the evolution from the current dual-stack environment to a single-stack environment.

[0003] After the current network has introduced the IPv6 single-stack architecture based on IPv4 / IPv6 conversion technology, the terminal side and the network side lack the ability to judge the support capabilities of the IPv6 single stack and lack the notification of the corresponding DNS service address based on the support status. As a result, users cannot choose a single-stack environment or a dual-stack environment based on the client's own IPv6 single-stack capability support. They can only passively access the network according to the pre-configured network, which is not flexible enough and cannot effectively adapt to the application environment. Summary of the invention

[0004] Based on this, it is necessary to provide a network access method, apparatus, communication equipment, computer-readable storage medium and computer program product that can flexibly select access methods to address the above technical problems.

[0005] In a first aspect, the present application provides a network access method, which is applied to a terminal supporting an IPv6 single stack environment, comprising:

[0006] In response to the network connection request, a DHCP message carrying a first preset field is sent to the server; the server is used to return a feedback message corresponding to the DHCP message to the terminal when receiving the DHCP message;

[0007] When the feedback message carries a field value matching the first preset field, obtain the IPv6 configuration parameters from the second field of the feedback message, and configure the IPv6 single stack environment through the IPv6 configuration parameters to access the IPv6 single stack network environment;

[0008] When the feedback message does not carry a field value matching the first preset field, a dual-stack environment is configured to access the dual-stack network environment.

[0009] In one of the embodiments, the DHCP message includes a DHCP discover message, and the feedback message includes a DHCP offer message;

[0010] In response to the network connection request, a DHCP message carrying a first field is sent to the server, including:

[0011] In response to a network connection request, when the terminal is not pre-bound with an IP address, a DHCP discover message carrying a first field is sent to the server; the server is configured to return a DHCP offer message corresponding to the DHCP discover message to the terminal upon receiving the DHCP discover message.

[0012] In one of the embodiments, the DHCP message includes a DHCP request message, and the feedback message includes a DHCP response message;

[0013] In response to the network connection request, a DHCP message carrying a first field is sent to the server, including:

[0014] In response to a network connection request, if the terminal has been pre-bound with an IP address, a DHCP request message carrying a first field is sent to the server; the server is configured to return a DHCP reply message corresponding to the DHCP request message to the terminal upon receiving the DHCP request message.

[0015] In one embodiment, a plurality of sets of candidate IPv6 configuration parameters are provided in the second field;

[0016] From the second field of the feedback message, obtain the IPv6 configuration parameters, including:

[0017] Obtaining a priority identifier of each candidate IPv6 configuration parameter from the second field of the feedback message;

[0018] According to the priority identifier, the IPv6 configuration parameter is obtained from each candidate IPv6 configuration parameter.

[0019] In one of the embodiments, the IPv6 configuration parameters include an IPv6 address parameter of a DNS64 server and a NAT64 prefix parameter;

[0020] Configure the IPv6 single stack environment through IPv6 configuration parameters, including:

[0021] Enable IPv6 communication protocol and disable IPv4 communication protocol;

[0022] The corresponding DNS64 server is configured according to the IPv6 address parameters of the DNS64 server; the DNS64 server is used to map the IPv4 data packet to the IPv6 data packet;

[0023] Configure the corresponding NAT64 device based on the NAT64 prefix parameters; the NAT64 device is used to implement conversion between IPv4 data packets and IPv6 data packets.

[0024] In a second aspect, the present application also provides a network access method, applied to a server, comprising:

[0025] Receiving a DHCP message carrying a first field; the DHCP message is generated by a terminal supporting an IPv6 single stack environment in response to a network connection request;

[0026] In the case where the server supports an IPv6 single stack environment, a first feedback message corresponding to the DHCP message is generated and returned to the terminal; the first feedback message carries a field value matching the first field, and a second field, which is used to instruct the terminal to obtain IPv6 configuration parameters from the second field of the first feedback message, and configure the IPv6 single stack environment through the IPv6 configuration parameters to access the IPv6 single stack network environment;

[0027] When the server does not support the IPv6 single stack environment, a second feedback message corresponding to the DHCP message is generated and returned to the terminal; the second feedback message does not carry a field value matching the first field, and is used to instruct the terminal to configure a dual stack environment to access the dual stack network environment.

[0028] In an exemplary embodiment, the DHCP message includes a DHCP discover message, and the first feedback message and the second feedback message include a DHCP offer message;

[0029] Receiving a DHCP message carrying a first field, including:

[0030] Receiving a DHCP discovery message carrying a first field; the DHCP discovery message is generated by a terminal that is not pre-bound with an IP address in response to a network connection request;

[0031] A corresponding DHCP offer message is generated based on the DHCP discover message and returned to the terminal.

[0032] In one of the embodiments, the DHCP message includes a DHCP request message, and the first feedback message and the second feedback message include a DHCP response message;

[0033] Receiving a DHCP message carrying the first field also includes:

[0034] Receiving a DHCP request message carrying a first field; the DHCP request message is generated by a terminal pre-bound with an IP address in response to a network connection request;

[0035] Generates a corresponding DHCP response message based on the DHCP request message and returns it to the terminal.

[0036] In a third aspect, the present application provides a network access device, which is applied to a terminal supporting an IPv6 single stack environment, including:

[0037] The message sending module is used to send a DHCP message carrying a first preset field to the server in response to the network connection request; the server is used to return a feedback message corresponding to the DHCP message to the terminal when receiving the DHCP message;

[0038] An IPv6 single stack environment configuration module, configured to obtain IPv6 configuration parameters from a second field of the feedback message when the feedback message carries a field value matching the first preset field, and configure the IPv6 single stack environment through the IPv6 configuration parameters to access the IPv6 single stack network environment;

[0039] The dual stack environment configuration module is used to configure the dual stack environment to access the dual stack network environment when the feedback message does not carry a field value matching the first preset field.

[0040] In a fourth aspect, the present application further provides a network access device, applied to a server, comprising:

[0041] A message receiving module, configured to receive a DHCP message carrying a first field; the DHCP message is generated by a terminal supporting an IPv6 single stack environment in response to a network connection request;

[0042] A first feedback message generation module, configured to generate a first feedback message corresponding to the DHCP message and return the message to the terminal when the server supports the IPv6 single stack environment; the first feedback message carries a field value matching the first field and a second field, configured to instruct the terminal to obtain IPv6 configuration parameters from the second field of the first feedback message, and configure the IPv6 single stack environment through the IPv6 configuration parameters to access the IPv6 single stack network environment;

[0043] The second feedback message generation module is used to generate a second feedback message corresponding to the DHCP message and return it to the terminal when the server does not support the IPv6 single stack environment; the second feedback message does not carry a field value matching the first field, and is used to instruct the terminal to configure a dual stack environment to access the dual stack network environment.

[0044] In a fifth aspect, the present application further provides a communication device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0045] In response to the network connection request, a DHCP message carrying a first preset field is sent to the server; the server is used to return a feedback message corresponding to the DHCP message to the terminal when receiving the DHCP message;

[0046] When the feedback message carries a field value matching the first preset field, obtain the IPv6 configuration parameters from the second field of the feedback message, and configure the IPv6 single stack environment through the IPv6 configuration parameters to access the IPv6 single stack network environment;

[0047] When the feedback message does not carry a field value matching the first preset field, a dual-stack environment is configured to access the dual-stack network environment.

[0048] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0049] In response to the network connection request, a DHCP message carrying a first preset field is sent to the server; the server is used to return a feedback message corresponding to the DHCP message to the terminal when receiving the DHCP message;

[0050] When the feedback message carries a field value matching the first preset field, obtain the IPv6 configuration parameters from the second field of the feedback message, and configure the IPv6 single stack environment through the IPv6 configuration parameters to access the IPv6 single stack network environment;

[0051] When the feedback message does not carry a field value matching the first preset field, a dual-stack environment is configured to access the dual-stack network environment.

[0052] In a seventh aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0053] In response to the network connection request, a DHCP message carrying a first preset field is sent to the server; the server is used to return a feedback message corresponding to the DHCP message to the terminal when receiving the DHCP message;

[0054] When the feedback message carries a field value matching the first preset field, obtain the IPv6 configuration parameters from the second field of the feedback message, and configure the IPv6 single stack environment through the IPv6 configuration parameters to access the IPv6 single stack network environment;

[0055] When the feedback message does not carry a field value matching the first preset field, a dual-stack environment is configured to access the dual-stack network environment.

[0056] The above-mentioned network access method, apparatus, communication equipment, computer-readable storage medium and computer program product, in response to a network connection request initiated by a user through a terminal, the terminal sends a DHCP message carrying a first field to a server, and receives a feedback message generated by the server according to the DHCP message, and obtains IPv6 configuration parameters from the second field of the feedback message when the feedback message carries a field value matching the first field, and configures an IPv6 single stack environment through the IPv6 configuration parameters to access an IPv6 single stack network environment; in addition, when the feedback message does not carry a field value matching the first field, a dual stack environment is configured to access a dual stack network environment. The terminal automatically configures an IPv6 single stack environment or a dual stack environment according to the content of the feedback message by dynamically selecting a configuration method, thereby improving the flexibility and efficiency of network access, while reducing operation and maintenance costs, and providing users with a better network connection experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0058] FIG1 is an application environment diagram of a network access method in one embodiment;

[0059] FIG2 is a schematic diagram of a flow chart of a network access method in an embodiment;

[0060] FIG3 is a schematic diagram of a flow chart of a network access method in another embodiment;

[0061] FIG4 is a schematic diagram of a process of returning a first feedback message in an embodiment;

[0062] FIG5 is a schematic diagram of a flow chart of a second feedback message returning step in another embodiment;

[0063] FIG6 is a schematic diagram of two-end interaction of a network access method in one embodiment;

[0064] FIG7 is a schematic diagram of the contents carried by the second field in one embodiment;

[0065] FIG8 is a schematic diagram of a workflow of a network access method in another embodiment;

[0066] FIG9 is a structural block diagram of a network access device in one embodiment;

[0067] FIG10 is a structural block diagram of a network access device in another embodiment;

[0068] FIG. 11 is a diagram showing the internal structure of a communication device in one embodiment. DETAILED DESCRIPTION

[0069] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0070] The network access method provided in the embodiment of the present application can be applied in the application environment shown in Figure 1. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. The user initiates a network connection request to the server 104 through the terminal 102, and the terminal 102 responds to the network connection request and sends a DHCP message carrying a first field to the server. After receiving the DHCP message, the server 104 returns a feedback message corresponding to the DHCP message to the terminal 102. In the case where the feedback message carries a field value matching the first field, the IPv6 configuration parameters are obtained from the second field of the feedback message, and the IPv6 single stack environment is configured through the IPv6 configuration parameters to access the IPv6 single stack network environment; in the case where the feedback message does not carry a field value matching the first field, the dual stack environment is configured to access the dual stack network environment. The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices may be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The server 104 may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides cloud computing services.

[0071] In an exemplary embodiment, as shown in FIG2 , a network access method is provided, which is described by taking the method applied to the terminal 102 in FIG1 as an example, and includes the following steps S201 to S203. Among them:

[0072] Step S201, in response to a network connection request, a DHCP message carrying a first field is sent to a server; the server is configured to return a feedback message corresponding to the DHCP message to the terminal when receiving the DHCP message.

[0073] Among them, the network connection request can be understood as when the user uses the terminal 102, after the application display page is displayed, the corresponding application is selected and the service request is initiated. The terminal 102 needs to connect to the network to obtain the corresponding network resources and thus meet the user's service needs. Normally, the terminal 102 is in a dormant state when it has not received the user's service request, that is, it needs to be reconnected to the network; the first field can be understood as option 108, the DHCP message can be understood as the message information sent by the terminal 102 to the server 104 that meets the DHCPv4 protocol; the feedback message can be understood as the corresponding DHCP message returned after the DHCP message sent by the terminal is received that meets the DHCPv4 protocol.

[0074] For example, when a user uses the terminal 102, a certain function of a certain application is triggered. At this time, the terminal needs to connect to the network to meet the user's needs. Then, in response to the terminal's own network connection request, a DHCP message carrying the first field is sent to the server 104. The server 104 is used to return a feedback message corresponding to the DHCP message to the terminal when the DHCP message is received. Through the above-mentioned interaction process between the terminal 102 and the server 104, the terminal 102 can obtain the feedback data of the server 104 in a timely manner, ensuring the timely processing of the user's demands and improving the user's service experience.

[0075] Step S202, when the feedback message carries a field value matching the first field, obtain IPv6 configuration parameters from the second field of the feedback message, and configure the IPv6 single stack environment through the IPv6 configuration parameters to access the IPv6 single stack network environment.

[0076] Step S203: If the feedback message does not carry a field value matching the first field, configure a dual-stack environment to access the dual-stack network environment.

[0077] Among them, the field value matched by the first field can be understood as the answer content of option 108 corresponding to server 104, and the second field is option 107, a field uniquely defined in this application, which contains a set of parameters necessary in the IPv6 single stack environment: the IPv6 address of the DNS64 server, namely Value-DNS64 server address, and the prefix information of NAT64, namely Value-PREF64. This Option can also carry multiple sets of parameters; the configuration parameters of IPv6 can be understood as the IPv6 address of the DNS64 server and the prefix information of NAT64 carried in option 107; the IPv6 single stack environment can be understood as a physical facility environment that supports an IPv6 single stack network, including necessary equipment and protocols used, etc., in which there is only one stack, which simultaneously stores data and executes operations; similarly, a dual stack environment can be understood as a physical facility environment that supports a dual stack network, in which there are two stacks, each used to store different types of data or perform different operations.

[0078] Specifically, when the terminal 102 determines that the feedback message carries a field value that matches the first field, the IPv6 configuration parameters are obtained from the second field of the feedback message for service processing, and the IPv6 single stack environment is configured using the IPv6 configuration parameters to access the IPv6 single stack network environment; and when the terminal 102 determines that the feedback message does not carry a field value that matches the first field, the dual stack environment is configured according to the parameters stored by the terminal 102 itself, so as to access the dual stack network environment for service processing. The terminal 102 makes an autonomous judgment and selection based on the content of the feedback message sent by the server 104. If the preset conditions are met, the IPv6 single stack environment is configured to access the IPv6 single stack network. If the preset conditions are not met, the dual stack environment is configured to access the dual stack network. At the same time, the means of autonomous judgment improves the flexibility of network access, which is conducive to enhancing the user's service experience and the communication stability of the entire system.

[0079] In the above network access method, in response to a network connection request initiated by a user through a terminal, the terminal sends a DHCP message carrying a first field to a server, and receives a feedback message generated by the server according to the DHCP message. When the feedback message carries a field value matching the first field, the terminal obtains IPv6 configuration parameters from the second field of the feedback message, and configures an IPv6 single stack environment through the IPv6 configuration parameters to access an IPv6 single stack network environment; in addition, when the feedback message does not carry a field value matching the first field, the terminal configures a dual stack environment to access a dual stack network environment. The terminal automatically configures an IPv6 single stack environment or a dual stack environment according to the content of the feedback message by dynamically selecting a configuration method, thereby improving the flexibility and efficiency of network access, while reducing operation and maintenance costs, and providing users with a better network connection experience.

[0080] In one of the embodiments, the DHCP message includes a DHCP discover message, and the feedback message includes a DHCP offer message;

[0081] In response to a network connection request, a DHCP message carrying a first field is sent to a server, including: in response to the network connection request, when the terminal is not pre-bound to an IP address, a DHCP discovery message carrying the first field is sent to the server; the server is used to return a DHCP offer message corresponding to the DHCP discovery message to the terminal when receiving the DHCP discovery message.

[0082] Among them, the DHCP discovery message is also called a DHCPDISCOVER message, which can be understood as a broadcast message sent by the terminal 102 for finding the server 104, and a message requesting IP address allocation after sending the corresponding server 104; correspondingly, the DHCP offer message is also called a DHCPOFFER message, which can be understood as a message carrying the corresponding IP address information after the server 104 responds to the request in the message after receiving the DHCP discovery message sent by the terminal 102.

[0083] In an exemplary embodiment, in response to a network connection request initiated by a user through a terminal 102, and when the terminal 102 is not pre-bound with an IP address, a DHCP discovery message carrying a first field is broadcast to a server 104. When receiving the DHCP discovery message, the server 104 returns a DHCP offer message corresponding to the DHCP discovery message to the terminal, and the terminal 102 binds the IP address according to the relevant information in the DHCP offer message. The first field is not sent by the terminal 102 alone using bandwidth, but is sent by embedding the first field in a conventional information exchange. Sending information in this way saves resource bandwidth and reduces the cost of network access.

[0084] In one embodiment, the DHCP message includes a DHCP request message, and the feedback message includes a DHCP response message;

[0085] In response to a network connection request, a DHCP message carrying a first field is sent to a server, including: in response to the network connection request, when the terminal has been pre-bound to an IP address, a DHCP request message carrying the first field is sent to the server; the server is used to return a DHCP response message corresponding to the DHCP request message to the terminal when receiving the DHCP request message.

[0086] Among them, the DHCP request message is also called a DHCPREQUEST message, which can be understood as a message sent by the terminal 102 to respond to the DHCP offer message of the server 104 after the terminal 102 has bound an IP address. The second message is sent by the terminal 102 to confirm the configuration information such as the previously assigned IP address after the terminal 102 restarts and initializes. The third message is sent by the terminal 102 to extend the IP address lease after the terminal 102 has bound an IP address. The DHCP reply message is also called a DHCPACK message, which can be understood as a reply message to the corresponding DHCP request message. The reply content can be a simple confirmation message or a notification message allowing the extension of the IP address lease.

[0087] For example, in response to a network connection request initiated by a user through terminal 102, when the terminal has been pre-bound with an IP address, a DHCP request message carrying the first field is sent to server 104. The message can be used to respond to the DHCP offer message sent by server 104, can also be used to determine configuration information such as the IP address, and can also be used to extend the lease of the IP address; after receiving the DHCP request message, server 104 needs to respond, that is, generate a DHCP reply message and return it to the terminal, completing a complete closed-loop process of information interaction. Similarly, the first field also follows conventional information for content interaction, saving bandwidth resources and reducing the access cost of network access.

[0088] In an exemplary embodiment, a plurality of sets of candidate IPv6 configuration parameters are provided in the second field;

[0089] Acquiring IPv6 configuration parameters from the second field of the feedback message includes: acquiring a priority identifier of each candidate IPv6 configuration parameter from the second field of the feedback message; and acquiring IPv6 configuration parameters from each candidate IPv6 configuration parameter according to the priority identifier.

[0090] Among them, the priority identifier can be understood as the decision condition for selecting IPv6 configuration parameters as the configuration benchmark. This application discloses but is not limited to the location of the IPv6 configuration parameters, where the priority of the IPv6 configuration parameters located at the front end is higher than the IPv6 configuration parameters in other places.

[0091] Specifically, the terminal 102 obtains the priority identifiers of the multiple groups of candidate IPv6 configuration parameters from the second field of the feedback message, and selects the IPv6 configuration parameters located at the front end from the candidate IPv6 configuration parameters according to the priority identifier to configure the IPv6 single stack environment. By selecting the IPv6 configuration parameters with high priority to configure the IPv6 single stack environment, the IPv6 configuration parameters with high priority have high parameter stability and better performance, and thus the configured IPv6 single stack environment is more stable, thereby ensuring the communication robustness of the entire communication system.

[0092] In one embodiment, the IPv6 configuration parameters include an IPv6 address parameter of a DNS64 server and a NAT64 prefix parameter;

[0093] Configure the IPv6 single stack environment through IPv6 configuration parameters, including: enable IPv6 communication protocol and disable IPv4 communication protocol; configure the corresponding DNS64 server according to the IPv6 address parameters of the DNS64 server; the DNS64 server is used to map IPv4 data packets to IPv6 data packets; configure the corresponding NAT64 device based on the NAT64 prefix parameters; the NAT64 device is used to realize the conversion between IPv4 data packets and IPv6 data packets.

[0094] Among them, the IPv4 communication protocol is Internet Protocol Version 4 (IPv4), which is the most widely used network layer protocol on the Internet. The IPv4 address consists of 32 bits, which leads to a limited IPv4 address space and tight allocation of IPv4 addresses.

[0095] The IPv6 communication protocol is Internet Protocol version 6 (IPv6), which is a protocol used to identify and locate devices on the Internet. IPv6 addresses consist of 128 bits. Compared with the 32-bit address of IPv4, IPv6 has more address space and can provide globally unique addresses for more devices.

[0096] IPv6 was proposed to address the exhaustion of IPv4 address space and introduce other enhancements and improvements.

[0097] A DNS64 server can be understood as a special DNS server used to process DNS queries in an IPv6 single-stack network. When a device supporting an IPv6 single-stack environment needs to access IPv4 resources, the DNS64 server will translate and resolve the DNS query so that the device supporting an IPv6 single-stack environment can access IPv4 resources. A NAT64 (Network Address Translation 64) device can be understood as a network device used to implement communication with the IPv4 Internet in an IPv6 single-stack network. A NAT64 device acts as an intermediary between an IPv6 network and an IPv4 network, and implements communication between a device supporting an IPv6 single-stack environment and IPv4 resources by converting IPv6 packets and IPv4 packets.

[0098] In an exemplary embodiment, the IPv6 communication protocol in the line is first turned on and the IPv4 communication protocol is turned off, and the corresponding DNS64 server is configured according to the IPv6 address parameters of the DNS64 server carried in the IPv6 configuration parameters. The server is configured to realize the mapping of IPv4 data packets to IPv6 data packets, and then the NAT64 prefix parameters are configured in the corresponding NAT64 device, thereby realizing the conversion between IPv6 data packets and IPv4 data packets, thereby realizing the communication between the terminal 102 and the IPv4 resources. By configuring the corresponding IPv6 single stack environment in the above manner, the utilization of the corresponding IPv4 resources in the IPv6 single stack environment is realized, resource waste is avoided, and the cost of business processing is reduced.

[0099] In an exemplary embodiment, as shown in FIG3 , a network access method is provided, which is described by taking the method applied to the server 104 in FIG1 as an example, and includes the following steps S301 to S303 . Among them:

[0100] Step S301, receiving a DHCP message carrying a first field; the DHCP message is generated by a terminal supporting an IPv6 single stack environment in response to a network connection request.

[0101] Step S302, when the server supports the IPv6 single stack environment, generates a first feedback message corresponding to the DHCP message and returns it to the terminal; the first feedback message carries a field value that matches the first field, and a second field, which is used to instruct the terminal to obtain IPv6 configuration parameters from the second field of the first feedback message, and configure the IPv6 single stack environment through the IPv6 configuration parameters to access the IPv6 single stack network environment.

[0102] Exemplarily, after a user initiates a network connection request through a terminal 102 that supports a single stack environment, the terminal 102 generates a DHCP message carrying a first field and sends it to a server 104. The server 104 receives the message and obtains its own configuration information from the data storage system to determine whether it supports the IPv6 single stack environment. When the server 104 determines that it supports the IPv6 single stack environment, it generates a first feedback message carrying a field value matching the first field and a second field, and returns it to the terminal 102. The first feedback message instructs the terminal 102 to obtain IPv6 configuration parameters from the second field, and configure the IPv6 single stack environment through the IPv6 configuration parameters, so as to access the IPv6 single stack network environment. The server 104 determines whether to return the relevant configuration parameters by judging whether it supports the IPv6 single stack environment, thereby ensuring the uniformity of the communication protocol of the entire system, thereby achieving the data integrity and validity of the entire communication system during the communication process, and improving the efficiency of data transmission.

[0103] Step S303: if the server does not support the IPv6 single stack environment, generate a second feedback message corresponding to the DHCP message and return it to the terminal; the second feedback message does not carry a field value matching the first field, and is used to instruct the terminal to configure a dual stack environment to access the dual stack network environment.

[0104] In an exemplary embodiment, when the server 104 determines that it does not support the IPv6 single stack environment, it generates a second feedback message that does not carry a field value that matches the first field, and returns it to the terminal 102. The second feedback message instructs the terminal 102 to configure a dual stack environment so as to access the dual stack network environment. In other words, regardless of whether the server 104 supports the IPv6 single stack environment, it will return a corresponding feedback message to ensure the closed loop of the message interaction process, achieve the integrity of the information interaction, lay a data foundation for the terminal 102 to build the environment, and speed up the network access.

[0105] In one embodiment, the DHCP message includes a DHCP discovery message, and the first feedback message and the second feedback message include a DHCP offer message; as shown in FIG4 , receiving the DHCP message carrying the first field includes step S401 and step S402. In which:

[0106] Step S401, receiving a DHCP discover message carrying a first field; the DHCP discover message is generated by a terminal that is not pre-bound with an IP address in response to a network connection request.

[0107] Step 402: Generate a corresponding DHCP offer message based on the DHCP discover message and return it to the terminal.

[0108] In an exemplary embodiment, the server 104 receives a DHCP discovery message carrying a first field, which is generated by a terminal 102 that is not pre-bound with an IP address in response to a network connection request initiated by a user through the terminal 102. The server 104 then generates a DHCP offer message carrying IP address registration configuration information based on the DHCP discovery message and returns it to the terminal. Through the above information interaction process, the server 104 sends the allocated IP address to the terminal, laying a data foundation for the terminal to bind the IP address.

[0109] In one embodiment, the DHCP message includes a DHCP request message, and the first feedback message and the second feedback message include a DHCP response message; as shown in FIG5 , receiving the DHCP message carrying the first field includes step S501 and step S502. In which:

[0110] Step S501, receiving a DHCP request message carrying a first field; the DHCP request message is generated by a terminal pre-bound with an IP address in response to a network connection request.

[0111] Step S502: Generate a corresponding DHCP response message according to the DHCP request message and return it to the terminal.

[0112] Specifically, the server 104 receives a DHCP request message carrying a first field, which is generated by a terminal 102 that is not pre-bound with an IP address, in response to a network connection request initiated by a user through the terminal, and is a response to a DHCP offer message sent by the server 104, or is used to determine configuration information such as an IP address, or is used to extend the lease of an IP address; then the server 104 generates a corresponding confirmation message or a notification message allowing the lease to be extended according to the DHCP request message, and returns it to the terminal. Through the above information interaction process of returning the confirmed IP address, the credibility of the IP address currently bound to the terminal is guaranteed, and the IP address lease is extended in a timely manner, thereby avoiding the situation of sudden disconnection during subsequent use, and ensuring the robustness of system communication.

[0113] In an exemplary embodiment, as shown in Figure 6, a two-end interaction diagram of a network access method is provided, which includes a DHCPv4 client, a DHCPv4 server, a DNS system, and a NAT system. Option 108 is the first field, IPv6-only supports an IPv6 single stack environment, and option 107 is the second field.

[0114] The DHCPv4 client and the DHCPv4 server communicate with each other through Option 108 to inform the terminal and the network of their support capabilities for the IPv6 single-stack network environment.

[0115] The DHCPv4 client and DHCPv4 server exchange the DNS64 server IPv6 address information and the NAT device prefix information through Option 107.

[0116] DHCPv4 chooses whether to join the IPv6 single-stack network environment based on the preceding information. If it chooses to join the IPv6 single-stack network environment, it configures the single-stack environment based on the single-stack network parameters in option 107.

[0117] In one embodiment, as shown in FIG7 , a new Option 107 is defined in the existing DHCPv4 architecture (the code number is based on the number assigned by IANA, and the code number resource 107 is to be applied for). This Option defines a set of parameters necessary in an IPv6-only network: the address of the DNS64 server, namely Value-DNS64 server address, and the prefix information of NAT64, namely Value-PREF64. This Option can also carry multiple sets of parameters.

[0118] The Code field is the type number of the Option. The length of this field is 1 byte, and the corresponding value inside is 107.

[0119] The Length field is the length of the parameters following the Option. The unit value 1 represents the length of the following set of parameters, which is 33 bytes, indicating that a set of parameters is carried. The length of this field itself is 1 byte.

[0120] The Value-DNS64 server address field is the address of the DNS64 server, which is usually an IPv6 address type. The fixed length of this field is 16 bytes. The corresponding DNS64 server is set according to this information to map the IPv4 data packet to the IPv6 data packet.

[0121] The Value-PREF64-Length field is the length of Prefix64 in the Value-PREF64 field. The fixed length of this field is 1 byte, and the remaining bits are padded with zeros.

[0122] The Value-PREF64 field is the Prefix64 (prefix information) of the NAT64 device deployed on the network side, which is used to translate the user's IPv4 data packet. The fixed length of this field is 16 bytes, and the remaining bits are filled with zeros. According to the Prefix64, it is set to the corresponding NAT64 device to realize the conversion between IPv4 data packets and IPv6 data packets.

[0123] In an exemplary embodiment, as shown in FIG8 , a detailed workflow diagram of a network access method is provided, wherein:

[0124] 1) The client device supports IPv6-only and sends an Option 108 request to the network side, either in a DHCPDISCOVER message or in a DHCPREQUEST message.

[0125] 2) The server on the network side determines whether it supports IPv6-only. If it does, the server replies with Option 108 in the DHCPOFFER (DHCP offer message) or DHCPACK (DHCP response message) message, and carries Option 107 to notify the relevant parameters of the IPv6-only environment. If it does not support, the server on the network side ignores the Option in the message and does not reply with the requested parameters.

[0126] 3) The client device determines whether the network supports IPv6-only based on the information replied in 2). If it does, the client selects appropriate parameters from Option 107 to configure the IPv6-only environment. Usually, the parameter group of the front end has a higher priority. If it does not, the client device configures the dual-stack environment.

[0127] Compared with the prior art, this application has the following advantages:

[0128] 1) A method based on the DHCPv4 protocol is proposed, in which a new Option is defined and the parameters are defined at the field level. The parameters of the IPv6 single-stack network are provided in an integrated manner, thereby improving the efficiency of network access and ensuring the user's service experience.

[0129] 2) In this method, the terminal plays a dominant role and can independently choose whether to join the single-stack environment based on the IPv6 single-stack support on the network side, thereby improving the flexibility of network access.

[0130] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0131] Based on the same inventive concept, the embodiment of the present application also provides a network access device for implementing the network access method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more network access device embodiments provided below can refer to the limitations on the network access method above, and will not be repeated here.

[0132] In an exemplary embodiment, as shown in FIG9 , a network access device is provided, which is applied to a terminal supporting an IPv6 single stack environment, and includes: a message sending module 901, an IPv6 single stack environment configuration module 902, and a dual stack environment configuration module 903, wherein:

[0133] The message sending module 901 is used to send a DHCP message carrying a first preset field to the server in response to a network connection request; the server is used to return a feedback message corresponding to the DHCP message to the terminal when receiving the DHCP message;

[0134] The IPv6 single stack environment configuration module 902 is used to obtain the IPv6 configuration parameters from the second field of the feedback message when the feedback message carries a field value matching the first preset field, and configure the IPv6 single stack environment through the IPv6 configuration parameters to access the IPv6 single stack network environment;

[0135] The dual stack environment configuration module 903 is configured to configure the dual stack environment to access the dual stack network environment when the feedback message does not carry a field value matching the first preset field.

[0136] In one embodiment, the DHCP message includes a DHCP discovery message, the feedback message includes a DHCP offer message, and the message sending module 901 is also used to respond to the network connection request and, when the terminal is not pre-bound to an IP address, send a DHCP discovery message carrying a first field to the server; the server is used to return a DHCP offer message corresponding to the DHCP discovery message to the terminal when receiving the DHCP discovery message.

[0137] In one of the embodiments, the DHCP message includes a DHCP request message, the feedback message includes a DHCP reply message, and the message sending module 901 is further used to respond to the network connection request and, if the terminal has been pre-bound to an IP address, send a DHCP request message carrying a first field to the server; the server is used to return a DHCP reply message corresponding to the DHCP request message to the terminal when receiving the DHCP request message.

[0138] In an exemplary embodiment, multiple groups of candidate IPv6 configuration parameters are set in the second field, and the IPv6 single stack environment configuration module 902 is also used to obtain the priority identifier of each candidate IPv6 configuration parameter from the second field of the feedback message; and obtain the IPv6 configuration parameters from each candidate IPv6 configuration parameter according to the priority identifier.

[0139] In one embodiment, the IPv6 configuration parameters include the IPv6 address parameters and NAT64 prefix parameters of the DNS64 server, and the IPv6 single stack environment configuration module 902 is further used to enable the IPv6 communication protocol and disable the IPv4 communication protocol; configure the corresponding DNS64 server according to the IPv6 address parameters of the DNS64 server; the DNS64 server is used to map IPv4 data packets to IPv6 data packets; configure the corresponding NAT64 device based on the NAT64 prefix parameters; the NAT64 device is used to realize the conversion between IPv4 data packets and IPv6 data packets.

[0140] In an exemplary embodiment, as shown in FIG10 , a network access device is provided, which is applied to a server and includes: a message receiving module 1001, a first feedback message generating module 1002 and a second feedback message generating module 1003, wherein:

[0141] The message receiving module 1001 is used to receive a DHCP message carrying a first field; the DHCP message is generated by a terminal supporting an IPv6 single stack environment in response to a network connection request.

[0142] The first feedback message generation module 1002 is used to generate a first feedback message corresponding to the DHCP message and return it to the terminal when the server supports the IPv6 single stack environment; the first feedback message carries a field value matching the first field and a second field, which is used to instruct the terminal to obtain IPv6 configuration parameters from the second field of the first feedback message, and configure the IPv6 single stack environment through the IPv6 configuration parameters to access the IPv6 single stack network environment.

[0143] The second feedback message generation module 1003 is used to generate a second feedback message corresponding to the DHCP message and return it to the terminal when the server does not support the IPv6 single stack environment; the second feedback message does not carry a field value matching the first field, and is used to instruct the terminal to configure a dual stack environment to access the dual stack network environment.

[0144] In one embodiment, the DHCP message includes a DHCP discover message, the first feedback message and the second feedback message include a DHCP offer message, and the message receiving module 1001 is further used to receive a DHCP discover message carrying a first field; the DHCP discover message is generated by a terminal that is not pre-bound with an IP address in response to a network connection request; a corresponding DHCP offer message is generated based on the DHCP discover message and returned to the terminal.

[0145] In one of the embodiments, the DHCP message includes a DHCP request message, the first feedback message and the second feedback message include a DHCP reply message, and the message receiving module 1001 is further used to receive a DHCP request message carrying a first field; the DHCP request message is generated by a terminal pre-bound with an IP address in response to a network connection request; a corresponding DHCP reply message is generated according to the DHCP request message and returned to the terminal.

[0146] Each module in the above network access device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a communication device in the form of hardware, or can be stored in a memory in a communication device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0147] In an exemplary embodiment, a communication device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG11. The communication device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the communication device is used to exchange information between the processor and an external device. The communication interface of the communication device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, an XXX method is implemented. The display unit of the communication device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the communication device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the communication device housing, or an external keyboard, touchpad or mouse.

[0148] Those skilled in the art will understand that the structure shown in FIG. 11 is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the communication device to which the scheme of the present application is applied. The specific communication device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0149] In an exemplary embodiment, a communication device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the network access method of the above embodiment is implemented.

[0150] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the network access method of the above embodiment is implemented.

[0151] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the network access method of the above embodiment is implemented.

[0152] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0153] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0154] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0155] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A network access method, characterized in that: Applied to a terminal supporting an IPv6 single stack environment, the method comprises: In response to the network connection request, a DHCP message carrying the first field is sent to the server; the server is configured to return a feedback message corresponding to the DHCP message to the terminal when receiving the DHCP message; In a case where the feedback message carries a field value matching the first field, acquiring an IPv6 configuration parameter from a second field of the feedback message, and configuring an IPv6 single stack environment by using the IPv6 configuration parameter to access the IPv6 single stack network environment; In a case where the feedback message does not carry a field value matching the first field, a dual-stack environment is configured to access a dual-stack network environment.

2. The method according to claim 1, characterized in that The DHCP message includes a DHCP discovery message, and the feedback message includes a DHCP offer message; The step of sending a DHCP message carrying the first field to the server in response to the network connection request includes: In response to the network connection request, when the terminal is not pre-bound with an IP address, sending a DHCP discovery message carrying a first field to the server; The server is configured to return a DHCP offer message corresponding to the DHCP discover message to the terminal when receiving the DHCP discover message.

3. The method according to claim 1, characterized in that: The DHCP message includes a DHCP request message, and the feedback message includes a DHCP response message; The step of sending a DHCP message carrying the first field to the server in response to the network connection request includes: In response to the network connection request, if the terminal has been pre-bound to an IP address, sending a DHCP request message carrying a first field to the server; The server is configured to return a DHCP response message corresponding to the DHCP request message to the terminal when receiving the DHCP request message.

4. The method according to any one of claims 1 to 3, characterized in that: The second field is provided with a plurality of groups of candidate IPv6 configuration parameters; The acquiring the IPv6 configuration parameter from the second field of the feedback message includes: Obtaining a priority identifier of each candidate IPv6 configuration parameter from the second field of the feedback message; According to the priority identifier, the IPv6 configuration parameter is obtained from each of the candidate IPv6 configuration parameters.

5. The method according to claim 4, characterized in that The IPv6 configuration parameters include the IPv6 address parameters of the DNS64 server and the NAT64 prefix parameters; The configuring the IPv6 single stack environment by using the IPv6 configuration parameters includes: Enable IPv6 communication protocol and disable IPv4 communication protocol; The corresponding DNS64 server is configured according to the IPv6 address parameters of the DNS64 server; the DNS64 server is used to map the IPv4 data packet to the IPv6 data packet; The corresponding NAT64 device is configured based on the NAT64 prefix parameter; the NAT64 device is used to realize the conversion between IPv4 data packets and IPv6 data packets.

6. A network access method, characterized in that: Applied to a server, the method comprises: Receiving a DHCP message carrying a first field; the DHCP message is generated by a terminal supporting an IPv6 single stack environment in response to a network connection request; In the case where the server supports an IPv6 single stack environment, a first feedback message corresponding to the DHCP message is generated and returned to the terminal; the first feedback message carries a field value matching the first field, and a second field, which is used to instruct the terminal to obtain IPv6 configuration parameters from the second field of the first feedback message, and configure the IPv6 single stack environment through the IPv6 configuration parameters to access the IPv6 single stack network environment; In the case that the server does not support the IPv6 single stack environment, a second feedback message corresponding to the DHCP message is generated and returned to the terminal; the second feedback message does not carry a field value matching the first field, and is used to instruct the terminal to configure a dual stack environment to access a dual stack network environment.

7. The method according to claim 6, characterized in that The DHCP message includes a DHCP discovery message, and the first feedback message and the second feedback message include a DHCP offer message; and the receiving of the DHCP message carrying the first field includes: Receiving a DHCP discovery message carrying a first field; the DHCP discovery message is generated by the terminal that is not pre-bound with an IP address in response to the network connection request; A corresponding DHCP offer message is generated based on the DHCP discover message and returned to the terminal.

8. The method according to claim 6, characterized in that The DHCP message includes a DHCP request message, and the first feedback message and the second feedback message include a DHCP reply message; and the receiving of the DHCP message carrying the first field further includes: receiving a DHCP request message carrying a first field; the DHCP request message is generated by the terminal pre-bound with an IP address in response to the network connection request; A corresponding DHCP response message is generated according to the DHCP request message, and returned to the terminal.

9. A network access device, characterized in that: Applicable to a terminal supporting an IPv6 single stack environment, the device comprises: A message sending module, configured to send a DHCP message carrying a first preset field to a server in response to a network connection request; the server is configured to return a feedback message corresponding to the DHCP message to the terminal when receiving the DHCP message; An IPv6 single stack environment configuration module, configured to obtain IPv6 configuration parameters from a second field of the feedback message when the feedback message carries a field value matching the first preset field, and configure the IPv6 single stack environment through the IPv6 configuration parameters to access the IPv6 single stack network environment; The dual-stack environment configuration module is used to configure the dual-stack environment to access the dual-stack network environment when the feedback message does not carry a field value matching the first preset field.

10. A network access device, characterized in that: Applied to a server, the device comprises: A message receiving module, configured to receive a DHCP message carrying a first field; the DHCP message is generated by a terminal supporting an IPv6 single stack environment in response to a network connection request; A first feedback message generating module, configured to generate a first feedback message corresponding to the DHCP message and return the message to the terminal when the server supports an IPv6 single stack environment; the first feedback message carries a field value matching the first field and a second field, configured to instruct the terminal to obtain IPv6 configuration parameters from the second field of the first feedback message, and configure the IPv6 single stack environment through the IPv6 configuration parameters to access the IPv6 single stack network environment; The second feedback message generation module is used to generate a second feedback message corresponding to the DHCP message and return it to the terminal when the server does not support the IPv6 single stack environment; the second feedback message does not carry a field value matching the first field, and is used to instruct the terminal to configure a dual stack environment to access the dual stack network environment.

11. A communication device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

13. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Method and gateway for controlling accessing of host of IPoE (IP over Ethernet) dual-stack user

    CN102904863A

  • Dual-stack support for demarc auto configuration (DAC) mechanism in docsis provisioning of EPON (DPOE) network

    US20130238770A1

  • Apparatus and method for establishing and maintaining a DS-lite tunnel

    US20220116350A1