CN114143850A - IPv6 address allocation method and device, computer equipment and storage medium - Google Patents

IPv6 address allocation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN114143850A
CN114143850A CN202111413227.5A CN202111413227A CN114143850A CN 114143850 A CN114143850 A CN 114143850A CN 202111413227 A CN202111413227 A CN 202111413227A CN 114143850 A CN114143850 A CN 114143850A
Authority
CN
China
Prior art keywords
ipv6 address
preset
address
routing system
ipv6
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
CN202111413227.5A
Other languages
Chinese (zh)
Other versions
CN114143850B (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.)
Shenzhen Lingchuang Xingtong Technology Co ltd
Kingsignal Technology Co Ltd
Original Assignee
Shenzhen Lingchuang Xingtong Technology Co ltd
Kingsignal Technology 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 Shenzhen Lingchuang Xingtong Technology Co ltd, Kingsignal Technology Co Ltd filed Critical Shenzhen Lingchuang Xingtong Technology Co ltd
Priority to CN202111413227.5A priority Critical patent/CN114143850B/en
Publication of CN114143850A publication Critical patent/CN114143850A/en
Application granted granted Critical
Publication of CN114143850B publication Critical patent/CN114143850B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention discloses an IPv6 address allocation method, an IPv6 address allocation device, computer equipment and a storage medium. The method comprises the following steps: configuring a preset soft routing system through preset management software; distributing an IPv6 address to a target end through a preset soft routing system which is configured, wherein the target end comprises a 5G core network and a data network end; and dynamically distributing an IPv6 address for the 5G wireless terminal through a session management function of the 5G core network, wherein the session management function configures an IPv6 address prefix for the 5G wireless terminal. The method is simple and convenient to operate, low in execution cost and capable of stably and reliably achieving automatic IPv6 address allocation of the wireless side and the wired side of the 5G system.

Description

