Unified ipv4 / ipv6 address management method, device and equipment in ipv6 evolution environment

By sorting out IPv4 and IPv6 address ranges, planning mapping address ranges, and defining translation rules, the shortcomings of IPv4/IPv6 address management during the IPv6 evolution process were resolved, achieving seamless interoperability and efficient resource utilization of IPv4/IPv6 networks.

CN120602452BActive Publication Date: 2026-05-29北京英迪瑞讯网络科技有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
北京英迪瑞讯网络科技有限公司
Filing Date
2025-07-07
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Existing technologies cannot effectively manage the mapping rules between real IPv4/IPv6 addresses and mapped addresses during the IPv6 evolution process, resulting in insufficient address management in IPv4/IPv6 translation system scenarios.

Method used

By sorting out IPv4 and IPv6 address ranges, planning mapping address ranges, defining address translation rules, generating a set of translation rules, and realizing unified management and application of rules through an address management platform, bidirectional translation of IPv4/IPv6 addresses is supported.

Benefits of technology

It enables seamless interoperability between IPv4 and IPv6 networks, improves address resource utilization efficiency, reduces the complexity of manual configuration, supports flexible business expansion, reduces network transition costs, and improves the reliability and stability of network services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120602452B_ABST
    Figure CN120602452B_ABST
Patent Text Reader

Abstract

The application relates to a unified IPv4 / IPv6 address management method in an IPv6 evolution environment, which comprises the following steps: arranging all IPv4 and IPv6 address segments, planning IPv4 and IPv6 communication scenarios, allocating IPv4 and IPv6 mapping address segments, defining IPv4 and IPv6 address translation rules according to the IPv4 and IPv6 mapping address segments, generating an IPv4 and IPv6 address translation rule set, and generating corresponding mapping addresses for each real IPv4 / IPv6 address according to the IPv4 and IPv6 address translation rule set. In the process of IPv6 evolution, the real IPv4 / IPv6 address, the mapping IPv4 / IPv6 address and the IPv4 / IPv6 address translation rule involved in the IPv4 / IPv6 coexistence and communication scenario can be effectively managed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer network technology, and in particular to a unified IPv4 / IPv6 address management method, apparatus and equipment in an IPv6 evolution environment. Background Technology

[0002] With the increasing adoption of IPv6, many organizations are evolving their networks from traditional IPv4 to the future IPv6. During this evolution, to address the interoperability issues between the newly upgraded IPv6 and the existing IPv4, IPv4 / IPv6 translation technology is essential. Address translation algorithms in IPv4 / IPv6 translation technology are specified in several standards, such as RFC 6052 (IPv6 Addressing of IPv4 / IPv6 Translators) and RFC 7757 (Explicit Address Mappings for Stateless IP / ICMP Translation). These standards introduce the concept of mapped addresses: because IPv4 addresses and IPv6 addresses cannot be mutually recognized, when IPv4 terminal A and IPv6 terminal B communicate with each other, A must be mapped to an IPv6 address A' before communicating with B; similarly, B must be mapped to an IPv4 address B' before communicating with A.

[0003] In this IPv6 evolution process, organizations, especially large ones, need to effectively manage the various IPv4 / IPv6 addresses involved. However, traditional address management methods and devices are typically based on real IPv4 / IPv6 addresses. For the scenario involving IPv4 / IPv6 translation systems, in addition to real IPv4 / IPv6 addresses, it is also necessary to effectively manage mapped virtual IPv4 / IPv6 addresses / address ranges, as well as the IPv4 / IPv6 mapping rules between the real and mapped addresses. The management should include: planning corresponding IPv4 / IPv6 mapping ranges for mapping real IPv4 / IPv6 addresses; defining corresponding IPv4 / IPv6 address translation rules based on the planned IPv4 / IPv6 mapping ranges; and... Rules can be distributed to or retrieved from designated IPv4 / IPv6 translation systems. 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. Similarly, 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 able to be applied for and approved according to the organization's customized procedures. Summary of the Invention

[0004] This application also provides a unified IPv4 / IPv6 address management method in an IPv6 evolution environment, characterized by comprising:

[0005] By sorting out all IPv4 and IPv6 address ranges, planning scenarios for mutual communication between IPv4 and IPv6, and allocating mapping address ranges for IPv4 and IPv6;

