Nothing Special   »   [go: up one dir, main page]

CN114827090A - IP address management method and related equipment - Google Patents

IP address management method and related equipment Download PDF

Info

Publication number
CN114827090A
CN114827090A CN202210308922.3A CN202210308922A CN114827090A CN 114827090 A CN114827090 A CN 114827090A CN 202210308922 A CN202210308922 A CN 202210308922A CN 114827090 A CN114827090 A CN 114827090A
Authority
CN
China
Prior art keywords
address
hierarchy
information
subnet
classification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210308922.3A
Other languages
Chinese (zh)
Inventor
张德奎
王旸
蒋驰
闫海伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mingyang Industrial Technology Research Institute Shenyang Co ltd
Original Assignee
Mingyang Industrial Technology Research Institute Shenyang Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mingyang Industrial Technology Research Institute Shenyang Co ltd filed Critical Mingyang Industrial Technology Research Institute Shenyang Co ltd
Priority to CN202210308922.3A priority Critical patent/CN114827090A/en
Publication of CN114827090A publication Critical patent/CN114827090A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an IP address management method and related equipment, relates to the field of IP address management, and mainly aims to solve the problems that the existing IP address is difficult to memorize and large-scale application is difficult. The method comprises the following steps: acquiring organization architecture information of a subnet to be divided, wherein the organization architecture information comprises hierarchy information and classification information of each hierarchy; distributing a corresponding hierarchy address field for each hierarchy in a target IP address field of the subnet to be divided based on the hierarchy information; setting an address identification code associated with each classification information in the hierarchy at a corresponding hierarchy address field based on the classification information of each hierarchy to generate a subnet address list. The invention is used for the IP address management process.

Description