IPv6 address allocation method and device, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an IPv6 address allocation method, an IPv6 address allocation device, computer equipment and a storage medium.
Background
The development of 5G networks has brought new opportunities and challenges to the development of IPv 6. Under the background of internet of everything, the number of networking terminals in the future is increased, the applications are enriched, the demand for IP addresses is increased, and the development of IPv6 is a huge opportunity.
A core network, a radio access network and a wireless terminal in the 5G communication network need to support an IPv6 address network. Most of the prior art automatically allocates IPv6 addresses by building and configuring DHCPv6 servers or dynamically allocates IPv6 addresses by purchasing routers supporting IPv 6. However, purchasing a high-performance server or router results in disadvantages such as high cost, inflexible networking, inconvenient management, and complicated configuration.
Disclosure of Invention
The embodiment of the invention provides an IPv6 address allocation method, an IPv6 address allocation device, computer equipment and a storage medium, wherein the method is simple and convenient to operate, low in execution cost and capable of stably and reliably realizing automatic allocation of IPv6 addresses on a wireless side and a wired side of a 5G system.
In a first aspect, an embodiment of the present invention provides an IPv6 address allocation method, including:
configuring a preset soft routing system through preset management software;
distributing an IPv6 address to a target end through a preset soft routing system which is configured, wherein the target end comprises a 5G core network and a data network end;
and dynamically distributing an IPv6 address for the 5G wireless terminal through a session management function of the 5G core network, wherein the session management function configures an IPv6 address prefix for the 5G wireless terminal.
In a second aspect, an embodiment of the present invention further provides an IPv6 address allocation apparatus, including:
the configuration module is used for configuring the preset soft routing system through preset management software;
the first distribution module is used for distributing an IPv6 address to the target end through the preset soft routing system which is configured;
and the second allocation module is used for dynamically allocating an IPv6 address to the 5G wireless terminal through a session management function of the 5G core network, wherein the session management function configures an IPv6 address prefix of a user Internet protocol range for the 5G wireless terminal.
In a third aspect, an embodiment of the present invention further provides a computer device, including:
one or more processors;
storage means for storing one or more programs;
the one or more programs are executed by the one or more processors such that the one or more processors are operable to implement the IPv6 address assignment method described in any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the IPv6 address allocation method as provided in any embodiment of the present invention.
The embodiment of the invention provides an IPv6 address allocation method, a device, computer equipment and a storage medium, firstly, a preset soft routing system is configured through preset management software; then, distributing an IPv6 address to a target end through a preset soft routing system which is configured, wherein the target end comprises a 5G core network and a data network end; and finally, dynamically distributing an IPv6 address for the 5G wireless terminal through a session management function of a 5G core network, wherein the session management function configures an IPv6 address prefix for the 5G wireless terminal. By utilizing the technical scheme, the automatic distribution of the IPv6 addresses on the wireless side and the wired side of the 5G system can be stably and reliably realized, and the method has the advantages of simple execution process, easiness in operation, convenience in management and the like.
Drawings
Fig. 1 is a schematic flowchart of an IPv6 address allocation method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an IPv6 address configuration page of an IPv6 address allocation method according to a second embodiment of the present invention;
fig. 3 is a first schematic diagram of a session management function configuration interface in an IPv6 address allocation method according to a second embodiment of the present invention;
fig. 4 is a second schematic diagram of a session management function configuration interface in an IPv6 address allocation method according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of an IPv6 address allocation apparatus according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and the embodiments of the present invention are illustrative only and are not intended to limit the scope of the present invention.
It should be understood that the various steps recited in the method embodiments of the present invention may be performed in a different order and/or performed in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the invention is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present invention are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in the present invention are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present invention are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
Example one
Fig. 1 is a schematic flowchart of an IPv6 address allocation method according to an embodiment of the present invention, where the method is applicable to a case where an IPv6 address is allocated to a whole set of 5G networks, and particularly, for a case where a DHCPv6 server is not built and a router supporting IPv6 is not purchased, an IPv6 address allocation apparatus is used to allocate an IPv6 address to the whole set of 5G networks, where the apparatus may be implemented by software and/or hardware and is generally integrated on a computer device.
As shown in fig. 1, a method for allocating an IPv6 address according to an embodiment of the present invention includes the following steps:
and S110, configuring the preset soft routing system through preset management software.
The preset management software may be any software capable of managing the preset soft routing system, and illustratively, the preset management software may be a winbox, the winbox is software for managing the ROS in a preset manner based on windows, the preset management software may log in a router manufactured by the soft routing system, and the router may be configured through the preset management software.
In this embodiment, the preset soft routing system may be a preset routing operating system, for example, the preset soft routing system may be RouterOS, which is a software of an open-source soft routing system and has all functions of a general router, and in this embodiment, the function of automatically configuring an IPv6 address and the function of notifying a prefix of the EUI-64 of the preset soft routing system are mainly considered.
In this embodiment, configuring the preset soft routing system needs to be executed on a virtual machine, a virtual machine may be set up by using a computer, and the preset soft routing system is installed on the virtual machine. When the preset soft routing system is configured, a virtual machine provided with the preset soft routing system is required to be started, a management address is required to be configured after the virtual machine is started, the preset soft routing system can be accessed by inputting an IP address of the management address in the preset management software, and after the preset soft routing system is accessed, the relevant configuration can be executed through the preset management software.
Further, the configuring, by the preset management software, the preset soft routing system includes: accessing a preset soft routing system through preset management software and a management address, wherein the management address is the management address of a virtual machine provided with the preset soft routing system; and after accessing the preset soft routing system, carrying out IPv6 address configuration and function configuration through the preset management software.
When the preset management software is used for configuring the preset software routing system, the preset software routing system can be connected only after the IP address of the management address is input on the preset management software, so that the preset software routing system can be configured.
In this embodiment, after accessing the pre-configured soft routing system, the configuration management of the soft routing may be performed by using pre-configured management software. The configuration management can comprise IPv6 address configuration and function configuration, the IPv6 address configuration can comprise setting prefixes and prefix lengths in an IPv6 address pool, and the function configuration can comprise opening EUI-64 and an advertising function switch in an IPv6 address list.
Further, the configuration mode of the management address includes: after a preset soft routing system is started, acquiring a command input by a user on a command line interface; and taking the address included in the command as a management address of the virtual machine.
After the preset soft routing system is started, a user can input a command on the command line interface, and after the computer acquires the command input by the user, the address included in the command can be used as a management address.
For example, the command input by the user on the command line interface may be ip address 10.0.246 × 6/24interface 1. In this embodiment, the configuration of the virtual machine management address is completed after the preset command is input.
Further, the performing, by the preset management software, IPv6 address configuration and function configuration includes: acquiring an IPv6 address prefix and prefix length of a target end added in an IPv6 address pool in preset management software by a user; automatically generating an IPv6 address by using the IPv6 address prefix and the prefix length as configuration information; acquiring a user instruction, wherein the instruction is triggered after a user clicks an EUI-64 function switch and an announcement function switch in an IPv6 address list in preset management software; and analyzing the user instruction to complete the function configuration.
The user can find the IPv6 in a toolbar preset with management software, the IPv6 address pool can be displayed after clicking an IPv6 button, a corresponding setting box is clicked and popped up, and an IPv6 address prefix and the length of the prefix are set in the setting box. Illustratively, the IPv6 address prefix is AAAA, BBBB, CCCC, DDDD, 64 and the prefix length is 64. The computer can automatically generate the IPv6 address according to the IPv6 address prefix and the prefix length set by the user.
The user can find the IPv6 in the preset management software, can display an IPv6 address list after clicking an IPv6 button, and can select the network card ether corresponding to the interface by clicking and popping a corresponding setting frame. The user can turn on the EUI-64 function switch by clicking the button corresponding to the EUI-64, and the user can turn on the advertisement function switch by clicking the button corresponding to the advertisement.
It will be appreciated that a user clicking on the announcement function switch and the EUI-64 function switch may trigger the generation of a user command, which may be understood as a command to turn on the EUI-64 function and the announcement function. When the computer receives the user instruction, the EUI-64 function and the notification function can be started by analyzing the user instruction.
And S120, distributing an IPv6 address to the target end through the configured preset soft routing system.
The target end may include a 5G core network and a data network end, the whole set of 5G network system may include the data network end, the 5G core network, a base station and a 5G wireless terminal, and the data network end and the 5G wireless terminal may perform data transmission through the 5G core network and the base station. In this embodiment, data interaction of the whole set of 5G network systems can be realized by automatically allocating IPv6 addresses at the data network side, the 5G core network, and the 5G wireless terminal. Optionally, an IPv6 address may be allocated to the base station, and further, data interaction of the whole set of 5G network system may be implemented in a manner that an IPv6 address is automatically allocated to the data network side, the 5G core network, the base station, and the 5G wireless terminal.
In this embodiment, after the configuration is completed, the preset soft routing system may be restarted, and the preset soft routing system that has completed the configuration has an IPv6 address allocation function, and may automatically allocate an IPv6 address to the target terminal, that is, allocate an IPv6 address to the 5G core network and the data network terminal.
Further, the allocating an IPv6 address to the destination through the configured pre-set soft routing system includes: in the configured preset soft routing system, an EUI-64 addressing mode is used for distributing an IPv6 address to the target end.
In this embodiment, in the configured preset soft routing system, the IPv6 address may be automatically allocated in an EUI-64 addressing manner, and specifically, the data network side and the 5G core network may automatically generate an IPv6 address according to the MAC address, so as to meet the IPv6 networking requirement of the 5G system.
In the IPv6, the stateless auto-configuration mechanism can automatically configure IPv6 addresses using EUI-64 format, which is a new standard for IPv6 network interface addressing, and can allow nodes to automatically configure IPv6 addresses without a DHCPv6 server.
Further, the method for distributing the IPv6 address to the target terminal by using the EUI-64 addressing mode comprises the following steps: acquiring an MAC address and a fixed prefix of a target end interface; adding the fixed prefix to the MAC address to generate a corresponding IPv6 address; and taking the corresponding IPv6 address as an IPv6 address of a target end.
Where the EUI-64 address represents a standard for network interface addressing, the IPV6 address is generated from the MAC address. FFFE is inserted between 48-bit MAC addresses, then the seventh position becomes 1, and the address is expanded to 64-bit MAC address, namely EUI-64.
Specifically, the EUI-64 has the following construction rules: and adding a fixed prefix to the MAC address of the target end interface to generate an IPv6 address. The specific principle comprises the following steps: automatically inserting FFFE in the 48-bit Ethernet MAC address, so that the seventh position becomes 1, and expanding the 48 bits to 64 bits; plus a 64-bit IPv6 address prefix, a globally unique converged unicast address can be formed.
Illustratively, the MAC address of a computer is 00:0C:99: BC:50:01, and FFFF is inserted into the MAC address to be 00:0C:99: FF, FE: BC:50: 01; then changing the seventh position of the first byte from left to right to 1 yields 02:0C:99: FF: FE: BC:50: 01. Thus, the EUI-64 of this computer is 020C 99FF FEBC 5001.
S130, dynamically distributing an IPv6 address for the 5G wireless terminal through a session management function of the 5G core network, wherein the session management function configures an IPv6 address prefix for the 5G wireless terminal.
The IPv6 address prefix may be an IPv6 address prefix of a user internet protocol range, and the user internet protocol range may be expressed as ue ip range.
In this embodiment, an IPv6 address prefix needs to be set at a Session Management Function (SMF) of the 5G core network, so that an IPv6 address can be dynamically allocated to the 5G wireless terminal through the SMF function.
The method for setting the IPv6 address prefix at the SMF of the 5G core network may be as follows: and entering a web network management interface of the 5G core network, configuring the SMF of the 5G core network, and setting an IPv6 address prefix of a user Internet interconnection protocol range, wherein the 5G wireless terminal can be allocated with a corresponding IPv6 address by the SMF.
In an IPv6 address allocation method provided in an embodiment of the present invention, a preset soft routing system is configured through preset management software; then, distributing an IPv6 address to a target end through a preset soft routing system which is configured, wherein the target end comprises a 5G core network and a data network end; and finally, dynamically distributing an IPv6 address for the 5G wireless terminal through a session management function of a 5G core network, wherein the session management function configures an IPv6 address prefix for the 5G wireless terminal. The method allocates the IPv6 address to the target terminal and allocates the IPv6 address to the 5G wireless terminal, so that data interaction of the whole 5G network system can be realized. The method has the advantages of simple operation, low use cost, convenient management, stability, reliability and the like.
Further, the IPv6 address allocation method provided in the first embodiment of the present invention further includes: and performing data interaction through a target terminal with an IPv6 address and a 5G wireless terminal with an IPv6 address.
In this embodiment, the data network side having an IPv6 address and the 5G wireless terminal having an IPv6 address can implement data interaction between the data network side and the 5G wireless terminal through the 5G core network having an IPv6 address and the base station having an IPv6 address.
Example two
On the basis of the technical solutions of the above embodiments, the embodiments of the present invention provide a specific implementation manner of an IPv6 address allocation method, including the following steps:
step 1, starting the virtual machine with the RouterOS, and configuring the management address of the virtual machine by using a command ip address 10.0.246.116/24interface 1.
And 2, opening the winbox, inputting the IP address of the management address 10.0.246.116 to connect into the RouterOS, and performing configuration management on the soft route. After the soft routing system is accessed, the IPv6 address configuration and function configuration are carried out through the preset management software.
And 3, finding IPv6pool in IPv6, namely an address pool, and setting an IPv6 address prefix.
The IPv6 address prefix can be set to be bb22: cc33: dd44:: 64, and the prefix length is set to be 64. Fig. 2 is a schematic diagram of an IPv6 address configuration page of an IPv6 address allocation method according to a second embodiment of the present invention, as shown in fig. 2, after a winbox software is opened, a display frame of IPv6pool can be displayed after clicking IPv6 in a toolbar on the left of a display interface, a setting frame of IPv6pool appears after selecting IPv6_ pool in the display frame, a user can fill in a Name of IPv6_ pool, a Prefix of bb22 cc33: dd 44:/64, and a Prefix Length of 64, and after completion of filling, click an OK button to complete IPv6 configuration.
And 4, opening the EUI-64 and Advertise function switches in an IPv6 Address List, namely an IPv6 Address pool.
Wherein, the user can start the EUI-64 and advertisement functions by clicking a function switch button on the page.
And 5, after the configuration is completed, restarting the RouterOS system, and automatically distributing the IPv6 address to the 5G core network and the data network terminal.
And step 6, entering a web network manager of the 5G core network, configuring a session management function of the 5G core network, and setting an IPv6 prefix 2001 of the ue ip range, wherein the 5G wireless terminal is allocated with a corresponding IPv6 address by the SMF.
Fig. 3 is a first schematic view of a session management function configuration interface in an IPv6 address allocation method according to a second embodiment of the present invention, and as shown in fig. 3, after selecting an SMF in a toolbar on the left side of a page, a configuration interface may appear, and an add button is clicked under an IPv6 Prefix to fill in a corresponding address Prefix, so that SMF configuration is completed.
Fig. 4 is a second schematic view of a session management function configuration interface in an IPv6 address allocation method according to a second embodiment of the present invention, and as shown in fig. 4, after a user clicks an Add button, an Add box may pop up, and a corresponding address Prefix is filled in an IPv6 Prefix column of the Add box.
And 7, successfully networking the whole 5G network system through the IPv6 to exchange data.
The IPv6 address allocation method provided by the embodiment of the invention realizes automatic allocation of IPv6 addresses without an IPv6 DHCP server, realizes allocation of IPv6 addresses by network elements in a 5G network from control plane and data plane network elements of a wireless terminal-wireless access network-core network 5 GC-external data network through a unique and simple pure environment, and realizes an automatic allocation function of IPV6 addresses without building CPv6, thereby reducing cost, and having simple configuration, quick operation, convenient management, plug and play, flexible networking, stability and reliability.
EXAMPLE III
Fig. 5 is a schematic structural diagram of an IPv6 address assignment device according to a third embodiment of the present invention, where the device is applicable to a case where an IPv6 address is assigned to a whole set of 5G networks, and particularly, to a case where a DHCPv6 server is not built and a router supporting IPv6 is not purchased, the device is capable of assigning an IPv6 address to the whole set of 5G networks, and the device is implemented by software and/or hardware and is generally integrated on a computer device.
As shown in fig. 5, the apparatus includes: a configuration module 110, a first distribution module 120, and a second distribution module 130.
A configuration module 110, configured to configure a preset soft routing system through preset management software;
the first allocating module 120 is configured to allocate an IPv6 address to a target end through a preset soft routing system that has completed configuration, where the target end includes a 5G core network and a data network end;
a second allocating module 130, configured to dynamically allocate an IPv6 address to the 5G wireless terminal through a session management function of the 5G core network, where the session management function configures an IPv6 address prefix for the 5G wireless terminal.
In this embodiment, the apparatus is first configured, through the configuration module 110, to configure a preset soft routing system through preset management software; then, the first allocating module 120 is used for allocating an IPv6 address to a target end through the configured preset soft routing system, where the target end includes a 5G core network and a data network end; and finally, the second allocating module 130 is configured to dynamically allocate an IPv6 address to the 5G wireless terminal through a session management function of the 5G core network, where the session management function configures an IPv6 address prefix for the 5G wireless terminal.
The embodiment provides the IPv6 address allocation device which is simple and convenient to operate, low in execution cost and capable of stably and reliably realizing automatic allocation of IPv6 addresses on a wireless side and a wired side of a 5G system.
Further, the configuration module 110 includes an access unit and a configuration unit, where the access unit is configured to access a preset soft routing system through preset management software and a management address, where the management address is a management address of a virtual machine in which the preset soft routing system is installed; the configuration unit is used for performing IPv6 address configuration and function configuration through the preset management software after accessing the preset soft routing system.
Further, the configuration mode of the management address includes: after a preset soft routing system is started, acquiring a command input by a user on a command line interface; and taking the address included in the command as a management address of the virtual machine.
On the basis of the above optimization, the configuration unit is specifically configured to: acquiring IPv6 address prefixes and prefix lengths of target ends added by users in an IPv6 address pool in preset management software; automatically generating an IPv6 address by using the IPv6 address prefix and the prefix length as configuration information; acquiring a user instruction, wherein the instruction is triggered after a user clicks an EUI-64 function switch and an announcement function switch in an IPv6 address list in preset management software; and analyzing the user instruction to complete the function configuration.
Based on the above technical solution, the first distribution module 120 is specifically configured to: in the configured preset soft routing system, an EUI-64 addressing mode is used for distributing an IPv6 address to the target end.
Further, the method for distributing the IPv6 address to the target terminal by using the EUI-64 addressing mode comprises the following steps: acquiring an MAC address and a fixed prefix of a target end interface; adding the fixed prefix to the MAC address to generate a corresponding IPv6 address; and taking the corresponding IPv6 address as an IPv6 address of a target end.
Further, the IPv6 address allocation apparatus further includes a data interaction module, where the data interaction module is configured to perform data interaction through a destination terminal with an IPv6 address and a 5G wireless terminal with an IPv6 address.
The IPv6 address allocation device can execute the IPv6 address allocation method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 6 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. As shown in fig. 6, a computer device provided in the fourth embodiment of the present invention includes: one or more processors 41 and storage 42; the processor 41 in the computer device may be one or more, and fig. 6 illustrates one processor 41 as an example; storage 42 is used to store one or more programs; the one or more programs are executed by the one or more processors 41, so that the one or more processors 41 implement the IPv6 address allocation method according to any one of the embodiments of the present invention.
The computer device may further include: an input device 43 and an output device 44.
The processor 41, the storage device 42, the input device 43 and the output device 44 in the computer apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 6.
The storage device 42 in the computer apparatus is used as a computer readable storage medium for storing one or more programs, which may be software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the IPv6 address allocation method provided in the first or second embodiment of the present invention (for example, modules in the IPv6 address allocation apparatus shown in fig. 5, including the configuration module 110, the first allocation module 120, and the second allocation module 130). The processor 41 executes various functional applications and data processing of the computer device by executing software programs, instructions, and modules stored in the storage device 42, that is, implements the IPv6 address assignment method in the above-described method embodiment.
The storage device 42 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the computer device, and the like. Further, the storage 42 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 42 may further include memory located remotely from processor 41, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 43 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function controls of the computer apparatus. The output device 44 may include a display device such as a display screen.
And, when one or more programs included in the above-described computer apparatus are executed by the one or more processors 41, the programs perform the following operations:
configuring a preset soft routing system through preset management software;
distributing an IPv6 address to a target end through a preset soft routing system which is configured, wherein the target end comprises a 5G core network and a data network end;
and dynamically distributing an IPv6 address for the 5G wireless terminal through a session management function of the 5G core network, wherein the session management function configures an IPv6 address prefix for the 5G wireless terminal.
EXAMPLE five
An embodiment five of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is used, when executed by a processor, to execute an IPv6 address allocation method, where the method includes:
configuring a preset soft routing system through preset management software;
distributing an IPv6 address to a target end through a preset soft routing system which is configured, wherein the target end comprises a 5G core network and a data network end;
and dynamically distributing an IPv6 address for the 5G wireless terminal through a session management function of the 5G core network, wherein the session management function configures an IPv6 address prefix for the 5G wireless terminal.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read Only Memory (ROM), an Erasable Programmable Read Only Memory (EPROM), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. A computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, Radio Frequency (RF), etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. An IPv6 address allocation method, the method comprising:
configuring a preset soft routing system through preset management software;
distributing an IPv6 address to a target end through a preset soft routing system which is configured, wherein the target end comprises a 5G core network and a data network end;
and dynamically distributing an IPv6 address for the 5G wireless terminal through a session management function of the 5G core network, wherein the session management function configures an IPv6 address prefix for the 5G wireless terminal.
2. The method of claim 1, wherein configuring the pre-configured soft routing system through pre-configured management software comprises:
accessing a preset soft routing system through remote management software and a management address, wherein the management address is the management address of a virtual machine provided with the preset soft routing system;
and after accessing the preset soft routing system, carrying out IPv6 address configuration and function configuration through the preset management software.
3. The method of claim 2, wherein the managing the address configuration comprises:
after a preset soft routing system is started, acquiring a command input by a user on a command line interface;
and taking the address included in the command as a management address of the virtual machine.
4. The method according to claim 2, wherein the IPv6 address configuration and function configuration performed by the preset management software includes:
acquiring an IPv6 address prefix and prefix length of a target end added in an IPv6 address pool in preset management software by a user;
automatically generating an IPv6 address by using the IPv6 address prefix and the prefix length as configuration information;
acquiring a user instruction, wherein the instruction is triggered after a user clicks an EUI-64 function switch and an announcement function switch in an IPv6 address list in preset management software;
and analyzing the user instruction to complete the function configuration.
5. The method of claim 1, wherein the allocating an IPv6 address to the destination through the configured pre-configured soft routing system comprises:
in the configured preset soft routing system, an EUI-64 addressing mode is used for distributing an IPv6 address to the target end.
6. The method of claim 5, wherein assigning the IPv6 address to the destination using EUI-64 addressing comprises:
acquiring an MAC address and a fixed prefix of a target end interface;
adding the fixed prefix to the MAC address to generate a corresponding IPv6 address;
and taking the corresponding IPv6 address as an IPv6 address of a target end.
7. The method of claim 1, further comprising:
and performing data interaction through a target terminal with an IPv6 address and a 5G wireless terminal with an IPv6 address.
8. An IPv6 address assignment device, the device comprising:
the configuration module is used for configuring the preset soft routing system through preset management software;
the first distribution module is used for distributing an IPv6 address to a target end through a preset soft routing system which is configured, and the target end comprises a 5G core network and a data network end;
and the second allocation module is used for dynamically allocating an IPv6 address to the 5G wireless terminal through a session management function of the 5G core network, wherein the session management function configures an IPv6 address prefix for the 5G wireless terminal.
9. A computer device, comprising:
one or more processors;
storage means for storing one or more programs;
the one or more programs being executable by the one or more processors to cause the one or more processors to perform the IPv6 address assignment method of any of claims 1-7.
10. A computer-readable storage medium on which a computer program is stored, the program, when being executed by a processor, implementing the IPv6 address allocation method according to any one of claims 1 to 7.
CN202111413227.5A 2021-11-25 2021-11-25 IPv6 address allocation method and device, computer equipment and storage medium Active CN114143850B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111413227.5A CN114143850B (en) 2021-11-25 2021-11-25 IPv6 address allocation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111413227.5A CN114143850B (en) 2021-11-25 2021-11-25 IPv6 address allocation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114143850A true CN114143850A (en) 2022-03-04
CN114143850B CN114143850B (en) 2024-02-23