[0006] Based on the mapped address ranges of IPv4 and IPv6, define the IPv4 and IPv6 address translation rules and generate a set of IPv4 and IPv6 address translation rules;

[0007] Based on the set of IPv4 and IPv6 address translation rules, a corresponding mapping address is generated for each real IPv4 / IPv6 address.

[0008] Optionally, the step of sorting out all IPv4 and IPv6 address ranges, planning scenarios for mutual communication between IPv4 and IPv6, and allocating mapping address ranges for IPv4 and IPv6 includes:

[0009] The process involves sorting through all IPv4 and IPv6 address ranges to identify and record all IPv4 and IPv6 address ranges for organizations, and then entering them into the address management platform.

[0010] The scenario for planning IPv4 and IPv6 communication is used to help organizations identify the services and systems that need to be accessed by both IPv4 and IPv6, assess the address resources required for each type of communication, and estimate the scale of address mapping.

[0011] The allocation of IPv4 and IPv6 mapping address ranges involves, based on the estimated size of the address mapping, drawing IPv4 mapping address pools and IPv6 mapping address pools from the existing IPv4 address ranges and IPv6 address ranges respectively, and recording them as dedicated mapping addresses.

[0012] Optionally, the step of defining IPv4 and IPv6 address translation rules based on the mapped address ranges of IPv4 and IPv6, and generating a set of IPv4 and IPv6 address translation rules, includes:

[0013] The definition of IPv4 and IPv6 address translation rules refers to the organization defining bidirectional translation rules for IPv4 / IPv6 addresses for different mapped address ranges based on the planned mapped address ranges.

[0014] The generation of the IPv4 and IPv6 address translation rule set enables organizations to input all IPv4 / IPv6 address bidirectional translation rules into the address management platform, forming an address translation rule set.

[0015] The address management platform can both distribute rules to designated translation systems for execution and collect existing rules from various translation systems to form a globally unified set of translation rules.

[0016] Optionally, generating a corresponding mapping address for each real IPv4 / IPv6 address based on the set of IPv4 and IPv6 address translation rules includes:

[0017] The network protocol selection address translation rules of the computer are set through IPv4 and IPv6 address translation rules. For each deployed computer, a pre-allocated real address is generated based on whether it is IPv4 or IPv6. The corresponding IPv4 / IPv6 address bidirectional translation rules are obtained and allocated, and the corresponding mapping address is generated through the translation rules.

[0018] The corresponding mapping address is attached to the address application form along with the pre-allocated real address. After passing the organization's approval process, the user obtains the real address and the mapping address.

[0019] Optionally, the definition of IPv4 and IPv6 address translation rules refers to the organization defining bidirectional IPv4 / IPv6 address translation rules for different mapped address ranges based on the planned mapped address ranges, including:

[0020] 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.

[0021] 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 translation algorithm to obtain the address in the mapped address segment.

[0022] The reverse mapping involves matching a mapped address segment with an address segment in the message, and translating the mapped address segment into an address in the real network segment using a specific address translation algorithm.

[0023] Optionally, the step of assigning corresponding bidirectional IPv4 / IPv6 address translation rules to each real IPv4 / IPv6 address using a set of IPv4 and IPv6 address translation rules, and generating corresponding mapping addresses using these translation rules, includes:

[0024] The actual IPv4 / IPv6 address is a pre-allocated real address generated by the address management platform based on the information provided by the user;

[0025] The allocation of corresponding IPv4 / IPv6 address bidirectional translation rules involves entering the actual IPv4 / IPv6 address into the address translation rule set for searching, and obtaining the most matching IPv4 / IPv6 address bidirectional translation rule;

[0026] The process involves generating a corresponding mapping address using translation rules, and translating the pre-allocated real address to generate a mapping address based on the most matching IPv4 / IPv6 address bidirectional translation rules.

[0027] Optionally, the unified IPv4 / IPv6 address management method in the IPv6 evolution environment is characterized by further comprising:

[0028] 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 in the address management platform.

[0029] This application also provides a unified IPv4 / IPv6 address management device in an IPv6 evolution environment, characterized in that the device comprises:

[0030] The address resource planning module is used to sort out all IPv4 and IPv6 address ranges, plan scenarios for communication between IPv4 and IPv6, and allocate mapping address ranges for IPv4 and IPv6.

