CN114143850B - 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 PDFInfo
- Publication number
- CN114143850B CN114143850B CN202111413227.5A CN202111413227A CN114143850B CN 114143850 B CN114143850 B CN 114143850B CN 202111413227 A CN202111413227 A CN 202111413227A CN 114143850 B CN114143850 B CN 114143850B
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 230000003993 interaction Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 4
- 230000001960 triggered effect Effects 0.000 claims description 3
- 230000006870 function Effects 0.000 description 58
- 238000010586 diagram Methods 0.000 description 10
- 230000006855 networking Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 3
- RTZKZFJDLAIYFH-UHFFFAOYSA-N Diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 102100039250 Essential MCU regulator, mitochondrial Human genes 0.000 description 1
- 101000813097 Homo sapiens Essential MCU regulator, mitochondrial Proteins 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing 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 IPv6 addresses to target terminals through the configured preset soft routing system, wherein the target terminals comprise a 5G core network and a data network terminal; and dynamically distributing 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. 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 the wireless side and the wired side of the 5G system.
Description
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 brings new opportunities and challenges to the development of IPv 6. In the background of internet of things, networking terminals are more and more in the future, applications are more and more abundant, requirements for IP addresses are more and more raised, and development of IPv6 is a huge opportunity.
The core network, the wireless access network and the wireless terminal in the 5G communication network need to support the IPv6 address network. Most of the prior art automatically allocates the IPv6 address by setting up a DHCPv6 server or dynamically allocates the IPv6 address by purchasing a router supporting IPv 6. However, purchasing a high-performance server or router may result 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.
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 IPv6 addresses to target terminals through the configured preset soft routing system, wherein the target terminals comprise a 5G core network and a data network terminal;
and dynamically distributing 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.
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 a preset soft routing system through preset management software;
the first allocation module is used for allocating an IPv6 address for the target terminal through the configured preset soft routing system;
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, and the session management function configures an IPv6 address prefix in a user Internet protocol range for the 5G wireless terminal.
In a third aspect, an embodiment of the present invention further provides a computer apparatus, including:
one or more processors;
a storage means for storing one or more programs;
the one or more programs are executed by the one or more processors to cause the one or more processors to implement the IPv6 address allocation method described in any of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer readable storage medium having stored thereon a computer program, which when executed by a processor implements an IPv6 address allocation method as provided in any embodiment of the present invention.
The embodiment of the invention provides an IPv6 address allocation method, an IPv6 address allocation device, computer equipment and a storage medium, wherein a preset soft routing system is firstly configured through preset management software; then distributing IPv6 addresses for target terminals through the configured preset soft routing system, wherein the target terminals comprise a 5G core network and a data network terminal; and finally, dynamically distributing 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. By utilizing the technical scheme, the automatic allocation of the IPv6 address on the wireless side and the wired side of the 5G system can be realized stably and reliably, and the method has the advantages of simple execution process, easiness in operation, convenience in management and the like.
Drawings
Fig. 1 is a 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 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 the invention is susceptible of embodiment in the drawings, it is to be understood that the invention may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided to provide a more thorough and complete understanding of the invention. It should be understood that the drawings and embodiments of the invention are for illustration purposes 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. Furthermore, 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 "including" and variations thereof as used herein are intended to be 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. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like herein are merely used for distinguishing between different devices, modules, or units and not for limiting the order or interdependence of the functions performed by such devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those skilled in the art will appreciate that "one or more" is intended to be construed as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the devices in the embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Example 1
Fig. 1 is a schematic flow chart of an IPv6 address allocation method according to an embodiment of the present invention, where the method may be suitable for allocating IPv6 addresses to a whole set of 5G networks, and particularly for allocating IPv6 addresses to a whole set of 5G networks without setting up a DHCPv6 server and without purchasing a router supporting IPv6, and the method may be performed by an IPv6 address allocation apparatus, where the apparatus may be implemented by software and/or hardware and is generally integrated on a computer device.
As shown in fig. 1, an IPv6 address allocation method provided in a first embodiment of the present invention includes the following steps:
s110, configuring a preset soft routing system through preset management software.
The preset management software may be any software capable of managing a preset soft routing system, and exemplary, the preset management software may be a window, which is based on ROS preset under windows, and the preset management software may log in a router made of a soft route, and may configure the router through the preset management software.
The preset soft routing system may be a preset routing operating system, and exemplary, the preset soft routing system may be RouterOS, routerOS soft routing system software with an open source, which has all functions of a general router, and in this embodiment, the function of automatically configuring an IPv6 address and the function of advertising a prefix by considering the EUI-64 of the preset soft routing system are emphasized.
In this embodiment, the configuration of the preset soft routing system needs to be performed on a virtual machine, and a virtual machine can be built 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 with the preset soft routing system is required to be started, after the virtual machine is started, a management address is required to be configured, the preset soft routing system can be accessed by inputting the IP address of the management address in the preset management software, and after the preset soft routing system is accessed, related configuration can be executed through the preset management software.
Further, the configuring the preset soft routing system through the preset management software 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; after the preset soft routing system is accessed, IPv6 address configuration and function configuration are carried out 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 the soft route system is accessed, the soft route may be configured and managed by using preset management software. Wherein, the configuration management may include an IPv6 address configuration and a function configuration, the IPv6 address configuration may include setting a prefix and a prefix length in an IPv6 address pool, and the function configuration may include turning on EUI-64 and advertising a 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 the 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 entered by the user on the command line interface may be ip address add address = 10.0.246..6/24 interface=ether1. In this embodiment, the configuration of the virtual machine management address is completed after the preset command is input.
Further, the performing IPv6 address configuration and function configuration 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 taking 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 announces the 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 IPv6 in a toolbar of preset management software, click an IPv6 button, then display an IPv6 address pool, click a corresponding setting box, and set an IPv6 address prefix and a length of the prefix in the setting box. By way of example, an IPv6 address prefix of AAAA:BBBBBB:CCCC:DDDD:64 may be provided, with a prefix length of 64. The computer can automatically generate the IPv6 address according to the prefix of the IPv6 address set by the user and the length of the prefix.
The user can find IPv6 in the preset management software, click an IPv6 button, then display an IPv6 address list, click a corresponding setting box, and select an interface option to select a network card ether corresponding to the interface. The user can turn on the EUI-64 function switch by clicking a button corresponding to EUI-64, and the user can turn on the advertisement function switch by clicking a button corresponding to advertisement.
It will be appreciated that upon clicking the annunciation function switch and the EUI-64 function switch, the user may trigger the generation of a user instruction, which may be understood as an instruction to turn on the EUI-64 function and annunciation function. After the computer receives the user instruction, the EUI-64 function and the notification function can be started by analyzing the user instruction.
S120, distributing IPv6 addresses 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 a data network end, a 5G core network, a base station and a 5G wireless terminal, where 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, the data interaction of the whole set of 5G network system may be implemented by automatically allocating IPv6 addresses to the data network end, the 5G core network, and the 5G wireless terminal. Optionally, an IPv6 address may be allocated to the base station, so that data interaction of the entire set of 5G network system may be implemented by automatically allocating an IPv6 address to the data network, 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 configured preset soft routing system has an IPv6 address allocation function, and may automatically allocate an IPv6 address to the target end, that is, allocate an IPv6 address to the 5G core network and the data network end.
Further, the distributing the IPv6 address to the target through the configured preset soft routing system includes: and in the configured preset soft routing system, an IPv6 address is allocated to the target terminal by using an EUI-64 addressing mode.
In this embodiment, in the configured preset soft routing system, the IPv6 address may be automatically allocated by using the EUI-64 addressing method, and specifically, the data network end and the 5G core network may automatically generate the IPv6 address according to the MAC address, so as to meet the IPv6 networking requirement of the 5G system.
In IPv6, the stateless auto-configuration mechanism may use the EUI-64 format to automatically configure IPv6 addresses, which is a new standard for IPv6 network interface addressing, and may allow nodes to automatically configure IPv6 addresses without a DHCPv6 server.
Further, the method for allocating 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 the IPv6 address of the target end.
Wherein the EUI-64 address represents a standard for network interface addressing, and IPV6 addresses are generated according to the MAC addresses. FFFE is inserted in the middle of the 48-bit MAC address, then the seventh position is changed to 1, and the expansion is carried out to 64-bit MAC address, namely EUI-64.
Specifically, the construction rules for EUI-64 are: and adding a fixed prefix to the MAC address of the target end interface to generate an IPv6 address. The specific principle comprises: automatically inserting FFFE in the 48-bit Ethernet MAC address so that the seventh position becomes 1, and expanding 48 bits into 64 bits; and a 64-bit IPv6 address prefix is added, so that a globally unique polymerizable unicast address can be formed.
For example, the MAC address of a computer is 00:0C:99:BC:50:01, and first, FFFF is inserted into the MAC address to be 00:0C:99:FF:FE:BC:50:01; then the first byte, seventh position, is changed from left to right to 1 to 02:0C:99:FF:FE:BC:50:01. Thus, EUI-64 of this computer is 020C:99FF:FEBC:5001.
S130, dynamically allocating 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 in a user internet protocol range, which may be expressed as ue ip range.
In this embodiment, an IPv6 address prefix needs to be set at a session management function (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 manner of setting the IPv6 address prefix at the SMF of the 5G core network may be: 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 protocol range, wherein the 5G wireless terminal can be allocated with a corresponding IPv6 address by the SMF.
The first embodiment of the invention provides an IPv6 address allocation method, which includes firstly configuring a preset soft routing system through preset management software; then distributing IPv6 addresses for target terminals through the configured preset soft routing system, wherein the target terminals comprise a 5G core network and a data network terminal; and finally, dynamically distributing 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. The method can realize the data interaction of the whole 5G network system by distributing the IPv6 address to the target terminal and distributing the IPv6 address to the 5G wireless terminal. The method has the advantages of simplicity in operation, low use cost, convenience in management, stability, reliability and the like.
Further, the IPv6 address allocation method provided in the first embodiment of the present invention further includes: and carrying out data interaction through the target terminal with the IPv6 address and the 5G wireless terminal with the IPv6 address.
In this embodiment, the data network end with the IPv6 address and the 5G wireless terminal with the IPv6 address may implement data interaction between the data network end and the 5G wireless terminal through the 5G core network with the IPv6 address and the base station with the IPv6 address.
Example two
The embodiment of the invention provides a specific implementation mode of an IPv6 address allocation method based on the technical scheme of each embodiment, which comprises the following steps:
step 1, starting a virtual machine with the router os installed, and configuring a management address of the virtual machine by using a command ip address add address = 10.0.246.116/24 interface=ethernet 1.
And step 2, opening a winbox, entering IP address connection of a management address 10.0.246.116, entering a Router OS, and carrying out configuration management on the soft route. And after the soft routing system is accessed, carrying out IPv6 address configuration and function configuration through the preset management software.
And 3, setting an IPv6 address prefix by finding an IPv6pool in the IPv 6.
Wherein, IPv6 address prefix can be set to be bb22:cc 33:dd44::64, and prefix length is set to be 64. Fig. 2 is a schematic diagram of an IPv6 address configuration page of the IPv6 address allocation method according to the second embodiment of the present invention, as shown in fig. 2, after the winbox software is opened, a display frame for displaying IPv6pool after clicking IPv6 in a toolbar on the left side of the display interface, a setting frame for IPv6pool appears after selecting ipv6_pool in the display frame, a user may fill in the setting frame with Name being ipv6_pool and Prefix being bb22:cc 33:dd44::64, and click on an OK button after filling in is completed to complete IPv6 configuration.
And 4, opening EUI-64 and an advertisement function switch in an IPv6 Address List, namely an IPv6 Address pool.
Wherein, the user can trigger to 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 Router OS system, and automatically distributing the IPv6 address by the 5G core network and the data network terminal.
And 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 ue ip range, wherein the 5G wireless terminal is allocated with a corresponding IPv6 address by the SMF.
Fig. 3 is a first schematic diagram of a configuration interface of a session management function in an IPv6 address allocation method according to a second embodiment of the present invention, as shown in fig. 3, a configuration interface may appear after an SMF is selected in a toolbar on the left side of a page, and the SMF configuration may be completed by clicking an add button to fill in a corresponding address Prefix under an IPv6 Prefix.
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, where, as shown in fig. 4, after a user clicks an Add button, an Add box may be popped up, and a corresponding address Prefix is filled in an IPv6 Prefix column of the Add box.
And 7, the whole 5G network system can successfully interact data through IPv6 networking.
According to the IPv6 address allocation method provided by the embodiment of the invention, the IPv6 address is automatically allocated under the condition of no IPv6 DHCP server, the IPv6 address is allocated from the control plane and the data plane network element of the wireless terminal-wireless access network-core network 5 GC-external data network by each network element in the 5G network through a unique and concise pure environment, the automatic allocation function of the IPV6 address is realized without building DHCPv6 by customer service, and therefore, the cost is reduced, the configuration is concise, the operation is quick, the management is convenient, the plug and play is convenient, the networking is flexible, and the stability and reliability are realized.
Example III
Fig. 5 is a schematic structural diagram of an IPv6 address allocation apparatus according to a third embodiment of the present invention, where the apparatus may be adapted to allocate IPv6 addresses to a whole set of 5G networks, and in particular, allocate IPv6 addresses to a whole set of 5G networks without setting up a DHCPv6 server and without purchasing an IPv 6-supporting router, where the apparatus may be 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 allocation module 120, and a second allocation module 130.
A configuration module 110, configured to configure a preset soft routing system through preset management software;
a first allocation module 120, configured to allocate an IPv6 address to a target terminal through a configured preset soft routing system, where the target terminal includes a 5G core network and a data network terminal;
and the second allocation 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.
In this embodiment, the device is first configured to configure a preset soft routing system through preset management software by using a configuration module 110; then, the first allocation module 120 is configured to allocate an IPv6 address to a target terminal through the configured preset soft routing system, where the target terminal includes a 5G core network and a data network terminal; finally, the second allocation 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 an IPv6 address allocation device which is simple and convenient to operate and low in execution cost, and can stably and reliably realize 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 carrying out IPv6 address configuration and function configuration through the preset management software after the preset soft routing system is accessed.
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 the management address of the virtual machine.
Based on the above optimization, the configuration unit is specifically configured to: acquiring an IPv6 address prefix and prefix length of an added target end in an IPv6 address pool in preset management software; automatically generating an IPv6 address by taking 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 announces the 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 allocation module 120 is specifically configured to: and in the configured preset soft routing system, an IPv6 address is allocated to the target terminal by using an EUI-64 addressing mode.
Further, the method for allocating 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 the IPv6 address of the 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 target end 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 the corresponding functional modules and beneficial effects of the execution method.
Example IV
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 according to a fourth embodiment of the present invention includes: one or more processors 41 and a storage device 42; the processor 41 in the computer device may be one or more, one processor 41 being taken as an example in fig. 6; the storage device 42 is used for storing one or more programs; the one or more programs are executed by the one or more processors 41, such 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 means 42, the input means 43 and the output means 44 in the computer device may be connected by a bus or by other means, in fig. 6 by way of example.
The storage device 42 in the computer apparatus is used as a computer readable storage medium, and may be used to store 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, the modules in the IPv6 address allocation device shown in fig. 5 include the configuration module 110, the first allocation module 120, and the second allocation module 130). The processor 41 executes various functional applications of the computer device and data processing by running software programs, instructions and modules stored in the storage 42, i.e., implements the IPv6 address allocation 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, at least one application program required for a function; the storage data area may store data created according to the use of the computer device, etc. In addition, 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 via 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 means 43 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the computer device. The output device 44 may include a display device such as a display screen.
And, when one or more programs included in the above-mentioned computer device 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 IPv6 addresses to target terminals through the configured preset soft routing system, wherein the target terminals comprise a 5G core network and a data network terminal;
and dynamically distributing 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.
Example five
A fifth embodiment of the present invention provides a computer-readable storage medium having stored thereon a computer program for executing an IPv6 address allocation method when executed by a processor, the method comprising:
configuring a preset soft routing system through preset management software;
distributing IPv6 addresses to target terminals through the configured preset soft routing system, wherein the target terminals comprise a 5G core network and a data network terminal;
and dynamically distributing 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.
The computer storage media of embodiments of the invention may take the form of 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. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 (Random Access Memory, RAM), a Read-Only Memory (ROM), an erasable programmable Read-Only Memory (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.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to: electromagnetic signals, optical signals, or any suitable combination of the preceding. 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), and the like, or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ 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 kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. 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, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.
Claims (9)
1. An IPv6 address allocation method, the method comprising:
configuring a preset soft routing system through preset management software;
distributing IPv6 addresses to target terminals through the configured preset soft routing system, wherein the target terminals comprise a 5G core network and a data network terminal;
dynamically allocating an IPv6 address to a 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 configuring the preset soft routing system through the preset management software comprises the following steps:
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;
after the preset soft routing system is accessed, IPv6 address configuration and function configuration are carried out through the preset management software.
2. The method according to claim 1, wherein 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 the management address of the virtual machine.
3. The method according to claim 1, wherein the performing IPv6 address configuration and function configuration 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 taking 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 announces the function switch in an IPv6 address list in preset management software;
and analyzing the user instruction to complete the function configuration.
4. The method according to claim 1, wherein the assigning the IPv6 address to the target through the configured default soft routing system includes:
and in the configured preset soft routing system, an IPv6 address is allocated to the target terminal by using an EUI-64 addressing mode.
5. The method of claim 4, wherein assigning IPv6 addresses to the target 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 the IPv6 address of the target end.
6. The method according to claim 1, wherein the method further comprises:
and carrying out data interaction through the target terminal with the IPv6 address and the 5G wireless terminal with the IPv6 address.
7. An IPv6 address allocation apparatus, the apparatus comprising:
the configuration module is used for configuring a preset soft routing system through preset management software;
the first allocation module is used for allocating an IPv6 address to a target terminal through the configured preset soft routing system, wherein the target terminal comprises a 5G core network and a data network terminal;
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, and the session management function configures an IPv6 address prefix for the 5G wireless terminal;
the configuration module comprises an access unit and a configuration unit, wherein the access unit is used for accessing a preset soft routing system through preset management software and a management address, and the management address is the management address of a virtual machine provided with the preset soft routing system; the configuration unit is used for carrying out IPv6 address configuration and function configuration through the preset management software after the preset soft routing system is accessed.
8. A computer device, comprising:
one or more processors;
a storage means for storing one or more programs;
the one or more programs are executed by the one or more processors to cause the one or more processors to perform the IPv6 address allocation method of any one of claims 1-6.
9. A computer readable storage medium having stored thereon a computer program, which when executed by a processor implements the IPv6 address allocation method according to any of claims 1-6.
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 CN114143850A (en) | 2022-03-04 |
CN114143850B true 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) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114979090B (en) * | 2022-05-27 | 2024-07-05 | 深圳市领创星通科技有限公司 | 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 |
CN115426334B (en) * | 2022-08-26 | 2024-05-03 | Oppo广东移动通信有限公司 | Network address generation method, device, routing equipment and storage medium |
CN116094821B (en) * | 2023-01-29 | 2024-05-14 | 中国联合网络通信集团有限公司 | Route configuration method and device |
Citations (15)
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 |
-
2021
- 2021-11-25 CN CN202111413227.5A patent/CN114143850B/en active Active
Patent Citations (15)
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 |
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)
Title |
---|
"29278-c00".3GPP tsg_ct\WG4_protocollars_ex-CN4.2013,全文. * |
"CN2_33_TdocList".3GPP tsg_cn\WG2_camel.2014,全文. * |
A_comb-DMRS_based_CFO_estimation_scheme_for_LTE-V_systems_in_high-speed_scenario;Junyi Xie;《IEEE XPLORE》;全文 * |
基于TD_LTE的网络优化设计与应用;郭小光;《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114143850A (en) | 2022-03-04 |
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 | |
US8331263B2 (en) | Discovery of network nodes and routable addresses | |
CN109587281B (en) | Container configuration method and computing node | |
US10855528B2 (en) | Viral system discovery and installation for distributed networks | |
CN105359458A (en) | Network device communication method and network device | |
US11184281B2 (en) | Packet processing method and apparatus | |
EP2913983A2 (en) | Method and system for managing ipv6 address conflict automatically | |
CN110213391B (en) | Method and device for configuring network protocol address | |
CN103916484B (en) | The method and apparatus for configuring IP address | |
US10432579B2 (en) | Internet protocol address allocation method and router | |
US10476837B2 (en) | IPV4 addressing schema design methodology using a visual interactive tool | |
US20220263796A1 (en) | Method and Device for IP Address Allocation and Topology Management in DAS System, and Storage Medium | |
CN110995883A (en) | Method, system and storage medium for DHCPv6 fixed address configuration based on EUI-64 | |
CN105450585A (en) | Information transmission method and device | |
CN103581353B (en) | The method of automatic configuration and system of gateway device | |
CN112272244A (en) | Router WAN end IPv6 internet mode configuration method and device | |
CN115150327A (en) | Interface setting method, device, equipment and medium | |
US20080307079A1 (en) | Apparatus and Method For Managing Addresses of Network Elements | |
JP6104406B2 (en) | Method and processing device for handling network protocol addresses | |
WO2013013477A1 (en) | Data packet processing and tracing method, device and system | |
CN112367195B (en) | Network configuration method, system and device | |
CN105472054B (en) | A kind of file transmitting method and access device | |
KR100397468B1 (en) | Network management device and method using mib name server | |
Cisco | Configuring IE2100 CNS Agents |
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 |