CN106331185B - Method and device for recovering IP address - Google Patents

Method and device for recovering IP address Download PDF

Info

Publication number
CN106331185B
CN106331185B CN201510336620.7A CN201510336620A CN106331185B CN 106331185 B CN106331185 B CN 106331185B CN 201510336620 A CN201510336620 A CN 201510336620A CN 106331185 B CN106331185 B CN 106331185B
Authority
CN
China
Prior art keywords
address
queue
cooling
cooling time
terminal user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510336620.7A
Other languages
Chinese (zh)
Other versions
CN106331185A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510336620.7A priority Critical patent/CN106331185B/en
Priority to PCT/CN2016/075973 priority patent/WO2016202014A1/en
Publication of CN106331185A publication Critical patent/CN106331185A/en
Application granted granted Critical
Publication of CN106331185B publication Critical patent/CN106331185B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming

Landscapes

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

Abstract

The invention provides a method and a device for recovering an IP address, wherein the method comprises the following steps: acquiring an offline request of a terminal user, wherein the offline request carries an IP address used when the terminal user is online; calculating the cooling time of the IP address used when the terminal user is online; releasing the IP address from the occupation queue and moving the IP address into a cooling queue; when the cool down time is reached, the IP address is moved from the cool down queue into an idle queue to be assigned to the end user. The scheme of the invention can avoid the problem of wrong flow charging caused by that the IP address which is just distributed is immediately recovered and distributed to other users under certain special application scenes.

Description