Family

ID=80391674

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111413227.5A Active CN114143850B (en) 2021-11-25 2021-11-25 IPv6 address allocation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114143850B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979090A (en) * 2022-05-27 2022-08-30 深圳市领创星通科技有限公司 IPv6 data packet processing method, device, computer equipment and storage medium
CN115426334A (en) * 2022-08-26 2022-12-02 Oppo广东移动通信有限公司 Network address generation method and device, routing equipment and storage medium
CN115914169A (en) * 2022-08-18 2023-04-04 深圳市高德信通信股份有限公司 Automatic distribution method for IPv6 address of virtual machine
CN116094821A (en) * 2023-01-29 2023-05-09 中国联合网络通信集团有限公司 Route configuration method and device

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710806A (en) * 2012-05-18 2012-10-03 中兴通讯股份有限公司 Method, equipment and system for automatically selecting IPv6 (internet protocol version 6) address transmission mode
CN102739677A (en) * 2007-06-29 2012-10-17 华为技术有限公司 Cryptographically generated address (CGA) configuration method, system and device
CN102780605A (en) * 2011-05-13 2012-11-14 中国科学院声学研究所 Inter-area exit route dynamic selection method and system
CN102868778A (en) * 2012-09-19 2013-01-09 中国联合网络通信集团有限公司 IPv6 (Internet Protocol version 6) address generating method and device
CN102970305A (en) * 2012-12-07 2013-03-13 成都康禾科技有限公司 Deployment method suitable for automatic software installation
CN104735667A (en) * 2015-03-23 2015-06-24 丁贤根 Mobile phone-borne wireless routing system for human body network
CN104767835A (en) * 2014-01-03 2015-07-08 携程计算机技术(上海)有限公司 System and method for configuring URL (Uniform Resource Locator) address
CN107171854A (en) * 2017-06-19 2017-09-15 深圳市共进电子股份有限公司 A kind of method that independent wide area network server is simulated in automatic test
CN108540251A (en) * 2018-06-27 2018-09-14 四川斐讯信息技术有限公司 A kind of setting means and system of router
CN109005252A (en) * 2018-08-24 2018-12-14 赛尔网络有限公司 A kind of IPv6 address generating method, equipment, system and the medium of fictitious host computer
CN109923883A (en) * 2016-09-27 2019-06-21 A9.Com公司 The shared method of network configuration
CN110995883A (en) * 2019-12-04 2020-04-10 互联网域名系统北京市工程研究中心有限公司 Method, system and storage medium for DHCPv6 fixed address configuration based on EUI-64
EP3713370A1 (en) * 2019-03-19 2020-09-23 Comcast Cable Communications Management, LLC Wireless communications for communication setup/response
CN112584461A (en) * 2019-09-30 2021-03-30 华为技术有限公司 Router advertisement message sending method and device
CN113612658A (en) * 2021-08-02 2021-11-05 四川九州电子科技股份有限公司 Broadband network equipment test system and test method

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102739677A (en) * 2007-06-29 2012-10-17 华为技术有限公司 Cryptographically generated address (CGA) configuration method, system and device
CN102780605A (en) * 2011-05-13 2012-11-14 中国科学院声学研究所 Inter-area exit route dynamic selection method and system
CN102710806A (en) * 2012-05-18 2012-10-03 中兴通讯股份有限公司 Method, equipment and system for automatically selecting IPv6 (internet protocol version 6) address transmission mode
CN102868778A (en) * 2012-09-19 2013-01-09 中国联合网络通信集团有限公司 IPv6 (Internet Protocol version 6) address generating method and device
CN102970305A (en) * 2012-12-07 2013-03-13 成都康禾科技有限公司 Deployment method suitable for automatic software installation
CN104767835A (en) * 2014-01-03 2015-07-08 携程计算机技术(上海)有限公司 System and method for configuring URL (Uniform Resource Locator) address
CN104735667A (en) * 2015-03-23 2015-06-24 丁贤根 Mobile phone-borne wireless routing system for human body network
CN109923883A (en) * 2016-09-27 2019-06-21 A9.Com公司 The shared method of network configuration
CN107171854A (en) * 2017-06-19 2017-09-15 深圳市共进电子股份有限公司 A kind of method that independent wide area network server is simulated in automatic test
CN108540251A (en) * 2018-06-27 2018-09-14 四川斐讯信息技术有限公司 A kind of setting means and system of router
CN109005252A (en) * 2018-08-24 2018-12-14 赛尔网络有限公司 A kind of IPv6 address generating method, equipment, system and the medium of fictitious host computer
EP3713370A1 (en) * 2019-03-19 2020-09-23 Comcast Cable Communications Management, LLC Wireless communications for communication setup/response
US20200305118A1 (en) * 2019-03-19 2020-09-24 Comcast Cable Communications, Llc Wireless Communications for Communication Setup/Response
CN112584461A (en) * 2019-09-30 2021-03-30 华为技术有限公司 Router advertisement message sending method and device
CN110995883A (en) * 2019-12-04 2020-04-10 互联网域名系统北京市工程研究中心有限公司 Method, system and storage medium for DHCPv6 fixed address configuration based on EUI-64
CN113612658A (en) * 2021-08-02 2021-11-05 四川九州电子科技股份有限公司 Broadband network equipment test system and test method

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
""29278-c00"", 3GPP TSG_CT\\WG4_PROTOCOLLARS_EX-CN4 *
""CN2_33_TdocList"", 3GPP TSG_CN\\WG2_CAMEL *
JUNYI XIE: "A_comb-DMRS_based_CFO_estimation_scheme_for_LTE-V_systems_in_high-speed_scenario", 《IEEE XPLORE》 *
郭小光: "基于TD_LTE的网络优化设计与应用", 《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979090A (en) * 2022-05-27 2022-08-30 深圳市领创星通科技有限公司 IPv6 data packet processing method, device, computer equipment and storage medium
CN115914169A (en) * 2022-08-18 2023-04-04 深圳市高德信通信股份有限公司 Automatic distribution method for IPv6 address of virtual machine
CN115426334A (en) * 2022-08-26 2022-12-02 Oppo广东移动通信有限公司 Network address generation method and device, routing equipment and storage medium
CN115426334B (en) * 2022-08-26 2024-05-03 Oppo广东移动通信有限公司 Network address generation method, device, routing equipment and storage medium
CN116094821A (en) * 2023-01-29 2023-05-09 中国联合网络通信集团有限公司 Route configuration method and device
CN116094821B (en) * 2023-01-29 2024-05-14 中国联合网络通信集团有限公司 Route configuration method and device

