CN101321128A - Communication equipment, communication network system and communication method - Google Patents

Communication equipment, communication network system and communication method Download PDF

Info

Publication number
CN101321128A
CN101321128A CNA2008101157828A CN200810115782A CN101321128A CN 101321128 A CN101321128 A CN 101321128A CN A2008101157828 A CNA2008101157828 A CN A2008101157828A CN 200810115782 A CN200810115782 A CN 200810115782A CN 101321128 A CN101321128 A CN 101321128A
Authority
CN
China
Prior art keywords
service
network
message
registration
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CNA2008101157828A
Other languages
Chinese (zh)
Other versions
CN101321128B (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.)
Institute of Computing Technology of CAS
Original Assignee
Institute of Computing Technology of CAS
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 Institute of Computing Technology of CAS filed Critical Institute of Computing Technology of CAS
Priority to CN2008101157828A priority Critical patent/CN101321128B/en
Publication of CN101321128A publication Critical patent/CN101321128A/en
Application granted granted Critical
Publication of CN101321128B publication Critical patent/CN101321128B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention provides a communication network system under multilayer NAT environment including a common network and at least one private network. The private network accesses to the common network or other private networks through an address conversion unit. The communication apparatus of the communication network system includes a top-level communication apparatus accessing to the common network and a basic communication apparatus accessing to the private network. The communication apparatus records the user entry information of each system terminal apparatus. The user entry information at least includes a user mark, a user entry point of the system terminal apparatus used by the user in the network accessed by the communication apparatus and a system terminal apparatus access point of the system terminal apparatus used by the user in the network accessed by the communication apparatus. The invention further provides corresponding communication method and communication apparatus. The invention is able to prevent the communication data between users from passing through the common network route, thereby improving the service quality of network application and reducing the pressure to the common network.

Description