IP address management method and related equipment
Technical Field
The present invention relates to the field of IP address management, and in particular, to an IP address management method and related device.
Background
The IP Address (Internet Protocol Address) is translated into an Internet Protocol Address. The IP address is a uniform address format provided by the IP protocol, and it allocates a logical address to each network and each host on the internet, so as to mask the difference of physical addresses.
With the deployment and application of IP scale, the problems of difficult memory and scale application planning of IP are increasingly prominent, and especially in a group enterprise network and a large-scale government network, an efficient, visual, templated and transferable tool is lacked in the top-level planning of network addresses, so that the IP addresses are convenient to be memorized and applied in scale.
Disclosure of Invention
In view of the above problems, the present invention provides an IP address management method and related device, and mainly aims to solve the problems that the current IP address is difficult to memorize and is difficult to be applied in a large scale.
In order to solve at least one of the above technical problems, in a first aspect, the present invention provides an IP address management method, including:
acquiring organization architecture information of a subnet to be divided, wherein the organization architecture information comprises hierarchy information and classification information of each hierarchy;
distributing corresponding hierarchy address fields for each hierarchy in the target IPv6 address fields of the subnets to be divided based on the hierarchy information;
and setting an address identification code associated with each classification information in the hierarchy at a corresponding hierarchy address field based on the classification information of each hierarchy to generate a subnet address list.
Optionally, the IP address is an IPv6 address.
Optionally, the method further includes:
and setting a reserved address field in the target IPv6 address field of the subnet to be divided.
Optionally, the method further includes:
recording the generated subnet address list;
after generating a new first subnet address, inquiring in the subnet address list;
and if the address identical to the new first subnet address exists in the subnet address list, regenerating a new second subnet address without using the first subnet address.
Optionally, the method further includes:
and associating new organization structure information for the first subnet address under the condition that the organization structure information associated with the first subnet address is cancelled.
Optionally, the method further includes:
under the condition that the classification information comprises branch company information, acquiring the business and commercial registration information of each branch company which is allocated with the subnet address in real time;
and when the business registration information indicates that the branch company is cancelled, automatically deleting the subnet address corresponding to the branch company.
Optionally, the method further includes:
under the condition that the classification information comprises branch company information, acquiring the business and commercial registration information of a main company in real time;
and under the condition that the business registration information indicates that the main company has the registration of the newly added branch company, automatically dividing the subnet address for the newly added branch company in the hierarchy address field corresponding to the branch company.
In a second aspect, an embodiment of the present invention further provides an IP address management apparatus, including:
the device comprises an acquisition unit, a judgment unit and a processing unit, wherein the acquisition unit is used for acquiring organization architecture information of a subnet to be divided, and the organization architecture information comprises hierarchy information and classification information of each hierarchy;
an allocating unit, configured to allocate, based on the hierarchy information, a corresponding hierarchy address segment to each hierarchy in the target IPv6 address segment of the subnet to be divided;
and a generation unit configured to set an address identification code associated with each classification information in the hierarchy in a corresponding hierarchy address field based on the classification information of each hierarchy to generate a subnet address list.
In order to achieve the above object, according to a third aspect of the present invention, there is provided a computer-readable storage medium including a stored program, wherein the above IP address management method is implemented when the above program is executed by a processor.
In order to achieve the above object, according to a fourth aspect of the present invention, there is provided an electronic device comprising at least one processor, and at least one memory connected to the processor; the processor is used for calling the program instruction in the memory and executing the IP address management method.
By means of the technical scheme, for the problems that the existing IP address is difficult to memorize and large-scale application exists, the IP address management method and the related equipment provided by the invention acquire the organizational structure information of the sub-network to be divided, wherein the organizational structure information comprises level information and classification information of each level; distributing a corresponding hierarchy address field for each hierarchy in the target IP address field of the subnet to be divided based on the hierarchy information; and setting an address identification code associated with each classification information in the hierarchy at a corresponding hierarchy address field based on the classification information of each hierarchy to generate a subnet address list. In the above-described scheme, by acquiring the hierarchy information of the subnet to be divided and the classification information of each hierarchy, distributing corresponding hierarchical address segments for each hierarchy in the target IP address segments of the sub-networks to be divided based on the hierarchical information, mapping the organization structure, the service structure and the top-level plan of the IP address of large enterprises and public institutions, and the like applied by the scheme, setting address identification codes associated with each classification information in the hierarchy in the corresponding hierarchical address segments based on the classification information of each hierarchy, thereby generating a subnet address list, the scheme carries out planning transmission and feedback implementation on IP addresses in a hierarchical deployment which is refined layer by layer, the IP top-level address planning scheme can be generated and templated by one key, the efficiency of address allocation is improved, meanwhile, the technical effects that the planning management of the IP address is not complicated and the IP address can reach the 'meaning of the Chinese language' are achieved.
Accordingly, the IP address management apparatus, the electronic system, and the computer-readable storage medium provided in the embodiments of the present invention also have the above technical effects.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a schematic flowchart illustrating an IP address management method according to an embodiment of the present invention;
fig. 2 is a block diagram schematically illustrating an IP address management apparatus according to an embodiment of the present invention;
fig. 3 is a block diagram illustrating an electronic device for managing IP addresses according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
In order to solve the problem that the current IP address is difficult to memorize and is applied in a large scale, an embodiment of the present invention provides an IP address management method, as shown in fig. 1, the method includes:
s101, obtaining organization structure information of a subnet to be divided, wherein the organization structure information comprises hierarchy information and classification information of each hierarchy;
for example, the IPv6 address indicates hosts on a network by network number and host number, and only computers under one network number can communicate "directly", and computers of different network numbers can communicate through a gateway. Such a division may not be very flexible in some cases, for which reason IPv6 networks also allow division into smaller networks, called subnets. The method comprises the steps of obtaining organization structure information of a sub-network to be divided, wherein the organization structure information can be specifically determined according to a specific environment applied by the scheme and comprises hierarchy information and classification information of each hierarchy.
For example: when the scheme is applied to a large enterprise, the method for dividing and organizing the architecture information of the large enterprise is as follows: first-stage: the general company A, the branch company B, the branch company C, the branch company D and the branch company E, and the branch company B is taken as an example in the second level: market division, fortune maintenance division, financial department, management division, legal affairs division, the third grade uses fortune maintenance division as an example: core network operation and maintenance, data network operation and maintenance and wireless network operation and maintenance. In the above embodiment, the hierarchical information is a first level, a second level, and a third level, and the classification information of each hierarchical level is a head office a, a branch office B, a branch office C, a branch office D, a branch office E, a market department, an operation and maintenance department, a financial department, a management department, a legal department, a core network operation and maintenance, a data network operation and maintenance, and a wireless network operation and maintenance. It should be noted that the above-mentioned division is only an example, and the actual division is determined according to the specific situation. Therefore, the environment applying the scheme is divided according to the organization structure information, so that the implementation of the subsequent scheme has a hierarchical basis.
S102, distributing corresponding hierarchy address fields for each hierarchy in the target IPv6 address fields of the sub-networks to be divided based on the hierarchy information;
illustratively, after dividing the hierarchy information of the subnet and the classification information of each hierarchy, allocating a corresponding hierarchy address field to each hierarchy in the target IPv6 address field of the subnet to be divided based on the hierarchy information.
For example, the hierarchical address field corresponding to the first-level hierarchical information is allocated to be 33-36 bits, that is, the 33-36 bit IPv6 address field of the subnet to be divided is used for expressing the first-level hierarchical information, that is, the affiliated company; distributing a hierarchy address field corresponding to the secondary hierarchy information into 37-40 bits, namely, distributing the secondary hierarchy information to the affiliated department in the 37-40 bit IPv6 address field of the subnet to be divided; and allocating the hierarchy address field corresponding to the three-level hierarchy information to be 41-44 bits, namely allocating the 41-44 bit IPv6 address field of the subnet to be divided to be used for expressing the three-level hierarchy information, namely the refinement department. And 33 bits are used to express the fixed prefix. It should be noted that the above-mentioned divided IPv6 address segments are only used as examples, and the specific division manner is determined according to actual situations. Therefore, the organization structure and the service structure of the group enterprise and the like applied by the scheme are mapped with the planning of the IPv6 address one by one.
And S103, setting an address identification code associated with each classification information in the hierarchy in a corresponding hierarchy address field based on the classification information of each hierarchy to generate a subnet address list.
For example, after the target IPv6 address field of the subnet to be divided is assigned with the corresponding hierarchy address field for each hierarchy based on the hierarchy information, the classification information of each hierarchy sets an address identifier associated with each classification information in the hierarchy in the corresponding hierarchy address field, and a subnet address list is generated based on the address identifier.
For example: the list of subnet addresses corresponding to the first level hierarchy is:
a head office: 2403 DAC0: 0000:/36
B, division: 2403 DAC0:1000: 36
C, division: 2403 DAC0:2000: 36
Division of the company: 2403 DAC0:3000: 36
E, division: 2403 DAC0:3000: 36: 1
The second level takes a branch company in the city B as an example, and the corresponding subnet address list is as follows:
market sector: 2403 DAC0:1000: 40: 1
Operation and maintenance department: 2403 DAC0:1100: 40: 1
Finance department: 2403 DAC0:1200:: 40
A management unit: 2403 DAC0:1300: 40: 1
A legal department: 2403 DAC0:1400: 40
Taking the operation and maintenance department as an example, the corresponding subnet address list of the third level is:
operation and maintenance of a core network: 2403 DAC0:1100: 44
Operation and maintenance of a data network: 2403 DAC0:1110: 44
Wireless network operation and maintenance: 2403 DAC0:1120: 44
The method can pre-plan a subnet information resource list according to the client requirements, namely the subnet mask and the number of subnet segments, mark the address planning and distribution information, such as associated work orders, responsible persons and other information, and determine the distribution to be effective through a confirmation key if the pre-planning is reasonable. The specific address allocation template may be modified and refined at a later stage according to the requirements of the user. Therefore, all IPv6 addresses of the company are planned in a layer-by-layer refined hierarchical deployment mode, so that the IPv6 top-level address planning is templated and can be generated by one key, the IPv6 address is planned and managed, and the IPv6 address can achieve the technical effect of 'meaning looking at the word'.
By means of the technical scheme, the IP address management method provided by the invention has the advantages that for the problems that the current IP address is difficult to memorize and is applied in a large scale, the invention acquires the organizational structure information of the sub-network to be divided, wherein the organizational structure information comprises level information and classification information of each level; distributing a corresponding hierarchy address field for each hierarchy in the target IP address field of the subnet to be divided based on the hierarchy information; and setting an address identification code associated with each classification information in the hierarchy at a corresponding hierarchy address field based on the classification information of each hierarchy to generate a subnet address list. In the above-described scheme, by acquiring the hierarchy information of the subnet to be divided and the classification information of each hierarchy, distributing corresponding hierarchical address segments for each hierarchy in the target IP address segments of the sub-networks to be divided based on the hierarchical information, mapping the organization structure, the service structure and the top-level plan of the IP address of large enterprises and public institutions, and the like applied by the scheme, setting address identification codes associated with each classification information in the hierarchy in the corresponding hierarchical address segments based on the classification information of each hierarchy, thereby generating a subnet address list, the scheme carries out planning transmission and feedback implementation on IP addresses in a hierarchical deployment which is refined layer by layer, the IP top-level address planning scheme can be generated and templated by one key, the efficiency of address allocation is improved, meanwhile, the technical effects that the planning management of the IP address is not complicated and the IP address can reach the 'meaning of the Chinese language' are achieved.
In one embodiment, the IP address is an IPv6 address.
For example, IPv6 is an abbreviation of "Internet Protocol Version 6" (Internet Protocol Version 6) in english, and is a next generation IP Protocol designed by the Internet Engineering Task Force (IETF) to replace IPv4, and the number of addresses can be called as one address for each sand worldwide. The biggest problem of the IPv4 is that the network address resource is insufficient, and the application and the development of the Internet are severely restricted. The use of the IPv6 not only solves the problem of the number of network address resources, but also solves the obstacle of connecting various access devices to the Internet. However, the problem that the 128-bit address of the IPv6 is difficult to memorize and scale application is highlighted, so the implementation of the scheme can be applied to IPv6 address planning, and the planning of the IPv6 address can be templated by one-key generation.
In one embodiment, the method further comprises:
and setting a reserved address field in the target IP address field of the subnet to be divided.
Illustratively, an IP address consists of two parts, namely a network address and a host address. The network address indicates which network of the internet it belongs to, and the host address indicates which host it belongs to in the network, both in a master-slave relationship. The method is mainly realized by deploying network addresses, wherein the target IP address field of the subnet to be divided is mainly a network address, a reserved address field is arranged in the network address, a corresponding hierarchy address field is distributed for each hierarchy in the reserved address field to generate a subnet address list, and the reserved address field is arranged in the target IP address field of the subnet to be divided, so that the IP top-level address planning scheme can be generated and templated by one key.
In one embodiment, the method further comprises:
recording the generated subnet address list;
after generating a new first subnet address, inquiring in the subnet address list;
and if the address identical to the new first subnet address exists in the subnet address list, regenerating a new second subnet address without using the first subnet address.
For example, in the reserved address segment, after a corresponding hierarchical address segment is allocated to each hierarchy and a subnet address list is generated, the new first subnet address is compared with the subnet address list, if the comparison result in the subnet address list is not repeated, it is proved that the first subnet address can be normally used, if an address identical to the new first subnet address exists in the subnet address list, the first subnet address cannot be used and a conflict occurs, at this time, the first subnet address is not used, and a new second subnet address is generated again. The allocated address segment is not allocated in the later allocation process unless the resource is released through the withdrawal function and is rescheduled to the resource to be allocated. Therefore, the situation that the client cannot normally communicate or access the gateway outlet to surf the internet due to the conflict of the IP addresses is prevented.
In one embodiment, the method further comprises:
and associating new organization structure information for the first subnet address under the condition that the organization structure information associated with the first subnet address is cancelled.
For example, when the manner of dividing the organization structure information by the enterprise according to the present embodiment is changed, that is, when the organization structure information associated with the first subnet address is cancelled, a new first subnet address is generated based on the updated organization structure information. For example: in an enterprise, the original organization architecture information is: first-stage: the general company A, the branch company of the city B and the branch company of the city C, wherein the second level takes the branch company of the city B as an example: market division, fortune maintenance division, financial department, the third grade uses fortune maintenance division as an example: core network operation and maintenance, data network operation and maintenance and wireless network operation and maintenance. The operation and maintenance part is cancelled by the changed new organization structure information, a technical part is newly added, and the changed new organization structure information is of a first level: the general company A, the branch company of the city B and the branch company of the city C, wherein the second level takes the branch company of the city B as an example: market department, technical department, financial department, third-level take technical department as an example: core network technology, data network technology, and wireless network technology. At this time, the first subnet address corresponding to the operation and maintenance part is associated with the new organizational structure information association technical part to form the first subnet address corresponding to the technical part. And associating new organization structure information for the first subnet address, thereby reducing the workload of regenerating the first subnet address.
In one embodiment, the method further comprises:
under the condition that the classification information comprises branch company information, acquiring the business and commercial registration information of each branch company which is allocated with the subnet address in real time;
and when the business registration information indicates that the branch company is cancelled, automatically deleting the subnet address corresponding to the branch company.
Illustratively, different enterprises have different ways of dividing the organizational structure information, and if the classification information of an enterprise to which the present solution is applied includes branch information, the worker registration information of each branch to which a subnet address has been allocated is obtained in real time, and when it is detected that the worker registration information indicates that a branch has logged off, the subnet address corresponding to the branch is automatically deleted. Therefore, the problem of reasonability of the subnet address associated with the available public information and the intelligent detection organization structure information is solved.
In one embodiment, the method further comprises:
under the condition that the classification information comprises branch company information, acquiring the business and commercial registration information of a main company in real time;
and under the condition that the business registration information indicates that the main company has the registration of the newly added branch company, automatically dividing the subnet address for the newly added branch company in the hierarchy address field corresponding to the branch company.
Illustratively, different enterprises divide the organizational structure information in different ways, and if the classification information of an enterprise to which the present solution is applied includes branch information, the business and business registration information of a head office is obtained in real time, and when the business and business registration information indicates that the head office has a newly added branch registration, a subnet address is automatically divided for the newly added branch in a hierarchical address field corresponding to the branch. The IP top address planning scheme of the scheme can be generated by one-key templating, and can also be used for disclosing information and realizing intelligent automation.
Further, as an implementation of the method shown in fig. 1, an embodiment of the present invention further provides an IP address management apparatus, which is used for implementing the method shown in fig. 1. The embodiment of the apparatus corresponds to the embodiment of the method, and for convenience of reading, details in the embodiment of the apparatus are not repeated one by one, but it should be clear that the apparatus in the embodiment can correspondingly implement all the contents in the embodiment of the method. As shown in fig. 2, the apparatus includes: an acquisition unit 21, an allocation unit 22 and a generation unit 23, wherein
An obtaining unit 21, configured to obtain organization structure information of a subnet to be divided, where the organization structure information includes hierarchy information and classification information of each hierarchy;
an allocating unit 22, configured to allocate, based on the hierarchy information, a corresponding hierarchy address segment to each hierarchy in the target IP address segment of the subnet to be divided;
a generating unit 23, configured to set, in a corresponding hierarchy address field, an address identification code associated with each piece of classification information in the hierarchy based on the classification information of each hierarchy, so as to generate a subnet address list.
Illustratively, the IP address is an IPv6 address.
Illustratively, the allocation unit is further configured to:
and setting a reserved address field in the target IP address field of the subnet to be divided.
Illustratively, the allocation unit is further configured to:
recording the generated subnet address list;
after generating a new first subnet address, inquiring in the subnet address list;
and if the address identical to the new first subnet address exists in the subnet address list, regenerating a new second subnet address without using the first subnet address.
Illustratively, the allocation unit is further configured to:
and associating new organization structure information for the first subnet address under the condition that the organization structure information associated with the first subnet address is cancelled.
Illustratively, the obtaining unit is further configured to:
under the condition that the classification information comprises branch company information, acquiring the business and commercial registration information of each branch company which is allocated with the subnet address in real time;
and when the business registration information indicates that the branch company is cancelled, automatically deleting the subnet address corresponding to the branch company.
Illustratively, the generating unit is further configured to:
under the condition that the classification information comprises branch company information, acquiring the business and commercial registration information of a main company in real time;
and under the condition that the business registration information indicates that the main company has the registration of the newly added branch company, automatically dividing the subnet address for the newly added branch company in the hierarchy address field corresponding to the branch company.
By means of the technical scheme, the IP address management device provided by the invention has the advantages that for the problems that the current IP address is difficult to memorize and is applied in a large scale, the invention acquires the organizational structure information of the sub-network to be divided, wherein the organizational structure information comprises level information and classification information of each level; distributing a corresponding hierarchy address field for each hierarchy in the target IP address field of the subnet to be divided based on the hierarchy information; and setting an address identification code associated with each classification information in the hierarchy at a corresponding hierarchy address field based on the classification information of each hierarchy to generate a subnet address list. In the above-described scheme, by acquiring the hierarchy information of the subnet to be divided and the classification information of each hierarchy, distributing corresponding hierarchical address segments for each hierarchy in the target IP address segments of the subnets to be divided based on the hierarchical information, mapping the organization architecture, the service architecture and the IP address top-level plan of large enterprises and public institutions and the like applied by the scheme, setting address identification codes associated with each classification information in the hierarchy in the corresponding hierarchical address segments based on the classification information of each hierarchy, thereby generating a subnet address list, the scheme carries out planning transmission and feedback implementation on IP addresses in a hierarchical deployment which is refined layer by layer, the IP top-level address planning scheme can be generated and templated by one key, the efficiency of address allocation is improved, meanwhile, the technical effects that the planning management of the IP address is not complicated and the IP address can reach the 'meaning of the Chinese language' are achieved.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. One or more than one kernel can be set, the IP address management method is realized by adjusting kernel parameters, and the problems that the current IP address is difficult to memorize and large-scale application can be solved.
An embodiment of the present invention provides a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and the program, when executed by a processor, implements the IP address management method.
The embodiment of the invention provides a processor, which is used for running a program, wherein the IP address management method is executed when the program runs.
The embodiment of the invention provides electronic equipment, which comprises at least one processor and at least one memory connected with the processor; the processor is used for calling the program instruction in the memory and executing the IP address management method
An embodiment of the present invention provides an electronic device 30, as shown in fig. 3, the electronic device includes at least one processor 301, at least one memory 302 connected to the processor, and a bus 303; wherein, the processor 301 and the memory 302 complete the communication with each other through the bus 303; the processor 301 is configured to call program instructions in the memory to perform the IP address management method described above.
The intelligent electronic device herein may be a PC, PAD, mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a flow management electronic device: acquiring organization structure information of a subnet to be divided, wherein the organization structure information comprises hierarchy information and classification information of each hierarchy; distributing a corresponding hierarchy address field for each hierarchy in the target IP address field of the subnet to be divided based on the hierarchy information; and setting an address identification code associated with each classification information in the hierarchy at a corresponding hierarchy address field based on the classification information of each hierarchy to generate a subnet address list.
Further, the IP address is an IPv6 address.
Further, the method further comprises:
and setting a reserved address field in the target IP address field of the subnet to be divided.
Further, the method further comprises:
recording the generated subnet address list;
after generating a new first subnet address, inquiring in the subnet address list;
and if the address identical to the new first subnet address exists in the subnet address list, regenerating a new second subnet address without using the first subnet address.
Further, the method further comprises:
and associating new organization structure information for the first subnet address under the condition that the organization structure information associated with the first subnet address is cancelled.
Further, the method further comprises:
under the condition that the classification information comprises branch company information, acquiring the business and commercial registration information of each branch company which is allocated with the subnet address in real time;
and when the business registration information indicates that the branch company is cancelled, automatically deleting the subnet address corresponding to the branch company.
Further, the method further comprises:
under the condition that the classification information comprises branch company information, acquiring the business and commercial registration information of a main company in real time;
and under the condition that the business registration information indicates that the main company has the registration of the newly added branch company, automatically dividing the subnet address for the newly added branch company in the hierarchy address field corresponding to the branch company.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, electronic devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable flow management electronic device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable flow management electronic device, create means for implementing the functions specified in the flow diagram flow or flows and/or block diagram block or blocks.
In a typical configuration, an electronic device includes one or more processors (CPUs), memory, and a bus. The electronic device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer-readable storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage electronic devices, or any other non-transmission medium that can be used to store information that can be accessed by computing electronic devices. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or electronic device that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or electronic device. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or electronic device in which the element is included.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable computer-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. An IP address management method, comprising:
acquiring organization architecture information of a subnet to be divided, wherein the organization architecture information comprises hierarchy information and classification information of each hierarchy;
distributing a corresponding hierarchy address field for each hierarchy in a target IP address field of the subnet to be divided based on the hierarchy information;
setting an address identification code associated with each classification information in the hierarchy at a corresponding hierarchy address field based on the classification information of each hierarchy to generate a subnet address list.
2. The method of claim 1, wherein the IP address is an IPv6 address.
3. The method of claim 1, further comprising:
and setting a reserved address field in the target IP address field of the subnet to be divided.
4. The method of claim 1, further comprising:
recording the generated subnet address list;
after generating a new first subnet address, inquiring in the subnet address list;
and if the address identical to the new first subnet address exists in the subnet address list, the first subnet address is not used, and a new second subnet address is regenerated.
5. The method of claim 4, further comprising:
and associating new organization architecture information for the first subnet address under the condition that the organization architecture information associated with the first subnet address is cancelled.
6. The method of claim 1, further comprising:
under the condition that the classification information comprises branch company information, acquiring the business and commercial registration information of each branch company which is allocated with the subnet address in real time;
and under the condition that the business registration information indicates that the branch company logs out, automatically deleting the subnet address corresponding to the branch company.
7. The method of claim 1, further comprising:
under the condition that the classification information comprises branch company information, acquiring the business and commercial registration information of a general company in real time;
and under the condition that the business registration information indicates that the main company has newly added branch company registration, automatically dividing subnet addresses for the newly added branch company in a hierarchy address field corresponding to the branch company.
8. An IP address management apparatus, comprising:
the device comprises an acquisition unit, a judgment unit and a processing unit, wherein the acquisition unit is used for acquiring organization architecture information of a subnet to be divided, and the organization architecture information comprises hierarchy information and classification information of each hierarchy;
the distribution unit is used for distributing corresponding hierarchy address fields for each hierarchy in the target IP address fields of the sub-networks to be divided based on the hierarchy information;
a generating unit configured to set an address identification code associated with each classification information in the hierarchy in a corresponding hierarchy address field based on the classification information of each hierarchy to generate a subnet address list.
9. A computer-readable storage medium characterized in that the computer-readable storage medium includes a stored program, wherein the IP address management method according to any one of claim 1 to claim 7 is implemented when the program is executed by a processor.
10. An electronic device, comprising at least one processor, and at least one memory coupled to the processor; wherein the processor is configured to call program instructions in the memory to perform the IP address management method of any one of claims 1 to 7.
CN202210308922.3A 2022-03-28 2022-03-28 IP address management method and related equipment Pending CN114827090A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210308922.3A CN114827090A (en) 2022-03-28 2022-03-28 IP address management method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210308922.3A CN114827090A (en) 2022-03-28 2022-03-28 IP address management method and related equipment