Method and device for recovering IP address
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for recovering an IP address.
Background
After a network Interconnection Protocol (IP) address is allocated to a user in an Evolved Packet Core (EPC) device, the allocated address is continuously allocated to another user for use after the user goes offline. However, since some upper layer applications still send packets to the address after the user goes offline, other users assigned the address go online and continue to be subjected to traffic charging.
Disclosure of Invention
The technical problem to be solved by the invention is to provide a method and a device for recovering an IP address, which can adaptively calculate the recovery time of the IP address, and avoid the problem that the address which is just distributed is immediately recovered and distributed to other users to cause wrong flow charging in some special application scenes.
In order to solve the technical problems, the invention adopts the following technical scheme:
according to an aspect of the present invention, there is provided a method for recovering an IP address, the method including:
acquiring an offline request of a terminal user, wherein the offline request carries an IP address used when the terminal user is online;
calculating the cooling time of the IP address used when the terminal user is online;
releasing the IP address from the occupation queue and moving the IP address into a cooling queue;
and when the cooling time is up, moving the IP address from the cooling queue into an idle queue to be allocated to an end user.
Wherein, the calculating the cooling time of the IP address used when the terminal user is online comprises:
acquiring a functional relation expression f (x) ═ a x of the cooling time and the utilization rate of the IP address resources, wherein a is a value of the corresponding cooling time when the percentage of the IP addresses in the idle queue to the total IP address resources is 100%, x represents the percentage of the IP addresses in the idle queue to the total IP address resources, and the total IP address resources are the sum of the IP addresses in the idle queue, the occupied queue and the cooling queue;
acquiring a functional relational expression f (y) ═ b × y/100 of the cooling time and the access speed of the terminal user, wherein b is a value of the cooling time corresponding to 100 users accessed per second, and y represents the number of users accessed per second;
obtaining a functional relation expression of the cooling time and the service type
Figure BDA0000739973900000021
Wherein C is1~CnIndicating different service types, T1~TnThe value of the recovery time under different service types is represented;
obtaining a relational expression of the cooling time and the current end user flow
Figure BDA0000739973900000022
Wherein d represents the recovery time value when the current flow of the terminal user is a preset value M, a (k) represents the flow value counted every preset time k, n represents the number of the preset time k, and n is a positive integer,
Figure BDA0000739973900000023
when the value of k is from 0 to n, the sum of corresponding flow values is represented;
substituting said f (x), f (y), f (c), and f (k) into the formula: f (t) ((x) + f (y) + f (c)) + f (k), wherein t is used for identifying the IP address used when different terminal users are online, and f (t) represents the cooling time when t is different values.
Wherein the releasing the IP address from the busy queue and moving the IP address into the cooling queue comprises:
searching an IP address used when the terminal user is on line in an occupation queue according to the offline request;
and taking the IP address out of the occupation queue and inserting the IP address into the tail of the cooling queue.
Wherein after the step of releasing the IP address from the busy queue and moving the IP address into the cooling queue, the method further comprises:
and generating a confirmation release message and sending the confirmation release message to the terminal user, wherein the confirmation release message carries the released IP address information.
When the cooling time is up, the step of moving the IP address from the cooling queue to an idle queue to be allocated to an end user comprises the following steps:
when the cooling time is up, searching the released IP address from the cooling queue according to the confirmation release message;
and taking the released IP address out of the cooling queue and inserting the IP address into the tail of the free queue to be allocated to the end user.
According to another aspect of the present invention, there is also provided an IP address recycling apparatus, including:
the system comprises an acquisition module, a download module and a download module, wherein the acquisition module is used for acquiring a download request of a terminal user, and the download request carries an IP address used when the terminal user is on line;
the computing module is used for computing the cooling time of the IP address used when the terminal user is online;
the release module is used for releasing the IP address from the occupation queue and moving the IP address into a cooling queue;
and the recovery module is used for moving the IP address from the cooling queue into an idle queue to be allocated to the terminal user when the cooling time is up.
Wherein the calculation module comprises:
a first obtaining unit, configured to obtain a functional relation expression f (x) ═ a × x of the cooling time and the usage rate of IP address resources, where a is a value of the corresponding cooling time when the percentage of IP addresses in an idle queue to the total IP address resources is 100%, x represents the percentage of IP addresses in the idle queue to the total IP address resources, and the total IP address resources are the sum of the IP addresses in the idle queue, the occupied queue, and the cooling queue;
a second obtaining unit, configured to obtain a functional relational expression f (y) ═ b × y/100 between the cooling time and an access speed of an end user, where b is a value of the cooling time corresponding to 100 users accessed per second, and y represents the number of users accessed per second;
a third obtaining unit, configured to obtain a functional relation expression between the cooling time and the service type
Figure BDA0000739973900000031
Where C1-Cn represent different traffic types, T1~TnThe value of the recovery time under different service types is represented;
a fourth obtaining unit for obtaining a relational expression of the cooling time and the current end user flow
Figure BDA0000739973900000041
Wherein d represents the recovery time value when the current flow of the terminal user is a preset value M, a (k) represents the flow value counted every preset time k, n represents the number of the preset time k, and n is a positive integer,
Figure BDA0000739973900000042
when the value of k is from 0 to n, the sum of corresponding flow values is represented;
a processing unit for substituting the f (x), f (y), f (c), and f (k) into the formula: f (t) ((x) + f (y) + f (c)) + f (k), wherein t is used for identifying the IP address used when different terminal users are online, and f (t) represents the cooling time when t is different values.
Wherein the release module comprises:
the first searching unit is used for searching an IP address used when the terminal user is on line in an occupation queue according to the offline request;
and the first transfer unit is used for taking the IP address out of the occupation queue and inserting the IP address into the tail of the cooling queue.
Wherein the apparatus further comprises:
and the sending module is used for generating a release confirmation message and sending the release confirmation message to the terminal user, wherein the release confirmation message carries the released IP address information.
Wherein the recovery module comprises:
a second searching unit, configured to search, when the cooling time arrives, the released IP address from the cooling queue according to the release confirmation message;
and the second transfer unit is used for taking out the released IP address from the cooling queue and inserting the tail of the free queue to be allocated to the end user.
The invention has the beneficial effects that:
the method for recovering the IP address comprises the steps of calculating the recovery time of the IP address according to the IP address used when the terminal user is on line and carried in the offline request when the offline request of the terminal user is obtained, releasing the IP address from an occupied queue and moving the IP address into a cooling queue, and taking out the IP address from the cooling queue and moving the IP address into an idle queue for other terminal users to use when the cooling time is up. Therefore, compared with the prior art, the method for recovering the IP address increases a cooling queue in the aspect of IP address management, can calculate the recovery time of the IP address in a self-adaptive manner, and avoids the problem that the address which is just distributed is recovered immediately and is distributed to other users to cause wrong flow charging in some special application scenes.
Drawings
Fig. 1 is a schematic flow chart illustrating a method for recovering an IP address according to an embodiment of the present invention;
fig. 2 is a block diagram showing a configuration of an IP address recovery apparatus according to an embodiment of the present invention;
FIG. 3 shows a block diagram of a computing module of an embodiment of the invention;
FIG. 4 is a block diagram of a release module according to an embodiment of the invention;
FIG. 5 is a block diagram of a recycling module according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of an IP address assignment and recovery process;
figure 7 shows a schematic diagram of the process of bringing an end user online and offline.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example one
According to one aspect of the invention, a method for recovering an IP address is provided, the method comprises the steps of firstly, obtaining an offline request of a terminal user; then, calculating the cooling time of the IP address used when the terminal user is online; thirdly, releasing the IP address from the occupation queue and moving the IP address into a cooling queue; and finally, when the cooling time is up, moving the IP address from the cooling queue to an idle queue to be allocated to an end user.
In the method for recovering the IP address, the cooling queue is added, and the recovery time of the corresponding IP address is calculated, so that the IP address which is just distributed cannot be occupied by other users immediately after being released, errors in flow calculation of other users are avoided, and user experience is improved.
As shown in fig. 1, the method includes:
and step S11, acquiring the offline request of the end user.
And the offline request carries the IP address used by the terminal user when the terminal user is online. When a certain terminal user needs to be offline, an offline request is sent to the EPC core network equipment, so that the ECP core network can clearly know the IP address to be released.
And step S13, calculating the cooling time of the IP address used when the terminal user is on line.
Specifically, step S13 includes:
obtaining a functional relation expression f (x) a x of the cooling time and the utilization rate of the IP address resources, wherein a is a value of the corresponding cooling time when the percentage of the IP addresses in the idle queue to the total IP address resources is 100%, x represents the percentage of the IP addresses in the idle queue to the total IP address resources, and the total IP address resources are the sum of the IP addresses in the idle queue, the occupied queue and the cooling queue;
acquiring a functional relational expression f (y) ═ b × y/100 of the cooling time and the access speed of the terminal user, wherein b is a value of the cooling time corresponding to 100 users accessed per second, and y represents the number of users accessed per second;
obtaining a functional relation expression of the cooling time and the service type
Figure BDA0000739973900000061
Wherein C is1~CnIndicating different service types, T1~TnThe value of the recovery time under different service types is represented;
obtaining a relational expression of the cooling time and the current end user flow
Figure BDA0000739973900000062
Wherein d represents the recovery time value when the current flow of the terminal user is a preset value M, a (k) represents the flow value counted every preset time k, n represents the number of the preset time k, and n is a positive integer,
Figure BDA0000739973900000063
denotes the taking of kWhen the value is from 0 to n, the sum of the corresponding flow values;
substituting said f (x), f (y), f (c), and f (k) into the formula: f (t) ((x) + f (y) + f (c)) + f (k), wherein t is used for identifying the IP address used when different terminal users are online, and f (t) represents the cooling time when t is different values.
In the method for recovering the IP address, the cooling time is mainly obtained through a corresponding algorithm according to the utilization rate of the IP address resources, the access speed of the terminal user, the service type and the flow of the current user. Of course, it is understood that the basis of the calculation of the cooling time in the IP address recovery method according to the embodiment of the present invention is not limited thereto. Therefore, according to the actual situation, the current running state of the system and the like can be comprehensively considered, the time for recovering the IP address can be timely and adaptively adjusted, and the problem that the address just released is used by other users immediately under certain special application scenes, so that the flow calculation error is avoided.
After a plurality of tests and experience accumulation, a value a of cooling time corresponding to 100% of the IP addresses in the idle queue in the total IP address resource percentage, a value b of cooling time corresponding to 100 users accessed per second and recovery time values under different service types can be obtained, so that relational expressions of the cooling time and the IP address resource utilization rate, the terminal user access speed and the service types are calculated according to the experience values.
In addition, in the calculation process of the relation between the cooling time and the current flow of the terminal user, the IP recovery time is d seconds when the flow is a preset value M is obtained through multiple times of experiments and experience accumulation; thirdly, counting the flow value a (k) every preset time k through the fractional statistics of the flow in the system, taking the statistical data of the previous n periods of time to calculate the average value of the flow, and finally calculating the recovery time of the IP according to the average value.
And step S15, releasing the IP address from the occupation queue and moving the IP address into a cooling queue.
Specifically, step S15 includes:
searching an IP address used when the terminal user is on line in an occupation queue according to the offline request;
and taking the IP address out of the occupation queue and inserting the IP address into the tail of the cooling queue.
Because the occupied queue includes a plurality of IP addresses occupied by different users, when there is an IP address to be released, the EPC system needs to find the IP address to be released from the occupied queue according to the received offline request of the end user. Generally, each IP address has a label for distinguishing other IP addresses, so that it is only necessary to obtain the label of the IP address to be released from the offline request and search the label in the occupied queue. When looked up, the IP address is inserted at the end of the cooling queue.
And step S17, when the cooling time is up, the IP address is moved from the cooling queue to an idle queue to be allocated to an end user.
Wherein, between step S15 and step S17, the method further comprises:
and generating a confirmation release message and sending the confirmation release message to the terminal user, wherein the confirmation release message carries the released IP address information.
In the method for recovering the IP address, after the IP address to be released is released, a release confirmation message carrying the released IP address information can be sent to the terminal user to inform the terminal user that the IP address is successfully released, so that the terminal user is successfully offline.
Specifically, step S17 includes:
when the cooling time is up, searching the released IP address from the cooling queue according to the confirmation release message;
and taking the released IP address out of the cooling queue and inserting the IP address into the tail of the free queue to be allocated to the end user.
The cooling queue includes a plurality of IP addresses released from the occupied queue, so when an IP address to be recovered needs to be taken out from the cooling queue, the IP address needs to be searched from the cooling queue according to the released IP address information. When the IP address is found, the IP address is inserted into the tail of the idle queue so as to be convenient for other terminal users to use when the other terminal users are on line.
Specifically, when an end user needs to go online, the IP address allocation and recovery process is shown in fig. 6 and 7. When a terminal user is on-line, an allocation request is sent to the EPC system, and the EPC takes out an IP address from the idle queue according to the allocation request and allocates the IP address to the terminal user, so that the terminal user can access the network according to the IP address. Because the IP addresses in the idle queue are not bound with the terminal users one by one, when the addresses are distributed to the terminal users in the idle queue, one IP address can be taken out from the head of the idle queue. Correspondingly, the IP address is inserted from the tail of the free queue during the reclamation process. Of course, it is understood that the IP address may be taken out from the tail of the free queue and inserted from the head of the queue, which is not limited to this embodiment.
When the allocated IP address is taken out from the free queue, it needs to be inserted into the tail of the occupied queue for management. And when the terminal user needs to be offline, sending an offline request carrying the IP address used when the terminal user is online to the EPC system, so that the EPC system can search the occupied queue and insert the occupied queue into the tail of the cooling queue, and meanwhile, the cooling time of the IP address is obtained. And when the cooling time is up, taking out the IP address from the cooling queue, and inserting the IP address into the tail of the idle queue for other terminal users to use when accessing the network.
Therefore, the method for recovering the IP address in the embodiment of the invention can timely and adaptively adjust the time for recovering the IP address according to different service models, the current running state of the system and the like, and avoid the error of flow calculation caused by the fact that the address just released is used by other users immediately under certain special application scenes.
Example two
According to another aspect of the present invention, there is also provided an apparatus for recovering an IP address, as shown in fig. 2, the apparatus 200 including:
an obtaining module 201, configured to obtain an offline request of a terminal user, where the offline request carries an IP address used when the terminal user is online;
a calculating module 203, configured to calculate a cooling time of an IP address used when the end user is online;
a releasing module 205, configured to release the IP address from the occupied queue and move the IP address into a cooling queue;
and the recycling module 207 is used for moving the IP address from the cooling queue into an idle queue to be allocated to an end user when the cooling time is up.
Optionally, as shown in fig. 3, the calculating module 203 includes:
a first obtaining unit 2031, configured to obtain a functional relation expression f (x) ═ a × x of the cooling time and the usage rate of IP address resources, where a is a value of the corresponding cooling time when the percentage of IP addresses in an idle queue to the total IP address resources is 100%, x represents the percentage of IP addresses in the idle queue to the total IP address resources, and the total IP address resources are the sum of the IP addresses in the idle queue, the occupied queue, and the cooling queue;
a second obtaining unit 2032, configured to obtain a functional relational expression f (y) b y/100 between the cooling time and the end user access speed, where b is a value of the cooling time corresponding to 100 users accessed per second, and y represents the number of users accessed per second;
a third obtaining unit 2033 for obtaining a functional relation expression of the cooling time and the service type
Figure BDA0000739973900000091
Wherein C is1~CnIndicating different service types, T1~TnThe value of the recovery time under different service types is represented;
a fourth obtaining unit 2034 for obtaining a relational expression of the cooling time and the current end user flow
Figure BDA0000739973900000092
Wherein d represents the recovery time value when the current flow of the terminal user is a preset value M, a (k) represents the flow value counted every preset time k, n represents the number of the preset time k, and n is a positive integer,
Figure BDA0000739973900000101
when the value of k is from 0 to n, the sum of corresponding flow values is represented;
a processing unit 2035 for substituting the f (x), f (y), f (c), and f (k) into the formula: f (t) ((x) + f (y) + f (c)) + f (k), wherein t is used for identifying the IP address used when different terminal users are online, and f (t) represents the cooling time when t is different values.
Optionally, as shown in fig. 4, the releasing module 205 includes:
a first searching unit 2051, configured to search, according to the offline request, an IP address used when the terminal user is online in an occupied queue;
a first transfer unit 2052, configured to take the IP address out of the occupied queue and insert the IP address into the tail of the cooling queue.
Optionally, as shown in fig. 2, the apparatus further includes:
a sending module 209, configured to generate a release confirmation message and send the release confirmation message to the terminal user, where the release confirmation message carries the released IP address information.
Optionally, as shown in fig. 5, the recycling module 207 includes:
a second searching unit 2071, configured to search, when the cooling time arrives, the released IP address from the cooling queue according to the confirm release message;
a second transferring unit 2072, configured to take the released IP address out of the cooling queue and insert the released IP address into the tail of the free queue to be allocated to the end user.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.