[0031] The translation rule engine module is used to define IPv4 and IPv6 address translation rules based on the mapped address ranges of IPv4 and IPv6, and generate a set of IPv4 and IPv6 address translation rules;

[0032] The protocol translation execution module is used to generate a corresponding mapping address for each real IPv4 / IPv6 address based on the set of IPv4 and IPv6 address translation rules.

[0033] Optionally, the protocol translation execution module includes:

[0034] The IPv6 protocol translation and execution module is used to perform protocol translation and address mapping for IPv6 computers.

[0035] The IPv4 protocol translation and execution module is used to perform protocol translation and address mapping for IPv4 computers.

[0036] This application also provides an electronic device, characterized in that it is used to implement any of the aforementioned unified IPv4 / IPv6 address management methods in an IPv6 evolution environment, comprising:

[0037] The protocol translation gateway is used to execute algorithm translation rules, translate IPv4 / IPv6 packet headers in real time, and maintain a dynamic mapping table.

[0038] The management server runs the address management platform software, stores all IPv4 / IPv6 address ranges and mapping rule sets, and provides rule compilation and distribution functions.

[0039] A DHCPv4 server is used to dynamically allocate IPv4 addresses and provides configuration distribution functionality.

[0040] A DHCPv6 server is used to dynamically allocate IPv6 addresses and provides configuration distribution capabilities.

[0041] The beneficial effects of this application are as follows: This application provides a unified IPv4 / IPv6 address management method and apparatus, which can effectively manage the real IPv4 / IPv6 addresses, mapped IPv4 / IPv6 addresses and IPv4 / IPv6 address translation rules involved in the IPv6 evolution process, in scenarios where a large number of IPv4 / IPv6 addresses coexist and communicate with each other. Attached Figure Description

[0042] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the accompanying drawings required in the description of the embodiments or the prior art are briefly introduced below. Obviously, the accompanying drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0043] Figure 1 A flowchart illustrating a unified IPv4 / IPv6 address management method in an IPv6 evolution environment disclosed in this application is shown.

[0044] Figure 2 This application discloses a unified IPv4 / IPv6 address management method in an IPv6 evolution environment, and its main connection diagram is shown.

[0045] Figure 3 This application discloses a device block diagram of a unified IPv4 / IPv6 address management method in an IPv6 evolution environment. Detailed Implementation

[0046] Various exemplary embodiments, features, and aspects of this application will now be described in detail with reference to the accompanying drawings. The same reference numerals in the drawings denote elements that have the same or similar functions. Although various aspects of the embodiments are shown in the drawings, they are not necessarily drawn to scale unless specifically indicated otherwise.

[0047] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.

[0048] The term “exemplary” as used herein means “serving as an example, embodiment, or illustration.” Any embodiment illustrated herein as “exemplary” is not necessarily to be construed as superior to or better than other embodiments.

[0049] Furthermore, to better illustrate this application, numerous specific details are provided in the following detailed embodiments. Those skilled in the art should understand that this application can be implemented without certain specific details. In some instances, methods, means, components, and circuits well-known to those skilled in the art have not been described in detail in order to highlight the main points of this application.

[0050] This application presents a unified IPv4 / IPv6 address management method in an IPv6 evolution environment. It comprehensively analyzes IPv4 and IPv6 address ranges, identifies interoperability scenarios, and reserves dedicated mapping address ranges to achieve conflict-free and scalable address allocation. Based on the mapping address ranges, it defines bidirectional translation rules and uses an address management platform to enable the entry, distribution, and control of these rules, ensuring policy consistency. Furthermore, network devices automatically complete address translation by matching the optimal rules in real-time based on packet characteristics, enabling seamless access between different network protocols.

[0051] Example 1

[0052] like Figure 1 The diagram shown is a flowchart of a unified IPv4 / IPv6 address management method in an IPv6 evolution environment according to an embodiment of this application, which specifically includes the following:

[0053] S100, by sorting out all IPv4 and IPv6 address ranges, plans scenarios for communication between IPv4 and IPv6, and allocates mapping address ranges for IPv4 and IPv6.

[0054] Specifically, the organization compiles all current IPv4 and IPv6 address ranges into the address management platform, defines the required address application and approval process nodes, and then conducts statistics on scenarios where IPv4 and IPv6 may communicate with each other, confirms the required size of IPv4 and IPv6 address ranges under mutual mapping, and reserves the space required for mapping from the existing IPv4 and IPv6 address ranges.

[0055] S200: Based on the mapped address ranges of IPv4 and IPv6, define IPv4 and IPv6 address translation rules and generate a set of IPv4 and IPv6 address translation rules.

[0056] Specifically, based on the mapped address ranges planned in S100, specific bidirectional translation rules for IPv4 and IPv6 addresses are implemented. These rules enable the mutual conversion between IPv4 and IPv6, and between real network segments and mapped address ranges, using the same algorithm. Organizations can define multiple translation rules and input them into the address management platform to form a set of translation rules. Administrators can centrally manage IPv4 / IPv6 translation rules through the address management platform, both by distributing rules to designated protocol translation systems for execution and by collecting existing rules from various translation systems, ultimately forming a globally unified set of translation rules.

[0057] S300 generates a corresponding mapped address for each real IPv4 / IPv6 address based on the set of IPv4 and IPv6 address translation rules.

[0058] Specifically, the address management platform generates a pre-assigned real address for the current network protocol based on the information provided by the user. Then, it searches for the rule that best matches the current situation in the translation rule set entered in S200 and translates it to generate a mapping address. The mapping address and the real address are then added to the form and processed through the address application and approval process defined in S100. After approval, the user obtains the real address and the mapping address.

[0059] In the current technological context, traditional address management methods and devices typically manage IPv4 / IPv6 addresses based on real IPv4 / IPv6 addresses. However, for scenarios involving IPv4 / IPv6 translation systems, they cannot effectively manage mapped virtual IPv4 / IPv6 addresses / address ranges, or the IPv4 / IPv6 mapping rules between the real and mapped addresses. To address these technical problems, this invention provides a unified IPv4 / IPv6 address management method and device. This method can effectively manage real IPv4 / IPv6 addresses, mapped IPv4 / IPv6 addresses, and IPv4 / IPv6 address translation rules in scenarios where IPv4 / IPv6 coexists and communicates extensively during IPv6 evolution. The main connection relationships involved in this solution are as follows: Figure 2 As shown, it includes a unified IPv4 / IPv6 address management platform, an IPv4 network and its corresponding DHCPv4 server, an IPv6 network and its corresponding DHCPv6 server, and an IPv4 / IPv6 translation system deployed at the boundary between the IPv4 network and the IPv6 network.

[0060] In summary, this application first achieves seamless interoperability between IPv4 and IPv6 networks. By accurately managing existing address resources and defining mapping relationships, it ensures unimpeded communication between networks using different protocols, protecting existing IPv4 assets and providing a smooth path for the transition to IPv6. Secondly, the solution employs an intelligent address allocation mechanism, significantly improving address resource utilization efficiency through dynamic mapping and rule matching, effectively alleviating the problem of IPv4 address resource scarcity. A unified address management platform enables centralized control of translation rules, automating the entire process from rule definition to execution, greatly reducing the complexity of manual configuration and improving operational efficiency. The solution supports flexible business expansion, allowing adjustment of the mapped address range size according to actual needs, adapting to network environments of different sizes. Finally, this solution not only reduces the overall cost of network transition but also improves the reliability and stability of network services through standardized management processes, building an efficient and reliable hybrid protocol network environment for organizations.

[0061] As an optional implementation of this application, optionally, in step S100, by sorting through all IPv4 and IPv6 address ranges, planning scenarios for mutual communication between IPv4 and IPv6, and allocating mapping address ranges for IPv4 and IPv6, the following steps are taken:

[0062] S101, by sorting out all IPv4 and IPv6 address ranges, the organization identifies and records all its IPv4 and IPv6 address ranges and enters them into the address management platform.

[0063] Specifically, organizations first need to comprehensively review all allocated IPv4 and IPv6 address ranges in their network environment, record and register the key attributes of each address range, and enter the compiled address ranges into a unified address management platform to form a complete list of IPv4 and IPv6 addresses.

[0064] In addition, organizations need to define the required address application and approval process nodes on the address management platform.

[0065] S102, the scenario of planning IPv4 and IPv6 communication between each other is to identify the services and systems that need to be accessed by IPv4 and IPv6 for the organization, assess the address resources required for each type of communication, and estimate the scale of address mapping.