Publications (1)

Publication Number Publication Date
CN114827090A true CN114827090A (en) 2022-07-29

Family

ID=82531497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210308922.3A Pending CN114827090A (en) 2022-03-28 2022-03-28 IP address management method and related equipment

Country Status (1)

Country Link
CN (1) CN114827090A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460168A (en) * 2022-08-22 2022-12-09 浪潮通信信息系统有限公司 IPv6 capacity analysis method and system based on resource management

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263834A (en) * 2011-05-12 2011-11-30 中兴通讯股份有限公司 Method for network equipment to obtain IPv6 address automatically, network equipment thereof and system thereof
US8775629B1 (en) * 2011-12-22 2014-07-08 Infoblox Inc. System and method for managing internet protocol (IP) address space for enterprise network
CN110650219A (en) * 2019-09-06 2020-01-03 北京伯光时科技有限公司 IPv6 address allocation method and device, electronic equipment and storage medium
CN113691651A (en) * 2021-10-22 2021-11-23 北京连星科技有限公司 Top-level planning visualization management method, system and storage medium based on IPv6 network
WO2021253481A1 (en) * 2020-06-15 2021-12-23 北京交通大学 Unified address allocation method and device for industrial heterogeneous network equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263834A (en) * 2011-05-12 2011-11-30 中兴通讯股份有限公司 Method for network equipment to obtain IPv6 address automatically, network equipment thereof and system thereof
US8775629B1 (en) * 2011-12-22 2014-07-08 Infoblox Inc. System and method for managing internet protocol (IP) address space for enterprise network
CN110650219A (en) * 2019-09-06 2020-01-03 北京伯光时科技有限公司 IPv6 address allocation method and device, electronic equipment and storage medium
WO2021253481A1 (en) * 2020-06-15 2021-12-23 北京交通大学 Unified address allocation method and device for industrial heterogeneous network equipment
CN113691651A (en) * 2021-10-22 2021-11-23 北京连星科技有限公司 Top-level planning visualization management method, system and storage medium based on IPv6 network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
纪德伟;柏成勇;: "IPv6地址规划及管理实践", 信息通信技术与政策, no. 06, 15 June 2020 (2020-06-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115460168A (en) * 2022-08-22 2022-12-09 浪潮通信信息系统有限公司 IPv6 capacity analysis method and system based on resource management
CN115460168B (en) * 2022-08-22 2024-05-14 浪潮通信信息系统有限公司 IPv6 capacity analysis method and system based on resource management

Similar Documents

Publication Publication Date Title
CN107943950B (en) Method and system for generating intelligent contracts of data in block chain
CN103078965B (en) The IP address management method of virtual machine
CN111176788A (en) Method and system for deploying main nodes of Kubernetes cluster
CN113691651B (en) Top-level planning visualization management method, system and storage medium based on IPv6 network
CN106790744B (en) IP scheduling method and system
CN108040136B (en) IP resource management method and system
CN104253831A (en) Method and system for deploying application in cloud computing environment
CN110650219B (en) IPv6 address allocation method and device, electronic equipment and storage medium
US10218597B1 (en) Provider network address range-based models
US20200127939A1 (en) Distributed database-driven resource management and locking in a cloud native mobile core network node architecture
US10673694B2 (en) Private network mirroring
CN114979074B (en) Enterprise IPv6 address hierarchical management method, system and storage medium
CN101986665A (en) Internet protocol version 6 (IPV6) address allocating method and system
CN113452806B (en) Container adaptation SDN network management method and system based on Kubernets system
CN114827090A (en) IP address management method and related equipment
CN113867937A (en) Resource scheduling method and device for cloud computing platform and storage medium
CN105045762A (en) Management method and apparatus for configuration file
CN102316176B (en) Packet processing and tracing methods, apparatuses thereof and systems thereof
US10944714B1 (en) Multi-factor domain name resolution
CN114244805B (en) Domain name configuration method and device
CN113746684A (en) Network equipment management method and device, computer equipment and storage medium
US10901708B1 (en) Techniques for unsupervised learning embeddings on source code tokens from non-local contexts
CN116566830A (en) Network configuration method, device, system, edge equipment and storage medium
CN114625324B (en) Method, device, equipment and medium for controlling service quality of volumes in consistency group
CN115801733A (en) Network address allocation method and device, electronic equipment and readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination