Unified IPv4 / IPv6 address management method, device and equipment in IPv6 evolution environment
By sorting out address segments and defining translation rules in the IPv6 evolution environment, unified management of real and mapped addresses is achieved, solving the problem of insufficient address management in the IPv4/IPv6 translation system scenario, and realizing seamless interoperability and efficient resource utilization between IPv4 and IPv6 networks.
Patent Information
- Application Number
- CN202510930017.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-07
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2045-07-07
AI Technical Summary
During the IPv6 evolution process, existing address management methods and devices cannot effectively manage the mapping rules between real IPv4/IPv6 addresses and mapped virtual IPv4/IPv6 addresses, resulting in insufficient address management in IPv4/IPv6 translation system scenarios.
By sorting out all IPv4 and IPv6 address segments, planning scenarios for communication between IPv4 and IPv6, allocating mapped address segments, and defining IPv4 and IPv6 address translation rules, a set of address translation rules is generated to achieve unified management of real and mapped addresses.
It achieves seamless interoperability between IPv4 and IPv6 networks, improves the efficiency of address resource utilization, reduces the complexity of manual configuration, supports flexible business expansion, reduces network transition costs, and improves the reliability and stability of network services.
Smart Images

Figure CN120602452A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer network technology, and in particular to a unified IPv4 / IPv6 address management method, apparatus, and device in an IPv6 evolution environment. Background Art
[0002] With the increasing adoption of IPv6, many organizations are beginning to migrate their networks from traditional IPv4 to future IPv6. During this evolutionary process, IPv4 / IPv6 translation technology is essential to address interoperability between the newly upgraded IPv6 and the legacy IPv4. The address translation algorithms within IPv4 / IPv6 translation are specified in standards such as RFC6052 (IPv6 Addressing of IPv4 / IPv6 Translators) and RFC7757 (Explicit Address Mappings for Stateless IP / ICMP Translation). These standards introduce the concept of mapped addresses: Because IPv4 and IPv6 addresses are inherently indistinguishable from each other, when IPv4 endpoint A and IPv6 endpoint B communicate, A must be mapped to an IPv6 address A' to communicate with B. Similarly, B must be mapped to an IPv4 address B' to communicate with A.
[0003] In the process of IPv6 evolution, organizations, especially large organizations, need to effectively manage all types of IPv4 / IPv6 addresses involved. However, traditional address management methods and devices are usually based on real IPv4 / IPv6 addresses for management. For the above scenario involving an IPv4 / IPv6 translation system, in addition to real IPv4 / IPv6 addresses, it is also necessary to effectively manage the mapped virtual IPv4 / IPv6 addresses / address segments, as well as the IPv4 / IPv6 mapping rules between the real addresses and mapped addresses. The content that needs to be managed should include: planning the corresponding IPv4 / IPv6 mapping segments for mapping real IPv4 / IPv6 addresses; defining the corresponding IPv4 / IPv6 address translation rules based on the planned IPv4 / IPv6 mapping segments; and Rules can be issued to a designated IPv4 / IPv6 translation system, or read from a designated IPv4 / IPv6 translation system. When deploying an IPv6 computer, the user applies for and obtains a real IPv6 address. If communication with IPv4 is required, a mapped IPv4 address must also be assigned to it according to the aforementioned IPv4 / IPv6 translation rules. When deploying an IPv4 computer, the user applies for and obtains a real IPv4 address. If communication with IPv6 is required, a mapped IPv6 address must also be assigned to it according to the aforementioned IPv4 / IPv6 translation rules. The above process should be applied for and approved according to the organization's customized process. Summary of the Invention The present application also provides a unified IPv4 / IPv6 address management method in an IPv6 evolution environment, characterized by comprising: By sorting out all IPv4 and IPv6 address segments, planning scenarios for IPv4 and IPv6 communication, and allocating IPv4 and IPv6 mapping address segments; According to the mapped address segments of IPv4 and IPv6, define the IPv4 and IPv6 address translation rules and generate the IPv4 and IPv6 address translation rule sets; According to the set of IPv4 and IPv6 address translation rules, each real IPv4 / IPv6 address generates a corresponding mapped address.
[0004] Optionally, combing through all IPv4 and IPv6 address segments, planning scenarios for communication between IPv4 and IPv6, and allocating mapped address segments for IPv4 and IPv6 include: By combing through all IPv4 and IPv6 address segments, the organization can identify and record all its IPv4 address segments and IPv6 address segments, and enter them into the address management platform; The planning of IPv4 and IPv6 communication scenarios identifies the services and systems that require IPv4 and IPv6 intercommunication for the organization, assesses the address resources required for each type of intercommunication, and estimates the scale of address mapping; The allocation of IPv4 and IPv6 mapping address segments is to respectively divide an IPv4 mapping address pool and an IPv6 mapping address pool from the existing IPv4 address segment and IPv6 address segment according to the estimated scale of address mapping, and record them as dedicated for mapping.
[0005] Optionally, defining IPv4 and IPv6 address translation rules based on the mapped address segments of IPv4 and IPv6, and generating a set of IPv4 and IPv6 address translation rules, includes: The IPv4 and IPv6 address translation rules are defined to define the IPv4 / IPv6 address bidirectional translation rules for different mapped address segments according to the planned mapped address segments; The generating of the IPv4 and IPv6 address translation rule sets enables the organization to input all IPv4 / IPv6 address bidirectional translation rules into the address management platform to form an address translation rule set; The address management platform can not only send rules to designated translation systems for execution, but also collect existing rules from various translation systems to form a globally unified translation rule set.
[0006] Optionally, generating a corresponding mapped address for each real IPv4 / IPv6 address according to a set of IPv4 and IPv6 address translation rules includes: The network protocol of the computer is selected through the IPv4 and IPv6 address translation rule set, and a real IPv4 / IPv6 address is generated for each computer deployed according to IPv4 or IPv6, and a corresponding IPv4 / IPv6 address bidirectional translation rule is obtained and allocated, and a corresponding mapping address is generated through the translation rule; The corresponding mapped address is the mapped address and the pre-allocated real address attached to the address application form. After passing the approval process of the organization, the user obtains the real address and the mapped address.
[0007] Optionally, the definition of IPv4 and IPv6 address translation rules is to define, based on the planned mapped address segments, IPv4 / IPv6 address bidirectional translation rules for different mapped address segments by the organization, including: The IPv4 / IPv6 address bidirectional translation rules have two processes: forward mapping and reverse mapping, and include real network segments, mapped address segments and specific address conversion algorithms; The forward mapping is to match the real network segment with the address segment in the message, and the real network segment uses a specific address conversion algorithm to obtain the address in the mapped address segment; The reverse mapping is to match the mapped address segment with the address segment in the message, and the mapped address segment is translated into the address in the real network segment using a specific address conversion algorithm.
[0008] Optionally, the step of assigning a corresponding IPv4 / IPv6 address bidirectional translation rule to each real IPv4 / IPv6 address through a set of IPv4 and IPv6 address translation rules, and generating a corresponding mapped address through the translation rule, includes: The real IPv4 / IPv6 address is a pre-allocated real address generated by the address management platform based on the information provided by the user; The corresponding IPv4 / IPv6 address bidirectional translation rule is assigned to enter the real IPv4 / IPv6 address into the address translation rule set for search, and obtain the best matching IPv4 / IPv6 address bidirectional translation rule; The corresponding mapping address is generated by the translation rule, and the pre-allocated real address is translated according to the best matching IPv4 / IPv6 address bidirectional translation rule to generate the mapping address.
[0009] Optionally, the unified IPv4 / IPv6 address management method in an IPv6 evolution environment is characterized by further comprising: For planned IPv4 addresses, directly import them into the address management platform to obtain the most matching IPv4 / IPv6 address bidirectional translation rules, obtain the corresponding mapped IPv6 addresses, and associate them on the address management platform.
[0010] The present application also provides a unified IPv4 / IPv6 address management device in an IPv6 evolution environment, characterized in that the device includes: The address resource planning module is used to sort out all IPv4 and IPv6 address segments, plan scenarios for IPv4 and IPv6 communication, and allocate IPv4 and IPv6 mapping address segments; A translation rule engine module is used to define IPv4 and IPv6 address translation rules based on the mapped address segments of IPv4 and IPv6, and generate a set of IPv4 and IPv6 address translation rules; The protocol translation execution module is used to generate a corresponding mapping address for each real IPv4 / IPv6 address according to the IPv4 and IPv6 address translation rule set.
[0011] Optionally, the protocol translation execution module includes: IPv6 protocol translation execution module, used for performing protocol translation and address mapping on IPv6 computers; The IPv4 protocol translation execution module is used to perform protocol translation and address mapping on IPv4 computers.
[0012] The present application also provides an electronic device, characterized in that it is used to implement the unified IPv4 / IPv6 address management method in the IPv6 evolution environment described in any one of claims 1 to 7, comprising: Protocol translation gateway, used to execute algorithmic translation rules, translate IPv4 / IPv6 message headers in real time, and maintain dynamic mapping tables; Management server, used to run the address management platform software, store all IPv4 / IPv6 address segments and mapping rule sets, and provide rule compilation and distribution functions; DHCPv4 server, used to dynamically allocate IPv4 addresses and provide configuration delivery functions; DHCPv6 server, used to dynamically allocate IPv6 addresses and provide configuration delivery functions.
[0013] The beneficial effects of the present application are as follows: the present application provides a unified IPv4 / IPv6 address management method and device, which can effectively manage the real IPv4 / IPv6 addresses, mapped IPv4 / IPv6 addresses and IPv4 / IPv6 address translation rules involved in scenarios where IPv4 / IPv6 coexist and communicate with each other in large quantities during the process of IPv6 evolution. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required in the embodiments or the description of the prior art. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0015] Figure 1 A flowchart illustrating a unified IPv4 / IPv6 address management method in an IPv6 evolution environment disclosed in this application is shown; Figure 2 A main connection diagram showing a unified IPv4 / IPv6 address management method in an IPv6 evolution environment disclosed in this application; Figure 3 A device block diagram of a unified IPv4 / IPv6 address management method in an IPv6 evolution environment disclosed in this application is shown. DETAILED DESCRIPTION
[0016] Various exemplary embodiments, features, and aspects of the present application will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise indicated.
[0017] The terms "first" and "second" are used for descriptive purposes only and should not be understood to indicate or imply relative importance or implicitly specify the number of the technical features indicated. Therefore, a feature specified as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of this application, "plurality" means two or more, unless otherwise specifically defined.
[0018] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0019] In addition, numerous specific details are provided in the detailed description below to better illustrate the present application. Those skilled in the art will appreciate that the present application can be practiced without certain specific details. In some instances, methods, means, components, and circuits well known to those skilled in the art are not described in detail in order to highlight the main purpose of the present application.
[0020] This application is a unified IPv4 / IPv6 address management method in an IPv6 evolution environment. In this application, by comprehensively sorting out IPv4 and IPv6 address segments, identifying intercommunication scenarios, and reserving dedicated mapped address segments, address allocation is achieved without conflict and is scalable; bidirectional translation rules are defined based on the mapped address segments, and the rules are entered, issued and controlled through the address management platform to achieve policy consistency; and network devices match the optimal rules in real time according to the characteristics of the message, automatically complete address translation, and achieve seamless access between different network protocols.
[0021] Example 1 like Figure 1 FIG. 1 is a flowchart of a unified IPv4 / IPv6 address management method in an IPv6 evolution environment according to an embodiment of the present application, which specifically includes the following contents: S100 , by sorting out all IPv4 and IPv6 address segments, planning scenarios for communication between IPv4 and IPv6, and allocating mapped address segments for IPv4 and IPv6.
[0022] Specifically, the organization will sort out all current IPv4 address segments and IPv6 address segments and enter them into the address management platform, and define the required address application and approval process nodes. The organization will then conduct statistics on scenarios where IPv4 and IPv6 may communicate with each other, confirm the sizes of IPv4 address segments and IPv6 address segments required for mutual mapping, and reserve the space required for mapping from the existing IPv4 address segments and IPv6 address segments.
[0023] S200 , defining IPv4 and IPv6 address translation rules according to mapped address segments of IPv4 and IPv6, and generating a set of IPv4 and IPv6 address translation rules.
[0024] Specifically, based on the mapped address segments planned in S100, specific bidirectional translation rules for IPv4 and IPv6 addresses are implemented. The bidirectional translation rules can achieve mutual conversion between IPv4 and IPv6, and between real network segments and mapped address segments, using the same algorithm. Furthermore, organizations can define multiple translation rules and enter them into the address management platform to form a translation rule set. Administrators can centrally manage IPv4 / IPv6 translation rules through the address management platform, both sending rules to designated protocol translation systems for execution and collecting existing rules from various translation systems to ultimately form a globally unified translation rule set.
[0025] S300: Generate a corresponding mapped address for each real IPv4 / IPv6 address according to a set of IPv4 and IPv6 address translation rules.
[0026] Specifically, the address management platform generates a pre-assigned current network protocol real address based on the information provided by the user, and then searches the translation rule set entered in S200 for the rule that best matches the current situation and translates it to generate a mapping address. The mapped address and the real address are then added to the form together and go through the address application and approval process defined in S100. After approval, the user obtains the real address and the mapped address.
[0027] Under the current technical background, traditional address management methods and devices are usually managed based on real IPv4 / IPv6 addresses. However, for scenarios involving IPv4 / IPv6 translation systems, it is not possible to effectively manage the mapped virtual IPv4 / IPv6 addresses / address segments, as well as the IPv4 / IPv6 mapping rules between the real addresses and mapped addresses. In order to solve the above technical problems, the present invention provides a unified IPv4 / IPv6 address management method and device, which can effectively manage the real IPv4 / IPv6 addresses, mapped IPv4 / IPv6 addresses and IPv4 / IPv6 address translation rules involved in scenarios where IPv4 / IPv6 coexist and communicate with each other in large quantities during the process of IPv6 evolution. The subject connection relationship involved in this solution is as follows: Figure 2 As shown, it includes a unified IPv4 / IPv6 address management platform, an IPv4 network and the corresponding DHCPv4 server, an IPv6 network and the corresponding DHCPv6 server, and an IPv4 / IPv6 translation system deployed at the boundary between the IPv4 network and the IPv6 network.
[0028] In summary, this application first realizes the seamless interoperability between IPv4 and IPv6 networks. By accurately combing existing address resources and defining mapping relationships, it ensures unimpeded communication between networks with different protocols, which not only protects existing IPv4 assets, but also provides a smooth path for the transition to IPv6. Secondly, the solution adopts an intelligent address allocation mechanism, which significantly improves the efficiency of address resource utilization through dynamic mapping and rule matching, and effectively alleviates the problem of tight IPv4 address resources. The unified address management platform realizes the centralized control of translation rules, automates the entire process from rule definition to issuance and execution, greatly reduces the complexity of manual configuration, and improves operation and maintenance efficiency. The solution supports flexible business expansion and can adjust the scale of mapped address segments according to actual needs to adapt to network environments of different sizes. Ultimately, the solution not only reduces the overall cost of network transition, but also improves the reliability and stability of network services through standardized management processes, and builds an efficient and reliable hybrid protocol network environment for organizations.
[0029] As an optional implementation scheme of the present application, optionally, in step S100, by combing all IPv4 and IPv6 address segments, planning scenarios for communication between IPv4 and IPv6, and allocating IPv4 and IPv6 mapping address segments, the following steps are included: S101 , by combing through all IPv4 and IPv6 address segments, identifying and recording all IPv4 address segments and IPv6 address segments for an organization, and entering them into an address management platform.
[0030] Specifically, organizations first need to comprehensively sort out all allocated IPv4 and IPv6 address segments in their network environment, record and register the key attributes of each address segment, and enter the sorted address segments into a unified address management platform to form a complete IPv4 and IPv6 address list.
[0031] Among them, organizations also need to define the required address application and approval process nodes on the address management platform.
[0032] S102 , the scenario of IPv4 and IPv6 communication is planned, services and systems requiring IPv4 and IPv6 mutual access are determined for the organization, address resources required for each mutual access are evaluated, and the scale of address mapping is estimated.
[0033] Specifically, the organizational structure needs to clearly define which business systems or services need to communicate between IPv4 and IPv6, select appropriate translation technology based on business needs, calculate and generate the required number of IPv4 and IPv6 addresses for each intercommunication scenario, and summarize and analyze the results.
[0034] S103, allocating IPv4 and IPv6 mapping address segments, based on the estimated address mapping scale, respectively demarcating an IPv4 mapping address pool and an IPv6 mapping address pool from the existing IPv4 address segment and IPv6 address segment, and recording them as dedicated for mapping.
[0035] Specifically, continuous subnets are carved out from existing IPv4 addresses and marked as dedicated for mapping to prevent them from being occupied by different devices. At the same time, dedicated prefixes are allocated from the existing IPv6 address space to ensure that there is no conflict with business addresses.
[0036] As an optional implementation scheme of the present application, optionally, in step S200, IPv4 and IPv6 address translation rules are defined according to the mapped address segments of IPv4 and IPv6, and a set of IPv4 and IPv6 address translation rules is generated, including: S201, the definition of IPv4 and IPv6 address translation rules is that according to the planned mapped address segments, the organization defines the IPv4 / IPv6 address bidirectional translation rules related to different mapped address segments.
[0037] Specifically, the IPv4 / IPv6 address bidirectional translation rules have two processes: forward mapping and reverse mapping, and include a real network segment, a mapped address segment and a specific address conversion algorithm. The forward mapping is to match the real network segment with the address segment in the message, and the real network segment uses a specific address conversion algorithm to obtain the address in the mapped address segment. The reverse mapping is to match the mapped address segment with the address segment in the message, and the mapped address segment uses a specific address conversion algorithm to translate into the address in the real network segment.
[0038] For example, for a real IPv6 network segment M6 and the corresponding mapped IPv4 address segment M4, the translation rules are defined as follows: IPv6 network segment M6, mapped IPv4 address segment M4, algorithm A64.
[0039] The above translation rules mean that if the IPv6 address of a message matches the IPv6 network segment M6, it will be mapped to an address in the IPv4 address segment M4 using the A64 algorithm; if the IPv4 address of a message matches the IPv4 address segment M4, it will be translated into an address in the real IPv6 network segment M6 using the A64 algorithm.
[0040] For another example, for a real IPv4 network segment N4 and the corresponding mapped IPv6 address segment N6, the translation rule is defined as follows: IPv4 network segment N4, mapped IPv6 address segment N6, algorithm A46.
[0041] The above translation rules mean that if the IPv4 address of a message matches IPv4 network segment N4, it will be mapped to an address in IPv6 address segment N6 using the A46 algorithm; if the IPv6 address of a message matches IPv6 address segment N6, it will be translated into an address in the real IPv4 network segment N4 using the A64 algorithm.
[0042] S202: generating an IPv4 and IPv6 address translation rule set, so that the organization can input all IPv4 / IPv6 address bidirectional translation rules into an address management platform to form an address translation rule set.
[0043] Specifically, batch add rules using tools like Excel or the API. Each rule must include the rule ID, mapped address segment, and effective date. Rules must also be categorized and stored by business unit and network region.
[0044] S203: The address management platform can not only send the rules to the designated translation system for execution, but also collect existing rules from various translation systems to form a global unified translation rule set.
[0045] Specifically, the address management platform can push approved rules to designated translation devices and supports multiple delivery methods, including proactive configuration and policy synchronization. Furthermore, the address management platform can collect actual running rules, compare them with the platform rule base, identify and repair configurations that have not been approved by the platform, and form a globally consistent rule view.
[0046] As an optional implementation scheme of the present application, optionally, in step S300, generating a corresponding mapped address for each real IPv4 / IPv6 address according to a set of IPv4 and IPv6 address translation rules, including: S301, assigning a corresponding IPv4 / IPv6 address bidirectional translation rule to each real IPv4 / IPv6 address through a set of IPv4 and IPv6 address translation rules, and generating a corresponding mapped address through the translation rule.
[0047] Specifically, the real IPv4 / IPv6 address is a pre-allocated real address generated by the address management platform based on the information provided by the user. The corresponding IPv4 / IPv6 address bidirectional translation rule is allocated to enter the real IPv4 / IPv6 address into the address translation rule set for search, and obtain the most matching IPv4 / IPv6 address bidirectional translation rule. The corresponding mapping address is generated through the translation rule, and the pre-allocated real address is translated according to the most matching IPv4 / IPv6 address bidirectional translation rule to generate a mapping address.
[0048] For example, when a user in an organization needs to deploy an IPv6 computer and communicate with IPv4, the user first applies for an address through the address management platform. The address management platform generates a pre-assigned real IPv6 address based on the information provided by the user. Next, the IPv6 address is searched within the set of IPv4 / IPv6 address translation rules entered in step 3 to find the most matching IPv4 / IPv6 address translation rule (if multiple matching translation rules are found, the one with the longest IPv6 network segment is selected). The IPv6 address is then translated into an IPv4 address based on this translation rule. The generated mapped IPv4 address and the pre-assigned real IPv6 address are then attached to the user's address application form. Following the address application and approval process defined by the organization in step 1, the user receives both the IPv6 address and the mapped IPv4 address after the application form is approved. Optionally, the corresponding real IPv6 address can then be distributed to a designated DHCPv6 server through the address management platform and ultimately to the corresponding server or terminal computer. Because the IPv6 address space is large and the IPv4 address space is small, the address mapping algorithm in the corresponding translation rules may also involve port reuse. That is, different real IPv6 addresses may correspond to different port ranges of the same mapped IPv4 address. In this case, the user's address application form must include not only the mapped IPv4 address and the pre-assigned real IPv6 address, but also a port value or port range of the mapped IPv4 address.
[0049] For another example, when a user within an organization needs to deploy an IPv4 computer with IPv6 communication, the user first applies for an address through the address management platform. The address management platform then generates a pre-assigned real IPv4 address based on the information provided by the user. The IPv4 address is then searched against the set of IPv4 / IPv6 address translation rules entered in step 3 to find the most matching IPv4 / IPv6 address translation rule (if multiple matching translation rules are found, the one with the longest IPv4 network segment is selected). The IPv4 address is then translated into an IPv6 address based on this translation rule. The generated mapped IPv6 address and the pre-assigned real IPv4 address are then attached to the user's address application form. Following the address application and approval process defined by the organization in step 1, the application form is approved and the user receives both the IPv4 address and the mapped IPv6 address. Optionally, the corresponding real IPv4 address can then be distributed to a designated DHCPv4 server through the address management platform and ultimately to the corresponding server or terminal computer.
[0050] S302, the corresponding mapping address is obtained, and the mapping address and the pre-allocated real address are attached to the address application form. After passing the approval process of the organization, the user obtains the real address and the mapping address.
[0051] Specifically, after obtaining the mapped address and pre-assigned real address generated in S301, the address management platform binds the real and mapped addresses to form a structured application form. The application then automatically enters the pre-defined node in S100 to undergo a multi-level approval process. If rejected, the reason is noted and the application is returned for revision. If approved, the application enters the execution phase. During the execution phase, the address management platform writes the real and mapped addresses to validate the configuration and sends the allocation result, including the address, to the applicant.
[0052] As an optional implementation scheme of the present application, the planned IPv4 addresses can be directly imported into the address management platform to obtain the most matching IPv4 / IPv6 address bidirectional translation rules, obtain the corresponding mapped IPv6 addresses, and associate them on the address management platform.
[0053] Specifically, if the organization has compiled a list of IPv4 address segments to be imported through preliminary planning, and the address management platform has configured the IPv4 / IPv6 mapping rule set in S200, the existing IPv4 addresses are organized into a structured file and uploaded through the batch import function provided by the address management platform. The address management platform performs format verification and conflict detection to check whether the IP format is legal and to avoid duplication with existing addresses on the platform. The address management platform then generates a corresponding IPv6 mapping address for each IPv4 address based on the preset translation rules in S200, and generates an associated record.
[0054] Example 2 Based on the same principle as the above method, a unified IPv4 / IPv6 address management method in the IPv6 evolution environment is also proposed. Figure 3 A unified IPv4 / IPv6 address management device 100 in an IPv6 evolution environment according to an embodiment of the present disclosure includes: The address resource planning module 110 is used to sort out all IPv4 and IPv6 address segments, plan scenarios for IPv4 and IPv6 communication, and allocate IPv4 and IPv6 mapping address segments; The translation rule engine module 120 is used to define IPv4 and IPv6 address translation rules based on the mapped address segments of IPv4 and IPv6, and generate a set of IPv4 and IPv6 address translation rules; The protocol translation execution module 130 is configured to generate a corresponding mapped address for each real IPv4 / IPv6 address according to a set of IPv4 and IPv6 address translation rules.
[0055] As an optional implementation scheme of the present application, optionally, the protocol translation execution module 130 includes: The IPv6 protocol translation execution module 131 is used to perform protocol translation and address mapping on IPv6 computers; The IPv4 protocol translation execution module 132 is used to perform protocol translation and address mapping on IPv4 computers.
[0056] Obviously, those skilled in the art should understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned control methods. The modules or steps of the present invention can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. Alternatively, they can be implemented by program codes executable by the computing device, so that they can be stored in a storage device and executed by the computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the present invention is not limited to any specific combination of hardware and software.
[0057] Those skilled in the art will appreciate that all or part of the processes in the above-described embodiments can be implemented by instructing the relevant hardware through a computer program. The program can be stored in a computer-readable storage medium. When executed, the program can include the processes of the above-described control method embodiments. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD). The storage medium can also include a combination of the above-mentioned types of memory.
[0058] Example 3 Furthermore, the present application proposes an electronic device, characterized in that it is used to implement any of the above-mentioned unified IPv4 / IPv6 address management methods in an IPv6 evolution environment, comprising: Protocol translation gateway, used to execute algorithmic translation rules, translate IPv4 / IPv6 message headers in real time, and maintain dynamic mapping tables; Management server, used to run the address management platform software, store all IPv4 / IPv6 address segments and mapping rule sets, and provide rule compilation and distribution functions; DHCPv4 server, used to dynamically allocate IPv4 addresses and provide configuration delivery functions; DHCPv6 server, used to dynamically allocate IPv6 addresses and provide configuration delivery functions.
[0059] The protocol translation gateway includes a NAT64 module and memory for maintaining an address binding table. The translation engine, policy cache, and session tracking module are connected via a high-speed bus. It should be noted that the gateway device can be deployed in either standalone or clustered mode.
[0060] The management server includes a processor and memory for storing an address database. The processor is configured to execute components such as the address allocation policy engine and the rule conflict detection module. The server may also include a log collection interface and an API gateway for communicating with other network devices.
[0061] The DHCPv4 server dynamically allocates IPv4 addresses and provides configuration delivery. It includes an address pool management module, a lease database, and a configuration template library. The processor runs the DHCP service core module to implement address allocation, lease renewal, and reclaiming. It supports scalable high-availability cluster deployment.
[0062] The DHCPv6 server dynamically allocates IPv6 addresses and provides configuration delivery. It includes an IPv6 prefix allocation engine, a DHCPv6 protocol stack, and a DNS64 linkage module. The output device generates address allocation reports, and the input device receives policy updates from the address management platform.
[0063] The embodiments of the present application have been described above. The above description is illustrative and not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, their practical applications, or improvements to the technology in the market, or to enable other persons skilled in the art to understand the embodiments disclosed herein.
Claims
1. A unified IPv4 / IPv6 address management method in an IPv6 evolution environment, characterized in that: include: By sorting out all IPv4 and IPv6 address segments, planning scenarios for IPv4 and IPv6 communication, and allocating IPv4 and IPv6 mapping address segments; According to the mapped address segments of IPv4 and IPv6, define the IPv4 and IPv6 address translation rules and generate the IPv4 and IPv6 address translation rule sets; According to the set of IPv4 and IPv6 address translation rules, each real IPv4 / IPv6 address generates a corresponding mapped address.
2. The unified IPv4 / IPv6 address management method in an IPv6 evolution environment according to claim 1, wherein: The process of sorting out all IPv4 and IPv6 address segments, planning scenarios for IPv4 and IPv6 communication, and allocating IPv4 and IPv6 mapping address segments includes: By combing through all IPv4 and IPv6 address segments, the organization can identify and record all its IPv4 address segments and IPv6 address segments, and enter them into the address management platform; The planning of IPv4 and IPv6 communication scenarios identifies the services and systems that require IPv4 and IPv6 intercommunication for the organization, assesses the address resources required for each type of intercommunication, and estimates the scale of address mapping; The allocation of IPv4 and IPv6 mapping address segments is to respectively divide an IPv4 mapping address pool and an IPv6 mapping address pool from the existing IPv4 address segment and IPv6 address segment according to the estimated scale of address mapping, and record them as dedicated for mapping.
3. The unified IPv4 / IPv6 address management method in an IPv6 evolution environment according to claim 1, wherein: The method of defining IPv4 and IPv6 address translation rules based on the mapped address segments of IPv4 and IPv6 and generating a set of IPv4 and IPv6 address translation rules includes: The IPv4 and IPv6 address translation rules are defined to define the IPv4 / IPv6 address bidirectional translation rules for different mapped address segments according to the planned mapped address segments; The generating of the IPv4 and IPv6 address translation rule sets enables the organization to input all IPv4 / IPv6 address bidirectional translation rules into the address management platform to form an address translation rule set; The address management platform can not only send rules to designated translation systems for execution, but also collect existing rules from various translation systems to form a globally unified translation rule set.
4. The unified IPv4 / IPv6 address management method in an IPv6 evolution environment according to claim 1, wherein: The method of generating a corresponding mapped address for each real IPv4 / IPv6 address according to the set of IPv4 and IPv6 address translation rules includes: Through the IPv4 and IPv6 address translation rule set, each real IPv4 / IPv6 address is assigned a corresponding IPv4 / IPv6 address bidirectional translation rule, and the corresponding mapping address is generated through the translation rule; The corresponding mapped address is the mapped address and the pre-allocated real address attached to the address application form. After passing the approval process of the organization, the user obtains the real address and the mapped address.
5. The unified IPv4 / IPv6 address management method in an IPv6 evolution environment according to claim 3, wherein: The definition of IPv4 and IPv6 address translation rules is to define the IPv4 / IPv6 address bidirectional translation rules for different mapped address segments based on the planned mapped address segments, including: The IPv4 / IPv6 address bidirectional translation rules have two processes: forward mapping and reverse mapping, and include real network segments, mapped address segments and specific address conversion algorithms; The forward mapping is to match the real network segment with the address segment in the message, and the real network segment uses a specific address conversion algorithm to obtain the address in the mapped address segment; The reverse mapping is to match the mapped address segment with the address segment in the message, and the mapped address segment is translated into the address in the real network segment using a specific address conversion algorithm.
6. The unified IPv4 / IPv6 address management method in an IPv6 evolution environment according to claim 4, wherein: The method allocates a corresponding IPv4 / IPv6 address bidirectional translation rule to each real IPv4 / IPv6 address through the set of IPv4 and IPv6 address translation rules, and generates a corresponding mapped address through the translation rule, including: The real IPv4 / IPv6 address is a pre-allocated real address generated by the address management platform based on the information provided by the user; The corresponding IPv4 / IPv6 address bidirectional translation rule is assigned to enter the real IPv4 / IPv6 address into the address translation rule set for search, and obtain the best matching IPv4 / IPv6 address bidirectional translation rule; The corresponding mapping address is generated by the translation rule, and the pre-allocated real address is translated according to the best matching IPv4 / IPv6 address bidirectional translation rule to generate the mapping address.
7. The unified IPv4 / IPv6 address management method in an IPv6 evolution environment according to claim 1, wherein: Also includes: For the planned IPv4 addresses, directly import them into the address management platform to obtain the most matching IPv4 / IPv6 address bidirectional translation rules, obtain the corresponding mapped IPv6 addresses, and associate them on the address management platform.
8. A unified IPv4 / IPv6 address management device in an IPv6 evolution environment, characterized in that: The device comprises: The address resource planning module is used to sort out all IPv4 and IPv6 address segments, obtain scenarios where IPv4 and IPv6 communicate with each other, and allocate IPv4 and IPv6 mapping address segments; A translation rule engine module is used to define IPv4 and IPv6 address translation rules based on the mapped address segments of IPv4 and IPv6, and generate a set of IPv4 and IPv6 address translation rules; The protocol translation execution module is used to generate a corresponding mapping address for each real IPv4 / IPv6 address according to the IPv4 and IPv6 address translation rule set.
9. The unified IPv4 / IPv6 address management device in an IPv6 evolution environment according to claim 8, characterized in that: The translation execution module includes: IPv6 translation execution module, used for performing protocol translation and address mapping on IPv6 computers; The IPv4 translation execution module is used to perform protocol translation and address mapping on IPv4 computers.
10. An electronic device, characterized in that: A method for unified IPv4 / IPv6 address management in an IPv6 evolution environment according to any one of claims 1 to 7, comprising: Protocol translation gateway, used to execute algorithmic translation rules, translate IPv4 / IPv6 message headers in real time, and maintain dynamic mapping tables; Management server, used to run the address management platform software, store all IPv4 / IPv6 address segments and mapping rule sets, and provide rule compilation and distribution functions; DHCPv4 server, used to dynamically allocate IPv4 addresses and provide configuration delivery functions; DHCPv6 server, used to dynamically allocate IPv6 addresses and provide configuration delivery functions.
Citation Information
Patent Citations
Network address and protocol translating equipment and application layer gateway equipment
CN101136910A
Protocol interworking device between application server and terminal and method for implementing the same
CN104320373A
Network device
CN104704781A
IPv4 / IPv6 address management system and method
CN109587064A
Stateless flexible mapping algorithm for IPv6 / IPv4 access
CN113923188A