CN113132503A - Address allocation method and device - Google Patents

Address allocation method and device Download PDF

Info

Publication number
CN113132503A
CN113132503A CN201911417645.4A CN201911417645A CN113132503A CN 113132503 A CN113132503 A CN 113132503A CN 201911417645 A CN201911417645 A CN 201911417645A CN 113132503 A CN113132503 A CN 113132503A
Authority
CN
China
Prior art keywords
ipv6 address
equipment
address
type
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911417645.4A
Other languages
Chinese (zh)
Other versions
CN113132503B (en
Inventor
代雯蕾
罗勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201911417645.4A priority Critical patent/CN113132503B/en
Publication of CN113132503A publication Critical patent/CN113132503A/en
Application granted granted Critical
Publication of CN113132503B publication Critical patent/CN113132503B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses

Abstract

The embodiment of the application discloses an address allocation method and device, which can solve the problems of low accuracy, low efficiency and the like in the IPv6 address allocation process. The method comprises the following steps: and receiving an IPv6 address request message from the terminal equipment, wherein the IPv6 address request message comprises equipment type indication information. And determining the equipment type of the terminal equipment according to the equipment type indication information. And determining target IPv6 address information of the terminal equipment according to the equipment type, and sending the target IPv6 address information to the terminal equipment. By adopting the embodiment of the application, the accuracy and efficiency of IPv6 address allocation can be improved.

Description

Address allocation method and device
Technical Field
The present application relates to the field of computer technologies, and in particular, to an address allocation method and apparatus.
Background
The sixth version of internet protocol (IPv 6) is the next generation internet protocol used to replace the fourth version of the existing internet protocol (IPv 4), and is represented by 128-bit binary code, which not only solves the problem of insufficient IPv4 network address resources, but also clears the obstacle to the internet connection of devices other than computers.
Since the address capacity of IPv6 is very large, encoding and allocation of IPv6 addresses in a rational manner is particularly important for network management. Currently, different types of external networks (e.g., Internet and Internet Protocol Television (IPTV) networks) use the same IPv6 access network device for address allocation, but different proxy prefixes used by different types of external networks, and a certain external network can only forward a message to an IPv6 address derived from its corresponding proxy prefix, so that when the proxy prefix of the IPv6 address allocated by the IPv6 access network device for the terminal device is not the proxy prefix of the external network corresponding to the terminal device, the terminal device cannot receive the message sent by the external network, thereby causing service interruption. In the prior art, in order to overcome the problem, an IPv6 Network Address Translation (NAT) method is proposed, but the method destroys the end-to-end transparency of IPv6, and the implementation process is complex. Therefore, how to accurately and efficiently allocate the IPv6 address to the terminal device becomes one of the problems to be solved urgently.
Disclosure of Invention
The embodiment of the application provides an address allocation method and device, which can solve the problems of low accuracy, high complexity and the like in the IPv6 address allocation process and can improve the accuracy and efficiency of IPv6 address allocation.
In a first aspect, an embodiment of the present application provides an address allocation method, which is applicable to an access network device. The method comprises the following steps: receiving an IPv6 address request message from a terminal device, wherein the IPv6 address request message comprises device type indication information. And determining the equipment type of the terminal equipment according to the equipment type indication information. And determining the target IPv6 address information of the terminal equipment according to the equipment type. And sending the target IPv6 address information to the terminal equipment.
In the method provided by the embodiment of the present application, the device type of the terminal device is determined according to the device type indication information included in the received IPv6 address request message, and furthermore, the IPv6 address is allocated to the terminal device according to the device type of the terminal device, so that the problem of service interruption and the like caused by the proxy prefix of the IPv6 address allocated to the terminal device and not the proxy prefix of the corresponding external network can be avoided, and the accuracy and efficiency of IPv6 address allocation can be improved.
With reference to the first aspect, in a possible implementation manner, the device type indication information includes a media access control MAC address of the terminal device. The access network device may determine a device type corresponding to the terminal device from a preset device type query set according to the MAC address, where the device type query set includes at least one MAC address corresponding to each device type of at least one device type. The MAC address of the terminal equipment included in the IPv6 address request message is used as an index to determine the equipment type corresponding to the terminal equipment from a preset equipment type query set, so that the accuracy and efficiency of determining the equipment type are improved.
With reference to the first aspect, in a possible implementation manner, before receiving an IPv6 address request message from a terminal device, an access network device receives a dynamic host configuration protocol (DHCPv 4) message for IPv4, where the message is sent by the terminal device. And if the access network equipment determines that the first field of the DHCPv4 message comprises preset message data, correspondingly storing the MAC address in the DHCPv4 message and the first equipment type corresponding to the preset message data into an equipment type query set.
With reference to the first aspect, in a possible implementation manner, before receiving the IPv6 address request packet from the terminal device, the access network device may receive a group join request packet sent by the terminal device or a response packet for a general query packet, and forward the group join request packet or the response packet to the multicast source. By receiving multicast information from the multicast source, if a multicast group corresponding to a destination multicast address included in the multicast information includes the terminal device and the multicast information includes a multicast video stream, storing a MAC address in the group join request message or the response message in a device type query set in correspondence with a preset first device type.
With reference to the first aspect, in a feasible implementation manner, the device type indication information is included in a second field or a third field in the IPv6 address request message, and if the access network device determines that the device type indication information is the first type identifier, it determines that the terminal device is of the first device type. And if the access network equipment type indication information is a second type identifier, determining that the terminal equipment is of a second equipment type. And determining the equipment type of the terminal equipment according to the type identifier included in the equipment type indication information, wherein the operability is strong, and the accuracy of determining the equipment type is improved.
With reference to the first aspect, in a feasible implementation manner, the target IPv6 address information is a target IPv6 proxy prefix or a target IPv6 address generated based on the target IPv6 proxy prefix, and IPv6 proxy prefixes included in IPv6 address information corresponding to terminal devices of different device types are different.
With reference to the first aspect, in a possible implementation manner, after the target IPv6 address information is sent to the terminal device, the access network device may generate a routing forwarding table of the terminal device, where the routing forwarding table includes the target IPv6 proxy prefix and a first next hop address, and the proxy prefix of the first next hop address is the target IPv6 proxy prefix. By generating the route forwarding table of the terminal device, the message of the terminal device can be forwarded according to the route in the route forwarding table, so that the success rate of message forwarding is improved.
In a second aspect, an embodiment of the present application provides an address allocation method, where the method is applicable to a terminal device. The method comprises the following steps: the terminal equipment sends an IPv6 address request message to the access network equipment, and the IPv6 address request message comprises equipment type indication information. And receiving target IPv6 address information sent by the access network equipment, wherein the target IPv6 address information is determined by the access network equipment according to the equipment type indication information.
With reference to the second aspect, in a possible implementation manner, before the sending the IPv6 address request message to the access network device, the terminal device sends a DHCPv4 message to the access network device. Wherein, the DHCPv4 message is used to instruct the access network device to determine a device type query set.
With reference to the second aspect, in a possible implementation manner, before the sending of the IPv6 address request message to the access network device, the terminal device sends a group join request message or a response message for a general query message to the access network device. Wherein, the group join request message or the response message is used for indicating the access network device to determine a device type query set.
With reference to the second aspect, in a feasible implementation manner, before the IPv6 address request packet is sent to the access network device, the terminal device obtains preset device type indication information. And writing the device type indication information into a second field or a third field of the IPv6 address request message.
With reference to the second aspect, in a possible implementation manner, the target IPv6 address information is a target IPv6 proxy prefix, and after receiving the target IPv6 address information sent by the access network device, the terminal device may generate a target IPv6 address according to the target IPv6 proxy prefix.
In a third aspect, an apparatus is provided in an embodiment of the present application. The device can be the access network equipment itself, or an element or module such as a chip inside the access network equipment. The apparatus includes a unit configured to perform the address allocation method provided in any one of the possible implementations of the first aspect, and thus can also achieve the beneficial effects (or advantages) of the address allocation method provided in the first aspect.
In a fourth aspect, an apparatus is provided in an embodiment of the present application. The device can be the terminal device itself, and also can be an element or module such as a chip in the terminal device. The apparatus includes a unit configured to perform the address allocation method provided in any possible implementation manner of the second aspect, and thus can also be used to achieve the beneficial effects (or advantages) of the address allocation method provided in the second aspect.
In a fifth aspect, embodiments of the present application provide an apparatus, which may be an access network device itself, or an element or a module inside the access network device, such as a chip. The apparatus includes a memory, a processor, and a transceiver. The processor is configured to call the code stored in the memory to execute the address allocation method provided in any one of the possible implementation manners of the first aspect.
In a sixth aspect, the present application provides an apparatus, which may be the terminal device itself, or an element or module inside the terminal device, such as a chip. The apparatus includes a memory, a processor, and a transceiver. Wherein the processor is configured to call the code stored in the memory to execute the address allocation method provided in any one of the possible implementations of the second aspect.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the address allocation method provided in any one of the feasible implementation manners of the first aspect is implemented, and beneficial effects (or advantages) of the address allocation method provided in the first aspect can also be implemented.
In an eighth aspect, the present invention provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the address allocation method provided in any one of the possible implementation manners in the second aspect is implemented, and beneficial effects (or advantages) of the address allocation method provided in the second aspect can also be implemented.
In a ninth aspect, an embodiment of the present application provides a computer program product including instructions, which when running on a computer, causes the computer to execute the address allocation method provided in the first aspect, and can also achieve the beneficial effects of the address allocation method provided in the first aspect.
In a tenth aspect, an embodiment of the present application provides a computer program product including instructions, which, when the computer program product runs on a computer, enables the computer to execute the address allocation method provided in the second aspect, and also can achieve the beneficial effects of the address allocation method provided in the second aspect.
In an eleventh aspect, an apparatus is provided in an embodiment of the present application, and the apparatus is an access network device. The communication device includes: a processor and interface circuitry. The interface circuit is used for receiving code instructions and transmitting the code instructions to the processor. The processor is configured to execute the code instructions to implement the address allocation method provided in any feasible implementation manner of the first aspect, and also can achieve the beneficial effects (or advantages) of the address allocation method provided in the first aspect.
In a twelfth aspect, an embodiment of the present application provides an apparatus, where the apparatus is a terminal device. The device includes: a processor and interface circuitry. The interface circuit is used for receiving code instructions and transmitting the code instructions to the processor. The processor is configured to execute the code instructions to implement the address allocation method provided in any feasible implementation manner of the second aspect, and also can achieve the beneficial effects (or advantages) of the address allocation method provided in the second aspect.
In a thirteenth aspect, an embodiment of the present application provides a communication system, where the communication system includes the above access network device and terminal device.
By adopting the method provided by the embodiment of the application, the problems of low accuracy, high complexity and the like in the IPv6 address allocation process can be solved, and the accuracy and efficiency of IPv6 address allocation can be improved.
Drawings
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present application;
fig. 2 is a flow chart of an address allocation method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of an address allocation method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a format of an Option60 field defined by operator 1 according to an embodiment of the present application;
fig. 5 is a schematic diagram of packet capture of a DHCPv4-DISCOVER message provided in the embodiment of the present application;
fig. 6 is a schematic flowchart of another address allocation method according to an embodiment of the present application;
fig. 7 is a schematic diagram illustrating an application scenario of a routing forwarding table according to an embodiment of the present application;
fig. 8 is a schematic diagram of another application scenario of a routing forwarding table according to an embodiment of the present application;
fig. 9 is a schematic flowchart of another address allocation method according to an embodiment of the present application;
FIG. 10 is a schematic structural diagram of an apparatus according to an embodiment of the present disclosure;
FIG. 11 is a schematic view of another embodiment of an apparatus according to the present disclosure;
FIG. 12 is a schematic view of another embodiment of an apparatus according to the present disclosure;
fig. 13 is a schematic view of another structure of an apparatus according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
The embodiment of the application provides an address allocation method and device. Referring to fig. 1, fig. 1 is a schematic structural diagram of a communication system, to which the address assignment method is applied according to an embodiment of the present application. As shown in fig. 1, the communication system mainly includes a terminal device and an access network device. The terminal device includes, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a Set Top Box (STB), a camera, and the like, and is not limited herein. The access network devices include, but are not limited to, Customer Premises Equipment (CPE), routers, servers, etc., and are not limited thereto. In a specific implementation, the access network device may obtain the device type indication information included in the IPv6 address request message by receiving the IPv6 address request message from the terminal device. And then, the device type of the terminal device can be determined according to the device type indication information. And finally, determining the target IPv6 address information of the terminal equipment according to the equipment type, and further sending the target IPv6 address information to the terminal equipment.
Generally, different types of external networks (e.g., Internet and IPTV networks) use the same IPv6 access network device for address allocation, but the proxy prefixes used by the different types of external networks are different, and a certain external network can only forward a message to the IPv6 address derived from its corresponding proxy prefix, so that when the proxy prefix of the IPv6 address allocated to the terminal device by the IPv6 access network device is not the proxy prefix of its corresponding external network, the terminal device cannot receive the message sent by the external network, thereby causing service interruption. In the prior art, in order to overcome the problem, an IPv6 NAT method is proposed, but the method destroys the end-to-end transparency of IPv6, and the implementation process is complex, so how to accurately and efficiently allocate an IPv6 address to a terminal device becomes one of the problems to be solved urgently.
The address allocation method provided by the embodiment of the application aims to solve the technical problems that: how to accurately and efficiently assign IPv6 addresses to terminal devices.
Example one
Referring to fig. 2, fig. 2 is a flow chart of an address allocation method according to an embodiment of the present disclosure. As shown in fig. 2, the address allocation method may include the following steps:
s201, the access network equipment receives an IPv6 address request message from the terminal equipment.
In some possible embodiments, the access network device may obtain the device type indication information included in the IPv6 address request message by receiving the IPv6 address request message from the terminal device. Specifically, the IPv6 address request message sent by the terminal device may be a router solicitation message (RS) message. Here, the device type indication information included in the RS message may be a Media Access Control (MAC) address (also referred to as a local area network address, an ethernet address, a physical address, or a hardware address) of the terminal device that transmitted the RS message. It should be understood that the MAC address can be used to uniquely identify a network card in the network, wherein a terminal device, if it has one or more network cards, needs to have a unique MAC address for each network card.
S202, the access network equipment determines the equipment type of the terminal equipment according to the equipment type indication information.
In some feasible embodiments, after the access network device obtains the device type indication information, that is, the MAC address of the terminal device, the device type corresponding to the terminal device may be determined from a preset device type query set according to the MAC address. Here, the device type query set includes at least one MAC address corresponding to each of at least one device type. It should be understood that the device type of the terminal device may be determined according to the type of the network where the terminal device is located. For example, if the network where the terminal device is located is the Internet, the device type of the terminal device may be determined as the PC type. If the network where the terminal device is located is an IPTV network, the device type of the terminal device may be determined as the STB type. It should be understood that the type of the terminal device may also include a camera type, or other customized types, etc., and is not limited herein. In practical applications, the device type query set may be a device type query table or a device type query array, and the like, which is not limited herein. For example, please refer to table 1-1, where table 1-1 is a device type query set provided by an embodiment of the present application. As shown in table 1-1, the device type query set collectively includes 4 MAC addresses, MAC1, MAC2, MAC3, and MAC4, respectively. The device type corresponding to the MAC1 is an STB type, the device type corresponding to the MAC2 is a PC type, the device type corresponding to the MAC3 is a PC type, and the device type corresponding to the MAC4 is an STB type. Assuming that the device type indication information included in the RS message received by the access network device from the terminal device is MAC1, the device type corresponding to the terminal device can be determined to be the STB type from a preset device type query set according to MAC 1.
TABLE 1-1
MAC address Type of device
MAC1 STB type
MAC2 PC type
MAC3 PC type
MAC4 STB type
In an alternative implementation, please refer to fig. 3 together, and fig. 3 is a further flowchart illustrating an address allocation method according to an embodiment of the present application. As can be seen from fig. 3, before step S201, the method may further include the following steps:
s2001, the access network device receives a dynamic host configuration protocol DHCPv4 message for the fourth version of the internet protocol sent by the terminal device.
In some possible embodiments, the terminal device may send the DHCPv4 message to the access network device in a wired or wireless manner.
And S2002, if the access network equipment determines that the first field of the DHCPv4 message comprises the preset message data, correspondingly storing the MAC address in the DHCPv4 message and the first equipment type corresponding to the preset message data into an equipment type query set.
In some feasible embodiments, after the access network device receives the DHCPv4 message sent by the terminal device, a first field included in the DHCPv4 message may be obtained by analyzing the DHCPv4 message, and if it is determined that the first field of the DHCPv4 message includes preset message data, the MAC address in the DHCPv4 message and the first device type corresponding to the preset message data are correspondingly stored in the device type query set. It should be understood that in a Dynamic Host Configuration Protocol (DHCP), an Option field is defined for extending the DHCP protocol. The process of automatically allocating the IP address by using the DHCP protocol comprises the following steps: the terminal equipment searches a DHCP server by sending a DHCP-DISCOVER message, the DHCP server which receives the DHCP-DISCOVER message in the network allocates an IP address and other configuration information for the terminal equipment and sends the IP address and other configuration information to the terminal equipment through the DHCP-OFFER message, when the terminal equipment receives the allocated IP address, the DHCP-REQUEST REQUEST message is sent in a broadcasting mode, wherein after the DHCP server which receives the DHCP-REQUEST REQUEST message judges that the server has a corresponding lease record, the DHCP-ACK message is sent as a response to inform the terminal equipment that the allocated IP address can be used. The DHCP-DISCOVER message sent by the terminal device to the DHCP server includes an Option60 Option field, where the Option60 Option field carries hardware-related information of the terminal device, and is used to indicate an attribute of the terminal device, for example, the Option60 Option field may include data such as a vendor identifier, a device type, and a device model. In this embodiment, the DHCPv4 message may be a DHCP-DISCOVER message, and the first field may be an Option60 field in the DHCP-DISCOVER message. In practice, the data content and format (e.g., which fields are included and the meaning of the contents of each field) of the Option60 Option field is customized by each device manufacturer. For ease of understanding, the following embodiments of the present application are mainly described by taking the format of Option60 defined by operator 1 as an example.
For example, please refer to fig. 4, fig. 4 is a schematic diagram of a format of an Option60 field defined by operator 1 according to an embodiment of the present application. As shown in FIG. 4, the Option60 Field is composed of Code, Length, Enterprise Code, Field type, Field Length, and Field value fields. Where Code denotes a vendor class identifier, RFC 2132 (i.e., a document of the recording protocol standardization process with the number of 2132) defines it as a fixed value of 60, Length is the total number of bytes of Enterprise Code, Field type, Field Length, and Field value data, Enterprise Code denotes the Enterprise Code of operator 1, which is a pending value and is temporarily denoted by 0x0000, Field type denotes a Field type, Field Length denotes a Field Length, and Field value denotes a Field value. Here, for the specific definitions of Field type, Field length and Field value, see tables 1-2. As shown in Table 1-2, the Field type can be any character from 4 to 33, and the Field length represents the byte number of the Field value, i.e. the Field length, which can be 1-32 bytes, and the Field value is a specific Field value. As can be seen from table 1-2, when the Field type is 31, it indicates that the terminal device is a set top box, i.e. the device type of the terminal device is an STB type. Therefore, when the access network device receives the DHCPv4-DISCOVER message and determines that the Option60 Option field of the DHCPv4-DISCOVER message includes the preset message data 31, the MAC address of the terminal device included in the DHCPv4-DISCOVER message and the first device type corresponding to the preset message data 31, that is, the STB type, can be correspondingly stored in the device type query set.
Tables 1 to 2
Figure BDA0002351605840000061
For example, please refer to fig. 5, where fig. 5 is a schematic packet capture diagram of a DHCPv4-DISCOVER message provided in the embodiment of the present application. As shown in fig. 5, it is assumed that the Option60 field in the DHCPv4-DISCOVER message can be represented as 3c 3d 00001 f 390167458 b 6b c 6237 b 32000000000000000 e a1 a 506 ed 4b 9904 ac 13 df 1c 0e 8f 3b 7a 7e 073 e 53982 f 391 e 47915 a f 15716 b 55778 ce 4b 9a 8c 5f f 1c 9. The representation of the Option Field of the Option60 is 16-ary representation, so that, as shown in fig. 5, the Code of the Option60 Field is 3c (i.e. decimal 60), the Length is 3d (i.e. decimal 61), the Enterprise Code is 0000, the Field type is 1f (i.e. decimal 31), the Field Length is 39 (i.e. decimal 57), and the Field value is 0167458 b 6b c 6237 b 32000000000000000 e a1 a 506 ed 4b 9904 ac 13 df 1c 0e 8f 3b 7a 7e 073 e 53982 f 47 a f 15716 b 55778 de 4b 9a 8c 5f f 1c 9. Therefore, if it is determined that the Field type in the Option Field of the Option60 in the DHCPv4-DISCOVER message is 1f (i.e., 31), the MAC address of the terminal device included in the DHCPv4-DISCOVER message and the first device type corresponding to the preset message data 1f, that is, the STB type, can be correspondingly stored in the device type query set.
In another alternative implementation, please refer to fig. 6 together, and fig. 6 is a further flowchart illustrating an address allocation method according to an embodiment of the present application. As can be seen from fig. 6, before step S201, the method may further include the following steps:
s205, the access network device receives the group joining request message or the response message aiming at the general inquiry message sent by the terminal device, and forwards the group joining request message or the response message to the multicast source.
In some possible embodiments, when the terminal device does not join any multicast group, the terminal device may actively send a group join request message to the access network device to request to join a multicast group, or after the terminal device has joined a multicast group, the terminal device may feed back a response message to the access network device according to a general query message periodically sent by the access network device, where the response message includes a group membership relationship in the multicast group where the terminal device is located. Specifically, after the access network device receives a group join request message sent by the terminal device or receives a response message fed back by the terminal device, the access network device may generate a multicast forwarding item according to the group join request message or the response message, and may forward the group join request message or the response message to a multicast source. For example, assuming that after the query and the response, the access network device knows that the local network segment has members of the multicast group G1 and the multicast group G2, and generates (multicast source 1, G1) and (multicast source 2, G2) multicast forwarding items as forwarding bases of multicast information, when the access network device receives the multicast information sent by the multicast source 1 to G1, because the access network device already has the multicast forwarding item of (multicast source 1, G1), the access network device can forward the multicast information to the local network segment where the multicast group G1 is located, and then the terminal device in the multicast group G1 can receive the multicast information.
It should be understood that in the multicast mode, a sender of multicast information is a multicast source, and a plurality of receivers or members receiving the same multicast information form one multicast group, and the multicast group has no geographical limitation. The access network device may be a router providing a multicast routing function, and in addition to being a receiving member of one or more multicast groups, the access network device may also manage group members in the multicast group, that is, end devices in the multicast group. For ease of understanding, the concept of "multicast group" can be analogized to a television channel, wherein a television station is a multicast source that transmits data into the channel, and a viewer is a receiver that selects a channel to receive a program (i.e., join a group) by turning on a television set, and then can view the television program.
S206, the access network equipment receives the multicast information from the multicast source.
In some possible embodiments, the access network device may receive multicast information from a multicast source, where the multicast information may include a destination multicast address, a data stream for multicast (i.e., a multicast data stream), and the like. Specifically, the multicast data stream may be a video stream, a picture stream, or a voice stream, and is not limited herein. It should be understood that since the recipients of the multicast information are a plurality of end devices in a multicast group, the destination multicast address is not an address of any end device in the multicast group, but a multicast address. Specifically, according to the Internet Assigned Numbers Authority (IANA), IP addresses are classified into five types, i.e., a type a, a type B, a type C, a type D, and a type E. The unicast messages respectively use three IP addresses of ABC according to the size of the network scale, and the destination addresses of the multicast messages use the IP addresses of D. That is, in the multicast scheme, the destination address of the packet is not a unicast address but a multicast address. All information receivers join a group and once joined, data streaming to the multicast address begins to be transmitted to the receivers immediately, and all members of the group receive the data packet, i.e., the multicast group.
And S207, if the multicast group corresponding to the destination multicast address included in the multicast information includes a terminal device and the multicast information includes a multicast video stream, the access network device correspondingly stores the MAC address in the group adding request message or the response message and the preset first device type into a device type query set.
In some feasible embodiments, after the access network device receives the multicast information, if it is determined that the multicast group corresponding to the destination multicast address included in the multicast information includes the terminal device and the data stream in the multicast information is a video stream for multicast (i.e., a multicast video stream), the MAC address of the terminal device in the group join request packet or the response packet may be stored in the device type query set in correspondence with the preset first device type. That is, when the access network device detects that the terminal device is a multicast member included in a multicast group to which the multicast video stream is sent, the MAC address included in the group join request packet or the response packet may be stored in the device type query set in correspondence with the preset first device type. It should be understood that the first device type, i.e. the STB type, here, that is, when the data stream for multicast is a video stream, the preset first device type may be determined as the STB type.
S203, the access network equipment determines the target IPv6 address information of the terminal equipment according to the equipment type.
In some possible embodiments, after the access network device determines the device type of the terminal device, the target IPv6 address information of the terminal device may be determined according to the device type. Here, the target IPv6 address information may be a target IPv6 proxy prefix or a target IPv6 address generated based on the above-described target IPv6 proxy prefix. It should be understood that the IPv6 proxy prefixes included in the IPv6 address information corresponding to end devices of different device types are different. For example, assuming that the device type corresponding to the terminal device 1 is device type 1, and the device type corresponding to the terminal device 2 is device type 2, the IPv6 proxy prefix corresponding to the device type 1 may be an IPv6 proxy prefix 1, and the IPv6 proxy prefix corresponding to the device type 2 may be an IPv6 proxy prefix 2.
It should be noted that the address length of the complete IPv6 address is 128 bits, and includes two parts, namely, a 64-bit proxy prefix and a 64-bit host address. In this embodiment of the present application, if the access network device adopts stateless address autoconfiguration (SLAAC), the target IPv6 address information is a target IPv6 proxy prefix, and if the access network device adopts stateful address autoconfiguration (stateful autoconfiguration), the target IPv6 address information is a target IPv6 address.
Specifically, when stateless address automatic configuration is adopted, the access network device may send a target IPv6 proxy prefix corresponding to the device type to the terminal device, and then the terminal device generates a complete target IPv6 address according to the received target IPv6 proxy prefix. For example, the end device may generate a target IPv6 address from the received target IPv6 proxy prefix and its own MAC address. When the stateful address automatic configuration is adopted, the access network device may set a corresponding address pool for each device type in advance, wherein when the device type of a certain terminal device is determined, the address pool from which the address should be allocated may be determined according to the device type. It should be understood that the address pool is a collection of IPv6 addresses, or may be an address range, where a certain address pool includes a plurality of addresses derived from a certain proxy prefix, that is, a certain address pool includes a plurality of complete addresses with the same proxy prefix. Specifically, when an address is allocated to the terminal device from the address pool, a free IPv6 address (i.e., an unallocated IPv6 address) may be found from the address pool to serve as a target IPv6 address, and sent to the corresponding terminal device, or the address allocation manner may be determined according to an actual application scenario, which is not limited herein. In practical applications, if the access network device is a CPE, the automatic stateless address configuration of the CPE may be implemented by a router advertisement process (i.e., RA daemon) in the CPE, and the automatic stateful address configuration of the CPE may be implemented by a DHCPv6 service module (i.e., DHCP6s) in the CPE.
S204, the access network equipment sends the target IPv6 address information to the terminal equipment.
In some possible embodiments, after determining the target IPv6 address information, the access network device may send the target IPv6 address information to the terminal device. Specifically, if the target IPv6 address information determined by the access network device is a target IPv6 proxy prefix, the target IPv6 proxy prefix may be sent to the terminal device, and if the target IPv6 address information determined by the access network device is a target IPv6 address, the target IPv6 address may be sent to the terminal device. If the target IPv6 address information received by the terminal equipment is the target IPv6 proxy prefix, the terminal equipment can generate a 64-bit host address and combine the 64-bit host address with the target IPv6 proxy prefix to generate a complete target IPv6 address. For example, an end device may generate a 64-bit host address from its own MAC address and combine with the received target IPv6 proxy prefix to form a target IPv6 address.
Optionally, in some possible embodiments, after the access network device sends the target IPv6 address information to the terminal device, the access network device may further generate a routing forwarding table of the terminal device. Wherein, the route forwarding table may include the target IPv6 proxy prefix and the first next hop address. Here, the proxy prefix of the first next hop address is a target IPv6 proxy prefix. That is, the function of the routing forwarding table is to ensure that a message forwarded by a terminal device based on an IPV6 address under a certain proxy prefix (assumed as proxy prefix a) can be forwarded to an external network used by the terminal device through a correct external network interface. For example, please refer to fig. 7, fig. 7 is a schematic diagram of an application scenario of a routing forwarding table according to an embodiment of the present application. As shown in fig. 7, it is assumed that a terminal device 1 corresponds to a device type 1, and a terminal device 2 corresponds to a device type 2, where a WAN (wide area network) corresponding to the terminal device 1 is a network 1, and a WAN corresponding to the terminal device 2 is a network 2, that is, the terminal device 1 can send a message to the network 1 or can receive a message sent from the network 1 (i.e., communicate with the network 1), and the terminal device 2 can send a message to the network 2 or can receive a message sent from the network 2 (i.e., communicate with the network 2). The IPv6 address of the terminal device 1 is an IPv6 address 1 corresponding to the IPv6 proxy prefix 1, that is, the IPv6 address 1 is an IPv6 address derived from the IPv6 proxy prefix 1. The IPv6 address of the terminal device 2 is an IPv6 address 2 corresponding to the IPv6 proxy prefix 2, that is, the IPv6 address 2 is an IPv6 address derived from the IPv6 proxy prefix 2. By analogy, the IPv6 address corresponding to the WAN1 port is the IPv6 address 3 corresponding to the IPv6 proxy prefix 1, and the IPv6 address corresponding to the WAN2 port is the IPv6 address 4 corresponding to the IPv6 proxy prefix 2, so that, in order to ensure that the terminal device 1 corresponding to the device type 1 can send a message to the network 1, and the terminal device 2 corresponding to the device type 2 can send a message to the network 2, a routing forwarding table for the terminal device to send a message may be set in the access network device. In the routing and forwarding table, the next-hop address corresponding to the network prefix 1 is an IPv6 address 3 derived from the network prefix 1, and the next-hop address corresponding to the network prefix 2 is an IPv6 address 4 derived from the network prefix 2. That is to say, all messages sent by the IPv6 address of the terminal device derived from the IPv6 proxy prefix 1 are forwarded from the WAN1 port, and all messages sent by the IPv6 address of the terminal device derived from the IPv6 proxy prefix 2 are forwarded from the WAN2 port. Optionally, in some possible embodiments, a corresponding routing forwarding table may be further set for each IPv6 proxy prefix, for example, please refer to fig. 8, and fig. 8 is a schematic diagram of another application scenario of the routing forwarding table provided in this embodiment of the present application. As shown in fig. 8, IPv6 proxy prefix 1 may correspond to a routing forwarding table 1, and IPv6 proxy prefix 2 may correspond to a routing forwarding table 2, where a next-hop address corresponding to IPv6 proxy prefix 1 in the routing forwarding table 1 is IPv6 address 3 derived from network prefix 1, and a next-hop address corresponding to IPv6 proxy prefix 2 in the routing forwarding table 2 is IPv6 address 4 derived from network prefix 2.
In the embodiment of the application, the access network device receives the IPv6 address request message sent by the terminal device, and can use the MAC address included in the obtained IPv6 address request message as the device type indication information, so as to determine the device type corresponding to the MAC address from the preset device type query set, thereby improving the accuracy and efficiency of determining the device type of the terminal device, and further improving the accuracy and efficiency of subsequently determining the target IPv6 address information of the terminal device according to the device type.
Example two
Referring to fig. 9, fig. 9 is a schematic flowchart of an address allocation method according to an embodiment of the present disclosure. As shown in fig. 9, the address allocation method includes the following steps:
s301, the access network equipment receives an IPv6 address request message from the terminal equipment, and the IPv6 address request message comprises equipment type indication information.
In some possible embodiments, the access network device may obtain the device type indication information included in the IPv6 address request message by receiving the IPv6 address request message from the terminal device. Specifically, the IPv6 address request message sent by the terminal device may be a dynamic host configuration protocol (DHCPv 6) request message for IPv6, that is, a DHCPv6solicit message. When the terminal device generates the DHCPv6 solilit message, the terminal device may write the device type indication information into the second field or the third field of the DHCPv6 solilit message by acquiring the preset device type indication information. It should be understood that the second field may be an Option16 field in the DHCPv6solicit message, the third field may be an RS Option field in the DHCPv6solicit message, and the device type indication information may be a type identifier filled in the Option16 field or the RS Option (i.e., the router solicit Option field) for identifying the device type of the terminal device sending the DHCPv6solicit message. For example, the type identifier may be a first type identifier, a second type identifier, etc., and is not limited herein. Here, each type identifier may be a character string composed of numbers, letters, symbols, or the like, and one type identifier is used to uniquely mark one device type. In other words, the meaning indicated by the device type indication information written in the second field or the third field may be agreed upon in advance between the terminal device and the access network device. For example, when the terminal device writes the first type identifier in the second field or the third field as the device type indication information, the first type identifier may be set to correspond to the first device type, and when the terminal device writes the second type identifier in the second field or the third field as the device type indication information, the second type identifier may be set to correspond to the second device type. Or, it may also be configured to set, when the terminal device writes the first type identifier in the second field or the third field as the device type indication information, that the first type identifier corresponds to the second device type, and when the terminal device writes the second type identifier in the second field or the third field as the device type indication information, that the second type identifier corresponds to the first device type, and the like, which is not limited herein. For convenience of description, in the embodiments of the present application, the first type identifier corresponds to a first device type, and the second type identifier corresponds to a second device type.
S302, if the access network equipment determines that the equipment type indication information is the first type identification, the terminal equipment is determined to be the first equipment type. And if the equipment type indication information is the second type identification, determining that the terminal equipment is the second equipment type.
In some feasible embodiments, the access network device may obtain the device type indication information included in the second field or the third field by receiving a DHCPv6 solicitit message sent by a certain terminal device and analyzing the DHCPv6 solicitit message, and further determine the device type of the terminal device sending the DHCPv6solicit message according to the device type indication information. In a specific implementation, after the access network device has analyzed the DHCPv6 solicitit message, if it is determined that the second field includes the first type identifier, it may be determined that the terminal device is of the first device type. If the second field is determined to contain the second type identification, the terminal equipment can be determined to be of the second equipment type. Similarly, the process of determining the type of the terminal device by the access network device according to the content of the third field is the same as the process described above, and is not described here again.
S303, the access network equipment determines the target IPv6 address information of the terminal equipment according to the equipment type.
In some possible embodiments, after the access network device determines the device type of the terminal device, the target IPv6 address information of the terminal device may be determined according to the device type. Here, the target IPv6 address information may be a target IPv6 proxy prefix or a target IPv6 address generated based on the above-described target IPv6 proxy prefix. It should be understood that the IPv6 proxy prefixes included in the IPv6 address information corresponding to end devices of different device types are different. For example, assuming that the device type corresponding to the terminal device 1 is device type 1, and the device type corresponding to the terminal device 2 is device type 2, the IPv6 proxy prefix corresponding to the device type 1 may be an IPv6 proxy prefix 1, and the IPv6 proxy prefix corresponding to the device type 2 may be an IPv6 proxy prefix 2.
It should be noted that the address length of the complete IPv6 address is 128 bits, and includes two parts, namely, a 64-bit proxy prefix and a 64-bit host address. In the embodiment of the application, if the access network device adopts stateless address automatic configuration, the target IPv6 address information is a target IPv6 proxy prefix, and if the access network device adopts stateful address automatic configuration, the target IPv6 address information is a target IPv6 address.
Specifically, when stateless address automatic configuration is adopted, the access network device may send a target IPv6 proxy prefix corresponding to the device type to the terminal device, and then the terminal device generates a complete target IPv6 address according to the received target IPv6 proxy prefix. For example, the end device may generate a target IPv6 address from the received target IPv6 proxy prefix and its own MAC address. When the stateful address automatic configuration is adopted, the access network device may set a corresponding address pool for each device type in advance, wherein when the device type of a certain terminal device is determined, the address pool from which the address should be allocated may be determined according to the device type. It should be understood that the address pool is a collection of IPv6 addresses, or may be an address range, where a certain address pool includes a plurality of addresses derived from a certain proxy prefix, that is, a certain address pool includes a plurality of complete addresses with the same proxy prefix. Specifically, when an address is allocated to the terminal device from the address pool, a free IPv6 address (i.e., an unallocated IPv6 address) may be found from the address pool to serve as a target IPv6 address, and sent to the corresponding terminal device, or the address allocation manner may be determined according to an actual application scenario, which is not limited herein. In practical applications, if the access network device is a CPE, the stateless address automatic configuration of the CPE may be implemented by RA daemon in the CPE, and the stateful address automatic configuration of the CPE may be implemented by DHCP6s in the CPE.
S304, the access network equipment sends the target IPv6 address information to the terminal equipment.
In some possible embodiments, after determining the target IPv6 address information, the access network device may send the target IPv6 address information to the terminal device. Specifically, if the target IPv6 address information determined by the access network device is a target IPv6 proxy prefix, the target IPv6 proxy prefix may be sent to the terminal device, and if the target IPv6 address information determined by the access network device is a target IPv6 address, the target IPv6 address may be sent to the terminal device. If the target IPv6 address information received by the terminal equipment is the target IPv6 proxy prefix, the terminal equipment can generate a 64-bit host address and combine the 64-bit host address with the target IPv6 proxy prefix to generate a complete target IPv6 address. For example, an end device may generate a 64-bit host address from its own MAC address and combine with the received target IPv6 proxy prefix to form a target IPv6 address.
S305, the access network equipment generates a route forwarding table of the terminal equipment.
In some possible embodiments, after the access network device sends the target IPv6 address information to the terminal device, the access network device may further generate a routing forwarding table of the terminal device. Wherein, the route forwarding table may include the target IPv6 proxy prefix and the first next hop address. Here, the proxy prefix of the first next hop address is a target IPv6 proxy prefix. That is, the function of the routing forwarding table is to ensure that a message forwarded by a terminal device based on an IPV6 address under a certain proxy prefix (assumed as proxy prefix a) can be forwarded to an external network used by the terminal device through a correct external network interface. For example, please refer to fig. 7, fig. 7 is a schematic diagram of an application scenario of a routing forwarding table according to an embodiment of the present application. As shown in fig. 7, it is assumed that a terminal device 1 corresponds to a device type 1, and a terminal device 2 corresponds to a device type 2, where a WAN (Wide Area Network) corresponding to the terminal device 1 is a Network 1, and a WAN corresponding to the terminal device 2 is a Network 2, that is, the terminal device 1 can send a message to the Network 1 or can receive a message sent from the Network 1 (i.e., communicate with the Network 1), and the terminal device 2 can send a message to the Network 2 or can receive a message sent from the Network 2 (i.e., communicate with the Network 2). The IPv6 address of the terminal device 1 is an IPv6 address 1 corresponding to the IPv6 proxy prefix 1, that is, the IPv6 address 1 is an IPv6 address derived from the IPv6 proxy prefix 1. The IPv6 address of the terminal device 2 is an IPv6 address 2 corresponding to the IPv6 proxy prefix 2, that is, the IPv6 address 2 is an IPv6 address derived from the IPv6 proxy prefix 2. By analogy, the IPv6 address corresponding to the WAN1 port is the IPv6 address 3 corresponding to the IPv6 proxy prefix 1, and the IPv6 address corresponding to the WAN2 port is the IPv6 address 4 corresponding to the IPv6 proxy prefix 2, so that, in order to ensure that the terminal device 1 corresponding to the device type 1 can send a message to the network 1, and the terminal device 2 corresponding to the device type 2 can send a message to the network 2, a routing forwarding table for the terminal device to send a message may be set in the access network device. In the routing and forwarding table, the next-hop address corresponding to the network prefix 1 is an IPv6 address 3 derived from the network prefix 1, and the next-hop address corresponding to the network prefix 2 is an IPv6 address 4 derived from the network prefix 2. That is to say, all messages sent by the IPv6 address of the terminal device derived from the IPv6 proxy prefix 1 are forwarded from the WAN1 port, and all messages sent by the IPv6 address of the terminal device derived from the IPv6 proxy prefix 2 are forwarded from the WAN2 port. Optionally, in some possible embodiments, a corresponding routing forwarding table may be further set for each IPv6 proxy prefix, for example, please refer to fig. 8, and fig. 8 is a schematic diagram of another application scenario of the routing forwarding table provided in this embodiment of the present application. As shown in fig. 8, IPv6 proxy prefix 1 may correspond to a routing forwarding table 1, and IPv6 proxy prefix 2 may correspond to a routing forwarding table 2, where a next-hop address corresponding to IPv6 proxy prefix 1 in the routing forwarding table 1 is IPv6 address 3 derived from network prefix 1, and a next-hop address corresponding to IPv6 proxy prefix 2 in the routing forwarding table 2 is IPv6 address 4 derived from network prefix 2.
In the embodiment of the application, the access network device may obtain, as the device type indication information, the type identifier included in the second field or the third field of the IPv6 address request message by receiving the IPv6 address request message sent by the terminal device, and may determine, according to the type identifier, the device type corresponding to the terminal device that sends the IPv6 address request message, thereby improving accuracy and efficiency of determining the device type of the terminal device, and further improving accuracy and efficiency of subsequently determining the target IPv6 address information of the terminal device according to the device type.
Referring to fig. 10, fig. 10 is a schematic structural diagram of an apparatus according to an embodiment of the present disclosure. The apparatus may be the access network device described in the first embodiment or the second embodiment, and the apparatus may be configured to perform the functions of the access network device described in the first embodiment or the second embodiment. For ease of illustration, only the main components of the device are shown in fig. 10. As can be seen in fig. 10, the apparatus includes a processor, a memory, a radio frequency circuit, an antenna, and an input/output device. The processor is mainly used for processing a communication protocol and communication data, controlling the device, executing a software program, processing data of the software program, and the like. The memory is used primarily for storing software programs and data. The radio frequency circuit is mainly used for converting baseband signals and radio frequency signals and processing the radio frequency signals. The antenna is mainly used for receiving and transmitting radio frequency signals in the form of electromagnetic waves. Input and output devices such as touch screens, display screens, keyboards, etc. are used primarily to receive data input by, and output data to, a user using the device. It should be noted that in some scenarios, the communication device may not include an input/output device.
When data needs to be sent, the processor performs baseband processing on the data to be sent and outputs baseband signals to the radio frequency circuit, and the radio frequency circuit performs radio frequency processing on the baseband signals and sends the radio frequency signals to the outside in the form of electromagnetic waves through the antenna. When data is sent to the terminal equipment, the radio frequency circuit receives radio frequency signals through the antenna, converts the radio frequency signals into baseband signals and outputs the baseband signals to the processor, and the processor converts the baseband signals into the data and processes the data. For ease of illustration, only one memory and processor are shown in FIG. 10. In an actual device product, there may be one or more processors and one or more memories. The memory may also be referred to as a storage medium or a storage device, etc. The memory may be provided independently of the processor, or may be integrated with the processor, which is not limited in this embodiment.
As an alternative implementation manner, the processor may include a baseband processor and/or a central processing unit, where the baseband processor is mainly used to process the communication protocol and the communication data, and the central processing unit is mainly used to control the whole terminal device, execute a software program, and process data of the software program. The processor of fig. 10 may integrate the functions of the baseband processor and the central processing unit, and those skilled in the art will understand that the baseband processor and the central processing unit may also be independent processors, and are interconnected through a bus or the like. Those skilled in the art will appreciate that the terminal device may include a plurality of baseband processors to accommodate different network formats, the terminal device may include a plurality of central processors to enhance its processing capability, and various components of the terminal device may be connected by various buses. The baseband processor may also be expressed as a baseband processing circuit or a baseband processing chip. The central processing unit may also be expressed as a central processing circuit or a central processing chip. The function of processing the communication protocol and the communication data may be built in the processor, or may be stored in the storage unit in the form of a software program, and the processor executes the software program to realize the baseband processing function.
In the embodiment of the present application, the antenna and the rf circuit having the transceiving function may be regarded as a transceiving unit of the device, and the processor having the processing function may be regarded as a processing unit of the device. As shown in fig. 10, the apparatus includes a transceiving unit 410 and a processing unit 420. Herein, a transceiver unit may also be referred to as a transceiver, a transceiving device, etc. A processing unit may also be referred to as a processor, a processing board, a processing module, a processing device, or the like. Optionally, a device for implementing a receiving function in the transceiver unit 410 may be regarded as a receiving unit, and a device for implementing a transmitting function in the transceiver unit 410 may be regarded as a transmitting unit, that is, the transceiver unit 410 includes a receiving unit and a transmitting unit. Here, the receiving unit may also be referred to as a receiver, a receiving circuit, or the like. A transmitting unit may also sometimes be referred to as a transmitter, or a transmitting circuit, etc.
In a specific implementation, the transceiver 410 is configured to receive an IPv6 address request message from a terminal device. Here, the IPv6 address request message includes device type indication information, and for a specific process, reference may be made to the process of the access network device receiving the IPv6 address request message from the terminal device, which is described in step S201 in the first embodiment, and details are not described here again. The processing unit 420 is configured to determine a device type of the terminal device according to the device type indication information. For a specific process, refer to the process described in step S202 in the first embodiment, and details are not repeated here. The processing unit 420 is further configured to determine target IPv6 address information of the terminal device according to the device type. For a specific process, refer to the process described in step S203 in the first embodiment, and details are not repeated here. The transceiver 410 is further configured to send the target IPv6 address information to the terminal device. For a specific process, refer to the process described in step S204 in the first embodiment, and details are not repeated here.
In an optional implementation manner, the device type indication information includes a MAC address of the terminal device, and the processing unit 420 is configured to:
and determining the equipment type corresponding to the terminal equipment from a preset equipment type query set according to the MAC address, wherein the equipment type query set comprises at least one MAC address corresponding to each equipment type in at least one equipment type.
In an optional implementation, before the transceiver 410 receives the IPv6 address request message from the terminal device, the transceiver 410 is further configured to receive a dynamic host configuration protocol DHCPv4 message sent by the terminal device. If the processing unit 420 determines that the first field of the DHCPv4 message includes preset message data, the MAC address in the DHCPv4 message and the first device type corresponding to the preset message data are correspondingly stored in a device type query set.
In an optional implementation, before the transceiver 410 receives the IPv6 address request message from the terminal device, the transceiver 410 is further configured to receive a group join request message sent by the terminal device or a response message for a general query message, and forward the group join request message or the response message to the multicast source. The transceiver 410 is further configured to receive multicast information from the multicast source. If the processing unit 420 determines that the multicast group corresponding to the destination multicast address included in the multicast information includes the terminal device and the multicast information includes a multicast video stream, the MAC address in the group join request packet or the response packet is stored in a device type query set in correspondence with a preset first device type.
In an optional implementation, the device type indication information is contained in a second field or a third field in the IPv6 address request message, and the processing unit 420 is configured to:
and if the equipment type indication information is a first type identifier, determining that the terminal equipment is of a first equipment type.
And if the equipment type indication information is a second type identifier, determining that the terminal equipment is of a second equipment type.
In an optional implementation, the target IPv6 address information is a target IPv6 proxy prefix or a target IPv6 address generated based on the target IPv6 proxy prefix, and IPv6 proxy prefixes included in IPv6 address information corresponding to terminal devices of different device types are different.
In an alternative implementation, after the processing unit 420 sends the target IPv6 address information to the terminal device, the processing unit 420 is further configured to:
and generating a route forwarding table of the terminal device, wherein the route forwarding table includes the target IPv6 proxy prefix and a first next hop address, and the proxy prefix of the first next hop address is the target IPv6 proxy prefix.
Referring to fig. 11, fig. 11 is a schematic view of another structure of an apparatus according to an embodiment of the present disclosure. The apparatus may be the terminal device described in the first embodiment or the second embodiment, and the apparatus may be configured to perform the functions of the terminal device described in the first embodiment or the second embodiment. For ease of illustration, only the main components of the device are shown in fig. 11. As can be seen from fig. 11, the apparatus includes a processor, a memory, a radio frequency circuit, an antenna, and an input/output device. The structure of the apparatus shown in fig. 11 is similar to that of the apparatus shown in fig. 10, and for details, reference may be made to the description of the apparatus shown in fig. 10, and further description thereof is omitted here.
In the embodiment of the present application, the antenna and the rf circuit having the transceiving function may be regarded as a transceiving unit of the device, and the processor having the processing function may be regarded as a processing unit of the device. As shown in fig. 11, the apparatus includes a transceiving unit 510 and a processing unit 520. Herein, a transceiver unit may also be referred to as a transceiver, a transceiving device, etc. A processing unit may also be referred to as a processor, a processing board, a processing module, a processing device, or the like. Optionally, a device used for implementing a receiving function in the transceiver unit 510 may be regarded as a receiving unit, and a device used for implementing a transmitting function in the transceiver unit 510 may be regarded as a transmitting unit, that is, the transceiver unit 510 includes a receiving unit and a transmitting unit. Here, the receiving unit may also be referred to as a receiver, a receiving circuit, or the like. A transmitting unit may also sometimes be referred to as a transmitter, or a transmitting circuit, etc.
In a specific implementation, the transceiver unit 510 is configured to send an IPv6 address request message to the access network device. Here, the IPv6 address request message includes device type indication information. The specific process may join the process of sending the IPv6 address request message to the access network device, which is described in step S201 in the first embodiment, and details are not described here again. The transceiver unit 510 is configured to receive the target IPv6 address information sent by the access network device. Here, the target IPv6 address information is determined by the access network device according to the device type indication information. The specific process may be performed in step S204 in the first embodiment to receive the target IPv6 address information sent by the access network device, which is not described herein again.
In an optional implementation, before the transceiver unit 510 sends the IPv6 address request message to the access network device, the transceiver unit 510 is further configured to: and sending a DHCPv4 message to the access network device, wherein the DHCPv4 message is used for indicating the access network device to determine a device type query set.
In an optional implementation, before the transceiver unit 510 sends the IPv6 address request message to the access network device, the transceiver unit 510 is further configured to: and sending a group adding request message or a response message aiming at a general query message to the access network equipment, wherein the group adding request message or the response message is used for indicating the access network equipment to determine a device type query set.
In an optional implementation, the apparatus further includes: the processing unit 520 is configured to obtain preset device type indication information. The processing unit 520 is further configured to write the device type indication information into a second field or a third field of an IPv6 address request packet.
Referring to fig. 12, fig. 12 is a schematic view of another structure of an apparatus according to an embodiment of the present disclosure. The apparatus may be the access network device in the first embodiment or the second embodiment, and the apparatus may be configured to implement the address assignment method implemented by the access network device. The device includes: a processor 61, a memory 62, a transceiver 63.
The memory 62 includes, but is not limited to, RAM, ROM, EPROM or CD-ROM, and the memory 62 is used to store relevant instructions and data. The memory 62 stores elements, executable modules or data structures, or subsets thereof, or expanded sets thereof:
and (3) operating instructions: including various operational instructions for performing various operations.
Operating the system: including various system programs for implementing various basic services and for handling hardware-based tasks.
Only one memory is shown in fig. 12, but of course, the memory may be provided in plural numbers as necessary.
The transceiver 63 may be a communication module, a transceiver circuit. In the embodiment of the present application, the transceiver 63 is configured to perform the operations related to the above-mentioned embodiments, such as receiving an IPv6 address request message from a terminal device.
The processor 61 may be a controller, CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure of the embodiments of the application. The processor 61 may also be a combination of computing functions, e.g., comprising one or more microprocessors, a combination of a DSP and a microprocessor, or the like.
In a particular application, the various components of the device may be coupled together by a bus system that may include a power bus, a control bus, a status signal bus, etc., in addition to a data bus.
The embodiments of the present application also provide a computer-readable medium, on which a computer program is stored, where the computer program, when executed by a computer, implements the method or steps performed by the access network device in the foregoing embodiments.
The embodiment of the present application further provides a computer program product, and when executed by a computer, the computer program product implements the method or the steps executed by the access network device in the foregoing embodiments.
The embodiment of the present application further provides an apparatus, which may be the access network device in the foregoing embodiment. The apparatus includes a processor and an interface. The processor is configured to perform the method or steps performed by the terminal device in the above embodiments. It should be understood that the terminal device may be a chip, the processor may be implemented by hardware or software, and when implemented by hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory, which may be integrated in the processor, located external to the processor, or stand-alone.
Referring to fig. 13, fig. 13 is a schematic view of another structure of an apparatus according to an embodiment of the present disclosure. The apparatus may be the terminal device in the foregoing embodiment, and the apparatus may be configured to implement the method implemented by the terminal device in the foregoing embodiment. The device includes: a processor 71, a memory 72, a transceiver 73.
The memory 72 includes, but is not limited to, RAM, ROM, EPROM or CD-ROM, and the memory 72 is used to store relevant instructions and data. The memory 72 stores elements, executable modules or data structures, or subsets thereof, or expanded sets thereof:
and (3) operating instructions: including various operational instructions for performing various operations.
Operating the system: including various system programs for implementing various basic services and for handling hardware-based tasks.
Only one memory is shown in fig. 13, but of course, the memory may be provided in plural numbers as necessary.
The transceiver 73 may be a communication module, a transceiver circuit. In this embodiment, the transceiver 73 is used to perform operations such as sending an IPv6 address request message to the access network device and receiving target IPv6 address information sent by the access network device.
The processor 71 may be a controller, CPU, general purpose processor, DSP, ASIC, FPGA or other programmable logic device, transistor logic device, hardware component or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure of the embodiments of the application. The processor 71 may also be a combination of computing functions, e.g., comprising one or more microprocessors, a combination of a DSP and a microprocessor, or the like.
In particular applications, the various components of the device may be coupled together by a bus system that may include a power bus, a control bus, a status signal bus, etc., in addition to a data bus.
The embodiment of the present application further provides a computer-readable medium, on which a computer program is stored, where the computer program, when executed by a computer, implements the method or steps performed by the terminal device in the foregoing embodiments.
The embodiment of the present application further provides a computer program product, and when executed by a computer, the computer program product implements the method or the steps executed by the terminal device in the above embodiments.
The embodiment of the application also provides a device, and the device can be the terminal equipment in the embodiment. The apparatus includes a processor and an interface. The processor is configured to perform the method or steps performed by the terminal device in the above embodiments. It should be understood that the terminal device may be a chip, the processor may be implemented by hardware or software, and when implemented by hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory, which may be integrated in the processor, located external to the processor, or stand-alone.
It should be noted that, in practical applications, the processor in the embodiment of the present application may be an integrated circuit chip having signal processing capability. In implementation, the steps of the above method embodiments may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor may be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed.
It should be noted that the present application also provides a communication system, which includes one or more access network devices as described above, and one or more terminal devices.
In the above method embodiments, the implementation may be wholly or partly implemented by software, hardware, firmware or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions described above are loaded and executed on a computer, the processes or functions described above according to the embodiments of the present application are generated in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored on or transmitted from a computer-readable storage medium to another computer-readable storage medium, for example, from a website, computer, server, or data center, over a wired (e.g., coaxial cable, fiber optics, Digital Subscriber Line (DSL), or wireless (e.g., infrared, wireless, microwave, etc.) network, to another website, computer, server, or data center, to any available medium that is accessible by a computer or that contains one or more data storage devices, such as a server, data center, etc., integrated with the available medium, which may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., high density digital video disks, DVD), or semiconductor media (e.g., Solid State Disk (SSD), etc.
It should be noted that, in practical applications, the processor in the embodiment of the present application may be an integrated circuit chip having signal processing capability. In implementation, the steps of the above method embodiments may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
It will be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), double data rate SDRAM, enhanced SDRAM, SLDRAM, Synchronous Link DRAM (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memories described in the embodiments of the present application are intended to comprise, without being limited to, these and any other suitable types of memories.
It should be understood that the terms "system" and "network" in the embodiments of the present application may often be used interchangeably. The term "and/or" in this embodiment is only one kind of association relationship describing the associated object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus is merely illustrative, and for example, a division of a unit is merely a division of one logic function, and an actual implementation may have another division, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
In short, the above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (26)

1. An address allocation method, wherein the method is applied to an access network device, and the method comprises:
receiving an IPv6 address request message from a terminal device, wherein the IPv6 address request message comprises device type indication information;
determining the equipment type of the terminal equipment according to the equipment type indication information;
determining target IPv6 address information of the terminal equipment according to the equipment type;
and sending the target IPv6 address information to the terminal equipment.
2. The method of claim 1, wherein the device type indication information includes a Media Access Control (MAC) address of the terminal device, and wherein determining the device type of the terminal device according to the device type indication information includes:
and determining the equipment type corresponding to the terminal equipment from a preset equipment type query set according to the MAC address, wherein the equipment type query set comprises at least one MAC address corresponding to each equipment type in at least one equipment type.
3. The method according to claim 2, wherein before receiving the IPv6 address request message from the terminal device, the method further comprises:
receiving a dynamic host configuration protocol (DHCPv 4) message which is sent by the terminal equipment and used for the fourth version of the Internet protocol;
and if the first field of the DHCPv4 message is determined to contain preset message data, correspondingly storing the MAC address in the DHCPv4 message and the first equipment type corresponding to the preset message data into an equipment type query set.
4. The method according to claim 2, wherein before receiving the IPv6 address request message from the terminal device, the method further comprises:
receiving a group adding request message or a response message aiming at a general query message sent by the terminal equipment, and forwarding the group adding request message or the response message to a multicast source;
receiving multicast information from the multicast source;
and if the multicast group corresponding to the destination multicast address included in the multicast information includes the terminal device and the multicast information includes a multicast video stream, correspondingly storing the MAC address in the group adding request message or the response message and a preset first device type into a device type query set.
5. The method of claim 1, wherein the device type indication information is included in a second field or a third field of the IPv6 address request message, and wherein the determining the device type of the terminal device according to the device type indication information comprises:
if the equipment type indication information is a first type identification, determining that the terminal equipment is of a first equipment type;
and if the equipment type indication information is a second type identifier, determining that the terminal equipment is of a second equipment type.
6. The method according to any one of claims 1-5, wherein the target IPv6 address information is a target IPv6 proxy prefix or a target IPv6 address generated based on the target IPv6 proxy prefix, and IPv6 proxy prefixes included in IPv6 address information corresponding to terminal devices of different device types are different.
7. The method of claim 6, wherein after said sending the target IPv6 address information to the terminal device, the method further comprises:
and generating a routing forwarding table of the terminal device, wherein the routing forwarding table comprises the target IPv6 proxy prefix and a first next hop address, and the proxy prefix of the first next hop address is the target IPv6 proxy prefix.
8. An address allocation method, wherein the method is applicable to a terminal device, and the method comprises:
sending an IPv6 address request message to access network equipment, wherein the IPv6 address request message comprises equipment type indication information;
and receiving target IPv6 address information sent by the access network equipment, wherein the target IPv6 address information is determined by the access network equipment according to the equipment type indication information.
9. The method of claim 8, wherein before sending the IPv6 address request message to the access network device, the method further comprises:
sending a DHCPv4 message to the access network device, wherein the DHCPv4 message is used for instructing the access network device to determine a device type query set.
10. The method of claim 8, wherein before sending the IPv6 address request message to the access network device, the method further comprises:
and sending a group adding request message or a response message aiming at a general query message to the access network equipment, wherein the group adding request message or the response message is used for indicating the access network equipment to determine a device type query set.
11. The method of claim 8, wherein before sending the IPv6 address request message to the access network device, the method further comprises:
acquiring preset equipment type indication information;
and writing the device type indication information into a second field or a third field of the IPv6 address request message.
12. An address assignment apparatus, wherein the apparatus is an access network device, the apparatus comprising:
a transceiver unit, configured to receive an IPv6 address request packet from a terminal device, where the IPv6 address request packet includes device type indication information;
the processing unit is used for determining the equipment type of the terminal equipment according to the equipment type indication information;
the processing unit is further configured to determine target IPv6 address information of the terminal device according to the device type;
the transceiving unit is further configured to send the target IPv6 address information to the terminal device.
13. The apparatus of claim 12, wherein the device type indication information comprises a Media Access Control (MAC) address of the terminal device, and wherein the processing unit is configured to:
and determining the equipment type corresponding to the terminal equipment from a preset equipment type query set according to the MAC address, wherein the equipment type query set comprises at least one MAC address corresponding to each equipment type in at least one equipment type.
14. The apparatus according to claim 13, wherein before the transceiving unit receives the IPv6 address request message from the terminal device,
the transceiver unit is further configured to receive a dynamic host configuration protocol DHCPv4 message sent by the terminal device;
the processing unit is configured to, if it is determined that the first field of the DHCPv4 message includes preset message data, store the MAC address in the DHCPv4 message and the first device type corresponding to the preset message data in a device type query set in a corresponding manner.
15. The apparatus according to claim 13, wherein before the transceiving unit receives the IPv6 address request message from the terminal device,
the receiving and sending unit is further configured to receive a group join request packet or a response packet for a general query packet sent by the terminal device, and forward the group join request packet or the response packet to a multicast source;
the receiving and sending unit is further configured to receive multicast information from the multicast source;
and the processing unit is configured to, if it is determined that a multicast group corresponding to a destination multicast address included in the multicast information includes the terminal device and the multicast information includes a multicast video stream, store the MAC address in the group join request packet or the response packet in a device type query set in correspondence with a preset first device type.
16. The apparatus of claim 12, wherein the device type indication information is included in a second field or a third field of the IPv6 address request message, and wherein the processing unit is configured to:
if the equipment type indication information is a first type identification, determining that the terminal equipment is of a first equipment type;
and if the equipment type indication information is a second type identifier, determining that the terminal equipment is of a second equipment type.
17. The apparatus of any one of claims 12-16, wherein the target IPv6 address information is a target IPv6 proxy prefix or a target IPv6 address generated based on the target IPv6 proxy prefix, and wherein IPv6 proxy prefixes included in IPv6 address information corresponding to terminal devices of different device types are different.
18. The apparatus of claim 17, wherein after the processing unit sends the target IPv6 address information to the terminal device, the processing unit is further configured to:
and generating a routing forwarding table of the terminal device, wherein the routing forwarding table comprises the target IPv6 proxy prefix and a first next hop address, and the proxy prefix of the first next hop address is the target IPv6 proxy prefix.
19. An address assignment apparatus, wherein the apparatus is a terminal device, the apparatus comprising:
a transceiver unit, configured to send an IPv6 address request packet to an access network device, where the IPv6 address request packet includes device type indication information;
the transceiver unit is configured to receive target IPv6 address information sent by the access network device, where the target IPv6 address information is determined by the access network device according to the device type indication information.
20. The apparatus of claim 19, wherein before the transceiver unit sends the IPv6 address request message to the access network device, the transceiver unit is further configured to:
sending a DHCPv4 message to the access network device, wherein the DHCPv4 message is used for instructing the access network device to determine a device type query set.
21. The apparatus of claim 19, wherein before the transceiver unit sends the IPv6 address request message to the access network device, the transceiver unit is further configured to:
and sending a group adding request message or a response message aiming at a general query message to the access network equipment, wherein the group adding request message or the response message is used for indicating the access network equipment to determine a device type query set.
22. The apparatus of claim 19, further comprising:
the processing unit is used for acquiring preset equipment type indication information;
the processing unit is further configured to write the device type indication information into a second field or a third field of an IPv6 address request packet.
23. A computer-readable storage medium storing instructions that, when executed, cause the method of any of claims 1-7 to be implemented.
24. A computer-readable storage medium storing instructions that, when executed, cause the method of any of claims 8-11 to be implemented.
25. An apparatus, comprising: a processor, a memory, and a transceiver;
the memory for storing a computer program;
the processor to execute a computer program stored in the memory to cause the apparatus to perform the method of any of claims 1-7.
26. An apparatus, comprising: a processor, a memory, and a transceiver;
the memory for storing a computer program;
the processor to execute a computer program stored in the memory to cause the apparatus to perform the method of any of claims 8-11.
CN201911417645.4A 2019-12-31 2019-12-31 Address allocation method and device Active CN113132503B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911417645.4A CN113132503B (en) 2019-12-31 2019-12-31 Address allocation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911417645.4A CN113132503B (en) 2019-12-31 2019-12-31 Address allocation method and device

Publications (2)

Publication Number Publication Date
CN113132503A true CN113132503A (en) 2021-07-16
CN113132503B CN113132503B (en) 2022-05-24

Family

ID=76769280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911417645.4A Active CN113132503B (en) 2019-12-31 2019-12-31 Address allocation method and device

Country Status (1)

Country Link
CN (1) CN113132503B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113612870A (en) * 2021-09-07 2021-11-05 上海市共进通信技术有限公司 Method for distributing different IPv6 address prefixes based on LAN side multi-type terminal equipment
CN114710573A (en) * 2022-06-07 2022-07-05 石家庄科林电气股份有限公司 IPV 6-based power distribution station area edge device communication method and device
CN115174524A (en) * 2022-05-18 2022-10-11 天翼云科技有限公司 Floating IP distribution method, device, electronic equipment and storage medium
CN115297091A (en) * 2022-08-03 2022-11-04 国核自仪系统工程有限公司 IP address management method and IP address management system
CN115378827A (en) * 2022-08-04 2022-11-22 银联智惠信息服务(上海)有限公司 Internet protocol address analysis method and device, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340546A (en) * 2010-07-16 2012-02-01 中国电信股份有限公司 IPv6 (Internet Protocol Version 6) address allocation method and system
CN102904977A (en) * 2012-10-24 2013-01-30 华为技术有限公司 Network address allocation method, server and node
US8681695B1 (en) * 2009-10-14 2014-03-25 Juniper Networks, Inc. Single address prefix allocation within computer networks
CN104333610A (en) * 2014-10-29 2015-02-04 中国联合网络通信集团有限公司 IPv6 address allocation method and device
CN107666662A (en) * 2016-07-28 2018-02-06 华为技术有限公司 A kind of terminal identification method and access point
CN110099142A (en) * 2019-05-23 2019-08-06 中国联合网络通信集团有限公司 IP address distribution method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8681695B1 (en) * 2009-10-14 2014-03-25 Juniper Networks, Inc. Single address prefix allocation within computer networks
CN102340546A (en) * 2010-07-16 2012-02-01 中国电信股份有限公司 IPv6 (Internet Protocol Version 6) address allocation method and system
CN102904977A (en) * 2012-10-24 2013-01-30 华为技术有限公司 Network address allocation method, server and node
CN104333610A (en) * 2014-10-29 2015-02-04 中国联合网络通信集团有限公司 IPv6 address allocation method and device
CN107666662A (en) * 2016-07-28 2018-02-06 华为技术有限公司 A kind of terminal identification method and access point
CN110099142A (en) * 2019-05-23 2019-08-06 中国联合网络通信集团有限公司 IP address distribution method, device, equipment and storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113612870A (en) * 2021-09-07 2021-11-05 上海市共进通信技术有限公司 Method for distributing different IPv6 address prefixes based on LAN side multi-type terminal equipment
CN115174524A (en) * 2022-05-18 2022-10-11 天翼云科技有限公司 Floating IP distribution method, device, electronic equipment and storage medium
CN115174524B (en) * 2022-05-18 2024-01-02 天翼云科技有限公司 Floating IP distribution method and device, electronic equipment and storage medium
CN114710573A (en) * 2022-06-07 2022-07-05 石家庄科林电气股份有限公司 IPV 6-based power distribution station area edge device communication method and device
CN115297091A (en) * 2022-08-03 2022-11-04 国核自仪系统工程有限公司 IP address management method and IP address management system
CN115297091B (en) * 2022-08-03 2024-03-12 国核自仪系统工程有限公司 IP address management method and IP address management system
CN115378827A (en) * 2022-08-04 2022-11-22 银联智惠信息服务(上海)有限公司 Internet protocol address analysis method and device, server and storage medium

Also Published As

Publication number Publication date
CN113132503B (en) 2022-05-24

Similar Documents

Publication Publication Date Title
CN113132503B (en) Address allocation method and device
US10044815B2 (en) Location-based domain name system service discovery
EP2214383B1 (en) Automatically releasing resources reserved for subscriber devices within a broadband access network
CN108259347B (en) Message transmission method and device
CN102075591A (en) Method, device and system for acquiring media access control address
US20050027778A1 (en) Automatic configuration of an address allocation mechanism in a computer network
CN103931144B (en) A kind of method, apparatus and system communicated in virtual Domain
US20100091684A1 (en) System and Method for Discovery of Dynamically Assigned Information Handling System IP Addresses
CN107547665B (en) Method, equipment and system for allocating DHCP (dynamic host configuration protocol) address
EP2169918A2 (en) Network device with proxy address resolution protocol
US20080031189A1 (en) Method and mobile terminal for allocating IP address in wireless network
US20150200910A1 (en) Control apparatus and transfer control method
US20230208760A1 (en) Entry generation method, packet sending method, device, and system
CN104038422A (en) Message forwarding method and gateways
US7173917B1 (en) Unicast agent advertisement based on layer 2 and layer 3 motion detection
CN102035899A (en) Method and device for determining addresses in IPv6 (internet protocol version 6) based LAN (local area network)
WO2018161795A1 (en) Routing priority configuration method, device, and controller
CN111866201B (en) IPv6 multicast address generation method and device
US7889705B2 (en) Mobile terminal and method for notifying access router of IP address in wireless network
WO2013013477A1 (en) Data packet processing and tracing method, device and system
US10862849B2 (en) Address resolution system
KR20110088347A (en) Identifier and locator structure and communication method based on the structure
CN107547687B (en) Message transmission method and device
CN104468305A (en) Three-layer virtual private network achieving method and device
US11863516B2 (en) Method, apparatus and system for realizing carrier grade network address translation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant