Unlock instant, AI-driven research and patent intelligence for your innovation.

IPv6 address and prefix allocation method, device and computer-readable storage medium

A prefix allocation and ipv6 address technology, which is applied in the direction of secure communication devices, encryption devices with shift registers/memory, digital transmission systems, etc., can solve the problems of difficulty in both the efficiency and success rate of IPv6 address or prefix allocation, and achieve improvement The effect of efficiency and success rate

Active Publication Date: 2022-06-24
武汉思普崚技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the present invention provides an IPv6 address and prefix allocation method, device and computer-readable storage medium, which solves the technical problem that the efficiency and success rate of IPv6 address or prefix allocation are difficult to balance in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • IPv6 address and prefix allocation method, device and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] An embodiment of the present invention provides an IPv6 address and prefix allocation method, including the following steps:

[0024] Step S1, receiving the request message of the client, parsing the request message, obtaining the unique identifier of the client and the identity alliance option, and analyzing the network prefix where the client is located;

[0025] Step S2, obtain the octet and the hash value according to the identity alliance option and the unique identifier of the client;

[0026] Step S3, generate an address according to the hash value and the network prefix where the client is located, or generate a prefix according to the specified client prefix range, length and the hash value;

[0027] Step S41, determine whether the address or prefix is ​​available, if available, execute step S42, if not, execute step S43;

[0028] Step S42, returning the address or prefix (included in the response message) to the client,

[0029] Step S43, generate a new octe...

Embodiment 2

[0051] An embodiment of the present invention further provides an IPv6 address and prefix allocation device, including a processor and a memory, where a computer program is stored in the memory, and when the computer program is executed by the processor, the implementation is as described in the foregoing embodiments IPv6 address and prefix assignment method.

Embodiment 3

[0053] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the computer implements the IPv6 address and prefix allocation method described in any of the foregoing embodiments.

[0054] The invention discloses an IPv6 address and prefix allocation method, device and computer-readable storage medium; by receiving a request message from a client, parsing the request message, obtaining a unique identifier of the client and an identity alliance option, and obtaining the network prefix where the client is located ; According to the described identity alliance option and the unique identifier of the client, obtain the octet and the hash value; According to the described hash value and the network prefix where the client is located, generate an address, or, according to the specified client prefix range, length and all The hash value is used to generate a pref...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an IPv6 address and prefix allocation method, device, and computer-readable storage medium, belonging to the technical field of computer IP address allocation, and solving the problem in the prior art that it is difficult to balance the efficiency and success rate of IPv6 address or prefix allocation. A method for assigning an IPv6 address and a prefix, comprising the steps of: parsing a request message, obtaining a unique identifier of a client and identity federation options, parsing out the network prefix where the client is located, obtaining an octet and a hash value, and generating an address, or, Generate a prefix; judge whether the address or prefix is ​​available, if available, return the address or prefix to the client, if not available, generate a new address or prefix, until the set number of times, if the latest address or prefix is ​​still unavailable, Then traverse the addresses in the address pool, find available addresses or prefixes, and return the available addresses or prefixes to the client. The method of the invention improves the efficiency and success rate of IPv6 address or prefix allocation at the same time.

Description

technical field [0001] The present invention relates to the technical field of computer IP address allocation, and in particular, to an IPv6 address and prefix allocation method, device and computer-readable storage medium. Background technique [0002] The allocation methods of IPv6 addresses and prefixes include stateful (DHCPv6) and stateless methods. In contrast, DHCPv6 can control the allocation of IPv6 addresses and network parameters more flexibly, so it is widely used. However, DHCPv6 is widely used in allocating IPv6 addresses and prefixes. When faced with the following problems, first of all, when the number of addresses and prefixes in the IPv6 address pool is large, after more addresses and prefixes have been allocated, it may take a long time to find a free address or prefix when processing an address or prefix request. Address or prefix allocation efficiency is low; secondly, when the system needs to allocate fixed addresses or prefixes to clients as much as po...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L61/5014H04L69/22H04L9/06H04L101/659
CPCH04L69/22H04L9/0643H04L61/5014H04L2101/659
Inventor 蒋丽
Owner 武汉思普崚技术有限公司