WO2005074208A1 - 情報処理装置、サーバ、通信システム、アドレス決定方法、アドレス変更方法およびプログラム - Google Patents

情報処理装置、サーバ、通信システム、アドレス決定方法、アドレス変更方法およびプログラム Download PDF

Info

Publication number
WO2005074208A1
WO2005074208A1 PCT/JP2005/000565 JP2005000565W WO2005074208A1 WO 2005074208 A1 WO2005074208 A1 WO 2005074208A1 JP 2005000565 W JP2005000565 W JP 2005000565W WO 2005074208 A1 WO2005074208 A1 WO 2005074208A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
information processing
processing device
communication
identifier
Prior art date
Application number
PCT/JP2005/000565
Other languages
English (en)
French (fr)
Inventor
Hajime Maekawa
Takumi Ikeda
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 EP20050703802 priority Critical patent/EP1696613A1/en
Priority to US10/597,496 priority patent/US8108552B2/en
Priority to JP2005517416A priority patent/JP4595811B2/ja
Publication of WO2005074208A1 publication Critical patent/WO2005074208A1/ja
Priority to US11/466,854 priority patent/US7860980B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/604Address structures or formats
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Definitions

  • Information processing apparatus server, communication system, address determination method, address change method, and program
  • the present invention relates to a communication system and the like, and particularly to a communication system and the like for performing tunnel communication.
  • IP address In tunnel communication, it is necessary to set an IP address in each information processing device that is a communication terminal for communication target data to be encapsulated. The IP address must be set so that it is not the same for each information processing terminal.
  • DHCP and AutoIP are known as methods for assigning addresses.
  • address assignment methods such as DHCP and AutoIP use heuristic algorithms.
  • AutoIP an address range is set at first, and the information processing device on the client side also asks the server whether it can use a predetermined IP address! If not, the IP address can be used, and if used by another information processing device, the inquiry about whether another IP address can be used is repeated.
  • This heuristic algorithm is complicated, and has a problem that it takes time to determine an IP address to be used in the information processing device on the client side.
  • the IP address in the predetermined address range is assigned so that the information processing device on the client side does not overlap, if the information processing device on the client side exceeds the number of IP addresses that can be assigned in the address range, There is a problem that the assignment cannot be made!
  • the present invention has been made to solve the above problems, and has a simple algorithm. Accordingly, it is an object of the present invention to provide a communication system capable of determining an address used for communication target data encapsulated in tunnel communication.
  • an information processing apparatus is a communication source information processing apparatus that performs tunnel communication with a communication destination apparatus, and performs tunnel communication by encapsulating data to be communicated.
  • a tunnel communication unit an identifier receiving unit for receiving a communication destination device identifier for identifying a communication destination device, an identifier storage unit for storing a communication source device identifier for identifying the information processing device, a communication destination device identifier, An address determination unit that determines an address to be used for data to be communicated based on the source device identifier.
  • an address to be used for data to be communicated in tunnel communication can be determined using a simple algorithm based on the communication destination device identifier and the communication source device identifier.
  • a simple algorithm based on the communication destination device identifier and the communication source device identifier.
  • An information processing apparatus is a communication source information processing apparatus that performs tunnel communication with a communication destination apparatus, and includes a tunnel communication unit that encapsulates data to be communicated and performs tunnel communication.
  • a determination unit that determines whether the information processing device is a calling side or a called side in tunnel communication, and an address determination unit that determines an address to be used for communication target data based on a determination result by the determination unit. , Is provided.
  • an address used for data to be communicated in the tunnel communication using a simple algorithm is used. Can be determined. As a result, there is no need to determine an address by DHCP or AutoIP using a heuristic algorithm, and the communication system does not need to have a DHCP server or the like.
  • an information processing apparatus is a communication source information processing apparatus that performs tunnel communication with a communication destination apparatus, and includes a tunnel communication unit that encapsulates data to be communicated and performs tunnel communication.
  • An identifier receiving unit for receiving a communication destination device identifier for identifying a communication destination device; and an identifier storage unit for storing a communication source device identifier for identifying an information processing device.
  • a tunnel communication identifier receiving unit for receiving a tunnel communication identifier for identifying tunnel communication; an address used for data to be communicated based on the communication destination device identifier, the communication source device identifier, and the tunnel communication identifier.
  • an address determining unit for determining the address.
  • An information processing apparatus is a communication source information processing apparatus that performs tunnel communication with a communication destination apparatus, and includes a tunnel communication unit that encapsulates data to be communicated and performs tunnel communication.
  • a judging unit for judging whether the information processing device is a calling side or a called side
  • a tunnel communication identifier accepting unit for receiving a tunnel communication identifier for identifying tunnel communication, a judgment result by the judging unit
  • An address determination unit that determines an address to be used for data to be communicated based on the communication identifier.
  • the data to be communicated in the tunnel communication is determined using a simple algorithm.
  • the address to be used can be determined. As a result, there is no need to determine an address by DHCP or AutoIP using a heuristic algorithm, and it is not necessary to provide a DHCP server or the like in the communication system.
  • a server includes an identifier receiving unit that receives a first device identifier for identifying a first information processing device and a second device identifier for identifying a second information processing device; Based on the first device identifier and the second device identifier received by the unit, the encapsulated communication target in the tunnel communication performed between the first information processing device and the second information processing device An address determining unit that determines a first address of the first information processing device and a second address of the second information processing device used for the first data, and a first address determined by the address determining unit. Address output to output the second address And a part.
  • an address to be used for data to be communicated in tunnel communication can be determined using a simple algorithm based on the first device identifier and the second device identifier. .
  • a simple algorithm based on the first device identifier and the second device identifier.
  • the server includes a first information processing device that performs tunnel communication and a second information processing device! A judgment unit for judging whether the deviation is the calling side and the called side! /, The first information processing device and the second information processing based on the judgment result by the judgment unit An address for determining a first address of a first information processing device and a second address of a second information processing device to be used for communication target data encapsulated in tunnel communication performed with the device. A determining unit; and an address output unit that outputs the first address and the second address determined by the address determining unit.
  • the server comprises: an identifier accepting unit that accepts a first device identifier for identifying a first information processing device and a second device identifier for identifying a second information processing device; A tunnel communication identifier receiving unit for receiving a tunnel communication identifier for identifying tunnel communication performed between the second information processing device and the second information processing device; a first device identifier received by the identifier receiving unit; Based on the device identifier of the second information processing device and the tunnel communication identifier received by the tunnel communication identifier receiving unit, the information is encapsulated in the tunnel communication performed between the first information processing device and the second information processing device.
  • An address determining unit that determines a first address of the first information processing device and a second address of the second information processing device used for communication target data; And an address output section for outputting the first address and the second address that have been set.
  • the server comprises a first information processing device for performing tunnel communication and a second information processing device! /, Whether the deviation is on the calling side and on the called side! /, A judging unit for judging, and tunnel communication performed between the first information processing device and the second information processing device A first information processing device and a second information processing device, based on a tunnel communication identifier receiving unit that receives a tunnel communication identifier for identifying a tunnel communication identifier and a tunnel communication identifier received by the tunnel communication identifier receiving unit.
  • the first address of the first information processing device and the second address of the second information processing device used for data to be communicated encapsulated in tunnel communication performed with the second information processing device.
  • An address determination unit for determining an address, and an address output unit for outputting the first address and the second address determined by the address determination unit.
  • the first information processing device and the second information processing device are callers, based on the determination result as to whether they are callees and the tunnel communication identifier.
  • an address used for data to be communicated in tunnel communication can be determined using a simple algorithm. As a result, there is no need to determine an address by DHCP or AutoIP using a heuristic algorithm, and the communication system does not need to have a DHCP server or the like.
  • the server provides an address matching which is information indicating that two or more addresses used for encapsulated communication target data match in two or more tunnel communications.
  • An address match information receiving unit that receives information
  • an address change information configuring unit that configures address change information that is information relating to address changes so that address matching is resolved
  • an address change information transmission that sends address change information And a part.
  • FIG. 1 is a diagram showing a configuration of a communication system according to a first embodiment of the present invention.
  • FIG. 2 is a block diagram showing a configuration of a first information processing apparatus according to the embodiment.
  • FIG. 3 is a block diagram showing a configuration of a second information processing apparatus according to the embodiment.
  • FIG. 4 is a flowchart showing an operation of the first information processing apparatus in the embodiment.
  • FIG. 5A is a diagram showing a data structure in the embodiment.
  • FIG. 5B is a diagram showing a data structure in the embodiment.
  • FIG. 6 is a diagram showing a table as an example of correspondence between digits of device identifiers and IP addresses according to the embodiment.
  • FIG. 7 is a diagram showing a configuration of a first information processing apparatus according to Embodiment 2 of the present invention.
  • FIG. 8 is a diagram showing a configuration of a second information processing apparatus according to the embodiment.
  • FIG. 9 is a diagram showing a configuration of a communication system according to a third embodiment of the present invention.
  • FIG. 10 is a flowchart showing an operation of the server according to the embodiment.
  • FIG. 11 is a diagram showing an example of a correspondence between a device identifier and an IP address according to the embodiment.
  • FIG. 12 is a block diagram showing a configuration of a first information processing device according to a fourth embodiment of the present invention.
  • FIG. 13 is a block diagram showing a configuration of a second information processing apparatus according to the embodiment.
  • FIG. 14 is a flowchart showing an operation of the first information processing apparatus in the embodiment.
  • FIG. 15A is a diagram showing a table as an example of a correspondence between a calling side and a called side and an IP address according to the embodiment.
  • FIG. 15B is a diagram showing a table as an example of a correspondence between a calling side, a called side, and an IP address according to the embodiment.
  • FIG. 16 is a diagram showing a configuration of a communication system according to a fifth embodiment of the present invention.
  • FIG. 17 is a diagram showing a configuration of a communication system according to a sixth embodiment of the present invention.
  • FIG. 18 is a flowchart showing an operation of the server according to the embodiment.
  • FIG. 19 is a block diagram showing a configuration of a first information processing apparatus according to Embodiment 7 of the present invention.
  • FIG. 20 is a block diagram showing a configuration of a server according to the embodiment.
  • FIG. 21 is a flowchart showing an operation of the first information processing apparatus in the embodiment.
  • FIG. 22A is a diagram showing an example of an address configuration according to the embodiment.
  • FIG. 22B is a diagram showing a table as an example of correspondence between the digits of the device identifier and the IP addresses according to the embodiment.
  • FIG. 23 is a diagram showing a configuration of a communication system according to an eighth embodiment of the present invention.
  • FIG. 24 is a diagram showing a configuration of a communication system according to a ninth embodiment of the present invention.
  • FIG. 25 is a flowchart showing an operation of the server according to the embodiment.
  • FIG. 26 is a block diagram showing a configuration of a first information processing apparatus according to Embodiment 10 of the present invention.
  • FIG. 27 is a flowchart showing an operation of the first information processing apparatus in the embodiment.
  • FIG. 28A is a diagram showing an example of an address configuration according to the embodiment.
  • FIG. 28B is a diagram showing a table as an example of correspondence between a calling side, a called side, and a host address in the embodiment.
  • FIG. 28C is a diagram showing a table as an example of a correspondence between a calling side, a called side, and a host address in the embodiment.
  • FIG. 29 is a diagram showing a configuration of a communication system according to Embodiment 11 of the present invention.
  • FIG. 30 is a diagram showing a configuration of a communication system according to Embodiment 12 of the present invention.
  • FIG. 31 is a flowchart showing an operation of the server in the embodiment.
  • FIG. 32 is a diagram showing a configuration of a communication system according to Embodiment 13 of the present invention.
  • FIG. 33 is a block diagram showing a configuration of a first information processing apparatus according to the embodiment.
  • FIG. 34 is a block diagram showing a configuration of a third information processing apparatus according to the embodiment.
  • FIG. 35 is a flowchart showing an operation of the first information processing apparatus in the embodiment.
  • FIG. 36 is a block diagram showing a configuration of a first information processing apparatus according to Embodiment 14 of the present invention.
  • FIG. 37 is a block diagram showing a configuration of a second information processing apparatus according to the embodiment.
  • FIG. 38 is a flowchart showing an operation of the first information processing apparatus in the embodiment.
  • FIG. 39 is a flowchart showing an operation of the second information processing apparatus in the embodiment.
  • FIG. 40 is a block diagram showing a configuration of a first information processing apparatus according to Embodiment 15 of the present invention.
  • FIG. 41 is a block diagram showing a configuration of a second information processing apparatus according to the embodiment.
  • FIG. 42 is a block diagram showing a configuration of a server according to the embodiment.
  • FIG. 43 is a flowchart showing an operation of the server in the embodiment. Explanation of symbols
  • Second information processing device 1, la, lb, lc, le, If, lh, li, lk, lm, In, 5 First information processing device 2, 2a, 2b, 2c, 2f, 2i, 2m, 2n, 6 Second information processing device
  • FIG. 1 is a diagram showing a configuration of a communication system according to the present embodiment.
  • the communication system according to the present embodiment includes a first information processing device 1, a second information processing device 2, and a server 4 connected to each other by a wired or wireless communication line 3. .
  • the communication line 3 is, for example, the Internet.
  • the first information processing device 1 determines an address to be used for communication target data encapsulated in tunnel communication.
  • FIG. 2 is a block diagram showing a configuration of the first information processing apparatus 1.
  • the first information processing apparatus 1 includes a tunnel communication unit 11, an identifier reception unit 12, an identifier storage unit 13, an address determination unit 14, and an address transmission unit 15.
  • Tunnel communication unit 11 performs tunnel communication between first information processing device 1 and second information processing device 2.
  • tunnel communication is communication performed by encapsulating data to be communicated.
  • the tunnel communication unit 11 performs encapsulation of communication target data, decapsulation of transmitted encapsulated data, and the like. Encapsulation means wrapping the data to be communicated with a header specified by the protocol.
  • the communication target data to be encapsulated may or may not be encrypted. Examples of tunnel communication include UDP tunnel communication, HTTP tunnel communication, and L2TP tunnel communication.
  • the tunnel communication unit 11 may or may not include a communication device (for example, a modem or a network card) for performing communication (in this case, the tunnel communication unit 11 and the communication line 3).
  • the tunnel communication unit 11 may be realized by hardware or may be realized by software such as a driver for driving a communication device. Further, the tunnel communication unit 11 may acquire data to be communicated by reading from a predetermined recording medium (for example, a DVD or a hard disk, or the like), or transmit or receive a predetermined device power. The data to be communicated may be acquired by accepting the data.
  • a predetermined recording medium for example, a DVD or a hard disk, or the like
  • the identifier receiving unit 12 receives a communication destination device identifier that identifies the device of the communication destination, that is, the second information processing device 2.
  • the identifier receiving unit 12 may be, for example, a communication destination transmitted via a wired or wireless communication line that may receive a communication destination device identifier input from an input device (for example, a keyboard, a mouse, a touch panel, or the like).
  • a predetermined recording medium for example, an optical disk, a magnetic disk, a semiconductor memory, or the like capable of receiving the device identifier may also receive the read destination device identifier.
  • the identifier storage unit 13 stores a communication source device identifier for identifying the communication source device, that is, the first information processing device 1.
  • the identifier storage unit 13 can be realized by a predetermined recording medium (for example, a semiconductor memory, a magnetic disk, an optical disk, or the like).
  • the storage in the identifier storage unit 13 may be temporary storage in a RAM or the like of the communication source device identifier read out from an external storage device, or long-term storage in a ROM or the like.
  • the first information processing apparatus 1 is used as a reference
  • the first information processing apparatus 1 is used as a communication source
  • the second information processing apparatus 2 is used as a communication destination.
  • the device identifier that identifies the first information processing device 1 is called a communication source device identifier
  • the device identifier that identifies the second information processing device 2 is called a communication destination device identifier. This is for convenience.
  • the communication source and the communication destination may be switched.
  • a device identifier that identifies the first information processing device may be called a communication destination device identifier.
  • the communication destination device identifier and the communication source device identifier are different from each other, and for example, a GUID (Global Unique ID) such as a MAC address or an EUI64-based address may be used.
  • the address determining unit 14 performs tunnel communication based on the communication destination device identifier received by the identifier reception unit 12 and the communication source device identifier stored in the identifier storage unit 13. ! Then, an address (sometimes referred to as a virtual interface address or a tunnel mode address) to be used for data to be communicated to be encapsulated is determined.
  • the address used by the communication destination device that is, the second information processing device 2 and the communication source device (that is, The address may be determined so as to be different from the address used in the first information processing device 1).
  • Examples of the determination method include a method using a predetermined function and a method using a plurality of predetermined address forces.
  • the latter method includes, for example, a method using a predetermined table, a method of comparing the identifier of the communication destination device with the identifier of the communication source device, and a method of performing the comparison based on the comparison result.
  • a specific example of the method for determining the address will be described later.
  • the address of the device at the communication source may be determined, or the address of the device at the communication destination may be determined. In the present embodiment, the case where the addresses of both the communication source and the communication destination devices are determined will be described.
  • the address transmission unit 15 transmits the address determined by the address determination unit 14. This transmission may be performed to the second information processing device 2 or may be performed to the server 4 or may be performed to other devices that manage addresses. When transmitted to the server 4 or the like, the server 4 or the like directly (for example, by transmission) or indirectly (for example, by transmitting via another server or via a recording medium). ), The address may be passed to the second information processing device 2.
  • the address to be transmitted may be only the address of the communication destination device (that is, the second information processing device 2), or the address of the communication source device (that is, the first information processing device 1). It may include an address.
  • the address transmitting unit 15 may or may not include a transmitting device (for example, a modem or a network card) for performing transmission (in this case, the address transmitting unit 15 and a communication line are used). (There may be a communication device (not shown) or software that passes data to the communication device, etc.).
  • the address transmission unit 15 may be realized by hardware or may be software such as a driver for driving a transmission device. It may be realized by.
  • FIG. 3 is a block diagram showing a configuration of the second information processing device 2.
  • the second information processing device 2 includes an address receiving unit 21, a tunnel communication unit 22, and an identifier storage unit 23.
  • the address receiving unit 21 receives an address used for data to be communicated in tunnel communication.
  • the address receiving unit 21 receives, for example, an input device (for example, a keyboard, a mouse, a touch panel, or the like) and an address transmitted via a wired or wireless communication line.
  • an address read from a predetermined recording medium for example, an optical disk, a magnetic disk, a semiconductor memory, or the like
  • it is assumed that the address transmitted from first information processing device 1 is received.
  • the tunnel communication unit 22 performs tunnel communication with the first information processing device 1.
  • an address received by the address receiving unit 21 is used as an address used for communication target data.
  • Other configurations are the same as those of the tunnel communication unit 11, and the description thereof is omitted.
  • the identifier storage unit 23 stores a communication destination device identifier for identifying the device of the communication destination, that is, the second information processing device 2. Note that the identifier storage unit 23 is the same as the identifier storage unit 13 in the first information processing device 1 except that a communication destination device identifier is stored instead of the communication source device identifier, and a description thereof is omitted. I do.
  • the server 4 performs a process related to the establishment of tunnel communication between the first information processing device 1 and the second information processing device 2. For example, the first information processing device 1 is notified of the address of the second information processing device 2.
  • FIG. 4 is a flowchart illustrating an operation of determining an address in the first information processing device 1.
  • Step S101 The identifier receiving unit 12 determines whether or not it has received a communication destination device identifier. Then, when the communication destination device identifier is received, the communication destination device identifier is passed to the address determination unit 14 and the process proceeds to step S102. Otherwise, the process proceeds to step S102. The operation of 101 is repeated.
  • Step S 102 The address determination unit 14 performs the tunnel communication based on the communication source device identifier stored in the identifier storage unit 13 and the communication destination device identifier received by the identifier reception unit 12. An address used for data to be communicated is determined. Then, it passes the determined address to the tunnel communication unit 11 and the address transmission unit 15.
  • Step S103 The address transmission unit 15 transmits the address determined by the address determination unit 14 to the second information processing device 2. Then, the process returns to step S101.
  • the processing is ended by powering off or interruption for aborting the processing.
  • the timing for determining the force address described above is not limited to this.
  • the address may be determined by using the communication destination device identifier that has been accepted until then. .
  • FIG. 5 is a diagram showing an example of communication target data before encapsulation (FIG. 5A) and data after encapsulation (FIG. 5B).
  • data to be communicated includes an IP header 101, a TCPZUDP header 102, and a payload 103.
  • IP header 101 As the IP address used in the IP header 101, the address determined by the address determination unit 14 is used.
  • the TCPZUDP header 102 may be a TCP header or a UDP header.
  • the payload 103 includes the data to be communicated, that is, information that the application software such as the first information processing device 1 and the second information processing device 2 actually wants to use.
  • FIG. 5B is a diagram showing data in which the original packet (data to be communicated) shown in FIG. 5A is encapsulated in UDP.
  • the original packet data to be communicated
  • FIG. 5B by adding a management header (XX header 203) and a trailer (XX trailer 204) to the original packet, the original bucket is decoded, and a UDP header 202 and an IP header 201 are added. Encapsulation is performed by mashing.
  • the IP address used in the IP header 201 is the first information processing device 1, and This is the IP address of the second information processing device 2.
  • the IP address of the first information processing apparatus 1 is “202.132.10.6” and the communication source apparatus identifier is “123 45678”. It is also assumed that the IP address of the second information processing device 2 is “131.206.10.240” and the communication destination device identifier is “98765432”. It is also assumed that the IP address of server 4 is “155. 32.10.10”.
  • the tunnel communication unit 11 in the first information processing device 1 holds an IP address of Sano in advance. Then, the tunnel communication unit 11 transmits the communication source device identifier “12345678” stored in the identifier storage unit 13 to the IP address “155.32.10.10.” Of the Sano. Then, the server 4 receives the communication source device identifier. Further, the server 4 acquires the IP address “202.132.10.6” of the first information processing device 1 from the header of the transmitted communication source device identifier. The server 4 stores the IP address “202.132.10.6” of the first information processing device 1 and the communication source device identifier “12345 678” in association with each other.
  • the tunnel communication unit 22 in the second information processing device 2 transmits the communication destination device identifier “98765432” stored in the identifier storage unit 23 to the server 4.
  • the server 4 stores the IP address “131.206.10.240” of the second information processing device 2 and the communication destination device identifier “98765432” in association with each other.
  • Step S101 a user mounts a removable recording medium on which a communication destination device identifier is recorded in a slot (not shown) of the first information processing device 1. Then, the communication destination device identifier “98765432” recorded on the recording medium is received by the identifier receiving unit 12, and is passed to the address determining unit 14 and the tunnel communication unit 11 (Step S101).
  • the tunnel communication unit 11 transmits the communication destination device identifier “9876 5432” received from the identifier reception unit 12 and an instruction to transmit the IP address of the device identified by the communication destination device identifier to the server 4. Send to Then, the server 4 receives them, and stores the communication destination device identifier “98765432” [corresponding to the retained and available IP address “131.206.10.240” in the first 'If information processing device 1 Send to When receiving the IP address “131. 206. 10. 240” of the second information processing device 2 from the server 4, the tunnel communication unit 11 in the first information processing device 1 holds the IP address. Keep it.
  • the address determination unit 14 When receiving the communication destination device identifier from the identifier reception unit 12, the address determination unit 14 reads the communication source device identifier stored in the identifier storage unit 13, and reads the communication destination device identifier, the communication source device identifier, and the like. Based on the IP address, the IP address to be used for the data to be communicated in tunnel communication is determined. Specifically, the address determination unit 14 determines an address according to, for example,! / Or one of the following three methods (step S102).
  • the address determination unit 14 has a function “Func (argument 1, argument 2)” for determining an address. Then, the communication device identifier “12345678” is substituted for the argument 1 and the communication device identifier “98765432” is substituted for the argument 2. As a result, two IP addresses “192.168.0.1” and “192.168.0.2” are calculated. Then, the former IP address “192.168.0.1” is determined as the IP address of the first information processing device 1, and the latter IP address “192.168.0.2” is determined as the second information processing device. Determined as the IP address of 2. Then, they are passed to the tunnel communication unit 11 and the address transmission unit 15.
  • the address determination unit 14 has a table shown in FIG.
  • the table in FIG. 6 is a table showing the correspondence between the different digits of the device identifier and the IP address.
  • the address determination unit 14 determines the IP address corresponding to the least significant digit value (“2” and “8”) of the communication destination device identifier “98765432” and the communication source device identifier “12345678” as the first Are determined as the IP addresses of the first information processing device 1 and the second information processing device 2.
  • the IP address of the first information processing device 1 is “192.168.0.8”
  • the IP address of the second information processing device 2 is “192.168.0.2”.
  • the next digit (one digit higher than that) is used. )
  • the next digit (one digit higher than that) is used. )
  • the identifier of the communication destination device and the identifier of the communication source device are compared in order from the least significant digit, and the IP address is determined using the table of FIG.
  • the decision The IP address “192.168.0.8.8” of the first information processing device 1 and the IP address “192.168.0.2” of the second information processing device 2 Is passed to the address transmission # 15.
  • the address determination unit 14 has an IP address “192.168.0.1” corresponding to the smaller device identifier and an IP address “192.168.0.2” corresponding to the larger device identifier. I have. Then, the communication device identifier “98765432” is compared with the communication device identifier “12345678”, and the larger one is assigned an IP address “192.168.0.2”, and the smaller one is assigned an IP address “192.168.0.2”. Assign the address “192.168.0.1”. As a result, the IP address of the first information processing device 1 is determined to be “192.168.0.1”, and the IP address of the second information processing device 2 is determined to be “192.168.0.2”. It is determined. The address determination unit 14 passes the determined addresses to the tunnel communication unit 11 and the address transmission unit 15.
  • the force described in the case of comparing the magnitudes of the device identifiers is compared by a predetermined algorithm, and based on the comparison result, a plurality (normally
  • the address may be determined by selecting two addresses. For example, the value of the least significant digit (when the least significant digits are equal is closer to the least significant digit !, a digit with a different value) is compared for magnitude !, and according to the comparison result, And select the address.
  • the device identifier is an alphabet or a hiragana character, which device identifier is closer to ⁇ A '' or ⁇ a '' in the order of words in a dictionary (i.e., The address may be determined based on the result of the comparison with respect to the applied force).
  • the power address determination unit 14 which has described three types of address determination methods, determines the address based on two device identifiers. May be determined.
  • the IP address may be calculated by substituting the value of the least significant digit of the communication source device identifier and the value of the least significant digit of the communication destination device identifier into a predetermined function.
  • the address transmitting unit 15 transmits the IP address of the first information processing device 1 determined by the address determining unit 14 (assuming that the IP address is 192.168.0.1) to the second information processing device 2. IP address ( 192.168.0.2) to the IP address “131.206.10.240” of the second information processing device 2 held in the tunnel communication unit 11 (step S 103). As a result, those IP addresses are accepted by the address accepting unit 21 of the second information processing device 2 and passed to the tunnel communication unit 22.
  • the second information processing device 2 determines whether the transmitted IP address is the IP address of the first information processing device 1 or the IP address of the second information processing device 2. It is assumed that the message is transmitted in a vigorous form.
  • the corresponding information processing device may be specified depending on the order of the transmitted IP addresses.
  • Information or a flag identifying the information processing device is transmitted in association with the IP address, and the information processing device is identified.
  • the corresponding information processing device may be specified depending on the information to be processed.
  • the tunnel communication unit 11 transmits the IP address "192.168.0.1” of the first information processing device 1 and the IP address "192.168.0.2” of the second information processing device 2 to each other. Is received from the address determination unit 14, tunnel communication is performed using those addresses. That is, in the IP header 101 shown in FIG. 5, "192.168.0.1” is used as the IP address of the communication source (that is, the first information processing device 1), and the communication destination (that is, the second information processing device 1) is used. “192.168.0.2” is used as the IP address of the information processing device 2). In the IP header 201 of the packet (shown in FIG.
  • the power tunnel communication described above is not limited to this, and may be HTTP tunnel communication or the like as described above.
  • the data structure is not limited to FIG.
  • an address to be used for data to be communicated in tunnel communication is determined based on a communication destination device identifier and a communication source device identifier.
  • the address can be determined by a deterministic algorithm, which is a simpler algorithm than a heuristic algorithm. As a result, it is not necessary to inquire the server or the like, and the address can be determined in a short time.
  • the address used for the communication target data encapsulated in the tunnel communication is not used for communication on the communication line 3
  • different addresses are used for the tunnel communication (the information processing device of the communication source and the information of the communication destination).
  • the same address can be used for the tunnel communication with a different pair with the processing device, and there is an advantage that there is no upper limit of the assigned address as in the case of using DHCP or AutoIP.
  • first information processing device 1 includes address transmitting unit 15 in that An address output unit that outputs the address determined by the address determination unit 14 may be provided.
  • this output may be, for example, a display on a display device (for example, a CRT or a liquid crystal display), a transmission to a predetermined device via a communication line, or a printing by a printer.
  • recording on a predetermined recording medium may be performed, or sound output from a speaker may be used.
  • the address output unit may or may not include a device that performs output (for example, a display device or a printer).
  • the address output unit may be realized by hardware, or may be realized by software such as a driver for driving those devices.
  • the output address is, for example, recorded on a predetermined recording medium, or notified to the user of the second information processing device 2 by e-mail, fax, or the like, so that the second information processing device 2, it may be set.
  • a communication system according to a second embodiment of the present invention will be described with reference to the drawings.
  • an address used for data to be communicated in tunnel communication is determined.
  • FIG. 7 is a block diagram showing a configuration of the first information processing device 1a according to the present embodiment.
  • the first information processing device 1a according to the present embodiment includes a tunnel communication unit 11, an identifier reception unit 12, an identifier storage unit 13, and an address determination unit 14. Note that the tunnel communication unit 11, the identifier reception unit 12, the identifier storage unit 13, and the address determination unit 14 are the same as those in the first embodiment, and a description thereof will be omitted.
  • FIG. 8 is a block diagram showing a configuration of the second information processing device 2a according to the present embodiment.
  • the second information processing device 2a according to the present embodiment includes an identifier storage unit 23, a tunnel communication unit 24, an identifier reception unit 25, and an address determination unit 26.
  • the identifier storage unit 23 is the same as in the first embodiment, and a description thereof will be omitted.
  • the tunnel communication unit 24, the identifier reception unit 25, and the address determination unit 26 are the same as the tunnel communication unit 11, the identifier reception unit 12, and the address determination unit 14 in Embodiment 1, respectively, and descriptions thereof are omitted. I do.
  • step S101 it is determined whether or not the communication source device identifier has been received instead of the communication destination device identifier. Except that the address transmission process is not performed in step S103, it is the same as that shown in FIG.
  • the operation of the communication system according to the present embodiment will be described using a specific example.
  • the data structure in the tunnel communication is the same as that in FIG.
  • the IP address and the device identifier of the first information processing device la and the like in this specific example are the same as those in the first embodiment.
  • the first information processing device la and the second information processing device 2a transmit the respective device identifiers to the server 4, and as a result, in the server 4, the IP address of the first information processing device la ⁇ 202. 132. 10. 6 "and the communication source
  • the device identifier “12345678” is held in association with the IP address “131.206.10.240” of the second information processing device 2a and the communication destination device identifier “98765432” is held in association with
  • the operation is the same as that of the specific example of the first embodiment, and the description thereof is omitted.
  • a removable recording medium on which the communication device identifier is recorded is inserted into a slot (not shown) of the first information processing device 1a, and the first information processing device la performs communication in tunnel communication.
  • the operation until the IP address used for this data is determined is the same as in the specific example of the first embodiment, and a description thereof will be omitted.
  • the IP address of the second information processing device 2a is transmitted from the server 4 to the first information processing device la, and the server 4 also transmits the IP address of the second information processing device 2a to the first information processing device la. It is assumed that the communication source device identifier of the information processing device la is transmitted. Then, the communication source device identifier “12345678” is received by the identifier receiving unit 25 via the tunnel communication unit 24 of the second information processing device 2a. Then, the identifier receiving unit 25 determines that the communication source device identifier has been received (step S101), and performs an address determination process (step S102).
  • This address determination process is performed in the same manner as in the specific example in the first embodiment, and an address similar to the address determined by the address determination unit 14 of the first information processing device la is determined. For example, the address of the first information processing device la is determined as “192.168.0.1”, and the address of the second information processing device 2a is determined as “192.168.0.2”.
  • the address determining unit 26 uses the device identifier of the second information processing device 2a as the argument 1 in the function “F unc (argument 1, argument 2)”. And the communication source device identifier “12345678”, which is the device identifier of the first information processing device la, is assigned to the argument 2. Also, this function is assumed to be such that if the argument 1 and the argument 2 are exchanged, the IP address of the calculation result will be in the reverse order. Then, two IP addresses “192.168.0.2” and “192.168.0.1” are calculated, and the former IP address is determined as the address of the second information processing device 2a, and the latter is determined. By determining the IP address as the address of the first information processing device la, the same address determination as that of the address determination unit 14 is performed.
  • the operation in which tunnel communication is performed after this address determination is the same as the specific example of Embodiment 1 except that the address is not transmitted, and a description thereof will be omitted.
  • the address used for the data to be communicated in the tunnel communication is defined as It can also be determined in the information processing device. By determining the address in each information processing apparatus, it is not necessary to transmit the address.
  • the address is determined by a deterministic algorithm in which the address is determined using the communication destination device identifier and the communication source device identifier, even if the address is determined in each information processing device. Therefore, it is possible to prevent inconsistency in the address.
  • the addresses of the first information processing device la and the second information processing device 2a determined by the first information processing device la, and the first information processing determined by the second information processing device 2a It is possible to avoid a situation in which the addresses of the device la and the second information processing device 2a do not match.
  • each information processing apparatus determines the addresses of the communication source and the communication destination.
  • the first information processing apparatus la may determine the first information
  • the information is directly or indirectly transmitted to the other information processing device. It may be passed to a processing device.
  • an address used for data to be communicated in tunnel communication is determined by a server.
  • FIG. 9 is a diagram showing a configuration of a communication system according to the present embodiment.
  • the communication system according to the present embodiment includes a first information processing device 5, a second information processing device 6, and a server 7, which are connected to each other by a communication line 3.
  • the first information processing device 5 includes an address receiving unit 51 and a tunnel communication unit 52.
  • Address accepting section 51 accepts an address used for communication target data in tunnel communication performed between first information processing apparatus 5 and second information processing apparatus 6.
  • the address receiving unit 51 is, for example, a wired or wireless communication device that receives an input device (eg, a keyboard, a mouse, a touch panel, etc.).
  • An address read from a predetermined recording medium for example, an optical disk, a magnetic disk, a semiconductor memory, or the like
  • a predetermined recording medium for example, an optical disk, a magnetic disk, a semiconductor memory, or the like
  • Tunnel communication unit 52 performs tunnel communication between first information processing device 5 and second information processing device 6.
  • the tunnel communication unit 52 holds a first device identifier for identifying the first information processing device 5 and a second device identifier for identifying the second information processing device 6.
  • the second device identifier may be, for example, a device input from an input device card or a device transmitted through a predetermined communication line and read from a predetermined recording medium. It may be something.
  • the configuration of the tunnel communication unit 52 other than the above is the same as that of the tunnel communication unit according to the first embodiment except that the first device identifier corresponds to the communication source device identifier and the second device identifier corresponds to the communication destination device identifier. Same as 11 and its description is omitted.
  • the second information processing device 6 includes an address receiving unit 61 and a tunnel communication unit 62.
  • the address receiving unit 61 and the tunnel communication unit 62 are the same as the address receiving unit 51 and the tunnel communication unit 52, respectively, and a description thereof will be omitted.
  • the tunnel communication unit 62 holds the first device identifier! /, And does not have to!
  • the server 7 performs processing for establishing tunnel communication between the first information processing device 5 and the second information processing device 6 in the same manner as the server 4 in the first embodiment. Both of them determine an address used in the tunnel communication, and include a communication control unit 71, an identifier accepting unit 72, an address determining unit 73, and an address transmitting unit 74.
  • Communication control unit 71 performs processing for establishing tunnel communication between first information processing device 5 and second information processing device 6, and the like. More specifically, processing such as transmitting the address of the second information processing device 6 to the first information processing device 5 is performed.
  • the identifier receiving unit 72 receives a first device identifier and a second device identifier.
  • the identifier accepting unit 72 transmits, for example, via a wired or wireless communication line that can accept a first device identifier or the like input from an input device (for example, a keyboard, a mouse, a touch panel, or the like).
  • a predetermined recording medium that can accept the first device identifier etc.
  • a first device identifier or the like read from a body for example, an optical disk, a magnetic disk, a semiconductor memory, or the like
  • the address determining unit 73 determines the first address of the first information processing device 5 and the second address of the second information processing device 5. The second address of the information processing device 6 is determined. These addresses are used for data to be communicated in tunnel communication. The method of determining the address is the same as that of address determining section 14 in the first embodiment, and a description thereof will be omitted.
  • the address transmitting unit 74 transmits the first address and the second address determined by the address determining unit 73 to the first information processing device 5 and the second information processing device 6. This transmission may be made directly to the first information processing device 5 or the like, or may be made indirectly through a predetermined server or the like.
  • FIG. 10 is a flowchart showing the operation of the server 7 for determining an address.
  • Step S201 The identifier receiving unit 72 determines whether or not it has received the first device identifier and the second device identifier. Then, when those identifiers have been received, the identifiers are passed to the address determining unit 73, and the process proceeds to step S202. Otherwise, the process of step S201 is repeated until they are received.
  • Step S202 The address determining unit 73 determines an address to be used for data to be communicated in tunnel communication based on the first device identifier and the second device identifier received from the identifier receiving unit 72. I do. Then, the determined address is passed to the address transmitting section 74.
  • Step S203 The address transmitting unit 74 transmits the two addresses determined by the address determining unit 73 to the first information processing device 5 and the second information processing device 6. Then, return to step S101.
  • the processing is ended by powering off or interruption for aborting the processing.
  • the identifier receiving unit 72 determines that the first In the case where the address is determined at the timing of receiving the address, the timing of determining the force address described above is not limited to this.For example, the first information processing device 5 and the second At the timing when the tunnel communication with the information processing device 6 is started, the address may be determined using the first device identifier or the like that has been received by the identifier receiving unit 72 so far.
  • step S201 a description is given of a case where the first device identifier and the second device identifier are simultaneously received in step S201.
  • the device identifiers may be simultaneously received. It may be accepted at a different timing. However, the determination of the address after both device identifiers are accepted is the same as in the flowchart of FIG.
  • the operation of the communication system according to the present embodiment will be described using a specific example.
  • the data configuration in the tunnel communication is the same as in FIG.
  • the IP address of the first information processing device 5 is “202.132.10.6” and the first device identifier is “12345678”.
  • the IP address of the second information processing device 6 is “131.206.10.240”, and the second device identifier U is “98765432”.
  • the IP address of the server 7 is “155. 32.10.10”.
  • the tunnel communication unit 52 in the first information processing device 5 holds the IP address of the server 7 in advance. Then, the tunnel communication unit 52 transmits the held first device identifier U “12345678” to the IP address “155.32.10.10.” Of the SANO 7. Then, the first device identifier is received by the communication control unit 71 of the server 7. Then, from the header of the first device identifier, the IP address “20 2.132.10.6” of the first information processing device 5 is obtained. The communication control unit 71 holds the IP address of the first information processing device 5 in association with the first device identifier.
  • the tunnel communication unit 62 in the second information processing device 6 also transmits the second device identifier "98765432" to the server 7.
  • the communication control unit 71 holds address identifier correspondence information, which is information in which the device identifier is associated with the IP address.
  • the tunnel communication unit 52 of the first information processing device 5 identifies the second information processing device 6
  • a second device identifier to be transmitted and a request to perform tunnel communication with the second information processing device 6 are transmitted to the server 7. Then, they are received by the communication control unit 71.
  • the communication control unit 71 also obtains the IP address of the first information processing device 5 from the header strength of the packet transmitted from the first information processing device 5 and refers to the address identifier correspondence information shown in FIG.
  • the first device identifier “12345678” of the information processing device 5 is obtained.
  • the communication control unit 71 refers to the address identifier correspondence information, and refers to the IP address corresponding to the second device identifier “98765432” transmitted from the first information processing device 5 and the address “131.206. 10. 240 ”is obtained. Then, the communication control unit 71 passes the first device identifier “12345678” and the second device identifier “98765432” to the identifier receiving unit 72, and also transmits the IP address “131.206” of the second information processing device 6. . 240 ”to the first information processing device 5.
  • the identifier receiving unit 72 Upon receiving the first device identifier "12345678" and the second device identifier "98765432" from the communication control unit 71 (step S201), the identifier receiving unit 72 passes them to the address determination unit 73. .
  • the address determining unit 73 receives these device identifiers, determines an address based on the device identifier, and passes the determined address to the address transmitting unit 74 in association with the device identifier (step S202).
  • This address determination method is the same as the specific example in the first embodiment, and a description thereof will be omitted.
  • the address transmission unit 74 receives the device identifier "12345678" from the address determination unit 73, the corresponding IP address "192.168.0.1", and the device identification unit "98765432".
  • the communication control unit 71 refers to the address identifier correspondence information and processes the information corresponding to each IP address. Obtain the IP address of the device.
  • the address transmitting unit 74 compares the two sets of the device identifier and the IP address with the IP address “202.132.10.6” of the first information processing device 5 and the IP address of the second information processing device 6. Sent to the address "131. 206. 10. 240".
  • the address receiving unit 51 Upon accepting the pair, the address receiving unit 51 passes them to the tunnel communication unit 52.
  • the tunnel communication unit 52 receives the IP address of the second information processing device 6 transmitted from the communication control unit 71. Further, it receives a set of the IP address and the device identifier received by the address receiving unit 51. Then, the IP address “192.168.0.1” corresponding to the first device identifier “12345678” of the first information processing device 5 is transmitted to the communication source (Suna In other words, the IP address corresponding to the second device identifier U 98765432 of the second information processing device 6 and the address 192.168.0.0 are used as the IP address of the first information processing device 5).
  • the address receiving unit 61 in the second information processing device 6 also receives a pair of the IP address and the device identifier, and passes them to the tunnel communication unit 62.
  • the tunnel communication unit 62 uses the IP address corresponding to the second device identifier of the second information processing device 6 as the IP address of the second information processing device 6 for data to be communicated in the tunnel communication. Thus, tunnel communication is performed between the first information processing device 5 and the second information processing device 6.
  • server 7 performs processing on first information processing device 5 and second information processing device 5 based on the communication destination device identifier and the communication source device identifier.
  • An address used for data to be communicated in the tunnel communication performed between the information processing devices 6 can be determined, and the address can be easily determined using a simple deterministic algorithm.
  • the address transmission unit 74 is determined by the address determination unit 73 instead of the address transmission unit 74 described in the case where the address transmission unit 74 transmits the address determined by the address determination unit 73.
  • An address output unit for outputting an address may be provided.
  • this output may be transmitted to a predetermined device via a communication line, or displayed on a display device (for example, a CRT or a liquid crystal display), or may be printed by a printer. Alternatively, it may be recorded on a recording medium or output by voice using a speaker.
  • the address output unit may or may not include a device that performs output (for example, a display device or a printer).
  • the address output unit may be realized by hardware, or may be realized by software such as a driver for driving those devices.
  • the output address is recorded, for example, on a predetermined recording medium, or the administrator of the server 7 transmits the address.
  • the address transmission unit 74 of the server 7 transmits the two addresses determined by the address determination unit 73 to the second information processing device 6, but the address transmission unit 74 May transmit only the address “192.168.0.2” of the second information processing device 6 to the second information processing device 6.
  • the second information processing device 6 can acquire the address of the first information processing device 5 from the header of the encapsulated communication target data transmitted from the first information processing device 5. it can.
  • server 7 has First, the address “192.168.0.1” of the first information processing device 5 is transmitted to the first information processing device 5, and the second information processing device 6 is transmitted to the second information processing device 6. Transmits the address “192.168.0.2” of the information processing device 6 of the server, and then, when the information processing device inquires about the address of the other party of the tunnel communication, the server 7 transmits the address of the other party. May be sent.
  • an address to be used for data to be communicated in tunnel communication is determined based on a determination result as to whether the information processing apparatus is an issuing side or a called side.
  • the communication system according to the present embodiment is the same as that in FIG.
  • the first information processing device 1 corresponds to the first information processing device lb
  • the second information processing device 2 corresponds to the second information processing device 2b.
  • FIG. 12 is a block diagram showing a configuration of the first information processing device lb according to the present embodiment.
  • the first information processing device lb according to the present embodiment includes a tunnel communication unit 11, an address determination unit 14b, an address transmission unit 15, and a determination unit 16. Note that the tunnel communication unit 11 and the address transmission unit 15 are the same as those in the first embodiment, and a description thereof will be omitted. Also book In the first information processing device lb according to the embodiment, the identifier storage unit is not specified, but the device identifier of the first information processing device lb is stored in a recording medium accessible by the tunnel communication unit 11. It shall be.
  • the address determination unit 14b determines an address to be used for communication target data encapsulated in tunnel communication based on the determination result by the determination unit 16.
  • the address used by the communication destination device for example, the second information processing device 2b
  • the communication source device for example, the first information It should be determined that the address used in the processing unit lb) is different!
  • Examples of the method of the determination include a method using a predetermined function and a method of selecting a plurality of predetermined address forces. A specific example of a method for determining an address will be described later.
  • the address of the communication source device may be determined, or the address of the communication destination device may be determined, or both addresses may be determined. In the present embodiment, a case will be described in which the addresses of both the communication source device and the communication destination device are determined.
  • the determination unit 16 determines whether the first information processing device lb is a calling side or a called side in tunnel communication. In this determination, it suffices to determine whether the first information processing device lb is the caller or the callee. That is, by determining whether the second information processing device 2b, which is the communication partner device, is the calling side or the called side, it is determined whether the first information processing device lb is the calling side or the called side. Is also good. Further, the determination may be made for both the first information processing device lb and the second information processing device 2b.
  • the calling side and the called side are tunnels that can be used by the calling side and the called side in the communication of the tunnel protocol of the tunnel communication (that is, the protocol enclosing the data to be communicated). It may be a calling side or a called side in communication of communication target data (that is, data to be encapsulated). In the present embodiment, the former case will be described.
  • the calling side is a side that starts communication
  • the called side is a side that performs communication in response to a call from the information processing device of the calling side.
  • FIG. 13 is a block diagram showing a configuration of the second information processing device 2b according to the present embodiment.
  • the second information processing device 2b according to the present embodiment includes an address Shinbu 22 Note that the address receiving unit 21 and the tunnel communication unit 22 are the same as those in the first embodiment, and a description thereof will be omitted.
  • the identifier storage unit is not specified, but the device identifier of the second information processing device 2b is a recording medium accessible by the tunnel communication unit 22. It shall be memorized.
  • FIG. 14 is a flowchart illustrating an operation of determining an address in the first information processing device lb.
  • Step S301 The tunnel communication unit 11 determines whether to start tunnel communication.
  • This tunnel communication starts when the first information processing device lb actively starts tunnel communication and when a request for tunnel communication from another device (here, the second information processing device 2b) is issued. , Tunnel communication may be started. In any case, the tunnel communication unit 11 determines to start the tunnel communication. Then, if tunnel communication is to be started, the process proceeds to step S302; otherwise, the process of step S301 is repeated until tunnel communication is started.
  • Step S302 The determination unit 16 determines whether the first information processing device lb is a calling side called side.
  • Step S303 The address determination unit 14b determines whether the first information processing device lb is the calling side or the called side based on the determination result by the determination unit 16. Then, the address used for the data to be communicated in the tunnel communication is determined.
  • Step S304 The address transmitting unit 15 transmits the address determined by the address determining unit 14b to the second information processing device 2b. Then, the process returns to step S301.
  • the processing is ended by powering off or interruption for aborting the processing. Also, in this flowchart, only the process of determining the address is described. Needless to say, tunnel communication is performed using the determined address.
  • the operation of the communication system according to the present embodiment will be described using a specific example.
  • the data configuration in the tunnel communication is the same as that in FIG. 5 of the first embodiment. It is also assumed that the IP addresses and device identifiers of the information processing device and the server are the same as in the specific example of the first embodiment. Further, the process of registering the IP address and the device identification information in the server 4 by the first information processing device lb and the second information processing device 2b is the same as in the first embodiment. Description is omitted.
  • a removable recording medium on which the communication destination device identifier is recorded is attached to the first information processing device lb, and the communication destination device identifier "98765432" stored in the recording medium is not shown. It is assumed that the packet is accepted by the unit and passed to the tunnel communication unit 11.
  • tunnel communication unit 11 determines that tunnel communication is to be started (step S301), and transmits the received communication destination device identifier and the IP address of the device identified by the communication destination device identifier. And sends the instructions to server 4. Then, the server 4 receives them and transmits the held IP address “131.20 6.10.240” corresponding to the communication destination device identifier “98765432” to the first information processing device lb. When receiving the IP address “131.206.10.240” of the second information processing device 2b from the server 4, the tunnel communication unit 11 of the first information processing device lb holds the IP address. .
  • the determination unit 16 determines that the first information processing device lb is the calling side because the tunnel communication unit 11 is the calling side in the communication of the tunnel protocol of the tunnel communication (step S302). ). Then, the result of the determination is passed to the address determination unit 14b.
  • the address determination unit 14b determines an IP address to be used for communication target data in tunnel communication based on the determination result. Specifically, the address determining unit 14b determines an address by, for example, one of the following three methods (step S303).
  • the address determination unit 14b has a table shown in FIG. 15A.
  • the table in FIG. 15A shows the correspondence between the information indicating the calling side and the called side and the IP address. Since the determination unit 16 has determined that the first information processing device lb is the calling side, the address determination unit 14b uses the table in FIG. 15A to change the IP address of the first information processing device lb to “192”. .168.0.1 ”. Further, since the second information processing device 2b is the called side, the address determination unit 14b determines the IP address of the second information processing device 2b to be “192.168.0.2”.
  • FIG. 15A shows the case where the information indicating the calling party's called party and the IP address are associated with each other in a table format, the calling party's non-table format is used. The information indicating the called party is associated with the IP address.
  • the address determination unit 14b has a table shown in FIG. 15B.
  • the table in FIG. 15B shows the correspondence between the information indicating the calling side and the called side and the IP address.
  • four IP addresses correspond to the information indicating the calling side and the called side, respectively. Therefore, the address determination unit 14b selects one IP address from the four IP addresses. The selection may be made, for example, randomly or sequentially.
  • the address determination unit 14b since the determination unit 16 has determined that the first information processing device lb is the calling side, the address determination unit 14b uses the table of FIG. Determine the address as "192.168.0.1". Further, since the second information processing device 2b is the called side, the address determination unit 14b determines the IP address of the second information processing device 2b to be “192.168.0.2”.
  • the address determination unit 14b has a function “Func (argument 1)” for determining an address. Then, when calculating the address of the calling side, “0” is substituted for argument 1. As a result, the IP address “192.168.0.1” is calculated. This IP address “192.168.0.1” becomes the IP address of the first information processing device lb on the calling side. On the other hand, when calculating the address of the called side, “1” is substituted for argument 1. As a result, the IP address “192.168.0.2” is calculated. This IP address “192.168.0.2” becomes the IP address of the second information processing device 2b on the called side.
  • the force address determination unit 14b which describes the three address determination methods, can determine the address based on whether the information processing device is the calling side or the called side! The address may be determined by another address determination method.
  • the address transmitting unit 15 transmits the determined IP address "192.168.0.1" of the first information processing device lb to the second information processing device lb.
  • the IP address 2b “19 2.168.0.2” is transmitted to the second information processing device 2b (step S304).
  • These IP addresses are received by the address receiving unit 21 of the second information processing device 2b, and are passed to the tunnel communication unit 22.
  • tunnel communication unit 11 performs tunnel communication using the determined address, as in the specific example of Embodiment 1, and tunnel communication unit 22 performs tunnel communication using the address received by address reception unit 21. Perform communication.
  • data to be communicated in tunnel communication is determined based on whether the information processing apparatus is a calling side or a called side.
  • the address to be used can be determined, and the address can be determined by a deterministic algorithm that is a simpler algorithm than a heuristic algorithm. As a result, the same advantages as in the first embodiment can be obtained.
  • first information processing device lb includes address transmission unit 15
  • first information processing device lb is different from address transmission unit 15 in that An address output unit that outputs the address determined by the address determination unit 14b may be provided.
  • this output may be, for example, a display on a display device (for example, a CRT or a liquid crystal display), a transmission to a predetermined device via a communication line, or a printing by a printer, or a printing by a printer.
  • the sound may be recorded on a recording medium or output by sound from a speaker.
  • the address output unit may or may not include a device that performs output (for example, a display device or a printer).
  • the address output unit may be realized by hardware, or may be realized by software such as a driver for driving those devices.
  • the output address is, for example, recorded on a predetermined recording medium or notified to the user of the second information processing device 2b by e-mail, fax, or the like, so that the second information processing device It may be set in 2b.
  • a communication system according to a fifth embodiment of the present invention will be described with reference to the drawings.
  • data to be communicated in tunnel communication is determined based on a result of determining whether the information processing device is a calling side or a called side. Address to be used.
  • FIG. 16 is a diagram showing a configuration of a communication system according to the present embodiment.
  • the first embodiment differs from the first embodiment in that a first information processing device lc is provided instead of the first information processing device 1, and a second information processing device 2c is provided instead of the second information processing device 2. It is the same as the communication system of 1 and its description is omitted.
  • the first information processing device lc includes a tunnel communication unit 11, an address determination unit 14b, and a determination unit 16. Note that the tunnel communication unit 11, the address determination unit 14b, and the determination unit 16 are the same as those in the fourth embodiment, and a description thereof will be omitted.
  • the second information processing device 2c includes a tunnel communication unit 22, an address determination unit 26c, and a determination unit 27.
  • the tunnel communication unit 22 is the same as in the fourth embodiment.
  • the address determination unit 26c and the determination unit 27 are the same as the address determination unit 14b and the determination unit 16 in the fourth embodiment, respectively, and a description thereof will be omitted.
  • the operation of determining the address in the first information processing device lc is the same as that shown in FIG. 14 in the fourth embodiment except that the address transmission process in step S304 is not performed. The description is omitted.
  • the tunnel communication unit 11, the address determination unit 14b, and the determination unit 16 are configured by the tunnel communication unit 22, the address determination unit 26c, and the determination unit, respectively. This is the same as that shown in FIG. 14 in the fourth embodiment, except that the address transmission processing in step S304 is not performed, corresponding to 27, and a description thereof will be omitted.
  • the operation of the communication system according to the present embodiment will be described using a specific example.
  • the first information processing device lc is the calling side and the second information processing device 2c is the called side.
  • the operation of determining the IP address in the first information processing device lc is the same as that of the specific example of the fourth embodiment, and a description thereof will be omitted.
  • the server 4 In response to a request from the first information processing device lc, the server 4 transmits the IP address of the second information processing device 2c to the first information processing device lc, and The lc requests tunnel communication with the second information processing device 2c, and transmits information indicating that it is to the second information processing device 2c.
  • the tunnel communication unit 22 of the second information processing device 2c receives the information transmitted from the server 4, the tunnel communication unit 22 determines to start the tunnel communication (step S301), and the determination unit 27 It is determined that the information processing device 2c is the called side (step S302).
  • the address determining unit 26c determines an address in the same manner as in the specific example in Embodiment 4 (Step S303).
  • the IP address “192.168.0.2” of the second information processing device 2c is determined by the address determination unit 26c, and the IP address “192.168.0.0. 1 "is determined.
  • data to be communicated in tunnel communication is determined based on whether the information processing apparatus is a calling side or a called side.
  • the address to be used can be determined in each information processing device. By determining the address in each information processing device, it is not necessary to transmit the address, and the same effect as in the second embodiment can be obtained.
  • each information processing apparatus determines the address of the communication source and the address of the communication destination.
  • the first information processing apparatus lc may determine the first information When only the address of the processing device lc is determined and only the address of the second information processing device 2c is determined in the second information processing device 2c, these are directly or indirectly processed by the other information processing device 2c. You can pass it to.
  • the communication system according to the present embodiment transmits, to the server, an address used for data to be communicated in tunnel communication based on a result of determining whether the information processing apparatus is a calling side or a called side. It is up to you to decide.
  • FIG. 17 is a diagram showing a configuration of a communication system according to the present embodiment.
  • the communication system according to the present embodiment includes a first information processing device 5, a second information processing device 6, and a server 7d, which are connected to each other by a communication line 3.
  • the first information processing device 5 and the second information processing device 6 are the same as those in the third embodiment, and a description thereof will be omitted.
  • the server 7d performs processing for establishing tunnel communication between the first information processing device 5 and the second information processing device 6, similarly to the server 4 in the first embodiment. Both of them determine an address used for the tunnel communication, and include a communication control unit 71, an address determination unit 73d, an address transmission unit 74, and a determination unit 75. Note that the communication control unit 71 and the address transmission unit 74 are the same as in the third embodiment, and a description thereof will be omitted.
  • the address determination unit 73d Based on the determination result by the determination unit 75, the address determination unit 73d performs encapsulation in tunnel communication performed between the first information processing device 5 and the second information processing device 6. The first address of the first information processing device 5 and the second address of the second information processing device 6 to be used for the data to be communicated are determined. The method for determining the address is the same as the method by the address determining unit 14b of the fourth embodiment, and a description thereof will be omitted.
  • the determination unit 75 determines which of the first information processing device 5 and the second information processing device 6 performing the tunnel communication is the calling side and the called side. In this determination, it suffices to determine whether the first information processing device 5 and the second information processing device 6 are the calling side or the called side as a result. That is, it may be determined whether the first information processing apparatus 5 is the calling side or the called side by determining whether the second information processing apparatus 6 is the calling side called side. Further, the determination may be made for both the first information processing device 5 and the second information processing device 6.
  • FIG. 18 is a flowchart showing an operation of determining an address in the server 7d.
  • Step S401 The communication control unit 71 determines whether tunnel communication is started between the first information processing device 5 and the second information processing device 6. Then, if tunnel communication is started, the process proceeds to step S402; otherwise, the process of step S401 is repeated until tunnel communication is started.
  • Step S402 The determining unit 75 determines whether the first information processing device 5 and the second information processing device 6 are each a calling side or a called side.
  • Step S403 The address determining unit 73d determines, based on the determination result by the determining unit 75, the address of the first information processing device 5 used for the communication target data in the tunnel communication. Address and the address of the second information processing device 6 are determined.
  • Step S404 The address transmitting unit 74 transmits the two addresses determined by the address determining unit 73d to the first information processing device 5 and the second information processing device 6. Then, the process returns to step S401.
  • the processing is terminated by powering off or interruption for aborting the processing.
  • the operation of the communication system according to the present embodiment will be described using a specific example.
  • the data configuration in tunnel communication is the same as in FIG. It is also assumed that the IP addresses and device identifiers of the information processing device and the server are the same as in the specific example of the third embodiment. Further, the process in which the first information processing device 5 and the second information processing device 6 respectively register the IP address and the device identification information in the server 7d is the same as in the third embodiment, and the description thereof will be given. Omitted.
  • the tunnel communication unit 52 of the first information processing device 5 wants to perform a tunnel communication with the second information processing device 6 and a second device identifier for identifying the second information processing device 6. To the server 7d. Then, they are received by the communication control unit 71.
  • the communication control unit 71 determines that the tunnel communication is to be started (step S401), and obtains the IP address of the first information processing device 5, and obtains the IP address of the first information processing device 5 in FIG.
  • the device identifier “12345678” of the first information processing device 5 is acquired with reference to the address identifier correspondence information shown. Further, the communication control unit 71 refers to the address identifier correspondence information shown in FIG.
  • step S402 Since the communication control unit 71 has performed the tunnel communication with the second information processing device 6 transmitted from the first information processing device 5 and has received the information indicating that the communication control unit 71 has performed the first It is determined that the information processing device 5 is the calling side and the second information processing device 6 is the called side (step S402). Then, the determination unit 75 determines that the information processing device identified by the device identifier “12345678” is the calling side, and the information processing device identified by the device identifier “98765432” is the called side To the address determination unit 73d. Then, the address determining unit 73d determines an address based on the determination result, and passes the determined address to the address transmitting unit 74 together with the device identifier (step S403). Note that this address determination method is the same as the specific example in the fourth embodiment, and a description thereof will be omitted.
  • the address transmitting unit 74 sends the device identifier "12345678" from the address determining unit 73d, the corresponding IP address "192.168.0.1” and the device identifier U "98765432".
  • the communication control unit 71 refers to the address identifier correspondence information held by the communication control unit 71 and obtains information corresponding to each device identifier. Obtain the IP address of the processing unit. Then, using the obtained IP address, the two pairs of the device identifier and the IP address are combined with the IP address “202.132.1.6” of the first information processing device 5 and the second information processing device. It is transmitted to the IP address “131. 206. 10. 240” of step 6 (step S404). Subsequent processing is the same as in the specific example of the third embodiment, and a description thereof will be omitted.
  • the server 7d determines whether the information processing apparatus is a calling side or a called side based on whether the information processing apparatus is a called side. , And the address to be used for the data to be communicated in the tunnel communication performed between the second information processing devices 6 can be easily determined using a simple deterministic algorithm. It can be performed.
  • the address transmission unit 74 is determined by the address determination unit 73d instead of the address transmission unit 74 described in the case where the address transmission unit 74 transmits the address determined by the address determination unit 73d.
  • an address output unit for outputting the output address.
  • this output may be, for example, a display on a display device (for example, a CRT or a liquid crystal display), a transmission to a predetermined device via a communication line, or a printing by a printer.
  • the data may be recorded on a recording medium, or may be output by sound from a speaker.
  • the address output unit may or may not include a device that performs output (for example, a display device or a printer).
  • the address output unit may be realized by hardware, or may be realized by software such as a driver for driving those devices.
  • the output address is, for example, The address is notified to the user of the first information processing device 5 or the user of the second information processing device 6 by being recorded on a fixed recording medium or by an administrator of the server 7d by e-mail, fax, or the like. By doing so, it may be set in the first information processing device 5 or the second information processing device 6!
  • address transmitting section 74 of server 7d transmits the two addresses determined by address determining section 73d to second information processing device 6, but the address transmitting section 74 may transmit only the address “192.168.0.2” of the second information processing device 6 to the second information processing device 6.
  • the second information processing device 2d may acquire the address of the header information of the encapsulated communication target data transmitted from the first information processing device 5 and the address of the first information processing device 5. it can.
  • both the address of first information processing device 5 and the address of second information processing device 6 are transmitted from server 7d.
  • the address “192.168.0.1” of the first information processing device 5 is transmitted to the first information processing device 5, and the second information processing device 6 is transmitted to the second information processing device 6.
  • the server 7d sends the address of the other party. You can also send a message.
  • an address used for data to be communicated in tunnel communication is determined based on a device identifier of the information processing device and a tunnel communication identifier for identifying tunnel communication. Things.
  • the communication system according to the present embodiment is the same as that in FIG.
  • the first information processing device 1 corresponds to the first information processing device le
  • Sano corresponds to the server 4e
  • the second information processing device 2 corresponds to the second information processing device 2b of the fourth embodiment.
  • FIG. 19 is a block diagram showing a configuration of the first information processing device le according to the present embodiment.
  • the first information processing device le according to the present embodiment includes a tunnel communication unit 11 and an identifier receiving unit.
  • An attachment unit 12, an identifier storage unit 13, an address determination unit 14e, an address transmission unit 15, and a tunnel communication identifier reception unit 17 are provided.
  • the tunnel communication unit 11, the identifier reception unit 12, the identifier storage unit 13, and the address transmission unit 15 are the same as those in the first embodiment, and a description thereof will be omitted.
  • the address determination unit 14e includes the communication destination device identifier received by the identifier reception unit 12, the communication source device identifier stored in the identifier storage unit 13, and the tunnel communication received by the tunnel communication identifier reception unit 17. Based on the identifier, an address to be used for communication target data encapsulated in the tunnel communication is determined.
  • the tunnel communication identifier is an identifier for identifying tunnel communication performed between information processing apparatuses. In determining the address, the address used by the communication destination device (that is, the second information processing device 2b) is determined based on the communication destination device identifier, the communication source device identifier, and the tunnel communication identifier.
  • the address used in the communication source device may be determined to be different.
  • a method of determination for example, a method using a predetermined function, a method of selecting a plurality of predetermined address forces, and the like are available.
  • the address determination unit 14e determines a part of an address to be used for the communication target data based on the communication destination device identifier and the communication source device identifier, and based on the tunnel communication identifier, the data to be communicated. The other part of the address to be used may be determined. A specific example of the method for determining the address will be described later.
  • the address of the communication source device may be determined, or the address of the communication destination device may be determined, or both addresses may be determined. In the present embodiment, a case will be described in which the addresses of both the communication source device and the communication destination device are determined.
  • Tunnel communication identifier receiving unit 17 receives a tunnel communication identifier.
  • the tunnel communication identifier receiving unit 17 receives a tunnel communication identifier transmitted via a wired or wireless communication line (for example, transmitted from the server 4e).
  • a predetermined recording medium for example, optical disk, magnetic disk, semiconductor memory, etc.
  • the read tunnel communication identifier may be accepted, or the tunnel communication identifier generated by the first information processing device le may be accepted.
  • a communication identifier may be accepted. In the present embodiment, a case will be described where a tunnel communication identifier transmitted from server 4e is received.
  • the tunnel communication identifier accepting unit 17 may or may not include a device (for example, a modem or a network card) for accepting. Further, the tunnel communication identifier receiving unit 17 may be realized by hardware, or may be realized by software such as a driver for driving a predetermined device.
  • FIG. 20 is a block diagram showing a configuration of the server 4e according to the present embodiment.
  • the server 4e includes a tunnel communication identifier generation unit 41, a tunnel communication identifier transmission unit 42, and a communication control unit 71.
  • the communication control unit 71 is the same as that in the third embodiment, and a description thereof will be omitted.
  • the tunnel communication identifier generation unit 41 generates a tunnel communication identifier. It is only necessary that this tunnel communication identifier can identify tunnel communication performed between a plurality of information processing devices. Therefore, the tunnel communication identifier may be, for example, a GUID, or the same tunnel communication identifier may be used again in another tunnel communication after the end of the tunnel communication.
  • the tunnel communication identifier generation unit 41 may generate the tunnel communication identifier by selecting a table having a plurality of tunnel communication identifiers, which may be generated by an operation using a predetermined function or the like. Any method can be used as long as a tunnel communication identifier that can identify the tunnel communication can be determined.
  • Tunnel communication identifier transmitting section 42 transmits the tunnel communication identifier generated by tunnel communication identifier generating section 41 to the information processing device that performs tunnel communication identified by the tunnel communication identifier.
  • the tunnel communication identifier transmitting unit 42 may transmit the tunnel communication identifier only to the device that determines the address, or may transmit the tunnel communication identifier to all the devices that perform the tunnel communication. In the present embodiment, a case will be described where the tunnel communication identifier is transmitted only to the device that determines the address.
  • the tunnel communication identifier transmitting unit 42 may or may not include a transmission device (for example, a modem or a network card) for performing transmission (in this case, the tunnel communication identifier transmitting unit 42). A transmission device (not shown) exists between ).
  • the tunnel communication identifier transmitting unit 42 may be realized by hardware, or may be realized by software such as a driver for driving the transmitting device.
  • FIG. 21 is a flowchart illustrating an operation of determining an address in the first information processing device le.
  • Step S501 The identifier receiving unit 12 determines whether or not it has received a communication destination device identifier. Then, if the communication destination device identifier has been received, the process proceeds to step S502; otherwise, the process proceeds to step S503.
  • Step S502 The address determining unit 14e temporarily stores the communication destination device identifier received by the identifier receiving unit 12 on a recording medium (not shown). Then, the process returns to step S501.
  • Step S503 The tunnel communication identifier receiving unit 17 determines whether or not the tunnel communication identifier has been received. Then, if the tunnel communication identifier is received, step S
  • Step S504 The address determining unit 14e temporarily stores the tunnel communication identifier received by the tunnel communication identifier receiving unit 17 on a recording medium (not shown). And step
  • Step S505 The address determination unit 14e determines whether the communication destination device identifier and the tunnel communication identifier have been accepted. This determination is made based on, for example, whether or not the communication destination device identifier and the tunnel communication identifier are stored in a recording medium (not shown) of the address determination unit 14e. If the communication destination device identifier and the tunnel communication identifier have been accepted, the process proceeds to step S506; otherwise, the process returns to step S501.
  • the address determining unit 14e stores the communication destination device identifier temporarily stored in the recording medium (not shown), the tunnel communication identifier, and the communication source device identifier stored in the identifier storage unit 13. Is used to determine the address. The method for determining the address will be described later.
  • Step S507 The address transmitting unit 15 sends the address determined by the address determining unit 14e to the address 2 to the information processing device 2b. Then, the process returns to step S501.
  • the processing is ended by powering off or interruption for aborting the processing.
  • the timing at which the address determination and the like are performed is not limited to this.
  • the address may be determined at the timing when the tunnel communication identifier receiving unit 17 receives the tunnel communication identifier. Further, at the time point when the tunnel communication identifier is received, the communication destination device identifier may be received. In other cases, transmission or input of the communication destination device identifier may be requested.
  • the received communication destination device identifier and the tunnel communication identifier are not shown in the address determination unit 14e. As described above, the received communication destination identifier and the like may be temporarily stored in another recording medium. Also, in this flowchart, only the process of determining an address is described, but it goes without saying that tunnel communication is performed using the determined address.
  • the operation of the communication system according to the present embodiment will be described using a specific example.
  • the data configuration in the tunnel communication is the same as that in FIG. 5 of the first embodiment. It is also assumed that the IP addresses and device identifiers of the information processing device and the server are the same as in the specific example of the first embodiment. Further, the process of registering the IP address and the device identification information in the server 4e by the first information processing device le and the second information processing device 2b is the same as in the first embodiment. Description is omitted.
  • the communication destination device identifier "98765432" stored in the recording medium is received. It is assumed that the packet is accepted by the unit 12 and passed to the tunnel communication unit 11 and the address determination unit 14e (step S501). The address determination unit 14e temporarily stores the communication destination device identifier in a memory (not shown) (step S502).
  • the tunnel communication unit 11 Upon receiving the communication destination device identifier "98765432" from the identifier reception unit 12, the tunnel communication unit 11 determines that tunnel communication is to be started, and identifies the received communication destination device identifier and the communication destination device identifier. And the instruction to send the IP address of the Send to Then, the server 4e receives them, and transmits the held IP address “131.206.10.240” corresponding to the communication destination device identifier “98765432” to the first information processing device le. When receiving the IP address “131.206.10.240” of the second information processing device 2b from the server 4e, the tunnel communication unit 11 of the first information processing device le holds the IP address. .
  • the server 4e determines that tunnel communication is to be started between the first information processing device le and the second information processing device 2b. Then, the tunnel communication identifier generation unit 41 generates a tunnel communication identifier “111222333” that identifies tunnel communication performed between the first information processing device le and the second information processing device 2b.
  • the tunnel communication identifier transmitting unit 42 transmits the tunnel communication identifier to the first information processing device le that is the calling side and determines an address.
  • the address of the first information processing device le is obtained by acquiring the header strength of the packet including the communication destination device identifier transmitted from the first information processing device le.
  • the transmitted tunnel communication identifier “111222333” is received by the tunnel communication identifier receiving unit 17 of the first information processing device le (step S503).
  • the tunnel communication identifier is passed to the address determination unit 14e.
  • the address determining unit 14e temporarily stores the tunnel communication identifier received from the tunnel communication identifier receiving unit 17 in a memory, not shown. (Step S504)
  • the address determination unit 14e determines that the communication destination device identifier and the tunnel communication identifier have been received (step S505), and temporarily stores them in a memory (not shown) included in the address determination unit 14e. Based on the communication destination device identifier "98765432", the tunnel communication identifier "111222333", and the communication source device identifier "1234 5678" read from the identifier storage unit 13, the data is used for data to be communicated in tunnel communication. Determine the IP address. Specifically, the address determination unit 14e determines an address based on, for example, V or deviation of the following three methods (step S506).
  • the address determined by the address determining unit 14e has a structure shown in FIG. 22A. That is, the first 8 bits are “169” and the next 8 bits are “254”. The first 12 bits of the next 16 bits are the network address, and the tunnel communication identifier is “4096”. Use the remainder divided by. The last 4 bits are the host address, which is determined using the table in FIG. 22B.
  • the table in FIG. 22B is a table showing the correspondence between different digits of the device identifier and the host address.
  • the address determination unit 14e determines the host address corresponding to the least significant digit value (“2” and “8”) of the communication destination device identifier “987 65432” and the communication source device identifier “12345678” in FIG.
  • the host address of the first information processing device le is “8”, and the host address of the second information processing device 2b is “2”.
  • “3645” which is the harmful ij of “111222333” of the tunnel recognition communication element “111222333” with “4096”, is a common network address for the first information processing device le and the second information processing device 2b. Therefore, the address determination unit 14e determines the IP address of the first information processing device le as “169.254.227.216” (the binary display “1110001111 01” of “3645” and the binary of “8”).
  • the display "1000” is divided into 8 bits, "11100011” and the decimal notation "1101 1000” becomes “227” and "216” respectively.)
  • the address determination unit 14e determines the IP address of the second information processing device 2b as "169.254.227.210". Then, the address determination unit 14e passes those addresses to the tunnel communication unit 11 and the address transmission unit 15. When the address is determined in this way, “255. 255. 255. 248” is used as a subnet mask for each information processing device. As in the method of determining an address using this table, the address determination unit 14e determines a part of the address based on the communication destination device identifier and the communication source device identifier, and based on the tunnel communication identifier. Finally, the other part of the address may be determined.
  • the address determination unit 14e has a function “Func (argument 1, argument 2, argument 3)” for determining an address. Then, the source device identifier "12345678" is substituted for the argument 1, the destination device identifier "98765432” is substituted for the argument 2, and the tunnel communication identifier "11122233 3" is substituted for the argument 3. As a result, two addresses “192.168.0.1” and “192.168.0.2” are calculated. Then, the former IP address is determined as the IP address of the first information processing device le, and the latter IP address is determined as the address of the second information processing device 2b. Then, the address determination unit 14e passes those addresses to the tunnel communication unit 11 and the address transmission unit 15. [Address Determination Method by Comparing Device Identifiers]
  • the address determined by the address determination unit 14e has the structure shown in FIG. 22A. Also, it is assumed that the method of determining the network address based on the tunnel communication identifier is the same as the above-mentioned “address determination method using a table”.
  • the address determination unit 14e assigns “2” to the host address of the information processing device having the larger device identifier, and assigns “1” to the host address of the information processing device having the smaller device identifier! /. Accordingly, since the device identifier “12345678” of the first information processing device le is smaller than the device identifier “98765432” of the second information processing device 2b, the host address of the first information processing device le is “1”. ".
  • the address determination unit 14e determines the IP address of the first information processing device le as "169.254.227.209”. Further, the address determination unit 14e determines the IP address of the second information processing device 2b as "169.254.227.210". Then, the address determination unit 14e passes those addresses to the tunnel communication unit 11 and the address transmission unit 15. Also in this case, “255. 255. 255. 248” is used as a subnet mask in each information processing apparatus.
  • the force address determination unit 14e which describes the three address determination methods, can determine the address based on the source device identifier, the destination device identifier, and the tunnel communication identifier.
  • the address may be determined by an address determination method.
  • address transmitting section 15 transmits the determined IP address of first information processing device le and the IP address of second information processing device 2b to the second information processing device 2b.
  • the information is transmitted to the information processing device 2b (step S507).
  • those IP addresses are accepted by the address accepting unit 21 of the second information processing device 2b, and are passed to the tunnel communication unit 22.
  • tunnel communication unit 11 performs tunnel communication using the determined address as in the specific example of Embodiment 1, and tunnel communication unit 22 uses the address received by address reception unit 21. Perform tunnel communication.
  • the communication target in the tunnel communication is determined based on the device identifier of the information processing device performing the tunnel communication and the tunnel communication identifier for identifying the tunnel communication.
  • Address can be determined for a given set of data, and the deterministic algorithm is a simpler algorithm than the heuristic algorithm. Dresses can be determined. As a result, advantages similar to those of the first embodiment can be obtained.
  • first information processing device le includes address transmitting unit 15 instead of address transmitting unit 15.
  • An address output unit that outputs the address determined by the address determination unit 14e may be provided.
  • this output may be, for example, a display on a display device (for example, a CRT or a liquid crystal display), a transmission to a predetermined device via a communication line, or a printing by a printer, or a printing by a printer.
  • the sound may be recorded on a recording medium or output by sound from a speaker.
  • the address output unit may or may not include a device that performs output (for example, a display device or a printer).
  • the address output unit may be realized by hardware, or may be realized by software such as a driver for driving those devices.
  • the output address is, for example, recorded on a predetermined recording medium or notified to the user of the second information processing device 2b by e-mail, fax, or the like, so that the second information processing device It may be set in 2b.
  • tunnel communication identifier generated by server 4e is transmitted only to first information processing device le, but the tunnel communication identifier is the first information processing device le. It may be transmitted to the second information processing device 2b together with the processing device le.
  • a communication system according to an eighth embodiment of the present invention will be described with reference to the drawings.
  • an address used for data to be communicated in tunnel communication is determined based on a device identifier of the information processing device and a tunnel communication identifier. .
  • FIG. 23 is a diagram showing a configuration of a communication system according to the present embodiment.
  • the communication system according to the present embodiment includes a first information processing device If, a second information processing device 2f, and a server 4e.
  • the server 4e is the same as in the seventh embodiment, and the description thereof will be omitted. However, in the present embodiment, since the first information processing device If and the second information processing device 2f determine the address, the server 4e transmits the generated tunnel communication identifier. The information is transmitted to each of the first information processing device lf and the second information processing device 2f.
  • the first information processing device If includes a tunnel communication unit 11, an identifier reception unit 12, an identifier storage unit 13, an address determination unit 14e, and a tunnel communication identifier reception unit 17. Note that the tunnel communication unit 11, the identifier reception unit 12, the identifier storage unit 13, the address determination unit 14e, and the tunnel communication identifier reception unit 17 are the same as those in the seventh embodiment, and description thereof will be omitted.
  • the second information processing device 2f includes a tunnel communication unit 22, an identifier storage unit 23, an identifier reception unit 25, an address determination unit 26f, and a tunnel communication identifier reception unit 28.
  • the tunnel communication unit 22 is the same as that of the fourth embodiment
  • the identifier storage unit 23 and the identifier reception unit 25 are the same as those of the second embodiment
  • the reception unit 28 is the same as the address determination unit 14e and the tunnel communication identifier reception unit 17 of the seventh embodiment, and a description thereof will be omitted.
  • the operation of determining the address in the first information processing device If is the same as that shown in FIG. 21 in the seventh embodiment except that the address transmission processing in step S507 is not performed. The description is omitted. Also, the operation of determining the address in the second information processing device 2f in the present embodiment is performed by the tunnel communication unit 11, the identifier reception unit 12, the identifier storage unit 13, the address determination unit 14e, and the tunnel communication identifier reception unit 17, The figure in the seventh embodiment corresponds to the tunnel communication unit 22, the identifier reception unit 25, the identifier storage unit 23, the address determination unit 26f, and the tunnel communication identifier reception unit 28, respectively, except that the address transmission processing in step S507 is not performed. It is the same as that shown by 21, and its description is omitted.
  • the operation of the communication system according to the present embodiment will be described using a specific example.
  • the operation of determining the IP address in first information processing device If is the same as the specific example of the seventh embodiment, and a description thereof will not be repeated.
  • the tunnel communication identifier is transmitted from the server 4e to the second information processing device 2f together with the first information processing device If.
  • the server 4e In response to a request from the first information processing device If, the server 4e transmits the IP address of the second information processing device 2f to the first information processing device If, 1 f A device identifier and information indicating that the first information processing device If requests tunnel communication with the second information processing device 2f are transmitted to the second information processing device 2f. Further, the server 4e generates a tunnel communication identifier and transmits the tunnel communication identifier to the first information processing device If and the second information processing device 2f.
  • the identifier receiving unit 25 of the second information processing device 2f receives the device identifier of the first information processing device If transmitted from the server 4e via the tunnel communication unit 22 (Step S501).
  • the device identifier is temporarily stored in a memory (not shown) of the address determination unit 26f (step S502).
  • the tunnel communication identifier receiving unit 28 of the second information processing device 2f receives the tunnel communication identifier transmitted from the server 4e via the tunnel communication unit 22 (Step S503).
  • the tunnel communication identifier is temporarily stored in a memory (not shown) of the address determination unit 26f (step S504).
  • the address determination unit 26f determines that the device identifier and the tunnel communication identifier have been accepted (step S505), and the device identifier stored in the memory (not shown) of the address determination unit 26f and the tunnel communication identifier.
  • the process of determining the IP address of the first information processing device If and the IP address of the second information processing device 2f based on the identifier and the device identifier of the second information processing device 2f read from the identifier storage unit 23 This is the same as the seventh embodiment, and a description thereof will be omitted.
  • the device identifier of the second information processing device 2f is substituted for the argument 1, and the argument 2 To the device identifier of the first information processing device If.
  • the function is assumed to be such that if the argument 1 and the argument 2 are exchanged, the IP addresses in the calculation result will be in the reverse order.
  • the first address is the IP address of the second information processing device 2f
  • the second address is the first information processing device If IP address.
  • the address used for the communication target data in the tunnel communication is It can also be determined in each information processing device.
  • Each information processing By determining the address in the device, it is not necessary to transmit the address, and the same effect as in the second embodiment can be obtained.
  • each of the information processing devices determines the address of the communication source and the destination of the communication.
  • the first information processing device If When only the address of the processing device If is determined and only the address of the second information processing device 2f is determined in the second information processing device 2f, those are directly or indirectly determined by the other party. It may be passed to the information processing device.
  • Embodiment 9 A communication system according to Embodiment 9 of the present invention will be described with reference to the drawings.
  • an address used for data to be communicated in tunnel communication is determined in the server based on the device identifier of the information processing device and the tunnel communication identifier.
  • FIG. 24 is a diagram showing a configuration of the communication system according to the present embodiment.
  • the communication system according to the present embodiment includes a first information processing device 5, a second information processing device 6, and a server 7g connected to each other via a communication line 3.
  • the first information processing device 5 and the second information processing device 6 are the same as those in the third embodiment, and a description thereof will be omitted.
  • the server 7g performs processing for establishing tunnel communication between the first information processing device 5 and the second information processing device 6, as in Sano in the first embodiment.
  • the communication control unit 71, the identifier reception unit 72, and the address transmission unit 74 are the same as in the third embodiment, and the tunnel communication identifier generation unit 41 is the same as in the seventh embodiment. , The description of which will be omitted.
  • the address determination unit 73g includes: a first device identifier for identifying the first information processing device 5; a second device identifier for identifying the second information processing device 6; Based on the tunnel communication identifier received by the tunnel communication identifier receiving unit 76, the tunnel communication performed between the first information processing device 5 and the second information processing device 6 will be described.
  • the first address of the first information processing device 5 and the second address of the second information processing device 6 to be used for data to be communicated to be encapsulated are determined.
  • the method of determining the address is the same as that of the address determining unit 14e in the seventh embodiment, and a description thereof will be omitted.
  • Tunnel communication identifier receiving unit 76 receives a tunnel communication identifier.
  • the tunnel communication identifier accepting unit 76 receives a tunnel communication identifier transmitted via a wired or wireless communication line (for example, transmitted from another server).
  • a predetermined recording medium for example, an optical disk, a magnetic disk, a semiconductor memory, etc.
  • the issued tunnel communication identifier may be accepted, or the tunnel communication identifier generated by the server 7g may be accepted.
  • the tunnel communication identifier receiving unit 76 may or may not include a device (for example, a modem or a network card) for performing reception. Further, the tunnel communication identifier receiving unit 76 may be realized by hardware, or may be realized by software such as a driver for driving a predetermined device.
  • FIG. 25 is a flowchart showing an operation of determining an address in the server 7g.
  • Step S601 The identifier receiving unit 72 determines whether or not it has received the first device identifier and the second device identifier. If such identifiers have been received, the process proceeds to step S602; otherwise, the process of step S601 is repeated until these identifiers are received.
  • Step S602 The address determining unit 73g temporarily stores the first device identifier and the second device identifier accepted by the identifier accepting unit 72 in a recording medium (not shown).
  • Step S603 The tunnel communication identifier generation unit 41 generates a tunnel communication identifier, The generated tunnel communication identifier is passed to the tunnel communication identifier receiving unit 76.
  • the tunnel communication identifier receiving unit 76 receives the tunnel communication identifier passed from the tunnel communication identifier generating unit 41.
  • the address determining unit 73g receives the tunnel communication identifier received by the tunnel communication identifier receiving unit 76, the first device received by the identifier receiving unit 72, and temporarily stored in a recording medium (not shown). The address is determined based on the identifier and the second device identifier. The method for determining the address is the same as that described in the specific example of the seventh embodiment, and the description is omitted.
  • Step S606 The address transmitting unit 74 transmits the address of the first information processing device 5 and the address of the second information processing device 6 determined by the address determining unit 73g to the first information processing device 5 Is transmitted to the second information processing device 6. Then, the process returns to step S601.
  • the processing ends when the power is turned off or an interrupt for terminating the processing ends.
  • the identifier receiving unit 72 determines the address at the timing of receiving the first device identifier or the like, the timing for determining the force address described above is limited to this. For example, at the timing when the first information processing device 5 and the second information processing device 6 start tunnel communication, the first device identifier that has been received by the identifier receiving unit 72 so far. Decide the address by using etc.
  • the operation of the communication system according to the present embodiment will be described using a specific example.
  • the data configuration in tunnel communication is the same as in FIG. It is also assumed that the IP addresses and device identifiers of the information processing device and the server are the same as in the specific example of the third embodiment. Also, the processing in which the first information processing device 5 and the second information processing device 6 respectively register the IP address and the device identification information in the server 7g is the same as in the third embodiment, and the description thereof will be given. Omitted.
  • the tunnel communication unit 52 of the first information processing device 5 performs tunnel communication with the second information processing device 6 and a second device identifier for identifying the second information processing device 6, and indicates that the tunnel communication unit 52 has performed tunnel communication with the second information processing device 6. To the server 7g. Then, they are received by the communication control unit 71.
  • the communication control unit 71 uses the header of the packet transmitted from the first information processing device 5 to The IP address is acquired, and the first device identifier “12345678” of the first information processing device 5 is acquired with reference to the address identifier correspondence information shown in FIG.
  • the communication control unit 71 refers to the address identifier correspondence information, and refers to the IP address corresponding to the second device identifier U “98765432” transmitted from the first information processing device 5 and the address “131.206. 10. 240 ”. Then, the communication control unit 71 passes the first device identifier and the second device identifier to the identifier receiving unit 72, and sends the IP address of the second information processing device 6 to the first information processing device 5. Send.
  • the identifier receiving unit 72 Upon receiving the first device identifier and the second device identifier from the communication control unit 71 (step S601), the identifier receiving unit 72 passes them to the address determination unit 73g.
  • the address determination unit 73g temporarily stores the first device identifier and the like in a memory, not shown (step S602).
  • tunnel communication identifier generating section 41 in response to the information that communication control section 71 starts tunnel communication, tunnel communication identifier generating section 41 generates a new tunnel communication identifier "111222333" and generates the same.
  • the tunnel communication identifier thus obtained is passed to the tunnel communication identifier receiving unit 76 (Step S603). Then, the tunnel communication identifier is accepted by the tunnel communication identifier accepting unit 76 (step S604).
  • the address determining unit 73g determines the tunnel communication identifier received by the tunnel communication identifier receiving unit 76, and the first device identifier and the second device identifier stored in a memory (not shown). Then, the IP address used by the first information processing device 5 and the second information processing device 6 is determined, and the determined address is passed to the address transmitting unit 74 in association with the device identifier (step S605).
  • the method of determining the address is the same as that of the specific example of the seventh embodiment, and the description is omitted.
  • the address transmitting unit 74 includes a set of the IP address of the first information processing device 5 determined by the address determining unit 73g, the device identifier of the first information processing device 5, and the second information processing device.
  • the communication control unit 71 Upon receiving a set of the IP address of the device 6 and the device identifier of the second information processing device 6, the communication control unit 71 refers to the address identifier correspondence information and identifies each device. Obtain the IP address of the information processing device corresponding to the child. Then, the address transmitting unit 74 transmits the two sets of the device identifier and the IP address to the first information processing device 5 and the second information processing device. And sends it to the device 6 (step S606). Subsequent processing is the same as in the specific example of the third embodiment, and a description thereof will be omitted.
  • the server 7g communicates with the first information processing device 5 and the second information based on the device identifier of the information processing device and the tunnel communication identifier.
  • the address used for data to be communicated in the tunnel communication performed between the processing devices 6 can be determined, and the address can be easily determined using a simple deterministic algorithm.
  • the address transmitting unit 74 is determined by the address determining unit 73g instead of the address transmitting unit 74 described in the case where the address transmitting unit 74 transmits the address determined by the address determining unit 73g.
  • an address output unit for outputting the output address.
  • this output may be, for example, a display on a display device (for example, a CRT or a liquid crystal display), a transmission to a predetermined device via a communication line, or a printing by a printer.
  • the data may be recorded on a recording medium, or may be output by sound from a speaker.
  • the address output unit may or may not include a device that performs output (for example, a display device or a printer).
  • the address output unit may be realized by hardware, or may be realized by software such as a driver for driving those devices.
  • the output address is, for example, recorded on a predetermined recording medium, or the administrator of the server 7g inputs the address to the user of the first information processing apparatus 5 or the second By notifying the user of the information processing device 6 of the first information processing device 6, the information processing device 6 may be set in the first information processing device 5 or the second information processing device 6!
  • address transmitting section 74 of server 7g transmits the two addresses determined by address determining section 73g to second information processing device 6
  • the 74 may transmit only the address of the second information processing device 6 to the second information processing device 6.
  • the second information processing device 6 acquires the address of the header information of the encapsulated communication target data transmitted from the first information processing device 5 and the address of the first information processing device 5. Can be.
  • the server 7g first transmits the address of the first information processing device 5 to the first information processing device 5, The information processing device 6 transmits the address of the second information processing device 6 to the information processing device 6, and if the information processing device subsequently inquires about the address of the other party of the tunnel communication, the server 7g transmits the address of the other party. You can send the address.
  • the communication system according to the present embodiment uses the determination result as to whether the information processing apparatus is the calling side or the called side, and the tunnel communication identifier for identifying the tunnel communication, and the communication target in the tunnel communication. This determines the address used for the data.
  • the communication system according to the present embodiment is the same as that in FIG.
  • the first information processing device 1 corresponds to the first information processing device lh.
  • the second information processing device 2 corresponds to the second information processing device 2b of the fourth embodiment, and the server 4 corresponds to the server 4e of the seventh embodiment.
  • FIG. 26 is a block diagram showing a configuration of the first information processing device lh according to the present embodiment.
  • the first information processing apparatus lh according to the present embodiment includes a tunnel communication unit 11, an address determination unit 14h, an address transmission unit 15, a determination unit 16, and a tunnel communication identifier reception unit 17.
  • the tunnel communication unit 11 and the address transmission unit 15 are the same as those in the first embodiment
  • the determination unit 16 is the same as in the fourth embodiment
  • the tunnel communication identifier reception unit 17 This is the same as Embodiment 7, and the description thereof is omitted.
  • the address determination unit 14h determines the communication target to be encapsulated in the tunnel communication. Determine the address to use for the data.
  • the tunnel communication identifier is an identifier for identifying tunnel communication performed between information processing apparatuses.
  • the address used by the communication destination device for example, the second information processing device 2b
  • the communication source device For example, it is determined that the address used in the first information processing device lh
  • a method of the determination for example, there is a method of using a predetermined function, a method of selecting a plurality of predetermined address forces, and the like. Also
  • the address determining unit 14h determines a part of the address to be used for the data to be communicated based on the communication destination device identifier and the communication source device identifier, and based on the tunnel communication identifier, Other parts of the address used for the data may be determined. A specific example of the method for determining the address will be described later. In determining the address, the address of the communication source device may be determined, or the address of the communication destination device may be determined, or both addresses may be determined. In the present embodiment, the case where the addresses of both the communication source and the communication destination device are determined will be described.
  • FIG. 27 is a flowchart illustrating an operation of determining an address in the first information processing device lh.
  • Step S701 The tunnel communication unit 11 determines whether to start tunnel communication.
  • This tunnel communication starts when the first information processing device lh actively starts tunnel communication and when a request for tunnel communication from another device (here, the second information processing device 2b) is issued. , Tunnel communication may be started. In any case, the tunnel communication unit 11 determines to start the tunnel communication. If tunnel communication is to be started, the process proceeds to step S702; otherwise, the process of step S701 is repeated until tunnel communication is started.
  • Step S702 The determining unit 16 determines whether the first information processing device lh is a calling side or a called side.
  • Step S703 The tunnel communication identifier receiving unit 17 determines whether or not the tunnel communication identifier has been received. If the tunnel communication identifier has been received, the process proceeds to step S704. Otherwise, the process of step S703 is repeated until the tunnel communication identifier is received.
  • Step S704 The address determining unit 14h determines an address using the determination result by the determining unit 16 and the tunnel communication identifier received by the tunnel communication identifier receiving unit 17. The method for determining the address will be described later.
  • Step S705 The address transmitting unit 15 transmits the address determined by the address determining unit 14h to the second information processing device 2b. Then, the process returns to step S701.
  • the processing is ended by powering off or interruption for aborting the processing. Also, in this flowchart, only the process of determining the address is described. Needless to say, tunnel communication is performed using the determined address.
  • the operation of the communication system according to the present embodiment will be described using a specific example.
  • the data configuration in the tunnel communication is the same as in FIG. 5 of the first embodiment. It is also assumed that the IP addresses and device identifiers of the information processing device and the server are the same as in the specific example of the first embodiment. Further, the process of registering the IP address and the device identification information in the server 4e by the first information processing device lh and the second information processing device 2b is the same as in the first embodiment. Description is omitted.
  • a detachable recording medium in which the communication destination device identifier is recorded is mounted on the first information processing device lh, and the communication destination device identifier "98765432" stored in the recording medium is not shown. It is assumed that the packet is accepted by the unit and passed to the tunnel communication unit 11.
  • tunnel communication unit 11 determines to start tunnel communication (step S701), and transmits the received communication destination device identifier and the IP address of the device identified by the communication destination device identifier. And sends the instruction to the server 4e. Then, the server 4e receives them, and transmits the held IP address “131.206.10.240” corresponding to the communication destination device identifier “98765432” to the first information processing device lh.
  • the tunnel communication unit 11 of the first information processing device lh receives the IP address “131.206.10.240” of the second information processing device 2b from Serno e, it holds the IP address.
  • the determining unit 16 determines that the first information processing device lh is the calling side because the tunnel communication unit 11 is the calling side in the communication of the tunnel protocol of the tunnel communication (step S702). ). Then, the result of the determination is passed to the address determination unit 14h.
  • the server 4e determines that tunnel communication is to be started between the first information processing device lh and the second information processing device 2b. Then, the tunnel communication identifier generation unit 41 generates a tunnel for identifying tunnel communication performed between the first information processing device lh and the second information processing device 2b. A communication identifier “111222333” is generated.
  • Tunnel communication identifier transmitting section transmits the tunnel communication identifier to first information processing device lh.
  • the address of the first information processing device lh is obtained from the header of the bucket including the communication destination device identifier transmitted from the first information processing device lh.
  • the transmitted tunnel communication identifier “111222333” is received by the tunnel communication identifier receiving unit 17 of the first information processing device lh (step S703).
  • the tunnel communication identifier accepted by the tunnel communication identifier accepting unit 17 of the first information processing device lh is passed to the address determining unit 14h.
  • the address determination unit 14h receives the determination result from the determination unit 16 and receives the tunnel communication identifier from the tunnel communication identifier reception unit 17, based on the determination result and the tunnel communication identifier, the communication target in the tunnel communication is determined. Determine the IP address to be used for the data. Specifically, the address determination unit 14h determines an address by, for example, one of the following two methods (step S704).
  • the address determined by the address determining unit 14h has a structure shown in FIG. 28A. That is, the first 8 bits are “169” and the next 8 bits are “254”. The first 14 bits of the next 16 bits are the network address, and the remainder obtained by dividing the tunnel communication identifier by “16384” is used. The last two bits are the host address, which is determined using the table in FIG. 28B. The table in FIG. 28B shows the correspondence between the information indicating the calling side and the called side and the IP address. Since the determination unit 16 has determined that the first information processing device lh is the calling side, the address determination unit 14h sets the host address of the first information processing device lh to “1” using the table of FIG. 28B. Is determined.
  • the address determination unit 14h determines the host address of the second information processing device 2b to be “2”.
  • FIG. 28B shows the case where the information indicating the calling side and the called side and the IP address are associated with each other in a table format, the information is generated in a format other than the table format. Calling side. Information indicating the called side may be associated with the IP address. Also
  • the remainder “7741” obtained by dividing the tunnel communication identifier “111222333” by “16384” is a network address common to the first information processing device lh and the second information processing device 2b. Therefore, the address determination unit 14h sets the IP address of the first information processing device lh to "169.254 120. 245 ”(decimal numbers of“ 01111000111101 ”, the binary display of“ 7741 ”,“ 01 ”, the binary display of“ 1 ”, and“ 01111000 ”, which is divided into 8-bit units, and“ 11110101 ” The display is "120" and "245" respectively). Similarly, the address determination unit 14h determines the IP address of the second information processing device 2b to be “169.254.120.246”.
  • the address determination unit 14h passes those addresses to the tunnel communication unit 11 and the address transmission unit 15.
  • the address is determined in this way, “255. 255. 255. 252” is used as a subnet mask in each information processing device.
  • the address determination unit 14h determines a part of the address based on the communication destination device identifier and the communication source device identifier, as in the method of determining the address using the tape notch! Based on the V, the other part of the address may be determined.
  • the address determining unit 14h may determine the host address by selecting a plurality of predetermined addresses. For example, if the address determination unit 14h has the table shown in FIG. 28C and the information processing device is the calling side, the host address is selected as "1", "3" or "5". Alternatively, if the information processing apparatus is the called side, the host address may be selected as "2", "4", or "6".
  • the address determination unit 14h has a function “Func (argument 1, argument 2)” for determining an address. Then, when calculating the address of the calling side, substitute “0” for argument 1; when calculating the address of the called side, substitute “1” for argument 1. Also, substitute the tunnel communication identifier for argument 2. In this specific example, it is assumed that the address determining unit 14h substitutes “0” for the argument 1 and “111222333” for the argument 2 and the value S of the function becomes “192.168.0.1”. .
  • This IP address is the address of the first information processing device lh.
  • the address determination unit 14h substitutes “1” for the argument 1 and “111222333” for the argument 2, and the value of the function becomes “192.168.0.2”.
  • This IP address is the address of the second information processing device 2b. Then, the address determination unit 14h passes those addresses to the tunnel communication unit 11 and the address transmission unit 15.
  • the power address determining unit 14h which describes the two address determination methods, may determine the address based on the determination result of the determining unit 16 and the tunnel communication identifier. The address may be determined by other address determination methods! / ,.
  • address transmitting section 15 transmits the determined IP address of first information processing device lh and the IP address of second information processing device 2b to the second information processing device 2b.
  • the information is transmitted to the information processing device 2b (step S705).
  • those IP addresses are received by the address receiving unit 21 of the second information processing device 2b, and are passed to the tunnel communication unit 22.
  • tunnel communication unit 11 performs tunnel communication using the determined address as in the specific example of Embodiment 1
  • tunnel communication unit 22 performs tunnel communication using the address received by address reception unit 21. Perform communication.
  • the address used for data to be communicated in tunnel communication is determined based on the determination result by determination unit 16 and the tunnel communication identifier for identifying tunnel communication. Can be determined, and the address can be determined by a deterministic algorithm which is a simpler algorithm than a heuristic algorithm. As a result, the same advantages as in the first embodiment can be obtained.
  • first information processing device lh includes address transmission unit 15
  • first information processing device lh is different from address transmission unit 15 in that An address output unit that outputs the address determined by the address determination unit 14h may be provided.
  • this output may be, for example, a display on a display device (for example, a CRT or a liquid crystal display), a transmission to a predetermined device via a communication line, or a printing by a printer, or a printing by a printer.
  • the sound may be recorded on a recording medium or output by sound from a speaker.
  • the address output unit may or may not include a device that performs output (for example, a display device or a printer).
  • the address output unit may be realized by hardware, or may be realized by software such as a driver for driving those devices.
  • the output address is, for example, recorded on a predetermined recording medium or notified to the user of the second information processing device 2b by e-mail, fax, or the like, so that the second information processing device It may be set in 2b.
  • the tunnel communication identifier generated by the server 4e is transmitted only to the first information processing device lh.
  • the child may be transmitted to the second information processing device 2b together with the first information processing device lh.
  • a tunnel communication identifier is determined based on a determination result as to whether the information processing device is a calling side or a called side and a tunnel communication identifier. It determines the address used for the data to be communicated.
  • FIG. 29 is a diagram showing a configuration of the communication system according to the present embodiment.
  • the communication system according to the present embodiment includes a first information processing device li, a second information processing device 2i, and a server 4e, which are connected to each other via a communication line 3.
  • the server 4e is the same as in the seventh embodiment, and the description thereof will be omitted.
  • the server 4e since the first information processing device li and the second information processing device 2i determine the address, the server 4e stores the generated tunnel communication identifier in the first information processing device li. , And the second information processing device 2i.
  • the first information processing device li includes a tunnel communication unit 11, an address determination unit 14h, a determination unit 16, and a tunnel communication identifier reception unit 17. Note that the tunnel communication unit 11, the address determination unit 14h, the determination unit 16, and the tunnel communication identifier reception unit 17 are the same as those in the tenth embodiment, and a description thereof will be omitted.
  • the second information processing device 2i includes a tunnel communication unit 22, an address determination unit 26i, a determination unit 27, and a tunnel communication identifier reception unit 28.
  • the tunnel communication unit 22 is the same as in the fourth embodiment
  • the tunnel communication identifier accepting unit 28 is the same as in the eighth embodiment
  • the address determination unit 26i is the same as the address in the tenth embodiment. This is the same as the determination unit 14h, and the description thereof is omitted.
  • the operation of determining the address in the first information processing device li is the same as that shown in FIG. 27 in the tenth embodiment except that the address transmission process is not performed in step S705. Description is omitted. Further, the operation of determining the address in second information processing device 2i in the present embodiment also includes tunnel communication unit 11, address determination unit 14 h, the judging unit 16 and the tunnel communication identifier accepting unit 17 correspond to the tunnel communication unit 22, the address determining unit 26i, the judging unit 27 and the tunnel communication identifier accepting unit 28, respectively, and perform the process of transmitting the address in step S705. Except for not performing this, it is the same as that shown in FIG. 27 in the tenth embodiment, and a description thereof will be omitted.
  • the server 4e In response to a request from the first information processing device li, the server 4e transmits the IP address of the second information processing device 2i to the first information processing device li, and li requests tunnel communication with the second information processing device 2i, and transmits information indicating that it is to the second information processing device 2i. Further, the server 4e generates a tunnel communication identifier and transmits the tunnel communication identifier to the first information processing device li and the second information processing device 2i.
  • the tunnel communication unit 22 of the second information processing device 2i receives the information transmitted from the server 4e, it determines that tunnel communication is to be started (step S701). It is determined that the processing device 2i is the called side (step S702). Also, the tunnel communication identifier receiving unit 28 receives the tunnel communication identifier transmitted from the server 4e via the tunnel communication unit 22 (Step S703). Note that the process in which the address determination unit 26i determines the IP addresses of the first information processing device li and the second information processing device 2i based on the determination result by the determination unit 27 and the tunnel communication identifier is described in This is the same as Embodiment 10, and the description thereof is omitted. The operation of performing tunnel communication after this address determination is the same as the specific example of Embodiment 10 except that the address is not transmitted, and a description thereof will be omitted.
  • the tunnel is determined based on the result of the determination as to whether the information processing apparatus is the calling side or the called side and the tunnel communication identifier.
  • An address used for data to be communicated in communication can be determined in each information processing device. By determining the address in each information processing device, the address is determined. Need not be transmitted, and the same effect as in the second embodiment can be obtained.
  • each information processing apparatus determines the address of the communication source and the address of the communication destination.
  • the first information processing apparatus li may determine the first information When only the address of the processing device li is determined and only the address of the second information processing device 2i is determined in the second information processing device 2i, these are directly or indirectly processed. You can pass it to.
  • the communication system according to the present embodiment is used for data to be communicated in tunnel communication based on a determination result as to whether an information processing apparatus is a calling side or a called side and a tunnel communication identifier.
  • the address to be assigned is determined by the server.
  • FIG. 30 is a diagram showing the configuration of the communication system according to the present embodiment.
  • the communication system according to the present embodiment includes a first information processing device 5, a second information processing device 6, and a server 7j connected to each other via a communication line 3.
  • the first information processing device 5 and the second information processing device 6 are the same as those in the third embodiment, and a description thereof will be omitted.
  • the server 7j performs a process for establishing tunnel communication between the first information processing device 5 and the second information processing device 6, similarly to the server 4 in the first embodiment.
  • the communication control unit 71 and the address transmission unit 74 are the same as those in the third embodiment, and the determination unit 75 is the same as in the sixth embodiment.
  • the identifier accepting unit 76 is the same as that in the ninth embodiment, and a description thereof will be omitted.
  • the method for determining the address is the same as that of the address determining unit 14h in the tenth embodiment, and a description thereof will be omitted.
  • FIG. 31 is a flowchart showing an operation of determining an address in the server 7j.
  • Step S801 The communication control unit 71 determines whether tunnel communication is started between the first information processing device 5 and the second information processing device 6. Then, if tunnel communication is started, the process proceeds to step S802; otherwise, the process of step S801 is repeated until tunnel communication is started.
  • Step S802 The determining unit 75 determines whether each of the first information processing device 5 and the second information processing device 6 is a calling side or a called side.
  • Tunnel communication identifier generating section 41 generates a tunnel communication identifier, and passes the generated tunnel communication identifier to tunnel communication identifier receiving section 76.
  • Tunnel communication identifier receiving section 76 receives the tunnel communication identifier passed from tunnel communication identifier generating section 41.
  • Step S805 The address determining unit 7 # determines an address based on the tunnel communication identifier received by the tunnel communication identifier receiving unit 76 and the determination result by the determining unit 75.
  • the method of determining the address is the same as that described in the specific example of the tenth embodiment, and a description thereof will not be repeated.
  • Step S806 The address transmitting unit 74 transmits the address of the first information processing device 5 and the address of the second information processing device 6 determined by the address determining unit 7 # to the first information processing device 5 Is transmitted to the second information processing device 6. Then, the process returns to step S801.
  • the processing is ended by powering off or interruption for aborting the processing.
  • the operation of the communication system according to the present embodiment will be described using a specific example.
  • the data configuration in tunnel communication is the same as in FIG.
  • the IP addresses and device identifiers of information processing devices and servers are assumed to be the same as in the specific example of the third embodiment.
  • the process in which the first information processing device 5 and the second information processing device 6 respectively register the IP address and the device identification information in the server 7j is the same as in the third embodiment, and the description thereof will be omitted. Omitted.
  • the tunnel communication unit 52 of the first information processing device 5 wants to perform a tunnel communication with the second information processing device 6 and a second device identifier for identifying the second information processing device 6. To the server 7j. Then, they are received by the communication control unit 71.
  • the communication control unit 71 determines that tunnel communication is to be started (step S801), and obtains the IP address of the first information processing device 5, and obtains the IP address of the first information processing device 5 in FIG.
  • the device identifier “12345678” of the first information processing device 5 is acquired with reference to the address identifier correspondence information shown. Further, the communication control unit 71 refers to the address identifier correspondence information shown in FIG.
  • the communication control unit 71 transmits the IP address of the second information processing device 6 to the first information processing device 5.
  • step S802 Since the communication control unit 71 has performed the tunnel communication with the second information processing device 6 transmitted from the first information processing device 5 and has received the information indicating that the communication control unit 71 has performed the first It is determined that the information processing device 5 is the caller and the second information processor 6 is the callee (step S802). The determining unit 75 then determines that the information processing device identified by the device identifier “12345678” is the calling side and that the information processing device identified by the device identifier “98765432” is the called side. Pass to.
  • Tunnel communication identifier generation section 41 generates a new tunnel communication identifier "111222333" in response to communication control section 71 receiving information indicating that tunnel communication is to be started, and generates the generated tunnel communication identifier.
  • the identifier is passed to the tunnel communication identifier accepting unit 76 (step S803). Then, the tunnel communication identifier is received by the tunnel communication identifier receiving unit 76 (step S804).
  • step S805 Thereafter, based on the tunnel communication identifier received by tunnel communication identifier receiving unit 76 and the determination result received from determining unit 75, address determination unit 7 ⁇ The IP address used in the information processing device 6 is determined, and the determined address is passed to the address transmitting unit 74 in association with the device identifier (step S805).
  • This The method for determining the dress is the same as that of the specific example of the tenth embodiment, and a description thereof will be omitted.
  • the address transmitting unit 74 includes a set of the IP address of the first information processing device 5 determined by the address determining unit 7 #, the device identifier of the first information processing device 5, and the second information processing device.
  • the communication control unit 71 Upon receiving a set of the IP address of the device 6 and the device identifier of the second information processing device 6, the communication control unit 71 refers to the address identifier correspondence information and identifies each device. Obtain the IP address of the information processing device corresponding to the child. Then, the address transmitting unit 74 transmits the two sets of the device identifier and the IP address to the first information processing device 5 and the second information processing device 6 (step S806). Subsequent processing is the same as in the specific example of the third embodiment, and a description thereof will be omitted.
  • server 7j determines whether the information processing apparatus is the caller or the callee and the tunnel communication identifier.
  • the address used for the communication target data of the tunnel communication performed between the first information processing device 5 and the second information processing device 6 can be determined based on the simple deterministic algorithm. , The address can be easily determined.
  • the address transmission unit 74 is determined by the address determination unit 7 # instead of the address transmission unit 74 described in the case where the address transmission unit 74 transmits the address determined by the address determination unit 7 #.
  • an address output unit for outputting the output address.
  • this output may be, for example, a display on a display device (for example, a CRT or a liquid crystal display), a transmission to a predetermined device via a communication line, or a printing by a printer.
  • the data may be recorded on a recording medium, or may be output by sound from a speaker.
  • the address output unit may or may not include a device that performs output (for example, a display device or a printer).
  • the address output unit may be realized by hardware, or may be realized by software such as a driver for driving those devices.
  • the output address is, for example, recorded on a predetermined recording medium, or the administrator of the server 7j transmits the address to the user of the first information processing apparatus 5, the second By notifying the user of the information processing device 6 of the first information processing device 6, the information processing device 6 may be set in the first information processing device 5 or the second information processing device 6!
  • the address transmission unit 74 described in the case where the address transmission unit 74 of the server 7j transmits the two addresses determined by the address determination unit 7 ⁇ to the second information processing device 6 is described. May transmit only the address of the second information processing device 6 to the second information processing device 6. In this case, the second information processing device obtains the address of the first information processing device 5 in the header information of the transmitted encapsulated communication target data. Can be.
  • both the address of first information processing device 5 and the address of second information processing device 6 are transmitted from server 7j.
  • the address of the first information processing device 5 is transmitted to the first information processing device 5, and the address of the second information processing device 6 is transmitted to the second information processing device 6.
  • the server 7j may transmit the address of the other party.
  • tunnel communication identifier receiving section 76 receives the tunnel communication identifier generated by tunnel communication identifier generating section 41, but as described above.
  • the tunnel communication identifier receiving unit 76 may receive, for example, a tunnel communication identifier input by an input device, a tunnel communication identifier read from a recording medium, or the like.
  • a communication system according to Embodiment 13 of the present invention will be described with reference to the drawings.
  • the communication system according to the present embodiment when detecting that two or more addresses used for data to be communicated in tunnel communication match, changes the address.
  • FIG. 32 is a diagram showing the configuration of the communication system according to the present embodiment.
  • the communication system according to the present embodiment includes a first information processing device lk, a second information processing device 2b, a third information processing device 3k, and a server 4 connected to each other by a communication line 3. .
  • the second information processing device 2b is the same as in the fourth embodiment
  • the server 4 is the same as in the first embodiment, and a description thereof will be omitted.
  • the first information processing device lk is connected to two or more information processing devices and a tunnel. It is assumed that communication is performed. That is, the first information processing device lk performs tunnel communication with the second information processing device 2b and the third information processing device 3k.
  • the address used by the first information processing device lk for data to be communicated in the tunnel communication with the second information processing device 2b is “192.168.0.1”
  • the address used by the first information processing device lk for data to be communicated in the tunnel communication with the third information processing device 3k is “192.168.0.1”
  • the first The addresses used by the information processing device lk in the tunnel communication with the second information processing device 2b and the third information processing device 3k match.
  • Tunnel communication is like performing communication using a virtual network interface. If the addresses used in tunnel communication match, the address assigned to the virtual network interface is used. (For example, a situation where communication is performed using two NICs having the same address).
  • the first information processing device lk cannot perform communication.
  • the first information processing device lk according to the present embodiment performs a process of changing at least one address so that the first information processing device lk has two or more addresses. To enable simultaneous tunnel communication.
  • FIG. 33 is a block diagram showing a configuration of the first information processing device lk according to the present embodiment.
  • the first information processing device lk according to the present embodiment includes a tunnel communication unit 11, an address determination unit 14b, an address transmission unit 15, a determination unit 16, a detection unit 18, and an address change unit 19. .
  • the tunnel communication unit 11, the address determination unit 14b, the address transmission unit 15, and the determination unit 16 are configured so that the tunnel communication unit 11 performs tunnel communication with two or more communication destination devices. Except that the changed address is also transmitted, it is the same as the fourth embodiment, and the description is omitted.
  • the detecting unit 18 detects that two or more addresses used for communication target data in two or more tunnel communications match.
  • the tunnel communication unit 11 uses the address of the first information processing device lk used for data to be communicated in the tunnel communication with the second information processing device 2b, and the communication pair in the tunnel communication with the third information processing device 3k.
  • the first information processing device lk used for elephant data The
  • the address change unit 19 changes the address used for communication target data when the detection unit 18 detects that two or more addresses match.
  • this address change for example, of the addresses used for the data to be communicated in the tunnel communication, only the address of the first information processing device lk may be changed, or the first information processing device lk may be changed.
  • the address of the lk and the address of the information processing device with which the first information processing device lk communicates may be changed.
  • the address changing unit 19 may change a part of the two or more addresses detected to be coincident by the detecting unit 18 so that the two or more addresses do not coincide ( For example, if two addresses match, only one address may be changed), or all addresses may be changed (for example, if two addresses match, Change the address so it doesn't match). The specific method of address change will be described later.
  • FIG. 34 is a block diagram showing a configuration of the third information processing device 3k according to the present embodiment.
  • the third information processing device 3k according to the present embodiment includes an address receiving unit 31 and a tunnel communication unit 32.
  • the address receiving unit 31 and the tunnel communication unit 32 are the same as the address receiving unit 21 and the tunnel communication unit 22 of the second information processing device 2b according to the fourth embodiment, respectively, and the description is omitted.
  • FIG. 35 is a flowchart illustrating an operation of determining an address in the first information processing device lk.
  • the processing of steps S301 to S304 is the same as that of the flowchart of FIG. 14 in the fourth embodiment, and a description thereof will not be repeated.
  • Step S901 The detecting unit 18 determines that two or more addresses used for data to be communicated match in two or more tunnel communications performed by the tunnel communication unit 11! Judge whether or not. If it is detected that they match, the process proceeds to step S902; otherwise, the process returns to step S301.
  • Step S902 The address changing unit 19 changes the address used for the data to be communicated.
  • Step S903 The address transmitting section 15 transmits the address changed by the address changing section 19.
  • the transmission destination of this address is an information processing device that performs communication related to the address changed by the address changing unit 19. For example, when the address used for the data to be communicated in the tunnel communication with the second information processing device 2b is changed, the changed address is transmitted to the second information processing device 2b, and the third When the address used for the data to be communicated in the tunnel communication with the third information processing device 3k is changed, the changed address is transmitted to the third information processing device 3k. Then, the process returns to step S301.
  • step S301 to S304 the processing for determining the address
  • step S901 to S903 the processing for changing the address
  • the operation of the communication system according to the present embodiment will be described using a specific example.
  • the data configuration in tunnel communication is the same as in FIG. It is also assumed that the IP addresses and device identifiers of the information processing device and the server are the same as in the specific example of the third embodiment.
  • the processing in which the first information processing device lk, the second information processing device 2b, and the third information processing device 3k each register the IP address and the device identification information in the server 4 are the same as in the third embodiment. The same is true, and the description is omitted.
  • the process of starting tunnel communication between the first information processing device lk and the second information processing device 2b is the same as in the fourth embodiment, and a description thereof will be omitted.
  • the process of starting tunnel communication between the first information processing device lk and the third information processing device 3k is the same as in the fourth embodiment, and a description thereof will be omitted.
  • a process of starting tunnel communication between the first information processing device lk and the third information processing device 3k is executed, and in the tunnel communication, a first communication process is performed on the data to be communicated.
  • the IP address “192.168.0.1” of the information processing device lk is used as the first information processing device used for communication target data. It is assumed that the IP address of lk matches the IP address “192.168.0.1”.
  • the detecting unit 18 determines that both addresses match (step S901), and the address changing unit 19 determines whether the first information processing device lk and the third information processing device 3k have the same address.
  • the address changing unit 19 changes the address by, for example, one of the following three methods (step S902).
  • the address of the third information processing device 3k used for data to be communicated in the tunnel communication performed between the first information processing device lk and the third information processing device 3k is “ 192.168.0.2 ".
  • the last 8 bits of the address are the host address (that is, the subnet mask power S is “255. 255. 255. 0”).
  • the address changing unit 19 adds 1 to the host address of the first information processing device lk "192.168.0.1" and adds the IP address of the first information processing device lk to "192.168. . 0.2 ”.
  • the address changing unit 19 also adds 1 to the host address of the third information processing device 3k, 192.168.0.2, and adds the IP address of the third information processing device 3k to 192.168.0.2. 16 8.0.3 ”.
  • the address changing unit 19 adds 1 to the network address of the first information processing device lk "192.168.0.1” and adds the IP address of the first information processing device lk to "192.168.0.1". 168.1.1 ".
  • the address changing unit 19 also adds 1 to the network address of the third information processing device 3k, ⁇ 192.168.0.2 '', and changes the IP address of the third information processing device 3k to ⁇ 192.168.0.2 ''. 168.1.2 ".
  • the address changing unit 19 adds 1 to the network address of the IP address “192.168.0.1” of the first information processing device lk, and adds 1 to the host address to perform the first information processing.
  • the IP address of device lk is “192.168.1.2”.
  • the address changing unit 19 adds 1 to the network address of the IP address “192.168.0.2” of the third information processing device 3k and adds 1 to the host address to obtain the third information processing device 3k. Change the IP address of the processing unit 3k to ⁇ 192.168. 1. 3 ".
  • the force address changing unit 19 which describes the three address determination methods, only needs to change the address so that the address coincidence is resolved, and changes the address using any other address changing method. Is also good. For example, in this specific example, if the IP address of the first information processing device lk does not match the IP address of the third information processing device 3k! / Only the IP address of the device lk may be changed.
  • the address may be changed.
  • the address may be changed by making the decision again. In this case, if only the address of one information processing device in the tunnel communication is changed, it is necessary that the address does not overlap with the address of the other information processing device in the tunnel communication.
  • the address transmitting unit 15 compares the changed IP address of the first information processing device lk and the IP address of the third information processing device 3k with the third information processing device 3k. The information is transmitted to the information processing device 3k (step S903). As a result, those IP addresses are received by the address receiving unit 31 in the third information processing device 3k, and are passed to the tunnel communication unit 32. Further, tunnel communication unit 11 performs tunnel communication using the changed address, and tunnel communication unit 32 performs tunnel communication using the changed address received by address reception unit 31.
  • the address can be changed even when the address used for the communication target data in the tunnel communication matches. As a result, a situation where two or more tunnel communications cannot be performed can be avoided, and two or more tunnel communications can be appropriately performed.
  • the first information processing apparatus includes detection section 18 and address change section 19 in the communication system according to Embodiment 4.
  • the information processing device may include a detecting unit and an address changing unit.
  • the first information processing device includes a detecting unit and an address changing unit, so that If the address used for the data to be communicated matches when performing tunnel communication with a device that is higher than or equal to ⁇ , change at least one of the addresses.
  • tunnel communication with two or more devices may be appropriately performed.
  • a communication system according to Embodiment 14 of the present invention will be described with reference to the drawings.
  • the address is changed in each information processing device.
  • the communication system according to the present embodiment is the same as that in FIG. However, it is assumed that the first information processing device lk corresponds to the first information processing device lm, and the second information processing device 2b corresponds to the second information processing device 2m.
  • FIG. 36 is a block diagram showing a configuration of the first information processing device lm according to the present embodiment.
  • the first information processing device lm according to the present embodiment includes a tunnel communication unit 11, an address determination unit 14b, a determination unit 16, a detection unit 18, an address change unit 19, and an address change information transmission unit 20. Is provided. Note that the tunnel communication unit 11, the address determination unit 14b, and the determination unit 16 are the same as in Embodiment 4, and the detection unit 18 and the address change unit 19 are the same as in Embodiment 13. Their description is omitted.
  • the address change information transmitting unit 20 transmits the address change information when the detecting unit 18 detects that two or more addresses match.
  • the address change information is information on a change in an address used for data to be communicated in tunnel communication.
  • the address change information may be, for example, information merely instructing an address change, or information including an instruction on how to change the address.
  • the address change information is transmitted to a communication partner information processing apparatus that is performing tunnel communication for changing an address used for communication target data.
  • the address change information transmitting unit 20 may or may not include a transmission device (for example, a modem or a network card) for performing transmission (in this case, the address change information transmitting unit 20).
  • a transmission device exists between the communication line 20 and the communication line 3).
  • FIG. 37 is a block diagram showing a configuration of the second information processing device 2m according to the present embodiment.
  • the second information processing device 2m according to the present embodiment includes a tunnel communication unit 22, an address determination unit 26c, a determination unit 27, an address change information reception unit 29, and an address change unit 30.
  • the tunnel communication unit 22, the address determination unit 26c, and the determination unit 27 are the same as in the fifth embodiment, and a description thereof will be omitted.
  • the address change information receiving unit 29 receives the address change information.
  • the address change information receiving unit 29 may or may not include a receiving device (for example, a modem or a network card) for performing reception (in this case, the address change information receiving unit 29). There will be a receiving device (not shown) between the communication line 29 and the communication line 3). Further, the address change information receiving unit 29 may be realized by hardware, or may be realized by software such as a driver for driving the receiving device.
  • the address changing unit 30 changes the address used for the communication target data in the tunnel communication.
  • the process of changing the address by the address changing unit 30 is the same as the process by the address changing unit 19 of the thirteenth embodiment, and a description thereof will be omitted.
  • FIG. 38 is a flowchart showing an operation of determining an address by the first information processing device lm and changing the address.
  • processing other than step S1001 is the same as that in the flowchart of FIG. 35 of the thirteenth embodiment, and a description thereof will be omitted.
  • Step S1001 The address change information transmitting section 20 transmits the address change information.
  • the destination of this address change information is the information processing device of the communication partner that is performing tunnel communication for changing the address used for the data to be communicated.
  • Fig. 39 is a flowchart showing an operation of determining an address and changing the address by the second information processing device 2m.
  • the processing other than steps S1101 and S1102 is such that the tunnel communication unit 11 becomes the tunnel communication unit 22 and the address determination unit 14b executes the address determination.
  • the flowchart is the same as the flowchart in FIG. 35 of the thirteenth embodiment, except that the determining unit 26c is replaced by the determining unit 16 and the determining unit 27 is replaced by the determining unit 27, and a description thereof is omitted.
  • Step S1101 The address change information receiving unit 29 determines whether the address change information has been received. If the address change information has been received, the process proceeds to step S1102; otherwise, the process returns to step S301.
  • Step S1102 The address changing unit 30 changes the address used for communication target data in tunnel communication. After that, the tunnel communication unit 22 performs tunnel communication using the changed address. Then, the process returns to step S301.
  • the operation of the communication system according to the present embodiment will be described using a specific example.
  • the data configuration in tunnel communication is the same as in FIG. It is also assumed that the IP addresses and device identifiers of the information processing device and the server are the same as in the specific example of the thirteenth embodiment.
  • the first information processing device lm and the third information processing device 3k start tunnel communication, and thereafter, the first information processing device lm and the second information processing device 2m communicate with the tunnel communication.
  • the process of starting communication is the same as in the fifth embodiment, and a description thereof will not be repeated.
  • the first information processing device lm After the first information processing device lm and the second information processing device 2m start tunnel communication, the first information processing device lm communicates with the third information processing device 3k in tunnel communication.
  • the IP address of the first information processing device lm used for data to be transmitted and the first information processing device used for data to be communicated in tunnel communication with the second information processing device 2m It is assumed that both the IP address of lm is “192.168.0.1” and that the match is detected by the detection unit 18 (step S901).
  • the address change information transmitting unit 20 transmits the address change information to the second information processing device 2m (Step S1001). Further, the address changing unit 19 of the first information processing device lm changes the IP address used for the communication target data in the tunnel communication with the second information processing device 2m in the same manner as in the thirteenth embodiment. (Step S902).
  • the address change information receiving unit 29 of the second information processing device 2m receives the address change information transmitted with the first information processing device lm via the tunnel communication unit 22 (step SI 101). Then, the address changing unit 30 changes the IP address used by the second information processing device 2m for data to be communicated in the tunnel communication with the first information processing device lm (step S1102). The address change in the address changing unit 30 is performed in the same manner as the address changing unit 19 in the first information processing device lm. Therefore, even if the address is changed separately in the first information processing device lm and the second information processing device 2m, the address after the change is not shared with the first information processing device lm. And the second information processing device 2m.
  • the information indicating how to change the address may be included in the address change information.
  • the first information processing device lm performs an address change by adding 1 to the host address of the first information processing device lm and the second information processing device 2m, it includes information indicating the address change.
  • the address change information is transmitted by the address change information transmitting unit 20 to the second information processing device 2m, the second information processing device 2m, based on the address change information, The address can be changed by adding 1 to the host address of the second information processing device 2m. As a result, even if the address is changed separately in the first information processing device lm and the second information processing device 2m, the changed address is the same.
  • the second information processing device 2m when it is detected in the first information processing device lm that two or more addresses match, the address is changed and By transmitting the address change information to the second information processing device 2m of the communication partner, the second information processing device 2m performs the same address change as performed in the first information processing device lm. It can be carried out. As a result, the first information processing device lm and the second information processing device 2m can perform tunnel communication using the changed address, and the first information processing device Address matching can also be resolved.
  • the first information processing device includes detection unit 18 and the like
  • the second information processing device includes address change information reception unit 29 and the like.
  • the first information processing device or the like may include the detection unit 18 or the like.
  • the first information processing device and the second information processing device include a detection unit and an address change unit, so that when the first information processing device performs tunnel communication with two or more devices, communication is performed. If the addresses used for the target data match, at least one of the addresses may be changed so that tunnel communication with two or more devices can be performed properly.
  • a communication system according to Embodiment 15 of the present invention will be described with reference to the drawings.
  • the server changes the address.
  • the communication system according to the present embodiment is the same as that in FIG.
  • the first information processing device lk corresponds to the first information processing device
  • the second information processing device 2b corresponds to the second information processing device 2n
  • Sano corresponds to the server 7n. I do.
  • the third information processing device 3k is the same as in the thirteenth embodiment.
  • FIG. 40 is a block diagram showing a configuration of the first information processing device In according to the present embodiment.
  • the first information processing device In according to the present embodiment includes an address reception unit 51, a tunnel communication unit 52, a detection unit 53, an address match information transmission unit 54, an address change information reception unit 55, and an address change unit.
  • a part 56 is provided.
  • the address receiving unit 51 and the tunnel communication unit 52 are the same as those in the third embodiment except that the tunnel communication unit 52 performs tunnel communication with two or more communication destination devices. This is the same as the detection unit 18 of the thirteenth embodiment, and a description thereof will be omitted.
  • the address matching information transmitting unit 54 transmits the address matching information to the server 7n when the detecting unit 53 detects that two or more addresses match.
  • the address matching information is information indicating that addresses used for data to be communicated in tunnel communication match.
  • the address match information includes, for example, information indicating which address used for data to be communicated in which tunnel communication matches the address used for data to be communicated in other tunnel communication. Is also good.
  • the address matching information transmission unit 54 is a transmission device for performing transmission (for example, , A modem, a network card, etc.) may or may not be included (in this case, a transmission device (not shown) exists between the address matching information transmission unit 54 and the communication line 3).
  • the address match information transmitting unit 54 may be realized by hardware, or may be realized by software such as a driver for driving the transmitting device.
  • the address change information receiving unit 55 receives the address change information.
  • the address change information is information on an address change.
  • the address change information may be information only instructing an address change, or an instruction on how to change an address (for example, 1 May be added, or information indicating a changed address may be used.
  • the address change information receiving unit 55 may or may not include a receiving device (for example, a modem or a network card) for receiving (in this case, the address change information receiving unit 55). There is a receiving device (not shown) between the communication device and the communication line 3). Further, the address change information receiving section 55 may be realized by hardware, or may be realized by software such as a driver for driving the receiving device.
  • the address changing unit 56 changes the address used for communication target data. This address change is performed based on the address change information received by the address change information receiving unit. For example, if the address change information is information indicating how to change the address, the address change unit 56 determines the address to be used for data to be communicated in tunnel communication according to the address change information. To change.
  • FIG. 41 is a block diagram showing a configuration of the second information processing device 2n according to the present embodiment.
  • the second information processing device 2n according to the present embodiment includes an address receiving unit 61, a tunnel communication unit 62, an address change information receiving unit 63, and an address changing unit 64.
  • the address reception unit 61 and the tunnel communication unit 62 are the same as in the third embodiment, and a description thereof will be omitted.
  • the address change information receiving unit 63 and the address changing unit 64 are the same as the address change information receiving unit 55 and the address changing unit 56 described above, and a description thereof will be omitted.
  • FIG. 42 is a block diagram showing a configuration of server 7n according to the present embodiment.
  • the server 7n according to the mode includes a communication control unit 71, an address determination unit 73d, an address transmission unit 74, a determination unit 75, an address match information reception unit 77, an address change information configuration unit 78, and address change information transmission.
  • a part 79 is provided. Note that the communication control unit 71, the address determination unit 73d, the address transmission unit 74, and the determination unit 75 are the same as in the sixth embodiment, and a description thereof will be omitted.
  • the address matching information receiving unit 77 receives the address matching information.
  • the address matching information receiving unit 77 may or may not include a receiving device (for example, a modem or a network card) for performing reception (in this case, the address matching information receiving unit 77). There will be a receiving device (not shown) between 77 and the communication line 3). Further, the address match information receiving unit 77 may be realized by hardware, or may be realized by software such as a driver for driving the receiving device.
  • the address change information forming unit 78 forms the address change information when the address match information receiving unit 77 receives the address match information. For example, the address change information forming unit 78 may newly generate the address change information, or may read out the address change information stored in a predetermined recording medium or the like.
  • the address change information transmitting section 79 transmits the address change information configured by the address change information forming section 78.
  • the address change information transmitting unit 79 may or may not include a transmission device (for example, a modem or a network card) for performing transmission (in this case, the address change information transmitting unit 79).
  • a transmission device exists between the communication device and the communication line 3).
  • the address change information transmitting unit 79 may be realized by hardware, or may be realized by software such as a driver for driving a transmitting device.
  • FIG. 43 is a flowchart showing an operation of determining an address in the server 7n. Steps S401 to S404 are the same as those in the flowchart of FIG. 18 of the sixth embodiment, and a description thereof will not be repeated.
  • Step S1201 The address match information receiving section 77 determines whether or not address match information has been received. If the address match information has been received, the process proceeds to step S1202; otherwise, the process returns to step S401. (Step S1202) The address change information forming section 78 forms address change information.
  • Step S1203 The address change information transmitting section 79 transmits the address change information formed by the address change information forming section 78 to the information processing device. And step S4
  • the processing is ended by powering off or interruption for aborting the processing.
  • the operation of the communication system according to the present embodiment will be described using a specific example.
  • the data configuration in tunnel communication is the same as in FIG. It is also assumed that the IP addresses and device identifiers of the information processing device and the server are the same as in the specific example of the thirteenth embodiment.
  • the first information processing device In and the third information processing device 3k start tunnel communication, and thereafter, the first information processing device In and the second information processing device 2n perform tunnel communication.
  • the process to be started is the same as in the fourteenth embodiment, and a description thereof will be omitted.
  • the first information processing device In communicates with the third information processing device 3k in tunnel communication.
  • the IP address of the first information processing device In used for the target data, and the first information processing device In used for the communication target data in tunnel communication with the second information processing device 2n It is assumed that both of the IP address are “192.168.0.1” and that the detection unit 53 detects that they match.
  • the address matching information transmitting unit 54 performs the first information processing used for the data to be communicated in the tunnel communication performed between the first information processing device In and the second information processing device 2n.
  • the address 192.168.0.1 of the device In, the address 192.168.0.2 of the second information processing device 2n, and the address of the first information processing device In transmits to the server 7n address match information including information indicating that the address matches the address used and device identification information of the second information processing device 2n.
  • the address matching information is received by the address coincidence information receiving unit 77 (step S1201) o
  • the address change information composition unit 78, a first information processing apparatus In, the second information processing apparatus Address force used for data to be communicated in tunnel communication with 2n. Key used for data to be communicated in other tunnel communication. Address is determined to match the address, and an address change for changing an address used for data to be communicated in tunnel communication performed between the first information processing device In and the second information processing device 2n.
  • the information is configured (step S1202). This address change information is assumed to be information including an instruction to add 1 to the host address.
  • the address change information is transmitted by the address change information transmitting unit 79 to the first information processing device In and the second information processing device 2n (step S1203).
  • the address change information transmitting section 79 can know the address of the first information processing device In, which is the destination of the address change information, as well as the source address of the address match information, and The address can be known by using the device identification information of the second information processing device 2n included in the address matching information and the address identifier correspondence information shown in FIG.
  • the address change information is received by the address change information receiving unit 55 of the first information processing device In, and the address change unit 56 responds to the address change information by the first information processing device In.
  • the address is changed by adding 1 to the IP address “192.168.0.1” and the IP address “192.168.0.2” of the second information processing device 2n.
  • the address change information is received by the address change information receiving unit 63 of the second information processing device 2n, and the address change unit 64 of the second information processing device 2 also receives the first address change information according to the address change information.
  • the address is changed by adding 1 to the IP address “192.168.0.1” of the information processing device In and the IP address “192.168.0.2” of the second information processing device 2n. Thereafter, tunnel communication is performed between the first information processing device In and the second information processing device 2n using the changed address.
  • the address change information is information indicating how to change the address.
  • the address change information may be information indicating the address after change.
  • the address change unit 56 and the like change the address and the like of the first information processing device In to the address indicated by the address change information.
  • the server 7n when it is detected in the first information processing apparatus In that two or more addresses match, two or more addresses match.
  • the server 7n By transmitting address match information indicating that the addresses match, the server 7n can be notified that the addresses match.
  • the server 7n By sending the address change information to the information processing device in response to the reception of the information, each information processing device can change the address in accordance with the address change information, and as a result, the first information
  • the processing device In and the second information processing device 2n can perform tunnel communication using the changed address, and also eliminates the coincidence of addresses generated in the first information processing device In. can do.
  • the first information processing apparatus further includes address match information transmitting section 54 and the like
  • the second information processing apparatus includes address change information receiving section. Described in the case where the server further includes an address matching information receiving unit 77, etc. Even in a communication system other than Embodiment 6, the server etc. may include the address matching information receiving unit 77, etc. Thus, similarly to the present embodiment, the address change based on the address change information transmitted from Sano may be performed in each information processing device.
  • the server is provided with the address matching information receiving unit, the address change information forming unit, and the address change information transmitting unit, so that the first information processing device can communicate with two or more devices.
  • the address matching information receiving unit if the address used for the data to be communicated matches, at least one of the addresses must be changed to properly perform tunnel communication with two or more devices. May be made.
  • the first information processing apparatus receives the device identifier of the second information processing apparatus from the recording medium.
  • the device identifier of the second information processing device may be received by another means, for example, input by an input device, reception via a communication line, or the like.
  • one or more NAT functions are provided between the first information processing device and the communication line 3 or between the second information processing device and the communication line 3.
  • a communication controller eg, a router
  • the communication control device Then, the conversion of the IP address and the like are performed.
  • servers 4 and 7 are specified by IP addresses.
  • servers 4 and 7 are specified by domain names (for example, server, pana. Net, etc.). You may.
  • the servers 4 and 7 can be specified by converting the domain name into an IP address using a DNS server.
  • the protocol of communication performed via the communication line 3 in each of the above embodiments may be IPv4 (Internet Protocol version 4), or IPv6 (Internet Protocol version 6 &) ⁇
  • the force device identifier mainly described when using the device identifier indicated by a numeral may be another device.
  • characters such as alphabets and hiragana characters may be used. They may be shown in columns.
  • each process may be realized by centralized processing by a single device (system), or a plurality of devices. It may be realized by distributed processing by.
  • each component may be configured by dedicated hardware, or for a component that can be realized by software, may be realized by executing a program.
  • each component can be realized by a software execution program such as a CPU reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory.
  • the software for implementing the information processing device or the server in each of the above embodiments is a program as described below. In other words, this program provides the computer with the first information based on the first device identifier for identifying the first information processing device and the second device identifier for identifying the second information processing device. This is for executing an address determination step of determining an address to be used for communication target data encapsulated in tunnel communication performed between the processing device and the second information processing device.
  • the computer further executes an identifier accepting step of accepting the first device identifier and / or the second device identifier, and in the address determining step, the first device identifier accepted in the identifier accepting step.
  • Device identifier and Z or second device The address may be determined using the location identifier.
  • the other program determines to the computer which of the first information processing device and the second information processing device performing the tunnel communication is the calling side and the called side. Determining an address used for communication target data encapsulated in tunnel communication performed between the first information processing device and the second information processing device based on a result of the determination in the determination step; And an address determination step to be determined.
  • the other program stores, in the computer, a first device identifier for identifying the first information processing device, a second device identifier for identifying the second information processing device, and the first information. Performed between the first information processing device and the second information processing device based on a tunnel communication identifier for identifying tunnel communication performed between the processing device and the second information processing device. In the tunnel communication, an address determining step of determining an address to be used for communication target data to be encapsulated is performed.
  • the computer further executes an identifier accepting step of accepting the first device identifier and / or the second device identifier.
  • the computer receives the first device identifier received in the identifier accepting step. The address may be determined using the device identifier and / or the second device identifier.
  • the computer further executes a tunnel communication identifier accepting step of accepting a tunnel communication identifier, and in the address determining step, an address is determined using the tunnel communication identifier accepted in the tunnel communication identifier accepting step. May be determined.
  • the other program determines which of the first information processing device and the second information processing device that perform tunnel communication with the computer is the calling side and the called side.
  • the first information processing is performed based on the determining step, the determination result of the determining step, and a tunnel communication identifier for identifying a tunnel communication performed between the first information processing apparatus and the second information processing apparatus.
  • an address determining step of determining an address used for communication target data encapsulated in tunnel communication performed between the device and the second information processing device.
  • the computer further executes a tunnel communication identifier accepting step of accepting a tunnel communication identifier. In the address determination step, an address is determined by using the tunnel communication identifier accepted in the tunnel communication identifier accepting step. May be determined.
  • another program is a program for causing a computer to execute a process in a communication source information processing device that performs tunnel communication with two or more communication destination devices. And a detection step for detecting that two or more addresses used for data to be encapsulated in each communication target match, and a detection step for detecting that two or more addresses match. In this case, an address change step for changing an address used for data to be communicated is performed.
  • the other program is a program for causing a computer to execute a process in a communication source information processing device that performs tunnel communication with a communication destination device, and includes address change information that is information regarding address change. And an address change step of changing an address used for data to be communicated based on the address change information.
  • the other program is a program for causing a computer to execute a process in a communication source information processing device that performs tunnel communication with two or more communication destination devices.
  • the other program provides the computer with an address match information that is information indicating that two or more addresses used for encapsulated communication target data match in two or more tunnel communications.
  • Address matching information receiving step for receiving information; and address change information, which is information relating to address change, so that address matching is resolved. This is for executing an address change information forming step to be configured and an address change information transmitting step to transmit the address change information.
  • this program is executed by a program recorded on a predetermined recording medium (for example, an optical disk such as a CD-ROM, a magnetic disk, or a semiconductor memory) which can be executed by being downloaded by a server or the like. It may be executed by being read.
  • a predetermined recording medium for example, an optical disk such as a CD-ROM, a magnetic disk, or a semiconductor memory
  • the computer that executes this program may be a single computer or a plurality of computers. That is, centralized processing may be performed or distributed processing may be performed.
  • the communication system and the like according to the present invention can obtain an address used in tunnel communication between information processing apparatuses by a simple algorithm. And useful.

Landscapes

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

Abstract

 通信先の装置とトンネル通信を行う通信元の第1の情報処理装置(1)であって、通信対象のデータをカプセル化してトンネル通信を行うトンネル通信部(11)と、通信先の装置を識別する通信先装置識別子を受け付ける識別子受付部(12)と、第1の情報処理装置(1)を識別する通信元装置識別子を記憶している識別子記憶部(13)と、通信先装置識別子と、通信元装置識別子とに基づいて、通信対象のデータに対して用いるアドレスを決定するアドレス決定部(14)とを備える。このような構成により、トンネル通信においてカプセル化される通信対象のデータに対して用いられるアドレスを決定可能な情報処理装置を提供する。

Description

明 細 書
情報処理装置、サーバ、通信システム、アドレス決定方法、アドレス変更 方法およびプログラム
技術分野
[0001] 本発明は、通信システム等に関し、特にトンネル通信を行う通信システム等に関す る。
背景技術
[0002] 従来、通信対象のデータをカプセル化して通信を行うトンネル通信が開発されて!、 る。その技術内容は、例えば、特開 2003— 244188号公報 (第 1頁等、第 3図等)に 記載されている。
[0003] トンネル通信にぉ 、て、カプセルィ匕される通信対象のデータに関しても、通信端末 である各情報処理装置において、 IPアドレスを設定する必要がある。その IPアドレス は、各情報処理端末で同じアドレスとならないように設定されなければならない。とこ ろで、アドレスを割り当てる方法としては、 DHCPや AutoIPなどが知られている。
[0004] し力しながら、 DHCPや AutoIP等によるアドレス割り当て方法は、発見的アルゴリ ズムを用いている。例えば、 AutoIPでは、あら力じめアドレスレンジが設定されており 、クライアント側の情報処理装置力もサーバに所定の IPアドレスを使用可能力どうか 問!、合わせ、他の情報処理装置で使用されて 、なければその IPアドレスを使用する ことができ、他の情報処理装置で使用されていれば、他の IPアドレスを使用可能かど うか問い合わせるということが繰り返される。この発見的アルゴリズムは複雑であり、ク ライアント側の情報処理装置で用いる IPアドレスを決定するのに時間が力かるという 問題がある。また、あらかじめ決められたアドレスレンジの IPアドレスを、クライアント側 の情報処理装置で重複しないように割り当てるため、クライアント側の情報処理装置 がアドレスレンジで割り当て可能な IPアドレスの数量を超えた場合には割り当てを行 うことができな 、と!/、う問題がある。
発明の開示
[0005] 本発明は、上記問題点を解決するためになされたものであり、簡易なアルゴリズム により、トンネル通信においてカプセル化される通信対象のデータに対して用いられ るアドレスを決定可能な通信システム等を提供することを目的とする。
[0006] 上記目的を達成するため、本発明による情報処理装置は、通信先の装置とトンネ ル通信を行う通信元の情報処理装置であって、通信対象のデータをカプセル化して トンネル通信を行うトンネル通信部と、通信先の装置を識別する通信先装置識別子 を受け付ける識別子受付部と、情報処理装置を識別する通信元装置識別子を記憶 している識別子記憶部と、通信先装置識別子と、通信元装置識別子とに基づいて、 通信対象のデータに対して用いるアドレスを決定するアドレス決定部と、を備えたも のである。
[0007] このような構成により、通信先装置識別子と通信元装置識別子とに基づいて、簡易 なアルゴリズムを用いてトンネル通信における通信対象のデータに対して用いるアド レスを決定することができる。その結果、発見的アルゴリズムを用いた DHCPや Auto IPによってアドレスを決定する必要がなくなり、通信システムにおいて、 DHCPサー バ等を備える必要がなくなる。
[0008] また、本発明による情報処理装置は、通信先の装置とトンネル通信を行う通信元の 情報処理装置であって、通信対象のデータをカプセルィ匕してトンネル通信を行うトン ネル通信部と、トンネル通信において、情報処理装置が発呼側か着呼側かを判断す る判断部と、判断部による判断結果に基づいて、通信対象のデータに対して用いる アドレスを決定するアドレス決定部と、を備えたものである。
[0009] このような構成により、情報処理装置が発呼側か着呼側かの判断結果に基づいて 、簡易なアルゴリズムを用 、てトンネル通信における通信対象のデータに対して用 ヽ るアドレスを決定することができる。その結果、発見的アルゴリズムを用いた DHCPや AutoIPによってアドレスを決定する必要がなくなり、通信システムにおいて、 DHCP サーバ等を備える必要がなくなる。
[0010] また、本発明による情報処理装置は、通信先の装置とトンネル通信を行う通信元の 情報処理装置であって、通信対象のデータをカプセルィ匕してトンネル通信を行うトン ネル通信部と、通信先の装置を識別する通信先装置識別子を受け付ける識別子受 付部と、情報処理装置を識別する通信元装置識別子を記憶して!/、る識別子記憶部 と、トンネル通信を識別するトンネル通信識別子を受け付けるトンネル通信識別子受 付部と、通信先装置識別子と、通信元装置識別子と、トンネル通信識別子とに基づ いて、通信対象のデータに対して用いるアドレスを決定するアドレス決定部と、を備え たものである。
[0011] このような構成により、通信先装置識別子と通信元装置識別子とトンネル通信識別 子とに基づ!/、て、簡易なアルゴリズムを用いてトンネル通信における通信対象のデー タに対して用いるアドレスを決定することができる。その結果、発見的アルゴリズムを 用いた DHCPや AutoIPによってアドレスを決定する必要がなくなり、通信システムに おいて、 DHCPサーバ等を備える必要がなくなる。
[0012] また、本発明による情報処理装置は、通信先の装置とトンネル通信を行う通信元の 情報処理装置であって、通信対象のデータをカプセルィ匕してトンネル通信を行うトン ネル通信部と、トンネル通信において、情報処理装置が発呼側か着呼側かを判断す る判断部と、トンネル通信を識別するトンネル通信識別子を受け付けるトンネル通信 識別子受付部と、判断部による判断結果と、トンネル通信識別子とに基づいて、通信 対象のデータに対して用いるアドレスを決定するアドレス決定部と、を備えたものであ る。
[0013] このような構成により、情報処理装置が発呼側か着呼側かの判断結果とトンネル通 信識別子とに基づ 、て、簡易なアルゴリズムを用いてトンネル通信における通信対象 のデータに対して用いるアドレスを決定することができる。その結果、発見的アルゴリ ズムを用いた DHCPや AutoIPによってアドレスを決定する必要がなくなり、通信シス テムにお 、て、 DHCPサーバ等を備える必要がなくなる。
[0014] 本発明によるサーバは、第 1の情報処理装置を識別する第 1の装置識別子、およ び第 2の情報処理装置を識別する第 2の装置識別子を受け付ける識別子受付部と、 識別子受付部が受け付けた第 1の装置識別子と、第 2の装置識別子とに基づいて、 第 1の情報処理装置と、第 2の情報処理装置との間で行われるトンネル通信における カプセルィ匕された通信対象のデータに対して用いる第 1の情報処理装置の第 1のァ ドレス、および第 2の情報処理装置の第 2のアドレスを決定するアドレス決定部と、ァ ドレス決定部が決定した第 1のアドレスおよび第 2のアドレスを出力するアドレス出力 部と、を備えたものである。
[0015] このような構成により、第 1の装置識別子と第 2の装置識別子とに基づいて、簡易な アルゴリズムを用いてトンネル通信における通信対象のデータに対して用いるァドレ スを決定することができる。その結果、発見的アルゴリズムを用いた DHCPや Autol Pによってアドレスを決定する必要がなくなり、通信システムにおいて、 DHCPサーバ 等を備える必要がなくなる。
[0016] また、本発明によるサーバは、トンネル通信を行う第 1の情報処理装置と、第 2の情 報処理装置との!/、ずれが発呼側であり、着呼側であるのかにつ!/、て判断する判断部 と、判断部による判断結果に基づいて、第 1の情報処理装置と、第 2の情報処理装置 との間で行われるトンネル通信においてカプセルィ匕される通信対象のデータに対し て用いる第 1の情報処理装置の第 1のアドレス、および第 2の情報処理装置の第 2の アドレスを決定するアドレス決定部と、アドレス決定部が決定した第 1のアドレスおよ び第 2のアドレスを出力するアドレス出力部と、を備えたものである。
[0017] このような構成により、第 1の情報処理装置と第 2の情報処理装置とが発呼側である の力、着呼側であるのかの判断結果に基づいて、簡易なアルゴリズムを用いてトンネ ル通信における通信対象のデータに対して用いるアドレスを決定することができる。 その結果、発見的アルゴリズムを用いた DHCPや AutoIPによってアドレスを決定す る必要がなくなり、通信システムにおいて、 DHCPサーバ等を備える必要がなくなる。
[0018] また、本発明によるサーバは、第 1の情報処理装置を識別する第 1の装置識別子、 および第 2の情報処理装置を識別する第 2の装置識別子を受け付ける識別子受付 部と、第 1の情報処理装置と、第 2の情報処理装置との間で行われるトンネル通信を 識別するトンネル通信識別子を受け付けるトンネル通信識別子受付部と、識別子受 付部が受け付けた第 1の装置識別子と、第 2の装置識別子と、トンネル通信識別子受 付部が受け付けたトンネル通信識別子とに基づいて、第 1の情報処理装置と、第 2の 情報処理装置との間で行われるトンネル通信においてカプセルィ匕される通信対象の データに対して用いる第 1の情報処理装置の第 1のアドレス、および第 2の情報処理 装置の第 2のアドレスを決定するアドレス決定部と、アドレス決定部が決定した第 1の アドレスおよび第 2のアドレスを出力するアドレス出力部と、を備えたものである。 [0019] このような構成により、第 1の装置識別子と第 2の装置識別子とトンネル通信識別子 とに基づ 、て、簡易なアルゴリズムを用いてトンネル通信における通信対象のデータ に対して用いるアドレスを決定することができる。その結果、発見的アルゴリズムを用 いた DHCPや AutoIPによってアドレスを決定する必要がなくなり、通信システムにお いて、 DHCPサーバ等を備える必要がなくなる。
[0020] また、本発明によるサーバは、トンネル通信を行う第 1の情報処理装置と、第 2の情 報処理装置との!/、ずれが発呼側であり、着呼側であるのかにつ!/、て判断する判断部 と、第 1の情報処理装置と、第 2の情報処理装置との間で行われるトンネル通信を識 別するトンネル通信識別子を受け付けるトンネル通信識別子受付部と、判断部による 判断結果と、トンネル通信識別子受付部が受け付けたトンネル通信識別子とに基づ いて、第 1の情報処理装置と、第 2の情報処理装置との間で行われるトンネル通信に おいてカプセルィ匕される通信対象のデータに対して用いる第 1の情報処理装置の第 1のアドレス、および第 2の情報処理装置の第 2のアドレスを決定するアドレス決定部 と、アドレス決定部が決定した第 1のアドレスおよび第 2のアドレスを出力するアドレス 出力部と、を備えたものである。
[0021] このような構成により、第 1の情報処理装置と第 2の情報処理装置とが発呼側である のカゝ、着呼側であるのかの判断結果とトンネル通信識別子とに基づいて、簡易なァ ルゴリズムを用いてトンネル通信における通信対象のデータに対して用いるアドレス を決定することができる。その結果、発見的アルゴリズムを用いた DHCPや AutoIP によってアドレスを決定する必要がなくなり、通信システムにおいて、 DHCPサーバ 等を備える必要がなくなる。
[0022] また、本発明によるサーバは、 2以上のトンネル通信において、カプセル化される通 信対象のデータに対して用いられる 2以上のアドレスが一致して 、る旨を示す情報で あるアドレス一致情報を受信するアドレス一致情報受信部と、アドレスの一致が解消 するように、アドレスの変更に関する情報であるアドレス変更情報を構成するアドレス 変更情報構成部と、アドレス変更情報を送信するアドレス変更情報送信部と、を備え たものである。
[0023] このような構成により、 2以上のトンネル通信において、通信対象のデータに対して 用いられる 2以上のアドレスが一致していることが検出された場合に、アドレス変更情 報を構成し、送信することによって、その 2以上のアドレスの一致を解消することがで さうる。
[0024] このように、本発明による情報処理装置等によれば、トンネル通信においてカプセ ル化される通信対象のデータに対して用いるアドレスを、簡易な方法によって決定す ることがでさる。
図面の簡単な説明
[0025] [図 1]図 1は本発明の実施の形態 1による通信システムの構成を示す図である。
[図 2]図 2は同実施の形態による第 1の情報処理装置の構成を示すブロック図である
[図 3]図 3は同実施の形態による第 2の情報処理装置の構成を示すブロック図である
[図 4]図 4は同実施の形態における第 1の情報処理装置の動作を示すフローチャート である。
[図 5A]図 5Aは同実施の形態におけるデータ構造を示す図である。
[図 5B]図 5Bは同実施の形態におけるデータ構造を示す図である。
[図 6]図 6は同実施の形態における装置識別子の桁と IPアドレスとの対応の一例であ るテーブルを示す図である。
[図 7]図 7は本発明の実施の形態 2による第 1の情報処理装置の構成を示す図である
[図 8]図 8は同実施の形態による第 2の情報処理装置の構成を示す図である。
[図 9]図 9は本発明の実施の形態 3による通信システムの構成を示す図である。
[図 10]図 10は同実施の形態におけるサーバの動作を示すフローチャートである。
[図 11]図 11は同実施の形態における装置識別子と IPアドレスとの対応の一例を示す 図である。
[図 12]図 12は本発明の実施の形態 4による第 1の情報処理装置の構成を示すブロッ ク図である。
[図 13]図 13は同実施の形態による第 2の情報処理装置の構成を示すブロック図であ る。
圆 14]図 14は同実施の形態における第 1の情報処理装置の動作を示すフローチヤ ートである。
[図 15A]図 15Aは同実施の形態における発呼側、着呼側と IPアドレスとの対応の一 例であるテーブルを示す図である。
[図 15B]図 15Bは同実施の形態における発呼側、着呼側と IPアドレスとの対応の一 例であるテーブルを示す図である。
[図 16]図 16は本発明の実施の形態 5による通信システムの構成を示す図である。
[図 17]図 17は本発明の実施の形態 6による通信システムの構成を示す図である。
[図 18]図 18は同実施の形態におけるサーバの動作を示すフローチャートである。 圆 19]図 19は本発明の実施の形態 7による第 1の情報処理装置の構成を示すブロッ ク図である。
[図 20]図 20は同実施の形態によるサーバの構成を示すブロック図である。
圆 21]図 21は同実施の形態における第 1の情報処理装置の動作を示すフローチヤ ートである。
[図 22A]図 22Aは同実施の形態におけるアドレスの構成の一例を示す図である。
[図 22B]図 22Bは同実施の形態における装置識別子の桁と IPアドレスとの対応の一 例であるテーブルを示す図である。
[図 23]図 23は本発明の実施の形態 8による通信システムの構成を示す図である。
[図 24]図 24は本発明の実施の形態 9による通信システムの構成を示す図である。
[図 25]図 25は同実施の形態におけるサーバの動作を示すフローチャートである。 圆 26]図 26は本発明の実施の形態 10による第 1の情報処理装置の構成を示すプロ ック図である。
圆 27]図 27は同実施の形態における第 1の情報処理装置の動作を示すフローチヤ ートである。
[図 28A]図 28Aは同実施の形態におけるアドレスの構成の一例を示す図である。
[図 28B]図 28Bは同実施の形態における発呼側、着呼側とホストアドレスとの対応の 一例であるテーブルを示す図である。 [図 28C]図 28Cは同実施の形態における発呼側、着呼側とホストアドレスとの対応の 一例であるテーブルを示す図である。
[図 29]図 29は本発明の実施の形態 11による通信システムの構成を示す図である。
[図 30]図 30は本発明の実施の形態 12による通信システムの構成を示す図である。
[図 31]図 31は同実施の形態におけるサーバの動作を示すフローチャートである。
[図 32]図 32は本発明の実施の形態 13による通信システムの構成を示す図である。 圆 33]図 33は同実施の形態による第 1の情報処理装置の構成を示すブロック図であ る。
圆 34]図 34は同実施の形態による第 3の情報処理装置の構成を示すブロック図であ る。
圆 35]図 35は同実施の形態における第 1の情報処理装置の動作を示すフローチヤ ートである。
圆 36]図 36は本発明の実施の形態 14による第 1の情報処理装置の構成を示すプロ ック図である。
圆 37]図 37は同実施の形態による第 2の情報処理装置の構成を示すブロック図であ る。
圆 38]図 38は同実施の形態における第 1の情報処理装置の動作を示すフローチヤ ートである。
圆 39]図 39は同実施の形態における第 2の情報処理装置の動作を示すフローチヤ ートである。
圆 40]図 40は本発明の実施の形態 15による第 1の情報処理装置の構成を示すプロ ック図である。
圆 41]図 41は同実施の形態による第 2の情報処理装置の構成を示すブロック図であ る。
[図 42]図 42は同実施の形態によるサーバの構成を示すブロック図である。
[図 43]図 43は同実施の形態におけるサーバの動作を示すフローチャートである。 符号の説明
1, la, lb, lc, le, If, lh, li, lk, lm, In, 5 第 1の情報処理装置 2, 2a, 2b, 2c, 2f, 2i, 2m, 2n, 6 第 2の情報処理装置
3k 第 3の情報処理装置
3 通信回線
4, 4e, 7, 7d, 7g, 7j, 7n サーノ
発明を実施するための最良の形態
[0027] (実施の形態 1)
本発明の実施の形態 1による通信システムについて、図面を参照しながら説明する
[0028] 図 1は、本実施の形態による通信システムの構成を示す図である。図 1において、 本実施の形態による通信システムは、有線または無線の通信回線 3で互いに接続さ れている第 1の情報処理装置 1と、第 2の情報処理装置 2と、サーバ 4とを備える。通 信回線 3は、例えば、インターネットなどである。本実施の形態では、第 1の情報処理 装置 1にお 、て、トンネル通信でカプセルィ匕される通信対象のデータに対して用いる アドレスが決定されるものとする。
[0029] 図 2は、第 1の情報処理装置 1の構成を示すブロック図である。図 2において、第 1 の情報処理装置 1は、トンネル通信部 11と、識別子受付部 12と、識別子記憶部 13と 、アドレス決定部 14と、アドレス送信部 15とを備える。
[0030] トンネル通信部 11は、第 1の情報処理装置 1と、第 2の情報処理装置 2との間でトン ネル通信を行う。ここで、トンネル通信とは、通信対象のデータをカプセル化して行わ れる通信である。トンネル通信部 11では、通信対象のデータのカプセル化や、送信 されてきたカプセルィ匕されたデータに対するカプセルの解除等が行われる。カプセ ル化とは、通信対象のデータをプロトコルで規定されたヘッダなどで包み込むことで ある。カプセル化される通信対象のデータは、暗号ィ匕されてもよぐあるいは暗号ィ匕さ れなくてもよい。トンネル通信の一例としては、 UDPトンネル通信や、 HTTPトンネル 通信、 L2TPトンネル通信などがある。なお、トンネル通信部 11は、通信を行うための 通信デバイス (例えば、モデムやネットワークカードなど)を含んでもよぐあるいは含 まなくてもよい(この場合には、トンネル通信部 11と通信回線 3との間に図示しない通 信デバイスや、その通信デバイスにデータを渡すソフトウェア等が存在してもよ!/、)。 また、トンネル通信部 11は、ハードウェアによって実現されてもよぐあるいは通信デ バイスを駆動するドライバ等のソフトウェアによって実現されてもよい。また、トンネル 通信部 11は、例えば、所定の記録媒体 (例えば、 DVDやハードディスク等)から読 み出すことによって通信対象のデータを取得してもよぐあるいは所定の装置力 送 信、あるいは入力されたデータを受け付けることによって通信対象のデータを取得し てもよい。
[0031] 識別子受付部 12は、通信先の装置、すなわち第 2の情報処理装置 2を識別する通 信先装置識別子を受け付ける。なお、識別子受付部 12は、例えば、入力デバイス( 例えば、キーボードやマウス、タツチパネルなど)から入力された通信先装置識別子 を受け付けてもよぐ有線もしくは無線の通信回線を介して送信された通信先装置識 別子を受け付けてもよぐ所定の記録媒体 (例えば、光ディスクや磁気ディスク、半導 体メモリなど)力も読み出された通信先装置識別子を受け付けてもよい。
[0032] 識別子記憶部 13は、通信元の装置、すなわち第 1の情報処理装置 1を識別する通 信元装置識別子を記憶している。なお、識別子記憶部 13は、所定の記録媒体 (例え ば、半導体メモリや磁気ディスク、光ディスクなど)によって実現され得る。識別子記憶 部 13での記憶は、外部のストレージデバイス等力 読み出した通信元装置識別子の RAM等における一時的な記憶でもよぐあるいは、 ROM等における長期的な記憶 でもよい。
[0033] なお、本実施の形態では、第 1の情報処理装置 1を基準として第 1の情報処理装置 1を通信元とし、第 2の情報処理装置 2を通信先としているために、第 1の情報処理装 置 1を識別する装置識別子を通信元装置識別子と呼び、第 2の情報処理装置 2を識 別する装置識別子を通信先装置識別子と呼ぶこととするが、通信先、通信元というの は便宜上のものであって、例えば、第 2の情報処理装置 2を基準とする場合には、通 信元、通信先が入れ替わってもよい。例えば、第 1の情報処理装置を識別する装置 識別子を通信先装置識別子と呼んでもょ ヽ。
[0034] また、この通信先装置識別子、および通信元装置識別子は、互いに異なるもので あり、例えば、 MACアドレスや、 EUI64ベースのアドレスなどの GUID (Global Uni que ID)などを用いてもよい。 [0035] アドレス決定部 14は、識別子受付部 12が受け付けた通信先装置識別子と、識別 子記憶部 13が記憶して 、る通信元装置識別子とに基づ!/、て、トンネル通信にお!、て カプセルィ匕される通信対象のデータに対して用いるアドレス (仮想インターフェース' アドレスや、トンネルモード'アドレスと言われることもある)を決定する。このアドレスの 決定においては、通信先装置識別子と通信元装置識別子とに基づいて、通信先の 装置 (すなわち、第 2の情報処理装置 2)で用いるアドレスと、通信元の装置 (すなわ ち、第 1の情報処理装置 1)で用いるアドレスとが異なるように決定されればよい。決 定の方法としては、例えば、所定の関数を用いて行う方法や、あら力じめ決められて いる複数のアドレス力 選択することによって行う方法などがある。後者の方法として は、例えば、所定のテーブルを用いて行う方法や、通信先装置識別子と通信元装置 識別子とを比較し、その比較結果に基づいて行う方法などがある。アドレスを決定す る方法の具体例については、後述する。また、アドレスの決定において、通信元の装 置のアドレスを決定してもよぐ通信先の装置のアドレスを決定してもよぐその両者の アドレスを決定してもよい。本実施の形態では、通信元と通信先の装置の両者のアド レスを決定する場合にっ 、て説明する。
[0036] アドレス送信部 15は、アドレス決定部 14で決定されたアドレスを送信する。この送 信は、第 2の情報処理装置 2に対して行われてもよぐサーバ 4に対して行われてもよ ぐその他のアドレスを管理する装置に対して行われてもよい。サーバ 4等に送信され た場合には、そのサーバ 4等から、直接的に (例えば、送信によって)、または間接的 に(例えば、他のサーバを介しての送信や、記録媒体を介することによって)、第 2の 情報処理装置 2に対してアドレスが渡されてもよい。また、送信の対象となるアドレス は、通信先の装置 (すなわち、第 2の情報処理装置 2)のアドレスのみであってもよぐ 通信元の装置 (すなわち、第 1の情報処理装置 1)のアドレスを含んでいてもよい。な お、アドレス送信部 15は、送信を行うための送信デバイス (例えば、モデムやネットヮ ークカードなど)を含んでもよぐあるいは含まなくてもよい (この場合には、アドレス送 信部 15と通信回線 3との間に図示しな ヽ通信デバイスや、その通信デバイスにデー タを渡すソフトウェア等が存在してもよい)。また、アドレス送信部 15は、ハードウェア によって実現されてもよぐあるいは送信デバイスを駆動するドライバ等のソフトウェア によって実現されてもよい。
[0037] 図 3は、第 2の情報処理装置 2の構成を示すブロック図である。図 3において、第 2 の情報処理装置 2は、アドレス受付部 21と、トンネル通信部 22と、識別子記憶部 23 とを備える。
[0038] アドレス受付部 21は、トンネル通信における通信対象のデータに対して用いられる アドレスを受け付ける。アドレス受付部 21は、例えば、入力デバイス (例えば、キーボ ードゃマウス、タツチパネルなど)力も入力されたアドレスを受け付けてもよぐ有線も しくは無線の通信回線を介して送信されたアドレスを受け付けてもよく、所定の記録 媒体 (例えば、光ディスクや磁気ディスク、半導体メモリなど)カゝら読み出されたァドレ スを受け付けてもよい。本実施の形態では、第 1の情報処理装置 1から送信されたァ ドレスを受け付けるものとする。
[0039] トンネル通信部 22は、第 1の情報処理装置 1との間でトンネル通信を行う。そのトン ネル通信において、通信対象のデータに対して用いるアドレスとして、アドレス受付 部 21が受け付けたアドレスを用いる。その他の構成は、トンネル通信部 11と同様で あり、その説明を省略する。
[0040] 識別子記憶部 23は、通信先の装置、すなわち第 2の情報処理装置 2を識別する通 信先装置識別子を記憶している。なお、識別子記憶部 23は、通信元装置識別子に 代えて通信先装置識別子を記憶している以外、第 1の情報処理装置 1における識別 子記憶部 13と同様のものであり、その説明を省略する。
[0041] サーバ 4は、第 1の情報処理装置 1と、第 2の情報処理装置 2との間におけるトンネ ル通信の確立に関する処理を行う。例えば、第 1の情報処理装置 1に第 2の情報処 理装置 2のアドレスを通知する。
[0042] 次に、本実施の形態による通信システムの動作、特に第 1の情報処理装置 1におい てアドレスを決定する動作について説明する。図 4は、第 1の情報処理装置 1におけ るアドレスを決定する動作を示すフローチャートである。
[0043] (ステップ S101)識別子受付部 12は、通信先装置識別子を受け付けた力どうか判 断する。そして、通信先装置識別子を受け付けた場合には、その通信先装置識別子 をアドレス決定部 14に渡してステップ S102に進み、そうでない場合には、ステップ S 101の動作を繰り返す。
[0044] (ステップ S 102)アドレス決定部 14は、識別子記憶部 13が記憶している通信元装 置識別子と、識別子受付部 12が受け付けた通信先装置識別子とに基づいて、トンネ ル通信における通信対象のデータに対して用いるアドレスを決定する。そして、その 決定したアドレスをトンネル通信部 11と、アドレス送信部 15とに渡す。
[0045] (ステップ S103)アドレス送信部 15は、アドレス決定部 14が決定したアドレスを、第 2の情報処理装置 2に送信する。そして、ステップ S101に戻る。
[0046] なお、図 4のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は 終了する。また、このフローチャートでは、識別子受付部 12が通信先装置識別子を 受け付けたタイミングでアドレスの決定等を行う場合にっ 、て説明した力 アドレスの 決定等を行うタイミングは、これに限定されるものではなぐ例えば、トンネル通信部 1 1が第 2の情報処理装置 2とトンネル通信を開始するタイミングで、それまでに受け付 けられて 、る通信先装置識別子を用いてアドレスを決定してもよ 、。
[0047] 次に、本実施の形態による通信システムの動作について、具体例を用いて説明す る。まず、トンネル通信におけるデータの構成について、図 5を用いて説明する。図 5 は、カプセルィ匕される前の通信対象のデータ(図 5A)と、カプセルィ匕された後のデー タ(図 5B)との一例を示す図である。
[0048] 図 5Aにおいて、通信対象のデータには、 IPヘッダ 101と、 TCPZUDPヘッダ 102 と、ペイロード 103とが含まれている。 IPヘッダ 101で用いられる IPアドレスとして、ァ ドレス決定部 14が決定したアドレスが用いられる。 TCPZUDPヘッダ 102は、 TCP のヘッダであってもよぐ UDPのヘッダであってもよい。ペイロード 103に、通信対象 のデータそのもの、すなわち、第 1の情報処理装置 1や第 2の情報処理装置 2等のァ プリケーシヨンソフトが実際に利用したい情報が含まれている。
[0049] 図 5Bは、図 5Aで示されるオリジナルパケット(通信対象のデータ)を UDPカプセル 化したデータを示す図である。図 5Bでは、オリジナルパケットに対して管理ヘッダ (X Xヘッダ 203)とトレーラ(XXトレーラ 204)を付カ卩することによって、オリジナルバケツ トを喑号ィ匕し、 UDPヘッダ 202、 IPヘッダ 201を付カ卩することによってカプセル化を 行っている。 IPヘッダ 201で用いられる IPアドレスは、第 1の情報処理装置 1、および 第 2の情報処理装置 2の IPアドレスである。
[0050] 次に、第 1の情報処理装置 1と、第 2の情報処理装置 2との間での通信を開始する までのアドレスを取得する処理等について説明する。この具体例において、第 1の情 報処理装置 1の IPアドレスは「202. 132. 10. 6」であり、通信元装置識別子は「123 45678」であるとする。また、第 2の情報処理装置 2の IPアドレスは「131. 206. 10. 240」であり、通信先装置識別子は「98765432」であるとする。また、サーバ 4の IP アドレスは、「155. 32. 10. 10」であるとする。
[0051] 第 1の情報処理装置 1におけるトンネル通信部 11は、あらかじめサーノ の IPアド レスを保持しているものとする。そして、トンネル通信部 11は、識別子記憶部 13で記 憶されている通信元装置識別子「12345678」を、そのサーノ の IPアドレス「155. 32. 10. 10」に対して送信する。すると、その通信元装置識別子がサーバ 4におい て受信される。また、サーバ 4は、送信された通信元装置識別子のヘッダから、第 1の 情報処理装置 1の IPアドレス「202. 132. 10. 6」を取得する。サーバ 4は、その第 1 の情報処理装置 1の IPアドレス「202. 132. 10. 6」と、通信元装置識別子「12345 678」とを対応付けて保持しておく。
[0052] 同様にして、第 2の情報処理装置 2におけるトンネル通信部 22もサーバ 4に対して 、識別子記憶部 23で記憶されて 1、る通信先装置識別子「98765432」を送信する。 その結果、サーバ 4は、第 2の情報処理装置 2の IPアドレス「131. 206. 10. 240」と 、通信先装置識別子「98765432」とを対応付けて保持しておく。
[0053] 通信先装置識別子の記録された着脱可能な記録媒体を、ユーザが第 1の情報処 理装置 1の図示しないスロットに装着したとする。すると、その記録媒体に記録された 通信先装置識別子「98765432」は、識別子受付部 12によって受け付けられ、アド レス決定部 14と、トンネル通信部 11とに渡される(ステップ S101)。
[0054] トンネル通信部 11は、識別子受付部 12から受け取った通信先装置識別子「9876 5432」と、その通信先装置識別子で識別される装置の IPアドレスを送信する旨の指 示とをサーバ 4に送信する。すると、サーバ 4はそれらを受信し、通信先装置識別子「 98765432」【こ対応する、保持して!/ヽる IPアドレス「131. 206. 10. 240」を第 1の' If 報処理装置 1に送信する。 [0055] 第 1の情報処理装置 1におけるトンネル通信部 11は、第 2の情報処理装置 2の IPァ ドレス「131. 206. 10. 240」をサーバ 4から受け付けると、その IPアドレスを保持し ておく。
[0056] アドレス決定部 14は、識別子受付部 12から通信先装置識別子を受け取ると、識別 子記憶部 13で記憶されている通信元装置識別子を読み出し、通信先装置識別子と 、通信元装置識別子とに基づいて、トンネル通信における通信対象のデータに対し て用いる IPアドレスを決定する。具体的には、アドレス決定部 14は、例えば、下記の 3つの方法の!/、ずれかによつてアドレスを決定する(ステップ S 102)。
[0057] [関数を用いるアドレス決定方法]
アドレス決定部 14は、アドレスを決定する関数「Func (引数 1、引数 2)」を有してい る。そして、引数 1に通信元装置識別子「12345678」を代入し、引数 2に通信先装 置識別子「98765432」を代入する。その結果、 2つの IPアドレス「192. 168. 0. 1」 、「192. 168. 0. 2」力算出される。そして、前者の IPアドレス「192. 168. 0. 1」を 第 1の情報処理装置 1の IPアドレスと決定し、後者の IPアドレス「192. 168. 0. 2」を 第 2の情報処理装置 2の IPアドレスと決定する。そして、それらをトンネル通信部 11と 、アドレス送信部 15に渡す。
[0058] [テーブルを用いるアドレス決定方法]
アドレス決定部 14は、図 6で示されるテーブルを有している。図 6のテーブルは、装 置識別子の異なる桁と、 IPアドレスとの対応を示すテーブルである。アドレス決定部 1 4は、通信先装置識別子「98765432」と、通信元装置識別子「12345678」との最 下位の桁の値(「2」と、「8」)に対応する IPアドレスを、第 1の情報処理装置 1、および 第 2の情報処理装置 2の IPアドレスとして決定する。この場合には、第 1の情報処理 装置 1の IPアドレスは「192. 168. 0. 8」となり、第 2の情報処理装置 2の IPアドレス は「192. 168. 0. 2」となる。なお、通信先装置識別子と、通信元装置識別子とで最 下位の桁の値が同一の場合 (例えば、両者共に「2」の場合など)には、次の桁(1つ 上の位の桁)で判断し、その桁の値も同一の場合には、次の桁で判断する。このよう に、通信先装置識別子と、通信元装置識別子とについて、最下位の桁から順番に比 較し、値の異なる桁で図 6のテーブルを用いた IPアドレスの決定を行う。なお、その決 定された第 1の情報処理装置 1の IPアドレス「192. 168. 0. 8」と、第 2の情報処理 装置 2の IPアドレス「192. 168. 0. 2」とは、トンネノレ通信咅 11と、アドレス送信咅 15 に渡される。
[0059] [装置識別子の大小比較によるアドレス決定方法]
アドレス決定部 14は、装置識別子の小さいほうに対応する IPアドレス「192. 168. 0. 1」と、装置識別子の大きいほうに対応する IPアドレス「192. 168. 0. 2」を有して いる。そして、通信先装置識別子「98765432」と、通信元装置識別子「12345678 」とを比較し、その大きいほうに対して IPアドレス「192. 168. 0. 2」を割り当て、小さ いほうに対して IPアドレス「192. 168. 0. 1」を割り当てる。その結果、第 1の情報処 理装置 1の IPアドレスは「192. 168. 0. 1」と決定され、第 2の情報処理装置 2の IPァ ドレスは「192. 168. 0. 2」と決定される。アドレス決定部 14は、それらの決定したァ ドレスをトンネル通信部 11と、アドレス送信部 15に渡す。
[0060] なお、ここでは、装置識別子の大小を比較する場合について説明した力 それ以外 の比較を所定のアルゴリズムによって行い、その比較結果に基づいて、あら力じめ決 められている複数 (通常は 2個)のアドレス力 選択することによってアドレスの決定を 行ってもよい。例えば、最下位の桁(両者の最下位の桁の値が等しい場合には、最 下位の桁に近!、値の異なる桁)の値の大小の比較を行!、、その比較結果に応じて、 アドレスを選択してもよい。また、例えば、装置識別子がアルファベットや平仮名等で ある場合には、いわゆる辞書における言葉の並び順で、どちらの装置識別子が「A」 や「あ」に近いか (すなわち、辞書において前のほうに載っている力)に関する比較の 結果に基づいて、アドレスの決定を行ってもよい。
[0061] また、上記具体例では、 3通りのアドレス決定方法について説明した力 アドレス決 定部 14は、 2つの装置識別子に基づいてアドレスを決定すればよぐこれ以外のアド レス決定方法によってアドレスを決定してもよい。例えば、テーブルを用いる代わりに 、通信元装置識別子の最下位の桁の値と、通信先装置識別子の最下位の桁の値と を所定の関数に代入することにより、 IPアドレスを算出してもよ 、。
[0062] アドレス送信部 15は、アドレス決定部 14によって決定された第 1の情報処理装置 1 の IPアドレス(192. 168. 0. 1であるとする)と、第 2の情報処理装置 2の IPアドレス( 192. 168. 0. 2であるとする)とを、トンネル通信部 11で保持されている第 2の情報 処理装置 2の IPアドレス「131. 206. 10. 240」に対して送信する(ステップ S 103)。 その結果、それらの IPアドレスが第 2の情報処理装置 2におけるアドレス受付部 21で 受け付けられ、トンネル通信部 22に渡される。ここで、送信される IPアドレスは、第 1 の情報処理装置 1の IPアドレスであるの力、第 2の情報処理装置 2の IPアドレスであ るのかが、第 2の情報処理装置 2においてわ力るような形態で送信されるものとする。 例えば、送信される IPアドレスの順番によって、対応する情報処理装置が規定されて いてもよぐ IPアドレスに対応付けて情報処理装置を識別する情報やフラグ等が送信 され、その情報処理装置を識別する情報等によって、対応する情報処理装置が規定 されてちょい。
[0063] また、トンネル通信部 11は、第 1の情報処理装置 1の IPアドレス「192. 168. 0. 1」 と、第 2の情報処理装置 2の IPアドレス「192. 168. 0. 2」とをアドレス決定部 14から 受け取ると、それらのアドレスを用いてトンネル通信を行う。すなわち、図 5で示される IPヘッダ 101において、通信元(すなわち、第 1の情報処理装置 1)の IPアドレスとし て「192. 168. 0. 1」を用い、通信先(すなわち、第 2の情報処理装置 2)の IPァドレ スとして「192. 168. 0. 2」を用いる。なお、その通信対象のデータをカプセル化した 後のパケット(図 5Bで示されるもの)の IPヘッダ 201においては、通信先の IPアドレス として「131. 206. 10. 240」を用!/、、通信元の IPアドレスとして「202. 132. 10. 6」 を用いる。また、第 2の情報処理装置 2でも、 IPヘッダ 101において、第 1の情報処理 装置 1の IPアドレスとして「192. 168. 0. 1」を用い、第 2の情報処理装置 2の IPアド レスとして「192. 168. 0. 2」を用!ヽる。また、 IPヘッダ 201にお!/ヽて、通信先(すな わち、第 2の情報処理装置 2)の IPアドレスとして「131. 206. 10. 240」を用い、通 信元(すなわち、第 1の情報処理装置 1)の IPアドレスとして「202. 132. 10. 6」を用 いる。このようにして、第 1の情報処理装置 1と第 2の情報処理装置 2との間での通信 が行われる。
[0064] なお、この具体例では、 UDPトンネル通信を行う場合にっ 、て説明した力 トンネ ル通信はこれに限定されるものではなぐ上述のように、 HTTPトンネル通信等であつ てもよい。また、データ構造も図 5に限定されるものではない。 [0065] 以上のように、本実施の形態による通信システムでは、通信先装置識別子と、通信 元装置識別子とに基づいて、トンネル通信における通信対象のデータに対して用い るアドレスを決定することで、発見的アルゴリズムよりも簡易なアルゴリズムである決定 的アルゴリズムによってアドレスを決定することができる。その結果、サーバ等への問 い合わせが必要でないため、アドレスの決定を短時間で行うことができる。また、トン ネル通信でカプセルィ匕される通信対象データに対して用いるアドレスは、通信回線 3 における通信で用いられるものではな 、ため、異なるトンネル通信 (通信元の情報処 理装置と通信先の情報処理装置との組の異なるトンネル通信)に関しては、同一のァ ドレスを用いることが可能であり、 DHCPや AutoIPを用いた場合のような割り当てァ ドレスの上限がな 、と 、うメリットがある。
[0066] なお、本実施の形態では、第 1の情報処理装置 1がアドレス送信部 15を備えた構 成について説明したが、第 1の情報処理装置 1は、アドレス送信部 15に代えて、アド レス決定部 14が決定したアドレスを出力するアドレス出力部を備えてもよい。ここで、 この出力は、例えば、表示デバイス (例えば、 CRTや液晶ディスプレイなど)への表 示でもよぐ通信回線を介した所定の機器に対する送信であってもよぐプリンタによ る印刷でもよぐ所定の記録媒体への記録でもよぐスピーカによる音声による出力で もよい。なお、アドレス出力部は、出力を行うデバイス (例えば、表示デバイスやプリン タなど)を含んでもよぐあるいは含まなくてもよい。また、アドレス出力部は、ハードウ エアによって実現されてもよぐあるいは、それらのデバイスを駆動するドライバ等のソ フトウェアによって実現されてもよい。その出力されたアドレスは、例えば、所定の記 録媒体に記録されることにより、あるいは、電子メールや FAX等によって第 2の情報 処理装置 2のユーザに通知することによって、第 2の情報処理装置 2にお 、て設定さ れてもよい。
[0067] (実施の形態 2)
本発明の実施の形態 2による通信システムについて、図面を参照しながら説明する 。本実施の形態による通信システムは、各情報処理装置において、トンネル通信に おける通信対象のデータに対して用いられるアドレスを決定するものである。
[0068] 本実施の形態による通信システムは、図 1と同様であるとする。ただし、第 1の情報 処理装置 1が第 1の情報処理装置 laに対応し、第 2の情報処理装置 2が第 2の情報 処理装置 2aに対応するものとする。図 7は、本実施の形態による第 1の情報処理装 置 1 aの構成を示すブロック図である。本実施の形態による第 1の情報処理装置 1 aは 、トンネル通信部 11と、識別子受付部 12と、識別子記憶部 13と、アドレス決定部 14 とを備える。なお、トンネル通信部 11、識別子受付部 12、識別子記憶部 13、アドレス 決定部 14は、実施の形態 1と同様のものであり、その説明を省略する。
[0069] 図 8は、本実施の形態による第 2の情報処理装置 2aの構成を示すブロック図である 。本実施の形態による第 2の情報処理装置 2aは、識別子記憶部 23と、トンネル通信 部 24と、識別子受付部 25と、アドレス決定部 26とを備える。なお、識別子記憶部 23 は、実施の形態 1と同様のものであり、その説明を省略する。また、トンネル通信部 24 、識別子受付部 25、アドレス決定部 26は、それぞれ実施の形態 1におけるトンネル 通信部 11、識別子受付部 12、アドレス決定部 14と同様のものであり、その説明を省 略する。
[0070] また、本実施の形態における第 1の情報処理装置 laにおけるアドレスを決定する動 作は、ステップ S 103におけるアドレスの送信処理を行わない以外、実施の形態 1に おける図 4で示されるものと同様であり、その説明を省略する。また、本実施の形態に おける第 2の情報処理装置 2aにおけるアドレスを決定する動作も、ステップ S101に ぉ 、て通信先装置識別子の代わりに、通信元装置識別子を受け付けたかどうかを判 断し、ステップ S 103におけるアドレスの送信処理を行わない以外、実施の形態 1に おける図 4で示されるものと同様であり、その説明を省略する。
[0071] 次に、本実施の形態による通信システムの動作について、具体例を用いて説明す る。この具体例において、トンネル通信におけるデータ構造は、図 5と同様であるとす る。また、この具体例における第 1の情報処理装置 la等の IPアドレスや装置識別子 等は、実施の形態 1と同様であるとする。
[0072] まず、第 1の情報処理装置 laと、第 2の情報処理装置 2aとが通信を開始するまで のアドレスを取得する処理等について説明する。第 1の情報処理装置 la、および第 2 の情報処理装置 2aが、それぞれの装置識別子をサーバ 4に送信し、その結果、サー ノ 4において、第 1の情報処理装置 laの IPアドレス「202. 132. 10. 6」と、通信元 装置識別子「12345678」とが対応付けて保持され、第 2の情報処理装置 2aの IPァ ドレス「131. 206. 10. 240」と、通信先装置識別子「98765432」とが対応付けられ て保持される動作は、実施の形態 1の具体例と同様であり、その説明を省略する。
[0073] 次に、通信装置識別子の記録された着脱可能な記録媒体が第 1の情報処理装置 1 aの図示しないスロットに装着され、第 1の情報処理装置 laにおいて、トンネル通信に おける通信対象のデータに対して用いられる IPアドレスが決定されるまでの動作も、 実施の形態 1の具体例と同様であり、その説明を省略する。
[0074] ここで、サーバ 4から第 1の情報処理装置 laに第 2の情報処理装置 2aの IPアドレス が送信されると共に、サーバ 4は、第 2の情報処理装置 2aに対しても、第 1の情報処 理装置 laの通信元装置識別子を送信するとする。すると、その通信元装置識別子「 12345678」は、第 2の情報処理装置 2aのトンネル通信部 24を介して識別子受付部 25で受け付けられる。そして、識別子受付部 25は、通信元装置識別子を受け付けた と判断し (ステップ S101)、アドレスの決定処理を行う(ステップ S102)。このアドレス の決定処理は、実施の形態 1における具体例と同様にして行われ、第 1の情報処理 装置 laのアドレス決定部 14で決定されたアドレスと、同様のアドレスが決定される。 例えば、第 1の情報処理装置 laのアドレスが「192. 168. 0. 1」と決定され、第 2の 情報処理装置 2aのアドレスが「192. 168. 0. 2」と決定される。
[0075] ただし、関数を用いてアドレスを決定する場合には、アドレス決定部 26は、関数「F unc (引数 1、引数 2)」において、引数 1に第 2の情報処理装置 2aの装置識別子であ る通信先装置識別子「98765432」を代入し、引数 2に第 1の情報処理装置 laの装 置識別子である通信元装置識別子「12345678」を代入する。また、この関数は、引 数 1と引数 2が入れ替えられると、算出結果の IPアドレスも逆の順番となるような関数 であるとする。すると、 2つの IPアドレス「192. 168. 0. 2」、 「192. 168. 0. 1」力算 出され、前者の IPアドレスを第 2の情報処理装置 2aのアドレスと決定し、後者の IPァ ドレスを第 1の情報処理装置 laのアドレスと決定することで、アドレス決定部 14と同様 のアドレス決定がなされることとなる。
[0076] このアドレス決定の後にトンネル通信が行われる動作については、アドレスの送信 が行われないこと以外、実施の形態 1の具体例と同様であり、その説明を省略する。 [0077] 以上のように、本実施の形態による通信システムでは、通信先装置識別子と、通信 元装置識別子に基づ 、て、トンネル通信における通信対象のデータに対して用 、る アドレスを、各情報処理装置において決定することもできる。各情報処理装置でその アドレスの決定を行うことで、アドレスの送信を行う必要がなくなる。
[0078] また、通信先装置識別子と、通信元装置識別子を用いてアドレスを決定するという 、決定的アルゴリズムによってアドレスの決定を行っているため、各情報処理装置で アドレスの決定を行ったとしても、そのアドレスに矛盾が生じないようにすることができ る。具体的には、第 1の情報処理装置 laで決定した第 1の情報処理装置 laおよび第 2の情報処理装置 2aのアドレスと、第 2の情報処理装置 2aで決定した第 1の情報処 理装置 laおよび第 2の情報処理装置 2aのアドレスとが整合しない事態を回避するこ とがでさる。
[0079] なお、本実施の形態では、各情報処理装置にお!、て通信元と通信先のアドレスを 決定する場合について説明したが、例えば、第 1の情報処理装置 laにおいて第 1の 情報処理装置のアドレスのみを決定し、第 2の情報処理装置 2aにお 、て第 2の情報 処理装置のアドレスのみを決定する場合には、それらを直接的、または間接的に相 手方の情報処理装置に渡すようにしてもよい。
[0080] (実施の形態 3)
本発明の実施の形態 3による通信システムについて、図面を参照しながら説明する 。本実施の形態による通信システムは、トンネル通信における通信対象のデータに対 して用いられるアドレスを、サーバにお!、て決定するものである。
[0081] 図 9は、本実施の形態による通信システムの構成を示す図である。図 9において、 本実施の形態による通信システムは、通信回線 3で互いに接続されている第 1の情 報処理装置 5と、第 2の情報処理装置 6と、サーバ 7とを備える。
[0082] 第 1の情報処理装置 5は、アドレス受付部 51と、トンネル通信部 52とを備える。
[0083] アドレス受付部 51は、第 1の情報処理装置 5と、第 2の情報処理装置 6との間で行 われるトンネル通信における通信対象のデータに対して用 ヽられるアドレスを受け付 ける。アドレス受付部 51は、例えば、入力デバイス(例えば、キーボードやマウス、タツ チパネルなど)力も入力されたアドレスを受け付けてもよぐ有線もしくは無線の通信 回線を介して送信されたアドレスを受け付けてもよぐ所定の記録媒体 (例えば、光デ イスクゃ磁気ディスク、半導体メモリなど)カゝら読み出されたアドレスを受け付けてもよ い。本実施の形態では、サーバ 7から通信回線 3を介して送信されたアドレスを受け 付けるちのとする。
[0084] トンネル通信部 52は、第 1の情報処理装置 5と、第 2の情報処理装置 6との間でトン ネル通信を行う。トンネル通信部 52は、第 1の情報処理装置 5を識別する第 1の装置 識別子と、第 2の情報処理装置 6を識別する第 2の装置識別子とを保持して 、るもの とする。第 2の装置識別子は、例えば、入力デバイスカゝら入力されたものであってもよ ぐ所定の通信回線を介して送信されたものであってもよぐ所定の記録媒体から読 み出したものであってもよい。なお、これ以外のトンネル通信部 52の構成は、第 1の 装置識別子が通信元装置識別子に対応し、第 2の装置識別子が通信先装置識別子 に対応する以外、実施の形態 1におけるトンネル通信部 11と同様であり、その説明を 省略する。
[0085] 第 2の情報処理装置 6は、アドレス受付部 61と、トンネル通信部 62とを備える。この アドレス受付部 61、トンネル通信部 62は、それぞれアドレス受付部 51、トンネル通信 部 52と同様のものであり、その説明を省略する。なお、トンネル通信部 62は、第 1の 装置識別子を保持して!/、なくてもよ!、。
[0086] サーバ 7は、実施の形態 1におけるサーバ 4と同様に、第 1の情報処理装置 5と第 2 の情報処理装置 6との間で行われるトンネル通信を確立させるための処理を行うと共 に、そのトンネル通信で用いられるアドレスを決定するものであり、通信制御部 71と、 識別子受付部 72と、アドレス決定部 73と、アドレス送信部 74とを備える。
[0087] 通信制御部 71は、第 1の情報処理装置 5と、第 2の情報処理装置 6との間でのトン ネル通信を確立させるための処理等を行う。より具体的には、第 1の情報処理装置 5 に対して、第 2の情報処理装置 6のアドレスを送信する等の処理を行う。
[0088] 識別子受付部 72は、第 1の装置識別子と、第 2の装置識別子とを受け付ける。識別 子受付部 72は、例えば、入力デバイス(例えば、キーボードやマウス、タツチパネル など)から入力された第 1の装置識別子等を受け付けてもよぐ有線もしくは無線の通 信回線を介して送信された第 1の装置識別子等を受け付けてもよぐ所定の記録媒 体 (例えば、光ディスクや磁気ディスク、半導体メモリなど)カゝら読み出された第 1の装 置識別子等を受け付けてもよい。本実施の形態では、通信制御部 71から渡された第 1の装置識別子等を受け付けるものとする。
[0089] アドレス決定部 73は、識別子受付部 72が受け付けた第 1の装置識別子と、第 2の 装置識別子とに基づいて、第 1の情報処理装置 5の第 1のアドレスと、第 2の情報処 理装置 6の第 2のアドレスとを決定する。それらのアドレスは、トンネル通信における通 信対象のデータに対して用いるものである。アドレスの決定方法については、実施の 形態 1におけるアドレス決定部 14と同様であり、その説明を省略する。
[0090] アドレス送信部 74は、アドレス決定部 73が決定した第 1のアドレス、および第 2のァ ドレスを、第 1の情報処理装置 5と、第 2の情報処理装置 6とに送信する。この送信は 、第 1の情報処理装置 5等に直接的になされてもよぐあるいは、所定のサーバ等を 介することにより、間接的になされてもよい。
[0091] 次に、本実施の形態による通信システムの動作、特にアドレスを決定する動作につ いて説明する。図 10は、サーバ 7におけるアドレスを決定する動作を示すフローチヤ ートである。
[0092] (ステップ S201)識別子受付部 72は、第 1の装置識別子、および第 2の装置識別 子を受け付けた力どうか判断する。そして、それらの識別子を受け付けた場合には、 それらの識別子をアドレス決定部 73に渡してステップ S202に進み、そうでない場合 には、それらを受け付けるまでステップ S 201の処理を繰り返す。
[0093] (ステップ S202)アドレス決定部 73は、識別子受付部 72から受け取った第 1の装置 識別子と、第 2の装置識別子に基づいて、トンネル通信における通信対象のデータ に対して用いるアドレスを決定する。そして、その決定したアドレスをアドレス送信部 7 4に渡す。
[0094] (ステップ S203)アドレス送信部 74は、アドレス決定部 73が決定した 2つのアドレス を、第 1の情報処理装置 5、および第 2の情報処理装置 6に送信する。そして、ステツ プ S101〖こ戻る。
[0095] なお、図 10のフローチャートにおいて、電源オフや処理終了の割り込みにより処理 は終了する。また、このフローチャートでは、識別子受付部 72が第 1の装置識別子等 を受け付けたタイミングでアドレスの決定等を行う場合にっ 、て説明した力 アドレス の決定等を行うタイミングは、これに限定されるものではなぐ例えば、第 1の情報処 理装置 5と第 2の情報処理装置 6とがトンネル通信を開始するタイミングで、それまで に識別子受付部 72で受け付けられている第 1の装置識別子等を用いてアドレスを決 定してちよい。
[0096] また、図 10のフローチャートでは、第 1の装置識別子と、第 2の装置識別子とをステ ップ S 201において同時に受け付ける場合について説明している力 それらの装置 識別子は、同時に受け付けてもよぐあるいは、別々のタイミングで受け付けてもよい 。ただし、両者の装置識別子が受け付けられた後に、アドレスの決定がなされるのは 、図 10のフローチャートと同様である。
[0097] 次に、本実施の形態による通信システムの動作について、具体例を用いて説明す る。この具体例において、トンネル通信におけるデータ構成は、図 5と同様であるとす る。また、第 1の情報処理装置 5の IPアドレスは「202. 132. 10. 6」であり、第 1の装 置識別子は「12345678」であるとする。また、第 2の情報処理装置 6の IPアドレスは 「131. 206. 10. 240」であり、第 2の装置識另 U子は「98765432」であるとする。また 、サーバ 7の IPアドレスは、「155. 32. 10. 10」であるとする。
[0098] 第 1の情報処理装置 5におけるトンネル通信部 52は、あらかじめサーバ 7の IPアド レスを保持しているものとする。そして、トンネル通信部 52は、保持している第 1の装 置識另 U子「12345678」を、そのサーノ 7の IPアドレス「155. 32. 10. 10」に対して 送信する。すると、その第 1の装置識別子がサーバ 7の通信制御部 71で受信される。 そして、その第 1の装置識別子のヘッダから、第 1の情報処理装置 5の IPアドレス「20 2. 132. 10. 6」が取得される。通信制御部 71は、その第 1の情報処理装置 5の IPァ ドレスと、第 1の装置識別子とを対応付けて保持しておく。
[0099] 同様にして、第 2の情報処理装置 6におけるトンネル通信部 62もサーバ 7に対して 、第 2の装置識別子「98765432」を送信する。その結果、通信制御部 71において、 図 11で示されるように、装置識別子と、 IPアドレスとの対応付けられた情報であるアド レス識別子対応情報が保持されることとなる。
[0100] 次に、第 1の情報処理装置 5のトンネル通信部 52は、第 2の情報処理装置 6を識別 する第 2の装置識別子と、第 2の情報処理装置 6とトンネル通信を行いたい旨とをサ ーバ 7に送信する。すると、それらは通信制御部 71において受信される。通信制御 部 71は、第 1の情報処理装置 5から送信されたパケットのヘッダ力も第 1の情報処理 装置 5の IPアドレスを取得し、図 11で示されるアドレス識別子対応情報を参照し、第 1の情報処理装置 5の第 1の装置識別子「12345678」を取得する。また、通信制御 部 71は、アドレス識別子対応情報を参照し、第 1の情報処理装置 5から送信された 第 2の装置識另 U子「98765432」に対応する IPアド、レス「131. 206. 10. 240」を取 得する。そして、通信制御部 71は、第 1の装置識別子「12345678」と、第 2の装置 識別子「98765432」とを識別子受付部 72に渡すと共に、第 2の情報処理装置 6の I Pアドレス「131. 206. 10. 240」を第 1の情報処理装置 5に送信する。
[0101] 識別子受付部 72は、通信制御部 71から第 1の装置識別子「12345678」と、第 2 の装置識別子「98765432」とを受け付けると (ステップ S201)、それらをアドレス決 定部 73に渡す。アドレス決定部 73は、それらの装置識別子を受け取り、その装置識 別子に基づいてアドレスを決定し、その決定したアドレスを、装置識別子に対応付け てアドレス送信部 74に渡す (ステップ S202)。このアドレス決定方法は実施の形態 1 における具体例と同様であり、その説明を省略する。
[0102] アドレス送信部 74は、アドレス決定部 73から装置識別子「12345678」と、それに 対応した IPアドレス「192. 168. 0. 1」との糸且と、装置識另 U子「98765432」と、それ に対応した IPアドレス「192. 168. 0. 2」との組を受け取ると、通信制御部 71で保持 されて 、るアドレス識別子対応情報を参照し、それぞれの IPアドレスに対応した情報 処理装置の IPアドレスを取得する。そして、アドレス送信部 74は、装置識別子と IPァ ドレスとの 2つの組を第 1の情報処理装置 5の IPアドレス「202. 132. 10. 6」、および 第 2の情報処理装置 6の IPアドレス「131. 206. 10. 240」に対して送信する。
[0103] アドレス受付部 51は、それらの組を受け付けると、それらをトンネル通信部 52に渡 す。トンネル通信部 52は、通信制御部 71から送信された第 2の情報処理装置 6の IP アドレスを受信する。また、アドレス受付部 51で受け付けられた IPアドレスと装置識別 子との組を受け取る。そして、第 1の情報処理装置 5の第 1の装置識別子「1234567 8」に対応した IPアドレス「192. 168. 0. 1」を、 IPヘッダ 101における通信元(すな わち、第 1の情報処理装置 5)の IPアドレスとして用い、第 2の情報処理装置 6の第 2 の装置識另 U子「98765432」に対応した IPアド、レス「192. 168. 0. 2」を、 IPヘッダ 1 01における通信先 (すなわち、第 2の情報処理装置 6)の IPアドレスとして用いる。そ して、そのデータをカプセル化し、図 5Bで示される UDPパケットを構成して、そのパ ケットを第 2の情報処理装置 6に対して送信することによってトンネル通信を開始する
[0104] 第 2の情報処理装置 6におけるアドレス受付部 61も、 IPアドレスと装置識別子との 組を受け付け、それらをトンネル通信部 62に渡す。トンネル通信部 62は、第 2の情報 処理装置 6の第 2の装置識別子に対応する IPアドレスを、トンネル通信における通信 対象のデータについて、第 2の情報処理装置 6側の IPアドレスとして用いる。このよう にして、第 1の情報処理装置 5と、第 2の情報処理装置 6との間でトンネル通信が行わ れる。
[0105] 以上のように、本実施の形態による通信システムでは、サーバ 7が、通信先装置識 別子と、通信元装置識別子とに基づいて、第 1の情報処理装置 5、および第 2の情報 処理装置 6の間で行われるトンネル通信の通信対象のデータに対して用いられるァ ドレスを決定することができ、簡易な決定的アルゴリズムを用いて容易にアドレスの決 定を行うことができる。
[0106] なお、本実施の形態では、アドレス送信部 74がアドレス決定部 73によって決定され たアドレスを送信する場合について説明した力 アドレス送信部 74に代えて、ァドレ ス決定部 73によって決定されたアドレスを出力するアドレス出力部を備えてもよい。こ こで、この出力は、例えば、表示デバイス (例えば、 CRTや液晶ディスプレイなど)へ の表示でもよぐ通信回線を介した所定の機器に対する送信であってもよぐプリンタ による印刷でもよぐ所定の記録媒体への記録でもよぐスピーカによる音声による出 力でもよい。なお、アドレス出力部は、出力を行うデバイス (例えば、表示デバイスや プリンタなど)を含んでもよぐあるいは含まなくてもよい。また、アドレス出力部は、ノヽ 一ドウエアによって実現されてもよぐあるいは、それらのデバイスを駆動するドライバ 等のソフトウェアによって実現されてもよい。その出力されたアドレスは、例えば、所定 の記録媒体に記録されることにより、あるいは、サーバ 7の管理者がそのアドレスを電 子メールや FAX等によって第 1の情報処理装置 5のユーザや第 2の情報処理装置 6 のユーザに通知することによって、第 1の情報処理装置 5や、第 2の情報処理装置 6 において設定されてもよい。
[0107] また、本実施の形態では、サーバ 7のアドレス送信部 74力 第 2の情報処理装置 6 にアドレス決定部 73が決定した 2つのアドレスを送信する場合について説明したが、 アドレス送信部 74は、第 2の情報処理装置 6に第 2の情報処理装置 6のアドレス「 19 2. 168. 0. 2」のみを送信してもよい。この場合には、第 2の情報処理装置 6は、第 1 の情報処理装置 5から送信されたカプセルィ匕された通信対象のデータのヘッダから 第 1の情報処理装置 5のアドレスを取得することができる。
[0108] また、本実施の形態では、サーバ 7から第 1の情報処理装置 5のアドレスと、第 2の 情報処理装置 6のアドレスとの両方を送信する場合について説明したが、サーバ 7は 、まず第 1の情報処理装置 5に対しては、第 1の情報処理装置 5のアドレス「192. 16 8. 0. 1」を送信し、第 2の情報処理装置 6に対しては、第 2の情報処理装置 6のアド レス「192. 168. 0. 2」を送信し、その後に、情報処理装置からトンネル通信の相手 方のアドレスに関する問い合わせがあった場合に、サーバ 7がその相手方のアドレス を送信するようにしてもよ 、。
[0109] (実施の形態 4)
本発明の実施の形態 4による通信システムについて、図面を参照しながら説明する 。本実施の形態による通信システムは、情報処理装置が発行側であるのか、着呼側 であるのかの判断結果によって、トンネル通信における通信対象のデータに対して 用いられるアドレスを決定するものである。
[0110] 本実施の形態による通信システムは、図 1と同様であるとする。ただし、第 1の情報 処理装置 1が第 1の情報処理装置 lbに対応し、第 2の情報処理装置 2が第 2の情報 処理装置 2bに対応するものとする。
[0111] 図 12は、本実施の形態による第 1の情報処理装置 lbの構成を示すブロック図であ る。本実施の形態による第 1の情報処理装置 lbは、トンネル通信部 11と、アドレス決 定部 14bと、アドレス送信部 15と、判断部 16とを備える。なお、トンネル通信部 11、ァ ドレス送信部 15は、実施の形態 1と同様のものであり、その説明を省略する。また、本 実施の形態による第 1の情報処理装置 lbでは、識別子記憶部を明記していないが、 第 1の情報処理装置 lbの装置識別子は、トンネル通信部 11のアクセス可能な記録 媒体にお 、て記憶されて 、るものとする。
[0112] アドレス決定部 14bは、判断部 16による判断結果に基づいて、トンネル通信におい てカプセルィ匕される通信対象のデータに対して用いるアドレスを決定する。このアド レスの決定においては、判断部 16による判断結果に基づいて、通信先の装置 (例え ば、第 2の情報処理装置 2b)で用いるアドレスと、通信元の装置 (例えば、第 1の情報 処理装置 lb)で用いるアドレスとが異なるように決定されればよ!、。決定の方法として は、例えば、所定の関数を用いて行う方法や、あら力じめ決められている複数のアド レス力も選択することによって行う方法などがある。アドレスを決定する方法の具体例 については後述する。また、アドレスの決定において、通信元の装置のアドレスを決 定してもよぐ通信先の装置のアドレスを決定してもよぐその両者のアドレスを決定し てもよい。本実施の形態では、通信元と通信先の装置の両者のアドレスを決定する 場合について説明する。
[0113] 判断部 16は、トンネル通信において、第 1の情報処理装置 lbが発呼側か着呼側 かを判断する。この判断では、結果として第 1の情報処理装置 lbが発呼側であるの 力 着呼側であるのかが判断されればよい。すなわち、通信相手の装置である第 2の 情報処理装置 2bが発呼側か着呼側かを判断することによって、第 1の情報処理装置 lbが発呼側か着呼側かを判断してもよい。また、第 1の情報処理装置 lb、および第 2 の情報処理装置 2bの両方に関しての判断を行ってもよい。ここで、発呼側、着呼側と いうのは、トンネル通信のトンネルのプロトコル(すなわち、通信対象のデータを包み 込むプロトコル)の通信における発呼側、着呼側であってもよぐトンネル通信におけ る通信対象のデータ (すなわち、カプセルィ匕の対象となるデータ)の通信における発 呼側、着呼側であってもよい。本実施の形態では、前者の場合について説明する。ま た、発呼側とは、通信を開始する側のことであり、着呼側とは、発呼側の情報処理装 置からの発呼に応じて通信を行う側のことである。
[0114] 図 13は、本実施の形態による第 2の情報処理装置 2bの構成を示すブロック図であ る。本実施の形態による第 2の情報処理装置 2bは、アドレス受付部 21と、トンネル通 信部 22とを備える。なお、アドレス受付部 21、トンネル通信部 22は、実施の形態 1と 同様のものであり、その説明を省略する。なお、本実施の形態による第 2の情報処理 装置 2bでは、識別子記憶部を明記していないが、第 2の情報処理装置 2bの装置識 別子は、トンネル通信部 22のアクセス可能な記録媒体にぉ 、て記憶されて 、るもの とする。
[0115] 次に、本実施の形態による通信システムの動作、特に第 1の情報処理装置 lbにお いてアドレスを決定する動作について説明する。図 14は、第 1の情報処理装置 lbに おけるアドレスを決定する動作を示すフローチャートである。
[0116] (ステップ S301)トンネル通信部 11は、トンネル通信を開始するかどうか判断する。
このトンネル通信の開始には、第 1の情報処理装置 lbが積極的にトンネル通信を開 始する場合と、他の装置 (ここでは、第 2の情報処理装置 2b)からのトンネル通信の要 求に応じて、トンネル通信を開始する場合とがある。いずれであっても、トンネル通信 部 11は、トンネル通信を開始すると判断する。そして、トンネル通信を開始する場合 には、ステップ S302に進み、そうでない場合には、トンネル通信を開始するまで、ス テツプ S301の処理を繰り返す。
[0117] (ステップ S302)判断部 16は、第 1の情報処理装置 lbが発呼側力着呼側かの判 断を行う。
[0118] (ステップ S303)アドレス決定部 14bは、判断部 16による判断結果に基づいて、す なわち、第 1の情報処理装置 lbが発呼側であるのか、着呼側であるのかに基づいて 、トンネル通信における通信対象のデータに対して用いるアドレスを決定する。
[0119] (ステップ S304)アドレス送信部 15は、アドレス決定部 14bが決定したアドレスを、 第 2の情報処理装置 2bに送信する。そして、ステップ S 301に戻る。
[0120] なお、図 14のフローチャートにおいて、電源オフや処理終了の割り込みにより処理 は終了する。また、このフローチャートでは、アドレスを決定する処理についてのみ説 明している力 この決定されたアドレスを用いてトンネル通信が行われることはいうま でもない。
[0121] 次に、本実施の形態による通信システムの動作について、具体例を用いて説明す る。まず、トンネル通信におけるデータの構成は、実施の形態 1の図 5と同様である。 また、情報処理装置やサーバの IPアドレス、装置識別子も実施の形態 1の具体例と 同様であるとする。また、第 1の情報処理装置 lb、第 2の情報処理装置 2bがそれぞ れ、 IPアドレスと、装置識別情報とをサーバ 4に登録する処理は、実施の形態 1と同 様であり、その説明を省略する。
[0122] 通信先装置識別子の記録された着脱可能な記録媒体が、第 1の情報処理装置 lb に装着され、その記録媒体に記憶されている通信先装置識別子「98765432」が図 示しな 、受付部によって受け付けられ、トンネル通信部 11に渡されたとする。
[0123] すると、トンネル通信部 11は、トンネル通信を開始すると判断し (ステップ S301)、 受け取った通信先装置識別子と、その通信先装置識別子で識別される装置の IPァ ドレスを送信する旨の指示とをサーバ 4に送信する。すると、サーバ 4はそれらを受信 し、通信先装置識別子「98765432」に対応する、保持している IPアドレス「131. 20 6. 10. 240」を第 1の情報処理装置 lbに送信する。第 1の情報処理装置 lbのトンネ ル通信部 11は、第 2の情報処理装置 2bの IPアドレス「131. 206. 10. 240」をサー バ 4から受け付けると、その IPアドレスを保持しておく。
[0124] 判断部 16は、トンネル通信部 11がトンネル通信のトンネルのプロトコルの通信にお ける発呼側であるため、第 1の情報処理装置 lbが発呼側であると判断する (ステップ S302)。そして、その判断結果をアドレス決定部 14bに渡す。
[0125] アドレス決定部 14bは、判断部 16から判断結果を受け取ると、その判断結果に基 づいて、トンネル通信における通信対象のデータに対して用いる IPアドレスを決定す る。具体的には、アドレス決定部 14bは、例えば、下記の 3つの方法のいずれかによ つてアドレスを決定する (ステップ S303)。
[0126] [発呼側'着呼側によるアドレス決定方法]
アドレス決定部 14bは、図 15Aで示されるテーブルを有している。図 15Aのテープ ルは、発呼側'着呼側を示す情報と、 IPアドレスとの対応を示すものである。判断部 1 6によって第 1の情報処理装置 lbが発呼側であると判断されたため、アドレス決定部 14bは、図 15Aのテーブルを用いて、第 1の情報処理装置 lbの IPアドレスを「192. 168. 0. 1」に決定する。また、第 2の情報処理装置 2bは着呼側であるため、アドレス 決定部 14bは、第 2の情報処理装置 2bの IPアドレスを「192. 168. 0. 2」に決定す る。なお、図 15Aでは、発呼側'着呼側を示す情報と、 IPアドレスとがテーブル形式 で対応付けられて ヽる場合にっ ヽて示して ヽるが、テーブル形式以外によって発呼 側 '着呼側を示す情報と、 IPアドレスとが対応付けられて 、てもよ 、。
[0127] [複数のアドレス力 の選択によるアドレス決定方法]
アドレス決定部 14bは、図 15Bで示されるテーブルを有している。図 15Bのテープ ルは、発呼側'着呼側を示す情報と、 IPアドレスとの対応を示すものである。図 15B のテーブルでは、発呼側'着呼側を示す情報に、それぞれ 4個の IPアドレスが対応し ている。したがって、アドレス決定部 14bは、その 4個の IPアドレスから 1個の IPァドレ スを選択するものとする。この選択は、例えば、ランダムになされてもよぐあるいは、 順番になされてもよい。この具体例では、判断部 16によって第 1の情報処理装置 lb が発呼側であると判断されたため、アドレス決定部 14bは、図 15Bのテーブルを用い て、第 1の情報処理装置 lbの IPアドレスを「192. 168. 0. 1」に決定する。また、第 2 の情報処理装置 2bは着呼側であるため、アドレス決定部 14bは、第 2の情報処理装 置 2bの IPアドレスを「192. 168. 0. 2」に決定する。
[0128] [関数を用いたアドレス決定方法]
アドレス決定部 14bは、アドレスを決定する関数「Func (引数 1)」を有している。そ して、発呼側のアドレスを演算する場合には、引数 1に「0」を代入する。その結果、 IP アドレス「192. 168. 0. 1」が算出される。この IPアドレス「192. 168. 0. 1」が発呼 側の第 1の情報処理装置 lbの IPアドレスとなる。一方、着呼側のアドレスを演算する 場合には、引数 1に「1」を代入する。その結果、 IPアドレス「192. 168. 0. 2」が算出 される。この IPアドレス「192. 168. 0. 2」が着呼側の第 2の情報処理装置 2bの IPァ ドレスとなる。
[0129] なお、 3通りのアドレス決定方法について説明した力 アドレス決定部 14bは、情報 処理装置が発呼側であるのか、着呼側であるのかに基づ!/、てアドレスを決定すれば よぐこれ以外のアドレス決定方法によってアドレスを決定してもよい。
[0130] アドレス送信部 15は、実施の形態 1の具体例と同様に、決定された第 1の情報処理 装置 lbの IPアドレス「192. 168. 0. 1」と、第 2の情報処理装置 2bの IPアドレス「19 2. 168. 0. 2」とを第 2の情報処理装置 2bに送信する (ステップ S304)。その結果、 それらの IPアドレスが第 2の情報処理装置 2bにおけるアドレス受付部 21で受け付け られ、トンネル通信部 22に渡される。また、トンネル通信部 11は、実施の形態 1の具 体例と同様に、決定されたアドレスを用いてトンネル通信を行い、トンネル通信部 22 は、アドレス受付部 21で受け付けられたアドレスを用いてトンネル通信を行う。
[0131] 以上のように、本実施の形態による通信システムでは、情報処理装置が発呼側であ るの力、着呼側であるのかに基づいて、トンネル通信における通信対象のデータに 対して用いるアドレスを決定することができ、発見的アルゴリズムよりも簡易なアルゴリ ズムである決定的アルゴリズムによってアドレスを決定することができる。その結果、 実施の形態 1と同様のメリットを得ることができる。
[0132] なお、本実施の形態では、第 1の情報処理装置 lbがアドレス送信部 15を備えた構 成について説明したが、第 1の情報処理装置 lbは、アドレス送信部 15に代えて、ァ ドレス決定部 14bが決定したアドレスを出力するアドレス出力部を備えてもよい。ここ で、この出力は、例えば、表示デバイス (例えば、 CRTや液晶ディスプレイなど)への 表示でもよぐ通信回線を介した所定の機器に対する送信であってもよぐプリンタに よる印刷でもよく、所定の記録媒体への記録でもよぐスピーカによる音声による出力 でもよい。なお、アドレス出力部は、出力を行うデバイス (例えば、表示デバイスやプリ ンタなど)を含んでもよぐあるいは含まなくてもよい。また、アドレス出力部は、ハード ウェアによって実現されてもよぐあるいは、それらのデバイスを駆動するドライバ等の ソフトウェアによって実現されてもよい。その出力されたアドレスは、例えば、所定の記 録媒体に記録されることにより、あるいは、電子メールや FAX等によって第 2の情報 処理装置 2bのユーザに通知することによって、第 2の情報処理装置 2bにおいて設 定されてもよい。
[0133] (実施の形態 5)
本発明の実施の形態 5による通信システムについて、図面を参照しながら説明する 。本実施の形態による通信システムは、各情報処理装置において、情報処理装置が 発呼側であるのか、着呼側であるのかの判断結果に基づいて、トンネル通信におけ る通信対象のデータに対して用いられるアドレスを決定するものである。
[0134] 図 16は、本実施の形態による通信システムの構成を示す図である。図 16において 、第 1の情報処理装置 1に代えて第 1の情報処理装置 lcを備え、第 2の情報処理装 置 2に代えて第 2の情報処理装置 2cを備えた以外、実施の形態 1における図 1の通 信システムと同様であり、その説明を省略する。
[0135] 図 16において、本実施の形態による第 1の情報処理装置 lcは、トンネル通信部 11 と、アドレス決定部 14bと、判断部 16とを備える。なお、トンネル通信部 11、アドレス 決定部 14b、判断部 16は、実施の形態 4と同様のものであり、その説明を省略する。
[0136] 図 16において、本実施の形態による第 2の情報処理装置 2cは、トンネル通信部 22 と、アドレス決定部 26cと、判断部 27とを備える。なお、トンネル通信部 22は、実施の 形態 4と同様のものである。また、アドレス決定部 26c、判断部 27は、それぞれ実施 の形態 4におけるアドレス決定部 14b、判断部 16と同様のものであり、その説明を省 略する。
[0137] また、第 1の情報処理装置 lcにおけるアドレスを決定する動作は、ステップ S304に おけるアドレスの送信処理を行わない以外、実施の形態 4における図 14で示されるも のと同様であり、その説明を省略する。また、本実施の形態における第 2の情報処理 装置 2cにおけるアドレスを決定する動作も、トンネル通信部 11、アドレス決定部 14b 、判断部 16が、それぞれトンネル通信部 22、アドレス決定部 26c、判断部 27に対応 し、ステップ S304におけるアドレスの送信処理を行わない以外、実施の形態 4にお ける図 14で示されるものと同様であり、その説明を省略する。
[0138] 次に、本実施の形態による通信システムの動作について、具体例を用いて説明す る。ここで、第 1の情報処理装置 lcが発呼側であり、第 2の情報処理装置 2cが着呼 側であるとする。なお、第 1の情報処理装置 lcにおいて IPアドレスが決定される動作 は、実施の形態 4の具体例と同様であり、その説明を省略する。
[0139] サーバ 4は、第 1の情報処理装置 lcからの要求に応じて、第 2の情報処理装置 2c の IPアドレスを第 1の情報処理装置 lcに送信すると共に、第 1の情報処理装置 lcが 第 2の情報処理装置 2cとのトンネル通信を要求して 、る旨を示す情報を第 2の情報 処理装置 2cに送信する。
[0140] 第 2の情報処理装置 2cのトンネル通信部 22が、そのサーバ 4から送信された情報 を受信すると、トンネル通信を開始すると判断し (ステップ S301)、判断部 27は、第 2 の情報処理装置 2cが着呼側であると判断する (ステップ S302)。その結果、アドレス 決定部 26cは、実施の形態 4における具体例と同様にしてアドレスを決定する (ステツ プ S303)。ここで、アドレス決定部 26cにより、第 2の情報処理装置 2cの IPアドレス「1 92. 168. 0. 2」が決定され、第 1の情報処理装置 lcの IPアドレス「192. 168. 0. 1 」が決定されたとする。
[0141] このアドレス決定の後にトンネル通信が行われる動作については、アドレスの送信 が行われないこと以外、実施の形態 4の具体例と同様であり、その説明を省略する。
[0142] 以上のように、本実施の形態による通信システムでは、情報処理装置が発呼側であ るの力、着呼側であるのかに基づいて、トンネル通信における通信対象のデータに 対して用いるアドレスを、各情報処理装置において決定することもできる。各情報処 理装置でそのアドレスの決定を行うことで、アドレスの送信を行う必要がなくなり、実施 の形態 2と同様の効果を得ることができる。
[0143] なお、本実施の形態では、各情報処理装置にお!、て通信元と通信先のアドレスを 決定する場合について説明したが、例えば、第 1の情報処理装置 lcにおいて第 1の 情報処理装置 lcのアドレスのみを決定し、第 2の情報処理装置 2cにおいて第 2の情 報処理装置 2cのアドレスのみを決定する場合には、それらを直接的、または間接的 に相手方の情報処理装置に渡すようにしてもょ 、。
[0144] (実施の形態 6)
本発明の実施の形態 6による通信システムについて、図面を参照しながら説明する 。本実施の形態による通信システムは、情報処理装置が発呼側であるのか、着呼側 であるのかの判断結果に基づいて、トンネル通信における通信対象のデータに対し て用いられるアドレスを、サーバにお 、て決定するものである。
[0145] 図 17は、本実施の形態による通信システムの構成を示す図である。本実施の形態 による通信システムは、通信回線 3で互いに接続されている第 1の情報処理装置 5と 、第 2の情報処理装置 6と、サーバ 7dとを備える。なお、第 1の情報処理装置 5、第 2 の情報処理装置 6は、実施の形態 3と同様のものであり、その説明を省略する。
[0146] サーバ 7dは、実施の形態 1におけるサーバ 4と同様に、第 1の情報処理装置 5と第 2の情報処理装置 6との間で行われるトンネル通信を確立させるための処理を行うと 共に、そのトンネル通信で用いられるアドレスを決定するものであり、通信制御部 71と 、アドレス決定部 73dと、アドレス送信部 74と、判断部 75とを備える。なお、通信制御 部 71、アドレス送信部 74は、実施の形態 3と同様のものであり、その説明を省略する
[0147] アドレス決定部 73dは、判断部 75による判断結果に基づいて、第 1の情報処理装 置 5と、第 2の情報処理装置 6との間で行われるトンネル通信にぉ 、てカプセルィ匕さ れる通信対象のデータに対して用いる第 1の情報処理装置 5の第 1のアドレス、およ び第 2の情報処理装置 6の第 2のアドレスを決定する。アドレスの決定方法につ!、て は、実施の形態 4のアドレス決定部 14bによる方法と同様であり、その説明を省略す る。
[0148] 判断部 75は、トンネル通信を行う第 1の情報処理装置 5と、第 2の情報処理装置 6と のいずれが発呼側であり、着呼側であるのかについて判断する。この判断では、結 果として第 1の情報処理装置 5と、第 2の情報処理装置 6とが発呼側であるのか、着呼 側であるのかが判断されればよい。すなわち、第 2の情報処理装置 6が発呼側力着 呼側かを判断することによって、第 1の情報処理装置 5が発呼側か着呼側かを判断し てもよい。また、第 1の情報処理装置 5、および第 2の情報処理装置 6の両方に関して の判断を行ってもよい。
[0149] 次に、本実施の形態による通信システムの動作、特にアドレスを決定する動作につ いて説明する。図 18は、サーバ 7dにおけるアドレスを決定する動作を示すフローチ ヤートである。
[0150] (ステップ S401)通信制御部 71は、第 1の情報処理装置 5と、第 2の情報処理装置 6との間でトンネル通信が開始されるかどうか判断する。そして、トンネル通信が開始 される場合には、ステップ S402〖こ進み、そうでない場合には、トンネル通信が開始さ れるまで、ステップ S401の処理を繰り返す。
[0151] (ステップ S402)判断部 75は、第 1の情報処理装置 5、第 2の情報処理装置 6がそ れぞれ、発呼側であるの力 着呼側であるのかを判断する。
[0152] (ステップ S403)アドレス決定部 73dは、判断部 75による判断結果に基づいて、ト ンネル通信における通信対象のデータに対して用いる第 1の情報処理装置 5のアド レスと、第 2の情報処理装置 6のアドレスとを決定する。
[0153] (ステップ S404)アドレス送信部 74は、アドレス決定部 73dが決定した 2つのアドレ スを、第 1の情報処理装置 5、第 2の情報処理装置 6に送信する。そして、ステップ S4 01に戻る。
[0154] なお、図 18のフローチャートにおいて、電源オフや処理終了の割り込みにより処理 は終了する。
[0155] 次に、本実施の形態による通信システムの動作について、具体例を用いて説明す る。まず、トンネル通信におけるデータの構成は、図 5と同様である。また、情報処理 装置やサーバの IPアドレス、装置識別子も実施の形態 3の具体例と同様であるとする 。また、第 1の情報処理装置 5、第 2の情報処理装置 6がそれぞれ、 IPアドレスと、装 置識別情報とをサーバ 7dに登録する処理は、実施の形態 3と同様であり、その説明 を省略する。
[0156] 次に、第 1の情報処理装置 5のトンネル通信部 52は、第 2の情報処理装置 6を識別 する第 2の装置識別子と、第 2の情報処理装置 6とトンネル通信を行いたい旨とをサ ーバ 7dに送信する。すると、それらは通信制御部 71において受信される。通信制御 部 71は、トンネル通信を開始すると判断し (ステップ S401)、第 1の情報処理装置 5 力 送信されたパケットのヘッダ力 第 1の情報処理装置 5の IPアドレスを取得し、図 11で示されるアドレス識別子対応情報を参照して、第 1の情報処理装置 5の装置識 別子「12345678」を取得する。また、通信制御部 71は、図 11で示されるアドレス識 別子対応情報を参照し、第 1の情報処理装置 5から送信された装置識別子「98765 432」に対応する IPアドレス「131. 206. 10. 240」を取得する。そして、通信制御部 71は、第 2の情報処理装置 6の IPアドレス「131. 206. 10. 240」を第 1の情報処理 装置 5に送信する。
[0157] 判断部 75は、通信制御部 71が、第 1の情報処理装置 5から送信された第 2の情報 処理装置 6とトンネル通信を行 、た 、旨の情報を受信したため、第 1の情報処理装置 5が発呼側であり、第 2の情報処理装置 6が着呼側であると判断する (ステップ S402) 。そして、判断部 75は、装置識別子「12345678」で識別される情報処理装置が発 呼側であり、装置識別子「98765432」で識別される情報処理装置が着呼側である 旨をアドレス決定部 73dに渡す。すると、アドレス決定部 73dは、その判断結果に基 づ 、てアドレスを決定し、その決定したアドレスを装置識別子と共にアドレス送信部 7 4に渡す (ステップ S403)。なお、このアドレス決定方法は実施の形態 4における具体 例と同様であり、その説明を省略する。
[0158] アドレス送信部 74は、アドレス決定部 73dから装置識別子「12345678」と、それに 対応した IPアドレス「192. 168. 0. 1」との糸且と、装置識另 U子「98765432」と、それ に対応した IPアドレス「192. 168. 0. 2」との組を受け取ると、通信制御部 71で保持 されて ヽるアドレス識別子対応情報を参照し、それぞれの装置識別子に対応した情 報処理装置の IPアドレスを取得する。そして、その取得した IPアドレスを用いて、装 置識別子と IPアドレスとの 2つの組を第 1の情報処理装置 5の IPアドレス「202. 132 . 10. 6」、および第 2の情報処理装置 6の IPアドレス「131. 206. 10. 240」に対し て送信する (ステップ S404)。この後の処理は、実施の形態 3の具体例と同様であり、 その説明を省略する。
[0159] 以上のように、本実施の形態による通信システムでは、サーバ 7dが、情報処理装置 が発呼側であるの力、着呼側であるのかに基づいて、第 1の情報処理装置 5、および 第 2の情報処理装置 6の間で行われるトンネル通信の通信対象のデータに対して用 V、られるアドレスを決定することができ、簡易な決定的アルゴリズムを用いて容易にァ ドレスの決定を行うことができる。
[0160] なお、本実施の形態では、アドレス送信部 74がアドレス決定部 73dによって決定さ れたアドレスを送信する場合について説明した力 アドレス送信部 74に代えて、アド レス決定部 73dによって決定されたアドレスを出力するアドレス出力部を備えてもよい 。ここで、この出力は、例えば、表示デバイス (例えば、 CRTや液晶ディスプレイなど) への表示でもよぐ通信回線を介した所定の機器に対する送信であってもよぐプリン タによる印刷でもよぐ所定の記録媒体への記録でもよぐスピーカによる音声による 出力でもよい。なお、アドレス出力部は、出力を行うデバイス (例えば、表示デバイス やプリンタなど)を含んでもよぐあるいは含まなくてもよい。また、アドレス出力部は、 ハードウェアによって実現されてもよぐあるいは、それらのデバイスを駆動するドライ バ等のソフトウェアによって実現されてもよい。その出力されたアドレスは、例えば、所 定の記録媒体に記録されることにより、あるいは、サーバ 7dの管理者がそのアドレス を電子メールや FAX等によって第 1の情報処理装置 5のユーザや第 2の情報処理装 置 6のユーザに通知することによって、第 1の情報処理装置 5や、第 2の情報処理装 置 6にお 、て設定されてもよ!、。
[0161] また、本実施の形態では、サーバ 7dのアドレス送信部 74が、第 2の情報処理装置 6 にアドレス決定部 73dが決定した 2つのアドレスを送信する場合について説明したが 、アドレス送信部 74は、第 2の情報処理装置 6に第 2の情報処理装置 6のアドレス「1 92. 168. 0. 2」のみを送信してもよい。この場合には、第 2の情報処理装置 2dは、 第 1の情報処理装置 5から送信されたカプセル化された通信対象のデータのヘッダ 力 第 1の情報処理装置 5のアドレスを取得することができる。
[0162] また、本実施の形態では、サーバ 7dから第 1の情報処理装置 5のアドレスと、第 2の 情報処理装置 6のアドレスとの両方を送信する場合について説明したが、サーバ 7d は、まず第 1の情報処理装置 5に対しては、第 1の情報処理装置 5のアドレス「192. 1 68. 0. 1」を送信し、第 2の情報処理装置 6に対しては、第 2の情報処理装置 6のアド レス「192. 168. 0. 2」を送信し、その後に、情報処理装置からトンネル通信の相手 方のアドレスに関する問い合わせがあった場合に、サーバ 7dがその相手方のァドレ スを送信するようにしてもょ 、。
[0163] (実施の形態 7)
本発明の実施の形態 7による通信システムについて、図面を参照しながら説明する 。本実施の形態による通信システムは、情報処理装置の装置識別子と、トンネル通信 を識別するトンネル通信識別子とに基づ ヽて、トンネル通信における通信対象のデ ータに対して用いられるアドレスを決定するものである。
[0164] 本実施の形態による通信システムは、図 1と同様であるとする。ただし、第 1の情報 処理装置 1が第 1の情報処理装置 leに対応し、サーノ がサーバ 4eに対応するもの とする。また、第 2の情報処理装置 2は、実施の形態 4の第 2の情報処理装置 2bに対 応するものとする。
[0165] 図 19は、本実施の形態による第 1の情報処理装置 leの構成を示すブロック図であ る。本実施の形態による第 1の情報処理装置 leは、トンネル通信部 11と、識別子受 付部 12と、識別子記憶部 13と、アドレス決定部 14eと、アドレス送信部 15と、トンネル 通信識別子受付部 17とを備える。なお、トンネル通信部 11、識別子受付部 12、識別 子記憶部 13、アドレス送信部 15は、実施の形態 1と同様のものであり、その説明を省 略する。
[0166] アドレス決定部 14eは、識別子受付部 12が受け付けた通信先装置識別子と、識別 子記憶部 13が記憶して ヽる通信元装置識別子と、トンネル通信識別子受付部 17が 受け付けたトンネル通信識別子とに基づ 、て、トンネル通信にぉ 、てカプセルィ匕され る通信対象のデータに対して用いるアドレスを決定する。ここで、トンネル通信識別子 とは、情報処理装置間で行われるトンネル通信を識別する識別子である。このアドレ スの決定においては、通信先装置識別子と、通信元装置識別子と、トンネル通信識 別子とに基づいて、通信先の装置 (すなわち、第 2の情報処理装置 2b)で用いるアド レスと、通信元の装置 (すなわち、第 1の情報処理装置 le)で用いるアドレスとが異な るように決定されればよい。決定の方法としては、例えば、所定の関数を用いて行う 方法や、あら力じめ決められている複数のアドレス力 選択することによって行う方法 などがある。また、アドレス決定部 14eは、通信先装置識別子と、通信元装置識別子 とに基づいて、通信対象のデータに対して用いるアドレスの一部を決定し、トンネル 通信識別子に基づいて、通信対象のデータに対して用いるアドレスの他の部分を決 定してもよい。アドレスを決定する方法の具体例については後述する。また、アドレス の決定において、通信元の装置のアドレスを決定してもよぐ通信先の装置のァドレ スを決定してもよぐその両者のアドレスを決定してもよい。本実施の形態では、通信 元と通信先の装置の両者のアドレスを決定する場合について説明する。
[0167] トンネル通信識別子受付部 17は、トンネル通信識別子を受け付ける。トンネル通信 識別子受付部 17は、例えば、有線もしくは無線の通信回線を介して送信された (例 えば、サーバ 4eから送信された)トンネル通信識別子を受信してもよぐ所定の入力 デバイス (例えば、キーボードやマウス、タツチパネルなど)を介して第 1の情報処理 装置 leに入力されたトンネル通信識別子を受け付けてもよぐ所定の記録媒体 (例え ば、光ディスクや磁気ディスク、半導体メモリなど)カゝら読み出されたトンネル通信識 別子を受け付けてもよぐあるいは、第 1の情報処理装置 leで生成されたトンネル通 信識別子を受け付けてもよい。本実施の形態では、サーバ 4eから送信されたトンネ ル通信識別子を受け付ける場合について説明する。なお、トンネル通信識別子受付 部 17は、受け付けを行うためのデバイス(例えば、モデムやネットワークカードなど)を 含んでもよぐあるいは含まなくてもよい。また、トンネル通信識別子受付部 17は、ハ 一ドウエアによって実現されてもよぐあるいは所定のデバイスを駆動するドライバ等 のソフトウェアによって実現されてもよ 、。
[0168] 図 20は、本実施の形態によるサーバ 4eの構成を示すブロック図である。サーバ 4e は、トンネル通信識別子生成部 41と、トンネル通信識別子送信部 42と、通信制御部 71とを備える。なお、通信制御部 71は、実施の形態 3と同様のものであり、その説明 を省略する。
[0169] トンネル通信識別子生成部 41は、トンネル通信識別子を生成する。このトンネル通 信識別子によって複数の情報処理装置間で行われているトンネル通信を識別するこ とができればよい。したがって、トンネル通信識別子は、例えば、 GUIDであってもよ ぐあるいは、トンネル通信の終了後には、再度、同一のトンネル通信識別子を他のト ンネル通信において用いてもよい。トンネル通信識別子生成部 41は、トンネル通信 識別子を所定の関数等を用いた演算等によって生成してもよぐ複数のトンネル通信 識別子を有するテーブル力 選択することによってトンネル通信識別子を生成しても よぐトンネル通信を識別可能なトンネル通信識別子を決定できるのであれば、その 生成の方法は問わない。
[0170] トンネル通信識別子送信部 42は、トンネル通信識別子生成部 41が生成したトンネ ル通信識別子を、そのトンネル通信識別子によって識別されるトンネル通信を行う情 報処理装置に送信する。なお、トンネル通信識別子送信部 42は、例えば、トンネル 通信識別子を、アドレス決定を行う装置にのみ送信してもよぐあるいは、トンネル通 信を行うすべての装置に送信してもよい。本実施の形態では、トンネル通信識別子を 、アドレス決定を行う装置にのみ送信する場合について説明する。また、トンネル通 信識別子送信部 42は、送信を行うための送信デバイス (例えば、モデムやネットヮー クカードなど)を含んでもよぐあるいは含まなくてもよい (この場合には、トンネル通信 識別子送信部 42と通信回線 3との間に図示しない送信デバイスが存在することとな る)。また、トンネル通信識別子送信部 42は、ハードウ アによって実現されてもよぐ あるいは送信デバイスを駆動するドライバ等のソフトウェアによって実現されてもょ 、。
[0171] 次に、本実施の形態による通信システムの動作、特に第 1の情報処理装置 leにお いてアドレスを決定する動作について説明する。図 21は、第 1の情報処理装置 leに おけるアドレスを決定する動作を示すフローチャートである。
[0172] (ステップ S501)識別子受付部 12は、通信先装置識別子を受け付けた力どうか判 断する。そして、通信先装置識別子を受け付けた場合には、ステップ S502に進み、 そうでない場合には、ステップ S503に進む。
[0173] (ステップ S502)アドレス決定部 14eは、識別子受付部 12が受け付けた通信先装 置識別子を図示しない記録媒体で一時的に記憶する。そして、ステップ S501に戻る
[0174] (ステップ S503)トンネル通信識別子受付部 17は、トンネル通信識別子を受け付け たカゝどうか判断する。そして、トンネル通信識別子を受け付けた場合には、ステップ S
504【こ進み、そうでな ヽ場合【こ ίま、ステップ S505【こ進む。
[0175] (ステップ S504)アドレス決定部 14eは、トンネル通信識別子受付部 17が受け付け たトンネル通信識別子を図示しない記録媒体で一時的に記憶する。そして、ステップ
S501に戻る。
[0176] (ステップ S505)アドレス決定部 14eは、通信先装置識別子と、トンネル通信識別 子とが受け付けられたかどうか判断する。この判断は、例えば、アドレス決定部 14eが 有する図示しない記録媒体に、通信先装置識別子と、トンネル通信識別子とが格納 されているかどうかによって判断する。そして、通信先装置識別子と、トンネル通信識 別子とが受け付けられていた場合には、ステップ S506に進み、そうでない場合には 、ステップ S501に戻る。
[0177] (ステップ S506)アドレス決定部 14eは、図示しない記録媒体で一時的に記憶して いる通信先装置識別子と、トンネル通信識別子と、識別子記憶部 13で記憶されてい る通信元装置識別子とを用いて、アドレスを決定する。このアドレス決定の方法につ いては後述する。
[0178] (ステップ S507)アドレス送信部 15は、アドレス決定部 14eが決定したアドレスを第 2の情報処理装置 2bに送信する。そして、ステップ S 501に戻る。
[0179] なお、図 21のフローチャートにおいて、電源オフや処理終了の割り込みにより処理 は終了する。また、このフローチャートでは、通信先装置識別子と、トンネル通信識別 子とが受け付けられたと判断されたタイミングでアドレスの決定等を行う場合について 説明したが、アドレスの決定等を行うタイミングは、これに限定されるものではなぐ例 えば、トンネル通信識別子受付部 17がトンネル通信識別子を受け付けたタイミングで アドレスの決定等を行ってもよい。また、トンネル通信識別子が受け付けられた時点 にお 、て通信先装置識別子が受け付けられて 、な 、場合には、通信先装置識別子 の送信や入力等を要求するようにしてもよい。また、このフローチャートでは、受け付 けられた通信先装置識別子や、トンネル通信識別子をアドレス決定部 14eの有する 図示しな!、記録媒体にお!、て一時的に記憶する場合につ!、て説明したが、受け付 けられた通信先識別子等は、他の記録媒体において一時的に記憶されてもよい。ま た、このフローチャートでは、アドレスを決定する処理についてのみ説明しているが、 この決定されたアドレスを用いてトンネル通信が行われることは 、うまでもな 、。
[0180] 次に、本実施の形態による通信システムの動作について、具体例を用いて説明す る。まず、トンネル通信におけるデータの構成は、実施の形態 1の図 5と同様である。 また、情報処理装置やサーバの IPアドレス、装置識別子も実施の形態 1の具体例と 同様であるとする。また、第 1の情報処理装置 le、第 2の情報処理装置 2bがそれぞ れ、 IPアドレスと、装置識別情報とをサーバ 4eに登録する処理は、実施の形態 1と同 様であり、その説明を省略する。
[0181] 通信先装置識別子の記録された着脱可能な記録媒体が、第 1の情報処理装置 le に装着されると、その記録媒体に記憶されて 、る通信先装置識別子「98765432」 が識別子受付部 12によって受け付けられ、トンネル通信部 11と、アドレス決定部 14e とに渡されたとする (ステップ S501)。アドレス決定部 14eは、その通信先装置識別子 を図示しな 、メモリで一時的に記憶する (ステップ S502)。
[0182] トンネル通信部 11は、識別子受付部 12から通信先装置識別子「98765432」を受 け取ると、トンネル通信を開始すると判断し、受け取った通信先装置識別子と、その 通信先装置識別子で識別される装置の IPアドレスを送信する旨の指示とをサーバ 4e に送信する。すると、サーバ 4eはそれらを受信し、通信先装置識別子「98765432」 に対応する、保持している IPアドレス「131. 206. 10. 240」を第 1の情報処理装置 leに送信する。第 1の情報処理装置 leのトンネル通信部 11は、第 2の情報処理装 置 2bの IPアドレス「131. 206. 10. 240」をサーバ 4eから受け付けると、その IPアド レスを保持しておく。
[0183] また、サーバ 4eは、第 1の情報処理装置 leと、第 2の情報処理装置 2bとの間でトン ネル通信を開始すると判断する。そして、トンネル通信識別子生成部 41は、第 1の情 報処理装置 leと、第 2の情報処理装置 2bとの間で行うトンネル通信を識別するトンネ ル通信識別子「111222333」を生成する。トンネル通信識別子送信部 42は、そのト ンネル通信識別子を、発呼側であり、アドレスの決定を行う第 1の情報処理装置 leに 送信する。第 1の情報処理装置 leのアドレスは、第 1の情報処理装置 leから送信さ れた通信先装置識別子を含むパケットのヘッダ力も取得されたものである。送信され たトンネル通信識別子「111222333」は、第 1の情報処理装置 leのトンネル通信識 別子受付部 17で受け付けられる (ステップ S503)。そのトンネル通信識別子は、アド レス決定部 14eに渡される。アドレス決定部 14eは、トンネル通信識別子受付部 17か ら受け付けたトンネル通信識別子を図示しな 、メモリで一時的に記憶する。(ステップ S504)。
[0184] その後、アドレス決定部 14eは、通信先装置識別子と、トンネル通信識別子が受け 付けられたと判断し、(ステップ S505)、アドレス決定部 14eの有する図示しないメモリ において一時的に記憶している通信先装置識別子「98765432」と、トンネル通信識 別子「 111222333」と、識別子記憶部 13から読み出した通信元装置識別子「 1234 5678」とに基づいて、トンネル通信における通信対象のデータに対して用いる IPアド レスを決定する。具体的には、アドレス決定部 14eは、例えば、下記の 3つの方法の V、ずれかによつてアドレスを決定する(ステップ S 506)。
[0185] [テーブルを用いるアドレス決定方法]
アドレス決定部 14eが決定するアドレスは、図 22Aで示される構造を有する。すな わち、先頭の 8ビットは「169」であり、次の 8ビットは「254」である。また、次の 16ビット のうち、先頭の 12ビットはネットワークアドレスであり、トンネル通信識別子を「4096」 で割った余りを用いる。また、最後の 4ビットはホストアドレスであり、図 22Bのテープ ルを用いて決定する。図 22Bのテーブルは、装置識別子の異なる桁と、ホストァドレ スとの対応を示すテーブルである。アドレス決定部 14eは、通信先装置識別子「987 65432」と、通信元装置識別子「12345678」との最下位の桁の値(「2」と、「8」)に 対応するホストアドレスを、図 22Bのテーブルを用いて決定する。すなわち、第 1の情 報処理装置 leのホストアドレスは「8」となり、第 2の情報処理装置 2bのホストアドレス は「2」となる。また、トンネノレ通信識另 U子「111222333」を「4096」で害 ijつた余り「36 45」が第 1の情報処理装置 le、および第 2の情報処理装置 2bに共通のネットワーク アドレスとなる。したがって、アドレス決定部 14eは、第 1の情報処理装置 leの IPアド レスを「169. 254. 227. 216」と決定する(「3645」のノイナリ表示「1110001111 01」と、「8」のバイナリ表示「1000」とを 8ビットずつに分けた「11100011」と、「1101 1000」との 10進数表示がそれぞれ「227」と、「216」とになる)。同様にして、アドレス 決定部 14eは、第 2の情報処理装置 2bの IPアドレスを「169. 254. 227. 210」と決 定する。そして、アドレス決定部 14eは、それらのアドレスをトンネル通信部 11と、アド レス送信部 15に渡す。なお、このようにしてアドレスが決定された場合には、各情報 処理装置にぉ ヽて、「255. 255. 255. 248」をサブネットマスクとして用!ヽる。このテ 一ブルを用いてアドレスを決定する方法のように、アドレス決定部 14eは、通信先装 置識別子と、通信元装置識別子とに基づいてアドレスの一部を決定し、トンネル通信 識別子に基づ 、てアドレスの他の部分を決定してもよ 、。
[関数を用いるアドレス決定方法]
アドレス決定部 14eは、アドレスを決定する関数「Func (引数 1、引数 2、引数 3)」を 有している。そして、引数 1に通信元装置識別子「12345678」を代入し、引数 2に通 信先装置識別子「98765432」を代入し、引数 3にトンネル通信識別子「11122233 3」を代入する。その結果、 2つのアドレス「192. 168. 0. 1」、「192. 168. 0. 2」力 S 算出される。そして、前者の IPアドレスを第 1の情報処理装置 leの IPアドレスと決定 し、後者の IPアドレスを第 2の情報処理装置 2bのアドレスと決定する。そして、ァドレ ス決定部 14eは、それらのアドレスをトンネル通信部 11と、アドレス送信部 15に渡す [0187] [装置識別子の大小比較によるアドレス決定方法]
この方法においても、アドレス決定部 14eが決定するアドレスは、図 22Aで示される 構造を有するものとする。また、ネットワークアドレスをトンネル通信識別子に基づい て決定する方法は、前述の「テーブルを用いるアドレス決定方法」と同様であるとする 。アドレス決定部 14eは、装置識別子の大きいほうの情報処理装置のホストアドレス に「2」を割り当て、装置識別子の小さ!/、ほうの情報処理装置のホストアドレスに「1」を 割り当てるものとする。したがって、第 1の情報処理装置 leの装置識別子「1234567 8」のほうが第 2の情報処理装置 2bの装置識別子「98765432」よりも小さ 、ため、第 1の情報処理装置 leのホストアドレスは「1」となる。その結果、アドレス決定部 14eは 、第 1の情報処理装置 leの IPアドレスを「169. 254. 227. 209」と決定する。また、 アドレス決定部 14eは、第 2の情報処理装置 2bの IPアドレスを「169. 254. 227. 21 0」と決定する。そして、アドレス決定部 14eは、それらのアドレスをトンネル通信部 11 と、アドレス送信部 15に渡す。なお、この場合にも、各情報処理装置において、「255 . 255. 255. 248」をサブネットマスクとして用いるものとする。
[0188] なお、 3通りのアドレス決定方法について説明した力 アドレス決定部 14eは、通信 元装置識別子と、通信先装置識別子と、トンネル通信識別子とに基づいてアドレスを 決定すればよぐこれ以外のアドレス決定方法によってアドレスを決定してもよい。
[0189] アドレス送信部 15は、実施の形態 1の具体例と同様に、決定された第 1の情報処理 装置 leの IPアドレスと、第 2の情報処理装置 2bの IPアドレスとを第 2の情報処理装置 2bに送信する (ステップ S 507)。その結果、それらの IPアドレスが第 2の情報処理装 置 2bにおけるアドレス受付部 21で受け付けられ、トンネル通信部 22に渡される。ま た、トンネル通信部 11は、実施の形態 1の具体例と同様に、決定されたアドレスを用 いてトンネル通信を行い、トンネル通信部 22は、アドレス受付部 21で受け付けられた アドレスを用いてトンネル通信を行う。
[0190] 以上のように、本実施の形態による通信システムでは、トンネル通信を行う情報処 理装置の装置識別子と、トンネル通信を識別するトンネル通信識別子とに基づ ヽて、 トンネル通信における通信対象のデータに対して用いるアドレスを決定することがで き、発見的アルゴリズムよりも簡易なアルゴリズムである決定的アルゴリズムによってァ ドレスを決定することができる。その結果、実施の形態 1と同様のメリットを得ることがで きる。
[0191] なお、本実施の形態では、第 1の情報処理装置 leがアドレス送信部 15を備えた構 成について説明したが、第 1の情報処理装置 leは、アドレス送信部 15に代えて、ァ ドレス決定部 14eが決定したアドレスを出力するアドレス出力部を備えてもよい。ここ で、この出力は、例えば、表示デバイス (例えば、 CRTや液晶ディスプレイなど)への 表示でもよぐ通信回線を介した所定の機器に対する送信であってもよぐプリンタに よる印刷でもよく、所定の記録媒体への記録でもよぐスピーカによる音声による出力 でもよい。なお、アドレス出力部は、出力を行うデバイス (例えば、表示デバイスやプリ ンタなど)を含んでもよぐあるいは含まなくてもよい。また、アドレス出力部は、ハード ウェアによって実現されてもよぐあるいは、それらのデバイスを駆動するドライバ等の ソフトウェアによって実現されてもよい。その出力されたアドレスは、例えば、所定の記 録媒体に記録されることにより、あるいは、電子メールや FAX等によって第 2の情報 処理装置 2bのユーザに通知することによって、第 2の情報処理装置 2bにおいて設 定されてもよい。
[0192] また、本実施の形態では、サーバ 4eで生成されたトンネル通信識別子が第 1の情 報処理装置 leにのみ送信される場合について説明したが、そのトンネル通信識別子 は、第 1の情報処理装置 leと共に、第 2の情報処理装置 2bにも送信されてもよい。
[0193] (実施の形態 8)
本発明の実施の形態 8による通信システムについて、図面を参照しながら説明する 。本実施の形態による通信システムは、各情報処理装置において、情報処理装置の 装置識別子と、トンネル通信識別子とに基づいて、トンネル通信における通信対象の データに対して用いられるアドレスを決定するものである。
[0194] 図 23は、本実施の形態による通信システムの構成を示す図である。本実施の形態 による通信システムは、第 1の情報処理装置 Ifと、第 2の情報処理装置 2fと、サーバ 4eとを備える。サーバ 4eは、実施の形態 7と同様のものであり、その説明を省略する 。ただし、本実施の形態では、第 1の情報処理装置 If、および第 2の情報処理装置 2 fにおいてアドレスの決定を行うため、サーバ 4eは、生成したトンネル通信識別子を 第 1の情報処理装置 lf、および第 2の情報処理装置 2fのそれぞれに送信するものと する。
[0195] 第 1の情報処理装置 Ifは、トンネル通信部 11と、識別子受付部 12と、識別子記憶 部 13と、アドレス決定部 14eと、トンネル通信識別子受付部 17とを備える。なお、トン ネル通信部 11、識別子受付部 12、識別子記憶部 13、アドレス決定部 14e、トンネル 通信識別子受付部 17は、実施の形態 7と同様のものであり、その説明を省略する。
[0196] 第 2の情報処理装置 2fは、トンネル通信部 22と、識別子記憶部 23と、識別子受付 部 25と、アドレス決定部 26fと、トンネル通信識別子受付部 28とを備える。なお、トン ネル通信部 22は、実施の形態 4と同様のものであり、識別子記憶部 23、識別子受付 部 25は、実施の形態 2と同様のものであり、アドレス決定部 26f、トンネル通信識別子 受付部 28は、実施の形態 7のアドレス決定部 14e、トンネル通信識別子受付部 17と 同様のものであり、それらの説明を省略する。
[0197] また、第 1の情報処理装置 Ifにおけるアドレスを決定する動作は、ステップ S507に おけるアドレスの送信処理を行わない以外、実施の形態 7における図 21で示されるも のと同様であり、その説明を省略する。また、本実施の形態における第 2の情報処理 装置 2fにおけるアドレスを決定する動作も、トンネル通信部 11、識別子受付部 12、 識別子記憶部 13、アドレス決定部 14e、トンネル通信識別子受付部 17が、それぞれ トンネル通信部 22、識別子受付部 25、識別子記憶部 23、アドレス決定部 26f、トン ネル通信識別子受付部 28に対応し、ステップ S507におけるアドレスの送信処理を 行わない以外、実施の形態 7における図 21で示されるものと同様であり、その説明を 省略する。
[0198] 次に、本実施の形態による通信システムの動作について、具体例を用いて説明す る。なお、第 1の情報処理装置 Ifにおいて IPアドレスが決定される動作は、実施の形 態 7の具体例と同様であり、その説明を省略する。また、前述のように、サーバ 4eから は、第 1の情報処理装置 Ifと共に、第 2の情報処理装置 2fにもトンネル通信識別子 が送信されるものとする。
[0199] サーバ 4eは、第 1の情報処理装置 Ifからの要求に応じて、第 2の情報処理装置 2f の IPアドレスを第 1の情報処理装置 Ifに送信すると共に、第 1の情報処理装置 1 fの 装置識別子と、第 1の情報処理装置 Ifが第 2の情報処理装置 2fとのトンネル通信を 要求している旨を示す情報とを第 2の情報処理装置 2fに送信する。また、サーバ 4e は、トンネル通信識別子を生成し、そのトンネル通信識別子を第 1の情報処理装置 If と、第 2の情報処理装置 2fとに送信する。
[0200] 第 2の情報処理装置 2fの識別子受付部 25は、サーバ 4eから送信された第 1の情 報処理装置 Ifの装置識別子を、トンネル通信部 22を介して受け付ける (ステップ S5 01)。その装置識別子は、アドレス決定部 26fの図示しないメモリにおいて一時的に 記憶される (ステップ S502)。また、第 2の情報処理装置 2fのトンネル通信識別子受 付部 28は、サーバ 4eから送信されたトンネル通信識別子を、トンネル通信部 22を介 して受け付ける (ステップ S503)。そのトンネル通信識別子は、アドレス決定部 26fの 図示しないメモリにおいて一時的に記憶される (ステップ S504)。その後、アドレス決 定部 26fが装置識別子とトンネル通信識別子とが受け付けられて 、ると判断し (ステツ プ S505)、アドレス決定部 26fの図示しないメモリで記憶されている装置識別子と、ト ンネル通信識別子と、識別子記憶部 23から読み出した第 2の情報処理装置 2fの装 置識別子とに基づいて第 1の情報処理装置 Ifと、第 2の情報処理装置 2fの IPァドレ スを決定する処理は、実施の形態 7と同様であり、その説明を省略する。
[0201] ただし、関数を用いてアドレスを決定する場合には、実施の形態 2の具体例で説明 したように、引数 1には第 2の情報処理装置 2fの装置識別子を代入し、引数 2には第 1の情報処理装置 Ifの装置識別子を代入するものとする。また、関数は、引数 1と引 数 2が入れ替えられると、算出結果の IPアドレスも逆の順番となるような関数であると する。この場合には、アドレス決定部 26fが関数を用いて決定したアドレスのうち、 1番 目のアドレスが第 2の情報処理装置 2fの IPアドレスとなり、 2番目のアドレスが第 1の 情報処理装置 Ifの IPアドレスとなる。
[0202] このアドレス決定の後にトンネル通信が行われる動作については、アドレスの送信 が行われないこと以外、実施の形態 7の具体例と同様であり、その説明を省略する。
[0203] 以上のように、本実施の形態による通信システムでは、情報処理装置の装置識別 子とトンネル通信識別子とに基づ ヽて、トンネル通信における通信対象のデータに対 して用いるアドレスを、各情報処理装置において決定することもできる。各情報処理 装置でそのアドレスの決定を行うことで、アドレスの送信を行う必要がなくなり、実施の 形態 2と同様の効果を得ることができる。
[0204] なお、本実施の形態では、各情報処理装置にお!、て通信元と通信先のアドレスを 決定する場合について説明したが、例えば、第 1の情報処理装置 Ifにおいて第 1の 情報処理装置 Ifのアドレスのみを決定し、第 2の情報処理装置 2fにお 、て第 2の情 報処理装置 2fのアドレスのみを決定する場合には、それらを直接的、または間接的 に相手方の情報処理装置に渡すようにしてもょ 、。
[0205] (実施の形態 9)
本発明の実施の形態 9による通信システムについて、図面を参照しながら説明する 。本実施の形態による通信システムは、情報処理装置の装置識別子と、トンネル通信 識別子とに基づいて、トンネル通信における通信対象のデータに対して用いられるァ ドレスを、サーバにおいて決定するものである。
[0206] 図 24は、本実施の形態による通信システムの構成を示す図である。図 24において 、本実施の形態による通信システムは、通信回線 3で互いに接続されている第 1の情 報処理装置 5と、第 2の情報処理装置 6と、サーバ 7gとを備える。なお、第 1の情報処 理装置 5、第 2の情報処理装置 6は、実施の形態 3と同様のものであり、その説明を省 略する。
[0207] サーバ 7gは、実施の形態 1におけるサーノ と同様に、第 1の情報処理装置 5と第 2の情報処理装置 6との間で行われるトンネル通信を確立させるための処理を行うと 共に、そのトンネル通信で用いられるアドレスを決定するものであり、通信制御部 71と 、識別子受付部 72と、アドレス決定部 73gと、アドレス送信部 74と、トンネル通信識別 子生成部 41と、トンネル通信識別子受付部 76とを備える。なお、通信制御部 71、識 別子受付部 72、アドレス送信部 74は、実施の形態 3と同様のものであり、トンネル通 信識別子生成部 41は、実施の形態 7と同様のものであり、その説明を省略する。
[0208] アドレス決定部 73gは、識別子受付部 72が受け付けた、第 1の情報処理装置 5を 識別する第 1の装置識別子、第 2の情報処理装置 6を識別する第 2の装置識別子と、 トンネル通信識別子受付部 76が受け付けたトンネル通信識別子とに基づ ヽて、第 1 の情報処理装置 5と、第 2の情報処理装置 6との間で行われるトンネル通信にぉ ヽて カプセルィ匕される通信対象のデータに対して用いる第 1の情報処理装置 5の第 1の アドレス、および第 2の情報処理装置 6の第 2のアドレスを決定する。アドレスの決定 方法については、実施の形態 7におけるアドレス決定部 14eと同様であり、その説明 を省略する。
[0209] トンネル通信識別子受付部 76は、トンネル通信識別子を受け付ける。トンネル通信 識別子受付部 76は、例えば、有線もしくは無線の通信回線を介して送信された (例 えば、他のサーバから送信された)トンネル通信識別子を受信してもよぐ所定の入 力デバイス(例えば、キーボードやマウス、タツチパネルなど)を介してサーバ 7gに入 力されたトンネル通信識別子を受け付けてもよぐ所定の記録媒体 (例えば、光デイス クゃ磁気ディスク、半導体メモリなど)カゝら読み出されたトンネル通信識別子を受け付 けてもよぐあるいは、サーバ 7gで生成されたトンネル通信識別子を受け付けてもよ い。本実施の形態では、サーバ 7gのトンネル通信識別子生成部 41で生成されたトン ネル通信識別子を受け付ける場合について説明する。なお、トンネル通信識別子受 付部 76は、受け付けを行うためのデバイス(例えば、モデムやネットワークカードなど )を含んでもよぐあるいは含まなくてもよい。また、トンネル通信識別子受付部 76は、 ハードウェアによって実現されてもよぐあるいは所定のデバイスを駆動するドライバ 等のソフトウェアによって実現されてもょ 、。
[0210] 次に、本実施の形態による通信システムの動作、特にアドレスを決定する動作につ いて説明する。図 25は、サーバ 7gにおけるアドレスを決定する動作を示すフローチ ヤートである。
[0211] (ステップ S601)識別子受付部 72は、第 1の装置識別子、および第 2の装置識別 子を受け付けた力どうか判断する。そして、それらの識別子を受け付けた場合には、 ステップ S602に進み、そうでない場合には、それらの識別子を受け付けるまでステツ プ S601の処理を繰り返す。
[0212] (ステップ S602)アドレス決定部 73gは、識別子受付部 72が受け付けた第 1の装置 識別子、および第 2の装置識別子を図示しない記録媒体において一時的に記憶す る。
[0213] (ステップ S603)トンネル通信識別子生成部 41は、トンネル通信識別子を生成し、 その生成したトンネル通信識別子をトンネル通信識別子受付部 76に渡す。
[0214] (ステップ S604)トンネル通信識別子受付部 76は、トンネル通信識別子生成部 41 カゝら渡されたトンネル通信識別子を受け付ける。
[0215] (ステップ S605)アドレス決定部 73gは、トンネル通信識別子受付部 76が受け付け たトンネル通信識別子、識別子受付部 72が受け付け、図示しない記録媒体におい て一時的に記憶されている第 1の装置識別子、第 2の装置識別子に基づいて、ァドレ スを決定する。このアドレスの決定方法は、実施の形態 7の具体例での説明と同様で あり、その説明を省略する。
[0216] (ステップ S606)アドレス送信部 74は、アドレス決定部 73gが決定した第 1の情報 処理装置 5のアドレス、および第 2の情報処理装置 6のアドレスを、第 1の情報処理装 置 5と、第 2の情報処理装置 6とに送信する。そして、ステップ S601に戻る。
[0217] なお、図 25のフローチャートにおいて、電源オフや処理終了の割り込みにより処理 は終了する。また、このフローチャートでは、識別子受付部 72が第 1の装置識別子等 を受け付けたタイミングでアドレスの決定等を行う場合にっ 、て説明した力 アドレス の決定等を行うタイミングは、これに限定されるものではなぐ例えば、第 1の情報処 理装置 5と、第 2の情報処理装置 6とがトンネル通信を開始するタイミングで、それま でに識別子受付部 72で受け付けられている第 1の装置識別子等を用いてアドレスを 決定してちょい。
[0218] 次に、本実施の形態による通信システムの動作について、具体例を用いて説明す る。まず、トンネル通信におけるデータの構成は、図 5と同様である。また、情報処理 装置やサーバの IPアドレス、装置識別子も実施の形態 3の具体例と同様であるとする 。また、第 1の情報処理装置 5、第 2の情報処理装置 6がそれぞれ、 IPアドレスと、装 置識別情報とをサーバ 7gに登録する処理は、実施の形態 3と同様であり、その説明 を省略する。
[0219] 第 1の情報処理装置 5のトンネル通信部 52は、第 2の情報処理装置 6を識別する第 2の装置識別子と、第 2の情報処理装置 6とトンネル通信を行 、た 、旨とをサーバ 7g に送信する。すると、それらは通信制御部 71において受信される。通信制御部 71は 、第 1の情報処理装置 5から送信されたパケットのヘッダから第 1の情報処理装置 5の IPアドレスを取得し、図 11で示されるアドレス識別子対応情報を参照し、第 1の情報 処理装置 5の第 1の装置識別子「12345678」を取得する。また、通信制御部 71は、 アドレス識別子対応情報を参照し、第 1の情報処理装置 5から送信された第 2の装置 識另 U子「98765432」に対応する IPアド、レス「131. 206. 10. 240」を取得する。そし て、通信制御部 71は、第 1の装置識別子と、第 2の装置識別子とを識別子受付部 72 に渡すと共に、第 2の情報処理装置 6の IPアドレスを第 1の情報処理装置 5に送信す る。
[0220] 識別子受付部 72は、通信制御部 71から第 1の装置識別子と第 2の装置識別子を 受け付けると (ステップ S601)、それらをアドレス決定部 73gに渡す。アドレス決定部 73gは、その第 1の装置識別子等を図示しな 、メモリにお 、て一時的に記憶する (ス テツプ S602)。
[0221] また、トンネル通信識別子生成部 41は、通信制御部 71がトンネル通信を開始する 旨の情報を受信したことに対応して、新たなトンネル通信識別子「111222333」を生 成し、その生成したトンネル通信識別子をトンネル通信識別子受付部 76に渡す (ス テツプ S603)。すると、そのトンネル通信識別子はトンネル通信識別子受付部 76で 受け付けられる(ステップ S604)。
[0222] その後、アドレス決定部 73gは、トンネル通信識別子受付部 76が受け付けたトンネ ル通信識別子と、図示しないメモリで記憶している第 1の装置識別子、第 2の装置識 別子とに基づいて、第 1の情報処理装置 5、および第 2の情報処理装置 6で用いる IP アドレスを決定し、その決定したアドレスを、装置識別子に対応付けてアドレス送信部 74に渡す (ステップ S605)。このアドレスの決定方法は実施の形態 7の具体例と同様 であり、その説明を省略する。
[0223] アドレス送信部 74は、アドレス決定部 73gが決定した第 1の情報処理装置 5の IPァ ドレスと、その第 1の情報処理装置 5の装置識別子との組、および第 2の情報処理装 置 6の IPアドレスと、その第 2の情報処理装置 6の装置識別子との組を受け取ると、通 信制御部 71で保持されて 、るアドレス識別子対応情報を参照し、それぞれの装置識 別子に対応した情報処理装置の IPアドレスを取得する。そして、アドレス送信部 74は 、装置識別子と IPアドレスとの 2つの組を第 1の情報処理装置 5と、第 2の情報処理装 置 6とに送信する (ステップ S606)。この後の処理は、実施の形態 3の具体例と同様 であり、その説明を省略する。
[0224] 以上のように、本実施の形態による通信システムでは、サーバ 7gが、情報処理装置 の装置識別子と、トンネル通信識別子とに基づいて、第 1の情報処理装置 5、および 第 2の情報処理装置 6の間で行われるトンネル通信の通信対象のデータに対して用 V、られるアドレスを決定することができ、簡易な決定的アルゴリズムを用いて容易にァ ドレスの決定を行うことができる。
[0225] なお、本実施の形態では、アドレス送信部 74がアドレス決定部 73gによって決定さ れたアドレスを送信する場合について説明した力 アドレス送信部 74に代えて、アド レス決定部 73gによって決定されたアドレスを出力するアドレス出力部を備えてもよい 。ここで、この出力は、例えば、表示デバイス (例えば、 CRTや液晶ディスプレイなど) への表示でもよぐ通信回線を介した所定の機器に対する送信であってもよぐプリン タによる印刷でもよぐ所定の記録媒体への記録でもよぐスピーカによる音声による 出力でもよい。なお、アドレス出力部は、出力を行うデバイス (例えば、表示デバイス やプリンタなど)を含んでもよぐあるいは含まなくてもよい。また、アドレス出力部は、 ハードウェアによって実現されてもよぐあるいは、それらのデバイスを駆動するドライ バ等のソフトウェアによって実現されてもよい。その出力されたアドレスは、例えば、所 定の記録媒体に記録されることにより、あるいは、サーバ 7gの管理者がそのアドレス を電子メールや FAX等によって第 1の情報処理装置 5のユーザや第 2の情報処理装 置 6のユーザに通知することによって、第 1の情報処理装置 5や、第 2の情報処理装 置 6にお 、て設定されてもよ!、。
[0226] また、本実施の形態では、サーバ 7gのアドレス送信部 74が、第 2の情報処理装置 6 にアドレス決定部 73gが決定した 2つのアドレスを送信する場合について説明したが 、アドレス送信部 74は、第 2の情報処理装置 6に第 2の情報処理装置 6のアドレスの みを送信してもよい。この場合には、第 2の情報処理装置 6は、第 1の情報処理装置 5から送信されたカプセルィ匕された通信対象のデータのヘッダ力 第 1の情報処理装 置 5のアドレスを取得することができる。
[0227] また、本実施の形態では、サーバ 7gから第 1の情報処理装置 5のアドレスと、第 2の 情報処理装置 6のアドレスとの両方を送信する場合について説明したが、サーバ 7g は、まず第 1の情報処理装置 5に対しては、第 1の情報処理装置 5のアドレスを送信し 、第 2の情報処理装置 6に対しては、第 2の情報処理装置 6のアドレスを送信し、その 後に、情報処理装置からトンネル通信の相手方のアドレスに関する問い合わせがあ つた場合に、サーバ 7gがその相手方のアドレスを送信するようにしてもょ 、。
[0228] (実施の形態 10)
本発明の実施の形態 10による通信システムについて、図面を参照しながら説明す る。本実施の形態による通信システムは、情報処理装置が発呼側であるのか、着呼 側であるのかに関する判断結果と、トンネル通信を識別するトンネル通信識別子と〖こ 基づいて、トンネル通信における通信対象のデータに対して用いられるアドレスを決 定するものである。
[0229] 本実施の形態による通信システムは、図 1と同様であるとする。ただし、第 1の情報 処理装置 1が第 1の情報処理装置 lhに対応するものとする。また、第 2の情報処理装 置 2は、実施の形態 4の第 2の情報処理装置 2bに対応し、サーバ 4は、実施の形態 7 のサーバ 4eに対応するものとする。
[0230] 図 26は、本実施の形態による第 1の情報処理装置 lhの構成を示すブロック図であ る。本実施の形態による第 1の情報処理装置 lhは、トンネル通信部 11と、アドレス決 定部 14hと、アドレス送信部 15と、判断部 16と、トンネル通信識別子受付部 17とを備 える。なお、トンネル通信部 11、アドレス送信部 15は、実施の形態 1と同様のもので あり、判断部 16は、実施の形態 4と同様のものであり、トンネル通信識別子受付部 17 は、実施の形態 7と同様のものであり、それらの説明を省略する。
[0231] アドレス決定部 14hは、判断部 16による判断結果と、トンネル通信識別子受付部 1 7が受け付けたトンネル通信識別子とに基づ 、て、トンネル通信にぉ 、てカプセルィ匕 される通信対象のデータに対して用いるアドレスを決定する。ここで、トンネル通信識 別子とは、情報処理装置間で行われるトンネル通信を識別する識別子である。このァ ドレスの決定においては、判断部 16による判断結果と、トンネル通信識別子とに基づ いて、通信先の装置 (例えば、第 2の情報処理装置 2b)で用いるアドレスと、通信元 の装置 (例えば、第 1の情報処理装置 lh)で用いるアドレスとが異なるように決定され ればよい。決定の方法としては、例えば、所定の関数を用いて行う方法や、あらかじ め決められている複数のアドレス力も選択することによって行う方法などがある。また
、アドレス決定部 14hは、通信先装置識別子と、通信元装置識別子とに基づいて、通 信対象のデータに対して用いるアドレスの一部を決定し、トンネル通信識別子に基づ いて、通信対象のデータに対して用いるアドレスの他の部分を決定してもよい。ァドレ スを決定する方法の具体例については後述する。また、アドレスの決定において、通 信元の装置のアドレスを決定してもよぐ通信先の装置のアドレスを決定してもよぐ その両者のアドレスを決定してもよい。本実施の形態では、通信元と通信先の装置の 両者のアドレスを決定する場合にっ 、て説明する。
[0232] 次に、本実施の形態による通信システムの動作、特に第 1の情報処理装置 lhにお いてアドレスを決定する動作について説明する。図 27は、第 1の情報処理装置 lhに おけるアドレスを決定する動作を示すフローチャートである。
[0233] (ステップ S701)トンネル通信部 11は、トンネル通信を開始するかどうか判断する。
このトンネル通信の開始には、第 1の情報処理装置 lhが積極的にトンネル通信を開 始する場合と、他の装置 (ここでは、第 2の情報処理装置 2b)からのトンネル通信の要 求に応じて、トンネル通信を開始する場合とがある。いずれであっても、トンネル通信 部 11は、トンネル通信を開始すると判断する。そして、トンネル通信を開始する場合 には、ステップ S702に進み、そうでない場合には、トンネル通信を開始するまでステ ップ S 701の処理を繰り返す。
[0234] (ステップ S702)判断部 16は、第 1の情報処理装置 lhが発呼側か着呼側かの判 断を行う。
[0235] (ステップ S703)トンネル通信識別子受付部 17は、トンネル通信識別子を受け付け たカゝどうか判断する。そして、トンネル通信識別子を受け付けた場合には、ステップ S 704に進み、そうでない場合には、トンネル通信識別子を受け付けるまで、ステップ S 703の処理を繰り返す。
[0236] (ステップ S704)アドレス決定部 14hは、判断部 16による判断結果と、トンネル通信 識別子受付部 17が受け付けたトンネル通信識別子とを用いて、アドレスを決定する。 このアドレス決定の方法にっ 、ては後述する。 [0237] (ステップ S705)アドレス送信部 15は、アドレス決定部 14hが決定したアドレスを第 2の情報処理装置 2bに送信する。そして、ステップ S 701に戻る。
[0238] なお、図 27のフローチャートにおいて、電源オフや処理終了の割り込みにより処理 は終了する。また、このフローチャートでは、アドレスを決定する処理についてのみ説 明している力 この決定されたアドレスを用いてトンネル通信が行われることはいうま でもない。
[0239] 次に、本実施の形態による通信システムの動作について、具体例を用いて説明す る。まず、トンネル通信におけるデータの構成は、実施の形態 1の図 5と同様である。 また、情報処理装置やサーバの IPアドレス、装置識別子も実施の形態 1の具体例と 同様であるとする。また、第 1の情報処理装置 lh、第 2の情報処理装置 2bがそれぞ れ、 IPアドレスと、装置識別情報とをサーバ 4eに登録する処理は、実施の形態 1と同 様であり、その説明を省略する。
[0240] 通信先装置識別子の記録された着脱可能な記録媒体が、第 1の情報処理装置 lh に装着され、その記録媒体に記憶されている通信先装置識別子「98765432」が図 示しな 、受付部によって受け付けられ、トンネル通信部 11に渡されたとする。
[0241] すると、トンネル通信部 11は、トンネル通信を開始すると判断し (ステップ S701)、 受け取った通信先装置識別子と、その通信先装置識別子で識別される装置の IPァ ドレスを送信する旨の指示とをサーバ 4eに送信する。すると、サーバ 4eはそれらを受 信し、通信先装置識別子「98765432」に対応する、保持している IPアドレス「131. 206. 10. 240」を第 1の情報処理装置 lhに送信する。第 1の情報処理装置 lhのト ンネル通信部 11は、第 2の情報処理装置 2bの IPアドレス「131. 206. 10. 240」を サーノ eから受け付けると、その IPアドレスを保持しておく。
[0242] 判断部 16は、トンネル通信部 11がトンネル通信のトンネルのプロトコルの通信にお ける発呼側であるため、第 1の情報処理装置 lhが発呼側であると判断する (ステップ S702)。そして、その判断結果をアドレス決定部 14hに渡す。
[0243] また、サーバ 4eは、第 1の情報処理装置 lhと、第 2の情報処理装置 2bとの間でトン ネル通信を開始すると判断する。そして、トンネル通信識別子生成部 41は、第 1の情 報処理装置 lhと、第 2の情報処理装置 2bとの間で行うトンネル通信を識別するトンネ ル通信識別子「111222333」を生成する。トンネル通信識別子送信部 42は、そのト ンネル通信識別子を第 1の情報処理装置 lhに送信する。第 1の情報処理装置 lhの アドレスは、第 1の情報処理装置 lhから送信された通信先装置識別子を含むバケツ トのヘッダから取得されたものである。送信されたトンネル通信識別子「111222333 」は、第 1の情報処理装置 lhのトンネル通信識別子受付部 17で受け付けられる (ス テツプ S703)。第 1の情報処理装置 lhのトンネル通信識別子受付部 17で受け付け られたトンネル通信識別子は、アドレス決定部 14hに渡される。
[0244] アドレス決定部 14hは、判断部 16から判断結果を受け取り、トンネル通信識別子受 付部 17からトンネル通信識別子を受け取ると、その判断結果とトンネル通信識別子と に基づいて、トンネル通信における通信対象のデータに対して用いる IPアドレスを決 定する。具体的には、アドレス決定部 14hは、例えば、下記の 2つの方法のいずれか によってアドレスを決定する(ステップ S704)。
[0245] [テーブルを用いるアドレス決定方法]
アドレス決定部 14hが決定するアドレスは、図 28 Aで示される構造を有する。すな わち、先頭の 8ビットは「169」であり、次の 8ビットは「254」である。また、次の 16ビット のうち、先頭の 14ビットはネットワークアドレスであり、トンネル通信識別子を「16384」 で割った余りを用いる。また、最後の 2ビットはホストアドレスであり、図 28Bのテープ ルを用いて決定する。図 28Bのテーブルは、発呼側'着呼側を示す情報と、 IPァドレ スとの対応を示すものである。判断部 16によって第 1の情報処理装置 lhが発呼側で あると判断されたため、アドレス決定部 14hは、図 28Bのテーブルを用いて、第 1の情 報処理装置 lhのホストアドレスを「1」に決定する。また、第 2の情報処理装置 2bは着 呼側であるため、アドレス決定部 14hは、第 2の情報処理装置 2bのホストアドレスを「 2」に決定する。なお、図 28Bでは、発呼側'着呼側を示す情報と、 IPアドレスとがテ 一ブル形式で対応付けられて ヽる場合にっ ヽて示して ヽるが、テーブル形式以外に よって発呼側.着呼側を示す情報と、 IPアドレスとが対応付けられていてもよい。また
、トンネル通信識別子「111222333」を「16384」で割った余り「7741」が第 1の情報 処理装置 lh、および第 2の情報処理装置 2bに共通のネットワークアドレスとなる。し たがって、アドレス決定部 14hは、第 1の情報処理装置 lhの IPアドレスを「169. 254 . 120. 245」と決定する(「7741」のノイナリ表示「01111000111101」と、「1」のノ イナリ表示「01」とを 8ビットずつに分けた「01111000」と、「11110101」との 10進数 表示がそれぞれ「120」と、「245」とになる)。同様にして、アドレス決定部 14hは、第 2の情報処理装置 2bの IPアドレスを「169. 254. 120. 246」と決定する。そして、ァ ドレス決定部 14hは、それらのアドレスをトンネル通信部 11と、アドレス送信部 15に 渡す。なお、このようにしてアドレスが決定された場合には、各情報処理装置におい て、「255. 255. 255. 252」をサブネットマスクとして用!ヽる。このテープノレを用! /、て アドレスを決定する方法のように、アドレス決定部 14hは、通信先装置識別子と、通 信元装置識別子とに基づいてアドレスの一部を決定し、トンネル通信識別子に基づ V、てアドレスの他の部分を決定してもよ 、。
[0246] なお、アドレス決定部 14hは、ホストアドレスをあらかじめ決められている複数のアド レス力も選択することによって決定してもよい。例えば、アドレス決定部 14hが図 28C で示されるテーブルを有しており、情報処理装置が発呼側であれば、そのホストアド レスを「1」、 「3」、 「5」の中力 選択し、情報処理装置が着呼側であれば、そのホスト アドレスを「2」、 「4」、 「6」の中力 選択するようにしてもよい。
[0247] [関数を用いるアドレス決定方法]
アドレス決定部 14hは、アドレスを決定する関数「Func (引数 1、引数 2)」を有して いる。そして、発呼側のアドレスを演算する場合には、引数 1に「0」を代入し、着呼側 のアドレスを演算する場合には、引数 1に「1」を代入する。また、引数 2には、トンネル 通信識別子を代入する。この具体例において、アドレス決定部 14hが引数 1に「0」を 代人し、引数 2に「111222333」を代人し、関数の値力 S「192. 168. 0. 1」となったと する。この IPアドレスが第 1の情報処理装置 lhのアドレスとなる。一方、アドレス決定 部 14hが引数 1に「1」を代入し、引数 2に「111222333」を代入し、関数の値が「19 2. 168. 0. 2」となったとする。この IPアドレスが第 2の情報処理装置 2bのアドレスと なる。そして、アドレス決定部 14hは、それらのアドレスをトンネル通信部 11と、ァドレ ス送信部 15に渡す。
[0248] なお、 2通りのアドレス決定方法について説明した力 アドレス決定部 14hは、判断 部 16による判断結果と、トンネル通信識別子とに基づいてアドレスを決定すればよく 、これ以外のアドレス決定方法によってアドレスを決定してもよ!/、。
[0249] アドレス送信部 15は、実施の形態 1の具体例と同様に、決定された第 1の情報処理 装置 lhの IPアドレスと、第 2の情報処理装置 2bの IPアドレスとを第 2の情報処理装 置 2bに送信する (ステップ S705)。その結果、それらの IPアドレスが第 2の情報処理 装置 2bにおけるアドレス受付部 21で受け付けられ、トンネル通信部 22に渡される。 また、トンネル通信部 11は、実施の形態 1の具体例と同様に、決定されたアドレスを 用いてトンネル通信を行い、トンネル通信部 22は、アドレス受付部 21で受け付けられ たアドレスを用いてトンネル通信を行う。
[0250] 以上のように、本実施の形態による通信システムでは、判断部 16による判断結果と 、トンネル通信を識別するトンネル通信識別子とに基づいて、トンネル通信における 通信対象のデータに対して用いるアドレスを決定することができ、発見的アルゴリズム よりも簡易なアルゴリズムである決定的アルゴリズムによってアドレスを決定することが できる。その結果、実施の形態 1と同様のメリットを得ることができる。
[0251] なお、本実施の形態では、第 1の情報処理装置 lhがアドレス送信部 15を備えた構 成について説明したが、第 1の情報処理装置 lhは、アドレス送信部 15に代えて、ァ ドレス決定部 14hが決定したアドレスを出力するアドレス出力部を備えてもよい。ここ で、この出力は、例えば、表示デバイス (例えば、 CRTや液晶ディスプレイなど)への 表示でもよぐ通信回線を介した所定の機器に対する送信であってもよぐプリンタに よる印刷でもよく、所定の記録媒体への記録でもよぐスピーカによる音声による出力 でもよい。なお、アドレス出力部は、出力を行うデバイス (例えば、表示デバイスやプリ ンタなど)を含んでもよぐあるいは含まなくてもよい。また、アドレス出力部は、ハード ウェアによって実現されてもよぐあるいは、それらのデバイスを駆動するドライバ等の ソフトウェアによって実現されてもよい。その出力されたアドレスは、例えば、所定の記 録媒体に記録されることにより、あるいは、電子メールや FAX等によって第 2の情報 処理装置 2bのユーザに通知することによって、第 2の情報処理装置 2bにおいて設 定されてもよい。
[0252] また、本実施の形態では、サーバ 4eで生成されたトンネル通信識別子が第 1の情 報処理装置 lhにのみ送信される場合について説明した力 そのトンネル通信識別 子は、第 1の情報処理装置 lhと共に、第 2の情報処理装置 2bにも送信されてもよい
[0253] (実施の形態 11)
本発明の実施の形態 11による通信システムについて、図面を参照しながら説明す る。本実施の形態による通信システムは、各情報処理装置において、情報処理装置 が発呼側であるのカゝ、着呼側であるのかに関する判断結果と、トンネル通信識別子と に基づいて、トンネル通信における通信対象のデータに対して用いられるアドレスを 決定するものである。
[0254] 図 29は、本実施の形態による通信システムの構成を示す図である。本実施の形態 による通信システムは、通信回線 3で互いに接続されている第 1の情報処理装置 liと 、第 2の情報処理装置 2iと、サーバ 4eとを備える。サーバ 4eは、実施の形態 7と同様 のものであり、その説明を省略する。ただし、本実施の形態では、第 1の情報処理装 置 li、および第 2の情報処理装置 2iにおいてアドレスの決定を行うため、サーバ 4eは 、生成したトンネル通信識別子を第 1の情報処理装置 li、および第 2の情報処理装 置 2iのそれぞれに送信するものとする。
[0255] 第 1の情報処理装置 liは、トンネル通信部 11と、アドレス決定部 14hと、判断部 16 と、トンネル通信識別子受付部 17とを備える。なお、トンネル通信部 11、アドレス決定 部 14h、判断部 16、トンネル通信識別子受付部 17は、実施の形態 10と同様のもの であり、その説明を省略する。
[0256] 第 2の情報処理装置 2iは、トンネル通信部 22と、アドレス決定部 26iと、判断部 27と 、トンネル通信識別子受付部 28とを備える。なお、トンネル通信部 22は、実施の形態 4と同様のものであり、トンネル通信識別子受付部 28は、実施の形態 8と同様のもの であり、アドレス決定部 26iは、実施の形態 10のアドレス決定部 14hと同様のもので あり、それらの説明を省略する。
[0257] また、第 1の情報処理装置 liにおけるアドレスを決定する動作は、ステップ S705に おけるアドレスの送信処理を行わない以外、実施の形態 10における図 27で示される ものと同様であり、その説明を省略する。また、本実施の形態における第 2の情報処 理装置 2iにおけるアドレスを決定する動作も、トンネル通信部 11、アドレス決定部 14 h、判断部 16、トンネル通信識別子受付部 17が、それぞれトンネル通信部 22、ァドレ ス決定部 26i、判断部 27、トンネル通信識別子受付部 28に対応し、ステップ S705〖こ おけるアドレスの送信処理を行わない以外、実施の形態 10における図 27で示される ものと同様であり、その説明を省略する。
[0258] 次に、本実施の形態による通信システムの動作について、具体例を用いて説明す る。なお、第 1の情報処理装置 liにおいて IPアドレスが決定される動作は、実施の形 態 10の具体例と同様であり、その説明を省略する。また、サーバ 4eからは、第 1の情 報処理装置 liと共に、第 2の情報処理装置 2iにもトンネル通信識別子が送信される ものとする。
[0259] サーバ 4eは、第 1の情報処理装置 liからの要求に応じて、第 2の情報処理装置 2i の IPアドレスを第 1の情報処理装置 liに送信すると共に、第 1の情報処理装置 liが 第 2の情報処理装置 2iとのトンネル通信を要求して 、る旨を示す情報とを第 2の情報 処理装置 2iに送信する。また、サーバ 4eは、トンネル通信識別子を生成し、そのトン ネル通信識別子を第 1の情報処理装置 liと、第 2の情報処理装置 2iとに送信する。
[0260] 第 2の情報処理装置 2iのトンネル通信部 22が、そのサーバ 4eから送信された情報 を受信すると、トンネル通信を開始すると判断し (ステップ S701)、判断部 27は、第 2 の情報処理装置 2iが着呼側であると判断する (ステップ S702)。また、トンネル通信 識別子受付部 28は、サーバ 4eから送信されたトンネル通信識別子を、トンネル通信 部 22を介して受け付ける (ステップ S 703)。なお、アドレス決定部 26iが、判断部 27 による判断結果と、トンネル通信識別子とに基づいて第 1の情報処理装置 liと、第 2 の情報処理装置 2iの IPアドレスを決定する処理は、実施の形態 10と同様であり、そ の説明を省略する。また、このアドレス決定の後にトンネル通信が行われる動作につ いては、アドレスの送信が行われないこと以外、実施の形態 10の具体例と同様であり 、その説明を省略する。
[0261] 以上のように、本実施の形態による通信システムでは、情報処理装置が発呼側であ るのカゝ、着呼側であるのかの判断結果とトンネル通信識別子とに基づいて、トンネル 通信における通信対象のデータに対して用いるアドレスを、各情報処理装置におい て決定することもできる。各情報処理装置でそのアドレスの決定を行うことで、アドレス の送信を行う必要がなくなり、実施の形態 2と同様の効果を得ることができる。
[0262] なお、本実施の形態では、各情報処理装置にお!、て通信元と通信先のアドレスを 決定する場合について説明したが、例えば、第 1の情報処理装置 liにおいて第 1の 情報処理装置 liのアドレスのみを決定し、第 2の情報処理装置 2iにおいて第 2の情 報処理装置 2iのアドレスのみを決定する場合には、それらを直接的、または間接的 に相手方の情報処理装置に渡すようにしてもょ 、。
[0263] (実施の形態 12)
本発明の実施の形態 12による通信システムについて、図面を参照しながら説明す る。本実施の形態による通信システムは、情報処理装置が発呼側であるのか、着呼 側であるのかに関する判断結果と、トンネル通信識別子とに基づいて、トンネル通信 における通信対象のデータに対して用いられるアドレスを、サーバにおいて決定する ものである。
[0264] 図 30は、本実施の形態による通信システムの構成を示す図である。図 30において 、本実施の形態による通信システムは、通信回線 3で互いに接続されている第 1の情 報処理装置 5と、第 2の情報処理装置 6と、サーバ 7jとを備える。なお、第 1の情報処 理装置 5、第 2の情報処理装置 6は、実施の形態 3と同様のものであり、その説明を省 略する。
[0265] サーバ 7jは、実施の形態 1におけるサーバ 4と同様に、第 1の情報処理装置 5と第 2 の情報処理装置 6との間で行われるトンネル通信を確立させるための処理を行うと共 に、そのトンネル通信で用いられるアドレスを決定するものであり、通信制御部 71と、 アドレス決定部 7¾と、アドレス送信部 74と、判断部 75と、トンネル通信識別子生成 部 41と、トンネル通信識別子受付部 76とを備える。なお、通信制御部 71、アドレス送 信部 74は、実施の形態 3と同様のものであり、判断部 75は、実施の形態 6と同様のも のであり、トンネル通信識別子生成部 41、トンネル通信識別子受付部 76は、実施の 形態 9と同様のものであり、その説明を省略する。
[0266] アドレス決定部 7¾は、判断部 75による判断結果と、トンネル通信識別子受付部 76 が受け付けたトンネル通信識別子とに基づいて、第 1の情報処理装置 5と、第 2の情 報処理装置 6との間で行われるトンネル通信においてカプセルィ匕される通信対象の データに対して用いる第 1の情報処理装置 5の第 1のアドレス、および第 2の情報処 理装置 6の第 2のアドレスを決定する。アドレスの決定方法については、実施の形態 1 0におけるアドレス決定部 14hと同様であり、その説明を省略する。
[0267] 次に、本実施の形態による通信システムの動作、特にアドレスを決定する動作につ いて説明する。図 31は、サーバ 7jにおけるアドレスを決定する動作を示すフローチヤ ートである。
[0268] (ステップ S801)通信制御部 71は、第 1の情報処理装置 5と、第 2の情報処理装置 6との間でトンネル通信が開始されるかどうか判断する。そして、トンネル通信が開始 される場合には、ステップ S802に進み、そうでない場合には、トンネル通信が開始さ れるまで、ステップ S801の処理を繰り返す。
[0269] (ステップ S802)判断部 75は、第 1の情報処理装置 5、第 2の情報処理装置 6がそ れぞれ、発呼側であるの力 着呼側であるのかを判断する。
[0270] (ステップ S803)トンネル通信識別子生成部 41は、トンネル通信識別子を生成し、 その生成したトンネル通信識別子をトンネル通信識別子受付部 76に渡す。
[0271] (ステップ S804)トンネル通信識別子受付部 76は、トンネル通信識別子生成部 41 カゝら渡されたトンネル通信識別子を受け付ける。
[0272] (ステップ S805)アドレス決定部 7¾は、トンネル通信識別子受付部 76が受け付け たトンネル通信識別子、および判断部 75による判断結果に基づいて、アドレスを決 定する。このアドレスの決定方法は、実施の形態 10の具体例での説明と同様であり、 その説明を省略する。
[0273] (ステップ S806)アドレス送信部 74は、アドレス決定部 7¾が決定した第 1の情報処 理装置 5のアドレス、および第 2の情報処理装置 6のアドレスを、第 1の情報処理装置 5と、第 2の情報処理装置 6とに送信する。そして、ステップ S801に戻る。
[0274] なお、図 31のフローチャートにおいて、電源オフや処理終了の割り込みにより処理 は終了する。
[0275] 次に、本実施の形態による通信システムの動作について、具体例を用いて説明す る。まず、トンネル通信におけるデータの構成は、図 5と同様である。また、情報処理 装置やサーバの IPアドレス、装置識別子も実施の形態 3の具体例と同様であるとする 。また、第 1の情報処理装置 5、第 2の情報処理装置 6がそれぞれ、 IPアドレスと、装 置識別情報とをサーバ 7jに登録する処理は、実施の形態 3と同様であり、その説明を 省略する。
[0276] 次に、第 1の情報処理装置 5のトンネル通信部 52は、第 2の情報処理装置 6を識別 する第 2の装置識別子と、第 2の情報処理装置 6とトンネル通信を行いたい旨とをサ ーバ 7jに送信する。すると、それらは通信制御部 71において受信される。通信制御 部 71は、トンネル通信を開始すると判断し (ステップ S801)、第 1の情報処理装置 5 力 送信されたパケットのヘッダ力 第 1の情報処理装置 5の IPアドレスを取得し、図 11で示されるアドレス識別子対応情報を参照し、第 1の情報処理装置 5の装置識別 子「12345678」を取得する。また、通信制御部 71は、図 11で示されるアドレス識別 子対応情報を参照し、第 1の情報処理装置 5から送信された装置識別子「9876543 2」に対応する IPアドレス「131. 206. 10. 240」を取得する。そして、通信制御部 71 は、第 2の情報処理装置 6の IPアドレスを第 1の情報処理装置 5に送信する。
[0277] 判断部 75は、通信制御部 71が、第 1の情報処理装置 5から送信された第 2の情報 処理装置 6とトンネル通信を行 、た 、旨の情報を受信したため、第 1の情報処理装置 5が発呼側であり、第 2の情報処理装置 6が着呼側であると判断する (ステップ S802) 。そして、判断部 75は、装置識別子「12345678」で識別される情報処理装置が発 呼側であり、装置識別子「98765432」で識別される情報処理装置が着呼側である 旨をアドレス決定部 7¾に渡す。
[0278] トンネル通信識別子生成部 41は、通信制御部 71がトンネル通信を開始する旨の 情報を受信したことに対応して、新たなトンネル通信識別子「111222333」を生成し 、その生成したトンネル通信識別子をトンネル通信識別子受付部 76に渡す (ステップ S803)。すると、そのトンネル通信識別子はトンネル通信識別子受付部 76で受け付 けられる(ステップ S804)。
[0279] その後、アドレス決定部 7¾は、トンネル通信識別子受付部 76が受け付けたトンネ ル通信識別子と、判断部 75から受け取った判断結果とに基づいて、第 1の情報処理 装置 5、および第 2の情報処理装置 6で用いる IPアドレスを決定し、その決定したアド レスを、装置識別子に対応付けてアドレス送信部 74に渡す (ステップ S805)。このァ ドレスの決定方法は実施の形態 10の具体例と同様であり、その説明を省略する。
[0280] アドレス送信部 74は、アドレス決定部 7¾が決定した第 1の情報処理装置 5の IPァ ドレスと、その第 1の情報処理装置 5の装置識別子との組、および第 2の情報処理装 置 6の IPアドレスと、その第 2の情報処理装置 6の装置識別子との組を受け取ると、通 信制御部 71で保持されて 、るアドレス識別子対応情報を参照し、それぞれの装置識 別子に対応した情報処理装置の IPアドレスを取得する。そして、アドレス送信部 74は 、装置識別子と IPアドレスとの 2つの組を第 1の情報処理装置 5と、第 2の情報処理装 置 6とに送信する (ステップ S806)。この後の処理は、実施の形態 3の具体例と同様 であり、その説明を省略する。
[0281] 以上のように、本実施の形態による通信システムでは、サーバ 7jが、情報処理装置 が発呼側であるのカゝ、着呼側であるのかに関する判断結果と、トンネル通信識別子と に基づいて、第 1の情報処理装置 5、および第 2の情報処理装置 6の間で行われるト ンネル通信の通信対象のデータに対して用いられるアドレスを決定することができ、 簡易な決定的アルゴリズムを用いて容易にアドレスの決定を行うことができる。
[0282] なお、本実施の形態では、アドレス送信部 74がアドレス決定部 7¾によって決定さ れたアドレスを送信する場合について説明した力 アドレス送信部 74に代えて、アド レス決定部 7¾によって決定されたアドレスを出力するアドレス出力部を備えてもよい 。ここで、この出力は、例えば、表示デバイス (例えば、 CRTや液晶ディスプレイなど) への表示でもよぐ通信回線を介した所定の機器に対する送信であってもよぐプリン タによる印刷でもよぐ所定の記録媒体への記録でもよぐスピーカによる音声による 出力でもよい。なお、アドレス出力部は、出力を行うデバイス (例えば、表示デバイス やプリンタなど)を含んでもよぐあるいは含まなくてもよい。また、アドレス出力部は、 ハードウェアによって実現されてもよぐあるいは、それらのデバイスを駆動するドライ バ等のソフトウェアによって実現されてもよい。その出力されたアドレスは、例えば、所 定の記録媒体に記録されることにより、あるいは、サーバ 7jの管理者がそのアドレスを 電子メールや FAX等によって第 1の情報処理装置 5のユーザや第 2の情報処理装 置 6のユーザに通知することによって、第 1の情報処理装置 5や、第 2の情報処理装 置 6にお 、て設定されてもよ!、。 [0283] また、本実施の形態では、サーバ 7jのアドレス送信部 74が、第 2の情報処理装置 6 にアドレス決定部 7¾が決定した 2つのアドレスを送信する場合について説明した力 アドレス送信部 74は、第 2の情報処理装置 6に第 2の情報処理装置 6のアドレスのみ を送信してもよい。この場合には、第 2の情報処理装置 ¾は、第 1の情報処理装置 5 力 送信されたカプセルィ匕された通信対象のデータのヘッダ力 第 1の情報処理装 置 5のアドレスを取得することができる。
[0284] また、本実施の形態では、サーバ 7jから第 1の情報処理装置 5のアドレスと、第 2の 情報処理装置 6のアドレスとの両方を送信する場合について説明したが、サーバ 7j は、まず第 1の情報処理装置 5に対しては、第 1の情報処理装置 5のアドレスを送信し 、第 2の情報処理装置 6に対しては、第 2の情報処理装置 6のアドレスを送信し、その 後に、情報処理装置からトンネル通信の相手方のアドレスに関する問い合わせがあ つた場合に、サーバ 7jがその相手方のアドレスを送信するようにしてもよい。
[0285] また、実施の形態 9, 12では、トンネル通信識別子受付部 76がトンネル通信識別 子生成部 41によって生成されたトンネル通信識別子を受け付ける場合にっ 、て説 明したが、前述のように、トンネル通信識別子受付部 76は、例えば、入力デバイスに よって入力されたトンネル通信識別子や、記録媒体から読み出されたトンネル通信識 別子等を受け付けてもよい。
[0286] (実施の形態 13)
本発明の実施の形態 13による通信システムについて、図面を参照しながら説明す る。本実施の形態による通信システムは、トンネル通信における通信対象のデータに 対して用いられる 2以上のアドレスが一致したことを検出すると、そのアドレスを変更 するものである。
[0287] 図 32は、本実施の形態による通信システムの構成を示す図である。本実施の形態 による通信システムは、通信回線 3で互いに接続されている第 1の情報処理装置 lkと 、第 2の情報処理装置 2bと、第 3の情報処理装置 3kと、サーバ 4とを備える。なお、第 2の情報処理装置 2bは、実施の形態 4と同様のものであり、サーバ 4は、実施の形態 1と同様のものであり、それらの説明を省略する。
[0288] 本実施の形態による第 1の情報処理装置 lkは、 2以上の情報処理装置とトンネル 通信を行うものであるとする。すなわち、第 1の情報処理装置 lkは、第 2の情報処理 装置 2b、および第 3の情報処理装置 3kとトンネル通信を行うものとする。そのような 場合に、例えば、第 1の情報処理装置 lkが第 2の情報処理装置 2bとのトンネル通信 における通信対象のデータに対して用いるアドレスが「192. 168. 0. 1」であり、また 、第 1の情報処理装置 lkが第 3の情報処理装置 3kとのトンネル通信における通信対 象のデータに対して用いるアドレスが「192. 168. 0. 1」であるとすると、第 1の情報 処理装置 lkが第 2の情報処理装置 2b、および第 3の情報処理装置 3kとのトンネル 通信において用いるアドレスが一致してしまう。トンネル通信とは、仮想的なネットヮー クのインターフェースを用いて通信を行うようなものであり、トンネル通信において用 いるアドレスが一致してしまうと、その仮想的なネットワークのインターフェースに割り 当てられたアドレスが一致することになつてしまう(例えば、同一のアドレスを持つ 2つ の NICを用いて通信を行うような状況となる)。その結果、第 1の情報処理装置 lkは、 通信を行うことができなくなる。このような状況が発生した場合に、本実施の形態によ る第 1の情報処理装置 lkでは、少なくとも一方のアドレスを変更する処理を行うことに よって、第 1の情報処理装置 lkが 2以上のトンネル通信を同時に行うことができるよう にする。
[0289] 図 33は、本実施の形態による第 1の情報処理装置 lkの構成を示すブロック図であ る。本実施の形態による第 1の情報処理装置 lkは、トンネル通信部 11と、アドレス決 定部 14bと、アドレス送信部 15と、判断部 16と、検出部 18と、アドレス変更部 19とを 備える。なお、トンネル通信部 11、アドレス決定部 14b、アドレス送信部 15、判断部 1 6は、トンネル通信部 11が 2以上の通信先の装置とトンネル通信を行うものであり、ァ ドレス送信部 15が変更後のアドレスをも送信するものである以外、実施の形態 4と同 様であり、その説明を省略する。
[0290] 検出部 18は、 2以上のトンネル通信において通信対象のデータに対して用いられ る 2以上のアドレスが一致していることを検出する。例えば、トンネル通信部 11が第 2 の情報処理装置 2bとのトンネル通信における通信対象のデータに用いる第 1の情報 処理装置 lkのアドレスと、第 3の情報処理装置 3kとのトンネル通信における通信対 象のデータに用いる第 1の情報処理装置 lkのアドレスとがー致していることを検出す る。
[0291] アドレス変更部 19は、検出部 18が 2以上のアドレスが一致していることを検出した 場合に、通信対象のデータに対して用いるアドレスを変更する。なお、このアドレスの 変更では、例えば、トンネル通信の通信対象のデータに対して用いるアドレスのうち、 第 1の情報処理装置 lkのアドレスのみを変更してもよぐあるいは、第 1の情報処理 装置 lkのアドレスと、第 1の情報処理装置 lkの通信相手の情報処理装置のアドレス とを変更してもよい。また、アドレス変更部 19は、検出部 18によって一致していること が検出された 2以上のアドレスの一部のアドレスを変更することによって、その 2以上 のアドレスが一致しないようにしてもよく(例えば、 2個のアドレスが一致する場合に、 一方のアドレスのみを変更してもよい)、あるいは、全部のアドレスを変更してもよい( 例えば、 2個のアドレスが一致する場合に、両方のアドレスを変更し、一致しないよう にしてもょ 、)。アドレス変更の具体的な方法にっ 、ては後述する。
[0292] 図 34は、本実施の形態による第 3の情報処理装置 3kの構成を示すブロック図であ る。本実施の形態による第 3の情報処理装置 3kは、アドレス受付部 31と、トンネル通 信部 32とを備える。アドレス受付部 31、トンネル通信部 32は、それぞれ実施の形態 4 による第 2の情報処理装置 2bのアドレス受付部 21、トンネル通信部 22と同様のもの であり、その説明を省略する。
[0293] 次に、本実施の形態による通信システムの動作、特にアドレスを決定する動作、アド レスを変更する動作について説明する。図 35は、第 1の情報処理装置 lkにおけるァ ドレスを決定する動作を示すフローチャートである。なお、図 35のフローチャートにお いて、ステップ S301— S304の処理は、実施の形態 4における図 14のフローチヤ一 トと同様であり、その説明を省略する。
[0294] (ステップ S 901 )検出部 18は、トンネル通信部 11が行う 2以上のトンネル通信にお V、て、通信対象のデータに対して用いられる 2以上のアドレスが一致して!/、るかどうか 判断する。そして、一致していることを検出した場合には、ステップ S902に進み、そう でない場合には、ステップ S301〖こ戻る。
[0295] (ステップ S902)アドレス変更部 19は、通信対象のデータに対して用いるアドレスを 変更する。 [0296] (ステップ S903)アドレス送信部 15は、アドレス変更部 19によって変更されたァドレ スを送信する。このアドレスの送信先は、アドレス変更部 19によって変更されたァドレ スに関する通信を行う情報処理装置である。例えば、第 2の情報処理装置 2bとのトン ネル通信における通信対象のデータに対して用いるアドレスが変更された場合には 、変更後のアドレスを第 2の情報処理装置 2bに送信し、第 3の情報処理装置 3kとのト ンネル通信における通信対象のデータに対して用いるアドレスが変更された場合に は、変更後のアドレスを第 3の情報処理装置 3kに送信する。そして、ステップ S301 に戻る。
[0297] なお、図 35のフローチャートにおいて、電源オフや処理終了の割り込みにより処理 は終了する。また、図 35のフローチャートでは、アドレスの決定に関する処理 (ステツ プ S301— S304)と、アドレスの変更に関する処理 (ステップ S901— S903)とを別個 に行う場合について示している力 アドレスの決定の処理の直後に、アドレスが一致 するかどうかの判断を行い、アドレスが一致しない場合には、アドレスの送信処理を 行い、アドレスが一致する場合には、アドレスの変更処理を行った後に、変更後のァ ドレスを送信する処理を行うようにしてもよ!、。
[0298] 次に、本実施の形態による通信システムの動作について、具体例を用いて説明す る。まず、トンネル通信におけるデータの構成は、図 5と同様である。また、情報処理 装置やサーバの IPアドレス、装置識別子も実施の形態 3の具体例と同様であるとする 。また、第 1の情報処理装置 lk、第 2の情報処理装置 2b、第 3の情報処理装置 3kが それぞれ、 IPアドレスと、装置識別情報とをサーバ 4に登録する処理は、実施の形態 3と同様であり、その説明を省略する。また、第 1の情報処理装置 lkと、第 2の情報処 理装置 2bとの間でのトンネル通信を開始する処理は、実施の形態 4と同様であり、そ の説明を省略する。また、第 1の情報処理装置 lkと、第 3の情報処理装置 3kとの間 でのトンネル通信を開始する処理も、実施の形態 4と同様であり、その説明を省略す る。ここで、第 1の情報処理装置 lkと、第 3の情報処理装置 3kとの間でのトンネル通 信を開始する処理が実行され、そのトンネル通信において、通信対象のデータに用 いる第 1の情報処理装置 lkの IPアドレス「192. 168. 0. 1」が、第 2の情報処理装置 2bとの間でのトンネル通信において、通信対象のデータに用いる第 1の情報処理装 置 lkの IPアドレス「192. 168. 0. 1」と一致したとする。
[0299] すると、検出部 18は、両者のアドレスが一致すると判断し (ステップ S901)、ァドレ ス変更部 19は、第 1の情報処理装置 lkと、第 3の情報処理装置 3kとの間で行われる トンネル通信における通信対象のデータに対して用いられるアドレスを変更する。具 体的には、アドレス変更部 19は、例えば、下記の 3つの方法のいずれかによつてアド レスを変更する (ステップ S902)。ここで、第 1の情報処理装置 lkと、第 3の情報処理 装置 3kとの間で行われるトンネル通信における通信対象のデータに対して用いられ る第 3の情報処理装置 3kのアドレスは、「192. 168. 0. 2」であるとする。また、その アドレスにおいて、最後の 8ビットがホストアドレスであるとする(すなわち、サブネット マスク力 S「255. 255. 255. 0」であるとする)。
[0300] [ホストアドレスを変更する方法]
アドレス変更部 19は、第 1の情報処理装置 lkの IPアドレス「192. 168. 0. 1」のホ ストアドレスに 1を足して、第 1の情報処理装置 lkの IPアドレスを「192. 168. 0. 2」と する。また、アドレス変更部 19は、第 3の情報処理装置 3kの IPアドレス「192. 168. 0. 2」のホストアドレスにも 1を足し、第 3の情報処理装置 3kの IPアドレスを「192. 16 8. 0. 3」とする。
[0301] [ネットワークアドレスを変更する方法]
アドレス変更部 19は、第 1の情報処理装置 lkの IPアドレス「192. 168. 0. 1」のネ ットワークアドレスに 1を足して、第 1の情報処理装置 lkの IPアドレスを「192. 168. 1 . 1」とする。また、アドレス変更部 19は、第 3の情報処理装置 3kの IPアドレス「192. 168. 0. 2」のネットワークアドレスにも 1を足し、第 3の情報処理装置 3kの IPアドレス を「192. 168. 1. 2」とする。
[0302] [ホストアドレスとネットワークアドレスを変更する方法]
アドレス変更部 19は、第 1の情報処理装置 lkの IPアドレス「192. 168. 0. 1」のネ ットワークアドレスに 1を足し、またホストアドレスにも 1を足して、第 1の情報処理装置 lkの IPアドレスを「192. 168. 1. 2」とする。また、アドレス変更部 19は、第 3の情報 処理装置 3kの IPアドレス「192. 168. 0. 2」のネットワークアドレスにも 1を足し、また ホストアドレスにも 1を足して、第 3の情報処理装置 3kの IPアドレスを「192. 168. 1. 3」とする。
[0303] なお、 3通りのアドレス決定方法について説明した力 アドレス変更部 19は、ァドレ スの一致が解消するようにアドレスを変更すればよく、これ以外のアドレス変更方法に よってアドレスを変更してもよい。例えば、この具体例において、第 1の情報処理装置 lkの IPアドレスと、第 3の情報処理装置 3kの IPアドレスとがー致しな!/、ようにできるの であれば、第 1の情報処理装置 lkの IPアドレスのみを変更してもよい。
[0304] また、変更後のアドレスが、他の情報処理装置とのトンネル通信にお!、て通信対象 のデータに対して用いているアドレスと異なるようにすることができるのであれば、アド レス決定を再度行うことによって、アドレスを変更してもよい。この場合に、トンネル通 信における一方の情報処理装置のアドレスのみを変更するのであれば、トンネル通 信における他方の情報処理装置のアドレスと重ならないようにする必要がある。
[0305] アドレス送信部 15は、実施の形態 1の具体例と同様に、変更された第 1の情報処理 装置 lkの IPアドレスと、第 3の情報処理装置 3kの IPアドレスとを第 3の情報処理装置 3kに送信する (ステップ S903)。その結果、それらの IPアドレスが第 3の情報処理装 置 3kにおけるアドレス受付部 31で受け付けられ、トンネル通信部 32に渡される。ま た、トンネル通信部 11は、変更されたアドレスを用いてトンネル通信を行い、トンネル 通信部 32は、アドレス受付部 31で受け付けられた変更後のアドレスを用いてトンネ ル通信を行う。
[0306] 以上のように、本実施の形態による通信システムでは、トンネル通信における通信 対象のデータに対して用いるアドレスが一致した場合であっても、アドレスを変更する ことができる。その結果、 2以上のトンネル通信を行うことができなくなるような事態を 回避することができ、 2以上のトンネル通信を適切に行うことができるようにすることが できる。
[0307] なお、本実施の形態では、実施の形態 4による通信システムにお 、て、第 1の情報 処理装置が検出部 18と、アドレス変更部 19とを備える場合について説明したが、実 施の形態 4以外の通信システムにおいても、情報処理装置が検出部と、アドレス変更 部とを備えてもよい。例えば、実施の形態 7, 10による通信システムにおいて、第 1の 情報処理装置が検出部やアドレス変更部を備えることによって、第 1の情報処理装置 力^以上の装置とトンネル通信を行う場合に、通信対象のデータに対して用いるアド レスが一致した場合には、少なくともそのアドレスのいずれかを変更することによって
、 2以上の装置とのトンネル通信を適切に行うことができるようにしてもよい。
[0308] (実施の形態 14)
本発明の実施の形態 14による通信システムについて、図面を参照しながら説明す る。本実施の形態による通信システムは、各情報処理装置において、アドレスの変更 を行うものである。
[0309] 本実施の形態による通信システムは、図 32と同様であるとする。ただし、第 1の情報 処理装置 lkが第 1の情報処理装置 lmに対応し、第 2の情報処理装置 2bが第 2の情 報処理装置 2mに対応するものとする。
[0310] 図 36は、本実施の形態による第 1の情報処理装置 lmの構成を示すブロック図であ る。本実施の形態による第 1の情報処理装置 lmは、トンネル通信部 11と、アドレス決 定部 14bと、判断部 16と、検出部 18と、アドレス変更部 19と、アドレス変更情報送信 部 20とを備える。なお、トンネル通信部 11、アドレス決定部 14b、判断部 16は、実施 の形態 4と同様のものであり、検出部 18、アドレス変更部 19は、実施の形態 13と同 様のものであり、それらの説明を省略する。
[0311] アドレス変更情報送信部 20は、検出部 18が 2以上のアドレスが一致していることを 検出した場合に、アドレス変更情報を送信する。ここで、アドレス変更情報とは、トンネ ル通信における通信対象のデータに対して用いるアドレスの変更に関する情報であ る。アドレス変更情報は、例えば、アドレスの変更を指示するのみの情報であってもよ ぐあるいは、アドレスをどのように変更するのかに関する指示を含む情報であっても よい。アドレス変更情報は、通信対象のデータに対して用いるアドレスを変更するトン ネル通信を行っている通信相手の情報処理装置に送信される。なお、アドレス変更 情報送信部 20は、送信を行うための送信デバイス (例えば、モデムやネットワーク力 ードなど)を含んでもよぐあるいは含まなくてもよい(この場合には、アドレス変更情報 送信部 20と通信回線 3との間に図示しない送信デバイスが存在することとなる)。また 、アドレス変更情報送信部 20は、ハードウェアによって実現されてもよぐあるいは送 信デバイスを駆動するドライバ等のソフトウェアによって実現されてもよい。 [0312] 図 37は、本実施の形態による第 2の情報処理装置 2mの構成を示すブロック図であ る。本実施の形態による第 2の情報処理装置 2mは、トンネル通信部 22と、アドレス決 定部 26cと、判断部 27と、アドレス変更情報受信部 29と、アドレス変更部 30とを備え る。なお、トンネル通信部 22、アドレス決定部 26c、判断部 27は、実施の形態 5と同 様であり、その説明を省略する。
[0313] アドレス変更情報受信部 29は、アドレス変更情報を受信する。なお、アドレス変更 情報受信部 29は、受信を行うための受信デバイス (例えば、モデムやネットワーク力 ードなど)を含んでもよぐあるいは含まなくてもよい(この場合には、アドレス変更情報 受信部 29と通信回線 3との間に図示しない受信デバイスが存在することとなる)。また 、アドレス変更情報受信部 29は、ハードウェアによって実現されてもよぐあるいは受 信デバイスを駆動するドライバ等のソフトウェアによって実現されてもよい。
[0314] アドレス変更部 30は、アドレス変更情報受信部 29がアドレス変更情報を受信した 場合に、トンネル通信における通信対象のデータに対して用いるアドレスを変更する 。このアドレス変更部 30がアドレスを変更する処理は、実施の形態 13のアドレス変更 部 19による処理と同様であり、その説明を省略する。
[0315] 次に、本実施の形態による通信システムの動作、特にアドレスを決定し、アドレスを 変更する動作について説明する。図 38は、第 1の情報処理装置 lmによるアドレスを 決定し、アドレスを変更する動作を示すフローチャートである。なお、図 38において、 ステップ S1001以外の処理は、実施の形態 13の図 35のフローチャートと同様であり 、その説明を省略する。
[0316] (ステップ S1001)アドレス変更情報送信部 20は、アドレス変更情報を送信する。こ のアドレス変更情報の送信先は、通信対象のデータに対して用いるアドレスを変更 するトンネル通信を行っている通信相手の情報処理装置である。
[0317] なお、図 38のフローチャートにおいて、電源オフや処理終了の割り込みにより処理 は終了する。
[0318] 図 39は、第 2の情報処理装置 2mによるアドレスを決定し、アドレスを変更する動作 を示すフローチャートである。なお、図 39において、ステップ S1101、 S1102以外の 処理は、トンネル通信部 11がトンネル通信部 22となり、アドレス決定部 14bがアドレス 決定部 26cとなり、判断部 16が判断部 27となる以外、実施の形態 13の図 35のフロ 一チャートと同様であり、その説明を省略する。
[0319] (ステップ S1101)アドレス変更情報受信部 29は、アドレス変更情報を受信したかど うか判断する。そして、アドレス変更情報を受け付けた場合には、ステップ S 1102に 進み、そうでない場合には、ステップ S301〖こ戻る。
[0320] (ステップ S1102)アドレス変更部 30は、トンネル通信における通信対象のデータ に対して用いるアドレスを変更する。その後、トンネル通信部 22は、その変更後のァ ドレスを用いて、トンネル通信を行うことになる。そして、ステップ S301に戻る。
[0321] なお、図 39のフローチャートにおいて、電源オフや処理終了の割り込みにより処理 は終了する。
[0322] 次に、本実施の形態による通信システムの動作について、具体例を用いて説明す る。まず、トンネル通信におけるデータの構成は、図 5と同様である。また、情報処理 装置やサーバの IPアドレス、装置識別子も実施の形態 13の具体例と同様であるとす る。まず、第 1の情報処理装置 lmと、第 3の情報処理装置 3kとがトンネル通信を開 始し、その後に、第 1の情報処理装置 lmと、第 2の情報処理装置 2mとがトンネル通 信を開始する処理については、実施の形態 5と同様であり、その説明を省略する。
[0323] 第 1の情報処理装置 lmと、第 2の情報処理装置 2mとがトンネル通信を開始した後 に、第 1の情報処理装置 lmが第 3の情報処理装置 3kとのトンネル通信における通 信対象のデータに対して用いている第 1の情報処理装置 lmの IPアドレスと、第 2の 情報処理装置 2mとのトンネル通信における通信対象のデータに対して用いている 第 1の情報処理装置 lmの IPアドレスとが共に「192. 168. 0. 1」であり、一致すると 検出部 18によって検出されたとする (ステップ S901)。すると、アドレス変更情報送信 部 20は、第 2の情報処理装置 2mにアドレス変更情報を送信する (ステップ S1001) 。また、第 1の情報処理装置 lmのアドレス変更部 19は、実施の形態 13と同様にして 、第 2の情報処理装置 2mとのトンネル通信における通信対象のデータに対して用い る IPアドレスを変更する(ステップ S902)。
[0324] 第 2の情報処理装置 2mのアドレス変更情報受信部 29は、第 1の情報処理装置 lm 力も送信されたアドレス変更情報を、トンネル通信部 22を介して受け付ける (ステップ SI 101)。そして、アドレス変更部 30は、第 2の情報処理装置 2mが第 1の情報処理 装置 lmとのトンネル通信における通信対象のデータに対して用 ヽる IPアドレスを変 更する(ステップ S 1102)。このアドレス変更部 30におけるアドレスの変更は、第 1の 情報処理装置 lmにおけるアドレス変更部 19と同様になされるものとする。したがつ て、第 1の情報処理装置 lmと、第 2の情報処理装置 2mとにおいて、別々にアドレス の変更がなされたとしても、その変更後のアドレスは、第 1の情報処理装置 lmと、第 2の情報処理装置 2mとにおいて同じものであるとする。
[0325] なお、アドレスをどのように変更するのかを示す情報力 アドレス変更情報に含まれ るようにしてもよい。例えば、第 1の情報処理装置 lmにおいて、第 1の情報処理装置 lmと、第 2の情報処理装置 2mのホストアドレスに 1を足すアドレス変更を行う場合に は、そのアドレス変更を示す情報を含むアドレス変更情報をアドレス変更情報送信部 20が第 2の情報処理装置 2mに送信することによって、第 2の情報処理装置 2mでは 、そのアドレス変更情報に基づいて、第 1の情報処理装置 lmと、第 2の情報処理装 置 2mのホストアドレスに 1を足すアドレス変更を行うことができる。その結果、第 1の情 報処理装置 lmと、第 2の情報処理装置 2mとにおいて、別個にアドレスの変更を行つ たとしても、その変更後のアドレスが同一のものとなる。
[0326] 以上のように、本実施の形態による通信システムでは、第 1の情報処理装置 lmに おいて、 2以上のアドレスが一致することが検知された場合に、そのアドレスを変更す ると共に、アドレス変更情報を通信相手の第 2の情報処理装置 2mに送信することに よって、第 2の情報処理装置 2mにおいて、第 1の情報処理装置 lmにおいて行われ たのと同様のアドレスの変更を行うことができる。その結果、第 1の情報処理装置 lm と、第 2の情報処理装置 2mとは、その変更後のアドレスを用いてトンネル通信を行う ことができ、また、第 1の情報処理装置 lmにおいて発生したアドレスの一致をも解消 することができる。
[0327] なお、本実施の形態では、実施の形態 5による通信システムにおいて、第 1の情報 処理装置が検出部 18等を備え、第 2の情報処理装置がアドレス変更情報受信部 29 等を備える場合について説明した力 実施の形態 5以外の通信システムにおいても、 第 1の情報処理装置等が検出部 18等を備えてもよい。例えば、実施の形態 8, 11に よる通信システムにおいて、第 1の情報処理装置や第 2の情報処理装置が検出部や アドレス変更部を備えることによって、第 1の情報処理装置が 2以上の装置とトンネル 通信を行う場合に、通信対象のデータに対して用いるアドレスが一致した場合には、 少なくともそのアドレスのいずれかを変更することによって、 2以上の装置とのトンネル 通信を適切に行うことができるようにしてもょ 、。
[0328] (実施の形態 15)
本発明の実施の形態 15による通信システムについて、図面を参照しながら説明す る。本実施の形態による通信システムは、トンネル通信における通信対象のデータに 対して用いられる 2以上のアドレスが一致したことを検出すると、そのアドレスをサー バにおいて変更するものである。
[0329] 本実施の形態による通信システムは、図 32と同様であるとする。ただし、第 1の情報 処理装置 lkが第 1の情報処理装置 Inに対応し、第 2の情報処理装置 2bが第 2の情 報処理装置 2nに対応し、サーノ がサーバ 7nに対応するものとする。なお、第 3の 情報処理装置 3kは、実施の形態 13と同様であるとする。
[0330] 図 40は、本実施の形態による第 1の情報処理装置 Inの構成を示すブロック図であ る。本実施の形態による第 1の情報処理装置 Inは、アドレス受付部 51と、トンネル通 信部 52と、検出部 53と、アドレス一致情報送信部 54と、アドレス変更情報受信部 55 と、アドレス変更部 56とを備える。なお、アドレス受付部 51、トンネル通信部 52は、ト ンネル通信部 52が 2以上の通信先の装置とトンネル通信を行うものである以外、実 施の形態 3と同様であり、検出部 53は、実施の形態 13の検出部 18と同様のものであ り、それらの説明を省略する。
[0331] アドレス一致情報送信部 54は、検出部 53が 2以上のアドレスが一致していることを 検出した場合に、アドレス一致情報をサーバ 7nに送信する。ここで、アドレス一致情 報とは、トンネル通信における通信対象のデータに対して用いられるアドレスが一致 している旨を示す情報である。このアドレス一致情報には、例えば、どのトンネル通信 における通信対象のデータに対して用いるアドレス力 他のトンネル通信における通 信対象のデータに対して用いるアドレスと一致したのかを示す情報などが含まれても よい。なお、アドレス一致情報送信部 54は、送信を行うための送信デバイス (例えば 、モデムやネットワークカードなど)を含んでもよぐあるいは含まなくてもよい(この場 合には、アドレス一致情報送信部 54と通信回線 3との間に図示しない送信デバイス が存在することとなる)。またアドレス一致情報送信部 54は、ハードウェアによって実 現されてもよぐあるいは送信デバイスを駆動するドライバ等のソフトウェアによって実 現されてもよい。
[0332] アドレス変更情報受信部 55は、アドレス変更情報を受信する。ここで、アドレス変更 情報とは、アドレスの変更に関する情報である。アドレス変更情報は、例えば、実施の 形態 13で説明したように、アドレスの変更を指示するのみの情報であってもよぐアド レスをどのように変更するのかに関する指示 (例えば、ホストアドレスに 1を足すなど) を含む情報であってもよぐあるいは、変更後のアドレスを示す情報であってもよい。 なお、アドレス変更情報受信部 55は、受信を行うための受信デバイス (例えば、モデ ムゃネットワークカードなど)を含んでもよぐあるいは含まなくてもよい(この場合には 、アドレス変更情報受信部 55と通信回線 3との間に図示しない受信デバイスが存在 することとなる)。また、アドレス変更情報受信部 55は、ハードウェアによって実現され てもよぐあるいは受信デバイスを駆動するドライバ等のソフトウェアによって実現され てもよい。
[0333] アドレス変更部 56は、通信対象のデータに対して用いるアドレスを変更する。この アドレスの変更は、アドレス変更情報受信部が受信したアドレス変更情報に基づいて 行われる。例えば、アドレス変更情報がどのようにアドレスを変更するのかを示す情報 である場合には、アドレス変更部 56は、そのアドレス変更情報に応じて、トンネル通 信における通信対象のデータに対して用いるアドレスを変更する。
[0334] 図 41は、本実施の形態による第 2の情報処理装置 2nの構成を示すブロック図であ る。本実施の形態による第 2の情報処理装置 2nは、アドレス受付部 61と、トンネル通 信部 62と、アドレス変更情報受信部 63と、アドレス変更部 64とを備える。なお、ァドレ ス受付部 61、トンネル通信部 62は、実施の形態 3と同様であり、その説明を省略する 。また、アドレス変更情報受信部 63、アドレス変更部 64は、上述のアドレス変更情報 受信部 55、アドレス変更部 56と同様のものであり、その説明を省略する。
[0335] 図 42は、本実施の形態によるサーバ 7nの構成を示すブロック図である。本実施の 形態によるサーバ 7nは、通信制御部 71と、アドレス決定部 73dと、アドレス送信部 74 と、判断部 75と、アドレス一致情報受信部 77と、アドレス変更情報構成部 78と、アド レス変更情報送信部 79とを備える。なお、通信制御部 71、アドレス決定部 73d、アド レス送信部 74、判断部 75は、実施の形態 6と同様であり、その説明を省略する。
[0336] アドレス一致情報受信部 77は、アドレス一致情報を受信する。なお、アドレス一致 情報受信部 77は、受信を行うための受信デバイス (例えば、モデムやネットワーク力 ードなど)を含んでもよぐあるいは含まなくてもよい(この場合には、アドレス一致情報 受信部 77と通信回線 3との間に図示しない受信デバイスが存在することとなる)。また 、アドレス一致情報受信部 77は、ハードウェアによって実現されてもよぐあるいは受 信デバイスを駆動するドライバ等のソフトウェアによって実現されてもよい。
[0337] アドレス変更情報構成部 78は、アドレス一致情報受信部 77がアドレス一致情報を 受信した場合に、アドレス変更情報を構成する。アドレス変更情報構成部 78は、例え ば、アドレス変更情報を新たに生成してもよぐあるいは、所定の記録媒体等におい て記憶されて 、るアドレス変更情報を読み出してもよ 、。
[0338] アドレス変更情報送信部 79は、アドレス変更情報構成部 78が構成したアドレス変 更情報を送信する。なお、アドレス変更情報送信部 79は、送信を行うための送信デ バイス(例えば、モデムやネットワークカードなど)を含んでもよぐあるいは含まなくて もよい (この場合には、アドレス変更情報送信部 79と通信回線 3との間に図示しない 送信デバイスが存在することとなる)。また、アドレス変更情報送信部 79は、ハードウ エアによって実現されてもよぐあるいは送信デバイスを駆動するドライバ等のソフトゥ エアによって実現されてもよ!、。
[0339] 次に、本実施の形態による通信システムの動作、特にアドレスを決定し、アドレスを 変更する動作について説明する。図 43は、サーバ 7nにおけるアドレスを決定する動 作を示すフローチャートである。なお、ステップ S401— S404の処理は、実施の形態 6の図 18のフローチャートと同様であり、その説明を省略する。
[0340] (ステップ S1201)アドレス一致情報受信部 77は、アドレス一致情報を受信したかど うか判断する。そして、アドレス一致情報を受信した場合には、ステップ S1202に進 み、そうでない場合には、ステップ S401〖こ戻る。 [0341] (ステップ S1202)アドレス変更情報構成部 78は、アドレス変更情報を構成する。
[0342] (ステップ S1203)アドレス変更情報送信部 79は、アドレス変更情報構成部 78によ つて構成されたアドレス変更情報を、情報処理装置に送信する。そして、ステップ S4
01に戻る。
[0343] なお、図 43のフローチャートにおいて、電源オフや処理終了の割り込みにより処理 は終了する。
[0344] 次に、本実施の形態による通信システムの動作について、具体例を用いて説明す る。まず、トンネル通信におけるデータの構成は、図 5と同様である。また、情報処理 装置やサーバの IPアドレス、装置識別子も実施の形態 13の具体例と同様であるとす る。まず、第 1の情報処理装置 Inと、第 3の情報処理装置 3kとがトンネル通信を開始 し、その後に、第 1の情報処理装置 Inと、第 2の情報処理装置 2nとがトンネル通信を 開始する処理については、実施の形態 14と同様であり、その説明を省略する。
[0345] 第 1の情報処理装置 Inと、第 2の情報処理装置 2nとがトンネル通信を開始した後 に、第 1の情報処理装置 Inが第 3の情報処理装置 3kとのトンネル通信における通信 対象のデータに対して用いている第 1の情報処理装置 Inの IPアドレスと、第 2の情報 処理装置 2nとのトンネル通信における通信対象のデータに対して用いている第 1の 情報処理装置 Inの IPアドレスとが共に「192. 168. 0. 1」であり、一致すると検出部 53によって検出されたとする。すると、アドレス一致情報送信部 54は、第 1の情報処 理装置 Inと、第 2の情報処理装置 2nとの間で行われるトンネル通信における通信対 象のデータに対して用いる第 1の情報処理装置 Inのアドレス「192. 168. 0. 1」と、 第 2の情報処理装置 2nのアドレス「192. 168. 0. 2」と、第 1の情報処理装置 Inの アドレスが他のトンネル通信で用いられるアドレスと一致した旨を示す情報と、第 2の 情報処理装置 2nの装置識別情報とを含むアドレス一致情報をサーバ 7nに送信する
[0346] すると、そのアドレス一致情報がアドレス一致情報受信部 77で受信される (ステップ S1201) oそして、アドレス変更情報構成部 78は、第 1の情報処理装置 Inと、第 2の 情報処理装置 2nとの間で行われるトンネル通信における通信対象のデータに対して 用いられるアドレス力 他のトンネル通信の通信対象のデータに対して用いられるァ ドレスと一致したと判断し、第 1の情報処理装置 Inと、第 2の情報処理装置 2nとの間 で行われるトンネル通信の通信対象のデータに対して用いられるアドレスを変更する ためのアドレス変更情報を構成する(ステップ S1202)。このアドレス変更情報は、ホ ストアドレスに 1を足す旨の指示を含む情報であるとする。そのアドレス変更情報は、 アドレス変更情報送信部 79によって第 1の情報処理装置 Inと、第 2の情報処理装置 2nとに送信される (ステップ S1203)。アドレス変更情報送信部 79は、アドレス変更 情報の送信先である第 1の情報処理装置 Inのアドレスを、アドレス一致情報の送信 元アドレス力も知ることができ、また、第 2の情報処理装置 2nのアドレスを、アドレス一 致情報に含まれた第 2の情報処理装置 2nの装置識別情報と、図 11で示されるァドレ ス識別子対応情報とを用いることによって知ることができる。
[0347] そのアドレス変更情報は、第 1の情報処理装置 Inのアドレス変更情報受信部 55で 受信され、アドレス変更部 56は、そのアドレス変更情報に応じて、第 1の情報処理装 置 Inの IPアドレス「192. 168. 0. 1」、および第 2の情報処理装置 2nの IPアドレス「 192. 168. 0. 2」に 1を足すことによってアドレスの変更を行う。また、アドレス変更情 報は、第 2の情報処理装置 2nのアドレス変更情報受信部 63で受信され、第 2の情報 処理装置 2のアドレス変更部 64も、そのアドレス変更情報に応じて、第 1の情報処理 装置 Inの IPアドレス「192. 168. 0. 1」、および第 2の情報処理装置 2nの IPアドレス 「192. 168. 0. 2」に 1を足すことによってアドレスの変更を行う。その後、変更後の アドレスによって、第 1の情報処理装置 Inと、第 2の情報処理装置 2nとの間でのトン ネル通信が行われる。
[0348] この具体例では、アドレス変更情報がアドレスをどのように変更するのかを示す情報 である場合について説明したが、アドレス変更情報は、変更後のアドレスを示す情報 であってもよぐその場合には、アドレス変更部 56等は、第 1の情報処理装置 Inのァ ドレス等を、そのアドレス変更情報の示すアドレスに変更することになる。
[0349] 以上のように、本実施の形態による通信システムでは、第 1の情報処理装置 Inにお いて、 2以上のアドレスが一致することが検知された場合に、 2以上のアドレスが一致 したことを示すアドレス一致情報をサーバ 7nに送信することによって、サーバ 7nに、 アドレスが一致した旨を通知することができる。その後、サーバ 7nがアドレス一致情 報の受信に応じて、アドレス変更情報を情報処理装置に送ることによって、各情報処 理装置において、そのアドレス変更情報に応じたアドレスの変更を行うことができ、そ の結果、第 1の情報処理装置 Inと、第 2の情報処理装置 2nとは、その変更後のアド レスを用いてトンネル通信を行うことができ、また、第 1の情報処理装置 Inにおいて 発生したアドレスの一致をも解消することができる。
[0350] なお、本実施の形態では、実施の形態 6による通信システムにおいて、第 1の情報 処理装置がアドレス一致情報送信部 54等をさらに備え、第 2の情報処理装置がアド レス変更情報受信部 63等をさらに備え、サーバがアドレス一致情報受信部 77等をさ らに備える場合について説明した力 実施の形態 6以外の通信システムにおいても、 サーバ等がアドレス一致情報受信部 77等を備えることによって、本実施の形態と同 様に、サーノから送信されるアドレス変更情報に基づいたアドレスの変更が各情報 処理装置で行われるようにしてもよい。例えば、実施の形態 9, 12による通信システム において、サーバがアドレス一致情報受信部や、アドレス変更情報構成部、アドレス 変更情報送信部を備えることによって、第 1の情報処理装置が 2以上の装置とトンネ ル通信を行う場合に、通信対象のデータに対して用いるアドレスが一致した場合に は、少なくともそのアドレスのいずれかを変更することによって、 2以上の装置とのトン ネル通信を適切に行うことができるようにしてもよい。
[0351] また、実施の形態 13— 15では、具体例において 2個のアドレスが一致した場合に アドレスを変更する場合について説明した力 3個以上のアドレスが一致した場合に も、上記と同様のアドレス変更の処理を行い、アドレスの一致を解消するようにしても よい。
[0352] また、上記各実施の形態の具体例において、第 1の情報処理装置が第 2の情報処 理装置の装置識別子を記録媒体から受け取る場合について説明したが、第 1の情報 処理装置は、第 2の情報処理装置の装置識別子を別の手段、例えば、入力デバイス による入力や、通信回線を介した受信等によって受け取ってもよ 、。
[0353] また、上記各実施の形態において、第 1の情報処理装置と通信回線 3との間や、第 2の情報処理装置と通信回線 3との間に、単数または複数の NAT機能を有する通信 制御装置 (例えば、ルータ)が存在してもよい。この場合には、その通信制御装置に おいて、 IPアドレスの変換等が行われることとなる。
[0354] また、上記各実施の形態では、サーバ 4, 7を IPアドレスによって特定する場合につ いて説明したが、サーバ 4, 7をドメイン名(例えば、 server, pana. netなど)によって 特定してもよい。この場合には、そのドメイン名が DNSサーバを用いて、 IPアドレスに 変換されることにより、サーバ 4, 7を特定することができる。
[0355] また、上記各実施の形態における通信回線 3を介して行われる通信のプロトコルは 、 IPv4 (Internet Protocol version 4)であってもよく、あるいは、 IPv6 (Interne t Protocol version 6)で &)っ飞もよ ヽ。
[0356] また、上記各実施の形態において、数字で示される装置識別子を用いる場合につ いて主に説明した力 装置識別子はその他のものであってもよぐ例えば、アルファ ベットや平仮名などの文字列で示されるものであってもよい。
[0357] また、上記各実施の形態にお!、て、各処理 (各機能)は、単一の装置 (システム)に よって集中処理されることによって実現されてもよぐあるいは、複数の装置によって 分散処理されることによって実現されてもょ 、。
[0358] また、上記各実施の形態において、各構成要素は専用のハードウェアにより構成さ れてもよぐあるいは、ソフトウェアにより実現可能な構成要素については、プログラム を実行することによって実現されてもよい。例えば、ハードディスクや半導体メモリ等 の記録媒体に記録されたソフトウェア 'プログラムを CPU等のプログラム実行部が読 み出して実行することによって、各構成要素が実現され得る。なお、上記各実施の形 態における情報処理装置、またはサーバを実現するソフトウェアは、以下のようなプロ グラムである。つまり、このプログラムは、コンピュータに、第 1の情報処理装置を識別 する第 1の装置識別子と、第 2の情報処理装置を識別する第 2の装置識別子とに基 づ 、て、第 1の情報処理装置と第 2の情報処理装置との間で行われるトンネル通信 においてカプセルィ匕される通信対象のデータに対して用いるアドレスを決定するアド レス決定ステップを実行させるためのものである。
[0359] また、このプログラムでは、コンピュータに、第 1の装置識別子および/または第 2の 装置識別子を受け付ける識別子受付ステップをさらに実行させ、アドレス決定ステツ プで、識別子受付ステップで受け付けた第 1の装置識別子および Zまたは第 2の装 置識別子を用いて、アドレスの決定を行ってもよい。
[0360] また、他のプログラムは、コンピュータに、トンネル通信を行う第 1の情報処理装置と 、第 2の情報処理装置とのいずれが発呼側であり、着呼側であるのかについて判断 する判断ステップと、判断ステップによる判断結果に基づいて、第 1の情報処理装置 と第 2の情報処理装置との間で行われるトンネル通信においてカプセルィ匕される通 信対象のデータに対して用いるアドレスを決定するアドレス決定ステップと、を実行さ せるためのものである。
[0361] また、他のプログラムは、コンピュータに、第 1の情報処理装置を識別する第 1の装 置識別子と、第 2の情報処理装置を識別する第 2の装置識別子と、第 1の情報処理 装置と第 2の情報処理装置との間で行われるトンネル通信を識別するトンネル通信識 別子とに基づいて、第 1の情報処理装置と、第 2の情報処理装置との間で行われるト ンネル通信にぉ 、てカプセルィ匕される通信対象のデータに対して用いるアドレスを 決定するアドレス決定ステップを実行させるためのものである。
[0362] また、このプログラムでは、コンピュータに、第 1の装置識別子および/または第 2の 装置識別子を受け付ける識別子受付ステップをさらに実行させ、アドレス決定ステツ プでは、識別子受付ステップで受け付けた第 1の装置識別子および/または第 2の 装置識別子を用いて、アドレスの決定を行ってもよい。
[0363] また、このプログラムでは、コンピュータに、トンネル通信識別子を受け付けるトンネ ル通信識別子受付ステップをさらに実行させ、アドレス決定ステップでは、トンネル通 信識別子受付ステップで受け付けたトンネル通信識別子を用いて、アドレスの決定を 行ってもよい。
[0364] また、他のプログラムは、コンピュータに、トンネル通信を行う第 1の情報処理装置と 、第 2の情報処理装置とのいずれが発呼側であり、着呼側であるのかについて判断 する判断ステップと、判断ステップによる判断結果と、第 1の情報処理装置と第 2の情 報処理装置との間で行われるトンネル通信を識別するトンネル通信識別子とに基づ いて、第 1の情報処理装置と、第 2の情報処理装置との間で行われるトンネル通信に おいてカプセルィ匕される通信対象のデータに対して用いるアドレスを決定するァドレ ス決定ステップと、を実行させるためのものである。 [0365] また、このプログラムでは、コンピュータに、トンネル通信識別子を受け付けるトンネ ル通信識別子受付ステップをさらに実行させ、アドレス決定ステップでは、トンネル通 信識別子受付ステップで受け付けたトンネル通信識別子を用いて、アドレスの決定を 行ってもよい。
[0366] また、他のプログラムは、コンピュータに、 2以上の通信先の装置とトンネル通信を 行う通信元の情報処理装置における処理を実行させるためのプログラムであって、 2 以上のトンネル通信にお 、てカプセル化される各通信対象のデータに対して用 ヽら れる 2以上のアドレスが一致していることを検出する検出ステップと、検出ステップで 2 以上のアドレスが一致していることを検出した場合に、通信対象のデータに対して用 いるアドレスを変更するアドレス変更ステップと、を実行させるためのものである。
[0367] また、他のプログラムは、コンピュータに、通信先の装置とトンネル通信を行う通信 元の情報処理装置における処理を実行させるためのプログラムであって、アドレスの 変更に関する情報であるアドレス変更情報を受信するアドレス変更情報受信ステップ と、アドレス変更情報に基づいて、通信対象のデータに対して用いるアドレスを変更 するアドレス変更ステップと、を実行させるためのものである。
[0368] また、他のプログラムは、コンピュータに、 2以上の通信先の装置とトンネル通信を 行う通信元の情報処理装置における処理を実行させるためのプログラムであって、 2 以上のトンネル通信にお 、てカプセル化される各通信対象のデータに対して用 ヽら れる 2以上のアドレスが一致していることを検出する検出ステップと、検出ステップで 2 以上のアドレスが一致していることを検出した場合に、アドレスが一致している旨を示 す情報であるアドレス一致情報を送信するアドレス一致情報送信ステップと、アドレス の変更に関する情報であるアドレス変更情報を受信するアドレス変更情報受信ステツ プと、アドレス変更情報に基づいて、通信対象のデータに対して用いるアドレスを変 更するアドレス変更ステップと、を実行させるためのものである。
[0369] また、他のプログラムは、コンピュータに、 2以上のトンネル通信において、カプセル 化される通信対象のデータに対して用いられる 2以上のアドレスが一致している旨を 示す情報であるアドレス一致情報を受信するアドレス一致情報受信ステップと、ァドレ スの一致が解消するように、アドレスの変更に関する情報であるアドレス変更情報を 構成するアドレス変更情報構成ステップと、アドレス変更情報を送信するアドレス変更 情報送信ステップと、を実行させるためのものである。
[0370] なお、上記プログラムにお 、て、情報を送信する識別子受付ステップなどでは、ハ 一ドウエアによって行われる処理、例えば、識別子受付ステップにおける入力デバィ スなどで行われる処理 (ノヽ一ドウ アでしか行われな 、処理)は含まれな!/、。
[0371] また、このプログラムは、サーバなど力 ダウンロードされることによって実行されても よぐ所定の記録媒体 (例えば、 CD— ROMなどの光ディスクや磁気ディスク、半導体 メモリなど)に記録されたプログラムが読み出されることによって実行されてもよい。
[0372] また、このプログラムを実行するコンピュータは、単数であってもよぐ複数であって もよい。すなわち、集中処理を行ってもよぐあるいは分散処理を行ってもよい。
産業上の利用可能性
[0373] 以上のように、本発明による通信システム等は、情報処理装置間におけるトンネル 通信で用いられるアドレスを簡易なアルゴリズムによって求めることができるものであり 、トンネル通信を行う通信システム等にぉ 、て有用である。

Claims

請求の範囲
[1] 通信先の装置とトンネル通信を行う通信元の情報処理装置であって、
通信対象のデータをカプセル化して前記トンネル通信を行うトンネル通信部と、 前記通信先の装置を識別する通信先装置識別子を受け付ける識別子受付部と、 前記情報処理装置を識別する通信元装置識別子を記憶している識別子記憶部と、 前記通信先装置識別子と、前記通信元装置識別子とに基づいて、前記通信対象の データに対して用いるアドレスを決定するアドレス決定部と、を備えた情報処理装置
[2] 前記アドレス決定部は、あら力じめ決められている複数のアドレス力 選択することに より、前記通信対象のデータに対して用いるアドレスを決定する、請求項 1記載の情 報処理装置。
[3] 前記アドレス決定部は、前記通信先装置識別子と、前記通信元装置識別子とを比較 し、その比較結果に基づいて、前記通信対象のデータに対して用いるアドレスを選 択する、請求項 2記載の情報処理装置。
[4] 通信先の装置とトンネル通信を行う通信元の情報処理装置であって、
通信対象のデータをカプセル化して前記トンネル通信を行うトンネル通信部と、 前記トンネル通信にお!ヽて、前記情報処理装置が発呼側か着呼側かを判断する判 断部と、
前記判断部による判断結果に基づいて、前記通信対象のデータに対して用いるアド レスを決定するアドレス決定部と、を備えた情報処理装置。
[5] 前記アドレス決定部は、あら力じめ決められている複数のアドレス力 選択することに より、前記通信対象のデータに対して用いるアドレスを決定する、請求項 4記載の情 報処理装置。
[6] 通信先の装置とトンネル通信を行う通信元の情報処理装置であって、
通信対象のデータをカプセル化して前記トンネル通信を行うトンネル通信部と、 前記通信先の装置を識別する通信先装置識別子を受け付ける識別子受付部と、 前記情報処理装置を識別する通信元装置識別子を記憶している識別子記憶部と、 前記トンネル通信を識別するトンネル通信識別子を受け付けるトンネル通信識別子 受付部と、
前記通信先装置識別子と、前記通信元装置識別子と、前記トンネル通信識別子とに 基づいて、前記通信対象のデータに対して用いるアドレスを決定するアドレス決定部 と、を備えた情報処理装置。
[7] 前記アドレス決定部は、前記通信先装置識別子と、前記通信元装置識別子とに基づ いて、前記通信対象のデータに対して用いるアドレスの一部を決定し、前記トンネル 通信識別子に基づいて、前記通信対象のデータに対して用いるアドレスの他の部分 を決定する、請求項 6記載の情報処理装置。
[8] 通信先の装置とトンネル通信を行う通信元の情報処理装置であって、
通信対象のデータをカプセル化して前記トンネル通信を行うトンネル通信部と、 前記トンネル通信にお!ヽて、前記情報処理装置が発呼側か着呼側かを判断する判 断部と、
前記トンネル通信を識別するトンネル通信識別子を受け付けるトンネル通信識別子 受付部と、
前記判断部による判断結果と、前記トンネル通信識別子とに基づいて、前記通信対 象のデータに対して用いるアドレスを決定するアドレス決定部と、を備えた情報処理 装置。
[9] 前記アドレス決定部は、前記トンネル通信識別子に基づ!ヽて、前記通信対象のデー タに対して用いるアドレスの一部を決定し、前記判断部による判断結果に基づいて、 前記通信対象のデータに対して用 、るアドレスの他の部分を決定する、請求項 8記 載の情報処理装置。
[10] 前記アドレス決定部は、あら力じめ決められている複数のアドレス力も選択することに より、前記通信対象のデータに対して用いるアドレスの少なくとも一部を決定する、請 求項 6から 9の 、ずれか記載の情報処理装置。
[11] 前記トンネル通信部は 2以上の通信先の装置とトンネル通信を行うものであり、
前記 2以上のトンネル通信にお 、て前記通信対象のデータに対して用 ヽられる 2以 上のアドレスが一致して 、ることを検出する検出部と、
前記検出部が 2以上のアドレスが一致していることを検出した場合に、前記通信対象 のデータに対して用いるアドレスを変更するアドレス変更部と、をさらに備えた、請求 項 1から 9の 、ずれか記載の情報処理装置。
[12] アドレスの変更に関する情報であるアドレス変更情報を受信するアドレス変更情報受 信部と、
前記アドレス変更情報に基づいて、前記通信対象のデータに対して用いるアドレスを 変更するアドレス変更部と、をさらに備えた、請求項 1から 9のいずれか記載の情報処 理装置。
[13] 前記トンネル通信部は 2以上の通信先の装置とトンネル通信を行うものであり、
前記 2以上のトンネル通信にお 、て前記通信対象のデータに対して用 ヽられる 2以 上のアドレスが一致して 、ることを検出する検出部と、
前記検出部が 2以上のアドレスが一致していることを検出した場合に、アドレスが一致 して 、る旨を示す情報であるアドレス一致情報を送信するアドレス一致情報送信部と アドレスの変更に関する情報であるアドレス変更情報を受信するアドレス変更情報受 信部と、
前記アドレス変更情報に基づいて、前記通信対象のデータに対して用いるアドレスを 変更するアドレス変更部と、をさらに備えた、請求項 1から 9のいずれか記載の情報処 理装置。
[14] 前記アドレス決定部が決定したアドレスを出力するアドレス出力部をさらに備えた、請 求項 1から 9の 、ずれか記載の情報処理装置。
[15] 前記アドレス出力部は、前記アドレス決定部が決定したアドレスを送信する、請求項 1
4記載の情報処理装置。
[16] 請求項 1から 9の 、ずれか記載の情報処理装置と、
前記通信先の装置と、
前記情報処理装置と前記通信先の装置との間で行われるトンネル通信を確立させる ための処理を行うサーバと、を備えた通信システム。
[17] 第 1の情報処理装置を識別する第 1の装置識別子、および第 2の情報処理装置を識 別する第 2の装置識別子を受け付ける識別子受付部と、 前記識別子受付部が受け付けた前記第 1の装置識別子と、前記第 2の装置識別子と に基づいて、前記第 1の情報処理装置と、前記第 2の情報処理装置との間で行われ るトンネル通信においてカプセルィ匕される通信対象のデータに対して用いる前記第 1 の情報処理装置の第 1のアドレス、および前記第 2の情報処理装置の第 2のアドレス を決定するアドレス決定部と、
前記アドレス決定部が決定した前記第 1のアドレスおよび前記第 2のアドレスを出力 するアドレス出力部と、を備えたサーバ。
[18] 前記アドレス決定部は、あら力じめ決められているアドレス力も所定のアドレスを選択 することにより、前記第 1のアドレス、および前記第 2のアドレスを決定する、請求項 17 記載のサーバ。
[19] 前記アドレス決定部は、前記第 1の装置識別子と前記第 2の装置識別子とを比較し、 その比較結果に基づいて前記アドレスを選択する、請求項 18記載のサーバ。
[20] トンネル通信を行う第 1の情報処理装置と、第 2の情報処理装置との 、ずれが発呼側 であり、着呼側であるのかについて判断する判断部と、
前記判断部による判断結果に基づいて、前記第 1の情報処理装置と、前記第 2の情 報処理装置との間で行われるトンネル通信においてカプセルィ匕される通信対象のデ ータに対して用 、る前記第 1の情報処理装置の第 1のアドレス、および前記第 2の情 報処理装置の第 2のアドレスを決定するアドレス決定部と、
前記アドレス決定部が決定した前記第 1のアドレスおよび前記第 2のアドレスを出力 するアドレス出力部と、を備えたサーバ。
[21] 前記アドレス決定部は、あら力じめ決められている複数のアドレス力も選択することに より、前記第 1のアドレス、および前記第 2のアドレスを決定する、請求項 20記載のサ ーバ。
[22] 第 1の情報処理装置を識別する第 1の装置識別子、および第 2の情報処理装置を識 別する第 2の装置識別子を受け付ける識別子受付部と、
前記第 1の情報処理装置と、前記第 2の情報処理装置との間で行われるトンネル通 信を識別するトンネル通信識別子を受け付けるトンネル通信識別子受付部と、 前記識別子受付部が受け付けた前記第 1の装置識別子と、前記第 2の装置識別子と 、前記トンネル通信識別子受付部が受け付けたトンネル通信識別子とに基づいて、 前記第 1の情報処理装置と、前記第 2の情報処理装置との間で行われるトンネル通 信においてカプセルィ匕される通信対象のデータに対して用いる前記第 1の情報処理 装置の第 1のアドレス、および前記第 2の情報処理装置の第 2のアドレスを決定する アドレス決定部と、
前記アドレス決定部が決定した前記第 1のアドレスおよび前記第 2のアドレスを出力 するアドレス出力部と、を備えたサーバ。
[23] 前記アドレス決定部は、前記第 1の装置識別子と、前記第 2の装置識別子とに基づ いて、前記通信対象のデータに対して用いるアドレスの一部を決定し、前記トンネル 通信識別子に基づいて、前記通信対象のデータに対して用いるアドレスの他の部分 を決定する、請求項 22記載のサーバ。
[24] トンネル通信を行う第 1の情報処理装置と、第 2の情報処理装置との 、ずれが発呼側 であり、着呼側であるのかについて判断する判断部と、
前記第 1の情報処理装置と、前記第 2の情報処理装置との間で行われるトンネル通 信を識別するトンネル通信識別子を受け付けるトンネル通信識別子受付部と、 前記判断部による判断結果と、前記トンネル通信識別子受付部が受け付けたトンネ ル通信識別子とに基づいて、前記第 1の情報処理装置と、前記第 2の情報処理装置 との間で行われるトンネル通信においてカプセルィ匕される通信対象のデータに対し て用いる前記第 1の情報処理装置の第 1のアドレス、および前記第 2の情報処理装 置の第 2のアドレスを決定するアドレス決定部と、
前記アドレス決定部が決定した前記第 1のアドレスおよび前記第 2のアドレスを出力 するアドレス出力部と、を備えたサーバ。
[25] 前記アドレス決定部は、前記トンネル通信識別子に基づ 、て、前記通信対象のデー タに対して用いるアドレスの一部を決定し、前記判断部による判断結果に基づいて、 前記通信対象のデータに対して用 、るアドレスの他の部分を決定する、請求項 24記 載のサーバ。
[26] 前記アドレス決定部は、あら力じめ決められている複数のアドレス力も選択することに より、前記通信対象のデータに対して用いるアドレスの少なくとも一部を決定する、請 求項 22力ら 25の!、ずれか記載のサーバ。
[27] 前記アドレス出力部は、前記第 1のアドレスおよび前記第 2のアドレスを、前記第 1の 情報処理装置および前記第 2の情報処理装置に送信する、請求項 17から 25のいず れか記載のサーバ。
[28] 請求項 17から 25のいずれか記載のサーバと、
前記第 1のアドレスを前記通信対象のデータに対して用 、てトンネル通信を行う第 1 の情報処理装置と、
前記第 2のアドレスを前記通信対象のデータに対して用いて、前記第 1の情報処理 装置とトンネル通信を行う第 2の情報処理装置と、を備えた通信システム。
[29] 2以上のトンネル通信において、カプセル化される通信対象のデータに対して用いら れる 2以上のアドレスが一致して 、る旨を示す情報であるアドレス一致情報を受信す るアドレス一致情報受信部と、
前記アドレスの一致が解消するように、アドレスの変更に関する情報であるアドレス変 更情報を構成するアドレス変更情報構成部と、
前記アドレス変更情報を送信するアドレス変更情報送信部と、を備えたサーバ。
[30] 第 1の情報処理装置を識別する第 1の装置識別子と、第 2の情報処理装置を識別す る第 2の装置識別子とに基づいて、前記第 1の情報処理装置と前記第 2の情報処理 装置との間で行われるトンネル通信においてカプセルィ匕される通信対象のデータ〖こ 対して用いるアドレスを決定するアドレス決定ステップを備えたアドレス決定方法。
[31] 前記第 1の装置識別子および Zまたは前記第 2の装置識別子を受け付ける識別子 受付ステップをさらに備え、
前記アドレス決定ステップでは、前記識別子受付ステップで受け付けた前記第 1の装 置識別子および Zまたは前記第 2の装置識別子を用いて、前記アドレスの決定を行 う、請求項 30記載のアドレス決定方法。
[32] トンネル通信を行う第 1の情報処理装置と、第 2の情報処理装置との 、ずれが発呼側 であり、着呼側であるのかにつ 、て判断する判断ステップと、
前記判断ステップによる判断結果に基づいて、前記第 1の情報処理装置と前記第 2 の情報処理装置との間で行われるトンネル通信においてカプセルィ匕される通信対象 のデータに対して用いるアドレスを決定するアドレス決定ステップと、を備えたアドレス 決定方法。
[33] 第 1の情報処理装置を識別する第 1の装置識別子と、第 2の情報処理装置を識別す る第 2の装置識別子と、前記第 1の情報処理装置と前記第 2の情報処理装置との間 で行われるトンネル通信を識別するトンネル通信識別子とに基づ 、て、前記第 1の情 報処理装置と、前記第 2の情報処理装置との間で行われるトンネル通信にお 、て力 プセルイ匕される通信対象のデータに対して用いるアドレスを決定するアドレス決定ス テツプを備えたアドレス決定方法。
[34] 前記第 1の装置識別子および Zまたは前記第 2の装置識別子を受け付ける識別子 受付ステップをさらに備え、
前記アドレス決定ステップでは、前記識別子受付ステップで受け付けた前記第 1の装 置識別子および Zまたは前記第 2の装置識別子を用いて、前記アドレスの決定を行 う、請求項 33記載のアドレス決定方法。
[35] 前記トンネル通信識別子を受け付けるトンネル通信識別子受付ステップをさらに備え 前記アドレス決定ステップでは、前記トンネル通信識別子受付ステップで受け付けた 前記トンネル通信識別子を用いて、前記アドレスの決定を行う、請求項 33または 34 記載のアドレス決定方法。
[36] トンネル通信を行う第 1の情報処理装置と、第 2の情報処理装置との 、ずれが発呼側 であり、着呼側であるのかにつ 、て判断する判断ステップと、
前記判断ステップによる判断結果と、前記第 1の情報処理装置と前記第 2の情報処 理装置との間で行われるトンネル通信を識別するトンネル通信識別子とに基づいて、 前記第 1の情報処理装置と、前記第 2の情報処理装置との間で行われるトンネル通 信においてカプセルィ匕される通信対象のデータに対して用いるアドレスを決定するァ ドレス決定ステップと、を備えたアドレス決定方法。
[37] 前記トンネル通信識別子を受け付けるトンネル通信識別子受付ステップをさらに備え 前記アドレス決定ステップでは、前記トンネル通信識別子受付ステップで受け付けた 前記トンネル通信識別子を用いて、前記アドレスの決定を行う、請求項 36記載のアド レス決定方法。
[38] 2以上の通信先の装置とトンネル通信を行う通信元の情報処理装置において用いら れるアドレス変更方法であって、
前記 2以上のトンネル通信においてカプセルィ匕される各通信対象のデータに対して 用いられる 2以上のアドレスが一致していることを検出する検出ステップと、 前記検出ステップで 2以上のアドレスが一致していることを検出した場合に、前記通 信対象のデータに対して用いるアドレスを変更するアドレス変更ステップと、を備えた アドレス変更方法。
[39] 通信先の装置とトンネル通信を行う通信元の情報処理装置にお!、て用いられるアド レス変更方法であって、
アドレスの変更に関する情報であるアドレス変更情報を受信するアドレス変更情報受 信ステップと、
前記アドレス変更情報に基づいて、前記通信対象のデータに対して用いるアドレスを 変更するアドレス変更ステップと、を備えたアドレス変更方法。
[40] 2以上の通信先の装置とトンネル通信を行う通信元の情報処理装置において用いら れるアドレス変更方法であって、
前記 2以上のトンネル通信においてカプセルィ匕される各通信対象のデータに対して 用いられる 2以上のアドレスが一致していることを検出する検出ステップと、 前記検出ステップで 2以上のアドレスが一致していることを検出した場合に、アドレス がー致して 、る旨を示す情報であるアドレス一致情報を送信するアドレス一致情報 送信ステップと、
アドレスの変更に関する情報であるアドレス変更情報を受信するアドレス変更情報受 信ステップと、
前記アドレス変更情報に基づいて、前記通信対象のデータに対して用いるアドレスを 変更するアドレス変更ステップと、を備えたアドレス変更方法。
[41] 2以上のトンネル通信において、カプセル化される通信対象のデータに対して用いら れる 2以上のアドレスが一致して 、る旨を示す情報であるアドレス一致情報を受信す るアドレス一致情報受信ステップと、
前記アドレスの一致が解消するように、アドレスの変更に関する情報であるアドレス変 更情報を構成するアドレス変更情報構成ステップと、
前記アドレス変更情報を送信するアドレス変更情報送信ステップと、を備えたアドレス 変更方法。
[42] コンピュータに、
第 1の情報処理装置を識別する第 1の装置識別子と、第 2の情報処理装置を識別す る第 2の装置識別子とに基づいて、前記第 1の情報処理装置と前記第 2の情報処理 装置との間で行われるトンネル通信においてカプセルィ匕される通信対象のデータ〖こ 対して用いるアドレスを決定するアドレス決定ステップを実行させるためのプログラム
[43] コンピュータに、
前記第 1の装置識別子および Zまたは前記第 2の装置識別子を受け付ける識別子 受付ステップをさらに実行させ、
前記アドレス決定ステップでは、前記識別子受付ステップで受け付けた前記第 1の装 置識別子および Zまたは前記第 2の装置識別子を用いて、前記アドレスの決定を行 う、請求項 42記載のプログラム。
[44] コンピュータに、
トンネル通信を行う第 1の情報処理装置と、第 2の情報処理装置とのいずれが発呼側 であり、着呼側であるのかにつ 、て判断する判断ステップと、
前記判断ステップによる判断結果に基づいて、前記第 1の情報処理装置と前記第 2 の情報処理装置との間で行われるトンネル通信においてカプセルィ匕される通信対象 のデータに対して用いるアドレスを決定するアドレス決定ステップと、を実行させるた めのプログラム。
[45] コンピュータに、
第 1の情報処理装置を識別する第 1の装置識別子と、第 2の情報処理装置を識別す る第 2の装置識別子と、前記第 1の情報処理装置と前記第 2の情報処理装置との間 で行われるトンネル通信を識別するトンネル通信識別子とに基づ 、て、前記第 1の情 報処理装置と、前記第 2の情報処理装置との間で行われるトンネル通信にお 、て力 プセルイ匕される通信対象のデータに対して用いるアドレスを決定するアドレス決定ス テツプを実行させるためのプログラム。
[46] コンピュータに、
前記第 1の装置識別子および Zまたは前記第 2の装置識別子を受け付ける識別子 受付ステップをさらに実行させ、
前記アドレス決定ステップでは、前記識別子受付ステップで受け付けた前記第 1の装 置識別子および Zまたは前記第 2の装置識別子を用いて、前記アドレスの決定を行 う、請求項 45記載のプログラム。
[47] コンピュータに、
前記トンネル通信識別子を受け付けるトンネル通信識別子受付ステップをさらに実行 させ、
前記アドレス決定ステップでは、前記トンネル通信識別子受付ステップで受け付けた 前記トンネル通信識別子を用いて、前記アドレスの決定を行う、請求項 45または 46 記載のプログラム。
[48] コンピュータに、
トンネル通信を行う第 1の情報処理装置と、第 2の情報処理装置とのいずれが発呼側 であり、着呼側であるのかにつ 、て判断する判断ステップと、
前記判断ステップによる判断結果と、前記第 1の情報処理装置と前記第 2の情報処 理装置との間で行われるトンネル通信を識別するトンネル通信識別子とに基づいて、 前記第 1の情報処理装置と、前記第 2の情報処理装置との間で行われるトンネル通 信においてカプセルィ匕される通信対象のデータに対して用いるアドレスを決定するァ ドレス決定ステップと、を実行させるためのプログラム。
[49] コンピュータに、
前記トンネル通信識別子を受け付けるトンネル通信識別子受付ステップをさらに実行 させ、
前記アドレス決定ステップでは、前記トンネル通信識別子受付ステップで受け付けた 前記トンネル通信識別子を用いて、前記アドレスの決定を行う、請求項 48記載のプ ログラム。
[50] コンピュータに、
2以上の通信先の装置とトンネル通信を行う通信元の情報処理装置における処理を 実行させるためのプログラムであって、
前記 2以上のトンネル通信においてカプセルィ匕される各通信対象のデータに対して 用いられる 2以上のアドレスが一致していることを検出する検出ステップと、 前記検出ステップで 2以上のアドレスが一致していることを検出した場合に、前記通 信対象のデータに対して用いるアドレスを変更するアドレス変更ステップと、を実行さ せるためのプログラム。
[51] コンピュータに、
通信先の装置とトンネル通信を行う通信元の情報処理装置における処理を実行させ るためのプログラムであって、
アドレスの変更に関する情報であるアドレス変更情報を受信するアドレス変更情報受 信ステップと、
前記アドレス変更情報に基づいて、前記通信対象のデータに対して用いるアドレスを 変更するアドレス変更ステップと、を実行させるためのプログラム。
[52] コンピュータに、
2以上の通信先の装置とトンネル通信を行う通信元の情報処理装置における処理を 実行させるためのプログラムであって、
前記 2以上のトンネル通信においてカプセルィ匕される各通信対象のデータに対して 用いられる 2以上のアドレスが一致していることを検出する検出ステップと、 前記検出ステップで 2以上のアドレスが一致していることを検出した場合に、アドレス がー致して 、る旨を示す情報であるアドレス一致情報を送信するアドレス一致情報 送信ステップと、
アドレスの変更に関する情報であるアドレス変更情報を受信するアドレス変更情報受 信ステップと、
前記アドレス変更情報に基づいて、前記通信対象のデータに対して用いるアドレスを 変更するアドレス変更ステップと、を実行させるためのプログラム。 コンピュータに、
2以上のトンネル通信において、カプセル化される通信対象のデータに対して用いら れる 2以上のアドレスが一致して 、る旨を示す情報であるアドレス一致情報を受信す るアドレス一致情報受信ステップと、
前記アドレスの一致が解消するように、アドレスの変更に関する情報であるアドレス変 更情報を構成するアドレス変更情報構成ステップと、
前記アドレス変更情報を送信するアドレス変更情報送信ステップと、を実行させるた めのプログラム。
PCT/JP2005/000565 2004-01-30 2005-01-19 情報処理装置、サーバ、通信システム、アドレス決定方法、アドレス変更方法およびプログラム WO2005074208A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
EP20050703802 EP1696613A1 (en) 2004-01-30 2005-01-19 Information processing device, server, communication system, address decision method, address modification method, and program
US10/597,496 US8108552B2 (en) 2004-01-30 2005-01-19 Information processing device, server, communication system, address decision method, address modification method, and program
JP2005517416A JP4595811B2 (ja) 2004-01-30 2005-01-19 情報処理装置、サーバ、通信システム、アドレス決定方法、アドレス変更方法およびプログラム
US11/466,854 US7860980B2 (en) 2004-01-30 2006-08-24 Information processing device, server, communication system, address decision method, address modification method, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004022902 2004-01-30
JP2004-022902 2004-01-30

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US10/597,496 A-371-Of-International US8108552B2 (en) 2004-01-30 2005-01-19 Information processing device, server, communication system, address decision method, address modification method, and program
US11/466,854 Continuation US7860980B2 (en) 2004-01-30 2006-08-24 Information processing device, server, communication system, address decision method, address modification method, and program

Publications (1)

Publication Number Publication Date
WO2005074208A1 true WO2005074208A1 (ja) 2005-08-11

Family

ID=34823853

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/000565 WO2005074208A1 (ja) 2004-01-30 2005-01-19 情報処理装置、サーバ、通信システム、アドレス決定方法、アドレス変更方法およびプログラム

Country Status (6)

Country Link
US (2) US8108552B2 (ja)
EP (1) EP1696613A1 (ja)
JP (1) JP4595811B2 (ja)
CN (2) CN101087255A (ja)
TW (1) TW200534649A (ja)
WO (1) WO2005074208A1 (ja)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4615474B2 (ja) * 2006-04-07 2011-01-19 株式会社エヌ・ティ・ティ・ドコモ 通信端末、ユーザデータ移動システム及びユーザデータ移動方法
CA2703210A1 (en) * 2007-10-24 2009-04-30 Jonathan Peter Deutsch Various methods and apparatuses for accessing networked devices without accessible addresses via virtual ip addresses
US8391181B2 (en) * 2008-03-03 2013-03-05 Nec Corporation Communication device, device for determining possibility of discriminating relation of pseudonymous-name communication identifier, communication system, communication method and storage medium
US8073959B2 (en) * 2008-03-28 2011-12-06 Microsoft Corporation Automatically detecting whether a computer is connected to a public or private network
KR101064665B1 (ko) * 2009-12-28 2011-09-15 전자부품연구원 차량용 가시광 통신장치, 가시광 통신을 이용한 터널 내 차량통신시스템 및 방법
JP5621639B2 (ja) * 2011-02-08 2014-11-12 村田機械株式会社 中継サーバ及び中継通信システム
US9235681B2 (en) * 2011-10-04 2016-01-12 Smith & Nephew, Inc. System and method for intersystem device exchange
US10523619B2 (en) * 2013-12-20 2019-12-31 Rovio Entertainment Ltd. Stateless message routing
KR102318279B1 (ko) * 2014-02-18 2021-10-28 삼성전자주식회사 무선 통신 시스템에서 인증 정보 송수신 방법 및 장치
US9716653B2 (en) * 2014-11-18 2017-07-25 Hauwei Technologies Co., Ltd. System and method for flow-based addressing in a mobile environment
US10541966B1 (en) * 2015-07-02 2020-01-21 Aviatrix Systems, Inc. System and method for enabling communication between networks with overlapping IP address ranges

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001268125A (ja) * 2000-03-23 2001-09-28 Nippon Telegr & Teleph Corp <Ntt> Vpn選択接続ゲートウェイおよびそれによる通信方法

Family Cites Families (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6463475B1 (en) * 1997-09-26 2002-10-08 3Com Corporation Method and device for tunnel switching
US6640251B1 (en) * 1999-03-12 2003-10-28 Nortel Networks Limited Multicast-enabled address resolution protocol (ME-ARP)
US6781982B1 (en) * 1999-10-26 2004-08-24 3Com Corporation Method and system for allocating persistent private network addresses between private networks
US6654792B1 (en) * 2000-02-28 2003-11-25 3Com Corporation Method and architecture for logical aggregation of multiple servers
US6614809B1 (en) * 2000-02-29 2003-09-02 3Com Corporation Method and apparatus for tunneling across multiple network of different types
EP1266507B1 (en) * 2000-03-17 2004-06-02 America Online, Inc. Home-networking
US6792474B1 (en) * 2000-03-27 2004-09-14 Cisco Technology, Inc. Apparatus and methods for allocating addresses in a network
EP1290858B1 (en) * 2000-05-31 2009-04-22 Nokia Corporation Method and apparatus for generating a connection identification
US7111065B2 (en) * 2000-11-29 2006-09-19 Efficient Networks, Inc. Method and apparatus for managing tunneled communications in an enterprise network
US7127524B1 (en) * 2000-12-29 2006-10-24 Vernier Networks, Inc. System and method for providing access to a network with selective network address translation
US7068646B2 (en) * 2001-04-03 2006-06-27 Voxpath Networks, Inc. System and method for performing IP telephony including internal and external call sessions
US7106967B2 (en) * 2001-09-04 2006-09-12 Doron Handelman Optical packet switching apparatus and methods
US7099319B2 (en) * 2002-01-23 2006-08-29 International Business Machines Corporation Virtual private network and tunnel gateway with multiple overlapping, remote subnets
US7072337B1 (en) * 2002-01-25 2006-07-04 3Com Corporation System and method for resolving network addresses for network devices on distributed network subnets
JP2003244251A (ja) * 2002-02-18 2003-08-29 Telecommunication Advancement Organization Of Japan トンネル経路を再構成するパケット通信方法
US7395354B2 (en) * 2002-02-21 2008-07-01 Corente, Inc. Methods and systems for resolving addressing conflicts based on tunnel information
JP2003244188A (ja) 2002-02-21 2003-08-29 Nippon Telegr & Teleph Corp <Ntt> トンネル通信方法
KR100485801B1 (ko) * 2002-03-07 2005-04-28 삼성전자주식회사 서로 다른 사설망에 존재하는 네트워크장치들 간의직접접속을 제공하는 망접속장치 및 방법
KR100532100B1 (ko) * 2002-12-30 2005-11-29 삼성전자주식회사 무선랜 홈네트워크 환경에서 디바이스를 식별하는 방법
US7814228B2 (en) * 2003-02-13 2010-10-12 Oracle America, Inc. System and method for using data encapsulation in a virtual network
US20040236855A1 (en) * 2003-05-23 2004-11-25 Amir Peles Multi-link tunneling
US7512969B2 (en) * 2003-11-21 2009-03-31 Time Warner Cable, A Division Of Time Warner Entertainment Company, L.P. System and method for detecting and reporting cable network devices with duplicate media access control addresses
US8661158B2 (en) * 2003-12-10 2014-02-25 Aventail Llc Smart tunneling to resources in a network

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001268125A (ja) * 2000-03-23 2001-09-28 Nippon Telegr & Teleph Corp <Ntt> Vpn選択接続ゲートウェイおよびそれによる通信方法

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
UMEMOTO H. ET AL: "BSD de My Server o Tsukuro, Dynamic tunnel.", BSD MAGAZINE 2000, no. 5, 31 December 2000 (2000-12-31), pages 115 - 117, XP002992148 *
YAMADA E. ET AL: "Solution Unyo. Kokoga Point, Dai 1 Kai, Internet VPN Unyo-Zenpen-Pilot Test to Sekkei no Point.", N+1 NETWORK, SOFTBANK PUBLISHING INC., vol. 2, no. 12, 1 December 2002 (2002-12-01), pages 130 - 135, XP002992149 *

Also Published As

Publication number Publication date
CN101087255A (zh) 2007-12-12
JPWO2005074208A1 (ja) 2008-01-10
US7860980B2 (en) 2010-12-28
EP1696613A1 (en) 2006-08-30
US8108552B2 (en) 2012-01-31
TW200534649A (en) 2005-10-16
US20080235399A1 (en) 2008-09-25
CN1930838A (zh) 2007-03-14
JP4595811B2 (ja) 2010-12-08
US20070002873A1 (en) 2007-01-04

Similar Documents

Publication Publication Date Title
WO2005074208A1 (ja) 情報処理装置、サーバ、通信システム、アドレス決定方法、アドレス変更方法およびプログラム
US11811899B2 (en) IPv4/IPv6 bridge
KR100652964B1 (ko) 듀얼스택 네트워크 기기 및 그 브로드캐스트 방법
EP3300331A1 (en) Response method, apparatus and system in virtual network computing authentication, and proxy server
EP2309686A1 (en) Data packet processing method and apparatus thereof
US8161185B2 (en) Method and apparatus for assigning IPv6 link state identifiers
CN110771116A (zh) 一种加密数据流的识别方法、设备、存储介质及系统
JP2012104970A (ja) 通信装置、および、その制御方法
JP2007208632A (ja) 情報処理装置および方法、プログラム、並びに記録媒体
EP2951979B1 (en) A method of and a unit handling a protocol address in a network
CN111786989B (zh) 通信处理方法、装置及电子设备
EP1895747B1 (en) Network device, network device control method, and storage medium
JP2009230600A (ja) 情報処理装置と情報処理システムおよびプログラム
JP2004078280A (ja) リモートアクセス仲介システム及び方法
JP2007052743A (ja) 認証システム、端末、認証サーバ、認証方法及びプログラム
JP5618745B2 (ja) 通信装置、通信方法、及びプログラム
JP4410247B2 (ja) 通信スタックにおけるオーバーヘッド低減及びアドレス保護
KR102105545B1 (ko) 사물 인터넷 통신 네트워크에서의 인증서 관리 방법 및 이를 이용하는 게이트웨이
CN112261165B (zh) 通信方法、系统、装置、计算机设备和存储介质
CN113595848B (zh) 一种通信隧道建立方法、装置、设备及存储介质
JP2008016972A (ja) Ipアドレス管理システム、ipアドレス管理方法及びプログラム
Kivinen et al. RFC 8137: IEEE 802.15. 4 Information Element for the IETF
Li et al. RFC 8168: DHCPv6 Prefix-Length Hint Issues
Li et al. DHCPv6 Prefix-Length Hint Issues
JP2010061302A (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 KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL 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): BW GH 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 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: 2005517416

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 2005703802

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 10597496

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Country of ref document: DE

WWP Wipo information: published in national office

Ref document number: 2005703802

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 200580008038.2

Country of ref document: CN