Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for recovering ip address

A technology of IP address and recycling method, which is applied in the field of communication

Active Publication Date: 2020-03-10
ZTE CORP
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because some upper-layer applications still send packets to this address after the user goes offline, other users assigned this address will continue to be billed for traffic after they go online

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for recovering ip address
  • Method and device for recovering ip address
  • Method and device for recovering ip address

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] According to one aspect of the present invention, a method for reclaiming an IP address is provided. At first, the method obtains a terminal user's offline request; then, calculates the cooling time of the IP address used by the terminal user when going online; The IP address is released from the occupying queue and moved into a cooling queue; finally, when the cooling time arrives, the IP address is moved from the cooling queue into an idle queue to be allocated to end users.

[0063] In the IP address recovery method of the embodiment of the present invention, by adding a cooling queue, and calculating the recovery time of the corresponding IP address, the IP address that has just been allocated will not be occupied by other users immediately after being released, thereby avoiding the use of other users. Miscalculation of traffic improves user experience.

[0064] Such as figure 1 As shown, the method includes:

[0065] Step S11 , acquiring the logout request of the...

Embodiment 2

[0098] According to another aspect of the present invention, a device for recovering IP addresses is also provided, such as figure 2 As shown, the device 200 includes:

[0099] An acquisition module 201, configured to acquire an offline request of a terminal user, where the offline request carries the IP address used by the terminal user when going online;

[0100] Calculation module 203, configured to calculate the cooling time of the IP address used by the terminal user when going online;

[0101] A release module 205, configured to release the IP address from the occupying queue and move it into the cooling queue;

[0102] The recycling module 207 is configured to move the IP address from the cooling queue into an idle queue to be allocated to end users when the cooling time is up.

[0103] Optionally, as in image 3 As shown, the calculation module 203 includes:

[0104]The first obtaining unit 2031 is used to obtain the functional relationship expression f(x)=a*x bet...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The present invention provides a method and device for reclaiming an IP address. The method includes: obtaining an offline request of a terminal user, the offline request carrying the IP address used by the terminal user when going online; calculating the IP address used by the terminal user when going online; Cooling time of the IP address; release the IP address from the occupied queue and move it into the cooling queue; when the cooling time arrives, move the IP address from the cooling queue into the idle queue to be allocated to the end user. The solution of the present invention can avoid the problem that in some special application scenarios, the IP address that has just been allocated is immediately reclaimed and then allocated to other users, resulting in wrong flow billing.

Description

technical field [0001] The invention relates to the technical field of communications, in particular to a method and device for recovering an IP address. Background technique [0002] After the current Evolved Packet Core (EPC) equipment allocates an Internet Protocol (IP) address to a user, the allocated address will continue to be allocated to other users after the user goes offline. However, because some upper-layer applications still send packets to this address after the user goes offline, other users assigned this address will continue to be charged for traffic after they go online. Contents of the invention [0003] The technical problem to be solved by the present invention is to provide a method and device for recovering IP addresses, which can adaptively calculate the recovery time of IP addresses, so as to avoid that in some special application scenarios, the addresses just allocated are immediately recovered and then allocated to Other users, causing the probl...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/12
CPCH04L61/5007H04L61/00
Inventor 张小飞
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products