Communication equipment, communications network system and communication means
Technical field
The invention belongs to networking technology area, specifically, the present invention relates to a kind of communication equipment, communications network system and communication means.
Background technology
Publicly-owned address (Public Address) is responsible for by Inter NIC (Internet Network InformationCenter is called for short Internet Network Information Center).These network addresss are distributed to registered and to organization that InterNIC files an application.Use directly access the Internet of publicly-owned address.Privately owned address (Private Address) belongs to non-registered address, and being that organization is inner specially uses.The privately owned address of continuing to employ: category-A: 10.0.0.0 ∽ 10.255.255.255; Category-B: 172.16.0.0 ∽ 172.31.255.255; C class: 192.168.0.0 ∽ 192.168.255.255.The present invention is divided into the basis with network layer address, and the network that the equipment that uses publicly-owned address to communicate is formed is global network, and the network that uses the equipment composition that the private address communicates is private network.
Network address translation (Network Address Translation is called for short NAT) is an IETF (Internet Engineering Task Force, an Internet engineering duty group) standard.It is a kind of internal private address to be translated into the technology of publicly-owned address, allows a whole mechanism with a shared publicly-owned address, as IP (Internet Protocol) address, appears on the Internet.NAPT (network address port translation) has extended a step to the notion of " basic NAT " translation, also translate the transport layer sign in the time of translating address (as the port numbers of TCP/UDP, the inquiry ID of ICMP), thus be the transport layer label multiplex of a plurality of internal hosts a unique outside publicly-owned address.NAPT makes one group of main frame can share a unique outside publicly-owned address.Can combine NAPT and basic NAT in actual use, one group of external address and port translation are associated.At this, among the present invention NAT, NATP are referred to as NAT; The equipment that will have nat feature is called NAT device or NAT router.
Yet the NAT technology has but been destroyed the integrality of IP address space when solving the problem that publicly-owned address is few, the Internet user is numerous.Under existing routing protocol, the main frame by NAT device connection global network can not be visited another connects global network by NAT device main frame.
In order to address this problem, STUN (Simple Traversal of User Datagram ProtocolThrough Network Address Translators), TURN (Traversal Using Relay NAT), A Methodology forNetwork Address Translator (NAT) Traversal for Offer/Answer Protocols) etc. (Interactive Connectivity Establishment (ICE): agreement is respectively at obtaining the network address and the port that can be used for Data transmission for ICE, Data transmission, and, diverse ways has been proposed according to problems such as application scenarios integrated uses.Simple Traversal of UDP Through Network Address Translators is by set up the service node of numerous known (well known) at public network, as STUN SERVER, assists to obtain to be connected by the main frame that NAT device is connected to global network the network address and the port of the NAT device on the global network; And the penetrability of testing this network address and port.The service node relay data (as Fig. 1,2) of TURN agreement by set up numerous known (well known) at public network.ICE collects all network address that can be used for communicating by letter and ports based on Simple Traversal of UDP Through Network Address Translators, TURN agreement; With session-layer protocol, as SIP (Session Initiation Protocol) agreement, the network address that can be used for communicating by letter and the port information collected by the customer call transmission for the basis; Also defined the method for cover each network address of affirmation and port accessibility simultaneously.
Along with increasing of personal computer device, the popularizing of network access equipment, increasing entity and individual are not content with the unit online, wish by network various device to be organized together.By NAT interface differential technique networking carrying out address amplification, cause appearance two-layer, three layers of NAT structure.For the ease of distinguishing the effect of each NAT device, will there be the NAT device of publicly-owned address to be defined as root NAT among the present invention.
In the multi-layer NAT network, the relative position of communicating pair comprises following several situation: (1) communicating pair is at global network; (2) communication one side is in the private network by the NAT device expansion, and the opposing party is in global network; (3) communicating pair is in the private network of same NAT device expansion; (4) communicating pair is in the private network of different N AT device extension, and these two NAT device linking to each other by different root NAT and global network; (5) communicating pair is in the private network of different N AT device extension, and these two NAT device linking to each other by identical root NAT and global network.We are called same root multi-layer NAT network with the 5th kind of described NAT network of situation.
Under prior art, when communicating pair is in the same root multi-layer NAT network, need be by the forwarding server relay data that is deployed in the global network.Though this method can be finished the task of communicating pair data passes, also strengthened the pressure of global network and root NAT bandwidth, and do not made full use of the Internet resources of NAT inside.
Summary of the invention
The present invention is directed to signal intelligence complexity in the multi-layer NAT network, the communication resource and need optimize the problem of use, propose a kind of new communications network system and relevant apparatus and communication means.In the multi-layer NAT network environment, this system can be according to the network topology relationship characteristic between communicating pair, and the path for the automatic configuration data of communicating pair transmits makes full use of the communication resource in the multi-layer NAT network.
For achieving the above object, communications network system under the multi-layer NAT environment provided by the invention, described multi-layer NAT environment has global network and at least one private network, and described private network inserts global network or other private network by address conversioning unit; Communication equipment in the described communications network system comprises top communication equipment that inserts global network and the basic communications device that inserts private network; Described communication equipment writes down the user login information of each system terminal equipment, and this user login information comprises the point of user login of system terminal equipment in the network that described communication equipment inserts and the system terminal device access point of system terminal equipment in the network that described communication equipment inserts of user's use that user ID, user use at least.
In the technique scheme, described communication equipment comprises configuration service device, registration service device, Call Agent service unit and transmits service unit;
Described configuration service device comprises top configuration service unit that inserts global network and the basic configuration service unit that inserts private network; Described configuration service device provides the index service inlet for the system terminal equipment of described registration service device, Call Agent service unit and forwarding service unit and communications network system;
Described registration service device comprises top registration service unit that inserts global network and the basic registration service unit that inserts private network; Described registration service device is used for the log-on message of storage system terminal equipment to described configuration service device registration, for described Call Agent service unit and forwarding service unit provide the user profile query function; Described family information-storing device can be the part of described registration service device;
Described Call Agent service unit comprises top Call Agent service unit that inserts global network and the basic call agency service unit that inserts private network; Described Call Agent service unit is used for the call request that receiving system terminal equipment is initiated to described configuration service device registration, and sends or the forwarded call request to system terminal;
Described forwarding service unit comprises top forwarding service unit that inserts global network and the basic forwarding service unit that inserts private network; Described forwarding service unit is used for setting up the data passes path between the system terminal or carry out data forwarding between main frame to described configuration service device registration.
In the technique scheme, described communications network system also comprises top service bus device, described top service bus device inserts global network with the various service units in the described communications network system, the service unit that connects with top service bus device in the described various service unit uses the addressing of publicly-owned address, and in other words top service bus device is the part of global network.
In the technique scheme, described communications network system also comprises at least one service bus device, this service bus device inserts private network with the various service units in the described communications network system, the service unit that connects with the service bus device in described kind of service unit uses the privately owned address addressing of the private network that inserts, and in other words the service bus device is the part of the private network that connected.
In the technique scheme, described system terminal is by calling the data path between the various service units affirmation system terminals in the described communications network system.
In the technique scheme, transmit service unit and be used for relay data between system terminal.
In the technique scheme, the number of plies that inserts the private network of described global network is at least 2 layers.
In the technique scheme, the network that is used to communicate by letter in the described communications network system can be cable network or wireless network.
In the technique scheme, described configuration service device, registration service device, Call Agent service unit and forwarding service unit can be wired access or wireless access, and various service units can centralized or distributed realization.
In the technique scheme, the various service units in the described communications network system are formed by a plurality of service units of basic function that provide; The service unit that is deployed in the global network is top service unit; The service unit that is deployed in the private network is the basic service unit; Each service unit both can have been concentrated and run on on the main frame, and also can distribute operates on the multiple host; Each service unit operates on main frame or the mainframe cluster, provides respective service by main frame or mainframe cluster to communications network system.
In the technique scheme, described configuration service device is made up of top configuration service unit and a plurality of basic configuration service unit, and top configuration service unit is connected with global network by top service bus device; The basic configuration service unit is connected with private network by the service bus device, and top configuration service unit and basic configuration service unit include configuration service logic control element, basic configuration information record sheet, hierarchical information record, target configuration server record, sub-configuration server record sheet, registration service record sheet, Call Agent service log table, transmit the service log table, by proxy information storage list, message buffering district and communication unit.
In the technique scheme, described configuration service logic control element is used to control the execution of configuration service; The basic configuration information record sheet is used for minute book unit marks, this unit networks address and this unit serve port; The hierarchical information record is used to write down hierarchical information; The target configuration server record is used to write down the service entrance of ancestors' configuration server; Sub-configuration server record sheet is used to write down the service entrance, sign of sub-configuration service unit and the network address of corresponding NAT router; The registration service record sheet is used to write down the service entrance, sign of registration service unit and the network address of corresponding NAT router; Call Agent service log table is used for the service entrance, sign of metered call agency service unit and the network address of corresponding NAT router; Transmit the network address that the service log table is used to write down the NAT router of service entrance, sign and the correspondence of transmitting service unit; The service entrance, the proxy policies that are used to write down the service unit of being acted on behalf of by the proxy information storage list; The message buffering district is used for temporary transient information of preserving the packet that receives; Communication unit connects with top service bus device or service bus device, is responsible for the transmitting-receiving of data.
In the technique scheme, described registration service device is made up of top registration service unit and a plurality of basic registration services unit, and top registration service unit is connected with global network by top service bus device; Basic registration service unit is connected with private network by the service bus device, and top registration service unit and basic registration service unit include registration service logic control element, basic configuration information record sheet, target registered server record, target configuration server record, sub-registration service record sheet, user profile record sheet, message buffering district and communication unit.
In the technique scheme, described registration service logic control element is used to control the execution of registration service; The basic configuration information record sheet is used for minute book unit marks, this unit networks address and this unit serve port; The target registered server record is used to write down the service entrance of ancestors' registrar; The target configuration server record is used for the service entrance of recording configuration service unit; Sub-registration service record sheet is used to write down the service entrance, sign of registration service unit and the network address of corresponding NAT router; The user profile record sheet is used for recording user information; The message buffering district is used for temporary transient information of preserving the packet information that receives; Communication unit connects with top service bus device or service bus device, is responsible for the transmitting-receiving of data.
In the technique scheme, described Call Agent service unit is made up of top Call Agent service unit and a plurality of basic call agency services unit, and top Call Agent service unit is connected with global network by top service bus device; Basic call agency service unit is connected with private network by the service bus device; Top Call Agent service unit and basic call agency service unit include Call Agent service logic control unit, basic configuration information record sheet, target configuration server record, target call acting server record, target registered server record, sub-Call Agent service log table, message buffering district and communication unit.
In the technique scheme, described Call Agent service logic control unit is used for the execution of controlling call agency service; Basic configuration information record sheet minute book unit marks, this unit networks address and this unit serve port; The target configuration server record is used for the service entrance of recording configuration service unit; The target call acting server is used to write down the service entrance of ancestors' call proxy server; The target registered server is used to write down the service entrance of registration service device; Sub-Call Agent service log table is used for the service entrance, sign of metered call agency service unit and the network address and the network port of corresponding NAT router; The message buffering district is used for temporary transient information of preserving the packet information that receives; Communication unit connects with top service bus device or service bus device, is responsible for the transmitting-receiving of data.
In the technique scheme, described forwarding service unit is made up of top forwarding service unit and a plurality of basic forwarding service unit, and top forwarding service unit is connected with global network by top service bus device; The basic service unit of transmitting is connected with private network by the service bus device; Top forwarding service unit and the basic service unit of transmitting include forwarding service logic control unit, basic configuration information record sheet, target configuration server record, target forwarding server record, target registered server record, sub service log table, message buffering district and the communication unit transmitted.
In the technique scheme, described forwarding service logic control unit is used to control the execution of the service of forwarding; Basic configuration information record sheet minute book unit marks, this unit networks address and this unit serve port; The target configuration server record is used for the service entrance of recording configuration service unit; The service entrance that target forwarding server record is used to write down ancestors' forwarding server; The target registered server record is used to write down the service entrance of registration service device; Son is transmitted the network address that the service log table is used to write down the NAT router of service entrance, sign and the correspondence of transmitting service unit; The message buffering district is used for temporary transient information of preserving the packet that receives; Communication unit connects with top service bus device or service bus device, is responsible for the transmitting-receiving of data.
In the technique scheme, described system terminal comprises system terminal logic control element, basic configuration information record sheet, user side configuration service agent unit, user side Call Agent service agent unit, user side forwarding service agent unit, message buffering district and communication unit.
In the technique scheme, described system terminal logic control element is used for the execution of control system terminal; Basic configuration information record sheet minute book sign; User side configuration service agent unit is used for the service entrance of recording configuration service unit and control with the information exchange of configuration service device; The service entrance of user side Call Agent service agent unit metered call agent service device and control are with the information exchange of Call Agent service unit; User side is transmitted the service agent unit record and is transmitted the service entrance of service unit and the information exchange that service unit is transmitted in control together; The temporary transient information of preserving in the packet that receives in message buffering district; Communication unit is connected with global network or private network, is responsible for the transmitting-receiving of data.
For achieving the above object, the collocation method of communications network system of the present invention comprises the steps:
1) the configuration service device is finished the initialization of configuration service by top configuration service unit starting, and the basic configuration service unit is participated in the configuration service of network communicating system by adding the configuration service device to the configuration service device registration.
2) described registration service device is by top registration service unit starting, and by finish the initialization of registration service to top configuration service unit (ONU) registration, the registration service of network communicating system is participated in by adding described registration service device to the configuration service device and to the registration service device registration in basic registration service unit.
3) described Call Agent service unit starts by top Call Agent service unit, and by finish the initialization of Call Agent service, the service entrance that obtains the registration service device simultaneously to top configuration service unit (ONU) registration; Basic call agency service unit passes through to add network communicating system to the configuration service device registration, and the service entrance that obtains the registration service device; By adding the Call Agent service unit, participate in the Call Agent service of network communicating system to the registration of Call Agent service unit; Described Call Agent service unit is by the service entrance storage or the inquiring user log-on message of registration service device.
4) described forwarding service unit starts by top forwarding service unit, and by finish the initialization of the service of forwarding, the service entrance that obtains the registration service device simultaneously to top configuration service unit (ONU) registration; The basic service unit of transmitting passes through to add network communicating system to the configuration service device registration, and the service entrance that obtains the registration service device; By adding the forwarding service unit, participate in the forwarding service of network communicating system to transmitting the service unit registration; Transmit the service entrance inquiring user log-on message of service unit by the registration service device.
For achieving the above object, described communications network system provided by the invention carries out the method for user's login, comprises the steps:
1) system terminal equipment obtains the service entrance of basic call agency service unit, and this service entrance is the network address and port or the sign that can be converted into the network address and port;
2) system terminal equipment sends user's log messages according to the service entrance to basic call agency service unit, and described user's log messages is carried user login information; The described user login information of this step comprises user ID at least and uses the network address of described system terminal equipment and the point of user login of port definition;
3) described Call Agent service unit is stored to the registration service unit with user login information, and transmits user's log messages of carrying this user login information to the Call Agent service unit of upper layer network; The described user login information of this step comprises user ID at least;
4) operation after the Call Agent service unit of described upper layer network is received user's log messages of forwarding, repeating step 3) is forwarded to the top layer registration service unit that inserts global network until user's log messages.
For achieving the above object, the forwarding service providing method of described communications network system provided by the invention comprises the steps:
1) system terminal equipment obtains the service entrance of transmitting service unit by the configuration service device;
2) system terminal equipment obtains the network address from the forwarding of data service unit to callee user and the port that can transmit by the service entrance of described forwarding service unit.
For achieving the above object, the method for building up of data transmission channel between the system terminal of communications network system provided by the invention comprises following substep:
1) the caller system terminal equipment obtains the network address from the forwarding of data service unit to callee user and the port that can transmit by transmitting service unit;
2) the caller system terminal equipment sends call request message by the Call Agent service unit to callee's system terminal, comprises the network address of described forwarding service unit and port, calling party's point of user login and system terminal device access point in the message;
After callee's system terminal equipment is received the call request message of calling part user, by transmitting the work service inlet that service unit obtains the service unit that the service of forwarding can be provided, obtain the host address and the port of the access NAT router of the network that the NAT router is controlled under the server of this forwardings service unit of operation simultaneously;
3) after callee's system terminal equipment is received the call request message of calling part user, obtain the network address from the forwarding of data service unit to calling part user and the port that to transmit by transmitting service unit;
4) caller system terminal equipment and callee's system terminal equipment consult to carry out the host address and the port of data interchange, and confirm the host address and the port that can carry out data communication.
For achieving the above object, communication means between the system terminal of application oriented communications network system comprises the steps: under the described multi-layer NAT environment provided by the invention
1) configuration service device, registration service device, Call Agent service unit and forwarding service unit carry out initialization;
2) system terminal equipment lands in communications network system;
3) Call Agent service in the registration back system terminal equipment calls communications network system and the service of transmitting are finished the system terminal equipment room and are set up data transmission channel, finish data communication to each other.
In the technique scheme, in the described step 1), described configuration service device is finished the initialization of configuration service by top configuration service unit starting, and the basic configuration service unit is participated in the configuration service of network communicating system by adding the configuration service device to the configuration service device registration.
In the technique scheme, in the described step 1), described registration service device is by top registration service unit starting, and by finish the initialization of registration service to top configuration service unit (ONU) registration, the registration service of network communicating system is participated in by adding described registration service device to the configuration service device and to the registration service device registration in basic registration service unit.
In the technique scheme, in the described step 1), described Call Agent service unit starts by top Call Agent service unit, and by finish the initialization of Call Agent service, the service entrance that obtains the registration service device simultaneously to top configuration service unit (ONU) registration; Basic call agency service unit passes through to add network communicating system to the configuration service device registration, and the service entrance that obtains the registration service device; By adding the Call Agent service unit, participate in the Call Agent service of network communicating system to the registration of Call Agent service unit; Described Call Agent service unit is by the service entrance storage or the inquiring user log-on message of registration service device.
In the technique scheme, in the described step 1), described forwarding service unit starts by top forwarding service unit, and by finish the initialization of the service of forwarding, the service entrance that obtains the registration service device simultaneously to top configuration service unit (ONU) registration; The basic service unit of transmitting passes through to add network communicating system to the configuration service device registration, and the service entrance that obtains the registration service device; By adding the forwarding service unit, participate in the forwarding service of network communicating system to transmitting the service unit registration; Transmit the service entrance inquiring user log-on message of service unit by the registration service device.
In the technique scheme, described step 2) comprise following substep:
[1] system terminal equipment obtains the service entrance point of Call Agent service unit;
[2] system terminal equipment sends user's registration message to the Call Agent service unit, comprises the network address and the port of user ID, system terminal equipment in the message;
[3] receive the Call Agent service unit of user's registration message, make up new user's registration message based on the user's registration message that receives, in new user's registration message except that the content that comprises user's registration message of receiving, also comprise and carry the network address and the port of the packet of this message when this Call Agent service unit receives user's registration message, target registered server record according to this locality storage is sent out the family registration message to the registration service device, user's registration message of sending out structure new to the Call Agent service unit according to the target call acting server record of this locality storage simultaneously, the sign of subsidiary this Call Agent service unit in the message; Each call proxy server of receiving user's registration information finally makes user's registration information pass to top registrar by top Call Agent service unit by above-mentioned flow process processing messages step by step;
[4] after user's registration message of Call Agent service unit forwarding is received in the registration service unit, the network address of record user identifications, system terminal equipment and port, carry the network address and the port of the packet of this user's registration message when metered call agency service unit receives user's registration message simultaneously, if comprise the sign of Call Agent service unit in user's registration message, the sign of the Call Agent service unit of the last user of transmission registration message in the transfer sequence recording messages is pressed in the registration service unit; Simultaneously, echo reply message is put to the Call Agent clothes in the registration service unit;
[5] after the Call Agent clothes are put the response message of receiving the registration service device, transmit this response message to the system terminal device.
In the technique scheme, described step 3) comprises following substep:
[1] the caller system terminal equipment is by transmitting the work service inlet that service unit obtains the service unit that the service of forwarding can be provided, obtain the network address and the port of the access NAT router of the network of NAT router control under the server of this forwardings service unit of operation simultaneously, this insert the NAT router at the caller system terminal equipment to the shortest NAT path of the server of this forwarding service unit of operation;
[2] the caller system terminal equipment is sent out call request message by the Call Agent service unit to callee's system terminal, at least the network address and the port that comprise calling part user sign, callee's user ID in the message, are used to receive response message maybe can be forwarded the network address and the port that the sign, the calling party that change the network address and port into can be used to receive data, comprising the network address and the port of the network address on the network address on the forwarding server and port, the NAT router and port, caller system terminal equipment; The Call Agent service unit of receipt of call request message, according to the log-on message of local target registered server record to registration service device inquiry callee user, if this Call Agent service unit receives that the response message of registration service device is for continuing inquiry, this Call Agent service unit makes up a new call request message based on the user's registration message that receives, in the new call request message except that the content that comprises the call request message of receiving, carry the network address and the port of the packet of this message when also comprising the receipt of call request message, and the sign of this Call Agent service unit, transmit new call request message according to local target call acting server record to the Call Agent service unit; If receiving in the response message of registration service device, this Call Agent service unit comprises callee's customer position information, this Call Agent service unit is according to the content of this message, obtain corresponding network address and port, and, also comprise the sign of this Call Agent service unit in the message to this network address and port forwarding calling part user call request message; If this Call Agent service unit is received the response message of registration service device and is not existed for this callee user, this Call Agent service unit makes up the non-existent response message of user based on the user's registration message that receives, at least comprise the calling part user sign in the message, the network address and the port that are used to receive response message maybe can be forwarded the sign that changes the network address and port into, the network address of the forwarded call request message of Pai Lieing and port maybe can convert the sign of the network address and port in order, and carry the network address and the port of the packet of this message during according to the receipt of call request message, return the non-existent response message of this user to this network address and port, receive the Call Agent service unit of the non-existent response message of user that the Call Agent service unit is transmitted, correlated identities and the network address and the port of this Call Agent of deletion service unit from the non-existent response message of this user, make up the new non-existent response message of user, backward by the forwarded call request message is transmitted the non-existent response message of user, makes non-existent the replying of user be delivered to the caller system terminal equipment;
[3] after callee's system terminal equipment is received the call request message of calling part user, by transmitting the work service inlet that service unit obtains the service unit that the service of forwarding can be provided, obtain the network address and the port of the access NAT router of the network that the NAT router is controlled under the server of this forwardings service unit of operation simultaneously; This inserts the NAT router, and this is transmitted on the shortest NAT path of server of service unit to operation at callee's system terminal equipment;
[4] caller system terminal equipment and callee's system terminal equipment consult to carry out the network address and the port of data interchange, and confirm the network address and the port that can carry out data communication;
[5] caller system terminal equipment and callee's system terminal equipment carry out data communication, transmit literal, image, Voice ﹠ Video data.
For achieving the above object, communication equipment provided by the invention comprises top communication equipment that inserts global network and the basic communications device that inserts private network; Described communication equipment writes down the user login information of each system terminal equipment, and this user login information comprises the point of user login of system terminal equipment in the network that described communication equipment inserts and the system terminal device access point of system terminal equipment in the network that described communication equipment inserts of user's use that user ID, user use at least.
In the technique scheme, described communication equipment comprises configuration service device, registration service device, the Call Agent service unit that inserts described global network and private network and transmits service unit;
Described configuration service device is used to that other service unit provides access service in the communications network system, for communications network system system terminal equipment and various service unit provide the index service of searching other service unit in communications network system inlet;
Described registration service device is used for the log-on message of storage system terminal equipment to the configuration service device registration, for Call Agent service unit in the communications network system and forwarding service unit provide the user profile query function;
Described Call Agent service unit is used for the call request that receiving system terminal equipment is initiated to the configuration service device registration, and sends or the forwarded call request to system terminal;
Described forwarding service unit is to the configuration service device registration, and the main frame that is used to assist to wish mutual communication is set up the data passes path or carry out data forwarding between main frame.
In the technique scheme, described configuration service device, registration service device, Call Agent service unit and forwarding service unit can be wired access or wireless access, and various service units can centralized or distributed realization.
In the technique scheme, the various service units in the described communications network system are formed by a plurality of service units of basic function that provide; The service unit that is deployed in the global network is top service unit; The service unit that is deployed in the private network is the basic service unit; Each service unit both can have been concentrated and run on on the main frame, and also can distribute operates on the multiple host; Each service unit operates on main frame or the mainframe cluster, provides respective service by main frame or mainframe cluster to communications network system.
In the technique scheme, described configuration service device is made up of top configuration service unit and a plurality of basic configuration service unit, and top configuration service unit is connected with global network by top service bus device; The basic configuration service unit is connected with private network by the service bus device, and top configuration service unit and basic configuration service unit include configuration service logic control element, basic configuration information record sheet, hierarchical information record, target configuration server record, sub-configuration server record sheet, registration service record sheet, Call Agent service log table, transmit the service log table, by proxy information storage list, message buffering district and communication unit.
In the technique scheme, described configuration service logic control element is used to control the execution of configuration service; The basic configuration information record sheet is used for minute book unit marks, this unit networks address and this unit serve port; The hierarchical information record is used to write down hierarchical information; The target configuration server record is used to write down the service entrance of ancestors' configuration server; Sub-configuration server record sheet is used to write down the service entrance, sign of sub-configuration service unit and the network address of corresponding NAT router; The registration service record sheet is used to write down the service entrance, sign of registration service unit and the network address of corresponding NAT router; Call Agent service log table is used for the service entrance, sign of metered call agency service unit and the network address of corresponding NAT router; Transmit the network address that the service log table is used to write down the NAT router of service entrance, sign and the correspondence of transmitting service unit; The service entrance, the proxy policies that are used to write down the service unit of being acted on behalf of by the proxy information storage list; The message buffering district is used for temporary transient information of preserving the packet that receives; Communication unit connects with top service bus device or service bus device, is responsible for the transmitting-receiving of data.
In the technique scheme, described registration service device is made up of top registration service unit and a plurality of basic registration services unit, and top registration service unit is connected with global network by top service bus device; Basic registration service unit is connected with private network by the service bus device, and top registration service unit and basic registration service unit include registration service logic control element, basic configuration information record sheet, target registered server record, target configuration server record, sub-registration service record sheet, user profile record sheet, message buffering district and communication unit.
In the technique scheme, described registration service logic control element is used to control the execution of registration service; The basic configuration information record sheet is used for minute book unit marks, this unit networks address and this unit serve port; The target registered server record is used to write down the service entrance of ancestors' registrar; The target configuration server record is used for the service entrance of recording configuration service unit; Sub-registration service record sheet is used to write down the service entrance, sign of registration service unit and the network address of corresponding NAT router; The user profile record sheet is used for recording user information; The message buffering district is used for temporary transient information of preserving the packet information that receives; Communication unit connects with top service bus device or service bus device, is responsible for the transmitting-receiving of data.
In the technique scheme, described Call Agent service unit is made up of top Call Agent service unit and a plurality of basic call agency services unit, and top Call Agent service unit is connected with global network by top service bus device; Basic call agency service unit is connected with private network by the service bus device; Top Call Agent service unit and basic call agency service unit include Call Agent service logic control unit, basic configuration information record sheet, target configuration server record, target call acting server record, target registered server record, sub-Call Agent service log table, message buffering district and communication unit.
In the technique scheme, described Call Agent service logic control unit is used for the execution of controlling call agency service; Basic configuration information record sheet minute book unit marks, this unit networks address and this unit serve port; The target configuration server record is used for the service entrance of recording configuration service unit; The target call acting server is used to write down the service entrance of ancestors' call proxy server; The target registered server is used to write down the service entrance of registration service device; Sub-Call Agent service log table is used for the service entrance, sign of metered call agency service unit and the network address and the network port of corresponding NAT router; The message buffering district is used for temporary transient information of preserving the packet information that receives; Communication unit connects with top service bus device or service bus device, is responsible for the transmitting-receiving of data.
In the technique scheme, described forwarding service unit is made up of top forwarding service unit and a plurality of basic forwarding service unit, and top forwarding service unit is connected with global network by top service bus device; The basic service unit of transmitting is connected with private network by the service bus device; Top forwarding service unit and the basic service unit of transmitting include forwarding service logic control unit, basic configuration information record sheet, target configuration server record, target forwarding server record, target registered server record, sub service log table, message buffering district and the communication unit transmitted.
In the technique scheme, described forwarding service logic control unit is used to control the execution of the service of forwarding; Basic configuration information record sheet minute book unit marks, this unit networks address and this unit serve port; The target configuration server record is used for the service entrance of recording configuration service unit; The service entrance that target forwarding server record is used to write down ancestors' forwarding server; The target registered server record is used to write down the service entrance of registration service device; Son is transmitted the network address that the service log table is used to write down the NAT router of service entrance, sign and the correspondence of transmitting service unit; The message buffering district is used for temporary transient information of preserving the packet that receives; Communication unit connects with top service bus device or service bus device, is responsible for the transmitting-receiving of data.
With respect to prior art, the present invention has following technique effect:
When communicating pair is in the same root multi-layer NAT network, the method (TURN) of the forwarding server relay data that passes through to dispose in the global network that prior art adopts, though can finish the transmission between communicating pair of data, but the use of this method will strengthen the pressure of global network and NAT outlet bandwidth, not make full use of the Internet resources of NAT inside simultaneously; Simultaneously, Simple Traversal of UDP Through Network Address Translators can't be distinguished multistage two main frames and whether be deployed in different N AT back, can do nothing to help the main frame that two main frames are deployed in different N AT back simultaneously and carries out port negotiation.
Communications network system of the present invention can be applicable to the relative position situation between aforesaid all five kinds of users, for the user who is connected on global network or the private network provides data communication.Especially under the same root multi-layer NAT network environment, communications network system can avoid communication data between the user by the global network route, thus improve network application service quality, reduce pressure to global network.
In fact, this communications network system is optimized in solving multi-level NAT network in the warp of transfer of data road, provide a kind of novel route pattern:, developed a cover route framework in conjunction with session-layer protocol can not carry out the NAT device of data route originally.The use of this framework has proposed a kind of new, alleviates the solution of the problem of using up the network address.The more user that not only can support of this communications network system surfs the Net, and makes the node in P2P (peer-to-peer) pattern can be deployed in the multi-level NAT network; Can also make the server extended deployment that originally can only be deployed in the global network in private network.
Description of drawings
Below, describe embodiments of the invention in conjunction with the accompanying drawings in detail, wherein:
Fig. 1 shows main frame in the NAT network with the host data transfer mode in the global network;
Fig. 2 shows in traditional same root multi-layer NAT network data passes mode between main frame;
Fig. 3 shows the hardware construction according to the communications network system of the embodiment of the invention;
Fig. 4 shows typical multi-level NAT network environment
Fig. 5 shows with inter-host communication mode under the root multi-level NAT network environment
Fig. 6 a shows the composition of configuration service device; Fig. 6 b shows the functional structure of b basic configuration service unit;
Fig. 7 a shows the composition of registration service device; Fig. 7 b shows the functional structure of basic registration service unit;
Fig. 8 a shows the composition of Call Agent service unit; Fig. 8 b shows the functional structure of basic call agency service unit;
Fig. 9 a shows the composition of transmitting service unit; Fig. 9 b shows the functional structure of basic forwarding service unit;
Figure 10 shows the fundamental relation between the service that each service unit provides in the communications network system;
Figure 11 shows Call Agent service in the subscriber terminal equipment calling communication network system and finishes flow process to the task of communications network system registration;
Figure 12 shows the Call Agent service in the subscriber terminal equipment calling communication network system and transmits and serve the flow process of finishing the data communication between subscriber terminal equipment;
Figure 13 shows the inquiry mode based on the known service entrance in the global network;
Figure 14 shows the inquiry mode based on the service entrance of this locality storage;
Figure 15 shows service client comprises the broadcast acquisition service entrance of service entrance by monitoring flow process;
Figure 16 shows the server agent broadcast mode;
Figure 17 shows configuration server in the network of according to the present invention root NAT control adds process from system to the configuration service device registration;
The configuration server that Figure 18 shows in the network that NAT router in the second level is controlled according to the present invention obtains configuration service device service entrance and registers the process that adds the configuration service device by inquiring about to top configuration server;
The configuration server that Figure 19 shows in the network that NAT router in the second level is controlled according to the present invention obtains the service entrance of configuration server in the direct upper layer network and the process that registration adds the configuration service device by listening mode;
Figure 20 shows top registration service unit by form the flow process of registration service device to the configuration service device registration;
Figure 21 shows registrar by finishing the flow process that adds communications network system and add the registration service device to the configuration service device with to top registrar registration;
Figure 22 shows in the network of the second level NAT router control registrar by finish the flow process that adds communications network system and add the registration service device to the configuration service device and to the registration service device registration;
Figure 23 shows under the service entrance situation of configuration server employing broadcast mode broadcast configuration service unit in the network of affiliated NAT control, and registrar adds the flow process of communications network system;
Figure 24 shows and disposes first configuration and first registrar is acted on behalf of under the situation in the networking of second level NAT router control, when this agency adopted the service entrance of broadcast mode broadcast configuration server and registration service, registrar added the flow process of communications network system;
Figure 25 illustrates top Call Agent service unit by form the flow process of Call Agent service unit to the configuration service device registration;
Figure 26 illustrates call proxy server by finishing the flow process that adds communications network system 10 and add Call Agent service unit 4001 to the configuration service device with to top call proxy server registration;
Figure 27 illustrates in the network of the second level NAT router control call proxy server by finish the flow process that adds communications network system 10 and add Call Agent service unit 4001 to the configuration service device and to the registration of Call Agent service unit;
Figure 28 illustrates under the service entrance situation of configuration server employing broadcast mode broadcast configuration service unit in the network of affiliated NAT control, and call proxy server adds the flow chart of communications network system 10;
Figure 29 illustrates to dispose first configuration and first call proxy server is acted on behalf of under the situation in the networking of second level NAT router control, when this agency adopted the service entrance of broadcast mode broadcast configuration server and Call Agent service, call proxy server added the flow process of communications network system 10;
Figure 30 illustrates top forwarding service unit by form the flow process of transmitting service unit to the configuration service device registration;
Figure 31 illustrates forwarding server to add communications network system 10 and add the flow process of transmitting service unit 5001 by finishing to the configuration service device with to top forwarding server registration;
Figure 32 illustrates in the network of the second level NAT router control forwarding server by finishing and add communications network system 10 and add the flow process of transmitting service unit 5001 to the configuration service device and to transmitting the service unit registration;
Figure 33 illustrates under the service entrance situation of configuration server employing broadcast mode broadcast configuration service unit in the network of affiliated NAT control, and forwarding server adds the flow process of communications network system 10;
Figure 34 illustrates to dispose first configuration and first forwarding server is acted on behalf of under the situation in the networking of second level NAT router control, when this agency adopted broadcast mode broadcast configuration server and transmits the service entrance of service, forwarding server added the flow process of communications network system 10;
The flow process of obtaining registrar for call proxy server among the NAT of the second level by the configuration service device shown in Figure 35;
The flow process of obtaining registrar for call proxy server among the NAT of the second level by configuration server shown in Figure 36;
The flow process of obtaining registrar for call proxy server among the NAT of the second level by configuration server shown in Figure 37;
The flow process of obtaining registrar for call proxy server among the NAT of the second level by configuration server shown in Figure 38;
The flow process of obtaining registrar for call proxy server among the NAT of the second level by configuration server shown in Figure 39;
Figure 40 illustrates system terminal by the flow process of Call Agent service unit to registration service device login user information;
Figure 41 illustrates the Call Agent service unit and transmits the process of calling subscriber's call request according to the called user information that the registration service device provides;
Figure 42 illustrates the Call Agent service unit and transmits the process of calling subscriber's call request according to the called user information that the registration service device provides;
Figure 43 illustrates the user and distributes the flow process of transmitting service function unit to transmitting the service unit request;
Figure 44 illustrates system terminal equipment obtains the service entrance of call service device by the configuration service device flow process;
Figure 45 illustrates the service entrance of the call proxy server broadcast ﹠ call agent service device in the network of affiliated NAT router control in the Call Agent service unit;
Figure 46 illustrates the service entrance of the call proxy server agency broadcast ﹠ call acting server in the network of affiliated NAT router control in the Call Agent service unit;
Figure 47 illustrates system terminal equipment obtains the call service device by the configuration service device service entrance;
Figure 48 illustrates the forwarding server service entrance that service unit is transmitted in broadcasting in the network of affiliated NAT router control of transmitting in the service unit;
Figure 49 illustrates the service entrance of forwarding server agency broadcasting forwarding server in the network of affiliated NAT router control of transmitting in the service unit;
Figure 50 is a NAT router connection matrix schematic diagram;
Figure 51 is the subscriber terminal equipment functional structure chart.
Embodiment
The present invention relates to one is the basic data communication system with user's registration information and log-on message.Provide user login method and based on the location of the system terminal equipment of user login information, the distribution method of forwarding server, the foundation of data transmission channel, and transfer of data on this basis.Below in conjunction with embodiment the present invention is done to describe further.
Embodiment
Be easy-to-read, at first provide description order present embodiment.
1. entire system introduction
2. the basic procedure of service request and message framework in the multi-layer NAT network
2.1 obtain the service entrance of service unit and the basic procedure of request service in the multi-layer NAT network
2.2 message framework
3. the construction method of each service unit in the communications network system
3.1 the construction method of configuration service device
3.2 the construction method of registration service device
3.3 the construction method of Call Agent service unit
3.4 transmit the construction method of service unit
3.5 registration service device using method
3.6 obtaining of the service entrance of Call Agent service unit and sign
3.7 transmit obtain (the service entrance kind of transmitting service) of service unit service entrance
4. system terminal device
Each ins and outs of present embodiment are described below.
1. entire system introduction
Unitary construction according to communications network system of the present invention is described with reference to the accompanying drawings.
Network address translation (Network Address Translation is called for short NAT) technology is a kind of technology of inner private network address being translated into the global network address.Use this technology can make a mechanism, appear on the Internet as IP (Internet Protocol) address with a public address.The NAT technology is divided into network address translation (nat), network address port translation (NAPT) two kinds.To use the equipment of NAT technology, NATP technology to be referred to as the NAT router among the present invention, or NAT device.
The NAT routing device has two sockets: the Intranet interface towards inner-mesh network, the outer net interface towards the outer net network.At present, generally bind with the publicly-owned address in the global network at NAT router outer net interface; And the Intranet interface is generally with the private network address binding of stipulating among the RFC1918.When the NAT router with the inner-mesh network packet when the outer net network sends, the NAT router is set up source address, source port and the destination address in the packet, the corresponding relation of target port, and preserve this mapping relations, simultaneously, after source address, source port are replaced with the network address on this NAT router and port in the packet, transmit this packet to outer net; When the NAT router with the outer net network data packets when inner-mesh network sends, the NAT router is sought corresponding record according to the source address in this packet, source port and destination address, target port in mapping relations, and, transmit this packet to Intranet then with destination address, target port in interior network of network address, the grouping of port replacement data in the record.
Facts have proved that NAT router outer net interface and Intranet interface can binding with any address.Therefore can use a plurality of NAT routers that global network and private network, private network and private network are linked together, constitute the multi-layer NAT network.As shown in Figure 4.
For larger private network, NAT router outer net interface can be bound with a plurality of network addresss.In network management, can a plurality of network addresss be mapped as a NAT device by the mode of enumerating the address or enumerating the network segment.Domestic consumer can pass through low side NAT router access network voluntarily, and this NAT router outer net interface is general binds with a network address.For convenience of description, in the description to the NAT router, only bind with a network address at a NAT router outer net interface, promptly shines upon with this NAT router with the network address at an outer net interface below.Development and Design personnel are not difficult to find, the method that describes below also is applicable to the NAT router of outer net interface with the binding of a plurality of network addresss.
Fig. 3 illustrates according to the embodiment of the invention Communications network system 10The figure of hardware construction.Its typical deployed network environment as shown in Figure 4.This Figure illustrates a kind of secondary NAT network configuration.This figure is the multi-level NAT network example of structure. Communications network system 10Can provide data communication for the user who is connected on global network or the private network.Especially exist The same root multi-layer NAT network environmentDown, Communication network system System 10Can avoid communication data between the user by the global network route, thus improve network application service quality, reduce pressure to global network.Its effect such as Fig. 5.
This Communications network system 10Application can support more user online; Make in the client/server mode server that can only be deployed in global network originally can extended deployment in private network; Node in P2P (peer-to-peer) pattern can be deployed in the multi-level NAT network.In fact, this communications network system 10 is optimized in solving multi-level NAT network in the warp of transfer of data road, provide a kind of novel route pattern:, developed a route framework that the cover network-oriented is used and network is served in conjunction with session-layer protocol can not carry out the NAT device of data route originally.This framework has proposed a kind of new method that problem is used up in the network address that solves.
As shown in Figure 3, Communications network system 10Comprise:
Configuration service device 2001, this device is used to Communications network system 10In other service unit registration service is provided, for Communications network system 10System terminal equipment, and various service units provide and search Communications network system 10In its service unit network address and port;
Registration service device 3001, this device to Configuration service device 2001Registration is used for storage and registers and log-on message with the user, for Communications network system 10In Call Agent service unit 4001, Transmit service unit 5001Provide the user to register and the log-on message inquiry service;
Call Agent service unit 4001,This device to Configuration service device 2001Registration is used for the call request that receiving system terminal equipment is initiated, and to system terminal transmission/forwarded call request;
Transmit service unit 5001,This device to Configuration service device 2001Registration, the main frame that is used to assist to wish mutual communication is set up the data passes path or carry out data forwarding between main frame.
Global network 3, this network can public use as the internet;
Private network 4, as various tissues, unit, family etc., use cannot disclose the network of the privately owned address establishment of route, and this network enters the Internet by NAT device;
Top service bus device 1, this device is used for the above-mentioned various service units of connected system, global network 3, NAT route device 1001; The service unit that connects with top service bus device 1 in the various service units uses the addressing of publicly-owned address, in other words Top service bus device 1Be Global network 3A part;
Service bus device 2,Above-mentioned various service units, private network 4 in this device connected system, NAT route device 1001; The service unit that connects with service bus device 2 in the various service units uses the privately owned address addressing of the private network that inserts, in other words Service bus device 2 isThe part of the private network that inserts has a service bus device 2 at least in the system.
System terminal equipment 6001,This device is used for the data communication of network application, the data path that communicates with one another between the service foundation that system terminal equipment provides by calling communication network system 10, affirmation system terminal. System terminal equipment can the running client system, also can operation service End system, or simultaneously running client system and service end system.
NAT router connection matrix 1001 shown in Figure 3Constitute by the NAT router, The NAT router connects square Battle array 1001Relation between interior NAT router by with NAT router connection matrix 1001Private network that connects and global network decision.Private network and global network with the concatenate rule of NAT router are: The NAT route Device connection matrix 1001 has an access at leastThe circuit 5 of global network; Each private network has an access at least NAT router connection matrix 1001Circuit 6; Each private network can not have, also can have many by NAT router connection matrix 1001Insert the circuit 7 of this private network.With three grades of NAT network configurations of being somebody's turn to do shown in a of Figure 51 is example, and the b of Figure 51 is depicted as a's NAT router connection matrix 1001Connection diagram.Comprising global network 3, private network 4; NAT router connection matrix 1001 insertsThe circuit 5 of global network, private network inserts NAT router connection matrix 1001Circuit 6; By The NAT router Connection matrix 1001Insert the circuit 7 of private network.
Communications network system 10The network that is used to communicate by letter can be wired, wireless network; Above-mentioned various device can be supported wired, wireless access, simultaneously various devices and constitute the functional unit of various devices can centralized as required or distributed realization.
Fig. 4 is that illustrating a kind of typically is the example of the network that passes through NAT device cascade formation of core with the global network.It is core that this figure describes with the global network, simultaneously the network that becomes by two NAT router level joint groups in all directions.In the network environment of such complexity, composition and occupation mode in order clearly to describe communications network system 10 now are defined as follows specific term.
The root NAT device: so-called root NAT device is meant the NAT device that bind with publicly-owned address at those outer net interfaces, and this NAT device directly is connected with global network, or is root NAT router.
The network address of the network address of NAT device for binding on the outer net interface of this NAT device, or be NAT router address, this address can be publicly-owned address, also can be privately owned address.
The network range of NAT device control: opened by the first NAT device Intranet interface, the network that connects along this interface extends, end to second NAT outer net interface, between network, do not have another NAT device between above-mentioned two NAT device.This network is called for short the network of NAT control, or the network of NAT router control.First NAT device is the control NAT device of this network, and second NAT device is the access NAT device of this network, or inserts the NAT router.The network of a NAT device control can have a plurality of access NAT routers.Root NAT router is the access NAT router of global network.
Direct upper layer network: if the outer net interface of NAT device A is directly continuous with the network of NAT device B control, the network of NAT device B control is the direct upper layer network of the network of NAT device A control; Global network is the direct upper layer network of the network of root NAT device control.
Direct lower floor network: if the outer net interface of NAT device A is directly continuous with the network of NAT device B control, the network of NAT device A control is the direct lower floor network of the network of NAT device B control; The network of root NAT device control is the direct lower floor network of global network.
Upper layer network: play the network and the global network of each NAT device control that global network ends from the direct upper layer network of the network of current NAT device control, be the upper layer network of the network of current NAT device control.
Lower floor's network:, be lower floor's network of the network of current NAT device control from the network of each NAT device control of the direct lower floor network of the network of current NAT device control; The network of each NAT device control is lower floor's network of global network.
The undernet of NAT device: all need could arrive the network of global network by this NAT device, be the undernet of this NAT device, for example, network and its direct lower floor network of NAT device control all are the undernets of this NAT device, be called for short NAT network afterwards, or after the NAT.The NAT path: under the multi-layer NAT environment, host A number through NAT device in the reachable path of B is the length in this NAT path.
The shortest NAT path: under the multi-layer NAT environment, host A in all NAT paths of B, a shortest NAT path that is called A to B of NAT path minimum, the NAT number of process be the shortest NAT path.
The level number of the network of NAT control: be used to show the distance of the network of this NAT control to global network.The global network level number is 0, the level number of the network of other NAT control for this network to global network the shortest NAT path of process, abbreviation NAT level number; The little explanation of NAT level number is near from global network, and the big explanation of NAT level number is far away from global network; Empty level number is used for the initialization of system to the NAT level number, does not represent the distance of global network.
The switching network address: when the host B of the host A in the network that NAT device Intranet interface connects in the network that NAT device outer net interface connects sent packet, NAT device changed the source network address in this packet IP header into this NAT device outer net interface network address.Source network address is called the switching network address of A to B in the network header in the packet that we finally receive host B.
Service unit: provide the mainframe cluster of certain service to be called service unit jointly; This mainframe cluster can be by a main frame, or multiple host is formed.
NAT under the service unit: the control NAT device of server network of living in.
Service entrance: the network address and the port numbers that refer to provide in the service unit service.The service entrance of forwarding server is divided into the index service inlet and work service enters the mouth two kinds.The index service inlet is used to receive various request messages; The work service inlet is used to transmit service unit assistance system terminal equipment and sets up data transfer path or Data transmission; The service entrance refers to the index service inlet if no special instructions.
The root service unit: be arranged in the server of Internet global network, the main frame in this service unit is bound with publicly-owned address; Or claim top service unit.
Father's service unit: the service unit of direct upper layer network that is arranged in the network of current NAT control is father's service unit of the network service unit of current NAT control.
The sub-services unit: the service unit of direct lower floor network that is arranged in the network of current NAT control is the sub-services unit of the network service unit of current NAT control
Ancestors' service unit: the ancestors' service unit that for the service unit in the upper layer network of the network of current NAT device control is the service unit in the network of current NAT device control.
Service unit agency: a kind of special service unit.Be mainly used in the coverage of the service unit that expansion acted on behalf of or be used for providing unified service entrance to system terminal equipment.As required, service unit agency can with the network or the global network that are deployed in same NAT device control by the succedaneum, also can be deployed in by in the direct lower floor network of the network of NAT device control under the succedaneum.Service unit the agency can broadcast by succedaneum's service entrance, or transmit message the requestor of service unit with between by agent service device.
User side agency: run in the system terminal equipment, be responsible for information interaction with respective service devices such as registration in the communications network system 10, Call Agent, forwardings.
Every kind of service unit in the communications network system 10 is made up of a plurality of service units of basic function that provide.The service unit that is deployed in the global network is top service unit; The service unit that is deployed in the private network is the basic service unit.Each service unit both can have been concentrated and run on the same main frame, and also can distribute operates on the multiple host.The main frame of operation service unit or mainframe cluster are the example of service unit, and this main frame or mainframe cluster provide respective service to communications network system 10.
Figure 6 shows that the functional structure of the composition and the configuration service unit 2801 of configuration service device 2001.Configuration service device 2001 is made up of top configuration service unit 2011 and a plurality of basic configuration service unit 2021 shown in Fig. 6 a.Top configuration service unit 2011 is connected with global network 3 by top service bus device 1; Basic configuration service unit 2021 is connected with private network 4 by service bus device 2.Configuration service unit 2801 is the basic function structure of top configuration service unit 2011 and basic configuration service unit 2021.Shown in Fig. 6 b configuration service single 2801 by: configuration service logic control element 2100, basic configuration information record sheet 2101, hierarchical information 2102, target configuration server record 2103, sub-configuration server record sheet 2104, registration service record sheet 2105, Call Agent service log table 2106, transmit service log table 2107, formed by functional modules such as proxy information storage list 2108, message buffering district 2109, communication units 2110.
Configuration service logic control element 2100 is used to control the execution of this configuration service unit; Basic configuration information record sheet 2101 is used for record: this unit marks, this unit networks address, this unit serve port, COS; Hierarchical information record 2102 is used to write down hierarchical information; Target configuration server record 2103 is used to write down the service entrance of ancestors' configuration server; Sub-configuration server record sheet 2104 is used to write down the service entrance, sign of sub-configuration service unit and the network address and the port of corresponding NAT router; Registration service record sheet 2105 is used to write down the service entrance, sign of registration service unit and the network address and the port of corresponding NAT router; Call Agent service log table 2106 is used for the service entrance, sign of metered call agency service unit and the network address and the port of corresponding NAT router; Transmit the network address and port that service log table 2107 is used to write down the NAT router of service entrance, sign and the correspondence of transmitting service unit; The service entrance, proxy policies (service unit type under the service entrance, whether broadcast, whether be responsible for to transmit data etc.) that are used to write down the service unit of being acted on behalf of by proxy information storage list 2108 to this service entrance; Message buffering district 2109 is used for temporary transient information of preserving the packet that receives; Communication unit 2110 connects, is responsible for messaging with top service bus device or service bus device.
Figure 7 shows that the functional structure of the composition and the registration service unit 3801 of registration service device 3001.Registration service device 3001 is made up of top registration service unit 3011 and a plurality of basic registration services unit 3021 shown in Fig. 7 a.Top registration service unit 3011 is connected with global network 3 by top service bus device 1; Registration service unit 3021 is connected with private network 4 by service bus device 2.Registration service unit 3801 is the basic function structure of top registration service unit 3011 and basic registration service unit 3021.Shown in Fig. 7 b basic registration service unit 3801 by: functional modules such as registration service logic control element 3100, basic configuration information record sheet 3101, target registered server record 3102, target configuration server record 3103, sub-registration service record sheet 3104, user profile record sheet 3105, message buffering district 3107, communication unit 3106 are formed.
Registration service logic control element 3100 is used to control the execution of this registration service unit; Basic configuration information record sheet 3101 is used for minute book unit marks, this unit networks address, this unit serve port, COS; Target registered server record 3102 is used to write down the service entrance of ancestors' registrar; Target configuration server record 3103 is used for the service entrance of recording configuration service unit; Sub-registration service record sheet 3104 is used to write down the service entrance, sign of registration service unit and the network address of corresponding NAT router is used for recording user information with port, user profile record sheet 3105: user ID, point of user login, system terminal device access point, relative login position, mapping address and port etc.; Point of user login: when the user was arranged in the network of global network or NAT device control, the point of user login of user in this network was the network address and the port of the system terminal equipment of user's use; When the user is arranged in the network of NAT device control, the point of user login of user in the upper layer network of the network of this NAT device control be for the service unit of the network that inserts the control of global network or NAT device is used to receive the network address and the port that the user registers login request message, maybe can be converted into to receive the sign that the user registers the service unit of the network address of login request message and port.System terminal device access point: this accessing points is positioned on the NAT device, produces when log messages is passed NAT device when the user registers.This accessing points has two kinds of expression modes: 1) network address of NAT device and port; 2) can calculate or be converted into the network address of NAT device and the sign of port.The login position represents whether the network address of point of user login and registration service unit belongs to the network or the global network of same NAT device control, and relative login position is relatively: stride layer registration, register with layer.Striding layer registration can represent, register and can represent that default value is 0 with 0 with layer with 1; Mapping address: be " Call Agent user log messages " when passing NAT device the network address of NAT device and port.Mapping address is empty when with layer registration.System terminal device access point also can be sky.Message buffering district 3107 is used for temporary transient information of preserving the packet information that receives; Communication unit 3106 connects, is responsible for messaging with top service bus device or service bus device.User ID, point of user login also can be served application identities for network, the login point is used in the network service.
Figure 8 shows that the functional structure of the composition and the Call Agent service unit 4801 of Call Agent service unit 4001.Call Agent service unit 4001 is made up of top Call Agent service unit 4011 and a plurality of basic call agency services unit 4021 shown in Fig. 8 a.Top Call Agent service unit 4011 is connected with global network 3 by top service bus device 1; Call Agent service unit 4021 is connected with private network 4 by service bus device 2.Call Agent service unit 4801 is the basic function structure of top Call Agent service unit 4011 and basic call agency service unit 4021.Call Agent service unit 4801 is transmitted functional modules such as correspondence table 4108, message buffering district 4107, communication unit 4106 and is formed by: Call Agent service logic control unit 4100, basic configuration information record sheet 4101, target configuration server record 4102, target call acting server record 4103, target registered server record 4104, sub-Call Agent service log table 4105, user's Login Register information shown in Fig. 8 b.
Call Agent service logic control unit 4100 is used to control the execution of this Call Agent service unit; Basic configuration information record sheet 4101 minute book unit marks, this unit networks address, this unit serve port, COS; Target configuration server record 4102 is used for the service entrance of recording configuration service unit; Target call acting server 4103 is used to write down the service entrance of ancestors' call proxy server; Target registered server 4104 is used to write down the service entrance of registration service device; Sub-Call Agent service log table 4105 is used for the service entrance, sign of metered call agency service unit and the network address, the network port of corresponding NAT router.User's Login Register information is transmitted correspondence table 4108 and is used to write down user's log messages of forwarding and this sender of the message's corresponding relation, and this table comprises sequence number, the network address, port, login state response status position at random.Sequence number is used to distinguish REGISTER message at random.The answer that login state response status position is used to represent to receive the registration service device; State is: receive a reply, confiscate answer.When being 0, this position represents to receive no reply; Represent to receive a reply 0 the time when this is non-, for example be made as 1.Login state response status position defaults to 0.The network address, port are sender of the message's the network address and port.Message buffering district 4107 is used for temporary transient information of preserving the packet information that receives; Communication unit 4106 connects, is responsible for messaging with top service bus device or service bus device.
Figure 9 shows that the composition of transmitting service unit 5001 and the functional structure of transmitting service unit 5801.Transmitting service unit 5001 shown in Fig. 8 a is made up of top forwarding service unit 5011 and a plurality of basic forwarding service unit 5021.Top forwarding service unit 5011 is connected with global network 3 by top service bus device 1; Transmitting service unit 5021 is connected with private network 4 by service bus device 2.Transmitting service unit 5801 is top forwarding service unit 5011 and the basic basic function structure of transmitting service unit 5021.Shown in Fig. 9 b basic transmit service unit 5801 by: transmit service logic control unit 5100, basic configuration information record sheet 5101, target configuration server record 5102, target forwarding server record 5103, target registered server record 5104, son and transmit functional modules such as service log table 5105, message buffering district 5107, communication unit 5106 and forms, service point writes down 5108.
Transmit service logic control unit 5100 and be used to control the execution that forwarding is served; Basic configuration information record sheet 5101 minute book unit marks, this unit networks address, this unit serve port, COS; Target configuration server record 5102 is used for the service entrance of recording configuration service unit; Target forwarding server record 5103 service entrances that are used to write down ancestors' forwarding server; Target registered server record 5104 is used to write down the service entrance of registration service device; Son is transmitted the network address and the port that service log table 5105 is used to write down the NAT router of service entrance, sign and the correspondence of transmitting service unit; Data Receiving test point on the service point record 5108 record forwarding service nodes and the Data Receiving test point on the corresponding N AT equipment.Message buffering district 5107 is used for temporary transient information of preserving the packet that receives; Communication unit 5106 connects, is responsible for messaging with top service bus device or service bus device.
The part that the reflection COS can be arranged in the above-mentioned sign.Clear in order to describe, will identify below with COS and separate.The method of following separate processes is equally applicable to have in the above-mentioned sign situation of reflection COS.
Comprise system terminal logic control element 6100, basic configuration information record sheet 6101, user side configuration service agent unit 6102, user side Call Agent service agent unit 6103, user side shown in Figure 52 in the system terminal equipment are transmitted service agent unit 6104, message buffering district 6106 communication units 6105.
System terminal logic control element 6100 is used for the execution of control system terminal equipment; The sign of basic configuration information record sheet 6101 minute book unit active users or application program; User side configuration service agent unit 6102 is used for the service entrance of recording configuration service unit and control with the information exchange of configuration service device; The service entrance of user side Call Agent service agent unit 6103 metered call agent service devices and control are with the information exchange of Call Agent service unit; User side is transmitted service agent unit 6104 records and is transmitted the service entrance of service unit and the information exchange that service unit is transmitted in control together; Message buffering district 6106 temporary transient information of preserving in the packet that receives; Communication unit 6105 connects, is responsible for messaging with top service bus device or service bus device.
Communications network system 10 provides service by the service and the system terminal device of service other service unit operations in system of each service unit operation in the system.Figure 10 shows that the basic use relation between the service that each service unit moves in the communications network system 10.Configuration service device 2001 provides configuration service 2901 to system; Registration service device 3001 provides registration service 3901 to system; Call Agent service unit 4001 provides Call Agent service 4901 to system; Transmit service unit 5001 and provide the service of forwarding 5901 to system.
Configuration service device 2001 starts the initialization of finishing the configuration service device by top configuration service unit 2011, and the initialization of network communicating system 10 is also finished in the startup of top dispensing unit 2011 simultaneously, provides configuration service to network communicating system 10.。Basic configuration service unit 2021 adds configuration service device 2001 by registration 50, participates in the configuration service of network communicating system 10.
Registration service device 3001 starts by top registration service unit 3011, and finishes the initialization of registration service device by registering 52 to 2011 registrations of top configuration service unit, provides registration service to network communicating system 10.Basic registration service unit 3021 to 2001 registrations of configuration service device, adds registration service device 3001 by registering 51 by registration 52, participates in the registration service of network communicating system 10.
Call Agent service unit 4001 starts by top Call Agent service unit 4011, and finish the initialization of Call Agent service unit to top configuration service unit 2011 registration by registering 56, obtain the service entrance of registration service device 3001 simultaneously, provide the Call Agent service to network communicating system 10.Register to configuration service device 2001 by registration 56 basic call agency service unit 4021, and the service entrance that obtains registration service device 3001; Add Call Agent service unit 4001 by registering 55, participate in the Call Agent service of network communicating system 10.Call Agent service unit 4001 is by the login and the log-on message of service entrance storage or the inquiring user or the application of registration service device 3001.
Transmitting service unit 5001 starts by top forwarding service unit 5011, and by register 54 to top configuration service unit 2011 registration finish the initialization of transmitting service unit, obtain the service entrance of registration service device 3001 simultaneously, provide the service of forwarding to network communicating system 10.The basic service unit 5021 of transmitting is registered to configuration service device 2001 by registration 54, and the service entrance that obtains registration service device 3001; Add forwarding service unit 5001 by registering 53, participate in the forwarding service of network communicating system 10.Transmit service unit 5001 by the service entrance inquiring user of registration service device 3001 or login, the log-on message of application.
Configuration service device 2001, registration service device 3001, Call Agent service unit 4001, forwarding service unit 5001 form the service end of communications network systems 10.System terminal equipment is set up data path by the various services in the calling communication network system 10, finishes data communication to each other.
Figure 11 shows that Call Agent service unit 4001 in the system terminal equipment calls communications network system 10 finishes the flow chart to communications network system 10 logins.
[1] system terminal equipment 6001 obtains the service entrance point of Call Agent service unit 4001;
[2] system terminal equipment 6001 sends user's log messages to Call Agent service unit 4001, comprises terminal class message identifier, type of message, user or application identities, login point, sequence number at random in the message; The login point is the network address, port, maybe can be converted into the sign of the network address, port; Type of message is login; The logging status of native system terminal equipment is made as not login.System terminal equipment is regularly sent out log messages
[3] receive the Call Agent service unit of user's registration message, whether what judge log messages is that service unit in the sub-Call Agent service log table of this unit sends, if the not sub-call service of this message unit sends, generate " Call Agent user log messages " according to log messages, comprise in the message: sign, point of user login, system terminal device access point, information such as sequence number at random; If log messages is transmitted by NAT device, the network ground of the NAT device that the sign that the network address and the port of this service unit maybe can be converted into the network address and port is made as point of user login, will pass through and port are made as sign in system terminal device access point, the former message, sequence number is constant at random; If log messages is not transmitted by NAT device, the sign in the former message, login point, constant, the system terminal device access point of sequence number is sky at random; The unit sends if this log messages is sub-call service, generate " Call Agent user log messages " according to log messages, comprise in the message: sign, point of user login, system terminal device access point, information such as sequence number at random, the sign that the network address and the port of this service unit maybe can be converted into the network address and port is made as point of user login, will carry the source address of packet of this message and source port as system terminal device access point, and the sign in the former message, sequence number is constant at random; According to the target registered server record of this locality storage to 3001 in registration service device " Call Agent user log messages "; According to the sequence number at random in the log messages with carry source address and the sender that source port is set up message and the corresponding relation of message of the packet of this message, registration service device response status is made as dont answer, is used for the login response message that the forwarded call agency replys; If this service unit is not top server, make up a new log messages based on the log messages that receives, the sign that new login message maybe can be converted into the network address and port with the service entrance of this unit is replaced the login point in the former log messages, and other guide is constant in its former message; Target call acting server record according to this locality storage is transmitted the new user's registration message that makes up to Call Agent service unit 4001; Each call proxy server of receiving user's registration information finally makes user's registration information pass to top registrar by top Call Agent service unit 4011 by above-mentioned flow process processing messages step by step.
[4] after " the Call Agent user log messages " that the Call Agent service unit sends out received in the registration service unit, record identification, login point, system terminal device access point, and send the Call Agent service unit of this message with the relative position of this registration service unit, and relevant network address and port; And return success response message to the Call Agent service unit that sends this message, comprise the sequence number at random of " Call Agent user log messages " in the message.
[5] the Call Agent clothes put 4001 receive the successful respond message of registration service device after, if receiving the service unit of response message is top Call Agent service unit, find the log messages of record and sender of the message's relation to return success the login response message according to random number to the log messages sender, comprise former random number in the message, and the deletion relative recording;
If receiving the service unit of response message is not top Call Agent service unit, find the log messages of record and sender of the message's relation according to random number, the response status in this relation is made as the successful respond condition of information of receiving the registration service device;
If this Call Agent service unit is received the Call Agent clothes and is put 4001 successful login response message, if the response status in the log messages of random number correspondence and sender of the message's the relation is for receiving the state of the response message of registration service device, transmit this successful respond message according to this relation to the sender of the message, if the response status in the log messages of random number correspondence and sender of the message's the relation is not for receiving the successful respond condition of information of registration service device, send out failure login response message according to this relation to the sender of the message, comprise former random number in the message;
If this Call Agent service unit is received the Call Agent clothes and puts 4001 failure login response message that find the log messages of record and sender of the message's relation according to random number, the log messages of should failing is transmitted to corresponding sender of the message.
[6] after system terminal equipment is received the response message of Call Agent service unit, if be successful log messages, then the native system terminal equipment is made as oneself login, if be the failure log messages, system terminal equipment is made as current logging status and is made as not login.
System terminal equipment is regularly sent out log messages to the Call Agent service unit.If system terminal equipment moves, system terminal equipment is sent out log messages to the Call Agent service unit.
Figure 12 shows that the Call Agent service unit 4001 in the system terminal equipment calls communications network system 10 and transmit service unit 5001 and finish the system terminal equipment room and set up data path, finish data communication to each other.The service entrance that caller system terminal equipment and callee's system terminal equipment have obtained the Call Agent service unit and transmitted service unit.
[1] caller system terminal equipment 6010 is by transmitting the work service inlet that service unit 4001 obtains the forwarding service unit that the data forwarding service can be provided, obtain the network address and port on the access NAT router of the network of NAT router control under this forwarding service unit simultaneously, this inserts the NAT router, and this is transmitted on the shortest NAT path of service unit to operation at the caller system terminal equipment.
[2] caller system terminal equipment 6010 passes through Call Agent service unit 4001 to 6020 call request messages of callee's system terminal equipment, at least comprise in the message that caller-marking, called party identification, calling party can be used to receive the network address and the port of data, comprising the network address and the port of transmitting the network address on the network address on the service unit and port, the NAT router and port, caller system terminal equipment 6010;
The Call Agent service unit of receipt of call request message, inquire about callee's log-on message according to local target registered server record to the registration service device, if it is by the non-existent continuation query messages of call targets user ID that this Call Agent service unit is received the response message of registration service device, this Call Agent service unit makes up a new call request message based on the caller calls request message that receives, in the new call request message except that the content that comprises the call request message of receiving, carry the source address and the source port of the packet of this message when also comprising the receipt of call request message, and sign or the network address and the port of this Call Agent service unit, transmit new call request message according to local target call acting server record to the Call Agent service unit; If receiving in the response message of registration service device, this Call Agent service unit comprises the network address and port, maybe can be converted into the sign of the network address and port, this Call Agent service unit is according to the content of this response message, obtain corresponding network address and port, make up a new call request message based on the caller calls request message that receives simultaneously, in the new call request message except that the content that comprises the call request message of receiving, carry the source address and the source port of the packet of this message when also comprising the receipt of call request message, and sign or the network address and the port of this Call Agent service unit, send out the caller calls request message to obtaining the network address and port then;
If this Call Agent service unit is received the response message of registration service device and is failure, this Call Agent service unit makes up the response message of a call failure based on the user's registration message that receives, at least comprise caller-marking in the message, arrange to transmit the network address of this call request message and the sign that port maybe can convert the network address and port in order, and carry the network address and the port of the packet of this message during according to the receipt of call request message, return the response message of call failure to this network address and port;
Receive the Call Agent service unit of the response message of the call failure that the Call Agent service unit is transmitted, correlated identities and the network address and the port of this Call Agent of deletion service unit from the response message of this call failure, make up the response message of new call failure, response message by the backward forwarded call of forwarded call request message is failed makes the response message of call failure be delivered to the caller system terminal equipment;
[3] after callee's system terminal equipment 6020 is received calling party's call request message, by transmitting the work service inlet that service unit 4001 obtains the forwarding service unit that the data forwarding service can be provided, obtain the network address and port on the access NAT router of the network of NAT router control under this forwarding service unit simultaneously, this inserts the NAT router and transmits on the shortest NAT path of service unit to this at callee's system terminal equipment;
[4] caller system terminal equipment 6010 and callee's system terminal equipment 6020 consults to carry out the network address and the port of data interchange, and confirms the network address and the port that can carry out data communication.
[5] caller system terminal equipment 6010 and callee's system terminal equipment 6020 carry out data communication, transmit data such as literal, image, audio frequency, video
2. the basic procedure of service request and message framework in the multi-layer NAT network
2.1 obtain the service entrance of service unit and the basic procedure of request service in the multi-layer NAT network
In the multi-layer NAT network, be deployed in the main frame in the network of NAT device control, except the address of knowing local privately owned address and global network, do not know whether the network of being disposed has direct upper layer network or direct lower floor network, do not know that simultaneously current network need handle the network what NAT control to global network yet, promptly arrive the shortest NAT distance of global network.Four kinds of basic query patterns are arranged:, see Figure 13 based on the inquiry mode of the known service entrance in the global network under the multi-layer NAT network; Based on the inquiry mode of the service entrance of this locality storage, see Figure 14; Figure 15 is seen in broadcasting; Act on behalf of broadcast mode, see Figure 16.
Figure 13 shows that the flow process of service client based on the inquiry mode of the known service entrance in the global network.This flow chart is the example that service client obtains the service entrance.Workflow for convenience of explanation now replaces service function unit in the concrete service unit with service function entity; Now with service function unit or system terminal equipment 6001 in other service unit of this service entrance of service client replacement request.First service function entity 9001 is deployed in global network, and a NAT router one 010 links to each other with global network, second NAT router one 020Insert first NAT router one 010In the network of control.Second Service function entity 9002Be deployed in the network of NAT control 1010.The 3rd Service function entity 9003With Service client 9004Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.
Service client 9004First service function entity 9001 in being deployed in global network Send outService entrance request or service request information;
● first service function entity 9001 ReceiveAfter service entrance request or the service request information, return the response message of the service entrance that comprises certain service unit, or service or failed message are provided according to service logic; (return the response message of the service entrance that comprises second service function entity 9002 in the direct lower floor in this example.)
Service client 9004According to the service function entity service entrance that comprises in the response message, send out service entrance request or service request information to new service function entity (second service function entity 9002);
Second service function entity 9002After receiving service entrance request or service request information, return the response message of the service entrance that comprises certain service unit, or service or failed message are provided according to service logic; (return the response message of the service entrance that comprises the 3rd service function entity 9003 in the direct lower floor in this example; )
Service client 9004Be equipped with the functional entity service entrance according to the clothes that comprise in the response message, send out service entrance request or service request information to new service function entity (the 3rd service function entity 9003);
The 3rd service function entity 9003After receiving service entrance request or service request information, return the response message of the service entrance that comprises certain service unit, or service or failed message are provided according to service logic;
Each service function entity can belong to a kind of service unit among Figure 13, also can belong to different service units.Request message among Figure 13 can be by wired or/and wireless receiving and dispatching
Figure 14 shows that the flow process of service client based on the inquiry mode of the service entrance of this locality storage.This flow chart is the example that service client obtains the service entrance.Workflow for convenience of explanation now replaces service function unit in the concrete service unit with service function entity; Now with service function unit or system terminal equipment 6001 in other service unit of this service entrance of service client replacement request.First service function entity 9001 is deployed in global network, and a NAT router one 010 links to each other with global network, second NAT router one 020Insert first NAT router one 010In the network of control.Second Clothes Affair functional entity 9002Be deployed in the network of NAT control 1010.The 3rd Service function entity 9003With Service client 9004Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
Service client 9004In the network of affiliated NAT control the 3rd 9003 of service function entitiesService entrance request or service request information;
● the 3rd Service function entity 9003 is receivedAfter service entrance request or the service request information, return the message that comprises service entrance point, or service is provided, or transmit this message to other functional entity according to service logic; (in this example in direct upper layer network second Service function entity 9002Transmitting should Clothes Affair client 9004Submit service entrance request or service request information to).
● second Service function entity 9002 is receivedAfter service entrance request or the service request information, return the message that comprises service entrance point, or service is provided, or transmit this message to other functional entity according to service logic; (in this example in direct upper layer network first Service function entity 9001Transmitting should Clothes Affair client 9004Submit service entrance request or service request information to).
● first Service function entity 9001 is receivedAfter service entrance request or the service request information, return the message that comprises service entrance point, or service is provided, or return failure and reply, or transmit this message to other functional entity according to service logic; (in this example to second Service function entity 9002 returns and comprisesThe message of service entrance point, or service is provided, or return failure and reply).
● second Service function entity 9002 is receivedFirst Service function entity 9001After the response message to the 3rd Service function entity 9003Transmit this response message
● the 3rd Service function entity 9003 is receivedSecond Service function entity 9002After the response message to Service Client 9004Transmit this response message
Figure 15 shows that service client comprises the flow process of the broadcast acquisition service entrance of service entrance by monitoring.This flow chart is the example that service client obtains the service entrance.Workflow for convenience of explanation now replaces service function unit in the concrete service unit with service function entity; Now with service function unit or system terminal equipment 6001 in other service unit of this service entrance of service client replacement request.First service function entity 9001 is deployed in global network, and a NAT router one 010 links to each other with global network, second NAT router one 020Insert first NAT router one 010In the network of control.Second Service function entity 9002Be deployed in the network of NAT control 1010.The 3rd The service merit Can entity 9003With Service client 9004Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
● the 3rd Service function entity 9003Broadcasting comprises the message of service entrance in the network of affiliated NAT control;
Service client 9004In the network of affiliated NAT control, monitor the broadcast that comprises the service entrance;
Service client 9004After receiving the message that comprises the service entrance, to the 3rd Service function entity 9003 initiateService entrance request or service request information.
● the 3rd Service function entity 9003 is received above-mentionedAfter service entrance request or the service request information, according to the service logic echo reply.
In addition, can use publicity, inform that mode such as user replaces, and also can be configured service client 9004 by artificial mode in advance by the mode of forms of broadcasting issuing service inlet described in Figure 15.
Figure 16 shows that another kind of service client comprises the flow process of the broadcast acquisition service entrance of service entrance by monitoring.This flow chart is the example that service client obtains the service entrance.Workflow for convenience of explanation now replaces service function unit in the concrete service unit with service function entity; Now with service function unit or system terminal equipment 6001 in other service unit of this service entrance of service client replacement request.First service function entity 9001 is deployed in global network, and a NAT router one 010 links to each other with global network, second NAT router one 020Insert first NAT router one 010In the network of control.Second Service function entity 9002Be deployed in the network of NAT control 1010.Second Service Functional entity agency 9005With Service client 9004Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.
Figure A20081011578200401
Figure A20081011578200402
Figure A20081011578200403
● second Service function entity agency 9005Broadcasting comprises the message of service entrance in the network of affiliated NAT control;
Service client 9004In the network of affiliated NAT control, monitor the broadcast that comprises the service entrance.
Service client 9004Receive second Service function entity agency 9005After the message of in the network of affiliated NAT control, broadcasting that comprises the service entrance, to second Service function entity agency 9005 InitiateService entrance request or service request.
● second Service function entity agency 9005After receiving request of above-mentioned service entrance or service request, with this service request or service-seeking to second Service function entity 9002 is transmitted
● second Service function entity 9002After receiving request of above-mentioned service entrance or service request, according to service logic to second Service function entity agency 9005Echo reply message.
● second Service function entity agency 9005Receive second Service function entity 9002Behind the echo reply, service client 9004 echo replies
In addition, the service function entity agency can provide this entity to act on behalf of the service entrance of the various service function entities in the belonging network (network of global network, NAT control).The implementation of flow process can be wired or/and wireless.
In addition, can use publicity, inform that mode such as user replaces in advance by the mode of forms of broadcasting issuing service inlet described in Figure 16.Also can service client be configured by artificial mode.
In addition, can carry out abbreviation to the function that the service function entity of describing among Figure 16 is acted on behalf of, promptly the service function entity agency only broadcasts the service entrance of the service function entity of being acted on behalf of in the network of affiliated NAT control, as second Service function entity agency 9005In the network of affiliated NAT control, broadcast second Service function entity 9002Service entrance, and the forwarding capability that request is not provided and replys.System terminal can be to service function entity, as second Service function entity 9002,Directly initiate service request.In fact abbreviation to service function entity provides a kind of services client end span layer to initiate the pattern of service request.
Each service function entity can belong to a kind of service among Figure 13-Figure 16, also can belong to different services.Request message among Figure 13-Figure 16 can be by wired or/and wireless receiving and dispatching.
Figure 13-Figure 16 has described the basic procedure of service client discovery service entrance, use service under the multi-level NAT network environment.The developer is not difficult to propose related procedure according to these these flow processs in conjunction with practical application, but does not violate the spirit of basic procedure flow process.Below by right Communication network system 10 In variousCalling mutually between the structure of service unit, various service unit, and system terminal uses the description of various service units is described further the application mode of above-mentioned four kinds of flow processs.
2.2 message framework
Communications network system 10 comprisesMultiple service unit, multiple service unit and numerous system terminal equipment.System with message is that the basis is carried out between service unit and service unit, between service unit and service unit, various service unit communicates by letter with the system terminal equipment room.
This Communications network system 10Message be classified as follows:
System class message: be mainly used between service unit and service unit, communicating by letter between service function unit and service function unit.Message comprises following substance at least: the message kind, as: registration, inquiry, request; Message initiator role is as configuration, registration, Call Agent, forwarding; The sign of the message initiator network address, message initiator;
Terminal class message: be mainly used in the message that system terminal equipment is initiated, message is transmitted in service unit, also can revise by serviced device, but does not change the character of message.Message comprises following substance at least: the message kind; Sequence number at random; The sign of message initiator.
Response message: be mainly used in the feedback execution result, message comprises following content at least: type of message (success, failure, redirected, continuation); The particular content of response message is according to the difference of response object and difference is further explained in concrete scene.
At concrete application demand, the developer can further expand on the content of above-mentioned message.
3. the construction method of each service unit in the communications network system
3.1 the construction method of configuration service device
In the multi-level NAT network environment, the configuration service device for various service units in the system provide registration service, simultaneously for system terminal and in each service unit the service of various service units service entrance inquiry is provided. Registration service device 3001, Call Agent service unit 4001, Transmit service unit 5001Deng the service function unit of device with the configuration service device be basic organization together.Constituting of configuration service device: carry out the initial configuration service by top configuration service unit; Secondly, the configuration service unit in the network of root NAT control adds system to the configuration service device registration; Once more, the configuration service unit in the network of second layer NAT control adds system to the configuration service device registration, once more, the configuration service unit in the network of the 3rd layer of NAT control adds system to the configuration service device registration.In a manner described, the basic configuration service unit adds the configuration service device in proper order, for communications network system 10 provides configuration service.Has only a top configuration service unit in the global network; Has only a basic configuration service unit in each private network.The configuration service unit can be made of multiple host.Figure 17-Figure 19 is the example of assembled configuration service unit.Configuration server is the example of basic configuration service unit among the figure; Top configuration server is the example of top configuration service unit 2011; The configuration server agency is the example of configuration service unit.
Figure 17 illustrates configuration server in the network of according to the present invention root NAT control adds PROCESS OVERVIEW from system to the configuration service device registration.This process is the example that the configuration service unit adds the configuration service device.Configuration service device 2001 carries out initialization by the top configuration server 2011 that is erected in the global network.This top configuration server 2011 is furnished with the global network network address, and this address and the port that service is provided are known service entrance in system, maybe can obtain by the method for system definition.NAT router one 010 directly inserts global network, is root NAT router.Configuration server 2021 is deployed in the network of root NAT control.Ignore the conversion of 010 pair of data grouping of NAT router one among this figure.
● the configuration server 2021 in the network of root NAT router control is initiated application for registration message to top configuration server 2011; Comprise in this message: message kind, message initiator role, service entrance, sign, NAT layer level number show that promptly the equipment that sends this request is first order configuration server; The message kind is registration; Message initiator role is a configuration service.
● after top configuration server 2011 is received application for registration message, if message initiator role is a configuration service, judge that according to the configuration server network address of carrying in the source address of the packet of carrying this application for registration and this application for registration message this configuration server is whether after NAT; If after NAT, extract the layer level number in this register requirement, if be the first order, then the mapping relations of this configuration server 2021 of record and NAT router one 010 in sub-configuration server record sheet are returned the message that succeeds in registration to configuration server 2021.If be not the first order, simultaneously the configuration server of this NAT router one 010 correspondence not in the sub-configuration server record sheet returns registration failure message; If not after NAT, return registration failure message.
Figure 18 is that the configuration server that illustrates in the network that NAT router in the second level is controlled according to the present invention obtains configuration service device service entrance and registers the PROCESS OVERVIEW that adds the configuration service device by inquiring about to top configuration server.This process is the example that the configuration service unit adds the configuration service device.Top configuration server 2011 is furnished with the global network network address, and this address and the port that service is provided are known service entrance in system, maybe can obtain by the method for system definition.The one NAT router one 010 directly inserts global network, is root NAT router.First configuration server 2021 is deployed in the network of root NAT router one 010 control.The 2nd NAT router one 020 directly inserts the network of root NAT router one 010 control, and second configuration server 2031 is deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
● the configuration server 2031 in the network of the 2nd NAT router one 020 control is initiated application for registration message to top configuration server 2011; Comprise in this message: message kind, message initiator role, service entrance, sign, NAT layer level number show that promptly the equipment that sends this request is second level configuration server; The message kind is registration; Message initiator role is a configuration service.
● after top configuration server 2011 is received application for registration message, if message initiator role is a configuration service, judge that according to the configuration server network address of carrying in the source address of the packet of carrying this application for registration and this application for registration message this configuration server is whether after NAT; If after NAT, extract the layer level number in this register requirement, if be not the first order, then search this NAT router at sub-configuration server record sheet according to the source address of packet, and the configuration server of this NAT router correspondence, if this configuration server exists, return the redirected response message of the service entrance of the configuration server that comprises NAT router correspondence to second configuration server 2031; If this configuration server does not exist, return registration failure message; If not after NAT, return registration failure message.
● after second configuration server 2031 is received the response message of top configuration server 2011,, initiate application for registration message to the configuration service device according to the service entrance information of the configuration service device that comprises in the message; Comprise in this message: message kind, message initiator role, service entrance, sign, NAT layer level number show that promptly the equipment that sends this request is second level configuration server; The message kind is registration; Message initiator role is a configuration service.
● after first configuration service 2021 is received application for registration message, if message initiator role is a configuration service, judge that according to the configuration server network address of carrying in the source address of the packet of carrying this application for registration and this application for registration message this configuration server is whether after NAT; If after NAT, extract the layer level number in this register requirement, if be the second level, then the mapping relations of this configuration server 2031 of record and NAT router one 020 in sub-configuration server record sheet are returned the message that succeeds in registration to configuration server 2031.If be not the second level, simultaneously the configuration server of this NAT router one 020 correspondence not in the sub-configuration server record sheet returns registration failure message, if not after NAT, returns registration failure message.
Figure 19 is that the configuration server that illustrates in the network that NAT router in the second level is controlled according to the present invention obtains the service entrance of configuration server in the direct upper layer network and the PROCESS OVERVIEW that registration adds the configuration service device by listening mode.This process is the example that the configuration service unit adds the configuration service device.Top configuration server 2011 is furnished with the global network network address, and this address and the port that service is provided are known service entrance in system, maybe can obtain by the method for system definition.The one NAT router one 010 directly inserts global network, is root NAT router.First configuration server 2021 is deployed in the network of root NAT router one 010 control.The 2nd NAT router one 020 directly inserts the network of root NAT router one 010 control, and first configuration server agency, 2032 and second configuration server 2031 is deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
● first configuration server agency 2032 broadcasting in the network of the 2nd NAT router one 020 control comprises the message of configuration service device service entrance, comprises in the message by the hierarchical information of proxy configurations server.
second configuration server 2031 is monitored the message of broadcasting in the network of the 2nd NAT router one 020 control that comprises configuration service device service entrance.
● after second configuration server 2031 is received the message that comprises configuration service device service entrance, level+1 according to the father's configuration server that provides in the message is provided with local hierarchical information, and initiate the application for registration message to first configuration server 2021 according to the service entrance of the configuration service device that provides in the message, comprise in this message: message kind, message initiator role, service entrance, sign, NAT layer level number show that promptly the equipment that sends this request is second level configuration server; The message kind is registration; Message initiator role is a configuration service.
● after first configuration service 2021 is received application for registration message, if message initiator role is a configuration service, judge that according to the configuration server network address of carrying in the source address of the packet of carrying this application for registration and this application for registration message this configuration server is whether after NAT; If after NAT, extract the layer level number in this register requirement, if be the second level, then the mapping relations of this configuration server 2031 of record and NAT router one 020 in sub-configuration server record sheet are returned the message that succeeds in registration to configuration server 2031.If be not the second level, simultaneously the configuration server of this NAT router one 020 correspondence not in the sub-configuration server record sheet returns registration failure message, if not after NAT, returns registration failure message.
Second configuration service shown in Figure 19 is acted on behalf of the forwarding capability that do not give information.If necessary, the developer configuration server agency of forwards function that is not difficult to develop according to Figure 16.The various server agents that describe below, as not particularly pointing out, forwarding capability does not give information.If necessary, developer's various server agents of forwarding capability of being not difficult to develop according to Figure 16.
In addition, this broadcast mode can use wired, wireless or wired and wireless etc. according to various service brokers network environment of living in.
In addition, the developer is not difficult on the basis of the information interaction flow process that Figure 13-Figure 16 provides, and with reference to the example of figure 17-Figure 19, realizes the configuration service device in multi-level NAT network.
In addition, consider that safety issue can all encrypt or local cypher registration message.This safety issue will consider that all its basic skills is that the various types of messages in the communication system 10 is all encrypted or local cypher in the various services that constitute the communications network system service plane.
In addition, the lastest imformation of various service units in the mode delivery system that has broadcasted all configuration service unit is regularly incited somebody to action in the top configuration service unit in the configuration service device.The basic configuration service unit of receiving lastest imformation is to its sub-configuration service unit forwards lastest imformation.
In addition, in order to guarantee the stable of system, registration message is regularly sent out in each unit in configuration service device, Call Agent service unit, forwarding service unit, the registration service device; Registration message is regularly sent out to the configuration service device in the unit of Call Agent service unit, forwarding service unit, registration service device.
In addition, in some cases, disposed server in advance in the network of NAT controls at different levels in the multi-level NAT environment with Call Agent function, simultaneously can be between each call proxy server by concerning Data transmission.In these cases, the configuration service functional unit can have the associated server acquisition topology information of Call Agent function by inquiry when adding the configuration service device, and the configuration service device is a basic organization configuration service functional unit with this topology information.Above-mentioned server with Call Agent function has been finished the part task of configuration service device jointly.By the way, server of disposing in advance by certain topological relation in the environment in the multi-level NAT network or server with registering functional with forwarding capability, can be for the configuration service functional unit provide topology information, and be used for the composition of configuration service device.The above-mentioned server that has the server of forwarding capability or have a registering functional has been finished the part task of configuration service device jointly.
3.2 the construction method of registration service device
In the multi-level NAT network environment, the registration service device provides the interface of searching user's information for transmitting service unit and Call Agent service unit as shown in figure 10.What Figure 20-Figure 24 described is the example that the registration service device is formed flow process.The basic step of each flow process is: the registration service functional unit is at first by adding to the configuration service device registration Communications network system 10, add the registration service device to the registration service device registration then.Figure 20-Figure 24 has further explained the acquisition methods of service entrance point simultaneously.Top configuration server is the example of top configuration service unit among Figure 20-Figure 24; Configuration server is the example of configuration service unit; The configuration server agency is configuration service unit agency's example; Top registrar is the example of top registration service unit; Registrar is the example of registration service unit.
Figure 20 illustrates top registration service unit by form the flow chart of registration service device to the configuration service device registration.This flow chart is Communications network system 10In constitute the example of registration service device, top configuration server 2011 is furnished with the global network network address, this network address of server and provide the port of service to be known service entrance in system maybe can obtain by the method for system definition.Top registrar 3011 is deployed in the global network, and the global network network address is arranged.
Top registrar 2011To Top configuration server 3011Initiate registration message; Comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is registration service.
Top configuration server 2011After receiving registration message,, judge the applicant whether after NAT according to the network address of the registrar that carries in the source address of the packet of carrying registration message and the registration message if the message initiator role is registration service, if RegistrarNot after NAT, top Configuration serverThe service entrance of the registrar that comprises in this registration message is recorded in the registration service list, and to this RegistrarReturn the message that succeeds in registration.
Top registrar 3011Succeed in registration, mean Communications network system 10Middle registration service device 3001 initialization success can provide the user registration service to system.
Figure 21 illustrates registrar by finishing adding to the configuration service device with to top registrar registration Communications network system 10And add The registration service device3001 flow process.This flow chart is Logical Communication network system 10Constitute the example of registration service device.Top configuration server 2011 and top registrar 3011 are deployed in the global network, and the global network network address is arranged.NAT router one 010 inserts global network, and this NAT router is a root NAT router. Registrar 2021With Configuration service Device 3021Be deployed in the network of same NAT router one 010 control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
Registrar 3021Initiate registration message to top configuration server, comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is registration service.
Top configuration server 2011After receiving registration message,, judge that according to the network address of the registrar that carries in the source address of the packet of carrying registration message and the registration message applicant is whether after the NAT router if the message initiator role is registration service; If Registration service DeviceAfter NAT, judge in the network of this NAT router control whether configuration server is arranged; If in the network of this NAT router control configuration server is arranged, Top configuration server 2011Mention application for registration to this Registrar 3021Return the redirected response message of the service entrance information of the configuration server 2021 in the network that comprises 010 control of root NAT router one.If do not have configuration server in the network of this NAT router one 010 control, return the message of registration failure.(in the network of this example for this NAT router control configuration server being arranged)
Registrar 3021After receiving this redirected response message, extract the service entrance of configuration service device in the response message, the service entrance of temporarily preserving this configuration service device, and according to providing in the response message The configuration service deviceService entrance information to The configuration service deviceInitiate registration message, comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is registration service.
Configuration server 2021 is receivedBehind the registration message,,, judge the applicant whether after NAT according to the network address of the registrar that carries in the source address of the packet of carrying registration message and the registration message if the message initiator role is registration service, if Registrar 3021Not after NAT, Configuration server 2021Sign, the service entrance of the registrar 3021 that comprises in this registration message are recorded in the registration service list, and return the message that succeeds in registration to registrar 3021.
Registrar 3021Receive The configuration service deviceAfter the response message that succeeds in registration that sends, the service entrance of the configuration service device in the message is kept in the target configuration server record, and according to the service entrance of target configuration server to configuration Service unitSend out registration service device service entrance request message, comprise in this message: message kind, message initiator role, sign, sequence number at random; The message kind is the service entrance request of registration service device; Message initiator role is registration service.
Configuration server 2021Receive Registrar 3021After sending registration service device service entrance request message, if message initiator role is registration service, search local registration service record sheet, if the promoter is in local registration service record sheet in request, temporary transient this request message of preserving, set up request message and sender of the message's corresponding relation according to sequence number at random, and send registration service device service entrance request message to the configuration service device according to the service entrance of local target configuration server, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.
Top configuration server 2011Receive Configuration server 2021Behind the registration service device service entrance request message of transmitting, if message initiator role is a configuration service, whether the sender who judges this message is in sub-configuration service record sheet, if the sender of this message is in sub-configuration service record sheet, then search the record of top registrar in the registration service record sheet, and return the successful respond message of the service entrance that comprises this top registrar, comprise the sequence number at random in the former message in the message, if there is not the record of top registrar in the registration service record sheet, return the message of registration failure;
● after configuration server 2021 is received the successful respond message of top configuration server 2011,, transmit this successful respond message to registrar 3021 according to message and sender of the message's corresponding relation.
● after registrar 3021 is received this successful respond message, send out registration message to the registration service device, comprise in this message: message kind, message initiator role, service entrance, sign according to the service entrance of the registration service device that comprises in the message; The message kind is registration; Message initiator role is registration service.
Top registrar 3011After receiving registration message,, the network address and the port of the sign of the registrar that comprises in this registration message, service entrance and corresponding NAT router is recorded in the table of sub-registration service level road if the message initiator role is registration service, and to this Annotate Volume server 3021Return the message that succeeds in registration.
Figure 22 illustrates in the network of the second level NAT router control registrar by finishing adding to the configuration service device and to the registration service device registration Communications network system 10And add The registration service dress Put3001 flow process.This flow chart is Communications network system 10Constitute the example of registration service device.Top configuration server 2011 has the global network network address.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.First Registrar 3021With first The configuration clothes Affair device 2021Be deployed in the network of a NAT router one 010 control.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, second Registrar 2022With second The configuration clothes Affair device 3022Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
Second registrar 3022Initiate registration message to top configuration server 2011, comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is registration service.
Top configuration server 2011After receiving registration message,, judge the applicant whether after NAT according to the network address of the registrar that carries in the source address of the packet of carrying registration message and the registration message if the message initiator role is registration service, if RegistrarAfter NAT, judge in the network of this NAT router control whether configuration server is arranged; If in the network of this NAT router control configuration server is arranged, Top configuration server 2011Mention second of application for registration to this Registrar 3022Return the redirected response message of the service entrance information of first configuration server 2021 in the network that comprises 010 control of root NAT router one.If do not have configuration server in the network of this NAT router one 010 control, return the message of registration failure.(in the network of this example for this NAT router control configuration server being arranged)
Second registrar 3022After receiving this redirected response message, extract the service entrance of configuration service device in the response message, the service entrance of temporarily preserving this configuration service device, and according to providing in the response message The configuration service deviceService entrance information is to first Configuration server 2021Initiate registration message, comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is registration service.
First configuration server 2021 is receivedBehind the registration message,, judge the applicant whether after NAT according to the network address of the registrar that carries in the source address of the packet of carrying registration message and the registration message if the message initiator role is registration service, if RegistrarAfter NAT, judge in the network of this NAT router control whether configuration server is arranged; If configuration server is arranged, first in the network of this NAT router control Configuration server 2021Mention second of application for registration to this Registrar 3021Return the redirected response message of the service entrance information of second configuration server 2022 in the network that comprises 020 control of NAT router one.If do not have configuration server in the network of this NAT router one 020 control, return the message of registration failure.
Second registrar 3022After receiving this redirected response message, extract the service entrance of configuration service device in the response message, uses new service entrance to replace the service entrance of the configuration service device of temporary transient preservation last time, and according to providing in the response message The configuration service deviceService entrance information to The configuration service deviceInitiate registration message, comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is registration service.
Second configuration server 2022 is receivedBehind the registration message,,, judge that the applicant is whether after NAT, if second according to the network address of the registrar that carries in the source address of the packet of carrying registration message and the registration message if the message initiator role is registration service Registration service Device 3022Not after NAT, second Configuration server 2022Sign, the service entrance of second registrar 3022 that comprises in this registration message are recorded in the registration service list,
Figure A20081011578200511
Figure A20081011578200512
Second registrar 3022Receive second Configuration server 2022After the response message that succeeds in registration that sends, the service entrance of the configuration service device in the message is kept in the target configuration server record, and according to the service entrance of target configuration server to configuration Service unit 2001Send out registration service device service entrance request message, comprise in this message: message kind, message initiator role, sign, sequence number at random; The message kind is the service entrance request of registration service device; Message initiator role is registration service.
Second configuration server 2022Receive second Registrar 3022After sending registration service device service entrance request message, if message initiator role is registration service, search the registration service record sheet, if the promoter is in local registration service record sheet in request, temporary transient this request message of preserving, set up request message and sender of the message's corresponding relation according to sequence number at random, and send registration service device service entrance request messages to configuration service device 2001 according to the service entrance of local target configuration server, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.
First configuration server 2021Receive second Configuration server 2022Behind the registration service device service entrance request message of transmitting, if message initiator role is a configuration service, whether the sender who judges this message is in sub-configuration service record sheet, if the sender of this message is in sub-configuration service record sheet, then search the record of the registrar in the network of NAT router ones 010 control under this configuration server 2021 in the registration service record sheet, and return the successful respond message of the service entrance that comprises this registrar, comprise former sequence number at random; If there is not relative recording, temporary transient this request message of preserving, set up request message and sender of the message's corresponding relation according to sequence number at random, and send registration service device service entrance request messages to configuration service device 2001 according to the service entrance of local target configuration server, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.(this example is to find first configuration server finds relevant registrar in this locality record)
● after second configuration server 2022 is received the successful respond message of first configuration server 2011,, transmit this successful respond message to second registrar 3022 according to message and sender of the message's corresponding relation.
● after second registrar 3022 is received this successful respond message, send out registration message, comprise in this message: message kind, message initiator role, service entrance, sign according to the service entrance of the registration service device that comprises in the message; The message kind is registration; Message initiator role is registration service.
First registrar 3021After receiving registration message,, the network address and the port of the sign of the registrar that comprises in this registration message, service entrance and corresponding NAT router is recorded in the table of sub-registration service level road if the message initiator role is registration service, and to this second Registrar 3022Return the message that succeeds in registration.
Figure 23 illustrates under the service entrance situation of configuration server employing broadcast mode broadcast configuration service unit in the network of affiliated NAT control, and registrar adds Communications network system 10Flow chart.This flow chart is Communications network system 10Constitute the example of registration service device.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.First Registrar 3021With first Configuration server 2021Be deployed in the network of a NAT router one 010 control.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, second Registrar 3022With second Configuration server 2022Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
Second configuration server 2022In the network of affiliated NAT router one 020 control, adopt broadcast mode broadcasting to comprise the message of the service entrance of configuration service device.
● second Registrar 3022In the network of affiliated NAT router one 020 control, monitor the broadcast of the service entrance that has the configuration service device.
● second Registrar 3022After in the network of affiliated NAT control, receiving the service entrance message that comprises the configuration service device, second Registrar 3022This service entrance is made as the service entrance of target configuration server, and according to message content to Configuration service device 2001Send out registration message, comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is registration service.
Second configuration server 2022 is receivedBehind the registration message,,, judge that the applicant is whether after NAT, if second according to the network address of the registrar that carries in the source address of the packet of carrying registration message and the registration message if the message initiator role is registration service Registration service Device 3022Not after NAT, second Configuration server 2022Sign, the service entrance of second registrar 3021 that comprises in this registration message are recorded in the registration service list,
Figure A20081011578200531
Figure A20081011578200532
Second registrar 3022Receive second Configuration server 2022After the response message that succeeds in registration that sends, the service entrance of the configuration service device in the message is kept in the target configuration server record, and according to the service entrance of target configuration server to configuration Service unit 2001Send out registration service device service entrance request message, comprise in this message: message kind, message initiator role, sign, sequence number at random; The message kind is the service entrance request of registration service device; Message initiator role is registration service.
Second configuration server 2022Receive second Registrar 3022After sending registration service device service entrance request message, if message initiator role is registration service, search the registration service record sheet, if the promoter is in local registration service record sheet in request, temporary transient this request message of preserving, set up request message and sender of the message's corresponding relation according to sequence number at random, and send registration service device service entrance request messages to configuration service device 2001 according to the service entrance of local target configuration server, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.
First configuration server 2021Receive second Configuration server 2022Behind the registration service device service entrance request message of transmitting, if message initiator role is a configuration service, whether the sender who judges this message is in sub-configuration service record sheet, if the sender of this message is in sub-configuration service record sheet, then search the record of the registrar in the network of NAT router ones 010 control under this configuration server 2021 in the registration service record sheet, and return the successful respond message of the service entrance that comprises this registrar, comprise former sequence number at random; If there is not relative recording, temporary transient this request message of preserving, set up request message and sender of the message's corresponding relation according to sequence number at random, and send registration service device service entrance request messages to configuration service device 2001 according to the service entrance of local target configuration server, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.(this example is to find first configuration server finds relevant registrar in this locality record)
● after second configuration server 2022 is received the successful respond message of first configuration server 2011,, transmit this successful respond message to second registrar 3022 according to message and sender of the message's corresponding relation.
● after second registrar 3022 is received this successful respond message, send out registration message, comprise in this message: message kind, message initiator role, service entrance, sign according to the service entrance of the registration service device that comprises in the message; The message kind is registration; Message initiator role is registration service.
First registrar 3021After receiving registration message,, the network address and the port of the sign of the registrar that comprises in this registration message, service entrance and corresponding NAT router is recorded in the table of sub-registration service level road if the message initiator role is registration service, and to this second Registrar 3022Return the message that succeeds in registration.
In addition, second configuration server, 2022 usefulness, first configuration server agency can be replaced, first configuration server agency will broadcasting comprise the message that configuration service device service entrance is first configuration server, 2021 service entrances in the network of affiliated NAT router control.Second registrar 3022 will be sent out registration message and registration service device service entrance request message to the service entrance of first configuration server 2021.First configuration server 2021 will write down second registrar 3022.Simultaneously since second registrar with first configuration server 2021 not in the network of same NAT router control, first configuration server 2021 returns the service entrance of first registrar 3021 to second registrar 3022.Second registrar will use this service entrance to register to the registration service device.
In addition, for the registrar of striding layer registration, configuration server can't determine whether it follows the principle of registration successively.This registrar is denoted as insincere in the registration service record sheet of configuration service unit.The configuration service device need be indicated the incredible character in this service entrance when registration service device service entrance requestor provides this type of service entrance.The service entrance of whether using this registration service device by requestor decision.Under the situation of using the agency, the configuration server of being acted on behalf of will be made as distrust to the server of striding layer registration, and no longer the server of striding layer registration be returned failed message.The network address and the port of while record identification, service entrance, corresponding NAT device.
Figure 24 illustrates to dispose first configuration and first registrar is acted on behalf of under the situation in the networking of second level NAT router control, and when this agency adopted the service entrance of broadcast mode broadcast configuration server and registration service, registrar added Communications network system 10Flow chart.This flow chart is Communication network Network system 10Constitute the example of registration service device.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.First Registrar 2021With first Configuration server 3021Be deployed in the network of a NAT router one 010 control.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, second Registrar 3022With first The configuration and first registration Server agent 2032Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
First configuration and first registrar agency 2032In the network of affiliated NAT router one 020 control, adopt broadcast mode broadcasting to comprise the message of the service entrance of configuration service device and registration service device.
● second Registrar 3022In the network of affiliated NAT router one 020 control, monitor the broadcast of the service entrance that has configuration service device and registration service device portal.
● second Registrar 3022After in the network of affiliated NAT control, receiving the service entrance message that comprises configuration service device and registration service device, second Registrar 3022The service entrance of configuration service device is made as the service entrance of target configuration server, the service entrance of registration service device is made as the service entrance of target registered server, and according to the service entrance of target configuration server to Configuration service device 2001Send out registration message, comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is registration service.
First configuration server 2022 is receivedBehind the registration message,,, judge that the applicant is whether after NAT, if second according to the network address of the registrar that carries in the source address of the packet of carrying registration message and the registration message if the message initiator role is registration service Registration service Device 3022After NAT, first Configuration server 2022The network address and the port of the service entrance of second registrar 3021 that comprises in this registration message, sign and corresponding NAT device are recorded in the registration service list, and be designated as insincere,
Figure A20081011578200561
● second Registrar 3022According to the service entrance of target registered server to registration The service dress Put 3001Send out registration message, comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is registration service.
First registrar 3021After receiving registration message,, the network address and the port of the service entrance of the registrar that comprises in this registration message, sign, corresponding NAT device is recorded in the table of sub-registration service level road if the message initiator role is registration service, and to this second Registration Server 3022Return the message that succeeds in registration.
Figure 24 has not only described a kind of flow process of using broadcast mode, registering by the agency, if it has illustrated that also registrar knows the service entrance of the configuration server in the direct upper strata, a kind of mode of layer registration is striden in the configuration service support.
In addition, proxy mode not only is used to stride a layer environment, also can be used for by the network of NAT router control under the acting server, to enlarge by the coverage of acting server.
In addition, Figure 20 one Figure 24 has described in the multi-layer NAT networking, and registrar is pressed the cascaded topology relation of the network of NAT router control and successively disposed.In the time can not successively disposing registrar by the cascaded topology relation of the network of NAT router control, do not dispose the registration service unit in the network of certain grade of NAT router control for example, configuration service unit in the network of this NAT router control is the record of the registrar in the network of this NAT control not, after registration service device service entrance request message was received in this configuration service unit, this request message can be transmitted to the configuration service device according to the service entrance of local target configuration service unit in the configuration service unit.
In addition, Figure 20-Figure 24 describes Registration service device 3001By Configuration service device 2001Add Communications network system 10 Registration service device 3001 also can be by pre-in multi-level NAT network The Call Agent service unit of disposing 4001, forwarding service unit 5001 are finished earlierAdd Communication network system System 10Work. Call Agent service unit 4001, Transmit service unit 5001Shared configuration Service Device 2001Function.
In addition, Configuration service device 2001, Call Agent service unit 4001, forwarding service unit 5001Can have the function and function that user profile inquiry be provided of storage with information, this service unit has been shared The function of registration service device 3001.
In addition, basicThe registration service unit is to the configuration service device registration time, if there is not the log-on message of top registration service unit in the configuration service device, promptly the registration service device is not activated in the system 10, and the configuration service device will be refused SubstantiallyThe register requirement that the registration service unit proposes.
In addition, during the registrar registration message that server is sent out in receiving lower floor's network, can return the redirect message of the service entrance that comprises sub-registrar and other class server simultaneously, to improve system effectiveness.Other class server comprises: registration, Call Agent, forwarding etc.
In addition, stride in the configuration server support under the situation of layer registration, configuration server will be made as distrust to striding layer server of other service of registration, and no longer return failed message to striding layer server of other service of registration.Call Agent service log table, registration service record sheet, forwarding service log table in the configuration server are added credible.Write down sign, the service entrance of this server, the network address and the port of corresponding NAT device simultaneously.
In addition, the method that configuration server adds to the configuration service device registration can be used for reference in the registration service unit, initiates register requirement by the known service entrance to top registration service unit, and registration adds the registration service device under the guiding of registration service device.
In addition, the developer is not difficult on the basis of the information interaction flow process that Figure 13-Figure 16 provides, and with reference to the example of figure 17-Figure 24, makes up the flow process of registration service device in multi-level NAT network.
3.3 the construction method of Call Agent service unit
What Figure 25-Figure 29 described is the example that the Call Agent service unit is formed flow process.The basic step of each flow process is: the Call Agent service function unit is at first by adding to the configuration service device registration Communication network Network system 10, add the Call Agent service unit to the registration of Call Agent service unit then.Figure 25-Figure 29 has further explained the acquisition methods of service entrance point simultaneously.Top configuration server is the example of top configuration service unit among Figure 25-Figure 29; Configuration server is the example of configuration service unit; The configuration server agency is configuration service unit agency's example; Top call proxy server is the example of top Call Agent service unit; Call proxy server is the example of Call Agent service unit.
Figure 25 illustrates top Call Agent service unit by form the flow chart of Call Agent service unit to the configuration service device registration.This flow chart is In the communications network system 10Constitute the example of Call Agent service unit, top configuration server 2011 is furnished with the global network network address, and this network address of server and provide the port of service to be known service entrance in system maybe can obtain by the method for system definition.Top call proxy server 4011 is deployed in the global network, and the global network network address is arranged.
Top call proxy server 2011To Top configuration server 4011Initiate registration message; Comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the Call Agent service.
Top configuration server 2011After receiving registration message,, judge the applicant whether after root NAT according to the network address of the call proxy server that carries in the source address of the packet of carrying registration message and the registration message if the message initiator role is the Call Agent service, if Exhale Be acting serverNot after NAT, top Configuration serverWith the service entrance of the call proxy server that comprises in this registration message and identification record in Call Agent service list, and to this Call proxy serverReturn the message that succeeds in registration.
Top call proxy server 4011Succeed in registration, mean Communications network system 10Middle Call Agent service unit 4001 initialization success can provide the Call Agent service to system.
Figure 26 illustrates call proxy server by finishing adding to the configuration service device with to top call proxy server registration Communications network system 10And add The Call Agent service unit4001 flow process.This flow chart is Communications network system 10Constitute the example of Call Agent service unit.Top configuration server 2011 and top call proxy server 4011 are deployed in the global network, and the global network network address is arranged.NAT router one 010 inserts global network, and this NAT router is a root NAT router. Call out generation Reason server 2021With Configuration server 4021Be deployed in the network of same NAT router one 010 control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
Call proxy server 4021Initiate registration message to top configuration server; Comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the Call Agent service.
Top configuration server 2011After receiving registration message, if message initiator role is the Call Agent service, judge that according to the network address of the call proxy server that carries in the source address of the packet of carrying registration message and the registration message applicant is whether after NAT, if this call proxy server after NAT, judges in the network of this NAT router control whether configuration server is arranged; If in the network of this NAT router control configuration server is arranged, Top configuration service Device 2011Mention application for registration to this Call proxy server 4021Return the redirected response message of the service entrance information of the configuration server 2021 in the network that comprises 010 control of root NAT router one.If do not have configuration server in the network of this NAT router one 010 control, return the message of registration failure.(in the network of this example for this NAT router control configuration server being arranged)
Call proxy server 4021After receiving this redirected response message, extract configuration service device service entrance in the response message, the service entrance of temporarily preserving this configuration service device, and according to providing in the response message The configuration service deviceService entrance information to The configuration service deviceInitiate registration message; Comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the Call Agent service.
Configuration server 2021After receiving registration message,,, judge the applicant whether after NAT according to the network address of the call proxy server that carries in the source address of the packet of carrying registration message and the registration message if the message initiator role is the Call Agent service, if Call Agent Server 4021Not after NAT, Configuration server 2021In the service entrance and identification record Call Agent service list with the call proxy server 4021 that comprises in this registration message,
Figure A20081011578200591
Call proxy server 4021Receive The configuration service deviceAfter the response message that succeeds in registration that sends, the service entrance of the configuration service device in the message is kept in the target configuration server record, and according to the service entrance of target configuration server to configuration Service unitSend out Call Agent service unit service entrance request message, comprise in this message: message kind, message initiator role, sign, sequence number at random; The message kind is the service entrance request of Call Agent service unit; Message initiator role is the Call Agent service.
Configuration server 2021Receive Call proxy server 4021After sending Call Agent service unit service entrance request message, if message initiator role is the Call Agent service, search local call agency service record sheet, if the promoter is in local call agency service record sheet in request, temporary transient this request message of preserving, set up request message and sender of the message's corresponding relation according to sequence number at random, and send Call Agent service unit service entrance request message to the configuration service device according to the service entrance of local target configuration server, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.
Top configuration server 2011Receive Configuration server 2021Behind the Call Agent service unit service entrance request message of transmitting, if message initiator role is a configuration service, whether the sender who judges this message is in sub-configuration service record sheet, if the sender of this message is in sub-configuration service record sheet, then search the record of top call proxy server in the Call Agent service log table, and return the successful respond message of the service entrance that comprises this top call proxy server, comprise the sequence number at random in the former message in the message; If there is not the record of top registrar in the registration service record sheet, return the message of registration failure;
● after configuration server 2021 is received the successful respond message of top configuration server 2011,, transmit this successful respond message to call proxy server 4021 according to message and sender of the message's corresponding relation.
● after call proxy server 4021 is received this successful respond message, registration message is sent out to the Call Agent service unit in service entrance according to the Call Agent service unit that comprises in the message, comprises in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the Call Agent service.
Top call proxy server 4011After receiving registration message, if message initiator role is the Call Agent service, the network address and the port of the service entrance of the call proxy server that comprises in this registration message, sign, corresponding NAT device are recorded in the sub-Call Agent service list, and to this Call proxy server 4021Return the message that succeeds in registration.
Figure 27 illustrates in the network of the second level NAT router control call proxy server by finishing adding to the configuration service device and to the registration of Call Agent service unit Communications network system 10And add Exhale Be agent service device4001 flow process.This flow chart is Communications network system 10Constitute the example of Call Agent service unit.Top configuration server 2011 has the global network network address.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.First The Call Agent service Device 4021With first Configuration server 2021Be deployed in the network of a NAT router one 010 control.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, second Call Agent Server 2022With second Configuration server 4022Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
Second call proxy server 4022Initiate registration message to top configuration server 2011; Message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the Call Agent service.
Top configuration server 2011After receiving registration message, if message initiator role is the Call Agent service, judge that according to the network address of the call proxy server that carries in the source address of the packet of carrying registration message and the registration message applicant is whether after the NAT router, if Call Agent ServerAfter NAT, judge in the network of this NAT router control whether configuration server is arranged; If in the network of this NAT router control configuration server is arranged, Top configuration Server 2011Mention second of application for registration to this Call proxy server 4022Return the redirected response message of the service entrance information of first configuration server 2021 in the network that comprises 010 control of root NAT router one.If do not have configuration server in the network of this NAT router one 010 control, return the message of registration failure.(in the network of this example for this NAT router control configuration server being arranged)
Second call proxy server 4022After receiving this redirected response message, extract the service entrance of configuration service device in the response message, the service entrance of temporarily preserving this configuration service device, and according to providing in the response message The configuration service deviceService entrance information is to first The configuration clothes Affair device 2021Initiate registration message, comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the Call Agent service.
First configuration server 2021After receiving registration message, if message initiator role is the Call Agent service, judge that according to the network address of the call proxy server that carries in the source address of the packet of carrying registration message and the registration message applicant is whether after the NAT router, if call proxy server after NAT, judges in the network of this NAT router control whether configuration server is arranged; If configuration server is arranged, first in the network of this NAT router control Configuration Server 2021Mention second of application for registration to this Call proxy server 4021Return the redirected response message of the service entrance information of second configuration server 2022 in the network that comprises 020 control of NAT router one.If do not have configuration server in the network of this NAT router one 020 control, return the message of registration failure.
Second call proxy server 4022After receiving this redirected response message, extract the service entrance of configuration service device in the response message, uses new service entrance to replace the service entrance of the configuration service device of temporary transient preservation last time, and according to providing in the response message The configuration service deviceService entrance information is to second Configuration server 2022Initiate registration message; Message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the Call Agent service.
Second configuration server 2022After receiving registration message,,, judge that the applicant is whether after NAT, if second according to the network address of the call proxy server that carries in the source address of the packet of carrying registration message and the registration message if the message initiator role is the Call Agent service Call proxy server 4022Not after NAT, second Configuration server 2022With the service entrance of second call proxy server 4022 that comprises in this registration message and identification record in Call Agent service list,
Figure A20081011578200621
Second call proxy server 4022Receive second Configuration server 2022After the response message that succeeds in registration that sends, the service entrance of the configuration service device in the message is kept in the target configuration server record, and according to the service entrance of target configuration server to configuration Service unit 2001Send out Call Agent service unit service entrance request message, comprise in this message: message kind, message initiator role, sign, sequence number at random; The message kind is the service entrance request of Call Agent service unit; Message initiator role is the Call Agent service.
Second configuration server 2022Receive second Call proxy server 4022After sending Call Agent service unit service entrance request message, if message initiator role is the Call Agent service, search Call Agent service log table, if the promoter is in local call agency service record sheet in request, temporary transient this request message of preserving, set up request message and sender of the message's corresponding relation according to sequence number at random, and send Call Agent service unit service entrance request messages to configuration service device 2001 according to the service entrance of local target configuration server, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.
First configuration server 2021Receive second Configuration server 2022Behind the Call Agent service unit service entrance request message of transmitting, if message initiator role is a configuration service, whether the sender who judges this message is in sub-configuration service record sheet, if the sender of this message is in sub-configuration service record sheet, then in Call Agent service log table, search the record of the call proxy server in the network of NAT router ones 010 control under this configuration server 2021, and return the successful respond message of the service entrance that comprises this call proxy server; If there is not relative recording, temporary transient this request message of preserving, set up request message and sender of the message's corresponding relation according to sequence number at random, and send Call Agent service unit service entrance request messages to configuration service device 2001 according to the service entrance of local target configuration server, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.(this example is for finding first configuration server finds the associated call acting server in this locality record)
● after second configuration server 2022 is received the successful respond message of first configuration server 2011,, transmit this successful respond message to second call proxy server 4022 according to message and sender of the message's corresponding relation.
● after second call proxy server 4022 is received this successful respond message, send out registration message, comprise in this message: message kind, message initiator role, service entrance, sign according to the service entrance of the Call Agent service unit that comprises in the message; The message kind is registration; Message initiator role is the Call Agent service.
First call proxy server 4021After receiving registration message, if message initiator role is the Call Agent service, the network address and the port of the service entrance of the call proxy server that comprises in this registration message, sign, corresponding NAT device are recorded in the sub-Call Agent service list, and to this second Call proxy server 4022Return the message that succeeds in registration.
Figure 28 illustrates under the service entrance situation of configuration server employing broadcast mode broadcast configuration service unit in the network of affiliated NAT control, and call proxy server adds Communications network system 10Flow chart.This flow chart is Communications network system 10Constitute the example of Call Agent service unit.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.First Call out generation Reason server 4021With first Configuration server 2021Be deployed in the network of a NAT router one 010 control.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, second Call proxy server 4022With second Configuration server 2022Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
Second configuration server 2022In the network of affiliated NAT router one 020 control, adopt broadcast mode broadcasting to comprise the message of the service entrance of configuration service device.
● second Call proxy server 4022In the network of affiliated NAT router one 020 control, monitor the broadcast of the service entrance that has the configuration service device.
● second Call proxy server 4022After in the network of affiliated NAT control, receiving the service entrance message that comprises the configuration service device, second Call proxy server 4022This service entrance is made as the service entrance of target configuration server, and according to message content to The configuration service device 2001Send out registration message, message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the Call Agent service.
Second configuration server 2022After receiving registration message,, judge that the applicant is whether after NAT, if second if the message initiator role is the network address of Call Agent service according to the call proxy server that carries in source address of packet of carrying registration message and the registration message Call proxy server 4022Not after NAT, second Configuration server 2022The service entrance of second call proxy server 4021 that comprises in this request message is recorded in the Call Agent service list,
Figure A20081011578200641
Second call proxy server 4022Receive second Configuration server 2022After the response message that succeeds in registration that sends, the service entrance of the configuration service device in the message is kept in the target configuration server record, and according to the service entrance of target configuration server to configuration Service unit 2001Send out Call Agent service unit service entrance request message, comprise in this message: message kind, message initiator role, sign, sequence number at random; The message kind is the service entrance request of Call Agent service unit; Message initiator role is the Call Agent service.
Second configuration server 2022Receive second Call proxy server 4022After sending Call Agent service unit service entrance request message, if message initiator role is the Call Agent service, search Call Agent service log table, if the promoter is in local call agency service record sheet in request, temporary transient this request message of preserving, set up request message and sender of the message's corresponding relation according to sequence number at random, and send Call Agent service unit service entrance request messages to configuration service device 2001 according to the service entrance of local target configuration server, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.
First configuration server 2021Receive second Configuration clothes device 2022Behind the Call Agent service unit service entrance request message of transmitting, if message initiator role is a configuration service, whether the sender who judges this message is in sub-configuration service record sheet, if the sender of this message is in sub-configuration service record sheet, then in Call Agent service log table, search the record of the call proxy server in the network of NAT router ones 010 control under this configuration server 2021, and return the successful respond message of the service entrance that comprises this call proxy server; If there is not relative recording, temporary transient this request message of preserving, set up request message and sender of the message's corresponding relation according to sequence number at random, and send Call Agent service unit service entrance request messages to configuration service device 2001 according to the service entrance of local target configuration server, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.(this example is for finding first configuration server finds the associated call acting server in this locality record)
● after second configuration server 2022 is received the successful respond message of first configuration server 2011,, transmit this successful respond message to second call proxy server 4022 according to message and sender of the message's corresponding relation.
● after second call proxy server 4022 is received this successful respond message, send out registration message according to the service entrance of the Call Agent service unit that comprises in the message, message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the Call Agent service.
First call proxy server 4021After receiving registration message, if message initiator role is the Call Agent service, the network address and the port of the service entrance of the call proxy server that comprises in this registration message, sign, corresponding NAT router are recorded in the sub-Call Agent service list, and to this second Call proxy server 4022Return the message that succeeds in registration.
In addition, second configuration server, 2022 usefulness, first configuration server agency can be replaced, first configuration server agency will broadcasting comprise the message that configuration service device service entrance is first configuration server, 2021 service entrances in the network of affiliated NAT router control.Second call proxy server 4022 will be sent out registration message and Call Agent service unit service entrance request message to the service entrance of first configuration server 2021.First configuration server 2021 will write down second call proxy server 4022.Simultaneously since second call proxy server with first configuration server 2021 not in the network of same NAT router control, first configuration server 2021 returns the service entrance of first call proxy server 4021 to second call proxy server 4022.Second call proxy server will use this service entrance to register to the Call Agent service unit.
In addition, for the call proxy server of striding layer registration, configuration server can't determine whether it follows the principle of registration successively.This call proxy server is denoted as insincere in the Call Agent service log table of configuration service unit.The configuration service device need be indicated the incredible character in this service entrance when Call Agent service unit service entrance requestor provides this type of service entrance.The service entrance of whether using this Call Agent service unit by requestor decision.Under the situation of using the agency, the configuration server of being acted on behalf of will be made as distrust to the server of striding layer registration, and no longer the server of striding layer registration be returned failed message.The network address and the port of while record identification, service entrance, corresponding NAT device.
Figure 29 illustrates to dispose first configuration and first call proxy server is acted on behalf of under the situation in the networking of second level NAT router control, and when this agency adopted the service entrance of broadcast mode broadcast configuration server and Call Agent service, call proxy server added Communications network system 10Flow chart.This flow chart is Communications network system 10Constitute the example of Call Agent service unit.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.First Call proxy server 2021With first Configuration server 4021Be deployed in the network of a NAT router one 010 control.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, second Call proxy server 4022With first Configuration and first call proxy server agency 2042Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.
First configuration and first call proxy server agency 2042In the network of affiliated NAT router one 020 control, adopt broadcast mode broadcasting to comprise the message of the service entrance of configuration service device and Call Agent service unit;
● second Call proxy server 4022In the network of affiliated NAT router one 020 control, monitor the broadcast of the service entrance that has configuration service device and Call Agent service unit inlet.
● second Call proxy server 4022After in the network of affiliated NAT control, receiving the service entrance message that comprises configuration service device and Call Agent service unit, second Call proxy server 4022The service entrance of configuration service device is made as the service entrance of target configuration server, the service entrance of Call Agent service unit is made as the service entrance of target call acting server, and according to the service entrance of target configuration server to Configuration service device 2001Send out registration message, comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the Call Agent service.
First configuration server 2022After receiving registration message,,, judge that the applicant is whether after NAT, if second according to the network address of the call proxy server that carries in the source address of the packet of carrying registration message and the registration message if the message initiator role is the Call Agent service Call proxy server 4022After NAT, first Configuration server 2022The network address and the port of the service entrance of second call proxy server 4021 that comprises in this registration message, sign and corresponding NAT device are recorded in the Call Agent service list, and be designated as insincere,
● second Call proxy server 4022According to the service entrance of target call acting server to the Call Agent service Device 4001Send out registration message, comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the Call Agent service.
First call proxy server 4021After receiving registration message, if message initiator role is the Call Agent service, the network address and the port of the service entrance of the call proxy server that comprises in this registration message and sign, corresponding NAT device are recorded in the sub-Call Agent service list, and to this second Call proxy server 4022Return the message that succeeds in registration.
Figure 29 has not only described a kind of flow process of using broadcast mode, registering by the agency, if it has illustrated that also call proxy server knows the service entrance of the configuration server in the direct upper strata, a kind of mode of layer registration is striden in the configuration service support.
In addition, proxy mode not only is used to stride a layer environment, also can be used for by the network of NAT router control under the acting server, to enlarge by the coverage of acting server.
In addition, Figure 25-Figure 29 has described in the multi-layer NAT networking, and call proxy server is pressed the cascaded topology relation of the network of NAT router control and successively disposed.In the time can not successively disposing call proxy server by the cascaded topology relation of the network of NAT router control, do not dispose call proxy server in the network of certain grade of NAT router control for example, configuration service unit in the network of this NAT router control is the record of the call proxy server in the network of this NAT control not, after Call Agent service unit service entrance request message was received in this configuration service unit, this request message can be transmitted to the configuration service device according to the service entrance of local target configuration service unit in the configuration service unit.
In addition, Figure 25-Figure 29 describes Call Agent service unit 4001By Configuration service device 2001Add Communications network system 10 Call Agent service unit 4001 also can be by at multi-level NAT network In dispose in advance registration reason service unit 3001, transmit service unit 5001 and finishAdd Communication network Network system 10Work.Registration Service unit 3001, Transmit service unit 5001Shared configuration Service Device 2001Function.
In addition, basic call agencyService unit is to the configuration service device registration time, if do not have top in the configuration service device Call AgentThe log-on message of service unit is promptly in the system 10 Call AgentService unit is not activated, and the configuration service device will be refused The basic call agencyThe register requirement that service unit proposes.
In addition, the Call Agent service unit can be used for reference the method that configuration server adds to the configuration service device registration, initiate register requirement by the known service entrance to top Call Agent service unit, registration adds the Call Agent service unit under the guiding of Call Agent service unit.
In addition, the developer is not difficult on the basis of the information interaction flow process that Figure 13-Figure 16 provides, and with reference to the example of figure 17-Figure 29, makes up the flow process of Call Agent service unit in multi-level NAT network.
3.4 transmit the construction method of service unit
What Figure 30-Figure 34 described is to transmit the example that service unit is formed flow process.The basic step of each flow process is: transmit service function unit at first by adding to the configuration service device registration Communications network system 10, add the forwarding service unit to transmitting the service unit registration then.Figure 30-Figure 34 has further explained the acquisition methods of service entrance point simultaneously.Top configuration server is the example of top configuration service unit among Figure 30-Figure 34; Configuration server is the example of configuration service unit; The configuration server agency is configuration service unit agency's example; Top forwarding server is the example of top forwarding service unit; Forwarding server is for transmitting the example of service unit.
Figure 30 illustrates top forwarding service unit by form the flow chart of transmitting service unit to the configuration service device registration.This flow chart is In the communications network system 10Constitute to transmit the example of service unit, top configuration server 2011 is furnished with the global network network address, and this network address of server and provide the port of service to be known service entrance in system maybe can obtain by the method for system definition.Top forwarding server 5011 is deployed in the global network, and the global network network address is arranged.
Top forwarding server 2011To Top configuration server 5011Initiate registration message; Comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the service of transmitting.
Top configuration service 2011After receiving registration message,, judge the applicant whether after root NAT according to the network address of the forwarding server that carries in the source address of the packet of carrying registration message and the registration message if the message initiator role is the service of transmitting, if Forwarding serverNot after NAT, top Configuration serverWith the index service entry record of the forwarding server that comprises in this registration message in transmitting the service list, and to this Forwarding serverReturn the message that succeeds in registration.
Top forwarding server 5011Succeed in registration, mean Communications network system 10Middle forwarding service unit 5001 initialization success can provide the service of forwarding to system.
Figure 31 illustrates forwarding server by finishing adding to the configuration service device with to top forwarding server registration Communications network system 10And add Transmit service unit5001 flow process.This flow chart is Logical Communication network system 10Constitute the example of transmitting service unit.Top configuration server 2011 and top forwarding server 5011 are deployed in the global network, and the global network network address is arranged.NAT router one 010 inserts global network, and this NAT router is a root NAT router. Forwarding server 2021With Configuration service Device 5021Be deployed in the network of same NAT router one 010 control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
Forwarding server 5021Initiate registration message to top configuration server; Comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the service of transmitting.
Top configuration server 2011After receiving registration message, if message initiator role is the service of transmitting, judge that according to the network address of the forwarding server that carries in the source address of the packet of carrying registration message and the registration message applicant is whether after the NAT router, if this forwarding server after NAT, judges in the network of this NAT router control whether configuration server is arranged; If in the network of this NAT router control configuration server is arranged, Top configuration server 2011Mention application for registration to this Forwarding server 5021Return the redirected response message of the service entrance information of the configuration server 2021 in the network that comprises 010 control of root NAT router one.If do not have configuration server in the network of this NAT router one 010 control, return the message of registration failure.(in the network of this example for this NAT router control configuration server being arranged)
Forwarding server 5021After receiving this redirected response message, extract configuration service device service entrance in the response message, the service entrance of temporarily preserving this configuration service device, and according to providing in the response message Configuration serviceDevice service entrance information to Configuration serviceDevice is initiated registration message; Comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the Call Agent service.
Configuration server 2021After receiving registration message,,, judge the applicant whether after NAT according to the network address of the forwarding server that carries in the source address of the packet of carrying registration message and the registration message if the message initiator role is the service of transmitting, if Forwarding server 5021Not after NAT, Configuration server 2021With the service entrance of the forwarding server 5021 that comprises in this registration message and identification record in transmitting the service list,
Figure A20081011578200701
Figure A20081011578200702
Forwarding server 5021Receive The configuration service deviceAfter the response message that succeeds in registration that sends, the service entrance of the configuration service device in the message is kept in the target configuration server record, and according to the service entrance of target configuration server to configuration Service unitSend out forwarding service unit index service inlet request message, comprise in this message: message kind, message initiator role, sign, sequence number at random; The message kind is for transmitting service unit service entrance request; Message initiator role is the Call Agent service.
Configuration server 2021Receive Forwarding server 5021After sending forwarding service unit service entrance request message, if message initiator role is the service of transmitting, search the local service log table of transmitting, if the request promoter transmits in the service log table in this locality, temporary transient this request message of preserving, set up request message and sender of the message's corresponding relation according to sequence number at random, and send to the configuration service device according to the service entrance of local target configuration server and to transmit service unit service entrance request message, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.
Top configuration server 2011Receive Configuration server 2021Behind the forwarding service unit service entrance request message of transmitting, if message initiator role is a configuration service, whether the sender who judges this message is in sub-configuration service record sheet, if the sender of this message is in sub-configuration service record sheet, then search the record of transmitting top forwarding server in the service log table, and return the successful respond message of the service entrance that comprises this top forwarding server, comprise the sequence number at random in the former message in the message; If there is not the record of top registrar in the registration service record sheet, return the message of registration failure;
● after configuration server 2021 is received the successful respond message of top configuration server 2011,, according to message and sender of the message's corresponding relation, transmit this successful respond message to forwarding server 5021.
● after forwarding server 5021 receives that this should successfully answer message, send out registration message to transmitting service unit, comprise in this message: message kind, message initiator role, service entrance, sign according to the service entrance of the forwarding service unit that comprises in the message; The message kind is registration; Message initiator role is the service of transmitting.
Top forwarding server 5011After receiving registration message, if message initiator role is the Call Agent service, the network address of the index service inlet of the forwarding server that comprises in this registration message, sign, corresponding NAT device and port are recorded in son transmit in the service list, and to this Forwarding server 5021Return the message that succeeds in registration.
Figure 32 illustrates in the network of the second level NAT router control forwarding server by finishing adding to the configuration service device and to transmitting the service unit registration Communications network system 10And add Transmit the service dress Put5001 flow process.This flow chart is Communications network system 10Constitute the example of transmitting service unit.Top configuration server 2011 has the global network network address.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.First Forwarding server 5021With first The configuration clothes Affair device 2021Be deployed in the network of a NAT router one 010 control.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, second Forwarding server 2022With second The configuration clothes Affair device 5022Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
Second forwarding server 5022Initiate registration message to top configuration server 2011; Message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the service of transmitting.
Top configuration server 2011After receiving registration message,, judge that according to the network address of the forwarding server that carries in the source address of the packet of carrying registration message and the registration message applicant is whether after the NAT router, if forwarding if the message initiator role is the service of transmitting Service DeviceAfter NAT, judge in the network of this NAT router control whether configuration server is arranged; If in the network of this NAT router control configuration server is arranged, Top configuration server 2011Mention second of application for registration to this Forwarding server 5022Return the redirected response message of the service entrance information of first configuration server 2021 in the network that comprises 010 control of root NAT router one.If do not have configuration server in the network of this NAT router one 010 control, return the message of registration failure.(in the network of this example for this NAT router control configuration server being arranged)
Second forwarding server 5022After receiving this redirected response message, extract the service entrance of configuration service device in the response message, the service entrance of temporarily preserving this configuration service device, and according to providing in the response message The configuration service deviceService entrance information is to first Configuration server 2021Initiate registration message; Message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the service of transmitting.
First configuration server 2021After receiving registration message, if message initiator role is the service of transmitting, judge that according to the network address of the forwarding server that carries in the source address of the packet of carrying registration message and the registration message applicant is whether after the NAT router, if forwarding server after NAT, judges in the network of this NAT router control whether configuration server is arranged; If configuration server is arranged, first in the network of this NAT router control Configuration server 2021Mention second of application for registration to this Forwarding server 5021Return the redirected response message of the service entrance information of second configuration server 2022 in the network that comprises 020 control of NAT router one.If do not have configuration server in the network of this NAT router one 020 control, return the message of registration failure.
Second forwarding server 5022After receiving this redirected response message, extract the service entrance of configuration service device in the response message, uses new service entrance to replace the service entrance of the configuration service device of temporary transient preservation last time, and according to providing in the response message The configuration service deviceService entrance information is to second Configuration server 2022Initiate registration message, message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the service of transmitting.;
Second configuration server 2022After receiving registration message,,, judge that the applicant is whether after NAT, if second according to the network address of the forwarding server that carries in the source address of the packet of carrying registration message and the registration message if the message initiator role is the service of transmitting Transmit service Device 5022Not after NAT, second Configuration server 2022With the service entrance of second forwarding server 5022 that comprises in this registration message and identification record in transmitting the service list,
Figure A20081011578200731
Figure A20081011578200732
Second forwarding server 5022Receive second Configuration server 2022After the response message that succeeds in registration that sends, the service entrance of the configuration service device in the message is kept in the target configuration server record, and according to the service entrance of target configuration server to configuration Service unit 2001Send out forwarding service unit service entrance request message, comprise in this message: message kind, message initiator role, sign, sequence number at random; The message kind is for transmitting service unit service entrance request; Message initiator role is the service of transmitting.
Second configuration server 2022Receive second Forwarding server 5022After sending forwarding service unit service entrance request message, if message initiator role is the service of transmitting, search and transmit the service log table, if the request promoter transmits in the service log table in this locality, temporary transient this request message of preserving, set up request message and sender of the message's corresponding relation according to sequence number at random, and send to configuration service device 2001 according to the service entrance of local target configuration server and to transmit service unit service entrance request messages, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.
First configuration server 2021Receive second Configuration server 2022Behind the forwarding service unit service entrance request message of transmitting, if message initiator role is the service of transmitting, whether the sender who judges this message is in sub-configuration service record sheet, if the sender of this message is in sub-configuration service record sheet, then in forwarding service log table, search the record of the forwarding server in the network that NAT router ones 010 are controlled under this configuration server 2021, and return the successful respond message of the service entrance that comprises this forwarding server; If there is not relative recording, temporary transient this request message of preserving, set up request message and sender of the message's corresponding relation according to sequence number at random, and send to configuration service device 2001 according to the service entrance of local target configuration server and to transmit service unit service entrance request messages, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.(this example is to find first configuration server finds relevant forwarding server in this locality record)
● after second configuration server 2022 is received the successful respond message of first configuration server 2011,, transmit this successful respond message to second forwarding server 5022 according to message and sender of the message's corresponding relation.
● after second forwarding server 5022 is received this successful respond message, send out registration message, comprise in this message: message kind, message initiator role, service entrance, sign according to the service entrance of the forwarding service unit that comprises in the message; The message kind is registration; Message initiator role is the service of transmitting.
First forwarding server 5021After receiving registration message,, the service entrance of the forwarding server that comprises in this registration message is recorded in son transmits in the service list if the message initiator role is the service of transmitting, and to this second Forwarding server 5022Return the message that succeeds in registration.
Figure 33 illustrates under the service entrance situation of configuration server employing broadcast mode broadcast configuration service unit in the network of affiliated NAT control, and forwarding server adds Communications network system 10Flow chart.This flow chart is Communications network system 10Constitute the example of transmitting service unit.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.First Forwarding server 5021With first Configuration server 2021Be deployed in the network of a NAT router one 010 control.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, second Forwarding server 5022With second Configuration server 2022Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
Second configuration server 2022In the network of affiliated NAT router one 020 control, adopt broadcast mode broadcasting to comprise the message of the service entrance of configuration service device.
● second Forwarding server 5022In the network of affiliated NAT router one 020 control, monitor the broadcast of the service entrance that has the configuration service device.
● second Forwarding server 5022After in the network of affiliated NAT control, receiving the service entrance message that comprises the configuration service device, second Forwarding server 5022This service entrance is made as the service entrance of target configuration server, and according to message content to Configuration service device 2001Send out registration message, message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the service of transmitting.
Second configuration server 2022After receiving registration message, if the message initiator role is the service of transmitting.According to the network address of the forwarding server that carries in the source address of the packet of carrying registration message and the registration message, judge that the applicant is whether after NAT, if second Transmit service Device 5022Not after NAT, second Configuration server 2022The service entrance of second forwarding server 5021 that comprises in this request message is recorded in transmits in the service list,
Figure A20081011578200751
Figure A20081011578200752
Second forwarding server 5022Receive second Configuration server 2022After the response message that succeeds in registration that sends, the service entrance of the configuration service device in the message is kept in the target configuration server record, and according to the service entrance of target configuration server to configuration Service unit 2001Send out forwarding service unit service entrance request message, comprise in this message: message kind, message initiator role, sign, sequence number at random; The message kind is for transmitting service unit service entrance request; Message initiator role is the service of transmitting.。
Second configuration server 2022Receive second Forwarding server 5022After sending forwarding service unit service entrance request message, if message initiator role is the service of transmitting, search and transmit the service log table, if the request promoter transmits in the service log table in this locality, temporary transient this request message of preserving, set up request message and sender of the message's corresponding relation according to sequence number at random, and send to configuration service device 2001 according to the service entrance of local target configuration server and to transmit service unit service entrance request messages, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.
First configuration server 2021Receive second Configuration server 2022Behind the forwarding service unit service entrance request message of transmitting, if message initiator role is a configuration service, whether the sender who judges this message is in sub-configuration service record sheet, if the sender of this message is in sub-configuration service record sheet, then search the record of transmitting the forwarding server in the network of searching NAT router one 010 control under this configuration server 2021 in the service log table, and returning the successful respond message of the service entrance that comprises this forwarding server; If there is not relative recording, temporary transient this request message of preserving, set up request message and sender of the message's corresponding relation according to sequence number at random, and send to configuration service device 2001 according to the service entrance of local target configuration server and to transmit service unit service entrance request messages, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.(this example is to find first configuration server finds relevant forwarding server in this locality record)
● after second configuration server 2022 is received the successful respond message of first configuration server 2011,, transmit this successful respond message to second forwarding server 5022 according to message and sender of the message's corresponding relation.
● after second forwarding server 5022 is received this response message, send out registration message according to the service entrance of the forwarding service unit that comprises in the message, message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the service of transmitting.
First forwarding server 5021After receiving registration message, if message initiator role is the service of transmitting, the network address of the index service inlet of the forwarding server that comprises in this registration message, sign, corresponding NAT router and port are recorded in son transmit in the service list, and to this second Forwarding server 5022Return the message that succeeds in registration.
In addition, second configuration server, 2022 usefulness, first configuration server agency can be replaced, first configuration server agency will broadcasting comprise the message that configuration service device service entrance is first configuration server, 2021 service entrances in the network of affiliated NAT router control.Second forwarding server 5022 will be sent out registration message and transmit service unit service entrance request message to the service entrance of first configuration server 2021.First configuration server 2021 will write down second forwarding server 5022.Simultaneously since second forwarding server with first configuration server 2021 not in the network of same NAT router control, first configuration server 2021 returns the service entrance of first forwarding server 5021 to second forwarding server 5022.Second forwarding server will use this service entrance to register to transmitting service unit.
In addition, for the forwarding server of striding layer registration, configuration server can't determine whether it follows the principle of registration successively.This forwarding server is denoted as insincere in the forwarding service log table of configuration service unit.The configuration service device need be indicated the incredible character in this service entrance when forwarding service unit service entrance requestor provides this type of service entrance.The service entrance of whether using this forwarding service unit by requestor decision.Under the situation of using the agency, the configuration server of being acted on behalf of will be made as distrust to the server of striding layer registration, and no longer the server of striding layer registration be returned failed message.The network address and the port of while record identification, service entrance, corresponding NAT device.
Figure 34 illustrates to dispose first configuration and first forwarding server is acted on behalf of under the situation in the networking of second level NAT router control, and when this agency adopted broadcast mode broadcast configuration server and transmits the service entrance of service, forwarding server added Communications network system 10Flow chart.This flow chart is Communication network Network system 10Constitute the example of transmitting service unit.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.First Forwarding server 2021With first Configuration server 5021Be deployed in the network of a NAT router one 010 control.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, second Forwarding server 5022With first Configuration and first is transmitted Server agent 2052Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
First configuration and first forwarding server agency 2052In the network of affiliated NAT router one 020 control, adopt broadcast mode broadcasting to comprise the message of the service entrance of configuration service device and forwarding service unit;
● second Forwarding server 5022In the network of affiliated NAT router one 020 control, monitor the broadcast that has the configuration service device and transmit the service entrance of service unit inlet.
● second Forwarding server 5022After in the network of affiliated NAT control, receiving the service entrance message that comprises configuration service device and forwarding service unit, second Forwarding server 5022The service entrance of configuration service device is made as the service entrance of target configuration server, the service entrance of transmitting service unit is made as the service entrance of target forwarding server, and according to the service entrance of target configuration server to Configuration service device 2001Send out registration message, comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the service of transmitting.
First configuration server 2022After receiving registration message,,, judge that the applicant is whether after NAT, if second according to the network address of the forwarding server that carries in the source address of the packet of carrying registration message and the registration message if the message initiator role is the service of transmitting Transmit clothes Affair device 5022After NAT, first Configuration server 2022The network address of the service entrance of second forwarding server 5021 that comprises in this registration message, sign and corresponding NAT device and port be recorded in transmit in the service list, and be designated as insincere,
Figure A20081011578200771
● second Forwarding server 5022Service entrance according to the target forwarding server is served to transmitting Dress Put 5001Send out registration message, comprise in this message: message kind, message initiator role, service entrance, sign; The message kind is registration; Message initiator role is the service of transmitting.
First forwarding server 5021After receiving registration message,, the service entrance of the forwarding server that comprises in this registration message is recorded in son transmits in the service list if the message initiator role is the service of transmitting, and to this second Forwarding server 5022Return the message that succeeds in registration.
Figure 34 has not only described a kind of flow process of using broadcast mode, registering by the agency, if it has illustrated that also forwarding server knows the service entrance of the configuration server in the direct upper strata, a kind of mode of layer registration is striden in the configuration service support.
In addition, proxy mode not only is used to stride a layer environment, also can be used for by the network of NAT router control under the acting server, to enlarge by the coverage of acting server.
In addition, Figure 30-Figure 34 has described in the multi-layer NAT networking, and forwarding server is pressed the cascaded topology relation of the network of NAT router control and successively disposed.In the time can not successively disposing forwarding server by the cascaded topology relation of the network of NAT router control, do not dispose forwarding server in the network of certain grade of NAT router control for example, configuration service unit in the network of this NAT router control is the record of the forwarding server in the network of this NAT control not, after this configuration service unit received to transmit service unit service entrance request message, this request message can be transmitted to the configuration service device according to the service entrance of local target configuration service unit in the configuration service unit.
In addition, Figure 30-Figure 34 describes Transmit service unit 5001By Configuration service device 2001Add Communications network system 10 Transmitting service unit 5001 also can be by pre-in multi-level NAT network Call Agent service unit 4001, the registration service device of disposing 3001 finished earlierAdd Communication network system System 10Work. Call Agent service unit 4001, the registration Service unit 3001Shared configuration Service Device 2001Function.
In addition, the basic forwardingService unit if there is not the log-on message of top forwarding service unit in the configuration service device, promptly transmitted service unit and is not activated to the configuration service device registration time in the system 10, the configuration service device will be refused The basic forwardingThe register requirement that service unit proposes.
In addition, transmit service unit and can use for reference the method that configuration server adds to the configuration service device registration, initiate register requirement by the known index service inlet to top forwarding service unit, service unit is transmitted in the registration adding under the guiding of transmitting service unit.
In addition, the developer is not difficult on the basis of the information interaction flow process that Figure 13-Figure 16 provides, and with reference to the example of figure 17-Figure 34, makes up in multi-level NAT network and transmits service unit.
3.5 registration service device using method
3.5.1 obtain the service entrance of registration service device
Communications network system 10In Registration service device 3001For Call Agent service unit 4001, commentaries on classics Send out service unit 5001User profile is provided.Form Call Agent service unit 4001, the service of forwarding are adorned Put 5001The service entrance that Call Agent service unit, forwarding service unit need obtain the registration service device by the configuration service device.Figure 35-Figure 39 lists that the Call Agent service unit obtains the method for registration service device service entrance under the multiple situation.Top configuration server is the example of top configuration service unit among Figure 35-Figure 39; Configuration server is the example of basic configuration service unit; Top call proxy server is the example of top Call Agent service unit; Call proxy server is the example of basic call agency service unit; Top registrar is the example of top forwarding service unit; Registrar is the basic example of transmitting service unit.The default character that is requested target in the successful respond message is credible.
Transmitting mode and Call Agent service unit in the Call Agent service unit that forwarding service unit in the service unit obtains the service entrance of registration service device, to obtain the mode of service entrance of registration service device identical.Flow process that can Figure 35-Figure 39 is the basis, realizes that the forwarding service unit of transmitting in the service unit obtains the flow process of the service entrance of registration service device.
The flow process of obtaining registrar for call proxy server among the NAT of the second level by the configuration service device shown in Figure 35.This flow chart is In the communications network system 10Obtain the example of registration service device service entrance.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.The 2nd NAT router one 020 inserts the network of a NAT route 1010 devices control, Call Agent Server 4021, configuration server 2021, registrar 2021Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.Ignore the flow process that call proxy server obtains the service entrance of configuration service device 2001 among this figure.The flow process that call proxy server obtains configuration service device 2001 can be obtained the service entrance flow process of configuration service device with reference to the registration service unit.
call proxy server 4021 is according to the service entrance of the target configuration server of this locality storage, send out the service entrance request message of registration service device to the configuration service device, comprise in this message: message kind, message initiator role, sign, sequence number at random, request target credibility; The message kind is the service entrance request of registration service device; Message initiator role is the Call Agent service; Please.The request target credibility comprises: credible, arbitrarily; The request target credibility defaults to arbitrarily.
configuration server 2021 is received the service entrance request message of the registration service device of 4021 of call servers, if message initiator role is the Call Agent service, judge that according to the network address of the call proxy server that carries in the source address of the packet of carrying this request message and this request message this call proxy server is whether after NAT; If not after NAT, configuration server is sought the registrar in the network of NAT router control under this configuration server in local registrar list; If have qualified registrar to exist in the registrar of this configuration server record tabulation, if credible the requirement to any, to the successful respond message of then returning the service entrance that comprises this registrar, comprise sequence number at random and service entrance credibility in the former message in the message to call proxy server 4021; If credible the requirement if this service entrance is credible, to successful respond message from the service entrance that comprises this registrar to call proxy server 4021 that then return, comprises sequence number at random and service entrance credibility in the former message for credible in the message.
● after call proxy server 4021 is received this successful respond message, extract service entrance and service entrance character in the message; If this service entrance character is not insincere, the service entrance of the registration service device that comprises in this message is kept in the target registered server record.
The flow process of obtaining registrar for call proxy server among the NAT of the second level by configuration server shown in Figure 36.This flow chart is In the communications network system 10Obtain the example of registration service device service entrance.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, Configuration server 2021Be deployed in the network of a NAT router one 010 control; Call proxy server 4021, registration clothes Affair device 3021Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。Ignore the flow process that call proxy server obtains the service entrance of configuration service device 2001 among this figure.The flow process that call proxy server obtains configuration service device 2001 can be obtained the service entrance flow process of configuration service device with reference to the registration service unit.
call proxy server 4021 is according to the service entrance of the target configuration server of this locality storage, send out the service entrance request message of registration service device to the configuration service device, comprise in this message: message kind, message initiator role, sign, sequence number at random, request target credibility; The message kind is the service entrance request of registration service device; Message initiator role is the Call Agent service; Please.The request target credibility comprises: credible, arbitrarily; The request target credibility defaults to arbitrarily.
● configuration server 2021 is received the service entrance request message of the registration service device of 4021 of call servers, if message initiator role is the Call Agent service, judge that according to the network address of the call proxy server that carries in the source address of the packet of carrying this request message and this request message this call proxy server is whether after NAT; If after NAT, configuration server requires to seek in this background registrar record tabulation and these call proxy server 4021 affiliated corresponding registrar of NAT router according to credibility; If credible requirement is credible then ignores insincere record; If credibility is any, there is qualified registrar 3021 to exist in the tabulation of the registrar of this configuration server record simultaneously, then return the successful respond message of the service entrance that comprises this registrar 3021 to call proxy server, simultaneously in response message, indicate this service entrance credibility, comprise the sequence number at random in the former message in the message; If feasibility is credible; If there is not qualified registrar to exist, then in registration service record tabulation, search the registrar record in the network that the NAT router is controlled under this configuration server, if record is arranged, then return the successful respond message of the service entrance that comprises this registrar 3021 to call proxy server, simultaneously in response message, indicate this service entrance credibility, comprise the sequence number at random in the former message in the message; If there is not record,, comprise the sequence number at random of former request message in the message to then returning the failure response message to call proxy server 4021.
● after call proxy server 4021 is received this successful respond message, extract service entrance and service entrance character in the message; If this service entrance character is insincere, temporarily preserve this response message, send out probe message to this service entrance, remove type of message in this message, draw together sequence number at random, the type of message position is surveyed; And the setting stand-by period, wait acknowledge message.If this service entrance character is not for being insincere, the service entrance of the registration service device that comprises in this message is kept in the target registered server record
● after registrar 3021 is received probe message, return success response message, comprise the sequence number at random in the probe message in the message according to the source address and the source port of the packet of carrying this message.
If ● call proxy server 4021 is received response detected message in setting-up time, and then the service entrance of the registration service device that comprises in the response message that will temporarily preserve is kept in the target registered server record; If call proxy server 4021 is not received response detected message in setting-up time, then send out the service entrance request message of registration service device to the configuration service device, comprise in this message: message kind, message initiator role, sign, sequence number at random, request target credibility; The message kind is the service entrance request of registration service device; Message initiator role is the Call Agent service; Please.The request target credibility comprises: credible, arbitrarily; Ask target credible for credible.
If credible requirement is arranged in the various resource request messages, configuration server is after being checked through the non-sub-configuration server of sender of the message, whether the detect-message sender is after NAT, return the interior requested resource of network of the affiliated NAT router control of this configuration server, if not relevant requested resource in the network of NAT router control under this configuration server, then according to local target configuration server record, transmit resource request message to the configuration service device, comprise the sign of this configuration server simultaneously in this request message.
In addition, consider the stability of a system, simplify the operation of configuration server, configuration server is when receiving the various resource request message that non-sub-configuration server is sent out, return the interior requested resource of network of the affiliated NAT router control of this configuration server, if the requested resource of not being correlated with in the network of NAT router control under this configuration server, then to noting down according to local target configuration server, transmit resource request message to the configuration service device, comprise the sign of this configuration server simultaneously in the request message.
The flow process of obtaining registrar for call proxy server among the NAT of the second level by configuration server shown in Figure 37.This flow chart is In the communications network system 10Obtain the example of registration service device service entrance.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control.First configuration server 2021, first registrar 3021 are deployed in the network of a NAT router one 010 control.Second Call proxy server 4021, second configuration server 2022Be deployed in the network of the 2nd NAT router one 020 control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.Ignore the flow process that call proxy server obtains the service entrance of configuration service device 2001 among this figure.The flow process that call proxy server obtains configuration service device 2001 can be obtained the service entrance flow process of configuration service device with reference to the registration service unit.
● second call proxy server 4021 is according to the service entrance of the target configuration server of this locality storage, send out the service entrance request message of registration service device to the configuration service device, comprise in this message: message kind, message initiator role, sign, sequence number at random, request target credibility; The message kind is the service entrance request of registration service device; Message initiator role is the Call Agent service; Please.The request target credibility comprises: credible, arbitrarily; The request target credibility defaults to arbitrarily.
second configuration server 2022 is received the service entrance request message of the registration service device of 4021 of second call servers, if message initiator role is the Call Agent service, judge that according to the network address of the call proxy server that carries in the source address of the packet of carrying this request message and this request message this call proxy server is whether after NAT; If not after NAT, configuration server is sought the registrar in the network of NAT router control under this configuration server in local registrar list; If do not have qualified registrar to exist in the registrar of this configuration server record tabulation, the temporary transient service entrance request message of preserving the registration service device of 4021 of second call servers, set up message and sender of the message's corresponding relation according to sequence number at random, and transmit the service entrance request message of the registration service device of sending out to the configuration service device according to the service entrance of local target configuration server, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.
First configuration server 2021Receive second Configuration server 2022Behind the registration service device service entrance request message of transmitting, if message initiator role is a configuration service, whether the sender who judges this message is in sub-configuration service record sheet, if the sender of this message is in sub-configuration service record sheet, then in the registration service record sheet, search the record of the registrar in the network of NAT router ones 010 control under this configuration server 2021, and return the successful respond message of the service entrance that comprises this registrar, before echo reply message, check credible requirement; If there is not relative recording, temporary transient this request message of preserving, set up message and sender of the message's corresponding relation according to sequence number at random, and send registration service device service entrance request messages to configuration service device 2001 according to the service entrance of local target configuration server, message initiator role changes configuration service into, sign changes this configuration server sign into, and other guide is constant in the message.(this example is to find first configuration server finds relevant registrar in this locality record)
● after second configuration server 2022 is received the successful respond message of first configuration server 2021,, transmit this successful respond message to second call proxy server 4021 according to message and sender of the message's corresponding relation.
● after second call proxy server 4021 receives that this should successfully answer message, extract service entrance and service entrance character in the message; If this service entrance character is credible, the service entrance of the registration service device that comprises in this message is kept in the target registered server record.
The flow process of obtaining registrar for call proxy server among the NAT of the second level by configuration server shown in Figure 38.This flow chart is In the communications network system 10Obtain the example of registration service device service entrance.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control. The Call Agent service Device 4021, configuration server 2021, registrar 3021Be deployed in the network of the 2nd NAT router one 020 control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。Ignore the flow process that call proxy server obtains the service entrance of configuration service device 2001 among this figure.The flow process that call proxy server obtains configuration service device 2001 can be obtained the service entrance flow process of configuration service device with reference to the registration service unit.
call proxy server 4021 is monitored the broadcast of the service entrance that comprises the registration service device in the network of affiliated NAT router control.
configuration server 2021 broadcasting in the network of affiliated NAT router control comprises the message of the service entrance of registration service device.
● after call proxy server 4021 is received the message of the service entrance that comprises the registration service device, the service entrance of the registration service device that comprises in this message is kept in the target registered server record.
Configuration server 2021 uses at this server agent as the registration service device as shown in figure 38.Configuration service not only can be acted on behalf of the registrar of this layer, can also be according to being provided the agency by the content in the proxy information storage list for other service equipment.
The flow process of obtaining registrar for call proxy server among the NAT of the second level by configuration server shown in Figure 39.This flow chart is In the communications network system 10Obtain the example of registration service device service entrance.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, The Call Agent service Device 4021, registrar 3021Be deployed in the network of the 2nd NAT router one 020 control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。Ignore the flow process that call proxy server obtains the service entrance of configuration service device 2001 among this figure.The flow process that call proxy server obtains configuration service device 2001 can be obtained the service entrance flow process of configuration service device with reference to the registration service unit.
call proxy server 4021 is monitored the broadcast of the service entrance that comprises the registration service device in the network of affiliated NAT router control.
registrar 3021 broadcasting in the network of affiliated NAT router control comprises the message of the service entrance of registration service device.
● after call proxy server 4021 is received the message of the service entrance that comprises the registration service device, the service entrance of the registration service device that comprises in this message is kept in the target registered server record.
Form the forwarding service unit of transmitting service unit, can obtain the mode of the service entrance of registration service device, obtain the service entrance of registration service device according to the Call Agent service unit that Figure 36-Figure 39 describes.
3.5.2 the registration service device provides service for Call Agent service unit, forwarding service unit
Figure 40-Figure 44 provides the flow process of user profile storage, inquiry service for Call Agent service unit, forwarding service unit for the registration service device.Figure 40-Figure 44 has also reflected the request of Call Agent service unit forwarding customer call simultaneously, transmits service unit and distributes basic procedures such as transmitting service unit for the user.Top call proxy server is the example of top Call Agent service unit among Figure 40-Figure 44; Call proxy server is the example of basic call agency service unit; Top forwarding server is the example of top forwarding service unit; Forwarding server is the basic example of transmitting service unit; Top registrar is the example of top forwarding service unit; Registrar is the basic example of transmitting service unit; System terminal is the example of system terminal equipment.
Figure 40 illustrates system terminal by the flow process of Call Agent service unit to registration service device login user information.This flow chart is In the communications network system 10The registration service device provides the user to register the example of login service.This flow process had both been described the process of user's login, had also described the reciprocal process between Call Agent service unit and registration service device.Call proxy server is equivalent to the agency of registrar in the process of user login, for system terminal is transmitted message.Top registrar 3011 and top call proxy server 4011 are deployed in the global network, and the global network network address is arranged.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.First Call Agent Server 4021With first registration Server 3021Be deployed in the network of a NAT router one 010 control.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, second Call Agent Clothes Affair device 4022With second registration Server 3022Be deployed in the network of the 2nd NAT router one 020 control.System terminal 6001 is deployed in the network of the 2nd NAT router control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
system terminal 6001 is initialized as not login with user registration state, service entrance according to the target call agent service device of this locality storage, to second call proxy server, 4022 hair family log messages, terminal class message identifier, type of message, user or application identities, login point, sequence number at random; The login point is the network address, port, maybe can be converted into the sign of the network address, port; Type of message is login.
● after second call proxy server 4022 is received user's log messages, if be terminal class message identifier, judge whether this message is sent by sub-call proxy server, if not being sub-call proxy server, this message do not send, generate " Call Agent user log messages " according to log messages, comprise in the message: terminal class message identifier, sign, point of user login, system terminal device access point, information such as sequence number at random; If log messages is transmitted by NAT device, the network ground of the NAT device that the sign that the network address and the port of this service unit maybe can be converted into the network address and port is made as point of user login, will pass through and port are made as sign in system terminal device access point, the former message, sequence number is constant at random; If log messages is not transmitted by NAT device, the sign in the former message, login point, constant, the system terminal device access point of sequence number is sky at random; According to the target registered server record of this locality storage to 3001 in registration service device " Call Agent user log messages "; According to the sequence number at random in the log messages with carry source address and the sender that source port is set up message and the corresponding relation of message of the packet of this message, registration service device response status is made as dont answer, is used for the login response message that the forwarded call agency replys; If this service unit is not top server, make up a new log messages based on the log messages that receives, the sign that new login message maybe can be converted into the network address and port with the service entrance of this unit is replaced the login point in the former log messages, and other guide is constant in its former message; Target call acting server record according to this locality storage is transmitted the new user's registration message that makes up to Call Agent service unit 4001.
● after second registrar 3022 is received " the Call Agent user log messages " of second call proxy server, 4022 forwardings, record identification, login point, system terminal device access point, and send the Call Agent service unit of this message with the relative position of this registration service unit, and relevant network address and port; And return success response message to the Call Agent service unit that sends this message, comprise the sequence number at random of " Call Agent user log messages " in the message.
● second call proxy server 4022 receive 3022 of second registrar comprise the response message that succeeds in registration after, if receiving the service unit of response message is top Call Agent service unit, find the log messages of record and sender of the message's relation to return success the login response message according to random number to the log messages sender, comprise former random number in the message, and the deletion relative recording; If receiving the service unit of response message is not top Call Agent service unit, find the log messages of record and sender of the message's relation according to random number, the response status in this relation is made as the successful respond condition of information of receiving the registration service device;
● after first call proxy server 4021 is received user's log messages, if be terminal class message identifier, judge whether this message is sent by sub-call proxy server, the unit sends if this log messages is sub-call service, generate " Call Agent user log messages " according to log messages, comprise in the message: sign, point of user login, system terminal device access point, information such as sequence number at random, the sign that the network address and the port of this service unit maybe can be converted into the network address and port is made as point of user login, to carry the source address of packet of this message and source port as system terminal device access point, the sign in the former message, sequence number is constant at random; According to the target registered server record of this locality storage to 3001 in registration service device " Call Agent user log messages "; According to the sequence number at random in the log messages with carry source address and the sender that source port is set up message and the corresponding relation of message of the packet of this message, registration service device response status is made as dont answer, is used for the login response message that the forwarded call agency replys; If this service unit is not top server, make up a new log messages based on the log messages that receives, the sign that new login message maybe can be converted into the network address and port with the service entrance of this unit is replaced the login point in the former log messages, and other guide is constant in its former message; Target call acting server record according to this locality storage is transmitted the new user's registration message that makes up to Call Agent service unit 4001;
● after first registrar 3021 is received " the Call Agent user log messages " of 4021 of first call proxy servers, record identification, login point, system terminal device access point, and send the Call Agent service unit of this message with the relative position of this registration service unit, and relevant network address and port; And return success response message to the Call Agent service unit that sends this message, comprise the sequence number at random of " Call Agent user log messages " in the message.
● first call proxy server 4021 receive 3021 of first registrar comprise the response message that succeeds in registration after, if receiving the service unit of response message is top Call Agent service unit, find the log messages of record and sender of the message's relation to return success the login response message according to random number to the log messages sender, comprise former random number in the message, and the deletion relative recording; If receiving the service unit of response message is not top Call Agent service unit, find the log messages of record and sender of the message's relation according to random number, the response status in this relation is made as the successful respond condition of information of receiving the registration service device;
● after top call proxy server 4011 is received user's log messages, if be terminal class message identifier, judge whether this message is sent by sub-call proxy server, the unit sends if this log messages is sub-call service, generate " Call Agent user log messages " according to log messages, comprise in the message: sign, point of user login, system terminal device access point, information such as sequence number at random, the sign that the network address and the port of this service unit maybe can be converted into the network address and port is made as point of user login, to carry the source address of packet of this message and source port as system terminal device access point, the sign in the former message, sequence number is constant at random; According to the target registered server record of this locality storage to 3001 in registration service device " Call Agent user log messages "; According to the sequence number at random in the log messages with carry source address and the sender that source port is set up message and the corresponding relation of message of the packet of this message, registration service device response status is made as dont answer, is used for the login response message that the forwarded call agency replys;
● after top registrar 3011 is received " the Call Agent user log messages " of 4011 of top call proxy servers, record identification, login point, system terminal device access point, and send the Call Agent service unit of this message with the relative position of this registration service unit, and relevant network address and port; And return success response message to the Call Agent service unit that sends this message, comprise the sequence number at random of " Call Agent user log messages " in the message.
● top call proxy server 4011 receive 3011 of top registrar comprise the response message that succeeds in registration after, if receiving the service unit of response message is top Call Agent service unit, find the log messages of record and sender of the message's relation to return success the login response message according to random number to the log messages sender, comprise former random number in the message, and the deletion relative recording;
● the Call Agent service unit receives that the Call Agent clothes put 4001 successful login response message, if the response status in the log messages of random number correspondence and sender of the message's the relation is for receiving the state of the response message of registration service device, transmit this successful respond message according to this relation to the sender of the message, if the response status in the log messages of random number correspondence and sender of the message's the relation is not for receiving the successful respond condition of information of registration service device, send out failure login response message according to this relation to the sender of the message, comprise former random number in the message; If this Call Agent service unit is received the Call Agent clothes and puts 4001 failure login response message that find the log messages of record and sender of the message's relation according to random number, the log messages of should failing is transmitted to corresponding sender of the message.
● after system terminal equipment is received the response message of Call Agent service unit, if be successful log messages, then the native system terminal equipment is made as oneself login, if be the failure log messages, system terminal equipment is made as current logging status and is made as not login.
Figure 40 has illustrated the basic procedure of user by the system terminal registration.Under the more weak situation of safety requirements, think that everyone can both use native system by login.In order to improve the fail safe of system, when logining, the user can verify user's legitimacy, proved the service of having the right this user using system providing.
The purpose that system terminal is transmitted user's registration information by the Call Agent service unit to the registration service device is not only an information of registered users in the registration service device, in registration process, stay simultaneously find this user use the mark information of system terminal, it is found when being called out to be convenient to the user.
In addition, if system terminal is known the service entrance of registration service device, also can be to service unit hair family log-on message, registered user; And the service of Call Agent service unit to registration service device registration user use the mark information of system terminal.
In addition, in order to keep the presence of user in system, system terminal is regularly transmitted user's registration information by the Call Agent service unit to the registration service device.If the registration service device is not received user's registration message in regularly, this User Status will be set as off-line state.
In addition, when system terminal equipment moves, need to transmit user's registration information to the registration service device, with the correctness of the system terminal positional information that guarantees to write down in the registration service device by the Call Agent service unit.
Figure 41 illustrates the Call Agent service unit and transmits the process of calling subscriber's call request according to the called user information that the registration service device provides.This flow chart is In the communications network system 10The registration service device provides the example of user's registration information inquiry.This flow process had both been described call proxy server and had been transmitted the process of customer call request, had also described the reciprocal process between Call Agent service unit and registration service device.This flow chart is Communications network system 10Middle call proxy server is transmitted the example of customer call request.Top registrar 3011 and top call proxy server 4011 are deployed in the global network, and the global network network address is arranged.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.First Call Agent Server 4021With first registration Server 3021Be deployed in the network of a NAT router one 010 control.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, second Call Agent Server 4022With second registration Server 3022Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
● after second call proxy server 4022 receives that the calling subscriber calls out called subscriber's request, if be terminal class message identifier, processing logic according to this call proxy server, the target registered server record that second call proxy server 4022 is preserved according to this locality, give out a contract for a project to the registration service device and to contain " the Call Agent user registration point point of user login search request message " of CSI called subscriber identification, comprise in the message: terminal class message identifier, type of message, CSI called subscriber identification, the sign of this call proxy server.
● after second registrar 3022 is received " the Call Agent user registration point point of user login search request message " that comprises CSI called subscriber identification, if be terminal class message identifier, searching the log-on message whether this called subscriber is arranged in local user's information record sheet exists, if find this called subscriber's log-on message, according to relative registered location and mapping address, differentiate the targeted customer user's registration point point of user login correspondence the network address whether and " Call Agent point of user login search request message " sender's the network address belong to the network or the global network of same NAT device control, if the network or the global network of same NAT device control, whether the network address of differentiating user's registration point point of user login correspondence of targeted customer belongs to the request message sender, if the network address of user's registration point point of user login correspondence belongs to the request message sender, return the successful respond message of the system terminal device access point that comprises the targeted customer to the request message sender, if if the network address of user's registration point point of user login correspondence belongs to not in the request message sender, return the successful respond message of the point of user login that comprises the targeted customer to the request message sender, network or global network if not same NAT device control, return the targeted customer to the request message sender and identify non-existent continuation query messages, if do not find this called subscriber's log-on message, judge whether this cell server is top registrar, if be top registrar, return failed message, if be not top registrar, return the targeted customer to the request message sender and identify non-existent continuation query messages.(this example is for continuing inquiry)
● second call proxy server 4022 is judged type of message after receiving the response message that second registrar 3022 returns: if receive the response message that continues inquiry, second call proxy server 4022 makes up a new call request message based on the message of user call request that receives, in the new call request message except that the content that comprises the call request message of receiving, carry the source address and the source port of the packet of this message when also comprising the receipt of call request message, and the sign of this Call Agent service unit, according to the target call acting server record that preserve this locality, transmit user's call request to the target call agent service device; If receive the successful respond information that comprises the customer contact mode, this Call Agent service unit is according to the content of this message, obtain corresponding network address and port, make up a new call request message based on the message of user call request that receives simultaneously, in the new call request message except that the content that comprises the call request message of receiving, carry the source address and the source port of the packet of this message when also comprising the receipt of call request message, and the sign of this call proxy server 4022, send out the calling part user call request message to obtaining the network address and port then; If receive the response message of failure response message, then return the response message of call failure to the sender of the message.(this example is for continuing inquiry)
● after first call proxy server 4021 is received customer call called subscriber's request, if be terminal class message identifier, processing logic according to this call proxy server, the target registered server record that first call proxy server 4021 is preserved according to this locality, give out a contract for a project to the registration service device and to contain " the Call Agent user registration point point of user login search request message " of CSI called subscriber identification, comprise in the message: terminal class message identifier, type of message, CSI called subscriber identification, the sign of this call proxy server.
● after first registrar 3021 is received " Call Agent user registration point point of user login search request message ", if be terminal class message identifier, searching the log-on message whether this called subscriber is arranged in local user's information record sheet exists, if find this called subscriber's log-on message, according to relative registered location and mapping address, differentiate the targeted customer user's registration point point of user login correspondence the network address whether and " Call Agent point of user login search request message " sender's the network address belong to the network or the global network of same NAT device control, if the network or the global network of same NAT device control, whether the network address of differentiating user's registration point point of user login correspondence of targeted customer belongs to the request message sender, if the network address of user's registration point point of user login correspondence belongs to the request message sender, return the successful respond message of the system terminal device access point that comprises the targeted customer to the request message sender, if if the network address of user's registration point point of user login correspondence belongs to not in the request message sender, return the successful respond message of the point of user login that comprises the targeted customer to the request message sender, network or global network if not same NAT device control, return the targeted customer to the request message sender and identify non-existent continuation query messages, if do not find this called subscriber's log-on message, judge whether this cell server is top registrar, if be top registrar, return failed message, if be not top registrar, return the targeted customer to the request message sender and identify non-existent continuation query messages.(this example is for continuing inquiry)
● first call proxy server 4021 is judged type of message after receiving the response message that first registrar 3021 returns: if receive the response message that continues inquiry, first call proxy server 4021 makes up a new call request message based on the message of user call request that receives, in the new call request message except that the content that comprises the call request message of receiving, carry the source address and the source port of the packet of this message when also comprising the receipt of call request message, and the sign of this Call Agent service unit, according to the target call acting server record that preserve this locality, transmit user's call request to the target call agent service device; If receive the successful respond information that comprises the customer contact mode, this Call Agent service unit is according to the content of this message, obtain corresponding network address and port, make up a new call request message based on the message of user call request that receives simultaneously, in the new call request message except that the content that comprises the call request message of receiving, carry the source address and the source port of the packet of this message when also comprising the receipt of call request message, and the sign of this call proxy server 4021, send out the calling part user call request message to obtaining the network address and port then; If receive the response message of failure response message, then return the response message of call failure to the sender of the message.(this example is for continuing inquiry)
● after top call proxy server 4011 is received call request, if be terminal class message identifier, processing logic according to this call proxy server, the target registered server record that top call proxy server 4011 is preserved according to this locality, " Call Agent user registration point point of user login search request message ", comprise in the message: terminal class message identifier, type of message, CSI called subscriber identification, the sign of this call proxy server.
● after top registrar 3011 is received " Call Agent user registration point point of user login search request message ", if be terminal class message identifier, searching the log-on message whether this called subscriber is arranged in local user's information record sheet exists, if find this called subscriber's log-on message, according to relative registered location and mapping address, differentiate the targeted customer user's registration point point of user login correspondence the network address whether and " Call Agent point of user login search request message " sender's the network address belong to the network or the global network of same NAT device control, if the network or the global network of same NAT device control, whether the network address of differentiating user's registration point point of user login correspondence of targeted customer belongs to the request message sender, if the network address of user's registration point point of user login correspondence belongs to the request message sender, return the successful respond message of the system terminal device access point that comprises the targeted customer to the request message sender, if if the network address of user's registration point point of user login correspondence belongs to not in the request message sender, return the successful respond message of the point of user login that comprises the targeted customer to the request message sender, network or global network if not same NAT device control, return the targeted customer to the request message sender and identify non-existent continuation query messages, if do not find this called subscriber's log-on message, judge whether this cell server is top registrar, if be top registrar, return failed message, if be not top registrar, return the targeted customer to the request message sender and identify non-existent continuation query messages.(this example is the log-on message that finds the called subscriber)
● top call proxy server 4011 is judged type of message after receiving the response message of returning: top call proxy server 4011 makes up a new call request message based on the message of user call request that receives, in the new call request message except that the content that comprises the call request message of receiving, carry the source address and the source port of the packet of this message when also comprising the receipt of call request message, and the sign of this Call Agent service unit, according to the target call acting server record that preserve this locality, transmit user's call request to the target call agent service device; If receive the successful respond information that comprises the customer contact mode, this Call Agent service unit is according to the content of this message, obtain corresponding network address and port, make up a new call request message based on the message of user call request that receives simultaneously, in the new call request message except that the content that comprises the call request message of receiving, carry the source address and the source port of the packet of this message when also comprising the receipt of call request message, and the sign of this call proxy server 4011, send out the calling part user call request message to obtaining the network address and port then; If receive the response message of failure response message, then return the response message of call failure to the sender of the message.;
Figure 42 illustrates the Call Agent service unit and transmits the process of calling subscriber's call request according to the called user information that the registration service device provides.This flow chart is In the communications network system 10The registration service device provides the example of user's registration information inquiry.This flow process body had both been described call proxy server and had been transmitted the process of customer call request, had also described the reciprocal process between Call Agent service unit and registration service device.This flow chart is Communications network system 10Middle call proxy server is transmitted the example of customer call request.Top registrar 3011 and top call proxy server 4011 are deployed in the global network, and the global network network address is arranged.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.First Call Agent Server 4021With first registration Server 3021Be deployed in the network of a NAT router one 010 control.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, second Call Agent Server 4022With second registration Server 3022Be deployed in the network of the 2nd NAT router one 020 control.Called subscriber's system terminal deployed with devices is in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.The process of Figure 42 is the inverse process of Figure 41, i.e. the process of the call server of calling procedure from top call server to lower floor's network.Its implementation is identical with Figure 41, and registration service device phase call proxy server returns searches success message.
Figure 43 illustrates the user and distributes the flow process of transmitting service function unit to transmitting the service unit request.This flow chart is In the communications network system 10Transmit service unit and distribute the example of transmitting service function unit.This flow process body had both been described system terminal and had been distributed the process of transmitting service function unit to transmitting the service unit request, had also described the reciprocal process of transmitting between service unit and registration service device.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.First transmits Server 5021With first registration Server 3021Be deployed in the network of a NAT router one 010 control.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, and system terminal 6002, second is transmitted Server 5022With second registration Server 3022Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.
system terminal 6002 is according to the index service inlet of the target forwarding server of this locality storage, send out forwarding service assignment request message to transmitting service unit, comprise terminal class message identifier in the request message, the message kind, requesting party, target side user ID, sequence number at random;
● after second forwarding server 5022 is received the forwarding service assignment request message of 6002 of system terminals, if be terminal class message identifier, processing logic according to forwarding server, second forwarding server 5022 is according to the record of the target registered server of this locality preservation, giving out a contract for a project to the registration service device contains terminal class message identifier, message kind, the management area inquiry request message of sequence number, requesting party, target side user ID at random, and sets up message and sender of the message's relation according to sequence number at random.
second registrar 3022 is received and is comprised calling subscriber identification, the mark understanding of CSI called subscriber identification and local call acting server, behind the inquiry request message of management area, if be terminal class message identifier, according to message content, search request side, whether the target side user ID two users login in this registrar, if two users do not exist in this registrar user registration simultaneously, if this registrar is not top registrar, then return and continue to search response message, the sequence number at random that comprises former message in replying, if, this registrar is top registrar, then return the failure response message, comprise the sequence number at random of former message in replying; If two users exist in user's registration in registrar simultaneously, judge that forwarding server is whether after NAT, if after NAT, then return and continue to search response message, the sequence number at random that comprises former message in replying, if not after NAT, otherwise return success response message, comprise the sequence number at random of former message in replying.
second forwarding server 5022 is classified to response message after receiving response message, if successful respond message, second forwarding server 5022 distributes the work service inlet of the service of forwarding for the user, and, return and comprise the message of transmitting service unit work service inlet to transmitting the service assignment request sender of the message according to message and sender of the message's relation; If continue to search response message, transmit service log according to the target that preserve this locality, send forwarding service assignment request message to transmitting service unit.(this example is for continuing to search response message)
● after first forwarding server 5021 is received user's the forwarding service assignment request message of transmission of 5022 of second forwarding servers, if be terminal class message identifier, processing logic according to forwarding server, second forwarding server 5022 is according to the record of the target registered server of this locality preservation, giving out a contract for a project to the registration service device contains terminal class message identifier, message kind, the management area inquiry request message of sequence number, requesting party, target side user ID at random, and sets up message and sender of the message's relation according to sequence number at random.
first registrar 3021 is received and is comprised calling subscriber identification, the mark understanding of CSI called subscriber identification and local call acting server, behind the inquiry request message of management area, if be terminal class message identifier, according to message content, search request side, whether the target side user ID two users login in this registrar, if two users do not exist in this registrar user registration simultaneously, if this registrar is not top registrar, then return and continue to search response message, the sequence number at random that comprises former message in replying, if, this registrar is top registrar, then return the failure response message, comprise the sequence number at random of former message in replying; If two users exist in user's registration in registrar simultaneously, judge that forwarding server is whether after NAT, if after NAT, then return and continue to search response message, the sequence number at random that comprises former message in replying, if not after NAT, otherwise return success response message, comprise the sequence number at random of former message in replying.(this example is a successful respond message)
first forwarding server 5021 is classified to response message after receiving response message, if successful respond message, first forwarding server 5021 distributes the work service inlet of the service of forwarding for the user, and according to message and sender of the message's relation, return the successful respond message that comprises forwarding service unit work service inlet to transmitting the service assignment request sender of the message, comprise the sequence number at random of former message in the message; If continue to search response message, transmit the service record according to the target that preserve this locality, send to the forwarding service unit and transmit service assignment request message.(this example is transmitted the services service entrance for distributing)
● after second forwarding server 5022 is received the successful respond message that comprises this forwarding service unit work service inlet that first forwarding server 5021 returns, and, transmit these successful respond message to system terminal 6002 according to message and sender of the message's relation.
● after system terminal is received the response message that comprises this forwarding service unit work service inlet that second forwarding server 5022 returns, should transmit the service unit work service according to response message and enter the mouth and be made as current forwarding services and enter the mouth.
In order to improve the fail safe of system, the legitimacy to the user when the user registers verifies, proved the service of having the right this user using system providing.
3.6 obtaining of the service entrance of Call Agent service unit and sign
3.6.1 the service entrance of Call Agent service unit obtains
Figure 44 illustrates system terminal equipment obtains the service entrance of call service device by the configuration service device flow process.This flow chart is Communications network system 10The construction system terminal obtains the service entrance example of Call Agent service unit.Top configuration server and configuration server are the example of top configuration service functional unit and configuration service functional unit, and call proxy server is the example of Call Agent service function unit, and system terminal is the example of system terminal equipment.Top configuration server 2011 is deployed in the global network, and the global network network address is arranged.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.First Configuration server 2021Be deployed in the network of a NAT router one 010 control.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, second Call Agent Server 4021, Second Configuration server 2022, system terminal 6002Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
system terminal 6002 can be by the service entrance of the configuration service device in the network of NAT router control under the known index service inlet inquiry acquisition system terminal of configuration service device 2001, and send out the service entrance request message of Call Agent service unit to this configuration service device, comprise in this message: the sign of message kind, terminal class message identifier, user or application, sequence number at random, credibility; The message kind is the service entrance request of Call Agent service unit; Credibility defaults to arbitrarily.
● after second configuration server 2022 is received the service entrance request message of Call Agent service unit, if be terminal class message identifier, judge that whether message is from sub-configuration server, if message is from sub-configuration server, in this configuration server Call Agent service record tabulation, search the call proxy server in the network that the NAT router is controlled under this configuration server, if have, return the successful respond message of the service entrance that comprises this call proxy server to the sender of the message, comprise the random sequence in the former request message in the message, credible, if do not have, judge whether this configuration server is top configuration server, if top configuration server, return the response message of failure, comprise the random sequence in the former request message in the message, credible, if not top configuration server, set up message and sender of the message's relation according to the sequence number at random in the request message, this configuration server is sent out the service entrance request message of Call Agent service unit to the configuration service device according to the record of local target configuration server; If message is not from sub-configuration server, judge that according to the network address of the system terminal that comprises in the source address of the packet of carrying this message and this message this system terminal is whether after NAT: if after NAT, whether have corresponding call proxy server, if credible the requirement to credible then ignore insincere record according to credibility if requiring in Call Agent service record tabulation, to search this NAT router; If credibility is arbitrarily, corresponding call proxy server is arranged simultaneously, then return the successful respond message of the service entrance that comprises this call proxy server to system terminal, comprise the random sequence in the former request message in the message, credibility; If there is not corresponding call proxy server, then in Call Agent service record tabulation, search the call proxy server record in the network that the NAT router is controlled under this configuration server, if record is arranged, then return the successful respond message of the service entrance that comprises this call proxy server to system terminal, comprise the random sequence in the former request message in the message, credibility; If there is not record, judge whether this configuration server is top configuration server, if top configuration server, return the response message of failure, if not top configuration server, set up message and sender of the message's relation according to the sequence number at random in the request message, this configuration server is sent out the service entrance request message of Call Agent service unit to the configuration service device according to the record of local target configuration server; If not after NAT, the call proxy server record in the network that the affiliated NAT router control of this configuration server is arranged in the tabulation is noted down in the Call Agent service of this configuration server simultaneously, then return the successful respond message of the service entrance that comprises this call proxy server to system terminal, comprise the random sequence in the former request message in the message, credibility; If under this configuration server, do not have call proxy server in the network of NAT router control, judge then whether this configuration server is top configuration server, if top configuration server, return the response message of failure, if not top configuration server, set up message and sender of the message's relation according to the sequence number at random in the request message, this configuration server is sent out the service entrance request message of Call Agent service unit to the configuration service device according to the record of local target configuration server; According to message and sender of the message's relation, registrar can be transmitted response message.
● after system terminal 6002 is received response message, judge whether this message is successful respond message, if extract the credibility of service entrance, if credible, the service entrance of the Call Agent service unit that comprises in this message is made as the service entrance of current Call Agent service unit; If it is insincere, then send out reachability test message to call proxy server, and set the stand-by period, if in timing, receive feedback message, then the service entrance of the Call Agent service unit that comprises in this successful respond message is made as the service entrance of current Call Agent service unit; If in timing, do not receive feedback message, then, indicate the credible service entrance of request in the message to make a call the again service entrance request message of agency service of configuration service device.
If credible requirement is arranged in the various resource request messages, configuration server is after being checked through the non-sub-configuration server of sender of the message, whether the detect-message sender is after NAT, return the interior requested resource of network of the affiliated NAT router control of this configuration server, if not relevant requested resource in the network of NAT router control under this configuration server, then to noting down according to local target configuration server, transmit resource request message to the configuration service device, comprise the sign of this configuration server simultaneously in this request message.
In addition, consider the stability of a system, simplify the operation of configuration server, configuration server is when receiving the various resource request message that non-sub-configuration server is sent out, return the interior requested resource of network of the affiliated NAT router control of this configuration server, if the requested resource of not being correlated with in the network of NAT router control under this configuration server, then to noting down according to local target configuration server, transmit resource request message to the configuration service device, comprise the sign of this configuration server simultaneously in the request message.
Because call proxy server and configuration server may not be deployed in the network of same NAT router control simultaneously, system terminal equipment can obtain the method for registration service device service entrance with reference to call proxy server, forwarding server by the method for the service entrance of configuration service device acquisition Call Agent service unit.
Figure 45 illustrates the service entrance of the call proxy server broadcast ﹠ call agent service device in the network of affiliated NAT router control in the Call Agent service unit.This flow chart is Communications network system 10The construction system terminal obtains the service entrance example of Call Agent service unit.System terminal is the example of system terminal equipment, and call proxy server is the example of Call Agent service function unit.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, second Call Agent Server 4021Be deployed in the network of the 2nd NAT router one 020 control with system terminal 6002.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
system terminal 6002 is monitored the message that comprises Call Agent service unit service entrance in the network of affiliated NAT router one 020 control.
● the broadcasting in the network of affiliated NAT router one 020 control of second call proxy server 4021 comprises the message of Call Agent service unit service entrance
● after system terminal 6002 is received the message of the service entrance that comprises the Call Agent service unit, the service entrance of the Call Agent service unit that comprises in this message is made as the service entrance of current Call Agent service.
Figure 46 illustrates the service entrance of the call proxy server agency broadcast ﹠ call acting server in the network of affiliated NAT router control in the Call Agent service unit.This flow chart is Communications network system 10The construction system terminal obtains the service entrance example of Call Agent service unit.System terminal is the example of system terminal equipment, and call proxy server is the example of Call Agent service function unit.The Call Agent service broker is Call Agent service unit agency's a example.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control.First Call Agent Server 4021In the network of a NAT router one 010 control.First Call Agent Server agent 4042Be deployed in the network of the 2nd NAT router one 020 control with system terminal 6002.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
system terminal 6002 is monitored the message that comprises Call Agent service unit service entrance in the network of affiliated NAT router one 020 control.
● broadcast in the network of affiliated NAT router one 020 control as the service entrance of Call Agent service unit the service entrance of first call proxy server agency, 4042 call proxy servers 4021 that will be acted on behalf of.
● after system terminal 6002 is received the message of the service entrance that comprises the Call Agent service unit, the service entrance of the Call Agent service unit that comprises in this message is made as the service entrance of current Call Agent service.
3.7 transmit obtaining of service unit service entrance
Figure 47 illustrates system terminal equipment obtains the call service device by the configuration service device service entrance.This flow chart is Communications network system 10The construction system terminal obtains to transmit the service entrance example of service unit.Top configuration server and configuration server are the example of top configuration service functional unit and configuration service functional unit, and forwarding server is for transmitting the example of service function unit, and system terminal is the example of system terminal equipment.Top configuration server 2011 is deployed in the global network, and the global network network address is arranged.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.First Configuration server 2021Be deployed in the network of a NAT router one 010 control.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, and second transmits service Device 5021, Second Configuration server 2022, system terminal 6002Be deployed in the network of the 2nd NAT router one 020 control.Networked hosts, networked devices in the network of second NAT device 1020 control can be visited networked hosts, the networked devices in the network of root NAT device control.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
system terminal 6002 can be by the service entrance of the configuration service device in the network of NAT router control under the known index service inlet inquiry acquisition system terminal of configuration service device 2001, and send out the service entrance request message of transmitting service unit to this configuration service device, comprise in this message: the sign of message kind, terminal class message identifier, user or application, sequence number at random, credibility; The message kind is for transmitting service unit service entrance request; Credibility defaults to arbitrarily.
● after second configuration server 2022 is received the service entrance request message of transmitting service unit, if be terminal class message identifier, judge that whether message is from sub-configuration server, if message is from sub-configuration server, transmit the forwarding server of searching in the service record tabulation in the network that the NAT router is controlled under this configuration server at this configuration server, if have, return the successful respond message of the service entrance that comprises this forwarding server to the sender of the message, comprise the random sequence in the former request message in the message, credible, if do not have, judge whether this configuration server is top configuration server, if top configuration server, return the response message of failure, comprise the random sequence in the former request message in the message, credible, if not top configuration server, set up message and sender of the message's relation according to the sequence number at random in the request message, this configuration server is sent out the service entrance request message of transmitting service unit according to the record of local target configuration server to the configuration service device; If message is not from sub-configuration server, judge that according to the network address of the system terminal that comprises in the source address of the packet of carrying this message and this message this system terminal is whether after NAT: if after NAT, whether have corresponding forwarding server, if credible the requirement to credible then ignore insincere record according to credibility if requiring in transmitting service record tabulation, to search this NAT router; If credibility is arbitrarily, corresponding forwarding server is arranged simultaneously, then return the successful respond message of the service entrance that comprises this forwarding server to system terminal, comprise the random sequence in the former request message in the message, credibility; If there is not corresponding forwarding server, then in transmitting service record tabulation, search the forwarding server record in the network that the NAT router is controlled under this configuration server, if record is arranged, then in returning the successful respond message message of the service entrance that comprises this forwarding server, system terminal comprises the random sequence in the former request message, credibility; If there is not record, judge whether this configuration server is top configuration server, if top configuration server, return the response message of failure, comprise the random sequence in the former request message in the message, if not top configuration server, set up message and sender of the message's relation according to the sequence number at random in the request message, this configuration server is sent out the service entrance request message of transmitting service unit according to the record of local target configuration server to the configuration service device; If not after NAT, the forwarding server record in the network that the affiliated NAT router control of this configuration server is arranged in the tabulation is noted down in the forwarding of this configuration server service simultaneously, then return the successful respond message of the service entrance that comprises this forwarding server to system terminal, comprise the random sequence in the former request message in the message, credibility; If under this configuration server, do not have forwarding server in the network of NAT router control, judge then whether this configuration server is top configuration server, if top configuration server, return the response message of failure, comprise the random sequence in the former request message in the message, if not top configuration server, set up message and sender of the message's relation according to the sequence number at random in the request message, this configuration server is sent out the service entrance request message of transmitting service unit according to the record of local target configuration server to the configuration service device; According to message and sender of the message's relation, registrar can be transmitted response message.
● after system terminal 6002 is received response message, judge whether this message is successful respond message, if extract the credibility of service entrance, if credible, the service entrance of the forwarding service unit that comprises in this message is made as the service entrance of current Call Agent service unit; If it is insincere, then send out reachability test message to forwarding server, and set the stand-by period, if in timing, receive feedback message, then the service entrance of the forwarding service unit that comprises in this successful respond message is made as the service entrance of current forwarding service unit; If do not receive feedback message in timing, the service entrance request message of then initiating the service of transmitting to the configuration service device is again indicated the credible service entrance of request in the message.
If credible requirement is arranged in the various resource request messages, configuration server is after being checked through the non-sub-configuration server of sender of the message, whether the detect-message sender is after NAT, return the interior requested resource of network of the affiliated NAT router control of this configuration server, if not relevant requested resource in the network of NAT router control under this configuration server, then to noting down according to local target configuration server, transmit resource request message to the configuration service device, comprise the sign of this configuration server simultaneously in this request message.
In addition, consider the stability of a system, simplify the operation of configuration server, configuration server is when receiving the various resource request message that non-sub-configuration server is sent out, return the interior requested resource of network of the affiliated NAT router control of this configuration server, if the requested resource of not being correlated with in the network of NAT router control under this configuration server, then to noting down according to local target configuration server, transmit resource request message to the configuration service device, comprise the sign of this configuration server simultaneously in the request message.
Because forwarding server and configuration server may not be deployed in the network of same NAT router control simultaneously, system terminal equipment can obtain the method for registration service device service entrance with reference to forwarding server, forwarding server by the method for the service entrance of configuration service device acquisition forwarding service unit.
Figure 48 illustrates the forwarding server service entrance that service unit is transmitted in broadcasting in the network of affiliated NAT router control of transmitting in the service unit.This flow chart is Communications network system 10The construction system terminal obtains to transmit the service entrance example of service unit.System terminal is the example of system terminal equipment, and forwarding server is for transmitting the example of service function unit.The one NAT router one 010 inserts global network, and this NAT router is a root NAT router.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control, and second transmits service Device 5021Be deployed in the network of the 2nd NAT router one 020 control with system terminal 6002.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
system terminal 6002 is monitored in the network of affiliated NAT router one 020 control and is comprised the message of transmitting the service unit service entrance.
● the broadcasting in the network of affiliated NAT router one 020 control of second forwarding server 5021 comprises the message of transmitting the service unit service entrance
● after system terminal 6002 is received the message that comprises the service entrance of transmitting service unit, the service entrance of the forwarding service unit that comprises in this message is made as the service entrance of current forwarding service.
Figure 49 illustrates the service entrance of forwarding server agency broadcasting forwarding server in the network of affiliated NAT router control of transmitting in the service unit.This flow chart is Communications network system 10The construction system terminal obtains to transmit the service entrance example of service unit.System terminal is the example of system terminal equipment, and forwarding server is for transmitting the example of service function unit.Transmitting the service broker is that example the one NAT router one 010 of transmitting the service unit agency inserts global network, and this NAT router is a root NAT router.The 2nd NAT router one 020 inserts the network of a NAT router one 010 control.First transmits service Device 5021In the network of a NAT router one 010 control.First transmits service Device agency 5052Be deployed in the network of the 2nd NAT router one 020 control with system terminal 6002.The NAT router is made amendment to the packet source, ground or the destination address of process, ignores the description of NAT router to the data packet modification among this figure.。
system terminal 6002 is monitored in the network of affiliated NAT router one 020 control and is comprised the message of transmitting the service unit service entrance.
● broadcast in the network of affiliated NAT router one 020 control as the service entrance of transmitting service unit the service entrance of first forwarding server agency, 5052 forwarding servers 5021 that will be acted on behalf of.
● after system terminal 6002 is received the message that comprises the service entrance of transmitting service unit, the service entrance of the forwarding service unit that comprises in this message is made as the service entrance of current forwarding service.
4. system terminal device
System terminal equipment 6001 is client and server mode with the pattern of using between various service units in the communications network system 10.The service function that system terminal equipment 6001 uses service unit to provide by the service entrance of various service units.The system terminal device can pass through the request to the known service entrance of configuration service device, and obtains other service entrance of configuration service under the guiding of inking device.By the configuration service device, the service entrance that system terminal equipment can obtain the Call Agent service unit, transmit devices such as service unit.The system terminal device also can comprise the service entrance of the broadcast acquisition related service device of service unit service entrances such as configuration, Call Agent, forwarding by monitoring.
System terminal equipment 6001 is logined to communications network system 10 by the Call Agent service unit.System terminal equipment 6001 is behind the service entrance that obtains the Call Agent service unit, and giving out a contract for a project to the Call Agent service unit contains terminal class message identifier, type of message, user or application identities, login point, sequence number user log messages at random.The Call Agent service unit is after receiving user's log messages, and the flow process so that Figure 40 describes sends registration request from user to Call Agent service unit and registration service device.
Caller system terminal equipment 6010 is before communicating shown in Figure 12 [1], be parameter at first with calling part user mark understanding and callee's user ID, it is that the caller system terminal equipment distributes a caller system terminal equipment 6010 and callee's system terminal equipment 6020 all addressable work services inlets that service unit is transmitted in request, and the network address of this service entrance can be the global network address, also can be private network address.Flow process such as Figure 43.The caller system terminal equipment is made as the work service inlet with this service entrance.Caller system terminal equipment 6010 is according to this work service inlet, to transmitting this work service of service unit request the enter the mouth network address and the related port of the access NAT router of the network of NAT router control under the pairing forwarding server, this access NAT router is the caller system terminal equipment enters the mouth the shortest NAT path of pairing forwarding server to this work service on.
Simple Traversal of UDP Through Network Address Translators has defined a kind of static method, and under the help of the STUN server that is deployed in global network, the system terminal of NAT router back can obtain the network address and the port that is connected NAT router on the global network.Consider in the multi-layer NAT network environment problem of the feature that caller system terminal equipment and callee's system terminal equipment relative position are various.The forwarding service unit that communications network system 10 is deployed in the private network is supported Simple Traversal of UDP Through Network Address Translators, system terminal can Simple Traversal of UDP Through Network Address Translators be the basis, the work service inlet of the forwarding service unit that will obtain by said method is as the service entrance of the STUN server of stipulating in the Simple Traversal of UDP Through Network Address Translators, and system terminal can obtain the network address and port on the relevant NAT router according to the communication needs.
System terminal equipment 6010 is initiated communication by Call Agent service unit other user in communications network system 10 and is invited i.e. call request shown in Figure 12 [2].The Call Agent service unit is after receiving the calling part user call request message, flow process based on Figure 41, Figure 42 description, the Call Agent service unit is inquired about callee's user profile according to local target registered server record to the registration service device, and write down to Call Agent device hair family call request message according to local target call acting server under the guiding of registration service device, and this message of user call request sends to callee's system terminal device the most at last.In message of user call request, comprise the network address and port that the user is used to receive data, comprising the network address and the port of the network address on the network address on the forwarding server and port, the NAT router and port, operation caller system terminal equipment 6010.Transmit in the message of user call request process at call proxy server, comprise sign and the relevant network address and the port of each the Call Agent service unit that participates in forwarding in the message.
Session Initiation Protocol and a kind of framework that between calling part user and callee user, transmits information that derived from protocol definition thereof, wherein INVITE method and conveying flow thereof can be used for realizing that communications network system 10 system terminal equipment and Call Agent service unit send message of user call request to the Call Agent service unit, comprise information such as the network address that can be used for receiving data and port in this call request message.
Callee's system terminal equipment 6020 is behind the call request message of receiving the caller system terminal installation 6010 that the Call Agent service unit is sent out shown in Figure 12 [3], obtains the service entrance of transmitting on the service unit and the network address and the port on the relevant NAT device by the mode of Figure 12 [1].
Callee user confirms call request shown in Figure 12 [4], simultaneously caller system terminal equipment 6010 and callee's system terminal equipment 6020 consult to carry out the network address and the port of data interchange, and confirm the network address and the port that can carry out data communication.This step is divided by two parts and is formed: callee user's affirmation accept the call request of calling part user and provide callee's system terminal equipment all can be used for receiving the network address and the port of data; The caller system terminal equipment is surveyed callee's subscriber equipment and is used to receive the network address of data and the accessibility of port, and callee's system terminal equipment detection calling part user equipment is used to receive the network address of data and the accessibility of port.Above-mentioned two parts are the adjustment order as required.Confirm to test again accessibility earlier, or the test accessibility is confirmed again earlier, can be reached for the purpose that communicating pair is set up data path.
Confirmation unit is divided into: callee's system terminal equipment 6020 returns the affirmation message of callee's system terminal equipment 6020 receipt of call requests and the network address and the port that callee's system terminal device 6020 is used to receive data by the Call Agent service unit to caller system terminal equipment 6010, comprising the network address and the port of transmitting the network address on the network address on the service unit and port, the NAT router and port, operational system terminal equipment.
The 200OK message that defines in the Session Initiation Protocol can be used to realize the affirmation of communications network system 10 callee users to the calling part user call request, and comprises the network address and the port that callee's system terminal equipment 6020 is used to receive data in acknowledge message.
Accessibility partly is: caller system terminal equipment 6010 and callee's system terminal equipment 6020 survey in proper order according to certain and confirm that the other side's system terminal equipment provides be used to receive the network address of data and the accessibility of port.
The ICE protocol definition a kind of communicating pair survey the method for accessibility mutually, this method is to realize that the system terminal equipment room is surveyed and confirmed in the communications network system 10 can carry out one of the network address of data communication and method of port.
Caller system terminal equipment 6010 and callee's system terminal equipment 6020 are after confirming to carry out the network address and port of data communication shown in Figure 12 [5], caller system terminal equipment 6010 and 6020 of callee's system terminal equipment carry out data communication, transmit data such as literal, image, audio frequency, video
By mutual calling procedure between above-mentioned user's registration and user as seen, Session Initiation Protocol provides a framework that can satisfy call service device basic call function for communications network system 10.Session Initiation Protocol is one of the method that realizes the call service device basic call function of communications network system 10.Simple Traversal of UDP Through Network Address Translators and ICE agreement are respectively communications network system 10 and the network address and port are provided on a kind of NAT of obtaining router and have surveyed various be used to the receive network address of data and the methods of port.Above-mentioned two kinds of agreements are to realize obtaining in the communications network system 10 on the NAT router network address and port and survey various be used to receive one of the network address of data and methods of port.The developer is not difficult according to prompting of the present invention, proposes to realize other method of communications network system 10 functions.