Claims (8)

1. A method for recovering an IP address, comprising:
acquiring an offline request of a terminal user, wherein the offline request carries an IP address used when the terminal user is online;
calculating the cooling time of the IP address used when the terminal user is online;
releasing the IP address from the occupation queue and moving the IP address into a cooling queue;
when the cooling time is up, the IP address is moved from the cooling queue to an idle queue to be allocated to an end user;
wherein, the calculating the cooling time of the IP address used when the terminal user is online comprises:
acquiring a functional relation expression f (x) ═ a x of the cooling time and the utilization rate of the IP address resources, wherein a is a value of the corresponding cooling time when the percentage of the IP addresses in the idle queue to the total IP address resources is 100%, x represents the percentage of the IP addresses in the idle queue to the total IP address resources, and the total IP address resources are the sum of the IP addresses in the idle queue, the occupied queue and the cooling queue;
acquiring a functional relational expression f (y) ═ b × y/100 of the cooling time and the access speed of the terminal user, wherein b is a value of the cooling time corresponding to 100 users accessed per second, and y represents the number of users accessed per second;
obtaining a functional relation expression of the cooling time and the service type
Figure FDA0002271222330000011
Wherein C is1~CnIndicating different service types, T1~TnIndicating different service typesValue of the next recovery time;
obtaining a relational expression of the cooling time and the flow of the current end user;
Figure FDA0002271222330000012
wherein d represents the recovery time value when the current flow of the terminal user is a preset value M, a (k) represents the flow value counted every preset time k, n represents the number of the preset time k, and n is a positive integer,
Figure FDA0002271222330000013
when the value of k is from 0 to n, the sum of corresponding flow values is represented;
substituting said f (x), f (y), f (c), and f (k) into the formula: f (t) ((x) + f (y) + f (c)) + f (k), wherein t is used for identifying the IP address used when different terminal users are online, and f (t) represents the cooling time when t is different values.
2. The method of claim 1, wherein the releasing and moving the IP address from the busy queue into the cool queue comprises:
searching an IP address used when the terminal user is on line in an occupation queue according to the offline request;
and taking the IP address out of the occupation queue and inserting the IP address into the tail of the cooling queue.
3. The method of claim 1, wherein after the step of releasing and moving the IP address from the occupied queue into the cool down queue, the method further comprises:
and generating a confirmation release message and sending the confirmation release message to the terminal user, wherein the confirmation release message carries the released IP address information.
4. The method of claim 3, wherein moving the IP address from the cooling queue into a free queue to be assigned to an end user when the cooling time arrives comprises:
when the cooling time is up, searching the released IP address from the cooling queue according to the confirmation release message;
and taking the released IP address out of the cooling queue and inserting the IP address into the tail of the free queue to be allocated to the end user.
5. An apparatus for recovering an IP address, comprising:
the system comprises an acquisition module, a download module and a download module, wherein the acquisition module is used for acquiring a download request of a terminal user, and the download request carries an IP address used when the terminal user is on line;
the computing module is used for computing the cooling time of the IP address used when the terminal user is online;
the release module is used for releasing the IP address from the occupation queue and moving the IP address into a cooling queue;
the recovery module is used for moving the IP address from the cooling queue into an idle queue to be allocated to an end user when the cooling time is up;
wherein the calculation module comprises:
a first obtaining unit, configured to obtain a functional relation expression f (x) ═ a × x of the cooling time and the usage rate of IP address resources, where a is a value of the corresponding cooling time when the percentage of IP addresses in an idle queue to the total IP address resources is 100%, x represents the percentage of IP addresses in the idle queue to the total IP address resources, and the total IP address resources are the sum of the IP addresses in the idle queue, the occupied queue, and the cooling queue;
a second obtaining unit, configured to obtain a functional relational expression f (y) ═ b × y/100 between the cooling time and an access speed of an end user, where b is a value of the cooling time corresponding to 100 users accessed per second, and y represents the number of users accessed per second;
a third obtaining unit, configured to obtain a functional relation expression between the cooling time and the service type
Figure FDA0002271222330000031
Wherein C is1~CnIndicating different service types, T1~TnThe value of the recovery time under different service types is represented;
a fourth obtaining unit for obtaining a relational expression of the cooling time and the current end user flow
Figure FDA0002271222330000032
Wherein d represents the recovery time value when the current flow of the terminal user is a preset value M, a (k) represents the flow value counted every preset time k, n represents the number of the preset time k, and n is a positive integer,
Figure FDA0002271222330000033
when the value of k is from 0 to n, the sum of corresponding flow values is represented;
a processing unit for substituting the f (x), f (y), f (c), and f (k) into the formula: f (t) ((x) + f (y) + f (c)) + f (k), wherein t is used for identifying the IP address used when different terminal users are online, and f (t) represents the cooling time when t is different values.
6. The apparatus of claim 5, wherein the release module comprises:
the first searching unit is used for searching an IP address used when the terminal user is on line in an occupation queue according to the offline request;
and the first transfer unit is used for taking the IP address out of the occupation queue and inserting the IP address into the tail of the cooling queue.
7. The apparatus of claim 5, wherein the apparatus further comprises:
and the sending module is used for generating a release confirmation message and sending the release confirmation message to the terminal user, wherein the release confirmation message carries the released IP address information.
8. The apparatus of claim 7, wherein the recovery module comprises:
a second searching unit, configured to search, when the cooling time arrives, the released IP address from the cooling queue according to the release confirmation message;
and the second transfer unit is used for taking out the released IP address from the cooling queue and inserting the tail of the free queue to be allocated to the end user.
CN201510336620.7A 2015-06-17 2015-06-17 Method and device for recovering IP address Active CN106331185B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510336620.7A CN106331185B (en) 2015-06-17 2015-06-17 Method and device for recovering IP address
PCT/CN2016/075973 WO2016202014A1 (en) 2015-06-17 2016-03-09 Method and device for recycling ip address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510336620.7A CN106331185B (en) 2015-06-17 2015-06-17 Method and device for recovering IP address

Publications (2)

Publication Number Publication Date
CN106331185A CN106331185A (en) 2017-01-11
CN106331185B true CN106331185B (en) 2020-03-10

Family

ID=57545025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510336620.7A Active CN106331185B (en) 2015-06-17 2015-06-17 Method and device for recovering IP address

Country Status (2)

Country Link
CN (1) CN106331185B (en)
WO (1) WO2016202014A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112948141A (en) * 2021-02-04 2021-06-11 北京淇瑀信息科技有限公司 Data processing method, device and system based on message middleware

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1957587A (en) * 2004-05-27 2007-05-02 艾利森电话股份有限公司 Arrangement and method for delayed re-allocation of addresses

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101795300B (en) * 2009-11-11 2012-07-25 福建星网锐捷网络有限公司 IP (Internet Protocol) address recovery method and system, as well as DHCP (Dynamic Host Configuration Protocol) repeater and DHCP server
CN103188266B (en) * 2013-03-26 2015-12-02 汉柏科技有限公司 A kind of address assignment based on ezvpn reclaims dynamic control method and system
CN104158917B (en) * 2013-05-14 2017-12-15 新华三技术有限公司 Reclaim the method and apparatus of the IP address at dhcp client end
CN104618519B (en) * 2013-11-04 2018-11-16 华为终端有限公司 The address PDP/PDN discharges notification method, device and server

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1957587A (en) * 2004-05-27 2007-05-02 艾利森电话股份有限公司 Arrangement and method for delayed re-allocation of addresses

