CN110278288A - Method, apparatus, computer equipment and the storage medium of pre-dispensed vessels IP - Google Patents

Method, apparatus, computer equipment and the storage medium of pre-dispensed vessels IP Download PDF

Info

Publication number
CN110278288A
CN110278288A CN201910411988.3A CN201910411988A CN110278288A CN 110278288 A CN110278288 A CN 110278288A CN 201910411988 A CN201910411988 A CN 201910411988A CN 110278288 A CN110278288 A CN 110278288A
Authority
CN
China
Prior art keywords
container
state
application
idle
predistribution
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
CN201910411988.3A
Other languages
Chinese (zh)
Other versions
CN110278288B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910411988.3A priority Critical patent/CN110278288B/en
Publication of CN110278288A publication Critical patent/CN110278288A/en
Priority to PCT/CN2019/118241 priority patent/WO2020233020A1/en
Application granted granted Critical
Publication of CN110278288B publication Critical patent/CN110278288B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0826Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for reduction of network costs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5061Pools of addresses

Abstract

The embodiment of the present application provides method, apparatus, computer equipment and the storage medium of a kind of pre-dispensed vessels IP, is related to field of cloud computer technology, can be applied in PaaS platform.The described method includes: the distribution request for the container predistribution that the need for being received as container application increase newly;Obtain the region of creation container application;Obtain the idle IP in the region in preset IP address pond;Determine the IP quantity of pre-dispensed vessels IP;The state for determining the IP of identical quantity from idle IP according to preset rules, and identified IP being arranged is predistribution state;The IP of identified predistribution state is distributed into container application, the corresponding IP of taking-up distributes to newly-increased container from the IP of the predistribution state so that the container is applied in new volume increasing device.The container allocation IP that the embodiment of the present application need to can increase newly for container application in advance reduces the time for needing to apply for distribution IP when needing new volume increasing device immediately and coming into operation, and reduce distribute IP in advance and caused by cost waste.

Description

