CN108156275A - IP address distribution method, device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN108156275A
CN108156275A CN201711381063.6A CN201711381063A CN108156275A CN 108156275 A CN108156275 A CN 108156275A CN 201711381063 A CN201711381063 A CN 201711381063A CN 108156275 A CN108156275 A CN 108156275A
Authority
CN
China
Prior art keywords
address
user
parameter
resource pool
determining
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.)
Granted
Application number
CN201711381063.6A
Other languages
Chinese (zh)
Other versions
CN108156275B (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

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]

Landscapes

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

Abstract

The embodiment of the present invention proposes a kind of IP address distribution method, device, electronic equipment and storage medium, is related to field of communication technology, this method includes:The IP address for receiving user obtains request;Determine targeted subnet used by a user;Under determining targeted subnet, by determining that the first address parameter of IP address and the second address parameter obtain the first IP address resource pool under the targeted subnet;It responds IP address and obtains request, in the first IP address resource pool, determine to distribute to the IP address of user.A kind of IP address distribution method, device, electronic equipment and the storage medium that the embodiment of the present invention is provided effectively promote the quantity for being provided to IP address, enhance user experience.

Description

IP address distribution method, device, electronic equipment and storage medium
Technical field
The present invention relates to field of communication technology, in particular to a kind of IP address distribution method, device, electronic equipment And storage medium.
Background technology
Cloud Server be it is a kind of be simple and efficient, securely and reliably, processing capacity can elastic telescopic calculating service.Its manager Formula is more simple and efficient than physical server.User need not purchase hardware in advance, you can rapid to create or discharge arbitrary more clouds clothes Business device.
It can only often be provided but when current cloud enterprise provides Cloud Server IP to the user, under a determining subnet certain The IP address of quantity, when the IP address demand of user is larger, it is difficult to meet the needs of users.
Invention content
The purpose of the present invention is to provide a kind of IP address distribution method, device, electronic equipment and storage mediums, effectively carry The quantity for being provided to IP address is risen, enhances user experience.
To achieve these goals, technical solution used in the embodiment of the present invention is as follows:
In a first aspect, an embodiment of the present invention provides a kind of IP address distribution method, applied to Dynamic Host Configuration Protocol server, the side Method includes:The IP address for receiving user obtains request;Determine targeted subnet used by a user;In the determining targeted subnet Under, by determining that the first address parameter of IP address and the second address parameter obtain the first IP address resource under the targeted subnet Pond, wherein, the first IP address resource pool includes all IP address for meeting user demand, first address parameter and institute It is variable element to state the second address parameter, passes through in both first address parameter and second address parameter at least one The variation of a parameter obtains different IP address;It responds the IP address and obtains request, in the first IP address resource pool, Determine to distribute to the IP address of user.
Second aspect, an embodiment of the present invention provides a kind of IP address distributor, described device includes:IP address is distributed Respond module obtains request for receiving the IP address of user;Subnet determining module, for determining target used by a user Net;First IP address resource pool generation module, under the determining targeted subnet, by determining under the targeted subnet First address parameter of IP address and the second address parameter obtain the first IP address resource pool, wherein, the first IP address money Source pond includes all IP address for meeting user demand, and first address parameter and second address parameter are variable ginseng Number, different IP is obtained by the variation of at least one parameter in both first address parameter and second address parameter Address;IP address distribution module obtains request for responding the IP address, in the first IP address resource pool, determines Distribute to the IP address of user.
The third aspect, an embodiment of the present invention provides a kind of electronic equipment, the electronic equipment includes memory, for depositing The one or more programs of storage;Processor.When one or more of programs are performed by the processor, with realizing above-mentioned IP Location distribution method.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, The computer program realizes above-mentioned IP address distribution method when being executed by processor.
5th aspect, the embodiment of the present invention provide it is a kind of comprising instruction computer program product, when its on computers During operation so that computer performs above-mentioned IP address distribution method.
Relative to the prior art, a kind of IP address distribution method provided in an embodiment of the present invention, device, electronic equipment and deposit Storage media, when user to Dynamic Host Configuration Protocol server send IP address obtain request when, can under a determining targeted subnet, lead to It crosses the variation of at least one parameter in both the first address parameter and the second address parameter and only there are one address in the prior art The scheme of changeable parameters is compared, and effectively promotes the quantity that can be supplied to IP address under a determining targeted subnet, and enhancing is used It experiences at family.
For the above objects, features and advantages of the present invention is enable to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
It in order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range, for those of ordinary skill in the art, without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 shows a kind of schematic flow of a kind of IP address distribution method that first embodiment of the invention is provided Figure;
Fig. 2 is a kind of schematic flow chart of the sub-step of step S300 in Fig. 1;
Fig. 3 is another schematic flow chart of the sub-step of step S300 in Fig. 1;
Fig. 4 is a kind of schematic flow chart of the sub-step of step S400 in Fig. 1;
Fig. 5 is another schematic flow chart of the sub-step of step S400 in Fig. 1;
Fig. 6 is the operation chart of the IP address distribution method provided in Fig. 5;
Fig. 7 is another schematic flow chart of the sub-step of step S400 in Fig. 1;
Fig. 8 is another schematic flow chart of the sub-step of step S400 in Fig. 1;
Fig. 9 shows a kind of schematic structure of a kind of IP address distributor that second embodiment of the invention is provided Figure;
Figure 10 shows a kind of the first IP address resource of IP address distributor that second embodiment of the invention is provided A kind of schematic diagram of pond generation module;
Figure 11 shows a kind of the first IP address resource of IP address distributor that second embodiment of the invention is provided Another schematic diagram of pond generation module;
Figure 12 shows the IP address distribution module of a kind of IP address distributor that second embodiment of the invention is provided A kind of schematic diagram;
Figure 13 shows the IP address distribution module of a kind of IP address distributor that second embodiment of the invention is provided Another schematic diagram;
Figure 14 shows the IP address distribution module of a kind of IP address distributor that second embodiment of the invention is provided Another schematic diagram;
Figure 15 shows the IP address distribution module of a kind of IP address distributor that second embodiment of the invention is provided Another schematic diagram;
Figure 16 shows the schematic block diagram for a kind of electronic equipment that second embodiment of the invention is provided.
In figure:10- electronic equipments;100- memories;200- communication interfaces;300- processors;40-IP addresses distribution dress It puts;400-IP address assignment response modules;500- subnet determining modules;600- the first IP address resource pool generation modules;611- IP address acquiring unit;612- the first IP address resource pool generation units;621- the first IP address resource pool acquiring units;622- IP address indexing unit;700-IP address assignment modules;711-IP number of addresses determination units;712-IP address determination units; 721- the first address parameter confirmation units;722-IP scalar/vectors;723-IP selectes unit in address;731- address parameters are true Recognize unit;732- searching units;733-IP Address Confirmation units;741- the first address parameter receiving units;742-IP is looked into address Look for unit;743- the second address parameter receiving units.
Specific embodiment
Purpose, technical scheme and advantage to make the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, instead of all the embodiments.The present invention being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be configured to arrange and design with a variety of different.
Therefore, below the detailed description of the embodiment of the present invention to providing in the accompanying drawings be not intended to limit it is claimed The scope of the present invention, but be merely representative of the present invention selected embodiment.Based on the embodiments of the present invention, this field is common Technical staff's all other embodiments obtained without creative efforts belong to the model that the present invention protects It encloses.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, does not then need to that it is further defined and explained in subsequent attached drawing.Meanwhile the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this practical relationship or sequence.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed or further include as this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that Also there are other identical elements in process, method, article or equipment including the element.
Below in conjunction with the accompanying drawings, it elaborates to some embodiments of the present invention.In the absence of conflict, it is following Feature in embodiment and embodiment can be combined with each other.
First embodiment:
Referring to Fig. 1, one kind of a kind of IP address distribution method that Fig. 1 is provided by first embodiment of the invention is schematic Flow chart.When current cloud enterprise provides Cloud Server IP to the user, 200 can only be often provided under a determining subnet Multiple IP address, but constantly increase with the scale of construction of user, start to occur needing to dispose Cloud Server in effective supply When quantity is 1,000 even more, present technology is just difficult to meet the needs of users.
Inventor has found in real work, more than 200 specific IP can only be provided under a determining subnet Location is because when Dynamic Host Configuration Protocol server (Dynamic Host Configuration Protocol, dynamic host configuration protocol clothes Be engaged in device) the subnet mask of IP address when being 255.255.255.0, when providing IP address, only covered byte Address parameter causes Dynamic Host Configuration Protocol server to secure the address parameter of three bytes when providing specific IP address.Such as:It is false The address of a fixed Dynamic Host Configuration Protocol server is A.B.C.D, when the subnet mask of the Dynamic Host Configuration Protocol server is 255.255.255.0, Since its subnet mask has only covered last bit address parameter D, it can only when providing a user specific IP address For A.B.C.X (wherein, the variation range of X is 0-255 and not equal to D), at this point, the Dynamic Host Configuration Protocol server is in a determining son The IP address off the net that can be provided is only comprising more than 200.
For these reasons, inventor has found in real work, is adjusted to when the subnet mask of Dynamic Host Configuration Protocol server 255.255.0.0, when providing IP address, the address parameter of two bytes has been covered altogether so that Dynamic Host Configuration Protocol server is providing During specific IP address, the address parameter of two bytes is only secured.That is, it is assumed that the address of a Dynamic Host Configuration Protocol server is A.B.C.D, when the subnet mask of the Dynamic Host Configuration Protocol server is 255.255.0.0, since its subnet mask has covered latter two Address parameter C and D, therefore, A.B.X.Y (wherein, A and B can be expressed as in the specific IP address provided a user Constant, the variation range of X is 0-255, and the variation range of Y is 0-255), wherein, pass through the IP address obtained after X and Y variations In, it is impossible to including the IP address identical with Dynamic Host Configuration Protocol server, that is to say, that the IP address reserved in agreement is cast aside, when subnet is covered When code is 255.255.0.0, the Dynamic Host Configuration Protocol server under a determining subnet, the specific IP address that is capable of providing by Initial more than 200 ascend to heaven to more than 60,000.Wherein, the IP address reserved in the agreement is to be reserved in ICP/IP protocol IP address.
Based on above-mentioned analysis, a kind of IP address distribution method that first embodiment of the invention is provided, the IP address point Method of completing the square can be applied to Dynamic Host Configuration Protocol server, and the Dynamic Host Configuration Protocol server can provide up to six under a determining targeted subnet More than ten thousand specific IP address, the method may include following steps:
S100, the IP address for receiving user obtain request.
In the present embodiment, user can be according to the actual demand of oneself, and sending IP address acquisition to Dynamic Host Configuration Protocol server please It asks.At this point, Dynamic Host Configuration Protocol server when the IP address for receiving user obtains request, can judge to be somebody's turn to do according to the IP address of user User is the still old user that Adds User.
S200 determines targeted subnet used by a user.
In the present embodiment, Dynamic Host Configuration Protocol server is after the IP address for receiving user obtains request, as a kind of embodiment party Formula when Dynamic Host Configuration Protocol server judges the user to Add User, that is, can distribute a new subnet according to the IP address of user Section, as targeted subnet;When Dynamic Host Configuration Protocol server judges the user for old user, that is, the IP address of the user is analyzed, it can be with The subnet of user's current IP address, can also be as needed as targeted subnet, and one new subnet section of distribution is as the use The targeted subnet at family, to promote the experience sense of user.
It, can also be according to Dynamic Host Configuration Protocol server sheet in some other embodiments of the invention as another embodiment The IP address of body provides rule, determines a targeted subnet, specific IP address is provided for the user.
S300, under determining targeted subnet, by the first address parameter and second for determining IP address under targeted subnet Address parameter obtains the first IP address resource pool.
In the present embodiment, after a determining targeted subnet is obtained by step S200, by determining target The first address parameter and the second address parameter of IP address off the net obtain and all under the targeted subnet meet user demand IP address, wherein, first address parameter and second parameter are variable element.Such as:When the Dynamic Host Configuration Protocol server IP address when being 17.102.1.1, the common version of the IP address that can determine is 17.102.X.Y, at this point, according to first The rule change of address parameter X and the second address parameter Y, at least one variation is i.e. with can obtain different IP in both X and Y Location, that is, when X is 1, Y can be changed to 255 from 0, and when X is 2, Y can be changed to 255 from 0, according to such rule, work as X During being changed to 255 by 0, by variation at least one in both X and Y, the different IP address that can determine that can be with Reach more than 60,000.All IP address for meeting user demand are contained in the first IP address resource pool.
S400, response IP address obtain request, in the first IP address resource pool, determine to distribute to the IP address of user.
In the present embodiment, it obtains to meet in by more than 60,000 a IP address of the step S400 under a targeted subnet and use The IP address of family demand, after generating the first IP address resource pool, the IP address of the dhcp server response user obtains request, In the first IP address resource pool, determine to distribute to the IP address of user.
Based on above-mentioned design, a kind of IP address distribution method that first embodiment of the invention is provided is carried to user During for specific IP address, joined by the value and the second address that under a determining targeted subnet, determine the first address parameter Several values, the IP address that a quantity more than 200 can only be provided under a determining targeted subnet in the prior art is promoted to can be with The IP address of 60,000 multi-quantity is provided so that a large amount of IP address of user can be met under a targeted subnet and obtain demand, Enhance user experience.
Since in whole IP address identified under the determining targeted subnet, some may be included by user occupancy IP address and it is certain arranged non-serviceable IP address in the protocol, determined under the determining targeted subnet Whole IP address in select and meet the IP address of user demand to generate the first IP address resource pool, different plans can be set Slightly, a kind of embodiment that the embodiment of the present invention is provided is:By in whole IP address under the targeted subnet by with Family is occupied rejects with IP address non-serviceable in agreement, using remaining IP address as the first IP address for meeting user demand Resource pool.Referring to Fig. 2, Fig. 2 is a kind of schematic flow chart of the sub-step of step S300 in Fig. 1.As a kind of embodiment party Formula, in the present embodiment, step S300 can include following sub-step:
S311 under targeted subnet, passes through at least one parameter in both the first address parameter and the second address parameter Variation obtains whole IP address under targeted subnet.
In the present embodiment, after a determining targeted subnet is obtained by step S200, by determining target The variation of at least one parameter in both first address parameter and the second address parameter of IP address off the net obtains target Whole IP address off the net.
S312, IP address cannot currently be used by rejecting in whole IP address under targeted subnet, by remaining IP address As the first IP address resource pool for meeting user demand.
In the present embodiment, after whole IP address under the targeted subnet are obtained by step S311, by the target Current non-serviceable IP address is rejected in whole IP address under subnet, using remaining IP address as meeting user demand First IP address resource pool, wherein, the current non-serviceable IP address includes current by the IP address of user occupancy And/or non-serviceable IP address in agreement.
It is described to be but not limited to by the mode that the IP address of user occupancy obtains:When Dynamic Host Configuration Protocol server obtains When the IP address of user obtains request, Dynamic Host Configuration Protocol server obtains the previous all IP address of the user according to the IP address of user The IP address distributed during request, the IP address that these previous all IP address are distributed when asking is that current IP address obtains Described in when taking request by the IP address of user occupancy.
Based on above-mentioned design, a kind of IP address distribution method that first embodiment of the invention is provided is carried to user During for specific IP address, after the whole IP address for obtaining the targeted subnet, reject by the IP address of user occupancy, and Using remaining IP address as the first IP address resource pool for meeting user demand, user is supplied to, guarantee is supplied to user IP address be available IP address, enhance the experience sense of user.
As the another kind strategy for obtaining the first IP address resource pool, another implementation provided in an embodiment of the present invention Mode:Using different marks by user can use in whole IP address under the targeted subnet IP address and by Non-serviceable IP address is labeled respectively in user occupancy and agreement.Referring to Fig. 3, Fig. 3 is the son of step S300 in Fig. 1 Another schematic flow chart of step.As another embodiment, in the present embodiment, step S300 can also include with Lower sub-step:
S321 under targeted subnet, passes through at least one ginseng in both the first address parameter and second address parameter Several variations obtain whole IP address under targeted subnet.
In the present embodiment, after a determining targeted subnet is obtained by step S200, by determining target The variation of at least one parameter in both first address parameter and the second address parameter of IP address off the net obtains target Whole IP address off the net.
S322, using whole IP address under targeted subnet as the first IP address resource pool for meeting user demand, wherein, Whether the IP address in the first IP address resource pool is labeled with respectively by the mark of user occupancy.
In the present embodiment, after whole IP address under the targeted subnet are obtained by step S321, Dynamic Host Configuration Protocol server According to the IP address of user, the IP address distributed when the previous all IP address of the user are asked is obtained, by using difference Mark whole IP address under the targeted subnet are labeled, to distinguish in whole IP address under the targeted subnet Occupied IP address and unappropriated IP address.
For example, an associated field information can be distributed for each IP address when obtaining IP address, it is described Whether associated field informations can be used for characterizing the IP address occupied.By these previous all IP address requests When the associated fields of IP address distributed be assigned a value of 1, by whole IP address under the targeted subnet not by The associated fields of the IP address of occupancy are assigned a value of 0, are characterized in whole IP address under the targeted subnet with this Whether specific IP address is occupied.Wherein, as the associated=0 of target ip address, that is, the target ip address is characterized It can use;As the associated=1 of target ip address, that is, it is occupied to characterize the target ip address.
What deserves to be explained is a kind of IP address distribution method that first embodiment of the invention is provided, to described The purpose that whole IP address in one IP address resource pool are labeled is to distinguish in these IP address by user occupancy IP address and not by the IP address of user occupancy, the mode of mark can also be:By in the first IP address resource pool By the IP address of user occupancy be marked and to not by the IP address of user occupancy without label or will be not by user The IP address of occupancy be marked and to being carried out by the IP address of user occupancy without label or using other means Label, as long as meeting occupied IP address and unappropriated IP address distinguish in the first IP address resource pool Come.
Based on above-mentioned design, a kind of IP address distribution method that first embodiment of the invention is provided is obtaining user IP address when obtaining request, while obtain the previous whole IP address of user and obtain in request, under the targeted subnet The allocated IP address to user, and in whole IP address under being supplied to user's targeted subnet, these IP Whether location is labeled with by the mark of user occupancy, it is ensured that whether user clearly selected IP address is available IP Location enhances user experience.
After acquisition meets the first IP address resource pool of user demand, different strategies can be set by user demand IP address is supplied to user, and a kind of embodiment provided in an embodiment of the present invention is:According to the IP address quantity of user demand, by Dynamic Host Configuration Protocol server directly distribution meets the IP address of the IP address quantity of user demand.Referring to Fig. 4, Fig. 4 is step in Fig. 1 A kind of schematic flow chart of the sub-step of S400.As a kind of embodiment, in the present embodiment, step S400 can include Following sub-step:
S411 obtains request according to IP address, obtains the quantity of the requested IP address of user.
In the present embodiment, Dynamic Host Configuration Protocol server is when the IP address for obtaining user obtains request, when the IP address of user obtains Characterization user is taken in request when needing to obtain multiple IP address, Dynamic Host Configuration Protocol server first the acquisition of the IP address of user can be asked into Row analysis, to obtain the quantity of the requested IP address of user.
S412 in the first IP address resource pool, determines that the IP address for meeting the quantity of the requested IP address of user is made To distribute to the IP address of user.
In the present embodiment, after the quantity that the requested IP address of user is obtained by step S411, Dynamic Host Configuration Protocol server According to the quantity of the requested IP address of user, in the first IP address resource pool, determine to meet the requested IP address of user Quantity IP address as the IP address for distributing to user.
Wherein, the mode of the IP address of the quantity for determining to meet the requested IP address of user can be but not limited to It is:Random generation, arranged in sequence etc..Such as:It is assumed that the quantity of the requested IP address of user is 10, at this point, Dynamic Host Configuration Protocol server In the first IP address resource pool, 10 IP address can be randomly selected and be supplied to user, to meet the needs of users; It can be arranged after in the past assigned IP address according to serial number, in the first IP address resource pool, choose 10 A specific IP address is supplied to user, to meet the needs of users.
Based on above-mentioned design, a kind of IP address distribution method that first embodiment of the invention is provided, when user is asked IP address quantity it is more when, can be according to scheduled allocation rule, the IP address that will disposably meet user demand quantity User is distributed to, reduces the link of user's request, efficiency when distributing a large amount of IP address to user is improved, enhances user Experience.
The embodiment of the present invention also provides a kind of embodiment for determining to distribute to the IP address of user:According to input by user First address parameter, be set out under the targeted subnet it is identified whole IP address in the first address parameter value and user it is defeated The identical all IP address of the value of the first address parameter that enters, further according to the target ip address of user's selection, by the Target IP Distribute to the user in location.Referring to Fig. 5, Fig. 5 is another schematic flow chart of the sub-step of step S400 in Fig. 1.As Another embodiment, in the present embodiment, step S400 can also include following sub-step:
S421 receives the value of the first address parameter input by user.
In the present embodiment, meet user's need when Dynamic Host Configuration Protocol server obtains all under targeted subnet according to step S300 The IP address asked after generating the first IP address resource pool, can receive the value of the first address parameter input by user, for Family independently selects required IP address.
S422, in the first IP address resource pool, according to the value of the first address parameter input by user, in the first IP address The the first address parameter value and the first address parameter input by user that IP address is searched in resource pool are worth identical all optional IP Address.
In the present embodiment, after the value for obtaining the first address parameter input by user, according to the first ground input by user The value of location parameter, Dynamic Host Configuration Protocol server search the first address parameter value and the user of IP address in the first IP address resource pool First address parameter of input is worth identical all IP address, as optional IP address, and in the form of a list by optional IP Location is all shown to user.
S423 receives the IP address that is selected in optional IP address of user as the IP address for determining to distribute to user.
In the present embodiment, when being obtained by step S422 and show the value institute according to the first address parameter input by user After determining all optional IP address, user can select oneself demand according to all optional IP address shown in list IP address, meanwhile, Dynamic Host Configuration Protocol server is after the IP address that user selects in the optional IP address is received, by the IP Location is as the IP address for determining to distribute to user.
Based on above-mentioned design, a kind of IP address distribution method that first embodiment of the invention is provided, in determining mesh After obtaining all IP address for meeting user demand as the first IP address resource pool under mark subnet, according to input by user first The value of address parameter determines the value of all first address parameters and input by user first in the first IP address resource pool Optional IP address of the identical all IP address of the value of address parameter as user, determines point in a manner that user independently selects The IP address of provisioned user enhances the experience of user.
Referring to Fig. 6, Fig. 6 is the operation chart of the IP address distribution method provided in Fig. 5.In the present embodiment, After Dynamic Host Configuration Protocol server determines a targeted subnet, according to the value of the first address parameter input by user, Dynamic Host Configuration Protocol server is by target The value of the first address parameter IP identical with the value of first address parameter input by user in whole IP address under subnet Location, which is set out, to be come, the last IP address further according to user selected in the IP address enumerated, as determining to distribute to user IP address;Meanwhile can shown the first IP address resource pool according to fig. 3 method, whole IP for coming are set out In location, it will be labeled by the IP address of user occupancy, and these are set out according to the sequence can be used-being assigned The whole IP address come are ranked up;The IP address being assigned can also be set as choosing, avoid the mistake because of user It selects and chooses an IP address being assigned, enhance user experience.
The embodiment of the present invention also provides a kind of embodiment for determining to distribute to the IP address of user:According to input by user The value of the value of first address parameter and the second address parameter, searched in the first IP address resource pool the first address parameter value and The value of the second address parameter IP address identical with the value of the first address parameter input by user and the value of the second address parameter, when When this IP address input by user is present in the first IP address resource pool, which is determined as distributing to user IP address.Referring to Fig. 7, Fig. 7 is another schematic flow chart of the sub-step of step S400 in Fig. 1.As another kind Embodiment, in the present embodiment, step S400 can also include following sub-step:
S431 receives the value of the first address parameter input by user and the value of the second address parameter.
In the present embodiment, meet user's need when Dynamic Host Configuration Protocol server obtains all under targeted subnet according to step S300 The IP address asked after generating the first IP address resource pool, can receive the value and second of the first address parameter input by user The value of address parameter, the IP address as user's selection.
S432 searches the first address parameter value and the second address parameter value in the first IP address resource pool and is inputted with user The value of the first address parameter and the value of the second address parameter distinguish identical target ip address.
In the present embodiment, when value and the second address that the first address parameter input by user is obtained by step S431 are joined After several values, the first address parameter value and the second address parameter value can be searched in the first IP address resource pool with using The value of first address parameter of family input and the value of the second address parameter distinguish identical target ip address.
S433, it is the IP address for distributing to user to determine target ip address,
In the present embodiment, when input by user is found in the first IP address resource pool by step S432 It, can be using the IP address as Target IP when the value of the value of one address parameter and the second address parameter distinguishes identical IP address Location is determined as distributing to the IP address of user;It does not find and uses in the first IP address resource pool when by step S432 When the value of first address parameter of family input and the value of the second address parameter distinguish identical IP address, it can send and report to user Wrong information to prompt user that the address is occupied, then re-executes step S431, until can be in first IP address The value of the first address parameter of IP address and the value of the second address parameter are found in resource pool respectively with input by user first The value of the address parameter IP address identical with the value of the second address parameter, as determining target ip address and distributes to user.
Based on above-mentioned design, a kind of IP address distribution method that first embodiment of the invention is provided, in determining mesh After obtaining all IP address for meeting user demand as the first IP address resource pool under mark subnet, according to input by user first The value of the value of address parameter and the second address parameter in the first IP address resource pool, is searched and input by user first The value of the value of address parameter and the second address parameter distinguishes identical IP address, and using the IP address as determining Target IP User is distributed in location, increases the experience of user.
The embodiment of the present invention also provides a kind of embodiment for determining to distribute to the IP address of user:It is selected according to user IP address is as the IP address for distributing to user determined by the value of the value of first address parameter and the second address parameter.It please refers to Fig. 8, Fig. 8 are another schematic flow chart of the sub-step of step S400 in Fig. 1.As another embodiment, in this reality It applies in example, step S400 can also include following sub-step:
S441 receives user's selected first address parameter in all optional first address parameters.
In the present embodiment, meet user's need when Dynamic Host Configuration Protocol server obtains all under targeted subnet according to step S300 The IP address asked after generating the first IP address resource pool, can meet user demand by all in the first IP address resource pool The first address parameter of IP address arranged, and enumerated in a certain order and be shown to user, as user Optional first address parameter, then user's selected first address parameter in all optional first address parameters is received, As selected first address parameter of user, wherein, all optional first address parameters are provided comprising first IP address First address parameter of all IP address for meeting user demand in the pond of source.
S442 according to the first selected address parameter, searches the first address of IP address in the first IP address resource pool The parameter all optional IP address identical with the first selected address parameter.
In the present embodiment, after the first address parameter is selected according to step S441, according to selected first address The value of parameter, for Dynamic Host Configuration Protocol server in the first IP address resource pool, the first address parameter value and the institute for searching IP address are selected The first address parameter the identical all IP address of value, as optional IP address, and will be all optional in the form of list etc. IP address is shown to user.
S443 receives the IP address that is selected in all optional IP address of user as the IP for determining to distribute to user Location.
In the present embodiment, when being obtained by step S442 and show the value according to selected first address parameter of user After identified all optional IP address, user can be according to all optional IP address shown in list, and selecting oneself needs The IP address asked, meanwhile, Dynamic Host Configuration Protocol server is after IP address of the user selected in the optional IP address is received, by this IP address is as the IP address for determining to distribute to user.
Based on above-mentioned design, a kind of IP address distribution method that first embodiment of the invention is provided, in determining mesh After obtaining all IP address for meeting user demand as the first IP address resource pool under mark subnet, according to user all optional The first address parameter in selected first address parameter value, determine all first addresses in the first IP address resource pool Optional IP address of the value of the parameter all IP address identical with the value of the first address parameter input by user as user, simultaneously Using user, selected IP address is as the IP address for determining to distribute to user in optional IP address, to enhance the body of user It tests.
Second embodiment:
Referring to Fig. 9, a kind of a kind of signal of IP address distributor 40 that Fig. 9 is provided by second embodiment of the invention Graph structure figure.In the present embodiment, the IP address distributor 40 can include IP address assignment response module 400, subnet Determining module 500, the first IP address resource pool generation module 600 and IP address distribution module 700.
The IP address that IP address assignment response module 400 can be used for receiving user obtains request.
The subnet determining module 500 can be used to determine targeted subnet used by a user.
The first IP address resource pool generation module 600 can be used under the determining targeted subnet, by true The first address parameter of IP address and the second address parameter obtain the first IP address resource pool under the fixed targeted subnet, wherein, The first IP address resource pool includes all IP address for meeting user demand, passes through first address parameter and described the The variation of at least one parameter obtains different IP address in double-address parameter the two.
The IP address distribution module 700 can be used for responding the IP address acquisition request, in first IP address In resource pool, determine to distribute to the IP address of user.
Under the determining targeted subnet it is identified whole IP address in select meet the IP address of user demand with The first IP address resource pool is generated, different strategies can be set, a kind of embodiment that the embodiment of the present invention is provided is:It will It is rejected in whole IP address under the targeted subnet by IP address non-serviceable in user occupancy and agreement, it will be remaining IP address as the first IP address resource pool for meeting user demand.Referring to Fig. 10, Figure 10 is second embodiment of the invention A kind of a kind of schematic diagram of first IP address resource pool generation module 600 of the IP address distributor 40 provided. In the present embodiment, the first IP address resource pool generation module 600 can include 611 and the first IP of IP address acquiring unit Address resource pond generation unit 612.
The IP address acquiring unit 611 can be used under the targeted subnet, by first address parameter and At least one variation of both second address parameters obtains whole IP address under the targeted subnet.
The first IP address resource pool generation unit 612 can be used in whole IP address under the targeted subnet Current non-serviceable IP address is rejected, using remaining IP address as the first IP address resource pool for meeting user demand, In, the current non-serviceable IP address includes currently cannot being used in the IP address of user occupancy and/or agreement IP address..
As the strategy of the first IP address resource pool of another generation, another embodiment party that the embodiment of the present invention is provided Formula is:Using different marks by user can use in whole IP address under the targeted subnet IP address and by Non-serviceable IP address is labeled respectively in user occupancy and agreement.1, Figure 11 is please referred to Fig.1 for the present invention second to implement Another schematic structure of the first IP address resource pool generation module 600 of a kind of IP address distributor 40 that example is provided Figure.In the present embodiment, the first IP address resource pool generation module 600 can also include the acquisition of the first IP address resource pool Unit 621 and IP address indexing unit 622.
The first IP address resource pool acquiring unit 621 can be used under the targeted subnet, pass through described first The variation of at least one parameter obtains whole IP under the targeted subnet in both address parameter and second address parameter Address.
The IP address indexing unit 622 can be used for using whole IP address under the targeted subnet as meeting user First IP address resource pool of demand, wherein, the IP address in the first IP address resource pool be labeled with respectively whether by with The mark that family occupies.
After the first IP address resource pool is obtained, different strategies can be set to determine with distributing to the IP of user Location, a kind of embodiment that the embodiment of the present invention is provided are:It is straight by Dynamic Host Configuration Protocol server according to the IP address quantity of user demand Connect the IP address that distribution meets the IP address quantity of user demand.2, Figure 12 is please referred to Fig.1 to be carried by second embodiment of the invention A kind of a kind of schematic diagram of the IP address distribution module 700 of the IP address distributor 40 supplied.In the present embodiment, institute IP address quantity determination unit 711 and IP address determination unit 712 can be included by stating IP address distribution module 700.
The IP address quantity determination unit 711, which can be used for obtaining according to the IP address, asks, and obtains user and asks The quantity for the IP address asked.
The IP address determination unit 712 can be used in the first IP address resource pool, determine to meet user institute The IP address of the quantity of the IP address of request.
The embodiment of the present invention also provides a kind of embodiment for determining to distribute to the IP address of user:According to input by user First address parameter, be set out under the targeted subnet it is identified whole IP address in the first address parameter value and user it is defeated The identical all IP address of the value of the first address parameter that enters, further according to the target ip address of user's selection, by the Target IP Distribute to the user in location.Please refer to Fig.1 a kind of IP address distributor 40 that 3, Figure 13 is provided by second embodiment of the invention IP address distribution module 700 another schematic diagram.In the present embodiment, the IP address distribution module 700 is gone back Unit 723 can be selected including the first address parameter confirmation unit 721, IP address generation unit 722 and IP address.
The first address parameter confirmation unit 721 can be used for receiving first address parameter input by user Value.
The IP address generation unit 722 can be used in the first IP address resource pool, according to first ground The value of location parameter searches the first address parameter value and input by user first of IP address in the first IP address resource pool Address parameter is worth identical all optional IP address.
The IP address selectes unit 723 and can be used for receiving the IP address work that user selects in the optional IP address To determine to distribute to the IP address of user.
The embodiment of the present invention also provides a kind of embodiment for determining to distribute to the IP address of user:According to input by user The value of the value of first address parameter and the second address parameter, searched in the first IP address resource pool the first address parameter value and The value of the second address parameter IP address identical with the value of the first address parameter input by user and the value of the second address parameter, when When this IP address input by user is present in the first IP address resource pool, which is determined as distributing to user IP address.With please referring to Fig.1 the IP of a kind of IP address distributor 40 that 4, Figure 14 is provided by second embodiment of the invention Another schematic diagram of location distribution module 700.In the present embodiment, the IP address distribution module 700 can also wrap Include address parameter confirmation unit 731, searching unit 732 and IP address confirmation unit 733.
Described address parameter confirmation unit 731 can be used for receiving value and the institute of first address parameter input by user State the value of the second address parameter.
The searching unit 732 can be used in the first IP address resource pool searching the first address parameter value and Double-address parameter value is identical with the value of first address parameter input by user and the value difference of second address parameter Target ip address.
It is the IP address for distributing to user that the IP address confirmation unit 733, which can be used to determine the target ip address,.
The embodiment of the present invention also provides a kind of embodiment for determining to distribute to the IP address of user:It is selected according to user IP address is as the IP address for distributing to user determined by the value of the value of first address parameter and the second address parameter.It please refers to The IP address distribution module 700 of a kind of IP address distributor 40 that Figure 15, Figure 15 are provided by second embodiment of the invention Another schematic diagram.In the present embodiment, the IP address distribution module 700 can also connect including the first address parameter Receive unit 741,742 and second address parameter receiving unit 743 of IP address searching unit.
The first address parameter receiving unit 741 is selected in all optional first address parameters for receiving user The first fixed address parameter, wherein, all optional first address parameters include institute in the first IP address resource pool There is the first address parameter of the IP address for meeting user demand.
The IP address searching unit 742 is used for according to the first selected address parameter, in first IP address The first address parameter of IP address all optional IP address identical with the first selected address parameter are searched in resource pool.
The second address parameter receiving unit 743 is used to receive the IP that user selects in all optional IP address Address is as the IP address for determining to distribute to user.
Please refer to Fig.1 the schematic structure frame for a kind of electronic equipment 10 that 6, Figure 16 is provided by second embodiment of the invention Figure.The electronic equipment 10 may be, but not limited to, PC (personal computer, PC), tablet computer, above-knee Type pocket computer, vehicle-mounted computer, personal digital assistant (personal digital assistant, PDA) etc..The electricity Sub- equipment 10 can include IP address distributor 40, memory 100, communication interface 200 and processor 300.
The memory 100, communication interface 200 and 300 each element of processor between each other can be directly or indirectly electric Property connection, to realize the transmission of data or interaction.For example, these elements between each other can by one or more communication bus or Signal wire, which is realized, to be electrically connected.The IP address distributor 40 include it is at least one can be with software or firmware (firmware) Form be stored in the memory 100 or be solidificated in the electronic equipment 10 operating system (operating system, OS the software function module in).The processor 300 can be used for performing the one or more stored in the memory 100 Program, such as the software function module or computer program that the IP address distributor 40 includes, to realize the present invention first The IP address distribution method that embodiment is provided.
Wherein, the memory 100 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..Wherein, the memory 100 can be used for storing one or more programs, and the processor 300 can After execute instruction is received, to perform one or more of programs, with realize that first embodiment of the invention is provided one Kind IP address distribution method.Method performed by the server for the flow definition that any embodiment of the present invention discloses can be applied to It is realized in processor 300 or by processor 300.
The communication interface 200 can be used for the electronic equipment 10 carrying out signaling with other nodes or equipment or data are led to News.
Processor 300 can be a kind of IC chip, have signal handling capacity.Above-mentioned processor 300 can be with It is general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP), speech processor and video processor etc.;Can also be digital signal processor, application-specific integrated circuit, Field programmable gate array either other programmable logic device, discrete gate or transistor logic, discrete hardware components. It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be Microprocessor or the processor 300 can also be any conventional processors etc..
In conclusion a kind of IP address distribution method, device, electronic equipment and storage that the embodiment of the present invention is provided are situated between Matter when user sends IP address to Dynamic Host Configuration Protocol server obtains request, can pass through first under a determining targeted subnet In both address parameter and the second address parameter the variation of at least one parameter and in the prior art only there are one address parameter can The scheme of change is compared, and effectively promotes the quantity that can be supplied to IP address under a determining targeted subnet;It simultaneously can be with root According to the demand of user, the disposable IP address for providing the IP address quantity for meeting user demand promotes user in disposable demand Efficiency during a large amount of IP address;It can also independently be selected with user according to the value of one or two address parameter input by user Mode determine to distribute to the IP address of user, enhance user experience;It can also be joined according to user in optional first address The value of selected first address parameter and the value of the second address parameter in number and optional second address parameter, determine to distribute to The IP address of user enhances the experience of user.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and block diagram in attached drawing Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flow chart or block diagram can represent the one of a module, program segment or code Part, a part for the module, program segment or code include one or more and are used to implement holding for defined logic function Row instruction.It should also be noted that at some as in the realization method replaced, the function that is marked in box can also be to be different from The sequence marked in attached drawing occurs.For example, two continuous boxes can essentially perform substantially in parallel, they are sometimes It can perform in the opposite order, this is depended on the functions involved.It is it is also noted that every in block diagram and/or flow chart The combination of a box and the box in block diagram and/or flow chart can use function or the dedicated base of action as defined in performing It realizes or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion Point or modules individualism, can also two or more modules be integrated to form an independent part.
If the function is realized in the form of software function module and is independent product sale or in use, can be with It is stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially in other words The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention. And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, that is made any repaiies Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
It is obvious to a person skilled in the art that the present invention is not limited to the details of above-mentioned exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Profit requirement rather than above description limit, it is intended that all by what is fallen within the meaning and scope of the equivalent requirements of the claims Variation is included within the present invention.Any reference numeral in claim should not be considered as to the involved claim of limitation.

