CN107528931B - IP address self-adaptive keeping method, device and system based on user behavior - Google Patents

IP address self-adaptive keeping method, device and system based on user behavior Download PDF

Info

Publication number
CN107528931B
CN107528931B CN201610459789.6A CN201610459789A CN107528931B CN 107528931 B CN107528931 B CN 107528931B CN 201610459789 A CN201610459789 A CN 201610459789A CN 107528931 B CN107528931 B CN 107528931B
Authority
CN
China
Prior art keywords
address
user
user terminal
pgw
service
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
CN201610459789.6A
Other languages
Chinese (zh)
Other versions
CN107528931A (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 CN201610459789.6A priority Critical patent/CN107528931B/en
Publication of CN107528931A publication Critical patent/CN107528931A/en
Application granted granted Critical
Publication of CN107528931B publication Critical patent/CN107528931B/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/58Caching of addresses or names
    • 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/5053Lease time; Renewal aspects
    • 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 invention discloses a method, a device and a system for self-adaptive maintenance of an IP address based on user behavior, which relate to the technical field of mobile communication, wherein the method comprises the following steps: the PGW acquires the service type of the IP address which needs to be kept by the user; the PGW temporarily stores the IP address previously allocated to the user terminal when detecting that the user terminal is offline during the service period of needing to keep the IP address according to the service type of needing to keep the IP address by the user; and the PGW reassigns the temporarily stored IP address to the terminal when detecting that the user terminal is on line again. The invention ensures the smooth operation of the service by selectively keeping the IP address as unchanged as possible.

Description

IP address self-adaptive keeping method, device and system based on user behavior
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a method, an apparatus, and a system for maintaining an Internet Protocol (IP) address in an adaptive manner based on user behavior.
Background
Some clients use a Long Term Evolution (LTE) terminal as a Wireless local area network (WIFI) Router (Router) based on IEEE 802.11b standard, and then connect a group of terminals, where the WIFI Router automatically reconnects after disconnection due to unstable signals in part of time periods, and an address changes after reconnection, which causes interruption of a related off-hook terminal service.
In the application scenario of the car networking, for example, in an automatic driving state, due to bumpiness of a road surface or in a poor environment such as a tunnel, signal interruption may be caused, and an uploaded data is interrupted due to a change of an address after reconnection.
Meanwhile, with the rapid increase of network bandwidth and the development and popularization of hardware equipment, the market of video calls also enters the developing express way. A video call generally refers to a communication mode for transmitting a user's voice and image (e.g., a user's bust, a photograph, an article, etc.) in real time between user terminals (e.g., mobile phones) based on the internet and a mobile internet (i.e., 4G internet) terminal. In the process of video service, due to the influence of external factors of the environment and the like, signals are interrupted instantaneously, and after reconnection, the address changes, so that reconnection is needed when the video service is interrupted.
Therefore, based on the above various application scenarios, it is of practical significance to keep the address as unchanged as possible for different optional services.
In practical application, the method for realizing the user address as unchanged as possible is to allocate a static address to the user, that is, when the user opens an account and accesses the network, a fixed IP address is allocated to the user, and in any scene application, the same IP address is used by the user. However, in the address pool which is not rich in actual resources, the static address is very limited, and only few guest clients can enjoy the service. However, to meet the demand of the public, more and more users want to enjoy the service.
In order to overcome the limitation of limited static addresses, the invention provides an IP address self-adaptive holding method, device and system based on business behaviors (namely user behaviors), which is equivalent to converting dynamic addresses into static addresses for use in specific holding time, and the IP addresses are kept unchanged as much as possible before and after the business disconnection, thereby ensuring the smooth operation of the business.
Disclosure of Invention
The technical problem solved by the technical scheme provided by the embodiment of the invention is that the dynamic address is converted into the static address for use in a specific holding time, so that the IP address is kept as unchanged as possible before and after the service disconnection, and the service is ensured to be carried out smoothly.
The method for adaptively maintaining the IP address based on the user behavior provided by the embodiment of the invention comprises the following steps:
a Packet Data Network Gateway (PGW) acquires the service type of an IP address required to be kept by a user;
the PGW temporarily stores the IP address previously allocated to the user terminal when detecting that the user terminal is offline during the service period of needing to keep the IP address according to the service type of needing to keep the IP address by the user;
and the PGW reassigns the temporarily stored IP address to the terminal when detecting that the user terminal is on line again.
Preferably, when it is detected that the user terminal is offline during a service requiring IP address maintenance, the step of temporarily storing the IP address previously allocated to the user terminal includes:
and when the PGW detects that the user terminal is offline in the service period needing to maintain the IP address, the PGW sends the released IP address of the user terminal into a maintaining queue, and writes the IP address, the time of the IP address temporarily stored in the maintaining queue and user information into a context.
Preferably, the PGW determines a time for temporarily storing the IP address in the holding queue according to at least one of a user identity level, a service type of the IP address to be held, and an IP address usage rate in an address pool, and temporarily stores the IP address in the holding queue within the temporarily stored time.
Preferably, when detecting that the user terminal is online again, the step of reallocating the temporarily stored IP address to the terminal by the PGW includes:
when detecting that the user terminal is online again, the PGW acquires a service type of an IP address that a user needs to maintain from a Mobility Management Entity (MME);
searching the context to find the IP address corresponding to the service type of the IP address which needs to be kept by the user;
and taking out the IP address from the holding queue and reallocating the IP address to the terminal.
According to another embodiment of the present invention, an IP address adaptive maintaining method based on user behavior is provided, which includes:
during the period that the user terminal is attached to the network, a Home Subscriber Server (HSS) sends the service type of the user needing to keep the IP address to an MME;
when an MME initiates a request for establishing a service session to a packet data network gateway (PGW), sending a service type of an IP address required to be kept by a user to the PGW;
and the PGW temporarily stores the IP address previously allocated to the user terminal when detecting that the user terminal is offline during the service period of needing to maintain the IP address according to the service type of the IP address needing to be maintained by the user, and reallocates the temporarily stored IP address to the terminal when detecting that the user terminal is online again.
According to the storage medium provided by the embodiment of the invention, the program for realizing the IP address self-adaptive keeping method based on the user behavior is stored.
According to an embodiment of the present invention, an IP address adaptive retention apparatus based on user behavior is provided, where the apparatus is arranged in a PGW, and includes:
the information acquisition module is used for acquiring the service type of the IP address of the Internet protocol which needs to be kept by the user;
the address temporary storage module is used for temporarily storing the IP address which is previously allocated to the user terminal when detecting that the user terminal is offline during the service period of needing to keep the IP address according to the service type of needing to keep the IP address by the user;
and the address allocation module is used for reallocating the temporarily stored IP address to the terminal when the user terminal is detected to be on line again.
Preferably, when detecting that the user terminal is offline during a service period in which the IP address needs to be maintained, the address temporary storage module sends the released IP address of the user terminal to a maintenance queue, and writes the IP address, the time of temporarily storing the IP address in the maintenance queue, and user information into a context.
Preferably, the address temporary storage module determines a time for temporarily storing the IP address in the holding queue according to at least one of a user identity level, a service type of the IP address to be held, and an IP address usage rate in an address pool, and temporarily stores the IP address in the holding queue within the temporarily stored time.
Preferably, when detecting that the user terminal is online again, the address allocation module obtains the service type of the IP address that the user needs to keep from the MME, finds the IP address corresponding to the service type of the IP address that the user needs to keep by querying the context, and takes out the IP address from the holding queue to reallocate to the terminal.
The IP address self-adaptive maintaining system based on the user behavior provided by the embodiment of the invention comprises the following steps:
HSS, which is used to send the service type of the user needed to keep IP address to MME during the period of attaching the user terminal to the network;
the MME is used for sending the service type of the IP address which needs to be kept by the user to the PGW when a request for establishing the service session is sent to the PGW;
and the PGW is used for temporarily storing the IP address which is previously allocated to the user terminal when detecting that the user terminal is offline during the service period of needing to keep the IP address according to the service type of the IP address which needs to be kept by the user, and reallocating the temporarily stored IP address to the terminal when detecting that the user terminal is online again.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the invention ensures the smooth operation of the service by selectively keeping the IP address as unchanged as possible.
Drawings
FIG. 1 is a block diagram of a first method for adaptive IP address maintenance based on user behavior according to an embodiment of the present invention;
FIG. 2 is a block diagram of a first apparatus for adaptive IP address maintenance based on user behavior according to an embodiment of the present invention;
FIG. 3 is a block diagram of a second method for adaptive IP address maintenance based on user behavior according to an embodiment of the present invention;
FIG. 4 is an interaction flow diagram of an IP address adaptive maintenance system based on user behavior according to an embodiment of the present invention;
fig. 5(a) is a diagram of a structure of a user carried parameter provided in the prior art embodiment;
fig. 5(b) is a structure diagram of a user carried parameter provided in the embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, and it should be understood that the preferred embodiments described below are only for the purpose of illustrating and explaining the present invention, and are not to be construed as limiting the present invention.
Fig. 1 is a block diagram of a first method for adaptive IP address maintenance based on user behavior according to an embodiment of the present invention, as shown in fig. 1, the steps include:
step S101: the PGW acquires the service type that the user needs to keep the IP address.
When MME initiates a request for creating service session to PGW, PGW obtains the service type of IP address required to be kept by user from MME.
Further, when the PGW acquires the service type that the user needs to maintain the IP address, the PGW acquires user parameter information from the MME for indicating whether the user supports the IP address maintenance service and the user identity level.
Further, the PGW stores the service type of the user that needs to maintain the IP address, the user parameter information, and other user parameter information such as IMSI.
The PGW is a gateway responsible for UE accessing PDN, allocates user IP address, and is a mobility anchor point of 3GPP and non-3 GPP access systems, and the user can access multiple PGWs at the same time.
The MME is responsible for a signaling message processing part.
Step S102: and the PGW temporarily stores the IP address previously allocated to the user terminal when detecting that the user terminal is offline during the service period needing to maintain the IP address according to the service type needing to maintain the IP address by the user.
And when detecting that the user terminal is offline in a service period needing to maintain the IP address, the PGW sends the released IP address of the user terminal into a maintaining queue, and writes the IP address, the time of the IP address temporarily stored in the maintaining queue and user information into a context.
The user information is other parameter information of the user such as IMSI.
The PGW determines the time for temporarily storing the IP address in the holding queue according to at least one of the user identity level, the service type of the IP address to be held and the IP address utilization rate in the address pool, and temporarily stores the IP address in the holding queue within the temporarily stored time.
Step S103: and when the PGW detects that the user terminal is on line again, the temporary IP address is allocated to the terminal again.
And when the PGW detects that the user terminal is on-line again, the PGW acquires the service type of the IP address required to be kept by the user from the MME, finds the IP address corresponding to the service type of the IP address required to be kept by the user by inquiring the context, takes out the IP address from the keeping queue and redistributes the IP address to the terminal.
When detecting that the user terminal is offline, the PGW of this embodiment writes the IP address, the time for temporarily storing the IP address in the holding queue, the IMSI, and other user information into the context if it is determined that the IP address of the user terminal needs to be temporarily stored according to the service type of the IP address that needs to be held by the user, which is acquired before. And in the temporary storage time, the PGW reserves the IP address for the offline user terminal. If the user terminal is on-line in the temporary storage time, the PGW acquires the service type and user parameter information of the IP address required to be kept by the user from the MME, finds out the corresponding IP address from the context and distributes the corresponding IP address to the user terminal again, and the IP address is taken out from the keeping queue and sent into the occupation queue. If the user terminal is not on-line after the temporary storage time, the PGW takes out the IP address from the holding queue and sends the IP address to the idle queue, and the IP address can be allocated to other user terminals.
It will be understood by those skilled in the art that all or part of the steps in the method according to the above embodiments may be implemented by a program, which may be stored in a computer-readable storage medium, and includes steps S101 to S103 when the program is executed. The storage medium may be ROM/RAM, magnetic disk, optical disk, etc.
Fig. 2 is a block diagram of a first apparatus for adaptive IP address maintenance based on user behavior according to an embodiment of the present invention, as shown in fig. 2, including:
the information acquisition module 10 is used for acquiring the service type of the user needing to maintain the internet protocol IP address. The information obtaining module 10 obtains the service type of the IP address that the user needs to maintain from the MME, and obtains the user parameter information indicating whether the user supports the IP address maintenance service and the user identity level, and then stores the obtained service type of the IP address that the user needs to maintain, the user parameter information, and other user parameter information such as the IMSI.
And an address temporary storage module 20, configured to temporarily store the IP address previously allocated to the user terminal when detecting that the user terminal is offline during a service period in which the user terminal needs to maintain the IP address according to the service type in which the user needs to maintain the IP address. When detecting that the user terminal is offline during a service period in which the IP address needs to be maintained, the address temporary storage module 20 sends the released IP address of the user terminal to the maintenance queue, and writes the IP address, the time for temporarily storing the IP address in the maintenance queue, and user information (user information such as IMSI) into a context. The address temporary storage module 20 determines a time for temporarily storing the IP address in the holding queue according to at least one of the user identity level, the service type of the IP address to be held, and the usage rate of the IP address in the address pool, and temporarily stores the IP address in the holding queue within the temporarily stored time.
An address allocating module 30, configured to reallocate the temporarily stored IP address to the terminal when it is detected that the user terminal is online again. When detecting that the user terminal is online again, the address allocation module 30 obtains the service type and user parameter information of the IP address that the user needs to keep from the MME, finds the IP address corresponding to the service type of the IP address that the user needs to keep by querying the context, and takes out the IP address from the keep queue to reallocate to the terminal.
The adaptive IP address holding apparatus based on user behavior according to this embodiment is disposed on a PGW.
Fig. 3 is a block diagram of a second method for adaptive IP address maintenance based on user behavior according to an embodiment of the present invention, as shown in fig. 3, the steps include:
step S201: and during the attachment of the user terminal to the network, the HSS sends the service type of the IP address which needs to be kept by the user to the MME.
The HSS sends the service type of the user needing to keep the IP address to the MME, and simultaneously sends the user parameter information to the MME, wherein the user parameter information at least can be used for indicating whether the user supports the IP address keeping service, and further can be used for indicating the identity level of the user.
Step S202: and when the MME initiates a request for establishing a service session to the PGW, the MME sends the service type of the IP address which needs to be kept by the user to the PGW.
Similarly, the MME may send the user parameter information to the PGW while sending, to the PGW, the service type that the user needs to maintain the IP address.
Step S203: and the PGW temporarily stores the IP address previously allocated to the user terminal when detecting that the user terminal is offline during the service period of needing to maintain the IP address according to the service type of the IP address needing to be maintained by the user, and reallocates the temporarily stored IP address to the terminal when detecting that the user terminal is online again. And the PGW determines the time for temporarily storing the IP address in the holding queue according to at least one of the user identity level, the service type of the IP address to be held and the IP address utilization rate in the address pool.
In this embodiment, according to the new user parameter information and the user service behavior requirement, the IP address is selectively kept as unchanged as possible by combining the address allocation logic of the PGW, so as to ensure that the service is smoothly performed.
It will be understood by those skilled in the art that all or part of the steps in the method according to the above embodiments may be implemented by a program, which may be stored in a computer-readable storage medium, and includes steps S201 to S203 when the program is executed. The storage medium may be ROM/RAM, magnetic disk, optical disk, etc.
The embodiment of the invention also provides an IP address self-adaptive holding system based on user behavior, which comprises an HSS, an MME and a PGW, wherein:
HSS, which is used to send the service type of the user needed to keep IP address to MME during the period of attaching the user terminal to the network;
the MME is used for sending the service type of the IP address which needs to be kept by the user to the PGW when a request for establishing the service session is sent to the PGW;
and the PGW is used for temporarily storing the IP address which is previously allocated to the user terminal when detecting that the user terminal is offline during the service period of needing to keep the IP address according to the service type of the IP address which needs to be kept by the user, and reallocating the temporarily stored IP address to the terminal when detecting that the user terminal is online again.
The working steps of the system comprise:
step 1: adding a user parameter for distinguishing whether the signed user supports the self-adaptive maintenance of the IP address based on the user behavior and the supported level, wherein the parameter information is written into an HSS when a new user accesses the network, and simultaneously, the signed information such as the service type and the like required to be supported is also written into the HSS;
step 2: in the attachment process of the UE, the MME and the HSS carry out information interaction, the HSS brings the newly added parameter information of the signed user and the corresponding service type needing to be kept to the MME, and the MME brings the corresponding signed information to the PGW when a session request is created;
and step 3: when the signed user is off-line, the PGW self-adaptively maintains the IP address of the signed user according to the signed information brought by the MME, and when the signed user is on-line again in a period of time, the last address is directly allocated to the new access, so that the service is maintained uninterrupted.
The PGW calculates the time for keeping the IP address according to at least one of the identity level of the signed user, the signed service type and the IP address utilization rate in the whole address pool. For example, the time for maintaining the IP address, that is, the time for maintaining the IP address is adaptively calculated by the PGW according to the identity level of the subscriber, the service type of the subscription, and the usage rate of the IP address in the entire address pool. That is, when a new user signs up a service supporting an unchanged IP address, the identity level of the user needs to be distinguished. The higher the level of the user, the longer the time for keeping the IP address theoretically will be, and at the same time, the higher the level of the user will be influenced by the specific subscription service type and the occupied proportion of the IP address in the whole IP address pool. The more important the service behavior of the subscriber is, the lower the occupied proportion of the IP address in the whole IP address pool is, the higher the occupied proportion of the idle IP address is, and the longer the holding time is.
Aiming at the defects in the technology of allocating static addresses, the embodiment selectively keeps the IP address as unchanged as possible according to the service requirement, thereby ensuring the smooth operation of the service. Specifically, a user parameter (assumed to be m) is added, if m is 1, the IP address holding service is supported, and if m is 0, the service type that the user needs to hold is not supported, and when a new user accesses the network, subscription information is written. In the attachment process of a user terminal (UE), an MME and an HSS carry out information interaction, the HSS brings the service type (namely the IP address which the user needs to keep) which needs to be kept of the signed user to the MME, and the MME brings the service type which needs to be kept of the signed user to a PGW when a session request is created; when a signed user goes off-line, the PGW temporarily stores the IP address of the user, adaptively calculates the time (i.e. the temporarily stored time) that the IP address needs to be kept according to the level (i.e. the user identity level) of the signed user, the different service types (i.e. the service types that the user needs to keep the IP address) of the signed user and the occupied proportion (i.e. the IP address utilization rate in the address pool) of the IP address in the whole IP address pool, and directly allocates the last online IP address to the new access when the user goes on-line again in the calculated keeping time, so that the IP addresses of the services accessed at the previous and subsequent times are kept unchanged, the services are ensured not to be interrupted, and the service data are continuous.
According to the embodiment, the IP address can be adaptively maintained according to the subscription information of the user and aiming at different service behaviors of the subscriber, so that the continuity of service data is maintained before and after service link interruption, namely, the service data is not interrupted.
Fig. 4 is an interaction flowchart of an IP address adaptive retention system based on user behavior according to an embodiment of the present invention, and as shown in fig. 4, the steps include:
step S301 and step S302: the UE initiates an Attach Request.
Step S303: the MME sends an Update Location Request to the HSS.
Step S304: and the HSS sends an Update Location response message Update Location ACK to the MME.
And the Update position response message Update Location ACK carries the newly added parameter information of the subscriber and the corresponding service type needing to maintain the IP address.
Fig. 5(a) is a structure diagram of a user carried parameter provided in an embodiment of the prior art, and fig. 5(b) is a structure diagram of a user carried parameter provided in an embodiment of the present invention, as shown in fig. 5(a) and 5(b), in this embodiment, a user parameter (assumed to be m) is added, for example, if 0 indicates that the IP address holding service is not supported, if m is 1 indicates an ordinary client supporting the IP address holding service, if m is 2 indicates a middle-end client supporting the IP address holding service, and if m is 3 indicates a VIP client supporting the IP address holding service, and the like. When a new user accesses the network, the user determines whether to select the service keeping the IP address unchanged according to the requirement, if not, the parameter information is set to an invalid value in the signing, the required service goes through a conventional flow, namely if a signal interruption condition is met, the PGW randomly allocates the IP address to the user again, and the service before disconnection needs to be initiated again; if the user selects to sign up and keep the IP address unchanged, the parameter information is set as the effective value in signing up and the service type required to be kept by the user is written into the signing up information database HSS.
Step S305: the MME sends a Create Session Request to the PGW via a Serving Gateway (SGW).
The session creation request message 5 carries the subscription information corresponding to the user.
The SGW described above is responsible for the local network user data processing part.
Through steps S301 to S305, the UE initiates an attach request, the MME and the HSS perform information interaction in a location update request and a response message, the HSS brings the newly added parameter information of the subscribed user and the corresponding service type to be maintained to the MME in the location update response message, when the MME initiates a session creation request to the PGW via the SGW, the MME brings the subscription information corresponding to the user to the SGW in the session creation request message, and the SGW transmits the information to the PGW.
The PGW then performs the following steps:
the PGW writes the newly added user parameter m brought by MME and the subscription information related to the service type of the IP address to be kept into the user context together with other parameters of the user, such as IMSI, etc., if the new user parameter m is written into the user context A, the PGW can judge whether the user supports the keeping function of the service according to the information in the user context A when the user initiates the service flow subsequently.
2. A new dynamic context (assumed as context B) is added to the PGW for storing some user parameters, such as IMSI, IPPOOL, APN, IP address, time that the IP needs to be maintained, etc.
The IP addresses in the system are all in the idle queue at first, when a user accesses, one IP address needs to be taken from the idle queue, if n is assumed to be allocated to the user, then the IP address n is put into the occupied queue, when the user is offline, the IP address n distributed to the user comes out from the occupied queue, and under the conventional condition, the IP address enters the idle queue again and is subsequently allocated to other online users. In this embodiment, a holding queue (assumed to be C) needs to be newly added to store an IP address to be held, and after an occupied IP address n is released, the occupied IP address n enters the holding queue C first, and does not enter an idle queue any more within a holding time, so that the IP address cannot be allocated to other online users within a period of the holding time.
3. When a certain subscriber D performs a certain service e, the service suddenly enters a section of blind area (no 4G signal), so that the service is transiently unlinked, at this time, the PGW writes the IP address released by the subscriber D and some parameter information of the subscriber D, such as IMSI and the like, into the context B according to the specific content of the subscription information of the subscriber in the upper and lower a, and at the same time, the IP address of the subscriber D enters the holding queue C, and the subscriber D should not enter the idle queue within the preset holding time.
In this embodiment, the steps of the adaptive calculation and analysis of the time for the PGW to maintain the IP address are as follows:
PGW holds IP address time firstThe constraint of the identity level of the signed user presents a positive correlation function relationship with the identity of the signed user, the higher the level of the client, the longer the time for keeping the IP address theoretically, and the assumed function relationship with the identity level of the signed user is as follows: (m) α 1 · mβ1Where α 1, β 1 are constant factors, and f (m) is the time to maintain the IP address associated with the subscriber identity level.
And 3.2, the PGW keeps the IP address time and is restricted by the service row of the signed user, the service initiated by the user is different, the time to be kept is different, and the higher the service importance level is, the longer the time to be kept is. The importance of each service is determined by the subscription data of the user and the statistic big data of the operator. Based on big data statistical characteristics, an operator gives the weighted importance of each service according to the weight of each service in the total service during the peak period of the user, the signed service importance of the user is fixedly written when the user newly accesses the network, and the assumed relationship is as follows:
Figure BDA0001026242360000131
omega is the weight of the big data of the assumed operator statistics, T (e) is the function of the importance level of the signed service e of the user, and f (e) is the time for keeping the IP address related to the service type.
The PGW time to maintain an IP address is also affected by the proportion of the whole IP address pool occupied, assuming that when the percentage of free IP addresses to the IP addresses in the whole IP address pool is 100%, the IP maintenance time is a seconds, and then as the number of free IP addresses decreases (assuming that the ratio of free IP resources is x%), the IP maintenance time also changes accordingly, i.e., (a) ═ a · x%, and f (a) is the time to maintain an IP address in relation to the IP address usage rate.
3.4. As can be seen from steps 3.1, 3.2, and 3.3, the time that the PGW should maintain the IP address is affected by various factors, and the relationship that the final PGW should maintain the IP address time is basically obtained as follows: f (a), (f), (e), (f), (m). In this way, in the whole access process of the user off-line and on-line, a decision module of the IP address holding time is added, when an address is released, the module is called to calculate the IP address holding time, then the IP address holding time is put into a holding queue, the IP address is not distributed to other users in the holding time period, after the user is on-line again for a short time, the held IP address is discharged from the holding queue and distributed to the user for continuous use, and the service is ensured not to be interrupted.
4. After a short time, the user D is automatically online again, the MME brings some subscription information of the user to the PGW, the PGW proves that the user is the user who signs the contract and should keep the IP address according to the subscription information brought by the MME, then the IP address in the user data area in the context B is taken out, meanwhile, the user is taken out of the queue from the queue, and the kept IP address is re-allocated to the user, so that the IP addresses before and after the user D is disconnected for a short time are the same, the service can be continued, and the service of the user is ensured not to be interrupted; if the time is longer (the time for keeping the IP address in the subscription information is exceeded), the user D is on-line again, and at the moment, the information of the user D is released in the context B, and a keeping queue is also formed, the IP address in an idle queue is allocated, and the service cannot be continued before and after the user D loses connection.
In addition, if the user D is a user who has not signed a contract and should keep an IP address, the context a has no information of the user, and the information of the corresponding user cannot be queried, and after the user D comes online again, the PGW allocates an idle IP address to the user from the idle queue, so that the IP addresses before and after the disconnection are very different, and the service before the disconnection is forced to be interrupted, and the service is resumed.
According to the embodiment, whether the IP address needs to be maintained or not can be determined in a self-adaptive manner according to different user types and the service types subscribed by the user. According to the subscription information of the user, the IP address is maintained in a self-adaptive mode aiming at different service behaviors of the subscription user, service interruption caused by signal instantaneous interruption under certain special abnormal environments is avoided, when the subscription user is on-line again within a period of time, the last address is directly allocated to the new access, and the service is maintained to be uninterrupted.
Although the present invention has been described in detail hereinabove, the present invention is not limited thereto, and various modifications can be made by those skilled in the art in light of the principle of the present invention. Thus, modifications made in accordance with the principles of the present invention should be understood to fall within the scope of the present invention.

Claims (8)

1. An IP address self-adaptive keeping method based on user behaviors comprises the following steps:
a packet data network gateway (PGW) acquires the service type of an Internet Protocol (IP) address which a user needs to keep;
the PGW determines the time for temporarily storing the IP address according to the level of a signed user, the service type of the IP address required to be kept by the user and the IP address utilization rate in the whole IP address pool when detecting that the user terminal is offline in the service period of the IP address required to be kept by the user according to the service type of the IP address required to be kept by the user, and temporarily stores the IP address allocated to the user terminal before in the time;
and the PGW reassigns the temporarily stored IP address to the user terminal when detecting that the user terminal is on line again in the time.
2. The method of claim 1, wherein the step of temporarily storing the IP address previously allocated to the user terminal when the user terminal is detected to be offline during the service requiring the IP address to be maintained comprises:
and when detecting that the user terminal is offline in a service period needing to maintain the IP address, the PGW sends the released IP address of the user terminal into a maintaining queue, and writes the IP address, the time of the IP address temporarily stored in the maintaining queue and user information into a context.
3. The method of claim 2, wherein the step of reallocating the temporarily stored IP address to the ue by the PGW when detecting that the ue is online again comprises:
when the PGW detects that the user terminal is on-line again, acquiring the service type of the IP address required to be kept by the user from a Mobility Management Entity (MME);
searching the context to find the IP address corresponding to the service type of the IP address which needs to be kept by the user;
and taking out the IP address from the holding queue and reallocating the IP address to the user terminal.
4. An IP address self-adaptive keeping method based on user behaviors comprises the following steps:
during the period that a user terminal is attached to a network, a Home Subscriber Server (HSS) sends the service type of an Internet Protocol (IP) address which needs to be kept by the user to a Mobility Management Entity (MME);
when an MME initiates a request for establishing a service session to a packet data network gateway (PGW), sending a service type of an IP address required to be kept by a user to the PGW;
and the PGW determines the time for temporarily storing the IP address according to the level of a signed user, the service type of the IP address required to be kept by the user and the IP address utilization rate in the whole IP address pool when detecting that the user terminal is offline in the service period of the IP address required to be kept by the user, temporarily stores the IP address previously allocated to the user terminal in the time, and reallocates the temporarily stored IP address to the user terminal when detecting that the user terminal is online again.
5. An adaptive IP address holding apparatus based on user behavior, the apparatus being disposed in a packet data network gateway (PGW), comprising:
the information acquisition module is used for acquiring the service type of the IP address of the Internet protocol which needs to be kept by the user;
the address temporary storage module is used for determining the temporary storage time of the IP address according to the grade of a signed user, the service type of the IP address required to be kept by the user and the IP address utilization rate in the whole IP address pool when the fact that the user terminal is offline during the service period of the IP address required to be kept by the user is detected according to the service type of the IP address required to be kept by the user, and temporarily storing the IP address allocated to the user terminal before in the time;
and the address allocation module is used for reallocating the temporarily stored IP address to the user terminal when the user terminal is detected to be on-line again in the time.
6. The apparatus of claim 5, wherein the address buffering module sends the released IP address of the ue into the hold queue and writes the IP address, the time for buffering the IP address in the hold queue, and the user information into a context when detecting that the ue is offline during the service requiring IP address holding.
7. The apparatus of claim 6, wherein the address allocating module, when detecting that the ue is online again, obtains a service type of an IP address that needs to be maintained by the ue from an MME, finds an IP address corresponding to the service type of the IP address that needs to be maintained by the ue by querying the context, and takes out the IP address from the maintaining queue to reallocate the IP address to the ue.
8. An IP address adaptive maintenance system based on user behavior, comprising:
a Home Subscriber Server (HSS) for sending the service type of the user needing to keep the Internet Protocol (IP) address to a Mobility Management Entity (MME) during the period that a user terminal is attached to a network;
the MME is used for sending the service type of the user needing to keep the IP address to a packet data network gateway (PGW) when the request for establishing the service session is initiated to the PGW;
and the PGW is used for determining the temporary storage time of the IP address according to the level of a signed user, the service type of the IP address required to be kept by the user and the IP address utilization rate in the whole IP address pool when the user terminal is detected to be offline in the service period of the IP address required to be kept by the user according to the service type of the IP address required to be kept by the user, temporarily storing the IP address previously allocated to the user terminal in the time, and reallocating the temporarily stored IP address to the user terminal when the user terminal is detected to be online again in the time.
CN201610459789.6A 2016-06-22 2016-06-22 IP address self-adaptive keeping method, device and system based on user behavior Active CN107528931B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610459789.6A CN107528931B (en) 2016-06-22 2016-06-22 IP address self-adaptive keeping method, device and system based on user behavior

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610459789.6A CN107528931B (en) 2016-06-22 2016-06-22 IP address self-adaptive keeping method, device and system based on user behavior

Publications (2)

Publication Number Publication Date
CN107528931A CN107528931A (en) 2017-12-29
CN107528931B true CN107528931B (en) 2021-06-18

Family

ID=60735593

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610459789.6A Active CN107528931B (en) 2016-06-22 2016-06-22 IP address self-adaptive keeping method, device and system based on user behavior

Country Status (1)

Country Link
CN (1) CN107528931B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109120744A (en) * 2018-09-10 2019-01-01 郑州航空工业管理学院 A kind of IP address management method and IP address management device
CN109814917A (en) * 2019-01-16 2019-05-28 中国平安财产保险股份有限公司 Micro services dissemination method, device, computer equipment and storage medium
CN111092830B (en) * 2019-12-11 2022-01-11 成都华大九天科技有限公司 PCIE (peripheral component interface express) exchange chip port configuration system and method
CN111586153B (en) * 2020-04-30 2023-08-29 北京达佳互联信息技术有限公司 Communication method and device for cloud platform
CN114172753B (en) * 2020-09-10 2023-04-07 华为技术有限公司 Address reservation method, network equipment and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100246381A1 (en) * 2007-04-03 2010-09-30 Vodafone Group Plc Method for preventing overload in mobile telephone networks by using 'always-on' in the case of a call from a mobile telephone
CN101971595A (en) * 2008-03-12 2011-02-09 高通股份有限公司 Providing multiple levels of service for wireless communication
CN102238239A (en) * 2010-04-21 2011-11-09 电信科学技术研究院 IP address allocation method and device
CN102694873A (en) * 2011-03-22 2012-09-26 中兴通讯股份有限公司 Address pool distribution system and method
CN103297461A (en) * 2012-02-28 2013-09-11 中国移动通信集团公司 Setting method of NAT conversation keep-alive time duration and client-side and server
CN104796271A (en) * 2014-01-17 2015-07-22 中兴通讯股份有限公司 Connecting method and connecting device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459972B (en) * 2008-12-09 2010-09-29 中兴通讯股份有限公司 Method and access gateway for implementing user access holding in WiMAX system
CN103731816B (en) * 2012-10-16 2016-12-21 普天信息技术研究院有限公司 A kind of user device address management method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100246381A1 (en) * 2007-04-03 2010-09-30 Vodafone Group Plc Method for preventing overload in mobile telephone networks by using 'always-on' in the case of a call from a mobile telephone
CN101971595A (en) * 2008-03-12 2011-02-09 高通股份有限公司 Providing multiple levels of service for wireless communication
CN102238239A (en) * 2010-04-21 2011-11-09 电信科学技术研究院 IP address allocation method and device
CN102694873A (en) * 2011-03-22 2012-09-26 中兴通讯股份有限公司 Address pool distribution system and method
CN103297461A (en) * 2012-02-28 2013-09-11 中国移动通信集团公司 Setting method of NAT conversation keep-alive time duration and client-side and server
CN104796271A (en) * 2014-01-17 2015-07-22 中兴通讯股份有限公司 Connecting method and connecting device

Also Published As

Publication number Publication date
CN107528931A (en) 2017-12-29

Similar Documents

Publication Publication Date Title
CN107528931B (en) IP address self-adaptive keeping method, device and system based on user behavior
KR101903928B1 (en) Communication system, base station, communication method, and non-transitory computer readable medium storing program
US9641698B2 (en) Mobile communication network distribution system and mobile communication network distribution method
CN109495938B (en) Network switching method based on multi-access edge calculation
US10064096B2 (en) Traffic distribution in heterogenous network environment
CN102450052B (en) Method, equipment and system for processing data gateway load
US20120058765A1 (en) System and method for managing femto base stations and a femto zone in a wireless communication network
WO2020253747A1 (en) Session management method, session management function (smf) entity, terminal, and network side entity
US10362549B2 (en) Method and apparatus for setting up interface between access points
US9743286B2 (en) Gateway relocation control method and control device in mobile communication system
US9713176B2 (en) Telecommunication method and telecommunication system
KR20140103212A (en) Pocket cell having contents cache function and method for providing service the same
CN106454959B (en) Service quality control method of distributed network and server
CN102045651A (en) Cluster call method, MSC, BSC and communication system
US11425602B2 (en) Load balancing and service selection in mobile networks
US20230370947A1 (en) Systems, methods, and apparatuses for device routing management
CN106572030B (en) multipath transmission control method and system in distributed network
US8811358B2 (en) Network-initiated method and system for establishing data communication using IP with a wireless terminal
CN108307401B (en) Method and device for establishing communication connection and communication equipment
CN107615238B (en) Method for accessing local network and related equipment
CN110798369B (en) POOL mechanism realization method and system for B-Trunc group service
CN110278618B (en) Data processing method and system
KR102300272B1 (en) IP address setting method and device
CN103024679A (en) Method and network equipment for creating cluster call
KR20130023970A (en) Traffic control gateway and traffic control method using the same

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