Claims (10)

1. communications network system, this communications network system makes up under multi-layer NAT environment, and described multi-layer NAT environment has global network and at least one private network, and described private network inserts global network or other private network by address conversioning unit; Communication equipment in the described communications network system comprises top communication equipment that inserts global network and the basic communications device that inserts private network; Described communication equipment writes down the user login information of each system terminal equipment, and this user login information comprises the point of user login of system terminal equipment in the network that described communication equipment inserts and the system terminal device access point of system terminal equipment in the network that described communication equipment inserts of user's use that user ID, user use at least.
2. communications network system according to claim 1 is characterized in that, described communication equipment comprises configuration service device, registration service device, Call Agent service unit and transmits service unit;
Described configuration service device comprises top configuration service unit that inserts global network and the basic configuration service unit that inserts private network; Described configuration service device provides the index service inlet for the system terminal equipment of described registration service device, Call Agent service unit and forwarding service unit and communications network system;
Described registration service device comprises top registration service unit that inserts global network and the basic registration service unit that inserts private network; Described registration service device is used for the log-on message of storage system terminal equipment to described configuration service device registration, for described Call Agent service unit and forwarding service unit provide the user profile query function; Described family information-storing device can be the part of described registration service device;
Described Call Agent service unit comprises top Call Agent service unit that inserts global network and the basic call agency service unit that inserts private network; Described Call Agent service unit is used for the call request that receiving system terminal equipment is initiated to described configuration service device registration, and sends or the forwarded call request to system terminal;
Described forwarding service unit comprises top forwarding service unit that inserts global network and the basic forwarding service unit that inserts private network; Described forwarding service unit is used for setting up the data passes path between the system terminal or carry out data forwarding between main frame to described configuration service device registration.
3. communications network system according to claim 2, it is characterized in that described private network has the N layer, the private network of described direct access global network is the 1st a layer of private network, i layer private network is the direct upper layer network of i+1 layer private network, wherein 1≤i≤N-1; Described configuration service device and forwarding service unit all insert global network and the 1st to N-1 layer private network.
4. communications network system according to claim 2, it is characterized in that, described point of user login is the network address and the port of registration service unit or system terminal equipment, maybe can be converted into the network address of registration service unit or system terminal equipment and the sign of port; Described system terminal device access point maybe can be converted into the network address of NAT device and the sign of port for the network address and the port of NAT device.
5. the collocation method of the described communications network system of claim 2 comprises the steps:
1) the configuration service device is finished the initialization of configuration service by top configuration service unit starting, and the basic configuration service unit is participated in the configuration service of network communicating system by adding the configuration service device to the configuration service device registration.
2) described registration service device is by top registration service unit starting, and by finish the initialization of registration service to top configuration service unit (ONU) registration, the registration service of network communicating system is participated in by adding described registration service device to the configuration service device and to the registration service device registration in basic registration service unit.
3) described Call Agent service unit starts by top Call Agent service unit, and by finish the initialization of Call Agent service, the service entrance that obtains the registration service device simultaneously to top configuration service unit (ONU) registration; Basic call agency service unit passes through to add network communicating system to the configuration service device registration, and the service entrance that obtains the registration service device; By adding the Call Agent service unit, participate in the Call Agent service of network communicating system to the registration of Call Agent service unit; Described Call Agent service unit is by the service entrance storage or the inquiring user log-on message of registration service device.
4) described forwarding service unit starts by top forwarding service unit, and by finish the initialization of the service of forwarding, the service entrance that obtains the registration service device simultaneously to top configuration service unit (ONU) registration; The basic service unit of transmitting passes through to add network communicating system to the configuration service device registration, and the service entrance that obtains the registration service device; By adding the forwarding service unit, participate in the forwarding service of network communicating system to transmitting the service unit registration; Transmit the service entrance inquiring user log-on message of service unit by the registration service device.
6. utilize the described communications network system of claim 1 to carry out the method for user's login, it is characterized in that, comprise the steps:
1) system terminal equipment obtains the service entrance of basic call agency service unit, and this service entrance is the network address and port or the sign that can be converted into the network address and port;
2) system terminal equipment sends user's log messages according to the service entrance to basic call agency service unit, and described user's log messages is carried user login information; The described user login information of this step comprises user ID at least and uses the network address of described system terminal equipment and the point of user login of port definition;
3) described Call Agent service unit is stored to the registration service unit with user login information, and transmits user's log messages of carrying this user login information to the Call Agent service unit of upper layer network; The described user login information of this step comprises user ID at least;
4) operation after the Call Agent service unit of described upper layer network is received user's log messages of forwarding, repeating step 3) is forwarded to the top layer registration service unit that inserts global network until user's log messages.
7. the forwarding service providing method based on the described communications network system of claim 1 comprises the steps:
1) system terminal equipment obtains the service entrance of transmitting service unit by the configuration service device;
2) system terminal equipment obtains the network address from the forwarding of data service unit to callee user and the port that can transmit by the service entrance of described forwarding service unit.
8. method for building up based on data transmission channel between the system terminal of the described communications network system of claim 1 comprises following substep:
1) the caller system terminal equipment obtains the network address from the forwarding of data service unit to callee user and the port that can transmit by transmitting service unit;
2) the caller system terminal equipment sends call request message by the Call Agent service unit to callee's system terminal, comprises the network address of described forwarding service unit and port, calling party's point of user login and system terminal device access point in the message;
After callee's system terminal equipment is received the call request message of calling part user, by transmitting the work service inlet that service unit obtains the service unit that the service of forwarding can be provided, obtain the host address and the port of the access NAT router of the network that the NAT router is controlled under the server of this forwardings service unit of operation simultaneously;
3) after callee's system terminal equipment is received the call request message of calling part user, obtain the network address from the forwarding of data service unit to calling part user and the port that to transmit by transmitting service unit;
4) caller system terminal equipment and callee's system terminal equipment consult to carry out the host address and the port of data interchange, and confirm the host address and the port that can carry out data communication.
9. one kind based on communication means between the system terminal of application oriented communications network system under the described multi-layer NAT environment of claim 1, comprises the steps:
1) configuration service device, registration service device, Call Agent service unit and forwarding service unit carry out initialization;
2) system terminal equipment lands in communications network system;
3) Call Agent service in the registration back system terminal equipment calls communications network system and the service of transmitting are finished the system terminal equipment room and are set up data transmission channel, finish data communication to each other.
10. the communication equipment under the multi-layer NAT environment comprises top communication equipment that inserts global network and the basic communications device that inserts private network; Described communication equipment writes down the user login information of each system terminal equipment, and this user login information comprises the point of user login of system terminal equipment in the network that described communication equipment inserts and the system terminal device access point of system terminal equipment in the network that described communication equipment inserts of user's use that user ID, user use at least.
CN2008101157828A 2008-06-27 2008-06-27 Communication equipment, communication network system and communication method Active CN101321128B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101157828A CN101321128B (en) 2008-06-27 2008-06-27 Communication equipment, communication network system and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101157828A CN101321128B (en) 2008-06-27 2008-06-27 Communication equipment, communication network system and communication method

Publications (2)

Publication Number Publication Date
CN101321128A true CN101321128A (en) 2008-12-10
CN101321128B CN101321128B (en) 2011-10-05

Family

ID=40180964

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101157828A Active CN101321128B (en) 2008-06-27 2008-06-27 Communication equipment, communication network system and communication method

Country Status (1)

Country Link
CN (1) CN101321128B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025769A (en) * 2010-09-10 2011-04-20 香港城市大学深圳研究院 Access method of distributed internet
CN102255772A (en) * 2011-06-24 2011-11-23 杭州华三通信技术有限公司 Routing configuration method, service realization method and device for video monitoring system
CN102404227A (en) * 2011-12-09 2012-04-04 徐州医学院 Hierarchical routing system crossing internal network
CN103024095A (en) * 2012-11-23 2013-04-03 北京百度网讯科技有限公司 Data center system and data center service providing method
CN103329588A (en) * 2011-02-01 2013-09-25 瑞典爱立信有限公司 Method and apparatus for PCC support for scenarios with NAT/NAPT in the PDN-GW
CN104935484A (en) * 2015-05-28 2015-09-23 北京海尔广科数字技术有限公司 Method and apparatus for calling appliance service via gateways
CN109040334A (en) * 2018-07-12 2018-12-18 山东师范大学 Static Intranet mapping method, external network server, Intranet communication equipment and system
CN109743238A (en) * 2018-12-27 2019-05-10 北京天元特通信息技术股份有限公司 A kind of distributed access systems
CN111355800A (en) * 2020-02-28 2020-06-30 中国建设银行股份有限公司 Service processing method, device, equipment and storage medium
CN111917856A (en) * 2020-07-27 2020-11-10 平安证券股份有限公司 Mirror image file delivery method and related equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4988143B2 (en) * 2001-06-15 2012-08-01 アドバンスト・ネットワーク・テクノロジー・ラボラトリーズ・ピーティーイー・リミテッド Computer network

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025769B (en) * 2010-09-10 2013-07-17 香港城市大学深圳研究院 Access method of distributed internet
CN102025769A (en) * 2010-09-10 2011-04-20 香港城市大学深圳研究院 Access method of distributed internet
US9537821B2 (en) 2011-02-01 2017-01-03 Telefonaktiebolaget Lm Ericsson (Publ) Method for PCC support for scenarios with NAT in the GW
CN103329588A (en) * 2011-02-01 2013-09-25 瑞典爱立信有限公司 Method and apparatus for PCC support for scenarios with NAT/NAPT in the PDN-GW
CN102255772A (en) * 2011-06-24 2011-11-23 杭州华三通信技术有限公司 Routing configuration method, service realization method and device for video monitoring system
CN102255772B (en) * 2011-06-24 2014-12-03 浙江宇视科技有限公司 Routing configuration method, service realization method and device for video monitoring system
CN102404227A (en) * 2011-12-09 2012-04-04 徐州医学院 Hierarchical routing system crossing internal network
CN102404227B (en) * 2011-12-09 2014-06-18 徐州医学院 Hierarchical routing system crossing internal network
CN103024095A (en) * 2012-11-23 2013-04-03 北京百度网讯科技有限公司 Data center system and data center service providing method
CN104935484A (en) * 2015-05-28 2015-09-23 北京海尔广科数字技术有限公司 Method and apparatus for calling appliance service via gateways
CN109040334A (en) * 2018-07-12 2018-12-18 山东师范大学 Static Intranet mapping method, external network server, Intranet communication equipment and system
CN109743238A (en) * 2018-12-27 2019-05-10 北京天元特通信息技术股份有限公司 A kind of distributed access systems
CN109743238B (en) * 2018-12-27 2021-07-30 北京思信飞扬信息技术股份有限公司 Distributed access system
CN111355800A (en) * 2020-02-28 2020-06-30 中国建设银行股份有限公司 Service processing method, device, equipment and storage medium
CN111355800B (en) * 2020-02-28 2022-05-20 中国建设银行股份有限公司 Service processing method, device, equipment and storage medium
CN111917856A (en) * 2020-07-27 2020-11-10 平安证券股份有限公司 Mirror image file delivery method and related equipment