Method, apparatus, computer equipment and the storage medium of pre-dispensed vessels IP
Technical field
This application involves field of cloud computer technology more particularly to a kind of method, apparatus of pre-dispensed vessels IP, computer to set Standby and storage medium.
Background technique
When detecting the increase of business demand amount, needs to carry out dilatation to container application, be related to newly-increased container allocation IP.The mode of existing distribution container IP needs to apply in advance to distribute IP resource, and application process complexity (such as needs advanced row Shen Please, then using the audit etc. of level-one level-one), it is very time-consuming.Container IP after application, which needs to pay, to be used, once therefore Shen It please succeed, that is, pay.Due to that can apply in advance and distribute IP resource, expense increase so may result in.
Summary of the invention
The embodiment of the present application provides method, apparatus, computer equipment and the storage medium of a kind of pre-dispensed vessels IP, can subtract The time of application distribution IP when few container applies new volume increasing device, at the same can avoid distributing IP in advance and caused by cost waste.
In a first aspect, the embodiment of the present application provides the method for pre-dispensed vessels IP a kind of, this method comprises:
Receive the distribution request of pre-dispensed vessels IP, container of the distribution request for that need to increase newly for container application in advance Distribute IP;Obtain the region for creating the container application;Obtain the idle IP in the region in preset IP address pond;It determines pre- Distribute the IP quantity of container IP;The IP of identical quantity is determined from the free time IP according to preset rules, and determined by setting The state of IP is predistribution state;The IP of identified predistribution state is distributed into the container application, so that the container It applies in new volume increasing device and to take out corresponding IP from the IP of the predistribution state and distribute to newly-increased container.
Second aspect, the embodiment of the invention provides the device of pre-dispensed vessels IP a kind of, the dresses of pre-dispensed vessels IP It sets including for executing the corresponding unit of method described in above-mentioned first aspect.
The third aspect, the embodiment of the invention provides a kind of computer equipment, the computer equipment includes memory, with And the processor being connected with the memory;
The memory is for storing computer program, and the processor is for running the calculating stored in the memory Machine program, to execute method described in above-mentioned first aspect.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, when the computer program is executed by processor, realizes method described in above-mentioned first aspect.
The embodiment of the present application is by the IP for container application pre-dispensed vessels, the container that need to can be increased newly for container application in advance IP is distributed, when due to business demand, needing new volume increasing device immediately and coming into operation, reduces the time for needing to apply for distribution IP, And reduce in advance distribute IP and caused by cost waste.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow diagram of the method for pre-dispensed vessels IP provided by the embodiments of the present application;
Fig. 2 is the flow diagram of the method for the pre-dispensed vessels IP that another embodiment of the application provides;
Fig. 3 is the sub-process schematic diagram of the method for pre-dispensed vessels IP provided by the embodiments of the present application;
Fig. 4 is the sub-process schematic diagram of the method for pre-dispensed vessels IP provided by the embodiments of the present application;
Fig. 5 is the schematic block diagram of the device of pre-dispensed vessels IP provided by the embodiments of the present application;
Fig. 6 is the schematic block diagram of the device for the pre-dispensed vessels IP that another embodiment of the application provides;
Fig. 7 is the schematic block diagram of quantity determination unit provided by the embodiments of the present application;
Fig. 8 is the schematic block diagram of predistribution unit provided by the embodiments of the present application;
Fig. 9 is the schematic block diagram of computer equipment provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen Please in embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall in the protection scope of this application.
Fig. 1 is the flow diagram of the method for pre-dispensed vessels IP provided by the embodiments of the present application.As shown in Figure 1, the party Method includes S101-S106.
S101 receives the distribution request of pre-dispensed vessels IP, and the distribution request for container application for that need to increase newly in advance Container allocation IP.
It is to be appreciated that the container in pre-dispensed vessels IP refers to the appearance that prediction business demand amount will increase and need to increase newly Device, then container IP is IP corresponding to the container that need to be increased newly.It should be noted that in this application, the appearance that need to be increased newly Device, because once new volume increasing device and distributing IP, just needs for container payment actually there is no newly-increased.In the application In, in the case where not new volume increasing device, in advance to need newly-increased container allocation IP address resource, with can after new volume increasing device To be rapidly newly-increased container allocation IP from the IP address of predistribution and new volume increasing device quickly come into operation.
Wherein, in one embodiment, the distribution request of pre-dispensed vessels IP can be triggered by the request that creation container is applied. Specifically, the distribution request of pre-dispensed vessels IP is received, comprising: if receiving the request of creation container application, obtain creation and hold The identification information that carries in the request of device application, judge the identification information whether include pre-dispensed vessels IP mark;If institute The mark that identification information includes pre-dispensed vessels IP is stated, determines the distribution request for receiving pre-dispensed vessels IP.
It is to be appreciated that being just container application pre-dispensed vessels IP when creating container application.In that case, institute An application scenarios being related to are to be provided with whether the data item of pre-dispensed vessels IP (is wrapped in the interface of creation container application Include option), receive user input or selection whether the option of pre-dispensed vessels IP;If receiving asking for creation container application (associated button that can click creation container application by user triggers) is asked, the mark carried in the request of creation container application is obtained Know information, judge the identification information whether include pre-dispensed vessels IP mark.As pre-dispensed vessels IP option in include: "Yes" and "No", if "Yes" and the corresponding mark of "No" are respectively " 1 " and " 0 ".If creating the correspondence in the request of container application Identification information is " 1 ", then it is determined that the identification information includes the mark of pre-dispensed vessels IP, it is determined that receives predistribution and holds The distribution request of device IP;If the correspondence identification information created in the request of container application is " 0 ", then it is determined that the identification information It does not include the mark of pre-dispensed vessels IP, it is determined that do not receive the distribution request of pre-dispensed vessels IP.
In one embodiment, the distribution request of pre-dispensed vessels IP can be after the completion of container application creates, by user's point Hit the associated button triggering of pre-dispensed vessels IP.It is to be appreciated that pre- after the completion of container application creates, then for container application Distribute container IP.
It should be noted that container is applied in creation in spite of pre-dispensed vessels IP is needed, all can first create certain The container of quantity and simultaneously a certain number of container allocation IP to create.It is container application creation when creating container application Container can charge, and can come into operation immediately.And the container IP pre-allocated will not charge, and need this pre- point After the IP matched distributes to newly-increased container, just charge.
S102 obtains the region for creating the container application.
The region of container application refers to the Host equipment room of creation container application, consists of two parts: creation container application " application environment " and container application " region "+" safety zone ".Wherein, " safety zone " is interpreted as the sub-district under " region " Domain." application environment " of container application includes production environment, test environment, exploitation environment.Wherein, can be regarded as can for production environment The environment of service is provided for Internet user, test environment is internal for testing required environment, and exploitation environment is Inside is for developing required environment.Computer room is all correspondingly arranged on for each environment." region " of container application+ " safety zone ", it can be understood as, by container application creation son corresponding to " safety zone xxx " under " region xx " computer room In region.It is to be appreciated that the machine in computer room can also divide subregion.Finally, the region of creation container application can manage Xie Wei, in subregion corresponding to some safety zone in some environment under some region computer room.Such as create container application Region are as follows: in the A subregion under precious letter region computer room in test environment.It should be noted that the area applied with upper container The division in domain is a kind of embodiment, in this application, does not limit the division in the region of container application.I.e. no matter container application Region how to divide, can obtain creation container application region.If as answered when creating container application for the container With pre-dispensed vessels IP, data corresponding to the region of container application are created then being provided in the interface of creation container application , " region "+" safety zone " that " application environment " and container applied such as container are applied obtains the interior of corresponding data item Hold, the region of creation container application can be obtained.If being pre-allocated as after the completion of container application creates, then for container application Container IP, then the region for creating container application can be directly acquired according to the information that container is applied.
S103 obtains the idle IP in the region in preset IP address pond.
Under normal circumstances, the IP in the IP address pond is LAN IP.It is to be appreciated that in the area of creation container application IP address pond is allocated in domain in advance, it includes free time IP in the IP address pond which, which is preset IP address pond, can be with It is idle idle IP that state is obtained according to the state of IP.Idle IP is not previously allocated, and can distribute to this at any time should Container application under region.Under normal circumstances, the container application under the region enough of the idle IP quantity in IP address pond makes With.
But in some cases, can also there is a situation where that the idle IP quantity in IP address pond is not very sufficient.In this way, In some other embodiment, as shown in Fig. 2, Fig. 2 is the method stream with distribution container IP that another embodiment of the application provides Journey schematic diagram, before step S103, the method also includes:
S103a detects the idle IP quantity in region preset IP address pond and the default free time IP in the region Whether the accounting of quantity is lower than preset ratio.
If preset ratio is 10%.It is default in idle IP data and the region even in region IP address pond Whether the accounting of idle IP quantity is lower than preset ratio.
If the accounting of the default free time IP quantity in free time IP quantity and the region is lower than preset ratio, step is executed S103b;If being not less than preset ratio, step S103 is executed, that is, executes the free time obtained in the region in preset IP address pond The step of IP.
S103b sends the request of application new IP address section.
Even detect the accounting of the default free time IP quantity in idle IP quantity and the region lower than preset ratio, master The dynamic request for sending application new IP address section.
S103c receives the new IP address section that user distributes according to the request, the IP in the new IP address section is filled out The state for being charged to IP address pond, and the IP newly filled being arranged is idle state.
The embodiment can idle IP quantity in this region and default free time IP quantity accounting lower than preset ratio When, the new IP address section of activly request application, and after distributing new IP address section, the IP in new IP address section is filled into IP address pond, the state that the IP newly filled is arranged is idle state, in this way, idle IP can be obtained according to the state of IP, The use of cloud platform is influenced to avoid the free IP addresses deficiency in the region.
In one embodiment, while the state of the IP newly filled in setting is idle state, the new IP address is recorded The time of section filling.In this way, being subsequent allocations container IP provider on the other hand on the one hand for subsequent access relevant information Just.
In one embodiment, be assigned with new IP address section, be arranged the IP newly filled state be idle state after, it is described Method further include:
S103d opens the firewall functionality for the IP network section newly filled.
Wherein, firewall functionality is opened, including the ports such as accessible port such as 80,8080,7001, Yi Jishe is arranged Set accessible IP etc..After firewall functionality, which just can really come into operation.Specifically, it can disposably set Set the firewall functionality of all IP of the IP network section.It is to be appreciated that the service that IP corresponding to an IP network section is provided may It is similar or identical.
It should be noted that the mode of existing distribution container IP needs to apply in advance to distribute IP resource, IP money is applied for Behind source, it is also necessary to individually open firewall functionality for the IP of each application.Unlatching one by one, it is very time-consuming, also it is easy to There is careless mistake, for the scheme in the application after being assigned with new IP network section, the IP as in IP network section opens firewall functionality, and one Secondary property is all turned on the firewall functionality in entire IP network section, saves the time, also reduces error rate.On the other hand, due to Firewall functionality is opened for IP in advance, if creation container, after the container that the IP of predistribution is distributed to creation, which can To come into operation immediately.Reduce and application is needed to distribute IP when needing new volume increasing device immediately and coming into operation when due to business demand And the time of firewall functionality is opened for the IP, new volume increasing device can be come into operation immediately.
S104 determines the IP quantity of pre-dispensed vessels IP.
The IP quantity of pre-dispensed vessels IP can be determined according to historical data, can also directly be set according to user The quantity set is determined, can also be directly using the quantity of default.
In one embodiment, as shown in figure 3, step S104 includes the following steps S301-S306.
S301 detects whether the setting request for receiving the IP quantity of user setting pre-dispensed vessels IP.
If receiving the setting request of the IP quantity of user setting pre-dispensed vessels IP, step S302 is executed;If not receiving To the setting request of the IP quantity of user setting pre-dispensed vessels IP, step S303 is executed.
S302, according to the IP quantity of the setting request setting pre-dispensed vessels IP, by the pre-dispensed vessels of user setting IP quantity of the IP quantity of IP as identified pre-dispensed vessels IP.
S303 judges whether the historical data information for getting the container application, wherein the historical data information packet Before including current time container application or it is preset with the container using the flow information of similar container application and Corresponding container number information.
If container application in the past and is not present or container application has had existed, but not relevant Historical data information, then obtaining the preset flow information with the container using similar container application and corresponding appearance Device number information.Assuming that the container application corresponds to certain social software A, then obtain it is preset with the container using similar appearance The flow information of device application B and corresponding container number information, with the flow information of container application B and corresponding appearance Device number information is as reference frame.If container application has existed in the past, while also having relevant historical data information, that It obtains the container and applies corresponding flow information and corresponding container number information.Wherein, historical data information can To be primary data information, it is also possible to associated multiple information.On the day of such as predicting the Spring Festival, certain social software needs new The number of containers (assuming that the social software can increase a large amount of user's amount of access newly on the day of the Spring Festival) of increasing, then the available social activity The same day in software Spring Festival last year and customer flow information around the Spring Festival and corresponding container number information, it is also available to be somebody's turn to do Social software closely default year (3 years such as nearly) or the previous annual same day in the Spring Festival and customer flow information around the Spring Festival With corresponding container number information.
If getting the historical data information of container application, step S304 is executed;If any historical data has not been obtained Information executes step S306.
Wherein, if getting the historical data information of container application, comprising: the container application has relevant historical data Information can so directly acquire the historical data information of container application;The container is using no relevant historical data letter Breath, but it is preset have relevant historical data information using similar container application with the container, so obtain and the container The historical data information etc. applied using similar container.If any historical data information has not been obtained, comprising: the container application There is no relevant historical data information, it is preset also to believe without relevant historical data to the container using similar container application Breath.
S304 determines the container using required wound according to the flow information and corresponding container number information The container sum built.
If the historical data information obtained is the container using corresponding flow information and corresponding container number Information applies current flow information according to the container, and the historical data information before the current time obtained, determines the appearance Device is total using the container of required creation.It is corresponding if the customer flow information on the day of certain social software Spring Festival last year is A1 Container number is B1, it is assumed that on the day before current time is this Spring Festival, according to historical data information it is found that on the day before Spring Festival last year It is suitable with the customer flow of (current time) on the day before this Spring Festival, then the appearance directly can be determined according to the container number of last year Device is total using the container of required creation;If according to historical data information it is found that previous with this Spring Festival on the day before Spring Festival last year Its (current time) is compared, and the user data traffic on the day before this Spring Festival increases 10%, then it is determined that the container applies institute The container sum that need to be created is B1* (1+10%).It should be noted that the citing is intended merely to understand technical solution, actually hold It is not limited when row such.If what is obtained is preset to apply corresponding flow information using similar container with the container And corresponding container number information, current flow information is applied according to the container, and the preset and container obtained Using the historical data information that similar container is applied, determine the container using the container sum of required creation.
S305 applies the number of containers created using container sum, the container of required creation according to the container, Determine the IP quantity of pre-dispensed vessels IP.
Wherein, the IP quantity of the pre-dispensed vessels IP=container is using container sum-container of required creation using The number of containers of creation.Wherein, if being the container application pre-dispensed vessels IP (pre-dispensed vessels while container application creates IP is interpreted as the IP distributed for the dilatation that the later container is applied), then the number of containers created, as the container application Creation number of containers corresponding when completing.
S306 obtains IP quantity of the preset IP quantity as identified pre-dispensed vessels IP.Preset IP quantity It can be understood as the IP quantity of default.
The embodiment further defines the IP quantity for how determining pre-dispensed vessels IP.
S105 determines the IP of identical quantity according to preset rules from the free time IP, and the shape of identified IP is arranged State is predistribution state.
Wherein, preset rules are first to distribute IP from the IP address section that the container applies allocated container IP, if IP is not Enough, there are distribute IP in the IP address section of available free IP from next.Simultaneously, it should be noted that from each IP address section When distributing IP, it can be and be randomly assigned, be also possible to the incremental order according to IP address or sequence of successively decreasing is allocated.
In one embodiment, as shown in figure 4, step S105 includes the following steps S401-S406.
S401 obtains the IP address section that the container applies allocated container IP.
S402, detecting the IP address section whether there is the idle IP of corresponding number.Wherein, corresponding number refers to determining Pre-dispensed vessels IP IP quantity.
S403 determines the sky of corresponding number if there are the idle IP of corresponding number for the IP address section from the IP address section Not busy IP is as identified IP.
S404, if the quantity of the idle IP in the IP address section is less than the IP quantity of pre-dispensed vessels IP, with obtaining the IP Remaining free time IP in the section of location, there are the idle IP of determination volume residual in the IP address section of available free IP from next, by institute The residue free time IP of acquisition and identified free time IP are as identified IP, wherein volume residual is that IP quantity and residue are empty The difference of not busy IP quantity.
It is to be appreciated that if the quantity of the idle IP in the IP address section is less than the IP quantity of pre-dispensed vessels IP, then The IP of corresponding number is obtained from multiple IP address ponds.
S405, if free time IP has been not present in the IP address section, from it is next there are in the IP address section of available free IP really The idle IP of fixed identical quantity is as identified IP.
S406, the state that identified IP is arranged is predistribution state.
In one embodiment, it obtains next there are when the IP address section of available free IP, is when being filled according to IP address section Between sequencing obtain.In this way, obtaining according to the sequencing of IP address section filling time, there are available free IP's IP address section facilitates the management of IP.
If the state that should be noted that IP is predistribution state, which will not collect the charges, while the IP cannot It is used by the application of other containers.
The IP of identified predistribution state is distributed to the container application, so that the container is applied new by S106 Corresponding IP is taken out when volume increasing device from the IP of the predistribution state and distributes to newly-increased container.
The IP of identified predistribution state is distributed into the container application, specifically, by the predistribution state of the determination IP and container application bind, and be recorded in the container using in corresponding configuration file.
Above method embodiment is container application pre-dispensed vessels IP, can be in advance the container allocation IP of container application, when It, can be by new increase-volume since business demand reduces the time for needing to apply for distribution IP when needing new volume increasing device immediately and coming into operation Device comes into operation immediately, and reduce in advance distribute IP and caused by cost waste.
In one embodiment, as shown in Fig. 2, the method also includes:
S106a creates the container of the container application, wherein creating if receiving the dilatation request of the container application Number of containers and the dilatation request in need it is newly-increased number of containers it is identical.
Number identical as newly-increased number of containers is taken out in S106b, the IP from the container using relevant predistribution state The IP of amount distributes to created container.
Wherein, if newly-increased number of containers is 1, an IP is taken out from the IP of predistribution state, and distribute to newly-increased Container;If newly-increased number of containers has multiple, then taking out multiple IP from the IP of predistribution state, and distribute to newly-increased Multiple containers.In this way, accelerating the speed that container comes into operation.
After pre-allocating IP, the IP for pre-allocating state is equivalent to occupied, and it is pre- that other container applications cannot reuse this The IP of distribution state.In one embodiment, the method also includes:
If detecting container using offline, the free time is set using the IP state of corresponding predistribution IP by the container State;Or the release request of release predistribution IP is received, by the IP state of the corresponding predistribution IP of the release request It is set as idle state.In this way, to avoid IP has been pre-allocated, and the IP of the predistribution does not use the resource wave in institute's morning for a long time Take.
Fig. 5 is the schematic block diagram of the device of pre-dispensed vessels IP provided by the embodiments of the present application.As shown in figure 5, the dress It sets including unit corresponding to the method for executing above-mentioned pre-dispensed vessels IP.Specifically, as shown in figure 5, the device 100 wraps Include request reception unit 101, area acquisition unit 102, free time IP acquiring unit 103, quantity determination unit 104, predistribution list Member 105 and application binding unit 106.
Request reception unit 101, for receiving the distribution request of pre-dispensed vessels IP, the distribution request for being in advance The container allocation IP that container application need to increase newly.
Area acquisition unit 102, for obtaining the region for creating the container application.
Idle IP acquiring unit 103, for obtaining the idle IP in the region in preset IP address pond.
Quantity determination unit 104, for determining the IP quantity of pre-dispensed vessels IP.
Unit 105 is pre-allocated, for determining the IP of identical quantity from the free time IP according to preset rules, and institute is set The state of determining IP is predistribution state.
Using binding unit 106, for the IP of identified predistribution state to be distributed to the container application, so that institute It states container and applies in new volume increasing device and take out corresponding IP from the IP of the predistribution state and distribute to newly-increased container.
In one embodiment, as shown in fig. 6, being showing for the device for the pre-dispensed vessels IP that another embodiment of the application provides Meaning property block diagram, the device 200 include request reception unit 101, area acquisition unit 102, scale detection unit 103a, request hair Send unit 103b, address fills unit 103c, free time IP acquiring unit 103, quantity determination unit 104, predistribution unit 105, Using binding unit 106.Wherein, request reception unit 101, area acquisition unit 102, free time IP acquiring unit 103, quantity are true Respectively corresponding in order member 104, predistribution unit 105 and application binding unit 106 and Fig. 5 embodiment, specifically please refers to Description in Fig. 5 embodiment.
Wherein, scale detection unit 103a, for detecting idle IP quantity and institute in region preset IP address pond Whether the accounting for stating the default free time IP quantity in region is lower than preset ratio.
Request transmitting unit 103b, if low with the default free time accounting of IP quantity in the region for free time IP quantity In preset ratio, the request of application new IP address section is sent.
Address fills unit 103c, the new IP address section distributed for receiving user according to the request, this is new IP in IP address section is filled into IP address pond, and the state that the IP newly filled is arranged is idle state.
In one embodiment, address fills unit 103c, for receiving new IP that user distributes according to the request Location section, the state for being filled into IP address pond, and the IP newly filled is arranged the IP in the new IP address section are idle state, together The time of the Shi Jilu new IP address section filling.
In one embodiment, as described in Figure 6, which further includes firewall opening unit 103d.The firewall is opened Unit 103d is opened, for opening the firewall functionality of the IP in the IP address section newly filled.
In one embodiment, as shown in fig. 6, the device 200 further includes creating unit 106a, IP allocation unit 106b.Its In, creating unit 106a, if the dilatation request for receiving the container application, the container for creating the container application is real Example, wherein the quantity of the container instance created is identical as the newly-increased container instance quantity of the need in dilatation request.IP distribution Unit 106b, the IP for taking out corresponding number in the IP from the container using relevant predistribution state, which is distributed to, to be created Container instance.
In one embodiment, described device 200 further includes setting unit.The setting unit, if for detecting container Using offline, idle state is set using the IP state of corresponding predistribution IP by the container;Or receive release The IP state of the corresponding predistribution IP of the release request is set idle state by the release request for pre-allocating IP.
In one embodiment, request reception unit 101, including mark acquiring unit, request receive determination unit.Wherein, Mark acquiring unit obtains the mark carried in the request of creation container application if the request for receiving creation container application Know information, judge the identification information whether include pre-dispensed vessels IP mark.Request receives determination unit, if for described Identification information includes the mark of pre-dispensed vessels IP, determines the distribution request for receiving pre-dispensed vessels IP.
In one embodiment, as shown in fig. 7, quantity determination unit 104 is sentenced including request detection unit 1041, historical data Disconnected unit 1042, total determination unit 1043 and IP quantity determination unit 1044.Wherein, request detection unit 1041, is used for Detect whether that the setting for receiving the IP quantity of user setting pre-dispensed vessels IP is requested.IP quantity determination unit 1044, if connecing The setting request for receiving the IP quantity of user setting pre-dispensed vessels IP, according to the setting request setting pre-dispensed vessels IP's IP quantity, using the IP quantity of the pre-dispensed vessels IP of user setting as the IP quantity of identified pre-dispensed vessels IP.History Data determining unit 1042, if the setting request of the IP quantity for not receiving user setting pre-dispensed vessels IP, judgement are The no historical data information for getting the container application, wherein the appearance before the historical data information includes current time Device application or the preset flow information and corresponding container number applied with the container using similar container are believed Breath.Total determination unit 1043, if the historical data information for getting container application, according to the flow information with And corresponding container number information, determine the container using the container sum of required creation.IP quantity determination unit 1044, It is also used to the number of containers created according to the container using the container sum of required creation, container application, is determined pre- Distribute the IP quantity of container IP.IP quantity determination unit 1044 obtains pre- if being also used to have not been obtained any historical data information If IP quantity of the IP quantity as identified pre-dispensed vessels IP.
In one embodiment, as described in Figure 8, predistribution unit 105 includes address field acquiring unit 1051, free time IP detection Unit 1052, predistribution determination unit 1053, state set unit 1054.Wherein, address field acquiring unit 1051, for obtaining The container applies the IP address section of allocated container IP.Idle IP detection unit 1052 is for detecting the IP address section It is no that there are the idle IP of corresponding number.Determination unit 1053 is pre-allocated, if there are the free time of corresponding number for the IP address section IP determines the idle IP of corresponding number as identified IP from the IP address section.Determination unit 1053 is pre-allocated, is also used to If the quantity of the idle IP in the IP address section is less than the IP quantity of pre-dispensed vessels IP, the residue obtained in the IP address section is empty Not busy IP, it is from next there are the idle IP of volume residual determining in the IP address section of available free IP, acquired residue is idle IP and identified free time IP are as identified IP, wherein volume residual is the difference of IP quantity and remaining free time IP quantity.In advance Determination unit 1053 is distributed, if being also used to that free time IP has been not present in the IP address section, there are the IP of available free IP from next Determine the idle IP of identical quantity as identified IP in address field.State set unit 1054, determined by being arranged The state of IP is predistribution state.
In one embodiment, determination unit 1053 is pre-allocated, next there are when the IP address section of available free IP obtaining It is to be obtained according to the sequencing of IP address section filling time.
It should be noted that it is apparent to those skilled in the art that, the tool of above-mentioned apparatus and each unit Body realizes process, can be no longer superfluous herein with reference to the corresponding description in preceding method embodiment, for convenience of description and succinctly It states.
Above-mentioned apparatus can be implemented as a kind of form of computer program, and computer program can be in meter as shown in Figure 9 It calculates and is run on machine equipment.
Fig. 9 is a kind of schematic block diagram of computer equipment provided by the embodiments of the present application.The equipment is in cloud platform The equipment such as server.The equipment 300 includes the processor 302, memory and network interface 303 connected by system bus 301, Wherein, memory may include non-volatile memory medium 304 and built-in storage 305.
The non-volatile memory medium 304 can storage program area 3041 and computer program 3042.This is non-volatile to deposit , it can be achieved that pre-dispensed vessels IP described above when the computer program 3042 stored in storage media is executed by processor 302 Method.The processor 302 supports the operation of whole equipment for providing calculating and control ability.The built-in storage 305 is non- The operation of computer program in volatile storage medium provides environment can make when the computer program is executed by processor 302 Obtain the method that processor 302 executes pre-dispensed vessels IP described above.The network interface 303 is for carrying out network communication.This Field technical staff is appreciated that structure shown in Fig. 9, only the block diagram of part-structure relevant to application scheme, The restriction for the equipment being applied thereon to application scheme is not constituted, specific equipment may include more than as shown in the figure Or less component, perhaps combine certain components or with different component layouts.
Wherein, the processor 302 is for running computer program stored in memory, to realize following steps:
Receive the distribution request of pre-dispensed vessels IP, container of the distribution request for that need to increase newly for container application in advance Distribute IP;Obtain the region for creating the container application;Obtain the idle IP in the region in preset IP address pond;It determines pre- Distribute the IP quantity of container IP;The IP of identical quantity is determined from the free time IP according to preset rules, and determined by setting The state of IP is predistribution state;The IP of identified predistribution state is distributed into the container application, so that the container It applies in new volume increasing device and to take out corresponding IP from the IP of the predistribution state and distribute to newly-increased container.
In one embodiment, the processor 302 is executing the sky obtained in the region in preset IP address pond Before the step of not busy IP, following steps are also realized:
Detect the idle IP quantity in region preset IP address pond and the default free time IP quantity in the region Whether accounting is lower than preset ratio;If the accounting of the default free time IP quantity in free time IP quantity and the region is lower than default ratio Example sends the request of application new IP address section;The new IP address section that user distributes according to the request is received, by the new IP IP in address field is filled into IP address pond, and the state that the IP newly filled is arranged is idle state.
In one embodiment, the processor 302 is executing the new IP for receiving user and distributing according to the request Address field, the state for being filled into IP address pond, and the IP newly filled is arranged the IP in the new IP address section are idle state The step of after, also realization following steps:
Open the firewall functionality for the IP address section newly filled.
In one embodiment, the processor 302 execute it is described according to preset rules from the free time IP determination phase With the IP of quantity, and when the state of IP determined by being arranged is the step of predistribution state, it is implemented as follows step:
Obtain the IP address section that the container applies allocated container IP;Detecting the IP address section whether there is corresponding number The idle IP of amount;If there are the idle IP of corresponding number for the IP address section, the free time of corresponding number is determined from the IP address section IP is as identified IP;If the quantity of the idle IP in the IP address section is less than the IP quantity of pre-dispensed vessels IP, obtaining should Remaining free time IP in IP address section, from next there are the idle IP of determination volume residual in the IP address section of available free IP, Using acquired residue free time IP and identified free time IP as identified IP, wherein volume residual is IP quantity and remains The difference of remaining free time IP quantity;If free time IP has been not present in the IP address section, there are the IP address sections of available free IP from next The idle IP of the identical quantity of middle determination is as identified IP;The state of IP determined by being arranged is predistribution state.
In one embodiment, the processor 302 is when executing the step of IP quantity of the determining pre-dispensed vessels IP, It is implemented as follows step:
Detect whether that the setting for receiving the IP quantity of user setting pre-dispensed vessels IP is requested;If receiving user setting The setting of the IP quantity of pre-dispensed vessels IP is requested, and according to the IP quantity of the setting request setting pre-dispensed vessels IP, will be used IP quantity of the IP quantity of the pre-dispensed vessels IP of family setting as identified pre-dispensed vessels IP;If not receiving user to set The setting request for setting the IP quantity of pre-dispensed vessels IP judges whether the historical data information for getting the container application, In, before the historical data information includes current time container application or it is preset with the container using similar appearance The flow information of device application and corresponding container number information;If getting the historical data information of the container application, According to the flow information and corresponding container number information, determine the container using the container sum of required creation; According to the number of containers that the container has been created using the container sum of required creation, container application, determine that predistribution is held The IP quantity of device IP;If any historical data information has not been obtained, obtains preset IP quantity and hold as identified predistribution The IP quantity of device IP.
In one embodiment, the processor 302 is the step of executing the distribution request for receiving pre-dispensed vessels IP When, it is implemented as follows step:
If receiving the request of creation container application, the identification information carried in the request of creation container application is obtained, is sentenced The identification information that breaks whether include pre-dispensed vessels IP mark;If the identification information includes the mark of pre-dispensed vessels IP Know, determines the distribution request for receiving pre-dispensed vessels IP.
In one embodiment, the processor 302 also realizes following steps:
If receiving the dilatation request of the container application, the container of the container application is created, wherein the container created Quantity is identical as the newly-increased number of containers of the need in dilatation request;The IP of relevant predistribution state is applied from the container The middle IP for taking out quantity identical as newly-increased number of containers distributes to created container.
It should be appreciated that in the embodiment of the present application, alleged processor 302 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (application program lication Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other can Programmed logic device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor Or the processor is also possible to any conventional processor etc..
Those of ordinary skill in the art will appreciate that be realize above-described embodiment method in all or part of the process, It is that relevant hardware can be instructed to complete by computer program.The computer program can be stored in a storage medium, The storage medium can be computer readable storage medium.The computer program is by the processing of at least one of the computer system Device executes, to realize the process step of the embodiment of the above method.
Therefore, present invention also provides a kind of storage mediums.The storage medium can be computer readable storage medium, should Computer readable storage medium includes non-volatile computer readable storage medium storing program for executing.The storage medium is stored with computer program, The computer program performs the steps of when being executed by a processor
Receive the distribution request of pre-dispensed vessels IP, container of the distribution request for that need to increase newly for container application in advance Distribute IP;Obtain the region for creating the container application;Obtain the idle IP in the region in preset IP address pond;It determines pre- Distribute the IP quantity of container IP;The IP of identical quantity is determined from the free time IP according to preset rules, and determined by setting The state of IP is predistribution state;The IP of identified predistribution state is distributed into the container application, so that the container It applies in new volume increasing device and to take out corresponding IP from the IP of the predistribution state and distribute to newly-increased container.
In one embodiment, the processor is executing the idle IP obtained in the region in preset IP address pond The step of before, also realization following steps:
Detect the idle IP quantity in region preset IP address pond and the default free time IP quantity in the region Whether accounting is lower than preset ratio;If the accounting of the default free time IP quantity in free time IP quantity and the region is lower than default ratio Example sends the request of application new IP address section;The new IP address section that user distributes according to the request is received, by the new IP IP in address field is filled into IP address pond, and the state that the IP newly filled is arranged is idle state.
In one embodiment, the processor is executing the new IP address for receiving user and distributing according to the request Section, the state for being filled into IP address pond, and the IP newly filled is arranged the IP in the new IP address section are the step of idle state After rapid, following steps are also realized:
Open the firewall functionality for the IP address section newly filled.
In one embodiment, the processor execute it is described according to preset rules from the free time IP the identical number of determination The IP of amount, and be arranged determined by IP state be predistribution state step when, be implemented as follows step:
Obtain the IP address section that the container applies allocated container IP;Detecting the IP address section whether there is corresponding number The idle IP of amount;If there are the idle IP of corresponding number for the IP address section, the free time of corresponding number is determined from the IP address section IP is as identified IP;If the quantity of the idle IP in the IP address section is less than the IP quantity of pre-dispensed vessels IP, obtaining should Remaining free time IP in IP address section, from next there are the idle IP of determination volume residual in the IP address section of available free IP, Using acquired residue free time IP and identified free time IP as identified IP, wherein volume residual is IP quantity and remains The difference of remaining free time IP quantity;If free time IP has been not present in the IP address section, there are the IP address sections of available free IP from next The idle IP of the identical quantity of middle determination is as identified IP;The state of IP determined by being arranged is predistribution state.
In one embodiment, the processor is when executing the step of IP quantity of the determining pre-dispensed vessels IP, tool Body realizes following steps:
Detect whether that the setting for receiving the IP quantity of user setting pre-dispensed vessels IP is requested;If receiving user setting The setting of the IP quantity of pre-dispensed vessels IP is requested, and according to the IP quantity of the setting request setting pre-dispensed vessels IP, will be used IP quantity of the IP quantity of the pre-dispensed vessels IP of family setting as identified pre-dispensed vessels IP;If not receiving user to set The setting request for setting the IP quantity of pre-dispensed vessels IP judges whether the historical data information for getting the container application, In, before the historical data information includes current time container application or it is preset with the container using similar appearance The flow information of device application and corresponding container number information;If getting the historical data information of the container application, According to the flow information and corresponding container number information, determine the container using the container sum of required creation; According to the number of containers that the container has been created using the container sum of required creation, container application, determine that predistribution is held The IP quantity of device IP;If any historical data information has not been obtained, obtains preset IP quantity and hold as identified predistribution The IP quantity of device IP.
In one embodiment, the processor execute it is described receive pre-dispensed vessels IP distribution request step when, It is implemented as follows step:
If receiving the request of creation container application, the identification information carried in the request of creation container application is obtained, is sentenced The identification information that breaks whether include pre-dispensed vessels IP mark;If the identification information includes the mark of pre-dispensed vessels IP Know, determines the distribution request for receiving pre-dispensed vessels IP.
In one embodiment, the processor also realizes following steps:
If receiving the dilatation request of the container application, the container of the container application is created, wherein the container created Quantity is identical as the newly-increased number of containers of the need in dilatation request;The IP of relevant predistribution state is applied from the container The middle IP for taking out quantity identical as newly-increased number of containers distributes to created container.
The storage medium can be USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), magnetic disk Or the various computer readable storage mediums that can store program code such as CD.
In several embodiments provided herein, it should be understood that disclosed device, device and method, it can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, the division of the unit, Only a kind of logical function partition, there may be another division manner in actual implementation.Those skilled in the art can be with It is well understood, for convenience of description and succinctly, the specific work process of the device of foregoing description, equipment and unit can With with reference to the corresponding process in preceding method embodiment, details are not described herein.The above, the only specific embodiment party of the application Formula, but the protection scope of the application is not limited thereto, and anyone skilled in the art discloses in the application In technical scope, various equivalent modifications or substitutions can be readily occurred in, these modifications or substitutions should all cover the guarantor in the application Within the scope of shield.Therefore, the protection scope of the application should be subject to the protection scope in claims.

Claims (10)

1. a kind of method of pre-dispensed vessels IP, which is characterized in that the described method includes:
Receive the distribution request of pre-dispensed vessels IP, container allocation of the distribution request for that need to increase newly for container application in advance IP;
Obtain the region for creating the container application;
Obtain the idle IP in the region in preset IP address pond;
Determine the IP quantity of pre-dispensed vessels IP;
The state for determining the IP of identical quantity from the free time IP according to preset rules, and identified IP being arranged is predistribution State;
The IP of identified predistribution state is distributed into the container application so that the container apply in new volume increasing device from Corresponding IP is taken out in the IP of the predistribution state distributes to newly-increased container.
2. the method according to claim 1, wherein being obtained in the region in preset IP address pond described Before idle IP, the method also includes:
Detect the accounting of the idle IP quantity in region preset IP address pond and the default free time IP quantity in the region Whether preset ratio is lower than;
If the accounting of the default free time IP quantity in free time IP quantity and the region is lower than preset ratio, send with applying for new IP The request of location section;
The new IP address section that user distributes according to the request is received, the IP in the new IP address section is filled into IP address Pond, and the state that the IP newly filled is arranged is idle state.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
Open the firewall functionality of the IP in the IP address section newly filled.
4. the method according to claim 1, wherein described determine phase according to preset rules from the free time IP With the IP of quantity, and the state that identified IP is arranged is predistribution state, comprising:
Obtain the IP address section that the container applies allocated container IP;
Detecting the IP address section whether there is the idle IP of corresponding number;
If there are the idle IP of corresponding number for the IP address section, determine the idle IP of corresponding number as institute from the IP address section Determining IP;
If the quantity of the idle IP in the IP address section is less than the IP quantity of pre-dispensed vessels IP, obtain surplus in the IP address section Remaining free time IP, from it is next there are in the IP address section of available free IP determine volume residual idle IP, by acquired residue Idle IP and identified free time IP are as identified IP, wherein volume residual be IP quantity and remaining free time IP quantity it Difference;
If free time IP has been not present in the IP address section, there are identical quantity is determined in the IP address section of available free IP from next Idle IP as identified IP;
The state of IP determined by being arranged is predistribution state.
5. the method according to claim 1, wherein the IP quantity of the determining pre-dispensed vessels IP, comprising:
Detect whether that the setting for receiving the IP quantity of user setting pre-dispensed vessels IP is requested;
If receiving the setting request of the IP quantity of user setting pre-dispensed vessels IP, setting predistribution is requested according to the setting The IP quantity of container IP, using the IP quantity of the pre-dispensed vessels IP of user setting as the IP number of identified pre-dispensed vessels IP Amount;
If not receiving the setting request of the IP quantity of user setting pre-dispensed vessels IP, judge whether that getting the container answers Historical data information, wherein before the historical data information includes current time the container application or it is preset with Flow information and corresponding container number information of the container using similar container application;
If getting the historical data information of the container application, believed according to the flow information and corresponding container number Breath determines the container using the container sum of required creation;
According to the number of containers that the container has been created using the container sum of required creation, container application, pre- point is determined The IP quantity of dispensing container IP;
If any historical data information has not been obtained, IP quantity of the preset IP quantity as pre-dispensed vessels IP is obtained.
6. the method according to claim 1, wherein the distribution request for receiving pre-dispensed vessels IP, comprising:
If receiving the request of creation container application, the identification information carried in the request of creation container application is obtained, judges institute State identification information whether include pre-dispensed vessels IP mark;
If the identification information includes the mark of pre-dispensed vessels IP, the distribution request for receiving pre-dispensed vessels IP is determined.
7. the method according to claim 1, wherein the method also includes:
If receiving the dilatation request of the container application, the container of the container application is created, wherein the number of containers created It is identical as the newly-increased number of containers of the need in dilatation request;
The IP that quantity identical as newly-increased number of containers is taken out in IP from the container using relevant predistribution state is distributed To the container created.
8. a kind of device of pre-dispensed vessels IP, which is characterized in that the device of the pre-dispensed vessels IP includes:
Request reception unit, for receiving the distribution request of pre-dispensed vessels IP, the distribution request for container for answering in advance With the container allocation IP that need to be increased newly;
Area acquisition unit, for obtaining the region for creating the container application;
Idle IP acquiring unit, for obtaining the idle IP in the region in preset IP address pond;
Quantity determination unit, for determining the IP quantity of pre-dispensed vessels IP;
Unit is pre-allocated, for determining the IP of identical quantity from the free time IP according to preset rules, and determined by setting The state of IP is predistribution state;
Using binding unit, for the IP of identified predistribution state to be distributed to the container application, so that the container It applies in new volume increasing device and to take out corresponding IP from the IP of the predistribution state and distribute to newly-increased container.
9. a kind of computer equipment, which is characterized in that the computer equipment includes memory, and is connected with the memory Processor;
The memory is for storing computer program;The processor is for running the computer journey stored in the memory Sequence, to execute the method according to claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence when the computer program is executed by processor, realizes the method according to claim 1 to 7.
CN201910411988.3A 2019-05-17 2019-05-17 Method and device for pre-allocating container IP, computer equipment and storage medium Active CN110278288B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910411988.3A CN110278288B (en) 2019-05-17 2019-05-17 Method and device for pre-allocating container IP, computer equipment and storage medium
PCT/CN2019/118241 WO2020233020A1 (en) 2019-05-17 2019-11-14 Method and device for pre-distributing container ip, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910411988.3A CN110278288B (en) 2019-05-17 2019-05-17 Method and device for pre-allocating container IP, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110278288A true CN110278288A (en) 2019-09-24
CN110278288B CN110278288B (en) 2021-10-26

Family

ID=67959929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910411988.3A Active CN110278288B (en) 2019-05-17 2019-05-17 Method and device for pre-allocating container IP, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN110278288B (en)
WO (1) WO2020233020A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020233020A1 (en) * 2019-05-17 2020-11-26 平安科技(深圳)有限公司 Method and device for pre-distributing container ip, computer device and storage medium
CN113111034A (en) * 2021-04-07 2021-07-13 山东英信计算机技术有限公司 Index pre-allocation method and device
CN113645319A (en) * 2020-04-27 2021-11-12 中兴通讯股份有限公司 Address allocation method and system, electronic device, and computer-readable storage medium
CN113766043A (en) * 2021-05-11 2021-12-07 腾讯科技(深圳)有限公司 Method and device for configuring target container, computer equipment and storage medium
WO2022042724A1 (en) * 2020-08-31 2022-03-03 北京京东尚科信息技术有限公司 Container creation method and apparatus, electronic device, and storage medium
CN114710443A (en) * 2022-03-17 2022-07-05 杭州华橙软件技术有限公司 Traffic scheduling method and device for forwarding server
CN115550315A (en) * 2022-08-10 2022-12-30 北京中关村软件园发展有限责任公司 Digital cloud service management method and system based on next generation internet

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992525A (en) * 2021-10-12 2022-01-28 支付宝(杭州)信息技术有限公司 Method and device for adjusting number of applied containers
CN114500464B (en) * 2021-12-13 2023-12-12 天翼物联科技有限公司 Container static IP distribution method, system, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070208873A1 (en) * 2006-03-02 2007-09-06 Lu Jarrett J Mechanism for enabling a network address to be shared by multiple labeled containers
CN105763670A (en) * 2016-04-08 2016-07-13 北京搜狐新媒体信息技术有限公司 Method and device for allocating IP address to container
CN107566541A (en) * 2017-08-03 2018-01-09 携程旅游信息技术(上海)有限公司 Capacitor network resource allocation methods, system, storage medium and electronic equipment
CN107666525A (en) * 2017-09-08 2018-02-06 北京京东尚科信息技术有限公司 The method and apparatus of cluster container IP distribution
US20180375825A1 (en) * 2017-06-23 2018-12-27 Cisco Technology, Inc. Container networking for connecting network controller applications to a switch fabric

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3800038B2 (en) * 2001-06-08 2006-07-19 ティアック株式会社 Network device, server device, client device, network IP address assigning method and program
JP2003069604A (en) * 2001-08-23 2003-03-07 Nifty Corp Method, device, and program for dynamic address assignment
CN102413205A (en) * 2011-12-23 2012-04-11 华为技术有限公司 IP (Internet Protocol) address assignment method, and related relay device, server and system
US9369428B2 (en) * 2012-09-27 2016-06-14 Verzion Patent And Licensing Inc. Systems and methods for assigning Internet Protocol addresses
CN108848037B (en) * 2018-05-31 2023-06-20 平安医疗科技有限公司 Service request processing method, device, computer equipment and storage medium
CN110278288B (en) * 2019-05-17 2021-10-26 平安科技(深圳)有限公司 Method and device for pre-allocating container IP, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070208873A1 (en) * 2006-03-02 2007-09-06 Lu Jarrett J Mechanism for enabling a network address to be shared by multiple labeled containers
CN105763670A (en) * 2016-04-08 2016-07-13 北京搜狐新媒体信息技术有限公司 Method and device for allocating IP address to container
US20180375825A1 (en) * 2017-06-23 2018-12-27 Cisco Technology, Inc. Container networking for connecting network controller applications to a switch fabric
CN107566541A (en) * 2017-08-03 2018-01-09 携程旅游信息技术(上海)有限公司 Capacitor network resource allocation methods, system, storage medium and electronic equipment
CN107666525A (en) * 2017-09-08 2018-02-06 北京京东尚科信息技术有限公司 The method and apparatus of cluster container IP distribution

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐正伦: "基于Docker SwarmKit的资源管控平台设计与实现", 《中国优秀硕士学位论文全文数据库•信息科技辑》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020233020A1 (en) * 2019-05-17 2020-11-26 平安科技(深圳)有限公司 Method and device for pre-distributing container ip, computer device and storage medium
CN113645319A (en) * 2020-04-27 2021-11-12 中兴通讯股份有限公司 Address allocation method and system, electronic device, and computer-readable storage medium
WO2022042724A1 (en) * 2020-08-31 2022-03-03 北京京东尚科信息技术有限公司 Container creation method and apparatus, electronic device, and storage medium
CN113111034A (en) * 2021-04-07 2021-07-13 山东英信计算机技术有限公司 Index pre-allocation method and device
CN113111034B (en) * 2021-04-07 2023-08-04 山东英信计算机技术有限公司 Index pre-allocation method and device
CN113766043A (en) * 2021-05-11 2021-12-07 腾讯科技(深圳)有限公司 Method and device for configuring target container, computer equipment and storage medium
CN113766043B (en) * 2021-05-11 2024-02-23 腾讯科技(深圳)有限公司 Method, device, computer equipment and storage medium for configuring target container
CN114710443A (en) * 2022-03-17 2022-07-05 杭州华橙软件技术有限公司 Traffic scheduling method and device for forwarding server
CN114710443B (en) * 2022-03-17 2024-03-19 杭州华橙软件技术有限公司 Traffic scheduling method and device for forwarding server
CN115550315A (en) * 2022-08-10 2022-12-30 北京中关村软件园发展有限责任公司 Digital cloud service management method and system based on next generation internet
CN115550315B (en) * 2022-08-10 2023-08-29 北京中关村软件园发展有限责任公司 Digital cloud service management method and system based on next generation internet

Also Published As

Publication number Publication date
CN110278288B (en) 2021-10-26
WO2020233020A1 (en) 2020-11-26

Similar Documents

Publication Publication Date Title
CN110278288A (en) Method, apparatus, computer equipment and the storage medium of pre-dispensed vessels IP
CN105204924B (en) The privately owned of management program executive capability uses
CN110224860A (en) Load balancing application creation method, device, computer equipment and storage medium
CN109787908A (en) Server current-limiting method, system, computer equipment and storage medium
CN110300134A (en) Memory space method of adjustment, device and the cloud storage system of cloud storage resource pool
CN109190038A (en) A kind of web-site recommendations method, terminal device and medium based on service appointment
CN110289983A (en) Load balancing application creation method, device, computer equipment and storage medium
CN109087435A (en) The prediction technique and queuing system of queuing time
CN110191160A (en) A kind of concurrency control method and device
CN111585824B (en) Resource distribution method, device and system and electronic equipment
CN110286997A (en) More container application creation methods, device, computer equipment and storage medium
CN109788068A (en) Heartbeat state information report method, device and equipment and computer storage medium
CN110213391A (en) A kind of configuration method and device of internet protocol address
CN108306874A (en) Service interface accesses current-limiting method and device
CN108399103A (en) A kind of resource data treating method and apparatus
CN109670684A (en) The dispatching method and electronic equipment of goods stock based on time window
CN107493176B (en) A kind of charging method and system
CN106779482A (en) The method for allocating tasks and system of dominance relation constraint between a kind of task based access control
CN108156095A (en) Resource determining method and device, NFVO
CN110417856A (en) Expansion method, device, equipment and the storage medium of more live load equilibrium applications
CN108696864A (en) Virtual-number is asked and sending method, device and storage medium
CN111127085A (en) Reward value distribution method, device, computer equipment and storage medium
CN109521966A (en) Store device virtualization method, apparatus, terminal and computer readable storage medium
CN110275717A (en) Privately owned echo cloning method, apparatus, computer equipment and storage medium
CN115695210A (en) Cloud server deployment method and device, electronic 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