[0066] Specifically, the organizational structure needs to clearly define which business systems or services need to communicate between IPv4 and IPv6, select appropriate translation technologies based on business needs, calculate the required number of IPv4 and IPv6 addresses for each interoperability scenario, and summarize and analyze the results.

[0067] S103, the allocation of IPv4 and IPv6 mapping address ranges is to allocate IPv4 mapping address pools and IPv6 mapping address pools from the existing IPv4 address ranges and IPv6 address ranges respectively, based on the estimated size of the address mapping, and record them as mapping-dedicated.

[0068] Specifically, contiguous subnets are carved out from existing IPv4 addresses and marked as dedicated mappings to prevent them from being occupied by different devices. At the same time, dedicated prefixes are allocated from existing IPv6 address space to ensure that they do not conflict with service addresses.

[0069] As an optional implementation of this application, optionally, in step S200, IPv4 and IPv6 address translation rules are defined based on the mapped address ranges of IPv4 and IPv6, and a set of IPv4 and IPv6 address translation rules is generated, including:

[0070] S201, the definition of IPv4 and IPv6 address translation rules is, based on the planned mapped address ranges, the organization defines bidirectional translation rules for IPv4 / IPv6 addresses for different mapped address ranges.

[0071] Specifically, the IPv4 / IPv6 address bidirectional translation rule has two processes: forward mapping and reverse mapping. It includes a real network segment, a mapped address segment, and a specific address translation algorithm. The forward mapping involves matching the address segment in the packet with the real network segment, and then using the specific address translation algorithm to obtain the address in the mapped address segment. The reverse mapping involves matching the address segment in the packet with the mapped address segment, and then using the specific address translation algorithm to translate the mapped address segment into an address in the real network segment.

[0072] For example, for a real IPv6 network segment M6 and its corresponding mapped IPv4 address segment M4, the translation rule is defined as follows: IPv6 network segment M6, mapped IPv4 address segment M4, algorithm A64.

[0073] The meaning of the above translation rules is that if the IPv6 address of a packet 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 packet matches the IPv4 address segment M4, it will be translated to an address in the real IPv6 network segment M6 using the A64 algorithm.

[0074] For example, for a real IPv4 network segment N4 and its corresponding mapped IPv6 address segment N6, the translation rule is defined as follows: IPv4 network segment N4, mapped IPv6 address segment N6, algorithm A46.

[0075] The meaning of the above translation rules is that if the IPv4 address of a packet matches the IPv4 network segment N4, it will be mapped to an address in the IPv6 address segment N6 using the A46 algorithm; if the IPv6 address of a packet matches the IPv6 address segment N6, it will be translated to an address in the real IPv4 network segment N4 using the A64 algorithm.

[0076] S202, the generation of the IPv4 and IPv6 address translation rule set is to enable organizations to input all IPv4 / IPv6 address bidirectional translation rules into the address management platform to form an address translation rule set.

[0077] Specifically, rules should be added in batches using tools such as Excel / API. Each rule entered must include a rule ID, a mapping address range, and an effective time. The entered rules also need to be categorized and stored according to business unit and network region.

[0078] S203, the address management platform can both distribute rules to designated translation systems for execution and collect existing rules from various translation systems to form a globally unified set of translation rules.

[0079] Specifically, the address management platform can push approved addresses to designated translation devices and supports various distribution methods such as proactive configuration and policy synchronization. Furthermore, the platform can collect actual running rules, compare them with the platform's rule base, identify and correct configurations that have not been approved by the platform, and form a globally consistent rule view.

[0080] As an optional implementation of this application, optionally, in step S300, according to the set of IPv4 and IPv6 address translation rules, a corresponding mapping address is generated for each real IPv4 / IPv6 address, including:

[0081] S301 uses a set of IPv4 and IPv6 address translation rules to assign corresponding bidirectional IPv4 / IPv6 address translation rules to each real IPv4 / IPv6 address, and generates corresponding mapping addresses through the translation rules.

[0082] Specifically, the real IPv4 / IPv6 address is a pre-allocated real address generated by the address management platform based on information provided by the user. The allocation of the corresponding IPv4 / IPv6 address bidirectional translation rule involves entering the real IPv4 / IPv6 address into the address translation rule set for searching and obtaining 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 the mapping address.

[0083] For example, when a user within an organization needs to deploy an IPv6 computer and communicate with IPv4, the user first applies for an address through an address management platform. The platform generates a pre-assigned real IPv6 address based on the information provided by the user. Next, it searches the IPv4 / IPv6 address translation rule set entered in step 3 to find the best-matching rule (if multiple matching rules are found, the rule with the longest IPv6 network segment is selected), and translates it into an IPv4 address according to this rule. Then, the generated mapped IPv4 address and the pre-assigned real IPv6 address are attached to the user's address application form. After the address application and approval process defined by the organization in step 1, once the application form is approved, the applicant obtains the aforementioned IPv6 address and the mapped IPv4 address. Optionally, the corresponding real IPv6 address can then be distributed to a designated DHCPv6 server through the address management platform and ultimately distributed 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 of 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, in addition to attaching the mapped IPv4 address and the pre-allocated real IPv6 address, the user's address application form also needs to attach a specific port value or a specific port range of the mapped IPv4 address.

[0084] For example, when a user within an organization needs to deploy an IPv4 computer and communicate with IPv6, the user first applies for an address through an address management platform. Next, the address platform generates a pre-assigned real IPv4 address based on the information provided by the user. Then, the IPv4 address is searched for in the set of IPv4 / IPv6 address translation rules entered in step 3, finding the best-matching rule (if multiple matching rules are found, the rule with the longest IPv4 network segment is selected), and translated into an IPv6 address according to this rule. The generated mapped IPv6 address and the pre-assigned real IPv4 address are then attached to the user's address application form. After the address application and approval process defined by the organization in step 1, once the application form is approved, the applicant obtains the aforementioned 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 distributed to the corresponding server or terminal computer.

[0085] S302, the corresponding mapping address is obtained by attaching the mapping address and the pre-allocated real address to the address application form. After the approval process of the organization, the user obtains the real address and the mapping address.

[0086] Specifically, after obtaining the mapped address and pre-allocated real address generated in S301, the address management platform binds the real address and the mapped address to form a structured application form. This application form then automatically enters the node defined in the preset S100 to execute a multi-level approval process. If the approval is rejected, the reason is noted and a modification is returned; if approved, it enters the execution phase. In the execution phase, the address management platform writes the real address and mapped address to make the configuration effective and sends the allocation result containing the address to the applicant.

[0087] As an optional implementation scheme of this application, for the planned IPv4 addresses, the most matching IPv4 / IPv6 address bidirectional translation rules can be directly imported into the address management platform to obtain the corresponding mapped IPv6 addresses, and then associated with them in the address management platform.

[0088] Specifically, assuming the organization has already planned and compiled a list of IPv4 address ranges to be imported, and the address management platform has configured the IPv4 / IPv6 mapping rule set in the S200, the existing IPv4 addresses are organized into a structured file. This file is then uploaded using the batch import function provided by the address management platform. The platform performs format validation and conflict detection to check the validity of the IP format and avoid duplicates with existing addresses. Subsequently, based on the preset translation rules in the S200, the address management platform generates a corresponding IPv6 mapping address for each IPv4 address and creates an associated record.

[0089] Example 2

[0090] Based on the same principles as the aforementioned methods, a unified IPv4 / IPv6 address management method in an IPv6 evolution environment is also proposed, see [link to relevant documentation]. Figure 3 A unified IPv4 / IPv6 address management device 100 in an IPv6 evolution environment, according to an embodiment of this disclosure, includes:

[0091] The address resource planning module 110 is used to sort out all IPv4 and IPv6 address ranges, plan scenarios for mutual communication between IPv4 and IPv6, and allocate mapping address ranges for IPv4 and IPv6.

[0092] Translation rule engine module 120 is used to define IPv4 and IPv6 address translation rules based on the IPv4 and IPv6 mapped address ranges, and generate a set of IPv4 and IPv6 address translation rules;

[0093] The protocol translation execution module 130 is used to generate a corresponding mapping address for each real IPv4 / IPv6 address based on the set of IPv4 and IPv6 address translation rules.

[0094] As an optional implementation of this application, the protocol translation execution module 130 may include:

[0095] IPv6 protocol translation and execution module 131 is used to perform protocol translation and address mapping for IPv6 computers;

[0096] The IPv4 protocol translation and execution module 132 is used to perform protocol translation and address mapping for IPv4 computers.

[0097] Obviously, those skilled in the art should understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the control methods described above. The modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device, or fabricating them separately as individual integrated circuit modules, or fabricating multiple modules or steps into a single integrated circuit module. Thus, the present invention is not limited to any specific hardware and software combination.

[0098] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the control methods described above. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk drive (HDD), or solid-state drive (SSD), etc.; the storage medium can also include combinations of the above types of memory.

[0099] Example 3

[0100] Furthermore, this application proposes an electronic device characterized by comprising: a unified IPv4 / IPv6 address management method for implementing any of the aforementioned IPv6 evolution environments, comprising:

[0101] The protocol translation gateway is used to execute algorithm translation rules, translate IPv4 / IPv6 packet headers in real time, and maintain a dynamic mapping table.

[0102] The management server runs the address management platform software, stores all IPv4 / IPv6 address ranges and mapping rule sets, and provides rule compilation and distribution functions.

[0103] A DHCPv4 server is used to dynamically allocate IPv4 addresses and provides configuration distribution functionality.

[0104] A DHCPv6 server is used to dynamically allocate IPv6 addresses and provides configuration distribution capabilities.

[0105] The protocol translation gateway includes a NAT64 module and memory for maintaining the 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 standalone or cluster mode.

[0106] The management server includes a processor and memory for storing the address database. The processor is configured to execute components such as an address allocation policy engine and a rule conflict detection module. The server may also include a log collection interface and an API gateway for communicating with other network devices.

[0107] The DHCPv4 server is used to dynamically allocate IPv4 addresses and provides configuration distribution capabilities. It includes an address pool management module, a lease database, and a configuration template library. The processor implements address allocation, lease renewal, and deallocation functions by running the DHCP service core module. It can be deployed in a scalable, highly available cluster.

[0108] The DHCPv6 server is used to dynamically allocate IPv6 addresses and provides configuration distribution capabilities. It includes an IPv6 prefix allocation engine, a DHCPv6 protocol stack, and a DNS64 linkage module. Output devices can generate address allocation reports, while input devices receive policy updates from the address management platform.

[0109] The various embodiments of this application have been described above. These descriptions are exemplary and not exhaustive, nor are they 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 chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. A unified IPv4 / IPv6 address management method in an IPv6 evolution environment, implemented based on a unified IPv4 / IPv6 address management platform, characterized in that, include: By sorting out all IPv4 and IPv6 address ranges, planning scenarios for mutual communication between IPv4 and IPv6, and allocating mapping address ranges for IPv4 and IPv6; Based on the mapped address ranges of IPv4 and IPv6, define the IPv4 and IPv6 address translation rules and generate a set of IPv4 and IPv6 address translation rules; The translation rules are located in the address management platform, which can both distribute the rules to designated protocol translation systems for execution and collect existing rules from various translation systems. Based on the set of IPv4 and IPv6 address translation rules, a corresponding mapping address is generated for each real IPv4 / IPv6 address; The process of generating the corresponding mapping address involves binding the generated mapping address with the real address and then allocating it together through an approval process.

2. The unified IPv4 / IPv6 address management method in the IPv6 evolution environment as described in claim 1, characterized in that, The process of sorting out all IPv4 and IPv6 address ranges, planning scenarios for IPv4 and IPv6 communication, and allocating mapped address ranges for IPv4 and IPv6 includes: The process involves sorting through all IPv4 and IPv6 address ranges to identify and record all IPv4 and IPv6 address ranges for organizations, and then entering them into the address management platform. The scenario for planning IPv4 and IPv6 communication is used to help organizations identify the services and systems that need to be accessed by both IPv4 and IPv6, assess the address resources required for each type of communication, and estimate the scale of address mapping. The allocation of IPv4 and IPv6 mapping address ranges involves, based on the estimated size of the address mapping, drawing IPv4 mapping address pools and IPv6 mapping address pools from the existing IPv4 address ranges and IPv6 address ranges respectively, and recording them as dedicated mapping addresses.

3. The unified IPv4 / IPv6 address management method in the IPv6 evolution environment as described in claim 1, characterized in that, The step involves defining IPv4 and IPv6 address translation rules based on the mapped address ranges of IPv4 and IPv6, and generating a set of IPv4 and IPv6 address translation rules, including: The definition of IPv4 and IPv6 address translation rules refers to the organization defining bidirectional translation rules for IPv4 / IPv6 addresses for different mapped address ranges based on the planned mapped address ranges. The generation of the IPv4 and IPv6 address translation rule set enables organizations to input all IPv4 / IPv6 address bidirectional translation rules into the address management platform, forming an address translation rule set. The address management platform can both distribute rules to designated translation systems for execution and collect existing rules from various translation systems to form a globally unified set of translation rules.