Also Published As

Publication number Publication date
CN106331185A (en) 2017-01-11
WO2016202014A1 (en) 2016-12-22

Similar Documents

Publication Publication Date Title
CN109949111B (en) Electronic bill identification distribution method, electronic bill generation method, device and system
CN101599908B (en) Method and equipment for automatically distributing bandwidth
WO2015116449A1 (en) Methods, systems, and computer readable media for a cloud-based virtualization orchestrator
CN105704256B (en) A kind of IP address management methods, devices and systems
CN107769992B (en) Message parsing and shunting method and device
CN103108051A (en) Synchronous file sharing method from cloud server
RU2009133323A (en) VARIABLE LENGTH OF RADIO LINK CONTROL DATA PACKAGES
CN112217725B (en) Delay optimization method based on edge calculation
CN109981795B (en) Resource request scheduling method and device
CN1859250A (en) Resource managing device, cut-in system and method for securing multiple service quality
CN102711192A (en) Method and device for processing network service quality and communication system
CN109347982A (en) A kind of dispatching method and device of data center
CN106331185B (en) Method and device for recovering IP address
CN102891851A (en) Access control method, equipment and system of virtual desktop
WO2012155702A1 (en) Method, system, service processing server for updating service key
CN106385378A (en) Processing method and device for controlling message in in-band management control
CN105656794A (en) Data distribution method and device
CN105243078A (en) File resource distribution method, system and apparatus
WO2013123904A1 (en) Method and device for allocation of association identifier
CN105610593B (en) Method and device for distributing resource identification in network management system
CN100380890C (en) Data transmission method for matching upper protocol layer to high-speed serial bus
CN106209676A (en) The data processing method of cloud host computer systems based on many equipment and device
CN114430375B (en) Scheduling method, device, equipment and medium for multi-line machine room bandwidth
CN105447141A (en) Data processing method and node
CN110336758B (en) Data distribution method in virtual router and virtual router

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