CN106559509B - Registration server, CGN equipment, service provider system and index, retransmission method - Google Patents

Registration server, CGN equipment, service provider system and index, retransmission method Download PDF

Info

Publication number
CN106559509B
CN106559509B CN201510639277.3A CN201510639277A CN106559509B CN 106559509 B CN106559509 B CN 106559509B CN 201510639277 A CN201510639277 A CN 201510639277A CN 106559509 B CN106559509 B CN 106559509B
Authority
CN
China
Prior art keywords
service
terminal
reversed
address
port
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
CN201510639277.3A
Other languages
Chinese (zh)
Other versions
CN106559509A (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 Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201510639277.3A priority Critical patent/CN106559509B/en
Publication of CN106559509A publication Critical patent/CN106559509A/en
Application granted granted Critical
Publication of CN106559509B publication Critical patent/CN106559509B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2517Translation of Internet protocol [IP] addresses using port numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal

Landscapes

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

Abstract

The present invention proposes a kind of registration server, CGN equipment, service provider system and index, retransmission method, is related to field of communication technology.Wherein, service indexing means of the invention include: that registration server receives the access request from requesting terminal, wherein, the service log that requesting terminal is shown according to registration server, service log include under corresponding CGN environment the internal address of service terminal and outer net address determine access request;According to the address of access request extraction requesting terminal, the outer net address of service terminal and port offset amount and it is sent to the corresponding CGN equipment of service terminal.By such method, it can show that the address information of service terminal is selected for requesting terminal to user, the address of requesting terminal, the outer net address of service terminal and port offset amount are sent to corresponding CGN equipment, corresponding reversed NAT session is generated for CGN equipment, so that the terminal user in CGN environment is externally provided service, realizes that the service under CGN environment is passed through.

Description

Registration server, CGN equipment, service provider system and index, retransmission method
Technical field
The present invention relates to field of communication technology, especially a kind of registration server, CGN equipment, service provider system and rope Draw, retransmission method.
Background technique
NAT (Network Address Translation, network address translation) technology is IPv4 to IPv6 transition period Important technology.Currently, the NAT technology disposed in the operator network is normally based on port block to distribute address resource, This technology for carrying out network address translation based on port block mode is properly termed as CGN (Carrier-Grade NAT, Working level Network address translation) technology.In the environment of deploying CGN technology, how externally to be provided from the Internet access terminals user Serve port is always an insoluble problem.Existing service acrossing schemes are by top level services system oneself realization, greatly Majority is realized by corresponding to IP in one tracking server tracking intranet and extranet of outer wet end administration, and concrete methods of realizing is mutual It is widely different, without versatility.
Summary of the invention
It is an object of the present invention to solve the problems, such as that the service under CGN environment is passed through.
According to an aspect of the present invention, a kind of registration server is proposed, comprising: service display module is used for user Show that registered service log, service log include service terminal under corresponding working level network address conversion CGN environment Internal address and outer net address;Request module, for the access request of acquisition request terminal, requesting terminal takes according to registration The registered service log that business device is shown determines access request;Information extraction modules are requested for being extracted according to access request The address of terminal, the outer net address of service terminal and port offset amount;Information sending module, for by the address of requesting terminal, The outer net address and port offset amount of service terminal are sent to the corresponding CGN equipment of service terminal.
Further, further includes: Registration Module, the service registration for receiving the service terminal under CGN environment are asked It asks, includes the internal address of service terminal in service registration request;Enquiry module, for being awarded according to service registration request from certification Outer net address and port block message that charging aaa server obtains service terminal are weighed, shows service eventually to service display module The internal address at end, outer net address.
Further, further includes: information storage module, internal address, outer net address and end for storage service terminal Buccal mass information.
Further, information extraction modules are also used to the both port of origination of the port block according to the obtained distribution of corresponding with service terminal It is worth and determines port offset amount.
It further, further include information revocation module, for cancelling display module exhibition in the case where service terminal is offline The service log for the corresponding with service terminal shown.
Such registration server can show the service log of registered service terminal and confession under CGN environment to user Requesting terminal selection, is sent to corresponding CGN for the address of requesting terminal, the outer net address of service terminal and port offset amount and sets It is standby, corresponding reversed NAT session is generated for CGN equipment, the terminal user in CGN environment is enable externally to provide service, is realized Service under CGN environment is passed through.
According to another aspect of the present invention, propose a kind of CGN equipment, comprising: information table generation module, for according to from The address of requesting terminal, the outer net address of service terminal and the port offset amount that registration server obtains generate reversed nat port Information table, reversed nat port information table include the address of requesting terminal, the outer net address of service terminal and port offset amount;Instead To session generation module, for generating corresponding reversed NAT meeting based on port mapping algorithm according to reversed nat port information table Words;Forwarding module, for corresponding under from the access request that requesting terminal obtains to CGN environment according to reversed NAT session forwarding Service terminal.
Further, further includes: memory module, the reversed NAT session generated for storing reversed session generation module.
Further, further includes: searching module, for being looked into based on port mapping algorithm according to reversed nat port information table Look for reversed NAT session.
Further, further includes: data maintenance module, for not having in predetermined ageing time newly in reversed NAT session Access request in the case where, cancel reversed NAT session.
Further, data maintenance module is used to not receive the feelings of the access request from requesting terminal in the given time Under condition, reversed NAT session is cancelled.
Further, data maintenance module is used in the case where service terminal is offline, cancels corresponding reversed nat port Information table.
Such CGN equipment can be inclined according to the address of the requesting terminal of acquisition, the outer net address of service terminal and port Shifting amount generates reversed nat port information table, and then generates reversed NAT session, keeps the terminal user in CGN environment external Service is provided, realizes that the service under CGN environment is passed through.
According to a further aspect of the invention, a kind of service provider system is proposed, including any one being mentioned above Registration server and any one CGN equipment and aaa server service eventually under CGN environment for providing to registration server The outer net address and port block message at end.
In such service provider system, registration server can obtain the internal address of service terminal under CGN environment, outer Net address and port block message, when requesting terminal is in the service of service terminal under registration server selects CGN environment, CGN is set It is standby to generate corresponding reversed NAT session, so that the terminal user in CGN environment is externally provided service, realizes CGN environment Under service pass through.
According to a further aspect of the invention, a kind of service indexing means are proposed, comprising: registration server is received to come from and be asked Seek the access request of terminal, wherein the registered service log that requesting terminal is shown according to registration server determines that access is asked It asks;According to the address of access request extraction requesting terminal, the outer net address of service terminal and port offset amount and it is sent to service The corresponding CGN equipment of terminal.
Further, further includes: receive the service registration request of the service terminal under CGN environment, service registration is asked It include the internal address of service terminal in asking;The outer net address of service terminal is obtained from aaa server according to service registration request With port block message, so as to service display module show service terminal service log.
Further, further includes: the internal address of storage service terminal, outer net address and port block message.
Further, reversed nat port information table is generated according to access request further include: obtained according to corresponding with service terminal The both port of origination value of the port block of distribution determines port offset amount.
Further, further includes: in the case where service terminal is offline, cancel the service note of the corresponding with service terminal of displaying Record.
By such method, the service log of registered service terminal under CGN environment can be shown for asking to user It asks terminal to select, the address of requesting terminal, the outer net address of service terminal and port offset amount is sent to corresponding CGN and set It is standby, corresponding reversed NAT session is generated for CGN equipment, the terminal user in CGN environment is enable externally to provide service, is realized Service under CGN environment is passed through.
In addition, according to an aspect of the present invention, proposing a kind of service retransmission method, comprising: CGN is according to from enrolled for service The address of requesting terminal, the outer net address of service terminal and the port offset amount that device obtains generate reversed nat port information table, instead It include the address of requesting terminal, the outer net address of service terminal and port offset amount to nat port information table;According to reversed NAT Port information table generates corresponding reversed NAT session based on port mapping algorithm;Access request is forwarded according to reversed NAT session Corresponding service terminal under to CGN environment.
Further, further includes: store the reversed NAT session of generation.
Further, further includes: port mapping algorithm is based on according to reversed nat port information table and searches reversed NAT session.
Further, further includes: if reversed NAT session does not have new access request in predetermined ageing time, cancel Reversed NAT session.
Further, further includes: if not receiving the access request from requesting terminal in the given time, revocation is reversed NAT session.
Further, further includes: if service terminal is offline, cancel corresponding reversed nat port information.
It by such method, can be according to the address of the requesting terminal of acquisition, the outer net address of service terminal and port Offset generates reversed nat port information table, and then generates reversed NAT session, keeps the terminal user in CGN environment right Outer offer service realizes that the service under CGN environment is passed through.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of one embodiment of registration server of the invention.
Fig. 2 is the schematic diagram of another embodiment of registration server of the invention.
Fig. 3 is the schematic diagram of one embodiment of CGN equipment of the invention.
Fig. 4 is the schematic diagram of another embodiment of CGN equipment of the invention.
Fig. 5 is the schematic diagram of one embodiment of service provider system of the invention.
Fig. 6 is the schematic diagram of another embodiment of service provider system of the invention.
Fig. 7 is the flow chart of one embodiment of service indexing means of the invention.
Fig. 8 is the flow chart of one embodiment of a part of service indexing means of the invention.
Fig. 9 is the flow chart of one embodiment of service retransmission method of the invention.
Specific embodiment
Below by drawings and examples, technical scheme of the present invention will be described in further detail.
The schematic diagram of one embodiment of registration server of the invention is as shown in Figure 1.Wherein, 101 mould is shown for service Block, when the terminal user under CGN environment needs to issue the service of oneself on the internet, terminal user can be in registration server The wish of itself is registered, the service display module 101 of registration server can show registered service log, service to user Record includes that the related information of the internal address and outer net address of the service terminal of service, user are provided under corresponding CGN environment The content selection that can be shown according to service display module 101 provides the service terminal of service.102 be request module, when When terminal user on internet needs to access the service that service terminal shown in service display module 101 provides, it can obtain Take the access request for initiating the requesting terminal of access request.103 be information extraction modules, can be asked according to the access of requesting terminal It asks, extracts the address of requesting terminal and the outer net address of service terminal and port offset amount.104 be information sending module, will The address of requesting terminal, the outer net address of service terminal and port offset amount are sent to the corresponding CGN equipment of service terminal, supply CGN equipment generates corresponding reversed NAT session.
Such registration server can show the service log of registered service terminal and confession under CGN environment to user Requesting terminal selection, is sent to corresponding CGN for the address of requesting terminal, the outer net address of service terminal and port offset amount and sets It is standby, corresponding reversed NAT session is generated for CGN equipment, the terminal user in CGN environment is enable externally to provide service, is realized Service under CGN environment is passed through.
In one embodiment, registration server can also be for service terminal enrolled for service, to show on internet Requesting terminal, for requesting terminal select.As shown in Figure 2, wherein 201~204 be respectively service display module, request Module, information extraction modules and information sending module, it is similar to the function of counter structure in Fig. 1.205 be Registration Module, energy Enough service registration requests for receiving the service terminal under CGN environment.It include the Intranet of service terminal in service registration request Address information 206 is enquiry module, can be serviced according to obtaining from the service registration request that CGN equipment obtains from aaa server The outer net address and port block message of terminal.The clothes that service display module 201 is obtained according to enquiry module 206 from aaa server Requesting terminal displaying of the internal address, outer net address and port block message for terminal of being engaged in on internet, in one embodiment, It can only show the internal address and outer net address of service terminal.
Such registration server can receive the service registration request of the service terminal under CGN environment, and from AAA Server obtains internal address, outer net address and the port block message of corresponding with service terminal, selects for requesting terminal, makes CGN ring Service terminal under border easily the user on internet can provide service.
It in one embodiment, further include information storage module, with 203 phase of enquiry module 206 and information extraction modules Even, it is capable of the internal address, outer net address and port block message of storage service terminal, and is provided to information extraction modules 203 The internal address of service terminal, outer net address and port block message.
Such registration server is capable of the internal address, outer net address and port block message of storage service terminal, thus Relevant information is rapidly found when obtaining service request and is provided to CGN equipment, and it is corresponding anti-to improve the generation of CGN equipment To the efficiency of NAT session.
In one embodiment, information extraction modules can also be according to the both port of origination value of the port block message of service terminal Determine the port offset amount for being sent to CGN equipment.Such registration server can provide port offset amount letter for CGN equipment Breath facilitates CGN equipment to generate reversed nat port information table and generates reversed NAT session.
In one embodiment, registration server further includes information revocation module, the ground for showing when registration server When the corresponding service terminal in location is offline, revocation shows the service log of corresponding service terminal.In one embodiment, information is removed Selling module can be with the internal address for the corresponding with service terminal that revocation information memory module stores, outer net address and port block letter Breath.Such registration server can safeguard at any time the service log of displaying, storage, thus avoid mistake to requesting terminal exhibition The address information for showing service terminal guarantees the reliability of the information provided for requesting terminal.
The schematic diagram of one embodiment of CGN equipment of the invention is as shown in Figure 3.Wherein, 301 mould is generated for information table Block, can be reversed according to generating from the address of requesting terminal that registration obtains, the outer net address of service terminal and port offset amount Nat port information table.Reversed nat port information table includes that the address of requesting terminal, the outer net address of service terminal and port are inclined Shifting amount, wherein CGN equipment utilization requesting terminal address, service terminal outer net Address Recognition from the message of requesting terminal, when The source address of the message of acquisition is that the address of requesting terminal determines the access when destination address is the outer net address of service terminal Corresponding reversed NAT session is requested, and the access request is handled according to port offset amount, according to port offset amount by destination port Corresponding offset operation is carried out, to be transferred to corresponding service terminal.Port mapping algorithm should in positive NAT session Port mapping algorithm is identical, to realize correct port mapping.CGN equipment can be searched according to reversed nat port information table Or generate corresponding reversed NAT session.302 be reversed session generation module, can be based on according to reversed nat port information table Port mapping algorithm generates reversed NAT session.303 be forwarding module, can be forwarded according to reversed NAT session from requesting terminal and be obtained Corresponding service terminal under the access request taken to CGN environment.
Such CGN equipment can be inclined according to the address of the requesting terminal of acquisition, the outer net address of service terminal and port Shifting amount generates reversed nat port information table, and then generates reversed NAT session, is forwarded access request according to reversed NAT session To corresponding service terminal, the terminal user in CGN environment is enable externally to provide service, realizes that the service under CGN environment is worn More.
In one embodiment, as shown in Figure 4, wherein 401~403 be respectively information table generation module, reversed session life At module and forwarding module, function is similar to the counter structure in Fig. 3.CGN equipment can also include memory module 404, The reversed NAT session that reversed session generation module 404 generates can be stored.In one embodiment, when service terminal passes through CGN When equipment actively is initiated to service to outer net, CGN equipment steps on the service such as HASH algorithm according to scheduled port mapping algorithm The other end that note request is converted within the scope of the corresponding port block of service terminal, the source IP address of service registration request is converted into Corresponding public network IP address generates forward direction NAT session, while generating corresponding reversed NAT session, and memory module 404 can deposit Storage is generating the corresponding reversed NAT session generated when forward direction NAT session.When access request arrives, CGN equipment meeting basis is deposited Access request is forwarded to corresponding service terminal by the reversed NAT session of storage, is avoided repeatedly generating reversed NAT session, be improved Efficiency of service reduces the wasting of resources.
In one embodiment, it can also include searching module 405, port mapping algorithm can be based on from memory module Corresponding reversed NAT session is searched in the reversed NAT session stored in 404;If finding corresponding reversed NAT session, lead to It crosses forwarding module 403 and the access request of requesting terminal is forwarded to corresponding with service terminal;Otherwise, by reversed session generation module 402 generate corresponding reversed NAT session and are stored in memory module 404.Such CGN equipment can utilize generated anti- Access request is forwarded to corresponding service terminal to NAT session, avoids repeatedly generating reversed NAT session, improves service effect Rate reduces the wasting of resources.
In one embodiment, further include data maintenance module 406, can safeguard stored in memory module 404 it is reversed NAT session.In one embodiment, if failing to have new access request using the reversed NAT session for a long time, correspondence is cancelled Reversed NAT session.Predetermined ageing time can be set, in the case where duration is more than predetermined ageing time, can be cancelled pair The reversed NAT session answered.In one embodiment, data maintenance module fails to receive from requesting terminal within a certain period of time Access request then cancels corresponding reversed nat port information table.In one embodiment, when service terminal is offline, then revocation with The corresponding reversed nat port information table of the service terminal.
Such CGN equipment can real-time servicing, clear up reversed NAT session and reversed nat port information table, reach basis Use state updates the effect of CGN equipment storage, on the one hand can clear up the memory space of CGN equipment, prevent the wasting of resources, separately On the one hand during searching module is searched, the data volume for needing to retrieve, speed up processing can be reduced.
Service provider system of the invention includes any registration server being mentioned above and CGN equipment, and is supplied Registration server inquires the outer net address of service terminal and the aaa server of port block message under CGN environment.Such service mentions For in system, registration server can obtain the internal address of service terminal under CGN environment, outer net address and port block message, When requesting terminal is in the service of service terminal under registration server selects CGN environment, CGN equipment can generate corresponding reversed NAT conversation enables the terminal user in CGN environment externally to provide service, realizes that the service under CGN environment is passed through.
In one embodiment, the service terminal under CGN environment carries out process such as Fig. 5 of service registration in registration server It is shown.
In 501, service terminal sends service registration request to registration server through CGN equipment.
In 502, registration server sends inquiry request, the port resource distribution of query service terminal to aaa server Information.As shown in Figure 5, the protocol type of service terminal, private address (internal address), publicly-owned is stored in aaa server Address (outer net address) and port block message.
In 503, aaa server returns the outer net address for the service terminal that registration server is inquired and port block message Back to registration server.Registration server can show the service log of service terminal to user.
When access request is initiated to the service terminal under CGN environment in the requesting terminal on internet, as shown in Figure 6:
In 601, the visitor (requesting terminal) on internet selects demand in the information that registration server is shown Service log, service log may include outer net address, internal address related information.
In 602, registration server is by the address of requesting terminal, the outer net address and registration server of service terminal Determining port offset amount is sent to CGN equipment.CGN equipment can generate reversed nat port information table, and then generate reversed NAT Session.
In 603, requesting terminal initiates the access request to service terminal through internet.Access request reaches CGN equipment Afterwards, access request is forwarded to corresponding service terminal according to reversed NAT session by CGN equipment, realizes requesting terminal to service eventually The access at end.
Such service provider system can actively be stepped on to registration server request service for the service terminal under CGN environment Note, so that when user on the internet is intended to access service terminal letter can be provided to CGN equipment by registration server Breath establishes reversed NAT session for CGN equipment, realizes switching of the access request to service terminal, reach under CGN environment with business Unrelated Working level service is passed through, the service for enabling the terminal user in CGN environment externally to provide, and is not necessarily to user's operation mistake Mostly additional process safeguards user experience.Meanwhile the service type loose coupling that this method and service terminal provide, have general Property.It is open to fixed network broadband user that such service provider system can be used as a new business, or as network capabilities pair Upper-layer service is open, brings increment for existing investment;It, can be effective as transitional technology in the application deployment into Ipv6 evolution process Save the address Ipv4;As bottom-layer network ability, to OTT, (Over The Top provides a user various applications by internet Service) business opening, improves the ability of network fining O&M.
The flow chart of one embodiment of service indexing means of the invention is as shown in Figure 7.
In step 701, registration server receives the access request from requesting terminal, and requesting terminal can be according to registration The registered service log that server is shown determines access request.
In a step 702, registration server extracts the address of requesting terminal, the outer entoilage of service terminal according to access request Location and port offset amount are simultaneously sent to the corresponding CGN equipment of service terminal.
By such method, the service log of registered service terminal and confession under CGN environment can be shown to user Requesting terminal selection, is sent to corresponding CGN for the address of requesting terminal, the outer net address of service terminal and port offset amount and sets It is standby, corresponding reversed NAT session is generated for CGN equipment, the terminal user in CGN environment is enable externally to provide service, is realized Service under CGN environment is passed through.
In one embodiment, it when the terminal offer under CGN environment needs to issue the service of oneself, can be taken in registration Business device carries out service registration.In one embodiment, the flow chart of the service registration part of service indexing means of the invention is such as Shown in Fig. 8.
In step 801, registration server receives the service registration request of the service terminal under CGN environment, service It include the internal address of service terminal in registration request.
In step 802, registration server is obtained according to from the service registration request that CGN equipment obtains from aaa server The outer net address and port block message of service terminal.Be stored in aaa server the protocol information of service terminal, internal address, Outer net address and port block message.
In step 803, internal address, outer net address and the port block message of registration server storage service terminal.
In step 804, what registration server showed service terminal includes the clothes of internal address, outer net address information information Business record is selected for requesting terminal.
By such method, the service registration that registration server can receive the service terminal under CGN environment is asked It asks, and obtains the internal address, outer net address and port block message of corresponding with service terminal, service log is provided and is selected for requesting terminal It selects, enabling the service terminal under CGN environment, easily the user on internet provides service.
In one embodiment, when registration server shows that the corresponding service terminal in address is offline, revocation display is corresponded to Service terminal service log.In one embodiment, the internal address, outer of the corresponding with service terminal of storage can also be cancelled Net address and port block message.By such method, registration server can safeguard the service log of displaying, storage at any time, To avoid the address information for showing service terminal to requesting terminal of mistake, guarantee the reliable of the information provided for requesting terminal Property.
The flow chart of one embodiment of service retransmission method of the invention is as shown in Figure 9.
In step 901, CGN equipment according to from the requesting terminal that registration server obtains address, service terminal it is outer Net address and port offset amount generate reversed nat port information table.Reversed nat port information table include requesting terminal address, The outer net address and port offset amount of service terminal.
In step 902, CGN equipment can be generated reversed according to reversed nat port information table based on port mapping algorithm NAT session.
In step 903, it when CGN equipment is connected to the access request from requesting terminal, is forwarded according to reversed NAT session From corresponding service terminal under the access request to CGN environment that requesting terminal obtains.
By such method, CGN equipment can be according to the address of the requesting terminal of acquisition, the outer net address of service terminal With port offset amount, reversed nat port information table is generated, and then generates reversed NAT session, makes the terminal user in CGN environment Service can be externally provided, realize that the service under CGN environment is passed through.
In one embodiment, after generating reversed NAT session, CGN equipment can store the reversed NAT session of generation, When access request arrives, access request can be forwarded to corresponding service eventually according to the reversed NAT session of storage by CGN equipment End.Such method avoids repeatedly generating reversed NAT session, improves efficiency of service, reduces the wasting of resources.
In one embodiment, after generating reversed nat port information table, CGN equipment determines just according to port offset amount The deviant of true destination port, and search whether in stored reversed NAT session destination port and stored certain is anti- Match to NAT session.Stored reversed NAT session generates when may generate corresponding forward direction NAT session by CGN equipment, It is also possible to be generated by the access request before basis.If finding matched reversed NAT session, the reversed NAT session is utilized Switching access request;If failing to find, new reversed NAT session is created, the outer net destination address of access request is replaced At corresponding internal address, former port offset amount information, benefit are replaced using the destination port that scheduled port mapping algorithm determines The switching of access request is completed with the reversed NAT session of generation, meanwhile, CGN equipment can store the reversed NAT session of generation. By such method, CGN equipment can make full use of generated reversed NAT session without repeatedly generating, and improve Efficiency of service reduces the wasting of resources.
In one embodiment, if failing to have new access request using the reversed NAT session for a long time, correspondence is cancelled Reversed NAT session.Predetermined ageing time can be set, in the case where duration is more than predetermined ageing time, can be cancelled pair The reversed NAT session answered.In one embodiment, when failing to receive the access request from requesting terminal within a certain period of time, Then cancel corresponding reversed nat port information table.In one embodiment, when service terminal is offline, then revocation and the service are whole Hold corresponding reversed nat port information table.
By such method, CGN equipment being capable of real-time servicing, the reversed NAT session of cleaning and reversed nat port information Table achievees the effect that update the storage of CGN equipment according to use state, on the one hand can clear up the memory space of CGN equipment, prevent The wasting of resources can reduce the data volume for needing to retrieve, quickening processing on the other hand during searching module is searched Speed.
Finally it should be noted that: the above embodiments are merely illustrative of the technical scheme of the present invention and are not intended to be limiting thereof;To the greatest extent The present invention is described in detail with reference to preferred embodiments for pipe, it should be understood by those ordinary skilled in the art that: still It can modify to a specific embodiment of the invention or some technical features can be equivalently replaced;Without departing from this hair The spirit of bright technical solution should all cover within the scope of the technical scheme claimed by the invention.

Claims (17)

1. a kind of registration server characterized by comprising
Display module is serviced, for showing registered service log to user, the service log includes corresponding Working level The internal address and outer net address of service terminal under network address translation CGN environment;
Request module, for the access request of acquisition request terminal, the requesting terminal is according to the registration server exhibition The service log shown determines access request;
Information extraction modules, for according to the access request extract the address of requesting terminal, service terminal outer net address and Port offset amount;
Information sending module, for sending the outer net address of the address of the requesting terminal, service terminal and port offset amount Give the service terminal corresponding CGN equipment.
2. server according to claim 1, which is characterized in that further include:
Registration Module, for receiving the service registration request of the service terminal under CGN environment, in the service registration request Internal address including the service terminal;
Enquiry module, for obtaining the service terminal from authentication and authorization charging aaa server according to the service registration request Outer net address and port block message, so that the service display module shows the internal address of the service terminal, outer entoilage Location.
3. server according to claim 2, which is characterized in that further include:
Information storage module, for storing the internal address, outer net address and port block message of the service terminal;
And/or
The information extraction modules are also used to true according to the both port of origination value of the port block of the obtained distribution of the correspondence service terminal The fixed port offset amount.
4. server according to claim 1, which is characterized in that further include information revocation module, in the service In the case that terminal is offline, revocation shows the service log for the corresponding with service terminal that the service display module is shown.
5. a kind of CGN equipment characterized by comprising
Information table generation module, for the outer entoilage according to address, service terminal from the requesting terminal that registration server obtains Location and port offset amount generate reversed nat port information table, the reversed nat port information table include requesting terminal address, The outer net address and port offset amount of service terminal;
Reversed session generation module, for being generated based on port mapping algorithm corresponding according to the reversed nat port information table Reversed NAT session;
Forwarding module, for right under from the access request that requesting terminal obtains to CGN environment according to the reversed NAT session forwarding The service terminal answered.
6. CGN equipment according to claim 5, which is characterized in that further include:
Memory module, the reversed NAT session generated for storing the reversed session generation module.
7. CGN equipment according to claim 6, which is characterized in that further include:
Searching module, for searching reversed NAT session based on port mapping algorithm according to the reversed nat port information table.
8. CGN equipment according to claim 5, which is characterized in that further include:
Data maintenance module, for not having the case where new access request in predetermined ageing time in the reversed NAT session Under, cancel the reversed NAT session;
And/or
In the case where not receiving the access request from the requesting terminal in the given time, the reversed NAT is cancelled Port information table;
And/or
For cancelling the corresponding reversed nat port information table in the case where service terminal is offline.
9. a kind of service provider system, which is characterized in that including the Claims 1 to 4 any registration server and right It is required that 5~8 any CGN equipment, and
Aaa server, for providing the outer net address of service terminal and port block letter under CGN environment to the registration server Breath.
10. a kind of service indexing means, which is characterized in that
Registration server receives the access request from requesting terminal, wherein the requesting terminal is according to the registration server The registered service log shown, the service log include the internal address of service terminal and outer under corresponding CGN environment Net address determines access request;
According to the address of access request extraction requesting terminal, the outer net address of service terminal and port offset amount and it is sent to The corresponding CGN equipment of the service terminal.
11. according to the method described in claim 10, it is characterized by further comprising:
The service registration request of the service terminal under CGN environment is received, includes the service in the service registration request The internal address of terminal;
The outer net address and port block message of the service terminal are obtained from aaa server according to the service registration request, with Housecoat business display module shows the internal address of the service terminal, outer net address.
12. according to the method for claim 11, which is characterized in that further include: store the service terminal internal address, Outer net address and port block message;
And/or
It is described that reversed nat port information table is generated according to the access request further include: to be obtained according to the correspondence service terminal The both port of origination value of the port block of distribution determines the port offset amount.
13. according to the method described in claim 10, it is characterized by further comprising: in the case where the service terminal is offline, Cancel the service log of the corresponding with service terminal shown.
14. a kind of service retransmission method, which is characterized in that
CGN equipment is according to the outer net address and port offset of address, service terminal from the requesting terminal that registration server obtains Amount generates reversed nat port information table, the reversed nat port information table include the address of requesting terminal, service terminal it is outer Net address and port offset amount;
According to the reversed nat port information table, corresponding reversed NAT session is generated based on port mapping algorithm;
According to corresponding service terminal under the reversed NAT session forwarding access request to CGN environment.
15. according to the method for claim 14, which is characterized in that further include:
Store the reversed NAT session generated.
16. according to the method for claim 15, which is characterized in that further include:
Port mapping algorithm, which is based on, according to the reversed nat port information table searches reversed NAT session.
17. according to the method for claim 14, which is characterized in that further include:
If the reversed NAT session does not have new access request in predetermined ageing time, the reversed NAT session is cancelled;
And/or
If not receiving the access request from the requesting terminal in the given time, the reversed nat port information is cancelled Table;
And/or
If service terminal is offline, the corresponding reversed nat port information table is cancelled.
CN201510639277.3A 2015-09-30 2015-09-30 Registration server, CGN equipment, service provider system and index, retransmission method Active CN106559509B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510639277.3A CN106559509B (en) 2015-09-30 2015-09-30 Registration server, CGN equipment, service provider system and index, retransmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510639277.3A CN106559509B (en) 2015-09-30 2015-09-30 Registration server, CGN equipment, service provider system and index, retransmission method

Publications (2)

Publication Number Publication Date
CN106559509A CN106559509A (en) 2017-04-05
CN106559509B true CN106559509B (en) 2019-10-22

Family

ID=58417269

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510639277.3A Active CN106559509B (en) 2015-09-30 2015-09-30 Registration server, CGN equipment, service provider system and index, retransmission method

Country Status (1)

Country Link
CN (1) CN106559509B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343291B (en) * 2018-12-19 2022-04-26 中国电信股份有限公司 Service acceleration processing method and device, QoS platform and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101132424A (en) * 2007-09-29 2008-02-27 杭州华三通信技术有限公司 Network address conversion method and device thereof
CN101242421A (en) * 2008-03-19 2008-08-13 中国科学院计算技术研究所 Application-oriented name registration system and its service method under multi-layer NAT environment
CN101369959A (en) * 2007-08-14 2009-02-18 中兴通讯股份有限公司 Network address conversion traversing method supporting point-to-point service
CN101790146A (en) * 2009-01-23 2010-07-28 华为技术有限公司 Method for allocating address information, network equipment and network system
CN102957754A (en) * 2011-08-22 2013-03-06 中国电信股份有限公司 Operating-level network address conversion method, operating-level network address conversion equipment and network system
CN103118147A (en) * 2013-01-24 2013-05-22 中国联合网络通信集团有限公司 Method, equipment and system for accessing intranet server
CN103200281A (en) * 2013-01-24 2013-07-10 中国联合网络通信集团有限公司 Method, device and system for accessing intranet server
US8942235B1 (en) * 2011-11-04 2015-01-27 Juniper Networks, Inc. Load balancing deterministic network address translation across session management modules

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101369959A (en) * 2007-08-14 2009-02-18 中兴通讯股份有限公司 Network address conversion traversing method supporting point-to-point service
CN101132424A (en) * 2007-09-29 2008-02-27 杭州华三通信技术有限公司 Network address conversion method and device thereof
CN101242421A (en) * 2008-03-19 2008-08-13 中国科学院计算技术研究所 Application-oriented name registration system and its service method under multi-layer NAT environment
CN101790146A (en) * 2009-01-23 2010-07-28 华为技术有限公司 Method for allocating address information, network equipment and network system
CN102957754A (en) * 2011-08-22 2013-03-06 中国电信股份有限公司 Operating-level network address conversion method, operating-level network address conversion equipment and network system
US8942235B1 (en) * 2011-11-04 2015-01-27 Juniper Networks, Inc. Load balancing deterministic network address translation across session management modules
CN103118147A (en) * 2013-01-24 2013-05-22 中国联合网络通信集团有限公司 Method, equipment and system for accessing intranet server
CN103200281A (en) * 2013-01-24 2013-07-10 中国联合网络通信集团有限公司 Method, device and system for accessing intranet server

Also Published As

Publication number Publication date
CN106559509A (en) 2017-04-05

Similar Documents

Publication Publication Date Title
US10630825B2 (en) System and method for registering an IP telephone
US7558254B2 (en) Method and apparatus for call routing via gateway brokering
CN101141420A (en) Method and system for performing data communication between private network and public network
CN108712516B (en) Method, device, equipment and storage medium for acquiring SIP server address
US20120297087A1 (en) Method And Apparatus For Message Distribution In A Device Management System
CN105323173A (en) Network rule entry setting method and device
CN103618801B (en) Method, equipment and the system of a kind of P2P resource-sharing
CN102916930B (en) Fused business network and its node, resource request routing iinformation acquisition methods
CN103916491B (en) Dynamic address mapping method and device based on NAT444 architecture
CN110247848A (en) Send method, the network equipment and the computer readable storage medium of message
JP2016123099A (en) Apparatus and method for configuring personal network using pn routing table
CN103532752A (en) Management device and method for realizing integration of surfing logs of mobile internet users
CN104202420A (en) Method and device for supporting expansion of internet-of-things middleware cluster
CN108199967A (en) Route processing method and device
EP3550794A1 (en) Solution for establishing a communication session
CN110365557A (en) A kind of method and device of network interconnection
CN106603435B (en) Distribute the method and device of port block resource
US11108832B2 (en) Network component selection based on device identifier
CN106713528B (en) A kind of method of home gateway and IPv6 host access network server
US20140101285A1 (en) Method, device, and system for obtaining address of sip registration server
CN104581977B (en) WLAN user management method, apparatus and system
CN106559509B (en) Registration server, CGN equipment, service provider system and index, retransmission method
CN109951493A (en) A kind of network intercommunication method, device, equipment and storage medium
JP2014155007A (en) Smart meter, and smart meter system
CN103220374B (en) A kind of method of client access network, device

Legal Events

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