CN103701950A - IP (Internet protocol) address allocation method and device - Google Patents

IP (Internet protocol) address allocation method and device Download PDF

Info

Publication number
CN103701950A
CN103701950A CN201310740948.6A CN201310740948A CN103701950A CN 103701950 A CN103701950 A CN 103701950A CN 201310740948 A CN201310740948 A CN 201310740948A CN 103701950 A CN103701950 A CN 103701950A
Authority
CN
China
Prior art keywords
address
pond
pool
gateway
implicit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201310740948.6A
Other languages
Chinese (zh)
Other versions
CN103701950B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201310740948.6A priority Critical patent/CN103701950B/en
Publication of CN103701950A publication Critical patent/CN103701950A/en
Application granted granted Critical
Publication of CN103701950B publication Critical patent/CN103701950B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an IP (Internet protocol) address allocation method and an IP address allocation device, and relates to the technical field of communication networks. The method and the device are used for solving the network supervision problem through the IP address allocation. According to the method provided by the embodiment of the invention, the IP address application requests sent by UE (user equipment) are received through a gateway, the IP address application requests contain the position information of the UE; through an IP address pool, a target IP address corresponding to the position information of the UE is allocated to the UE, wherein the IP address pool comprises an internal IP address pool or an external legal network IP address pool corresponding to different position information. The scheme provided by the embodiment of the invention is suitable for being adopted during the IP address allocation.

Description

Distribution method and the device of a kind of IP address
Technical field
The present invention relates to communication network technology field, relate in particular to distribution method and the device of a kind of IP address.
Background technology
Along with network is towards the architecture evolution of supporting Packet Service, mobile communications network evolves to circuit/packet domain from traditional circuit domain and coexists, and finally enters full Internet protocol (Internet Protocol, the IP) epoch of full packet domain.Network evolution is exactly to change from unified bearer network sealing, based on Circuit-switched system to IP technology that open, based on packet switching in some sense.
Packet domain in current mobile communications network adopts and connects based on IP agreement.Subscriber equipment (User Equipment, UE) is to gateway application IP address in the attachment flow of network or service request flow process, and this IP address is used for connecting packet data network (Packet Data Network, PDN).Then gateway distributes one for interconnected IP address, outside for this UE.Concrete, gateway obtains at random an IP address in IP address pool.The all users under same gateway share all addresses in same address pool.
Yet, after adopting the IP address of the random distribution UE of gateway, when needs are supervised network, because gateway in the prior art is classified according to the regional location of IP address to IP address pool, cannot obtain IP address according to IP address and trace to the source in (region at the place, base station of service), thereby cause realizing the supervision problem of network.
Summary of the invention
Embodiments of the invention provide distribution method and the device of a kind of IP address, for solve the supervision problem of network by distributing IP address.
On the one hand, embodiments of the invention provide a kind of IP distribution method of address, comprising:
Gateway receives the application Internet protocol IP Address requests that user equipment (UE) sends, and described application IP Address requests comprises the positional information of described UE;
Described gateway is by IP address pool, and for described UE distributes target ip address corresponding to positional information of described UE, wherein, described IP address pool comprises implicit IP address pond or the outside legitimate network IP address pool that diverse location information is corresponding.
In another embodiment of the present invention, when described gateway does not possess network address translation nat feature, receive the application Internet protocol IP Address requests of user equipment (UE) transmission at described gateway before, described method also comprises:
M the geographical position of the UE that described gateway is served all IP address of management according to the first preset rules divided, obtain M implicit IP address pond, and described M implicit IP address pond and a described M geographical position are shone upon one by one, described M is more than or equal to 2 natural number.
In another embodiment of the present invention, when described gateway possesses described nat feature, receive the application Internet protocol IP Address requests of user equipment (UE) transmission at described gateway before, described method also comprises:
M the geographical position of the UE that described gateway is served all IP address of management according to the first preset rules divided, obtain M implicit IP address pond, and described M implicit IP address pond and a described M geographical position are shone upon one by one, described M is more than or equal to 2 natural number;
Described gateway is divided into M outside legitimate network IP address pool according to the second preset rules by outside legitimate network IP addresses all in described gateway, and described M implicit IP address pond and described M outside legitimate network IP address pool are shone upon one by one.
In another embodiment of the present invention, described gateway is by IP address pool, and for described UE distributes target ip address corresponding to positional information of described UE, described method comprises:
When described gateway does not possess described nat feature, according to the mapping relations of described geographical position querying geographical position and IP address pool, determine the IP address pool that described UE is corresponding; Obtain IP address pool corresponding to described IP address pool as described target ip address pond, from described target ip address pond, choose a unappropriated IP address as described target ip address;
When described gateway possesses described nat feature, according to the mapping relations of described geographical position querying geographical position and IP address pool, determine the implicit IP address pond that described UE is corresponding; According to implicit IP address pond corresponding to described UE, inquire about the mapping relations of described M implicit IP address pond and described M outside legitimate network IP address pool, determine outside legitimate network IP address pool corresponding to home address pond that described UE is corresponding; Obtain IP address pool in described outside legitimate network IP address pool as described target ip address pond, from described target ip address pond, choose a unappropriated IP address as described target ip address.
In another embodiment of the present invention, after described gateway receives the application Internet protocol IP Address requests of user equipment (UE) transmission, described method also comprises:
Described gateway forwards described application IP Address requests to external server, and wherein said external server is used to described UE to distribute described target ip address;
Described gateway receives the application IP address response that described external server sends, and described application IP address response comprises described target ip address.
On the other hand, embodiments of the invention provide a kind of IP distributor of address, comprising:
Receiver module, the application Internet protocol IP Address requests sending for receiving user equipment (UE), described application IP Address requests comprises the positional information of described UE;
Distribution module, for by IP address pool, for described UE distributes target ip address corresponding to positional information of described UE, wherein, described IP address pool comprises implicit IP address pond or the outside legitimate network IP address pool that diverse location information is corresponding.
In another embodiment of the present invention, described device also comprises:
Divide module, for M the geographical position of the UE that all IP address of management served according to the first preset rules, divide, obtain M implicit IP address pond;
Mapping block, for described M implicit IP address pond and a described M geographical position are shone upon one by one, described M is more than or equal to 2 natural number.
In another embodiment of the present invention, described division module, also for being divided into M outside legitimate network IP address pool according to the second preset rules by all outside legitimate network IP addresses of described device;
Described mapping block, also for shining upon described M implicit IP address pond and described M outside legitimate network IP address pool one by one.
In another embodiment of the present invention, described distribution module comprises:
Determining unit, for when described gateway does not possess described nat feature, according to the mapping relations of described geographical position querying geographical position and IP address pool, determines the IP address pool that described UE is corresponding;
Acquiring unit, for obtaining IP address pool corresponding to described IP address pool as described target ip address pond, chooses a unappropriated IP address as described target ip address from described target ip address pond;
Described determining unit, also for when described gateway possesses described nat feature, according to the mapping relations of described geographical position querying geographical position and IP address pool, determines the home address pond that described UE is corresponding; And the mapping relations of inquiring about described M home address pond and described M outside legitimate network IP address pool according to home address pond corresponding to described UE, determine outside legitimate network IP address pool corresponding to home address pond that described UE is corresponding;
Described acquiring unit, also for the IP address pool of obtaining described outside legitimate network IP address pool as described target ip address pond, from described target ip address pond, choose a unappropriated IP address as described target ip address.
In another embodiment of the present invention, described device also comprises: sending module,
Described sending module, for forwarding described application IP Address requests to external server, wherein said external server is used to described UE to distribute described target ip address;
Described receiver module, the application IP address response also sending for receiving described external server, described application IP address response comprises described target ip address.
Distribution method and the device of a kind of IP address that the embodiment of the present invention provides, receive by gateway the application IP Address requests that UE sends, and application IP Address requests comprises the positional information of UE; By IP address pool, be target ip address corresponding to positional information of UE distribution UE, wherein, IP address pool comprises the implicit IP address pond that diverse location information is corresponding.In IP address pool, obtain at random an IP address with available technology adopting gateway, causing obtaining IP address according to IP address traces to the source, thereby cause the supervision that cannot realize network to be compared, the present invention adopts gateway after the application IP Address requests of the positional information of carrying UE that receives UE transmission, according to the positional information of UE, search corresponding implicit IP address pond, then in this implicit IP address pond, obtain a unappropriated IP address as the target ip address of this UE, thereby can obtain the IP address information of tracing to the source according to IP address, realized the supervision to network.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The flow chart of the distribution method of a kind of IP address that Fig. 1 provides for the embodiment of the present invention;
A kind of structural representation of IP address pool in the distribution method of the IP address that Fig. 2 provides for the embodiment of the present invention;
The structural representation of another kind of IP address pool in the distribution method of the IP address that Fig. 3 provides for the embodiment of the present invention;
The flow chart of the distribution method of the another kind of IP address that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the distributor of a kind of IP address that Fig. 5 provides for the embodiment of the present invention;
The structural representation of the distributor of the another kind of IP address that Fig. 6 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, the embodiment of the present invention provides a kind of IP distribution method of address, and the method specifically comprises:
101, gateway receives the application IP Address requests that UE sends, and application IP Address requests comprises the positional information of UE.
The present invention can be applicable to global system for mobile communications and strengthens data transfer rate evolution Radio Access Network (Global System for Mobile Communications Enhanced Data Rate for GSM Evolution Radio Access Network, GERAN), universal land radio access web (Universal Terrestrial Radio Access Network, UTRAN), the general continental rise wireless access network of evolution (Evolved Universal Terrestrial Radio Access Network, E-UTRAN) mobile communications network and follow-up evolvement network etc.
The positional information of UE in application IP Address requests can be following any one positional information: Routing Area Code (Route Area Code, RAC), lane place coding (Location Area Code, LAC), Base Station Identification (NodeB Identification/eNodeB Identification, NB ID/eNB ID), cellular global identity (Cell Global Identification, CGI), E-UTRAN Cell Global Identifier (E-UTRAN Cell Global Identification, ECGI) etc.
This application IP Address requests can be followed in attachment flow that UE initiates or service request flow process and is sent to gateway in the present invention.
102, gateway, by IP address pool, is target ip address corresponding to positional information of UE distribution UE, and wherein, IP address pool comprises the implicit IP address pond that diverse location information is corresponding.
Optionally, when gateway does not possess network address translation (Network Address Translation, NAT), during function, M the geographical position that gateway is served all IP address of management according to the first preset rules divided, and obtains M implicit IP address pond.Wherein, this M implicit IP address pond and M geographical position are shone upon one by one, and M is more than or equal to 2 natural number.The present embodiment does not limit the mode of the first preset rules, such as, the order that geographical position is arranged according to LAC information is shone upon one by one with the implicit IP address pond at ascending place, IP address.As shown in table 1, in table 1, M is 5.
Figure BDA0000447595810000061
Table 1
As can be seen from Table 1, geographical position is identified with LAC information, comprising 0x1120,0x1121,0x1122,0x1123 and other geographical position.
At UE during in 0x1120, the UE quantity that gateway carries out Packet data service at most is simultaneously 130 (comprising 130 IP addresses), the geographical position of this 0x1120 and the first implicit IP address pond are shone upon one by one, and the first implicit IP address pond comprises 130 IP addresses.Wherein home address pond index is one.
At UE, during in 0x1121, the UE quantity that gateway carries out Packet data service at most is simultaneously 120, and the geographical position of this 0x1121 and the second implicit IP address pond are shone upon one by one, and the second implicit IP address pond comprises 120 IP addresses.Wherein home address pond index is two.
At UE, during in 0x1122, the UE quantity that gateway carries out Packet data service at most is simultaneously 100, and the geographical position of this 0x1122 and the 3rd implicit IP address pond are shone upon one by one, and the 3rd implicit IP address pond comprises 100 IP addresses.Wherein home address pond index is three.
At UE, during in 0x1123, the UE quantity that gateway carries out Packet data service at most is simultaneously 180, and the geographical position of this 0x1123 and the 4th implicit IP address pond are shone upon one by one, and the 4th implicit IP address pond comprises 180 IP addresses.Wherein home address pond index is four.
Other geographical position are the geographical position of possible IAD, but this geographical position does not belong to any one LAC information in above-mentioned 4 LAC information, the UE quantity that Packet data service is carried out in described other geographical position at most be simultaneously greater than or etc. 1, and other geolocation mappings are in the 5th home address pond, in the 5th home address pond, the quantity of implicit IP address is more than or equal to 1, according to actual conditions, arrange, the embodiment of the present invention does not limit this.Wherein home address pond index is five.
Or the first preset rules is for shining upon the Base Station Identification in geographical position etc. one by one according to descending order and the implicit IP address pond at descending place, IP address.
Need to illustrate, the uncertain geographical position of IP address assignment equipment for existing, as roam geographical position, the geographical position of acquiescence is set, when needing IAD, a UE carries out Packet data service, but do not belong to again ready-portioned any one geographical position, can be defined as the UE corresponding to geographical position of acquiescence.
The IP address pool of gateway can be with reference to figure 2.In Fig. 2, can see that all IP address that gateway is managed is all divided in different implicit IP address ponds, comprise the first implicit IP address pond, the second implicit IP address pond ... M implicit IP address pond, wherein M is greater than 2 natural number.
Optionally, when gateway possesses nat feature, M the geographical position that first gateway is served all IP address of management according to the first preset rules divided, and obtains M implicit IP address pond.Wherein, this M implicit IP address pond and M geographical position are shone upon one by one, and M is more than or equal to 2 natural number.Then gateway is divided into M outside legitimate network IP address pool according to the second preset rules by outside legitimate network IP addresses all in described gateway again, and M implicit IP address pond and gateway centering M outside legitimate network IP address pool are shone upon one by one.Be understandable that, all IP address in IP address pool is the private network IP address, inside of gateway.Can be with reference to figure 3, in Fig. 3, gateway changes into inner private network IP address by outside legitimate network IP address by nat feature, then according to the first preset rules, inner private network IP address is divided into M implicit IP address pond, and M implicit IP address pond and M outside legitimate network IP address pool after dividing are shone upon one by one, like this, when obtaining an outside legitimate network IP address, can be by the mapping relations of the outside legitimate network IP address pool corresponding with gateway of each implicit IP address pond in gateway, tracing to the source of IP address supervised or found in IP address.
Wherein, as shown in table 2: the mapping relations of the outside legitimate network IP address corresponding with gateway, M implicit IP address pond in gateway.In table 2, M is 5.
Figure BDA0000447595810000081
Table 2
As can be seen from Table 2, the outside legitimate network IP of the first implicit IP address pond and address pool K(address pool) mapping one by one, wherein external address pond index is K.In the first implicit IP address pond, can comprise at most 130 UE, at address pool K, comprise 15 outside legitimate network IP addresses.
The outside legitimate network IP of the second implicit IP address pond and address pool L(address pool) mapping one by one, wherein external address pond index is L.In the second implicit IP address pond, can comprise at most 120 UE, at address pool L, comprise 20 outside legitimate network IP addresses.
The outside legitimate network IP of the 3rd implicit IP address pond and address pool M(address pool) mapping one by one, wherein external address pond index is M.In the 3rd implicit IP address pond, can comprise at most 100 UE, at address pool M, comprise 20 outside legitimate network IP addresses.
The outside legitimate network IP of the 4th implicit IP address pond and address pool N(address pool) mapping one by one, wherein external address pond index is N.In the 4th implicit IP address pond, can comprise at most 180 UE, at address pool N, comprise 22 outside legitimate network IP addresses.
The outside legitimate network IP of the 5th implicit IP address pond and address pool E(address pool) mapping one by one, wherein external address pond index is E.In the first implicit IP address pond, be more than or equal to 1 UE many can comprising, in address pool E, bag is more than or equal to 1 outside legitimate network IP address.
Further, associative list 1 and table 2, when gateway possesses nat feature, according to the mapping relations in geographical position enquiring geographical position and implicit IP address pond (home address pond index), determine the implicit IP address pond that UE is corresponding; According to M home address pond of inquiry, implicit IP address pond corresponding to UE and the mapping relations (external address pond index) of M outside legitimate network IP address pool, determine outside legitimate network IP address pool corresponding to home address pond that UE is corresponding; Obtain outside legitimate network IP address pool corresponding to external address pond as target ip address pond, from target ip address pond, choose a unappropriated IP address as target ip address.
Concrete, when gateway possesses nat feature, can be directly according to the content obtaining target ip address in table 3.
Wherein table 3 associative list 1 and table 2: the mapping relations of the outside legitimate network IP address that in the mapping relations in geographical position and M in gateway implicit IP address pond and gateway, M implicit IP address pond and gateway are corresponding.
Table 3
Wherein, geographical position is by Location Area Code (Location Area Code, LAC) information represents, shown when LAC information is 0x1120, the maximum UE quantity of simultaneously carrying out Packet data service is 130, and 0x1120 is mapped in the first home address pond, the home address pond index in geographical position and the first implicit IP address pond is one.This first home address pond is mapped in the address pool K in outside legitimate network IP address pool, has 15 outside legitimate network IP addresses in this address pool K, and the external address pond index in outside legitimate network IP address pool and the first implicit IP address pond is K.
When LAC information is 0x1121, the maximum UE quantity of simultaneously carrying out Packet data service is 120, and 0x1121 is mapped in the second home address pond, and the home address pond index in geographical position and the second implicit IP address pond is two.This second home address pond is mapped in the address pool L in outside legitimate network IP address pool, has 20 outside legitimate network IP addresses in this address pool L, and the external address pond index in outside legitimate network IP address pool and the second implicit IP address pond is L.
When LAC information is 0x1122, the maximum UE quantity of simultaneously carrying out Packet data service is 100, and 0x1122 is mapped in the 3rd home address pond, and the home address pond index in geographical position and the 3rd implicit IP address pond is three.The 3rd home address pond is mapped in the address pool M in outside legitimate network IP address pool, has 20 outside legitimate network IP addresses in this address pool M, and the external address pond index in outside legitimate network IP address pool and the 3rd implicit IP address pond is M.
When LAC information is 0x1123, the maximum UE quantity of simultaneously carrying out Packet data service is 180, and 0x1123 is mapped in the 4th home address pond, and the home address pond index in geographical position and the 4th implicit IP address pond is four.The 4th home address pond is mapped in the address pool N in outside legitimate network IP address pool, has 22 outside legitimate network IP addresses in this address pool N, and the external address pond index in outside legitimate network IP address pool and the 4th implicit IP address pond is N.
When LAC information is other geographical position, the maximum UE quantity of simultaneously carrying out Packet data service is more than or equal to 1, and other geolocation mappings are in the 5th home address pond, and the home address pond index in geographical position and the 5th implicit IP address pond is five.The 5th home address pond is mapped in the address pool E in outside legitimate network IP address pool, is more than or equal to 1 outside legitimate network IP address in this address pool E, and the external address pond index in outside legitimate network IP address pool and the 5th implicit IP address pond is E.
Certainly, LAC change dump can be become initial or the Base Station Identification number of the zone name in geographical position all can.
Further, the first preset rules and the second preset rules can be (static configuration) that gateway receives artificial input; Or can be (dynamic-configuration) that gateway receives operation maintenance center (Operation Maintenance Center, OMC) remote input.While wherein carrying out remote input user geographical position and IP address pool mapping regular by OMC, concrete operations comprise: the first step, and OMC sends a notification message to gateway, and this notification message is used for informing and will sends data message to gateway.Second step, gateway, after receiving the notification message of OMC transmission, sends push-notification-answer to OMC, and this push-notification-answer has carried out for informing OMC gateway the preparation that receives data.The 3rd step, OMC is to gateway to the regular data that send about user geographical position and the mapping of IP address pool.The 4th step, gateway receives the data about the first preset rules and/or the second preset rules that OMC sends.
It should be noted that, when the rule of user geographical position and IP address pool mapping changes, gateway can receive the rule that user geographical position after the renewal of artificial input and IP address pool are shone upon.Or gateway receives the regular data about the user geographical position after upgrading and the mapping of IP address pool that OMC sends.Concrete, OMC sends and upgrades request of data to gateway, and this renewal request of data changes by the rule of Chinese address location and the mapping of IP address pool for informing gateway.Gateway, after receiving this renewal request of data, sends more new data response to OMC, this more new data response for informing OMC gateway, carried out the preparation that receives data.Then the rule that the user geographical position of OMC after send upgrading to gateway and IP address pool are shone upon, so that after the rule that the user geographical position of gateway after receiving this and upgrading and IP address pool are shone upon, managed IP address is repartitioned, generated the implicit IP address pond after upgrading.
Need to illustrate, in the application IP address sending at UE, can also comprise applied address type identification, the IP address of this application address style sign indication UE application is IPv4 type or IPv6 type, in IP address pool corresponding to UE, for UE distributing IP address, comprise: when the IP address of applied address type identification indication UE application is IPv4 type, in IP address pool corresponding to UE, be the IP address of UE distributing IP v4 type; When the IP address of applied address type identification indication UE application is IPv6 type, in IP address pool corresponding to UE, be the IP address prefix of UE distributing IP v6 type.
In implementation of the present invention, can realize the supervision to IP address, and can find tracing to the source of IP address.
Wherein a kind of implementation can be: the IP address that disabled user is provided by service provider, operator is from the mapping relations of geographical position shown in table 3 and IP address pool, according to this disabled user's IP address, determine user position, supervision department supervises relevant geographic area user's related service or control etc.
In addition, gateway can distribute by external server the IP address of UE.Wherein external server can be DHCP (Dynamic Host Configuration Protocol, DHCP) server, remote customer dialing authentication server (Remote Authentication Dial In User Service, RADIUS), diameter Diameter server etc.As shown in Figure 4, the invention provides the distribution method of IP address in another, specific as follows:
401, gateway receives the application IP Address requests that UE sends.
Wherein, application IP Address requests comprises positional information, the application IP address class type of UE.
402, gateway sends to external server by this application IP Address requests.
403, external server is after receiving this application IP Address requests, for UE distributes target ip address.
Wherein, external server is according to the content in application IP Address requests, and the mode that is UE distributing IP address according to gateway is that UE distributes target ip address.Wherein, external server is that UE distributes the concrete mode of target ip address with reference to the description in figure 1, at this, not repeat one by one.
404, external server sends application IP address response to gateway.
Wherein, application IP address response comprises target ip address.
405, gateway receives this application IP address response, and the target ip address that this application IP address response is comprised sends to UE.
Application IP Address requests UE being sent by gateway is transmitted to external server, can realize by external server and go restriction to need user (user of address in the address pool in acquisition geographical position) the access related service of supervision geographic area, but not affect the use of other business.
As shown in Figure 5, the embodiment of the present invention provides the distributor 50 of a kind of IP address, and this device 50 comprises: receiver module 501, distribution module 502.
Receiver module 501, the application Internet protocol IP Address requests sending for receiving user equipment (UE), application IP Address requests comprises the positional information of UE.
Distribution module 502, for by IP address pool, is target ip address corresponding to positional information of UE distribution UE, and wherein, IP address pool comprises the implicit IP address pond that diverse location information is corresponding.
Further, as shown in Figure 6, the present invention also provides the distributor 60 of another kind of IP address, and this device 60 also comprises divides module 503, mapping block 504, sending module 505; Wherein, distribution module 502 comprises determining unit 5021, acquiring unit 5022.
Before receiver module 501 receives the application IP Address requests of UE transmission, when described device 60 possesses nat feature, need to divide module 503 and according to the first preset rules, M the geographical position of the UE that serves of all IP address of management be divided, obtain M implicit IP address pond.Then mapping block 504 shines upon M implicit IP address pond and M geographical position one by one, and M is more than or equal to 2 natural number.
When described device 60 does not possess nat feature, need to divide module 503, according to the second preset rules, all outside legitimate network IP addresses in device are divided into M outside legitimate network IP address pool.Then mapping block 504 shines upon M implicit IP address pond and M outside legitimate network IP address pool one by one, and all IP address in IP address pool is the private network IP address, inside of gateway.
After receiver module 501 receives the application IP Address requests of UE transmission, when gateway does not possess nat feature, determining unit 5021 in distribution module 502, according to the mapping relations of geographical position enquiring geographical position and IP address pool, is determined the IP address pool that UE is corresponding; Then acquiring unit 5022 obtains IP address pool corresponding to IP address pool as target ip address pond, chooses a unappropriated IP address as target ip address from target ip address pond.
When gateway possesses nat feature, determining unit 5021, also, for according to the mapping relations of geographical position enquiring geographical position and IP address pool, determines the home address pond that UE is corresponding; And according to M home address pond of inquiry, home address pond corresponding to UE and the mapping relations of M outside legitimate network IP address pool, determine outside legitimate network IP address pool corresponding to home address pond that UE is corresponding.Acquiring unit 5022, also for the IP address pool of obtaining outside legitimate network IP address pool as target ip address pond, from target ip address pond, choose a unappropriated IP address as target ip address.
Further alternative, after receiver module 501 receives the application IP Address requests of UE transmission, sending module 505 forwards application IP Address requests to external server, and wherein external server is used to UE to distribute target ip address.Then external server can be according to the content in this application IP Address requests, for UE distributes target ip address.Then the application IP address response of carrying this target ip address is sent to receiver module 501, then receiver module 501 receives the application IP address response that external server sends, and application IP address response comprises target ip address.
It should be noted that, in Fig. 5 shown device 50 and Figure 60 shown device 60, the specific implementation process of its modules and the contents such as information interaction between modules, due to the inventive method embodiment based on same inventive concept, can, referring to embodiment of the method, at this, not repeat one by one.
In implementation of the present invention, can realize the supervision to IP address, and can find tracing to the source of IP address.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to device is divided into different functional modules, to complete all or part of function described above.The system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described module or unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (10)

1. a distribution method for IP address, is characterized in that, comprising:
Gateway receives the application Internet protocol IP Address requests that user equipment (UE) sends, and described application IP Address requests comprises the positional information of described UE;
Described gateway is by IP address pool, and for described UE distributes target ip address corresponding to positional information of described UE, wherein, described IP address pool comprises implicit IP address pond or the outside legitimate network IP address pool that diverse location information is corresponding.
2. the distribution method of IP according to claim 1 address, it is characterized in that, when described gateway does not possess network address translation nat feature, receive the application Internet protocol IP Address requests of user equipment (UE) transmission at described gateway before, described method also comprises:
M the geographical position of the UE that described gateway is served all IP address of management according to the first preset rules divided, obtain M implicit IP address pond, and described M implicit IP address pond and a described M geographical position are shone upon one by one, described M is more than or equal to 2 natural number.
3. the distribution method of IP according to claim 1 address, is characterized in that, when described gateway possesses described nat feature, receive the application Internet protocol IP Address requests of user equipment (UE) transmission at described gateway before, described method also comprises:
M the geographical position of the UE that described gateway is served all IP address of management according to the first preset rules divided, obtain M implicit IP address pond, and described M implicit IP address pond and a described M geographical position are shone upon one by one, described M is more than or equal to 2 natural number;
Described gateway is divided into M outside legitimate network IP address pool according to the second preset rules by outside legitimate network IP addresses all in described gateway, and described M implicit IP address pond and described M outside legitimate network IP address pool are shone upon one by one.
4. according to the distribution method of the IP address described in any one in claim 1-3, it is characterized in that, described gateway is by IP address pool, and for described UE distributes target ip address corresponding to positional information of described UE, described method comprises:
When described gateway does not possess described nat feature, according to the mapping relations of described geographical position querying geographical position and IP address pool, determine the IP address pool that described UE is corresponding; Obtain IP address pool corresponding to described IP address pool as described target ip address pond, from described target ip address pond, choose a unappropriated IP address as described target ip address;
When described gateway possesses described nat feature, according to the mapping relations of described geographical position querying geographical position and IP address pool, determine the implicit IP address pond that described UE is corresponding; According to implicit IP address pond corresponding to described UE, inquire about the mapping relations of described M implicit IP address pond and described M outside legitimate network IP address pool, determine outside legitimate network IP address pool corresponding to home address pond that described UE is corresponding; Obtain IP address pool in described outside legitimate network IP address pool as described target ip address pond, from described target ip address pond, choose a unappropriated IP address as described target ip address.
5. the distribution method of IP according to claim 1 address, is characterized in that, after described gateway receives the application Internet protocol IP Address requests of user equipment (UE) transmission, described method also comprises:
Described gateway forwards described application IP Address requests to external server, and wherein said external server is used to described UE to distribute described target ip address;
Described gateway receives the application IP address response that described external server sends, and described application IP address response comprises described target ip address.
6. a distributor for IP address, is characterized in that, comprising:
Receiver module, the application Internet protocol IP Address requests sending for receiving user equipment (UE), described application IP Address requests comprises the positional information of described UE;
Distribution module, for by IP address pool, for described UE distributes target ip address corresponding to positional information of described UE, wherein, described IP address pool comprises implicit IP address pond or the outside legitimate network IP address pool that diverse location information is corresponding.
7. the distributor of IP according to claim 6 address, is characterized in that, described device also comprises:
Divide module, for M the geographical position of the UE that all IP address of management served according to the first preset rules, divide, obtain M implicit IP address pond;
Mapping block, for described M implicit IP address pond and a described M geographical position are shone upon one by one, described M is more than or equal to 2 natural number.
8. the distributor of IP according to claim 7 address, is characterized in that,
Described division module, also for being divided into M outside legitimate network IP address pool according to the second preset rules by all outside legitimate network IP addresses of described device;
Described mapping block, also for shining upon described M implicit IP address pond and described M outside legitimate network IP address pool one by one.
9. according to the distributor of the IP address described in any one in claim 6-8, it is characterized in that, described distribution module comprises:
Determining unit, for when described gateway does not possess described nat feature, according to the mapping relations of described geographical position querying geographical position and IP address pool, determines the IP address pool that described UE is corresponding;
Acquiring unit, for obtaining IP address pool corresponding to described IP address pool as described target ip address pond, chooses a unappropriated IP address as described target ip address from described target ip address pond;
Described determining unit, also for when described gateway possesses described nat feature, according to the mapping relations of described geographical position querying geographical position and IP address pool, determines the home address pond that described UE is corresponding; And the mapping relations of inquiring about described M home address pond and described M outside legitimate network IP address pool according to home address pond corresponding to described UE, determine outside legitimate network IP address pool corresponding to home address pond that described UE is corresponding;
Described acquiring unit, also for the IP address pool of obtaining described outside legitimate network IP address pool as described target ip address pond, from described target ip address pond, choose a unappropriated IP address as described target ip address.
10. the distributor of IP according to claim 6 address, is characterized in that, described device also comprises: sending module,
Described sending module, for forwarding described application IP Address requests to external server, wherein said external server is used to described UE to distribute described target ip address;
Described receiver module, the application IP address response also sending for receiving described external server, described application IP address response comprises described target ip address.
CN201310740948.6A 2013-12-26 2013-12-26 The distribution method and device of a kind of IP address Active CN103701950B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310740948.6A CN103701950B (en) 2013-12-26 2013-12-26 The distribution method and device of a kind of IP address

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310740948.6A CN103701950B (en) 2013-12-26 2013-12-26 The distribution method and device of a kind of IP address

Publications (2)

Publication Number Publication Date
CN103701950A true CN103701950A (en) 2014-04-02
CN103701950B CN103701950B (en) 2017-09-08

Family

ID=50363342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310740948.6A Active CN103701950B (en) 2013-12-26 2013-12-26 The distribution method and device of a kind of IP address

Country Status (1)

Country Link
CN (1) CN103701950B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015149341A1 (en) * 2014-04-03 2015-10-08 华为技术有限公司 Ip address allocation device, system and method
WO2016045394A1 (en) * 2014-09-23 2016-03-31 中兴通讯股份有限公司 Internal address allocation method, apparatus, server, and system
CN105681486A (en) * 2016-01-15 2016-06-15 华洋通信科技股份有限公司 XinIP cross-broadcast domain data communication method
CN106856511A (en) * 2015-12-08 2017-06-16 中国电信股份有限公司 Method, gateway, PCRF network elements and system for dynamic assignment IP address pond
WO2017121173A1 (en) * 2016-01-14 2017-07-20 中兴通讯股份有限公司 Ip address allocation method, device, gateway and system
CN107113207A (en) * 2015-01-29 2017-08-29 三菱电机株式会社 Network system, address management apparatus and address management method
CN107528934A (en) * 2017-09-30 2017-12-29 中国联合网络通信集团有限公司 User terminal IP address management method and system
CN107809497A (en) * 2016-09-09 2018-03-16 中国电信股份有限公司 Number resource pond management method and system
CN108076164A (en) * 2016-11-16 2018-05-25 新华三技术有限公司 Access control method and device
CN109891853A (en) * 2016-11-03 2019-06-14 微软技术许可有限责任公司 Impossible stroke is detected in being locally located
WO2020088343A1 (en) * 2018-11-01 2020-05-07 中兴通讯股份有限公司 Address pool centralized management method and device, and storage medium
CN114221936A (en) * 2021-12-07 2022-03-22 中国电信股份有限公司 Address allocation method, system, terminal and address allocation platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101374249A (en) * 2007-08-21 2009-02-25 彭亮 Method for obtaining terminal real time accurate geographic position based on the mobile terminal IP address
CN101513020A (en) * 2006-07-07 2009-08-19 高通股份有限公司 Geolocation-based addressing method for IPV6 addresses
CN101572692A (en) * 2008-04-28 2009-11-04 华为技术有限公司 Method, system and equipment for IP address assignment
CN101998442A (en) * 2009-08-10 2011-03-30 北京三星通信技术研究有限公司 Remote access method and system
CN102014368A (en) * 2009-09-07 2011-04-13 中国移动通信集团公司 Method, system and device for acquiring position information of user equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101513020A (en) * 2006-07-07 2009-08-19 高通股份有限公司 Geolocation-based addressing method for IPV6 addresses
CN101374249A (en) * 2007-08-21 2009-02-25 彭亮 Method for obtaining terminal real time accurate geographic position based on the mobile terminal IP address
CN101572692A (en) * 2008-04-28 2009-11-04 华为技术有限公司 Method, system and equipment for IP address assignment
CN101998442A (en) * 2009-08-10 2011-03-30 北京三星通信技术研究有限公司 Remote access method and system
CN102014368A (en) * 2009-09-07 2011-04-13 中国移动通信集团公司 Method, system and device for acquiring position information of user equipment

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9854554B2 (en) * 2014-04-03 2017-12-26 Huawei Technologies Co., Ltd. IP address assignment apparatus, system, and method
CN105519079A (en) * 2014-04-03 2016-04-20 华为技术有限公司 Ip address allocation device, system and method
WO2015149341A1 (en) * 2014-04-03 2015-10-08 华为技术有限公司 Ip address allocation device, system and method
US20170019874A1 (en) * 2014-04-03 2017-01-19 Huawei Technologies Co., Ltd. Ip address assignment apparatus, system, and method
EP3125507A1 (en) * 2014-04-03 2017-02-01 Huawei Technologies Co., Ltd Ip address allocation device, system and method
EP3125507A4 (en) * 2014-04-03 2017-04-05 Huawei Technologies Co., Ltd. Ip address allocation device, system and method
CN105519079B (en) * 2014-04-03 2019-05-10 华为技术有限公司 IP address distributor, system and method
WO2016045394A1 (en) * 2014-09-23 2016-03-31 中兴通讯股份有限公司 Internal address allocation method, apparatus, server, and system
CN107113207B (en) * 2015-01-29 2020-03-13 三菱电机株式会社 Network system, address management device, and address management method
CN107113207A (en) * 2015-01-29 2017-08-29 三菱电机株式会社 Network system, address management apparatus and address management method
CN106856511B (en) * 2015-12-08 2019-12-06 中国电信股份有限公司 Method, gateway, PCRF network element and system for dynamically assigning IP address pool
CN106856511A (en) * 2015-12-08 2017-06-16 中国电信股份有限公司 Method, gateway, PCRF network elements and system for dynamic assignment IP address pond
WO2017121173A1 (en) * 2016-01-14 2017-07-20 中兴通讯股份有限公司 Ip address allocation method, device, gateway and system
CN105681486B (en) * 2016-01-15 2018-11-23 华洋通信科技股份有限公司 A kind of across broadcast domain data communications method of XinIP
CN105681486A (en) * 2016-01-15 2016-06-15 华洋通信科技股份有限公司 XinIP cross-broadcast domain data communication method
CN107809497A (en) * 2016-09-09 2018-03-16 中国电信股份有限公司 Number resource pond management method and system
CN107809497B (en) * 2016-09-09 2021-01-15 中国电信股份有限公司 Number resource pool management method and system
CN109891853A (en) * 2016-11-03 2019-06-14 微软技术许可有限责任公司 Impossible stroke is detected in being locally located
CN108076164A (en) * 2016-11-16 2018-05-25 新华三技术有限公司 Access control method and device
CN108076164B (en) * 2016-11-16 2021-03-23 新华三技术有限公司 Access control method and device
CN107528934A (en) * 2017-09-30 2017-12-29 中国联合网络通信集团有限公司 User terminal IP address management method and system
WO2020088343A1 (en) * 2018-11-01 2020-05-07 中兴通讯股份有限公司 Address pool centralized management method and device, and storage medium
CN114221936A (en) * 2021-12-07 2022-03-22 中国电信股份有限公司 Address allocation method, system, terminal and address allocation platform

Also Published As

Publication number Publication date
CN103701950B (en) 2017-09-08

Similar Documents

Publication Publication Date Title
CN103701950A (en) IP (Internet protocol) address allocation method and device
RU2366100C2 (en) System and method to use ip-address as wireless module identifier
CN106790732B (en) Address translation method, device and system, and network identification control method and device
CN103262503B (en) Node selecting method and equipment in packet core network
US9204290B2 (en) Method and system for constructing a domain name for a radio network node in a cellular communication system
KR20210054472A (en) Apparatus and mehtod ofr providing information of application server in a mobile communication system
KR20170125127A (en) Communication system, base station, communication method, and non-transitory computer readable medium storing program
WO2013039965A1 (en) Deterministic mapping
US20190182205A1 (en) Method and apparatus for automatic geoaware access point provisioning
EP3725060B1 (en) Directing packets to service chain associated with user plane anchor
CN104333610A (en) IPv6 address allocation method and device
CN103109517A (en) Double-stack terminal accessing service method, terminal and system
KR20170063067A (en) Method and apparatus for relay link establish in wireless communication system
US20160242110A1 (en) Method and system for network node selection based ue agent assisted modification of temporary identity in 3g and 4g networks
CN103167483B (en) A kind of data forwarding method based on tunnel, equipment and system
CN102098356A (en) Method for translating Internet protocol version 4 (IPv4)/Internet protocol version 6 (IPv6) initiating communication by using IPv4 based on cloud service
US20220078606A1 (en) Apparatus, method and computer program
CN102739821A (en) Method and system for allocating IP addresses
CN103916493A (en) IP address field distribution method and device
CN104468138A (en) Implementation method of multimedia conference
CN101594394A (en) Discovering server method, system and equipment
CN101945362A (en) Network message processing method, device and communication system
CN104333612A (en) Network address translation method and device
US20160197828A1 (en) Discovery of network address allocations and translations in wireless communication systems
US20150049637A1 (en) Method and network device for configuring a data transfer network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant