[go: up one dir, main page]

WO2006006683A1 - 中継情報設定方法、中継情報設定装置 - Google Patents

中継情報設定方法、中継情報設定装置 Download PDF

Info

Publication number
WO2006006683A1
WO2006006683A1 PCT/JP2005/013086 JP2005013086W WO2006006683A1 WO 2006006683 A1 WO2006006683 A1 WO 2006006683A1 JP 2005013086 W JP2005013086 W JP 2005013086W WO 2006006683 A1 WO2006006683 A1 WO 2006006683A1
Authority
WO
WIPO (PCT)
Prior art keywords
relay
relay information
communication terminal
information
setting
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.)
Ceased
Application number
PCT/JP2005/013086
Other languages
English (en)
French (fr)
Inventor
Moe Hamamoto
Takeshi Kokado
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to US11/632,060 priority Critical patent/US7675914B2/en
Priority to JP2006529159A priority patent/JP4610558B2/ja
Priority to CN200580019918XA priority patent/CN1969507B/zh
Publication of WO2006006683A1 publication Critical patent/WO2006006683A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/255Maintenance or indexing of mapping tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/40Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass for recovering from a failure of a protocol instance or entity, e.g. service redundancy protocols, protocol state redundancy or protocol service redirection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play

Definitions

  • Relay information setting method Relay information setting method, relay information setting apparatus
  • the present invention relates to a communication system in which communication between different communication terminals is relayed by a relay device.
  • NAT Network Addre ss Translator
  • IGD Internet Gateway
  • UPD Universal Plug and Play
  • UPnP is an architecture that automatically interconnects devices in the home and makes them work together. It is possible to request NAT configuration via the network for a router that implements the IGD function. By implementing this function in the application, when the application communicates, it is possible to automatically perform NAT settings on the router, and the user does not have to do NAT settings.
  • a communication terminal requests NAT setting from a router having an IGD function, for example, even if it overlaps with the NAT setting already set by another communication terminal, no error is returned and the NAT setting is performed. There is a router to overwrite. Therefore, there is a risk that one communication terminal may overwrite NAT settings of another communication terminal. Conversely, there is a risk that one communication terminal may overwrite its own NAT setting with another communication terminal. If such a thing happens, the communication terminal whose NAT setting has been overwritten will be unable to communicate during communication, so that secure communication can not be performed. Also, if you have set up packet filtering on the router, some communication Another communication terminal may overwrite the setting of the terminal.
  • the present invention protects relay information for controlling relaying when communication between a communication terminal on an external network and a communication terminal on a local network is relayed on the way, and the reliability of communication is ensured. And to improve safety.
  • the present invention 1 is included in relay information stored by a relay apparatus that connects a first network and a second network, and the second communication terminal on the second network is A relay information processing method is provided in which the first communication terminal sets and Z or deletes first relay information for relaying a packet transmitted to the first communication terminal on the first network. The method comprises the following steps.
  • the second relay information already set in the relay device is acquired, and it is determined whether the second relay information overlaps with the first relay information.
  • Relay information updating step in which the relay apparatus stores or deletes the first relay information in response to the setting request or the deletion request.
  • the relay information includes at least a first parameter including port number information of the relay apparatus on the second network, and communication on the first network.
  • a relay information transfer method is provided that includes a second parameter that is an address of a terminal and a third parameter that includes port number information of a communication terminal on the first network.
  • the relay device is configured to send the data arriving at the port identified by the first parameter to the port identified by the third parameter among the ports possessed by the communication terminal identified by the second parameter. Further includes a forwarding step to forward.
  • NAT information and packet filtering information As relay information, It is possible to safely set or delete NAT information that is set in a relay device that connects a global network such as the Internet and a low power network such as a LAN. Also,
  • Invention 3 provides a relay information processing method according to Invention 2, wherein the duplication determination step includes the following steps.
  • the first communication terminal transmits a duplicate confirmation request to the relay device.
  • the relay device sends second relay information to the first communication terminal in response to the duplicate confirmation request. Sending a duplicate acknowledgment including:
  • the duplication confirmation request includes any of port numbers for identifying a port that the relay device has on the second network. Further, the duplicate confirmation response includes second relay information on the port number designated by the duplicate confirmation request.
  • Invention 4 is characterized in that, in the duplication determination step, a second parameter included in the second relay information in the duplication confirmation response received by the first communication terminal by the first communication terminal is received.
  • Providing a relay information processing method further including:
  • a fifth invention of the present invention provides the relay information processing method according to the third invention, wherein the relay information further includes, as a parameter, an identifier uniquely identifying the first communication terminal.
  • the first communication terminal transmits a setting request for the relay information to the relay apparatus.
  • the first communication terminal may include: the identifier included in the second relay information in the duplication confirmation response received from the relay device; and the identifier included in the first relay information And the step of determining that the first relay information and the second relay information overlap if the two do not match.
  • a sixth aspect of the present invention is according to the fifth aspect, wherein the duplication determination step further includes the following steps performed by the first communication terminal.
  • the first communication terminal is 1
  • a relay information processing method is provided which further includes the step of resetting relay information to change to third relay information.
  • the duplication determination step, the request step, and the relay information update step are performed on the third relay information.
  • relay information can be set in a range without the relay information of communication terminals being overwritten on each other.
  • Invention 8 is characterized in that the first relay information is set when it is judged that the first relay information and the second relay information overlap in the overlap judgment step.
  • the relay information processing method further includes a connection confirmation step in which the first communication terminal confirms whether or not the other communication terminal connected on the first network is connected.
  • a connection confirmation step in which the first communication terminal confirms whether or not the other communication terminal connected on the first network is connected.
  • the request step when it is confirmed in the connection confirmation step that the other communication terminal is not in connection, a setting request for the first relay information or a request for setting the first relay information.
  • the first communication device transmits the deletion request to the relay device.
  • the first relay information to be set overlaps the relay information of another communication terminal, the first relay information is overwritten and set as it is, unless another communication terminal is connected to the first network. This is because it does not interfere with the communication of other communication terminals. Conversely, if the first relay information to be deleted overlaps with the relay information of another communication terminal, the first relay information is deleted as it is unless another communication terminal is connected to the first network. Similarly, it does not interfere with the communication of other communication terminals.
  • the deletion request of the second relay information overlapping with the first relay information is set. And the first communication device transmits to the relay device.
  • duplicate relay information is found to set the first relay information, the relay information is deleted and the force first relay information is registered. This is to prevent both data from coexistence and malfunction in data relay, and to make the communication more secure and reliable. Also, if duplicate relay information is found in an attempt to delete the first relay information, the relay information is deleted because it is not used. This is because it does not interfere with the communication of other communication terminals.
  • the present invention 10 is according to Invention 8, in the connection confirmation step, when it is confirmed that another communication terminal is connected, the first communication terminal is the first relay.
  • a relay information processing method is provided which further includes a resetting step of changing information into third relay information. In this method, the duplication determination step, the connection confirmation step, the request step, and the relay information update step are executed for the third relay information.
  • Another communication terminal is using relay information overlapping with the first relay information to be set.
  • the present invention 11 provides the relay information processing method according to the first aspect, wherein the duplication determination step includes the following steps.
  • the communication terminal on the second network transmits the test data addressed to the first communication terminal.
  • the first communication terminal determines whether there is the second relay information overlapping with the first relay information, in the presence / absence determination step.
  • the data received by the external communication terminal is delivered to the first communication terminal, it can be determined that there is no overlapping relay information. On the other hand, when it is determined that there is a force, it can be judged that there is duplicate relay information.
  • the determination result has the advantage of high reliability, since the presence or absence of overlapping relay information can be confirmed based on the result of actual data communication.
  • Invention 12 according to Invention 1, wherein, in the request step, when the first communication terminal transmits a setting request of the first relay information, the request step transmits the deletion request of the first relay information.
  • a relay information processing method is provided, further comprising a storage step in which the first communication terminal stores the first relay information.
  • the first communication terminal determines whether the relay information is already set in the relay device. It can be easily determined.
  • the present invention 13 relates to the invention 12, wherein the duplication determination step stores the relay information overlapping with the first relay information stored in the storage step, the relay apparatus stores the relay information.
  • a relay information processing method is provided, including the step of the first communication terminal further determining whether or not it is.
  • the first communication terminal can communicate by reusing the first relay information as it is.
  • the relay information is set for the first communication terminal.
  • a relay information processing method is provided, including the step of the first communication terminal further determining whether or not the power is on.
  • the first communication terminal will Information can be reused as it is. For example, when the relay information includes a port number, it is possible to prevent the waste of ports by reusing the relay information.
  • Invention 15 is according to Invention 1, wherein the first communication terminal asks the relay device whether or not the relay information can be set or deleted from the relay device prior to the request step.
  • a relay information processing method is provided which further includes a relay question and a setting step.
  • the first communication terminal transmits the setting request or the deletion request to the relay apparatus based on the response about whether or not the relay inquiry is possible.
  • the present invention 16 is executed by a relay device that connects a first network and a second network, a first communication terminal on the first network, and a second communication terminal on the second network.
  • the method comprises the following steps.
  • the security and reliability of communication relay can be enhanced by actually confirming whether data is relayed according to the relay information.
  • the first communication terminal determines whether the first relay information is effectively set in the relay apparatus and it is determined in the setting determination step that
  • the relay information processing method further includes a deletion request step of requesting the relay device to delete the first relay information.
  • the first communication terminal when it is determined in the setting determination step that the first relay information is effectively set in the relay device, the first communication terminal is:
  • the relay information processing method may further include the step of resetting the first relay information or third relay information different from the first relay information in the relay device.
  • Invention 19 of the present invention is the relay information processing method according to Invention 16 further including a control step of periodically repeating the test data transmission step, the test data determination step, and the setting determination step. I will provide a.
  • the present invention 20 is executed by a relay device that connects a first network and a second network, a first communication terminal on the first network, and a second communication terminal on the second network.
  • the method comprises the following steps.
  • the first communication terminal requests the relay device to delete the first relay information.
  • a test data transmission step in which the second communication terminal transmits test data addressed to the first communication terminal to the relay device after the deletion step.
  • the success of the deletion can be confirmed by actually confirming whether the data is no longer relayed, and the security and reliability of the communication relay can be enhanced.
  • the present invention 21 connects a first communication terminal on a first network, a second communication terminal on a second network, and the first network and the second network, and is based on relay information.
  • a relay information processing method executed by a relay device for relaying communication between the first and second networks is provided. The method comprises the following steps.
  • the relay information includes a first parameter including a port number possessed by the relay apparatus on the second network, and an address of a communication terminal on the first network.
  • a relay information processing protocol is provided which includes a second parameter and a third parameter which is a port number of a communication terminal on the first network. This method identifies the data that has reached the port specified by the port number of the relay apparatus and the relay apparatus by using the third parameter among the ports possessed by the communication terminal specified by the second parameter. The method further includes a forwarding step of forwarding to the selected port.
  • Invention 23 according to Invention 21, wherein the setting determination step includes the following steps: Relay information processing method.
  • the duplication confirmation request includes any of port numbers for specifying a port that the relay device has on the second network. Further, the duplicate confirmation response includes second relay information on the port number designated in the duplicate confirmation request.
  • the invention 24 is the invention 23, in the setting determination step, the first communication terminal is a second parameter included in the second relay information in the duplication confirmation response received from the relay apparatus. And the second parameter included in the first relay information, and when the both do not match, it is determined that the first relay information and the second relay information overlap. Provide a way.
  • the present invention 25 provides the relay information processing method according to the invention 23, wherein the relay information further includes, as a parameter, an identifier uniquely identifying the first communication terminal.
  • the request step transmits, to the relay apparatus, a request for setting the relay information including an identifier uniquely identifying the first communication terminal.
  • the setting determination step the identifier included in the second relay information in the duplication confirmation response received by the first communication terminal from the relay device, and the identifier included in the first relay information
  • the method further includes the step of comparing with a child and determining that the first relay information and the second relay information overlap if both do not match.
  • the present invention 26 provides the relay information processing method according to the invention 25 above, wherein the setting determination step includes the following steps performed by the first communication terminal.
  • the invention 27 is included in relay information stored by a relay device that connects a first network and a second network, and a first communication on the first network from a second communication device on the second network.
  • a communication apparatus is provided which sets and Z or deletes, to the relay apparatus, first relay information for relaying a packet to be transmitted to the apparatus. This device has the following means.
  • the second relay information already set in the relay device is acquired, and it is determined whether the second relay information overlaps with the first relay information. Duplicate judgment means to judge,
  • the invention 28 relates to the invention 27, in which the relay information includes at least a first parameter including port number information held by the relay device on the second network, and a communication device on the first network. And a third parameter including a port number of the communication apparatus on the first network.
  • An invention 29 according to the invention 28 is characterized in that the duplication judging means comprises means for transmitting a duplication confirmation request to the relay device, and, in response to the duplication confirmation request, including duplication relay response information. And means for receiving from the relay device.
  • the duplication confirmation request includes any one of port numbers identifying ports possessed by the relay device on the second network.
  • the duplication judging means includes the second relay information about the port number designated by the duplication confirmation request. The second parameter included in the second relay information in the duplicate acknowledgment and the second parameter included in the first relay information are compared, and if the two do not match, the first parameter is compared.
  • the communication apparatus further includes means for determining that the relay information and the second relay information overlap.
  • An invention 31 provides the communication apparatus according to the invention 29, wherein the relay information further includes an identifier for specifying the first communication terminal as a parameter.
  • the request means transmits, to the relay apparatus, a transmission request for the relay information including an identifier for identifying the first communication terminal.
  • the duplication judging means compares the identifier included in the second relay information in the duplication confirmation response received from the relay apparatus with the identifier included in the first relay information,
  • the information processing apparatus further includes means for judging that the first relay information and the second relay information overlap if they do not match.
  • An invention 32 provides the communication device according to the invention 31, wherein the duplication determining means further includes the following means.
  • Identifier comparison means for comparing the identifier included in the second relay information with the identifier included in the first relay information
  • first determining means for determining that the first relay information and the second relay information do not overlap when the identifier comparing means determines that both the identifiers match
  • the identifier comparing means A parameter comparison unit that compares a second parameter included in the first relay information with a second parameter included in the second relay information, when it is determined that the two identifiers do not match;
  • a third determination unit configured to determine that the first relay information and the second relay information overlap if it is determined that the second parameters of the two do not match.
  • the stability and reliability of communication between the external network and the local network can be improved.
  • FIG. 1 is an overall configuration diagram of a communication relay system according to a first embodiment of the present invention.
  • FIG. 3 An explanatory diagram showing an example of the flow of duplication setting prevention processing
  • Figure 4 (a) An example of NAT information setting parameters (AddPortMapping) (b) An example of response parameters when NAT information exists (c) An example of response parameters when NAT information does not exist ( d) Specific example of NAT information setting parameter
  • FIG. 6 An explanatory diagram showing an example of the flow of setting success confirmation processing
  • FIG. 8 An explanatory diagram showing an example of the flow of setting periodic confirmation processing
  • FIG. 9 An explanatory diagram showing an example of the flow of setting deletion processing
  • FIG. 11 An explanatory diagram showing an example of the flow of deletion confirmation processing
  • FIG. 13 An explanatory view showing an example of the flow of a part of the duplicate setting prevention process according to the second embodiment
  • FIG. 14 An explanatory view showing an example of the flow of setting periodical confirmation processing according to the third embodiment
  • FIG. 15 An explanatory diagram showing an example of the flow of processing performed by the confirmation determination unit when the determination of step S 206 in FIG. 3 is performed using an ID.
  • FIG. 1 is a diagram showing an entire configuration of a communication relay system according to a first embodiment of the present invention.
  • the gateway 110 has a global IP address (hereinafter may be simply referred to as IPG) 110.
  • An external server 200 and an external terminal 201 are connected to the global network 01.
  • a plurality of home terminals 100 and 101 are connected to the local network 0 02.
  • the home terminal 100 has a local IP address (hereinafter may be simply referred to as IPL) 100, and the home terminal 101 has a local IP address IPL101.
  • the in-home terminals 100 and 101 can communicate with the out-of-home server 200 and the out-of-home terminal 201 via the gateway 110.
  • the gateway 110 includes a setting unit 1101 and a relay unit 1102.
  • the setting unit 1101 sets relay information for the relay unit 1102. More specifically, the setting unit 1101 can have the function of IGD in UPnP, and requests the relay unit 1102 to set relay information when a relay information setting request is received at an arbitrary home terminal.
  • Relay unit 1102 has a NAT function. That is, the relay unit 1102 performs address conversion and port number conversion from a global IP address to a local IP address. In addition, relay section
  • the reference numeral 1102 may have a packet filtering (PF) function of passing or discarding a packet by referring to the header of the packet.
  • the relay unit 1102 executes the NAT function or the PF function based on the relay information.
  • Relay information is stored in relay table 1103
  • FIG. 2 is a conceptual explanatory diagram of relay information stored in the relay table 1103.
  • This example shows relay information for performing the NAT function.
  • the relay information is set so that the packet arriving at the global IP address “IPG 110” and the port number “Portl lO” is sent to the port number “PortlOO” of the home terminal of the local IP address “IPL 100”.
  • relay information is set so that packets arriving at the global IP address “IPG110” and port number “Portl l l” are sent to the port number “Portl 01” of the home terminal of the local IP address “IPL 101”.
  • the gateway 110 having the above-described function is configured by a computer terminal having a CPU, a ROM, a RAM, and the like.
  • Home terminal 100 has setting control section 1001, confirmation determination section 1002, and communication section 1003.
  • the setting control unit 1001 issues a relay information setting request and deletion request to the gateway 110. Further, the setting control unit 1001 may perform a process (a setting success confirmation process described later) for confirming whether the relay information is really set in the gateway 110. Furthermore, the setting control unit 1001 may periodically check whether the relay information is set in the gateway 110 (a setting regular check process described later). Power! The setting control unit 1001 can also perform processing (deletion confirmation processing described later) for confirming whether the relay information is actually deleted from the gateway 110.
  • the confirmation / judgment unit 1002 determines whether the relay information set by another in-home terminal overlaps the relay information to be set by itself. To judge. In addition, before transmitting the relay information deletion request to the gateway 110, the confirmation determination unit 1002 performs confirmation processing for not deleting the relay information set by another terminal.
  • Communication unit 1003 transmits / receives data to / from outside home server 200 or outside home terminal 201 on global network 001 through gateway 110.
  • the home terminal 100 is an IP telephone, it performs communication processing compliant with VoIP.
  • the in-home terminal 100, 101 having the above-described function is realized using a computer terminal having a CPU, a ROM, a RAM, and the like.
  • Specific examples of the in-home terminals 100 and 101 include an IP phone, a personal computer, a mobile phone, a PDA (Personal Digital Assistance), an on-board navigation system, reception of multimedia data, and a playback device.
  • the flow of processing performed by the communication relay system will be specifically described.
  • the relay information is NAT information
  • the in-home terminals 100 and 101 have the same functions, the following description will be given by taking an example in which the in-home terminal 100 sets and deletes relay information.
  • the communication relay system roughly performs (1) duplicate setting prevention processing, (2) setting success confirmation processing, (3) setting periodic confirmation processing, (4) setting deletion processing, and (5) deletion confirmation processing.
  • Each of these processes will be sequentially described below with reference to the drawings.
  • the IP address on the local network 002 of the in-home terminal 100 is "IPL 100”
  • the port number to be used is "PortlOO”.
  • the IP address and port number on the global network 001 of the gateway 110 that the in-home terminal 100 wants to use are “IPG 11 0” and “Port 1 10”.
  • FIG. 3 is an explanatory drawing showing an example of the flow of duplication setting prevention processing. This process can be roughly divided into three steps: (1) duplicate check, (1-2) change of NAT information, and (13) setting of NAT information.
  • duplicate check a check of duplicate check
  • NAT information a change of NAT information
  • (13) setting of NAT information a setting of NAT information.
  • steps S201 to S207 it is checked whether the NAT information to be set is already set, overlapping with the one.
  • Step S 201 The setting control unit 1001 of the home terminal 100 notifies the confirmation / judgment unit 1002 of the parameters necessary to request the setting of the NAT information.
  • the NAT information setting parameters include at least the following three.
  • Port number "PortlOO" on the local network 002 of the home terminal Fig. 4 (a) is a NAT information setting parameter to be specified when using AddPortMapping specified in IG D as an API (Application Program Interface) of NAT setting request.
  • the figure (d) shows a specific example of the NAT information setting parameter of AddPortMapping in this embodiment.
  • the following relay is performed. “Relay a TCP packet received from any terminal on the global network 001 to“ Port 10 ”of the gateway 110 to“ Port 100 ”on the home terminal with“ IPL 100 ”on the local network 002”.
  • Step S 202 The confirmation / judgment unit 1002 stores the notified NAT information setting parameter in a storage unit (not shown).
  • Step S 203 Next, the confirmation / judgment unit 1002 transmits a NAT information confirmation request to the setting unit 1101 of the gateway 110.
  • the NAT information confirmation request includes at least the port number “Port 1 10” of the gateway 110 included in the parameter notified from the setting control unit 1001. According to this request, it is possible to ask the gateway 110 whether the NAT information corresponding to the port number “Port 1 10” has already been set and whether it is valid or not.
  • FIG. 5 (a) shows a NAT information confirmation request parameter in the case of using the action “G et SpecificPortMappingEntry” defined by IGD as an example of the API of the NAT information confirmation request.
  • FIG. 6D is a specific example of the request parameters to be specified by “GetSpecificPortMappingEntryj” in the present embodiment. This is a request that also includes the following contents: “Global network” "There is a rule for relaying a TCP packet, which has arrived from the arbitrary terminal on 001 to the port number" Port 10 "of the gateway 110, to the on-premises terminal on the local network 002".
  • Step S 204 The setting unit 1101 of the gateway 110 refers to the relay table 1103 and searches for NAT information corresponding to the parameter “Port 10” included in the received NAT information confirmation request. If NAT information corresponding to “Port 10” already exists, a NAT information confirmation response including the NAT information is transmitted to the in-home terminal 100. If NAT information corresponding to “Port 10” does not exist, a response notifying that is sent to the home terminal 100.
  • FIG. 5 (b) shows the response parameter when NAT information exists for the question using GetSpecificPortMappingEntry.
  • NAT information is present. Indicates the response parameter when there is not.
  • the figure (e) shows the example of the figure (b). This response shows the following contents. "There is NAT information that relays packets on the port number" PortlOO "of the in-home terminal with IP address” IPL100 "on the local network 002.”
  • Step S 205 The confirmation / judgment unit 1002, upon receiving a NAT information confirmation response from the gateway 110, confirms the contents of the response. That is, it is determined whether or not there is NAT information corresponding to the inquired port number "PortlOO". In the example of Fig. 5, whether the status code of the response is ⁇ 1.1 200 ⁇ (Fig. (B)) or "HTTP Zl. 1 500 Internal Server Error" (Fig. (C)) to decide.
  • Steps S206 to S207 If NAT information corresponding to the inquired port number “PortlOO” exists, the confirmation determination unit 1002 stores the parameters included in the response and the information stored in step S202. Compare with NAT information configuration parameters. Further, based on the comparison result, the confirmation determination unit 1 002 determines whether the NAT information is NAT information set by itself or overlaps with NAT information for another home terminal (S206). The determination result is notified to the setting control unit 1001 (S207). This determination is performed based on, for example, “(ii) IP address of the home terminal 100 on the local network 002” in the NAT information setting parameter and the IP address of the home terminal in response.
  • the home terminal 100 changes the NAT information setting parameter according to the result of the NAT information duplication judgment.
  • Step S208 If the received judgment result is “own NAT information”, the setting control unit 1001 moves to step S211 described later. That is, the processing shifts to processing for requesting the gateway 110 to set NAT information. Conversely, the judgment result is If it is "NAT information", the process proceeds to step S209.
  • Step S 209 The setting control unit 1001 determines the presence or absence of another in-home terminal.
  • Presence means that the other home terminal is connected to the local network 002, that is, it is online.
  • the setting control unit 1001 can perform this determination using an IC MP or an ARP. If there is another home terminal, the setting control unit 1001 determines that it is necessary to change the NAT information setting parameter, and the process proceeds to step S210. Conversely, if the in-home terminal does not exist, the process proceeds to step S211 where the NAT information is overwritten and set. Note that NAT information of other in-home terminals may be deleted to reset their own NAT information.
  • Step S210 The setting control unit 1001 changes the port number “Port10” of the gateway 110 in the NAT information setting parameter to another one, and resets the parameter. Thereafter, the process returns to step S201 and repeats the above process.
  • the home terminal 100 sets NAT information for the gateway 110.
  • Step S211 The home terminal 100 determines whether the gateway 110 can accept the setting of NAT information. If it can be received, the process proceeds to step S212 to set NAT information. If it can not be accepted, other processing is performed. For example, the processing shifts to the execution processing of communication by the communication unit 1003 (not shown).
  • the reason for performing this step is as follows. For example, depending on the implementation of the gateway 110, an IP address on the global network may not be assigned to the gateway 110. In that case, NAT information can not be set in the gateway 110. Therefore, it is preferable to inquire the global IP address of the gateway 110 using, for example, the API “Get External IP Address” defined in the IGD standard. The home terminal 100 can confirm that the global IP address has been assigned based on the response.
  • Step S 212 The setting control unit 1001 transmits a NAT information setting request to the setting unit 1101 of the gateway 110.
  • This request includes the NAT information setting parameters (see FIGS. 4 (a) and 4 (d)) confirmed in steps S201 to S204. That is, at step S202 If the memorized NAT information does not overlap with the settings of other existing home terminals, or if it is its own NAT information, set the stored NAT information in the gateway 110. Do. If the same NAT information set by oneself already exists, the setting may be reused without newly requesting a NAT setting.
  • Step S213 The setting unit 1101 of the gateway 110 transmits, to the home terminal 100, a NAT information setting response including information as to whether or not the setting of the NAT information is successful.
  • Figures 4 (b) and (c) show the status code and parameters included in the success and failure responses based on IGD.
  • Step S 214 When a response indicating success is returned from the gateway 110, the setting control unit 1001 of the home terminal 100 performs setting success confirmation processing (see FIG. 6) described later, and the packet is processed as NAT information is set. Make sure you're really going to be relayed. If a failure response is returned, for example, the process may proceed to step S210 to change parameters and try resetting. You may also try resetting with just the same parameters. Also, if it has failed to overwrite the existing NAT, it may be judged as a success.
  • the home terminal 100 sets relay information such as NAT information in the gateway 110, it is not necessary to overwrite the relay information of other home terminals, so that communication interference with other home terminals is caused. Can be prevented.
  • FIG. 6 is an explanatory drawing showing an example of the flow of setting success confirmation processing. This process may be performed after the gateway 110 returns a response indicating the success of the NAT information to the home terminal 100 (S213) in the duplicate setting prevention process (see FIG. 3). By this process, it can be checked whether the packet from any terminal on the global network 001 can be really received based on the set NAT information. The reason why such confirmation is effective is as follows.
  • Step S 301 The setting control unit 1001 of the home terminal 100 transmits a NAT information duplication confirmation request to the remote server 200 existing on the global network 001.
  • This request includes the port number “Port 10” on the global network 001 of the gateway 110 among the NAT information set for the gateway 110.
  • Figure 7 (a) shows the parameters included in the NAT information duplication confirmation request.
  • the figure (b) shows a specific example of the NAT duplication confirmation request parameter in this embodiment.
  • Step S 302 When receiving the NAT information duplication confirmation request, the out-of-home server 200 sends a NAT information duplication acknowledgment to the port “Port 1 10” of the gateway 110 based on the parameter “Port 1 10” contained therein. Send The content included in this response is optional and may be an empty packet.
  • Steps S303 to S306 The setting control section 1001 of the home terminal 100 confirms whether or not the response from the remote server 200 has been received (S303), and if it has been received, the setting of the NAT information is successful. It is determined that (S304).
  • the setting control unit 1001 may store NAT information set in the gateway 110 until deletion is performed by deletion confirmation processing described later. By storing the configured NAT information, it is possible to prevent the NAT information already set by the home terminal from being overwritten with a different port number (NewInternalPort in FIG. 4 (a)). You can also. If it has not been received, the NAT information duplication confirmation request is sent every fixed time until the number of transmissions of the NAT information duplication confirmation request reaches the specified number (S 305, S 306).
  • Step S 307 If a response is not received even if the number of times of transmission of the NAT information duplication confirmation request reaches a specified number, the setting control unit 1001 of the home terminal 100 determines that the NAT information setting has failed.
  • Step S 308 The setting control unit 1001 preferably transmits a deletion request for the set NAT information to the gateway 110. Even if setting of NAT information fails, the information remains on the gateway 110, and the port of the gateway 110 is wasted unnecessarily. It is a force that can be For example, as defined in IGD,! /, “DeletePortMapping” can be used as an API for deletion request of NAT information, or another interface can be used. The parameters transmitted and received between the home terminal 100 and the gateway 110 when using “DeletePortMapping” will be described in detail in (4) Configuration deletion processing described later.
  • Step S 309 The setting control unit 1001 changes the first parameter of the stored NAT information, that is, the port number “Port 10” of the gateway 110, and tries to set NAT information again (step in FIG. 3). S201). By setting up another relay information, it is possible to prevent communication relaying and to ensure communication reliability.
  • FIG. 8 is an explanatory drawing showing an example of the flow of setting periodic confirmation processing. This process may be performed after the duplicate setting prevention process described above.
  • NAT information is set to be valid for the gateway 110, it can be periodically checked whether the setting is valid. That is, it is possible to detect that the NAT information of the home terminal itself has been overwritten or deleted by another home terminal, and as a result, it is possible to prevent interference with the communication performed by itself. This will be described below with reference to FIG.
  • Step S401 After setting NAT information for the gateway 110, the setting control unit 1001 of the home terminal 100 executes the following process steps S402 to 410 every predetermined time period.
  • Step S 402 The setting control unit 1001 transmits a NAT information duplication confirmation request to the out-of-home server 200 on the global network 001.
  • This request includes the port number "Port 110" of the gateway 110 in the NAT information set in the gateway 110 in the duplicate setting prevention process.
  • the parameters included in the NAT information duplication confirmation request are as shown in FIG.
  • Step S 403 When receiving the NAT information duplication confirmation request, the out-of-home server 200 transmits a packet to the port “Port10” of the gateway 110. Step S302 and Similarly, the content of the packet may be an empty packet that carries anything.
  • Steps S404 to S407 The setting control unit 1001 of the home terminal 100 checks whether or not the response from the remote server 200 has been received (step S404), and if it has been received, the setting of the NAT information is still It is determined that it is valid (step S405). If it has not been received, the NAT information duplication confirmation request is sent at regular intervals until the number of transmissions of the NAT information duplication confirmation request reaches the specified number (steps S406 and S407).
  • Step S 408 If a response is not received even if the number of times of transmission of the NAT information duplication confirmation request reaches a specified number, the setting control section 1001 of the home terminal 100 determines that the NAT information setting has become invalid.
  • Step S 409 The setting control unit 1001 preferably transmits a deletion request for the set NAT information to the gateway 110. This is because NAT information that has been invalidated may remain in the gateway 110! /, Which may result in ineffective use of the port of the gateway 110! / ⁇ .
  • “DeletePortMapping” defined in IGD can be used as an API for deletion request of NAT information, or another interface can be used.
  • the parameters transmitted / received between the home terminal 100 and the gateway 110 when using “Delete Port Mapping” will be described in detail in (4) Setting deletion processing described later.
  • Step S 410 The setting control unit 1001 resets NAT information with the same parameters as before.
  • the port information of the gateway 110 may be changed to another one and NAT information may be reconfigured in consideration of the possibility of overwriting the setting for another home terminal. Even when the same NAT information or modified NAT information is set, it is possible to return to step S201 of the duplicate setting prevention process and start over from the beginning.
  • the validity of the setting can be checked periodically to make it quicker or more effective that the setting has become invalid. It can be detected. If it becomes invalid, communication can be continued by resetting the same relay information or different relay information, and therefore the security and reliability of communication can be enhanced.
  • FIG. 9 is an explanatory drawing showing an example of the flow of setting deletion processing.
  • the home terminal 100 requests the gateway 110 to delete NAT information.
  • the execution timing of this process is not particularly limited, and may be a timing according to the communication unit 1003 of the home terminal 100. This will be described below with reference to FIG.
  • Steps S601 to S602 The setting control unit 1001 of the home terminal 100 notifies the confirmation / judgment unit 1002 of the parameters necessary for requesting deletion of NAT information (S601).
  • the notified NAT information deletion parameter is stored in the storage unit (not shown) by the confirmation determination unit 1002 (S602).
  • the NAT information deletion parameter includes at least a port number on global network 001 of gateway 110.
  • Figure 10 (a) is a NAT information deletion parameter when "DeletePortMapping" specified by IGD is used as an API for NAT deletion request. Of course, other interfaces may be used.
  • the figure (d) shows a specific example of the “DeletePortMapping” parameter in the present embodiment.
  • Step S603 The confirmation judgment unit 1002 of the home terminal 100 transmits a NAT information confirmation request to the setting unit 1101.
  • This request includes the port number "Portl lO" of the gateway 110 in the notified parameters.
  • This request is a request for inquiring the gateway 110 about the presence or absence of NAT information corresponding to the port number "Portl lO".
  • the above-mentioned “Get Specific Port Mapping Entry” is used as an API corresponding to a NAT information confirmation request, the parameter configuration shown in FIG. 5 (a) is obtained.
  • Step S 604 The setting unit 1101 of the gateway 110 checks the presence of NAT information corresponding to the parameter “Port 10” based on the received NAT information confirmation request, and returns a response to the home terminal 100.
  • the parameters shown in FIG. 5 (b) or (c) are returned in response to the request for twisting to "Get Specific Port Mapping Entry".
  • Step S 605 When the confirmation judgment unit 1002 of the home terminal 100 receives the NAT information confirmation response, the NAT information corresponding to the port number “PortlOO” inquired based on the response is received. Determine if the information exists. This determination method is the same as step S205 in the duplicate setting prevention process.
  • Steps S 606 to S 607 If NAT information exists, confirmation / judgment section 1002 determines whether the NAT information is NAT information set by the home terminal itself or NAT information set by another home terminal. (S606), and notifies the setting control unit 1001 of the determination result (S607). This determination method is performed in the same manner as step S206 in the duplicate setting prevention process.
  • Steps S608 to S609 If the NAT information to be deleted is the NAT information set by the home terminal 100 itself (S608), the setting control unit 1001 sends the NAT information to the setting unit 1101 of the gateway 110. A deletion request is made (S609). This request is step S60
  • the process proceeds to step S611 described later. If deleted as it is, it is a force that may interfere with the communication of other home terminals.
  • configuration control section 1001 may not send a NAT information deletion request, and just in case N
  • Step S610 The setting unit 1101 of the gateway 110 transmits, to the home terminal 100, a NAT information deletion response including information as to whether the deletion of the NAT information has succeeded or failed.
  • Step S 611 If the NAT information to be deleted is a setting for another in-home terminal, setting control section 1001 confirms whether there is another in-home terminal, for example, by using IC MP or ARP. It is good to do. If it exists, deletion is not performed, and if it does not exist, the process can move to step S609 to transmit a NAT information deletion request.
  • a NAT information confirmation request is sent to setting section 1101 of gateway 110, and based on the response parameter! / It is judged whether or not.
  • External server on global network 001 It is also possible to have the packet sent from the port 200 to the port "Port 10" of the gateway 110, and to judge whether the setting is its own or not by whether it reaches the port rPort 1 OOj of the home terminal.
  • the following example may be considered as the execution timing of the setting deletion process.
  • the NAT information set by the in-home terminal itself is set from the setting unit 1101 of the gateway 110 at predetermined intervals.
  • This process acquires AT information and deletes information that has been set by the home terminal itself and is not currently used.
  • the home terminal deletes the NAT information set for the other home terminals, and can prevent itself from interfering with the communication of the home terminal.
  • FIG. 11 is an explanatory drawing showing an example of the flow of deletion confirmation processing. This process is a process for checking whether or not the force is really deleted after deleting the NAT information in the setting deletion process. This will be described below with reference to FIG.
  • Step S701 The setting control unit 1001 of the home terminal 100 transmits a NAT information deletion confirmation request to the remote server 200 on the global network 001.
  • This request includes the port number "Portl lO" of the gateway 110 included in the NAT information deletion parameter used for the setting deletion process.
  • Figure 12 (a) shows the parameters included in the NAT information deletion confirmation request.
  • FIG. 6B is a specific example of the parameter of the NAT information deletion confirmation request in the present embodiment.
  • Step S 702 When receiving the NAT information deletion confirmation request, the remote server 200 transmits a packet to the port “Port 10” of the gateway 110 based on the parameters contained therein.
  • the content of this packet is optional and may be an empty packet.
  • Steps S 703 to S 707 The setting control unit 1001 of the home terminal 100 checks whether the response from the remote server 200 has been received (S 703), and if it has received, deletion of the NAT information has failed. It is determined that (step S704). If it is determined that deletion has failed, the setting deletion processing (FIG. 9) may be performed again. If the response from the out-of-home server 200 has not been received, the setting control unit 1001 waits for a fixed time until the number of transmissions of the NAT information deletion confirmation request reaches the specified number. A NAT information deletion confirmation request is sent every time (S705, S706).
  • Step S 707 If the response from the out-of-home server 200 is not received even if the number of transmissions reaches the specified number, the setting control unit 1001 determines that the deletion of the NAT information is successful. If the NAT information set by the setting control unit 1001 is stored (see step S304), after confirming deletion of the NAT information in step S707, the NAT information stored in the setting control unit 1001 itself is deleted.
  • the power of the NAT information deletion succeeded by confirming the presence / absence of NAT information using “Get Specific Port Mapping” defined in IGD, for the setting unit 1101 of the gateway 110. You may decide whether or not.
  • the security of communication can be secured.
  • FIG. 13 is an explanatory drawing showing an example of part of the flow of duplication setting prevention processing according to the second embodiment.
  • the following process may be performed instead of step S206 of the duplicate setting prevention process in the first embodiment.
  • step S206 it is determined based on the response from the gateway 110 to the NAT information confirmation request whether the home terminal itself is NAT information or not. If a packet is sent to the external server 200 on the global network 001 toward the port "Port 10" of the gateway 110, the NAT information may be an on-premises terminal depending on whether it reaches the on-premises terminal's own port ⁇ tlOOj. You may decide whether it is your own.
  • the flow of duplicate setting prevention processing according to the second embodiment will be described below with reference to FIG.
  • steps S201 to S204 are performed in the same manner as in the first embodiment, and the presence or absence of NAT information to be set is confirmed with the gateway 110. If the NAT information exists, the following processing is performed. If it does not exist, the process proceeds to step S207 as described above, and there is no need to perform the following processing.
  • Step S 231 If the NAT information to be set is present in the gateway 110, the confirmation control unit 1002 sends a NAT information duplication confirmation request to the remote server 200 existing on the global network 001. This request is notified as shown in FIG. 7 (a).
  • 1 includes the port number “Portl lO” on 1).
  • Step S 232 When receiving the NAT information duplication confirmation request, the out-of-home server 200 sends a NAT information duplication acknowledgment to the port “Port1 10” of the gateway 110 based on the parameter “Port1 10” included therein. Send The content included in this response is optional and may be an empty packet.
  • Steps S233 to S238 The setting control section 1001 of the home terminal 100 confirms whether or not the response from the remote server 200 has been received (S233), and if it has received, the home terminal 100's N
  • AT information exists (S234). If it has not been received, it sends a NAT information duplication confirmation request every fixed time until the number of transmissions of the NAT information duplication confirmation request reaches a specified number (S235, S236) 0
  • Step S 237 If a response is not received even if the number of times of transmission of the NAT information duplication confirmation request reaches a specified number, the setting control unit 1001 of the home terminal 100 indicates the NA for other home terminals.
  • steps S207-S214 Thereafter, based on the determination as to whether or not the NAT information is that of the home terminal 100 itself, or that the NAT information to be set up does not exist in the gateway 110, steps S207-S214.
  • the processing of is performed in the same manner as in the first embodiment.
  • FIG. 14 is an explanatory diagram of a method for confirming valid Z invalid of NAT setting using “GetSpecificPortMappingEntry” and “!” API defined in IGD.
  • Step S 501 After setting the NAT information to the gateway 110 effectively, the home terminal 100 repeats the following processing each time a predetermined time elapses.
  • Step S 502 The setting control unit 1001 of the home terminal 100 transmits, to the gateway 110, a NAT information duplication confirmation request (see FIG. 5 (a)) based on “Get Specific Port Map entry”. This request includes the port number "Portl lO" of the gateway 110 in the NAT information set in the duplicate setting prevention process.
  • Step S 503 When receiving the NAT duplication confirmation request, the setting unit 1101 of the gateway 110 searches the relay table 1103 using the port number “Port10” contained therein as a key. As a result of the search, a response as to whether or not there is NAT information including “Port 10” is transmitted to the home terminal 100 (see FIGS. 5 (b) and (c)).
  • Steps S 504 to S 506 The setting control section 1001 of the home terminal 100 determines whether there is NAT information including “Port 10” based on the received response (S 504). If it exists, it is determined whether the existing NAT information is the NAT information set by itself (S505). The determination method is as described in step S 206 of the duplicate setting prevention process. If it is NAT information set by itself, the setting control unit 1001 determines that the NAT information is valid (S506).
  • Step S 507 If there is no NAT information set by the home terminal itself, and there is no NAT information that should have been set or has been set, the setting control unit 1001 determines that the NAT information is invalid.
  • Step S508 The setting control unit 1001 resets NAT information for the gateway 110 with the same parameters as before.
  • the port number of the gateway 110 may be changed to another one and reconfigured in consideration of the possibility of overwriting the setting for the own home terminal and the other home terminal. .
  • a request to delete NAT information determined to be invalid may be sent to the gateway 110. This is because NAT information remains on the gateway 110 even if the setting is disabled!
  • This process is preferably performed after confirming that relay based on NAT setting is actually performed by the setting success confirmation process of FIG. This is because it is sufficient to simply inquire the gateway 110 whether or not the setting of the NAT information is set, after confirming that the data is correctly relayed based on the set NAT information by the setting success confirmation process.
  • the in-home terminal 100 When the in-home terminal 100 performs NAT setting using the method described here, it is attempted to set it from now on! / The NAT information that is the same as the NAT information has already been set. You can also If the NAT information is already set in the gateway 110, it can be reused. It is also a force.
  • the confirmation process may be performed in place of steps S203 to S206 of the duplicate setting prevention process.
  • a method of determining whether or not the home terminal itself has set the NAT information it can be performed in the same manner as step S206 of the duplicate setting prevention process.
  • step S206 of the first embodiment it is determined whether the NAT information already present is that of the home terminal 100 itself, based on the IP address (the value of the parameter “NewInternalClient” in the NAT information confirmation response). I went to the base.
  • the home terminal 100 determines whether the NAT information is its own or not based on only the value of "NewInternalClient", the judgment may be wrong when the IP address "IPL 100" of the home terminal 100 changes. .
  • IP address of home terminal 100 is “IPL 100”
  • any terminal on global network 001 can report to“ Port 10 ”of gateway 110 to gateway 110 according to the method of FIG. It is assumed that NAT information for relaying the packet to “PortlOO” of the home terminal having “IPL 100” on the local network 002 has already been set.
  • Step S 201 First, the setting control unit 1001 of the home terminal 100 notifies the confirmation / judgment unit 1002 of the parameters necessary for requesting the setting of the NAT information.
  • NAT information setting parameters include at least the following three.
  • Step S 202 The confirmation / judgment unit 1002 stores the notified NAT information setting parameter in a storage unit (not shown).
  • Step S203 Next, the confirmation / judgment unit 1002 transmits a NAT information confirmation request to the setting unit 1101 of the gateway 110.
  • the NAT information confirmation request includes at least the port number “Port 1 10” of the gateway 110 included in the parameter notified from the setting control unit 1001. According to this request, it is possible to ask the gateway 110 whether the NAT information corresponding to the port number “Portl lO” is already set and whether it is valid or not.
  • Step S 204 The setting unit 1101 of the gateway 110 refers to the relay table 1 103 and searches for NAT information corresponding to the parameter “Port 10” included in the received NAT information confirmation request. As a precondition, since NAT information corresponding to “Port 10” already exists, a NAT information confirmation response including the NAT information is transmitted to the home terminal 100.
  • Step S 205 The confirmation determining unit 1002, upon receiving a NAT information confirmation response from the gateway 110, confirms the contents of the response. That is, it is determined whether or not there is NAT information corresponding to the inquired port number "Portl00".
  • Steps S206 to S207 Since the NAT information corresponding to the inquired port number "Portl00" exists, the confirmation determination unit 1002 determines the parameters included in the response, the NAT information setting parameters stored in step S202, and Compare Further, based on the comparison result, the confirmation judgment unit 1022 judges whether the NAT information force itself is the NAT information set by itself or the NAT information set by another home terminal overlaps with the NAT information set (S206). The determination result is notified to the setting control unit 1001 (S207). Here, this determination is based on “(ii) IP address of the home terminal 100 on the local network 002 (IPL 200)” in the NAT information setting parameter and the IP address “IPL 100” of the home terminal in response. Because they do, the two do not match, and it is misjudged that they overlap with settings for other in-home terminals.
  • step S210 the parameters of the NAT information are reset, and in step S201, the processing is performed again. Therefore, the NAT information set before the change of the IP address remains in the gateway 110, and the new information is stored. NAT information will be set. For this reason, an ID that can uniquely identify itself, for example, a new parameter that can embed the MAC address and time information, etc. is provided, and comparison is performed based on the ID, even after the IP address changes. Make sure to check the NAT information you set before changing IP address.
  • an ID uniquely identifying the in-home terminal 100 that has power such as the MAC address and time information of the in-home terminal 100 is embedded. That is, the ID is stored as NAT information in the relay table 1103 of the gateway 110.
  • "GetSpecificPortMappi The gateway 110 describes the ID specified in the NAT information in the parameter "NewPort MappingDescriptionJ" in the response (Fig. 5 (b)) to the NAT information confirmation request by ngEntry.
  • the home terminal 100 having received the NAT information confirmation response may judge whether the already existing NAT information is its own strength or not by comparing the ID in the NAT information confirmation response with its own ID. it can.
  • step S206 of the first embodiment it is confirmed whether or not the already existing NAT information determines whether the home terminal 100 itself is powered or not by using the ID.
  • the operation of the determination unit will be described.
  • Step S1501 The confirmation judgment unit 1002 first compares the ID contained in the value of the parameter “NewPortMappingDescriptionJ” in the NAT information confirmation response with its own ID.
  • Step S 1502 If the ID is a match, it is determined that the NAT information is set by itself.
  • the ID does not match, it is determined that the NAT information is not set by itself.
  • the NAT information that is not set by the in-home terminal 100 itself matches the IP address of “NewInternalClient” and “NewInternalPort” power in its parameters and the port used, that NAT information is overwritten or Even if it deletes it, it can be judged.
  • the in-home terminal 101 having the IP address “IPL 101” receives the packet “Any terminal on the global network 001 has arrived at“ Port 10 ”of the gateway 110 according to the method of FIG. It is assumed that NAT information such as “Relay to Po rtlOOj” of the home terminal having “IPL 101” on the local network 002 has already been set for the gateway 110.
  • the above NAT information is This is because the setting is made for the terminal 100, and it can be determined that the in-home terminal 101 is meaningless NAT information.
  • Steps S1503 to S1504 Therefore, if it is determined in step S1501 that the ID does not match, the value of parameter “NewInternalClient” in the NAT information confirmation response is compared with its own IP address (SI 503). If they do not match, it is determined that the settings overlap with NAT settings of other devices (S 1504).
  • Step SI 505 If the IP address matches, the value of the parameter “NewInternalPort” in the NAT information acknowledgment response and the parameter “Request for NAT information setting” that you are trying to set itself are added. Whether “NewInternalPort” matches is compared (S1505). If they do not match, it is determined that other devices overlap with the configured NAT information (S 1504). If they match, it is determined that the NAT information is the setting for itself (S1502).
  • the NAT information set before remains even though the IP address has changed due to a reboot etc. after sudden power off. If it is, it is possible to accurately determine whether or not it is NAT information configured previously. Also, conversely, it is possible to judge whether or not the overwrite 'deletion is possible by checking whether the NAT information is the setting for itself even for NAT information set by other devices. As a result, overwriting or deleting NAT information is effective in preventing unnecessary NAT information from continuously increasing in the relay table 1103 of the gateway 110.
  • step S206 in FIG. 3 The operation after it is determined in step S206 in FIG. 3 whether or not it is NAT information set by the above-described determination method conforms to the sequence from step S207 in FIG.
  • step S 1505 in FIG. 15 proceeds to S 1502, that is, “The ID does not match, and the NAT information is set by another device, but the IP address matches the port, If it is determined that it is NAT information for itself, the same procedure as step S609 in FIG. 9 is performed before making a NAT information setting request to the gateway 110 in step S 212 in FIG. 3 as an operation thereafter.
  • NAT information read out of the gateway 110 and the NAT information to be set / deleted by oneself overlap is checked. Also check whether the parameter "New Protocol" matches. By doing this, NAT information for each communication protocol (TCP, UDP, etc.) may be checked.
  • the first communication terminal 100 may store NAT information until transmitting the NAT information deletion request. This is to store configured NAT information and reuse the same NAT information without setting it again.
  • the first communication terminal 100 may determine whether the gateway 110 stores NAT information that overlaps the stored NAT information. This determination may be made by having the outside server 200 throw a packet. Alternatively, the gateway 110 may be notified of “Portl 10” to determine the presence or absence of NAT information for “Port 10”, and in the case of “presence” of NAT information, the owner may be determined.
  • NAT information for “Port 10” of the gateway 110 is set in the first communication terminal 100 itself, the first communication terminal 100 can communicate without resetting the NAT information.
  • NAT information can be reset by the processing described in steps S208 to S210 of the duplicate setting prevention processing.
  • a program for executing the above method on a computer and a computer readable recording medium recording the program are included in the present invention.
  • the recording medium include a flexible disk which can be read and written by a computer, a hard disk, a semiconductor memory, a CD-ROM, a DVD, a magneto-optical disk (MO) and others.
  • the relay information processing method of the present invention can be applied to a communication relay system in which it is necessary to set and delete relay information in a relay device that relays communication, and communication stability and reliability can be improved. .