Claims (12)

1. a kind of IP address distribution method, applied to Dynamic Host Configuration Protocol server, which is characterized in that the method includes:
The IP address for receiving user obtains request;
Determine targeted subnet used by a user;
Under the determining targeted subnet, by the first address parameter and the second ground that determine IP address under the targeted subnet Location gain of parameter the first IP address resource pool, wherein, the first IP address resource pool includes all IP for meeting user demand Address, first address parameter and second address parameter are variable element, pass through first address parameter and institute The variation for stating at least one parameter in second address parameter the two obtains different IP address;
It responds the IP address and obtains request, in the first IP address resource pool, determine to distribute to the IP address of user.
2. the method as described in claim 1, which is characterized in that it is described under the determining targeted subnet, by determining institute The step of stating the first address parameter of IP address under targeted subnet and the second address parameter the first IP address resource pool of acquisition, packet It includes:
Under the targeted subnet, pass through at least one parameter in both first address parameter and second address parameter Variation obtain whole IP address under the targeted subnet;
Current non-serviceable IP address is rejected in whole IP address under the targeted subnet, using remaining IP address as Meet the first IP address resource pool of user demand, wherein, the current non-serviceable IP address include it is current by with Non-serviceable IP address in IP address and/or agreement that family occupies.
3. the method as described in claim 1, which is characterized in that it is described under the determining targeted subnet, by determining institute The step of stating the first address parameter of the IP address under targeted subnet and the second address parameter the first IP address resource pool of acquisition, packet It includes:
Under the targeted subnet, pass through at least one parameter in both first address parameter and second address parameter Variation obtain whole IP address under the targeted subnet;
Using whole IP address under the targeted subnet as the first IP address resource pool for meeting user demand, wherein, it is described Whether the IP address in the first IP address resource pool is labeled with respectively by the mark of user occupancy.
4. the method as described in claims 1 or 2 or 3, which is characterized in that the response IP address obtains request, in institute It states in the first IP address resource pool, the step of determining to distribute to the IP address of user, including:
It obtains and asks according to the IP address, obtain the quantity of the requested IP address of user;
In the first IP address resource pool, the IP address for determining to meet the quantity of the requested IP address of user is as distribution To the IP address of user.
5. the method as described in claims 1 or 2 or 3, which is characterized in that the response IP address obtains request, in institute It states in the first IP address resource pool, the step of determining to distribute to the IP address of user, including:
Receive the value of first address parameter input by user;
In the first IP address resource pool, according to the value of first address parameter, in the first IP address resource pool Middle the first address parameter value for searching IP address and the first address parameter input by user are worth identical all optional IP address;
The IP address that is selected in the optional IP address of user is received as the IP address for determining to distribute to user.
6. the method as described in claims 1 or 2 or 3, which is characterized in that the response IP address obtains request, in institute It states in the first IP address resource pool, the step of determining to distribute to the IP address of user, including:
Receive the value of first address parameter input by user and the value of second address parameter;
The first address parameter value and the second address parameter value and institute input by user are searched in the first IP address resource pool The value of value and second address parameter for stating the first address parameter distinguishes identical target ip address;
It is the IP address for distributing to user to determine the target ip address.
7. the method as described in claims 1 or 2 or 3, which is characterized in that the response IP address obtains request, in institute It states in the first IP address resource pool, the step of determining to distribute to the IP address of user, including:
User's selected first address parameter in all optional first address parameters is received, wherein, it is described all optional The first address parameter include the first IP address resource pool in all IP address for meeting user demand the first ground Location parameter;
According to the first selected address parameter, the first address ginseng of IP address is searched in the first IP address resource pool The number all optional IP address identical with the first selected address parameter;
The IP address that is selected in all optional IP address of user is received as the IP address for determining to distribute to user.
8. a kind of IP address distributor, which is characterized in that described device includes:
IP address assignment response module obtains request for receiving the IP address of user;
Subnet determining module, for determining targeted subnet used by a user;
First IP address resource pool generation module, under the determining targeted subnet, passing through the determining targeted subnet First address parameter of lower IP address and the second address parameter obtain the first IP address resource pool, wherein, first IP address Resource pool includes all IP address for meeting user demand, and first address parameter and second address parameter are variable Parameter is obtained different by the variation of at least one parameter in both first address parameter and second address parameter IP address;
IP address distribution module obtains request for responding the IP address, in the first IP address resource pool, determines to divide The IP address of provisioned user.
9. device as claimed in claim 8, which is characterized in that the first IP address resource pool generation module includes:
IP address acquiring unit, under the targeted subnet, being joined by first address parameter and second address The variation of at least one parameter obtains whole IP address under the targeted subnet in number the two;
First IP address resource pool generation unit, for using whole IP address under the targeted subnet as meeting user demand The first IP address resource pool, wherein, whether the IP address in the first IP address resource pool is labeled with being accounted for by user respectively Mark.
10. device as claimed in claim 8 or 9, which is characterized in that the IP address distribution module includes:
First address parameter confirmation unit, for receiving the value of first address parameter input by user;
IP address generation unit, in the first IP address resource pool, according to the value of first address parameter, in institute It states the first address parameter value that IP address is searched in the first IP address resource pool and the first address parameter value input by user is identical All optional IP address;
IP address confirmation unit, for receiving IP address that user selects in the optional IP address as determining to distribute to use The IP address at family.
11. a kind of electronic equipment, which is characterized in that including:
Memory, for storing one or more programs;
Processor;
When one or more of programs are performed by the processor, the side as described in any one of claim 1-7 is realized Method.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The method as described in any one of claim 1-7 is realized when processor performs.
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 true CN108156275A (en) 2018-06-12
CN108156275B 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)

Cited By (1)

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

Citations (7)

* 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
CN103078965A (en) * 2012-12-25 2013-05-01 曙光云计算技术有限公司 IP (Internet Protocol) address management method of virtual machines
CN105376347A (en) * 2015-12-11 2016-03-02 上海斐讯数据通信技术有限公司 IP address allocation method and system
US20160119278A1 (en) * 2014-10-27 2016-04-28 Aruba Networks Inc. Method to distribute a centralized service
CN106302863A (en) * 2016-10-13 2017-01-04 陕西尚品信息科技有限公司 A kind of IP address dynamic allocation method being applied to Ad hoc network

Patent Citations (7)

* 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
CN103078965A (en) * 2012-12-25 2013-05-01 曙光云计算技术有限公司 IP (Internet Protocol) address management method of virtual machines
US20160119278A1 (en) * 2014-10-27 2016-04-28 Aruba Networks Inc. Method to distribute a centralized service
CN105376347A (en) * 2015-12-11 2016-03-02 上海斐讯数据通信技术有限公司 IP address allocation method and system
CN106302863A (en) * 2016-10-13 2017-01-04 陕西尚品信息科技有限公司 A kind of IP address dynamic allocation method being applied to Ad hoc network

Cited By (1)

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

Also Published As

Publication number Publication date
CN108156275B (en) 2021-03-09

Similar Documents

Publication Publication Date Title
CN107767007A (en) Method for allocating tasks and device
CN110427775B (en) Data query authority control method and device
CN110706798A (en) Method, device, equipment and medium for allocating inquiry orders suitable for beauty parlor
CN106453681B (en) IP address allocation method and device
CN108090659A (en) Source of houses distribution method and device
CN109684092A (en) Resource allocation methods and device
CN111124505B (en) Configuration method and device of mainboard hardware
US20120331521A1 (en) System and method for application centric cloud management
CN108925145B (en) Device provisioning
CN108156275A (en) IP address distribution method, device, electronic equipment and storage medium
CN115994036B (en) Cloud platform tenant isolation method, device, equipment and storage medium
CN108540582A (en) A kind of processing method of terminal iidentification, server and terminal
CN113034121A (en) Red packet distribution method and device based on instant chat tool and server
CN107220120A (en) Method and apparatus for delivering software solution
CN108282418B (en) Media flow distribution method and device
CN109685302A (en) Method for distributing business, equipment, storage medium and device based on data analysis
CN111773666A (en) Order data processing method and device, storage medium and electronic device
CN109213924B (en) Popularization task allocation method and device and computer equipment
CN110516450A (en) Data acquisition authority control method, electronic device and computer readable storage medium
CN110879748A (en) Shared resource allocation method, device and equipment
CN106156087A (en) Data processing method and device
CN114996019A (en) Task allocation method, device, computer equipment, storage medium and program product
CN108429780A (en) Data calling system between interconnected system and method
CN108279906A (en) The method and apparatus of application deployment service on the server
CN108197196A (en) Determining method, apparatus, equipment and the storage medium of chip identification code

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