CN113132499B - IP address information management method, device, equipment and computer storage medium - Google Patents

IP address information management method, device, equipment and computer storage medium Download PDF

Info

Publication number
CN113132499B
CN113132499B CN201911397985.5A CN201911397985A CN113132499B CN 113132499 B CN113132499 B CN 113132499B CN 201911397985 A CN201911397985 A CN 201911397985A CN 113132499 B CN113132499 B CN 113132499B
Authority
CN
China
Prior art keywords
registration
address
subject
information
agent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911397985.5A
Other languages
Chinese (zh)
Other versions
CN113132499A (en
Inventor
史永超
揣骥东
殷孝斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Shanxi Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Shanxi 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 China Mobile Communications Group Co Ltd, China Mobile Group Shanxi Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201911397985.5A priority Critical patent/CN113132499B/en
Publication of CN113132499A publication Critical patent/CN113132499A/en
Application granted granted Critical
Publication of CN113132499B publication Critical patent/CN113132499B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/659Internet protocol version 6 [IPv6] addresses

Landscapes

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

Abstract

The invention discloses an IP address information management method, device, equipment and computer storage medium. The IP address information management method comprises the following steps: a template storage step of storing a registration information template; a registration information acquisition step of acquiring registration information including an IP address registered by a registration agent using a corresponding registration information template; an address information merging step of merging the IP addresses for the same registration subject with respect to the registration information to generate registration data in which the registration subject is stored in a hierarchical manner in correspondence with the merged IP address; an address information splitting step of sequentially splitting, in order of hierarchy, an IP address in registration data of a previous hierarchy registration master to which the next hierarchy registration master belongs, based on an IP address in registration data of the next hierarchy registration master, and generating final registration data. According to the embodiment of the invention, the IP address can be efficiently, accurately and automatically managed.

Description

IP address information management method, device, equipment and computer storage medium
Technical Field
The invention belongs to the field of mobile communication network address management, and relates to an IP (Internet Protocol, internet interconnection Protocol) address information management method, in particular to an IPv6 address information management method.
Background
The IP address is a public resource of the internet, is a foundation for the development of the internet, and is also an important way for realizing the security management of the internet, so that the IP address needs to be managed effectively. The IPv6 address management is taken as an example for explanation, the IPv6 protocol is a next-generation IP protocol designed by IETF (The Internet Engineering Task Force) and used for replacing an IPv4 protocol, the address length is 128 bits, and The IPv6 has more bits to identify attribute information, such as information of a service, province, city, district, and The like.
At present, the management of the IPv6 address information mainly adopts a manual method, and network maintenance personnel merge and split the IPv6 address to generate management data of the IPv6 address information. The existing IPv6 address management method has the problem of low efficiency, and the information registration data is calculated in a manual mode, so that the calculation amount is large, the consumed time is long, and the efficiency is low. In addition, the existing IPv6 address management method has the problem of poor accuracy, network segment splitting and network segment merging work is carried out on the 128-bit long IPv6 address, the calculation process is complex, and the accuracy of a manual calculation result is poor.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, a device, and a computer storage medium for managing IP address information, which can automatically merge and split IP addresses by layering IP address information to generate IP address information registration data, thereby improving efficiency and quality of IP address management.
In one aspect, an embodiment of the present invention provides a method for managing IP address information, where the method includes: a template storage step of storing registration information templates that are set respectively according to the hierarchy of registration subjects; a registration information acquisition step of acquiring registration information including an IP address registered by the registration agent using the corresponding registration information template; an address information merging step of merging the IP addresses according to the same registration subject for the registration information, and generating registration data in which the registration subject is stored in correspondence with the merged IP address in the hierarchy; an address information splitting step of sequentially splitting, in the order of the hierarchy, an IP address in the registration data of an upper hierarchy registration subject to which a lower hierarchy registration subject belongs, from an IP address in the registration data of the lower hierarchy registration subject, and generating final registration data in which the respective registration subjects, the hierarchy of the registration subjects, and an IP address that the registration subjects can currently use are stored in association with each other.
On the other hand, an embodiment of the present invention provides an IP address information management apparatus, including: a template storage unit that stores registration information templates that are set respectively according to a hierarchy of registration subjects; a registration information acquisition unit that acquires registration information including an IP address registered by the registration agent using the corresponding registration information template; an address information merging unit that merges the IP addresses by the same registration subject for the registration information, and generates registration data in which the registration subject is stored in correspondence with the merged IP address in the hierarchy; an address information splitting unit that sequentially splits an IP address in the registration data of an upper-level registration subject to which a lower-level registration subject belongs, from an IP address in the registration data of the lower-level registration subject, in order of the levels, and generates final registration data in which the respective registration subjects, the levels of the registration subjects, and the IP addresses that the registration subjects can currently use are stored in association with each other.
In another aspect, an embodiment of the present invention provides an IP address management device, where the IP address management device includes: a processor and a memory storing computer program instructions; the processor, when executing the computer program instructions, implements the IP address information management method as described above.
In still another aspect, an embodiment of the present invention provides a computer storage medium, where computer program instructions are stored, and when the computer program instructions are executed by a processor, the method for managing IP address information described above is implemented.
According to the IP address management method, the IP address management device, the IP address management equipment and the computer storage medium, the accuracy of the registered data can be ensured. In addition, according to the IP address management method, the IP address management device, the IP address management equipment and the computer storage medium, the integrity of the registered data can be improved. In addition, according to the IP address management method, the IP address management device, the IP address management equipment and the computer storage medium, the registered data can be simplified, and the consistency of the registered data can be ensured. In addition, according to the IP address management method, apparatus, device, and computer storage medium of the embodiments of the present invention, registration efficiency of an IP address can be improved by automatic completion, and management can be performed efficiently.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating an IP address management method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an IP address management apparatus according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of an IP address management device according to another embodiment of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus 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 apparatus. Without further limitation, an element defined by the phrases "comprising 8230; \8230;" comprises 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
In order to solve the problem of the prior art, embodiments of the present invention provide a method, an apparatus, a device, and a computer storage medium for managing an IP address. The following first introduces an IP address management method provided in an embodiment of the present invention.
Fig. 1 is a flowchart illustrating an IP address management method according to an embodiment of the present invention. As shown in fig. 1, the method includes a template storage step S101 of storing registration information templates which are set respectively in accordance with the hierarchy of registration subjects; a registration information acquisition step S102 of acquiring registration information including an IP address registered by the registration agent using the corresponding registration information template; an address information merging step S103 of merging the IP addresses for the same registration subject with respect to the registration information, and generating registration data in which the registration subject and the merged IP address are stored in correspondence with each other in the hierarchy; an address information splitting step S104 of sequentially splitting, in the order of the hierarchy, the IP address in the registration data of the upper-level registration subject to which the lower-level registration subject belongs, from the IP address in the registration data of the lower-level registration subject, and generating final registration data in which the registration subjects, the hierarchy of the registration subjects, and the IP address currently available to the registration subjects are stored in association with each other.
The description will be made taking IPv6 address management as an example. The IPv6 address is 128 bits long, a large amount of complex data calculation is needed for merging and splitting the registered data, and the IPv6 information registration method directly influences the accuracy, the integrity and the registration efficiency of the data. Therefore, it is necessary to establish an automatic means to realize effective management of IPv6 address information.
The IPv6 address is expressed by a 16-system, is divided into 8 groups, and is marked in the middle by the following formula: "separate, each group of 4 16-ary numbers, IPv6 information registration requires that an IPv6 address be completely represented by 32 letters, for example:
2400:18c0:0000:0000:0000:0000:0000:0000
2400:18c0:0000:0000:000A:B000:0000:0000
2001:0410:0000:1234:FB00:1400:5000:45FF
for a telecom operator, IPv6 addresses are generally planned according to a hierarchy, and here, the hierarchy may be divided according to a service type, an administrative division, or both. For example, in planning, planning is performed according to business and provinces, then planning is performed according to cities, and finally, the planning is distributed to users. In the following, for example, by using china mobile, a group client plans an IP address to a provincial mobile company (hereinafter, abbreviated as "provincial company") as a provincial IP address management company at a first level, plans a local city mobile company (hereinafter, abbreviated as "local city company") as a local city IP address management company at a second level, and finally allocates the IP address to a user.
In order to simplify the registration data and ensure the data consistency, the address needs to be merged and split in the registration process of the IPv6 address information. Here, the merge means that the IP addresses of the registration subjects are collected for each registration subject, and the registration data of the IP addresses including the start address and the end address of the registration subject is acquired. The splitting is to split the merged IP address of the above merged IP address into registration data including IP addresses of registration subjects having a subordinate relationship from the highest hierarchy to the lowest hierarchy by decomposing the merged IP address of the subordinate last hierarchy registration subject by the merged IP address of the next hierarchy registration subject according to the hierarchy when there are registration subjects of a plurality of hierarchies, that is, split the merged IP address of the last hierarchy registration subject into sections that can be used by each next hierarchy registration subject and IP address sections that can be used by the last hierarchy registration subject not assigned to the next hierarchy registration subject. In other words, the IP address is divided into IP address sections that can be used by the respective registration subjects,
the IP address management method of the present invention will be described below by taking a group client address of a company of a certain province of the china mobile group as an example.
As the IP address management method, registration information templates, which are set individually in accordance with the hierarchy of the registration subject, are stored first.
In the IP address management, registration subjects for performing IP address registration include, for example, registration units of provincial companies, prefecture companies 1, prefecture companies 2, prefecture companies 3, prefecture companies 4, prefecture companies 5, prefecture companies 6, users 1 under the prefecture companies 2, and users 2 under the prefecture companies 2. The registration subject address includes a primary registration address for a provincial company, a secondary registration address for a prefecture company, and a user registration address for a user. That is, for a group client of a certain province company, an IP address having a certain length is first assigned; then, for group clients belonging to local companies of provincial companies, IP addresses in different ranges are respectively divided from the IP addresses to be allocated, and for the IP addresses allocated to the local companies, the local companies which manage the IP addresses cannot be used currently; for a group client of a subordinate city company, an IP address is further divided from IP addresses assigned to the city company and assigned, and similarly, an IP address already assigned to a user is currently unavailable as a city company that manages the IP address.
Tables 1 to 3 show address examples of corporate customers of different hierarchies, respectively. Table 1 illustrates the primary registration addresses of group customers of provincial companies.
TABLE 1
Figure BDA0002346823870000051
Figure BDA0002346823870000061
Table 2 illustrates the secondary registration addresses of group customers of local companies that the province company belongs to.
TABLE 2
Type of service Registering a subject IPv6 address
Group clients Di city Co., ltd 1 2409:880C:000::/40
Group clients Korea company 1 2409:880C:100::/40
Group clients Prefecture Co.2 2409:880C:200::/40
Group clients Prefecture Co.2 2409:880C:300::/40
Group clients Di city Co., ltd 3 2409:880C:400::/40
Group clients Di city Co., ltd 3 2409:880C:500::/40
Group clients Prefecture Co., ltd 4 2409:880C:600::/40
Group clients Prefecture Co.4 2409:880C:700::/40
Group clients Prefecture Co Ltd 5 2409:880C:800::/40
Group clients Korea 5 2409:880C:900::/40
Group clients Prefecture Co., ltd 6 2409:880C:A00::/40
Group clients Prefecture Co., ltd 6 2409:880C:B00::/40
Table 3 illustrates user registration addresses subordinate to the local company 2 for group customers.
TABLE 3
Type of service Administration unit Registering a subject IPv6 address
Group clients Di city Co Ltd 2 User 1 2409:880C:201:10::/60
Group clients Prefecture Co.2 User 2 2409:880C:201:20::/60
A registration information template is established in advance for the registration subject of each hierarchy, for example, a first-level registration information template is established corresponding to the case where the provincial company is the registration subject; corresponding to the condition that the city company is the registration subject, establishing a secondary registration information template; a user registration information template is created in accordance with a case where the user is a registration subject. And storing the pre-established registration information template. The registration of the registration subject is performed using the registration template, and as shown in the registration information in tables 4 and 5, the primary registration information template and the secondary registration information template may include items such as a service type, a management unit, an IPv6 address, registration contents, and a registration hierarchy, and the user registration template may include, as shown in table 6, end user items in addition to the items. Here, the service type includes, for example, a group client, a home broadband, and the like, the management unit indicates a body having an assignment right to an IP address, the IPv6 address indicates an IP address that can be used by the registered body, the registration content includes at least a name and the like as the registered body, the registration hierarchy indicates a hierarchy where the registered user is located, and the end user indicates a name of a user who finally uses the registered IP address. The above is merely an example of registering a template, and is not limited thereto.
Then, registration information registered by the registration agent using its corresponding registration template is acquired. Here, the registration information includes at least a registration subject, an IPv6 address, and a registration hierarchy.
Tables 4 to 6 show the acquired registration information after the registration of the registration subjects with the registration template.
When the registration subject for registration is a provincial company, since the address of the provincial company belongs to the primary registration address, the primary registration information template corresponding to the provincial company is selected, and primary registration is completed. Table 4 illustrates a table in which primary registration is completed.
TABLE 4
Type of service Administration unit IPv6 address Registering content Registration hierarchy
Group clients Provincial company 2409:880C::/32 Provincial company registration content Primary registration
Group clients Provincial company 2409:880D::/32 Provincial company registration content Primary level registration
In the case where a prefecture company (abbreviated as "prefecture" in the table) subordinate to the provincial company is registered, since the IP address of the prefecture company belongs to the secondary registration address, the secondary registration information template of the prefecture company is selected, and secondary registration is completed. Table 5 shows a table for completing the secondary registration.
TABLE 5
Figure BDA0002346823870000071
Figure BDA0002346823870000081
If the registered user is a user under the city, the user registration information template is selected to complete the user registration. Table 6 illustrates a table in which user registration is completed.
TABLE 6
Figure BDA0002346823870000082
At this point, the information acquisition of the registered subject is completed. However, the above-mentioned acquired information is messy, the data size is large, and the allocation and use of IP addresses from a higher layer to a lower layer cannot be clearly seen, so that it is necessary to merge and split the acquired IP addresses.
First, the IP addresses are merged. The IP addresses are combined for the registration information by the same registration agent, thereby generating registration data of each hierarchy. Tables 7 to 9 show registration data obtained by merging IP addresses for each hierarchy.
Table 7 illustrates the primary registration data after merging the IP addresses of the provincial company registration subjects. The provincial company includes two pieces of registration information, both pieces of registration information are primary registration information because the provincial company is a primary registration subject, the IP address registered in one piece of registration information is "2409. Here, merging the IP address "2409 c:/32" of the province company in table 1 with the IP address "240880d:/32", and since the two IP addresses are consecutive, one piece of merged IP address registration information is obtained for the starting address "240880c 000000000000", the ending address "880ffffff. The start address here is the minimum value of the acquired registered IP addresses of the provincial company, and the end address is the maximum value of the acquired registered IP addresses of the provincial company. Here, first-level registration data is generated as shown in table 7, which is stored so as to include the registration content of the registration subject name, the registration hierarchy of the hierarchical subject, and the correspondence between the start address and the end address of the registration subject in accordance with the registration subject name.
TABLE 7
Figure BDA0002346823870000091
Table 8 illustrates the secondary registration data after merging the IP addresses of the local companies. The local company corresponds to the second-level registration agent, and the IP addresses are merged for the same local company for the registration information. For example, the IP address "2409 c of local company 1 in table 2 is merged with two pieces of registration information of 880c. Here, the start address is the minimum value of the acquired IP addresses registered by the local company 1, and the end address is the maximum value of the acquired IP addresses registered by the local company 1. Similarly, address information of prefecture 2, prefecture 3, 8230, prefecture 6 are merged to obtain IP address information including a start address and an end address corresponding to prefecture 2, prefecture 3, 8230, prefecture 6, respectively. Here, as shown in table 8, secondary registration data is generated which is stored so as to include the registration content of the name of the registration subject in accordance with the name of the registration subject, the registration hierarchy of the hierarchy subject, and the correspondence of the start address and the end address of the registration subject.
TABLE 8
Figure BDA0002346823870000092
Figure BDA0002346823870000101
Table 9 exemplifies user registration data in which IP addresses are merged for registration information by the user registration agent. For example, the IP address of user 1 subordinate to local company 2 in table 2 is only "2409:/60", and there is no IP address to address merge therewith, here, it is expressed as one piece of IP address information of the start address "240880c 0200010000", the end address "2400201. Here, the start address is the minimum value of the IP addresses registered by the acquired user 1, and the end address is the maximum value of the IP addresses registered by the acquired user 1. User registration data is also generated for user 2 described below of city company 2. Here, as shown in table 9, user registration data is generated which includes the registration contents of the name of the registration subject in accordance with the name of the registration subject, the registration hierarchy of the hierarchy subject, and the start address and end address of the registration subject stored in association with each other.
TABLE 9
Figure BDA0002346823870000102
Through the above-described processing, the IP address information registered by the acquired registration agent is merged for each registration agent, and registration data obtained by merging IP addresses for each registration agent name for each hierarchy as in tables 7 to 9 is acquired.
By the above-described merging processing, the amount of data managed is reduced.
However, after the merging process, the usage and allocation of IP addresses having a top-bottom hierarchical relationship cannot be further observed, and therefore, the merged registration information needs to be split. The description is continued by taking the above example as an example.
Table 10 and table 11 illustrate registered data obtained by splitting the synthesized IP address, respectively. In the splitting, the IP address in the registration data of the upper level registration master to which the lower level registration master belongs is split by the IP address in the registration data of the lower level registration master to split the IP address in the registration data of the upper level registration master into the IP address in the registration data of the lower level registration master and the IP address of the upper level registration master which is not assigned to the lower level registration master to which the lower level registration master belongs.
As shown in table 10, the address information of the registered data of local cities 1 to 6 is used to split the merged address information of the affiliated provincial companies. The IP address of the province company as the primary registration subject is an IP address of 240c. The following IP addresses (start address: 2400000) are. The registration data for the first splitting of the IP address shown in table 10 is obtained by the above.
Watch 10
Figure BDA0002346823870000111
Figure BDA0002346823870000121
As shown in table 11, the merged address information of the affiliated local company is split by using the merged IP address information of the user registration agent, and the final registration data shown in table 11 is obtained, which includes the IP address of the provincial company, the IP address of the local company, and the usage and allocation of the IP address of the user.
Specifically, the merged IP address information of the affiliated local city company 2 is split by using the merged IP address information of the user 1 and the user 2. The IP address of user 1 used is 2400000c 0200010000, the: the unassigned home address of local company 2 is 2409; the starting address used by user 1 is 2409 c; the used starting address of user 2 is 2409; the unassigned home address of the prefecture company 2 is 2409. The registration data shown in table 11 is final registration data including IP addresses usable by each user registered in accordance with the user at the lowest hierarchy level; a surplus IP address other than the IP address assigned to the user, which can be controlled by the local company performing the secondary registration; and the rest of the IP addresses except the IP address allocated to the local company, which can be controlled by the provincial company performing the primary registration. Each piece of registration data is stored in association with at least data including a start address, an end address, registration contents including a registration subject, and a registration level. By the result obtained by splitting, the use condition of the IP address can be clearly observed, so that the IP address can be better managed.
TABLE 11
Figure BDA0002346823870000131
By the synthesis, IPv6 network segments can be automatically merged, registration data can be simplified, and the consistency of the registration data can be ensured by splitting the registration data step by step, so that the IP address of a registered user can be effectively and simply managed.
Fig. 2 is a block diagram of an IP address management apparatus according to an embodiment of the present invention. The IP address management device 200 includes: a template storage unit 201 that stores registration information templates that are set respectively in accordance with the hierarchy of registration subjects; a registration information acquisition unit 202 that acquires registration information including an IP address registered by the registration agent using the corresponding registration information template; an address information merging unit 203 that merges the IP addresses by the same registration agent with respect to the registration information, and generates registration data in which the registration agent is stored in association with the merged IP address in the hierarchy; an address information splitting unit 204 that sequentially splits an IP address in the registration data of an upper registration agent to which a lower registration agent belongs, in the order of the hierarchy, from an IP address in the registration data of the lower registration agent, and generates final registration data in which the respective registration agents, the hierarchy of the registration agents, and an IP address that the registration agents can currently use are stored in association with each other.
The operation method of each unit of the IP address management device is the same as the above-mentioned description of the IP address management method, and is not described here again.
Fig. 3 is a schematic diagram illustrating a hardware structure of IP address management according to an embodiment of the present invention.
The IP address management device may comprise a processor 301 and a memory 302 storing computer program instructions.
In particular, the processor 301 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured as one or more Integrated circuits implementing embodiments of the present invention.
Memory 302 may include mass storage for data or instructions. By way of example, and not limitation, memory 302 may include a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, tape, or Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 302 may include removable or non-removable (or fixed) media, where appropriate. The memory 302 may be internal or external to the integrated gateway disaster recovery device, where appropriate. In a particular embodiment, the memory 302 is a non-volatile solid-state memory. In a particular embodiment, the memory 302 includes Read Only Memory (ROM). Where appropriate, the ROM may be mask-programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically Alterable ROM (EAROM), or flash memory, or a combination of two or more of these.
The processor 301 realizes any one of the IP address management methods in the above embodiments by reading and executing computer program instructions stored in the memory 302.
In one example, the IP address management device may also include a communication interface 303 and a bus 310. As shown in fig. 3, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 to complete communication therebetween.
The communication interface 303 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiment of the present invention.
Bus 310 comprises hardware, software, or both coupling the components of the IP address management device to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 310 may include one or more buses, where appropriate. Although specific buses have been described and shown in the embodiments of the invention, any suitable buses or interconnects are contemplated by the invention.
The IP address management device may execute the IP address management method in the embodiment of the present invention, thereby implementing the IP address management method and apparatus described in conjunction with fig. 1 and fig. 2.
In addition, in combination with the IP address management method in the foregoing embodiment, an embodiment of the present invention may provide a computer storage medium to implement the method. The computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement any of the IP address management methods in the above embodiments.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include an electronic circuit, a semiconductor memory device, a ROM, a flash memory, an Erasable ROM (EROM), a floppy disk, a CD-ROM, an optical disk, a hard disk, an optical fiber medium, a Radio Frequency (RF) link, and so forth. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this patent describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
As described above, only the specific embodiments of the present invention are provided, and it is clearly understood by those skilled in the relevant art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present invention, and these modifications or substitutions should be covered within the scope of the present invention.

Claims (11)

1. An IP address information management method, comprising:
a template storage step of storing registration information templates which are set respectively according to the levels of registration subjects;
a registration information acquisition step of acquiring registration information including an IP address registered by the registration agent using the corresponding registration information template;
an address information merging step of merging the IP addresses for the same registration subject as the registration information to generate registration data in which the registration subject and the merged IP address are stored in correspondence with each other in the hierarchy;
an address information splitting step of sequentially splitting, in the order of the hierarchy, an IP address in the registration data of an upper-level registration subject to which a lower-level registration subject belongs, from an IP address in the registration data of the lower-level registration subject, and generating final registration data in which the respective registration subjects, the hierarchy of the registration subjects, and an IP address that can be currently used by the registration subjects are stored in association with each other.
2. The IP address information management method according to claim 1,
the registration agent includes a primary registration agent, a secondary registration agent subordinate to the primary registration agent, and a user registration agent subordinate to the secondary registration agent in accordance with the hierarchy.
3. The IP address information management method according to claim 2,
the registration information template includes a primary registration information template corresponding to the primary registration agent, a secondary registration information template corresponding to the secondary registration agent, and a user registration template corresponding to the user registration agent,
in the registration information acquisition step,
acquiring primary registration information registered by the registration agent using the primary registration information template in a case where the registration agent is a primary registration agent,
acquiring second registration information registered by the registration agent using the second registration information template in a case where the registration agent is a second registration agent,
in a case where the registration subject is a user registration subject, user registration information registered by the registration subject with the user registration information template is acquired.
4. The IP address information management method according to claim 3,
in the address information merging step, the IP addresses are merged for each of the registration subjects to generate merged IP addresses, primary registration data is generated in association with the primary registration subject, secondary registration data is generated in association with the secondary registration subject, and user registration data is generated in association with the user registration subject,
the merged IP address includes a start address which is a minimum address of a continuous address section registered by each of the registration subjects acquired in the registration information acquisition step, and an end address which is a maximum address of the continuous address section registered by each of the registration subjects acquired in the registration information acquisition step.
5. The IP address information management method according to claim 4,
in the address information splitting step, the address information is split,
splitting an IP address in the primary registration data of the primary registration subject to which the secondary registration subject belongs according to the IP address in the secondary registration data of the secondary registration subject to generate primary splitting data, wherein the primary splitting data comprises: data correspondingly storing the secondary registration main body, a hierarchy corresponding to the secondary registration main body, and the merged IP address of the secondary registration main body; and data stored in correspondence with the primary registration subject, a hierarchy corresponding to the primary registration subject, and an IP address registered by the primary registration subject that is not assigned to the secondary registration subject,
splitting an IP address in the secondary registration data to which the user registration agent belongs according to an IP address in the user registration data of the user registration agent to generate final registration data, where the final registration data includes: data stored in correspondence with the user registration agent, a hierarchy corresponding to the user registration agent, and the merged IP address of the user registration agent, data stored in correspondence with the secondary registration agent, a hierarchy corresponding to the secondary registration agent, and an IP address not assigned to the user registration agent registered by the secondary registration agent, and data stored in correspondence with the primary registration agent, a hierarchy corresponding to the primary registration agent, and an IP address not assigned to the secondary registration agent registered by the primary registration agent.
6. The IP address information management method according to any one of claims 1 to 5,
the IP address is an IPv6 address.
7. The IP address information management method according to claim 1,
the registration subject divides the hierarchy by at least one of a traffic type and a region.
8. The IP address information management method according to claim 2,
when the registration subjects are hierarchically divided into sections, the primary registration subject is a provincial administration company, and the secondary registration subject is a city administration company.
9. An IP address information management apparatus, comprising:
a template storage unit that stores registration information templates that are set respectively according to a hierarchy of registration subjects;
a registration information acquisition unit that acquires registration information including an IP address registered by the registration agent using the corresponding registration information template;
an address information merging unit that merges the IP addresses according to the same registration subject for the registration information, and generates registration data in which the registration subject is stored in correspondence with the merged IP address according to the hierarchy;
an address information splitting unit that sequentially splits an IP address in the registration data of an upper-level registration subject to which a lower-level registration subject belongs, in the order of the levels, from an IP address in the registration data of the lower-level registration subject, and generates final registration data in which the respective registration subjects, the levels of the registration subjects, and IP addresses that the registration subjects can currently use are stored in association with each other.
10. An IP address information management apparatus, characterized in that the apparatus comprises: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the IP address information management method of any of claims 1-8.
11. A computer storage medium having stored thereon computer program instructions which, when executed by a processor, implement the IP address information management method according to any one of claims 1 to 8.
CN201911397985.5A 2019-12-30 2019-12-30 IP address information management method, device, equipment and computer storage medium Active CN113132499B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911397985.5A CN113132499B (en) 2019-12-30 2019-12-30 IP address information management method, device, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911397985.5A CN113132499B (en) 2019-12-30 2019-12-30 IP address information management method, device, equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN113132499A CN113132499A (en) 2021-07-16
CN113132499B true CN113132499B (en) 2022-10-18

Family

ID=76768022

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911397985.5A Active CN113132499B (en) 2019-12-30 2019-12-30 IP address information management method, device, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN113132499B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11112571A (en) * 1997-09-30 1999-04-23 Nec Corp Multi-dimensional address, and packet transfer system for hierarchized network using the address
EP1835444A1 (en) * 2006-03-17 2007-09-19 Solystic Method of merging postal OCR using credibility functions
CN101572625A (en) * 2009-04-24 2009-11-04 北京锐安科技有限公司 IP partition method
CN103164475A (en) * 2011-12-16 2013-06-19 北京思博途信息技术有限公司 Method and system of combining multiple internet protocol (IP) regional information bases
US8825662B1 (en) * 2012-04-24 2014-09-02 Semcasting, Inc. System and method for creating customized IP zones utilizing predictive modeling
CN105991782A (en) * 2015-02-04 2016-10-05 北京神州泰岳软件股份有限公司 IP address management method and apparatus
CN106506729A (en) * 2017-01-11 2017-03-15 中国互联网络信息中心 A kind of DNS policy resolution method and devices based on DNS views
CN108345596A (en) * 2017-01-22 2018-07-31 分众(中国)信息技术有限公司 Building information converged services platform

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060225015A1 (en) * 2005-03-31 2006-10-05 Kamil Synek Various methods and apparatuses for flexible hierarchy grouping
CN102055817B (en) * 2010-12-30 2014-07-30 中国人民解放军信息工程大学 Method for gathering homologous address beam and homologous gathering network route system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11112571A (en) * 1997-09-30 1999-04-23 Nec Corp Multi-dimensional address, and packet transfer system for hierarchized network using the address
EP1835444A1 (en) * 2006-03-17 2007-09-19 Solystic Method of merging postal OCR using credibility functions
CN101572625A (en) * 2009-04-24 2009-11-04 北京锐安科技有限公司 IP partition method
CN103164475A (en) * 2011-12-16 2013-06-19 北京思博途信息技术有限公司 Method and system of combining multiple internet protocol (IP) regional information bases
US8825662B1 (en) * 2012-04-24 2014-09-02 Semcasting, Inc. System and method for creating customized IP zones utilizing predictive modeling
CN105991782A (en) * 2015-02-04 2016-10-05 北京神州泰岳软件股份有限公司 IP address management method and apparatus
CN106506729A (en) * 2017-01-11 2017-03-15 中国互联网络信息中心 A kind of DNS policy resolution method and devices based on DNS views
CN108345596A (en) * 2017-01-22 2018-07-31 分众(中国)信息技术有限公司 Building information converged services platform

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Detecting P2P bots by mining the regional periodicity;Yong QIAO等;《Journal of Zhejiang University-Science C(Computers & Electronics)》;20130903(第09期);全文 *
银行内联网IP地址设计方案;杨亦斌;《中国金融电脑》;20020725(第07期);全文 *

Also Published As

Publication number Publication date
CN113132499A (en) 2021-07-16

Similar Documents

Publication Publication Date Title
CN110650219B (en) IPv6 address allocation method and device, electronic equipment and storage medium
CN102904824B (en) Service providing entity selection method and device
CN103064757A (en) Method and system for backing up data
CN113225407B (en) Equipment identification information management method and device, electronic equipment and storage medium
CN101360345A (en) Data service management method, apparatus and system
CN108156095B (en) Resource determination method and device and NFVO
JP2002344486A5 (en)
CN109446791A (en) New equipment recognition methods, device, server and computer readable storage medium
CN102821149A (en) Method and device for selecting service providing entity
CN113132499B (en) IP address information management method, device, equipment and computer storage medium
CN104969598B (en) A kind of method and apparatus using white spectrum communication
CN110572278B (en) Method and device for positioning information of three-layer gateway of metropolitan area network
CN107277189A (en) A kind of sorting technique for full IP application scenarios
CN114697291B (en) Method, device, server and storage medium for acquiring available IP address field
CN110972258B (en) Method and device for establishing position fingerprint database
CN105656706A (en) Business data processing method and device
CN112468480B (en) Data association method, device, equipment and computer storage medium
CN103379148A (en) Cloud calculator and method for processing files through cloud calculator
CN107181831B (en) Reverse IP positioning method
CN111626610B (en) Order scheduling method, system and electronic equipment
CN114553819B (en) IPv6 address identification method and device
Berenguer et al. Radiography of internet autonomous systems interconnection in Latin America and the Caribbean
CN106160896B (en) Frequency spectrum sharing method based on cognitive database and frequency spectrum perception and device
CN114118944A (en) Forensic laboratory grading management method, terminal device and storage medium
CN113840017A (en) Automatic IP address allocation method and device, electronic equipment and computer 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
GR01 Patent grant
GR01 Patent grant