Landscapes

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

Abstract

 通信が中継される通信システムにおいて、通信の信頼性および安全性を向上させる。宅内端末100がNAT情報やパケットフィルタの設定情報などの中継情報をゲートウェイ110に設定する場合、設定しようとするNAT情報が他の宅内端末101と重複しているかどうか確認してから設定する。削除についても同様である。重複している場合、設定しようとする中継情報、具体的にはゲートウェイ110のグローバルネットワーク001上のポート番号を変更することにより、他の宅内端末101の通信を妨害することを防止する。

Description

明 細 書
中継情報設定方法、中継情報設定装置
技術分野
[0001] 本発明は、異なる通信端末間の通信が中継装置により中継される通信システムに 関する。
背景技術
[0002] 通信端末がルータ等の機器につながれているローカルネットワークの環境では、外 部ネットワークに存在する通信端末と通信を行う必要のある一部のアプリケーションを 使用するために、通信端末はルータに対しアドレス変換 (NAT: Network Addre ss Translator)の設定をしなければならな!、。従来、ルータが提供して!/、るプレゼ ンテーシヨンページに通信端末のブラウザ力 アクセスし、ユーザが直接 NAT設定 を行っている。し力し、ネットワークやルータの知識が十分にないユーザにとって、 N ATの設定はとても煩雑である。
[0003] このような問題を解決する方法として、 UPnP (Universal Plug and Play)の中 で規定されている IGD (Internet Gateway
Device)という規格が提案されている。 UPnPは、家庭内のデバイスを自動的に相互 接続し、共に動作させるアーキテクチャである。 IGDの機能を実装したルータに対し ては、ネットワーク経由で NAT設定を要求することが可能である。その機能をアプリ ケーシヨンに実装することで、アプリケーションが通信を行う際に、ルータに対して自 動的に NAT設定を行うことが可能となり、ユーザが NAT設定を行う必要がなくなる。
[0004] 通信端末が IGDの機能を有するルータに対して NAT設定を要求する場合、例え ば、他の通信端末がすでに行っている NAT設定と重複していても、エラーが返らず NAT設定を上書きするルータがある。そのため、ある通信端末が別の通信端末によ る NAT設定を上書きしてしまう危険性がある。また逆に、ある通信端末は自分の NA T設定を他の通信端末カゝら上書きされる危険性がある。このようなことが生じると、 NA T設定を上書きされた通信端末は、通信中に通信不能になるため、安全な通信が行 えない。また、ルータにパケットフィルタリングの設定を行っている場合にも、ある通信 端末の設定を別の通信端末が上書きすることが生じうる。
[0005] 本発明は、外部ネットワーク上の通信端末とローカルネットワーク上の通信端末との 間の通信が途中で中継されている場合に、その中継を制御する中継情報を保護し、 通信の信頼性および安全性を向上させることを目的とする。
発明の開示
[0006] 前記課題を解決するために、本発明 1は、第 1ネットワークと第 2ネットワークとを接 続する中継装置が記憶する中継情報に含まれ、前記第 2ネットワーク上の第 2通信端 末力 前記第 1ネットワーク上の第 1通信端末へ送信されるパケットを中継するための 第 1中継情報を、前記第 1通信端末が設定及び Zまたは削除する中継情報処理方 法を提供する。この方法は以下のステップを含む。
•前記中継装置に対して前記第 1中継情報を設定または削除するに先立ち、前記中 継装置にすでに設定されている第 2中継情報を取得し、前記第 1中継情報と重複し ているかどうかを、前記第 1通信端末が判断する重複判断ステップ、
•前記重複判断ステップにおいて重複がないと判断した場合にのみ、前記第 1中継 情報の設定要求または削除要求を、前記第 1通信端末が前記中継装置に送信する 要求ステップ、
,前記設定要求または削除要求に応じ、前記中継装置が、前記第 1中継情報を記憶 または前記中継情報力 削除する中継情報更新ステップ。
他の通信端末の中継情報に上書きしたり、他の通信端末の中継情報を削除すること を防止し、全体として通信の安全性と信頼性を高めることができる。
[0007] 本発明 2は、前記発明 1において、前記中継情報は、少なくとも前記中継装置が前 記第 2ネットワーク上に持つポート番号情報を含む第 1パラメータと、前記第 1ネットヮ ーク上の通信端末のアドレスである第 2パラメータと、前記第 1ネットワーク上の通信 端末のポート番号情報を含む第 3パラメータとを含む中継情報転送方法を提供する 。この方法は、前記第 1パラメータで特定されるポートに届いたデータを、前記第 2パ ラメータで特定される通信端末が有するポートのうち、前記第 3パラメータで特定され るポートに、前記中継装置が転送する転送ステップをさらに含む。
[0008] 中継情報としていわゆる NAT情報やパケットフィルタリング情報を用いることにより、 インターネットなどのグローバノレネットワークと LANなどのロー力ノレネットワークとを接 続する中継装置に設定される NAT情報の設定や削除を安全に行うことができる。ま た、
中継情報としてパケットフィルタリングのための情報を用いることにより、中継装置に 設定されるパケットフィルタリング情報の設定や削除を安全に行うことができる。その 結果、ローカルネットワーク上の通信端末の通信の安全性や信頼性を高めることがで きる。
[0009] 本発明 3は、前記発明 2において、前記重複判断ステップが以下のステップを含む 中継情報処理方法を提供する。
•前記第 1通信端末が、前記中継装置に対し、重複確認要求を送信するステップ、 •前記中継装置が、前記第 1通信端末に対し、前記重複確認要求に応じて、第 2中 継情報を含む重複確認応答を送信するステップ。
[0010] ここで、前記重複確認要求は、前記中継装置が前記第 2ネットワーク上に持つポー トを特定するポート番号のいずれかを含む。また、前記重複確認応答は、前記重複 確認要求で指定されているポート番号についての第 2中継情報を含む。
[0011] 本発明 4は、前記発明 3において、前記重複判断ステップは、前記第 1通信端末が 、前記中継装置力 受信した重複確認応答中の前記第 2中継情報に含まれる第 2パ ラメータと、前記第 1中継情報に含まれる第 2パラメータとを比較し、両者が一致しな V、場合に、前記第 1中継情報と前記第 2中継情報とが重複して 、ると判断するステツ プをさらに含む中継情報処理方法を提供する。
[0012] 本発明 5は、前記発明 3において、前記中継情報は、前記第 1通信端末を唯一に 特定する識別子をパラメータとしてさらに含む中継情報処理方法を提供する。この方 法の前記要求ステップにおいて、前記第 1通信端末は、前記中継情報の設定要求を 前記中継装置に送信する。また、前記重複判断ステップは、前記第 1通信端末が、 前記中継装置から受信した重複確認応答中の前記第 2中継情報に含まれる前記識 別子と、前記第 1中継情報に含まれる前記識別子を比較し、両者が一致しない場合 に、前記第 1中継情報と前記第 2中継情報とが重複していると判断するステップをさら に含む。 [0013] 本発明 6は、前記発明 5において、前記重複判断ステップは、前記第 1通信端末が 実行する下記のステップをさらに含んで 、る。
•前記第 2中継情報に含まれる前記識別子と、前記第 1中継情報に含まれる前記識 別子とを比較する識別子比較ステップ、
•前記識別子比較ステップで前記両方の識別子が一致した場合、前記第 1中継情報 と前記第 2中継情報とが重複していないと判断する第 1判断ステップ、
•前記識別子比較ステップで前記両方の識別子が一致しな力つた場合、さらに、前記 第 1中継情報に含まれる第 2パラメータと、前記第 2中継情報に含まれる第 2パラメ一 タと、を比較するパラメータ比較ステップ、
•前記パラメータ比較ステップで前記両方の第 2パラメータが一致する場合、第 1中継 情報と第 2中継情報とが重複していないと判断する第 2判断ステップ、
'前記パラメータ比較ステップで前記両方の第 2パラメータが一致しない場合、第 1中 継情報と第 2中継情報とが重複していると判断する第 3判断ステップ。
[0014] 本発明 7は、前記発明 1において、前記第 1中継情報と前記第 2中継情報とが重複 して ヽると前記重複判断ステップで判断された場合、前記第 1通信端末が前記第 1 中継情報を変更して第 3中継情報とする再設定ステップをさらに含む中継情報処理 方法を提供する。この方法においては、前記第 3中継情報について、前記重複判断 ステップ、前記要求ステップ及び前記中継情報更新ステップを実行する。
[0015] 設定しょうとする第 1中継情報が他の通信端末の中継情報と重複する場合に、第 3 中継情報へと変更して力 中継装置への設定を試みる。これにより、通信端末同士 の中継情報が互 、に上書きされることのな 、範囲で中継情報を設定することができる
[0016] 本発明 8は、前記発明 1において、前記第 1中継情報と前記第 2中継情報とが重複 して 、ると前記重複判断ステップで判断された場合、前記第 1中継情報が設定され ている他の通信端末が前記第 1ネットワーク上に接続しているかどうかを、前記第 1通 信端末が確認する接続確認ステップをさらに含む中継情報処理方法を提供する。こ の方法において、前記要求ステップでは、前記接続確認ステップにおいて前記他の 通信端末が接続中ではないと確認した場合に、前記第 1中継情報の設定要求また は削除要求を、前記第 1通信装置が前記中継装置に送信する。
[0017] 設定しょうとする第 1中継情報が他の通信端末の中継情報と重複する場合に、他の 通信端末が第 1ネットワークに接続していなければ、第 1中継情報をそのまま上書き 設定する。他の通信端末の通信を妨害することにはならないからである。逆に、削除 しょうとする第 1中継情報が他の通信端末の中継情報と重複する場合に、他の通信 端末が第 1ネットワークに接続していなければ、第 1中継情報をそのまま削除する。同 様に、他の通信端末の通信を妨害することにはならないからである。
[0018] 本発明 9は、前記発明 8において、前記要求ステップでは、前記第 1中継情報の設 定要求を送信するに先立ち、前記第 1中継情報と重複する前記第 2中継情報の削除 要求を、前記第 1通信装置が前記中継装置に送信する。
[0019] 第 1中継情報を設定しょうとして重複する中継情報が見つ力つた場合、その中継情 報を削除して力 第 1中継情報を登録する。万一両方が併存してしまい、データの中 継に誤動作を来すことを防止し、通信の安全性と信頼性をより確実にするためである 。また、第 1中継情報を削除しょうとして重複する中継情報が見つ力つた場合、その 中継情報が使用されていないので削除する。他の通信端末の通信を妨害することに はならないからである。
[0020] 本発明 10は、前記発明 8にお 、て、前記接続確認ステップにお!/、て他の通信端末 が接続中であると確認した場合、前記第 1通信端末が前記第 1中継情報を変更して 第 3中継情報とする再設定ステップをさらに含む中継情報処理方法を提供する。この 方法において、前記第 3中継情報について、前記重複判断ステップ、前記接続確認 ステップ、前記要求ステップ及び前記中継情報更新ステップを実行する。
[0021] 設定しょうとしている第 1中継情報と重複する中継情報を他の通信端末が使用中の
¾口
、その中継情報と重複しない第 3中継情報により再度設定を試みる。これにより、実際 に行われている他の通信を妨害することなぐ中継情報を設定することができる。
[0022] 本発明 11は、前記発明 1にお 、て、前記重複判断ステップは、下記のステップを含 む中継情報処理方法を提供する。
•前記第 1通信端末宛のテストデータを、前記第 2ネットワーク上の通信端末が前記 中継装置に送信するテストデータ送信ステップ、
•前記テストデータが前記第 1通信端末に届いたか否かを、前記第 1通信端末が判断 するテストデータ判断ステップ、
•前記テストデータ判断ステップにおける判断結果に基づいて、前記第 1中継情報と 重複する前記第 2中継情報の有無を、前記第 1通信端末が判断する重複有無判断 ステップ。
[0023] 外部の通信端末力 投げてもらったデータが第 1通信端末に届けば、重複する中 継情報はないと判断できる。逆に届力な力 た場合には、重複する中継情報があると 判断できる。実際にデータの通信を行った結果により重複する中継情報の有無を確 力めるため、その判断結果は信頼性が高いという利点がある。
[0024] 本発明 12は、前記発明 1において、前記要求ステップは、前記第 1通信端末が前 記第 1中継情報の設定要求を送信した場合、前記第 1中継情報の削除要求を送信 するまで、前記第 1通信端末が前記第 1中継情報を記憶する記憶ステップをさらに含 む中継情報処理方法を提供する。
[0025] 一旦設定した中継情報を削除するまで記憶しておくことにより、中継情報を設定し ようとしたときにその中継情報が既に中継装置に設定されているか否力を第 1通信端 末が容易に判断できる。
[0026] 本発明 13は、前記発明 12にお 、て、前記重複判断ステップは、前記記憶ステップ で記憶して 、る第 1中継情報と重複する中継情報を前記中継装置が記憶して 、るか 否かを、前記第 1通信端末がさらに判断するステップを含む中継情報処理方法を提 供する。
[0027] 以前設定した第 1中継情報が中継装置に残っていれば、第 1通信端末はその第 1 中継情報をそのまま再利用して通信することができる。
[0028] 本発明 14は、前記発明 13において、前記第 1中継情報と重複する中継情報を前 記中継装置が記憶していると判断すると、その中継情報が前記第 1通信端末に対し て設定されている力否かを、前記第 1通信端末がさらに判断するステップを含む中継 情報処理方法を提供する。
[0029] 第 1通信端末に対して設定された中継情報であれば、第 1通信端末はその中継情 報をそのまま再利用することができる。例えば中継情報にポート番号が含まれている 場合、中継情報を再利用することにより、ポートの無駄遣いを防止できる。
[0030] 本発明 15は、前記発明 1において、前記中継装置に対し前記中継情報を設定可 能または削除可能か否かを、前記要求ステップに先立ち、前記第 1通信端末が前記 中継装置に問 、合わせる中継問 、合わせステップをさらに含む中継情報処理方法 を提供する。前記要求ステップでは、前記中継問い合わせの可否についての応答に 基づいて、前記第 1通信端末が前記設定要求または削除要求を前記中継装置に送 信することを特徴とする。
[0031] 前もって中継装置に対し、中継情報の設定や削除が可能力否力を問い合わせるこ とにより、通信端末側の処理の無駄を防止することができる。
[0032] 本発明 16は、第 1ネットワークと第 2ネットワークとを接続する中継装置と、前記第 1 ネットワーク上の第 1通信端末と、前記第 2ネットワーク上の第 2通信端末と、が実行 する中継情報処理方法を提供する。この方法は以下のステップを含む。
•前記第 1通信端末が、前記中継装置に対し、前記第 2通信端末から前記第 1通信 端末へ送信されるデータを中継するための第 1中継情報を設定する設定ステップ、 •前記設定ステップの後に、前記第 1通信端末宛のテストデータを、前記第 2通信端 末が、前記中継装置に送信するテストデータ送信ステップ、
•前記テストデータが前記第 1通信端末に届いたか否かを、前記第 1通信端末が判断 するテストデータ判断ステップ、
•前記テストデータ判断ステップにおける判断結果に基づいて、前記第 1中継情報が 前記中継装置に有効に設定されている力否かを、前記第 1通信端末が判断する設 定判断ステップ。
[0033] 中継情報を設定した後、その中継情報通りにデータが中継されるかどうかを実際に 確認することで、通信の中継に対する安全性と信頼性を高めることができる。
[0034] 本発明 17は、前記発明 16において、前記第 1中継情報が前記中継装置に有効に 設定されて!ヽな ヽと前記設定判断ステップで判断された場合、前記第 1通信端末が 、前記中継装置に対し、前記第 1中継情報の削除を要求する削除要求ステップをさ らに含む中継情報処理方法を提供する。 [0035] 設定したはずの中継情報通りにデータが中継されな 、場合、設定した中継情報を 削除することで、中継装置のポートの有効活用を図ることができる。
[0036] 本発明 18は、前記発明 16において、前記第 1中継情報が前記中継装置に有効に 設定されて!ヽな ヽと前記設定判断ステップで判断された場合、前記第 1通信端末が 、前記中継装置に対し、前記第 1中継情報またはこれとは異なる第 3中継情報を前記 中継装置に設定する再設定ステップをさらに含む中継情報処理方法を提供する。
[0037] 別の中継情報を設定し直すことで、通信の中継ができないという事態を防ぎ、通信 の信頼性を担保することができる。
[0038] 本発明 19は、前記発明 16にお 、て、前記テストデータ送信ステップ、前記テストデ ータ判断ステップ及び前記設定判断ステップを、定期的に繰り返す制御ステップをさ らに含む中継情報処理方法を提供する。
[0039] 第 1中継情報を設定した後、定期的に設定の有効性を確認することにより、設定が 無効となったことを速やかに検知することができる。無効となった場合には、同じ中継 情報または異なる中継情報を再設定することで通信の続行が可能となるので、通信 の安全性や信頼性を高めることができる。
[0040] 本発明 20は、第 1ネットワークと第 2ネットワークとを接続する中継装置と、前記第 1 ネットワーク上の第 1通信端末と、前記第 2ネットワーク上の第 2通信端末と、が実行 する中継情報処理方法を提供する。この方法は以下のステップを含む。
•前記中継装置が、前記第 2通信端末から前記第 1通信端末へ送信されるデータを 中継するための第 1中継情報を記憶して 、る記憶ステップ、
,前記第 1通信端末が、前記中継装置に対し、前記第 1中継情報の削除を要求する 削除ステップ、
•前記削除ステップの後に、前記第 1通信端末宛のテストデータを、前記第 2通信端 末が前記中継装置に送信するテストデータ送信ステップ、
•前記テストデータが前記第 1通信端末に届いたか否かを、前記第 1通信端末が判断 するテストデータ判断ステップ、
•前記テストデータ判断ステップにおける判断結果に基づいて、前記第 1中継情報が 前記中継装置から削除されているか否かを、前記第 1通信端末が判断する削除成功 判断ステップ。
[0041] 中継情報を削除した後、データが中継されなくなった力どうかを実際に確認すること で削除の成功を確かめ、通信の中継に対する安全性と信頼性を高めることができる。
[0042] 本発明 21は、第 1ネットワーク上の第 1通信端末と、第 2ネットワーク上の第 2通信端 末と、前記第 1ネットワークと前記第 2ネットワークとを接続し、中継情報に基づいて第 1及び第 2ネットワーク間の通信を中継する中継装置と、が実行する中継情報処理方 法を提供する。この方法は以下のステップを含む。
•前記第 1通信端末が前記中継装置に対し、前記第 2通信端末から前記第 1通信端 末へ送信されるデータを中継するための第 1中継情報を設定する設定ステップ、 ,前記第 1中継情報の設定の有無を、前記第 1通信端末が前記中継装置に対して問 V、合わせる設定確認ステップ、
•前記問い合わせに対する前記中継装置力 の応答に基づき、前記第 1中継情報が 前記中継装置に設定されているか否かを、前記第 1通信端末が判断する設定判断ス テツプ、
•前記設定確認ステップと前記設定判断ステップとを定期的に繰り返す制御ステップ
[0043] 第 1中継情報を設定した後、定期的に設定の有効性を確認することにより、設定が 無効となったことを速やかに検知することができる。無効となった場合には、同じ中継 情報または異なる中継情報を再設定することで通信の続行が可能となるので、通信 の安全性や信頼性を高めることができる。
[0044] 本発明 22は、前記発明 21において、前記中継情報は、前記中継装置が前記第 2 ネットワーク上に持つポート番号を含む第 1パラメータと、前記第 1ネットワーク上の通 信端末のアドレスである第 2パラメータと、前記第 1ネットワーク上の通信端末のポート 番号である第 3パラメータとを含む中継情報処理法補を提供する。この方法は、前記 中継装置力 前記中継装置の前記ポート番号で特定されるポートに届いたデータを 、前記第 2パラメータで特定される通信端末が有するポートのうち、前記第 3パラメ一 タで特定されるポートに転送する転送ステップをさらに含む。
[0045] 本発明 23は、前記発明 21において、前記設定判断ステップが以下のステップを含 む中継情報処理方法を提供する。
•前記第 1通信端末力 前記中継装置に対し、重複確認要求を送信するステップ、 •前記重複確認要求に応じ、前記中継装置力 前記第 1通信端末に対して重複確認 応答を送信するステップ。
[0046] この方法において、前記重複確認要求は、前記中継装置が前記第 2ネットワーク上 に持つポートを特定するポート番号のいずれかを含む。また、前記重複確認応答は 、前記重複確認要求で指定されているポート番号についての第 2中継情報を含む。
[0047] 本発明 24は、前記発明 23において、前記設定判断ステップにおいて、前記第 1通 信端末は、前記中継装置から受信した前記重複確認応答中の前記第 2中継情報に 含まれる第 2パラメータと、前記第 1中継情報に含まれる第 2パラメータとを比較し、両 者が一致しない場合に、前記第 1中継情報と前記第 2中継情報とが重複していると判 断する中継情報処理方法を提供する。
[0048] 本発明 25は、前記発明 23において、前記中継情報は、前記第 1通信端末を唯一 に特定する識別子をパラメータとしてさらに含む中継情報処理方法を提供する。この 方法において、前記要求ステップは、前記第 1通信端末を唯一に特定する識別子を 含む前記中継情報の設定要求を前記中継装置に送信する。また、前記設定判断ス テツプは、前記第 1通信端末が、前記中継装置から受信した前記重複確認応答中の 前記第 2中継情報に含まれる前記識別子と、前記第 1中継情報に含まれる前記識別 子とを比較し、両者が一致しない場合に、前記第 1中継情報と前記第 2中継情報とが 重複して 、ると判断するステップをさらに含んで 、る。
[0049] 本発明 26は、前記発明 25において、前記設定判断ステップは、前記第 1通信端末 が実行する下記のステップを含む中継情報処理方法を提供する。
•前記第 2中継情報に含まれる前記識別子と、前記第 1中継情報に含まれる前記識 別子とを比較する識別子比較ステップ、
•前記識別子比較ステップで前記両方の識別子が一致した場合、前記第 1中継情報 と前記第 2中継情報とが重複していないと判断する第 1判断ステップ、
•前記識別子比較ステップで前記両方の識別子が一致しな力つた場合、さらに、前記 第 1中継情報に含まれる第 2パラメータと、前記第 2中継情報に含まれる第 2パラメ一 タと、を比較するパラメータ比較ステップ、
•前記パラメータ比較ステップで前記両方の第 2パラメータが一致する場合、第 1中継 情報と第 2中継情報とが重複していないと判断する第 2判断ステップ、
'前記パラメータ比較ステップで前記両方の第 2パラメータが一致しない場合、第 1中 継情報と第 2中継情報とが重複していると判断する第 3判断ステップ。
[0050] 発明 27は、第 1ネットワークと第 2ネットワークとを接続する中継装置が記憶する中 継情報に含まれ、前記第 2ネットワーク上の第 2通信装置から前記第 1ネットワーク上 の第 1通信装置へ送信されるパケットを中継するための第 1中継情報を、前記中継装 置に対して設定及び Zまたは削除する通信装置を提供する。この装置は下記手段を 有している。
•前記中継装置に対して前記第 1中継情報を設定または削除するに先立ち、前記中 継装置にすでに設定されている第 2中継情報を取得し、前記第 1中継情報と重複し ているかどうかを判断する重複判断手段、
•前記重複判断手段において重複がないと判断した場合にのみ、前記第 1中継情報 の設定要求または削除要求を前記中継装置に送信する要求手段。
[0051] 発明 28は、前記発明 27において、前記中継情報は、少なくとも前記中継装置が前 記第 2ネットワーク上に持つポート番号情報を含む第 1パラメータと、前記第 1ネットヮ ーク上の通信装置のアドレス情報を含む第 2パラメータと、前記第 1ネットワーク上の 通信装置のポート番号を含む第 3パラメータと、を含む通信装置を提供する。
[0052] 発明 29は、前記発明 28において、前記重複判断手段は、前記中継装置に対し、 重複確認要求を送信する手段と、前記重複確認要求に応じて、第 2中継情報を含む 重複確認応答を、前記中継装置から受信する手段と、を含んでいる通信装置を提供 する。ここで、前記重複確認要求は、前記中継装置が前記第 2ネットワーク上に持つ ポートを特定するポート番号のいずれかを含む。また、前記重複確認応答は、前記 重複確認要求で指定されているポート番号についての第 2中継情報を含む、 発明 30は、前記発明 29において、前記重複判断手段は、前記中継装置から受信 した前記重複確認応答中の前記第 2中継情報に含まれる第 2パラメータと、前記第 1 中継情報に含まれる第 2パラメータとを比較し、両者が一致しない場合に、前記第 1 中継情報と前記第 2中継情報とが重複していると判断する手段をさらに含む通信装 置を提供する。
[0053] 発明 31は、前記発明 29において、前記中継情報は、前記第 1通信端末を特定す る識別子をパラメータとしてさらに含む通信装置を提供する。この装置において、前 記要求手段は、前記第 1通信端末を特定する識別子を含む前記中継情報の送信要 求を前記中継装置に送信する。また、前記重複判断手段は、前記中継装置から受 信した前記重複確認応答中の前記第 2中継情報に含まれる前記識別子と、前記第 1 中継情報に含まれる前記識別子とを比較し、両者が一致しない場合に、前記第 1中 継情報と前記第 2中継情報とが重複していると判断する手段をさらに含む。
[0054] 発明 32は、前記発明 31において、前記重複判断手段は、さらに以下の手段を含 む通信装置を提供する。
•前記第 2中継情報に含まれる前記識別子と、前記第 1中継情報に含まれる前記識 別子とを比較する識別子比較手段、
•前記識別子比較手段が前記両方の識別子が一致したと判断した場合、前記第 1中 継情報と前記第 2中継情報とが重複していないと判断する第 1判断手段、 •前記識別子比較手段が前記両方の識別子が一致しなかったと判断した場合、さら に、前記第 1中継情報に含まれる第 2パラメータと、前記第 2中継情報に含まれる第 2 ノ ラメータと、を比較するパラメータ比較手段、
•前記パラメータ比較手段が前記両方の第 2パラメータが一致すると判断した場合、 第 1中継情報と第 2中継情報とが重複していないと判断する第 2判断手段、 •前記パラメータ比較手段が前記両方の第 2パラメータが一致しないと判断した場合 、第 1中継情報と第 2中継情報とが重複していると判断する第 3判断手段。
[0055] 本発明の中継情報設定方法によれば、外部ネットワークとローカルネットワークとの 間の通信の安定性及び信頼性の向上を図ることができる。
図面の簡単な説明
[0056] [図 1]本発明の第 1実施形態に係る通信中継システムの全体構成図
[図 2]中継テーブルに記憶されて 、る中継情報の概念説明図
[図 3]重複設定防止処理の流れの一例を示す説明図 [図 4] (a) NAT情報設定パラメータの一例 (AddPortMapping) (b) NAT情報が存 在する場合の応答パラメータの一例(c) NAT情報が存在しな ヽ場合の応答パラメ一 タの一例 (d) NAT情報設定パラメータの具体例
[図 5] (a) NAT情報確認要求パラメータの一例(GetSpecificPortMappingEntry) (b) NAT情報が存在する場合の応答パラメータの一例(c) NAT情報が存在しな ヽ 場合の応答パラメータの一例(d) NAT情報確認要求パラメータの具体例(e) NAT 情報が存在する場合の応答パラメータの具体例
[図 6]設定成功確認処理の流れの一例を示す説明図
[図 7] (a) NAT情報重複確認要求パラメータの一例 (b) NAT情報重複確認要求パラ メータの具体例
[図 8]設定定期確認処理の流れの一例を示す説明図
[図 9]設定削除処理の流れの一例を示す説明図
[図 10] (a) NAT情報削除パラメータの一例 (b) NAT情報削除応答のパラメータ (成 功時)(c) NAT情報削除応答のパラメータ (失敗時)(d) NAT情報削除パラメータの 具体例
[図 11]削除確認処理の流れの一例を示す説明図
[図 12] (a) NAT情報削除確認要求パラメータの一例 (b) NAT情報削除確認要求パ ラメータの具体例
[図 13]第 2実施形態に係る重複設定防止処理の一部の流れの一例を示す説明図 [図 14]第 3実施形態に係る設定定期確認処理の流れの一例を示す説明図
[図 15]図 3のステップ S206の判断を IDを用いて行う場合、確認判断部が行う処理の 流れの一例を示す説明図
発明を実施するための最良の形態
<第 1実施形態 >
[構成]
(1)全体構成
図 1は、本発明の第 1実施形態に係る通信中継システムの全体構成を示した図で ある。 [0058] 図 1の通信中継システムでは、グローバルネットワーク 001とローカルネットワーク 00 2と力 ゲートウェイ 110を介して接続されている。ゲートウェイ 110は、グローバル IP アドレス(以下、単に IPGと言うことがある) 110を有している。グローバルネットワーク 0 01には、宅外サーバ 200と、宅外端末 201が接続されている。ローカルネットワーク 0 02には、複数の宅内端末 100, 101が接続されている。宅内端末 100はローカル IP アドレス(以下、単に IPLと言うことがある) 100を有し、宅内端末 101はローカル IPァ ドレス IPL101を有している。宅内端末 100、 101はゲートウェイ 110を介して、宅外 サーバ 200や宅外端末 201と通信することができる。
[0059] (2)ゲートウェイ
ゲートウェイ 110は、設定部 1101及び中継部 1102を有して 、る。
[0060] 設定部 1101は、中継部 1102に対し中継情報の設定を行う。より具体的には、設 定部 1101は、 UPnPにおける IGDの機能を持つことができ、中継情報の設定要求 を任意の宅内端末力 受信すると、中継部 1102に中継情報の設定を要求する。
[0061] 中継部 1102は NAT機能を有する。すなわち、中継部 1102は、グローバル IPアド レスからローカル IPアドレスへのアドレス変換やポート番号変換を行う。また、中継部
1102は、パケットのヘッダを参照してパケットを通過させたり破棄したりするパケットフ ィルタリング (PF)機能を有していても良い。中継部 1102は、中継情報に基づいて N AT機能や PF機能を実行する。中継情報は、中継テーブル 1103に記憶されている
[0062] 図 2は、中継テーブル 1103に記憶されている中継情報の概念説明図である。この 例では、 NAT機能を実行するための中継情報を示す。例えばグローバル IPアドレス 「IPG110」,ポート番号「Portl lO」に届いたパケットは、ローカル IPアドレス「IPL10 0」の宅内端末のポート番号「PortlOO」に送信されるよう、中継情報が設定されてい る。また、グローバル IPアドレス「IPG110」,ポート番号「Portl l l」に届いたパケット は、ローカル IPアドレス「IPL101」の宅内端末のポート番号「Portl01」に送信され るよう、中継情報が設定されている。
[0063] 上述の機能を有するゲートウェイ 110は、 CPU, ROM, RAMなどを有するコンビ ユータ端末で構成される。 [0064] (3)宅内端末
宅内端末 100, 101は同様の機能を有するので、ここでは宅内端末 100の機能に ついて説明する。
[0065] 宅内端末 100は、設定制御部 1001と確認判断部 1002と通信部 1003とを有する
[0066] 設定制御部 1001は、ゲートウェイ 110に対し、中継情報の設定要求や削除要求を 行う。また、設定制御部 1001は、中継情報がゲートウェイ 110に本当に設定された かどうかを確認するための処理 (後述する設定成功確認処理)を行っても良い。さら に、設定制御部 1001は、中継情報がゲートウェイ 110に設定されているかどうかを 定期的に確認する処理 (後述する設定定期確認処理)を行っても良い。力!]えて、設 定制御部 1001は、中継情報がゲートウェイ 110から本当に削除されたかどうかを確 認するための処理 (後述する削除確認処理)を行うこともできる。
[0067] 確認判断部 1002は、中継情報の設定要求をゲートウェイ 110に送信する前に、他 の宅内端末が設定した中継情報と自身が設定しょうとしている中継情報とが重複して いる力否かを判断する。また、確認判断部 1002は、中継情報の削除要求をゲートゥ ヱイ 110に送信する前に、他の端末が設定した中継情報を削除しないための確認処 理を行う。
[0068] 通信部 1003は、ゲートウェイ 110を介し、グローバルネットワーク 001上の宅外サ ーバ 200や宅外端末 201とデータの送受信を行う。例えば、宅内端末 100が IP電話 であれば、 VoIPに準拠した通信処理を行う。
[0069] 上述の機能を有する宅内端末 100, 101は、 CPU, ROM, RAMなどを有するコ ンピュータ端末を用いて実現される。宅内端末 100, 101の具体例としては、 IP電話 、パーソナルコンピュータ、携帯電話、 PDA (Personal Digital Assistance)、車 載ナビゲーシヨンシステム、マルチメディアデータの受信 ·再生機器などが挙げられる
[0070] [処理の流れ]
次に、通信中継システムが行う処理の流れについて、具体的に説明する。以下の 説明で は、中継情報が NAT情報の場合を例に取り説明するが、同様にしてパケットフィルタ リング情報の設定 ·削除を行うこともできる。また、宅内端末 100, 101は同様の機能 を有しているので、以下では宅内端末 100が中継情報の設定や削除を行う場合を例 に取り、説明する。
[0071] 通信中継システムは、大別して(1)重複設定防止処理、(2)設定成功確認処理、 ( 3)設定定期確認処理、(4)設定削除処理、(5)削除確認処理を行う。以下、これらの 各処理について、図面を参照して順次説明する。説明を容易にするために、宅内端 末 100のローカルネットワーク 002上での IPアドレスが「IPL100」であり、使用したい ポート番号が「PortlOO」であるものとする。また、宅内端末 100が使用したいゲート ウェイ 110のグローバルネットワーク 001上の IPアドレス及びポート番号が、「IPG11 0」及び「Portl 10」であるものとする。
[0072] (1)重複設定防止処理
図 3は、重複設定防止処理の流れの一例を示す説明図である。この処理は、大別 して(1 1)重複確認、 (1 - 2) NAT情報の変更、(1 3) NAT情報の設定の 3 つに分けることができる。これらの処理によって、ゲートウェイ 110に NAT情報の設定 を要求する前に、設定しょうとしている NAT情報がローカルネットワーク 002内の他 の宅内端末のものと重複していないかどうかを確認する。これにより、他の宅内端末 の NAT情報を上書きすることを防ぎ、結果的に他の宅内端末 101の通信を妨害す るのを防ぐことができる。
[0073] (1 1)重複確認
まずステップ S201〜S207において、設定しょうとしている NAT情報が既に設定さ れて 、るものと重複して 、るかどうかを調べる。
[0074] ステップ S 201:宅内端末 100の設定制御部 1001は、 NAT情報の設定要求をす るために必要なパラメータを、確認判断部 1002に通知する。 NAT情報設定パラメ一 タは、少なくとも以下の 3つを含む。
[0075] (i)ゲートウェイ 110のグローバルネットワーク 001上のポート番号「Portl 10」
(ii)宅内端末 100のローカルネットワーク 002上の IPアドレス「IPL100」
(iii)宅内端末のローカルネットワーク 002上のポート番号「PortlOO」 図 4 (a)は、 NAT設定要求の API (Application Program Interface)として IG Dで規定される AddPortMappingを使用する場合に指定すべき NAT情報設定パラ メータである。同図(d)は、本実施形態における AddPortMappingの NAT情報設 定パラメータの具体例を示す。図 4 (d)の AddPortMapping要求によって NAT情報 が設定されると、次のような中継が行われる。「グローバルネットワーク 001上の任意 の端末からゲートウェイ 110の「Portl lO」に届いた TCPのパケットを、ローカルネット ワーク 002上の「IPL100」を持つ宅内端末の「Portl00」に中継する」。
[0076] ステップ S202 :確認判断部 1002は、通知された NAT情報設定パラメータを、図示 しない記憶部に格納する。
[0077] ステップ S203 :次に、確認判断部 1002は、 NAT情報確認要求をゲートウェイ 110 の設定部 1101に送信する。 NAT情報確認要求は、少なくとも、設定制御部 1001か ら通知されたパラメータに含まれるゲートウェイ 110のポート番号「Portl 10」を含ん でいる。この要求により、そのポート番号「Portl l0」に対応する NAT情報がすでに 設定されて 、る力否かを、ゲートウェイ 110に問 、合わせることができる。
[0078] 図 5 (a)は、 NAT情報確認要求の APIの一例として IGDで規定されるアクション「G etSpecificPortMappingEntry」を使用する場合の、 NAT情報確認要求パラメ一 タを示す。また、同図(d)は、本実施形態における「GetSpecificPortMappingEnt ryjで指定すべき要求パラメータの具体例である。これは次の内容を問!、合わせて!/、 る要求である。「グローバルネットワーク 001上の任意の端末からゲートウェイ 110の ポート番号「Portl l0」に届いた TCPのパケットを、ローカルネットワーク 002上の宅 内端末に中継するためのルールの有無」。
[0079] ステップ S204 :ゲートウェイ 110の設定部 1101は、中継テーブル 1103を参照し、 受け取った NAT情報確認要求に含まれるパラメータ「Portl 10」に対応する NAT情 報を検索する。「Portl 10」に対応する NAT情報が既に存在していれば、その NAT 情報を含む NAT情報確認応答を、宅内端末 100に送信する。「Portl l0」に対応す る NAT情報が存在しなければ、その旨を伝える応答を宅内端末 100に送信する。
[0080] 図 5 (b)は、 GetSpecificPortMappingEntry を使用した問!、合わせに対し、 N AT情報が存在する場合の応答パラメータを示す。同図(c)は、 NAT情報が存在し ない場合の応答パラメータを示す。同図 (e)は、同図 (b)の具体例を示す。この応答 は以下の内容を示している。「ローカルネットワーク 002上の IPアドレス「IPL100」を 持つ宅内端末のポート番号「PortlOO」にパケットを中継する NAT情報が存在する」
[0081] ステップ S205 :確認判断部 1002は、 NAT情報確認応答をゲートウェイ 110から受 信すると、その応答内容を確認する。すなわち、問い合わせたポート番号「PortlOO 」に対応する NAT情報の存在の有無を判断する。図 5の例でいえば、応答のステー タスコードが ΓΗΤΤΡΖ1. 1 200 ΟΚ」であるか(同図(b) )、 「HTTPZl. 1 500 Internal Server Error」である力 (同図(c) )を判断する。
[0082] ステップ S206〜S207 :問い合わせたポート番号「PortlOO」に対応する NAT情 報が存在している場合、確認判断部 1002は、その応答に含まれるパラメータと、ステ ップ S 202で記憶した NAT情報設定パラメータと、を比較する。さらに、確認判断部 1 002は、比較結果に基づいて、その NAT情報が、自身が設定した NAT情報なのか 、または他の宅内端末に対する NAT情報と重複しているのかを判断し (S206)、判 断結果を設定制御部 1001に通知する(S207)。この判断は、例えば NAT情報設定 パラメータ中の、「(ii)宅内端末 100のローカルネットワーク 002上の IPアドレス」と、 応答中の宅内端末の IPアドレスとに基づいて行う。両者が一致していれば、自身が 設定した NAT情報であると判断し、一致しない場合は他の宅内端末に対する設定と 重複して!/、ると判断する。 GetSpecificPortMappingEntryで NAT情報確認要求 を送信した場合、宅内端末 100の IPアドレスの値「IPL100」と、図 5 (e)に示す NAT 情報確認応答中の「NewInternalClient」の値(図中、 IPL 100)とが一致していれ ば、自身が設定した NAT情報であると判断する。
[0083] (1 - 2) NAT情報の変更
ステップ S208〜S210では、宅内端末 100は、 NAT情報の重複判断の結果に応 じ、 NAT情報設定パラメータを変更する。
[0084] ステップ S208 :設定制御部 1001は、受け取った判断結果が「自身の NAT情報」 であれば、後述するステップ S211に移行する。すなわち、ゲートウェイ 110に NAT 情報の設定を依頼するための処理に移行する。逆に、判断結果が「他の宅内端末の NAT情報」であれば、ステップ S 209に移行する。
[0085] ステップ S209 :設定制御部 1001は、他の宅内端末の存在の有無を判断する。ここ で「存在する」とは、他の宅内端末がローカルネットワーク 002に接続している、すな わちオンラインであることを意味する。この判断は、例えば、設定制御部 1001は、 IC MPもしくは ARPを用いて行うことができる。他の宅内端末が存在していれば、設定 制御部 1001は、 NAT情報設定パラメータを変更する必要があると判断し、ステップ S210に移行する。逆にその宅内端末が存在していなければ、 NAT情報を上書き設 定するベぐステップ S211に移行する。なお、他の宅内端末の NAT情報を削除して 力 、自身の NAT情報を再設定してもよい。
[0086] ステップ S210 :設定制御部 1001は、 NAT情報設定パラメータ中のゲートウェイ 11 0のポート番号「Portl lO」を別のものに変更し、パラメータを再設定する。その後、ス テツプ S201〖こ戻り、前述の処理を繰り返す。
[0087] (1 - 3) NAT情報の設定
ステップ S211〜S213では、宅内端末 100がゲートウェイ 110に対し、 NAT情報を 設定する。
[0088] ステップ S211 :宅内端末 100は、ゲートウェイ 110が NAT情報の設定を受付可能 か否かを判断する。受付可能であれば、 NAT情報を設定するためにステップ S212 に移行する。受付不可であれば、他の処理を行う。例えば、通信部 1003による通信 の実行処理に移行する(図示せず)。このステップを実行する理由は次の通りである。 例えば、ゲートウェイ 110の実装形態によっては、ゲートウェイ 110に対してグローバ ルネットワーク上の IPアドレスが割当てられていない場合がある。その場合、ゲートゥ エイ 110に NAT情報を設定できない。そのため、例えば IGDの規格で定められてい る API「GetExternalIPAddress」を用い、ゲートウェイ 110のグローバル IPアドレス を問い合わせるとよい。宅内端末 100は、その応答に基づいて、グロ一ノ レ IPァドレ スを割当てられている状態であることを確認することができる。
[0089] ステップ S212 :設定制御部 1001は、ゲートウェイ 110の設定部 1101に対し、 NA T情報設定要求を送信する。この要求には、ステップ S201〜S204で確認をした NA T情報設定パラメータ(図 4 (a) , (d)参照)が含まれる。すなわち、ステップ S202で記 憶した NAT情報が、既に存在する他の宅内端末の設定と重複していない場合か、ま たは既に存在する自分自身の NAT情報の場合、記憶して ヽる NAT情報をゲートゥ エイ 110に設定する。なお、自身が設定した同じ NAT情報が既に存在している場合 、 NAT設定要求を新たに行わず、その設定を再利用してもよい。
[0090] ステップ S213 :ゲートウェイ 110の設定部 1101は、 NAT情報の設定が成功したか 否かの情報を含む NAT情報設定応答を、宅内端末 100に送信する。図 4 (b)及び( c)は、 IGDに基づく成功時及び失敗時の応答に含まれるステータスコードとパラメ一 タとを示す。
[0091] ステップ S214 :宅内端末 100の設定制御部 1001は、ゲートウェイ 110から成功の 応答が返ってきた場合、後述する設定成功確認処理 (図 6参照)を行い、 NAT情報 の設定通りにパケットが本当に中継されるかを確認する。失敗の応答が返ってきた場 合、例えばステップ S210に移行し、パラメータを変更して再設定を試みても良い。ま た単に同じパラメータで再設定を試みても良い。また、既に存在する自分自身の NA Tの上書きに失敗した場合には、それを成功と判断してもよい。
[0092] 以上の処理により、宅内端末 100が NAT情報などの中継情報をゲートウェイ 110 に設定する際に、他の宅内端末の中継情報を上書きせずに済むため、他の宅内端 末の通信妨害を防止できる。
[0093] (2)設定成功確認処理
図 6は、設定成功確認処理の流れの一例を示す説明図である。この処理は、前記 重複設定防止処理(図 3参照)において、ゲートウェイ 110が NAT情報の成功を示 す応答を宅内端末 100に返した場合 (S213)、その後に実行するとよい。この処理に より、グローバルネットワーク 001上の任意の端末からのパケットを、設定された NAT 情報に基づいて本当に受信することができるかどうかを確認することができる。このよ うな確認が有効な理由は、次の通りである。
[0094] 仮に NAT情報の設定が成功していても、ゲートウェイ 110に設定されているバケツ トフィルタなどによって、グローバルネットワーク 001上の端末からのパケットがロー力 ルネットワーク 002に中継されない可能性もある。また別の可能性として、宅内端末 1 00が複数のゲートウェイの配下に接続されている場合がある。この場合、直接接続さ れて 、るゲートウェイに対して NAT情報の設定を行っただけでは、グローバルネット ワーク 001上の端末力ものパケットを受信できないことが考えられる。以下、図 6に従 つて処理を説明する。
[0095] ステップ S 301:宅内端末 100の設定制御部 1001は、 NAT情報重複確認要求を、 グローバルネットワーク 001上に存在する宅外サーバ 200に送信する。この要求には 、ゲートウェイ 110に対して設定した NAT情報のうち、ゲートウェイ 110のグローバル ネットワーク 001上のポート番号「Portl 10」が含まれる。図 7 (a)は、 NAT情報重複 確認要求に含まれるパラメータを示す。同図(b)は、本実施形態における NAT重複 確認要求パラメータの具体例を示す。
[0096] ステップ S302 :宅外サーバ 200は、 NAT情報重複確認要求を受け取ると、その中 に含まれるパラメータ「Portl 10」に基づき、ゲートウェイ 110のポート「Portl 10」に 向かって NAT情報重複確認応答を送信する。この応答に含まれる内容は任意であ り、空パケットであっても構わない。
[0097] ステップ S303〜S306 :宅内端末 100の設定制御部 1001は、宅外サーバ 200か らの応答を受信したかどうか確認し (S303)、受信していれば NAT情報の設定は成 功したと判断する(S304)。この場合、設定制御部 1001は、ゲートウェイ 110に設定 した NAT情報を、後述する削除確認処理により削除するまで記憶しておいても良い 。設定した NAT情報を記憶しておくことで、宅内端末がすでに設定してある NAT情 報に対して、異なるポート番号(図 4 (a)における NewInternalPort)で上書きしてし まうことを防止することもできる。受信していなければ、 NAT情報重複確認要求の送 信回数が規定回数に達するまで、一定時間毎に NAT情報重複確認要求を送信す る(S305、 S306)。
[0098] ステップ S307: NAT情報重複確認要求の送信回数が規定回数に達しても応答を 受信しない場合、宅内端末 100の設定制御部 1001は、 NAT情報設定が失敗したと 判断する。
[0099] ステップ S308 :設定制御部 1001は、好ましくはゲートウェイ 110に対し、設定した NAT情報について削除要求を送信する。 NAT情報の設定に失敗していても、ゲー トウエイ 110にその情報が残ってしまい、ゲートウェイ 110のポートが無駄に開放され ている場合がある力 である。 NAT情報の削除要求の APIとして、例えば IGDに規 定されて!/、る「DeletePortMapping」を用いることができるし、別のインタフェースを 用いることもできる。「DeletePortMapping」を用いる場合に、宅内端末 100及びゲ 一トウエイ 110間で送受信されるパラメータについては、後述する (4)設定削除処理 において詳述する。
[0100] ステップ S309 :設定制御部 1001は、記憶している NAT情報の第 1のパラメータ、 つまりゲートウェイ 110のポート番号「Portl 10」を変更し、再度 NAT情報の設定を 試みる(図 3のステップ S201)。別の中継情報を設定し直すことで、通信の中継がで きな 、と 、う事態を防ぎ、通信の信頼性を担保することができる。
[0101] 以上の処理により、重複設定防止処理で設定した NAT情報に従ってパケットが本 当に中継されるか否かを確認し、通信の安全性と信頼性とを高めることができる。
[0102] (3)設定定期確認処理
図 8は、設定定期確認処理の流れの一例を示す説明図である。この処理は、前述 の重複設定防止処理の後で行うと良い。これにより、ゲートウェイ 110に対して NAT 情報を有効に設定した後、その設定が有効であるかどうかを定期的に確認することが できる。すなわち、宅内端末自身の NAT情報を他の宅内端末に上書きまたは削除さ れたことを検出でき、その結果自身が行っている通信の妨害を防ぐことができる。以 下、図 8に従って説明する。
[0103] ステップ S401 :宅内端末 100の設定制御部 1001は、ゲートウェイ 110に対して N AT情報を設定した後、一定時間経過毎に下記の処理ステップ S402〜410を実行 する。
[0104] ステップ S402 :設定制御部 1001は、 NAT情報重複確認要求を、グローバルネッ トワーク 001上の宅外サーバ 200に送信する。この要求は、重複設定防止処理にお いてゲートウェイ 110に設定した NAT情報中のゲートウェイ 110のポート番号「Port 110」を含んでいる。 NAT情報重複確認要求に含まれるパラメータは、前記図 7に示 したとおりである。
[0105] ステップ S403:宅外サーバ 200は、 NAT情報重複確認要求を受け取ると、ゲート ウェイ 110のポート「Portl lO」に向力つてパケットを送信する。前記ステップ S302と 同様、パケットの中身は何でもよぐ空パケットであっても良い。
[0106] ステップ S404〜S407 :宅内端末 100の設定制御部 1001は、宅外サーバ 200か らの応答を受信したかどうか確認し (ステップ S404)、受信していれば NAT情報の設 定はまだ有効であると判断する (ステップ S405)。受信していなければ、 NAT 情報重複確認要求の送信回数が規定回数に達するまで、一定時間毎に NAT情報 重複確認要求を送信する(ステップ S406、 S407)。
[0107] ステップ S408: NAT情報重複確認要求の送信回数が規定回数に達しても応答を 受信しない場合、宅内端末 100の設定制御部 1001は、 NAT情報設定が無効にな つたと判断する。
[0108] ステップ S409 :設定制御部 1001は、好ましくはゲートウェイ 110に対し、設定した NAT情報について削除要求を送信する。無効になった NAT情報が、ゲートウェイ 1 10に残って!/、ることがあり、そのためにゲートウェイ 110のポートを有効活用できな!/ヽ おそれがあるためである。 NAT情報の削除要求の APIとして、例えば IGDに規定さ れて 、る「DeletePortMapping」を用いることができるし、別のインタフェースを用い ることもできる。「DeletePortMapping」を用いる場合に、宅内端末 100及びゲート ウェイ 110間で送受信されるパラメータにつ 、ては、後述する(4)設定削除処理にお いて詳述する。
[0109] ステップ S410 :設定制御部 1001は、 NAT情報を以前と同じパラメータで再設定 する。なお、他の宅内端末に対する設定に上書きしてしまう可能性を考慮し、ゲート ウェイ 110のポート番号を別のものに変更して NAT情報を再設定してもよい。同じ N AT情報または変更した NAT情報 ヽずれを設定する場合であっても、重複設定防止 処理のステップ S201に戻り、設定を最初からやり直すこともできる。
[0110] 以上の処理により、 NAT情報などの中継情報をいつたんゲートウェイ 110に設定し た後、定期的に設定の有効性を確認することにより、設定が無効となったことを速や 力に検知することができる。無効となった場合には、同じ中継情報または異なる中継 情報を再設定することで通信の続行が可能となるので、通信の安全性や信頼性を高 めることができる。
[0111] (4)設定削除処理 図 9は、設定削除処理の流れの一例を示す説明図である。この処理では、宅内端 末 100がゲートウェイ 110に対し、 NAT情報の削除要求を行う。この処理により、宅 内端末 100がゲートウェイ 110に NAT情報の削除を要求する際、他の宅内端末に ついて設定されている NAT情報を削除することを防止する。その結果、他の宅内端 末の通信が妨害されるのを防止することができる。この処理の実行タイミングは特に 限定されず、宅内端末 100の通信部 1003に応じたタイミングでよい。以下、図 9に従 つて説明する。
[0112] ステップ S601〜S602 :宅内端末 100の設定制御部 1001は、 NAT情報の削除要 求をするために必要なパラメータを、確認判断部 1002に通知する(S601)。通知さ れた NAT情報削除パラメータは、確認判断部 1002により図示されない記憶部に格 納される(S602)。
[0113] ここで、 NAT情報削除パラメータは、少なくともゲートウェイ 110のグローバルネット ワーク 001上のポート番号を含む。図 10 (a)は、 NAT削除要求の APIとして、 IGDで 規定されて ヽる「DeletePortMapping」を使用した場合の NAT情報削除パラメータ である。もちろん、その他のインタフェースを用いてもよい。同図(d)は、本実施形態 における「DeletePortMapping」パラメータの具体例を示す。
[0114] ステップ S603:宅内端末 100の確認判断部 1002は、 NAT情報確認要求を設定 部 1101に送信する。この要求は、通知されたパラメータ中のゲートウェイ 110のポー ト番号「Portl lO」を含む。この要求は、このポート番号「Portl lO」に対応する NAT 情報の存在の有無をゲートウェイ 110に問い合わせる要求である。ここで、 NAT情報 確認要求に相当する APIとして前述の「GetSpecificPortMappingEntry」を使用 する場合、図 5 (a)に示すパラメータ構成となる。
[0115] ステップ S604 :ゲートウェイ 110の設定部 1101は、受け取った NAT情報確認要 求に基づき、パラメータ「Portl 10」に対応する NAT情報の存在を調べ、応答を宅 内端末 100に返す。「GetSpecificPortMappingEntry」に撚る要求に対しては、 前記図 5 (b)または (c)に示すパラメータが返される。
[0116] ステップ S605:宅内端末 100の確認判断部 1002は、 NAT情報確認応答を受け 取ると、その応答に基づき問い合わせたポート番号「PortlOO」に対応する NAT情 報の存在の有無を判断する。この判断方法は、前記重複設定防止処理におけるステ ップ S205と同様である。
[0117] ステップ S606〜S607 :NAT情報が存在している場合、確認判断部 1002は、 その NAT情報が、宅内端末自身が設定した NAT情報なのか、他の宅内端末が設 定した NAT情報なのかを判断し (S606)、判断結果を設定制御部 1001に通知する (S607)。この判断方法は、前記重複設定防止処理におけるステップ S206と同様に 行う。
[0118] ステップ S608〜S609 :設定制御部 1001は、削除しょうとしている NAT情報が、 宅内端末 100自身が設定した NAT情報である場合 (S608)、ゲートウェイ 110の設 定部 1101に対して NAT情報削除要求を行う(S609)。この要求は、ステップ S60
2で記憶した NAT情報削除パラメータに基づいて行う。
[0119] また、削除しょうとしている NAT情報が他の宅内端末に対する設定である場合、後 述するステップ S611に移行する。そのまま削除すると、他の宅内端末の通信を妨害 するおそれがある力 である。
[0120] さらに、削除しょうとしている NAT情報が存在しないという応答を受け取った場合、 設定制御部 1001は、 NAT情報削除要求を送信しなくてもよいし、また念のために N
AT情報削除要求を送信してもよ ヽ。
[0121] ステップ S610 :ゲートウェイ 110の設定部 1101は、宅内端末 100に対し、 NAT情 報の削除が成功したか失敗したかの情報を含む NAT情報削除応答を送信する。図
10 (b)及び (c)は、成功及び失敗の場合の応答ステータスコード及びパラメータを、 それぞれ示す。
[0122] ステップ S611 :削除しょうとしている NAT情報が他の宅内端末に対する設定であ る場合、設定制御部 1001は、他の宅内端末が存在しているかどうかを、たとえば IC MPもしくは ARPなどで確認するとよい。存在していれば削除を行わず、存在してい なければステップ S609に移行して NAT情報削除要求を送信することができる。
[0123] 上述の処理にぉ 、て、ステップ S603〜S607では、 NAT情報確認要求をゲートゥ エイ 110の設定部 1101に送信し、その応答パラメータに基づ!/ヽて宅内端末自身の N AT情報か否かを判断している。し力し、グローバルネットワーク 001上の外部サーバ 200からゲートウェイ 110のポート「Portl 10」に向けてパケットを送信してもらい、宅 内端末自身のポート rPortlOOjに届くかどうかによりその設定が自身のものであるか どうかを判断することもできる。
[0124] なお、本設定削除処理の実行タイミングとして、次の例も考えられる。宅内端末自身 が設定した NAT情報について一定時間毎にゲートウェイ 110の設定部 1101から N
AT情報を取得し、宅内端末自身が設定したものであり、かつ現在は使用していない ものについて、本処理により削除する。
[0125] 以上の処理により、宅内端末が、他の宅内端末に対して設定されている NAT情報 を削除してしまい、その宅内端末の通信を妨害する自体を防止することができる。
[0126] (5)削除確認処理
図 11は、削除確認処理の流れの一例を示す説明図である。この処理は、前記設定 削除処理において NAT情報を削除した後、本当に削除されている力否かを確認す るための処理である。以下、図 7に従って説明する。
ステップ S701:宅内端末 100の設定制御部 1001は、 NAT情報削除確認要求を、 グローバルネットワーク 001上の宅外サーバ 200に送信する。この要求には、前記設 定削除処理に用 、た NAT情報削除パラメータに含まれるゲートウェイ 110のポート 番号「Portl lO」が含まれる。図 12 (a)は、 NAT情報削除確認要求に含まれるパラメ ータを示す。同図 (b)は、本実施形態における NAT情報削除確認要求のパラメータ の具体例である。
[0127] ステップ S702 :宅外サーバ 200は、 NAT情報削除確認要求を受け取ると、その中 に含まれるパラメータに基づき、ゲートウェイ 110のポート「Portl lO」に向かってパケ ットを送信する。このパケットの中身は任意であり、空パケットであっても構わない。
[0128] ステップ S703〜S707 :宅内端末 100の設定制御部 1001は、宅外サーバ 200か らの応答を受信したかどうか確認し (S703)、受信していれば NAT情報の削除は失 敗したと判断する (ステップ S704)。削除失敗と判断した場合、再度前記設定削除処 理(図 9)を行っても良い。宅外サーバ 200からの応答を受信していなければ、設定 制御部 1001は、 NAT情報削除確認要求の送信回数が規定回数に達するまで一定 時間 毎に NAT情報削除確認要求を送信する(S705、 S706)。
[0129] ステップ S707:送信回数が規定回数に達しても宅外サーバ 200からの応答を受信 しない場合、設定制御部 1001は NAT情報の削除が成功していると判断する。設定 制御部 1001が設定した NAT情報を記憶している場合 (ステップ S304参照)、ステツ プ S707において NAT情報の削除を確認した後、設定制御部 1001自身が記憶して いる NAT情報を削除する。
[0130] なお、別の方法として、ゲートウェイ 110の設定部 1101に対し、例えば IGDで規定 される「GetSpecificPortMappingEntry」を用いて NAT情報の有無を確認するこ とにより、 NAT情報の削除が成功した力どうかを判断してもよい。
以上のようにして、宅内端末による NAT情報の削除を確認することにより、通信の安 全性を担保することができる。
[0131] <第 2実施形態 >
図 13は、第 2実施形態に係る重複設定防止処理の一部の流れの一例を示す説明 図である。第 1実施形態における前記重複設定防止処理のステップ S206に代えて 以下の処理を行ってもよい。ステップ S206では、宅内端末自身の NAT情報か否か の判断を、 NAT情報確認要求に対するゲートウェイ 110からの応答に基づいて行つ ている。し力し、グローバルネットワーク 001上の外部サーバ 200にゲートウェイ 110 のポート「Portl 10」に向けてパケットを送信してもら 、、宅内端末自身のポート ΓΡοΓ tlOOjに届くかどうかにより、 NAT情報が宅内端末自身のものであるかどうかを判断 してもよい。以下、図 13を参照し、第 2実施形態に係る重複設定防止処理の流れに ついて説明する。
[0132] まず、ステップ S201〜S204を第 1実施形態と同様に実行し、設定しょうとしている NAT情報の存在の有無をゲートウェイ 110に確認する。その NAT情報が存在する 場合、以下の処理を行う。存在しない場合、前述と同様にステップ S207に移行する ので、以下の処理を行う必要はない。
[0133] ステップ S231:設定しょうとしている NAT情報がゲートウェイ 110に存在する場合、 確認制御部 1002は、 NAT情報重複確認要求をグローバルネットワーク 001上に存 在する宅外サーバ 200に送信する。この要求には、前記図 7 (a)に示すように、通知 された NAT情報設定パラメータのうち、ゲートウェイ 110のグローバルネットワーク 00
1上のポート番号「Portl lO」が含まれる。
[0134] ステップ S232 :宅外サーバ 200は、 NAT情報重複確認要求を受け取ると、その中 に含まれるパラメータ「Portl 10」に基づき、ゲートウェイ 110のポート「Portl 10」に 向かって NAT情報重複確認応答を送信する。この応答に含まれる内容は任意であ り、空パケットであっても構わない。
[0135] ステップ S233〜S238 :宅内端末 100の設定制御部 1001は、宅外サーバ 200か らの応答を受信したかどうか確認し (S233)、受信していれば宅内端末 100自身の N
AT情報が存在すると判断する(S234)。受信していなければ、 NAT情報重複確認 要求の送信回数が規定回数に達するまで、一定時間毎に NAT情報重複確認要求 を送信する(S235、 S236) 0
[0136] ステップ S237 : NAT情報重複確認要求の送信回数が規定回数に達しても応答を 受信しない場合、宅内端末 100の設定制御部 1001は、他の宅内端末に対する NA
T情報であると判断する。
その後、 NAT情報が宅内端末 100自身のものであるか否かの判断に基づいて、ま たは設定しょうとする NAT情報がゲートウェイ 110に存在しないことに基づいて、 ス テツプ S 207〜ステップ S 214の処理を第 1実施形態と同様に行う。
[0137] <第 3実施形態 >
前記第 1実施形態の設定定期確認処理においては、宅外サーバ 200に対して NA T情報重複確認要求を送信したが、別の方法も可能である。例えば、図 14は、 IGD で規定される「GetSpecificPortMappingEntry」と!、う APIを用いて NAT設定の 有効 Z無効を確認する方法の説明図である。
[0138] ステップ S501 :宅内端末 100は、ゲートウェイ 110に対して NAT情報を有効に設 定した後、一定時間経過毎に下記の処理を繰り返す。
[0139] ステップ S502 :宅内端末 100の設定制御部 1001は、「GetSpecificPortMappin gEntry」による NAT情報重複確認要求(図 5 (a)参照)を、ゲートウェイ 110に送信 する。この要求は、重複設定防止処理で設定した NAT情報中のゲートウェイ 110の ポート番号「Portl lO」を含む。 [0140] ステップ S503 :ゲートウェイ 110の設定部 1101は、 NAT重複確認要求を受け取る と、その中に含まれるポート番号「Portl 10」をキーに中継テーブル 1103を検索する 。検索の結果、「Portl 10」を含む NAT情報が存在する力否かの応答を、宅内端末 100に送信する(図 5 (b)、(c)参照)。
[0141] ステップ S504〜S506 :宅内端末 100の設定制御部 1001は、「Portl lO」を含む NAT情報が存在するかどうかを、受信した応答に基づいて判断する(S504)。存在 している場合、存在する NAT情報が、自身が設定した NAT情報であるかどうかを判 断する(S505)。この判断方法については、重複設定防止処理のステップ S 206で 述べたとおりである。自身が設定した NAT情報であれば、設定制御部 1001は、 NA T情報が有効であると判断する(S506)。
[0142] ステップ S507:宅内端末自身が設定した NAT情報ではな 、場合力または設定し たはずの NAT情報が存在していない場合、設定制御部 1001は、 NAT情報が無効 であると判断する。
[0143] ステップ S508 :設定制御部 1001は、以前と同じパラメータでゲートウェイ 110に対 し NAT情報を再設定する。なお、自他の宅内端末に対する設定に上書きする可能 性を考慮し、ゲートウェイ 110のポート番号を別のものに変更して再設定を行ってもよ いのは、第 1実施形態と同様である。
[0144] なお、第 1実施形態と同様、ステップ S507の後、無効になったと判断した NAT情 報の削除要求をゲートウェイ 110に送信してもよい。これは、設定が無効になってい ても、ゲートウェイ 110に NAT情報が残って!/、る力もしれな!、からである。
[0145] 以上の方法により、設定した NAT情報の有効性を定期的に確認することができる。
この処理は、前記図 6の設定成功確認処理により NAT設定に基づく中継が実際に 行われることを確認した後で行うことが好ましい。設定成功確認処理により、設定した NAT情報に基づ 、てデータが正しく中継されることを確認した後であれば、 NAT情 報の設定の有無をゲートウェイ 110に問い合わせるだけで足りるからである。
[0146] ここで述べた方法を用い、宅内端末 100が NAT設定を行う際に、これから設定しよ うとして!/、る NAT情報と同じ NAT情報を既に設定して 、な 、かどうかを確認すること もできる。その NAT情報が既にゲートウェイ 110に設定されていれば、再利用できる 力もである。確認処理は、前記重複設定防止処理のステップ S203〜S206に代えて 行うと良い。ここで、宅内端末自身が設定した NAT情報であるかどうかを判断する方 法としては、重複設定防止処理のステップ S206と同様に行うことができる。
[0147] <その他の実施形態 >
(A)前記第 1実施形態のステップ S206において、既に存在する NAT情報が宅内 端末 100自身のものか否かの判断は、 IPアドレス (NAT情報確認応答中のパラメ一 タ「NewInternalClient」の値)に基づ ヽて行った。
しかし、「NewInternalClient」の値だけに基づいて、 NAT情報が自身のものか否 かを宅内端末 100が判断すると、宅内端末 100の IPアドレス「IPL100」が変化した 場合に判断を誤る可能性がある。
[0148] 例えば、宅内端末 100の IPアドレスが「IPL100」である時に、ゲートウェイ 110に対 して、図 3の方法により「グローバルネットワーク 001上の任意の端末からゲートウェイ 110の「Portl 10」に届 、たパケットを、ローカルネットワーク 002上の「IPL100」を持 つ宅内端末の「PortlOO」に中継する」という NAT情報を、すでに設定済みであると する。
[0149] ステップ S201:まず、宅内端末 100の設定制御部 1001は、 NAT情報の設定要求 をするために必要なパラメータを、確認判断部 1002に通知する。 NAT情報設定パ ラメータは、少なくとも以下の 3つを含む。
(i)ゲートウェイ 110のグローバルネットワーク 001上のポート番号「Portl 10」
(ii)宅内端末 100のローカルネットワーク 002上の IPアドレス「IPL200」
(iii)宅内端末のローカルネットワーク 002上のポート番号「PortlOO」
ステップ S202 :確認判断部 1002は、通知された NAT情報設定パラメータを、図示 しない記憶部に格納する。
[0150] ステップ S203 :次に、確認判断部 1002は、 NAT情報確認要求をゲートウェイ 110 の設定部 1101に送信する。 NAT情報確認要求は、少なくとも、設定制御部 1001か ら通知されたパラメータに含まれるゲートウェイ 110のポート番号「Portl 10」を含ん でいる。この要求により、そのポート番号「Portl lO」に対応する NAT情報がすでに 設定されて 、る力否かを、ゲートウェイ 110に問 、合わせることができる。 [0151] ステップ S204 :ゲートウェイ 110の設定部 1101は、中継テーブル 1 103を参照し、 受け取った NAT情報確認要求に含まれるパラメータ「Portl 10」に対応する NAT情 報を検索する。前提条件として、「Portl 10」に対応する NAT情報が既に存在してい るため、その NAT情報を含む NAT情報確認応答を、宅内端末 100に送信する。
[0152] ステップ S205 :確認判断部 1002は、 NAT情報確認応答をゲートウェイ 110から受 信すると、その応答内容を確認する。すなわち、問い合わせたポート番号「Portl00 」に対応する NAT情報の存在の有無を判断する。
ステップ S206〜S207 :問い合わせたポート番号「Portl00」に対応する NAT情報 が存在しているため、確認判断部 1002は、その応答に含まれるパラメータと、ステツ プ S202で記憶した NAT情報設定パラメータと、を比較する。さらに、確認判断部 10 02は、比較結果に基づいて、その NAT情報力 自身が設定した NAT情報なの力、 または他の宅内端末が設定した NAT情報と重複しているのかを判断し (S206)、判 断結果を設定制御部 1001に通知する(S207)。ここでこの判断を、 NAT情報設定 パラメータ中の、「(ii)宅内端末 100のローカルネットワーク 002上の IPアドレス(IPL 200)」と、応答中の宅内端末の IPアドレス「IPL100」とに基づいて行うため、両者が 一致せず、他の宅内端末に対する設定と重複していると誤判断してしまう。
[0153] ゆえに、ステップ S210で、 NAT情報のパラメータの再設定を行い、ステップ S201 力 処理をやり直すこととなるため、 IPアドレスが変化する前に設定した NAT情報が ゲートウェイ 110に残ったまま、新たな NAT情報が設定されることとなる。このため、 自身を唯一に特定することのできる ID、例えば MACアドレスや時刻情報などを埋め 込むことのできるパラメータを新規に設け、その IDに基づいて比較することにより、 IP アドレスが変化した後にも、 IPアドレス変化前に自身が設定した NAT情報を判断で さるようにしてちょい。
[0154] 例えば UPnPの IGDの規定に新規なパラメータを設定することを考える。まず、図 4
(.a)に示す「AddPortMapping」中のノ ラメータ「NewPortMappingDescription」 の値として、宅内端末 100の MACアドレスや時刻情報など力もなる宅内端末 100を 一意に特定する IDを埋め込む。つまり、ゲートウェイ 110の中継テーブル 1103に、 NAT情報としてその IDが記憶されるようにする。さらに、「GetSpecificPortMappi ngEntry」による NAT情報確認要求への応答(図 5 (b) )中のパラメータ「NewPort MappingDescriptionJに、ゲートウェイ 110が、 NAT情報中に指定されている IDを 記述するようにする。このようにすれば、 NAT情報確認応答を受信した宅内端末 10 0は、 NAT情報確認応答中の IDと、自身の IDを比較することにより、既に存在する N AT情報が自身のもの力否かを判断することができる。
[0155] 以下、図 15を用いて、前記第 1実施形態のステップ S206において、既に存在する NAT情報が宅内端末 100自身のもの力否かの判断を、 IDを用いて行う場合の、確 認判断部の動作を説明する。
[0156] ステップ S1501:確認判断部 1002は、まず、 NAT情報確認応答中のパラメータ「 NewPortMappingDescriptionJの値に含まれる IDと、自身の IDとを比較する。
[0157] ステップ S 1502 : IDがー致する場合、その NAT情報は、自身が設定したものであ ると判断する。
[0158] IDがー致しない場合、その NAT情報は、自身が設定したものではないと判断する 。ここで、宅内端末 100自身が設定したものではない NAT情報でも、そのパラメータ 中の「NewInternalClient」と「NewInternalPort」力 自身の IPアドレスと、使用す るポートと一致すれば、その NAT情報を上書きまたは削除してもよ 、と判断できる。
[0159] その理由は、例えば、 IPアドレス「IPL101」を持つ宅内端末 101が、図 3の方法に より「グローバルネットワーク 001上の任意の端末からゲートウェイ 110の「Portl 10」 に届いたパケットを、ローカルネットワーク 002上の「IPL101」を持つ宅内端末の「Po rtlOOjに中継する」とうい NAT情報を、ゲートウェイ 110に対してすでに設定済みで あるとする。その後、突然電源が切れた後の再起動等により、宅内端末 101の IPアド レスが「IPL100」に、宅内端末 100の IPアドレスが「IPL101」に入れ替わったとする と、上記の NAT情報は、宅内端末 100に対する設定となり、宅内端末 101に対して は無意味な NAT情報であると判断できるからである。
[0160] ステップ S1503〜S1504 :ゆえに、ステップ S1501で IDがー致しないと判断した 場合、 NAT情報確認応答中のパラメータ「NewInternalClient」の値と、自身の IP アドレスを比較する(SI 503)。一致しない場合、他の機器の NAT設定と重複してい ると判断する(S1504)。 [0161] ステップ SI 505 : IPアドレスが一致した場合、さらに NAT情報確認応答中のパラメ ータ「NewInternalPort」の値と、自身が設定を行おうとして 、る NAT情報設定要 求中のパラメータの「NewInternalPort」がー致するかどうかを比較する(S1505)。 一致しない場合、他の機器が設定した NAT情報と重複していると判断する(S1504 )。一致する場合、その NAT情報は自身に対する設定であると判断する(S1502)。
[0162] 上述のように、まず自身を特定できる IDによって判断することにより、突然電源が切 れた後の再起動等により IPアドレスが変化したにも関わらず、以前に設定した NAT 情報が残っている場合にも、自身が以前に設定した NAT情報であるかどうかを正確 に判断することが可能である。また逆に、他の機器が設定した NAT情報でも、その N AT情報が自身に対する設定であるかどうかを確認することにより、上書き'削除の可 否を判断することが可能となる。これらより、 NAT情報を上書きしたり、削除したりする ことにより、無駄な NAT情報がゲートウェイ 110の中継テーブル 1103に増え続ける ことを防止できる効果がある。
[0163] 図 3のステップ S206において、上述の IDを用いる判断方法により、自身が設定し た NAT情報であるかどうかを判断した後の動作は、図 3のステップ S207以降のシー ケンスに準ずる。
[0164] なお、図 15のステップ S1505におけるポート比較によって、 S1502に進んだ場合 、すなわち、「IDがー致せず、他の機器が設定した NAT情報であるが、 IPアドレスと ポートが一致したため、自身に対する NAT情報である」と判断した場合、その後の動 作として図 3のステップ S 212で NAT情報設定要求をゲートウェイ 110に対して行う 前に、念のために図 9のステップ S609と同じ手順で NAT情報削除要求を送信し、ゲ 一トウエイ 110から NAT情報を削除しておくとよい。その理由は、他の機器の NAT情 報と重複するものをゲートウェイに対して上書きしょうとすると、ゲートウェイによってそ の上書き要求を拒否される可能性があるからである。ゆえに、一度その NAT情報を 削除して、改めて新規設定をするとよい。
[0165] なお、第 1〜3実施の形態においても、本実施の形態においても、ゲートウェイ 110 力 読み出した NAT情報と、自身が設定 ·削除しょうとして 、る NAT情報が重複す るかどうかを確認する際に、パラメータ「NewProtocol」がー致するかどうかの確認も 行うことにより、通信プロトコル (TCP、 UDPなど)ごとの NAT情報について、確認を 行ってもよい。
[0166] (B)第 1通信端末 100は、 NAT情報の設定要求をゲートウェイ 110に送信した場 合、その NAT情報の削除要求を送信するまで NAT情報を記憶しておいてもよい。こ れは、設定した NAT情報を記憶しておき、同じ NAT情報を再度設定せずに再利用 するためである。
再利用に先立ち、第 1通信端末 100は、記憶している NAT情報と重複する NAT情 報をゲートウェイ 110が記憶しているか否かを判断すると良い。この判断は、宅外サ ーバ 200からパケットを投げてもらうことで行っても良い。また、ゲートウェイ 110に「P ortl 10」を通知して「Portl 10」に対する NAT情報の有無を判断し、 NAT情報「有 り」の場合にはその持ち主を判断することで行っても良い。
ゲートウェイ 110の「Portl lO」に対する NAT情報が第 1通信端末 100自身に設定さ れていれば、第 1通信端末 100は、 NAT情報を再設定することなく通信することがで きる。
逆に他の通信端末に設定されて 、れば、前記重複設定防止処理のステップ S208 〜S210で述べた処理により NAT情報を再設定することができる。
[0167] (C)前述の実施形態は NAT情報の設定や削除の場合を例にとって説明している
1S 同様の手順によりパケットフィルタのための中継情報の設定 ·削除を行うことがで きる。
[0168] (D)前述の方法をコンピュータ上で実行するためのプログラム及びそのプログラム を記録したコンピュータ読み取り可能な記録媒体は、本発明に含まれる。ここで記録 媒体としては、コンピュータが読み書き可能なフレキシブルディスク、ハードディスク、 半導体メモリ、 CD-ROM, DVD,光磁気ディスク(MO)、その他のものが挙げられ る。
産業上の利用可能性
[0169] 本発明の中継情報処理方法は、通信を中継する中継装置に中継情報を設定'削除 する必要のある通信中継システムに適用でき、通信の安定性及び信頼性の向上を 図ることができる。

Claims

請求の範囲
[1] 第 1ネットワークと第 2ネットワークとを接続する中継装置が記憶する中継情報に含 まれ、前記第 2ネットワーク上の第 2通信端末力 前記第 1ネットワーク上の第 1通信 端末へ送信されるパケットを中継するための第 1中継情報を、前記第 1通信端末が設 定及び Zまたは削除する中継情報処理方法であって、
前記中継装置に対して前記第 1中継情報を設定または削除するに先立ち、前記中 継装置にすでに設定されている第 2中継情報を取得し、前記第 1中継情報と重複し ているかどうかを、前記第 1通信端末が判断する重複判断ステップと、
前記重複判断ステップにお 、て重複がな!、と判断した場合にのみ、前記第 1中継 情報の設定要求または削除要求を、前記第 1通信端末が前記中継装置に送信する 要求ステップと、
前記設定要求または削除要求に応じ、前記中継装置が、前記第 1中継情報を記憶 または前記中継情報力 削除する中継情報更新ステップと、
を含む中継情報処理方法。
[2] 前記中継情報は、少なくとも前記中継装置が前記第 2ネットワーク上に持つポート 番号情報を含む第 1パラメータと、前記第 1ネットワーク上の通信端末のアドレスであ る第 2パラメータと、前記第 1ネットワーク上の通信端末のポート番号情報を含む第 3 パラメータとを含み、
前記第 1パラメータで特定されるポートに届いたデータを、前記第 2パラメータで特 定される通信端末が有するポートのうち、前記第 3パラメータで特定されるポートに、 前記中継装置が転送する転送ステップをさらに含むことを特徴とする、請求項 1に記 載の中継情報処理方法。
[3] 前記重複判断ステップは、
前記第 1通信端末が、前記中継装置に対し、重複確認要求を送信するステップ と、
前記中継装置が、前記第 1通信端末に対し、前記重複確認要求に応じて、第 2 中継情報を含む重複確認応答を送信するステップと、を含み、
前記重複確認要求は、前記中継装置が前記第 2ネットワーク上に持つポートを特 定するポート番号の!/、ずれかを含み、
前記重複確認応答は、前記重複確認要求で指定されて!、るポート番号につ!、ての 第 2中継情報を含む、
ことを特徴とする、請求項 2に記載の中継情報処理方法。
[4] 前記重複判断ステップは、前記第 1通信端末が、前記中継装置から受信した重複 確認応答中の前記第 2中継情報に含まれる第 2パラメータと、前記第 1中継情報に含 まれる第 2パラメータとを比較し、両者が一致しない場合に、前記第 1中継情報と前記 第 2中継情報とが重複していると判断するステップをさらに含むことを特徴とする、請 求項 3に記載の中継情報処理方法。
[5] 前記中継情報は、前記第 1通信端末を唯一に特定する識別子をパラメータとしてさ らに含み、
前記要求ステップにおいて、前記第 1通信端末は、前記中継情報の設定要求を前 記中継装置に送信し、
前記重複判断ステップは、前記第 1通信端末が、前記中継装置から受信した重複 確認応答中の前記第 2中継情報に含まれる前記識別子と、前記第 1中継情報に含ま れる前記識別子を比較し、両者が一致しない場合に、前記第 1中継情報と前記第 2 中継情報とが重複していると判断するステップをさらに含むことを特徴とする、請求項 3に記載の中継情報処理方法。
[6] 前記重複判断ステップは、前記第 1通信端末により実行される、
前記第 2中継情報に含まれる前記識別子と、前記第 1中継情報に含まれる前記 識別子とを比較する識別子比較ステップと、
前記識別子比較ステップで前記両方の識別子が一致した場合、前記第 1中継 情報と前記第 2中継情報とが重複していないと判断する第 1判断ステップと、
前記識別子比較ステップで前記両方の識別子が一致しな力つた場合、さらに、 前記第 1中継情報に含まれる第 2パラメータと、前記第 2中継情報に含まれる第 2パラ メータと、を比較するパラメータ比較ステップと、
前記パラメータ比較ステップで前記両方の第 2パラメータが一致する場合、第 1 中継情報と第 2中継情報とが重複していないと判断する第 2判断ステップと、 前記パラメータ比較ステップで前記両方の第 2パラメータがー致しな 、場合、第 1中継情報と第 2中継情報とが重複していると判断する第 3判断ステップと、
をさらに含むことを特徴とする、請求項 5に記載の中継情報処理方法。
[7] 前記第 1中継情報と前記第 2中継情報とが重複していると前記重複判断ステップで 判断された場合、前記第 1通信端末が前記第 1中継情報を変更して第 3中継情報と する再設定ステップをさらに含み、
前記第 3中継情報について、前記重複判断ステップ、前記要求ステップ及び前記 中継情報更新ステップを実行することを特徴とする、請求項 1に記載の中継情報処 理方法。
[8] 前記第 1中継情報と前記第 2中継情報とが重複していると前記重複判断ステップで 判断された場合、前記第 1中継情報が設定されて 、る他の通信端末が前記第 1ネッ トワーク上に接続しているかどうかを、前記第 1通信端末が確認する接続確認ステツ プをさらに含み、
前記要求ステップでは、前記接続確認ステップにお ヽて前記他の通信端末が接続 中ではないと確認した場合に、前記第 1中継情報の設定要求または削除要求を、前 記第 1通信装置が前記中継装置に送信することを特徴とする、請求項 1に記載の中 継情報処理方法。
[9] 前記要求ステップでは、前記第 1中継情報の設定要求を送信するに先立ち、前記 第 1中継情報と重複する前記第 2中継情報の削除要求を、前記第 1通信装置が前記 中継装置に送信することを特徴とする、請求項 8に記載の中継情報処理方法。
[10] 前記接続確認ステップにおいて他の通信端末が接続中であると確認した場合、前 記第 1通信端末が前記第 1中継情報を変更して第 3中継情報とする再設定ステップ をさらに含み、
前記第 3中継情報について、前記重複判断ステップ、前記接続確認ステップ、前記 要求ステップ及び前記中継情報更新ステップを実行することを特徴とする、請求項 8 に記載の中継情報処理方法。
[11] 前記重複判断ステップは、
前記第 1通信端末宛のテストデータを、前記第 2ネットワーク上の通信端末が前記 中継装置に送信するテストデータ送信ステップと、
前記テストデータが前記第 1通信端末に届いた力否かを、前記第 1通信端末が判 断するテストデータ判断ステップと、
前記テストデータ判断ステップにおける判断結果に基づ 、て、前記第 1中継情報 と重複する前記第 2中継情報の有無を、前記第 1通信端末が判断する重複有無判断 ステップと、
を含んで!/、ることを特徴とする、請求項 1に記載の中継情報処理方法。
[12] 前記要求ステップは、
前記第 1通信端末が前記第 1中継情報の設定要求を送信した場合、前記第 1中 継情報の削除要求を送信するまで、前記第 1通信端末が前記第 1中継情報を記憶 する記憶ステップをさらに含むことを特徴とする、請求項 1に記載の中継情報処理方 法。
[13] 前記重複判断ステップは、前記記憶ステップで記憶して!/ヽる第 1中継情報と重複す る中継情報を前記中継装置が記憶している力否かを、前記第 1通信端末がさらに判 断するステップを含むことを特徴とする、請求項 12に記載の中継情報処理方法。
[14] 前記重複判断ステップは、前記第 1中継情報と重複する中継情報を前記中継装置 が記憶していると判断すると、その中継情報が前記第 1通信端末に対して設定されて いる力否かを、前記第 1通信端末がさらに判断するステップを含むことを特徴とする、 請求項 13に記載の中継情報処理方法。
[15] 前記中継装置に対し前記中継情報を設定可能または削除可能か否かを、前記要 求ステップに先立ち、前記第 1通信端末が前記中継装置に問い合わせる中継問い 合わせステップをさらに含み、
前記要求ステップでは、前記中継問い合わせの可否についての応答に基づいて、 前記第 1通信端末が前記設定要求または削除要求を前記中継装置に送信すること を特徴とする、請求項 1に記載の中継情報処理方法。
[16] 第 1ネットワークと第 2ネットワークとを接続する中継装置と、前記第 1ネットワーク上 の第 1通信端末と、前記第 2ネットワーク上の第 2通信端末と、が実行する中継情報 処理方法であって、 前記第 1通信端末が、前記中継装置に対し、前記第 2通信端末から前記第 1通信 端末へ送信されるデータを中継するための第 1中継情報を設定する設定ステップと、 前記設定ステップの後に、前記第 1通信端末宛のテストデータを、前記第 2通信端 末力 前記中継装置に送信するテストデータ送信ステップと、
前記テストデータが前記第 1通信端末に届いたか否かを、前記第 1通信端末が判 断するテストデータ判断ステップと、
前記テストデータ判断ステップにおける判断結果に基づ!、て、前記第 1中継情報が 前記中継装置に有効に設定されている力否かを、前記第 1通信端末が判断する設 定判断ステップと、
を含むことを特徴とする中継情報処理方法。
[17] 前記第 1中継情報が前記中継装置に有効に設定されていないと前記設定判断ス テツプで判断された場合、前記第 1通信端末が、前記中継装置に対し、前記第 1中 継情報の削除を要求する削除要求ステップをさらに含むことを特徴とする、請求項 1 6に記載の中継情報処理方法。
[18] 前記第 1中継情報が前記中継装置に有効に設定されていないと前記設定判断ス テツプで判断された場合、前記第 1通信端末が、前記中継装置に対し、前記第 1中 継情報またはこれとは異なる第 3中継情報を前記中継装置に設定する再設定ステツ プをさらに含むことを特徴とする、請求項 16に記載の中継情報処理方法。
[19] 前記テストデータ送信ステップ、前記テストデータ判断ステップ及び前記設定判断 ステップを、定期的に繰り返す制御ステップをさらに含むことを特徴とする、請求項 16 に記載の中継情報処理方法。
[20] 第 1ネットワークと第 2ネットワークとを接続する中継装置と、前記第 1ネットワーク上 の第 1通信端末と、前記第 2ネットワーク上の第 2通信端末と、が実行する中継情報 処理方法であって、
前記中継装置が、前記第 2通信端末から前記第 1通信端末へ送信されるデータを 中継するための第 1中継情報を記憶して 、る記憶ステップと、
前記第 1通信端末が、前記中継装置に対し、前記第 1中継情報の削除を要求する 削除ステップと、 前記削除ステップの後に、前記第 1通信端末宛のテストデータを、前記第 2通信端 末が前記中継装置に送信するテストデータ送信ステップと、
前記テストデータが前記第 1通信端末に届いたか否かを、前記第 1通信端末が判 断するテストデータ判断ステップと、
前記テストデータ判断ステップにおける判断結果に基づ!、て、前記第 1中継情報が 前記中継装置から削除されているか否かを、前記第 1通信端末が判断する削除成功 判断ステップと、
を含むことを特徴とする中継情報処理方法。
[21] 第 1ネットワーク上の第 1通信端末と、第 2ネットワーク上の第 2通信端末と、前記第 1ネットワークと前記第 2ネットワークとを接続し、中継情報に基づいて第 1及び第 2ネ ットワーク間の通信を中継する中継装置と、が実行する中継情報処理方法であって、 前記第 1通信端末が前記中継装置に対し、前記第 2通信端末から前記第 1通信端 末へ送信されるデータを中継するための第 1中継情報を設定する設定ステップと、 前記第 1中継情報の設定の有無を、前記第 1通信端末が前記中継装置に対して問 V、合わせる設定確認ステップと、
前記問い合わせに対する前記中継装置力 の応答に基づき、前記第 1中継情報が 前記中継装置に設定されているか否かを、前記第 1通信端末が判断する設定判断ス テツプと、
前記設定確認ステップと前記設定判断ステップとを定期的に繰り返す制御ステップ と、
を含むことを特徴とする中継情報処理方法。
[22] 前記中継情報は、前記中継装置が前記第 2ネットワーク上に持つポート番号を含 む第 1パラメータと、前記第 1ネットワーク上の通信端末のアドレスである第 2パラメ一 タと、前記第 1ネットワーク上の通信端末のポート番号である第 3パラメータとを含み、 前記中継装置が、前記中継装置の前記ポート番号で特定されるポートに届いたデ ータを、前記第 2パラメータで特定される通信端末が有するポートのうち、前記第 3パ ラメータで特定されるポートに転送する転送ステップをさらに含むことを特徴とする、 請求項 21に記載の中継情報処理方法。
[23] 前記設定判断ステップは、
前記第 1通信端末から前記中継装置に対し、重複確認要求を送信するステップ と、
前記重複確認要求に応じ、前記中継装置から前記第 1通信端末に対して重複 確認応答を送信するステップと、を含み、
前記重複確認要求は、前記中継装置が前記第 2ネットワーク上に持つポートを特 定するポート番号の!/、ずれかを含み、
前記重複確認応答は、前記重複確認要求で指定されて!、るポート番号につ!、ての 第 2中継情報を含む、
ことを特徴とする、請求項 21に記載の中継情報処理方法。
[24] 前記設定判断ステップは、前記第 1通信端末が、前記中継装置から受信した前記 重複確認応答中の前記第 2中継情報に含まれる第 2パラメータと、前記第 1中継情報 に含まれる第 2パラメータとを比較し、両者が一致しない場合に、前記第 1中継情報と 前記第 2中継情報とが重複していると判断するステップをさらに含むことを特徴とする 、請求項 23に記載の中継情報処理方法。
[25] 前記中継情報は、前記第 1通信端末を唯一に特定する識別子をパラメータとしてさ らに含み、
前記要求ステップは、前記第 1通信端末を唯一に特定する識別子を含む前記中継 情報の設定要求を前記中継装置に送信し、
前記設定判断ステップは、前記第 1通信端末が、前記中継装置から受信した前記 重複確認応答中の前記第 2中継情報に含まれる前記識別子と、前記第 1中継情報 に含まれる前記識別子とを比較し、両者が一致しない場合に、前記第 1中継情報と 前記第 2中継情報とが重複していると判断するステップをさらに含むことを特徴とする 、請求項 23に記載の中継情報処理方法。
[26] 前記設定判断ステップは、前記第 1通信端末により実行される、
前記第 2中継情報に含まれる前記識別子と、前記第 1中継情報に含まれる前記 識別子とを、比較する識別子比較ステップと、
前記識別子比較ステップで前記両方の識別子が一致した場合、前記第 1中継 情報と前記第 2中継情報とが重複していないと判断する第 1判断ステップと、 前記識別子比較ステップで前記両方の識別子が一致しな力つた場合、さらに、 前記第 1中継情報に含まれる第 2パラメータと、前記第 2中継情報に含まれる第 2パラ メータと、を比較するパラメータ比較ステップと、
前記パラメータ比較ステップで前記両方の第 2パラメータが一致する場合、第 1 中継情報と第 2中継情報とが重複していないと判断する第 2判断ステップと、
前記パラメータ比較ステップで前記両方の第 2パラメータがー致しな 、場合、第 1中継情報と第 2中継情報とが重複していると判断する第 3判断ステップと、
をさらに含むことを特徴とする、請求項 25に記載の中継情報処理方法。
[27] 第 1ネットワークと第 2ネットワークとを接続する中継装置が記憶する中継情報に含 まれ、前記第 2ネットワーク上の第 2通信装置力 前記第 1ネットワーク上の第 1通信 装置へ送信されるパケットを中継するための第 1中継情報を、前記中継装置に対して 設定及び Zまたは削除する通信装置であって、
前記中継装置に対して前記第 1中継情報を設定または削除するに先立ち、前記中 継装置にすでに設定されている第 2中継情報を取得し、前記第 1中継情報と重複し ているかどうかを判断する重複判断手段と、
前記重複判断手段において重複がないと判断した場合にのみ、前記第 1中継情報 の設定要求または削除要求を前記中継装置に送信する要求手段と、
を有することを特徴とする、通信装置。
[28] 前記中継情報は、少なくとも前記中継装置が前記第 2ネットワーク上に持つポート 番号情報を含む第 1パラメータと、前記第 1ネットワーク上の通信装置のアドレス情報 を含む第 2パラメータと、前記第 1ネットワーク上の通信装置のポート番号を含む第 3 ノ メータと、を含むことを特徴とする、請求項 27に記載の通信装置。
[29] 前記重複判断手段は、
前記中継装置に対し、重複確認要求を送信する手段と、
前記重複確認要求に応じて、第 2中継情報を含む重複確認応答を、前記中継 装置から受信する手段と、を含み、
前記重複確認要求は、前記中継装置が前記第 2ネットワーク上に持つポートを特 定するポート番号の!/、ずれかを含み、
前記重複確認応答は、前記重複確認要求で指定されて!、るポート番号につ!、ての 第 2中継情報を含む、
ことを特徴とする、請求項 28に記載の通信装置。
[30] 前記重複判断手段は、前記中継装置から受信した前記重複確認応答中の前記第 2中継情報に含まれる第 2パラメータと、前記第 1中継情報に含まれる第 2パラメータ とを比較し、両者が一致しない場合に、前記第 1中継情報と前記第 2中継情報とが重 複していると判断する手段をさらに含むことを特徴とする、請求項 29に記載の通信装 置。
[31] 前記中継情報は、前記第 1通信端末を特定する識別子をパラメータとしてさらに含 み、
前記要求手段は、前記第 1通信端末を特定する識別子を含む前記中継情報の送 信要求を前記中継装置に送信し、
前記重複判断手段は、前記中継装置から受信した前記重複確認応答中の前記第 2中継情報に含まれる前記識別子と、前記第 1中継情報に含まれる前記識別子とを 比較し、両者が一致しない場合に、前記第 1中継情報と前記第 2中継情報とが重複 していると判断する手段をさらに含むことを特徴とする、請求項 29に記載の通信装置
[32] 前記重複判断手段は、
前記第 2中継情報に含まれる前記識別子と、前記第 1中継情報に含まれる前記 識別子とを比較する識別子比較手段と、
前記識別子比較手段が前記両方の識別子が一致したと判断した場合、前記第 1中継情報と前記第 2中継情報とが重複していないと判断する第 1判断手段と、 前記識別子比較手段が前記両方の識別子が一致しなかったと判断した場合、 さらに、前記第 1中継情報に含まれる第 2パラメータと、前記第 2中継情報に含まれる 第 2パラメータと、を比較するパラメータ比較手段と、
前記パラメータ比較手段が前記両方の第 2パラメータが一致すると判断した場 合、第 1中継情報と第 2中継情報とが重複していないと判断する第 2判断手段と、 前記パラメータ比較手段が前記両方の第 2パラメータが一致しないと判断した場 合、第 1中継情報と第 2中継情報とが重複していると判断する第 3判断手段と、 をさらに含むことを特徴とする、請求項 31に記載の通信装置。
PCT/JP2005/013086 2004-07-15 2005-07-14 中継情報設定方法、中継情報設定装置 Ceased WO2006006683A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US11/632,060 US7675914B2 (en) 2004-07-15 2005-07-14 Relay information setting method and device
JP2006529159A JP4610558B2 (ja) 2004-07-15 2005-07-14 中継情報設定方法、通信装置
CN200580019918XA CN1969507B (zh) 2004-07-15 2005-07-14 中继信息处理方法和装置

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2004208563 2004-07-15
JP2004-208563 2004-07-15
JP2005-094253 2005-03-29
JP2005094253 2005-03-29

Publications (1)

Publication Number Publication Date
WO2006006683A1 true WO2006006683A1 (ja) 2006-01-19

Family

ID=35784019

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/013086 Ceased WO2006006683A1 (ja) 2004-07-15 2005-07-14 中継情報設定方法、中継情報設定装置

Country Status (4)

Country Link
US (1) US7675914B2 (ja)
JP (1) JP4610558B2 (ja)
CN (1) CN1969507B (ja)
WO (1) WO2006006683A1 (ja)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011041147A (ja) * 2009-08-17 2011-02-24 Canon Inc 通信装置、通信方法、プログラム
CN101136681B (zh) * 2006-08-31 2011-04-20 富士通株式会社 无线电通信系统、无线电基站和中继站
WO2011052001A1 (ja) * 2009-10-27 2011-05-05 株式会社 東芝 通信障害要因推定方法、およびその推定方法を備えた通信装置
US7938527B2 (en) 2006-09-19 2011-05-10 Ricoh Company, Ltd. Ink, ink cartridge, ink jet recording apparatus, and ink jet recording method

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100987219B1 (ko) * 2007-06-29 2010-10-12 삼성전자주식회사 무선 통신 시스템에서 신호 송수신 방법 및 시스템
US7729366B2 (en) * 2007-10-03 2010-06-01 General Instrument Corporation Method, apparatus and system for network mobility of a mobile communication device
FI20085193A0 (fi) * 2008-02-29 2008-02-29 Nokia Siemens Networks Oy Toistinsolmun yhteydenhallinta
JP2011176795A (ja) * 2010-02-01 2011-09-08 Denso Corp データ管理装置、データ管理プログラム、およびデータ管理システム
JP5621639B2 (ja) * 2011-02-08 2014-11-12 村田機械株式会社 中継サーバ及び中継通信システム
CN102984158B (zh) * 2012-12-04 2015-12-23 优视科技有限公司 Voip网络切换方法、系统和装置
JP6221822B2 (ja) * 2014-02-26 2017-11-01 富士通株式会社 通信システム、管理装置、および通信設定方法
GB201604070D0 (en) * 2016-03-09 2016-04-20 Ibm On-premise and off-premise communication
US10594770B2 (en) 2016-11-01 2020-03-17 International Business Machines Corporation On-premises and off-premises communication
KR102392017B1 (ko) * 2017-11-06 2022-05-02 현대자동차주식회사 서버, 그와 통신하는 차량 및 그 제어 방법

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004066588A1 (en) * 2003-01-21 2004-08-05 Matsushita Electric Industrial Co., Ltd. A server for managing nat related address information for other servers
JP2005151142A (ja) * 2003-11-14 2005-06-09 Sony Corp 情報通信システムおよび方法、情報処理装置および方法、プログラム並びに記録媒体

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1479499A (zh) * 2002-08-26 2004-03-03 丽台科技股份有限公司 网络地址转换系统及其方法
KR100562900B1 (ko) * 2003-06-19 2006-03-21 삼성전자주식회사 모바일 애드 혹 네트워크 환경에서 중복된 ip주소를검출하기 위한 장치 및 ip주소 중복 검출 방법
JP4186792B2 (ja) * 2003-10-31 2008-11-26 沖電気工業株式会社 通信制御装置及び通信制御システム

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004066588A1 (en) * 2003-01-21 2004-08-05 Matsushita Electric Industrial Co., Ltd. A server for managing nat related address information for other servers
JP2005151142A (ja) * 2003-11-14 2005-06-09 Sony Corp 情報通信システムおよび方法、情報処理装置および方法、プログラム並びに記録媒体

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
EBITANI T.: "Technology Scope UPnP (universal plug and play) Mohaya BB Router no Hyojun Kino Net Kiki no "Kaiwa" o Kitei", NIKKEI COMMUNICATIONS, no. 390, 12 May 2003 (2003-05-12), pages 82, XP002999318 *
ODA K.: "Jissen Kateinai Server Katsuyojutsu Kaeinai LAN no Kochiku kara Server Unyo made no Know-how o Tettei Kaisetsu, PC Japan", SOFTBANK PUBLISHING INC., 1 January 2004 (2004-01-01), pages 116 - 121, XP002999316 *
SCHMITS M.: "WANIPConnection: 1 Service Template Version 1.", UPNP FORUM, 12 November 2001 (2001-11-12), XP002999317, Retrieved from the Internet <URL:http://www.upnp.org/standardizeddcps/igd.asp> *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136681B (zh) * 2006-08-31 2011-04-20 富士通株式会社 无线电通信系统、无线电基站和中继站
US7938527B2 (en) 2006-09-19 2011-05-10 Ricoh Company, Ltd. Ink, ink cartridge, ink jet recording apparatus, and ink jet recording method
JP2011041147A (ja) * 2009-08-17 2011-02-24 Canon Inc 通信装置、通信方法、プログラム
US8638803B2 (en) 2009-08-17 2014-01-28 Canon Kabushiki Kaisha Communication apparatus and communication method for preventing a communication apparatus from receiving an unintended packet
WO2011052001A1 (ja) * 2009-10-27 2011-05-05 株式会社 東芝 通信障害要因推定方法、およびその推定方法を備えた通信装置
JP5362026B2 (ja) * 2009-10-27 2013-12-11 株式会社東芝 通信障害要因推定方法、その推定方法を備えた通信装置およびプログラム

Also Published As

Publication number Publication date
CN1969507A (zh) 2007-05-23
US20070189295A1 (en) 2007-08-16
CN1969507B (zh) 2011-06-22
US7675914B2 (en) 2010-03-09
JPWO2006006683A1 (ja) 2008-05-01
JP4610558B2 (ja) 2011-01-12

Similar Documents

Publication Publication Date Title
JP3557056B2 (ja) パケット検査装置、移動計算機装置及びパケット転送方法
KR101055048B1 (ko) 정보 통신 시스템, 정보 처리 장치 및 방법, 및 기록 매체
WO2006006683A1 (ja) 中継情報設定方法、中継情報設定装置
JP4642122B2 (ja) 通信装置、通信設定方法、通信設定プログラム及び通信設定プログラムを記録した記録媒体
JP2937813B2 (ja) 自動ルーティング方法及びシステム
JP2001230803A (ja) 位置識別子管理装置及び移動計算機並びに位置識別子管理方法及び位置識別子処理方法
JP4231984B2 (ja) 中継サーバおよび通信システム
JP2013123998A (ja) 車両用通信制御装置
CN105979022B (zh) 一种基于UPnP协议的NAT穿透方法及系统
JP2019009596A (ja) 車載通信装置、通信制御方法および通信制御プログラム
US7289471B2 (en) Mobile router, position management server, mobile network management system, and mobile network management method
US7839807B2 (en) Communication apparatus, method executed by communication apparatus, and storage medium storing software for executing method
WO2006054529A1 (ja) サーバ装置、携帯端末、電化機器、通信システム、通信方法及びプログラム
US20040125813A1 (en) Gateway and its communicating method
KR20070108250A (ko) 정보 처리 시스템, 서버 장치, 전자기기, 컴퓨터 판독가능한 기록 매체 및 정보 처리 방법
EP1503547A1 (en) Information processing system
JP2008311939A (ja) ネットワーク通信機器
JP6330814B2 (ja) 通信システム、制御指示装置、通信制御方法及びプログラム
JP5797597B2 (ja) 中継装置
JP4254837B2 (ja) ファイル転送サーバ
JP6470640B2 (ja) 通信装置及びその制御方法、コンピュータプログラム
JP4821715B2 (ja) 機器管理通信システム
JP2009225287A (ja) 通信システム、サーバ装置、クライアント装置、通信方法、プログラムおよび記録媒体
JP4721782B2 (ja) 通信管理装置および通信システム
JP6102728B2 (ja) 認証システム、端末装置、認証方法、認証プログラム、認証サーバ

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KM KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NG NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SM SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LT LU LV MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 200580019918.X

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 11632060

Country of ref document: US

Ref document number: 2007189295

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2006529159

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Ref document number: DE

122 Ep: pct application non-entry in european phase
WWP Wipo information: published in national office

Ref document number: 11632060

Country of ref document: US