CN103701950B - The distribution method and device of a kind of IP address - Google Patents

The distribution method and device of a kind of IP address Download PDF

Info

Publication number
CN103701950B
CN103701950B CN201310740948.6A CN201310740948A CN103701950B CN 103701950 B CN103701950 B CN 103701950B CN 201310740948 A CN201310740948 A CN 201310740948A CN 103701950 B CN103701950 B CN 103701950B
Authority
CN
China
Prior art keywords
address
pond
gateway
address pond
target
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
CN201310740948.6A
Other languages
Chinese (zh)
Other versions
CN103701950A (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

Abstract

The present invention discloses the distribution method and device of a kind of IP address, is related to technical field of communication network, the supervision problem for solving network by distributing IP address.The embodiment of the present invention receives the application IP address request that UE is sent by gateway, and application IP address request includes UE positional information;It is the corresponding target ip address of positional information that UE distributes UE by IP address pond, wherein, IP address pond includes the corresponding implicit IP address pond of diverse location information or outside legitimate network IP address pond.Scheme provided in an embodiment of the present invention is suitable to use when being allocated IP address.

Description

The distribution method and device of a kind of IP address
Technical field
The present invention relates to the distribution method and device of technical field of communication network, more particularly to a kind of IP address.
Background technology
As network is towards the architecture evolution for supporting Packet Service, mobile communications network is from traditional circuit domain evolution Coexisted to circuit/packet domain, eventually enter into the full Internet protocol of full packet domain(Internet Protocol, IP)Epoch.Net Network evolution is exactly system from closing, based on circuit switching in some sense to IP technologies open, based on packet switch Unified bearer network transformation.
Packet domain in current mobile communications network is used to be attached based on IP agreement.User equipment(User Equipment, UE)It is used in the attachment flow or service request flow of network to gateway application IP address, the IP address Connect packet data network(Packet Data Network, PDN).Then gateway is that the UE distributes one for external interconnections IP address.Specifically, gateway obtains an IP address into IP address pond at random.All users i.e. under same gateway Share all addresses in same address pool.
However, using gateway come after random distribution UE IP address, when needing to supervise network, due to Gateway is not classified to IP address pond according to the regional location of IP address in the prior art, it is impossible to obtained according to IP address IP address is traced to the source(Region where the base station of service), so as to lead to not the supervision problem for realizing network.
The content of the invention
Embodiments of the invention provide the distribution method and device of a kind of IP address, for being solved by distributing IP address The supervision problem of network.
On the one hand, embodiments of the invention provide a kind of distribution method of IP address, including:
Gateway receives the application internet protocol address request that user equipment (UE) is sent, in the application IP address request Include the positional information of the UE;
The gateway, by IP address pond, is the corresponding target ip address of positional information that the UE distributes the UE, its In, the IP address pond includes the corresponding implicit IP address pond of diverse location information or outside legitimate network IP address pond.
In another embodiment of the invention, when the gateway does not possess network address translation nat feature, in the net Close before receiving the application internet protocol address request that user equipment (UE) is sent, methods described also includes:
The M geographical position for the UE that the gateway is serviced all IP address of management according to the first preset rules is carried out Divide, obtain M implicit IP address pond, and the M implicit IP address pond is mapped one by one with the M geographical position, institute It is the natural number more than or equal to 2 to state M.
In another embodiment of the invention, when the gateway possesses the nat feature, user is received in the gateway Before the application internet protocol address request that equipment UE is sent, methods described also includes:
The M geographical position for the UE that the gateway is serviced all IP address of management according to the first preset rules is carried out Divide, obtain M implicit IP address pond, and the M implicit IP address pond is mapped one by one with the M geographical position, institute It is the natural number more than or equal to 2 to state M;
Outside legitimate network IP address all in the gateway is divided into M by the gateway according to the second preset rules Outside legitimate network IP address pond, and the M implicit IP address pond is carried out with described M outside legitimate network IP address pond Map one by one.
In another embodiment of the invention, the gateway, by IP address pond, is the position that the UE distributes the UE The corresponding target ip address of information, methods described includes:
When the gateway does not possess the nat feature, according to the geographical position querying geographical position and IP address pond Mapping relations, determine the corresponding IP address ponds of the UE;The corresponding IP address pond in the IP address pond is obtained as the mesh IP address pond is marked, choosing a unappropriated IP address from the target ip address pond is used as the target ip address;
When the gateway possesses the nat feature, according to the geographical position querying geographical position and IP address pond Mapping relations, determine the corresponding implicit IP address ponds of the UE;Inquire about described M according to the corresponding implicit IP address ponds of the UE The mapping relations in implicit IP address pond and described M outside legitimate network IP address pond, determine the corresponding home addresses of the UE The corresponding outside legitimate network IP address pond in pond;The IP address pond in the outside legitimate network IP address pond is obtained as described Target ip address pond, chooses a unappropriated IP address from the target ip address pond and is used as the target ip address.
In another embodiment of the invention, the application Internet protocol IP that user equipment (UE) is sent is received in the gateway After Address requests, methods described also includes:
The gateway is to the external server forwarding application IP address request, wherein the external server is used for for institute State UE and distribute the target ip address;
The gateway receives the application IP address response that the external server is sent, and the application IP address response includes The target ip address.
On the other hand, embodiments of the invention provide a kind of distributor of IP address, including:
Receiving module, the application internet protocol address request for receiving user equipment (UE) transmission, the application IP Address requests include the positional information of the UE;
Distribute module, for by IP address pond, being the corresponding Target IP of positional information that the UE distributes the UE Location, wherein, the IP address pond is with including the corresponding implicit IP address pond of diverse location information or outside legitimate network IP Location pond.
In another embodiment of the invention, described device also includes:
Division module, for the M geographical position for the UE for being serviced all IP address of management according to the first preset rules Put and divided, obtain M implicit IP address pond;
Mapping block, for the M implicit IP address pond to be mapped one by one with the M geographical position, the M is big In the natural number equal to 2.
In another embodiment of the invention, the division module, is additionally operable to described device according to the second preset rules In all outside legitimate network IP address be divided into M outside legitimate network IP address pond;
The mapping block, is additionally operable to the M implicit IP address pond and described M outside legitimate network IP address pond Mapped one by one.
In another embodiment of the invention, the distribute module includes:
Determining unit, for when the gateway does not possess the nat feature, geographical position to be inquired about according to the geographical position The mapping relations with IP address pond are put, the corresponding IP address ponds of the UE are determined;
Acquiring unit, for obtaining the corresponding IP address pond in the IP address pond as the target ip address pond, from institute State target ip address pond and choose a unappropriated IP address as the target ip address;
The determining unit, is additionally operable to when the gateway possesses the nat feature, inquires about ground according to the geographical position The mapping relations of position and IP address pond are managed, the corresponding home address ponds of the UE are determined;And according to the UE it is corresponding in Portion's address pool inquires about the mapping relations in the M home address pond and described M outside legitimate network IP address pond, it is determined that described The corresponding outside legitimate network IP address pond in the corresponding home address ponds of UE;
The acquiring unit, is additionally operable to obtain the IP address pond in the outside legitimate network IP address pond as the mesh IP address pond is marked, choosing a unappropriated IP address from the target ip address pond is used as the target ip address.
In another embodiment of the invention, described device also includes:Sending module,
The sending module, for the external server forwarding application IP address request, wherein the external service Device is used to distribute the target ip address for the UE;
The receiving module, is additionally operable to receive the application IP address response that the external server is sent, the application IP Address response includes the target ip address.
The distribution method and device of a kind of IP address provided in an embodiment of the present invention, the application that UE is sent is received by gateway IP address is asked, and application IP address request includes UE positional information;It is the positional information that UE distributes UE by IP address pond Corresponding target ip address, wherein, IP address pond includes the corresponding implicit IP address pond of diverse location information.With prior art Middle use gateway obtains an IP address into IP address pond at random, leads to not be traced to the source to obtain IP address according to IP address, So as to lead to not realize that the supervision to network is compared, position letter that is of the invention then using carrying UE of the gateway in reception UE transmissions After the application IP address request of breath, corresponding implicit IP address pond is searched according to UE positional information, then in inside IP A unappropriated IP address is obtained in address pool as the target ip address of the UE, so as to obtain IP according to IP address Address is traced to the source information, realizes the supervision to network.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also To obtain other accompanying drawings according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the distribution method of IP address provided in an embodiment of the present invention;
Fig. 2 is a kind of structural representation in IP address pond in the distribution method of IP address provided in an embodiment of the present invention;
Fig. 3 for IP address provided in an embodiment of the present invention distribution method in another IP address pond structural representation;
Fig. 4 is the flow chart of the distribution method of another IP address provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of the distributor of IP address provided in an embodiment of the present invention;
Fig. 6 is the structural representation of the distributor of another IP address provided in an 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 carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiment of the present invention provides a kind of distribution method of IP address, this method is specifically included:
101, gateway receives the application IP address request that UE is sent, and application IP address request includes UE positional information.
Present invention can apply to global system for mobile communications and its enhancing 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), evolution Universal Terrestrial wireless access network(Evolved Universal Terrestrial Radio Access Network, E-UTRAN)Mobile communications network and follow-up evolvement network etc..
The positional information for applying for the UE in IP address request can be any one following positional information:Routing Area Code (Route Area Code, RAC), position area 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)Deng.
This application IP address request in the present invention can be followed in the attachment flow or service request flow of UE initiations Send to gateway.
102, gateway, by IP address pond, is the corresponding target ip address of positional information that UE distributes UE, wherein, IP address Pond includes the corresponding implicit IP address pond of diverse location information.
Optionally, when gateway does not possess network address translation(Network Address Translation, NAT)Function When, gateway is divided the M geographical position that all IP address of management are serviced according to the first preset rules, obtains M Implicit IP address pond.Wherein, the M implicit IP address pond maps one by one with M geographical position, and M is the nature more than or equal to 2 Number.The present embodiment does not limit the mode of the first preset rules, such as, by geographical position according to LAC information arrangements order with by The small implicit IP address pond to where big IP address maps one by one.As shown in table 1, M is 5 in table 1.
Table 1
From table 1 it follows that geographical position is identified with LAC information, including 0x1120,0x1121, 0x1122,0x1123 and other geographical position.
When UE is in 0x1120, the UE quantity that gateway at most carries out Packet data service simultaneously is 130(Including 130 Individual IP address), the geographical position of the 0x1120 maps one by one with the first implicit IP address pond, and the first implicit IP address Chi Bao Include 130 IP address.Wherein home address pond index is one.
When UE is in 0x1121, the UE quantity that gateway at most carries out Packet data service simultaneously is 120, the 0x1121 Geographical position mapped one by one with the second implicit IP address pond, and the second implicit IP address pond includes 120 IP address.Wherein Home address pond index is two.
When UE is in 0x1122, the UE quantity that gateway at most carries out Packet data service simultaneously is 100, the 0x1122 Geographical position mapped one by one with the 3rd implicit IP address pond, and the 3rd implicit IP address pond includes 100 IP address.Wherein Home address pond index is three.
When UE is in 0x1123, the UE quantity that gateway at most carries out Packet data service simultaneously is 180, the 0x1123 Geographical position mapped one by one with the 4th implicit IP address pond, and the 4th implicit IP address pond includes 180 IP address.Wherein Home address pond index is four.
Other geographical position are the geographical position of possible access gateway, but the geographical position is not belonging to above-mentioned 4 LAC information In any one LAC information, the UE quantity that other described geographical position at most carry out Packet data service simultaneously is more than or waits 1, And other geolocation mappings quantity of implicit IP address in the 5th home address pond, the 5th home address pond is more than or equal to 1, it is configured according to actual conditions, the embodiment of the present invention is not limited this.Wherein home address pond index is five.
Or, the first preset rules be by the Base Station Identification in geographical position according to descending order with it is descending Implicit IP address pond where IP address maps etc. one by one.
Explanation is needed, IP address distributing equipment is uncertain geographical position that may be present, such as roaming geographical position, The geographical position of acquiescence is set, when a UE needs access gateway to carry out Packet data service, but is not belonging to again ready-portioned Any one geographical position, then can be defined as the corresponding UE in geographical position of acquiescence.
The IP address pond of gateway refers to Fig. 2.In fig. 2 it can be seen that all IP address that gateway is managed are divided Into different implicit IP address ponds, including the first implicit IP address pond, IP inside the second implicit IP address pond ... ... M Location pond, wherein M are the natural number more than 2.
Optionally, when gateway possesses nat feature, first gateway according to the first preset rules by all IP address of management The M geographical position serviced is divided, and obtains M implicit IP address pond.Wherein, the M implicit IP address pond and M ground Reason position maps one by one, and M is the natural number more than or equal to 2.Then gateway according still further to the second preset rules by institute in the gateway Some outside legitimate network IP address are divided into legitimate network IP address pond outside M, and by M implicit IP address pond and gateway The outside legitimate network IP address pond of centering M is mapped one by one.It is understood that all IP address in IP address pond are equal For the inside private network IP address of gateway.Fig. 3 is referred to, in figure 3, outside legitimate network IP address is passed through NAT by gateway Function changes into internal private network IP address, and internal private network IP address then is divided into M according to the first preset rules Individual implicit IP address pond, and M implicit IP address pond after division is reflected one by one with M outside legitimate network IP address pond Penetrate, so, when obtaining an outside legitimate network IP address, each implicit IP address pond in gateway and gateway pair can be passed through The mapping relations in the outside legitimate network IP address pond answered, are supervised or are found to IP address IP address and traced to the source.
Wherein, as shown in table 2:M implicit IP address pond outside legitimate network IP address corresponding with gateway in gateway Mapping relations.M is 5 in table 2.
Table 2
From Table 2, it can be seen that the first implicit IP address pond and address pool K(Outside legitimate network IP address pond)Reflect one by one Penetrate, wherein external address pond index is K.It at most may include 130 UE in the first implicit IP address pond, wrapped in address pool K Include 15 outside legitimate network IP address.
Second implicit IP address pond and address pool L(Outside legitimate network IP address pond)Map one by one, wherein external address Pond index is L.It at most may include 120 UE in the second implicit IP address pond, include 20 legal nets in outside in address pool L Network IP address.
3rd implicit IP address pond and address pool M(Outside legitimate network IP address pond)Map one by one, wherein external address Pond index is M.It at most may include 100 UE in the 3rd implicit IP address pond, include 20 legal nets in outside in address pool M Network IP address.
4th implicit IP address pond and address pool N(Outside legitimate network IP address pond)Map one by one, wherein external address Pond index is N.It at most may include 180 UE in the 4th implicit IP address pond, include 22 legal nets in outside in address pool N Network IP address.
5th implicit IP address pond and address pool E(Outside legitimate network IP address pond)Map one by one, wherein external address Pond index is E.In the first implicit IP address pond to may include to be more than or equal to 1 UE, bag is more than or equal to 1 in address pool E more Outside legitimate network IP address.
Further, with reference to Tables 1 and 2, when gateway possesses nat feature, according to geographical position enquiring geographical position with The mapping relations in implicit IP address pond(Home address pond is indexed), determine the corresponding implicit IP address ponds of UE;It is corresponding according to UE The mapping relations in M home address pond and M outside legitimate network IP address pond are inquired about in implicit IP address pond(External address pond rope Draw), determine the corresponding outside legitimate network IP address pond in the corresponding home address ponds of UE;Obtain the corresponding outside in external address pond A unappropriated IP address is chosen as target ip address pond, from target ip address pond and is used as target in legitimate network IP address pond IP address.
Specifically, when gateway possesses nat feature, content obtaining target ip address that can be directly in table 3.
Wherein table 3 combines Tables 1 and 2:The mapping relations and gateway in M implicit IP address pond in geographical position and gateway The mapping relations of middle M implicit IP address pond outside legitimate network IP address corresponding with gateway.
Table 3
Wherein, geographical position is by Location Area Code(Location Area Code, LAC)Information is represented, it is shown that in When LAC information is 0x1120, while the maximum UE quantity for carrying out Packet data service is 130, and 0x1120 is mapped in the One home address pond, the home address pond index in geographical position and the first implicit IP address pond is one.The first home address pond Being mapped in the address pool K in outside legitimate network IP address pond, address pool K has 15 outside legitimate network IP address, outside The external address pond index in portion legitimate network IP address pond and the first implicit IP address pond is K.
When being 0x1121 in LAC information, while the maximum UE quantity for 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.Should Second home address pond, which is mapped in the address pool L in outside legitimate network IP address pond, address pool L, has 20 outsides legal Network ip address, the external address pond index in outside legitimate network IP address pond and the second implicit IP address pond is L.
When being 0x1122 in LAC information, while the maximum UE quantity for 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.Should 3rd home address pond is mapped in the address pool M in outside legitimate network IP address pond, has 20 outsides legal in address pool M Network ip address, the external address pond index in outside legitimate network IP address pond and the 3rd implicit IP address pond is M.
When being 0x1123 in LAC information, while the maximum UE quantity for 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.Should 4th home address pond is mapped in the address pool N in outside legitimate network IP address pond, has 22 outsides legal in address pool N Network ip address, the external address pond index in outside legitimate network IP address pond and the 4th implicit IP address pond is N.
In LAC information be other geographical position when, while carry out Packet data service maximum UE quantity be more than etc. In 1, and other geolocation mappings are in the 5th home address pond, the home address in geographical position and the 5th implicit IP address pond Pond index is five.5th home address pond is mapped in the address pool E in outside legitimate network IP address pond, in address pool E There are more than or equal to 1 outside legitimate network IP address, the outside in outside legitimate network IP address pond and the 5th implicit IP address pond Address pool index is E.
Of course, it is possible to by LAC change dumps into the zone name in geographical position initial or Base Station Identification number.
Further, the first preset rules and the second preset rules can gateway receive and be manually entered(Static state is matched somebody with somebody Put);Or can be that gateway receives operation maintenance center(Operation Maintenance Center, OMC)Remote input 's(Dynamic configuration).When wherein carrying out the rule that remote input user geographical position maps with IP address pond by OMC, concrete operations Including:The first step, OMC sends a notification message to gateway, and the notification message, which is used to inform, to send data message to gateway.Second Step, gateway sends push-notification-answer after the notification message that OMC is sent is received to OMC, and the push-notification-answer is used to inform OMC nets Close the preparation carried out and received data.3rd step, what OMC mapped to gateway to sending on user geographical position and IP address pond The data of rule.4th step, gateway receive OMC send on the first preset rules and/or the data of the second preset rules.
It should be noted that when the rule that user geographical position and IP address pond map changes, gateway can connect Receive the rule that the user geographical position after the renewal being manually entered maps with IP address pond.Or gateway receives the pass that OMC is sent The regular data mapped in the user geographical position after renewal and IP address pond.Updated the data specifically, OMC is sent to gateway Request, this, which updates the data request, is used to inform that the rule that gateway is mapped with Chinese address location with IP address pond changes.Net Close and receiving after this updates the data request, sent to OMC and update the data response, this updates the data response for informing OMC Gateway has carried out the preparation for receiving data.Then OMC sends the user geographical position after updating to gateway and mapped with IP address pond Rule, after the rule mapped so as to gateway in user geographical position and the IP address pond after receiving the renewal, to being managed IP address repartitioned, generation update after implicit IP address pond.
Explanation is needed, applied address type identification, this application can also be included in the application IP address that UE is sent Location type identification indicates that the IP address of UE applications is IPv4 types or IPv6 types, is distributed in the corresponding IP address ponds of UE for UE IP address includes:When it is IPv4 types that applied address type identification, which indicates the IP address of UE applications, in the corresponding IP address of UE The IP address of IPv4 types is distributed in pond for UE;When applied address type identification indicates that the IP address of UE applications is IPv6 types When, the IP address prefix of IPv6 types is distributed for UE in the corresponding IP address ponds of UE.
In the implementation of the present invention, it is possible to achieve the supervision to IP address, and tracing to the source for IP address can be found.
One of which implementation can be:The IP address of disabled user is provided by service provider, operator is from the institute of table 3 Show geographical position and in the mapping relations in IP address pond, user position is determined according to the IP address of the disabled user, supervise Department is supervised or controlled to the related service of related geographical zone user.
In addition, gateway can distribute UE IP address by external server.Wherein external server can be dynamic Host configuration(Dynamic Host Configuration Protocol, DHCP)Server, remote customer dialing authentication Server(Remote Authentication Dial In User Service, RADIUS), diameter Diameter clothes Business device etc..As shown in figure 4, the present invention provides the distribution method of another middle IP address, it is specific as follows:
401, gateway receives the application IP address request that UE is sent.
Wherein, the request of application IP address includes UE positional information, application IP address type.
402, the request of this application IP address is sent to external server by gateway.
403, external server is UE distribution target ip address after the request of this application IP address is received.
Wherein, content of the external server in application IP address request, is the side that UE distributes IP address according to gateway Formula is that UE distributes target ip address.Wherein, external server is referred in Fig. 1 for the UE concrete modes for distributing target ip address Description, is not repeated one by one herein.
404, external server sends application IP address to gateway and responded.
Wherein, the response of application IP address includes target ip address.
405, gateway receives the response of this application IP address, and this application IP address is responded to the target ip address hair included Give UE.
The application IP address request for being sent UE by gateway is transmitted to external server, then can realize by external service Device goes limitation to supervise the user of geographic area(Obtain the user of address in the address pool in geographical position)Related service is accessed, but The use of other business is not influenceed.
As shown in figure 5, the embodiment of the present invention provides a kind of distributor 50 of IP address, the device 50 includes:Receive mould Block 501, distribute module 502.
Receiving module 501, the application internet protocol address request for receiving user equipment (UE) transmission, application IP Location request includes UE positional information.
Distribute module 502, for being the corresponding target ip address of positional information that UE distributes UE by IP address pond, its In, IP address pond includes the corresponding implicit IP address pond of diverse location information.
Further, as shown in fig. 6, the present invention also provides the distributor 60 of another IP address, the device 60 is also wrapped Include division module 503, mapping block 504, sending module 505;Wherein, distribute module 502 includes determining unit 5021, obtains single Member 5022.
Before receiving module 501 receives the application IP address request that UE is sent, when described device 60 possesses nat feature When, it is necessary to which the M geographical position for the UE that division module 503 is serviced all IP address of management according to the first preset rules is entered Row is divided, and obtains M implicit IP address pond.Then mapping block 504 by M implicit IP address pond and M geographical position one by one Mapping, M is the natural number more than or equal to 2.
When described device 60 does not possess nat feature, it is necessary to division module 503 according to the second preset rules by institute in device Some outside legitimate network IP address are divided into M outside legitimate network IP address pond.Then mapping block 504 is internal by M IP address pond is mapped one by one with M outside legitimate network IP address pond, and all IP address in IP address pond are gateway Inside private network IP address.
After receiving module 501 receives the application IP address request that UE is sent, when gateway does not possess nat feature, point With mapping relations of the determining unit 5021 in module 502 according to geographical position enquiring geographical position and IP address pond, UE is determined Corresponding IP address pond;Then acquiring unit 5022 obtains the corresponding IP address pond in IP address pond as target ip address pond, from Choose a unappropriated IP address and be used as target ip address in target ip address pond.
When gateway possesses nat feature, determining unit 5021, with being additionally operable to according to geographical position enquiring geographical position and IP The mapping relations in location pond, determine the corresponding home address ponds of UE;And inquire about M internally according to the corresponding home address ponds of UE The mapping relations in location pond and M outside legitimate network IP address pond, determine that the corresponding outside in the corresponding home address ponds of UE is legal Network ip address pond.Acquiring unit 5022, is additionally operable to obtain the IP address pond in outside legitimate network IP address pond as target IP address pond, chooses a unappropriated IP address from target ip address pond and is used as target ip address.
It is further alternative, after receiving module 501 receives the application IP address request that UE is sent, sending module 505 To external server forwarding application IP address request, wherein external server is used to distribute target ip address for UE.Then it is outside Server can be UE distribution target ip address according to the content in the request of this application IP address.Then the Target IP will be carried The application IP address response of location is sent to receiving module 501, and then receiving module 501 receives the application IP that external server is sent Address response, application IP address response includes target ip address.
It should be noted that in Fig. 5 shown devices 50 and Figure 60 shown devices 60, the specific implementation of its modules The contents such as the information exchange between journey and modules, can due to being based on same inventive concept with the inventive method embodiment Referring to embodiment of the method, not repeat one by one herein.
In the implementation of the present invention, it is possible to achieve the supervision to IP address, and tracing to the source for IP address can be found.
It is apparent to those skilled in the art that, for convenience and simplicity of description, only with above-mentioned each function The division progress of module is for example, in practical application, as needed can distribute above-mentioned functions by different function moulds Block is completed, i.e., the internal structure of device is divided into different functional modules, to complete all or part of work(described above Energy.The specific work process of the system, apparatus, and unit of foregoing description, may be referred to corresponding in preceding method embodiment Journey, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the module or The division of unit, only a kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units Or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute Display or the coupling each other discussed or direct-coupling or communication connection can be by some interfaces, device or unit INDIRECT COUPLING or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, it can be stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially The part contributed in other words to prior art or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are to cause a computer Equipment(Can be personal computer, server, or network equipment etc.)Or processor(processor)Perform the present invention each The all or part of step of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory(RAM, Random Access Memory), magnetic disc or CD Etc. it is various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of distribution method of IP address, it is characterised in that including:
Gateway receives the application internet protocol address request that user equipment (UE) is sent, and the application IP address request includes The positional information of the UE;
The gateway, by IP address pond, is the corresponding target ip address of positional information that the UE distributes the UE, wherein, institute Stating IP address pond includes the corresponding implicit IP address pond of diverse location information or outside legitimate network IP address pond.
2. the distribution method of IP address according to claim 1, it is characterised in that when the gateway does not possess the network address It is described before the gateway receives the application internet protocol address request that user equipment (UE) is sent when changing nat feature Method also includes:
Drawn in the M geographical position for the UE that the gateway is serviced all IP address of management according to the first preset rules Point, M implicit IP address pond is obtained, and the M implicit IP address pond is mapped one by one with the M geographical position, the M For the natural number more than or equal to 2.
3. the distribution method of IP address according to claim 1, it is characterised in that when the gateway possesses the NAT work( During energy, before the gateway receives the application internet protocol address request that user equipment (UE) is sent, methods described is also wrapped Include:
Drawn in the M geographical position for the UE that the gateway is serviced all IP address of management according to the first preset rules Point, M implicit IP address pond is obtained, and the M implicit IP address pond is mapped one by one with the M geographical position, the M For the natural number more than or equal to 2;
Outside legitimate network IP address all in the gateway is divided into M outside by the gateway according to the second preset rules Legitimate network IP address pond, and the M implicit IP address pond is carried out one by one with described M outside legitimate network IP address pond Mapping.
4. the distribution method of the IP address according to any one of claim 1-3, it is characterised in that the gateway passes through IP Address pool, is the corresponding target ip address of positional information that the UE distributes the UE, and methods described includes:
When the gateway does not possess the nat feature, according to reflecting for the geographical position querying geographical position and IP address pond Relation is penetrated, the corresponding IP address ponds of the UE are determined;The corresponding IP address pond in the IP address pond is obtained as the Target IP Address pool, chooses a unappropriated IP address from the target ip address pond and is used as the target ip address;
When the gateway possesses the nat feature, according to the mapping in the geographical position querying geographical position and IP address pond Relation, determines the corresponding implicit IP address ponds of the UE;It is internal according to corresponding described M of the implicit IP address pond inquiries of the UE The mapping relations in IP address pond and described M outside legitimate network IP address pond, determine the corresponding home address ponds pair of the UE The outside legitimate network IP address pond answered;The IP address pond obtained in the outside legitimate network IP address pond is used as the target IP address pond, chooses a unappropriated IP address from the target ip address pond and is used as the target ip address.
5. the distribution method of IP address according to claim 1, it is characterised in that receive user equipment (UE) in the gateway After the application internet protocol address request of transmission, methods described also includes:
The gateway is to the external server forwarding application IP address request, wherein the external server is used to be the UE Distribute the target ip address;
The gateway receives the application IP address response that the external server is sent, and the application IP address response includes described Target ip address.
6. a kind of distributor of IP address, it is characterised in that including:
Receiving module, the application internet protocol address request for receiving user equipment (UE) transmission, the application IP address Request includes the positional information of the UE;
Distribute module, for being the corresponding target ip address of positional information that the UE distributes the UE by IP address pond, its In, the IP address pond includes the corresponding implicit IP address pond of diverse location information or outside legitimate network IP address pond.
7. the distributor of IP address according to claim 6, it is characterised in that described device also includes:
Division module, the M geographical position of the UE for being serviced all IP address of management according to the first preset rules is entered Row is divided, and obtains M implicit IP address pond;
Mapping block, for the M implicit IP address pond to be mapped one by one with the M geographical position, the M be more than etc. In 2 natural number.
8. the distributor of IP address according to claim 7, it is characterised in that
The division module, is additionally operable to draw outside legitimate network IP address all in described device according to the second preset rules It is divided into M outside legitimate network IP address pond;
The mapping block, is additionally operable to carry out the M implicit IP address pond with described M outside legitimate network IP address pond Map one by one.
9. the distributor of the IP address according to any one of claim 6-8, it is characterised in that the distribute module bag Include:
Determining unit, for when the gateway does not possess the nat feature, according to the geographical position querying geographical position with The mapping relations in IP address pond, determine the corresponding IP address ponds of the UE;
Acquiring unit, for obtaining the corresponding IP address pond in the IP address pond as the target ip address pond, from the mesh Choose a unappropriated IP address and be used as the target ip address in mark IP address pond;
The determining unit, is additionally operable to when the gateway possesses the nat feature, and geographical position is inquired about according to the geographical position The mapping relations with IP address pond are put, the corresponding home address ponds of the UE are determined;And it is corresponding internally according to the UE The mapping relations in the M home address pond and described M outside legitimate network IP address pond are inquired about in location pond, determine described UE pairs The corresponding outside legitimate network IP address pond in home address pond answered;
The acquiring unit, is additionally operable to obtain the IP address pond in the outside legitimate network IP address pond as the Target IP Address pool, chooses a unappropriated IP address from the target ip address pond and is used as the target ip address.
10. the distributor of IP address according to claim 6, it is characterised in that described device also includes:Send mould Block,
The sending module, for the external server forwarding application IP address request, wherein the external server is used In distributing the target ip address for the UE;
The receiving module, is additionally operable to receive the application IP address response that the external server is sent, the application IP address Response includes the 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 CN103701950A (en) 2014-04-02
CN103701950B true 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)

Families Citing this family (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
CN105516374A (en) * 2014-09-23 2016-04-20 中兴通讯股份有限公司 Home address distribution method and apparatus, server and system
WO2016121043A1 (en) * 2015-01-29 2016-08-04 三菱電機株式会社 Network system, address management device, 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
CN106973121A (en) * 2016-01-14 2017-07-21 中兴通讯股份有限公司 Distribute method, device, gateway and the system of IP address
CN105681486B (en) * 2016-01-15 2018-11-23 华洋通信科技股份有限公司 A kind of across broadcast domain data communications method of XinIP
CN107809497B (en) * 2016-09-09 2021-01-15 中国电信股份有限公司 Number resource pool management method and system
US10333944B2 (en) * 2016-11-03 2019-06-25 Microsoft Technology Licensing, Llc Detecting impossible travel in the on-premise settings
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
CN111131529B (en) * 2018-11-01 2022-05-06 中兴通讯股份有限公司 Method, device and storage medium for centralized management of address pools
CN114221936A (en) * 2021-12-07 2022-03-22 中国电信股份有限公司 Address allocation method, system, terminal and address allocation platform

Citations (3)

* 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
CN101998442A (en) * 2009-08-10 2011-03-30 北京三星通信技术研究有限公司 Remote access method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101572692A (en) * 2008-04-28 2009-11-04 华为技术有限公司 Method, system and equipment for IP address assignment
CN102014368B (en) * 2009-09-07 2014-01-29 中国移动通信集团公司 Method, system and device for acquiring position information of user equipment

Patent Citations (3)

* 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
CN101998442A (en) * 2009-08-10 2011-03-30 北京三星通信技术研究有限公司 Remote access method and system

Also Published As

Publication number Publication date
CN103701950A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN103701950B (en) The distribution method and device of a kind of IP address
KR102184856B1 (en) Network slice selection method and device
EP3327992B1 (en) Method of selecting network slice and system utilizing same
RU2366100C2 (en) System and method to use ip-address as wireless module identifier
CN103262503B (en) Node selecting method and equipment in packet core network
CN102025700B (en) User-oriented communication method, route registering method, device and communication system
BR112019022063A2 (en) slice-based communications method and device
US20190014550A1 (en) Tracking area and user plane mapping for control plane/user plane split
CN106790732A (en) Address conversion method, apparatus and system, network identity control method and device
CN107534929A (en) Core network selection method, apparatus and system
CN106576119A (en) Delegation of prefixes to Wi-Fi clients connected to mobile access point routers
CN105142189B (en) The roam control method and device of website
CN103647855B (en) IP address distribution method, device and system in outgoing telecommunication
CN104023327B (en) A kind of downlink data transmission method and device
CN105379405B (en) Communication resource management method, user equipment, base station and system
CN106255089A (en) A kind of method and apparatus of radio three layer roaming
CN104702713A (en) Method and device for forwarding data message
CN103997729B (en) A kind of method, apparatus and system for transmitting message
CN104883683B (en) A kind of APN access restriction methods and GGSN
CN104126317B (en) Register method, short distance service server and the mobile management entity of user equipment
CN102780701A (en) Access control method and equipment
CN104429128B (en) Wireless access processing method, apparatus and system
CN105379322B (en) Transmission method, terminal and the communication equipment of ProSe information
CN107690127A (en) A kind of determination method and device of the communication resource
CN110505317A (en) Domain name analytic method and device

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