WO2023125807A1 - 分配标识的方法、装置、通信设备及可读存储介质 - Google Patents

分配标识的方法、装置、通信设备及可读存储介质 Download PDF

Info

Publication number
WO2023125807A1
WO2023125807A1 PCT/CN2022/143395 CN2022143395W WO2023125807A1 WO 2023125807 A1 WO2023125807 A1 WO 2023125807A1 CN 2022143395 W CN2022143395 W CN 2022143395W WO 2023125807 A1 WO2023125807 A1 WO 2023125807A1
Authority
WO
WIPO (PCT)
Prior art keywords
dhcpv6
field
message
server
client
Prior art date
Application number
PCT/CN2022/143395
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 WO2023125807A1 publication Critical patent/WO2023125807A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/34Source routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • 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
    • 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

Definitions

  • the present application belongs to the technical field of communication, and in particular relates to a method, device, communication device and readable storage medium for allocating identifiers.
  • SRv6 is a segment routing (Segment Routing, SR) solution based on the Internet Protocol Version 6 (IPv6) extension.
  • IPv6 Internet Protocol Version 6
  • client devices such as Optical Network Unit (ONU), router (Router), switch, etc. , full-service router (Service Router, SR), etc.
  • SR Segment Routing
  • DHCPv6 Internet Protocol Version 6
  • client devices such as Optical Network Unit (ONU), router (Router), switch, etc. , full-service router (Service Router, SR), etc.
  • SR full-service router
  • the IPv6 address and the network node identifier (Locator) in the SRv6 protocol system are completely different resources, and currently there is no relevant method for assigning a Locator to a client device.
  • the embodiments of the present application are expected to provide a method, device, communication device, and readable storage medium for allocating identifiers.
  • the embodiment of the present application provides a method for assigning an identifier, which is applied to a DHCPv6 client, including:
  • the first message includes a first field, and the first field is used to indicate the Locator segment allocated for the DHCPv6 client; the Locator segment is in the SRv6 protocol system The network node identification segment.
  • the embodiment of the present application also provides a method for assigning identifiers, which is applied to a DHCPv6 server, including:
  • the first message includes a first field, and the first field is used to indicate the Locator segment allocated for the DHCPv6 client; the Locator segment is the SRv6 protocol system The network node identifier section in .
  • the embodiment of the present application also provides an apparatus for assigning an identifier, which is applied to a DHCPv6 client, including:
  • the first receiving module is configured to receive a first message from a DHCPv6 server; wherein, the first message includes a first field, and the first field is used to indicate the Locator segment allocated for the DHCPv6 client; the The Locator section is a network node identification section in the SRv6 protocol system.
  • the embodiment of the present application also provides a device for assigning an identifier, which is applied to a DHCPv6 server, including:
  • the third sending module is configured to send a first message to a DHCPv6 client; wherein, the first message includes a first field, and the first field is used to indicate the Locator segment allocated for the DHCPv6 client; the The Locator section is a network node identification section in the SRv6 protocol system.
  • the embodiment of the present application also provides a communication device, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, the program or instruction being executed by the When executed, the processor realizes the steps of the method described in the first aspect, or realizes the steps of the method described in the second aspect.
  • the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the method as described in the first aspect is implemented. steps, or implement the steps of the method as described in the second aspect.
  • the first message may be received by the DHCPv6 client from the DHCPv6 server, the first message includes a first field, and the first field is used to indicate a Locator segment allocated to the DHCPv6 client, and the Locator segment is Network node identification segment in the SRv6 protocol system.
  • the DHCPv6 server allocates the Locator segment to the DHCPv6 client, so that the DHCPv6 server and the client can send and receive SRv6 packets normally, ensuring the operation of the SRv6 protocol system.
  • Fig. 1 is the schematic diagram of the SRH in the embodiment of the present application.
  • Fig. 2 is a schematic diagram of the SID format in the embodiment of the present application.
  • Fig. 3 is a flow chart of a method for assigning identifiers provided by an embodiment of the present application
  • Fig. 4 is a flow chart of another method for assigning identifiers provided by the embodiment of the present application.
  • Fig. 5 is the flowchart of the Locator distribution process in the embodiment of the present application.
  • Fig. 6 is a schematic structural diagram of a device for assigning identifiers provided by an embodiment of the present application.
  • Fig. 7 is a schematic structural diagram of another device for assigning identifiers provided by the embodiment of the present application.
  • Fig. 8 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • SRv6 is the abbreviation of SR-IPv6, which refers to the application of segment routing (Segment Routing, SR) to the IPv6 forwarding plane, that is, the command list (SID list) of SR is encapsulated in the IPv6 message to guide the message according to the source route (source path) forwarding.
  • the IPv6 header (Header) and the segment routing header (Segment Routing Header, SRH) can be shown in Figure 1, and the value of Next Header in the IPv6 Header is 43 and represents that the lower layer header is a routing extension header (Routing Extension Header).
  • the SRv6 data plane can be encapsulated by Segment Routing Header (SRH).
  • the segment list (segment list) information is encapsulated in the SRH, and each segment is a 128-bit IPv6 address.
  • the SRv6 tunnel (tunnel) is the management entity of the corresponding SID list, and like other tunnels, it presents services.
  • SRv6tunnel can carry all known types such as Layer 2, Layer 3, Multi-Protocol Label Switching (Multi-Protocol Label Switching, MPLS), Transmission Control Protocol (Transmission Control Protocol, TCP) and User Datagram Protocol (User Datagram Protocol, UDP). load.
  • MPLS Multi-Protocol Label Switching
  • TCP Transmission Control Protocol
  • UDP User Datagram Protocol
  • the SID of SRv6 can be understood as the IP address of the router, and the SID list represents the IP address list of the entire routing path.
  • the SID of SRv6 may be a 128-bit (bit) programmable SID, which may include Locator, Function (FUNCT) and Arguments (ARGS).
  • Locator is a network node identifier in the SRv6 protocol system, is an identifier assigned to a network node in the network topology, and is used to forward data packets to the network node.
  • Locator The route corresponding to the Locator will be published to the network by the network nodes through the Interior Gateway Protocol (IGP), which is used to help other devices forward data packets to the node network that publishes the Locator.
  • IGP Interior Gateway Protocol
  • SRv6SID the length of the locator is variable to adapt to networks of different scales.
  • Locator can be subdivided into B and N.
  • B identifies the SRv6SID block (Block), which is generally assigned to a certain subnet by the operator, and is usually represented by Prefix, and N is the identifier for distinguishing nodes in the subnet.
  • Function FUNCT is used to express the forwarding action to be performed, which is equivalent to the operation code of the computer instruction.
  • the DHCPv6 client may include but not limited to 4G/5G devices, small switches, routers and other client-side devices.
  • the DHCPv6 server can be an edge device of the carrier network, such as BRAS, SR, etc.
  • the SID in some optional embodiments of the present application is specifically the SID of SRv6, and the network node identification segment (ie, the Locator segment) in the SRv6 protocol system is mainly used to form the SID to implement corresponding routing and forwarding.
  • the network node identification segment ie, the Locator segment
  • the embodiment of the present application extends DHCPv6, and proposes that the DHCPv6 server dynamically allocates the Locator segment for the DHCPv6 client, and the Locator segment is the network node identification segment in the SRv6 protocol system, thereby This enables normal sending and receiving of SRv6 packets between the DHCPv6 server and client, ensuring the operation of the SRv6 protocol system.
  • FIG. 3 is a flowchart of a method for assigning identifiers provided by an embodiment of the present application, and the method is applied to a DHCPv6 client. As shown in Figure 3, the method includes the following steps:
  • Step 31 Receive the first packet from the DHCPv6 server.
  • the first message may include a first field, the first field is used to indicate the Locator segment allocated for the DHCPv6 client, the Locator segment is a network node identification segment in the SRv6 protocol system, and is mainly used to form a SID , so as to realize the corresponding route forwarding.
  • the Locator section can be one Locator or consist of multiple Locators.
  • the first message may be an advertisement (advertise) message.
  • the first field may be an option (option) field.
  • the first field is a dedicated option field in the advertise message, which may be expressed as option BB, for example.
  • the above-mentioned first field may also indicate other required configuration parameters of the corresponding Locator, such as Locator value/length, Block length, Node length, and the like.
  • the first message may be received by the DHCPv6 client from the DHCPv6 server, the first message includes a first field, and the first field is used to indicate a Locator segment allocated to the DHCPv6 client, and the Locator segment is Network node identification segment in the SRv6 protocol system.
  • the DHCPv6 server allocates the Locator segment to the DHCPv6 client, so that the DHCPv6 server and the client can send and receive SRv6 packets normally, ensuring the operation of the SRv6 protocol system.
  • the SRv6 protocol system can also be made to cover not only the backbone network equipment of the operator, but also the backbone network equipment and edge equipment.
  • the DHCPv6 client may send a second message to the DHCPv6 server, the second message includes a second field, and the second field is used to request
  • the DHCPv6 server allocates the Locator segment to the DHCPv6 client, so that the DHCPv6 server allocates the Locator segment to the DHCPv6 client based on the request.
  • the second message may be a solicit (solicit) message.
  • the second field may be an option (option) field.
  • the second field is a dedicated option field in the solicit message, for example, it may be expressed as option AA.
  • the DHCPv6 client can send a second message such as a solicit message to multiple DHCPv6 servers in a multicast manner.
  • the DHCPv6 client may determine the server that meets the preset conditions among the multiple DHCPv6 servers as the target DHCPv6 server , and determine the Locator segment indicated by the first field in the first packet sent by the target DHCPv6 server as the target Locator segment.
  • the above-mentioned server satisfying the preset condition may be the server with the highest priority among the multiple DHCPv6 servers, or may be a server among the multiple DHCPv6 servers that meets certain selection rules. Not limited.
  • the DHCPv6 client can send a third message to multiple DHCPv6 servers respectively; wherein, the third message includes a third field, and the third field uses It is used to indicate the identification ID of the target DHCPv6 server, so that all related DHCPv6 servers can obtain the target server determined by the DHCPv6 client.
  • the third message may be a request (request) message.
  • the third field may be an option field.
  • the third field is a dedicated option field in the request message, for example, it may be expressed as option CC.
  • the DHCPv6 client may send a third message such as a request message to multiple DHCPv6 servers in a multicast manner.
  • the DHCPv6 client may receive a fourth message from the target DHCPv6 server; wherein, the fourth message includes a fourth field , the fourth field is used to confirm the assignment of the target Locator segment to the DHCPv6 client.
  • the fourth message may be a reply (reply) message.
  • the fourth field may be an option (option) field.
  • the fourth field is a dedicated option field in the reply message, for example, it can be expressed as option DD.
  • the above fourth field may also confirm other required configuration parameters of the corresponding Locator, such as Locator value/length, Block length, Node length, and the like.
  • first field, second field, third field and fourth field may have different lengths, or may have the same length, which is determined based on actual requirements and is not limited thereto.
  • FIG. 4 is a flow chart of a method for assigning identifiers provided by an embodiment of the present application, and the method is applied to a DHCPv6 server. As shown in Figure 4, the method includes the following steps:
  • Step 41 Send the first packet to the DHCPv6 client.
  • the first message may include a first field, the first field is used to indicate the Locator segment allocated for the DHCPv6 client, the Locator segment is a network node identification segment in the SRv6 protocol system, and is mainly used to form a SID , so as to realize the corresponding route forwarding.
  • the first message may be an advertisement (advertise) message.
  • the first field may be an option field.
  • the first field is a dedicated option field in the advertise message, which may be expressed as option BB, for example.
  • the above-mentioned first field may also indicate other required configuration parameters of the corresponding Locator, such as Locator value/length, Block length, Node length, and the like.
  • the DHCPv6 server may send a first message to the DHCPv6 client, where the first message includes a first field, and the first field is used to indicate the Locator segment allocated for the DHCPv6 client.
  • the DHCPv6 server configures the Locator segment to the DHCPv6 client, so that the DHCPv6 server and the client can send and receive SRv6 packets normally, ensuring the operation of the SRv6 protocol system.
  • the DHCPv6 server may receive a second message from the DHCPv6 client, the second message includes a second field, and the second field uses It is used to request the DHCPv6 server to assign the Locator segment to the DHCPv6 client.
  • the second message may be a solicit message.
  • the second field may be an option (option) field.
  • the second field is a dedicated option field in the solicit message, for example, it may be expressed as option AA.
  • the DHCPv6 server may receive a third message from the DHCPv6 client; wherein, the third message includes a third field, and the third field is used to indicate the ID of the target DHCPv6 server.
  • the target DHCPv6 server is the one with the highest priority among the multiple DHCPv6 servers determined by the DHCPv6 client to send the first message.
  • the third message may be a request (request) message.
  • the third field may be an option (option) field.
  • the third field is a dedicated option field in the request message, for example, it may be expressed as option CC.
  • the DHCPv6 client may send a third message such as a request message to multiple DHCPv6 servers in a multicast manner.
  • the DHCPv6 server can first determine whether it is the target according to the identifier of the target DHCPv6 server indicated by the third field in the third message. DHCPv6 server; then, if it is judged that it is the target DHCPv6 server, then send the fourth message to the DHCPv6 client; wherein, the fourth message includes the fourth field, and the fourth field is used to confirm that the target Locator segment is assigned to DHCPv6 Used by the client, the target Locator segment is the Locator segment allocated by the target DHCPv6 server. And if it is determined that it is not the target DHCPv6 server, there is no need to return a message to the DHCPv6 client.
  • the fourth message may be a reply (reply) message.
  • the fourth field may be an option (option) field.
  • the fourth field is a dedicated option field in the reply message, which may be expressed as option DD, for example.
  • the above fourth field may also confirm other required configuration parameters of the corresponding Locator, such as Locator value/length, Block length, Node length, and the like.
  • the specific Locator allocation process may include:
  • Step 51 The DHCPv6 client sends a solicit message to multiple DHCPv6 servers through multicast, which carries a second field such as option AA, and is used to request the DHCPv6 server to allocate a Locator segment for it.
  • Step 52 The DHCPv6 server replies to the DHCPv6 client with an advertisement message, which carries a first field such as option BB, which is used to indicate the Locator segment allocated for the DHCPv6 client and other required configuration parameters, such as Locator value/length, Block length, Node length, etc.
  • Step 53 The DHCPv6 client selects a server with the highest priority as the target DHCPv6 server, and sends a request (request) message to all relevant DHCPv6 servers through multicast, which carries a third field such as option CC, which is used to indicate the target ID of the DHCPv6 server.
  • Step 54 The target DHCPv6 server sends a reply (reply) message to the DHCPv6 client, which carries a fourth field such as option DD, which is used to determine the distribution of the target Locator segment and other required network configuration parameters to the DHCPv6 client.
  • a reply (reply) message to the DHCPv6 client, which carries a fourth field such as option DD, which is used to determine the distribution of the target Locator segment and other required network configuration parameters to the DHCPv6 client.
  • FIG. 6 is a schematic structural diagram of an apparatus for assigning identifiers provided by an embodiment of the present application.
  • the apparatus is applied to a DHCPv6 client.
  • the apparatus 60 for assigning identifiers includes:
  • the first receiving module 61 is configured to receive a first message from a DHCPv6 server; wherein, the first message includes a first field, and the first field is used to indicate the Locator segment allocated for the DHCPv6 client; the The Locator section is a network node identification section in the SRv6 protocol system.
  • the device 60 for assigning an identifier further includes:
  • the first sending module is configured to send the second message
  • the second packet includes a second field, and the second field is used to request the DHCPv6 server to allocate the Locator segment for the DHCPv6 client.
  • the device 60 for assigning an identifier further includes:
  • the determining module is configured to, in the case of receiving the first message from multiple DHCPv6 servers, determine the server with the highest priority among the multiple DHCPv6 servers as the target DHCPv6 server, and send the target DHCPv6 server
  • the Locator segment indicated by the first field in the first packet is determined as the target Locator segment.
  • the device 60 for assigning an identifier further includes:
  • the second sending module is configured to send third packets to the plurality of DHCPv6 servers respectively; wherein, the third packets include a third field, and the third field is used to indicate the identity of the target DHCPv6 server.
  • the device 60 for assigning an identifier further includes:
  • the second receiving module is configured to receive a fourth message from the target DHCPv6 server; wherein the fourth message includes a fourth field, and the fourth field is used to confirm that the target Locator segment is allocated to the DHCPv6 client.
  • the identifier allocation device 60 of the embodiment of the present application can implement the various processes of the above-mentioned embodiment of the identifier allocation method shown in Figure 3, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
  • FIG. 7 is a schematic structural diagram of a device for assigning identifiers provided by an embodiment of the present application.
  • the device is applied to a DHCPv6 server.
  • the device 70 for assigning identifiers includes:
  • the third sending module 71 is configured to send a first message to the DHCPv6 client; wherein the first message includes a first field, and the first field is used to indicate the Locator segment allocated for the DHCPv6 client;
  • the Locator section is a network node identification section in the SRv6 protocol system.
  • the device 70 for assigning an identifier further includes:
  • a third receiving module configured to receive a second message from the DHCPv6 client
  • the second packet includes a second field, and the second field is used to request the DHCPv6 server to allocate the Locator segment for the DHCPv6 client.
  • the device 70 for assigning an identifier further includes:
  • the fourth receiving module is configured to receive a third message from the DHCPv6 client; wherein, the third message includes a third field, and the third field is used to indicate the identity of the target DHCPv6 server; the target DHCPv6 The server is the one with the highest priority among the multiple DHCPv6 servers determined by the DHCPv6 client to send the first message.
  • the device 70 for assigning an identifier further includes:
  • a judging module configured to judge whether the DHCPv6 server to which it belongs is a target DHCPv6 server
  • the fourth sending module is configured to send a fourth message to the DHCPv6 client when it is determined that the DHCPv6 server to which it belongs is a target DHCPv6 server; wherein, the fourth message includes a fourth field, and the first The four fields are used to confirm that the target Locator segment is allocated to the DHCPv6 client, and the target Locator segment is the Locator segment allocated by the target DHCPv6 server.
  • the identifier allocation device 70 of the embodiment of the present application can realize the various processes of the above-mentioned embodiment of the identifier allocation method shown in Figure 4, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
  • FIG. 8 is a schematic structural diagram of a communication device provided by the embodiment of the present application.
  • the embodiment of the present application also provides a communication device 80, including a processor 81, a memory 82, and program or instruction that can run on the processor 81, for example, when the communication device 80 is a DHCPv6 client, when the program or instruction is executed by the processor 81, the method for implementing the allocation identification shown in FIG. 3 above is implemented each process of the example, and can achieve the same technical effect; or, when the communication device 80 is a DHCPv6 server, when the program or instruction is executed by the processor 81, the processes of the above-mentioned embodiment of the method for assigning identifiers shown in FIG. 4 are realized , and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the embodiment of the present application also provides a readable storage medium on which programs or instructions are stored.
  • programs or instructions are executed by the processor, the various processes of the above-mentioned embodiment of the method for assigning identifiers can be realized and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here.
  • Computer-readable media includes both permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology for information storage.
  • Information may be computer readable instructions, data structures, modules of a program, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (Static Random Access Memory, SRAM), dynamic random access memory (Dynamic Random Access Memory, DRAM), other types of random Access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), flash memory or other memory technologies , Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device, or any other non- Transmission media that can be used to store information that can be accessed by a computing device.
  • PRAM phase change
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • 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, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a service classification device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present application.
  • a service classification device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

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

Abstract

本申请实施例公开了一种分配标识的方法、装置、通信设备及可读存储介质,所述方法包括:DHCPv6客户端从DHCPv6服务器接收第一报文;其中,所述第一报文包括第一字段,所述第一字段用于指示为所述DHCPv6客户端分配的Locator段;所述Locator段为SRv6协议体系中的网络节点标识段。

Description

分配标识的方法、装置、通信设备及可读存储介质
相关申请的交叉引用
本申请基于申请号为202111649517.X、申请日为2021年12月30日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此以引入方式并入本申请。
技术领域
本申请属于通信技术领域,具体涉及一种分配标识的方法、装置、通信设备及可读存储介质。
背景技术
目前,SRv6是基于互联网协议第6版(Internet Protocol Version 6,IPv6)扩展的分段路由(Segment Routing,SR)解决方案。IPv6协议体系中,客户端设备比如光网络单元(Optical Network Unit,ONU)、路由器(Router)、交换机等,可以与运营商网络的边缘设备比如宽带远程接入服务器(Broadband Remote Access Server,BRAS)、全业务路由器(Service Router,SR)等配合,通过DHCPv6协议,自动从BRAS/SR获取IPv6地址。但是,IPv6地址和SRv6协议体系中的网络节点标识(Locator)是完全不同的资源,目前没有相关方法为客户端设备分配Locator。
发明内容
本申请实施例期望提供一种分配标识的方法、装置、通信设备及可读存储介质。
本申请实施例的技术方案是这样实现的:
第一方面,本申请实施例提供了一种分配标识的方法,应用于DHCPv6客户端,包括:
从DHCPv6服务器接收第一报文;其中,所述第一报文包括第一字段,所述第一字段用于指示为所述DHCPv6客户端分配的Locator段;所述Locator段为SRv6协议体系中的网络节点标识段。
第二方面,本申请实施例还提供了一种分配标识的方法,应用于DHCPv6服务器,包括:
向DHCPv6客户端发送第一报文;其中,所述第一报文包括第一字段,所述第一字段用于指示为所述DHCPv6客户端分配的Locator段;所述Locator段为SRv6协议体系中的网络节点标识段。
第三方面,本申请实施例还提供了一种分配标识的装置,应用于DHCPv6客户端,包括:
第一接收模块,配置为从DHCPv6服务器接收第一报文;其中,所述第一报文包括第一字段,所述第一字段用于指示为所述DHCPv6客户端分配的Locator段;所述Locator段为SRv6协议体系中的网络节点标识段。
第四方面,本申请实施例还提供了一种分配标识的装置,应用于DHCPv6服务器,包括:
第三发送模块,配置为向DHCPv6客户端发送第一报文;其中,所述第一报文包括第一字段,所述第一字段用于指示为所述DHCPv6客户端分配的Locator段;所述Locator段为SRv6协议体系中的网络节点标识段。
第五方面,本申请实施例还提供了一种通信设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤。
第六方面,本申请实施例还提供了一种可读存储介质,所述可读存储 介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤,或者实现如第二方面所述的方法的步骤。
在本申请实施例中,可以由DHCPv6客户端从DHCPv6服务器接收第一报文,该第一报文包括第一字段,第一字段用于指示为DHCPv6客户端分配的Locator段,该Locator段为SRv6协议体系中的网络节点标识段。由此,可以扩展DHCPv6,由DHCPv6服务器为DHCPv6客户端分配Locator段,从而使得DHCPv6服务器和客户端之间可以正常收发SRv6报文,保证SRv6协议体系运行。
附图说明
图1是本申请实施例中的SRH的示意图;
图2是本申请实施例中的SID格式的示意图;
图3是本申请实施例提供的一种分配标识的方法的流程图;
图4是本申请实施例提供的另一种分配标识的方法的流程图;
图5是本申请实施例中的Locator分配过程的流程图;
图6是本申请实施例提供的一种分配标识的装置的结构示意图;
图7是本申请实施例提供的另一种分配标识的装置的结构示意图;
图8是本申请实施例提供的一种通信设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区 别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
为了便于理解本申请实施例,首先说明以下内容。
SRv6是SR-IPv6的简称,是指将分段路由(Segment Routing,SR)应用于IPv6转发平面,即将SR的指令列表(SID列表)封装于IPv6报文中以指导报文按source route(源路径)转发。其中,IPv6头(Header)和段路由头(Segment Routing Header,SRH)可以如图1所示,IPv6Header中的Next Header取值为43表示下层头为路由扩展头(Routing Extension Header)。SRv6数据平面可以采用段路由头(Segment Routing Header,SRH)封装,SRH中封装了分段列表(segment list)信息,每个segment是128bit的IPv6地址。SRv6隧道(tunnel)是相应SID list的管理实体,与其它隧道一样,对业务呈现。SRv6tunnel能够承载二层、三层、多协议标签交换(Multi-Protocol Label Switching,MPLS)、传输控制协议(Transmission Control Protocol,TCP)用户数据包协议(User Datagram Protocol,UDP)等已知的所有类型载荷。
SRv6的SID可理解为路由器的IP地址,SID列表表征整个路由路径的IP地址列表。如图2所示,SRv6的SID可以为128比特(bit)可编程SID,可以包括Locator、功能(Function)(FUNCT)和参数(Arguments)(ARGS)。其中,Locator是SRv6协议体系中的网络节点标识,是网络拓扑中分配给一个网络节点的标识,用于转发数据包到该网络节点。Locator对应的路由会被网络节点通过内部网关协议(Interior Gateway Protocol, IGP)发布到网络中,用于帮助其他设备将数据包转发到发布该Locator的节点网络。在SRv6SID中,Locator长度可变,用于适配不同规模的网络。Locator又可以细分为B和N,B标识SRv6SID块(Block),一般由运营商分配给某个子网,通常用Prefix来表示,N则是该子网内区分节点的标识。Function(FUNCT)用来表达要执行的转发动作,相当于计算机指令的操作码,在SRv6网络编程中,不同的转发行为(Behavior)由Function部分来描述,如转发数据包到指定链路,或在指定表中查表转发等。Arguments(ARGS)是一个可选字段,是指令在执行时对应的参数,这些参数可能包含数据流、服务或任何其他相关的信息。
在本申请的一些可选实施例中,DHCPv6客户端可以包括但不限于4G/5G设备、小型交换机、路由器等客户侧设备。DHCPv6服务器可以为运营商网络的边缘设备,比如BRAS、SR等。
本申请的一些可选实施例中的SID具体为SRv6的SID,SRv6协议体系中的网络节点标识段(即Locator段)主要用于组成SID,以实现相应路由转发。
为了解决目前无法为客户端设备分配Locator的问题,本申请实施例扩展了DHCPv6,提出了由DHCPv6服务器为DHCPv6客户端动态分配Locator段,该Locator段为SRv6协议体系中的网络节点标识段,从而使得DHCPv6服务器和客户端之间可以正常收发SRv6报文,保证SRv6协议体系运行。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的分配标识的方法、装置、通信设备及可读存储介质进行详细地说明。
请参见图3,图3是本申请实施例提供的一种分配标识的方法的流程图,该方法应用于DHCPv6客户端。如图3所示,该方法包括如下步骤:
步骤31:从DHCPv6服务器接收第一报文。
本实施例中,第一报文可以包括第一字段,该第一字段用于指示为 DHCPv6客户端分配的Locator段,该Locator段为SRv6协议体系中的网络节点标识段,主要用于组成SID,以实现相应路由转发。该Locator段可以为一个Locator或者由多个Locator组成。
在本申请的一些可选实施例中,第一报文可选为通告(advertise)报文。
在本申请的一些可选实施例中,第一字段可选为选项(option)字段。比如,第一字段为advertise报文中的专用option字段,比如可以表示为option BB。
在本申请的一些实施例中,上述的第一字段还可以指示相应Locator的其他需要的配置参数,比如Locator值/长度、Block长度、Node长度等。
在本申请实施例中,可以由DHCPv6客户端从DHCPv6服务器接收第一报文,该第一报文包括第一字段,第一字段用于指示为DHCPv6客户端分配的Locator段,该Locator段为SRv6协议体系中的网络节点标识段。由此,可以扩展DHCPv6,由DHCPv6服务器为DHCPv6客户端分配Locator段,从而使得DHCPv6服务器和客户端之间可以正常收发SRv6报文,保证SRv6协议体系运行。进一步的,还可以使得SRv6协议体系不仅覆盖运营商骨干网设备,还可以覆盖骨干网设备和边缘设备。
在本申请的可选实施例中,上述从DHCPv6服务器接收第一报文之前,DHCPv6客户端可以向DHCPv6服务器发送第二报文,该第二报文包括第二字段,第二字段用于请求DHCPv6服务器为DHCPv6客户端分配Locator段,以基于此请求来由DHCPv6服务器为DHCPv6客户端分配Locator段。
在本申请的一些可选实施例中,第二报文可选为寻求(solicit)报文。
在本申请的一些可选实施例中,第二字段可选为选项(option)字段。比如,第二字段为solicit报文中的专用option字段,比如可以表示为option AA。
在本申请的一些可选实施例中,DHCPv6客户端可以通过组播方式向 多个DHCPv6服务器发送第二报文比如solicit报文。
在本申请的一些可选实施例中,若DHCPv6客户端从多个DHCPv6服务器接收到第一报文,则DHCPv6客户端可以将多个DHCPv6服务器中的满足预设条件的服务器确定为目标DHCPv6服务器,并将该目标DHCPv6服务器发送的第一报文中的第一字段指示的Locator段确定为目标Locator段。
在本申请的一些可选实施例中,上述满足预设条件的服务器可以为多个DHCPv6服务器中优先级最高的服务器,也可以为多个DHCPv6服务器中的符合一定选取规则的一个服务器,对此不作限定。
在本申请的一些可选实施例中,在确定目标DHCPv6服务器之后,DHCPv6客户端可以分别向多个DHCPv6服务器发送第三报文;其中,该第三报文包括第三字段,第三字段用于指示目标DHCPv6服务器的标识ID,以便所有相关DHCPv6服务器获取DHCPv6客户端确定的目标服务器。
在本申请的一些可选实施例中,第三报文可选为请求(request)报文。
在本申请的一些实施例中,第三字段可选为选项(option)字段。比如,第三字段为request报文中的专用option字段,比如可以表示为option CC。
在本申请的一些实施例中,DHCPv6客户端可以通过组播方式向多个DHCPv6服务器发送第三报文比如request报文。
在本申请的一些可选实施例中,在分别向多个DHCPv6服务器发送第三报文之后,DHCPv6客户端可以从目标DHCPv6服务器接收第四报文;其中,该第四报文包括第四字段,第四字段用于确认将目标Locator段分配给DHCPv6客户端使用。
在本申请的一些可选实施例中,第四报文可选为回复(reply)报文。
在本申请的一些可选实施例中,第四字段可选为选项(option)字段。比如,第四字段为reply报文中的专用option字段,比如可以表示为option  DD。
在本申请的一些可选实施例中,上述的第四字段还可以确认相应Locator的其他需要的配置参数,比如Locator值/长度、Block长度、Node长度等。
需要说明的是,上述的第一字段、第二字段、第三字段和第四字段可以具有不同的长度,也可以具有相同的长度,基于实际需求而定,对此不作限定。
请参见图4,图4是本申请实施例提供的一种分配标识的方法的流程图,该方法应用于DHCPv6服务器。如图4所示,该方法包括如下步骤:
步骤41:向DHCPv6客户端发送第一报文。
本实施例中,第一报文可以包括第一字段,该第一字段用于指示为DHCPv6客户端分配的Locator段,该Locator段为SRv6协议体系中的网络节点标识段,主要用于组成SID,以实现相应路由转发。
在本申请的一些可选实施例中,第一报文可选为通告(advertise)报文。
在本申请的一些可选实施例中,第一字段可选为选项option字段。比如,第一字段为advertise报文中的专用option字段,比如可以表示为option BB。
在本申请的一些可选实施例中,上述的第一字段还可以指示相应Locator的其他需要的配置参数,比如Locator值/长度、Block长度、Node长度等。
本申请实施例的分配标识的方法,可以由DHCPv6服务器向DHCPv6客户端发送第一报文,该第一报文包括第一字段,该第一字段用于指示为DHCPv6客户端分配的Locator段。由此,可以扩展DHCPv6,由DHCPv6服务器向DHCPv6客户端配置Locator段,从而使得DHCPv6服务器和客户端之间可以正常收发SRv6报文,保证SRv6协议体系运行。
在本申请的一些可选实施例中,上述向DHCPv6客户端发送第一报文之前,DHCPv6服务器可以从DHCPv6客户端接收第二报文,该第二报文包括第二字段,第二字段用于请求DHCPv6服务器为DHCPv6客户端分配Locator段。
在本申请的一些实施例中,第二报文可选为寻求(solicit)报文。
在本申请的一些实施例中,第二字段可选为选项(option)字段。比如,第二字段为solicit报文中的专用option字段,比如可以表示为option AA。
在本申请的一些可选实施例中,在向DHCPv6客户端发送第一报文之后,DHCPv6服务器可以从DHCPv6客户端接收第三报文;其中,该第三报文包括第三字段,第三字段用于指示目标DHCPv6服务器的ID。目标DHCPv6服务器为DHCPv6客户端确定的向其发送第一报文的多个DHCPv6服务器中的优先级最高的一者。
在本申请的一些可选实施例中,第三报文可选为请求(request)报文。
在本申请的一些可选实施例中,第三字段可选为选项(option)字段。比如,第三字段为request报文中的专用option字段,比如可以表示为option CC。
在本申请的一些可选实施例中,DHCPv6客户端可以通过组播方式向多个DHCPv6服务器发送第三报文比如request报文。
在本申请的一些可选实施例中,在从DHCPv6客户端接收第三报文之后,DHCPv6服务器可以先根据第三报文中的第三字段指示的目标DHCPv6服务器的标识,判断自身是否是目标DHCPv6服务器;然后,若判断出自身是目标DHCPv6服务器,则向DHCPv6客户端发送第四报文;其中,该第四报文包括第四字段,第四字段用于确认将目标Locator段分配给DHCPv6客户端使用,该目标Locator段为目标DHCPv6服务器分配的Locator段。而若判断出自身不是目标DHCPv6服务器,则无需向DHCPv6 客户端返回报文。
在本申请的一些可选实施例中,第四报文可选为回复(reply)报文。
在本申请的一些实施例中,第四字段可选为选项(option)字段。比如,第四字段为reply报文中的专用option字段,比如可以表示为option DD。
在本申请的一些可选实施例中,上述的第四字段还可以确认相应Locator的其他需要的配置参数,比如Locator值/长度、Block长度、Node长度等。
下面,结合图5对本申请实施例中的Locator分配过程进行说明。
如图5所示,具体的Locator分配过程可以包括:
步骤51:DHCPv6客户端通过组播方式向多个DHCPv6服务器发送寻求(solicit)报文,其中携带第二字段比如option AA,用于请求DHCPv6服务器为其分配Locator段。
步骤52:DHCPv6服务器向DHCPv6客户端回复通告(advertise)报文,其中携带第一字段比如option BB,用于指示为DHCPv6客户端分配的Locator段以及其他需要的配置参数,比如Locator值/长度、Block长度、Node长度等。
步骤53:DHCPv6客户端选择优先级最高的一台服务器作为目标DHCPv6服务器,并通过组播方式向所有相关DHCPv6服务器发送请求(request)报文,其中携带第三字段比如option CC,用于指示目标DHCPv6服务器的ID。
步骤54:目标DHCPv6服务器向DHCPv6客户端发送回复(reply)报文,其中携带第四字段比如option DD,用于确定将目标Locator段和其他需要的网络配置参数分配给DHCPv6客户端使用。
这样,借助上述的DHCPv6协议交互流程,可以实现SRv6的Locator的请求和分配。
请参见图6,图6是本申请实施例提供的一种分配标识的装置的结构示意图,该装置应用于DHCPv6客户端,如图6所示,分配标识的装置60包括:
第一接收模块61,配置为从DHCPv6服务器接收第一报文;其中,所述第一报文包括第一字段,所述第一字段用于指示为所述DHCPv6客户端分配的Locator段;所述Locator段为SRv6协议体系中的网络节点标识段。
在一些可选实施例中,分配标识的装置60还包括:
第一发送模块,配置为发送第二报文;
其中,所述第二报文包括第二字段,所述第二字段用于请求DHCPv6服务器为所述DHCPv6客户端分配Locator段。
在一些可选实施例中,分配标识的装置60还包括:
确定模块,配置为在从多个DHCPv6服务器接收到第一报文的情况下,将所述多个DHCPv6服务器中的优先级最高的服务器确定为目标DHCPv6服务器,并将所述目标DHCPv6服务器发送的第一报文中的第一字段指示的Locator段确定为目标Locator段。
在一些可选实施例中,分配标识的装置60还包括:
第二发送模块,配置为分别向所述多个DHCPv6服务器发送第三报文;其中,所述第三报文包括第三字段,所述第三字段用于指示所述目标DHCPv6服务器的标识。
在一些可选实施例中,分配标识的装置60还包括:
第二接收模块,配置为从所述目标DHCPv6服务器接收第四报文;其中,所述第四报文包括第四字段,所述第四字段用于确认将所述目标Locator段分配给所述DHCPv6客户端。
可理解的,本申请实施例的分配标识的装置60,可以实现上述图3所示的分配标识的方法实施例的各个过程,且能达到相同的技术效果,为避 免重复,这里不再赘述。
请参见图7,图7是本申请实施例提供的一种分配标识的装置的结构示意图,该装置应用于DHCPv6服务器,如图7所示,分配标识的装置70包括:
第三发送模块71,配置为向DHCPv6客户端发送第一报文;其中,所述第一报文包括第一字段,所述第一字段用于指示为所述DHCPv6客户端分配的Locator段;所述Locator段为SRv6协议体系中的网络节点标识段。
在一些可选实施例中,分配标识的装置70还包括:
第三接收模块,配置为从所述DHCPv6客户端接收第二报文;
其中,所述第二报文包括第二字段,所述第二字段用于请求DHCPv6服务器为所述DHCPv6客户端分配Locator段。
在一些可选实施例中,分配标识的装置70还包括:
第四接收模块,配置为从所述DHCPv6客户端接收第三报文;其中,所述第三报文包括第三字段,所述第三字段用于指示目标DHCPv6服务器的标识;所述目标DHCPv6服务器为所述DHCPv6客户端确定的向其发送第一报文的多个DHCPv6服务器中的优先级最高的一者。
在一些可选实施例中,分配标识的装置70还包括:
判断模块,配置为判断自身所属DHCPv6服务器是否是目标DHCPv6服务器;
第四发送模块,配置为在判断出自身所属DHCPv6服务器是目标DHCPv6服务器的情况下,向所述DHCPv6客户端发送第四报文;其中,所述第四报文包括第四字段,所述第四字段用于确认将目标Locator段分配给所述DHCPv6客户端,所述目标Locator段为所述目标DHCPv6服务器分配的Locator段。
可理解的,本申请实施例的分配标识的装置70,可以实现上述图4所 示的分配标识的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
此外,图8是本申请实施例提供的一种通信设备的结构示意图,如图8所示,本申请实施例还提供了一种通信设备80,包括处理器81,存储器82,存储在存储器82上并可在所述处理器81上运行的程序或指令,例如,该通信设备80为DHCPv6客户端时,该程序或指令被处理器81执行时实现上述图3所示的分配标识的方法实施例的各个过程,且能达到相同的技术效果;或者,该通信设备80为DHCPv6服务器时,该程序或指令被处理器81执行时实现上述图4所示的分配标识的方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供了一种可读存储介质,其上存储有程序或指令,所述程序或指令被处理器执行时可实现上述分配标识的方法实施例的各个过程且能达到相同的技术效果,为避免重复,这里不再赘述。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体,可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(Static Random Access Memory,SRAM)、动态随机存取存储器(Dynamic Random Access Memory,DRAM)、其他类型的随机存取存储器(Random Access Memory,RAM)、只读存储器(Read Only Memory,ROM)电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存 电脑可读媒体(transitory media),如调制的数据信号和载波。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台服务分类设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。
以上所述仅是本申请的可选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请实施例的保护范围。

Claims (16)

  1. 一种分配标识的方法,应用于动态主机配置协议第六版DHCPv6客户端,包括:
    从DHCPv6服务器接收第一报文;其中,所述第一报文包括第一字段,所述第一字段用于指示为所述DHCPv6客户端分配的Locator段;所述Locator段为SRv6协议体系中的网络节点标识段。
  2. 根据权利要求1所述的方法,其中,所述从DHCPv6服务器接收第一报文之前,所述方法还包括:
    发送第二报文;其中,所述第二报文包括第二字段,所述第二字段用于请求DHCPv6服务器为所述DHCPv6客户端分配Locator段。
  3. 根据权利要求1所述的方法,其中,若所述DHCPv6客户端从多个DHCPv6服务器接收到第一报文,所述方法还包括:
    将所述多个DHCPv6服务器中的满足预设条件的服务器确定为目标DHCPv6服务器,并将所述目标DHCPv6服务器发送的第一报文中的第一字段指示的Locator段确定为目标Locator段。
  4. 根据权利要求3所述的方法,其中,在确定所述目标DHCPv6服务器之后,所述方法还包括:
    分别向所述多个DHCPv6服务器发送第三报文;其中,所述第三报文包括第三字段,所述第三字段用于指示所述目标DHCPv6服务器的标识。
  5. 根据权利要求4所述的方法,其中,在分别向所述多个DHCPv6服务器发送第三报文之后,所述方法还包括:
    从所述目标DHCPv6服务器接收第四报文;其中,所述第四报文包括第四字段,所述第四字段用于确认将所述目标Locator段分配给所述DHCPv6客户端。
  6. 一种分配标识的方法,应用于DHCPv6服务器,包括:
    向DHCPv6客户端发送第一报文;其中,所述第一报文包括第一字段,所述第一字段用于指示为所述DHCPv6客户端分配的Locator段;所述Locator段为SRv6协议体系中的网络节点标识段。
  7. 根据权利要求6所述的方法,其中,所述向DHCPv6客户端发送第一报文之前,所述方法还包括:
    从所述DHCPv6客户端接收第二报文;其中,所述第二报文包括第二字段,所述第二字段用于请求DHCPv6服务器为所述DHCPv6客户端分配Locator段。
  8. 根据权利要求6所述的方法,其中,在向所述DHCPv6客户端发送第一报文之后,所述方法还包括:
    从所述DHCPv6客户端接收第三报文;其中,所述第三报文包括第三字段,所述第三字段用于指示目标DHCPv6服务器的标识;所述目标DHCPv6服务器为所述DHCPv6客户端确定的向其发送第二报文的多个DHCPv6服务器中的满足预设条件的一者。
  9. 根据权利要求8所述的方法,其中,在从所述DHCPv6客户端接收第三报文之后,所述方法还包括:
    根据所述第三报文中的第三字段指示的目标DHCPv6服务器的标识,判断自身是否是目标DHCPv6服务器;
    若判断出自身是目标DHCPv6服务器,则向所述DHCPv6客户端发送第四报文;其中,所述第四报文包括第四字段,所述第四字段用于确认将目标Locator段分配给所述DHCPv6客户端,所述目标Locator段为所述目标DHCPv6服务器分配的Locator段。
  10. 一种分配标识的装置,应用于DHCPv6客户端,所述装置包括:
    第一接收模块,配置为从DHCPv6服务器接收第一报文;其中,所述第一报文包括第一字段,所述第一字段用于指示为所述DHCPv6客户端分 配的Locator段;所述Locator段为SRv6协议体系中的网络节点标识段。
  11. 根据权利要求10所述的装置,其中,所述装置还包括:
    第一发送模块,配置为发送第二报文;
    其中,所述第二报文包括第二字段,所述第二字段用于请求DHCPv6服务器为所述DHCPv6客户端分配Locator段。
  12. 根据权利要求10所述的装置,其中,所述装置还包括:
    确定模块,配置为在从多个DHCPv6服务器接收到第一报文的情况下,将所述多个DHCPv6服务器中的满足预设条件的服务器确定为目标DHCPv6服务器,并将所述目标DHCPv6服务器发送的第一报文中的第一字段指示的Locator段确定为目标Locator段。
  13. 一种分配标识的装置,应用于DHCPv6服务器,所述装置包括:
    第三发送模块,配置为向DHCPv6客户端发送第一报文;其中,所述第一报文包括第一字段,所述第一字段用于指示为所述DHCPv6客户端分配的Locator段;所述Locator段为SRv6协议体系中的网络节点标识段。
  14. 根据权利要求13所述的装置,其中,所述装置还包括:
    第三接收模块,配置为从所述DHCPv6客户端接收第二报文;
    其中,所述第二报文包括第二字段,所述第二字段用于请求DHCPv6服务器为所述DHCPv6客户端分配Locator段。
  15. 一种通信设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5任一项所述的分配标识的方法的步骤,或者实现如权利要求6至9任一项所述的分配标识的方法的步骤。
  16. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5任一项所述的分配标识的方法的步骤,或者实现如权利要求6至9任一项所述的分配标识的方法的 步骤。
PCT/CN2022/143395 2021-12-30 2022-12-29 分配标识的方法、装置、通信设备及可读存储介质 WO2023125807A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111649517.XA CN116418722A (zh) 2021-12-30 2021-12-30 分配标识的方法、装置、通信设备及可读存储介质
CN202111649517.X 2021-12-30

Publications (1)

Publication Number Publication Date
WO2023125807A1 true WO2023125807A1 (zh) 2023-07-06

Family

ID=86998003

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/143395 WO2023125807A1 (zh) 2021-12-30 2022-12-29 分配标识的方法、装置、通信设备及可读存储介质

Country Status (2)

Country Link
CN (1) CN116418722A (zh)
WO (1) WO2023125807A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602724A (zh) * 2018-06-12 2019-12-20 华为技术有限公司 网络配置的方法和通信装置
WO2020018185A1 (en) * 2018-07-17 2020-01-23 Futurewei Technologies, Inc. Systems and methods to implement path aware networking
CN111988395A (zh) * 2020-08-18 2020-11-24 深圳信息职业技术学院 一种服务功能链构建系统及方法
CN112511418A (zh) * 2020-06-22 2021-03-16 中兴通讯股份有限公司 报文指示方法、装置、设备和存储介质
US11165691B1 (en) * 2020-05-19 2021-11-02 Juniper Networks, Inc. Assignment of segment identifiers in segment routing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602724A (zh) * 2018-06-12 2019-12-20 华为技术有限公司 网络配置的方法和通信装置
WO2020018185A1 (en) * 2018-07-17 2020-01-23 Futurewei Technologies, Inc. Systems and methods to implement path aware networking
US11165691B1 (en) * 2020-05-19 2021-11-02 Juniper Networks, Inc. Assignment of segment identifiers in segment routing
CN112511418A (zh) * 2020-06-22 2021-03-16 中兴通讯股份有限公司 报文指示方法、装置、设备和存储介质
CN111988395A (zh) * 2020-08-18 2020-11-24 深圳信息职业技术学院 一种服务功能链构建系统及方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUAWEI: "IP address allocation via DHCP/AAA Server", TSG-CT WG3 MEETING #105, C3-193431, 3 September 2019 (2019-09-03), XP051762428 *

Also Published As

Publication number Publication date
CN116418722A (zh) 2023-07-11

Similar Documents

Publication Publication Date Title
CN111541613B (zh) 一种基于SRv6的数据处理方法及相关设备
CN112087386B (zh) 一种报文处理的方法、设备和系统
CN108777722B (zh) 多系统组网通信方法、装置、移动终端及存储介质
CN1822570B (zh) 在基于以太网的网络中进行的伪线路对等体地址的自动发现方法
CN110224934B (zh) 一种利用统一sr标签栈进行报文处理的方法及装置
CN107046506B (zh) 一种报文处理方法、流分类器和业务功能实例
US9438555B2 (en) Communicating with a distribution system via an uplink access point
CN112654049B (zh) 用于配置无线通信覆盖扩展系统的方法、系统、节点和介质
EP3255866B1 (en) Internet protocol address allocation method and router
CN102984288A (zh) 一种自动管理IPv6地址冲突的方法及系统
CN113206787B (zh) 分段标识的处理方法及设备
CN107547665B (zh) 一种dhcp地址分配的方法、设备及系统
CN109120741B (zh) 一种重复地址检测方法及装置、计算机可读存储介质
CN104486244A (zh) 一种服务质量QoS策略的执行方法及装置
EP3503484A1 (en) Message transmission method, device and network system
WO2023125807A1 (zh) 分配标识的方法、装置、通信设备及可读存储介质
CN106850871B (zh) 一种单物理网卡多vlan的dhcp服务器实现方法
CN108632173B (zh) 一种资源访问系统及基于局域网的资源访问方法
CN112737946B (zh) 用于IPv6网络的路由通告方法、装置、存储介质和系统
CN104468305B (zh) 实现三层虚拟专用网方法和设备
CN110636146B (zh) 一种用户地址分配方法及设备
CN116418741A (zh) 分配标识的方法、装置、通信设备及可读存储介质
CN107770070B (zh) 一种信息传输的方法、设备和系统
CN113114795B (zh) 一种IPv6地址分配方法及系统
US20240154936A1 (en) Proxy address resolution protocol for distributed local area network communications

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: 22915057

Country of ref document: EP

Kind code of ref document: A1