CN108156275B - IP address allocation method, device, electronic equipment and storage medium - Google Patents

IP address allocation method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN108156275B
CN108156275B CN201711381063.6A CN201711381063A CN108156275B CN 108156275 B CN108156275 B CN 108156275B CN 201711381063 A CN201711381063 A CN 201711381063A CN 108156275 B CN108156275 B CN 108156275B
Authority
CN
China
Prior art keywords
address
user
addresses
parameter
resource pool
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
CN201711381063.6A
Other languages
Chinese (zh)
Other versions
CN108156275A (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.)
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology Co Ltd
Original Assignee
Beijing Kingsoft Cloud Network Technology Co Ltd
Beijing Kingsoft Cloud Technology 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 Beijing Kingsoft Cloud Network Technology Co Ltd, Beijing Kingsoft Cloud Technology Co Ltd filed Critical Beijing Kingsoft Cloud Network Technology Co Ltd
Priority to CN201711381063.6A priority Critical patent/CN108156275B/en
Publication of CN108156275A publication Critical patent/CN108156275A/en
Application granted granted Critical
Publication of CN108156275B publication Critical patent/CN108156275B/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
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Abstract

The embodiment of the invention provides an IP address allocation method, an IP address allocation device, electronic equipment and a storage medium, and relates to the technical field of communication, wherein the method comprises the following steps: receiving an IP address acquisition request of a user; determining a target subnet used by a user; under the determined target subnet, a first IP address resource pool is obtained by determining a first address parameter and a second address parameter of an IP address under the target subnet; and responding to the IP address acquisition request, and determining the IP address allocated to the user in the first IP address resource pool. The IP address allocation method, the IP address allocation device, the electronic equipment and the storage medium provided by the embodiment of the invention effectively improve the number of the IP addresses which can be provided for the user and enhance the user experience.

Description

IP address allocation method, device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an IP address allocation method and apparatus, an electronic device, and a storage medium.
Background
The cloud server is a computing service which is simple, efficient, safe, reliable and elastic in processing capacity. The management mode is simpler and more efficient than that of a physical server. A user can rapidly create or release any plurality of cloud servers without purchasing hardware in advance.
However, when the current cloud enterprise provides cloud server IP for users, a certain number of IP addresses are often provided under a certain subnet, and when the IP address demand of the user is large, the demand of the user is difficult to meet.
Disclosure of Invention
The invention aims to provide an IP address allocation method, an IP address allocation device, electronic equipment and a storage medium, which can effectively increase the number of IP addresses provided for a user and enhance user experience.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides an IP address allocation method, which is applied to a DHCP server, and the method includes: receiving an IP address acquisition request of a user; determining a target subnet used by a user; under the determined target subnet, a first IP address resource pool is obtained by determining a first address parameter and a second address parameter of an IP address under the target subnet, wherein the first IP address resource pool comprises all IP addresses meeting the requirements of users, the first address parameter and the second address parameter are both variable parameters, and different IP addresses are obtained by the change of at least one parameter of the first address parameter and the second address parameter; and responding to the IP address acquisition request, and determining the IP address allocated to the user in the first IP address resource pool.
In a second aspect, an embodiment of the present invention provides an IP address allocation apparatus, where the apparatus includes: the IP address allocation response module is used for receiving an IP address acquisition request of a user; a subnet determining module, configured to determine a target subnet used by a user; a first IP address resource pool generating module, configured to obtain, in the determined target subnet, a first IP address resource pool by determining a first address parameter and a second address parameter of an IP address in the target subnet, where the first IP address resource pool includes all IP addresses meeting user requirements, the first address parameter and the second address parameter are both variable parameters, and different IP addresses are obtained through a change in at least one of the first address parameter and the second address parameter; and the IP address allocation module is used for responding to the IP address acquisition request and determining the IP address allocated to the user in the first IP address resource pool.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory configured to store one or more programs; a processor. The one or more programs, when executed by the processor, implement the IP address assignment method described above.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the IP address allocation method described above.
In a fifth aspect, an embodiment of the present invention provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the IP address allocation method described above.
Compared with the prior art, the IP address allocation method, the IP address allocation device, the electronic device, and the storage medium provided in the embodiments of the present invention can effectively increase the number of IP addresses available to a user in a certain target subnet and enhance user experience by changing at least one of the first address parameter and the second address parameter in a certain target subnet when the user sends an IP address acquisition request to the DHCP server.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 shows a schematic flow chart of an IP address assignment method according to a first embodiment of the present invention;
FIG. 2 is a schematic flow chart of the substeps of step S300 in FIG. 1;
FIG. 3 is another schematic flow chart of the substeps of step S300 in FIG. 1;
FIG. 4 is a schematic flow chart of the substeps of step S400 in FIG. 1;
FIG. 5 is another schematic flow chart of the substeps of step S400 in FIG. 1;
FIG. 6 is a schematic diagram illustrating the operation of the IP address assignment method provided in FIG. 5;
FIG. 7 is another schematic flow chart of the substeps of step S400 in FIG. 1;
FIG. 8 is another schematic flow chart of the substeps of step S400 in FIG. 1;
fig. 9 is a schematic structural diagram showing an IP address assigning apparatus according to a second embodiment of the present invention;
fig. 10 is a schematic structural diagram illustrating a first IP address resource pool generating module of an IP address allocating apparatus according to a second embodiment of the present invention;
fig. 11 is another schematic structural diagram of a first IP address resource pool generating module of an IP address allocating apparatus according to a second embodiment of the present invention;
fig. 12 is a schematic structural diagram showing an IP address assigning module of an IP address assigning apparatus according to a second embodiment of the present invention;
fig. 13 is another schematic structural diagram of an IP address assignment module of an IP address assignment device according to a second embodiment of the present invention;
fig. 14 is another schematic structural diagram of an IP address assignment module of an IP address assignment device according to a second embodiment of the present invention;
fig. 15 is another schematic structural diagram of an IP address assignment module of an IP address assignment device according to a second embodiment of the present invention;
fig. 16 shows a schematic block diagram of an electronic device according to a second embodiment of the present invention.
In the figure: 10-an electronic device; 100-a memory; 200-a communication interface; 300-a processor; 40-IP address assignment means; 400-IP address assignment response module; 500-subnet determination module; 600-a first IP address resource pool generating module; 611-IP address obtaining unit; 612-a first IP address resource pool generating unit; 621-a first IP address resource pool obtaining unit; 622-IP address tagging unit; 700-IP address assignment module; 711-IP address number determination unit; 712-IP address determination unit; 721-first address parameter confirmation unit; 722-IP address generating unit; 723-IP address selection unit; 731-address parameter validation unit; 732-a lookup unit; 733-IP address confirmation unit; 741 — a first address parameter receiving unit; 742-IP address lookup unit; 743-second address parameter receiving unit.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, 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 phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
The first embodiment:
referring to fig. 1, fig. 1 is a schematic flow chart of an IP address allocation method according to a first embodiment of the present invention. At present, when a cloud enterprise provides cloud server IP for a user, only two hundred or more IP addresses are often provided under a certain subnet, but with the increasing of the number of users, when the number of cloud servers to be deployed is one, two or more thousand or more in actual supply, the existing technology is difficult to meet the requirements of the user.
The inventor finds in practical work that only two hundred or more specific IP addresses can be provided under a certain subnet because when the subnet mask of the IP address of the DHCP server (Dynamic Host Configuration Protocol) is 255.255.255.0, it masks off only one byte of address parameter when providing the IP address, resulting in that the DHCP server fixes three bytes of address parameter when providing the specific IP address. For example: assuming that the address of a DHCP server is a.b.c.d, when the subnet mask of the DHCP server is 255.255.255.0, since the last address parameter D is masked by the subnet mask, the address of the DHCP server can only be a.b.c.x when providing a specific IP address to a user (where X varies from 0 to 255 and is not equal to D), and at this time, the IP address that the DHCP server can provide under a certain subnet only includes two hundred.
For the above reasons, the inventor found in practical work that when the subnet mask of the DHCP server is adjusted to 255.255.0.0, it masks off the address parameter of two bytes altogether when providing an IP address, so that the DHCP server fixes only the address parameter of two bytes when providing a specific IP address. That is, assuming that the address of one DHCP server is a.b.c.d, when the subnet mask of the DHCP server is 255.255.0.0, since the last two address parameters C and D are masked by the subnet mask, the specific IP address provided to the user can be represented as a.b.x.y (where a and B are unchanged, X ranges from 0 to 255, and Y ranges from 0 to 255), wherein the same IP address as the DHCP server cannot be included in the IP addresses obtained by the change of X and Y, that is, the IP address reserved in the protocol is discarded, and when the subnet mask is 255.255.255.0, the specific IP address that the DHCP server can provide rises from the first two hundred to six million under a certain subnet. And the reserved IP address in the protocol is the reserved IP address in the TCP/IP protocol.
Based on the above analysis, the IP address allocation method provided in the first embodiment of the present invention may be applied to a DHCP server, where the DHCP server may provide up to sixty thousand specific IP addresses under a certain target subnet, and the method may include the following steps:
s100, receiving an IP address acquisition request of a user.
In this embodiment, the user may send an IP address acquisition request to the DHCP server according to the actual needs of the user. At this time, when receiving the IP address acquisition request of the user, the DHCP server may determine whether the user is a new user or an old user according to the IP address of the user.
S200, determining a target subnet used by the user.
In this embodiment, as an implementation manner, after receiving an IP address acquisition request of a user, the DHCP server may allocate a new subnet section as a target subnet when the DHCP server determines that the user is a new subscriber according to the IP address of the user; when the DHCP server judges that the user is an old user, the IP address of the user is analyzed, the subnet of the current IP address of the user can be used as the target subnet, and a new subnet section can be allocated as the target subnet of the user according to the requirement, so as to improve the experience of the user.
As another implementation manner, in some other embodiments of the present invention, a target subnet may be determined according to the IP address providing rule of the DHCP server itself, so as to provide a specific IP address for the user.
S300, under the determined target subnet, a first IP address resource pool is obtained by determining a first address parameter and a second address parameter of the IP address under the target subnet.
In this embodiment, after obtaining a determined target subnet in step S200, all IP addresses meeting user requirements under the target subnet are obtained by determining a first address parameter and a second address parameter of an IP address under the target subnet, where the first address parameter and the second address parameter are both variable parameters. For example: when the IP address of the DHCP server is 17.102.1.1, the IP address that can be determined is in the general form of 17.102.x.y, and at least one of X and Y can be changed to obtain different IP addresses according to the change rule of the first address parameter X and the second address parameter Y, that is, when X is 1, Y can be changed from 0 to 255, and when X is 2, Y can be changed from 0 to 255. The first IP address resource pool comprises all IP addresses meeting the requirements of users.
S400, responding to the IP address acquisition request, and determining the IP address allocated to the user in the first IP address resource pool.
In this embodiment, after the IP address meeting the user requirement is obtained from the sixty-thousand IP addresses in the target subnet in step S400, and the first IP address resource pool is generated, the DHCP server responds to the IP address obtaining request of the user, and determines the IP address allocated to the user in the first IP address resource pool.
Based on the above design, in the IP address allocation method provided in the first embodiment of the present invention, when a specific IP address is provided to a user, by determining the value of the first address parameter and the value of the second address parameter in a certain target subnet, the number of IP addresses that can only be provided in a number of two hundred and more than two hundred in a certain target subnet in the prior art is increased to the number of IP addresses that can be provided in a number of sixty thousand, so that a large number of IP address acquisition requirements of the user can be met in a target subnet, and user experience is enhanced.
Because all the determined IP addresses in the determined target subnet may include some IP addresses occupied by users and some IP addresses agreed to be unusable in a protocol, an IP address meeting the user requirement is selected from all the determined IP addresses in the determined target subnet to generate a first IP address resource pool, and different policies may be set, an implementation manner provided by the embodiment of the present invention is: and eliminating IP addresses which are occupied by users and cannot be used in the protocol in all IP addresses under the target subnet, and taking the remaining IP addresses as a first IP address resource pool meeting the requirements of the users. Referring to fig. 2, fig. 2 is a schematic flow chart of the sub-steps of step S300 in fig. 1. As an implementation manner, in the present embodiment, the step S300 may include the following sub-steps:
s311, under the target subnet, all IP addresses under the target subnet are obtained through the change of at least one parameter of the first address parameter and the second address parameter.
In this embodiment, after obtaining a determined target subnet in step S200, all IP addresses in the target subnet are obtained by determining a change in at least one of the first address parameter and the second address parameter of the IP address in the target subnet.
S312, all IP addresses under the target subnet are removed from the IP addresses which cannot be used currently, and the remaining IP addresses are used as a first IP address resource pool meeting the requirements of the user.
In this embodiment, after all IP addresses in the target subnet are obtained in step S311, the IP addresses that cannot be used currently in all IP addresses in the target subnet are removed, and the remaining IP addresses are used as the first IP address resource pool meeting the user requirement, where the IP addresses that cannot be used currently include IP addresses that have been occupied by users and/or IP addresses that cannot be used in a protocol.
The manner of obtaining the IP address already occupied by the user may be, but is not limited to: when the DHCP server acquires the IP address acquisition request of the user, the DHCP server acquires the IP address allocated by the user when all the previous IP address requests according to the IP address of the user, and the IP address allocated when all the previous IP address requests is the IP address occupied by the user when the current IP address acquisition request is carried out.
Based on the above design, in the IP address allocation method provided in the first embodiment of the present invention, when a specific IP address is provided to a user, after all IP addresses of the target subnet are obtained, the IP addresses occupied by the user are removed, and the remaining IP addresses are used as the first IP address resource pool meeting the user requirements and provided to the user, so that it is ensured that the IP addresses provided to the user are available IP addresses, and the experience of the user is enhanced.
As another policy for obtaining the first IP address resource pool, another implementation manner provided in the embodiment of the present invention is: and respectively labeling the IP addresses which can be used by the user in all the IP addresses under the target subnet, the IP addresses which are occupied by the user and can not be used in the protocol by adopting different identifications. Referring to fig. 3, fig. 3 is another schematic flow chart of the sub-steps of step S300 in fig. 1. As another implementation manner, in this embodiment, step S300 may further include the following sub-steps:
s321, under the target subnet, obtaining all IP addresses under the target subnet through the change of at least one parameter of the first address parameter and the second address parameter.
In this embodiment, after obtaining a determined target subnet in step S200, all IP addresses in the target subnet are obtained by determining a change in at least one of the first address parameter and the second address parameter of the IP address in the target subnet.
S322, all IP addresses under the target subnet are used as a first IP address resource pool meeting the user requirements, wherein the IP addresses in the first IP address resource pool are respectively marked with an identifier whether the IP addresses are occupied by the user.
In this embodiment, after obtaining all the IP addresses in the target subnet through step S321, the DHCP server obtains the IP addresses allocated by the user when the user requests all the previous IP addresses according to the IP address of the user, and labels all the IP addresses in the target subnet by using different identifiers, so as to distinguish the occupied IP addresses from the unoccupied IP addresses in all the IP addresses in the target subnet.
For example, when an IP address is obtained, each IP address may be assigned with associated field information, which may be used to characterize whether the IP address is already occupied. Assigning 1 to the assigned IP address field of all previous IP address requests, and assigning 0 to the assigned IP address field of the unoccupied IP address in all IP addresses under the target subnet, so as to represent whether the specific IP address in all IP addresses under the target subnet is occupied. When the associated of the target IP address is 0, it means that the target IP address is available; when the associatedness of the target IP address is 1, it is characterized that the target IP address is occupied.
It should be noted that, in the IP address allocation method provided in the first embodiment of the present invention, all the IP addresses in the first IP address resource pool are labeled to distinguish between an IP address occupied by a user and an IP address not occupied by the user, and the labeling manner may also be: and marking the IP address occupied by the user in the first IP address resource pool and not marking the IP address not occupied by the user, or marking the IP address not occupied by the user and not marking the IP address occupied by the user, or marking by other means, as long as the occupied IP address and the unoccupied IP address in the first IP address resource pool are distinguished.
Based on the above design, in the IP address allocation method provided in the first embodiment of the present invention, when the IP address acquisition request of the user is obtained, the IP addresses already allocated to the user in the target subnet in all past IP address acquisition requests of the user are obtained at the same time, and when all the IP addresses under the target subnet are provided to the user, the IP addresses are all marked with the identifier of whether the IP addresses are already occupied by the user, so as to ensure that the user definitely determines whether the selected IP addresses are available IP addresses, thereby enhancing user experience.
After a first IP address resource pool meeting user requirements is obtained, different strategies can be set to provide the IP addresses required by the user to the user, and an implementation manner provided by the embodiment of the invention is as follows: and directly distributing the IP addresses meeting the IP address quantity required by the user by the DHCP server according to the IP address quantity required by the user. Referring to fig. 4, fig. 4 is a schematic flow chart of the sub-steps of step S400 in fig. 1. As an implementation manner, in the present embodiment, the step S400 may include the following sub-steps:
s411, obtaining the number of the IP addresses requested by the user according to the IP address obtaining request.
In this embodiment, when the DHCP server obtains the IP address obtaining request of the user and when it is indicated in the IP address obtaining request of the user that the user needs to obtain a plurality of IP addresses, the DHCP server may analyze the IP address obtaining request of the user first to obtain the number of IP addresses requested by the user.
And S412, in the first IP address resource pool, determining the IP addresses meeting the number of the IP addresses requested by the user as the IP addresses allocated to the user.
In this embodiment, after obtaining the number of IP addresses requested by the user through step S411, the DHCP server determines, in the first IP address resource pool, an IP address satisfying the number of IP addresses requested by the user as an IP address allocated to the user according to the number of IP addresses requested by the user.
The manner of determining the IP addresses satisfying the number of IP addresses requested by the user may be, but is not limited to: random generation, sequential arrangement, etc. For example: assuming that the number of the IP addresses requested by the user is 10, at this time, the DHCP server may randomly select 10 IP addresses from the first IP address resource pool to provide to the user, so as to meet the user's requirement; or after the previously allocated IP addresses are passed, according to the sequence number arrangement, 10 specific IP addresses are selected from the first IP address resource pool to be provided to the user, so as to meet the user's requirements.
Based on the above design, according to the IP address allocation method provided in the first embodiment of the present invention, when the number of IP addresses requested by the user is large, IP addresses meeting the user requirement can be allocated to the user at one time according to the predetermined allocation rule, which reduces the user request link, improves the efficiency of allocating a large number of IP addresses to the user, and enhances the user experience.
The embodiment of the invention also provides an implementation mode for determining the IP address allocated to the user, which comprises the following steps: and listing all IP addresses with the same value of the first address parameter in all the IP addresses determined under the target sub-network as the value of the first address parameter input by the user according to the first address parameter input by the user, and allocating the target IP address to the user according to the target IP address selected by the user. Referring to fig. 5, fig. 5 is another schematic flow chart of the sub-steps of step S400 in fig. 1. As another implementation manner, in this embodiment, step S400 may further include the following sub-steps:
s421, receiving the value of the first address parameter input by the user.
In this embodiment, after the DHCP server obtains all IP addresses meeting the user requirements under the target subnet according to step S300 to generate the first IP address resource pool, a value of the first address parameter input by the user may be received, so that the user may autonomously select a desired IP address.
S422, in the first IP address resource pool, according to the value of the first address parameter input by the user, all selectable IP addresses with the same first address parameter value of the IP address and the first address parameter value input by the user are searched in the first IP address resource pool.
In this embodiment, after obtaining the value of the first address parameter input by the user, according to the value of the first address parameter input by the user, the DHCP server searches all IP addresses having the same first address parameter value as the first address parameter value input by the user in the first IP address resource pool, and uses the IP addresses as selectable IP addresses, and displays all the selectable IP addresses to the user in a list form.
And S423, receiving the IP address selected by the user from the selectable IP addresses as the IP address determined to be allocated to the user.
In this embodiment, after all the selectable IP addresses determined according to the value of the first address parameter input by the user are obtained and displayed in step S422, the user may select an IP address required by the user according to all the selectable IP addresses displayed in the list, and meanwhile, after receiving an IP address selected by the user from the selectable IP addresses, the DHCP server takes the IP address as an IP address determined to be allocated to the user.
Based on the above design, in the IP address allocation method provided in the first embodiment of the present invention, after all IP addresses meeting user requirements are acquired as the first IP address resource pool in the determined target subnet, according to the value of the first address parameter input by the user, all IP addresses in the first IP address resource pool, where the value of the first address parameter is the same as the value of the first address parameter input by the user, are determined as the selectable IP addresses of the user, and the IP addresses allocated to the user are determined in a manner selected by the user, so as to enhance user experience.
Referring to fig. 6, fig. 6 is an operation diagram illustrating the IP address allocation method provided in fig. 5. In this embodiment, after the DHCP server determines a target subnet, according to the value of the first address parameter input by the user, the DHCP server lists the IP addresses whose values of the first address parameter in all the IP addresses under the target subnet are the same as the value of the first address parameter input by the user, and finally, according to the IP address selected by the user from the listed IP addresses, the IP addresses allocated to the user are determined; meanwhile, according to the method of the first IP address resource pool shown in fig. 3, among all listed IP addresses, the IP addresses already occupied by the user are labeled, and all listed IP addresses are sorted according to the available-allocated order; the allocated IP address can be set to be unselected, so that the situation that one allocated IP address is selected due to the mistaken selection of a user is avoided, and the user experience is enhanced.
The embodiment of the invention also provides an implementation mode for determining the IP address allocated to the user, which comprises the following steps: according to the value of the first address parameter and the value of the second address parameter input by the user, searching an IP address with the value of the first address parameter and the value of the second address parameter being the same as the value of the first address parameter and the value of the second address parameter input by the user in a first IP address resource pool, and determining the IP address as the IP address allocated to the user when the IP address input by the user exists in the first IP address resource pool. Referring to fig. 7, fig. 7 is another schematic flow chart of the sub-steps of step S400 in fig. 1. As another implementation manner, in this embodiment, step S400 may further include the following sub-steps:
s431, receiving the value of the first address parameter and the value of the second address parameter input by the user.
In this embodiment, after the DHCP server obtains all IP addresses meeting the user requirement under the target subnet according to step S300 to generate the first IP address resource pool, the value of the first address parameter and the value of the second address parameter input by the user may be received as the IP addresses selected by the user.
S432, searching a target IP address with the first address parameter value and the second address parameter value which are respectively the same as the first address parameter value and the second address parameter value input by the user in the first IP address resource pool.
In this embodiment, after the value of the first address parameter and the value of the second address parameter input by the user are obtained in step S431, the target IP address with the first address parameter value and the second address parameter value respectively the same as the value of the first address parameter and the value of the second address parameter input by the user may be searched in the first IP address resource pool.
S433, determining the target IP address as the IP address allocated to the user,
in this embodiment, when the IP addresses with the same value of the first address parameter and the same value of the second address parameter, which are input by the user, are found in the first IP address resource pool in step S432, the IP addresses may be determined as the target IP addresses to be allocated to the user; when the IP addresses that are the same as the value of the first address parameter and the value of the second address parameter input by the user are not found in the first IP address resource pool in step S432, an error message may be sent to the user to prompt the user that the address is occupied, and then step S431 is executed again until the IP addresses that are the same as the value of the first address parameter and the value of the second address parameter input by the user can be found in the first IP address resource pool, are used as the determined target IP addresses and are allocated to the user.
Based on the above design, in the IP address allocation method provided in the first embodiment of the present invention, after all IP addresses meeting user requirements are acquired under a determined target subnet as a first IP address resource pool, according to a value of a first address parameter and a value of a second address parameter input by a user, IP addresses that are the same as the value of the first address parameter and the value of the second address parameter input by the user are searched in the first IP address resource pool, and the IP addresses are allocated to the user as the determined target IP addresses, so as to increase user experience.
The embodiment of the invention also provides an implementation mode for determining the IP address allocated to the user, which comprises the following steps: and the IP address determined according to the value of the first address parameter and the value of the second address parameter selected by the user is used as the IP address allocated to the user. Referring to fig. 8, fig. 8 is another schematic flow chart of the sub-steps of step S400 in fig. 1. As another implementation manner, in this embodiment, step S400 may further include the following sub-steps:
s441, the first address parameter selected by the user from all the selectable first address parameters is received.
In this embodiment, after the DHCP server obtains all the IP addresses meeting the user requirement in the target subnet according to step S300 to generate the first IP address resource pool, the first address parameters of all the IP addresses meeting the user requirement in the first IP address resource pool may be sorted, listed according to a certain order and displayed to the user, as the first address parameter selectable by the user, and then the first address parameter selected by the user in all the selectable first address parameters is received, as the first address parameter selected by the user, where all the selectable first address parameters include the first address parameters of all the IP addresses meeting the user requirement in the first IP address resource pool.
S442, according to the selected first address parameter, all selectable IP addresses having the same first address parameter of the IP address as the selected first address parameter are searched in the first IP address resource pool.
In this embodiment, after the first address parameter is selected according to step S441, according to the value of the selected first address parameter, the DHCP server searches all IP addresses having the same value as the first address parameter of the IP address in the first IP address resource pool as selectable IP addresses, and displays all the selectable IP addresses to the user in the form of a list or the like.
S443, receives the IP address selected by the user among all the selectable IP addresses as the IP address determined to be assigned to the user.
In this embodiment, after all the selectable IP addresses determined according to the value of the first address parameter selected by the user are obtained and displayed in step S442, the user may select an IP address required by the user according to all the selectable IP addresses displayed in the list, and at the same time, after receiving an IP address selected by the user from the selectable IP addresses, the DHCP server takes the IP address as an IP address determined to be allocated to the user.
Based on the above design, in the IP address allocation method provided in the first embodiment of the present invention, after all IP addresses meeting the user requirements are acquired as the first IP address resource pool in the determined target subnet, according to the value of the first address parameter selected by the user among all selectable first address parameters, all IP addresses having the same value of all first address parameters in the first IP address resource pool as the selectable IP addresses of the user are determined, and meanwhile, the IP address selected by the user among the selectable IP addresses is used as the IP address determined and allocated to the user, so as to enhance the user experience.
Second embodiment:
referring to fig. 9, fig. 9 is a schematic diagram of an IP address allocating apparatus 40 according to a second embodiment of the present invention. In this embodiment, the IP address allocating apparatus 40 may include an IP address allocating response module 400, a subnet determining module 500, a first IP address resource pool generating module 600, and an IP address allocating module 700.
The IP address assignment response module 400 may be configured to receive an IP address acquisition request of a user.
The subnet determination module 500 can be used to determine a target subnet used by a user.
The first IP address resource pool generating module 600 may be configured to, under the determined target subnet, obtain a first IP address resource pool by determining a first address parameter and a second address parameter of an IP address under the target subnet, where the first IP address resource pool includes all IP addresses meeting user requirements, and obtain different IP addresses through a change of at least one parameter of the first address parameter and the second address parameter.
The IP address allocating module 700 may be configured to determine, in response to the IP address obtaining request, an IP address allocated to the user in the first IP address resource pool.
Selecting an IP address meeting the user requirement from all the determined IP addresses under the determined target subnet to generate a first IP address resource pool, and setting different policies, wherein an implementation manner provided by the embodiment of the invention is as follows: and eliminating IP addresses which are occupied by users and cannot be used in the protocol in all IP addresses under the target subnet, and taking the remaining IP addresses as a first IP address resource pool meeting the requirements of the users. Referring to fig. 10, fig. 10 is a schematic structural diagram of a first IP address resource pool generating module 600 of an IP address allocating apparatus 40 according to a second embodiment of the present invention. In this embodiment, the first IP address resource pool generating module 600 may include an IP address obtaining unit 611 and a first IP address resource pool generating unit 612.
The IP address obtaining unit 611 may be configured to obtain, in the target subnet, all IP addresses in the target subnet through at least one change of the first address parameter and the second address parameter.
The first IP address resource pool generating unit 612 may be configured to eliminate currently unusable IP addresses from all IP addresses in the target subnet, and use the remaining IP addresses as a first IP address resource pool meeting the user requirement, where the currently unusable IP addresses include IP addresses that are currently occupied by the user and/or IP addresses that are unusable in a protocol. .
As another policy for generating the first IP address resource pool, another implementation manner provided by the embodiment of the present invention is: and respectively labeling the IP addresses which can be used by the user in all the IP addresses under the target subnet, the IP addresses which are occupied by the user and can not be used in the protocol by adopting different identifications. Referring to fig. 11, fig. 11 is another schematic structural diagram of a first IP address resource pool generating module 600 of an IP address allocating apparatus 40 according to a second embodiment of the present invention. In this embodiment, the first IP address resource pool generating module 600 may further include a first IP address resource pool obtaining unit 621 and an IP address marking unit 622.
The first IP address resource pool obtaining unit 621 may be configured to obtain, in the target subnet, all IP addresses in the target subnet through a change of at least one parameter of the first address parameter and the second address parameter.
The IP address marking unit 622 may be configured to use all IP addresses in the target subnet as a first IP address resource pool meeting user requirements, where IP addresses in the first IP address resource pool are respectively marked with an identifier indicating whether the IP addresses are occupied by users.
After the first IP address resource pool is obtained, different policies may be set to determine an IP address allocated to a user, and an implementation manner provided by the embodiment of the present invention is as follows: and directly distributing the IP addresses meeting the IP address quantity required by the user by the DHCP server according to the IP address quantity required by the user. Referring to fig. 12, fig. 12 is a schematic structural diagram of an IP address allocating module 700 of an IP address allocating apparatus 40 according to a second embodiment of the present invention. In this embodiment, the IP address assignment module 700 may include an IP address number determination unit 711 and an IP address determination unit 712.
The IP address number determination unit 711 may be configured to obtain the number of IP addresses requested by the user according to the IP address obtaining request.
The IP address determination unit 712 may be configured to determine, in the first IP address resource pool, an IP address that satisfies the number of IP addresses requested by the user.
The embodiment of the invention also provides an implementation mode for determining the IP address allocated to the user, which comprises the following steps: and listing all IP addresses with the same value of the first address parameter in all the IP addresses determined under the target sub-network as the value of the first address parameter input by the user according to the first address parameter input by the user, and allocating the target IP address to the user according to the target IP address selected by the user. Referring to fig. 13, fig. 13 is another schematic structural diagram of an IP address assignment module 700 of an IP address assignment device 40 according to a second embodiment of the present invention. In this embodiment, the IP address allocating module 700 may further include a first address parameter confirming unit 721, an IP address generating unit 722 and an IP address selecting unit 723.
The first address parameter confirmation unit 721 may be configured to receive a value of the first address parameter input by a user.
The IP address generating unit 722 may be configured to search, in the first IP address resource pool, all selectable IP addresses in the first IP address resource pool, where a first address parameter value of an IP address is the same as a first address parameter value input by a user, according to a value of the first address parameter.
The IP address selecting unit 723 may be configured to receive an IP address selected by a user among the selectable IP addresses as an IP address determined to be allocated to the user.
The embodiment of the invention also provides an implementation mode for determining the IP address allocated to the user, which comprises the following steps: according to the value of the first address parameter and the value of the second address parameter input by the user, searching an IP address with the value of the first address parameter and the value of the second address parameter being the same as the value of the first address parameter and the value of the second address parameter input by the user in a first IP address resource pool, and determining the IP address as the IP address allocated to the user when the IP address input by the user exists in the first IP address resource pool. Referring to fig. 14, fig. 14 is another schematic structural diagram of an IP address assignment module 700 of an IP address assignment device 40 according to a second embodiment of the present invention. In this embodiment, the IP address allocating module 700 may further include an address parameter confirming unit 731, a searching unit 732, and an IP address confirming unit 733.
The address parameter confirmation unit 731 may be configured to receive a value of the first address parameter and a value of the second address parameter input by a user.
The searching unit 732 may be configured to search the first IP address resource pool for a target IP address having a first address parameter value and a second address parameter value that are respectively the same as the value of the first address parameter and the value of the second address parameter input by the user.
The IP address confirmation unit 733 may be configured to determine that the target IP address is an IP address assigned to a user.
The embodiment of the invention also provides an implementation mode for determining the IP address allocated to the user, which comprises the following steps: and the IP address determined according to the value of the first address parameter and the value of the second address parameter selected by the user is used as the IP address allocated to the user. Referring to fig. 15, fig. 15 is another schematic structural diagram of an IP address assignment module 700 of an IP address assignment device 40 according to a second embodiment of the present invention. In this embodiment, the IP address allocating module 700 may further include a first address parameter receiving unit 741, an IP address searching unit 742, and a second address parameter receiving unit 743.
The first address parameter receiving unit 741 is configured to receive a first address parameter selected by a user from all selectable first address parameters, where the all selectable first address parameters include all first address parameters of the IP addresses meeting the user requirement in the first IP address resource pool.
The IP address searching unit 742 is configured to search, according to the selected first address parameter, all selectable IP addresses in the first IP address resource pool, where the first address parameter of the IP address is the same as the selected first address parameter.
The second address parameter receiving unit 743 is configured to receive the IP address selected by the user from among all the selectable IP addresses as the IP address determined to be allocated to the user.
Referring to fig. 16, fig. 16 is a schematic structural block diagram of an electronic device 10 according to a second embodiment of the present invention. The electronic device 10 may be, but is not limited to, a Personal Computer (PC), a tablet PC, a laptop portable computer, a car computer, a Personal Digital Assistant (PDA), and the like. The electronic device 10 may include an IP address assignment device 40, a memory 100, a communication interface 200, and a processor 300.
The elements of the memory 100, the communication interface 200 and the processor 300 may be electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The IP address allocating device 40 includes at least one software function module which can be stored in the memory 100 in the form of software or firmware (firmware) or solidified in an Operating System (OS) of the electronic device 10. The processor 300 may be configured to execute one or more programs stored in the memory 100, for example, a software functional module or a computer program included in the IP address allocating apparatus 40, so as to implement the IP address allocating method provided in the first embodiment of the present invention.
The Memory 100 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 100 may be configured to store one or more programs, and the processor 300 may execute the one or more programs after receiving the execution instruction, so as to implement the IP address allocation method provided in the first embodiment of the present invention. The method performed by the server defined by the process disclosed in any of the embodiments of the present invention can be applied to the processor 300, or can be implemented by the processor 300.
The communication interface 200 may be used for signaling or data communication between the electronic device 10 and other nodes or devices.
The processor 300 may be an integrated circuit chip having signal processing capabilities. The Processor 300 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), a voice Processor, a video Processor, and the like; but may also be a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor 300 may be any conventional processor or the like.
In summary, according to the IP address allocation method, apparatus, electronic device and storage medium provided in the embodiments of the present invention, when a user sends an IP address acquisition request to a DHCP server, the number of IP addresses available to the user in a certain target subnet can be effectively increased through a change of at least one parameter of a first address parameter and a second address parameter in the certain target subnet, compared with a scheme in the prior art in which only one address parameter is changeable; meanwhile, the IP addresses meeting the user requirements can be provided at one time according to the user requirements, so that the efficiency of the user when needing a large number of IP addresses at one time is improved; the IP address allocated to the user can be determined in a mode selected by the user independently according to the value of one or two address parameters input by the user, so that the user experience is enhanced; and determining an IP address allocated to the user according to the value of the first address parameter and the value of the second address parameter selected by the user from the selectable first address parameter and the selectable second address parameter, so as to enhance the experience of the user.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.

Claims (12)

1. An IP address allocation method is applied to a DHCP server, and is characterized by comprising the following steps:
receiving an IP address acquisition request of a user;
determining a target subnet used by a user;
under the determined target subnet, a first IP address resource pool is obtained by determining a first address parameter and a second address parameter of an IP address under the target subnet, wherein the first IP address resource pool comprises all IP addresses meeting the requirements of users, the first address parameter and the second address parameter are both variable parameters, and different IP addresses are obtained by the change of at least one parameter of the first address parameter and the second address parameter;
and responding to the IP address acquisition request, and determining the IP address allocated to the user in the first IP address resource pool.
2. The method of claim 1, wherein the step of obtaining a first IP address resource pool by determining a first address parameter and a second address parameter of an IP address under the determined target subnet comprises:
under the target subnet, obtaining all IP addresses under the target subnet through the change of at least one parameter of the first address parameter and the second address parameter;
and eliminating IP addresses which cannot be used currently from all IP addresses under the target subnet, and taking the remaining IP addresses as a first IP address resource pool meeting the requirements of the user, wherein the IP addresses which cannot be used currently comprise the IP addresses which are occupied by the user currently and/or the IP addresses which cannot be used in the protocol.
3. The method of claim 1, wherein the step of obtaining a first IP address resource pool by determining a first address parameter and a second address parameter of an IP address under the target subnet under the determined target subnet comprises:
under the target subnet, obtaining all IP addresses under the target subnet through the change of at least one parameter of the first address parameter and the second address parameter;
and taking all IP addresses under the target subnet as a first IP address resource pool meeting the user requirements, wherein the IP addresses in the first IP address resource pool are respectively marked with an identifier whether the IP addresses are occupied by the user.
4. The method of claim 1, 2 or 3, wherein said step of determining an IP address allocated to a user in said first IP address resource pool in response to said IP address acquisition request comprises:
acquiring a request according to the IP address, and acquiring the number of the IP addresses requested by a user;
and determining an IP address meeting the number of the IP addresses requested by the user as the IP address allocated to the user in the first IP address resource pool.
5. The method of claim 1, 2 or 3, wherein said step of determining an IP address allocated to a user in said first IP address resource pool in response to said IP address acquisition request comprises:
receiving a value of the first address parameter input by a user;
in the first IP address resource pool, according to the value of the first address parameter, searching all selectable IP addresses with the same first address parameter value of the IP address and the first address parameter value input by a user in the first IP address resource pool;
and receiving the IP address selected by the user in the selectable IP addresses as the IP address determined to be allocated to the user.
6. The method of claim 1, 2 or 3, wherein said step of determining an IP address allocated to a user in said first IP address resource pool in response to said IP address acquisition request comprises:
receiving a value of the first address parameter and a value of the second address parameter input by a user;
searching a target IP address with a first address parameter value and a second address parameter value which are respectively the same as the value of the first address parameter and the value of the second address parameter input by a user in the first IP address resource pool;
and determining the target IP address as the IP address allocated to the user.
7. The method of claim 1, 2 or 3, wherein said step of determining an IP address allocated to a user in said first IP address resource pool in response to said IP address acquisition request comprises:
receiving first address parameters selected by a user in all selectable first address parameters, wherein the all selectable first address parameters comprise the first address parameters of all the IP addresses meeting the user requirement in the first IP address resource pool;
searching all selectable IP addresses with the same first address parameter of the IP address and the selected first address parameter in the first IP address resource pool according to the selected first address parameter;
and receiving the IP address selected by the user from all the selectable IP addresses as the IP address determined to be allocated to the user.
8. An IP address assignment apparatus, the apparatus comprising:
the IP address allocation response module is used for receiving an IP address acquisition request of a user;
a subnet determining module, configured to determine a target subnet used by a user;
a first IP address resource pool generating module, configured to obtain, in the determined target subnet, a first IP address resource pool by determining a first address parameter and a second address parameter of an IP address in the target subnet, where the first IP address resource pool includes all IP addresses meeting user requirements, the first address parameter and the second address parameter are both variable parameters, and different IP addresses are obtained through a change in at least one of the first address parameter and the second address parameter;
and the IP address allocation module is used for responding to the IP address acquisition request and determining the IP address allocated to the user in the first IP address resource pool.
9. The apparatus of claim 8, wherein the first IP address resource pool generating module comprises:
an IP address obtaining unit, configured to obtain, in the target subnet, all IP addresses in the target subnet through a change in at least one of the first address parameter and the second address parameter;
and the first IP address resource pool generating unit is used for taking all IP addresses under the target subnet as a first IP address resource pool meeting the user requirement, wherein the IP addresses in the first IP address resource pool are respectively marked with an identifier whether the IP addresses are occupied by the user.
10. The apparatus of claim 8 or 9, wherein the IP address assignment module comprises:
the first address parameter confirming unit is used for receiving the value of the first address parameter input by a user;
the IP address generating unit is used for searching all selectable IP addresses with the same first address parameter value of the IP address and the first address parameter value input by the user in the first IP address resource pool according to the value of the first address parameter;
and the IP address confirmation unit is used for receiving the IP address selected by the user from the selectable IP addresses as the IP address determined to be allocated to the user.
11. An electronic device, comprising:
a memory for storing one or more programs;
a processor;
the one or more programs, when executed by the processor, implement the method of any of claims 1-7.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN201711381063.6A 2017-12-20 2017-12-20 IP address allocation method, device, electronic equipment and storage medium Active CN108156275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711381063.6A CN108156275B (en) 2017-12-20 2017-12-20 IP address allocation method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711381063.6A CN108156275B (en) 2017-12-20 2017-12-20 IP address allocation method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108156275A CN108156275A (en) 2018-06-12
CN108156275B true CN108156275B (en) 2021-03-09

Family

ID=62464029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711381063.6A Active CN108156275B (en) 2017-12-20 2017-12-20 IP address allocation method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108156275B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114244842B (en) * 2021-12-23 2023-07-25 绿盟科技集团股份有限公司 Secure resource scheduling method and device, electronic equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159758A (en) * 2007-10-30 2008-04-09 中兴通讯股份有限公司 Classification associated dynamic host machine configuring protocol option distribution method and device
CN101764856A (en) * 2009-12-17 2010-06-30 华为技术有限公司 IP address allocation method and gateway
CN103002068A (en) * 2012-12-24 2013-03-27 曙光云计算技术有限公司 Partition method of internet protocol (IP) addresses of virtual machine

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078965B (en) * 2012-12-25 2015-07-29 曙光云计算技术有限公司 The IP address management method of virtual machine
US10291578B2 (en) * 2014-10-27 2019-05-14 Hewlett Packard Enierprise Development LP Method to distribute a centralized service
CN105376347B (en) * 2015-12-11 2019-06-18 上海斐讯数据通信技术有限公司 A kind of IP address distribution method and system
CN106302863B (en) * 2016-10-13 2019-08-20 陕西尚品信息科技有限公司 A kind of IP address dynamic allocation method applied to Ad-hoc network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159758A (en) * 2007-10-30 2008-04-09 中兴通讯股份有限公司 Classification associated dynamic host machine configuring protocol option distribution method and device
CN101764856A (en) * 2009-12-17 2010-06-30 华为技术有限公司 IP address allocation method and gateway
CN103002068A (en) * 2012-12-24 2013-03-27 曙光云计算技术有限公司 Partition method of internet protocol (IP) addresses of virtual machine

Also Published As

Publication number Publication date
CN108156275A (en) 2018-06-12

Similar Documents

Publication Publication Date Title
CN112019475B (en) Resource access method, device, system and storage medium under server-free architecture
US11586673B2 (en) Data writing and reading method and apparatus, and cloud storage system
CN106453681B (en) IP address allocation method and device
KR102100323B1 (en) Method and server for the service of machine learning platform
CN113037794B (en) Method, device and system for computing resource allocation scheduling
CN109347839B (en) Centralized password management method and device, electronic equipment and computer storage medium
CN107465687B (en) Method, device and terminal for realizing permission configuration
CN112579622B (en) Method, device and equipment for processing service data
US10282120B2 (en) Method, apparatus and system for inserting disk
CN112243044B (en) Container address allocation method and device
CN112954088A (en) Equipment address allocation method and equipment of CAN network and electronic equipment
CN112087401A (en) Method and device for realizing service quality in distributed storage
CN108156275B (en) IP address allocation method, device, electronic equipment and storage medium
CN109582439B (en) DCN deployment method, device, equipment and computer readable storage medium
CN105072608A (en) Method and device for managing authentication token
CN110851334A (en) Flow statistical method, electronic device, system and medium
CN108282418B (en) Media flow distribution method and device
KR20210043654A (en) Method, apparatus and storage medium for resource organization
CN111367648A (en) Resource allocation method and device
US10904295B2 (en) Dynamically updating feature set recommendation databases
CN113114571A (en) Data packet processing method and device, electronic equipment and storage medium
CN115469961A (en) Method and device for creating container group, electronic equipment and storage medium
CN106453680B (en) IP address allocation method and device
CN111372237A (en) eSIM card operator file management method and device
CN112417259A (en) Media resource processing method, device, equipment and storage 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