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

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

Info

Publication number
WO2022160982A1
WO2022160982A1 PCT/CN2021/137850 CN2021137850W WO2022160982A1 WO 2022160982 A1 WO2022160982 A1 WO 2022160982A1 CN 2021137850 W CN2021137850 W CN 2021137850W WO 2022160982 A1 WO2022160982 A1 WO 2022160982A1
Authority
WO
WIPO (PCT)
Prior art keywords
vlan
correspondence
identifier
network slice
ipv6
Prior art date
Application number
PCT/CN2021/137850
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 华为技术有限公司
Publication of WO2022160982A1 publication Critical patent/WO2022160982A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • 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
    • 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
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • 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
    • H04L61/00Network arrangements, protocols or services for addressing or naming

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
  • each network slice path corresponds to an Internet protocol version 6 (Internet protocol version 6, IPv6) prefix.
  • IPv6 prefix When routing equipment such as customer premises equipment (CPE) and its connected terminal equipment support IPv6, after the routing equipment is connected to the 5G network, different 5G network slices allocate different routing equipment to the routing equipment. IPv6 prefix, the routing device periodically sends a router advertisement (RA) message to the terminal device that is connected to the downlink, so as to assign an IPv6 prefix to the terminal device. For example, the routing device first obtains the IPv6 prefix 1 corresponding to the network slice 1 from the network side, and multicasts it to PC1 and PC2 connected to the routing device. After that, the routing device obtains the IPv6 prefix 2 corresponding to the network slice 2 from the network side.
  • RA router advertisement
  • the present application provides an IPv6 address configuration method and a routing device, which are used to reasonably allocate IPv6 prefixes to terminal devices attached to the routing device, thereby realizing rational use of multiple network slices.
  • the present application provides a method for configuring an IPv6 address.
  • the method includes: a routing device obtains a first IPv6 prefix from a first network slice, and the routing device determines the first IPv6 prefix according to the first correspondence and the identifier of the first network slice.
  • the identifier of the virtual local area network VLAN, the first correspondence indicates that the identifier of the first network slice corresponds to the identifier of the first VLAN, and the routing device sends a first routing advertisement packet to the terminal device under the first VLAN, and the first routing advertisement packet includes The first IPv6 prefix.
  • the routing device can determine the identifier of the first VLAN corresponding to the identifier of the first network slice according to the first correspondence, so as to realize the assignment of the first IPv6 prefix obtained from the first network slice to the specified first IPv6 prefix.
  • the terminal equipment under one VLAN can realize the reasonable allocation of IPv6 prefixes, and then can realize the rational use of multiple network slices when the terminal equipment initiates a data service request.
  • the routing device may also determine the first network slice from the set of correspondences according to the identifier of the first network slice.
  • the correspondence relationship, the correspondence relationship set further includes a second correspondence relationship, wherein the second correspondence relationship indicates that the second network slice corresponds to the second VLAN.
  • the method further includes: the routing device receives a first data service request from the first terminal device, the first data service request includes the first IPv6 address of the first terminal device, and the first IPv6 address is sent by the first The terminal device determines based on the first IPv6 prefix and the local address of the first terminal device, the routing device determines the first network slice corresponding to the first data service request according to the routing policy and the first IPv6 address, and the routing device sends the first network slice to the first network slice.
  • a data service request receives a first data service request from the first terminal device, the first data service request includes the first IPv6 address of the first terminal device, and the first IPv6 address is sent by the first The terminal device determines based on the first IPv6 prefix and the local address of the first terminal device, the routing device determines the first network slice corresponding to the first data service request according to the routing policy and the first IPv6 address, and the routing device sends the first network slice to the first network slice.
  • a data service request is a data
  • the routing device receives the second data service request from the second terminal device, the second data service request includes the second IPv6 address of the second terminal device, and the second IPv6 address is provided by the second terminal device based on the second IPv6 prefix and the first IPv6 address.
  • the local address of the second terminal device is determined, the routing device determines the second network slice corresponding to the second data service request according to the routing policy and the second IPv6 address, and the routing device sends the second data service request to the second network slice.
  • the routing strategy is to determine the network slice corresponding to the data service request according to the correspondence between the IPV6 prefix and the identifier of the network slice.
  • the method further includes: the routing device receives a configuration packet from a third terminal device, where the configuration packet includes the first correspondence and the second correspondence, and the routing The device stores the first correspondence and the second correspondence according to the first message.
  • the first correspondence is determined according to the service type of the terminal device under the first VLAN and the identifier of the network slice.
  • the identifier of the first VLAN corresponds to the identifier of the low-latency network slice; or, if the terminal under the first VLAN The service type of the device is a media service, then the identifier of the first VLAN corresponds to the identifier of the high-bandwidth network slice; or, if the service type of the terminal device under the first VLAN is a data service, the identifier of the first VLAN is the same as that of the high-bandwidth network slice.
  • the identifier of the multi-connected network slice corresponds. In this way, multiple network slices can be used more reasonably and fully.
  • 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 network architecture diagram of a communication system to which an embodiment of the application is applicable;
  • FIG. 2 is a schematic diagram of an IPv6 address to which the embodiment of the application is applied;
  • FIG. 3 is a schematic diagram of obtaining an IPv6 prefix by a PC according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of obtaining an IPv6 prefix by a PC according to an embodiment of the present application
  • FIG. 5 is a schematic diagram of a scenario to which a method for configuring an IPv6 address provided by an embodiment of the present application is applicable;
  • FIG. 6 is a schematic flowchart corresponding to a method for configuring an IPv6 address according to an embodiment of the present application
  • FIG. 7 is a schematic diagram of a scenario to which another method for configuring an IPv6 address provided by an embodiment of the present application is applicable;
  • FIG. 8A is a schematic diagram of a configuration interface provided by an embodiment of the present application.
  • FIG. 8B is a schematic diagram of another configuration interface provided by an embodiment of the present application.
  • FIG. 9A to FIG. 9F are schematic diagrams of a set of configuration interfaces provided by an embodiment of the present application.
  • 10A is a schematic diagram of a packet routing path provided by an embodiment of the present application.
  • FIG. 10B is a schematic diagram of a data packet provided by an embodiment of the present application.
  • FIG. 11 is a schematic flowchart corresponding to another method for configuring an IPv6 address provided by an embodiment of the present application.
  • FIG. 12 is a schematic flowchart corresponding to another method for configuring an IPv6 address provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a routing device provided by an embodiment of the present application.
  • FIG. 14 is another schematic structural diagram of a routing device provided by an embodiment of the present application.
  • Embodiments of the present application provide an IPv6 address configuration method and a routing device, which are used to reasonably allocate IPv6 prefixes corresponding to different network slices to terminal devices attached to the routing device, thereby realizing rational use of multiple network slices.
  • a routing device generally allocates an IPv4 address to a terminal device. With the widespread popularity of IPv6, when both the routing device and the terminal device support IPv6, the routing device will allocate an IPv6 address to the terminal device. It mainly discusses the scenario of assigning IPv6 addresses to terminal devices.
  • FIG. 1 exemplarily shows a network architecture of a communication system to which the embodiments of the present application are applied.
  • the communication system includes a terminal device 101 and a routing device 102 . Further, the communication system may further include a gateway 103 .
  • Terminal device 101 refers to various electronic devices that need to surf the Internet (for example, connected to the IPv6 public network), which may include but are not limited to stations (station, STA), mobile phones, laptop computers, tablet computers, on-board computers, personal digital assistants ( personal digital assistant, PDA), smart watch, personal computer (personal computer, PC), laptop computer (Laptop), etc.
  • the terminal device 101 can be connected to the routing device through a network cable or a wireless local area network (wireless fidelity, WIFI). connection, and then communicate with the IPv6 public network.
  • WIFI wireless local area network
  • the routing device 102 allocates an IPv6 prefix or IPv6 address to the terminal device, and routes service data between the terminal device and the network.
  • the routing device 102 may include, but is not limited to, a CPE, a router, a wireless switch, a wireless local area network (wireless fidelity, WIFI) wireless router, an optical network terminal, a WIFI wireless repeater, a portable terminal hotspot, and the like.
  • the routing device may include a local area network port connected to the terminal device and a wide area network port connected to the gateway, and correspondingly communicate with the terminal device through the local area network port and communicate with the gateway through the WAN port.
  • the gateway 103 is a gateway device located at the edge of the IPv6 backbone network.
  • the gateway may be a broadband remote access server (BRAS) or a border router (BR).
  • BRAS broadband remote access server
  • BR border router
  • the gateway 103 is used to connect to the IPv6 public network.
  • the IPv6 public network can be a mobile network or a fixed network.
  • the mobile network can be 5G, LTE, etc.
  • the fixed network can be a fixed telecommunication network, referred to as "fixed network", which is transmitted through solid media such as metal wires or optical fibers. Signal telephone network.
  • the IPv6 public network includes multiple network slices, which can be understood as cutting the operator's physical network into multiple virtual end-to-end networks.
  • Each virtual network (including the wireless access network, bearer network, and core network) is logically connected. Independently, the failure of any one virtual network will not affect other virtual networks.
  • relatively independent management and operation and maintenance between businesses are required, and tailored business functions and analysis capabilities are provided.
  • Instances of different service types can be deployed on different network slices, and different instances of the same service type can also be deployed on different network slices.
  • a slice can be composed of a set of network functions (NF) and/or sub-networks, etc. .
  • IPv6 public network as the 5G network
  • routing device as the CPE
  • the communication system may include one or more terminal devices, and the routing device may be connected to each terminal device through different local area network ports. There is no specific limitation in the application. Similarly, the communication system may also include multiple routing devices, which is also not limited.
  • IPv6 addresses there are generally two ways to allocate IPv6 addresses.
  • One allocation method is stateful address automatic configuration, also known as the dynamic host configuration protocol for IPv6 (DHCPv6) method under IPv6.
  • the network side allocates IPv6 to the CPE. address, which is an address containing an IPv6 prefix, this assignment method does not apply to Android devices.
  • Another allocation method is stateless address autoconfiguration (SLAAC).
  • SLAAC stateless address autoconfiguration
  • the network side allocates an IPv6 prefix to the CPE.
  • the CPE continues to allocate IPv6 prefixes to terminal devices.
  • the terminal devices generate IPv6 addresses based on the IPv6 prefixes.
  • This allocation method is applicable on all devices.
  • a stateless address allocation manner is used to allocate IPv6 addresses.
  • IPv6 addresses The following is a brief introduction to IPv6 addresses.
  • the IPv6 address has 128 bits in total. Taking 2001:1:2:3:a:b:c:d as an example, the address is divided into two parts: the IPv6 prefix and the ID.
  • the wireless network directly assigns the IPv6 prefix to the CPE, and the CPE continues to assign the IPv6 prefix.
  • Prefixes are assigned to terminal devices attached to the CPE, such as PCs.
  • the IPv6 address space generally applied for from the operator is /48. As shown in Figure 2, the three most significant bits are always set to 001, and further planning can be made according to your own needs.
  • the prefix assigned by the operator to the CPE is generally 64 bits, that is, 2001:1:2:3:a:b:c:d/64, the first 64 bits are the prefix, and the last 64 bits are the interface identifier. (ID), the interface ID is generated by the user. After the home gateway obtains the IPv6 prefix, it continues to assign it to the connected terminal device.
  • Stateless address assignment is the interaction between the CPE and the terminal device (such as a PC) through the router solicitation (RS)/RA message in the IPv6 interconnection control message (internet control message protocol version6, ICMPv6) protocol.
  • the exchange of text messages needs to be broadcast by the router advertisement daemon (RADVD) module of the CPE.
  • the broadcast period is usually 200 to 600 seconds.
  • the PC can obtain the IPv6 prefix in two ways:
  • Method 1 CPE regularly announces. As shown in Figure 3, after the CPE registers with the 5G wireless network, it obtains the IPv6 prefix from the core network, and then the connected terminal device periodically sends RA packets. The RA packets carry the IPv6 prefix, and the period is generally 200–600 seconds. .
  • the second way is the way that the PC actively inquires.
  • the CPE registers with the 5G wireless network, it obtains the IPv6 prefix from the core network, and then the PC actively sends an RS packet to the CPE, and the CPE replies to the PC with an RA packet.
  • the RA packet carries the IPv6 prefix, and the PC obtains the IPv6 prefix.
  • the CPE After the CPE obtains the IPv6 prefix, it will multicast to the terminal equipment attached to the CPE. Since the 5G network includes multiple network slices, as shown in Figure 5, the 5G network includes 5G slice 1 and 5G slice 2 , 5G slice 1 is a high-bandwidth network slice, 5G slice 2 is a low-latency network slice, each 5G slice corresponds to a different IPv6 prefix, and the CPE first obtains the first prefix of 5G slice 1 2001:1: After 2:3:A/64, it will multicast to PC1 and PC2 at the same time.
  • the 5G network includes multiple network slices, as shown in Figure 5, the 5G network includes 5G slice 1 and 5G slice 2 , 5G slice 1 is a high-bandwidth network slice, 5G slice 2 is a low-latency network slice, each 5G slice corresponds to a different IPv6 prefix, and the CPE first obtains the first prefix of 5G slice 1 2001:1: After 2:3:A/
  • the CPE After the CPE obtains the second prefix of 5G slice 2 2002:1:2:3:A/64, it will also multicast to PC1 and PC2 at the same time. PC1 and PC2, so that the first prefix obtained by PC1 and PC2 will be covered by the second prefix, that is, the low-latency 5G slice 2 covers the high-bandwidth 5G slice 1. Due to the coverage of IPv6 prefixes, the terminal device attached to the CPE cannot effectively select the appropriate IPv6 address when sending packets, so that the data cannot be routed to different network slices reasonably, resulting in the inability to make full use of all network slices.
  • the present application proposes a method for configuring an IPv6 address.
  • the routing device can The connected terminal equipment allocates IPv6 prefixes reasonably, so as to realize the rational use of multiple network slices.
  • FIG. 6 shows a specific example of the IPv6 address configuration method provided by the embodiment of the present application.
  • An example is given by taking the two networks as the first slicing network and the second slicing network as an example.
  • the specific process of this example may include the following steps:
  • Step 601 the routing device obtains the first IPv6 prefix (IPv6Prefix1) from the first network slice.
  • IPv6Prefix1 IPv6Prefix1
  • Step 602 The routing device determines the identifier of the first virtual local area network VLAN according to the first correspondence and the identifier of the first network slice, wherein the first correspondence indicates that the identifier of the first network slice corresponds to the identifier of the first VLAN.
  • Step 603 The routing device sends a first routing advertisement packet to the terminal device under the first VLAN, where the first routing advertisement packet includes the first IPv6 prefix.
  • the routing device may determine the identifier of the first VLAN corresponding to the identifier of the first network slice according to the first correspondence, so as to allocate the first IPv6 prefix obtained from the first network slice to the designated In this way, the terminal equipment under the VLAN can be allocated reasonably, and then multiple network slices can be used reasonably when the terminal equipment initiates a data service request.
  • the routing device may also determine the first correspondence from the correspondence set according to the identifier of the first network slice.
  • the set also includes a second correspondence, wherein the second correspondence indicates that the second network slice corresponds to the second VLAN.
  • correspondence set may also include other correspondences other than the first correspondence and the second correspondence.
  • the first correspondence is determined according to the service type of the terminal device under the first VLAN and the identifier of the network slice.
  • the second correspondence is determined according to the service type of the terminal device under the second VLAN and the identifier of the network slice.
  • the identification of the first VLAN corresponds to the identification of the low-latency network slice; or, if the service type of the terminal device under the first VLAN is media Class service, then the identifier of the first VLAN corresponds to the identifier of the high-bandwidth network slice; or, if the service type of the terminal device under the first VLAN is a data class service, then the identifier of the first VLAN corresponds to the identifier of the multi-connected network slice. corresponding to the logo.
  • the CPE may automatically configure the identifier of the corresponding network slice according to the service type of the terminal device under the first VLAN, or may configure it manually for the user.
  • FIG. 7 shows a schematic diagram of an exemplary scenario to which the IPv6 address configuration method provided by the embodiment of the present application is applicable.
  • the terminal device is a PC and an IP phone as an example
  • the routing device is a CPE as an example, wherein the packets communicated between the CPE and the terminal device are forwarded through a switch.
  • the scenario diagram shown in FIG. 7 may include two PCs (eg PC1, PC 2), two IP phones (eg IP phone 1, IP phone 2), CPE, switches and two 5G network slices (eg 5G slice 1 and 2) 5G slice 2), 5G slice 1 is a low-latency network slice, and 5G slice 2 is a high-bandwidth network slice.
  • VLAN1 corresponds to broadcast domain 1 in FIG. 7
  • VLAN2 corresponds to in FIG. 7 in broadcast domain 2.
  • 5G slice 1 and 5G slice 2 can be network slices of different service types.
  • 5G slice 1 is a low-latency network slice
  • 5G slice 2 is a high-bandwidth network slice.
  • 5G slice 1 can establish IPv6 connection 1 with CPE
  • 5G slice 2 can establish IPv6 connection 2 with CPE.
  • 5G slice 1 can allocate IPv6 prefix 1 to CPE
  • 5G slice 2 can allocate IPv6 prefix 2 to CPE.
  • the scenario shown in FIG. 7 may further include a configuration PC, where the configuration PC is used to configure the correspondence between the identifier of the VLAN and the identifier of the network slice.
  • the configuration PC is used to configure the correspondence between the identifier of the VLAN and the identifier of the network slice.
  • the user may configure the corresponding relationship between the identifier of the VLAN and the identifier of the network slice on the Web page on the configuration PC.
  • a configuration interface for configuring the corresponding relationship on the configuration PC is opened.
  • the configuration interface 800 includes an input box 801 for inputting the ID of a VLAN and an input box for inputting the ID of a network slice 802,
  • FIG. 8A only exemplarily shows three sets of correspondences, wherein the identification of the VLAN is represented by VLAN-id, and the VLAN network identification configured for the switch includes 20, 30, and 50; the identification of the network slice adopts the name of the network slice. to indicate that internet indicates a 5G network slice for common connections, iptv indicates a high-bandwidth 5G network slice, voice indicates a low-latency 5G network slice, and the network slice identifier is specified by the operator.
  • the configuration PC After the corresponding relationship is configured on the configuration interface 800, after receiving the click operation on the control 803, the configuration PC sends the corresponding relationship to the CPE, and the CPE completes the configuration.
  • a user-defined name can also be added when configuring the corresponding relationship, such as the dotted box 804 shown in FIG. 8B , for example, data is used to represent internet, video is used to represent iptv, voip Used to represent voice.
  • more groups of corresponding relationships may be set, for example, a corresponding number of corresponding relationships may be set according to the number of network slices.
  • the configuration corresponding relationship may be performed with reference to the configuration interface 900 of FIG. 9A to FIG. 9F .
  • a group of selection boxes may be included on the configuration interface, wherein the selection box 901 is used to set the identifier of the VLAN, and the selection box 911 is used to set the identifier of the network slice.
  • a pull-down menu 903 as shown in FIG. 9B is displayed, which includes the identification of the selectable VLAN, for example, 100, 200, 300; For the click operation of 200, 200 is displayed in the selection box 901 as shown in FIG. 9C.
  • a drop-down menu 913 is displayed, which includes the identification of the selectable network slices, eg, 5G slice 1, 5G slice 2, 5G slice 3, as shown in FIG. 9D, in response to the 5G
  • the click operation of slice 2 displays 5G slice 2 in the selection box 912 as shown in FIG. 9E . In this way, the configuration of a set of corresponding relationships is completed.
  • multiple groups of selection boxes may also be displayed simultaneously on the configuration interface, and the corresponding relationship between the identifier of the VLAN and the identifier of the network slice is directly configured in each group of selection boxes.
  • the range of multicast RA messages of IPv6 prefixes of WAN is controlled, and different VLAN devices are allocated different IPv6 prefixes.
  • FIG. 10A exemplarily shows a schematic diagram of a packet routing path.
  • the CPE may include a VLAN-WAN binding module, an RA advertisement module, and a route management module.
  • CPE can establish IPv6 connection 1 with 5G slice 1 through the RA advertisement module, and after establishing IPv6 connection 1, create a wide area network (WAN) 1 inside the CPE, and WAN 1 corresponds to IPv6 connection 1; CPE can also use RA
  • the advertisement module establishes IPv6 connection 2 with 5G slice 2, and after establishing IPv6 connection 2, creates WAN2 inside the CPE, and WAN 2 corresponds to IPv6 connection 2.
  • the VLAN-WAN binding module can realize the corresponding relationship between the identification of the bound VLAN and the identification of the network slice.
  • the identification of the network slice can be represented by the identification of the WAN, and can generate a combination of the identification of the VLAN and the identification of the WAN.
  • the corresponding relationship between, in the example shown in Figure 10A, the multiple sets of corresponding relationships include: for indicating VLAN1 (i.e. broadcast domain 1 in Figure 10A) and WAN 1 (corresponding to 5G slice 1) The corresponding relationship, and It is used to indicate the corresponding relationship between VLAN2 (that is, broadcast domain 2 in FIG. 10A ) and WAN 2 (corresponding to 5G slice 2).
  • the RA notification module can realize the communication between the CPE and the 5G network, for example, obtain IPv6 prefixes from different network slices included in the 5G network, and also realize the communication between the CPE and the connected terminal equipment, for example, the The terminal device allocates IPv6 prefixes.
  • the RA advertisement module can allocate IPv6 prefixes to IP phone 1 and IP phone 2 in broadcast domain 1, and PC1 and PC2 assigns an IPv6 prefix.
  • the IPv6 prefix allocated by the RA advertisement module for broadcast domain 1 and broadcast domain 1 may be the IPv6 prefix corresponding to the same network slice, or may be the IPv6 prefix corresponding to different network slices.
  • the routing management module can manage routing policies, and send data service requests from terminal devices to the network side according to the routing policies.
  • the routing policy is to determine the corresponding data service requests according to the correspondence between the IPV6 prefix and the identifier of the network slice. network slice.
  • the CPE when the CPE establishes IPv6 connection 1 with 5G slice 1, the CPE obtains IPv6 prefix 1 from 5G slice 1, and when the CPE establishes IPv6 connection 2 with 5G slice 2, the CPE obtains IPv6 prefix 2 from 5G slice 2 .
  • the CPE stores the obtained IPv6 prefix 1 and IPv6 prefix 2 in the RA advertisement module, and the RA advertisement module determines the VLAN1 corresponding to 5G slice 1 and the VLAN2 corresponding to 5G slice 1 according to the corresponding relationship between VLAN1 and WAN 1, and then the RA The advertisement module assigns IPv6 prefix 1 to IP phone 1 and IP phone 2 under broadcast domain 1 identified by VLAN1, and assigns IPv6 prefix 2 to PC1 and PC 2 under broadcast domain 2 identified by VLAN2.
  • IP phone 1 and IP phone 2 in broadcast domain 1 receive IPv6 prefix 1, they need to send data service requests.
  • IP phone 1 uses IPv6 prefix 1 and the local address of IP phone 1 ( For example, the MAC address of IP phone 1) generates an IPv6 address 11, and then sends the data service request 1 including the IPv6 address 11 to the CPE through the switch.
  • the routing management module in the CPE uses the routing policy and IPv6 Address 11, determine that the target network slice is 5G slice 1 corresponding to IPv6 prefix 1, and the routing management module sends data service request 1 to 5G slice 1 through IPv6 connection 1.
  • PC1 and PC2 in broadcast domain 2 receive IPv6 prefix 2 and need to send a data service request
  • PC1 generates an IPv6 address according to IPv6 prefix 2 and the local address of PC1 (for example, the MAC address of PC1). 21, and then send the data service request 2 including the IPv6 address 21 to the CPE through the switch.
  • the routing management module in the CPE determines the target network slice as an IPv6 prefix according to the routing policy and the IPv6 address 211. 2 Corresponding to 5G slice 1, the routing management module sends data service request 1 to 5G slice 1 through IPv6 connection 1.
  • VLAN-WAN binding module can also reconfigure the corresponding relationship between VLAN and WAN according to the business requirements of different time periods.
  • VLAN2 corresponds to 5G slice 1
  • VLAN1 corresponds to 5G slice 2, so as to realize the dynamic update of different The IPv6 prefix of the terminal device under the VLAN, so as to ensure better service performance and improve transmission efficiency.
  • each data packet is actually a data frame. From the granularity of the data packet, each data packet has a VLAN identification (identified, ID), which is shown in the TCI byte in Figure 10B. , which is used to mark which VLAN it belongs to.
  • the IEEE 802.1Q format is a message structure, wherein IEEE 802.1Q is an IEEE-certified protocol for adding VLAN identification information to a data frame.
  • the VLAN identification information attached by IEEE 802.1Q is located between the "source MAC address" and the "class field” in the data frame.
  • the specific content of the VLAN identification information is a 2-byte tag protocol identifier (TPID) and a 2-byte tag control information (TCI), a total of 4 bytes, and the VLAN ID is in 2 bytes. in the control information of the section.
  • TPID 2-byte tag protocol identifier
  • TCI 2-byte tag control information
  • FIG. 10A only takes the number of broadcast domains as two and the number of network slices as two as an example 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 broadcast domains than two broadcast domains, and there may be more network slices than two network slices. In addition, in Figure 10, there may be more or less terminal devices than two terminal devices under each broadcast domain.
  • the IP phone in broadcast domain 1 can also be replaced with other terminal devices, and the PC in broadcast domain 2 can also be replaced by other terminal devices.
  • the CPE can be replaced with other routing equipment, which will not be described one by one in this application.
  • FIG. 11 shows a specific example of the IPv6 address configuration method provided by the embodiment of the present application.
  • the example shown in FIG. 11 can be applied to the scenario shown in FIG. 10A .
  • the terminal equipment is the terminal equipment of broadcast domain 1 and the terminal equipment of broadcast domain 2
  • the routing equipment is the CPE.
  • the specific process of this example may include the following steps:
  • Step 1101 The configuration PC sends a configuration message to the CPE.
  • the configuration message includes multiple sets of correspondences between the identifiers of VLANs and the identifiers of network slices.
  • the first correspondence includes the correspondence between VLAN1 and 5G slice 1
  • the second correspondence includes VLAN2 and 5G slices. Correspondence between 5G slices 2.
  • step 1102 the VLAN-WAN binding module of the CPE completes the configuration of the corresponding relationship for multiple groups according to the configuration message.
  • Step 1103 the VLAN-WAN binding module of the CPE sends a configuration complete message to the RA notification module.
  • Step 1104 the RA notification module of the CPE is initialized, a bridge (bridge) corresponding to the VLAN identification is established, and working parameters are initialized on the bridge, for example, the corresponding relationship between the configuration bridge and the VLAN identification, a bridge corresponding to each VLAN identification, bridge Used to connect switches. For example, when the CPE needs to send a packet to the first VLAN, the packet is sent to the switch through a bridge corresponding to the identifier of the VLAN, and the switch forwards the packet to the terminal device under the first VLAN.
  • Step 1105 after the CPE is connected to the 5G slice 1, the route management module of the CPE obtains the IPv6 prefix 1 from the 5G slice 1.
  • Step 1106 the RA advertisement module of the CPE determines the VLAN1 corresponding to the 5G slice 1 according to the first correspondence.
  • Step 1107 The RA advertisement module of the CPE sends a first RA packet to the terminal device of the broadcast domain 1 identified by the VLAN1, where the first RA packet includes the IPv6 prefix 1.
  • the RA advertisement module of the CPE may periodically multicast the first RA message, or, before step 1107, the terminal device of the broadcast domain 1 sends the first RS message to the CPE, and the CPE advertises the RA message.
  • the module receives the first RS message, and sends the first RA message to the terminal device in broadcast domain 1.
  • Step 1108 the terminal device of the broadcast domain 1 generates an IPv6 address 1 based on the IPv6 prefix 1 and the local address.
  • Step 1109 after the CPE is connected to the 5G slice 2, the route management module of the CPE obtains the IPv6 prefix 2 from the 5G slice 2.
  • Step 1110 the RA advertisement module of the CPE determines the VLAN2 corresponding to the 5G slice 2 according to the second correspondence.
  • Step 1111 the RA advertisement module of the CPE sends a second RA packet to the terminal device of the broadcast domain 2 identified by the VLAN2, where the second RA packet includes the IPv6 prefix 2.
  • the RA advertisement module of the CPE may periodically multicast the second RA message, or, before step 1111, the terminal device of the broadcast domain 2 sends the second RS message to the CPE, and the RA notification of the CPE The module receives the second RS message, and sends the second RA message to the terminal device of broadcast domain 2.
  • Step 1112 the terminal device of the broadcast domain 2 generates an IPv6 address 2 based on the IPv6 prefix 2 and the local address.
  • the RA advertisement module can broadcast the IPv6 prefix associated with each VLAN interface according to the VLAN ID to which it belongs, so that terminal devices under different VLANs can receive
  • the IPv6 prefixes of the received IPv6 prefixes are different, and terminal devices in different VLANs use the IPv6 addresses corresponding to the received IPv6 prefixes to send service requests.
  • Step 1113 the routing management module of the CPE establishes a routing policy based on the IPv6 prefix.
  • the routing management module of the CPE configures different source IP-based policy routes according to different IPv6 prefixes, so that data service requests sent by terminal devices in different VLANs correspond to different IPv6 upstream paths (ie, network slices).
  • Step 1114 the terminal device of the broadcast domain 1 sends a data service request 1 to the CPE, and the data service request 1 includes the IPv6 address 1 .
  • Step 1115 the route management module of the CPE determines the 5G slice 1 corresponding to the IPv6 prefix 1 in the IPv6 address 1 based on the policy route and the IPv6 address 1.
  • Step 1116 the route management module of the CPE sends the data service request 1 to the 5G slice 1.
  • Step 1117 the terminal device of the broadcast domain 2 sends a data service request 2 to the CPE, and the data service request 2 includes the IPv6 address 2 .
  • Step 1118 the route management module of the CPE determines the 5G slice 2 corresponding to the IPv6 prefix 2 in the IPv6 address 2 based on the policy route and the IPv6 address 2.
  • Step 1119 the route management module of the CPE sends the data service request 2 to the 5G slice 2.
  • step 1105-step 1108 and step 1109-step 1112 are in no particular order, step 1105-step 1108 may be before step 1109-step 1112, or step 1109-step 1112 may be before step 1105-step 1108.
  • step 1114-Step 1116 and Step 1117-Step 1119 are in no particular order, and Step 1114-Step 1116 may be before Step 1117-Step 1119, or Step 1117-Step 1119 may be before Step 1114-Step 1116.
  • FIG. 12 shows another specific example of the IPv6 address configuration method provided by the embodiment of the present application.
  • the specific process of this example may include the following steps:
  • Step 1201 the switch configures two different VLAN areas, and the VLAN IDs are VLAN 100 and VLAN 200 respectively. Among them, the interface of VLAN 100 is connected to the IP phone, and the interface of VLAN 200 is connected to the notebook.
  • the CPE sets two 5G IPv6 access point names (APNs), and joins the network through APN dial-up.
  • the two IPv6 APNs represent low-latency and high-bandwidth wireless networks respectively.
  • Step 1203 Configure the PC to send a configuration message to the CPE, where the configuration message includes the correspondence between VLAN 100 and internet slice, and the correspondence between VLAN 200 and iptv slice.
  • Step 1204 the CPE configures the first correspondence between VLAN 100 and internet slice, and the second correspondence between VLAN 200 and iptv slice.
  • the VLAN network division is completed inside the CPE, which is used to access switch devices that support VLANs.
  • Step 1205 the network sends IPv6 prefix 1 and IPv6 prefix 2 to the CPE.
  • IPv6 prefix 1 and IPv6 prefix 2 are delivered by different network slices.
  • IPv6 prefix 1 is delivered by iptv slice
  • IPv6 prefix 2 is delivered by internet slice.
  • Step 1206 the switch is connected to the CPE, for example, the switch and the CPE are connected through a network cable.
  • Step 1207 the CPE determines that IPv6 prefix 1 is used to assign to VLAN 200 according to the first correspondence, and determines that IPv6 prefix 2 is used to assign to VLAN 100 according to the second correspondence and the iptv slice.
  • Step 1208 the CPE broadcasts IPv6 prefix 1 to VLAN 200. Accordingly, VLAN 200 of the switch receives IPv6 prefix 1.
  • Step 1209 the switch broadcasts the IPv6 prefix 1 to the VLAN 200, and correspondingly, the notebooks in the switch VLAN 200 receive the IPv6 prefix 1.
  • the CPE since the CPE has already supported VLAN and has the VLAN isolation function, the CPE broadcasts the IPv6 prefix corresponding to the VLAN identification to different VLAN areas, and will distribute the different IPv6 prefixes to the different VLAN areas of the switch, and the different VLANs of the switch. In the area, transparently transmit the IPv6 prefixes corresponding to the respective VLAN areas to the terminal devices under the respective VLAN areas.
  • Step 1210 the notebook generates an IPv6 address 1 according to the IPv6 prefix 1 and the MAC address of the notebook.
  • Step 1211 the CPE broadcasts IPv6 prefix 2 to VLAN 100. Accordingly, VLAN 100 of the switch receives IPv6 prefix 2.
  • Step 1212 the switch broadcasts the IPv6 prefix 2 to the VLAN 100, and correspondingly, the IP phones in the switch VLAN 100 receive the IPv6 prefix 2.
  • Step 1213 the IP phone generates an IPv6 address 2 according to the IPv6 prefix 2 and the MAC address of the notebook.
  • Terminal devices in each VLAN area of the switch can initiate IPv6 data services based on the generated IPv6 addresses.
  • IPv6 data streams due to the different IPv6 prefixes carried, are distributed to different network slices after passing through the CPE routing rules. For details, see Steps 1214 to 1216.
  • Step 1214 the CPE establishes a routing policy according to different IPv6 prefixes.
  • the routing policy includes: the data service corresponding to IPv6 prefix 1 is routed to the iptv slice, and the data service corresponding to IPv6 prefix 2 is routed to the internet slice.
  • Step 1215 the notebook sends data service 1 to the CPE, and the data service 1 is routed to the iptv slice through the CPE.
  • Step 1216 the IP phone sends data service 2 to the CPE, and the data service 2 is routed to the internet slice through the CPE.
  • the identification of different network slices is set on the CPE device to correspond to the VLAN identification, so that the IPv6 prefix can only be allocated to the terminal equipment under the specified VLAN ID, which can effectively solve the problem in the stateless address allocation mode of IPv6. Prefix coverage problem, and IPv6 prefixes can be allocated reasonably.
  • the CPE establishes IPv6 policy-based routing, and the data flows sent by terminal devices in different VLANs are routed to different IPv6 networks, which is helpful for the full distribution of data flows.
  • a 5G network includes low-latency network slices, high-bandwidth network slices, and multi-connection network slices. Network slices, etc. Different network slices correspond to different VLAN IDs. For example, game users use low-latency network slices, ordinary users use multi-connection network slices, and file download services use high-bandwidth network slices. Use 5G network slicing.
  • 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 1300 may include a transceiver module 1301 and a processing module 1302 .
  • the routing device 1300 may specifically include:
  • the processing module 1302 is used to determine the identifier of the first virtual local area network VLAN according to the first correspondence and the identifier of the first network slice; the first correspondence indicates that the identifier of the first network slice corresponds to the identifier of the first VLAN; the transceiver module 1301 is further configured to send a first route advertisement packet to the terminal device under the first VLAN, where the first route advertisement packet includes the first IPv6 prefix.
  • the processing module 1302 before determining the identifier of the first virtual local area network VLAN according to the first correspondence and the identifier of the first network slice, the processing module 1302 is further configured to, according to the identifier of the first network slice , determine the first correspondence from the correspondence set, the correspondence set further includes a second correspondence, wherein the second correspondence indicates that the second network slice corresponds to the second VLAN .
  • the transceiver module 1301 is further configured to: receive a first data service request from the first terminal device, where the first data service request includes the first IPv6 address of the first terminal device, the first IPv6 The address is determined by the first terminal device based on the first IPv6 prefix and the local address of the first terminal device; the processing module 1302 is further configured to: determine the first network slice corresponding to the first data service request according to the routing policy and the first IPv6 address ; The transceiver module 1301 is further configured to: send a first data service request to the first network slice.
  • the routing policy is to determine the network slice corresponding to the data service request according to the correspondence between the IPV6 prefix and the identifier of the network slice.
  • the transceiver module 1301 is further configured to: receive a configuration message from a third terminal device, where the configuration message includes the first correspondence and the second correspondence;
  • the processing module 1302 is further configured to: store the first correspondence and the second correspondence according to the first message.
  • the first correspondence is determined according to the service type of the terminal device under the first VLAN and the identifier of the network slice.
  • the identifier of the first VLAN corresponds to the identifier of the low-latency network slice;
  • the service type of the terminal equipment is a media service, then the identification of the first VLAN corresponds to the identification of the high-bandwidth network slice; or, if the service type of the terminal equipment under the first VLAN is a data service, then the first VLAN ID The ID corresponds to the ID of the multi-connected network slice.
  • 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 1400 may include a communication interface 1403 and one or more processors 1401 .
  • the routing device 1400 may further include a memory 1402 .
  • the memory 1402 can be set inside the routing device 1400, and can also be set outside the routing device 1400.
  • the communication interface 1403 can be used to send and receive messages or data, and the processor 1401 can control the communication interface 1403 to receive and send data or messages.
  • FIG. 14 is another schematic structural diagram of the routing device provided in this embodiment of the application.
  • the routing device 1400 includes a processor 1401 , a memory 1402 and a communication interface 1403 .
  • the routing device 1000 further includes an input device 1404 , an output device 1405 and a bus 1406 .
  • the processor 1401 , the memory 1402 , the communication interface 1403 , the input device 1404 , and the output device 1405 are connected to each other through a bus 1406 .
  • the memory 1402 stores instructions or programs, and the processor 1401 is configured to execute the instructions or programs stored in the memory 1402 .
  • the processor 1401 When the instructions or programs stored in the memory 1402 are executed, the processor 1401 is used to perform the operations performed by the processing module 1302 in the above method embodiments, and the communication interface 1403 is used to perform the operations performed by the transceiver module 1301 in the above embodiments.
  • routing device 1300 or 1400 provided in the embodiment of the present application may correspond to the routing device in the IPv6 address configuration methods S601 to S603 or steps S1101 to S1119 or steps S1201 to S1116 provided in the embodiment of the present invention, Moreover, the operations and/or functions of each module in the routing device 1300 or the routing device 1400 are respectively to implement the corresponding processes of the methods shown in FIG. 3 and FIG. 11 to FIG. 12 , and are not repeated here for brevity.
  • the embodiments of the present application further provide a communication system, where the communication system may include the routing device, at least one terminal device, and at least two network slices involved in the above embodiments.
  • 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.
  • An embodiment of the present application further provides 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 in 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 .
  • processors mentioned in the embodiments of the present application may be a central processing unit (central processing unit, CPU), and may also be other general-purpose processors, digital signal processors (digital signal processors, DSP), application-specific integrated circuits ( application specific integrated circuit, ASIC), off-the-shelf programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the memory mentioned in the embodiments of the present application may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically programmable Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • Volatile memory may be random access memory (RAM), which acts as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • SDRAM synchronous DRAM
  • SDRAM double data rate synchronous dynamic random access memory
  • double data rate SDRAM double data rate SDRAM
  • DDR SDRAM enhanced synchronous dynamic random access memory
  • ESDRAM enhanced synchronous dynamic random access memory
  • SCRAM synchronous link dynamic random access memory
  • direct rambus RAM direct rambus RAM
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components
  • the memory storage module
  • memory described herein is intended to include, but not be limited to, these and any other suitable types of memory.
  • the disclosed system, apparatus and method may be implemented in other manners.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
  • each functional unit in each embodiment 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 functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
  • the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution, and the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) 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 (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

Landscapes

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

Abstract

一种IPv6地址的配置方法及路由设备,用于解决终端设备接收到多个IPv6前缀时存在的IPv6前缀覆盖问题。该方法包括:路由设备从第一网络切片获取第一IPv6前缀,根据第一对应关系和第一网络切片的标识,确定第一VLAN的标识,向第一VLAN下的终端设备发送第一RA报文,其包括第一IPv6前缀;第一对应关系指示第一网络切片的标识与第一VLAN的标识对应,从而可以实现将从第一网络切片获取到的第一IPv6前缀分配给指定的第一VLAN下的终端设备,从而达到合理分配IPv6前缀,实现合理利用多个网络切片。

Description

一种IPv6地址的配置方法及路由设备
相关申请的交叉引用
本申请要求在2021年01月30日提交中国专利局、申请号为202110131918.X、申请名称为“一种IPv6地址的配置方法及路由设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种互联网协议第六版(Internet protocol version 6,IPv6)地址的配置方法及路由设备。
背景技术
在5G时代下,由于多种多样的应用场景以及差异化的业务需求,而生成了多样化的网络切片,以满足对不同的网络切片通路服务质量(quality of service,QoS)的差异化需求,其中,每个网络切片通路对应一个互联网协议第6版(Internet protocol version 6,IPv6)前缀。
在路由设备例如客户前置设备(customer premises equipment,CPE)等及其下挂的终端设备都支持IPv6的情况下,路由设备在接入5G网络后,不同的5G网络切片为路由设备分配不同的IPv6前缀,路由设备定期向下挂的终端设备发送路由通告(router advertisement,RA)报文,以便为终端设备分配IPv6前缀。例如,路由设备先从网络侧获取到网络切片1对应的IPv6前缀1,组播给路由设备下挂的PC1和PC2,之后,路由设备又从网络侧获取到网络切片2对应的IPv6前缀2,也组播给路由设备下挂的PC1和PC2,这样PC1和PC2获取的前一个前缀被后一个前缀覆盖,导致终端设备不能有效选择合适的IPv6地址发送报文,那么业务数据就不能被合理的路由到网络侧的不同网络切片上,从而导致不能充分利用全部的网络切片。
发明内容
本申请提供一种IPv6地址的配置方法及路由设备,用于实现为路由设备下挂的终端设备合理分配IPv6前缀,从而实现合理利用多个网络切片。
第一方面,本申请提供一种IPv6地址的配置方法,该方法包括:路由设备从第一网络切片获取第一IPv6前缀,路由设备根据第一对应关系和第一网络切片的标识,确定第一虚拟局域网VLAN的标识,第一对应关系指示第一网络切片的标识与第一VLAN的标识对应,路由设备向第一VLAN下的终端设备发送第一路由通告报文,第一路由通告报文包括第一IPv6前缀。
通过上述方法,路由设备可以根据第一对应关系,确定出第一网络切片的标识所对应的第一VLAN的标识,从而实现将从第一网络切片获取到的第一IPv6前缀分配给指定的第一VLAN下的终端设备,从而可以实现合理分配IPv6前缀,进而在终端设备发起数据业务请求时可以实现合理利用多个网络切片。
在一个可能的设计中,路由设备根据第一对应关系和第一网络切片的标识,确定第一虚拟局域网VLAN的标识之前,还可以根据第一网络切片的标识,从对应关系集合中确定第一对应关系,对应关系集合中还包括第二对应关系,其中,第二对应关系指示第二网络切片与第二VLAN相对应。如此,路由设备在从任一个网络切片获取到IPv6前缀时,都可以从对应关系集合中确定出相应的对应关系,从而实现合理分配多个网络切片的IPv6前缀。
在一个可能的设计中,该方法还包括:路由设备接收来自第一终端设备的第一数据业务请求,第一数据业务请求包括第一终端设备的第一IPv6地址,第一IPv6地址由第一终端设备基于第一IPv6前缀和第一终端设备的本地地址确定,路由设备根据路由策略和第一IPv6地址,确定第一数据业务请求对应的第一网络切片,路由设备向第一网络切片发送第一数据业务请求。相应的,路由设备接收来自第二终端设备的第二数据业务请求,第二数据业务请求包括第二终端设备的第二IPv6地址,第二IPv6地址由第二终端设备基于第二IPv6前缀和第二终端设备的本地地址确定,路由设备根据路由策略和第二IPv6地址,确定第二数据业务请求对应的第二网络切片,路由设备向第二网络切片发送第二数据业务请求。这样结合策略路由,不同的数据业务请求可以分流不同IPv6WAN通路,从而充分利用多个网络切片。
在一个可能的设计中,所述路由策略为根据IPV6前缀与网络切片的标识之间的对应关系,确定数据业务请求对应的网络切片。
在一个可能的设计中,该方法还包括:所述路由设备接收来自第三终端设备的配置报文,所述配置报文包括所述第一对应关系和所述第二对应关系,所述路由设备根据所述第一报文,存储所述第一对应关系和所述第二对应关系。
在一个可能的设计中,所述第一对应关系为根据第一VLAN下的终端设备的业务类型和网络切片的标识确定。
在一个可能的设计中,若第一VLAN下的终端设备的业务类型为语音类业务,则该第一VLAN的标识与低时延的网络切片的标识对应;或者,若第一VLAN下的终端设备的业务类型为媒体类业务,则第一VLAN的标识与高带宽的网络切片的标识对应;或者,若第一VLAN下的终端设备的业务类型为数据类业务,则第一VLAN的标识与多连接的网络切片的标识对应。这样可以更合理、充分的利用多个网络切片。
第二方面,本申请提供了一种路由设备,该路由设备具有实现上述第一方面或第一方面的各个可能的设计示例中路由设备的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。
在一个可能的设计中,所述路由设备的结构中可以包括收发模块和处理模块,这些模块可以执行上述第一方面或第一方面的各个可能的设计示例中路由设备的相应功能,具体参见方法示例中的详细描述,此处不做赘述。可选的,收发模块可以但不限于包括调制解调器;处理模块可以但不限于包括前缀策略模块和路由模块。
在一个可能的设计中,所述路由设备的结构中可以包括通信接口和处理器,可选的还可以包括存储器,所述通信接口可以用于收发消息或数据,以及用于与通信系统中的其他设备进行通信交互,所述处理器被配置为支持所述路由设备执行上述第一方面或第一方面的各个可能的设计示例中路由设备的相应的功能。所述存储器与所述处理器耦合,其保存所述路由设备必要的程序指令和数据。
第三方面,本申请提供了一种通信系统,可以包括上述提及的终端设备、路由设备和多个网络。
第四方面,本申请提供了一种计算机可读存储介质,该计算机可读存储介质存储有程序指令,当程序指令在计算机上运行时,使得计算机执行上述第一方面及其任一可能的设计。示例性的,计算机可读存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括非瞬态计算机可读介质、随机存取存储器(random-access memory,RAM)、只读存储器(read-only memory,ROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)、CD-ROM或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。
第五方面,本申请实施例提供一种包括计算机程序代码或指令的计算机程序产品,当其在计算机上运行时,使得计算机实现上述第一方面及其任一可能的设计的方法。
第六方面,本申请还提供了一种芯片,所述芯片与存储器耦合,用于读取并执行所述存储器中存储的程序指令,以实现上述第一方面及其任一可能的设计的方法。
上述第二方面至第六方面中的各个方面以及各个方面可能达到的技术效果请参照上述针对第一方面中的各种可能方案可以达到的技术效果说明,这里不再重复赘述。
附图说明
图1为本申请实施例适用的一种通信系统的网络架构图;
图2为本申请实施例适用的一种IPv6地址示意图;
图3为本申请实施例提供的一种PC获取IPv6前缀示意图;
图4为本申请实施例提供的一种PC获取IPv6前缀示意图;
图5为本申请实施例提供的一种IPv6地址的配置方法适用的场景示意图;
图6为本申请实施例提供的一种IPv6地址的配置方法对应的流程示意图;
图7为本申请实施例提供的另一种IPv6地址的配置方法适用的场景示意图;
图8A为本申请实施例提供的一种配置界面示意图;
图8B为本申请实施例提供的另一种配置界面示意图;
图9A至图9F为本申请实施例提供的一组配置界面示意图;
图10A为本申请实施例提供的报文路由路径示意图;
图10B为本申请实施例提供的数据包示意图;
图11为本申请实施例提供的另一种IPv6地址的配置方法对应的流程示意图;
图12为本申请实施例提供的又一种IPv6地址的配置方法对应的流程示意图;
图13为本申请实施例提供的路由设备的结构示意图;
图14为本申请实施例提供的路由设备的另一结构示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面结合说明书附图对本申请实施例进行具体描述。需要说明的是,本申请的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。
本申请实施例提供一种IPv6地址的配置方法及路由设备,用于实现为路由设备下挂的终端设备合理分配不同的网络切片对应的IPv6前缀,从而实现合理利用多个网络切片。需要说明的是,路由设备一般都会为终端设备分配IPv4地址,随着IPv6的广泛普及,在路由设备以及终端设备都支持IPv6情况下,路由设备会给终端设备分配IPv6地址,本申请实施例中主要讨论为终端设备分配IPv6地址的场景。
其中,本申请所述方法和装置(即路由设备)基于同一技术构思,由于方法及装置解决问题的原理相似,因此装置与方法的实施可以相互参见,重复之处不再赘述。
图1示例性示出了本申请实施例适用的一种通信系统的网络架构。该通信系统包括终端设备101和路由设备102。进一步地,该通信系统还可包括网关103。
终端设备101,是指各种需要上网(例如连接到IPv6公网)的电子设备,可以包括但不限于是站点(station,STA)、手机、笔记本电脑、平板电脑、车载电脑、个人数字助理(personal digital assistant,PDA)、智能手表、个人计算机((personal computer,PC)、膝上型计算机(Laptop)等。终端设备101可通过网线或者无线局域网(wireless fidelity,WIFI)的方式与路由设备相连接,进而与IPv6公网进行通信。
路由设备102,为终端设备分配IPv6前缀或IPv6地址,以及路由终端设备和网络之间的业务数据。路由设备102可以包括但不限于为CPE、路由器、无线交换机、无线局域网(wireless fidelity,WIFI)无线路由器、光网络终端、WIFI无线中继器、便携式终端热点等。其中,路由设备可以包括与终端设备连接的局域网端口,和与网关连接的广域网端口,并相应地通过局域网端口与终端设备通信,通过广域网端口与网关通信。
网关103,为位于IPv6骨干网边缘的网关设备,例如,该网关可以是宽带远程接入服务器(broadband remote access server,BRAS)或是边缘路由器(border router,BR)等。网关103用于连接IPv6公网。
IPv6公网可以为移动网络,也可以为固网,移动网络可以为5G、LTE等,固网可以为固网电信网络,简称“固网”,是透过金属线或光纤线等固体媒体传送信号的电话网络。
IPv6公网包括多个网络切片,可以理解为将运营商的物理网络切割成多个虚拟的端到端的网络,每个虚拟网络之间(包括无线接入网、承载网和核心网)是逻辑独立的,任何一个虚拟网络发生故障都不会影响到其它虚拟网络。为了满足多样性需求和切片间的隔离,需要业务间相对独立的管理和运维,并提供量身定做的业务功能和分析能力。不同业务类型的实例可以部署在不同的网络切片上,相同业务类型的不同实例也可部署在不同的网络切片上,切片可以由一组网络功能(network function,NF)和/或子网络等构成。
下文中以IPv6公网为5G网络为例,以路由设备为CPE为例进行说明。
需要说明的是,尽管图1中示出两个终端设备101,但应理解,该通信系统中可包括一个或多个终端设备,路由设备可通过不同的局域网端口分别与各个终端设备连接,本申请对此不作具体限定。同理,通信系统中也可以包括多个路由设备,同样不作限定。
应理解,在本申请中除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本申请中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。“至少一个”是指一个或者多个,“多个”是指两个或两个以上。
在本申请中,“示例性的”、“在一种可选的实施方式中”、“在另一种可选的实施方式中”等用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应 被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。
另外,本申请中涉及的“第一”、“第二”等词汇,仅用于区分描述的目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量,也不能理解为指示或暗示顺序。
目前,分配IPv6地址的方式一般有两种,一种分配方式为有状态地址自动配置,也称IPv6下的动态主机配置协议(dynamic host configuration protocol for IPv6,DHCPv6)方式,网络侧为CPE分配IPv6地址,该地址为包含IPv6前缀的地址,这种分配方式不适用于安卓(Android)设备。另一种分配方式为无状态地址自动配置(stateless address autoconfiguration,SLAAC),网络侧为CPE分配IPv6前缀,CPE继续向终端设备分配IPv6前缀,终端设备根据IPv6前缀生成IPv6地址,这种分配方式适用于所有设备。本申请实施例中采用无状态地址分配方式进行IPv6地址的分配。
下面对IPv6地址进行简单的介绍。
IPv6地址共128位,以2001:1:2:3:a:b:c:d为例,该地址分为IPv6前缀和ID两部分,无线网络为CPE直接分配IPv6前缀,CPE再继续将IPv6前缀分配给CPE的下挂的终端设备,例如PC等。
以全球可聚合单播地址为例,一般从运营商处申请到的IPv6地址空间为/48,如图2所示,三个最高有效位始终设置为001,再由自己根据需要进一步规划。目前的无线网络下,运营商给CPE分配的前缀一般是64位,即2001:1:2:3:a:b:c:d/64,前64位为前缀,后64位为接口标识符(ID),该接口ID由使用者自己生成。家庭网关获取到IPv6前缀后,继续分配给下挂的终端设备。
无状态地址分配是CPE和终端设备(比如PC)通过IPv6的互联控制报文(internet control message protocol version6,ICMPv6)协议中的路由查询(router solicitation,RS)/RA报文交互完成,其中RA报文交互需要CPE的路由器广告守护进程(router advertisement daemon,RADVD)模块广播,广播周期通常是200~600秒,CPE下挂的终端设备接收到RA报文后,根据RA报文携带的IPv6前缀,完成IPv6地址生成和配置。
以终端设备为PC为例,PC获取IPv6前缀可以有两种方式:
方式一,CPE定期通告。如图3所示,CPE注册到5G无线网络后,从核心网获取到IPv6前缀,然后向下挂的终端设备定期发送RA报文,RA报文携带IPv6前缀,其中周期一般为200–600秒。
方式二,PC主动查询的方式。如图4所示,CPE注册到5G无线网络后,从核心网获取到IPv6前缀,然后PC主动向CPE发送RS报文,CPE向PC回复RA报文,RA报文携带IPv6前缀,PC获取到IPv6前缀。
在上述两种方式中,CPE获取到IPv6前缀后,会组播给CPE下挂的终端设备,由于5G网络包括多个网络切片,如图5所示,5G网络包括5G切片1和5G切片2,其中,5G切片1为高带宽的网络切片,5G切片2为低时延的网络切片,每个5G切片对应不同的IPv6前缀,CPE先获取到5G切片1的第一个前缀2001:1:2:3:A/64后,会同时组播给PC1和PC2,同样,CPE获取到5G切片2的第二个前缀2002:1:2:3:A/64后,也会同时组播给PC1和PC2,这样PC1和PC2获取的第一个前缀就会被第二个前缀覆盖,即低时延的5G切片2覆盖了高带宽的5G切片1。由于IPv6前缀的覆盖问题,使得CPE下挂的终端设备发送报文时不 能有效选择合适的IPv6地址,从而数据不能被合理的路由到不同的网络切片,从而导致不能充分利用全部的网络切片。
基于上述问题,本申请提出一种IPv6地址的配置方法,通过为路由设备下挂的属于不同的虚拟局域网(virtual local area network,VLAN)的终端设备分配不同的IPv6前缀,以实现为路由设备下挂的终端设备合理分配IPv6前缀,从而实现合理利用多个网络切片。
基于以上网络架构,图6示出了本申请实施例提供的IPv6地址的配置方法的一个具体的示例。以两个网络为第一切片网络和第二切片网络为例进行示例说明。具体的,该示例的具体流程可以包括以下步骤:
步骤601,路由设备从第一网络切片获取第一IPv6前缀(IPv6Prefix1)。
步骤602,路由设备根据第一对应关系和第一网络切片的标识,确定第一虚拟局域网VLAN的标识,其中,第一对应关系指示第一网络切片的标识与第一VLAN的标识对应。
步骤603,路由设备向第一VLAN下的终端设备发送第一路由通告报文,第一路由通告报文包括第一IPv6前缀。
本申请实施例中,路由设备可以根据第一对应关系,确定出第一网络切片的标识所对应的第一VLAN的标识,从而实现将从第一网络切片获取到的第一IPv6前缀分配给指定的VLAN下的终端设备,从而可以实现合理分配IPv6前缀,进而在终端设备发起数据业务请求时可以实现合理利用多个网络切片。
进一步,路由设备根据第一对应关系和第一网络切片的标识,确定第一虚拟局域网VLAN的标识之前,还可以根据第一网络切片的标识,从对应关系集合中确定第一对应关系,对应关系集合中还包括第二对应关系,其中,第二对应关系指示第二网络切片与第二VLAN相对应。如此,路由设备在从任一个网络切片获取到IPv6前缀时,都可以从对应关系集合中确定出相应的对应关系,从而实现合理分配多个网络切片的IPv6前缀。
应理解,对应关系集合中还可以包括除第一对应关系和第二对应关系之外的其它对应关系。
在一种可能的实施方式中,第一对应关系为根据第一VLAN下的终端设备的业务类型和网络切片的标识确定。相应的,第二对应关系为根据第二VLAN下的终端设备的业务类型和网络切片的标识确定。
示例的,第一VLAN下的终端设备的业务类型为语音类业务,则第一VLAN的标识与低时延的网络切片的标识对应;或者,若第一VLAN下的终端设备的业务类型为媒体类业务,则第一VLAN的标识与高带宽的网络切片的标识对应;或者,若第一VLAN下的终端设备的业务类型为数据类业务,则第一VLAN的标识与多连接的网络切片的标识对应。
在具体实施中,CPE可以根据第一VLAN下的终端设备的业务类型自动配置对应的网络切片的标识,也可以为用户手动配置。
图7示出了本申请实施例提供的IPv6地址的配置方法适用的一种示例性的场景示意图。在图7中,以终端设备为PC和IP电话为例,以路由设备为CPE为例示出,其中CPE与终端设备之间通信的报文通过交换机转发。图7示出的场景示意图可以包括两个PC(例如PC1、PC 2)、两个IP电话(例如IP电话1、IP电话2)、CPE、交换机和两个5G网络切片(例如5G切片1和5G切片2),5G切片1为低时延的网络切片,5G切片2为高带宽的网络切片。其中,两个PC在同一个虚拟局域网(例如用VLAN1表示)内,VLAN1对应图7中的广播域1,两个IP电话在同一个虚拟局域网(例如用VLAN2表示)内,VLAN2 对应图7中的广播域2中。
其中,5G切片1和5G切片2可以为不同业务类型的网络切片,例如5G切片1为低时延的网络切片,5G切片2为高带宽的网络切片。5G切片1可以与CPE之间建立IPv6连接1,5G切片2与CPE之间建立IPv6连接2。5G切片1可以为CPE分配IPv6 prefix 1,5G切片2可以为CPE分配IPv6 prefix 2。CPE获取到IPv6 prefix 1和IPv6 prefix 2之后,分配给广播域1和广播域2中终端设备。
如图7所示的场景,还可以包括配置PC,该配置PC用于配置VLAN的标识与网络切片的标识之间的对应关系。示例的,用户可以在配置PC上的Web页面上配置VLAN的标识与网络切片的标识之间的对应关系。
在一个示例中,打开配置PC上的用于配置对应关系的配置界面,如图8A所示,配置界面800包括用于输入VLAN的标识的输入框801和用于输入网络切片的标识的输入框802,图8A仅示例性示出了三组对应关系,其中VLAN的标识采用VLAN-id表示,为交换机配置好的VLAN网络标志,包括20、30、50;网络切片的标识采用网络切片的名称来表示,internet表示普通连接的5G网络切片,iptv表示高带宽的5G网络切片,voice表示低时延的5G网络切片,网络切片的标识由运营商指定。在配置界面800上配置对应关系之后,接收到针对控件803的点击操作后,配置PC向CPE下发对应关系,CPE完成配置。
为便于用户识别网络切片的标识,还可以在配置对应关系时,增加一个用户自定义的名称,如图8B所示的虚线框804,例如,data用于表示internet,video用于表示iptv,voip用于表示voice。
应理解,在具体实施中,可以设置更多组的对应关系,例如,根据网络切片的数量设置相应数量的对应关系。
在另一个示例中,可以参见图9A至图9F的配置界面900进行配置对应关系。如图9A所示,在配置界面上可以包括一组选择框,其中,选择框901用于设置VLAN的标识,选择框911用于设置网络切片的标识。以在选择框901中设置VLAN的标识,响应于对控件902的点击操作,显示如图9B中所示下拉菜单903,其中包括可选择的VLAN的标识,例如,100、200、300;响应于针对200的点击操作,在如图9C所示选择框901中显示200。然后,响应于对控件912的点击操作,显示下拉菜单913,其中包括可选择的网络切片的标识,例如,5G切片1、5G切片2、5G切片3,如图9D所示,响应于针对5G切片2的点击操作,在如图9E所示的选择框912中显示5G切片2。如此,完成了一组对应关系的配置。
在一组对应关系配置完之后,还需要继续配置,可以点击如图9E所示的控件914,增加一组选择框,PC响应于针对控件914的点击操作,显示如图9F所示的一组选择框915,针对选择框915中的内容的配置过程可以参考上述图9A至图9E的过程。
在其它一些实施例中,也可以在配置界面上同时显示多组选择框,直接在每组选择框中配置VLAN的标识与网络切片的标识之间的对应关系。
本申请实施例中,通过VLAN和WAN绑定的手段,达到控制WAN的IPv6前缀组播RA报文的范围,实现不同的VLAN设备分配不同IPv6前缀。
本申请实施例中,基于图7所示的场景,图10A示例性示出了报文路由路径的示意图。
如图10A所示,在CPE中可以包括VLAN-WAN绑定模块、RA通告模块、路由管理模块。
CPE可以通过RA通告模块与5G切片1建立IPv6连接1,并在建立IPv6连接1后,在CPE内部创建广域网(wide area network,WAN)1,WAN 1与IPv6连接1对应;CPE还可以通过RA通告模块与5G切片2建立IPv6连接2,并在建立IPv6连接2后,在CPE内部创建WAN2,WAN 2与IPv6连接2对应。
VLAN-WAN绑定模块可以实现绑定VLAN的标识与网络切片的标识之间的对应关系,示例的,网络切片的标识可以采用WAN的标识表示,可以生成多组VLAN的标识与WAN的标识之间的对应关系,在图10A所示的示例中,多组对应关系包括:用于指示VLAN1(即图10A中的广播域1)与WAN 1(对应5G切片1)相对应的对应关系、以及用于指示VLAN2(即图10A中的广播域2)与WAN 2(对应5G切片2)相对应的对应关系。
RA通告模块可以实现CPE与5G网络之间的通信,例如,从5G网络包括的不同的网络切片获取IPv6 prefix,还可以实现CPE与下挂的终端设备之间的通信,例如,CPE下挂的终端设备分配IPv6 prefix,具体的,RA通告模块可以根据绑定模块生成的多组对应关系,分别为广播域1下的IP电话1和IP电话2分配IPv6 prefix、以及广播域2下的PC1和PC2分配IPv6 prefix。应理解,RA通告模块为广播域1和广播域1分配的IPv6 prefix可以是同一个网络切片对应的IPv6 prefix,也可以是不同的网络切片对应的IPv6 prefix。
路由管理模块可以管理路由策略,以及根据路由策略,将来自终端设备的数据业务请求发送给网络侧,例如,路由策略为根据IPV6前缀与网络切片的标识之间的对应关系,确定数据业务请求对应的网络切片。
在一个实施例中,当CPE与5G切片1建立IPv6连接1时,CPE从5G切片1获取到IPv6 prefix 1,当CPE与5G切片2建立IPv6连接2时,CPE从5G切片2获取到IPv6 prefix2。CPE将获取到的IPv6 prefix 1和IPv6 prefix 2存储到RA通告模块,RA通告模块根据VLAN1与WAN 1的对应关系,确定出5G切片1对应的VLAN1,以及5G切片1对应的VLAN2,然后,RA通告模块将IPv6 prefix 1分配给VLAN1所标识的广播域1下的IP电话1和IP电话2,IPv6 prefix 2分配给VLAN2所标识的广播域2下的PC1和PC 2。
例如,广播域1下的IP电话1和IP电话2接收到IPv6 prefix 1之后,需要发送数据业务请求时,以IP电话1为例,IP电话1根据IPv6 prefix 1和IP电话1的本地地址(例如IP电话1的MAC地址)生成IPv6地址11,然后将包括IPv6地址11的数据业务请求1通过交换机发送给CPE,CPE接收到数据业务请求1之后,CPE中的路由管理模块根据路由策略以及IPv6地址11,确定出目标网络切片为IPv6 prefix 1对应的5G切片1,路由管理模块将数据业务请求1通过IPv6连接1发送至5G切片1。
又例如,广播域2下的PC1和PC2接收到IPv6 prefix 2之后,需要发送数据业务请求时,以PC1为例,PC1根据IPv6 prefix 2和PC1的本地地址(例如PC1的MAC地址)生成IPv6地址21,然后将包括IPv6地址21的数据业务请求2通过交换机发送给CPE,CPE接收到数据业务请求2之后,CPE中的路由管理模块根据路由策略以及IPv6地址211,确定出目标网络切片为IPv6 prefix 2对应的5G切片1,路由管理模块将数据业务请求1通过IPv6连接1发送至5G切片1。
此外,VLAN-WAN绑定模块还可以根据不同时段的业务需求重新配置VLAN与WAN之间的对应关系,例如,将VLAN2与5G切片1对应,将VLAN1与5G切片2对应,以 实现动态更新不同VLAN下的终端设备的IPv6 prefix,从而保证业务性能较好,提高传输效率。
需要说明的是,在VLAN网络内,每个数据包其实是一个数据帧,从数据包的粒度看,每个数据包都有一个VLAN标识(identified,ID),在图10B中TCI字节中,用来标记自己属于哪个VLAN。如图10B所示的IEEE 802.1Q格式的报文结构,其中,IEEE 802.1Q是经过IEEE认证的对数据帧附加VLAN识别信息的协议。IEEE 802.1Q所附加的VLAN识别信息,位于数据帧中“发送源MAC地址”与“类别域”之间。VLAN识别信息具体内容为2个字节的标签协议标识(tag protocol identifier,TPID)和2个字节的标签控制信息(tag control information,TCI),共计4字节,而VLAN ID就在2字节的控制信息中。
需要说明的是,图10A中仅以广播域的数量为两个,网络切片的数量为两个为例示出,但这并不作为对本申请实施例的场景的限定。应理解,在实际场景中,可以有比两个广播域更少或者更多的广播域,以及有比两个网络切片更多的网络切片。并且,图10中每个广播域下可以有比两个终端设备更多或者更少的终端设备,广播域1下的IP电话也可以替换为其他的终端设备,广播域2下的PC也可以替换为其他的终端设备,CPE可以替换为其他的路由设备,对此本申请不再一一列举说明。
基于以上实施例,图11示出了本申请实施例提供的IPv6地址的配置方法的一个具体的示例。图11所示的示例可以应用于图10A所示的场景下,在图11所示的示例中,以终端设备为广播域1的终端设备和广播域2的终端设备,以路由设备为CPE,以两个网络为5G切片1和5G切片2为例进行示例说明。具体的,该示例的具体流程可以包括以下步骤:
步骤1101,配置PC向CPE发送配置报文。
其中,配置报文包括VLAN的标识与网络切片的标识之间的多组对应关系,例如,第一对应关系包括VLAN1与5G切片1之间的对应关系,又例如,第二对应关系包括VLAN2与5G切片2之间的对应关系。
步骤1102,CPE的VLAN-WAN绑定模块根据配置报文,完成对多组对应关系配置。
步骤1103,CPE的VLAN-WAN绑定模块向RA通告模块发送配置完成消息。
步骤1104,CPE的RA通告模块进行初始化,建立与VLAN标识对应的桥(bridge),在bridge上初始化工作参数,例如,配置桥与VLAN标识的对应关系,每个VLAN标识对应的一个bridge,bridge用于连接交换机。例如,CPE需要向第一VLAN发送报文时,通过与VLAN的标识对应的bridge将报文发送到交换机上,由交换机转发给第一VLAN下的终端设备。
步骤1105,在CPE连接到5G切片1后,CPE的路由管理模块从5G切片1获取IPv6前缀1。
步骤1106,CPE的RA通告模块根据第一对应关系,确定5G切片1对应的VLAN1。
步骤1107,CPE的RA通告模块向VLAN1所标识的广播域1的终端设备发送第一RA报文,第一RA报文包括IPv6前缀1。
具体的,在步骤1107中,可以是CPE的RA通告模块定期组播第一RA报文,或者,在步骤1107之前,广播域1的终端设备向CPE发送第一RS报文,CPE的RA通告模块接收到第一RS报文,向广播域1的终端设备发送第一RA报文。
步骤1108,广播域1的终端设备基于IPv6前缀1和本地地址,生成IPv6地址1。
步骤1109,在CPE连接到5G切片2后,CPE的路由管理模块从5G切片2获取IPv6前缀2。
步骤1110,CPE的RA通告模块根据第二对应关系,确定5G切片2对应的VLAN2。
步骤1111,CPE的RA通告模块向VLAN2所标识的广播域2的终端设备发送第二RA报文,第二RA报文包括IPv6前缀2。
具体的,在步骤1111中,可以是CPE的RA通告模块定期组播第二RA报文,或者,在步骤1111之前,广播域2的终端设备向CPE发送第二RS报文,CPE的RA通告模块接收到第二RS报文,向广播域2的终端设备发送第二RA报文。
步骤1112,广播域2的终端设备基于IPv6前缀2和本地地址,生成IPv6地址2。
本申请实施例中,不同的终端设备连接到交换机上不同的VLAN接口后,可以由RA通告模块根据各个VLAN接口所属的VLAN ID广播与其关联的IPv6前缀,可以实现不同VLAN下的终端设备接收到的IPv6前缀不同,不同的VLAN下的终端设备使用与接收到的IPv6前缀对应的IPv6地址,发送业务请求。
步骤1113,CPE的路由管理模块基于IPv6前缀,建立路由策略。
CPE的路由管理模块根据不同的IPv6前缀,配置不同的基于源IP的策略路由,从而实现不同的VLAN下的终端设备发送的数据业务请求对应不同的IPv6上行通路(即网络切片)。
步骤1114,广播域1的终端设备向CPE发送数据业务请求1,数据业务请求1包括IPv6地址1。
步骤1115,CPE的路由管理模块基于策略路由和IPv6地址1,确定与IPv6地址1中的IPv6前缀1所对应的5G切片1。
步骤1116,CPE的路由管理模块向5G切片1发送数据业务请求1。
步骤1117,广播域2的终端设备向CPE发送数据业务请求2,数据业务请求2包括IPv6地址2。
步骤1118,CPE的路由管理模块基于策略路由和IPv6地址2,确定与IPv6地址2中的IPv6前缀2所对应的5G切片2。
步骤1119,CPE的路由管理模块向5G切片2发送数据业务请求2。
需要说明的是,步骤1105-步骤1108与步骤1109-步骤1112不分先后顺序,可以步骤1105-步骤1108在步骤1109-步骤1112之前,也可以步骤1109-步骤1112在步骤1105-步骤1108之前。步骤1114-步骤1116与步骤1117-步骤1119不分先后顺序,可以步骤1114-步骤1116在步骤1117-步骤1119之前,也可以步骤1117-步骤1119在步骤1114-步骤1116之前。
下面结合具体示例,对IPv6地址的配置方法进行详细介绍。
基于以上实施例,图12示出了本申请实施例提供的IPv6地址的配置方法的又一个具体的示例。在图12所示的示例中,以路由设备为CPE,CPE划分两个VLAN区域为例,以5G网络包括两个网络切片为例,该示例的具体流程可以包括以下步骤:
步骤1201,交换机配置两个不同的VLAN区域,VLAN ID分别为VLAN 100和VLAN 200。其中,VLAN 100的接口下接入IP电话,VLAN 200的接口下接入笔记本。
步骤1202,CPE设置两个5G IPv6接入点名称(access point name,APN),通过APN 拨号并入网,这两个IPv6APN分别代表低时延和高带宽的无线网络。
步骤1203,配置PC向CPE发送配置报文,配置报文包括VLAN100与internet切片的对应关系,以及VLAN 200与iptv切片的对应关系。
步骤1204,CPE配置VLAN100与internet切片的第一对应关系,以及VLAN 200与iptv切片的第二对应关系。
在配置对应关系之后,CPE内部完成VLAN网络划分,以用于接入支持VLAN的交换机设备。
步骤1205,网络向CPE发送IPv6前缀1和IPv6前缀2。
其中,IPv6前缀1和IPv6前缀2为不同的网络切片下发的,例如,IPv6前缀1为iptv切片下发的,IPv6前缀2为internet切片。
步骤1206,交换机接入CPE,例如,交换机与CPE通过网线连接。
步骤1207,CPE根据第一对应关系,确定IPv6前缀1用于分配给VLAN200,以及根据第二对应关系和iptv切片,确定IPv6前缀2用于分配给VLAN 100。
步骤1208,CPE向VLAN 200广播IPv6前缀1。相应的,交换机的VLAN 200接收到IPv6前缀1。
步骤1209,交换机向VLAN 200广播IPv6前缀1,相应的,交换机VLAN 200内的笔记本接收到IPv6前缀1。
上述步骤120和步骤1209中,由于CPE已经支持VLAN,具备VLAN隔离功能CPE给不同的VLAN区域广播VLAN标识对应的IPv6前缀,会把不同的IPv6前缀分发到交换机不同的VLAN区域,交换机不同的VLAN区域内,把各自VLAN区域对应的IPv6前缀透传给各自VLAN区域下面的终端设备。
步骤1210,笔记本根据IPv6前缀1和笔记本的MAC地址,生成IPv6地址1。
步骤1211,CPE向VLAN 100广播IPv6前缀2。相应的,交换机的VLAN 100接收到IPv6前缀2。
步骤1212,交换机向VLAN 100广播IPv6前缀2,相应的,交换机VLAN 100内的IP电话接收到IPv6前缀2。
步骤1213,IP电话根据IPv6前缀2和笔记本的MAC地址,生成IPv6地址2。
在交换机的各个VLAN区域下的终端设备根据生成的IPv6地址,可以发起IPv6数据业务,这些IPv6数据流,因携带的IPv6前缀不同,经过CPE路由规则后,分发到不同的网络切片,具体过程参见步骤1214至步骤1216。
步骤1214,CPE根据不同的IPv6前缀建立路由策略,例如,路由策略包括:IPv6前缀1对应的数据业务路由到iptv切片,以及IPv6前缀2对应的数据业务路由到internet切片。
步骤1215,笔记本向CPE发送数据业务1,数据业务1经过CPE路由至iptv切片。
步骤1216,IP电话向CPE发送数据业务2,数据业务2经过CPE路由至internet切片。
上述示例中,一方面,在CPE设备上设置不同的网络切片的标识与VLAN标识对应,能够使得IPv6前缀只分配给指定VLAN ID下的终端设备,可以有效解决IPv6的无状态地址分配方式中的前缀覆盖问题,而且可以合理分配IPv6前缀。另一方面,CPE建立IPv6策略路由,不同的VLAN下的终端设备发送的数据流路由到不同的IPv6网络,有助于数据流充分分流。
以上示例中以两个网络切片为例进行说明的,在其它一些实施例中,可以有更多的网络切片,例如,5G网络包括低时延的网络切片、高带宽的网络切片、多连接的网络切片等,不同的网络切片与不同的VLAN ID对应,例如,游戏用户使用低时延的网络切片,普通用户使用多连接的网络切片,文件下载服务使用高带宽的网络切片等,从而可以充分使用5G网络切片。
基于以上实施例,本申请实施例提供了一种路由设备,用于实现本申请实施例提供的IPv6地址的配置方法。示例性的,参阅图13所示,路由设备1300可以包括收发模块1301和处理模块1302。具体的,路由设备1300在实现本申请实施例提供的IPv6地址的配置方法时,具体可以包括:
收发模块1301,用于从第一网络切片获取第一IPv6前缀;
处理模块1302,用于根据第一对应关系和第一网络切片的标识,确定第一虚拟局域网VLAN的标识;第一对应关系指示第一网络切片的标识与第一VLAN的标识对应;收发模块1301,还用于向第一VLAN下的终端设备发送第一路由通告报文,第一路由通告报文包括第一IPv6前缀。
在一种可选的实施方式中,在根据第一对应关系和第一网络切片的标识,确定第一虚拟局域网VLAN的标识之前,处理模块1302,还用于根据所述第一网络切片的标识,从对应关系集合中确定所述第一对应关系,所述对应关系集合中还包括第二对应关系,其中,所述第二对应关系指示所述第二网络切片与所述第二VLAN相对应。
在一种可选的实施方式中,收发模块1301,还用于:接收来自第一终端设备的第一数据业务请求,第一数据业务请求包括第一终端设备的第一IPv6地址,第一IPv6地址由第一终端设备基于第一IPv6前缀和第一终端设备的本地地址确定;处理模块1302,还用于:根据路由策略和第一IPv6地址,确定第一数据业务请求对应的第一网络切片;收发模块1301,还用于:向第一网络切片发送第一数据业务请求。
在一种可选的实施方式中,路由策略为根据IPV6前缀与网络切片的标识之间的对应关系,确定数据业务请求对应的网络切片。
在一种可选的实施方式中,收发模块1301,还用于:接收来自第三终端设备的配置报文,配置报文包括第一对应关系和第二对应关系;
处理模块1302,还用于:根据第一报文,存储第一对应关系和第二对应关系。
在一种可选的实施方式中,第一对应关系为根据第一VLAN下的终端设备的业务类型和网络切片的标识确定。
在一种可选的实施方式中,若第一VLAN下的终端设备的业务类型为语音类业务,则第一VLAN的标识与低时延的网络切片的标识对应;或者,若第一VLAN下的终端设备的业务类型为媒体类业务,则第一VLAN的标识与高带宽的网络切片的标识对应;或者,若第一VLAN下的终端设备的业务类型为数据类业务,则第一VLAN的标识与多连接的网络切片的标识对应。
基于以上实施例,本申请实施例还提供了一种路由设备,用于实现本申请实施例提供的IPv6地址的配置方法。示例性的,参阅图14所示,该路由设备1400可以包括通信接口1403以及一个或多个处理器1401。可选的,路由设备1400还可以包括存储器1402。其中,所述存储器1402可以设置于路由设备1400内部,还可以设置于路由设备1400外部。通 信接口1403可以用于收发消息或数据,处理器1401可以控制通信接口1403接收和发送数据或消息。
图14为本申请实施例中提供的路由设备的另一结构示意图,如图14所示,该路由设备1400包括处理器1401,存储器1402和通信接口1403。可选地,该路由设备1000还包括输入设备1404、输出设备1405和总线1406。其中,处理器1401,存储器1402、通信接口1403、输入设备1404、输出设备1405通过总线1406相互连接。存储器1402中存储指令或程序,处理器1401用于执行存储器1402中存储的指令或程序。存储器1402中存储的指令或程序被执行时,该处理器1401用于执行上述方法实施例中处理模块1302执行的操作,通信接口1403用于执行上述实施例中收发模块1301执行的操作。
需要说明的是,本申请实施例提供的路由设备1300或1400可对应于本发明实施例提供的IPv6地址的配置方法S601至S603或者步骤S1101至步骤S1119或者步骤S1201至步骤S1116中的路由设备,并且路由设备1300或路由设备1400中的各个模块的操作和/或功能分别为了实现图3、图11至图12中所示方法的相应流程,为了简洁,在此不再赘述。
基于以上实施例,本申请实施例还提供一种通信系统,该通信系统可以包括上述实施例涉及的路由设备、至少一个终端设备和至少两个网络切片。
基于以上实施例,本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质用于存储计算机程序,该计算机程序被计算机执行时,所述计算机可以实现上述方法实施例提供的任一种IPv6地址的配置方法。
本申请实施例还提供一种计算机程序产品,所述计算机程序产品用于存储计算机程序,该计算机程序被计算机执行时,所述计算机可以实现上述方法实施例提供的任一种IPv6地址的配置方法。
本申请实施例还提供一种芯片,包括处理器,所述处理器与存储器耦合,用于调用所述存储器中的程序使得所述芯片实现上述方法实施例提供的任一种IPv6地址的配置方法。
应理解,本申请实施例中提及的处理器可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
还应理解,本申请实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)集成在处理器中。
应注意,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。

Claims (14)

  1. 一种互联网协议第六版IPv6地址的配置方法,其特征在于,包括:
    路由设备从第一网络切片获取第一IPv6前缀;
    所述路由设备根据第一对应关系和第一网络切片的标识,确定第一虚拟局域网VLAN的标识,所述第一对应关系指示第一网络切片与所述第一VLAN相对应;所述路由设备向所述第一VLAN下的终端设备发送第一路由通告报文,第一路由通告报文包括所述第一IPv6前缀。
  2. 如权利要求1所述的方法,其特征在于,所述路由设备根据第一对应关系和第一网络切片的标识,确定第一虚拟局域网VLAN的标识之前,还包括:
    所述路由设备根据所述第一网络切片的标识,从对应关系集合中确定所述第一对应关系,其中,所述对应关系集合中还包括第二对应关系,所述第二对应关系指示所述第二网络切片与所述第二VLAN相对应。
  3. 如权利要求1或2所述的方法,其特征在于,所述方法还包括:
    所述路由设备接收来自第一终端设备的第一数据业务请求,所述第一数据业务请求包括所述第一终端设备的第一IPv6地址,所述第一IPv6地址由所述第一终端设备基于所述第一IPv6前缀和所述第一终端设备的本地地址确定;
    所述路由设备根据路由策略和所述第一IPv6地址,确定所述第一数据业务请求对应的第一网络切片;
    所述路由设备向所述第一网络切片发送第一数据业务请求。
  4. 如权利要求2或3所述的方法,其特征在于,所述方法还包括:
    所述路由设备接收来自第三终端设备的配置报文,所述配置报文包括所述第一对应关系和所述第二对应关系;
    所述路由设备存储所述第一对应关系和所述第二对应关系。
  5. 如权利要求1-4任一项所述的方法,其特征在于,所述第一对应关系为根据所述第一VLAN下的终端设备的业务类型和网络切片的标识确定。
  6. 如权利要求5所述的方法,其特征在于,若所述第一VLAN下的终端设备的业务类型为语音类业务,则所述第一VLAN的标识与低时延的网络切片的标识对应;或者,
    若所述第一VLAN下的终端设备的业务类型为媒体类业务,则所述第一VLAN的标识与高带宽的网络切片的标识对应;或者,
    若所述第一VLAN下的终端设备的业务类型为数据类业务,则所述第一VLAN的标识与多连接的网络切片的标识对应。
  7. 一种路由设备,其特征在于,包括收发模块和处理模块,其中,所述收发模块,用于从第一网络切片获取第一IPv6前缀;
    所述处理模块,用于根据第一对应关系和第一网络切片的标识,确定第一VLAN的标识,所述第一对应关系指示第一网络切片的标识与所述第一VLAN的标识;
    所述收发模块,还用于向所述第一VLAN下的终端设备发送第一路由通告报文,第一路由通告报文包括所述第一IPv6前缀。
  8. 如权利要求7所述的路由设备,其特征在于,所述处理模块,还用于:
    根据所述第一网络切片的标识,从对应关系集合中确定所述第一对应关系,其中,所 述对应关系集合中还包括第二对应关系,所述第二对应关系指示所述第二网络切片与所述第二VLAN相对应。
  9. 如权利要求7或8所述的路由设备,其特征在于,所述收发模块,还用于:
    接收来自第一终端设备的第一数据业务请求,所述第一数据业务请求包括所述第一终端设备的第一IPv6地址,所述第一IPv6地址由所述第一终端设备基于所述第一IPv6前缀和所述第一终端设备的本地地址确定;
    所述处理模块,还用于:根据路由策略和所述第一IPv6地址,确定所述第一数据业务请求对应的第一网络切片;
    所述收发模块,还用于:向所述第一网络切片发送第一数据业务请求。
  10. 如权利要求8或9所述的路由设备,其特征在于,所述收发模块,还用于:
    接收来自第三终端设备的配置报文,所述配置报文包括所述第一对应关系和所述第二对应关系;
    所述处理模块,还用于:根据所述配置报文,存储所述第一对应关系和所述第二对应关系。
  11. 如权利要求7-10任一项所述的路由设备,其特征在于,所述第一对应关系为根据所述第一VLAN下的终端设备的业务类型和网络切片的标识。
  12. 如权利要求11所述的路由设备,其特征在于,若所述第一VLAN下的终端设备的业务类型为语音类业务,则所述第一VLAN的标识与低时延的网络切片的标识对应;或者,
    若所述第一VLAN下的终端设备的业务类型为媒体类业务,则所述第一VLAN的标识与高带宽的网络切片的标识对应;或者,
    若所述第一VLAN下的终端设备的业务类型为数据类业务,则所述第一VLAN的标识与多连接的网络切片的标识对应。
  13. 一种路由设备,其特征在于,包括:
    通信接口,用于收发消息或数据;
    处理器,用于与存储器耦合,调用所述存储器中的程序使得所述路由设备执行如权利要求1-6中任一项所述的方法。
  14. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机可执行指令,所述计算机可执行指令在被所述计算机调用时用于使所述计算机执行上述权利要求1-6中任一项所述的方法。
PCT/CN2021/137850 2021-01-30 2021-12-14 一种IPv6地址的配置方法及路由设备 WO2022160982A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110131918.X 2021-01-30
CN202110131918.XA CN114928590B (zh) 2021-01-30 2021-01-30 一种IPv6地址的配置方法及路由设备

Publications (1)

Publication Number Publication Date
WO2022160982A1 true WO2022160982A1 (zh) 2022-08-04

Family

ID=82654159

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/137850 WO2022160982A1 (zh) 2021-01-30 2021-12-14 一种IPv6地址的配置方法及路由设备

Country Status (2)

Country Link
CN (1) CN114928590B (zh)
WO (1) WO2022160982A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102598602A (zh) * 2009-11-04 2012-07-18 思科技术公司 管理路由器通告消息以支持无线移动客户端设备的漫游
WO2017218775A1 (en) * 2016-06-15 2017-12-21 Intel Corporation Services provisioning for internet-of-things devices in cellular networks
WO2018119592A1 (zh) * 2016-12-26 2018-07-05 华为技术有限公司 网络切片确定方法及装置
CN110535766A (zh) * 2018-05-25 2019-12-03 华为技术有限公司 一种生成路由的方法和设备
CN110719185A (zh) * 2018-07-13 2020-01-21 中兴通讯股份有限公司 网络切片控制方法及装置、计算机可读存储介质
CN110855542A (zh) * 2018-08-20 2020-02-28 中国电信股份有限公司 传送网络切片的管理方法、系统及装置

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674221A (zh) * 2008-09-09 2010-03-17 中国移动通信集团公司 静态路由生成方法、终端路由实现方法及装置
CN108307423B (zh) * 2016-08-26 2023-03-24 中兴通讯股份有限公司 一种无线接入网络切片选择方法和装置
CN109548042B (zh) * 2017-09-22 2023-11-17 中兴通讯股份有限公司 一种网络切片配置方法及装置
CN111918302B (zh) * 2019-05-07 2022-05-13 华为技术有限公司 用于网络切片更新的方法和装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102598602A (zh) * 2009-11-04 2012-07-18 思科技术公司 管理路由器通告消息以支持无线移动客户端设备的漫游
WO2017218775A1 (en) * 2016-06-15 2017-12-21 Intel Corporation Services provisioning for internet-of-things devices in cellular networks
WO2018119592A1 (zh) * 2016-12-26 2018-07-05 华为技术有限公司 网络切片确定方法及装置
CN110535766A (zh) * 2018-05-25 2019-12-03 华为技术有限公司 一种生成路由的方法和设备
CN110719185A (zh) * 2018-07-13 2020-01-21 中兴通讯股份有限公司 网络切片控制方法及装置、计算机可读存储介质
CN110855542A (zh) * 2018-08-20 2020-02-28 中国电信股份有限公司 传送网络切片的管理方法、系统及装置

Also Published As

Publication number Publication date
CN114928590A (zh) 2022-08-19
CN114928590B (zh) 2023-11-10

Similar Documents

Publication Publication Date Title
US8953601B2 (en) Internet protocol version six (IPv6) addressing and packet filtering in broadband networks
CN112584393B (zh) 一种基站配置方法、装置、设备及介质
US20150032861A1 (en) Device Abstraction in Autonomous Wireless Local Area Networks
TW201815131A (zh) 一種資料傳輸的方法及網路設備
US8432877B2 (en) Routing control method and system
US9774530B2 (en) Mapping of address and port (MAP) provisioning
KR101995145B1 (ko) Ue들 및 고정 액세스 네트워크에서 작동하는 방법
CN103580980A (zh) 虚拟网络自动发现和自动配置的方法及其装置
US11824685B2 (en) Method for implementing GRE tunnel, access point and gateway
CN102984295B (zh) 一种移动终端及其地址分配方法
JP2023523048A (ja) パケット処理方法及び関連デバイス
WO2021174943A1 (zh) 数据转发方法、装置、设备和存储介质
WO2022001669A1 (zh) 建立vxlan隧道的方法及相关设备
WO2012106935A1 (zh) 数据通信网络配置方法、网关网元及数据通信系统
WO2017166936A1 (zh) 一种实现地址管理的方法、装置、aaa服务器及sdn控制器
WO2021027858A1 (zh) Rlc信道确定方法和装置
WO2014056412A1 (zh) 一种报文发送的方法、路由器桥及系统
WO2012088901A1 (zh) 一种虚拟局域网的分配方法以及相关装置
WO2012136006A1 (zh) 多归属站点内主机的路由选择方法和装置
US11929851B2 (en) Gateway selection method, device, and system
CN113660164A (zh) 一种报文转发方法及网络设备
JP7426513B2 (ja) 室内ユニットと室外ユニットの間のマルチpdn実装方法及び記憶媒体
WO2015123947A1 (zh) 局域网信息的下发方法及装置
WO2024000975A1 (zh) 一种会话建立系统、方法、电子设备及存储介质
WO2023116355A1 (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: 21922572

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21922572

Country of ref document: EP

Kind code of ref document: A1