Also Published As

Publication number Publication date
CN114143850B (en) 2024-02-23

Similar Documents

Publication Publication Date Title
CN114143850B (en) IPv6 address allocation method and device, computer equipment and storage medium
JP4235460B2 (en) Network device management method, network device management program, and network control apparatus
CN105359458B (en) Network device communications method and the network equipment
US10855528B2 (en) Viral system discovery and installation for distributed networks
US10432579B2 (en) Internet protocol address allocation method and router
EP2913983A2 (en) Method and system for managing ipv6 address conflict automatically
EP1977562A2 (en) Discovery of network nodes and routable addresses
WO2014101891A1 (en) Method and device for configuring ip address
CN110995883A (en) Method, system and storage medium for DHCPv6 fixed address configuration based on EUI-64
WO2018045992A1 (en) Address management method and apparatus
CN103581353B (en) The method of automatic configuration and system of gateway device
CN102035899A (en) Method and device for determining addresses in IPv6 (internet protocol version 6) based LAN (local area network)
CN115150327A (en) Interface setting method, device, equipment and medium
JP6104406B2 (en) Method and processing device for handling network protocol addresses
US20080307079A1 (en) Apparatus and Method For Managing Addresses of Network Elements
CN103051544B (en) Realize method and the access device of IPv4 private network access IPv6 network
CN111541797A (en) Eco-based IPV6 implementation method
KR101052913B1 (en) Network system and method for allocating IPv6 address
US9025494B1 (en) IPv6 network device discovery
CN112511440B (en) Message forwarding method, system, storage medium and electronic equipment
Chelius et al. No Administration Protocol (NAP) for IPv6 router auto-configuration
Shiranzaei et al. A comparative study on IPv4 and Ipv6
CN110602268B (en) Tunnel port allocation method and device, electronic equipment and storage medium
JP5213070B2 (en) Wireless communication network connection system and wireless communication network connection method
Sivaprakash et al. Configuring linux system for internet protocol based multimedia communication network [J]

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