Also Published As

Publication number Publication date
CN101321128B (en) 2011-10-05

Similar Documents

Publication Publication Date Title
CN101321128B (en) Communication equipment, communication network system and communication method
Feng et al. HetNet: A flexible architecture for heterogeneous satellite-terrestrial networks
US8457014B2 (en) Method for configuring control tunnel and direct tunnel in IPv4 network-based IPv6 service providing system
Pan et al. MILSA: a mobility and multihoming supporting identifier locator split architecture for naming in the next generation internet
US7620033B2 (en) Method for optimal path selection in traversal of packets through network address translators
CN101595688B (en) Private virtual LAN spanning a public network for connection of arbitrary hosts
US20030137961A1 (en) Methods and apparatus for using a paging and location server to support session signaling
WO2003085847A2 (en) Methods and apparatus for supporting session registration messaging
CN102035900B (en) NAT (network address translation) traversal method, system and relay server by relay mode
EP1368947A1 (en) Addressing method and system for using an anycast address
US20120011230A1 (en) Utilizing a Gateway for the Assignment of Internet Protocol Addresses to Client Devices in a Shared Subset
Jung et al. IDNet: beyond all‐IP network
CN102104526A (en) Method, device and system for distributing and obtaining contents
US20100312898A1 (en) Publish/subscribe networks
CN101335681A (en) Method for acquiring thru resource, peer-to-peer network node and peer-to-peer network
KR20140045180A (en) Convergence network based on identification and communication method using it
Ford UIA: A global connectivity architecture for mobile personal devices
Trouva et al. Is the Internet an unfinished demo? Meet RINA!
Cuevas et al. A collaborative P2P scheme for NAT Traversal Server discovery based on topological information
CN101026632B (en) Internet based controllable business network system configuration network system
Tseng et al. Can: A context-aware NAT traversal scheme
Rodrigues et al. Zigzag: A middleware for service discovery in future internet
CN1878117B (en) Communication method of combining hierarchical structure peer-to-peer network and session initiation protocol
Braun et al. UP2P: a peer-to-peer overlay architecture for ubiquitous communications and networking
WO2008069504A1 (en) Method for configuring control tunnel and direct tunnel in ipv4 network-based ipv6 service providing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant