Patent ID: 10038646

Abstract:
Provided are a method and apparatus for acquiring a port range resource, and method and apparatus for allocating a port range resource. In the method, a first Router Solicitation (RS) message is sent to a server-end device, wherein information carried in the first RS message includes at least one of an Internet Protocol (IP) address multiplexing request and a port range resource allocation request; and a Router Advertisement (RA) message from the server-end device is received, wherein information carried in the RA message includes: a port range resource allocated according to the IP address multiplexing request and/or according to the port range resource allocation request. By virtue of the technical solution, an Address Plus Port (A+P) technology can be applied to an application scenario where stateless configuration of an Internet Protocol Version 6 (IPv6) address is performed via Neighbour Discovery (ND), thereby expanding the application range of the A+P technology.