WO2022143161A1 - 一种IPv6地址的配置方法及路由设备 - Google Patents

一种IPv6地址的配置方法及路由设备 Download PDF

Info

Publication number
WO2022143161A1
WO2022143161A1 PCT/CN2021/138051 CN2021138051W WO2022143161A1 WO 2022143161 A1 WO2022143161 A1 WO 2022143161A1 CN 2021138051 W CN2021138051 W CN 2021138051W WO 2022143161 A1 WO2022143161 A1 WO 2022143161A1
Authority
WO
WIPO (PCT)
Prior art keywords
ipv6
network
prefix
service request
data service
Prior art date
Application number
PCT/CN2021/138051
Other languages
English (en)
French (fr)
Inventor
惠少博
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to US18/270,333 priority Critical patent/US20240106795A1/en
Priority to EP21913902.9A priority patent/EP4254899A4/en
Publication of WO2022143161A1 publication Critical patent/WO2022143161A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/741Routing in networks with a plurality of addressing schemes, e.g. with both IPv4 and IPv6
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/80Ingress point selection by the source endpoint, e.g. selection of ISP or POP
    • H04L45/85Selection among different networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5092Address allocation by self-assignment, e.g. picking addresses at random and testing if they are already in use
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/604Address structures or formats
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/668Internet protocol [IP] address subnets

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a configuration method and a routing device for an Internet protocol version 6 (Internet protocol version 6, IPv6) address.
  • Internet protocol version 6 Internet protocol version 6, IPv6
  • routing devices such as customer-premises equipment (CPE) are required to support dual-network dual-communication capabilities.
  • CPE customer-premises equipment
  • routing devices can support fixed network (fixed network for short) and mobile network. Dual uplink connections, and then the routing device provides uplink dual link options for the terminal devices attached to it, thereby improving service bandwidth and connection reliability.
  • IPv4 Internet protocol version 4, IPv4 addresses are usually used to implement service data transmission in the scenario where the above-mentioned routing device supports dual uplink connections. Since IPv4 addresses are insufficient, it is proposed that IPv6 addresses can be used to replace IPv4 addresses.
  • the IPv6 address includes 128 bits, generally the first 64 bits are a prefix, and the last 64 bits are a local address.
  • the connected network side allocates an IPv6 prefix to the routing device, and the local address is determined according to the local media access control (MAC) address.
  • the IPv6 prefix and the local address form an IPv6 address, which is the IPv6 address assigned by the network side to the routing device.
  • the routing device supports dual-network dual-communication scenarios, different networks are assigned different IPv6 prefixes; and when the routing device communicates with different networks through an IPv6 address, the terminal device may not be able to communicate with the network. As a result, services fail, making it inflexible to use IPv6 addresses to implement services in dual-connection scenarios of routing devices.
  • the present application provides an IPv6 address configuration method and a routing device, which are used to manage the IPv6 addresses of terminal devices attached to the routing device, so that the terminal device can communicate with multiple networks supported by the routing device.
  • the present application provides a method for configuring an IPv6 address
  • the method may include: a routing device obtains multiple IPv6 prefixes from multiple networks, and determines a first IPv6 prefix among the multiple IPv6 prefixes according to a first routing policy prefix, and assign the first IPv6 prefix to the terminal device connected to the routing device; the routing device receives a first data service request from the terminal device, and the first data service request includes the terminal the first IPv6 address of the device, the first IPv6 address is determined by the terminal device based on the first IPv6 prefix and the local address of the terminal device; the routing device determines the first IPv6 address according to the second routing policy
  • the data service request corresponds to the second network, then the second IPv6 address is determined according to the first IPv6 address and the second IPv6 prefix corresponding to the second network, and the second data service request is sent to the second network, and the The second data service request includes the second IPv6 address; wherein the multiple IPv6 pre
  • the terminal device can be made to generate a unique IPv6 address, and when the IPv6 prefix of the network corresponding to the service requested by the IPv6 prefix of the terminal device is inconsistent, the address of the terminal device and the IPv6 prefix of the network can be generated by the routing device.
  • the new address is used to realize the communication between the terminal device and the network, so that the terminal device can communicate with multiple networks supported by the routing device, that is, the terminal device can access networks with different IPv6 prefixes .
  • the first routing policy may be to determine the IPv6 prefix corresponding to the network with the highest load capacity among the multiple networks as the first IPv6 prefix.
  • the routing device determines the IPv6 prefix corresponding to the network with the highest load capacity among the multiple IPv6 prefixes as the finally determined IPv6 prefix, which can reduce the address translation of the terminal device by the routing device, thereby improving the forwarding performance.
  • the second routing strategy is to determine the network corresponding to the data service request according to the corresponding relationship between the predetermined service and the network connection or the corresponding relationship between the terminal device and the network connection. In this way, the network to be accessed by the terminal device can be successfully determined, so that the data service request of the terminal device can be accurately sent to the corresponding network.
  • the routing device uses the first IPv6 prefix as the IPv6 prefix of the routing device, and determines the IPv6 prefix of the routing device according to the first IPv6 prefix and the local address of the routing device address. In this way, in the multi-connection scenario, the routing device can have a unique IPv6 address, which can ensure a single communication address.
  • the routing device determines the second IPv6 address according to the first IPv6 address and the second IPv6 prefix corresponding to the second network, and the specific method may be: The first IPv6 prefix in an IPv6 address is replaced with the second IPv6 prefix to obtain the second IPv6 address. In this way, the routing device can accurately obtain the second IPv6 address corresponding to the second network, so that the data service request of the terminal device can be successfully sent to the visited network.
  • the routing device may also receive a first neighbor request broadcast message from the terminal device, the first The neighbor solicitation broadcast message includes the first IPv6 address; the routing device replaces the first IPv6 prefix in the first IPv6 address with the second IPv6 prefix, and obtains the first IPv6 prefix including the second IPv6 address.
  • a second neighbor solicitation broadcast message the routing device sends the second neighbor solicitation broadcast message to the second network, where the second neighbor solicitation broadcast message is used to request the second network to perform a broadcast on the second IPv6 address.
  • Conflict detection In this way, the conflict of the IPv6 address of the terminal device in the second network can be avoided.
  • the routing device before the routing device receives the first data service request from the terminal device, the routing device further sends the first neighbor to the first network according to the first IPv6 address A request broadcast message, where the first neighbor request broadcast message is used to request the first network to perform conflict detection on the first IPv6 address. In this way, the conflict of the IPv6 address of the terminal device in the first network can be avoided.
  • the routing device receives a third data service request from the terminal device, where the third data service request includes the first IPv6 address; the routing device determines according to the second routing policy The third data service request corresponds to the first network, and the third data service request is forwarded to the first network according to the first IPv6 address. In this way, the routing device can accurately send the data service request of the terminal device corresponding to the first network to the first network.
  • the routing device receives a fourth data service request from the second network, where the fourth data service request includes the second IPv6 address; the routing device sends the second IPv6 address The second IPv6 prefix of the address is replaced with the first IPv6 prefix to generate the first IPv6 address, and a fifth data service request is sent to the terminal device, where the fifth data service request includes the first IPv6 address. IPv6 address.
  • the communication between the network and the terminal device with the IPv6 prefix different from that of the terminal device can be realized, that is, the access to the terminal device from the network different from the IPv6 prefix of the terminal device can be realized.
  • the routing device receives a sixth data service request from the first network, where the sixth data service request includes the first IPv6 address; The address forwards the sixth data service request to the terminal device. In this way, network access to terminal equipment can be achieved.
  • the present application provides a routing device, the routing device having the function of implementing the routing device in the first aspect or each possible design example of the first aspect.
  • the functions can be implemented by hardware, or can be implemented by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the structure of the routing device may include a transceiver module and a processing module, and these modules may perform the corresponding functions of the routing device in the first aspect or each possible design example of the first aspect.
  • the transceiver module may include, but is not limited to, a modem
  • the processing module may include, but is not limited to, a prefix policy module and a routing module.
  • the structure of the routing device may include a communication interface and a processor, and optionally a memory, and the communication interface may be used to send and receive messages or data, and to communicate with the communication system.
  • Other devices perform communication interaction
  • the processor is configured to support the routing device to perform the corresponding functions of the routing device in the first aspect or each possible design example of the first aspect.
  • the memory is coupled to the processor and holds program instructions and data necessary for the routing device.
  • the present application provides a communication system, which may include the above-mentioned terminal device, routing device and multiple networks.
  • the present application provides a computer-readable storage medium, where program instructions are stored in the computer-readable storage medium, and when the program instructions are run on a computer, the computer can execute the first aspect and any possible design thereof.
  • a computer-readable storage medium can be any available medium that can be accessed by a computer.
  • computer readable media may include non-transitory computer readable media, random-access memory (RAM), read-only memory (ROM), electrically erasable Except programmable read only memory (electrically EPROM, EEPROM), CD-ROM or other optical disk storage, magnetic disk storage medium or other magnetic storage device, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of Any other media accessed by a computer.
  • RAM random-access memory
  • ROM read-only memory
  • EEPROM electrically erasable Except programmable read only memory
  • CD-ROM or other optical disk storage magnetic disk storage medium or other magnetic storage device, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of Any other media accessed by a computer.
  • the embodiments of the present application provide a computer program product including computer program codes or instructions, which, when run on a computer, enable the computer to implement the above-mentioned first aspect and any possible design method thereof.
  • the present application also provides a chip, which is coupled to a memory and used to read and execute program instructions stored in the memory, so as to implement the above-mentioned first aspect and any possible design method thereof .
  • FIG. 1 is a schematic diagram of an allocation process of a routing device IPv6 address provided by the present application
  • FIG. 2 is a schematic diagram of a networking situation provided by the present application.
  • FIG. 3 is a schematic diagram of a scenario provided by the present application.
  • FIG. 6 is a schematic diagram of another scenario provided by the application.
  • FIG. 7 is a schematic diagram of service data packet forwarding provided by the present application.
  • FIG. 8 is a flowchart of an example of a method for configuring an IPv6 address provided by the present application
  • FIG. 9 is a flowchart of an example of another IPv6 address configuration method provided by the present application.
  • FIG. 10 is a schematic structural diagram of a routing device provided by the application.
  • FIG. 11 is a structural diagram of a routing device provided by this application.
  • Embodiments of the present application provide an IPv6 address configuration method and a routing device, which are used to manage the IPv6 addresses of terminal devices attached to the routing device, so as to realize that the terminal device and multiple networks supported by the routing device can communicate with each other. communication.
  • the method and device (ie, routing device) described in this application are based on the same technical concept. Since the method and device solve problems in similar principles, the implementation of the device and the method can be referred to each other, and repeated descriptions will not be repeated.
  • the routing equipment involved in the embodiment of the present application can allocate IPv6 prefix or IPv6 address for terminal equipment, and route service data between terminal equipment and network.
  • the routing device may be, but is not limited to, a CPE, a router, a wireless switch, a wireless fidelity (WIFI) wireless router, an optical network terminal, a WIFI wireless repeater, a portable terminal hotspot, and the like.
  • WIFI wireless fidelity
  • the terminal equipment involved in the embodiments of this application may be, but not limited to, a station (station, STA), a mobile phone, a notebook computer, a tablet computer, a vehicle-mounted computer, a personal digital assistant (PDA), a smart watch, a personal Computer (personal computer, PC), laptop computer (Laptop), etc.
  • station station
  • PDA personal digital assistant
  • laptop computer laptop computer
  • the allocation process of the IPv6 address of the routing device may be shown in FIG. 1 , where the routing device is the CPE and the terminal device is the STA in FIG. 1 .
  • the network side assigns an IPV6 prefix to the CPE, and the CPE calculates the IPv6 local address according to the local media access control (MAC) address, and then forms a unique IPv6 address, the IPv6 address That is, the IPv6 address allocated to the CPE by the network side.
  • MAC media access control
  • the STA accesses the CPE through a wireless local area network (wireless fidelity, WIFI)
  • the STA initiates a router solicitation (RS) to the CPE.
  • RS router solicitation
  • the RS request is used to request the allocation of IPv6 prefixes, and the CPE sends the router advertisement (RA) message to the CPE. Its own IPv6 prefix is returned to the STA, and the STA generates its own IPv6 address according to the IPv6 prefix + local address.
  • RA router advertisement
  • IPv6 addresses generated by the same address prefix may be duplicated, before the CPE or STA starts to generate IPv6 addresses, it is necessary to request the network to perform duplicate address detection (DAD) on the IPv6 address through neighbor solicitation (NS). , and determine whether there is a conflict in the IPv6 address by whether the neighbor advertisement (NA) message is received (where the NA message is received, indicating that there is a conflict, and no NA message is received within a period of time, indicating that there is no conflict), and then The IPv6 address can be officially activated only when the address does not conflict in the prefix domain.
  • DAD duplicate address detection
  • NA neighbor advertisement
  • the CPE when the CPE establishes the second uplink IPv6 connection with the fixed network (or the second LTE or 5G network connection) on the basis of having already established the uplink connection with LTE or 5G, the specific networking situation can be as shown in picture 2.
  • the CPE Since the CPE first establishes an IPv6 connection with LTE/5G, the CPE obtains the IPv6 prefix 1 and assigns it to STA 1 and STA 2.
  • the IPv6 addresses of the CPE and STA1 and STA 2 are generated based on the IPv6 prefix 1.
  • the fixed network allocates IPv6 prefix 2 to the CPE. In this case, the prefixes of the IPv6 addresses of the CPE and STA1 and STA 2 are still IPv6 prefix 1.
  • the present application proposes an IPv6 address management method, so as to manage the IPv6 addresses of the terminal equipment attached to the routing equipment, so that the terminal equipment can communicate with multiple networks supported by the routing equipment.
  • the IPv6 address management method provided by the embodiment of the present application may be applicable to the following scenarios: (1) The scenario where the local intranet and the extranet need to be isolated, as shown in FIG. 3 .
  • the hospital's fixed network that is, the local area network
  • the doctor accesses the news displayed on a webpage he accesses the mobile network (such as fifth-generation (fifth-generation, 5G) network, long-term evolution (long term evolution, LTE) network, etc.), that is, the external network.
  • 5G fifth-generation
  • LTE long-term evolution
  • video services need to be implemented through fixed networks
  • game services need to be implemented through mobile networks.
  • a scenario of mobile networks provided by at least two operators is adopted, as shown in FIG. 5 .
  • the video recording service may be performed through the mobile network provided by the first operator
  • the text messaging service may be performed through the mobile network provided by the second operator.
  • the dual network connection involved in this application may refer to the connection between the routing device and the fixed network and the mobile network, or the connection between the routing device and two identical or different mobile networks;
  • the multi-network connection may refer to the routing device.
  • the device is respectively connected to multiple networks of the fixed network and the mobile network, and may also refer to the connection between the routing device and multiple mobile networks, which is not limited in this application.
  • the applicable scenario of the IPv6 address management method provided by the embodiment of the present application may include at least one terminal device, routing device, and at least one network.
  • FIG. 6 shows a schematic diagram of an exemplary scenario to which the IPv6 address management method provided by the embodiment of the present application is applicable.
  • the terminal device is an STA as an example
  • the routing device is a CPE.
  • the schematic diagram of the scenario shown in FIG. 6 may include two STAs (eg, STA 1, STA 2), a CPE, and two networks (eg, network 1 and network 2). Wherein, both STA1 and STA2 need to be connected to the network 1 and/or the network 2 through the CPE to perform services. specific:
  • Network 1 and network 2 can be different networks, for example, network 1 and network 2 are fixed network and mobile network respectively, and for example network 1 and network 2 are different mobile networks respectively; network 1 and network 2 can also be the same mobile network.
  • the mobile network may be 5G, LTE, etc.
  • the fixed network may be a fixed-line telecommunication network, referred to as "fixed network", which is a telephone network that transmits signals through solid media such as metal wires or optical fiber wires.
  • IPv6 connection 1 and IPv6 connection 2 are respectively established between network 1 and network 2 and the CPE.
  • Network 1 can assign IPv6 prefix 1 to the CPE
  • network 2 can assign IPv6 prefix 2 to the CPE.
  • a prefix proxy (prefix proxy) function is added to the CPE, and its function can be implemented by a prefix policy (prefix policy) module as shown in FIG. 6 .
  • the prefix policy module can realize the management of the relationship between the IPv6 address of the STA and the network connection, so that the STA can successfully conduct services through the corresponding network.
  • the CPE may also include a routing module and a modem module shown in FIG. 6 .
  • the routing module may be used to implement communication between the CPE and the STA.
  • the routing module may include, but is not limited to, a dynamic host configuration protocol version 6 (dynamic host configuration protocol version 6, DHCPv6) module and the like.
  • the prefix policy module can allocate IPv6 prefixes to STA 1 and STA 2 through the routing module.
  • the modem module can be used to realize the communication between the CPE and the network.
  • the CPE can establish IPv6 connection 1 with network 1 through the modem module, and establish IPv6 connection 2 with network 2 through the modem module.
  • WAN wide area network
  • the modem module After the modem module establishes IPv6 connection 1 with network 1, a wide area network (WAN) 1 is created inside the modem module, and WAN 1 corresponds to IPv6 connection 1; when the modem module establishes IPv6 connection 1 with network 1, the modem module internally creates WAN 2, WAN 2 corresponds to IPv6 connection 2.
  • WAN wide area network
  • the CPE when the CPE establishes the IPv6 connection 1 with the network 1, the CPE obtains the IPv6 prefix 1 from the network 1, and when the CPE establishes the IPv6 connection 2 with the network 2, the CPE obtains the IPv6 prefix 2 from the network 2.
  • the CPE stores the obtained IPv6 prefix 1 and IPv6 prefix 2 in the prefix policy module, which is managed by the prefix policy module.
  • the prefix policy module in the CPE selects an IPv6 prefix as the IPv6 prefix of the CPE according to the first routing policy, and assigns the IPv6 prefix to STA 1 and STA 2 through the routing module.
  • the first routing policy may be to use the IPv6 prefix corresponding to the network connection with high load capacity as the default IPv6 prefix.
  • the level of load capacity may refer to the number of types of load services that can be connected to the network, or the level of load capacity may refer to the number of load terminals that can be connected to the network, or the level of load capacity may also mean that the network can process concurrently number of loads or throughput, etc.
  • the level of the load capacity may also have other explanations, which are not limited in this application.
  • the prefix policy module determines that most of the services need to be implemented through IPv6 connection 1 according to the corresponding relationship between the predetermined service and the network connection or the corresponding relationship between the STA and the network connection, and only a small part of the service needs to be implemented through IPv6 connection 2.
  • the prefix policy module determines that IPv6 Connection 1 has a lot of load that can be connected, that is, it is determined that IPv6 connection 1 is a network connection with higher load capacity, so IPv6 prefix 1 is used as the IPv6 prefix of the CPE, and the IPv6 prefix 1 is allocated to STA 1 and STA through the routing module 2, as shown in Figure 6.
  • the prefix policy module determines that all services are connected to IPv6 connection 1 by default, the prefix policy module determines that IPv6 connection 1 can be connected to a larger load, that is, determines that IPv6 connection 1 is a network connection with a higher load capacity, then the prefix policy module will IPv6 prefix 1 is used as the IPv6 prefix of the CPE, and the IPv6 prefix 1 is allocated to STA 1 and STA 2 through the routing module, as shown in Figure 6.
  • the prefix policy module determines that IPv6 connection 1 can handle a large number of loads concurrently, it determines that IPv6 connection 1 is a network connection with a higher load capacity, and the prefix policy module uses IPv6 prefix 1 as the IPv6 prefix of the CPE, and uses The IPv6 prefix 1 is assigned to STA 1 and STA 2 through the routing module, as shown in Figure 6.
  • the CPE generates the IPv6 address of the CPE according to the IPv6 prefix 1 and the local address of the CPE, and STA 1 and STA 2 generate their own IPv6 addresses according to the IPv6 prefix 1 and their own local addresses.
  • the IPv6 address of the STA 1 is the IPv6 prefix 1+address (address, addr)1
  • the IPv6 address of STA 2 is IPv6 prefix 1+addr 2, as shown in Figure 6.
  • the prefix policy module of the CPE performs the above allocation of IPv6 prefixes for STA 1 and STA 2.
  • the STA may access the CPE through a wireless local area network (wireless fidelity, WIFI).
  • the prefix policy module can also re-determine the IPv6 prefix according to the business requirements of different time periods, so as to dynamically update the IPv6 prefix of the CPE and the IPv6 prefix of the STA, thereby ensuring better service performance and improving transmission efficiency.
  • IPv6 addresses generated based on the same IPv6 prefix may be duplicated, before the CPE or STA starts to generate the IPv6 address, it is necessary to request the network to perform DAD conflict detection on the IPv6 address through the neighbor solicitation (NS), and check whether the IPv6 address is received or not. Go to the neighbor advertisement (NA) message to determine whether the IPv6 address has a conflict (where the NA message is received, it means there is a conflict, and if the NA message is not received within a period of time, there is no conflict), and then ensure that the IPv6 address is in the The IPv6 address can be officially activated only when there is no conflict in the prefix domain.
  • NA neighbor advertisement
  • a certain STA broadcasts its IPv6 address to the CPE through an NS message to complete the process. DAD collision detection of the IPv6 address of this STA 1.
  • the CPE in addition to completing the DAD conflict detection of the IPv6 address of the STA 1 in the network domain corresponding to the IPv6 address, the CPE also forwards the NS message of the STA 1 to the prefix policy module, so that the prefix policy module realizes the proxy The DAD process of the IPv6 address of the STA 1.
  • the prefix Policy module replaces the prefix of the IPv6 address of the STA 1 (such as IPv6 prefix 1) with the IPv6 prefix (such as IPv6 prefix 2) of other network connections (such as IPv6 connection 2), and then constructs a corresponding new IPv6 address (such as IPv6 prefix 2+addr 1), and then simulate STA 1 to send an NS message corresponding to the IPv6 prefix to each network through the modem module to detect whether the corresponding IPv6 address conflicts within the network domain.
  • IPv6 prefix 1 such as IPv6 prefix 1
  • IPv6 prefix 2 IPv6 prefix 2+addr
  • the prefix policy module receives information from a certain network
  • the DAD NA response message on the connection indicates that there is a conflict when the corresponding IPv6 address adopts the IPv6 prefix of the network
  • the prefix policy module forwards the NA response message to the corresponding STA through the routing module, so that it regenerates the local address and then re-initiates DAD process.
  • STA 1 does not receive any NA message within the specified time, STA 1 officially activates the corresponding IPv6 address (IPv6 prefix 1+addr 1). In this way, it can be ensured that the IPv6 address of any STA does not conflict in any network domain, so as to ensure the successful transmission of subsequent service data.
  • the prefix policy module described above can simulate the STA to use the IPv6 prefix of the network to replace the IPv6 prefix of the STA in each network domain to initiate the DAD conflict detection process, the corresponding network can be recorded in the network connection corresponding to the network
  • the IPv6 address on the network is reachable, and the network side can directly access the IPv6 address, so that the network side can access the STA corresponding to the IPv6 address.
  • the prefix policy module of the CPE maintains the mapping relationship between the IPv6 prefix of the CPE and the IPv6 prefix of other networks, and when the STA is in business, the source IP (source IP, SIP ) Using the IPv6 address of the STA, the prefix policy module of the CPE selects an appropriate network connection according to the second routing policy.
  • the SIP 1 of the service data packet sent by STA 1 is IPv6 prefix 1+addr 1
  • the prefix policy module of the CPE determines that the service data packet of STA 1 needs to be forwarded to its own
  • the data packet is directly forwarded through the IPv6 connection between the CPE and the corresponding network, that is, the service data packet whose SIP 1 of STA 1 is IPv6 prefix 1+addr 1 is directly forwarded to the modem module and the network.
  • 1 corresponds to the WAN 1 module
  • the SIP 2 of the service data packet sent by STA 2 is IPv6 prefix 1+addr 2.
  • the prefix policy module of the CPE determines that the service data packet of STA 2 needs to be forwarded to other networks (such as network 2)
  • the prefix policy module replaces the IPv6 prefix 1 of the source IP address in the service data packet with the IPv6 prefix of the network to be connected according to the stored mapping relationship, that is, the IPv6 prefix 2 of the network 2, and the SIP 3 of the new service data packet is IPv6 prefix 2+addr 2, and then forward the processed service data packet (that is, SIP 3 is the service data packet of IPv6 prefix 2+addr 2) to the destination network through the IPv6 connection with the corresponding network, that is, STA 2
  • the SIP 3 is IPv6 prefix 2+addr 2 and the service data packets are forwarded to the WAN 2 module corresponding to the network 2 in the modem module, so as to be forwarded to the network 2.
  • the access message on the network side can reach the prefix policy module of the CPE through the modem module.
  • the prefix policy module of the CPE determines that the IPv6 prefix of the accessed IPv6 address is the same as its own IPv6 prefix, it directly Forward the access message to the STA corresponding to the IPv6 address through the routing module.
  • the IPv6 prefix of the accessed IPv6 address is different from its own IPv6 prefix, replace the IPv6 prefix in the destination IPv6 address in the access message with its own IPv6 prefix , and then forward the access message to the corresponding STA through the routing module.
  • FIG. 6 and FIG. 7 only two STAs and two networks are used as examples for illustration, but this is not a limitation on the scenarios of the embodiments of the present application. It should be understood that in a practical scenario, there may be fewer or more STAs than two STAs, as well as more networks than two networks.
  • the STA in FIG. 6 and FIG. 7 may be replaced by other terminal devices, and the CPE may be replaced by other routing devices, which will not be listed and described in this application.
  • FIG. 8 shows a specific example of the IPv6 address configuration method provided by the embodiment of the present application.
  • the example shown in FIG. 8 can be applied to the scenario shown in FIG. 2 or FIG. 3.
  • the two terminal devices are STA1 and STA2
  • the routing device is the CPE
  • the two networks are Fixed network and mobile network are used as examples to illustrate.
  • the specific process of this example may include the following steps:
  • Step 801 The CPE is powered on to register with the fixed network. Specifically, the modem module of the CPE sends a first registration message to the fixed network.
  • the modem module After the modem module completes the registration to the fixed network, the modem module creates WAN 1 internally, and connects with the fixed network through WAN 1, that is, the connection between WAN 1 and the fixed network corresponds.
  • Step 802 The modem module of the CPE obtains IPv6 prefix 1 from the fixed network.
  • Step 803 The modem module of the CPE generates an IPv6_1 address according to the IPv6 prefix 1 and the local MAC address of the CPE, and the IPv6_1 address is the IPv6 address of the CPE in the fixed network.
  • the modem module After the modem module generates IPv6_1, it broadcasts the NS message to the fixed network connection domain, performs DAD detection on IPv6_1, determines that there is no conflict between IPv6_1 in the 5G1 connection domain, and determines the IPv6_1 address as the CPE's IPv6 address in the 5G1 network. .
  • the CPE regenerates the last 64 bits of IPv6_1, and initiates the NS message broadcast again to perform DAD detection.
  • Step 804 The modem module of the CPE sends the correspondence between the WAN 1 connected by the fixed network and the IPv6_1 to the prefix policy module of the CPE.
  • Step 805 The CPE registers with the mobile network again. Specifically, the modem module of the CPE sends a second registration message to the mobile network.
  • the modem module creates WAN 2 internally, and connects with the mobile network through WAN 2, that is, the connection between WAN 2 and the mobile network corresponds.
  • Step 806 The modem module of the CPE obtains the IPv6 prefix 2 from the mobile network.
  • Step 807 The modem module of the CPE generates an IPv6_2 address according to the IPv6 prefix 2 and the local MAC address of the CPE, and the IPv6_2 address is the IPv6 address of the CPE in the mobile network.
  • the modem module After the modem module generates IPv6_2, it broadcasts the NS message to the mobile network connection domain, performs DAD detection on IPv6_2, and determines that there is no conflict between IPv6_2 in the mobile network connection domain, and determines the IPv6_2 address as the CPE's IPv6 address in the mobile network. .
  • the CPE regenerates the last 64 bits of the IPv6_2, and initiates the NS message broadcast again to perform DAD detection.
  • Step 808 The modem module of the CPE sends the correspondence between the WAN2 and IPv6_2 connected by the mobile network to the prefix policy module of the CPE.
  • Step 809 The prefix policy module determines that the default connection is a fixed network connection according to the first routing policy, and uses the address IPv6_1 generated by the CPE according to the IPv6 prefix 1 as the IPv6 address of the CPE.
  • the first routing policy may be to use the IPv6 prefix corresponding to the network connection with high load capacity as the default IPv6 prefix
  • the prefix policy module may use the network connection with high load capacity as the default connection.
  • the level of load capacity may refer to the number of types of load services that can be connected to the network, or the level of load capacity may refer to the number of load terminals that can be connected to the network, or the level of load capacity may also refer to the number of load terminals that can be processed concurrently by the network. number of loads or throughput, etc.
  • the level of the load capacity may also have other explanations, which are not limited in this application.
  • the judgment of the network with high load capacity may be made according to the corresponding relationship between the predetermined service and the network connection or the corresponding relationship between the STA and the network connection.
  • game services need to be implemented through a fixed network
  • video services need to be implemented on a mobile network
  • voice services need a fixed network, etc.
  • game services correspond to fixed network connections
  • video services correspond to mobile network connections
  • voice services correspond to fixed network connections
  • the fixed network connection can correspond to N services such as game services and voice services
  • the mobile network connection can correspond to M services such as video services.
  • the N services corresponding to the network connection are more than the M services corresponding to the mobile network connection (ie, N is greater than M), that is, the network connection with high load capacity is a fixed network connection.
  • N is greater than M
  • the fixed network connection may be connected to STA 1 and other STAs, etc.
  • the mobile network connection can correspond to Y STAs such as STA 2, and the X STAs corresponding to the fixed network connection are more than the Y STAs corresponding to the mobile network connection (that is, X is greater than Y), that is, the network connection with high load capacity It is a fixed network connection.
  • the prefix policy module may regard a network connection with a large number of concurrent processing loads as a high load capacity. For example, when it is determined that the fixed network connection can handle a large number of loads concurrently, the fixed network connection is used as the default connection.
  • the fixed network connection has a high load capacity and the fixed network connection is taken as the default connection for illustration.
  • the mobile network connection load capacity is high, the mobile network is used as the default connection, and the corresponding IPv6_2 As the IPv6 address of the CPE.
  • Step 810 STA 1 sends a first IPv6 prefix request to the CPE, and the first IPv6 prefix request is used to request an IPv6 prefix for STA 1.
  • the first IPv6 prefix request is sent to the routing module of the CPE, and the routing module forwards the first IPv6 prefix request to the prefix policy module.
  • Step 811 The prefix policy module of the CPE returns the IPv6 prefix 1 to the STA 1 through the first response message through the routing module.
  • Step 812 STA 1 generates the IPv6 address IPv6_1_1 of STA 1 according to the IPv6 prefix 1 and the local MAC address of STA 1, and sends an NS broadcast message (that is, a first neighbor solicitation broadcast message) to the CPE to realize DAD detection of the IPv6_1_1 address , where the NS broadcast message contains IPv6_1_1.
  • an NS broadcast message that is, a first neighbor solicitation broadcast message
  • the NS broadcast message is sent to the routing module of the CPE, and the routing module forwards the NS broadcast message to the modem module.
  • Step 813 The modem module of the CPE forwards the NS broadcast message (that is, the first neighbor solicitation broadcast message) of the STA 1 to the fixed network, so as to complete the DAD detection of IPv6 of IPv6_1_1.
  • Step 814 The routing module of the CPE sends the IPv6_1_1 of the STA 1 to the prefix policy module, which triggers the prefix policy module to act as an agent for the STA 1 to complete the IPv6 DAD detection in the mobile network connection domain.
  • Step 815 The prefix policy module replaces the IPv6 prefix 1 of the IPv6_1_1 with the IPv6 prefix 2, and regenerates the IPv6_2_1 in the mobile network connection domain.
  • Step 816 The prefix policy module simulates that STA 1 sends an NS broadcast message (that is, the second neighbor solicitation broadcast message) to the mobile network through the modem module to perform DAD detection, wherein the NS broadcast message (that is, the second neighbor solicitation broadcast message) contains Include IPv6_2_1.
  • both the first neighbor solicitation broadcast message and the second neighbor solicitation broadcast message are shown as NS broadcast messages, and the IPv6 addresses included in each NS broadcast message are shown.
  • Step 817 If STA 1 receives the NA message from the CPE, it means that there is a conflict between the IPv6_1_1 addresses in the fixed network and mobile network domains, and then step 818 is executed.
  • the NA message comes from the fixed network or the mobile network.
  • the fixed network or the mobile network sends the NA message to the modem module, the modem module forwards the NA message to the routing module, and the routing module forwards the NA message to the STA 1.
  • the routing module forwards the NA message to the STA 1.
  • Step 818 STA 1 regenerates the last 64 bits of IPv6_1_1, STA 1 obtains a new IPv6 address IPv6_1_3 according to IPv6 prefix 1 and the local MAC address of STA 1, and then initiates the NS broadcast message again to perform IPv6 DAD.
  • STA 1 if STA 1 does not receive the NA message within the specified time, STA 1 uses IPv6_1_1 as its own IPv6 address. In the following description of this embodiment, STA 1 takes IPv6_1_1 as its own IPv6 address as an example for illustration.
  • Step 819 STA 2 sends a second IPv6 prefix request to the CPE, and the second IPv6 prefix request is used to request an IPv6 prefix for STA 2.
  • the second IPv6 prefix request is sent to the routing module of the CPE, and the routing 6 module forwards the second IPv6 prefix request to the prefix policy module.
  • Step 820 The prefix policy module of the CPE returns the IPv6 prefix 1 to the STA 2 through the second response message through the routing module.
  • Step 821 STA 2 generates the IPv6 address IPv6_1_2 of STA 2 according to the local MAC address of IPv6 prefix 1 and STA 2, and sends an NS broadcast message to the CPE to realize the DAD detection of the IPv6_1_2 address, wherein the NS broadcast message includes IPv6_1_2.
  • the NS broadcast message is sent to the routing module of the CPE, and the routing module forwards the NS broadcast message to the modem module.
  • Step 822 The modem module of the CPE forwards the NS broadcast message of the STA 2 to the fixed network, so as to complete the DAD detection of the IPv6 of the IPv6_1_2.
  • Step 823 The routing module of the CPE sends the IPv6_1_2 of the STA 2 to the prefix policy module, triggering the prefix policy module to complete the IPv6 DAD detection in the mobile network domain on behalf of the STA 2.
  • Step 824 The prefix policy module replaces the IPv6 prefix 1 of the IPv6_1_2 with the IPv6 prefix 2, and regenerates the IPv6_2_2 in the mobile network connection domain.
  • Step 825 The prefix policy module simulates that STA 2 sends an NS broadcast message to the mobile network through the modem module to perform DAD detection, wherein the NS broadcast message includes IPv6_2_2.
  • Step 826 If STA 2 receives the NA message from the CPE, it means that there is a conflict between the IPv6_1_2 addresses in the fixed network and mobile network domains, then step 827 is executed.
  • the NA message comes from the fixed network or the mobile network. Specifically, the fixed network network or the mobile network sends the NA message to the modem module, the modem module forwards the NA message to the routing module, and the routing module forwards the NA message to the STA 2.
  • Step 827 STA 2 regenerates the last 64 bits of IPv6_1_2, STA 2 obtains a new IPv6 address IPv6_1_4 according to IPv6 prefix 1 and the local MAC address of STA 2, and then initiates the NS broadcast message again to perform IPv6 DAD.
  • STA 2 uses IPv6_1_2 as its own IPv6 address.
  • STA 2 uses IPv6_1_2 as its own IPv6 address as an example for illustration.
  • steps 819 to 827 are similar to the generation process of the IPv6 address of STA1 involved in the steps 810 to 818. Therefore, for the sake of brevity, they are not shown in FIG.
  • the specific process of steps 819 to 827 is shown, and only an example is summarized in FIG. 8 , and examples of steps 810 to 818 may be referred to.
  • Step 828 STA 1 sends a third data service request to the CPE, and the source IP address in the third data service request is IPv6_1_1.
  • the third data service request reaches the routing module of the CPE.
  • Step 829 The routing module of the CPE forwards the third data service request to the prefix policy module.
  • Step 830 The prefix policy module determines according to the second routing policy that the service corresponding to the third data service request needs to be connected to the fixed network, that is, the data packet of the service needs to be routed to the fixed network connection, then the third data service request is routed through the modem module based on the fixed network. The network connection is forwarded to the fixed network.
  • the specific method for determining the service corresponding to the third data service request by the prefix policy module may include: the prefix policy module may request the DAD according to the service type identifier of STA 1 contained in the message of STA 1 requesting the IPv6 prefix, or request DAD according to STA 1.
  • the service type identifier contained in the detected NS message determines the service type of STA 1, that is, the service corresponding to the third data service request can be determined, and then the prefix policy module determines that the service needs to be connected to the fixed network according to the routing policy;
  • the service request includes a service type identifier, and the prefix policy module determines that the service corresponding to the third data service request needs to be connected to the fixed network according to the service type identifier included in the third data service request and the routing policy.
  • the second routing strategy may be to determine the network to be connected according to the correspondence between the predetermined service and the network connection, or according to the correspondence between the STA and the network connection, or the like. That is to say, the concrete method that the prefix policy module determines the network to which the service corresponding to the third data service request needs to be connected according to the second routing policy may be: the prefix policy module may be based on the correspondence between the predetermined service and the network connection, or according to the STA and the network connection. Correspondence, etc., determine the network that needs to be connected. Exemplarily, here is an example in which the prefix policy module determines that the service corresponding to the third data service request needs to be connected to the fixed network.
  • Step 831 STA 2 sends a first data service request to the CPE, and the source IP address in the first data service request is IPv6_1_2.
  • the first data service request reaches the routing module of the CPE.
  • Step 832 The routing module of the CPE forwards the first data service request to the prefix policy module.
  • Step 833 The prefix policy module determines according to the second routing policy that the service corresponding to the first data service request needs to be connected to the mobile network, that is, the data packet of the service needs to be routed to the mobile network connection, then the source IP address in the first data service request is IPv6_1_2 is replaced with IPv6_2_2, and a new second data service request is generated.
  • the prefix policy module determines, according to the second routing policy, that the service corresponding to the first data service request needs to be connected to the mobile network, and the prefix policy module determines, according to the second routing policy, that the service corresponding to the third data service request needs to be connected to the fixed network.
  • the methods are similar and can be referred to each other, and will not be described in detail here.
  • Step 834 The prefix policy module forwards the data service request 3 to the mobile network through the modem module based on the mobile network connection.
  • Step 835 If the cloud side needs to access STA 1 through the mobile network, after receiving the fourth data service request from the cloud side, the mobile network forwards the fourth data service request to the modem module of the CPE, wherein the fourth data service request The destination address in is IPv6_2_1.
  • FIG. 8 only shows the process of forwarding after the mobile network receives the fourth data service request from the cloud side, and no longer shows the process of the mobile network receiving the fourth data service request from the cloud side.
  • Step 836 The modem module of the CPE forwards the fourth data service request to the prefix policy module.
  • Step 837 The prefix policy module replaces the destination address IPv6_2_1 in the fourth data service request with IPv6_1_1, and generates a fifth data service request.
  • the prefix policy module can determine that the STA to be accessed is the STA 1 attached to it, and then replaces the IPv6 prefix 2 in the IPv6_2_1 with the IPv6 prefix 1 to obtain the address of the STA 1 IPv6_1_1.
  • Step 838 The prefix policy module sends the fifth data service request to the routing module.
  • Step 839 The routing module addresses to STA 1 according to IPv6_1_1 in the fifth data service request, and then forwards the fifth data service request to STA 1.
  • FIG. 8 only shows the situation that the cloud side accesses STA 1 through the mobile network, and the principle of the cloud side accessing STA 2 through the mobile network is the same, and will not be described in detail here.
  • the fixed network forwards the sixth data service request to the modem module of the CPE after receiving the sixth data service request from the cloud side, wherein the sixth data service request is The destination address in the data service request is IPv6_1_1.
  • the modem module of the CPE forwards the sixth data service request to the prefix policy module.
  • the prefix policy module sends the sixth data service request to the routing module.
  • the routing module addresses to STA 1 according to IPv6_1_1 in the sixth data service request, and then forwards the sixth data service request to STA 1.
  • the mobile network in FIG. 8 may be 5G or LTE or a future network (for example, 6G), which is not limited in this application.
  • FIG. 9 shows another specific example of the IPv6 address configuration method provided by the embodiment of the present application.
  • the example shown in FIG. 9 can be applied to the scenario shown in FIG. 5 .
  • the two terminal devices are STA1 and STA2
  • the routing device is the CPE
  • the two networks are 5G1 and 5G2
  • the specific process of this example may include the following steps:
  • Step 901 The CPE is powered on and registered to the 5G1 network through the modem module.
  • the modem module of the CPE can register with the 5G1 network through a register message or a protocol data unit session setup ((protocol data unit, PDU) session setup) message.
  • a protocol data unit session setup ((protocol data unit, PDU) session setup) message.
  • the modem module After the modem module completes the registration to the 5G1 network, the modem module creates WAN 1 internally, and connects with 5G 1 through WAN 1, that is, the connection between WAN 1 and 5G 1 corresponds.
  • Step 902 The modem module of the CPE obtains IPv6 prefix 1 from the 5G1 network.
  • Step 903 The modem module of the CPE generates an IPv6_1 address according to the IPv6 prefix 1 and the local MAC address of the CPE, and the IPv6_1 address is the IPv6 address of the CPE in the 5G 1 network.
  • the modem module After the modem module generates IPv6_1, it requests the NS message to be broadcast to the 5G1 connection domain through the neighbor node, performs address conflict detection DAD detection on IPv6_1, and determines that there is no conflict between IPv6_1 in the 5G1 connection domain, and determines the IPv6_1 address as the CPE in the 5G1 connection domain. IPV6 address in the network.
  • the CPE regenerates the last 64 bits of IPv6_1, and initiates the NS message broadcast again to perform DAD detection.
  • Step 904 The modem module of the CPE sends the correspondence between the WAN 1 connected to the 5G1 and the IPv6_1 to the prefix policy module of the CPE.
  • Step 905 The CPE registers to the 5G2 network again through the modem module.
  • the CPE can register to the 5G2 network through the register message or the PDU session setup message.
  • the modem module creates WAN 2 internally, and connects with 5G 2 through WAN 2, that is, the connection between WAN 2 and 5G 2 corresponds.
  • Step 906 The modem module of the CPE obtains IPv6 prefix 2 from the 5G2 network.
  • Step 907 The modem module of the CPE generates an IPv6_2 address according to the IPv6 prefix 2 and the local MAC address of the CPE, and the IPv6_2 address is the IPv6 address of the CPE in the 5G 2 network.
  • the modem module After the modem module generates IPv6_2, it broadcasts the NS message to the 5G2 connection domain, performs DAD detection on IPv6_2, determines that there is no conflict between IPv6_2 in the 5G2 connection domain, and determines the IPv6_2 address as the CPE's IPv6 address in the 5G2 network.
  • the CPE regenerates the last 64 bits of the IPv6_2, and initiates the NS message broadcast again to perform DAD detection.
  • Step 908 The modem module of the CPE sends the correspondence between the WAN2 connected by 5G2 and the IPv6_2 to the prefix policy module of the CPE.
  • Step 909 The prefix policy module determines that the default connection is a 5G1 connection according to the first routing policy, and uses the address IPv6_1 generated by the CPE according to the IPv6 prefix 1 as the IPv6 address of the CPE.
  • the first routing policy may be to use the IPv6 prefix corresponding to the network connection with high load capacity as the default IPv6 prefix
  • the prefix policy module may use the network connection with high load capacity as the default connection.
  • the level of load capacity may refer to the number of types of load services that can be connected to the network, or the level of load capacity may refer to the number of load terminals that can be connected to the network, or the level of load capacity may also refer to the number of load terminals that can be processed concurrently by the network. number of loads or throughput, etc.
  • the level of the load capacity may also have other explanations, which are not limited in this application.
  • the judgment of the network with high load capacity may be made according to the corresponding relationship between the predetermined service and the network connection or the corresponding relationship between the STA and the network connection.
  • game services need to be implemented through 5G1, video services need to be implemented through 5G2, voice services need to be implemented through 5G1, etc., that is, game services correspond to 5G1 connections, video services correspond to 5G2 connections, and voice services connect to 5G1 Corresponding, etc.;
  • the 5G1 connection can correspond to N services such as game services and voice services
  • the 5G2 connection can correspond to M services such as video services
  • the N services corresponding to 5G1 are more than 5G2.
  • the corresponding M services (that is, N is greater than M), that is, the network connection with high load capacity, is the 5G1 connection.
  • STA 1 corresponds to a 5G1 connection
  • STA 2 corresponds to a 5G2 connection
  • other STAs such as STA 3, etc.
  • the 5G1 connection can correspond to X STAs such as STA 1 and other STAs
  • the 5G2 connection It can correspond to Y STAs such as STA 2
  • the X STAs corresponding to the 5G1 connection are more than the Y STAs corresponding to the 5G2 (that is, X is greater than Y), that is, the network connection with high load capacity is the 5G1 connection.
  • the prefix policy module may regard a network connection with a large number of concurrent processing loads as a network connection with a high load capacity. For example, when it is determined that 5G1 can handle a large number of loads concurrently, 5G1 is used as the default connection.
  • the 5G1 load capacity is high, and the 5G1 connection is used as the default connection for illustration.
  • the 5G2 load capacity is determined to be high, the 5G2 is used as the default connection, and the corresponding IPv6_2 is used as the IPv6 address of the CPE.
  • Step 910 STA 1 sends an RS IPv6 prefix request to the CPE, and the RS IPv6 prefix request is used to request an IPv6 prefix for STA 1.
  • the RS IPv6 prefix request is sent to the routing module of the CPE, and the routing module forwards the RS IPv6 prefix request to the prefix policy module.
  • Step 911 The prefix policy module of the CPE returns the IPv6 prefix 1 to the STA 1 through the route advertisement RA message through the routing module.
  • Step 912 STA 1 generates the IPv6 address IPv6_1_1 of STA 1 according to the IPv6 prefix 1 and the local MAC address of STA 1, and sends an NS broadcast message (that is, a first neighbor solicitation broadcast message) to the CPE to realize DAD detection of the IPv6_1_1 address , where the NS broadcast message contains IPv6_1_1.
  • an NS broadcast message that is, a first neighbor solicitation broadcast message
  • the NS broadcast message is sent to the routing module of the CPE, and the routing module forwards the NS broadcast message to the modem module.
  • Step 913 The modem module of the CPE forwards the NS broadcast message (that is, the first neighbor solicitation broadcast message) of the STA 1 to the 5G1, so as to complete the DAD detection of the IPv6 of the IPv6_1_1.
  • NS broadcast message that is, the first neighbor solicitation broadcast message
  • Step 914 The routing module of the CPE sends the IPv6_1_1 of the STA 1 to the prefix policy module, which triggers the prefix policy module to act on behalf of the STA 1 to complete the IPv6 DAD detection in the 5G2 domain.
  • Step 915 The prefix policy module replaces IPv6 prefix 1 of IPv6_1_1 with IPv6 Prefix 2, and regenerates IPv6_2_1 in the 5G2 connection domain.
  • Step 916 The prefix policy module simulates that STA 1 sends an NS broadcast message (that is, the second neighbor solicitation broadcast message) to 5G2 through the modem module to perform DAD detection, wherein the NS broadcast message (that is, the second neighbor solicitation broadcast message) includes: IPv6_2_1.
  • both the first neighbor solicitation broadcast message and the second neighbor solicitation broadcast message are shown as NS broadcast messages, and the IPv6 addresses included in each NS broadcast message are shown.
  • Step 917 If STA 1 receives the NA message from the CPE, it means that there is a conflict between the IPv6_1_1 addresses in the 5G1 and 5G2 domains, then step 918 is executed.
  • the NA message comes from the 5G1 network or the 5G2 network.
  • the 5G1 network or the 5G2 network sends the NA message to the modem module, the modem module forwards the NA message to the routing module, and the routing module forwards the NA message to STA 1.
  • the routing module forwards the NA message to STA 1.
  • Step 918 STA 1 regenerates the last 64 bits of IPv6_1_1, STA 1 obtains a new IPv6 address IPv6_1_3 according to IPv6 prefix 1 and the local MAC address of STA 1, and then initiates the NS broadcast message again to perform IPv6 DAD.
  • STA 1 if STA 1 does not receive the NA message within the specified time, STA 1 uses IPv6_1_1 as its own IPv6 address. In the following description of this embodiment, STA 1 takes IPv6_1_1 as its own IPv6 address as an example for illustration.
  • Step 919 STA 2 sends an RS IPv6 prefix request to the CPE, and the RS IPv6 prefix request is used to request an IPv6 prefix for STA 2.
  • the RS IPv6 prefix request is sent to the routing module of the CPE, and the routing module forwards the RS IPv6 prefix request to the prefix policy module.
  • Step 920 The prefix policy module of the CPE returns the IPv6 prefix 1 to the STA 2 through the RA message through the routing module.
  • Step 921 STA 2 generates the IPv6 address IPv6_1_2 of STA 2 according to the local MAC address of IPv6 prefix 1 and STA 2, and sends an NS broadcast message to the CPE to realize the DAD detection of the IPv6_1_2 address, wherein the NS broadcast message includes IPv6_1_2.
  • the NS broadcast message is sent to the routing module of the CPE, and the routing module forwards the NS broadcast message to the modem module.
  • Step 922 The modem module of the CPE forwards the NS broadcast message of the STA 2 to the 5G1 to complete the DAD detection of the IPv6 of the IPv6_1_2.
  • Step 923 The routing module of the CPE sends the IPv6_1_2 of the STA 2 to the prefix policy module, triggering the prefix policy module to act as an agent for STA 2 to complete the IPv6 DAD detection in the 5G2 domain.
  • Step 924 The prefix policy module replaces IPv6 prefix 1 of IPv6_1_2 with IPv6 prefix 2, and regenerates IPv6_2_2 in the 5G2 connection domain.
  • Step 925 The prefix policy module simulates that STA 2 sends an NS broadcast message to 5G2 through the modem module for DAD detection, wherein the NS broadcast message includes IPv6_2_2.
  • Step 926 If STA 2 receives the NA message from the CPE, it means that there is a conflict between the IPv6_1_2 addresses in the 5G1 and 5G2 domains, then step 927 is executed.
  • the NA message comes from the 5G1 network or the 5G2 network. Specifically, the 5G1 network or the 5G2 network sends the NA message to the modem module, the modem module forwards the NA message to the routing module, and the routing module forwards the NA message to the STA 2.
  • Step 927 STA 2 regenerates the last 64 bits of IPv6_1_2, STA 2 obtains a new IPv6 address IPv6_1_4 according to IPv6 prefix 1 and the local MAC address of STA 2, and then initiates the NS broadcast message again to perform IPv6 DAD.
  • STA 2 uses IPv6_1_2 as its own IPv6 address.
  • the STA 2 uses IPv6_1_2 as its own IPv6 address as an example for illustration.
  • step 919-step 927 is similar to the generation process of the IPv6 address of STA1 involved in the steps 910 to 918. Therefore, for the sake of brevity, they are not shown one by one in FIG. 9 .
  • the specific process of step 919-step 927 is shown, and only an example is summarized in FIG. 9, and reference may be made to the example of step 910-step 918.
  • Step 928 STA 1 sends a third data service request to the CPE, and the source IP address in the third data service request is IPv6_1_1.
  • the third data service request reaches the routing module of the CPE.
  • Step 929 The routing module of the CPE forwards the third data service request to the prefix policy module.
  • Step 930 The prefix policy module determines according to the second routing policy that the service corresponding to the third data service request needs to be connected to 5G1, that is, the data packet of the service needs to be routed to the 5G1 connection, then the third data service request is connected based on the 5G1 connection through the modem module Forward to 5G1.
  • the specific method for determining the service corresponding to the third data service request by the prefix policy module may include: the prefix policy module may request the DAD according to the service type identifier of STA 1 contained in the message of STA 1 requesting the IPv6 prefix, or request DAD according to STA 1.
  • the service type identifier contained in the detected NS message determines the service type of STA 1, that is, the service corresponding to the third data service request can be determined, and then the prefix policy module determines that the service needs to be connected to 5G 1 according to the routing policy;
  • the service request includes a service type identifier, and the prefix policy module determines that the service corresponding to the third data service request needs to be connected to 5G 1 according to the service type identifier included in the third data service request and the routing policy.
  • the second routing policy may be to determine the network to be connected according to the corresponding relationship between the predetermined service and the network connection, or according to the corresponding relationship between the STA and the network connection, or the like. That is to say, the concrete method that the prefix policy module determines the network to which the service corresponding to the third data service request needs to be connected according to the second routing policy may be: the prefix policy module may be based on the corresponding relationship between the predetermined service and the network connection, or according to the STA and the network connection. Correspondence, etc., determine the network that needs to be connected. Exemplarily, the prefix policy module determines that the service corresponding to the third data service request needs to be connected to 5G 1 as an example for description.
  • Step 931 STA 2 sends a first data service request to the CPE, and the source IP address in the first data service request is IPv6_1_2.
  • the first data service request reaches the routing module of the CPE.
  • Step 932 The routing module of the CPE forwards the first data service request to the prefix policy module.
  • Step 933 The prefix policy module determines according to the second routing policy that the service corresponding to the first data service request needs to be connected to 5G2, that is, the data packet of the service needs to be routed to the 5G2 connection, then the source IP address in the first data service request IPv6_1_2 Replace with IPv6_2_2, and generate a second data service request.
  • the prefix policy module determines, according to the second routing policy, that the service corresponding to the first data service request needs to be connected to 5G 2, and the prefix policy module determines that the service corresponding to the third data service request needs to be connected to 5G 1 according to the second routing policy.
  • the methods are similar and can be referred to each other, and will not be described in detail here.
  • Step 934 The prefix policy module forwards the second data service request to 5G2 through the modem module based on the 5G2 connection.
  • Step 935 If the cloud side needs to access STA 1 through the 5G2 network, after receiving the fourth data service request from the cloud side, the 5G2 network forwards the fourth data service request to the modem module of the CPE, wherein the fourth data service request The destination address in is IPv6_2_1.
  • FIG. 9 only shows the process of forwarding after the 5G2 network receives the fourth data service request from the cloud side, and no longer shows the process of the 5G2 network receiving the fourth data service request from the cloud side.
  • Step 936 The modem module of the CPE forwards the fourth data service request to the prefix policy module.
  • Step 937 The prefix policy module replaces the destination address IPv6_2_1 in the fourth data service request with IPv6_1_1, and generates a fifth data service request.
  • the prefix policy module can determine that the STA to be accessed is the STA 1 attached to it, and then replaces the IPv6 prefix 2 in the IPv6_2_1 with the IPv6 prefix 1 to obtain the address of the STA 1 IPv6_1_1.
  • Step 938 The prefix policy module sends the fifth data service request to the routing module.
  • Step 939 The routing module addresses to STA 1 according to IPv6_1_1 in the fifth data service request, and then forwards the fifth data service request to STA 1.
  • FIG. 9 only shows the situation that the cloud side accesses STA 1 through 5G 2, and the principle of the cloud side accessing STA 2 through 5G 2 is the same, and will not be described in detail here.
  • the 5G1 network forwards the sixth data service request to the modem module of the CPE, where the sixth data service request is The destination address in the data service request is IPv6_1_1.
  • the modem module of the CPE forwards the sixth data service request to the prefix policy module.
  • the prefix policy module sends the sixth data service request to the routing module.
  • the routing module addresses to STA 1 according to IPv6_1_1 in the sixth data service request, and then forwards the sixth data service request to STA 1.
  • 5G1 in FIG. 9 may be replaced by LTE1, and 5G2 may be replaced by LTE2, and the process remains unchanged. Please refer to the above process, which will not be described in detail here.
  • the embodiments of the present application provide a routing device for implementing the IPv6 address configuration method provided by the embodiments of the present application.
  • the routing device 1000 may include a transceiver module 1001 and a processing module 1002 .
  • the transceiver module 1001 may, but is not limited to, implement the functions of the modem in FIG. 8 and FIG. 9
  • the processing module 1002 may implement, but is not limited to, the functions of the routing module and the prefix policy module in FIG. 8 and FIG. 9 .
  • the routing device 1000 when the routing device 1000 implements the IPv6 address configuration method provided by the embodiment of the present application, it may specifically include:
  • the transceiver module 1001 is used to obtain multiple IPv6 prefixes from multiple networks, the multiple IPv6 prefixes are in one-to-one correspondence with multiple networks, and send the multiple IPv6 prefixes to the processing module 1002; the processing module 1002 is used for according to the first routing policy.
  • the first data service request includes the first IPv6 address of the terminal device, and the first IPv6 address is determined by the terminal device based on the first IPv6 prefix and the local address of the terminal device;
  • the second network is any network other than the first network in the multiple networks;
  • the second data service request includes the second IPv6 address;
  • the transceiver module 1001 is further configured to send the second data service request to the second network.
  • the first routing policy may be to determine the IPv6 prefix corresponding to the network with the highest load capacity among the multiple networks as the first IPv6 prefix.
  • the second routing strategy may be to determine the network corresponding to the data service request according to the corresponding relationship between the predetermined service and the network connection or the corresponding relationship between the terminal device and the network connection.
  • the processing module 1002 is further configured to use the first IPv6 prefix as the IPv6 prefix of the routing device.
  • the processing module 1002 when determining the second IPv6 address according to the first IPv6 address and the second IPv6 prefix corresponding to the second network, is specifically configured to: replace the first IPv6 prefix in the first IPv6 address with the second IPv6 prefix, Get the second IPv6 address.
  • the processing module 1002 before the processing module 1002 acquires the first data service request from the terminal device, the processing module 1002 is further configured to acquire the first neighbor request broadcast message from the terminal device, the first neighbor request broadcast message Including the first IPv6 address; replacing the first IPv6 prefix in the first IPv6 address with the second IPv6 prefix, to obtain the second neighbor solicitation broadcast message including the second IPv6 address; sending the second neighbor solicitation broadcast message to the transceiver module 1001; The transceiver module 1001 is further configured to send a second neighbor request broadcast message to the second network, where the second neighbor request broadcast message is used to request the second network to perform conflict detection on the second IPv6 address.
  • the processing module 1002 is further configured to send the first neighbor request broadcast message to the transceiver module 1001; the transceiver module 1001 is further configured to: send the first neighbor request broadcast message to the first network according to the first IPv6 address message, the first neighbor solicitation broadcast message is used to request the first network to perform conflict detection on the first IPv6 address.
  • the processing module 1002 is further configured to: obtain a third data service request from the terminal device, where the third data service request includes the first IPv6 address; determine that the third data service request corresponds to the first network; send the request to the transceiver module 1001 Sending a third data service request; the transceiver module 1001 is further configured to forward the third data service request to the first network according to the first IPv6 address.
  • the transceiver module 1001 is further configured to receive a fourth data service request from the second network, where the fourth data service request includes the second IPv6 address, and send the fourth data service request to the processing module 1002
  • the processing module 1002 is also used to: replace the second IPv6 prefix of the second IPv6 address with the first IPv6 prefix to generate the first IPv6 address; send the fifth data service request to the terminal device, and the fifth data service request includes the first IPv6 address.
  • the transceiver module 1001 is further configured to: receive a sixth data service request from the first network, where the sixth service data request includes the first IPv6 address, and send the sixth data service request to the processing module 1002; processing Module 1002 is further configured to: forward the sixth data service request to the terminal device according to the first IPv6 address.
  • each functional unit in the embodiments of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium.
  • the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program codes .
  • the embodiments of the present application further provide a routing device for implementing the IPv6 address configuration method provided by the embodiments of the present application.
  • the routing device 1100 may include a communication interface 1101 and one or more processors 1102.
  • the routing device 1100 may further include a memory 1103 .
  • the memory 1103 may be disposed inside the routing device 1100 or outside the routing device 1100 .
  • the communication interface 1101 can be used to send and receive messages or data, and the processor 1102 can control the communication interface 1101 to receive and send data or messages.
  • the processor 1102 may be a central processing unit (CPU), a network processor (NP), or a combination of CPU and NP.
  • the processor 1102 may further include hardware chips.
  • the above-mentioned hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof.
  • the above-mentioned PLD can be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a general-purpose array logic (generic array logic, GAL) or any combination thereof.
  • the communication interface 1101 , the processor 1102 and the memory 1103 are connected to each other.
  • the communication interface 1101, the processor 1102 and the memory 1103 can be connected to each other through a bus 1104;
  • the bus 1104 can be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus, etc.
  • PCI peripheral component interconnect standard
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus and so on. For ease of presentation, only one thick line is used in FIG. 11, but it does not mean that there is only one bus or one type of bus.
  • the memory 1103 is used to store programs and the like.
  • the program may include program code, the program code including computer operation instructions.
  • the memory 1103 may include RAM, and may also include non-volatile memory, such as one or more disk memories.
  • the processor 1102 executes the application program stored in the memory 1103, so that the routing device 1100 implements the IPv6 address configuration method shown in FIG. 8 or FIG. 9 above.
  • routing device 1100 when used to implement the IPv6 address configuration method according to the embodiment of the present application, reference may be made to the relevant descriptions in the foregoing method embodiments for specific descriptions, which will not be repeated here.
  • the embodiments of the present application further provide a communication system, which may include the routing device involved in the above embodiments, at least one terminal device (eg, STA), and at least one network.
  • a communication system which may include the routing device involved in the above embodiments, at least one terminal device (eg, STA), and at least one network.
  • the embodiments of the present application further provide a computer-readable storage medium, where the computer-readable storage medium is used to store a computer program, and when the computer program is executed by a computer, the computer can implement any of the methods provided in the foregoing method embodiments.
  • An IPv6 address configuration method An IPv6 address configuration method.
  • Embodiments of the present application further provide a computer program product, where the computer program product is used to store a computer program, and when the computer program is executed by a computer, the computer can implement any one of the IPv6 address configuration methods provided by the above method embodiments .
  • An embodiment of the present application further provides a chip, including a processor, where the processor is coupled to a memory and configured to invoke a program in the memory so that the chip implements any one of the IPv6 address configuration methods provided by the foregoing method embodiments .
  • the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions
  • the apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.

Landscapes

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

Abstract

一种IPv6地址的配置方法及路由设备,用于实现终端设备与路由设备支持的多个网络均可通信。方法为:路由设备从多个网络获取多个IPv6前缀,根据第一路由策略在多个IPv6前缀中确定第一IPv6前缀,将第一IPv6前缀分配给终端设备;第一IPv6前缀与第一网络对应;从终端设备接收包括第一IPv6地址的第一数据业务请求,根据第二路由策略确定第一数据业务请求与第二网络对应,根据第一IPv6地址和第二网络对应的第二IPv6前缀确定第二IPv6地址,向第二网络发送包括第二IPv6地址的第二数据业务请求;第一IPv6地址由终端设备基于第一IPv6前缀和本地地址确定,第二网络为多个网络中除第一网络外的任一网络。

Description

一种IPv6地址的配置方法及路由设备
相关申请的交叉引用
本申请要求在2020年12月31日提交中国专利局、申请号为202011626372.7、申请名称为“一种IPv6地址的配置方法及路由设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种互联网协议第六版(Internet protocol version 6,IPv6)地址的配置方法及路由设备。
背景技术
由于业务可靠性及带宽叠加的诉求,需要路由设备例如用户端设备(customer-premises equipment,CPE)等支持双网双通能力,例如,路由设备可以支持固定网络(简称固网)和移动网络的双上行连接,进而该路由设备为其下挂的终端设备提供上行双链路选择,从而提升业务带宽及连接可靠性。
目前,通常采用互联网协议第四版(Internet protocol version 4,IPv4)地址实现在上述路由设备支持双上行连接的场景中的业务数据传输。由于IPv4地址存在不够用的情况,因此提出来可以通过IPv6地址来替代IPv4地址。其中,IPv6地址包括128位,一般前64位为前缀(prefix),后64位为本地地址。
具体的,在IPv6地址的分配过程中,路由设备在开机连接一个网络后,连接的网络侧为路由设备分配一个IPv6 prefix,本地地址根据本地媒体介入控制(media access control,MAC)地址而确定,IPv6 prefix和本地地址组成IPv6地址,该IPv6地址即为网络侧为路由设备分配的IPv6地址。在路由设备在支持双网双通的场景时,不同的网络分配置不同的IPv6 prefix;而路由设备通过某一IPv6地址与不同的网络进行通信时,可能导致终端设备与该网络无法连接通信,导致业务失败,使得当前在路由设备的双连接场景中采用IPv6地址实现业务并不灵活。
发明内容
本申请提供一种IPv6地址的配置方法及路由设备,用以实现对路由设备下挂的终端设备的IPv6地址进行管理,从而实现终端设备与路由设备支持的多个网络之间均可以进行通信。
第一方面,本申请提供了一种IPv6地址的配置方法,该方法可以包括:路由设备从多个网络获取多个IPv6前缀,根据第一路由策略在所述多个IPv6前缀中确定第一IPv6前缀,并将所述第一IPv6前缀分配给所述路由设备连接的终端设备;所述路由设备接收来自所述终端设备的第一数据业务请求,所述第一数据业务请求中包括所述终端设备的第一IPv6地址,所述第一IPv6地址由所述终端设备基于所述第一IPv6前缀和所述终端设备的本地地址确定的;所述路由设备根据第二路由策略确定所述第一数据业务请求与第二网络对应, 然后据所述第一IPv6地址和所述第二网络对应的第二IPv6前缀确定第二IPv6地址,向所述第二网络发送第二数据业务请求,所述第二数据业务请求中包括所述第二IPv6地址;其中,所述多个IPv6前缀与所述多个网络一一对应;所述第一IPv6前缀与所述第一网络对应;所述第二网络为所述多个网络中除所述第一网络以外的任一个网络。
通过上述方法,可以使终端设备生成唯一的IPv6地址,并且在终端设备的IPv6前缀请求的业务对应的网络的IPv6前缀不一致的情况下,通过路由设备对终端设备的地址以及该网络的IPv6前缀生成新的地址,以实现终端设备与该网络之间的通信,从而可以实现终端设备与路由设备支持的多个网络之间均可以进行通信,也即可以实现终端设备可以访问不同的IPv6前缀的网络。
在一个可能的设计中,所述第一路由策略可以为将所述多个网络中负载能力最高的网络对应的IPv6前缀确定为所述第一IPv6前缀。这样所述路由设备在多个IPv6前缀中确定负载能力最高的网络对应的IPv6前缀作为最终确定的IPv6前缀,可以减少路由设备对终端设备的地址的转换,从而可以提高转发性能。
在一个可能的设计中,所述第二路由策略为根据预定业务与网络连接的对应关系或者终端设备与网络连接的对应关系,确定数据业务请求对应的网络。这样可以成功确定终端设备需要访问的网络,从而将终端设备的数据业务请求准确发送至对应的网络。
在一个可能的设计中,所述路由设备将所述第一IPv6前缀作为所述路由设备的IPv6前缀,并根据所述第一IPv6前缀和所述路由设备的本地地址确定所述路由设备的IPv6地址。这样在多连接场景下,路由设备可以有唯一的IPv6地址,可以确保通信地址单一。
在一个可能的设计中,所述路由设备根据所述第一IPv6地址和所述第二网络对应第二IPv6前缀确定所述第二IPv6地址,具体方法可以为:所述路由设备将所述第一IPv6地址中的所述第一IPv6前缀替换为所述第二IPv6前缀,得到所述第二IPv6地址。这样所述路由设备可以准确地得到对应第二网络的第二IPv6地址,以使将终端设备的数据业务请求成功地发送到访问的网络。
在一个可能的设计中,在所述路由设备接收来自所述终端设备的第一数据业务请求之前,所述路由设备还可以接收来自所述终端设备的第一邻居请求广播消息,所述第一邻居请求广播消息包括所述第一IPv6地址;所述路由设备将所述第一IPv6地址中的所述第一IPv6前缀替换为所述第二IPv6前缀,得到包括所述第二IPv6地址的第二邻居请求广播消息;所述路由设备向所述第二网络发送所述第二邻居请求广播消息,所述第二邻居请求广播消息用于请求所述第二网络对所述第二IPv6地址进行冲突检测。这样可以避免终端设备的IPv6地址在第二网络内的冲突。
在一个可能的设计中,在所述路由设备接收来自所述终端设备的第一数据业务请求之前,所述路由设备还根据所述第一IPv6地址向所述第一网络发送所述第一邻居请求广播消息,所述第一邻居请求广播消息用于请求所述第一网络对所述第一IPv6地址进行冲突检测。这样可以避免终端设备的IPv6地址在第一网络内的冲突。
在一个可能的设计中,所述路由设备接收来自所述终端设备的第三数据业务请求,第三数据业务请求中包括所述第一IPv6地址;所述路由设备根据所述第二路由策略确定所述第三数据业务请求与所述第一网络对应,根据所述第一IPv6地址将所述第三数据业务请求转发给所述第一网络。这样路由设备可以准确地将终端设备对应第一网络的数据业务请求发送至第一网络。
在一个可能的设计中,所述路由设备从所述第二网络接收第四数据业务请求,所述第四数据业务请求中包含所述第二IPv6地址;所述路由设备将所述第二IPv6地址的所述第二IPv6前缀替换为所述第一IPv6前缀生成所述第一IPv6地址,并向所述终端设备发送第五数据业务请求,所述第五数据业务请求中包括所述第一IPv6地址。这样可以实现与终端设备IPv6前缀不同的网络与终端设备的通信,也即可以实现与终端设备IPv6前缀不同的网络对终端设备的访问。
在一个可能的设计中,所述路由设备从所述第一网络接收第六数据业务请求,所述第六数据业务请求中包括所述第一IPv6地址;所述路由设备根据所述第一IPv6地址向所述终端设备转发所述第六数据业务请求。这样可以实现网络对终端设备的访问。
第二方面,本申请提供了一种路由设备,该路由设备具有实现上述第一方面或第一方面的各个可能的设计示例中路由设备的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。
在一个可能的设计中,所述路由设备的结构中可以包括收发模块和处理模块,这些模块可以执行上述第一方面或第一方面的各个可能的设计示例中路由设备的相应功能,具体参见方法示例中的详细描述,此处不做赘述。可选的,收发模块可以但不限于包括调制解调器;处理模块可以但不限于包括前缀策略模块和路由模块。
在一个可能的设计中,所述路由设备的结构中可以包括通信接口和处理器,可选的还可以包括存储器,所述通信接口可以用于收发消息或数据,以及用于与通信***中的其他设备进行通信交互,所述处理器被配置为支持所述路由设备执行上述第一方面或第一方面的各个可能的设计示例中路由设备的相应的功能。所述存储器与所述处理器耦合,其保存所述路由设备必要的程序指令和数据。
第三方面,本申请提供了一种通信***,可以包括上述提及的终端设备、路由设备和多个网络。
第四方面,本申请提供了一种计算机可读存储介质,该计算机可读存储介质存储有程序指令,当程序指令在计算机上运行时,使得计算机执行上述第一方面及其任一可能的设计。示例性的,计算机可读存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括非瞬态计算机可读介质、随机存取存储器(random-access memory,RAM)、只读存储器(read-only memory,ROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)、CD-ROM或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。
第五方面,本申请实施例提供一种包括计算机程序代码或指令的计算机程序产品,当其在计算机上运行时,使得计算机实现上述第一方面及其任一可能的设计的方法。
第六方面,本申请还提供了一种芯片,所述芯片与存储器耦合,用于读取并执行所述存储器中存储的程序指令,以实现上述第一方面及其任一可能的设计的方法。
上述第二方面至第六方面中的各个方面以及各个方面可能达到的技术效果请参照上述针对第一方面中的各种可能方案可以达到的技术效果说明,这里不再重复赘述。
附图说明
图1为本申请提供的一种路由设备IPv6地址的分配过程的示意图;
图2为本申请提供的一种组网情况的示意图;
图3为本申请提供的一种场景的示意图;
图4为本申请提供的另一种场景的示意图;
图5为本申请提供的另一种场景的示意图;
图6为本申请提供的另一种场景的示意图;
图7为本申请提供的一种业务数据包转发示意图;
图8为本申请提供的一种IPv6地址的配置方法的示例的流程图;
图9为本申请提供的另一种IPv6地址的配置方法的示例的流程图;
图10为本申请提供的一种路由设备的结构示意图;
图11为本申请提供的一种路由设备的结构图。
具体实施方式
下面将结合附图对本申请作进一步地详细描述。
本申请实施例提供一种IPv6地址的配置方法及路由设备,用以实现对路由设备下挂的终端设备的IPv6地址进行管理,从而实现终端设备与路由设备支持的多个网络之间均可以进行通信。其中,本申请所述方法和装置(即路由设备)基于同一技术构思,由于方法及装置解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。
以下,对本申请中的部分用语进行解释说明,以便于本领域技术人员理解。
1)、本申请实施例涉及的路由设备,可以为终端设备分配IPv6 prefix或IPv6地址,以及路由终端设备和网络之间的业务数据。例如,路由设备可以但不限于为CPE、路由器、无线交换机、无线局域网(wireless fidelity,WIFI)无线路由器、光网络终端、WIFI无线中继器、便携式终端热点等等。
2)、本申请实施例涉及的终端设备,可以但不限于是站点(station,STA)、手机、笔记本电脑、平板电脑、车载电脑、个人数字助理(personal digital assistant,PDA)、智能手表、个人计算机((personal computer,PC)、膝上型计算机(Laptop)等等。
应理解,在本申请中除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本申请中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。“至少一个”是指一个或者多个,“多个”是指两个或两个以上。
在本申请中,“示例性的”、“在一种可选的实施方式中”、“在另一种可选的实施方式中”等用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。
另外,本申请中涉及的“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量,也不能理解为指示或暗示顺序。
在一些实施例中,路由设备IPv6地址的分配过程可以如图1所示,其中,图1中以路由设备为CPE,以终端设备为STA示出。具体的,CPE开机连接LTE或5G网络后,网络侧为CPE分配一个IPV6 prefix,CPE根据本地媒体介入控制(media access control,MAC)地址计算出IPv6本地地址,然后组成唯一IPv6地址,该IPv6地址即为网络侧为CPE分 配的IPv6地址。当STA通过无线局域网(wireless fidelity,WIFI)接入CPE后,STA向CPE发起路由请求(router solicitation,RS),RS请求用于请求分配IPv6 prefix,CPE通过路由通告(router advertisement,RA)消息将自身的IPv6 prefix返回给STA,STA根据IPv6 prefix+本地地址生成自己的IPv6地址。
由于相同地址前缀生成的IPv6地址有可能重复,因此在CPE或STA启动生成IPv6地址前需要通过邻节点请求(neighbor solicitation,NS)请求网络对该IPv6地址进行地址冲突检测(duplicate address detection,DAD),以及通过是否接收到邻节点公告(neighbor advertisement,NA)消息来确定该IPv6地址是否存在冲突(其中收到NA消息则说明有冲突,在一段时间内没收到NA消息则说明没有冲突),进而确保该地址在该前缀域内不冲突的情况下才能正式启动该IPv6地址。
进一步地,当CPE在已经与LTE或者5G建立上行连接的基础上,再建立与固网(或第二条LTE或5G网络连接)的第二条上行IPv6连接的情况下,具体组网情况可以如图2所示。
由于CPE先与LTE/5G建立IPv6连接,此时CPE获取到IPv6 prefix 1并分配给STA 1和STA 2,CPE及STA1和STA 2的IPv6地址基于IPv6 prefix 1生成。当CPE与固网建立第二条IPv6连接时,固网为CPE分配了IPv6 prefix 2,在这种情况下,CPE及STA1和STA 2的IPv6地址的前缀仍为IPv6 prefix 1。当STA 1和STA 2根据路由规则(例如LTE/5G连接中断)经过CPE路由连接固网时,由于STA 1和STA 2的IPv6 prefix 1与固网的IPv6 prefix 2不一致,因此导致STA 1和STA 2与固网的连接无法通讯。即IPv6协议规定,STA访问网络时,携带的源地址prefix必须和网络自身的prefix相同,如果不同则该请求将被拒绝,业务无法使用,因此导致CPE采用IPv6地址实现业务并不灵活。
基于上述问题,本申请提出一种IPv6地址的管理方法,以实现对路由设备下挂的终端设备的IPv6地址进行管理,从而实现终端设备与路由设备支持的多个网络之间均可以进行通信。
本申请实施例提供的IPv6地址的管理方法可以适用于以下场景:(1)局域内网和外网需要隔离的场景,如图3所示。例如,某医院某医生在查看某病人在本医院的历史病例的情况下,采用的是医院固网,即局域内网,而该医生在访问某网页显示的新闻时,访问的是移动网络(如第五代(fifth-generation,5G)网络、长期演进(long term evolution,LTE)网络等),即外网。(2)存在一些业务需要连接固网实现,其余业务均可以通过连接移动网络实现的场景,如图4所示。例如,在某些地区,视频类业务等需要通过固网实现,游戏类业务需要移动网络实现。(3)为了网络的可靠性,采用至少两个运营商提供的移动网络的场景,如图5所示。例如,在通过终端设备直播过程中,可以通过第一运营商提供的移动网络进行视频录制业务,通过第二运营商提供的移动网络进行文本消息收发业务。应理解,上述列举的三个场景仅仅是示例性地示出,本申请实施例提供的方法还可以应用于其他路由设备支持双网络连接或者多网络连接的场景,本申请此处不再一一列举。需要说明的是,本申请涉及的双网络连接可以指路由设备分别与固网和移动网络的连接,还可以指路由设备分别与两个相同或者不同的移动网络的连接;多网络连接可以指路由设备分别与固网和移动网的多个网络连接,还可以指路由设备分别与多个移动网络的连接,本申请对此不作限定。
本申请实施例提供的IPv6地址的管理方法适用的场景可以包括至少一个终端设备、路 由设备以及至少一个网络。例如,图6示出了本申请实施例提供的IPv6地址的管理方法适用的一种示例性的场景示意图。在图6中,以终端设备为STA为例,以路由设备为CPE示出。图6示出的场景示意图可以包括两个STA(例如STA 1、STA 2)、CPE和两个网络(例如网络1和网络2)。其中,STA1和STA2均需要通过CPE连接网络1和/或网络2进行业务。具体的:
网络1和网络2可以为不同的网络,例如网络1和网络2分别为固网和移动网络,又例如网络1和网络2分别为不同的移动网络;网络1和网络2也可以为相同的移动网络。示例性的,移动网络可以为5G、LTE等,固网可以为固网电信网络,简称“固网”,是透过金属线或光纤线等固体媒体传送信号的电话网络。网络1和网络2与CPE之间分别建立IPv6连接1和IPv6连接2。网络1可以为CPE分配IPv6 prefix 1,网络2可以为CPE分配IPv6 prefix 2。
在本申请中,在CPE中增加了前缀代理(prefix proxy)功能,其功能可以通过如图6示出的前缀策略(prefix policy)模块实现。其中,prefix policy模块可以实现对STA的IPv6地址与网络连接之间的关系的管理,以使STA成功通过相应的网络进行业务。此外,CPE还可以包括图6示出的路由模块和调制解调器(modem)模块。示例性的,路由模块可以用于实现CPE与STA之间的通信。路由模块可以但不限于包括动态主机配置协议第六版(dynamic host configuration protocol version 6,DHCPv6)模块等。其中,prefix policy模块可以通过路由模块为STA 1和STA 2分配IPv6 prefix。modem模块可以用于实现CPE与网络之间的通信。CPE可以通过modem模块与网络1建立IPv6连接1,以及通过modem模块与网络2建立IPv6连接2。当modem模块与网络1建立IPv6连接1后,modem模块内部创建广域网(wide area network,WAN)1,WAN 1与IPv6连接1对应;当modem模块与网络1建立IPv6连接1后,modem模块内部创建WAN 2,WAN 2与IPv6连接2对应。
在一个实施例中,当CPE与网络1建立IPv6连接1时,CPE从网络1获取到IPv6 prefix 1,当CPE与网络2建立IPv6连接2时,CPE从网络2获取到IPv6 prefix 2。CPE将获取到的IPv6 prefix 1和IPv6 prefix 2存储到prefix policy模块,由prefix policy模块进行管理。CPE中的prefix policy模块根据第一路由策略选择一个IPv6 prefix作为CPE的IPv6 prefix,并将该IPv6 prefix通过路由模块分配给STA 1和STA 2。其中,第一路由策略可以为将负载能力高的网络连接对应的IPv6前缀作为默认IPv6前缀。在本申请中,负载能力的高低可以指网络可连接的负载业务的类型数量,或者,负载能力的高低可以指网络可连接的负载终端的数量,或者负载能力的高低还可以指网络可以并发处理负载数量或吞吐量等。当然,负载能力的高低还可以有其它解释,本申请对此不作限定。例如,prefix policy模块根据预定业务与网络连接的对应关系或STA与网络连接的对应关系确定大部分业务需要通过IPv6连接1实现,仅有小部分业务通过IPv6连接2实现,则prefix policy模块确定IPv6连接1可连接的负载较多,也即确定IPv6连接1为负载能力较高的网络连接,因此将IPv6 prefix 1作为CPE的IPv6 prefix,并将该IPv6 prefix 1通过路由模块分配给STA 1和STA 2,如图6所示。又例如,prefix policy模块确定所有业务默认连接IPv6连接1,则prefix policy模块确定IPv6连接1可连接的负载较多,也即确定IPv6连接1为负载能力较高的网络连接,则prefix policy模块将IPv6 prefix 1作为CPE的IPv6 prefix,并将该IPv6 prefix 1通过路由模块分配给STA 1和STA 2,如图6所示。又例如,prefix policy模块当确定IPv6连 接1可以并发处理数量较多的负载时,则确定IPv6连接1为负载能力较高的网络连接,prefix policy模块将IPv6 prefix 1作为CPE的IPv6 prefix,并将该IPv6 prefix 1通过路由模块分配给STA 1和STA 2,如图6所示。
CPE根据IPv6 prefix 1以及CPE的本地地址生成CPE的IPv6地址,STA 1和STA 2分别根据IPv6 prefix 1以及自身的本地地址生成自身的IPv6地址,例如,STA 1的IPv6地址为IPv6 prefix 1+地址(address,addr)1,STA 2的IPv6地址为IPv6 prefix 1+addr 2,如图6所示。需要说明的是,STA 1和STA 2在接入CPE后,向CPE发送地址请求后,CPE的prefix policy模块执行上述为STA 1和STA 2的IPv6 prefix的分配。可选的,STA可以通过无线局域网(wireless fidelity,WIFI)接入CPE。
当然,prefix policy模块还可以根据不同时段的业务需求重新确定IPv6 prefix,实现动态更新CPE的IPv6 prefix以及STA的IPv6 prefix,从而保证业务性能较好,提高传输效率。
由于基于相同的IPv6 prefix生成的IPv6地址有可能重复,因此在CPE或STA启动生成IPv6地址前需要通过邻节点请求(neighbor solicitation,NS)请求网络对该IPv6地址进行DAD冲突检测,以及通过是否接收到邻节点公告(neighbor advertisement,NA)消息来确定该IPv6地址是否存在冲突(其中收到NA消息则说明有冲突,在一段时间内没收到NA消息则说明没有冲突),进而确保该IPv6地址在该前缀域内不冲突的情况下才能正式启动该IPv6地址。具体的,例如下图8中步骤812-步骤818或者下图9中步骤912-步骤918示出的过程,某一个STA(例如STA 1)将自身的IPv6地址通过NS消息广播给CPE,以完成该STA 1的IPv6地址的DAD冲突检测。在本申请中,CPE除了完成该STA 1在IPv6地址对应的网络域内的IPv6地址的DAD冲突检测之外,CPE还将该STA 1的NS消息转发给prefix policy模块,以使prefix policy模块实现代理该STA 1的IPv6地址的DAD流程。prefix Policy模块将该STA 1的IPv6地址的前缀(例如IPv6 prefix 1)分别替换为其它网络连接(例如IPv6连接2)的IPv6 prefix(例如IPv6 prefix 2),然后构造成对应的新IPv6地址(例如IPv6 prefix 2+addr 1),再模拟STA 1通过modem模块向每个网络发送对应IPv6 Prefix的NS消息,以检测对应的IPv6地址是否在本网络域内冲突,如果prefix policy模块收到来自某个网络连接上的DAD NA应答消息,说明对应的IPv6地址采用该网络的IPv6前缀时存在冲突,则prefix policy模块将该NA应答消息通过路由模块转发给对应的STA,让其重新生成本地地址后重新发起DAD流程。如果在规定时间内STA 1没收到任何NA消息,则STA 1正式启用对应的IPv6地址(IPv6 prefix 1+addr 1)。这样,可以保证任一个STA的IPv6地址在任一个网络域内均不冲突,以保证后续业务数据的成功传输。
在本申请中,由于上述描述的prefix policy模块可以模拟STA在每个网络域使用该网络的IPv6 prefix替换STA的IPv6 prefix发起DAD冲突检测流程,对应的网络就可以记录在该网络对应的网络连接上的IPV6地址可达,进而网络侧就可以直接访问该IPv6地址,从而实现网络侧可以访问到该IPv6地址对应的STA。
进一步地,在本申请中,CPE的prefix policy模块维护了CPE的IPv6 prefix与其他网络的IPv6 prefix的映射关系,当STA在进行业务时,STA发送的业务数据包时源IP(source IP,SIP)使用STA的IPv6地址,CPE的prefix policy模块根据第二路由策略选择合适的网络连接。例如,图7所示的业务数据包转发示意图中,STA 1发送的业务数据包的SIP 1为IPv6 prefix 1+addr 1,CPE的prefix policy模块当确定STA 1的业务数据包需要转发到自身的IPv6 prefix对应的网络时,则直接通过CPE与对应的网络的IPv6连接进行数据包 转发,也即直接将STA 1的SIP 1为IPv6 prefix 1+addr 1的业务数据包转发到调制解调器模块中与网络1对应的WAN 1模块;STA 2发送的业务数据包的SIP 2为IPv6 prefix 1+addr 2,CPE的prefix policy模块当确定STA 2的业务数据包需要转发给其他网络(例如网络2)时,prefix policy模块根据存储的映射关系将业务数据包中的源IP地址的IPv6 prefix 1替换为需要连接的网络的IPv6 prefix,也即网络2的IPv6 prefix 2,生成新的业务数据包的SIP 3为IPv6 prefix 2+addr 2,然后再将处理后的业务数据包(也即SIP 3为IPv6 prefix 2+addr 2的业务数据包)通过与对应的网络的IPv6连接转发给目的网络,也即将STA 2的SIP 3为IPv6 prefix 2+addr 2的业务数据包转发到调制解调器模块中与网络2对应的WAN 2模块,以使转发到网络2。
在网络侧访问任一个IPv6地址时,网络侧的访问消息可以通过modem模块到达CPE的prefix policy模块,CPE的prefix policy模块当确定访问的IPv6地址的IPv6 prefix与自身的IPv6 prefix相同时,则直接将访问消息通过路由模块转发给IPv6地址对应的STA,当确定访问的IPv6地址的IPv6 prefix与自身的IPv6 prefix不相同时,将访问消息中的目的IPv6地址中的IPv6 prefix替换为自身的IPv6 prefix,然后将访问消息通过路由模块转发给对应的STA。
需要说明的是,图6、图7中仅以STA为两个,网络为两个为例示出,但这并不作为对本申请实施例的场景的限定。应理解,在实际场景中,可以有比两个STA更少或者更多的STA,以及有比两个网络更多的网络。并且,图6、图7中的STA可以替换为其他的终端设备,CPE可以替换为其他的路由设备,对此本申请不再一一列举说明。
基于以上实施例,图8示出了本申请实施例提供的IPv6地址的配置方法的一个具体的示例。图8所示的示例可以应用于图2或图3所示的场景下,在图8所示的示例中,以两个终端设备为STA1和STA2,以路由设备为CPE,以两个网络为固网和移动网络为例进行示例说明。具体的,该示例的具体流程可以包括以下步骤:
步骤801:CPE开机注册到固网,具体的,CPE的modem模块向固网发送第一注册消息。
具体的,在modem模块完成到固网的注册后,modem模块在内部创建WAN 1,通过WAN 1与固网连接,也即WAN 1与固网的连接对应。
步骤802:CPE的modem模块从固网获取IPv6 prefix 1。
步骤803:CPE的modem模块根据IPv6 prefix 1和CPE的本地MAC地址生成IPv6_1地址,IPv6_1地址为CPE在固网中的IPV6地址。
具体的,modem模块在生成IPv6_1后,通过NS消息广播到固网连接域内,对IPv6_1进行DAD检测,确定IPv6_1在5G1连接域内没有冲突,则将IPv6_1地址确定为CPE在5G 1网络中的IPV6地址。
在另一种实施例中,modem模块在将IPv6_1通过NS消息广播到固网连接域内后,如果收到NA消息,则CPE重新生成IPv6_1的后64位,并再次发起NS消息广播进行DAD检测。
步骤804:CPE的modem模块将固网连接的WAN 1与IPv6_1的对应关系发送给CPE的prefix policy模块。
步骤805:CPE再次注册到移动网络,具体的,CPE的modem模块向移动网络发送第二注册消息。
同理,在modem模块完成到移动网络的注册后,modem模块在内部创建WAN 2,通过WAN 2与移动网络连接,也即WAN 2与移动网络的连接对应。
步骤806:CPE的modem模块从移动网络获取IPv6 prefix 2。
步骤807:CPE的modem模块根据IPv6 prefix 2和CPE的本地MAC地址生成IPv6_2地址,IPv6_2地址为CPE在移动网络中的IPV6地址。
具体的,modem模块在生成IPv6_2后,通过NS消息广播到移动网络连接域内,对IPv6_2进行DAD检测,确定IPv6_2在移动网络连接域内没有冲突,则将IPv6_2地址确定为CPE在移动网络中的IPV6地址。
在另一种实施例中,modem模块在将IPv6_2通过NS消息广播到移动网络连接域内后,如果收到NA消息,则CPE重新生成IPv6_2的后64位,并再次发起NS消息广播进行DAD检测。
步骤808:CPE的modem模块将移动网络连接的WAN2与IPv6_2对应关系发送给CPE的prefix policy模块。
步骤809:prefix policy模块根据第一路由策略确定默认连接为固网连接,并将CPE根据IPv6 prefix 1生成的地址IPv6_1作为CPE的IPv6地址。
其中,在一些实施例中,第一路由策略可以为将负载能力高的网络连接对应的IPv6前缀作为默认IPv6前缀,prefix policy模块可以将负载能力高的网络连接作为默认连接。在本申请中,负载能力的高低可以指网络可连接的负载业务的类型数量,或者,负载能力的高低可以指网络可连接负载终端的数量,或者负载能力的高低还可以指网络可以并发处理的负载数量或吞吐量等。当然,负载能力的高低还可以有其它解释,本申请对此不作限定。
示例性的,负载能力高的网络的判断可根据预定业务与网络连接的对应关系或STA与网络连接的对应关系进行判断。例如,游戏类业务需要通过固网实现,视频类业务需要移动网络实现,语音类业务需要固网实现等等,也即游戏类业务与固网连接对应,视频类业务与移动网络连接对应,语音类业务与固网连接对应等等;在这种情况下,固网连接可以与游戏类业务和语音类业务等N种业务对应,而移动网络连接可以与视频类业务等M种业务对应,固网连接对应的N种业务多于移动网络连接对应的M种业务(即N大于M),也即负载能力高的网络连接是固网连接。又例如,在STA 1与固网连接对应,STA 2与移动网络连接对应,以及其他STA(例如STA 3等)与固网连接对应的情况下,固网连接可以与STA 1和其他STA等X个STA对应,移动网络连接可以与STA 2等Y个STA对应,固网连接对应的X个STA多于移动网络连接对应的Y个STA(即X大于Y),也即负载能力高的网络连接是固网连接。
在一些实施例中,prefix policy模块可以将并发处理负载数量较多的网络连接作为负载能力高。例如,当确定固网连接可以并发处理数量较多的负载时,则以固网连接作为默认连接。
需要说明的是,这里仅以固网连接负载能力较高,将固网连接作为默认连接为例进行说明,当确定移动网络连接负载能力较高时,则以移动网络作为默认连接,相应的IPv6_2作为CPE的IPv6地址。
步骤810:STA 1向CPE发送第一IPv6前缀请求,第一IPv6前缀请求用于为STA 1请求IPv6 prefix。
具体的,该第一IPv6前缀请求发送到CPE的路由模块,路由模块将该第一IPv6前缀请求转发到prefix policy模块。
步骤811:CPE的prefix policy模块通过路由模块将IPv6 prefix 1通过第一响应消息返回给STA 1。
步骤812:STA 1根据IPv6 prefix 1和STA 1的本地MAC地址生成STA 1的IPv6地址IPv6_1_1,并向CPE发送NS广播消息(也即第一邻居请求广播消息),以实现对IPv6_1_1地址的DAD检测,其中NS广播消息中包含IPv6_1_1。
具体的,该NS广播消息发送到CPE的路由模块,路由模块将该NS广播消息转发到modem模块。
步骤813:CPE的modem模块将STA 1的NS广播消息(也即第一邻居请求广播消息)转发给固网,以完成IPv6_1_1的IPv6的DAD检测。
步骤814:CPE的路由模块将STA 1的IPv6_1_1发送给prefix policy模块,触发prefix policy模块代理STA 1完成在移动网络连接域内的IPv6 DAD检测。
步骤815:prefix policy模块将IPv6_1_1的IPv6 prefix 1替换为IPv6 Prefix 2,重新生成移动网络连接域内的IPv6_2_1。
步骤816:prefix policy模块模拟STA 1通过modem模块向移动网络发送NS广播消息(也即第二邻居请求广播消息),以进行DAD检测,其中NS广播消息(也即第二邻居请求广播消息)中包括IPv6_2_1。
需要说明的是,在图8中,第一邻居请求广播消息和第二邻居请求广播消息均以NS广播消息示出,并示出了每个NS广播消息中包括的IPv6地址。
步骤817:如果STA 1收到来自CPE的NA消息,则代表IPv6_1_1地址在固网和移动网络域内存在冲突,则执行步骤818。
其中,该NA消息来自固网或者移动网络,具体的,固网或者移动网络将该NA消息发送给modem模块,modem模块将该NA消息转发给路由模块,路由模块再转发给STA 1。需要说明的是,在图8中仅示出NA消息从modem模块通过路由模块发送给STA 1的过程,对固网或移动网络到modem模块的过程不再示出。
步骤818:STA 1重新生成IPv6_1_1的后64位,STA 1根据IPv6 prefix 1和STA 1的本地MAC地址得到新的IPv6地址IPv6_1_3,然后再次发起NS广播消息以进行IPv6 DAD。
在另一些实施例中,如果STA 1在规定时间内未收到NA消息,则STA 1将IPv6_1_1作为自己的IPv6地址。在本实施例以下的描述中,以STA 1将IPv6_1_1作为自己的IPv6地址为例进行示例说明。
步骤819:STA 2向CPE发送第二IPv6前缀请求,第二IPv6前缀请求用于为STA 2请求IPv6 prefix。
同理,该第二IPv6前缀请求发送到CPE的路由模块,路由6模块将该第二IPv6前缀请求转发到prefix policy模块。
步骤820:CPE的prefix policy模块通过路由模块将IPv6 prefix 1通过第二响应消息返回给STA 2。
步骤821:STA 2根据IPv6 prefix 1和STA 2的本地MAC地址生成STA 2的IPv6地址IPv6_1_2,并向CPE发送NS广播消息,以实现对IPv6_1_2地址的DAD检测,其中NS广播消息中包含IPv6_1_2。
同理,该NS广播消息发送到CPE的路由模块,路由模块将该NS广播消息转发到modem模块。
步骤822:CPE的modem模块将STA 2的NS广播消息转发给固网,以完成IPv6_1_2的IPv6的DAD检测。
步骤823:CPE的路由模块将STA 2的IPv6_1_2发送给prefix policy模块,触发prefix policy模块代理STA 2完成在移动网络域内的IPv6 DAD检测。
步骤824:prefix policy模块将IPv6_1_2的IPv6 prefix 1替换为IPv6 Prefix 2,重新生成移动网络连接域内的IPv6_2_2。
步骤825:prefix policy模块模拟STA 2通过modem模块向移动网络发送NS广播消息,以进行DAD检测,其中NS广播消息中包括IPv6_2_2。
步骤826:如果STA 2收到来自CPE的NA消息,则代表IPv6_1_2地址在固网和移动网络域内存在冲突,则执行步骤827。
其中,该NA消息来自固网或者移动网络,具体的,固网网络或者移动网络将该NA消息发送给modem模块,modem模块将该NA消息转发给路由模块,路由模块再转发给STA 2。
步骤827:STA 2重新生成IPv6_1_2的后64位,STA 2根据IPv6 prefix 1和STA 2的本地MAC地址得到新的IPv6地址IPv6_1_4,然后再次发起NS广播消息以进行IPv6 DAD。
在另一些实施例中,如果STA 2在规定时间内未收到NA消息,则STA 2将IPv6_1_2作为自己的IPv6地址。在本实施例以下的描述中,以STA 2将IPv6_1_2作为自己的IPv6地址为例进行示例说明。
需要说明的是,上述步骤819-步骤827涉及的STA2的IPv6地址的生成过程与步骤810-步骤818中涉及的STA1的IPv6地址的生成过程类似,因此为了简洁,在图8中不再一一示出步骤819-步骤827的具体过程,在图8中仅概括示例,可以参见步骤810-步骤818的示例。
步骤828:STA 1向CPE发送第三数据业务请求,第三数据业务请求中的源IP地址为IPv6_1_1。
该第三数据业务请求到达CPE的路由模块。
步骤829:CPE的路由模块将第三数据业务请求转发给prefix policy模块。
步骤830:prefix policy模块根据第二路由策略确定第三数据业务请求对应的业务需要连接固网,即该业务的数据包需要路由到固网连接,则将第三数据业务请求通过modem模块基于固网连接转发到固网。
示例性的,prefix policy模块确定第三数据业务请求对应的业务的具体方法可以包括:prefix policy模块可以根据STA 1请求IPv6 prefix的消息中包含的STA 1的业务类型标识,或者根据STA 1请求DAD检测的NS消息中包含的业务类型标识确定STA 1的业务类型,也即可以确定第三数据业务请求对应的业务,然后prefix policy模块根据路由策略确定该业务需要连接固网;或者,第三数据业务请求中包含业务类型标识,prefix policy模块根据第三数据业务请求包含的业务类型标识结合路由策略,确定第三数据业务请求对应的业务需要连接固网。当然,还可以有别的方法,本申请对此不作限定。
在一个实施中,第二路由策略可以为根据预定业务与网络连接的对应关系,或根据STA与网络连接的对应关系等,确定需要连接的网络。也即prefix policy模块根据第二路由策 略确定第三数据业务请求对应的业务需要连接的网络的具体方法可以为:prefix policy模块可以根据预定业务与网络连接的对应关系,或根据STA与网络连接的对应关系等,确定需要连接的网络。示例性的,此处以prefix policy模块确定第三数据业务请求对应的业务需要连接固网为例说明。
步骤831:STA 2向CPE发送第一数据业务请求,第一数据业务请求中的源IP地址为IPv6_1_2。
该第一数据业务请求到达CPE的路由模块。
步骤832:CPE的路由模块将该第一数据业务请求转发给prefix policy模块。
步骤833:prefix policy模块根据第二路由策略确定第一数据业务请求对应的业务需要连接移动网络,即该业务的数据包需要路由到移动网络连接,则将第一数据业务请求中的源IP地址IPv6_1_2替换为IPv6_2_2,生成新的第二数据业务请求。
具体的,prefix policy模块根据第二路由策略确定第一数据业务请求对应的业务需要连接移动网络的方法,与prefix policy模块根据第二路由策略确定第三数据业务请求对应的业务需要连接固网的方法类似,可以互相参见,此处不再详细描述。
步骤834:prefix policy模块将数据业务请求3通过modem模块基于移动网络连接转发到移动网络。
步骤835:如果云侧需要通过移动网络访问STA 1,则移动网络在收到云侧的第四数据业务请求后,将第四数据业务请求转发给CPE的modem模块,其中,第四数据业务请求中的目的地址为IPv6_2_1。
需要说明的是,在图8中仅示出移动网络收到云侧的第四数据业务请求后转发的过程,不再示出移动网络从云侧接收第四数据业务请求的过程。
步骤836:CPE的modem模块将第四数据业务请求转发给prefix policy模块。
步骤837:prefix policy模块将第四数据业务请求中的目的地址IPv6_2_1替换为IPv6_1_1,生成第五数据业务请求。
具体的,prefix policy模块根据目的地址IPv6_2_1可以确定需要访问的STA为自己下挂的STA 1,然后将IPv6_2_1中的IPv6 prefix 2替换为IPv6 prefix 1得到STA 1的地址IPv6_1_1。
步骤838:prefix policy模块将第五数据业务请求发送给路由模块。
步骤839:路由模块根据第五数据业务请求中的IPv6_1_1寻址到STA 1,然后将第五数据业务请求转发给STA 1。
需要说明的是,图8中仅示出了云侧通过移动网络访问STA 1的情况,云侧通过移动网络访问STA 2的原理相同,此处不再详细描述。
在一些实施例中,如果云侧需要通过固网访问STA 1,则固网在收到云侧的第六数据业务请求后,将第六数据业务请求转发给CPE的modem模块,其中,第六数据业务请求中的目的地址为IPv6_1_1。CPE的modem模块将第六数据业务请求转发给prefix policy模块。prefix policy模块将第六数据业务请求发送给路由模块。路由模块根据第六数据业务请求中的IPv6_1_1寻址到STA 1,然后将第六数据业务请求转发给STA 1。
需要说明的是,云侧通过固网访问STA 2的原理相同,此处不再详细描述。
需要说明的是,图8中的移动网络可以为5G或者LTE或者未来的网络(例如6G),本申请对此不作限定。
又一个实施例中,图9示出了本申请实施例提供的IPv6地址的配置方法的另一个具体的示例。图9所示的示例可以应用于图5所示的场景下,在图9所示的示例中,以两个终端设备为STA1和STA2,以路由设备为CPE,以两个网络为5G1和5G2为例进行示例说明。具体的,该示例的具体流程可以包括以下步骤:
步骤901:CPE开机通过modem模块注册到5G1网络。
具体的,CPE的modem模块可以通过注册(register)消息或者协议数据单元会话建立((protocol data unit,PDU)session setup)消息注册到5G1网络。
在modem模块完成到5G1网络的注册后,modem模块在内部创建WAN 1,通过WAN 1与5G 1连接,也即WAN 1与5G 1的连接对应。
步骤902:CPE的modem模块从5G1网络获取IPv6 prefix 1。
步骤903:CPE的modem模块根据IPv6 prefix 1和CPE的本地MAC地址生成IPv6_1地址,IPv6_1地址为CPE在5G 1网络中的IPV6地址。
具体的,modem模块在生成IPv6_1后,通过邻节点请求NS消息广播到5G1连接域内,对IPv6_1进行地址冲突检测DAD检测,确定IPv6_1在5G1连接域内没有冲突,则将IPv6_1地址确定为CPE在5G 1网络中的IPV6地址。
在另一种实施例中,modem模块在将IPv6_1通过NS消息广播到5G1连接域内后,如果收到邻节点公告NA消息,则CPE重新生成IPv6_1的后64位,并再次发起NS消息广播进行DAD检测。
步骤904:CPE的modem模块将5G1连接的WAN 1与IPv6_1的对应关系发送给CPE的prefix policy模块。
步骤905:CPE通过modem模块再次注册到5G2网络。
同理,CPE可以通过register消息或者PDU session setup消息注册到5G2网络。
同理,在modem模块完成到5G2网络的注册后,modem模块在内部创建WAN 2,通过WAN 2与5G 2连接,也即WAN 2与5G 2的连接对应。
步骤906:CPE的modem模块从5G2网络获取IPv6 prefix 2。
步骤907:CPE的modem模块根据IPv6 prefix 2和CPE的本地MAC地址生成IPv6_2地址,IPv6_2地址为CPE在5G 2网络中的IPV6地址。
具体的,modem模块在生成IPv6_2后,通过NS消息广播到5G2连接域内,对IPv6_2进行DAD检测,确定IPv6_2在5G2连接域内没有冲突,则将IPv6_2地址确定为CPE在5G 2网络中的IPV6地址。
在另一种实施例中,modem模块在将IPv6_2通过NS消息广播到5G2连接域内后,如果收到NA消息,则CPE重新生成IPv6_2的后64位,并再次发起NS消息广播进行DAD检测。
步骤908:CPE的modem模块将5G2连接的WAN2与IPv6_2对应关系发送给CPE的prefix policy模块。
步骤909:prefix policy模块根据第一路由策略确定默认连接为5G1连接,并将CPE根据IPv6 prefix 1生成的地址IPv6_1作为CPE的IPv6地址。
其中,在一些实施例中,第一路由策略可以为将负载能力高的网络连接对应的IPv6前缀作为默认IPv6前缀,prefix policy模块可以将负载能力高的网络连接作为默认连接。在本申请中,负载能力的高低可以指网络可连接的负载业务的类型数量,或者,负载能力 的高低可以指网络可连接负载终端的数量,或者负载能力的高低还可以指网络可以并发处理的负载数量或吞吐量等。当然,负载能力的高低还可以有其它解释,本申请对此不作限定。
示例性的,负载能力高的网络的判断可根据预定业务与网络连接的对应关系或STA与网络连接的对应关系进行判断。例如,游戏类业务需要通过5G1实现,视频类业务需要5G2实现,语音类业务需要5G1实现等等,也即游戏类业务与5G1连接对应,视频类业务与5G2连接对应,语音类业务与5G1连接对应等等;在这种情况下,5G1连接可以与游戏类业务和语音类业务等N种业务对应,而5G2连接可以与视频类业务等M种业务对应,5G1对应的N种业务多于5G2对应的M种业务(即N大于M),也即负载能力高的网络连接是5G1连接。又例如STA 1与5G1连接对应,STA 2与5G2连接对应,以及其他STA(例如STA 3等)与5G1连接对应的情况下;5G1连接可以与STA 1和其他STA等X个STA对应,5G2连接可以与STA 2等Y个STA对应,5G1连接对应的X个STA多于5G2对应的Y个STA(即X大于Y),也即负载能力高的网络连接是5G1连接。
在一些实施例中,prefix policy模块可以将并发处理负载数量较多的网络连接作为负载能力高的网络连接。例如,当确定5G1可以并发处理数量较多的负载时,则以5G1作为默认连接。
需要说明的是,这里仅以5G1负载能力较高,将5G1连接作为默认连接为例进行说明,当确定5G2负载能力较高时,则以5G2作为默认连接,相应的IPv6_2作为CPE的IPv6地址。
步骤910:STA 1向CPE发送RS IPv6 prefix请求,RS IPv6 prefix请求用于为STA 1请求IPv6 prefix。
具体的,该RS IPv6 prefix请求发送到CPE的路由模块,路由模块将该RS IPv6 prefix请求转发到prefix policy模块。
步骤911:CPE的prefix policy模块通过路由模块将IPv6 prefix 1通过路由通告RA消息返回给STA 1。
步骤912:STA 1根据IPv6 prefix 1和STA 1的本地MAC地址生成STA 1的IPv6地址IPv6_1_1,并向CPE发送NS广播消息(也即第一邻居请求广播消息),以实现对IPv6_1_1地址的DAD检测,其中NS广播消息中包含IPv6_1_1。
具体的,该NS广播消息发送到CPE的路由模块,路由模块将该NS广播消息转发到modem模块。
步骤913:CPE的modem模块将STA 1的NS广播消息(也即第一邻居请求广播消息)转发给5G1,以完成IPv6_1_1的IPv6的DAD检测。
步骤914:CPE的路由模块将STA 1的IPv6_1_1发送给prefix policy模块,触发prefix policy模块代理STA 1完成在5G2域内的IPv6 DAD检测。
步骤915:prefix policy模块将IPv6_1_1的IPv6 prefix 1替换为IPv6 Prefix 2,重新生成5G2连接域内的IPv6_2_1。
步骤916:prefix policy模块模拟STA 1通过modem模块向5G2发送NS广播消息(也即第二邻居请求广播消息),以进行DAD检测,其中NS广播消息(也即第二邻居请求广播消息)中包括IPv6_2_1。
需要说明的是,在图9中,第一邻居请求广播消息和第二邻居请求广播消息均以NS 广播消息示出,并示出了每个NS广播消息中包括的IPv6地址。
步骤917:如果STA 1收到来自CPE的NA消息,则代表IPv6_1_1地址在5G1和5G2域内存在冲突,则执行步骤918。
其中,该NA消息来自5G1网络或者5G2网络,具体的,5G1网络或者5G2网络将该NA消息发送给modem模块,modem模块将该NA消息转发给路由模块,路由模块再转发给STA 1。需要说明的是,在图9中仅示出NA消息从modem模块通过路由模块发送给STA 1的过程,对5G网络到modem模块的过程不再示出。
步骤918:STA 1重新生成IPv6_1_1的后64位,STA 1根据IPv6 prefix 1和STA 1的本地MAC地址得到新的IPv6地址IPv6_1_3,然后再次发起NS广播消息以进行IPv6 DAD。
在另一些实施例中,如果STA 1在规定时间内未收到NA消息,则STA 1将IPv6_1_1作为自己的IPv6地址。在本实施例以下的描述中,以STA 1将IPv6_1_1作为自己的IPv6地址为例进行示例说明。
步骤919:STA 2向CPE发送RS IPv6 prefix请求,RS IPv6 prefix请求用于为STA 2请求IPv6 prefix。
同理,该RS IPv6 prefix请求发送到CPE的路由模块,路由模块将该RS IPv6 prefix请求转发到prefix policy模块。
步骤920:CPE的prefix policy模块通过路由模块将IPv6 prefix 1通过RA消息返回给STA 2。
步骤921:STA 2根据IPv6 prefix 1和STA 2的本地MAC地址生成STA 2的IPv6地址IPv6_1_2,并向CPE发送NS广播消息,以实现对IPv6_1_2地址的DAD检测,其中NS广播消息中包含IPv6_1_2。
同理,该NS广播消息发送到CPE的路由模块,路由模块将该NS广播消息转发到modem模块。
步骤922:CPE的modem模块将STA 2的NS广播消息转发给5G1,以完成IPv6_1_2的IPv6的DAD检测。
步骤923:CPE的路由模块将STA 2的IPv6_1_2发送给prefix policy模块,触发prefix policy模块代理STA 2完成在5G2域内的IPv6 DAD检测。
步骤924:prefix policy模块将IPv6_1_2的IPv6 prefix 1替换为IPv6 Prefix 2,重新生成5G2连接域内的IPv6_2_2。
步骤925:prefix policy模块模拟STA 2通过modem模块向5G2发送NS广播消息,以进行DAD检测,其中NS广播消息中包括IPv6_2_2。
步骤926:如果STA 2收到来自CPE的NA消息,则代表IPv6_1_2地址在5G1和5G2域内存在冲突,则执行步骤927。
其中,该NA消息来自5G1网络或者5G2网络,具体的,5G1网络或者5G2网络将该NA消息发送给modem模块,modem模块将该NA消息转发给路由模块,路由模块再转发给STA 2。
步骤927:STA 2重新生成IPv6_1_2的后64位,STA 2根据IPv6 prefix 1和STA 2的本地MAC地址得到新的IPv6地址IPv6_1_4,然后再次发起NS广播消息以进行IPv6 DAD。
在另一些实施例中,如果STA 2在规定时间内未收到NA消息,则STA 2将IPv6_1_2作为自己的IPv6地址。在本实施例以下的描述中,以STA 2将IPv6_1_2作为自己的IPv6 地址为例进行示例说明。
需要说明的是,上述步骤919-步骤927涉及的STA2的IPv6地址的生成过程与步骤910-步骤918中涉及的STA1的IPv6地址的生成过程类似因此为了简洁,在图9中不再一一示出步骤919-步骤927的具体过程,在图9中仅概括示例,可以参见步骤910-步骤918的示例。
步骤928:STA 1向CPE发送第三数据业务请求,第三数据业务请求中的源IP地址为IPv6_1_1。
该第三数据业务请求到达CPE的路由模块。
步骤929:CPE的路由模块将第三数据业务请求转发给prefix policy模块。
步骤930:prefix policy模块根据第二路由策略确定第三数据业务请求对应的业务需要连接5G 1,即该业务的数据包需要路由到5G1连接,则将第三数据业务请求通过modem模块基于5G1连接转发到5G1。
示例性的,prefix policy模块确定第三数据业务请求对应的业务的具体方法可以包括:prefix policy模块可以根据STA 1请求IPv6 prefix的消息中包含的STA 1的业务类型标识,或者根据STA 1请求DAD检测的NS消息中包含的业务类型标识确定STA 1的业务类型,也即可以确定第三数据业务请求对应的业务,然后prefix policy模块根据路由策略确定该业务需要连接5G 1;或者,第三数据业务请求中包含业务类型标识,prefix policy模块根据第三数据业务请求包含的业务类型标识结合路由策略,确定第三数据业务请求对应的业务需要连接5G 1。当然,还可以有别的方法,本申请对此不作限定。
在一个实施中,第二路由策略可以为根据预定业务与网络连接的对应关系,或根据STA与网络连接的对应关系等,确定需要连接的网络。也即prefix policy模块根据第二路由策略确定第三数据业务请求对应的业务需要连接的网络的具体方法可以为:prefix policy模块可以根据预定业务与网络连接的对应关系,或根据STA与网络连接的对应关系等,确定需要连接的网络。示例性的,此处以prefix policy模块确定第三数据业务请求对应的业务需要连接5G 1为例说明。
步骤931:STA 2向CPE发送第一数据业务请求,第一数据业务请求中的源IP地址为IPv6_1_2。
该第一数据业务请求到达CPE的路由模块。
步骤932:CPE的路由模块将该第一数据业务请求转发给prefix policy模块。
步骤933:prefix policy模块根据第二路由策略确定第一数据业务请求对应的业务需要连接5G 2,即该业务的数据包需要路由到5G2连接,则将第一数据业务请求中的源IP地址IPv6_1_2替换为IPv6_2_2,生成第二数据业务请求。
具体的,prefix policy模块根据第二路由策略确定第一数据业务请求对应的业务需要连接5G 2的方法,与prefix policy模块根据第二路由策略确定第三数据业务请求对应的业务需要连接5G 1的方法类似,可以互相参见,此处不再详细描述。
步骤934:prefix policy模块将第二数据业务请求通过modem模块基于5G2连接转发到5G2。
步骤935:如果云侧需要通过5G2网络访问STA 1,则5G2网络在收到云侧的第四数据业务请求后,将第四数据业务请求转发给CPE的modem模块,其中,第四数据业务请求中的目的地址为IPv6_2_1。
需要说明的是,在图9中仅示出5G 2网络收到云侧的第四数据业务请求后转发的过程,不再示出5G2网络从云侧接收第四数据业务请求的过程。
步骤936:CPE的modem模块将第四数据业务请求转发给prefix policy模块。
步骤937:prefix policy模块将第四数据业务请求中的目的地址IPv6_2_1替换为IPv6_1_1,生成第五数据业务请求。
具体的,prefix policy模块根据目的地址IPv6_2_1可以确定需要访问的STA为自己下挂的STA 1,然后将IPv6_2_1中的IPv6 prefix 2替换为IPv6 prefix 1得到STA 1的地址IPv6_1_1。
步骤938:prefix policy模块将第五数据业务请求发送给路由模块。
步骤939:路由模块根据第五数据业务请求中的IPv6_1_1寻址到STA 1,然后将第五数据业务请求转发给STA 1。
需要说明的是,图9中仅示出了云侧通过5G 2访问STA 1的情况,云侧通过5G2访问STA 2的原理相同,此处不再详细描述。
在一些实施例中,如果云侧需要通过5G1网络访问STA 1,则5G1网络在收到云侧的第六数据业务请求后,将第六数据业务请求转发给CPE的modem模块,其中,第六数据业务请求中的目的地址为IPv6_1_1。CPE的modem模块将第六数据业务请求转发给prefix policy模块。prefix policy模块将第六数据业务请求发送给路由模块。路由模块根据第六数据业务请求中的IPv6_1_1寻址到STA 1,然后将第六数据业务请求转发给STA 1。
需要说明的是,云侧通过5G1访问STA 2的原理相同,此处不再详细描述。
需要说明的是,图9中的5G1可以替换为LTE1,5G2可以替换为LTE2,流程不变,可以参见上述流程,此处不再详细描述。
基于以上实施例,本申请实施例提供了一种路由设备,用于实现本申请实施例提供的IPv6地址的配置方法。示例性的,参阅图10所示,路由设备1000可以包括收发模块1001和处理模块1002。其中,收发模块1001可以但不限于实现图8、图9中调制解调器的功能,处理模块1002可以但不限于实现图8、图9中路由模块和前缀策略模块的功能。具体的,路由设备1000在实现本申请实施例提供的IPv6地址的配置方法时,具体可以包括:
收发模块1001,用于从多个网络获取多个IPv6前缀,多个IPv6前缀与多个网络一一对应,将多个IPv6前缀发送至处理模块1002;处理模块1002,用于根据第一路由策略在多个IPv6前缀中确定第一IPv6前缀,并将第一IPv6前缀分配给路由设备连接的终端设备,第一IPv6前缀与第一网络对应;以及,获取来自终端设备的第一数据业务请求,第一数据业务请求中包括终端设备的第一IPv6地址,第一IPv6地址由终端设备基于第一IPv6前缀和终端设备的本地地址确定的;以及,根据第二路由策略确定第一数据业务请求与第二网络对应,第二网络为多个网络中除第一网络以外的任一个网络;以及,根据第一IPv6地址和第二网络对应第二IPv6前缀确定第二IPv6地址,向收发模块1001发送第二业务请求,第二数据业务请求中包括第二IPv6地址;收发模块1001,还用于向第二网络发送第二数据业务请求。
一种示例中,第一路由策略可以为将所述多个网络中负载能力最高的网络对应的IPv6前缀确定为所述第一IPv6前缀。
另一种示例中,第二路由策略可以为根据预定业务与网络连接的对应关系或者终端设 备与网络连接的对应关系,确定数据业务请求对应的网络。
在一种具体的实施方式中,处理模块1002还用于将第一IPv6前缀作为路由设备的IPv6前缀。
具体的,处理模块1002在根据第一IPv6地址和第二网络对应第二IPv6前缀确定第二IPv6地址时,具体用于:将第一IPv6地址中的第一IPv6前缀替换为第二IPv6前缀,得到第二IPv6地址。
在一种可选的实施方式中,在处理模块1002获取来自终端设备的第一数据业务请求之前,处理模块1002还用于获取来自终端设备的第一邻居请求广播消息,第一邻居请求广播消息包括第一IPv6地址;将第一IPv6地址中的第一IPv6前缀替换为第二IPv6前缀,得到包括第二IPv6地址的第二邻居请求广播消息;向收发模块1001发送第二邻居请求广播消息;收发模块1001还用于向第二网络发送第二邻居请求广播消息,第二邻居请求广播消息用于请求第二网络对第二IPv6地址进行冲突检测。
在一种可选的实施方式中,处理模块1002还用于向收发模块1001发送第一邻居请求广播消息;收发模块1001还用于:根据第一IPv6地址向第一网络发送第一邻居请求广播消息,第一邻居请求广播消息用于请求第一网络对第一IPv6地址进行冲突检测。
示例性的,处理模块1002还用于:获取来自终端设备的第三数据业务请求,第三数据业务请求中包括第一IPv6地址;确定第三数据业务请求与第一网络对应;向收发模块1001发送第三数据业务请求;收发模块1001,还用于根据第一IPv6地址将第三数据业务请求转发给第一网络。
在一种示例性的实施方式中,收发模块1001还用于从第二网络接收第四数据业务请求,第四数据业务请求中包含第二IPv6地址,将第四数据业务请求发送至处理模块1002;处理模块1002还用于:将第二IPv6地址的第二IPv6前缀替换为第一IPv6前缀生成第一IPv6地址;向终端设备发送第五数据业务请求,第五数据业务请求中包括第一IPv6地址。
在一种实施例中,收发模块1001还用于:从第一网络接收第六数据业务请求,第六业务数据请求中包括第一IPv6地址,将第六数据业务请求发送至处理模块1002;处理模块1002还用于:根据第一IPv6地址向终端设备转发第六数据业务请求。
需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。在本申请的实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
基于以上实施例,本申请实施例还提供了一种路由设备,用于实现本申请实施例提供的IPv6地址的配置方法。示例性的,参阅图11所示,该路由设备1100可以包括通信接口 1101以及一个或多个处理器1102。可选的,路由设备1100还可以包括存储器1103。其中,所述存储器1103可以设置于路由设备1100内部,还可以设置于路由设备1100外部。通信接口1101可以用于收发消息或数据,处理器1102可以控制通信接口1101接收和发送数据或消息。
具体的,处理器1102可以是中央处理器(central processing unit,CPU),网络处理器(network processor,NP)或者CPU和NP的组合。处理器1102还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(application-specific integrated circuit,ASIC),可编程逻辑器件(programmable logic device,PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(complex programmable logic device,CPLD),现场可编程逻辑门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。
其中,通信接口1101、处理器1102和存储器1103之间相互连接。可选的,通信接口1101、处理器1102和存储器1103可以通过总线1104相互连接;总线1104可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图11中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
在一种可选的实施方式中,存储器1103,用于存放程序等。具体地,程序可以包括程序代码,该程序代码包括计算机操作指令。存储器1103可能包括RAM,也可能还包括非易失性存储器(non-volatile memory),例如一个或多个磁盘存储器。处理器1102执行存储器1103所存放的应用程序,使得路由设备1100实现上述图8或图9所示的IPv6地址的配置方法。
具体的,该路由设备1100在用于实现本申请实施例的IPv6地址的配置方法时,具体描述可以参见上述方法实施例中的相关描述,此处不再重复赘述。
基于以上实施例,本申请实施例还提供一种通信***,该通信***可以包括上述实施例涉及的路由设备、至少一个终端设备(例如STA)和至少一个网络。
基于以上实施例,本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质用于存储计算机程序,该计算机程序被计算机执行时,所述计算机可以实现上述方法实施例提供的任一种IPv6地址的配置方法。
本申请实施例还提供一种计算机程序产品,所述计算机程序产品用于存储计算机程序,该计算机程序被计算机执行时,所述计算机可以实现上述方法实施例提供的任一种IPv6地址的配置方法。
本申请实施例还提供一种芯片,包括处理器,所述处理器与存储器耦合,用于调用所述存储器中的程序使得所述芯片实现上述方法实施例提供的任一种IPv6地址的配置方法。
本领域内的技术人员应明白,本申请的实施例可提供为方法、***、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请的方法、设备(***)、和计算机程序产品的流程图和/或 方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (21)

  1. 一种互联网协议第六版IPv6地址的配置方法,其特征在于,包括:
    路由设备从多个网络获取多个IPv6前缀,所述多个IPv6前缀与所述多个网络一一对应;
    所述路由设备根据第一路由策略在所述多个IPv6前缀中确定第一IPv6前缀,并将所述第一IPv6前缀分配给所述路由设备连接的终端设备,所述第一IPv6前缀与所述第一网络对应;
    所述路由设备接收来自所述终端设备的第一数据业务请求,所述第一数据业务请求中包括所述终端设备的第一IPv6地址,所述第一IPv6地址由所述终端设备基于所述第一IPv6前缀和所述终端设备的本地地址确定的;
    所述路由设备根据第二路由策略确定所述第一数据业务请求与第二网络对应,所述第二网络为所述多个网络中除所述第一网络以外的任一个网络;
    所述路由设备根据所述第一IPv6地址和所述第二网络对应的第二IPv6前缀确定第二IPv6地址;
    所述路由设备向所述第二网络发送第二数据业务请求,所述第二数据业务请求中包括所述第二IPv6地址。
  2. 如权利要求1所述的方法,其特征在于,所述第一路由策略为将所述多个网络中负载能力最高的网络对应的IPv6前缀确定为所述第一IPv6前缀。
  3. 如权利要求1或2所述的方法,其特征在于,所述第二路由策略为根据预定业务与网络连接的对应关系或者终端设备与网络连接的对应关系,确定数据业务请求对应的网络。
  4. 如权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:
    所述路由设备将所述第一IPv6前缀作为所述路由设备的IPv6前缀;
    所述路由设备根据所述第一IPv6前缀和所述路由设备的本地地址确定所述路由设备的IPv6地址。
  5. 如权利要求1-4任一项所述的方法,其特征在于,所述路由设备根据所述第一IPv6地址和所述第二网络对应第二IPv6前缀确定所述第二IPv6地址,包括:
    所述路由设备将所述第一IPv6地址中的所述第一IPv6前缀替换为所述第二IPv6前缀,得到所述第二IPv6地址。
  6. 如权利要求1-5任一项所述的方法,其特征在于,在所述路由设备接收来自所述终端设备的第一数据业务请求之前,所述方法还包括:
    所述路由设备接收来自所述终端设备的第一邻居请求广播消息,所述第一邻居请求广播消息包括所述第一IPv6地址;
    所述路由设备将所述第一IPv6地址中的所述第一IPv6前缀替换为所述第二IPv6前缀,得到包括所述第二IPv6地址的第二邻居请求广播消息;
    所述路由设备向所述第二网络发送所述第二邻居请求广播消息,所述第二邻居请求广播消息用于请求所述第二网络对所述第二IPv6地址进行冲突检测。
  7. 如权利要求6所述的方法,其特征在于,在所述路由设备接收来自所述终端设备的第一数据业务请求之前,所述方法还包括:
    所述路由设备根据所述第一IPv6地址向所述第一网络发送所述第一邻居请求广播消 息,所述第一邻居请求广播消息用于请求所述第一网络对所述第一IPv6地址进行冲突检测。
  8. 如权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:
    所述路由设备接收来自所述终端设备的第三数据业务请求,第三数据业务请求中包括所述第一IPv6地址;
    所述路由设备根据所述第二路由策略确定所述第三数据业务请求与所述第一网络对应;
    所述路由设备根据所述第一IPv6地址将所述第三数据业务请求转发给所述第一网络。
  9. 如权利要求1-8任一项所述的方法,其特征在于,所述方法还包括:
    所述路由设备从所述第二网络接收第四数据业务请求,所述第四数据业务请求中包含所述第二IPv6地址;
    所述路由设备将所述第二IPv6地址的所述第二IPv6前缀替换为所述第一IPv6前缀生成所述第一IPv6地址;
    所述路由设备向所述终端设备发送第五数据业务请求,所述第五数据业务请求中包括所述第一IPv6地址。
  10. 如权利要求1-9任一项所述的方法,其特征在于,所述方法还包括:
    所述路由设备从所述第一网络接收第六数据业务请求,所述第六数据业务请求中包括所述第一IPv6地址;
    所述路由设备根据所述第一IPv6地址向所述终端设备转发所述第六数据业务请求。
  11. 一种路由设备,其特征在于,包括收发模块和处理模块,其中:
    所述收发模块,用于从多个网络获取多个IPv6前缀,所述多个IPv6前缀与所述多个网络一一对应,将所述多个IPv6前缀发送至所述处理模块;
    所述处理模块,用于根据第一路由策略在所述多个IPv6前缀中确定第一IPv6前缀,并将所述第一IPv6前缀分配给路由设备连接的终端设备,所述第一IPv6前缀与所述第一网络对应;以及
    获取来自所述终端设备的第一数据业务请求,所述第一数据业务请求中包括所述终端设备的第一IPv6地址,所述第一IPv6地址由所述终端设备基于所述第一IPv6前缀和所述终端设备的本地地址确定的;以及
    根据第二路由策略确定所述第一数据业务请求与第二网络对应,所述第二网络为所述多个网络中除所述第一网络以外的任一个网络;以及
    根据所述第一IPv6地址和所述第二网络对应第二IPv6前缀确定第二IPv6地址,向所述收发模块发送第二业务请求,所述第二数据业务请求中包括所述第二IPv6地址;
    所述收发模块,还用于向所述第二网络发送所述第二数据业务请求。
  12. 如权利要求11所述的路由设备,其特征在于,所述处理模块,还用于:
    将所述第一IPv6前缀作为所述路由设备的IPv6前缀。
  13. 如权利要求11-12任一项所述的路由设备,其特征在于,所述处理模块,在根据所述第一IPv6地址和所述第二网络对应第二IPv6前缀确定所述第二IPv6地址时,具体用于:
    将所述第一IPv6地址中的所述第一IPv6前缀替换为所述第二IPv6前缀,得到所述第二IPv6地址。
  14. 如权利要求11-13任一项所述的路由设备,其特征在于,
    在所述处理模块获取来自所述终端设备的第一数据业务请求之前,所述处理模块还用 于获取来自所述终端设备的第一邻居请求广播消息,所述第一邻居请求广播消息包括所述第一IPv6地址;
    将所述第一IPv6地址中的所述第一IPv6前缀替换为所述第二IPv6前缀,得到包括所述第二IPv6地址的第二邻居请求广播消息;
    向所述收发模块发送所述第二邻居请求广播消息;
    所述收发模块还用于向所述第二网络发送所述第二邻居请求广播消息,所述第二邻居请求广播消息用于请求所述第二网络对所述第二IPv6地址进行冲突检测。
  15. 如权利要求14所述的路由设备,其特征在于,
    所述处理模块还用于向所述收发模块发送所述第一邻居请求广播消息;
    所述收发模块,还用于:
    根据所述第一IPv6地址向所述第一网络发送所述第一邻居请求广播消息,所述第一邻居请求广播消息用于请求所述第一网络对所述第一IPv6地址进行冲突检测。
  16. 如权利要求11-15任一项所述的路由设备,其特征在于,所述处理模块,还用于:
    获取来自所述终端设备的第三数据业务请求,所述第三数据业务请求中包括所述第一IPv6地址;
    确定所述第三数据业务请求与所述第一网络对应;
    向所述收发模块发送所述第三数据业务请求;
    所述收发模块,还用于根据所述第一IPv6地址将所述第三数据业务请求转发给所述第一网络。
  17. 如权利要求11-16任一项所述的路由设备,其特征在于,
    所述收发模块,还用于从所述第二网络接收第四数据业务请求,所述第四数据业务请求中包含所述第二IPv6地址,将所述第四数据业务请求发送至所述处理模块;
    所述处理模块,还用于:
    将所述第二IPv6地址的所述第二IPv6前缀替换为所述第一IPv6前缀生成所述第一IPv6地址;
    向所述终端设备发送所述第五数据业务请求,所述第五数据业务请求中包括所述第一IPv6地址。
  18. 如权利要求11-17任一项所述的路由设备,其特征在于,所述收发模块,还用于:
    从所述第一网络接收第六数据业务请求,所述第六业务数据请求中包括所述第一IPv6地址,将所述第六数据业务请求发送至所述处理模块;
    所述处理模块,还用于:
    根据所述第一IPv6地址向所述终端设备转发所述第六数据业务请求。
  19. 一种路由设备,其特征在于,包括:
    通信接口,用于收发消息或数据;
    处理器,用于与存储器耦合,调用所述存储器中的程序使得所述路由设备执行如权利要求1-10中任一项所述的方法。
  20. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令在被所述计算机调用时用于使所述计算机执行上述权利要求1-10中任一项所述的方法。
  21. 一种芯片,其特征在于,所述芯片与存储器耦合,用于读取并执行所述存储器中存 储的程序指令,以实现如权利要求1-10任一项所述的方法。
PCT/CN2021/138051 2020-12-31 2021-12-14 一种IPv6地址的配置方法及路由设备 WO2022143161A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US18/270,333 US20240106795A1 (en) 2020-12-31 2021-12-14 Ipv6 address configuration method and routing device
EP21913902.9A EP4254899A4 (en) 2020-12-31 2021-12-14 PROCEDURE FOR CONFIGURING IPV6 ADDRESSES AND ROUTING DEVICE

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011626372.7A CN114765600B (zh) 2020-12-31 2020-12-31 一种IPv6地址的配置方法及路由设备
CN202011626372.7 2020-12-31

Publications (1)

Publication Number Publication Date
WO2022143161A1 true WO2022143161A1 (zh) 2022-07-07

Family

ID=82260207

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/138051 WO2022143161A1 (zh) 2020-12-31 2021-12-14 一种IPv6地址的配置方法及路由设备

Country Status (4)

Country Link
US (1) US20240106795A1 (zh)
EP (1) EP4254899A4 (zh)
CN (2) CN114765600B (zh)
WO (1) WO2022143161A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117640368A (zh) * 2022-08-19 2024-03-01 华为技术有限公司 一种家庭网络的路由方法、接入设备及介质
CN116055453B (zh) * 2023-03-06 2023-06-13 广州市高科通信技术股份有限公司 地址前缀确定方法、装置、cpe及计算机可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753635A (zh) * 2008-12-17 2010-06-23 华为技术有限公司 Ipv6地址配置方法和***
US20110087991A1 (en) * 2009-10-13 2011-04-14 Fluke Corporation Methods and Apparatus for Reliable Entry and Enhanced Presentation of IPv6 Addresses
CN102984288A (zh) * 2012-11-19 2013-03-20 中兴通讯股份有限公司 一种自动管理IPv6地址冲突的方法及***
CN106331191A (zh) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 一种访问IPv6网络的方法及网关
CN110337836A (zh) * 2017-02-27 2019-10-15 英特尔Ip公司 用于管理多个锚点以用于多归属的***、方法和装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2735284A1 (en) * 2008-08-29 2010-03-04 Anders E. Eriksson Prefix delegation in a communication network
US8681695B1 (en) * 2009-10-14 2014-03-25 Juniper Networks, Inc. Single address prefix allocation within computer networks
CN102340452B (zh) * 2011-10-14 2018-03-02 中兴通讯股份有限公司 一种基于单个IPv6地址前缀实现路由传输的方法和无线设备
US9608913B1 (en) * 2014-02-24 2017-03-28 Google Inc. Weighted load balancing in a multistage network
US10033635B2 (en) * 2015-11-11 2018-07-24 Fastly, Inc. Enhanced infrastructure routing with prefixed network addressing in content delivery networks
CN107580079B (zh) * 2017-08-31 2020-12-29 新华三技术有限公司 一种报文传输方法和装置
CN109120741B (zh) * 2018-08-27 2020-10-02 南京中兴新软件有限责任公司 一种重复地址检测方法及装置、计算机可读存储介质
CN110913031A (zh) * 2019-11-15 2020-03-24 西安居正知识产权运营管理有限公司 一种IPv6网络地址配置方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101753635A (zh) * 2008-12-17 2010-06-23 华为技术有限公司 Ipv6地址配置方法和***
US20110087991A1 (en) * 2009-10-13 2011-04-14 Fluke Corporation Methods and Apparatus for Reliable Entry and Enhanced Presentation of IPv6 Addresses
CN102984288A (zh) * 2012-11-19 2013-03-20 中兴通讯股份有限公司 一种自动管理IPv6地址冲突的方法及***
CN106331191A (zh) * 2015-06-19 2017-01-11 中兴通讯股份有限公司 一种访问IPv6网络的方法及网关
CN110337836A (zh) * 2017-02-27 2019-10-15 英特尔Ip公司 用于管理多个锚点以用于多归属的***、方法和装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4254899A4 *

Also Published As

Publication number Publication date
EP4254899A1 (en) 2023-10-04
EP4254899A4 (en) 2024-06-05
CN114765600B (zh) 2023-10-20
CN117459497A (zh) 2024-01-26
US20240106795A1 (en) 2024-03-28
CN114765600A (zh) 2022-07-19

Similar Documents

Publication Publication Date Title
KR101346407B1 (ko) 통신 방법, 통신 과정 중의 데이터 메시지 전달 방법 및 통신 노드
US8509244B2 (en) Method and apparatus for providing host node awareness for multiple NAT64 environments
WO2022143161A1 (zh) 一种IPv6地址的配置方法及路由设备
RU2536374C2 (ru) Способ, устройство и система для обеспечения доступа к услуге мобильной станцией
US10945180B2 (en) Mobility management method, apparatus, and system
US9641433B2 (en) Method, routing bridge, and system for sending packet
CN111107672B (zh) 一种建立多路径连接的子流的方法、装置和***
WO2020108438A1 (zh) 一种接入***、方法及装置
WO2021027858A1 (zh) Rlc信道确定方法和装置
WO2021197155A1 (zh) 一种通信方法及装置
KR101159434B1 (ko) 네트워크 할당
US11936614B2 (en) Method and apparatus for sending reply packet, computing device, and storage medium
WO2021052109A1 (zh) 通信方法及装置
CN109196895B (zh) 一种报文传输方法、装置及***
WO2022007657A1 (zh) 一种域名***请求的发送方法及装置
WO2014169590A1 (zh) 一种数据业务通信方法、设备及***
CN106656718B (zh) VxLAN网关以及基于VxLAN网关实现的主机接入互联网的方法
US20240048527A1 (en) Information processing method, device, related apparatus and storage medium
JP2008517521A (ja) Sgsnとggsnの統合
KR20120035925A (ko) 모바일 호스트와 상대 노드 사이의 통신을 초기화하기 위한 방법
WO2022141528A1 (zh) 一种确定mec接入点的方法及装置
US20240154936A1 (en) Proxy address resolution protocol for distributed local area network communications
WO2023185992A1 (zh) 中继通信方法与装置
KR20230157048A (ko) 데이터 게이트웨이 장치 및 그 장치에서 수행되는 QoS 제어 방법, 단말장치
CN118175136A (zh) 通信方法、装置及设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21913902

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18270333

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2021913902

Country of ref document: EP

Effective date: 20230629

NENP Non-entry into the national phase

Ref country code: DE