4. The unified IPv4 / IPv6 address management method in the IPv6 evolution environment as described in claim 1, characterized in that, The step of generating a corresponding mapped address for each real IPv4 / IPv6 address based on the set of IPv4 and IPv6 address translation rules includes: By using a set of IPv4 and IPv6 address translation rules, a corresponding bidirectional IPv4 / IPv6 address translation rule is assigned to each real IPv4 / IPv6 address, and a corresponding mapping address is generated through the translation rule. The corresponding mapping address is attached to the address application form along with the pre-allocated real address. After passing the organization's approval process, the user obtains the real address and the mapping address.

5. The unified IPv4 / IPv6 address management method in the IPv6 evolution environment as described in claim 3, characterized in that, The defined IPv4 and IPv6 address translation rules are, based on planned mapping address ranges, rules for bidirectional IPv4 / IPv6 address translation for different mapping address ranges defined 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 translation algorithm to obtain the address in the mapped address segment. The reverse mapping involves matching a mapped address segment with an address segment in the message, and translating the mapped address segment into an address in the real network segment using a specific address translation algorithm.

6. The unified IPv4 / IPv6 address management method in the IPv6 evolution environment as described in claim 4, characterized in that, The process involves assigning a corresponding bidirectional IPv4 / IPv6 address translation rule to each real IPv4 / IPv6 address using a set of IPv4 and IPv6 address translation rules, and generating a corresponding mapped address based on these rules. The actual IPv4 / IPv6 address is a pre-allocated real address generated by the address management platform based on the information provided by the user; The allocation of corresponding IPv4 / IPv6 address bidirectional translation rules involves entering the actual IPv4 / IPv6 address into the address translation rule set for searching, and obtaining the most matching IPv4 / IPv6 address bidirectional translation rule; The process involves generating a corresponding mapping address using translation rules, and translating the pre-allocated real address to generate a mapping address based on the most matching IPv4 / IPv6 address bidirectional translation rules.

7. The unified IPv4 / IPv6 address management method in the IPv6 evolution environment as described in claim 1, characterized in that, Also includes: 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 in the address management platform.

8. A unified IPv4 / IPv6 address management device in an IPv6 evolution environment, implemented based on a unified IPv4 / IPv6 address management platform, characterized in that, The device includes: The address resource planning module is used to sort out all IPv4 and IPv6 address ranges, obtain scenarios of mutual communication between IPv4 and IPv6, and allocate mapping address ranges for IPv4 and IPv6. The translation rule engine module is used to define IPv4 and IPv6 address translation rules based on the IPv4 and IPv6 mapping address ranges, and generate a set of IPv4 and IPv6 address translation rules. The translation rules are in the address management platform, which can both send the rules to the specified protocol translation system for execution and collect existing rules from various translation systems. The protocol translation execution module is used to generate a corresponding mapping address for each real IPv4 / IPv6 address based on the set of IPv4 and IPv6 address translation rules. The generation of the corresponding mapping address involves binding the generated mapping address with the real address and then allocating them together through an approval process.

9. The unified IPv4 / IPv6 address management device in the IPv6 evolution environment according to claim 8, characterized in that, The translation execution module includes: The IPv6 translation execution module is used to perform protocol translation and address mapping for IPv6 computers. The IPv4 translation execution module is used to perform protocol translation and address mapping for IPv4 computers.

10. An electronic device, characterized in that, A method for implementing a unified IPv4 / IPv6 address management system in an IPv6 evolution environment as described in any one of claims 1 to 7, comprising: The protocol translation gateway is used to execute algorithm translation rules, translate IPv4 / IPv6 packet headers in real time, and maintain a dynamic mapping table. The management server runs the address management platform software, stores all IPv4 / IPv6 address ranges and mapping rule sets, and provides rule compilation and distribution functions. A DHCPv4 server is used to dynamically allocate IPv4 addresses and provides configuration distribution functionality. A DHCPv6 server is used to dynamically allocate IPv6 addresses and provides configuration distribution capabilities.