WO2019035208A1 - ネットワーク通信システム - Google Patents

ネットワーク通信システム Download PDF

Info

Publication number
WO2019035208A1
WO2019035208A1 PCT/JP2017/029645 JP2017029645W WO2019035208A1 WO 2019035208 A1 WO2019035208 A1 WO 2019035208A1 JP 2017029645 W JP2017029645 W JP 2017029645W WO 2019035208 A1 WO2019035208 A1 WO 2019035208A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
terminal
terminal device
address
unit
Prior art date
Application number
PCT/JP2017/029645
Other languages
English (en)
French (fr)
Inventor
矢野 義博
伸乃助 仲谷
小川 隆
茂男 蜂木
憲朗 伊藤
Original Assignee
大日本印刷株式会社
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 大日本印刷株式会社 filed Critical 大日本印刷株式会社
Priority to JP2019536402A priority Critical patent/JP6879370B2/ja
Priority to PCT/JP2017/029645 priority patent/WO2019035208A1/ja
Publication of WO2019035208A1 publication Critical patent/WO2019035208A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • 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]
    • 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/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2836Protocol conversion between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0823Network architectures or network communication protocols for network security for authentication of entities using certificates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Definitions

  • the present invention relates to a network communication system for performing communication between terminals via a network.
  • a relay device that plays the role of taking over communication between the terminal devices.
  • a secure first communication channel is secured between the first terminal device and the relay device
  • a secure second communication channel is secured between the second terminal device and the relay device.
  • a network communication system is disclosed that secures a communication channel and communicates between both terminal devices via a relay device.
  • all communication data between both terminals passes through the relay device, which causes a problem that the processing load on the relay device is large.
  • Patent Documents 2 and 3 listed below disclose a network communication system that implements VPN communication between terminals using this SIP.
  • the connection mediation device in this system does not have to relay all of the communication data, and it only needs to assist in establishing a communication session between the two terminals, so the processing load is significantly higher than that of the conventional relay device. It is reduced.
  • connection mediating apparatus used in the network communication system disclosed in Patent Documents 2 and 3 performs connection mediating processing between both terminals using SIP. Since this connection mediation process is a temporary process until a communication session is established between both terminals, the processing load is reduced compared to the conventional relay process disclosed in Patent Document 1 It will be. However, since it is necessary to be involved until a communication session is established between the two terminals, the processing load can not be ignored if there are requests for mediation from a large number of terminals simultaneously. For this reason, when the concentration of mediation requests is concentrated, there is a risk that the processing capacity of the system may be exceeded even for the temporary mediation processing up to the establishment of the communication session.
  • the present invention is to provide a network communication system capable of further reducing the processing load at the time of mediating connection between a pair of terminal devices and enabling connection only to reliable terminal devices. To aim.
  • a network communication system comprising a plurality of terminal devices mutually connectable via a network, and a connection mediation device which mediates connection between the plurality of terminal devices.
  • a terminal ID for mutually identifying individual terminal devices is given to the plurality of terminal devices, and the connection mediation device is a terminal device that becomes a communication source using the terminal ID and a terminal device that is a communication destination Perform the process of mediating the connection between
  • Each of the multiple terminal devices A self address notifying unit for notifying the connection mediating device of a location address indicating a location on the own network;
  • a communication request accepting unit that accepts a communication request to another terminal apparatus at the communication destination with the self as a communication source;
  • Connection mediation for transmitting a connection mediation request including communication destination specifying information for specifying the terminal ID of another terminal device of the communication destination to the connection mediation device when the communication request receiving unit receives the communication request Requesting department, In response to the connection mediation request, when the connection mediation device returns a communication destination address indicating the
  • a communication start request unit that makes a communication start request;
  • a communication source session for establishing a communication session with another terminal apparatus at the communication destination and starting communication when a communication start acceptance confirmation is returned from another terminal apparatus at the communication destination in response to the communication start request
  • the establishment unit When another terminal device of the communication source makes a communication start request for the communication destination, the communication start acceptance confirmation is transmitted to the other terminal device of the communication source, and between the other terminal device of the communication source
  • a communication destination session establishing unit that establishes a communication session and starts communication Provide
  • the connection intermediary device An address table storage unit for storing an address table in which a terminal ID is associated with a location address for each of the terminal devices;
  • An address table updating unit that updates the contents of the address table based on a notification from a self address notification unit of the terminal device;
  • connection mediating apparatus further comprises a group information confirmation unit; After the terminal device as the communication source receives a reply of the communication destination address from the connection intermediation device, the group information confirmation unit is issued until the communication session is established with another terminal device as the communication destination.
  • the group information confirmation unit refers to the group information to confirm whether the terminal ID of the communication source and the terminal ID of the communication destination belong to the same group, and the same group Report the confirmation result to the terminal device that requested confirmation,
  • the terminal device receiving the report of the confirmation result establishes a communication session when a positive confirmation result is obtained, and does not establish a communication session when a negative determination result is obtained.
  • the communication start request unit in the terminal apparatus serving as the communication source receives a reply of the communication destination address from the connection intermediation apparatus, the same group confirmation request is issued to the group information confirmation unit, and a positive confirmation result is obtained. If it is determined that a communication start request has been made, if a negative determination result is obtained, the communication start request is not made.
  • a fourth aspect of the present invention relates to the network communication system according to the second aspect described above,
  • the communication source session establishment unit in the terminal device as the communication source receives the communication start acceptance confirmation from the communication destination session establishment unit in the terminal device as the communication destination
  • the same group confirmation request is issued to the group information confirmation unit
  • the communication session is established when a positive confirmation result is obtained, and the communication session is not established when a negative determination result is obtained.
  • a fifth aspect of the present invention is the network communication system according to the first aspect described above,
  • the connection mediating apparatus further comprises a group information confirmation unit;
  • the group information confirmation unit refers to the group information to confirm whether the terminal ID of the communication source and the terminal ID of the communication destination belong to the same group, and the same group Report the confirmation result to the communication session establishment unit that made the confirmation request,
  • the communication destination session establishment unit transmits a communication start acceptance confirmation when a positive confirmation result is obtained, and when a negative determination result is obtained, the communication start acceptance. It does not send confirmation.
  • a sixth aspect of the present invention is a network communication system comprising: a plurality of terminal devices mutually connectable via a network; and a connection mediation device that mediates connection between the plurality of terminal devices.
  • a terminal ID for mutually identifying individual terminal devices is given to the plurality of terminal devices, and the connection mediation device is a terminal device that becomes a communication source using the terminal ID and a terminal device that is a communication destination Perform the process of mediating the connection between Each of the multiple terminal devices
  • a communication request accepting unit that accepts a communication request to another terminal apparatus at the communication destination with the self as a communication source;
  • Connection mediation for transmitting a connection mediation request including communication destination specifying information for specifying the terminal ID of another terminal device of the communication destination to the connection mediation device when the communication request receiving unit receives the communication request Requesting department, When a communication source address indicating the location on the network of another terminal device of the communication source is
  • a communication destination session in which a communication session is established with another terminal apparatus of the communication source and communication is started when a communication start acceptance confirmation is returned from another terminal apparatus of the communication source in response to the communication start request.
  • the establishment unit When another terminal apparatus at the communication destination makes a communication start request with the communication source as the communication source, the communication start acceptance confirmation is transmitted to the other terminal apparatus at the communication destination, and between the other terminal apparatus at the communication destination A communication source session establishing unit that establishes a communication session and starts communication Provide
  • the connection intermediary device An address table storage unit for storing an address table in which a terminal ID is associated with a location address for each of the terminal devices; An address table updating unit that updates the contents of the address table based on a notification from a self address notification unit of the terminal device; When a connection mediation request is transmitted from the connection mediation request unit of the terminal device, the address mediation request is referred to, and the terminal ID specified by the communication destination specifying information included in the connection mediation request is correlated with A communication source address transmission unit that transmits, as
  • a seventh aspect of the present invention relates to the network communication system according to the sixth aspect described above,
  • the connection mediating apparatus further comprises a group information confirmation unit; After the terminal device as the communication destination receives the transmission of the communication source address from the connection mediation device, the group information confirmation unit is issued before the communication session is established with another terminal device as the communication source.
  • the group information confirmation unit refers to the group information to confirm whether the terminal ID of the communication source and the terminal ID of the communication destination belong to the same group, and the same group Report the confirmation result to the terminal device that requested confirmation,
  • the terminal device receiving the report of the confirmation result establishes a communication session when a positive confirmation result is obtained, and does not establish a communication session when a negative determination result is obtained.
  • the communication start request unit in the terminal device to be the communication destination receives the transmission of the communication source address from the connection intermediation device, the same group confirmation request is issued to the group information confirmation unit, and the positive confirmation result is obtained. If it is determined that a communication start request has been made, if a negative determination result is obtained, the communication start request is not made.
  • a ninth aspect of the present invention is the network communication system according to the seventh aspect described above,
  • the communication destination session establishment unit in the terminal device as the communication destination receives the communication start acceptance confirmation from the communication source session establishment unit in the terminal device as the communication source, the same group confirmation request to the group information confirmation unit
  • the communication session is established when a positive confirmation result is obtained, and the communication session is not established when a negative determination result is obtained.
  • a tenth aspect of the present invention is the network communication system according to the sixth aspect described above,
  • the connection mediating apparatus further comprises a group information confirmation unit;
  • the communication source session establishment unit in the terminal device serving as the communication source receives a communication start request from the terminal device serving as the communication destination, the terminal ID of another terminal device serving as the communication destination with respect to the group information confirmation unit Has the function of performing the same group confirmation request asking for confirmation as to whether or not the terminal ID of the terminal and the terminal itself of the communication source belong to the same group
  • the group information confirmation unit refers to the group information to confirm whether the terminal ID of the communication source and the terminal ID of the communication destination belong to the same group, and the same group Report the confirmation result to the communication source session establishment unit that made the confirmation request
  • the communication source session establishment unit transmits a communication start acceptance confirmation when a positive confirmation result is obtained, and when a negative determination result is obtained, the communication start acceptance. It does not send confirmation.
  • a group information setting unit records group information indicating an affiliation group in association with each terminal ID in the address table stored in the address table storage unit.
  • a twelfth aspect of the present invention is the network communication system according to the first to eleventh aspects described above,
  • the self address notifying unit in the terminal apparatus has a function of transmitting, to the group information setting unit, information indicating the group to which the own terminal ID belongs,
  • the group information setting unit is configured to set group information based on the information transmitted from the self address notifying unit.
  • a thirteenth aspect of the present invention is a network communication system according to the first to eleventh aspects described above, A terminal device for group information setting is further provided, The group information setting terminal device has a function of transmitting information indicating the group to which the terminal device belongs to the group information setting unit for the terminal ID of its own or another terminal device, The group information setting unit sets the group information based on the information transmitted from the group information setting terminal device.
  • the group information setting unit updates group information each time new information is transmitted from the self address notifying unit in the terminal device or the group information setting terminal device.
  • a seventeenth aspect of the present invention relates to the connection mediating apparatus in the network communication system according to the first to sixteenth aspects described above.
  • An eighteenth aspect of the present invention relates to one terminal device constituting a plurality of terminal devices in the network communication system according to the first to sixteenth aspects described above.
  • connection mediating apparatus in the seventeenth aspect described above or the terminal apparatus according to the eighteenth aspect described above, a computer program is incorporated into a computer. is there.
  • a twentieth aspect of the present invention is a connection mediation device that mediates connection between a communication source terminal device and a communication destination terminal device for a plurality of terminal devices mutually connectable via a network.
  • An address table in which for each of the terminal devices, a terminal ID for mutually identifying the individual terminal devices and a location address indicating the location of each terminal device on the network are associated; For each terminal ID stored in the address table, group information indicating the group to which each belongs, To store When a connection mediation request for a communication destination terminal device is transmitted from a communication source terminal device, group information indicating whether the terminal ID of the communication source terminal device and the terminal ID of the communication destination terminal device belong to the same group To perform the processing of returning the location address of the communication destination terminal device obtained by referring to the address table to the communication source terminal device when the determination result that it belongs to the same group is obtained with reference to The
  • a twenty-first aspect of the present invention is a connection mediation device that mediates connection between a communication source terminal device and a communication destination terminal device for a plurality of terminal devices that can be connected to each other via a network.
  • An address table in which for each of the terminal devices, a terminal ID for mutually identifying the individual terminal devices and a location address indicating the location of each terminal device on the network are associated; For each terminal ID stored in the address table, group information indicating the group to which each belongs, To store When a connection mediation request for a communication destination terminal device is transmitted from a communication source terminal device, group information indicating whether the terminal ID of the communication source terminal device and the terminal ID of the communication destination terminal device belong to the same group When the determination result that it belongs to the same group is obtained, the location address of the communication source terminal device is compared with the location address of the communication destination terminal device obtained by referring to the address table. A process of sending is performed.
  • the connection mediating apparatus does not have to be involved in the final stage of establishing a communication session between both terminals, and transmits the communication destination address to the terminal apparatus of the communication source (No. In the case of the embodiment 1) or the step of transmitting the communication source address to the terminal apparatus of the communication destination (in the case of the second embodiment), it is sufficient. Therefore, compared with a conventional system that performs connection mediation processing between both terminals using SIP, it is possible to further reduce the processing load when mediating the connection between a pair of terminal devices.
  • connection mediation device stores group information for each terminal device, and only inter-terminal communication for terminal devices belonging to the same group is mediation. Therefore, if appropriate group information is set in advance, connection mediation will be performed only for reliable terminal devices, preventing damage from infection with malware due to connection to a fake server. can do. Furthermore, not only on the connection mediation device side but also on the terminal device side, the reliability of the connection destination can be further improved by adopting an embodiment for reconfirming that the connection destination is the same group.
  • FIG. 1 is a block diagram showing an entire configuration of a network communication system according to a first embodiment of the prior invention basic invention. It is a block diagram which shows the detailed structure of the terminal device of the network communication system shown in FIG. It is a block diagram which shows the function of the self-address notification part 250 in the terminal device shown in FIG.
  • FIG. 7 is a block diagram showing a procedure of establishing a communication session between a communication source terminal device 200A and a communication destination terminal device 200B in the network communication system shown in FIG. 1;
  • FIG. 5 is a flow chart describing the communication session establishment procedure shown in the block diagram of FIG. 4 in time series. It is a block diagram which shows the whole structure of the network communication system which concerns on 2nd Embodiment of prior application basic invention.
  • FIG. 7 is a block diagram showing a procedure of establishing a communication session between a communication source terminal device 400B and a communication destination terminal device 400A in the network communication system shown in FIG. 6;
  • FIG. 9 is a flow chart describing the communication session establishment procedure shown in the block diagram of FIG. 8 in chronological order; It is a figure which shows the 1st modification of the address table shown in FIG. 1 or FIG. It is a figure which shows the 2nd modification of the address table shown in FIG. 1 or FIG. It is a figure which shows the 3rd modification of the address table shown in FIG. 1 or FIG. FIG.
  • FIG. 13 is a block diagram showing a modification of the procedure of establishing a communication session between the communication source terminal device 200A and the communication destination terminal device 200B in the network communication system shown in FIG. 1;
  • FIG. 7 is a block diagram showing a modification of the procedure of establishing a communication session between the communication source terminal device 400B and the communication destination terminal device 400A in the network communication system shown in FIG. 6;
  • FIG. 7 is a block diagram showing an embodiment of the prior application basic invention in the case of connecting a terminal device to a network N via a router.
  • FIG. 16 is a diagram showing an example of an address table in the case where information obtained by adding a port number to an IP address is used as a location address in the embodiment shown in FIG.
  • FIG. 15 It is a table
  • FIG. 1 is a block diagram showing an entire configuration of an embodiment using a VPN in a network communication system according to a prior invention basic invention. It is a figure which shows the principle of the VPN communication in embodiment shown in FIG.
  • FIG. 19 is a diagram showing an example of an address table to which a VIP address is added for use in the embodiment shown in FIG. 18;
  • FIG. 1 is a block diagram showing an entire configuration of a network communication system according to a first embodiment of the present invention. It is a block diagram which shows the whole structure of the network communication system concerning the 2nd Embodiment of this invention.
  • FIG. 24 is a diagram showing an example in which a group table G and an address table T are separately provided instead of the address table TG shown in FIG.
  • FIG. 22 is a block diagram showing an entire configuration of a network communication system according to a modification of the first embodiment of the present invention shown in FIG. 21. It is a block diagram which shows the whole structure of the network communication system which concerns on the modification of the 2nd Embodiment of this invention shown in FIG. It is a block diagram showing an embodiment which used a network communication system concerning the present invention for an update system of household electronic equipment.
  • FIG. 1 is a block diagram showing an entire configuration of a network communication system according to a first embodiment of the prior invention basic invention. As shown, this network communication system comprises a connection mediation device 100 and a plurality of terminal devices 200A to 200D, all of which are mutually connected via a network N (in this example, the Internet) It is possible.
  • N in this example, the Internet
  • terminal devices 200A to 200D are the same device having a common configuration. Therefore, when referring to this common terminal apparatus, reference numeral 200 is used here, and when it is necessary to distinguish one from the other, A to D are added at the end of the code. The same applies to each symbol indicating an internal component of the terminal device 200.
  • this network communication system is a system comprising a plurality of terminal devices 200A to 200D that can be connected to each other via the network N, and a connection mediation device 100 that mediates the connection between the plurality of terminal devices.
  • the terminal device 200 various electronic devices such as a personal computer, a mobile phone, and a tablet terminal, which have a function of performing communication by connecting to the network N can be used.
  • the connection mediation device 100 is configured by a server computer that receives access from each of the terminal devices 200A to 200D via the network N.
  • Each of the terminal devices 200A to 200D is provided with a terminal ID for mutually identifying the individual terminal devices, and the connection mediation device 100 communicates with the terminal device as the communication source using this terminal ID.
  • the processing for mediating the connection with the terminal device to be performed is executed.
  • terminal IDs of “0010”, “0020”, “0030” and “0040” are assigned to the terminal devices 200A, 200B, 200C and 200D, respectively.
  • the terminal ID may be any information as long as the information can identify each terminal device mutually.
  • the terminal ID since only four terminal devices are used, it is sufficient to use a four-digit number such as "0010" as the terminal ID, but in order to identify each terminal device mutually,
  • the terminal ID is the serial number of the CPU built in each terminal device, the MAC address assigned to the communication interface, the telephone number or the serial number of the SIM card when using a mobile phone as the terminal device, etc. It can be used as
  • Each of the terminal devices 200A to 200D is provided with a location address indicating its own location on the network.
  • the terminal devices 200A, 200B, 200C, and 200D are respectively provided with location addresses AD1, AD2, AD3, and AD4.
  • AD1, AD2, AD3, and AD4 As the location address, any address can be used as long as the location of the terminal can be uniquely determined on the network.
  • a global IP address or NAT-ID is used as a location address indicating the location of each terminal device 200 on the network N. It is preferred to use.
  • the terminal ID is information necessary to identify individual terminal devices to one another, while the location address is information necessary to access individual terminal devices via the network N.
  • the location address is not always constant, and changes from moment to moment.
  • the base address to be communicated with changes as the mobile terminal moves, so the location address also changes with time.
  • the location address also generally changes with time.
  • the terminal device 200 used in the basic application of the prior application has a function of notifying the connection mediating device 100 via the network N of the location address indicating the location of the terminal device 200 on its own network. Therefore, the connection mediating apparatus 100 can always grasp the latest address of each of the terminal devices 200A to 200D, and can access each of the terminal devices 200A to 200D as needed.
  • connection intermediation device 100 is provided with an address table storage unit 110, an address table update unit 120, and a communication destination address return unit 130.
  • the connection mediating device 100 is actually configured by a computer such as a server computer. Therefore, each component shown as an individual block in the figure is actually constructed by incorporating a dedicated program into a computer.
  • the address table storage unit 110 stores an address table T in which terminal IDs and location addresses are associated with each of the terminal devices 200A to 200D, and the address table update unit 120 stores the terminal devices 200A to 200D.
  • the processing of updating the contents of the address table T is performed based on the notification from the server. Further, when there is a connection mediation request from each of the terminal devices 200A to 200D, the communication destination address replying unit 130 performs processing of returning a communication destination address by referring to the address table T.
  • information indicating the correspondence between the terminal ID and the location address is stored as the address table T for each of the four terminal devices 200A to 200D.
  • the terminal ID "0010” is associated with the location address "AD1".
  • the terminal ID "0020” is associated with the location address "AD2”.
  • the terminal ID "0030" and the location address "AD3" are associated, and for the terminal device 200D, the terminal ID "0040" and the location address "AD4" are associated.
  • the terminal device 200 is provided with a connection mediation request unit 210, a communication request reception unit 220, a communication destination session establishment unit 230, a communication start request unit 240, a self address notification unit 250, and a communication source session establishment unit 260. ing.
  • This terminal device 200 is also actually composed of various computers (including devices such as mobile phones), and each component shown as an individual block in the figure is actually a program dedicated to the computer. Built by incorporating Besides the above, various components are incorporated in the actual terminal device 200. For example, if the terminal device 200 is a smart phone, incorporating various application programs will add components having various processing functions, but here, the configuration directly related to the basic application of the prior application Only the elements are shown as blocks in the figure, and the description of the other components is omitted. Of course, the terminal device 200 also has components such as an input interface for inputting commands and characters from the user and a display for presenting information to the user, but the description of these components is also omitted. Do.
  • the components depicted as six blocks in the terminal device 200 in FIG. 2 are the essential functional elements in the terminal device 200 according to the prior invention basic invention.
  • three kinds of arrows, thick arrows, thin arrows, and white arrows are used as arrows indicating the flow of signals between the blocks.
  • thick arrows indicate the flow of signals exchanged between the terminal device 200 and the connection mediation device 100 before establishment of a communication session
  • thin arrows indicate the flow between the pair of terminal devices 200. Shows the flow of signals before establishing a communication session.
  • the white arrows indicate the flow of signals exchanged between the pair of terminal devices 200 after establishment of the communication session.
  • FIG. 2 six components in the terminal device 200 are drawn using three blocks of an ellipse, a rectangle, and a double rectangle, but this indicates the division of roles of each component.
  • the components shown by the elliptical block are components for the terminal device 200 to execute the process of “address notification”
  • the components shown by the rectangular block are the terminal device 200.
  • the component represented by the double rectangular block is processing required for the terminal device 200 functioning as a “communication destination”
  • the terms “communication source” and “communication destination” are terms used to distinguish two terminals when they communicate with each other, and spontaneously start communication.
  • the side that performs the processing for this is called the “communication source”
  • the side that performs the processing necessary to communicate with the “communication source” is called the “communication destination” in response to the "communication source” acting on it. It is.
  • the calling device is the “communication source”
  • the called device is the “communication destination”.
  • the “communication source” terminal device designates a specific “communication destination” and performs processing for spontaneously starting communication.
  • the terminal device 200 becomes a "communication source” or a "communication destination”.
  • processing by the component shown by the rectangular block in Fig. 2 is performed, and when it becomes “communication destination”, the component shown by double rectangular block in Fig. 2 Processing is performed.
  • each function of six components of the terminal device 200 will be described in order.
  • the self address notification unit 250 indicated by an elliptic block is a component for executing the process of “address notification”, and the connection mediation address indicating the whereabouts of the own network is used as the connection mediation.
  • a process of notifying the device 100 is executed. If the IP address is used as the location address, the self-address notifying unit 250 performs processing of notifying the connection mediation device 100 via the network N of the IP address assigned to itself at this point.
  • the self address notifying unit 250 connects the global IP address given to the terminal device 200 as a location address. It may be notified to the intermediary device 100. Further, when a private IP address is assigned by using the NAT function of the router, the connection intermediation apparatus 100 may be notified of the NAT-ID as the location address. When notifying the location address, the terminal ID is simultaneously transmitted.
  • the address table updating unit 120 shown in FIG. 1 updates the address table T in response to such notification. For example, when the terminal ID 200A is notified of the terminal ID “0010” and the location address “AD1” from the terminal device 200A, the address table updating unit 120 determines that the terminal ID “0010” and the location address “AD1”. And in association with each other and stored in the address table T.
  • the self address notifying unit 250 have a function of notifying the present address of the self (terminal device 200) repeatedly at a predetermined cycle. For example, if the self address notifying unit 250 repeatedly performs notification every one minute, the address table T is updated to the latest information every one minute.
  • the own address notification unit 250 may have a function of notifying the present location address when the location address of the own (terminal device 200) is changed. That is, when the location address is given for the first time, the location address may be notified as an address in the initial state, and thereafter, a new location address may be notified each time the location address is changed.
  • the operation of repeatedly notifying in a predetermined cycle may be combined with the operation of notifying when the location address is changed.
  • the communication request receiving unit 220 performs processing of receiving a communication request for another terminal apparatus that is the communication destination, using itself as a communication source. For example, when the user of the terminal device 200 (communication source) wants to call a specific partner, the communication request to the effect that he / she wants to communicate with another terminal device (communication destination) possessed by the partner is required. become.
  • This communication request is given, for example, as a user's operation input (for example, an operation on a touch panel) via an input interface (not shown), and includes some information for specifying the other party's terminal device. .
  • connection intermediation request unit 210 causes the connection intermediation device 100 to specify communication destination specification information for specifying the terminal ID of another terminal device of the communication destination when the communication request reception unit 220 receives a communication request.
  • Send a connection mediation request including:
  • the communication destination specification information included in the connection mediation request may be the terminal ID of another terminal apparatus of the communication destination, or may be other information capable of specifying the terminal ID. No (details will be described in 3-1 3-1).
  • connection mediation request transmitted from the connection mediation request unit 210 is transmitted to the connection mediation device 100 via the network N (as described above, the bold arrows in the figure indicate the terminal device 200 and the connection mediation device 100). And shows the flow of signals before establishing a communication session). Then, as indicated by a bold arrow in the figure, the connection intermediation apparatus 100 sends back a communication destination address indicating the location of another terminal apparatus to be a communication destination on the network. This is due to the function of the communication destination address reply unit 130 shown in FIG.
  • the communication destination address replying unit 130 refers to the address table T and the communication destination included in the connection mediation request.
  • the location address associated with the terminal ID specified by the specific information is returned as the communication destination address.
  • the other end of the reply is the terminal device 200 that has made the connection mediation request.
  • the communication destination address replying unit 130 searches for the current location address of the communication destination using the address table T, Processing to reply to the terminal device of the communication source is performed.
  • connection mediation request unit 210 when the connection mediation request unit 210 makes a connection mediation request, the connection mediation device 100 returns a communication destination address indicating the location of another terminal device on the network side of the communication destination.
  • the communication destination address returned in this way is received by the communication start request unit 240.
  • the communication start request unit 240 accesses the communication destination address via the network N and makes a communication start request. As indicated by thin arrows in the figure, this communication start request is a signal addressed to one terminal device 200 (communication destination) from another terminal device 200 (communication destination).
  • the communication start request unit 240 transmits a communication start request to another terminal apparatus at the communication destination
  • the other terminal apparatus at the communication destination accepts the communication start request in response to the communication start request.
  • a confirmation is sent back (thin arrow in the right side of the figure: this replying process will be described later as the process of the communication destination session establishing unit 230 of another terminal apparatus of the communication destination).
  • the communication start acceptance confirmation sent back in this way is received by the communication source session establishment unit 260.
  • the communication source session establishment unit 260 establishes a communication session with another terminal apparatus of the communication destination and starts communication.
  • the white arrows drawn at the right end of FIG. 2 indicate the flow of signals (communication packets) between the two terminals after the communication session is established in this way.
  • a component indicated by a double rectangular block in FIG. 2 is a communication destination session establishment unit 230.
  • the communication destination session establishing unit 230 makes a request to start communication from the other terminal apparatus of the communication source to the communication destination (the downward thin arrow in the left side of the figure)
  • the communication destination session establishing section 230 sends the other terminal apparatus of the communication source.
  • a communication start acceptance confirmation is transmitted (an upward thin arrow on the left side of the figure), and a communication session is established with another terminal apparatus of the communication source to start communication.
  • the white arrows drawn at the left end of FIG. 2 indicate the flow of signals (communication packets) between the two terminals after the communication session is established in this manner.
  • the communication after establishment of the communication session between the communication source terminal device and the communication destination terminal device is performed between the communication source session establishment unit 260 of the communication source terminal device and the communication destination session establishment unit 230 of the communication destination terminal device. It will be done.
  • the hollow arrow at the right end of FIG. 2 is connected to the hollow arrow at the left end of FIG. 2 via the network N.
  • FIG. 3 is a block diagram showing the function of self address notification unit 250 in the terminal shown in FIG.
  • the connection mediation device 100 is shown at the top of the figure, and two sets of terminal devices 200A and 200B are shown at the bottom of the figure. Although the terminal devices 200C and 200D are not shown here, the function of the self address notification unit 250 is the same.
  • the exchange of information between the connection mediation device 100 and each of the terminal devices 200A and 200B is actually performed via the network N, but here, for convenience of explanation, The illustration of the network N is omitted.
  • the terminal devices 200A and 200B shown in FIG. 3 have six components in the same manner as the terminal device 200 shown in FIG. That is, the terminal device 200A has the components 210A to 260A, and the terminal device 200B has the components 210B to 260B. These respective components are the same as the components 210 to 260 shown in FIG. (A and B at the end of the code are added to distinguish which terminal device is a component). Since FIG. 3 is a diagram for explaining the self address notification function of the terminal devices 200A and 200B, blocks of components other than the self address notification units 250A and 250B are shown by broken lines.
  • the self address notifying units 250A and 250B notify the address table updating unit 120 in the connection mediation device 100 of the location address indicating the location of the self on the network.
  • FIG. 3 shows an example in which data “0010: AD1” is transmitted as a notification from the own address notification unit 250A to the address table update unit 120, this is because the own terminal ID “0010” is transmitted. Together with the current address “AD1” is transmitted.
  • data "0020: AD2" is transmitted as a notification from the own address notification unit 250B to the address table update unit 120 is shown, but this is not only with the own terminal ID "0020". It indicates that the current location address "AD2" of itself is being transmitted.
  • the address table update unit 120 that receives such a notification from the self address notification units 250A and 250B of each of the terminal devices 200A and 200B performs processing to update the contents of the address table T based on the notification, As already mentioned in 1-11-1. Further, as described in 1-11-1, the self address notifying units 250A and 250B perform processing for notifying the current location address when the location address is changed repeatedly or at a predetermined cycle. is there.
  • the notification process of the location address performed by the self address notification unit 250 is not a direct process for starting communication between the terminal devices, but a preparation process for enabling communication to be started any time. Can.
  • the address table T in the connection mediating device 100 can be kept up-to-date, and in fact, when it becomes necessary to communicate between specific terminal devices, the connection mediating device 100
  • the correct mediation process can be realized by
  • FIG. 4 is a block diagram showing a procedure of establishing a communication session between the communication source terminal device 200A and the communication destination terminal device 200B in the network communication system shown in FIG.
  • the connection mediation device 100 is shown at the top of the figure, and two sets of terminal devices 200A and 200B are shown at the bottom of the figure.
  • the exchange of information between the connection mediation device 100 and the terminal device 200A (indicated by a thick arrow) and the exchange of information between the terminal devices 200A and 200B (indicated by a thin arrow) are actually the network N.
  • the network N is not shown for convenience of explanation.
  • the terminal device 200A is a communication source and the terminal device 200B is a communication destination will be described.
  • FIG. 4 for the components in the communication source terminal device 200A, only the components (components of the rectangular block) that execute processing necessary as the communication source are shown by solid lines, and in the communication destination terminal device 200B.
  • the components only the components (components of the double rectangular block) that execute processing necessary for communication are indicated by solid lines, and blocks of other components are indicated by dashed lines.
  • FIG. 5 is a flow chart explaining the communication session establishment procedure shown in the block diagram of FIG. 4 in chronological order.
  • the specific communication procedure in the first embodiment will be described according to the flowchart of FIG. 5 with reference to the block diagram of FIG.
  • reference symbols S1 to S7 attached to the respective arrows correspond to steps S1 to S7 in the flowchart of FIG.
  • reference numerals in parentheses correspond to specific blocks in the block diagram of FIG. 4 and indicate specific components related to the contents of the step. It is a thing.
  • step S1 communication request acceptance processing is performed.
  • This is a process performed by the communication request receiving unit 220A shown in FIG. 4.
  • the user A of the communication source terminal device 200A wants to call the user B of the communication destination terminal device 200B
  • It is a process performed based on the operation input of the user A.
  • the terminal ID telephone number
  • the user A sends the terminal ID (telephone number) of the terminal device 200B to the terminal device 200A.
  • a communication request S1 accompanied by an input operation may be made. That is, the communication request receiving unit 220A of the terminal device 200A performs processing of receiving the communication request S1 for another terminal device 200B that is the communication destination, using itself as the communication source.
  • the communication request receiving unit 220A does not necessarily receive the communication request S1 when the user A performs an operation input for making a call. For example, when the users A and B are playing a communication competition type game, a communication request S1 is given from the application program for the game to the communication request receiving unit 220A.
  • the terminal devices 200A and 200B are personal computers that perform some kind of business processing, and the application program for business processing incorporated in the personal computer 200A automatically performs scheduled report to the personal computer 200B, the application program Thus, the communication request S1 is given to the communication request receiving unit 220A.
  • the communication request in the basic application of the prior application is not necessarily given by the user, but may be given by a program incorporated in the terminal device.
  • a connection mediation request is performed in subsequent step S2.
  • This is a process performed by the connection intermediation request unit 210A illustrated in FIG. 4 and, as described above, the communication destination for specifying the terminal ID of another terminal device 200B of the communication destination to the connection intermediation device 100.
  • This is processing of transmitting a connection mediation request S2 including specific information.
  • the transmitting side of the information transmits its address to the receiving side, and the receiving side returns an acknowledge signal to the address on the transmitting side. Do the process. Therefore, when transmitting the connection mediation request S2 from the connection mediation request unit 210A, its own location address “AD1” is transmitted to the connection mediation device 100 side. The reply process in step S4 to be described later is performed for the location address "AD1".
  • the communication destination address replying unit 130 that received the connection mediation request receives the address in step S3.
  • the address table stored in the table storage unit 110 it is associated with the terminal ID ("0020" in this example) specified by the communication destination specifying information included in the connection mediation request.
  • the location address is recognized as the communication destination address. For example, assuming that the address table T at that time is as shown in FIG. 1, the address "AD2" associated with the terminal ID "0020" is recognized as the communication destination address.
  • step S4 the communication destination address replying unit 130 performs processing for sending back the communication destination address "AD2" recognized in step S3.
  • the reply partner is the communication source terminal device 200A that has made the connection mediation request in step S2.
  • the connection mediation request S2 includes the information of the location address “AD1” of the communication source terminal device 200A
  • the communication destination address reply unit 130 sends the communication destination address to the location address “AD1”. "AD2" can be sent back.
  • the communication destination address reply S 130 (information for transmitting the communication destination address “AD2”) is transmitted from the communication destination address reply unit 130
  • the communication destination address reply S 4 is received by the communication start request unit 240 A.
  • the connection mediation device 100 responds to the connection mediation request S2 from the location of the communication destination terminal device 200B on the network.
  • a communication destination address "AD2" indicating "" will be returned. Since the address table T prepared in the connection mediation device 100 is constantly updated to the latest state, the communication destination address "AD2" returned is the latest location address of the communication destination terminal device 200B. Become.
  • the communication start request unit 240A that has acquired the communication destination address “AD2” by the communication destination address return S4 sends a communication start request S5 to the communication destination terminal device 200B in step S5. That is, access is made to the communication destination address “AD2” via the network N, and the communication start request is transmitted to the other party.
  • the own location address (communication source address "AD1") is also transmitted together.
  • the communication start request S5 addressed to the communication destination address “AD2” is received by the communication destination session establishment unit 230B of the communication destination terminal device 200B.
  • communication start request S5 is made from communication source terminal apparatus 200A to communication target session establishing section 230B
  • communication source terminal apparatus 200A via network N is started in step S6.
  • a communication session is established with the communication source terminal device 200A, and communication S7 is started.
  • the communication start acceptance confirmation S6 transmitted to the communication source terminal device 200A is received by the communication source session establishment unit 260A. Then, in step S7, the communication source session establishment unit 260A that has received the communication start acceptance confirmation S6 establishes a communication session with the communication destination terminal device 200B and starts communication S7. In short, on the communication source terminal device 200A side, when the communication start acceptance confirmation S6 is returned from the communication destination terminal device 200B in response to the communication start request S5, a communication session is established with the communication destination terminal device 200B. Processing to start communication.
  • a communication session is established between the communication source terminal device 200A and the communication destination terminal device 200B, and communication S7 between the two is performed.
  • the process performed by the connection mediating apparatus 100 is only the address table reference process of step S3 and the communication destination address reply process of step S4. That is, the mediation process performed by the connection mediation device 100 receives the connection mediation request S2 from the communication source terminal device 200A, refers to the address table T (step S3), and obtains the obtained communication destination address from the communication source terminal device 200A. Is the only reply (step S4).
  • a communication session is established between the communication source terminal device 200A and the communication destination terminal device 200B only by the connection mediation device 100 performing such mediation processing, and communication between the two will be started.
  • the processing load of the connection mediating apparatus 100 becomes extremely light.
  • the processing load is reduced as compared to conventional relay processing, but a session is established between both terminals. It is necessary to be involved until the concentration of mediation requests from a large number of terminal devices, the processing load becomes quite heavy.
  • the connection mediating apparatus 100 does not have to be involved until the communication session is established between the two terminals, and It suffices to carry out the process of transmitting the communication destination address. Therefore, it is possible to further reduce the processing load when mediating the connection between the pair of terminal devices.
  • connection mediating device 100 since the connection mediating device 100 does not participate in establishing a communication session, the connection mediating device 100 establishes a communication session between both terminal devices. It can not be grasped whether communication is being performed without any trouble. Therefore, if necessary, after establishment of the communication session, the communication source session establishment unit 260A or the communication destination session establishment unit 230B reports to the connection intermediation apparatus 100 that the communication session has been established without any problem. It is also good.
  • the communication destination session establishing unit 230B when the communication destination session establishing unit 230B makes a communication start request S5 with the communication destination terminal device 200A as the communication destination from the communication source terminal device 200A, the communication source terminal device 200A is notified in step S6.
  • the communication start acceptance confirmation is sent, in some cases, the communication start request S5 may be rejected without being accepted, and the communication start acceptance confirmation may not be transmitted (or communication start acceptance). Instead of confirmation, communication start rejection notification may be sent). That is, the communication destination session establishing unit 230B is provided with some condition judging function, and when the communication start request S5 is issued, the communication start acceptance confirmation is transmitted only when the predetermined condition is satisfied. You should do it.
  • communication is enabled only when user B of communication destination terminal device 200B can set incoming call rejection with respect to communication destination session establishing unit 230 and meets the condition that “no incoming call rejection setting is made”.
  • a process of transmitting the start acceptance confirmation may be performed.
  • communication source request information for example, a terminal ID
  • the communication destination session establishment unit 230B performs the communication start request S5. It is possible to accept or reject the request depending on the source of communication.
  • a communication source list (so-called black list) which always rejects the communication start request S5 and a communication source list (so-called white list) which always accepts the communication start request S5 are prepared in the communication destination session establishment unit 230B.
  • the communication destination session establishment unit 230B can determine whether to accept or reject the communication start request S5 by referring to the list.
  • FIG. 6 is a block diagram showing an entire configuration of a network communication system according to the second embodiment.
  • this network communication system comprises a connection mediation device 300 and a plurality of terminal devices 400A to 400D, all of which are mutually connected via a network N (in this example, the Internet) It is possible.
  • N in this example, the Internet
  • terminal devices 400A to 400D are the same devices having a common configuration, and in the case where the common terminal device is referred to, it is indicated by using the reference numeral 400, and when it is necessary to distinguish between them, It is shown by appending A to D. The same applies to each symbol indicating an internal component of the terminal device 400.
  • the network communication system shown in FIG. 6 includes a plurality of terminal devices 400A to 400D that can be connected to each other via a network N, and a connection mediation device 300 that mediates connection between the plurality of terminal devices. It turns out that. Also as the terminal device 400, various electronic devices such as personal computers, mobile phones, tablet terminals, etc. having a function of connecting to the network N and performing communication can be used. Further, the connection mediation device 300 is configured by a server computer that receives access from each of the terminal devices 400A to 400D via the network N.
  • Each of the terminal devices 400A to 400D is assigned a terminal ID for mutually identifying the individual terminal devices, and the connection mediation device 300 communicates with the terminal device as the communication source using this terminal ID.
  • the processing for mediating the connection with the terminal device to be performed is executed.
  • the terminal ID as described above, any information may be used as long as the information can identify each terminal device mutually.
  • terminal IDs of "0010", “0020", “0030” and "0040" are given to the terminal devices 400A, 400B, 400C and 400D, respectively. It shall be.
  • each of the terminal devices 400A to 400D is provided with a location address indicating the location on the own network.
  • a location address indicating the location on the own network.
  • the terminal devices 400A, 400B, 400C, and 400D are provided with location addresses AD1, AD2, AD3, and AD4, respectively.
  • the location address any address can be used as long as the location of the terminal can be uniquely determined on the network, but in practice, a global IP address or NAT-ID may be used. . As mentioned above, this location address changes with time.
  • connection mediation device 300 an address table storage unit 310, an address table update unit 320, and a communication source address transmission unit 330 are provided.
  • the connection mediation device 300 is actually configured by a computer such as a server computer. Therefore, each component shown as an individual block in the figure is actually constructed by incorporating a dedicated program into a computer.
  • the address table storage unit 310 is the same component as the address table storage unit 110 shown in FIG. 1 and has a function of storing an address table T in which terminal IDs and location addresses are associated with each of the terminal devices 400A to 400D. Have.
  • the address table T shown in FIG. 6 is completely the same as the address table T shown in FIG.
  • the address table update unit 320 is the same component as the address table update unit 120 shown in FIG. 1, and performs the process of updating the contents of the address table T based on the notification from each of the terminal devices 400A to 400D.
  • the components 310 and 320 shown in FIG. 6 are substantially the same as the components 110 and 120 shown in FIG. 1, and thus detailed description thereof is omitted here.
  • the communication source address transmission unit 330 is a component having a function similar to that of the communication destination address return unit 130 shown in FIG. 1, but performs a slightly different operation. That is, when there is a connection mediation request from each of the terminal devices 400A to 400D, the communication source address transmission unit 330 recognizes the communication destination address by referring to the address table T, and transmits the communication source address to the communication destination address. Perform processing to send. A more detailed description of this process will be described later.
  • the terminal device 400 is provided with a connection mediation request unit 410, a communication request reception unit 420, a communication source session establishment unit 430, a communication start request unit 440, a self address notification unit 450, and a communication destination session establishment unit 460. ing.
  • This terminal device 400 is also actually composed of various computers (including devices such as a mobile phone), and each component shown as an individual block in the figure is actually a program dedicated to the computer. Built by incorporating Of course, the terminal device 400 also incorporates various components and input / output interfaces (not shown) as needed. Here, only the components directly related to the basic application of the prior application are shown in the figure. It is shown as a block, and the description of the other components is omitted.
  • thick arrows indicating the flow of signals between blocks indicate the flow of signals before establishment of a communication session, which are exchanged between the terminal device 400 and the connection mediation device 300.
  • a thin arrow indicates a flow of signals exchanged between the pair of terminal devices 400 before establishment of a communication session.
  • the white arrows indicate the flow of signals exchanged between the pair of terminal devices 400 after establishment of the communication session.
  • the components shown by the elliptical block in FIG. 7 are the components for the terminal device 400 to execute the “address notification” process, and the configuration shown by the rectangular block
  • the element is a component that executes processing required when the terminal device 400 functions as a "communication source”, and the component indicated by a double rectangular block functions as a "communication destination” of the terminal device 400. It is a component that performs the processing necessary for doing so.
  • processing by the components shown by rectangular blocks in FIG. 7 is performed, and when it becomes a "communication destination", double rectangular blocks are displayed in FIG. Processing by the component being performed is performed.
  • each function of six components of the terminal device 400 shown in FIG. 7 will be described in order.
  • the self address notification unit 450 indicated by an elliptic block is a component for executing the process of “address notification”, and transmits to the connection mediation device 300 a location address indicating the location of the self on the network. Execute processing to notify.
  • the function of the self address notifying unit 450 is the same as the function of the self address notifying unit 250 shown in FIG.
  • the address table update unit 320 shown in FIG. 6 updates the address table T in response to this notification.
  • the communication request receiving unit 420 is a component that uses itself as a communication source to receive a communication request for another terminal apparatus that is the communication destination, and has exactly the same function as the communication request receiving unit 220 shown in FIG. It is a component. Further, when the communication request receiving unit 420 receives a communication request, the connection intermediation request unit 410 specifies, with respect to the connection intermediation device 300, a communication destination specification for specifying the terminal ID of another terminal device of the communication destination. It is a component for transmitting a connection mediation request including information, and is a component having the same function as the connection mediation request unit 210 shown in FIG.
  • connection mediation request transmitted from the connection mediation request unit 410 is transmitted to the connection mediation device 300 via the network N (thick arrows in the figure exchange between the terminal device 400 and the connection mediation device 300) Show the flow of signals before establishing a communication session). Then, from the connection mediation device 300, a communication source address is transmitted as indicated by a thick arrow in the figure. The communication source address is received by the communication start request unit 440.
  • connection mediation request unit 410 for issuing a connection mediation request and the communication start request unit 440 for receiving the communication source address transmitted from the connection mediation device 300 in response to this are terminal devices different from each other. It belongs to 400.
  • the communication source address transmission unit 330 shown in FIG. The location address associated with the terminal ID of the terminal device of the communication source that has transmitted the connection mediation request with respect to the location address associated with the terminal ID identified by the communication destination identification information included in Will be processed as a communication source address.
  • a specific example (for example, the user B of the terminal device 400B) sets the terminal device 400B shown in FIG. 6 as the communication source and the terminal device 400A as the communication destination here. Is the case where the caller is the calling party and the user A of the terminal device 400A is the called party) and the above procedure is described.
  • a connection mediation request for specifying the terminal device 400A as a communication destination is sent from the communication source terminal device 400B to the connection transfer device 300.
  • the communication source address transmission unit 330 having received the connection mediation request recognizes the location address “AD1” of the terminal device 400A designated as the communication destination by referring to the address table T.
  • the communication destination address reply unit 130 in the first embodiment described above performs processing for sending the location address of the communication destination recognized in this way to the communication source (the transmission source of the connection mediation request).
  • the communication source address transmission unit 330 in the second embodiment shown in FIG. 6 addresses the communication source terminal device 400B at the communication source address “A” addressed to the recognized address “AD1” of the communication destination. Send "AD2" (which can be recognized as the source address of the connection mediation request).
  • connection mediation device 300 transmits the communication source address to the communication destination terminal device 400A (the communication source terminal device 400B The location address "AD2" is to be transmitted. This is a point that is largely different from the first embodiment described above.
  • the communication source address thus transmitted is received by the communication start request unit 440 in the communication destination terminal device 400A, as shown in FIG.
  • the communication start request unit 440 sends a communication start request to the communication source address (the address of the communication source terminal device 400B). That is, when the communication start request unit 440 transmits a communication source address indicating the location on the network of another terminal device of the communication source from the connection intermediation device 300, the communication start request unit 440 transmits the communication source via the network N. It will access the address and make a communication start request. As indicated by thin arrows in the figure, this communication start request is a signal addressed from one terminal device 400 (communication destination) to another terminal device 400 (communication source).
  • the terminal apparatus for which the communication start request has been made from another terminal apparatus (in the above example, the terminal apparatus 400A) of the communication destination is the communication source session establishing unit Receive at 430 (downward thin arrow on the left side of the figure). Then, the communication source session establishment unit 430 returns a communication start acceptance confirmation to another terminal apparatus (the terminal apparatus 400A in the above example) which is the communication destination (the upward thin arrow in the left side of the figure), Establish a communication session with the other terminal above and start communication.
  • the white arrows drawn at the left end of FIG. 7 indicate the flow of signals (communication packets) between the two terminals after the communication session is established in this way.
  • the communication start acceptance confirmation returned from the communication source terminal device 400B to the communication destination terminal device 400A is received by the communication destination session establishment unit 460 of the communication destination terminal device 400A (thin arrow in the right side of the figure).
  • the communication destination session establishing unit 460 establishes a communication session with another terminal device 400B of the communication source and starts communication.
  • the white arrows drawn at the right end of FIG. 7 indicate the flow of signals (communication packets) between the two terminals after the communication session is established in this way.
  • communication after establishment of a communication session between the communication source terminal device and the communication destination terminal device is performed between the communication source session establishment unit 430 of the communication source terminal device and the communication destination session establishment unit 460 of the communication destination terminal device. It will be done.
  • the open arrow at the left end of FIG. 7 is connected to the open arrow at the right end of FIG. 7 via the network N.
  • the function of the self address notification unit 450 in the terminal apparatus shown in FIG. 7 is the same as the function of the self address notification units 250A and 250B described with reference to FIG. Do.
  • FIG. 8 is a block diagram showing a procedure for establishing a communication session between the communication source terminal device 400B and the communication destination terminal device 400A in the network communication system shown in FIG.
  • the connection mediation device 300 is shown at the top of the figure, and two sets of terminal devices 400A and 400B are shown at the bottom of the figure.
  • the exchange of information between the connection mediation device 300 and each of the terminals 400A and 400B (indicated by thick arrows) and the exchange of information between the terminals 400A and 400B (indicated by thin arrows) are actually performed.
  • illustration of the network N is abbreviate
  • the terminal device 400B is a communication source and the terminal device 400A is a communication destination will be described. Therefore, in FIG. 8, for the components in the communication source terminal device 400B, only the components (components of the rectangular block) that execute processing required as the communication source are shown by solid lines, and in the communication destination terminal device 400A. As for the components, only the components (components of the double rectangular block) that execute processing necessary for communication are indicated by solid lines, and blocks of other components are indicated by dashed lines.
  • FIG. 9 is a flow chart for explaining the communication session establishment procedure shown in the block diagram of FIG. 8 in chronological order.
  • a specific communication procedure in the second embodiment will be described according to the flowchart of FIG. 9 with reference to the block diagram of FIG.
  • the symbols S11 to S17 attached to the arrows correspond to the steps S11 to S17 in the flowchart of FIG.
  • reference numerals in parentheses correspond to specific blocks in the block diagram of FIG. 8 and indicate specific components related to the contents of the step. It is a thing.
  • step S11 communication request acceptance processing is performed. This is processing for receiving a communication request by the communication request receiving unit 420B shown in FIG. 8 and is the same as the processing described in step S1 in FIG.
  • step S12 a connection mediation request S12 is issued based on the communication request. This is processing performed by the connection mediation requesting unit 410B illustrated in FIG. 8 and is the same as the processing described in step S2 in FIG.
  • connection mediation request unit 410B of the communication source terminal device 400B sends a connection mediation request S12 to the connection mediation device 300 (in the illustrated example, the terminal ID "0010" of the communication destination terminal device 400A is included as communication destination identification information.
  • the communication source address transmission unit 330 that has received the connection mediation request S12 refers to the address table stored in the address table storage unit 310, and the connection mediation is performed.
  • the location address associated with the terminal ID ("0010" in this example) identified by the communication destination identification information included in the request is recognized as the communication destination address (S13). For example, if the address table T at that time is as shown in FIG. 6, the address "AD1" associated with the terminal ID "0010" is recognized as the communication destination address.
  • step S14 the communication source address reply unit 330 is associated with the terminal ID "0020" of the communication source terminal device 400B that has transmitted the connection mediation request S12 to the communication destination address "AD1" recognized in step S13.
  • the present location address "AD2" is transmitted as the communication source address (S14).
  • the transmitting side of the information when transmitting and receiving information between two parties connected via a network, the transmitting side of the information transmits its own address to the receiving side, and the receiving side acknowledges the address of the transmitting side. Perform processing to send back a signal. Therefore, the communication source address transmission unit 330 can recognize the location address “AD2” of the terminal device 400B that is the transmission source when receiving the connection mediation request S12, so when performing the communication source address transmission S14. , May transmit the recognized location address “AD2” as data.
  • connection mediation device 300 addresses the communication destination terminal device 400A in response to the connection mediation request S12.
  • the communication source address "AD2" indicating the location of the communication source terminal device 400B is transmitted to the location address "AD1" searched for in the table T). Since the address table T prepared in the connection mediation device 300 is always updated to the latest state, the communication source address transmission S14 is always performed for the latest location address of the communication destination terminal device 400A. Become.
  • the communication source address transmission S14 (information for transmitting the communication source address “AD2”) is transmitted from the communication source address transmission unit 330
  • the communication source address transmission S14 is a communication start request of the communication destination terminal device 400A. It is received by section 440A.
  • step S15 the communication start request unit 440A that has acquired the communication source address “AD2” by the communication source address transmission S14 sends a communication start request S15 to the communication source terminal device 400B. That is, access is made to the communication source address "AD2" via the network N, and the communication start request is transmitted to the other party. At this time, the own location address (communication source address "AD1") is also transmitted together.
  • the communication start request S15 addressed to the communication source address “AD2” is received by the communication source session establishment unit 430B of the communication source terminal device 400B.
  • communication source session establishment unit 430B receives communication start request S15 from communication destination terminal device 400A using itself (terminal device 400B) as the communication source, communication destination terminal device 400A first via network N in step S16.
  • the communication start acceptance confirmation S16 is transmitted.
  • a communication session is established with the communication destination terminal device 400A, and communication S17 is started.
  • the communication start acceptance confirmation S16 transmitted to the communication destination terminal device 400A is received by the communication destination session establishing unit 460A. Then, in step S17, the communication destination session establishment unit 460A that has received this communication start acceptance confirmation S16 also performs processing for establishing a communication session with the communication source terminal device 400B and starting communication S17. In short, on the communication destination terminal device 400A side, when the communication start acceptance confirmation S16 is returned from the communication source terminal device 400B in response to the communication start request S15, a communication session is established with the communication source terminal device 400B. Processing to start communication.
  • a communication session is established between the communication source terminal device 400B and the communication destination terminal device 400A, and communication S17 is performed between the two.
  • the processing performed by the connection mediating apparatus 300 is only the address table reference processing of step S13 and the communication source address transmission processing of step S14. That is, the mediation processing performed by the connection mediation device 300 refers to the address table T in response to the connection mediation request S12 from the communication source terminal device 400B (step S13), and the communication source is addressed to the obtained communication destination address. Only the address data is transmitted (step S14).
  • a communication session is established between the communication source terminal device 400B and the communication destination terminal device 400A only by the connection mediation device 300 performing such mediation processing, and communication between the two will be started.
  • the processing load of the connection mediating apparatus 300 is extremely light as in the network communication system according to the first embodiment.
  • the processing load is reduced as compared to conventional relay processing, but a session is established between both terminals. It is necessary to be involved until the concentration of mediation requests from a large number of terminal devices, the processing load becomes quite heavy.
  • the connection mediating apparatus 300 does not have to be involved until the communication session is established between the two terminals, and It suffices to carry out the process of transmitting the communication source address. Therefore, it is possible to further reduce the processing load when mediating the connection between the pair of terminal devices.
  • connection mediating device 300 since the connection mediating device 300 is not involved in establishing a communication session, the connection mediating device 300 establishes a communication session between both terminal devices. It can not be grasped whether communication is being performed without any trouble. Therefore, if necessary, after establishment of the communication session, the communication source session establishment unit 430B or the communication destination session establishment unit 460A reports to the connection mediation device 300 that the communication session has been established without any problem. It is also good.
  • the communication start request unit 440A of the communication destination terminal device 400A receives the communication source address transmission S14 from the connection mediation device 300, the communication start request S15 is automatically transmitted in step S15.
  • the communication start request unit 440A has some condition determination function, and when communication source address transmission S14 is received, the communication start request is sent only if the predetermined condition is satisfied. S15 may be transmitted. Alternatively, when the predetermined condition is not satisfied, the communication start rejection notification may be transmitted instead of the communication start request S15.
  • communication start request unit 440A is provided with a communication source list (so-called black list) which always rejects communication start and a communication source list (so-called white list) which always permits communication start
  • communication start request unit 440A If the communication source address transmitted by the communication source address transmission S14 is included in the blacklist by referring to the list, the communication start request S15 is not transmitted or is processed. An operation to transmit a notification of rejection of communication start can be performed. Alternatively, it is also possible to operate to transmit the communication start request S15 only when the communication source address is listed in the white list.
  • the communication source session establishing unit 430B makes a communication start request S15 having the communication source terminal device 400A as the communication source from the communication destination terminal device 400A
  • the communication destination terminal device 400A the communication destination terminal device 400A
  • the communication start acceptance confirmation may be transmitted, in some cases, the communication start request confirmation may be rejected without accepting the communication start request S15 (or the communication start acceptance may not be transmitted) Instead of confirmation, communication start rejection notification may be sent).
  • an address table T is stored in the address table storage unit 110 in the connection mediating apparatus 100 of FIG. The same applies to the address table storage unit 310 in the connection mediating apparatus 300 of FIG.
  • the address table T is a table in which the terminal ID and the location address are associated with each of the individual terminal devices, and the communication destination address reply unit 130 or the communication source address transmission unit 330 is included in the received connection mediation request.
  • the address table T is referred to based on the communication destination specifying information, and the location address of the communication destination is acquired.
  • the connection mediation request S2 includes the terminal ID “0020” of the communication destination terminal device 200B as communication destination identification information, and the communication destination address reply unit 130
  • the location address “AD2” corresponding to the terminal ID “0020” can be acquired.
  • the connection mediation request S12 includes the terminal ID “0010” of the communication destination terminal device 400A as communication destination identification information, and the communication source address transmission unit 330. Can obtain the location address “AD1” corresponding to the terminal ID “0010” by referring to the address table T.
  • the terminal ID of the communication destination terminal apparatus is used as the communication destination identification information included in the connection mediation request.
  • This terminal ID is information for mutually identifying each terminal device, and more specifically, the serial number of the CPU built in each terminal device, the MAC address given to the communication interface, the mobile phone In the case of a terminal device that functions as, a telephone number or a serial number of a SIM card can be used as the terminal ID.
  • the terminal ID is an ID for identifying an individual terminal device
  • the user ID is an ID for identifying an individual user.
  • a user name or a nickname can be used as a user ID.
  • a correspondence table of the user ID and the terminal ID may be prepared in the communication request receiving unit 220, 420. Then, when the user issues a communication request by specifying a specific user ID (for example, a user name), the communication request accepting unit 220, 420 uses the prepared correspondence table to make the user ID a terminal ID. To the connection intermediation request unit 210, 410. Then, the connection mediation request units 210 and 410 can transmit a connection mediation request including the terminal ID.
  • Such a conversion processing function for converting a user ID (for example, user name) into a terminal ID (for example, a telephone number) is a known function provided as a "telephone number registration function" in a general mobile phone. Detailed description is omitted here.
  • a method of preparing a correspondence table between the user ID and the terminal ID on the connection mediation device 100, 300 side can also be adopted.
  • an address table T1 as shown in FIG. 10 is stored in the address table storage units 110 and 310.
  • the address table T1 is a table including, for each of the individual terminal devices, information that associates a user ID specifying a user of the terminal device with a terminal ID of the terminal device.
  • FIG. 10 shows an example using user names such as "John” and “Mary” as the user ID for convenience of explanation
  • individual users included in the table can be mutually identified.
  • the full name of each user is registered as a user ID, and if there is a user with the same first and last name, a user ID that can be distinguished from each other is registered.
  • the self address notification unit 250, 450 of the terminal device 200, 400 is provided with a function for reporting such a user ID to the connection intermediation device 100, 300 side, and the address table update unit 120, 320 If a function for registering a user ID that has received a report in the address table T1 is provided, it is possible to prepare an address table T1 as shown in FIG.
  • the address table T1 is prepared, it is not necessary to recognize the terminal ID of the terminal device to be the communication destination on the terminal device side to be the communication source.
  • the communication source terminal device 200A calls the communication destination terminal device 200B
  • the user A (John) of the communication source terminal device 200A is the user B of the communication destination terminal device 200B.
  • a communication request specifying the user name "Mary" (user ID) as the communication destination may be performed.
  • a connection mediation request S2 including the user ID “Mary” as communication destination specifying information instead of the terminal ID “0020” is transmitted from the connection mediation request unit 210A to the connection mediation device 100.
  • the communication destination address reply unit 130 that has received such a connection mediation request S2 refers to the address table T1 shown in FIG. 10 to find the terminal ID corresponding to the user name “Mary” included as communication destination identification information. "0020" can be recognized, and furthermore, the location address "AD2" of the communication destination terminal device 200B having this terminal ID "0020" can be recognized.
  • FIG. 11 is a diagram showing an address table T2 using an account ID instead of the user ID.
  • the user ID is information for identifying each user
  • the account ID is information for identifying a user account established by each user.
  • the account ID “U11111” in the illustrated example is an ID indicating a user account opened by the user “John”
  • the account ID “U22222” is an ID indicating a user account opened by the user “Mary” is there.
  • each user can open multiple accounts if necessary.
  • the self address notification unit 250, 450 of the terminal device 200, 400 is provided with an application function for opening such an account, and the address table update unit 120, 320, according to the application, a predetermined user account If an account ID is registered in the address table T2, the address table T2 as shown in FIG. 11 can be prepared.
  • connection intermediation request unit 210A becomes “U22222” instead of the terminal ID “0020”.
  • the connection mediation request S2 including the account ID as the communication destination specifying information may be transmitted to the connection mediation device 100.
  • connection mediation request transmitted from the connection mediation request unit includes some "communication destination specification information" that plays the role of specifying the terminal ID of another terminal apparatus to be the communication destination. It will be enough if it is done.
  • This "communication destination specification information” may be the terminal ID itself, or may be a user ID or account ID as described above.
  • connection intermediation request unit 210A transmits a connection intermediation request S2 using a user ID specifying the user of the terminal apparatus at the communication destination or an account ID specifying the user account as the communication destination specifying information.
  • the communication destination address reply unit 130 refers to the address table T1 or T2 and the user ID included in the connection mediation request S2 or A terminal ID associated with the account ID may be determined, and a location address associated with the determined terminal ID may be returned as a communication destination address.
  • connection intermediation request unit 410B transmits a connection intermediation request S12 using a user ID specifying a user of a terminal apparatus of a communication destination or an account ID specifying a user account as communication destination specification information.
  • the communication source address transmission unit 330 refers to the address table T1 or T2 when the connection intermediation request S12 is transmitted from the connection intermediation request unit 410B, and the user ID included in the connection intermediation request S12 or The terminal ID associated with the account ID may be determined, and the communication source address may be transmitted to the location address associated with the determined terminal ID.
  • the terminal devices that can be used for the basic application of the prior invention are diverse, such as personal computers, mobile phones, tablet terminals, etc. Recently, it has become less common for the same user to use a plurality of terminal devices.
  • a modified example is described in which the incoming call is directed to another terminal device of the same user. .
  • an address table T3 as shown in FIG. 12 is prepared in advance.
  • this address table T3 although the terminal ID and the location address are registered for each of the four sets of user IDs "John”, “Mary”, “Frank”, and “Susie", 2 for the user ID "John” Two terminal IDs "0010” and “0011” are registered, and three user IDs "0030", “0031” and “0032” are registered for the user ID "Frank”. This is because the user John owns two terminal devices available for this network communication system, and the user Frank owns three terminal devices.
  • the address table T3 shown in FIG. 12 can be referred to as an address table in which one or more alternative terminal IDs are registered for a specific terminal ID.
  • these terminal IDs are grasped as belonging to the same group, and they are treated to be mutually recognized as alternative terminal IDs. Just do it.
  • one alternative terminal ID "0011” is registered for the terminal ID "0010"
  • one alternative terminal ID "0010” for the terminal ID "0011” is registered. It will be registered.
  • two alternative terminal IDs "0031” and “0032” are registered for the terminal ID "0030”
  • two alternative terminal IDs "0030” and "0032" are registered for the terminal ID "0031”.
  • two alternative terminal IDs "0030” and "0031" are registered for the terminal ID "0031”.
  • the call may be substituted. Can be transferred to a terminal device.
  • the user John owns a first terminal device (terminal ID "0010") consisting of a smartphone and a second terminal device (terminal ID "0011”) consisting of a personal computer, and usually either of the terminals Assume that the device is also available. However, one day, it is assumed that the first terminal device consisting of a smartphone is temporarily out of service due to battery exhaustion. In this case, even if the user Mary makes a communication request with his own terminal device as the communication source and the smartphone of the user John as the communication destination, a normal connection can not be made to the smartphone of the user John.
  • connection mediating apparatus can execute processing for connecting alternatively to the personal computer of the user John serving as the substitute instead of the smart phone of the user John.
  • the address table storage unit 110 stores an address table (for example, an address table T3 shown in FIG. 12) in which one or more alternative terminal IDs are registered for a specific terminal ID.
  • the communication destination address reply unit 130 has a function of determining whether or not each terminal device is in an inconvenient state of use. Specifically, for example, test access is performed on the terminal device to be determined, and it is determined that there is no problem if there is a normal reply, but if a normal reply is not obtained, use inconvenience It may be determined that the vehicle is in a steady state.
  • Communication destination address reply section 130 determines whether or not the terminal apparatus to which the original terminal ID specified in the communication destination specification information is assigned is inconvenient in use when connection mediation request S2 is transmitted. Perform processing to judge. Then, if the terminal apparatus to which the original terminal ID is assigned is in an inconvenient state, the location address associated with the alternative terminal ID instead of the original terminal ID is returned as the communication destination address. Do the process you want.
  • the communication destination address For example, in the state where the address table T3 shown in FIG. 12 is prepared, when a connection mediation request including the original terminal ID "0010" (smart phone of the user John) is transmitted as the communication destination specifying information, the communication destination address
  • the reply unit 130 first performs test access to the location address “AD1” corresponding to the terminal ID “0010”, determines that there is no problem if a normal reply is received, and follows the usual procedure to determine the location address “AD1”. "" May be returned as the communication destination address.
  • the communication source terminal device can perform communication with the smartphone of the user John given the original terminal ID “0010” as the communication destination.
  • the terminal device the smartphone of the user John
  • the address "AD5" associated with the terminal ID "0011” registered as the alternative terminal ID for the terminal ID "0010” in the address table T3 is used as the communication destination address.
  • the communication source terminal device communicates not with the smartphone of the user John given the original terminal ID "0010” but with the personal computer of the user John given the alternative terminal ID "0011” as the communication destination. it can.
  • the address table storage unit 310 stores an address table (for example, an address table T3 shown in FIG. 12) in which one or more alternative terminal IDs are registered for a specific terminal ID. Then, the communication source address transmitting unit 330 is added with a function of determining whether or not each terminal device is in an inconvenient state of use. Specifically, as described above, the test access is performed on the terminal device to be determined, and it is determined that there is no problem if a normal reply is received, but if a normal reply is not obtained. It may be determined that the user is in an inconvenient state of use.
  • an address table for example, an address table T3 shown in FIG. 12
  • the communication source address transmission unit 330 determines whether or not the terminal device to which the original terminal ID specified by the communication destination specification information is assigned is in an inconvenient state when the connection intermediation request S12 is transmitted. Perform processing to judge. Then, if the terminal apparatus to which the original terminal ID is assigned is in an inconvenient state, connection mediation is performed for the location address associated with the alternative terminal ID instead of the original terminal ID. A process of transmitting the location address of the communication source terminal apparatus that has transmitted the request S12 as the communication source address is performed.
  • the communication source address For example, in the state where the address table T3 shown in FIG. 12 is prepared, when a connection mediation request including the original terminal ID “0010” (smart phone of the user John) as the communication destination specifying information is transmitted, the communication source address The transmitting unit 330 first performs test access to the location address “AD1” corresponding to the terminal ID “0010”, determines that there is no problem if a normal reply is received, and follows the usual procedure to determine the location address “AD1”. The communication source address may be sent to In this case, the communication source terminal device can perform communication with the smartphone of the user John given the original terminal ID “0010” as the communication destination.
  • the communication destination address reply unit 130 or the communication source address transmission unit 330 when the communication destination address reply unit 130 or the communication source address transmission unit 330 receives the connection mediation request, it performs test access to the original communication destination, and is in an inconvenient state.
  • the address table is The effect may be recorded.
  • each terminal device regardless of the presence or absence of the connection mediation request, each terminal device periodically receives test access and receives a check as to whether or not it is in an inconvenient state, and the check result is recorded in the address table. It will be Therefore, when there is a connection mediation request actually, it can be determined based on the record of the address table whether or not it is in an inconvenient state.
  • the "use inconvenient state” in this modification does not mean only the “unavailable state” as in the state of the battery exhaustion or the state of connection failure to the network.
  • the terminal device although it is in a normally usable state, it is considered that the user does not want to arbitrarily use it, and also includes a state in which such setting is performed.
  • the terminal device is in “use inconvenient state”. Therefore, in the above example, even if both the smartphone and the personal computer possessed by the user John can operate normally, if the user John sets "rejection of incoming call" to the smartphone, the smartphone It becomes an inconvenient condition.
  • the setting of “rejecting incoming call” may be recorded only in each terminal device, or may be recorded in an address table in the connection mediation device. . By recording in the address table, it is possible to recognize that the user terminal is in the “inconvenient state” without performing test access to each terminal device.
  • FIG. 13 is a block diagram showing a modified example of the network communication system according to the first embodiment shown in FIG. 4 in which security is improved. In this modification, two measures are taken to improve the security of the network communication system according to the first embodiment.
  • the first measure is the addition of mutual authentication processing, and when transmitting and receiving the information indicated by the broken arrows in the figure, mutual authentication processing is performed to confirm the authenticity of the other party between the two.
  • mutual authentication processing is performed to confirm the authenticity of the other party between the two.
  • the communication source terminal device 200A and the connection mediation device 100 mutually communicate with each other.
  • a mutual authentication process is performed to confirm the authenticity of the
  • the dashed line indicating the connection mediation request S2 indicates that this mutual authentication process is performed. Therefore, each terminal device 200 and connection mediating device 100 have such an authentication processing function.
  • the mutual authentication process when the connection intermediary device 100 sends the communication destination address reply S4 to the communication source terminal device 200A is omitted (the arrow indicating the communication destination address reply S4 is a solid line). Is drawn). This is because, when the connection mediation request S2 is transmitted, the mutual authentication process between the communication source terminal device 200A and the connection mediation device 100 has already been completed, and the authenticity of the other device has been confirmed. It is for. Of course, the mutual authentication process may be performed again when the communication destination address reply S4 is performed.
  • each terminal device 200 has such an authentication processing function.
  • the mutual authentication process at the time of performing the communication start acceptance confirmation S6 from the communication destination terminal device 200B to the communication source terminal device 200A is omitted (the arrow indicating the communication start acceptance confirmation S6 is a solid line Is drawn in). This is because mutual authentication processing between the communication source terminal device 200A and the communication destination terminal device 200B has already been completed when transmitting the communication start request S5, and the authenticity of the other device has been confirmed. It is because Of course, the mutual authentication process may be performed again when performing the communication start acceptance confirmation S6.
  • mutual authentication processing for confirming the authenticity of the other party between a pair of devices connected via a network
  • mutual authentication processing using the encryption key of the other party is often used.
  • one apparatus encrypts specific plaintext data using the public key of the other apparatus, transmits the obtained ciphertext data to the other party, and receives this
  • the other device can adopt a processing procedure of decrypting the ciphertext data using its own encryption key and confirming that the original plaintext data can be restored. If this processing procedure is performed on both sides, it is possible to mutually confirm the authenticity of the other party.
  • mutual authentication processing between the communication source terminal device 200A and the communication destination terminal device 200B is performed using the respective encryption keys, using the encryption key, the two parties after establishment of the communication session are used. If the communication S7 is performed by encrypted communication, security can be further improved. Specifically, mutual authentication processing when transmitting the communication start request S5 is performed by processing using the encryption key for the communication source terminal device 200A and the encryption key for the communication destination terminal device 200B, and the communication source terminal If communication S7 after establishment of a communication session between the device 200A and the communication destination terminal device 200B is performed by packet communication for transmitting and receiving a packet encrypted using the encryption key used in the mutual authentication process. Good.
  • a second measure taken to improve security is the issuance of an intermediary certificate by the connection intermediary device 100.
  • the connection mediating device 100 plays the role of mediating the connection between the communication source terminal device 200A and the communication destination terminal device 200B.
  • the intermediary certificate is a certificate issued by the connection intermediary device 100 in order to prove the fact that “such an intermediary has certainly been performed”.
  • the communication destination terminal device 200B can confirm that the mediation by the connection mediation device 100 is correctly performed by the mediation certificate.
  • the structure will be described in order.
  • the communication destination address replying unit 130 receives the transmission of the connection mediation request S2, and specifies the communication source An intermediary certificate is issued indicating that the intermediary process from the terminal device 200A to the specific terminal device 200B which is the communication destination is executed. Then, when the communication destination address reply S4 is performed, the intermediation certificate is sent back to the communication source terminal device 200A together with the communication destination address "AD2".
  • the communication start request unit 240A receives this intermediation certificate together with the communication destination address "AD2". Therefore, when the communication start request S5 is issued to the communication destination address "AD2", the communication start request unit 240A transmits this intermediate certificate together. Then, the communication destination session establishment unit 230B receives the intermediation certificate together with the communication start request S5.
  • the communication destination session establishment unit 230B transmits the intermediation certificate together with the communication start request S5 having the communication destination as the communication destination from another terminal apparatus 200A of the communication source, the legitimacy of the intermediation certificate is confirmed.
  • Communication start acceptance confirmation S6 to another terminal apparatus 200A of the communication source under the condition that a communication session is established with another terminal apparatus 200A of the communication source to start communication S7. Make it Of course, if the validity of the intermediation certificate is not confirmed, the communication start acceptance confirmation S6 is not transmitted, and the communication S7 is not started either.
  • the mediation certificate in the above example proves that the connection mediation device 100 has performed “the mediation process from the terminal device 200A to the terminal device 200B”
  • the communication destination session establishment unit 230B It is possible to confirm the legitimacy of the intermediate certificate by determining whether the content of the communication start request S5 matches the proof content of the intermediate certificate.
  • the mediation proof that "the mediation process from the terminal device 200A to the terminal device 200B is executed" is performed. It can be judged that the book is correct.
  • the communication destination session establishment unit 230B in the communication destination terminal device 200B receives the communication start request S5 from the communication source terminal device 200A, transmits the communication start acceptance confirmation S6 to the communication source terminal device 200A, and performs communication session To perform communication S7.
  • the received communication start request S5 is a legitimate signal, but if it is a camouflage signal by a cracker, there is a risk of being damaged by fraud.
  • the communication source terminal device 200A is infected with malware, it is hijacked by the cracker, and the communication start request S5 is made by an unauthorized method without following the regular procedure via the connection mediation device 100.
  • the measures to issue the above-mentioned intermediation certificate are taken, it is effective in preventing the fraud by such a cracker.
  • the communication destination address reply unit 130 may create the intermediate certificate, for example, by the following method. First, based on the connection mediation request S2, the location address (“AD1” in the illustrated example) of the specific terminal device 200A serving as the communication source and the location address (in the illustrated example) of the specific terminal device 200B serving as the communication destination "AD2" recognizes. Then, it creates data for intermediary certification that includes these two location addresses. For example, the character strings of both location addresses may be linked as they are and a character string such as “AD1” + “AD2” may be used as data for intermediary certification, and another secret character string “HAPPY” may be added. A character string such as “AD1” + “AD2” + “HAPPY” may be used as data for intermediary certification.
  • data obtained by applying a one-way function using a predetermined encryption key to the data for mediation proof created in this way may be used as a mediation certificate.
  • a one-way function an encryption key for communication source terminal device 200A or an encryption key for communication destination terminal device 200B, or a hash function using both of these encryption keys can be used.
  • the mediation proof data is composed of a character string “AD1” + “AD2” + “HAPPY”, and the character string is subjected to a mediation by causing a hash function using the public key of the communication destination terminal device 200B to act.
  • a hash function using the public key of the communication destination terminal device 200B to act.
  • the intermediary certificate created in this way is the hash value of the intermediary certificate data.
  • the communication destination session establishment unit 230B that has received the intermediation certificate together with the communication start request S5 can confirm the legitimacy of the intermediation certificate according to the following procedure.
  • the location address “AD1” of the communication source terminal device 200A can be recognized. It can also recognize its own location address "AD2".
  • the secret character string “HAPPY” this secret character string is managed so that only each component of the network communication system can know
  • an intermediary certificate is created by applying a hash function using its own public key to the intermediary certificate data. Finally, it may be confirmed that the intermediation certificate thus created matches the intermediation certificate sent along with the communication start request S5. If the two match, the validity of the intermediate certificate is confirmed. Of course, in the case of non-coincidence, the legitimacy can not be confirmed, so it can be judged that there is a possibility that some fraud has been made. That is, when the legitimacy of the mediation certificate can not be confirmed, it is determined that the communication start request S5 received by the communication destination session establishment unit 230B is not made based on the normal mediation processing by the connection mediation device 100. be able to. In such a case, the communication destination session establishment unit 230B rejects the establishment of the communication session without transmitting the communication start acceptance confirmation S6.
  • the hash value for the data for intermediary certification “AD1” + “AD2” + “HAPPY” is used as the intermediary certificate, but of course, the data for intermediary certification itself is used as the intermediary certificate. It is also possible. However, in order to ensure sufficient security, it is preferable to use the hash value, not the intermediary certificate data itself, as the intermediary certificate. Since the data for mediation proof includes location addresses such as "AD1" and "AD2", it is susceptible to tampering by the cracker. Therefore, in practice, as in the above example, it is preferable to create an intermediary certificate by operating a one-way function using some encryption key.
  • FIG. 14 is a block diagram showing a modified example of the network communication system according to the second embodiment shown in FIG. 8 in which the security is improved. In this modification, two measures are taken to improve the security of the network communication system according to the second embodiment.
  • the first measure is the addition of mutual authentication processing, and when transmitting and receiving the information indicated by the broken arrows in the figure, mutual authentication processing is performed to confirm the authenticity of the other party between the two. Specifically, first, when transmitting the connection mediation request S12 from the communication source terminal device 400B to the connection mediation device 300, the communication source terminal device 400B and the connection mediation device 300 mutually communicate with each other. A mutual authentication process is performed to confirm the authenticity of the The dashed line indicating the connection mediation request S12 indicates that this mutual authentication process is performed.
  • each terminal device 400 and connection mediation device 300 have the above-described authentication processing function.
  • each terminal device 400 is provided with such an authentication processing function.
  • the mutual authentication process at the time of performing the communication start acceptance confirmation S16 from the communication source terminal device 400B to the communication destination terminal device 400A is omitted (the arrow indicating the communication start acceptance confirmation S16 is a solid line Is drawn in). This is because when the communication start request S15 is transmitted, the mutual authentication process between the communication destination terminal device 400A and the communication source terminal device 400B has already been completed, and the authenticity of the other device has been confirmed. It is because Of course, the mutual authentication process may be performed again when performing the communication start acceptance confirmation S16.
  • the second measure taken to improve security is the issuance of an intermediary certificate by the connection intermediary device 300.
  • the connection mediating device 300 plays the role of mediating the connection between the communication source terminal device 400B and the communication destination terminal device 400A.
  • the intermediary certificate is a certificate issued by the connection intermediary device 300 in order to prove the fact that “such an intermediary has certainly been performed”.
  • the communication source terminal device 400B can confirm that the mediation by the connection mediation device 300 is performed correctly by the mediation certificate.
  • the structure will be described in order.
  • the communication source address transmission unit 330 receives the transmission of the connection mediation request S12, and specifies the communication source An intermediary certificate is issued indicating that an intermediary process has been performed from the terminal device 400B to the specific terminal device 400A that is the communication destination. Then, when the communication source address reply S14 is performed, the intermediation certificate is sent back to the communication destination terminal device 400A together with the communication source address "AD2".
  • the communication start request unit 440A receives this intermediation certificate together with the communication source address "AD2". Therefore, when making a communication start request S15 to the communication source address "AD2", the communication start request unit 440A transmits this intermediate certificate together. Then, the communication source session establishment unit 430B receives the intermediation certificate together with the communication start request S15.
  • the communication source session establishment unit 430B transmits the intermediation certificate together with the communication start request S15 having the communication source as the communication source from another terminal device 400A of the communication destination, the validity of the intermediation certificate is confirmed.
  • the communication start acceptance confirmation S16 is transmitted to the other terminal device 400A of the communication destination, and a communication session is established with the other terminal device 400A of the communication destination to start communication S17. Make it Of course, if the validity of the intermediation certificate is not confirmed, the communication start acceptance confirmation S16 is not transmitted, and the communication S17 is not started either.
  • the mediation certificate in the above example proves that the connection mediation device 300 has performed “the mediation process from the terminal device 400B to the terminal device 400A”
  • the communication source session establishment unit 430B It is possible to confirm the legitimacy of the intermediation certificate by determining whether the content of the communication start request S15 matches the proof content of the intermediation certificate.
  • the mediation proof that "intermediate processing from the terminal device 400B to the terminal device 400A has been executed" is performed. It can be judged that the book is correct.
  • the communication source session establishment unit 430B in the communication source terminal device 400B receives the communication start request S15 from the communication destination terminal device 400A, transmits the communication start acceptance confirmation S16 to the communication destination terminal device 400A, and performs communication session To perform communication S17.
  • the received communication start request S15 is a legitimate signal, but if the signal is a camouflage signal by a cracker, there is a risk of being damaged by fraud.
  • the communication destination terminal device 400A is infected with malware, it is hijacked by a cracker, and the communication start request S15 is made by an unauthorized method without following the regular procedure via the connection mediation device 300. There is also the possibility of If the measures to issue the above-mentioned intermediation certificate are taken, it is effective in preventing the fraud by such a cracker.
  • the specific method of creating an intermediary certificate is as described in 3-33-3. That is, also in the case of the modification shown in FIG. 14, the communication source address transmission unit 330 is the location address “AD2” of the specific terminal device 400B as the communication source and the location address “A” of the specific terminal device 400A as the communication destination.
  • An intermediary certificate is operated by acting a one-way function using a predetermined encryption key on data for intermediary certification (including other secret character strings may be added if necessary) including “AD1”. Create it.
  • a one-way function an encryption key for the communication source or an encryption key for the communication destination, or a hash function using both of these encryption keys can be used.
  • the specific procedure of the legitimacy confirmation using such an intermediary certificate is as already described in 3-3 3-3, and the description is omitted here.
  • each of the terminal devices 200A to 200D and 400A to 400D is directly connected to the network N (the Internet) for the convenience of illustrating the basic principle of each invention.
  • N the Internet
  • each terminal device is connected to the network N (Internet) via a router. Therefore, a practical embodiment in which a terminal device is connected to a network via a router will be described here in the basic application of the prior application.
  • FIG. 15 is a block diagram showing an embodiment of the prior application basic invention in which a terminal device is connected to a network N via a router. Specifically, FIG. 15 shows a state in which three terminal devices 200E, 200F, and 200G are connected to the network N (the Internet) via the same router R.
  • the terminal device 200 in the basic application basic invention is any device as long as it is an electronic device such as a personal computer, a mobile phone, a tablet terminal, etc., having a function of connecting to the network N and performing communication. I don't care.
  • corporate LANs and home LANs have become widespread, and personal computers and tablet terminals are usually connected to the Internet via routers installed in companies and homes.
  • base stations having a router function have been used, and mobile phones can be connected to the Internet via the base station having this router function.
  • each terminal device used in the basic application of the prior application is practically connected to the Internet via the router R, as illustrated in FIG.
  • the router R has a function of constructing a LAN, and in the illustrated example, a portion drawn on the left side of the router R constitutes one subnet, and a class C private IP address is assigned.
  • each terminal apparatus is assigned an IP address having a network unit “192.168” and host units “0.11”, “0.12”, and “0.13”. Communication between devices in this subnet can be performed without going through router R, but when accessing devices outside the subnet, communication via router R is required.
  • a private IP address of “192.168.0.11” is assigned to the terminal device 200E (terminal ID: 0050), and a private IP address of “192.168.0.12” is attached to the terminal device 200F (terminal ID: 0060).
  • An IP address is assigned, and a private IP address "192.168.0.13" is assigned to the terminal device 200G (terminal ID: 0070).
  • port numbers are used together with these IP addresses for actual communication.
  • port number P1 is for one communication path of terminal device 200E
  • port numbers P2 and P3 are for two communication paths of terminal device 200F
  • port numbers P4 to P7 are for four communication paths of terminal device 200G. An example given is shown.
  • the port number consists of 2 bytes of data and is used to identify the communication endpoint.
  • the port number P3 is assigned to the communication path of Therefore, even for communication using the same IP address “192.168.0.12”, it is possible to distinguish between communication for APP1 and communication for APP2 by the difference in port number P2 / P3.
  • two sets of application programs APP1 and APP2 are also installed in the terminal device 200G shown in the figure
  • two sets of port numbers P4 and P5 are allocated for APP1, and two sets of port numbers for APP2.
  • P6 and P7 are assigned.
  • the application program APP1 is a web browser program
  • the port number P4 is assigned to communication on the first web page
  • the port number P5 is assigned to communication on the second web page.
  • port numbers can be arbitrarily assigned according to the convenience of individual application programs.
  • the illustrated application program APP2 is a dedicated communication application program for performing the function as the network communication system according to the prior invention basic invention.
  • the illustrated terminal devices 200F and 200G are devices such as general-purpose personal computers, smart phones, and tablet-type terminals that operate under the management of a predetermined OS program, and install the communication application program APP2 dedicated to the devices. By doing this, these devices will function as a terminal device according to the basic application of the prior application.
  • a self address notification unit 250, a communication request reception unit 220, a connection mediation request unit 210, a communication start request unit 240, a communication source session establishment unit 260, and a communication destination session establishment which are components of the terminal device 200 shown in FIG.
  • the processing function of the unit 230 is realized by executing the communication application program APP2 (a part of the processing functions may be realized by the execution of the OS program).
  • a self address notification unit 450, a communication request reception unit 420, a connection mediation request unit 410, a communication start request unit 440, a communication source session establishment unit 430, and a communication destination session establishment which are components of the terminal device 400 shown in FIG.
  • the processing function of the unit 460 is realized by executing the communication application program APP2 (a part of the processing functions may be realized by execution of the OS program).
  • FIG. 15 a block showing the application program APP2 and its communication path are shown by thick lines.
  • Communication between each of the terminal devices 200E, 200F, and 200G and devices outside the subnet is performed via the router R.
  • the router R has a network address translation function (NAT (Network Address Translation) function), and the private IP address assigned to the communication path connected to the inside (the left side of the router R in the figure)
  • NAT Network Address Translation
  • the reverse conversion is also performed.
  • xx in the global IP address indicates an arbitrary 1-byte data (in this application, a part of the global IP address is xx, yy, zz, etc. in order to avoid identification of a unique global IP address). I will refer to the symbol).
  • NAPT Network Address Port Translation
  • the combination "192.168.0.12 (P3)" of the private IP address and the port number given to the communication path from the communication application program APP2 of the terminal device 200F is the combination "xx. 75.1.111 (P13) ". Therefore, for an external device connected via the network (Internet) N, the APP 2 of the terminal device 200 F has a location address “xx.73.5.111 (P13)” (information obtained by adding a port number to an IP address) Will be identified by Similarly, APP2 of the terminal device 200G is specified by the location address “xx.73.5.111 (P16)” or “xx.73.5.111 (P17)”.
  • the same global IP address ADx (specifically, “xx.73.5.111”) is given to a plurality of communication paths outside the router R, but the port numbers are respectively Because they are different, they can be distinguished from each other.
  • processing is performed to convert the global IP address ADx into a private IP address.
  • the location address is converted to “192.168.0.13 (P6)”, and the communication application program of the terminal device 200G It is processed as an access to the first communication channel of APP2.
  • a NAPT function is a widely used existing technology, so a detailed description is omitted here.
  • the terminal device 200 which is a component of the network communication system according to the prior invention basic invention, includes a self address notification unit 250 as shown in FIG. A process of notifying the connection mediating apparatus 100 of the location address indicating the location at the top is performed. As described above, this notification process is actually executed by the communication application program APP2 installed in the terminal device 200.
  • the communication application program APP2 notifies the location address to the connection mediating device 100, and the address table updating unit 120 in the connection mediating device 100 receives the notification. For each of the terminal devices, processing of writing information in which the terminal ID and the location address are associated in the address table T in the address table storage unit 110 is executed.
  • the self-address notifying unit 250 is a private IP in a LAN (subnet) managed by the router R. Performs processing to notify the address as the location address.
  • this private IP address is converted to a global IP address ADx by the NAT function of the router R and transmitted to the network N. Therefore, the address delivered to the connection mediation device 100 is not a private IP address but a global IP address ADx, and the address table update unit 120 stores this global IP address ADx in the address table T as a location address. I do.
  • information obtained by adding a port number to an IP address is used as a location address indicating the location of each terminal apparatus on the network.
  • the self address notification unit 250 performs processing to notify information obtained by adding the port number to the private IP address as the location address, and the information is converted by router R into information obtained by adding the port number to the global IP address. , Reach the connection mediation device 100. Therefore, information obtained by adding the port number to the global IP address is written to the address table T as the location address.
  • FIG. 16 is a diagram showing an example of an address table in the case where information obtained by adding a port number to an IP address is used as a location address in the embodiment shown in FIG.
  • the address table T41 shown in FIG. 16A is “terminal ID: 0060 based on the notification from the own address notification unit 250 (communication application program APP2) in the terminal device 200F (terminal ID: 0060) shown in FIG.
  • the location address (combination of the IP address ADx and the port number P13) corresponding to “” and also notify from the self address notification unit 250 (communication application program APP2) in the terminal device 200G (terminal ID: 0070)
  • the location address (combination of the IP address ADx and the port number P16, and the combination of the IP address ADx and the port number P17) is written based on the “terminal ID: 0070”.
  • the own address notification unit 250 (communication application program APP2) in each of the terminal devices 200F and 200G performs processing of transmitting information in which a port number is added to a private IP address as a location address. Since the router R converts the information into the global IP address with the port number added, the location address actually stored in the address table T41 is, as illustrated, a combination of the global IP address ADx and the port number after conversion. become.
  • the information obtained by adding the port number "P3" to the private IP address "192.168.0.12" as the location address indicating the location of the transmission source is the terminal ID "
  • the location address indicating the location of the sender, which is the source is the port number “P13” with the global IP address “xx.73.5.111”.
  • the address table T41 a combination of the global IP address ADx “xx.73.5.111” and the port number “P13” is written as the belonging address corresponding to the terminal ID “0060”.
  • the address table T42 shown in FIG. 16 (b) is an example of information of the location address column of the address table T41 shown in FIG. 16 (a) as specific data.
  • the address table T42 shown in FIG. The data "xx.73.5.111” is stored in the IP address column of the table.
  • the port number given to the communication path outside router R is a 2-byte number generated so as not to overlap each other by router R, and in the example shown in FIG. 16 (b), 62801 to 62803 Data is stored.
  • an address table T42 as shown in FIG. 16B is stored in the connection mediating apparatus 100 shown in FIG. 15 for the terminal devices 200F and 200G. Therefore, when there is a connection mediation request including the terminal ID "0060" as communication destination specifying information from an external communication source (not shown), the communication destination address replying unit 130 in the connection mediation device 100 refers to the address table T42. By doing this, the location address corresponding to the terminal ID “0060” (information obtained by adding the port number “62801” to the IP address “xx.735.111”) is returned as the communication destination address. Therefore, the terminal apparatus serving as the communication source can issue a communication start request to the communication destination specified by the IP address “xx.735.111” and the port number “62801”.
  • the address table updating units 120 and 320 in the connection mediating apparatus 100 and 300 update the address table illustrated in FIG. 16 each time a notification of the location address is received from the self address notifying unit 250 or 450 of each terminal device. Do the processing. As described above, in the case of the embodiment shown in FIG. 15, the processing function of the self address notifying unit of the terminal devices 200F and 200G is realized by executing the communication application program APP2 operating under the management of a predetermined OS program. .
  • the notification process of the self address by the self address notification unit 250, 450 at the timing shown in the table of FIG. Timing (1) in the illustrated table is when the user inputs an operation to the communication application program APP2. For example, after the communication application program APP2 is started, a message such as "Prepare for communication (Yes / No)?" Is displayed, and when the user performs an operation input instructing "Yes", An address notification process may be performed. Normally, when the communication application program APP2 is activated, the private IP address of the terminal apparatus and the global IP address corresponding to this have already been determined, and an environment for performing notification processing of the own address is established.
  • the timing (2) in the illustrated table is at the start of the communication application program APP2.
  • this timing (2) is adopted, the notification process of the self address is automatically executed without waiting for the display of the message described above and the operation input by the user.
  • the processing function as the self address notifying unit 250 or 450 may be incorporated into the start routine of the program APP2.
  • Timing (3) in the illustrated table is at the time of activation of the OS program, which is substantially at the time of activation of the terminal device.
  • the processing function as the self address notifying unit 250 or 450 may be incorporated into the boot routine of the OS program.
  • processing to determine the private IP address of the terminal device and the corresponding global IP address is performed in the start-up routine of the OS program, so if self-address notification processing is automatically performed after that. Good.
  • FIG. 15 exemplifies an embodiment in which a terminal apparatus is connected to the network N via the router R.
  • the local network built inside the router R constitutes one private network
  • each of the terminal devices 200E, 200F, 200G is a network unit of “192.168”.
  • a private IP address beginning with is assigned.
  • VPN technology is widely used as a method of extending such a private network across public networks such as the Internet N.
  • FIG. 18 is a block diagram showing an entire configuration of an embodiment using a VPN in the network communication system according to the prior invention basic invention.
  • three terminal devices 200H, 200I, 200J terminal IDs are respectively 0081, 0082, 0083, respectively
  • one terminal installed in the Paris branch office A simple example in which a VPN is constructed by a total of four terminal devices 200 K (terminal ID is 0091) will be shown.
  • the three terminal devices 200H, 200I, and 200J installed at the Tokyo head office are called the first terminal devices belonging to the first group, and one terminal device 200K installed at the Paris branch office is made the second group. It will be called the second terminal apparatus to which it belongs.
  • the first terminal devices 200H, 200I and 200J are connected to the network (Internet) N via a first router R1, and the second terminal device 200K is connected via a second router R2.
  • Network (Internet) N is connected. Therefore, basically, the first terminal devices 200H, 200I, and 200J arranged above the first router R1 in the figure are hosts in the first LAN managed by the first router R1. As a result, the second terminal device 200K disposed below the second router R2 in the figure is a host in the second LAN managed by the second router R2.
  • a private IP address in the first LAN managed by the first router R1 is given to the first terminal device 200H, 200I, 200J, and a second router is given to the second terminal device 200K.
  • a private IP address in the second LAN managed by R2 is assigned. Further, similarly to the example shown in FIG. 15, a port number is also assigned together with the IP address.
  • a private IP address of class B is assigned to the first LAN, and “172.16.6.11 (P1)” and “172.16” are assigned to the first terminal devices 200H, 200I and 200J, respectively.
  • the IP addresses and port numbers are given as “6.12 (P2)” and “172.16.6.13 (P3)” (port numbers P1, P2, P3, etc. are actually 2 bytes of data).
  • These pieces of information are assigned by the first router R1, respectively, to the global IP address ADy as "yy.88.105.19 (P11)", “yy.88.105.19 (P12)", and “yy.88.105.19 (P13)". It is connected to the Internet N after being converted to a combination of the and port numbers.
  • a private IP address of class C is assigned to the second LAN, and an IP address and a port number of “192.168.99.11 (P4)” are assigned to the second terminal device 200K. Is granted.
  • This information is converted by the second router R2 into a combination of a global IP address ADz of "zz.99.214.28 (P21)" and a port number, and is then connected to the Internet N.
  • the first LAN to which the first terminal devices 200H, 200I and 200J belonging to the first group belong and the second LAN to which the second terminal device 200K belonging to the second group belongs Is a separate and independent private network, but in the case of the illustrated embodiment, a VPN is constructed to extend the range of the first LAN across the Internet N.
  • a private IP address and port number "192.168.99.11 (P4)" in the second LAN managed by the second router R2 are given to the second terminal device 200K, and the first router R1 is The private IP address and port number "172.16.6.14 (P5)" in the first LAN managed by the virtual LAN are virtually assigned as VIP addresses, and the first terminal devices 200H, 200I, 200J and the second VPN settings are made between the terminal device 200 K and the terminal device 200 K so that they can communicate with each other using this VIP address.
  • the terminal device 200K installed in the Paris branch office is the first LAN managed by the first router R1, like the terminal devices 200H, 200I and 200J installed in the Tokyo head office. It can be handled as an internal terminal device.
  • FIG. 19 is a diagram showing the principle of VNP communication in the embodiment shown in FIG. The illustrated example shows VPN communication between the terminal device 200H installed at the Tokyo head office and the terminal device 200K installed at the Paris branch office.
  • a VPN communication unit 201H is provided in the terminal device 200H, and a VPN communication unit 201K is provided in the terminal device 200K, and a VPN encrypted communication path is established between the two. Since the data exchanged between the two are encrypted, in fact, although information is transmitted via a public network such as the Internet N, it has convenience and security as if it were private network. Information can be sent and received.
  • the VPN communication units 201H and 201K are actually constructed by dedicated VPN application programs installed in the respective terminal devices. Since the specific structure of such a VPN is a known technique, detailed description is omitted here.
  • FIG. 20 is a diagram showing an example of an address table to which a VIP address is added for use in the embodiment shown in FIG.
  • the address table T51 shown in FIG. 20 (a) is a location address (IP address and port) corresponding to each terminal ID based on the notification from the own address notification unit 250 in the terminal devices 200H to 200K which are members of the VPN. Number) is stored.
  • the terminal devices 200H to 200J are devices belonging to the first LAN built at the Tokyo head office, but the terminal device 200K (terminal ID: 0091) is at the Paris branch office. It is a device that belongs to the constructed second LAN.
  • the first LAN is virtually extended to the terminal device 200K according to the above-described VPN structure, and the terminal device 200K is assigned a VIP address “VIP (200 K)”. Therefore, for the terminal ID "0091" of the address table T51 shown in FIG. 20A, a VIP address "VIP (200K)" is further stored in the VIP column.
  • the address table T52 shown in FIG. 20 (b) is an example of information of the location address column and the VIP column of the address table T51 shown in FIG. 20 (a) as specific data.
  • information in which port numbers P11 to P13 are added to the global IP address ADy "yy.88.105.19" is given as the location address to each communication path outside the first router R1.
  • data “yy.88.105.19” is stored, and the port number column is stored.
  • the setting of the VPN for the connection mediation device 100 is made in the self address notifying unit 250 of the second terminal device 200K.
  • the address table updating unit 120 has a function of storing the VIP address in the address table T52 in association with the location address of the second terminal device 200K. Just do it.
  • the connection intermediation request unit 210 of the first terminal device 200H can specify the communication destination by using the VIP address “VIP (200K)” of the second terminal device 200K as the communication destination identification information.
  • connection intermediation request unit 210 of the terminal device 200H performs a connection intermediation request including a VIP address of “172.1.6.6.14” as communication destination specification information
  • the communication destination address in the connection intermediation device 100 The reply unit 130 replies the location address "zz.99.214.28 (61999)" corresponding to the VIP address "172.1.6.6.14" as the communication destination address by referring to the address table T52 shown in FIG. 20 (b). be able to.
  • the terminal device 200 K is recognized as a device having a VIP address of “172.1.6.6.14” in the layer of the application program, so a connection mediation request is made using this VIP address. It would be useful if it could be done.
  • the port number "P5" may be stored together with the VIP address "172.16.6.14". Then, using the information “172.16.6.14 (P5)”, it is possible to make a connection mediation request including designation of a specific port number.
  • FIG. 21 is a block diagram showing an entire configuration of a network communication system according to the first embodiment of the present invention.
  • the network communication system shown in FIG. 21 corresponds to one obtained by replacing the connection mediation device 100 in the network communication system according to the first embodiment of the prior invention basic invention shown in FIG. 1 with a connection mediation device 100G.
  • the connection mediating device 100G is also actually configured by a computer such as a server computer. Therefore, each component shown as an individual block in FIG. 21 is actually constructed by incorporating a dedicated program into a computer.
  • connection mediating device 100G shown in FIG. 21 corresponds to the connection mediating device 100 shown in FIG. It is the added configuration.
  • group information is added to the address table TG stored in the address table storage unit 110G, and whether the communication destination address reply unit 130G returns the communication destination address with reference to the group information? It has a function to judge whether it is not.
  • information indicating the correspondence between the terminal ID and the location address is stored in the address table TG for the four terminal devices 200A to 200D.
  • Group information indicating a group is stored. Specifically, for the terminal IDs "0010" and “0020”, group information "X” indicating that the terminal belongs to the group X is stored, and for the terminal IDs "0030" and "0040", the group Y is stored. Group information “Y” indicating that the user belongs to “Y” is stored. This indicates that the terminal devices 200A and 200B belong to the group X, and the terminal devices 200C and 200D belong to the group Y.
  • the basic concept of the present invention is to group a plurality of terminal devices and execute connection mediation processing that enables communication only between terminal devices belonging to the same group. That is, in the case of the connection mediation processing 100 according to the prior application basic invention shown in FIG. 1, the connection mediation processing has been performed for the device according to any combination among the four terminal devices 200A to 200D. In the case of the connection mediating apparatus 100G according to the present invention, connection mediating processing of terminals belonging to the same group is performed, but connection mediating processing of terminals belonging to different groups is not performed.
  • connection mediation device 100G executes connection mediation processing between them.
  • both of the terminal devices 200C and 200D belong to the same group Y, the connection mediation device 100G executes connection mediation processing between them.
  • the connection between the terminal devices 200A-200C, the connection between the terminal devices 200A-200D, the connection between the terminal devices 200B-200C, and the connection between the terminal devices 200B-200D are connections between the terminals belonging to different groups. Therefore, connection mediation processing will not be performed.
  • FIG. 21 shows a simple example in which four terminal devices 200A to 200D are divided into two groups for convenience of explanation, but in an actual usage environment, a larger number of terminal devices are prepared and more Many groups are set. In such a usage environment, if connection mediation processing is performed only between the terminals belonging to the same group, the connection can be made only to trusted terminals. The action and effects of the invention become extremely remarkable.
  • the connection target is always limited to reliable terminal devices set in the same group, even if the number of terminal devices is increased. Therefore, the risk of getting infected with malware can be reduced.
  • the network communication system illustrated in FIG. 21 includes network communication including a plurality of terminal devices 200A to 200D that can be connected to each other via a network N, and a connection mediation device 100G that mediates connection between the plurality of terminal devices.
  • the system is similar to the network communication system shown in FIG.
  • a terminal ID for mutually identifying each of the plurality of terminal devices 200A to 200D is assigned to each of the plurality of terminal devices 200A to 200D, and the connection mediating device 100G becomes a communication source using the terminal ID. Processing for mediating the connection between the terminal device and the terminal device that is the communication destination is performed.
  • the configuration of each of the terminal devices 200A-200D is exactly the same as the embodiment of the prior application basic invention described above.
  • the address table TG stored in the address table storage unit 110G shown in FIG. 21 corresponds the terminal ID to the location address for each of the terminal devices 200A to 200D.
  • the address table updating unit 120 updates the contents of the address table TG based on the notification from the self address notifying unit 250 of each of the terminal devices 200A to 200D.
  • connection mediating apparatus 100G shown in FIG. 21 is additionally provided with a group information setting unit 140G for setting group information indicating the group to which each terminal ID is stored in the address table TG.
  • the group information setting unit 140G performs processing of associating and recording group information indicating an affiliation group with each terminal ID in the address table TG stored in the address table storage unit 110G. Therefore, as illustrated, in the address table TG, in addition to the terminal ID column and the location address column, a group information column is provided, and in the group information column, group information indicating the belonging group of each terminal ID ( In the case of the illustrated example, the characters X or Y) are recorded.
  • the basic function of the communication destination address reply unit 130G shown in FIG. 21 is the same as the basic function of the communication destination address reply unit 130 shown in FIG. That is, the communication destination address reply unit 130G, like the communication destination address reply unit 130 shown in FIG. 4, receives the connection mediation request S2 from the connection mediation request unit 210A of the terminal device 200A. With reference to the process, the location address AD2 associated with the terminal ID "0020" specified by the communication destination specification information included in the connection mediation request S2 is returned as the communication destination address.
  • connection mediation device 100 of FIG. 4 is replaced with the connection mediation device 100G, and the address table storage unit 110G is used instead of the address table storage unit 110, and the communication destination address Instead of the reply unit 130, the communication destination address reply unit 130G is used. Then, the communication destination address return processing by the communication destination address return unit 130G is executed only when the condition that the communication source and the communication destination belong to the same group is satisfied.
  • the communication destination address return unit 130G is specified by the terminal ID "0010" of the terminal apparatus 200A of the communication source that has transmitted the connection mediation request S2, and the communication destination specification information included in the connection mediation request S2. Whether or not the terminal ID "0020" belongs to the same group is determined with reference to the group information set in the address table TG, and if a positive determination result is obtained, the communication destination If an address is returned and a negative determination result is obtained, the communication destination address is not returned.
  • the communication destination address return unit 130G sends the communication destination address “AD2” (the terminal device to be the communication destination to the communication start request unit 240A of the terminal device 200A as the communication source. A process of returning the address of 200 B) is performed. Thereafter, a communication session is established between the terminal devices 200A-200B, as described in FIG.
  • connection mediation request S2 from the connection mediation request unit 210A is the terminal device 200C or 200D as the communication destination
  • the connection mediation request S2 includes the terminal ID “ Since the communication destination address replying unit 130G is the group Y whose communication destination is different although the communication source is the group X, since the communication destination address reply unit 130G includes “0040” or “0040”, the communication is performed based on the negative determination result. You will not reply to your first address. That is, the connection mediation request S2 from the communication source is rejected, and the connection to the communication destination can not be made.
  • connection mediating apparatus 100G shown in FIG. 21 plays the role of mediating the connection between the communication source terminal and the communication destination terminal for the plurality of terminals 200A to 200D that can be connected to each other via the network N.
  • An address table TG in which for each of the terminal devices 200A to 200D, a terminal ID for mutually identifying each terminal device is associated with a location address indicating the whereabouts of each terminal device on the network.
  • the group information indicating the belonging group are stored for each terminal ID stored in the address table TG, and the connection origination request S2 to the communication destination terminal is transmitted from the communication source terminal
  • the terminal ID of the communication source terminal device and the terminal ID of the communication destination terminal device belong to the same group Is determined with reference to the group information
  • the location address of the communication destination terminal device obtained by referring to the address table TG is obtained as the communication source terminal device only when the determination result that it belongs to the same group is obtained. It will process to reply.
  • FIG. 22 is a block diagram showing an entire configuration of a network communication system according to a second embodiment of the present invention.
  • the network communication system shown in FIG. 22 corresponds to one in which the connection mediation device 300 in the network communication system according to the second embodiment of the prior invention basic invention shown in FIG. 6 is replaced with a connection mediation device 300G.
  • the connection mediation device 300G is also actually configured by a computer such as a server computer. Therefore, each component shown as an individual block in FIG. 22 is actually constructed by incorporating a dedicated program into a computer.
  • connection mediating device 300G shown in FIG. 22 corresponds to the connection mediating device 300 shown in FIG. It is the added configuration.
  • group information is added to the address table TG stored in the address table storage unit 310G, and whether the communication source address reply unit 330G returns the communication source address with reference to the group information It has a function to judge whether it is not.
  • the address table TG of FIG. 22 stores, for four terminal devices 400A to 400D, information indicating correspondence between terminal IDs and location addresses and group information. .
  • connection mediation device 300G shown in FIG. 22 as well, although connection mediation processing of terminals belonging to the same group is performed, connection mediation processing of terminals belonging to different groups is not performed.
  • the network communication system illustrated in FIG. 22 includes network communication including a plurality of terminal devices 400A to 400D that can be connected to each other via a network N, and a connection mediation device 300G that mediates connection between the plurality of terminal devices.
  • the system is the same as the network communication system shown in FIG.
  • a terminal ID for mutually identifying each terminal device is assigned to each of the plurality of terminal devices 400A to 400D, and the connection mediating device 300G becomes a communication source using this terminal ID. Processing for mediating the connection between the terminal device and the terminal device that is the communication destination is performed.
  • the configuration of each of the terminal devices 400A-400D is exactly the same as the embodiment of the prior application basic invention described so far.
  • the address table TG stored in the address table storage unit 310G shown in FIG. 22 corresponds to the terminal ID and the location address for each of the terminal devices 400A to 400D as in the address table T shown in FIG.
  • the address table updating unit 320 updates the contents of the address table TG based on the notification from the self address notifying unit 450 of each of the terminal devices 400A to 400D.
  • connection mediating apparatus 300G shown in FIG. 22 is additionally provided with a group information setting unit 340G for setting group information indicating an affiliation group for each terminal ID stored in the address table TG.
  • the group information setting unit 340G performs processing of associating and recording group information indicating an affiliation group with each terminal ID in the address table TG stored in the address table storage unit 310G. Therefore, as illustrated, in the address table TG, in addition to the terminal ID column and the location address column, a group information column is provided, and in the group information column, group information indicating the belonging group of each terminal ID ( In the case of the illustrated example, the characters X or Y) are recorded.
  • the basic function of the communication source address reply unit 330G shown in FIG. 22 is the same as the basic function of the communication source address reply unit 330 shown in FIG. That is, the communication source address reply unit 330G transmits the connection mediation request S12 from the connection mediation request unit 410B of the terminal device 400B, similarly to the communication source address reply unit 330 shown in FIG. Communication that transmitted the connection mediation request S12 to the location address AD1 associated with the terminal ID “0010” specified by the communication destination specification information included in the connection mediation request S12 with reference to A process of transmitting the location address AD2 associated with the terminal ID “0020” of the original terminal device 400B as the communication source address is performed.
  • connection mediation device 300 of FIG. 8 is replaced with the connection mediation device 300G, and the address table storage unit 310G is used instead of the address table storage unit 310.
  • the transmission unit 330 a communication source address transmission unit 330G is used. The transmission process of the communication source address by the communication source address transmission unit 330G is executed only when the condition that the communication source and the communication destination belong to the same group is satisfied.
  • the communication source address transmission unit 330G is specified by the terminal ID "0020" of the terminal device 400B of the communication source that has transmitted the connection mediation request S12, and the communication destination specifying information included in the connection mediation request S12. Whether or not the terminal ID "0010" belongs to the same group is determined with reference to the group information set in the address table TG, and if a positive determination result is obtained, the communication source address If a negative determination result is obtained, the communication source address is not transmitted.
  • the communication source address transmission unit 330G transmits the communication source address “AD2” (the terminal device serving as the communication source to the communication start request unit 440A of the terminal device 400A serving as the communication destination. A process of transmitting the location address 400 B) is performed. Thereafter, a communication session is established between the terminal devices 400A and 400B, as described in FIG.
  • the connection mediation request S12 from the connection mediation request unit 410B is the terminal device 400C or 400D as the communication destination
  • the connection mediation request S12 includes the terminal ID “ Since the communication source address transmission unit 330G is the group Y whose communication destination is different although the communication source is the group X, the communication source address transmission unit 330G performs communication based on a negative determination result. It will not send the original address. That is, the connection mediation request S12 from the communication source is rejected, and the connection to the communication destination can not be made.
  • connection mediating apparatus 300G shown in FIG. 22 plays the role of mediating the connection between the communication source terminal and the communication destination terminal for the plurality of terminals 400A to 400D that can be connected mutually via the network N.
  • An address table TG in which for each of the terminal devices 400A to 400D, a terminal ID for mutually identifying each terminal device is associated with a location address indicating the whereabouts of each terminal device on the network.
  • each terminal ID stored in the address table TG stores group information indicating the group to which each belongs, and when the communication source terminal device transmits a connection mediation request to the communication destination terminal device Whether the terminal ID of the communication source terminal device and the terminal ID of the communication destination terminal device belong to the same group
  • the communication source terminal apparatus is used for the location address of the communication destination terminal apparatus obtained by referring to the address table TG only when the determination is made with reference to the group information and the determination result that it belongs to the same group is obtained. It will process to send the location address of.
  • connection mediating apparatus As described above, the important feature of the connection mediating apparatus according to the present invention is that the connection mediating process is performed only when the communication source terminal and the communication destination terminal belong to the same group. It is on the point. Here, whether or not the belonging group is the same is determined based on the group information set in advance by the group information setting unit. Therefore, setting of group information is very important in practicing the present invention. Here, the method of setting group information will be described more specifically.
  • FIG. 23 shows a specific example of the address table TG used in the present invention.
  • location addresses "AD1" to “AD9” are respectively associated with a total of nine terminal devices to which terminal IDs "0010” to “0090” are assigned, and each terminal ID is further associated.
  • One of three group information "X”, "Y”, and “Z” is associated with one another.
  • group information four terminal devices to which terminal IDs "0010” to “0040” are assigned belong to group X, and two terminal devices to which terminal IDs "0050” and "0060” are assigned are group It shows that three terminal devices belonging to Y and assigned terminal IDs “0070” to “0090” belong to the group Z.
  • the group information may be any form of information as long as it can indicate the group to which each terminal ID belongs, but in practice, as shown in FIG. 23, the form is incorporated in a part of the address table TG. Should be adopted.
  • the group information setting unit 140G shown in FIG. 21 and the group information setting unit 340G shown in FIG. 22 adopt the same format to set group information, and the address tables stored in the address table storage units 110G and 310G. A method is adopted in which group information indicating a belonging group is associated and recorded with each terminal ID in the TG.
  • the setting of the group information does not necessarily have to be performed using the address table TG.
  • the example shown in FIG. 24 is an example in which a group table G and an address table T are separately provided instead of the address table TG shown in FIG.
  • the address table T may be stored in the address table storage units 110 and 310
  • the group table G may be stored in the group information setting units 140G and 340G.
  • information indicating the affiliation group of each terminal device may be given from outside to the group information setting units 140G and 340G.
  • the group information setting unit 140G can set group information based on the information transmitted from the own address notification unit 250.
  • the group information setting unit 340G may set group information based on the information transmitted from the self address notifying unit 450. it can.
  • group X is notified from a terminal apparatus to which terminal IDs "0010” to "0040” are assigned
  • group Y is notified from a terminal apparatus to which terminal IDs "0050” and "0060” are assigned.
  • the group Z is notified from the terminal device to which the terminal IDs “0070” to “0090” are assigned.
  • a terminal device for group information setting may be further provided separately from the above nine terminal devices, or one of the nine terminal devices may be functioned as a terminal device for group information setting.
  • the group to which all nine terminal devices belong may be notified to the connection mediation device by the group information setting terminal device.
  • the terminal device for setting group information has a function of transmitting information indicating the group to which the terminal device belongs to the terminal information of the own or another terminal device to the group information setting units 140G and 340G, and the group information setting units 140G and 340G The setting of group information is performed based on the information transmitted from the group information setting terminal device.
  • group information corresponding to the company to which the self belongs may be set as the terminal device used by employees of each company.
  • group information is provided for four terminal devices for employees of company X, two terminal devices for employees of company Y, and three terminal devices for employees of company Z, respectively. It will be the set result.
  • terminal devices assigned terminal IDs “0010” to “0040” used by employees of company X can communicate with each other, but employees of company Y or The employees of company Z can not communicate via the network communication system according to the present invention.
  • the group information set by the group information setting units 140G and 340G can be changed at any time.
  • the group information setting units 140G and 340G have a function of updating group information each time new information is transmitted from the self address notifying unit in each terminal device or the group information setting terminal device. Just do it.
  • one affiliation group is made to correspond to one terminal ID (terminal device), but on the network of one terminal device as in the embodiments shown in FIG. 15 and FIG.
  • the information that adds the port number to the IP address as the location address that indicates the location in it is possible to set the group information that indicates the belonging group for each combination of terminal ID and port number. It is.
  • a network communication system includes, as constituent elements, a plurality of terminal devices and a connection mediation device that mediates the mutual connection, and the feature is that a pair determined to belong to the same group It mediates communication between the terminal devices of
  • the function of determining whether the group is the same group is given to the connection mediation device, and when the connection mediation request is received, if the communication partner is the same group, The connection is mediated by teaching the address, and when the communication partner is not in the same group, the connection relay is rejected by not teaching the location address of the communication partner. Therefore, whether or not a connection to a specific communication partner is made is left to the sole discretion of the connection mediating apparatus.
  • connection mediation device determines that "connection is possible”
  • reconfirmation as to whether or not the connection is possible is performed on the terminal device side.
  • the terminal device does not immediately establish a communication session with the communication partner, and performs communication. Reconfirm that the other party is in the same group.
  • the process for establishing a communication session is performed by the terminal device.
  • the group information setting unit has a function of sequentially updating group information based on an instruction from the outside. Therefore, the reconfirmation process on the terminal apparatus side implemented in the modification described in this 77 can also play a role of eliminating the inconvenience caused by the time lag at the time of updating the group information.
  • the Internet is used as the network N
  • data communication between the terminal device and the connection mediation device may be delayed, and updating of the group information may be delayed. Even in such a case, if re-confirmation is performed on the terminal device side, it is possible to finally determine whether or not to connect based on the latest group information.
  • FIG. 25 is a block diagram showing an overall configuration of a network communication system according to a modification in which a configuration for reconfirming group information is added to the first embodiment of the present invention shown in FIG.
  • the connection mediating device 100GG shown in FIG. 25 is obtained by adding a group information confirmation unit 150G to the connection mediating device 100G shown in FIG.
  • the terminal devices 200A 'to 200D' shown in FIG. 25 are obtained by adding the same group reconfirmation function to the terminal devices 200A to 200D shown in FIG.
  • the communication source terminal device makes a connection mediation request to the communication destination terminal device, and the connection mediation device 100GG responds to the connection mediation request.
  • the connection mediation device 100GG responds to the connection mediation request.
  • the same group confirmation request for confirmation of is performed, and a communication session is established only when a positive confirmation result is obtained.
  • the group information confirmation unit 150G When receiving the same group confirmation request, refers to the group information to confirm whether the terminal ID of the communication source and the terminal ID of the communication destination belong to the same group. And a process of reporting the confirmation result to the terminal apparatus that has made the same group confirmation request.
  • the terminal device 200A ′ which is the communication source, receives a reply S4 of the communication destination address AD2 from the connection mediation device 100GG.
  • the terminal device 200A ′ causes the group information confirmation unit 150G to communicate with the other terminal device 200B ′, which is the communication destination, until the terminal device 200A ′ establishes the communication session.
  • the same group confirmation request is performed to request confirmation as to whether "0010" and the terminal ID "0020" of another terminal apparatus to be communicated with belong to the same group.
  • the response S4 of the communication destination address AD2 has been received from the connection mediation device 100GG has already been determined by the connection mediation device 100GG that the terminal ID "0010" and the terminal ID "0020" are in the same group.
  • the same group confirmation request is made, it means that the terminal device side requests reconfirmation.
  • the group information confirmation unit 150G having received the same group confirmation request reconfirms with reference to the group information stored in the address table TG in the address table storage unit 110G, and performs the same group confirmation request. Report the confirmation result to 200A '.
  • the terminal device 200A ′ receiving the report of the confirmation result establishes a communication session when a positive confirmation result is obtained, but establishes a communication session when a negative determination result is obtained. Do not do.
  • the processing of the same group confirmation request can be handled by the communication start request unit 240A shown in FIG.
  • the communication start request unit 240A in the terminal device 200A ′ which is the communication source, receives the reply S4 of the communication destination address AD2 from the communication destination address reply unit 130G in the connection mediation device 100GG, the group information confirmation unit The same group confirmation request is issued to 150G, and when the positive confirmation result is obtained, the communication start request S5 is performed, and when the negative determination result is obtained, the communication start request S5 is not performed. You should do it.
  • the communication source session establishing unit 260A shown in FIG. 4 can handle the processing of the same group confirmation request.
  • the communication source session establishment unit 260A in the terminal device 200A ′ as the communication source receives the communication start acceptance confirmation S6 from the communication destination session establishment unit 230B in the terminal device 200B ′ as the communication destination
  • the same group confirmation request is issued to the information confirmation unit 150G, and when the positive confirmation result is obtained, the communication session S7 is established, and when the negative determination result is obtained, the communication session is not established. Just do it.
  • the processing of the same group confirmation request may be performed by the communication destination session establishing unit 230B of the communication destination terminal device 200B ′ shown in FIG.
  • the communication destination session establishment unit 230B in the terminal device 200B 'as the communication destination receives the communication start request S5 from the terminal device 200A' as the communication source
  • the communication with the group information confirmation unit 150G is performed.
  • the same group confirmation request is performed to request confirmation as to whether or not the terminal ID “0010” of another terminal apparatus to be the source and the terminal ID “0020” of the own terminal to be communicated with belong to the same group.
  • the group information confirmation unit 150G receives this same group confirmation request, refers to the group information, and determines whether the terminal ID “0010” of the communication source and the terminal ID “0020” of the communication destination belong to the same group It confirms whether or not it is not, and reports the confirmation result to the communication destination session establishing unit 230B which has made the same group confirmation request.
  • the communication destination session establishment unit 230B that has received the report transmits the communication start acceptance confirmation S6 when the positive confirmation result is obtained, and the communication start acceptance confirmation S6 when the negative determination result is obtained. Will not send.
  • FIG. 26 is a block diagram showing an entire configuration of a network communication system according to a modification in which a configuration for reconfirming group information is added to the second embodiment of the present invention shown in FIG.
  • Connection mediating apparatus 300GG shown in FIG. 26 is obtained by adding group information confirmation unit 350G to connection mediating apparatus 300G shown in FIG.
  • each of the terminal devices 400A ′ to 400D ′ shown in FIG. 26 is obtained by adding the same group reconfirmation function to each of the terminal devices 400A to 400D shown in FIG.
  • the communication source terminal device makes a connection mediation request to the communication destination terminal device, and the connection mediation device 300GG responds to the connection mediation request.
  • the connection mediation device 300GG responds to the connection mediation request.
  • the same group confirmation request for confirmation of is performed, and a communication session is established only when a positive confirmation result is obtained.
  • the group information confirmation unit 350G refers to the group information to confirm whether the terminal ID of the communication source and the terminal ID of the communication destination belong to the same group. And a process of reporting the confirmation result to the terminal apparatus that has made the same group confirmation request.
  • the terminal device 400A ′ which is the communication destination, receives the transmission S14 of the communication source address AD2 from the connection mediation device 300GG.
  • the terminal device 400A ′ causes the group information confirmation unit 350G to determine its own terminal ID of the communication destination before establishing a communication session with another terminal device 400B ′ as the communication source.
  • the same group confirmation request is performed to check whether “0010” and the terminal ID “0020” of another terminal apparatus that is the communication source belong to the same group.
  • connection mediation device 300GG has determined that the terminal ID "0010" and the terminal ID "0020" are in the same group.
  • the same group confirmation request is made, it means that the terminal device side requests reconfirmation.
  • the group information confirmation unit 350G that has received the same group confirmation request reconfirms with reference to the group information stored in the address table TG in the address table storage unit 310G, and performs the same group confirmation request. Report the confirmation result to 400A '.
  • the terminal device 400A ′ receiving the report of the confirmation result establishes a communication session when a positive confirmation result is obtained, but establishes a communication session when a negative judgment result is obtained. Do not do.
  • the processing of the same group confirmation request can be handled by the communication start request unit 440A shown in FIG.
  • the communication start request unit 440A in the terminal device 400A ′ to be the communication destination receives the transmission S14 of the communication source address AD2 from the communication source address transmission unit 330G in the connection mediation device 300GG, the group information confirmation unit The same group confirmation request is issued to 350 G, and when the positive confirmation result is obtained, the communication start request S15 is performed, and when the negative determination result is obtained, the communication start request S15 is not performed. You should do it.
  • the communication destination session establishing unit 460A shown in FIG. 8 can handle the same group confirmation request.
  • the communication destination session establishment unit 460A in the terminal device 400A ' which is the communication destination
  • receives the communication start acceptance confirmation S16 from the communication source session establishment unit 430B in the terminal device 400B' which is the communication source
  • the same group confirmation request is issued to the information confirmation unit 350G, and when the positive confirmation result is obtained, the communication session S17 is established, and when the negative determination result is obtained, the communication session is not established. Just do it.
  • the processing of the same group confirmation request may be carried by the communication source session establishing unit 430B of the communication source terminal device 400B ′ shown in FIG.
  • the communication source session establishing unit 430B in the terminal device 400B 'serving as the communication source receives the communication start request S15 from the terminal device 400A' serving as the communication destination, communication is performed to the group information confirmation unit 350G.
  • the same group confirmation request is performed to check whether the terminal ID "0010" of the other terminal apparatus to be the first terminal and the terminal ID "0020" of the own terminal as the communication source belong to the same group.
  • the group information confirmation unit 350G receives this same group confirmation request, refers to the group information, and determines whether the terminal ID “0010” of the communication destination and the terminal ID “0020” of the communication source belong to the same group It confirms whether or not it is not, and reports the confirmation result to the communication source session establishing unit 430B which has made the same group confirmation request.
  • the communication source session establishment unit 430B having received the report transmits the communication start acceptance confirmation S16 when the positive confirmation result is obtained, and the communication start acceptance confirmation S16 when the negative determination result is obtained. Will not send.
  • the home gateway device plays a role of mediating the public network and the home network, and is a home information processing device having a function of exchanging telephone and fax signals in addition to the function of a general broadband router. is there.
  • Electronic devices such as a TV receiver, a video recorder, an air conditioner, and a personal computer in a home can be connected to an external network through the home gateway device.
  • each home electronic device incorporates an OS program and an application program, and these programs need to be updated as needed.
  • this update is performed by executing an update program sent from an external update server via the network.
  • the present invention is effective in addressing such problems.
  • FIG. 27 is a block diagram showing an embodiment in which the network communication system according to the present invention is used for an update system of a home electronic device.
  • a house-shaped block drawn in the lower half of the figure shows a home H.
  • a home gateway device 500 is installed, and various home electronic devices are placed under the control of the home gateway device 500, and a network (Internet) N via the home gateway device 500. It is connected to the.
  • the TV receiver 510, the video recorder 520, the air conditioner 530, the personal computer 540, the printer 550, the smartphone 560, the fire alarm 570, the security camera 580 is disposed, and is connected to home gateway device 500 by wire or wirelessly.
  • a company V update server 710 a company W update server 720, a company X update server 730, a company Y update server 740, and a company Z update server 750 are depicted. These update servers play a role in providing an update program to programs incorporated in each home electronic device.
  • the illustrated connection mediating apparatus 800 is the connection mediating apparatus 100G, 100GG, 300G, 300GG according to the present invention described above.
  • the home electronic devices 510 to 580 and the update servers 710 to 750 correspond to the terminal devices in the present invention, and the connection mediating device 800 plays a role of mediating the connection between these terminal devices.
  • the system shown in FIG. 27 includes a part of the terminal device configured by a plurality of home electronic devices 510 to 580 connected to the network N via the home gateway device 500. It can be said that another part of the terminal device is configured by the update servers 710 to 750 for updating a program incorporated in each home electronic device.
  • the connection mediation device 800 both belong to the same group for a specific home electronic device and an update server for updating a program incorporated in the specific home electronic device. Group information indicating is set.
  • each of the home electronic devices 510 to 580 belongs to one or more of the groups V to Z.
  • the group to which each of the home electronic devices 510 to 580 belongs is determined to be the same group as the update server used at the time of update. For example, suppose that company V is a company that provides disaster prevention equipment, and fire alarm 570 is a household electronic apparatus provided by company V. In such a case, the group to which the fire alarm 570 belongs may be set to the same group V as the group to which the V company update server 710 belongs.
  • connection mediation device 800 an address table TG is stored in which the terminal ID and the location address of each terminal device are associated with each other and group information for each terminal ID is set.
  • the connection mediation device 800 since the fire alarm 570 and the V company update server 710 are set with the group information indicating the same belonging group V, the connection mediation device 800 includes the fire alarm 570 and the V company update server. The connection between it and 710 can be mediated. Therefore, the program incorporated in the fire alarm 570 can be updated by executing the update program provided by the V company update server 710 as necessary.
  • the update program may be provided by push-type distribution with the V-company update server 710 as the communication source, or may be performed with pull-type distribution with the fire alarm 570 as the communication source.
  • the fire alarm 570 since the fire alarm 570 is connected only to the V company update server 710 belonging to the same group V by a function unique to the present invention, it is provided from a reliable server. Secure update using the update program is possible. Therefore, by executing a fake update program, it is possible to prevent malware infection.
  • the program for update can be provided with respect to many electronic devices.
  • the TV receiver 510 and the video recorder 520 are both products of company X, the same belonging group X as the company X update server 730 is set. Therefore, at the time of update, the TV receiver 510 and the video recorder 520 are connected only to the X company update server 730, and receive a reliable update program.
  • W company is a company that provides a security camera
  • Y company is a company that provides an air conditioner
  • the same group W as W server update server 720 is set in security camera 580, and Y in air conditioner 530.
  • the group Z is additionally set.
  • Company Z provides Update Program for Company W's security camera or Company Y's air conditioner from Company Z's update server 750. The case is assumed.
  • the update server 750 of company Z receives not only the personal computer 540, the printer 550, and the smartphone 560, which are products of Z company itself, but also the update to the air conditioner 530 manufactured by Y company and the security camera 580 manufactured by W company. Become.
  • the update for the program incorporated in the air conditioner 530 can be performed by connecting to the Y company update server 740 belonging to the group Y, or to the Z company update server 750 belonging to the group Z. It can also be connected and done.
  • the smart car 610 depicted in the lower right of FIG. 27 can also be said to be an electronic device that performs various functions by connecting to the network (Internet) N. Since this smart car 610 is not an electronic device under the control of the home gateway device 500, the communication connection to the network N will be made via another route, but the update of the incorporated program is the Z company update It is performed using the server 750. For this reason, the smart car 610 is set to the group Z.
  • the smartphone 560 is under the management of the home gateway device 500 (for example, under the wireless LAN provided by the home gateway device 500). In the state of being carried, it is connected to the network N via another route. In this case, although the location address is changed, the group information does not need to be changed. In the illustrated example, the smartphone 560 always belongs to the group Z regardless of whereabouts thereof, and is updated using the Z company update server 750.
  • group information indicating the belonging group may be set for each combination of terminal ID and port number.
  • group information of group ALL including all terminal devices For example, for the port number assigned to the Web browser, set the group information of group ALL including all terminal devices, and for the port number assigned to the update application, set the group information of group Z
  • the web browser can connect to all servers without restriction, and the update application is limited to the connection to the Z company update server 750 only. Such an operation can prevent the update application from being infected with malware by receiving a fake update program.
  • the network communication system enables secure communication between arbitrary terminal devices in a state where various terminal devices connectable to the Internet, such as personal computers, mobile phones, tablet terminals, etc., are used. It provides technology and has sufficient industrial availability.
  • connection mediation device 110 110G: address table storage unit 120: address table update unit 130, 130G: communication destination address reply unit 140G: group information setting unit 150G: group information confirmation unit 200, 200A to 200K, 200A 'to 200D': terminal device 201H, 201K: VPN communication unit 210, 210A, 210B: connection mediation request unit 220, 220A, 220B: communication request reception unit 230, 230A, 230B: communication destination session establishment unit 240, 240A, 240B: communication start request unit 250, 250A, 250B: self address notification unit 260, 260A, 260B: communication source session establishment unit 300, 300G, 300GG: connection mediation device 310, 310G: address table storage unit 320: address Table updating unit 330, 330G: communication source address transmitting unit 340G: group information setting unit 350G: group information confirming unit 400, 400A to 400D, 400A 'to 400D': terminal devices 410, 410A, 410

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

接続仲介処理の負荷を軽減しつつ、信頼のおける端末装置に対してのみ接続を行う。接続仲介装置(100G)内に格納されているアドレステーブル(TG)には、各端末装置(200A~200D)について端末IDと所在アドレスとが対応づけられており、各端末が所属するグループを示すグループ情報(X,Y)が格納されている。通信元端末(200A)が、通信先端末(200B)に対して通信を開始する場合、接続仲介装置(100G)に対して接続仲介依頼を行う。接続仲介装置(100G)は、グループ情報を参照し、通信元の端末ID(0010)と通信先の端末ID(0020)とが同一グループであれば、接続の仲介を行い、通信元端末(200A)に対して通信先端末(200B)の所在アドレス(AD2)を返信する。通信元端末(200A)は、返信された所在アドレス(AD2)宛に通信開始要求を行い、通信セッションを確立する。

Description

ネットワーク通信システム
 本発明は、ネットワークを介した端末間通信を行うためのネットワーク通信システムに関する。
 今日、パソコンやスマートフォンをはじめとする様々な端末装置がインターネットに接続されるようになってきており、ネットワークを介した端末間通信も広く普及している。ただ、インターネットのような公衆ネットワークを利用して端末間通信を行う上では、セキュリティを確保する上で何らかの工夫を施す必要がある。また、モバイル端末の場合、ネットワーク上での所在が時間的に変化するため、通信先となる端末の現時点での所在アドレスを何らかの方法で認識する必要がある。
 このような観点から、従来の一般的なネットワーク通信システムでは、端末装置間の通信を取り継ぐ役割を果たす中継装置が設けられている。たとえば、下記の特許文献1には、第1の端末装置と中継装置との間にセキュアな第1の通信チャネルを確保し、第2の端末装置と中継装置との間にセキュアな第2の通信チャネルを確保して、中継装置を介して両端末装置間で通信を行うネットワーク通信システムが開示されている。ただ、このような中継装置を利用したシステムでは、両端末間の通信データがすべて中継装置を経由することになるため、中継装置に多大な処理負荷がかかるという問題がある。
 そこで、最近は、SIP(Session Initiation Protocol)と呼ばれるプロトコルを利用して、ネットワーク上に設けられた接続仲介装置により、両端末間での通信セッション確立の取り継ぎを行い、通信セッション確立後は、両端末間で直接通信を行う方式が提案されている。たとえば、下記の特許文献2,3には、このSIPを利用して端末間におけるVPN通信を実現するネットワーク通信システムが開示されている。このシステムにおける接続仲介装置は、通信データのすべてを中継する必要はなく、両端末間に通信セッションが確立されるまでの手助けを行えばよいので、従来の中継装置に比べて処理負荷が大幅に軽減される。
特開2005-229436号公報 特開2010-233167号公報 特開2013-038684号公報
 上述したとおり、特許文献2,3に開示されているネットワーク通信システムに用いられる接続仲介装置は、SIPを利用して両端末間の接続仲介処理を行うことになる。この接続仲介処理は、両端末間に通信セッションが確立されるまでの一時的な処理であるため、特許文献1に開示されている従来型の中継処理に比べれば、その処理負荷は軽減されることになる。しかしながら、両端末間に通信セッションが確立するまで関与する必要があるため、多数の端末装置から同時に仲介依頼があると、その処理負荷は無視できないものになる。このため、仲介依頼が集中すると、通信セッション確立までの一時的な仲介処理であっても、システムの処理能力を超えてしまうおそれがある。
 また、近年は、個々の端末装置がネットワークを介してマルウェアに感染する被害が拡大している。今後は、様々な家庭用電子機器がネットワークへの接続を前提とした機能を備えてゆくものと予想され、マルウェアへの感染被害を抑制するためには、信頼のおける通信先に対してのみ交信が行われるような仕組が強く望まれている。たとえば、家庭用電子機器をはじめとする様々な端末装置に組み込まれているソフトウェアをアップデートする場合、ネットワークを介してアップデートサーバに接続してプログラムの更新を行うのが一般的である。このとき、接続先が偽のアップデートサーバであると、端末装置へのマルウェア感染は避けられない。
 そこで本発明は、一対の端末装置間の接続を仲介する際の処理負荷を、より軽減することができ、しかも信頼のおける端末装置に対してのみ接続が可能なネットワーク通信システムを提供することを目的とする。
 (1)  本発明の第1の態様は、ネットワークを介して相互に接続可能な複数の端末装置と、これら複数の端末装置間の接続を仲介する接続仲介装置と、を備えたネットワーク通信システムにおいて、
 複数の端末装置には、個々の端末装置を相互に識別するための端末IDをそれぞれ付与し、接続仲介装置が、端末IDを利用して通信元となる端末装置と通信先となる端末装置との間の接続を仲介する処理を実行するようにし、
 複数の端末装置のそれぞれには、
 自己のネットワーク上での所在を示す所在アドレスを、接続仲介装置に対して通知する自己アドレス通知部と、
 自己を通信元として、通信先の別な端末装置に対する通信要求を受け付ける通信要求受付部と、
 通信要求受付部によって通信要求が受け付けられたときに、接続仲介装置に対して、通信先の別な端末装置の端末IDを特定するための通信先特定情報を含む接続仲介依頼を送信する接続仲介依頼部と、
 接続仲介依頼に応じて、接続仲介装置から、通信先の別な端末装置のネットワーク上での所在を示す通信先アドレスが返信されてきたときに、ネットワークを介して、通信先アドレスにアクセスして通信開始要求を行う通信開始要求部と、
 通信開始要求に応じて、通信先の別な端末装置から、通信開始受諾確認が返信されてきたら、通信先の別な端末装置との間に通信セッションを確立して通信を開始する通信元セッション確立部と、
 通信元の別な端末装置から、自己を通信先とする通信開始要求がなされたら、通信元の別な端末装置に対して通信開始受諾確認を送信し、通信元の別な端末装置との間に通信セッションを確立して通信を開始する通信先セッション確立部と、
 を設け、
 接続仲介装置には、
 端末装置のそれぞれについて、端末IDと所在アドレスとを対応づけたアドレステーブルを格納するアドレステーブル格納部と、
 端末装置の自己アドレス通知部からの通知に基づいて、アドレステーブルの内容を更新するアドレステーブル更新部と、
 端末装置の接続仲介依頼部から、接続仲介依頼が送信されてきたときに、アドレステーブルを参照して、接続仲介依頼に含まれている通信先特定情報によって特定される端末IDに対応づけられている所在アドレスを通信先アドレスとして返信する通信先アドレス返信部と、
 アドレステーブルに格納されている各端末IDについて、それぞれ所属グループを示すグループ情報を設定するグループ情報設定部と、
 を設け、
 通信先アドレス返信部が、接続仲介依頼を送信してきた通信元の端末装置の端末IDと、当該接続仲介依頼に含まれている通信先特定情報によって特定される端末IDと、が同一グループに所属するか否かをグループ情報を参照して判定し、肯定的な判定結果が得られた場合には通信先アドレスの返信を行い、否定的な判定結果が得られた場合には通信先アドレスの返信を行わないようにしたものである。
 (2)  本発明の第2の態様は、上述した第1の態様に係るネットワーク通信システムにおいて、
 接続仲介装置に、更に、グループ情報確認部を設け、
 通信元となる端末装置が、接続仲介装置から通信先アドレスの返信を受けた後、通信先となる別な端末装置との間に通信セッションを確立するまでの間に、グループ情報確認部に対して、通信元となる自己の端末IDと通信先となる別な端末装置の端末IDとが同一グループに所属するか否かの確認を求める同一グループ確認依頼を行う機能を有し、
 グループ情報確認部は、同一グループ確認依頼を受けたときに、グループ情報を参照して通信元の端末IDと通信先の端末IDとが同一グループに所属するか否かの確認を行い、同一グループ確認依頼を行った端末装置に対して確認結果を報告し、
 確認結果の報告を受けた端末装置は、肯定的な確認結果が得られた場合には通信セッションの確立を行い、否定的な判定結果が得られた場合には通信セッションの確立を行わないようにしたものである。
 (3)  本発明の第3の態様は、上述した第2の態様に係るネットワーク通信システムにおいて、
 通信元となる端末装置内の通信開始要求部が、接続仲介装置から通信先アドレスの返信を受けたときに、グループ情報確認部に対して同一グループ確認依頼を行い、肯定的な確認結果が得られた場合には通信開始要求を行い、否定的な判定結果が得られた場合には通信開始要求を行わないようにしたものである。
 (4)  本発明の第4の態様は、上述した第2の態様に係るネットワーク通信システムにおいて、
 通信元となる端末装置内の通信元セッション確立部が、通信先となる端末装置内の通信先セッション確立部から通信開始受諾確認を受けたときに、グループ情報確認部に対して同一グループ確認依頼を行い、肯定的な確認結果が得られた場合には通信セッションを確立し、否定的な判定結果が得られた場合には通信セッションを確立しないようにしたものである。
 (5)  本発明の第5の態様は、上述した第1の態様に係るネットワーク通信システムにおいて、
 接続仲介装置に、更に、グループ情報確認部を設け、
 通信先となる端末装置内の通信先セッション確立部が、通信元となる端末装置から通信開始要求を受けたときに、グループ情報確認部に対して、通信元となる別な端末装置の端末IDと通信先となる自己の端末IDとが同一グループに所属するか否かの確認を求める同一グループ確認依頼を行う機能を有し、
 グループ情報確認部は、同一グループ確認依頼を受けたときに、グループ情報を参照して通信元の端末IDと通信先の端末IDとが同一グループに所属するか否かの確認を行い、同一グループ確認依頼を行った通信先セッション確立部に対して確認結果を報告し、
 通信先セッション確立部は、同一グループ確認依頼に対して、肯定的な確認結果が得られた場合には通信開始受諾確認を送信し、否定的な判定結果が得られた場合には通信開始受諾確認を送信しないようにしたものである。
 (6)  本発明の第6の態様は、ネットワークを介して相互に接続可能な複数の端末装置と、これら複数の端末装置間の接続を仲介する接続仲介装置と、を備えたネットワーク通信システムにおいて、
 複数の端末装置には、個々の端末装置を相互に識別するための端末IDをそれぞれ付与し、接続仲介装置が、端末IDを利用して通信元となる端末装置と通信先となる端末装置との間の接続を仲介する処理を実行するようにし、
 複数の端末装置のそれぞれには、
 自己のネットワーク上での所在を示す所在アドレスを、接続仲介装置に対して通知する自己アドレス通知部と、
 自己を通信元として、通信先の別な端末装置に対する通信要求を受け付ける通信要求受付部と、
 通信要求受付部によって通信要求が受け付けられたときに、接続仲介装置に対して、通信先の別な端末装置の端末IDを特定するための通信先特定情報を含む接続仲介依頼を送信する接続仲介依頼部と、
 接続仲介装置から、通信元の別な端末装置のネットワーク上での所在を示す通信元アドレスが送信されてきたときに、ネットワークを介して、通信元アドレスにアクセスして通信開始要求を行う通信開始要求部と、
 通信開始要求に応じて、通信元の別な端末装置から、通信開始受諾確認が返信されてきたら、通信元の別な端末装置との間に通信セッションを確立して通信を開始する通信先セッション確立部と、
 通信先の別な端末装置から、自己を通信元とする通信開始要求がなされたら、通信先の別な端末装置に対して通信開始受諾確認を送信し、通信先の別な端末装置との間に通信セッションを確立して通信を開始する通信元セッション確立部と、
 を設け、
 接続仲介装置には、
 端末装置のそれぞれについて、端末IDと所在アドレスとを対応づけたアドレステーブルを格納するアドレステーブル格納部と、
 端末装置の自己アドレス通知部からの通知に基づいて、アドレステーブルの内容を更新するアドレステーブル更新部と、
 端末装置の接続仲介依頼部から、接続仲介依頼が送信されてきたときに、アドレステーブルを参照して、接続仲介依頼に含まれている通信先特定情報によって特定される端末IDに対応づけられている所在アドレスに対して、接続仲介依頼を送信した通信元の端末装置の端末IDに対応づけられている所在アドレスを通信元アドレスとして送信する通信元アドレス送信部と、
 アドレステーブルに格納されている各端末IDについて、それぞれ所属グループを示すグループ情報を設定するグループ情報設定部と、
 を設け、
 通信元アドレス送信部が、接続仲介依頼を送信してきた通信元の端末装置の端末IDと、当該接続仲介依頼に含まれている通信先特定情報によって特定される端末IDと、が同一グループに所属するか否かをグループ情報を参照して判定し、肯定的な判定結果が得られた場合には通信元アドレスの送信を行い、否定的な判定結果が得られた場合には通信元アドレスの送信を行わないようにしたものである。
 (7)  本発明の第7の態様は、上述した第6の態様に係るネットワーク通信システムにおいて、
 接続仲介装置に、更に、グループ情報確認部を設け、
 通信先となる端末装置が、接続仲介装置から通信元アドレスの送信を受けた後、通信元となる別な端末装置との間に通信セッションを確立するまでの間に、グループ情報確認部に対して、通信先となる自己の端末IDと通信元となる別な端末装置の端末IDとが同一グループに所属するか否かの確認を求める同一グループ確認依頼を行う機能を有し、
 グループ情報確認部は、同一グループ確認依頼を受けたときに、グループ情報を参照して通信元の端末IDと通信先の端末IDとが同一グループに所属するか否かの確認を行い、同一グループ確認依頼を行った端末装置に対して確認結果を報告し、
 確認結果の報告を受けた端末装置は、肯定的な確認結果が得られた場合には通信セッションの確立を行い、否定的な判定結果が得られた場合には通信セッションの確立を行わないようにしたものである。
 (8)  本発明の第8の態様は、上述した第7の態様に係るネットワーク通信システムにおいて、
 通信先となる端末装置内の通信開始要求部が、接続仲介装置から通信元アドレスの送信を受けたときに、グループ情報確認部に対して同一グループ確認依頼を行い、肯定的な確認結果が得られた場合には通信開始要求を行い、否定的な判定結果が得られた場合には通信開始要求を行わないようにしたものである。
 (9)  本発明の第9の態様は、上述した第7の態様に係るネットワーク通信システムにおいて、
 通信先となる端末装置内の通信先セッション確立部が、通信元となる端末装置内の通信元セッション確立部から通信開始受諾確認を受けたときに、グループ情報確認部に対して同一グループ確認依頼を行い、肯定的な確認結果が得られた場合には通信セッションを確立し、否定的な判定結果が得られた場合には通信セッションを確立しないようにしたものである。
 (10) 本発明の第10の態様は、上述した第6の態様に係るネットワーク通信システムにおいて、
 接続仲介装置に、更に、グループ情報確認部を設け、
 通信元となる端末装置内の通信元セッション確立部が、通信先となる端末装置から通信開始要求を受けたときに、グループ情報確認部に対して、通信先となる別な端末装置の端末IDと通信元となる自己の端末IDとが同一グループに所属するか否かの確認を求める同一グループ確認依頼を行う機能を有し、
 グループ情報確認部は、同一グループ確認依頼を受けたときに、グループ情報を参照して通信元の端末IDと通信先の端末IDとが同一グループに所属するか否かの確認を行い、同一グループ確認依頼を行った通信元セッション確立部に対して確認結果を報告し、
 通信元セッション確立部は、同一グループ確認依頼に対して、肯定的な確認結果が得られた場合には通信開始受諾確認を送信し、否定的な判定結果が得られた場合には通信開始受諾確認を送信しないようにしたものである。
 (11) 本発明の第11の態様は、上述した第1~第10の態様に係るネットワーク通信システムにおいて、
 グループ情報設定部が、アドレステーブル格納部に格納されているアドレステーブル内の各端末IDに、所属グループを示すグループ情報を対応づけて記録するようにしたものである。
 (12) 本発明の第12の態様は、上述した第1~第11の態様に係るネットワーク通信システムにおいて、
 端末装置内の自己アドレス通知部が、自己の端末IDについて、その所属グループを示す情報をグループ情報設定部に送信する機能を有し、
 グループ情報設定部は、自己アドレス通知部から送信されてきた情報に基づいて、グループ情報の設定を行うようにしたものである。
 (13) 本発明の第13の態様は、上述した第1~第11の態様に係るネットワーク通信システムにおいて、
 グループ情報設定用端末装置を更に設け、
 このグループ情報設定用端末装置は、自己もしくは別な端末装置の端末IDについて、その所属グループを示す情報をグループ情報設定部に送信する機能を有し、
 グループ情報設定部は、グループ情報設定用端末装置から送信されてきた情報に基づいて、グループ情報の設定を行うようにしたものである。
 (14) 本発明の第14の態様は、上述した第12または第13の態様に係るネットワーク通信システムにおいて、
 グループ情報設定部が、端末装置内の自己アドレス通知部もしくはグループ情報設定用端末装置から新たな情報が送信されるたびに、グループ情報の更新を行うようにしたものである。
 (15) 本発明の第15の態様は、上述した第1~第14の態様に係るネットワーク通信システムにおいて、
 端末装置のネットワーク上での所在を示す所在アドレスとして、IPアドレスにポート番号を付加した情報を用い、端末IDとポート番号との組み合わせごとに、それぞれ所属グループを示すグループ情報を設定するようにしたものである。
 (16) 本発明の第16の態様は、上述した第1~第15の態様に係るネットワーク通信システムにおいて、
 端末装置の一部を、ホームゲートウェイ装置を介してネットワークに接続された複数の家庭用電子機器によって構成し、
 端末装置の別な一部を、上記家庭用電子機器に組み込まれているプログラムを更新するためのアップデートサーバによって構成し、
 特定の家庭用電子機器と、当該特定の家庭用電子機器に組み込まれているプログラムを更新するためのアップデートサーバとについて、両者が同一のグループに所属することを示すグループ情報を設定するようにしたものである。
 (17) 本発明の第17の態様は、上述した第1~第16の態様に係るネットワーク通信システムにおける接続仲介装置に係るものである。
 (18) 本発明の第18の態様は、上述した第1~第16の態様に係るネットワーク通信システムにおける複数の端末装置を構成する1台の端末装置に係るものである。
 (19) 本発明の第19の態様は、上述した第17の態様に係る接続仲介装置もしくは上述した第18の態様に係る端末装置を、コンピュータにプログラムを組み込むことにより構成するようにしたものである。
 (20)  本発明の第20の態様は、ネットワークを介して相互に接続可能な複数の端末装置について、通信元端末装置と通信先端末装置との間の接続を仲介する接続仲介装置において、
 端末装置のそれぞれについて、個々の端末装置を相互に識別するための端末IDと個々の端末装置のネットワーク上での所在を示す所在アドレスとを対応づけたアドレステーブルと、
 アドレステーブルに格納されている各端末IDについて、それぞれ所属グループを示すグループ情報と、
 を格納するようにし、
 通信元端末装置から通信先端末装置に対する接続仲介依頼が送信されてきたときに、通信元端末装置の端末IDと通信先端末装置の端末IDとが、同一グループに所属するか否かをグループ情報を参照して判定し、同一グループに所属するとの判定結果が得られたときに、アドレステーブルを参照することにより得られる通信先端末装置の所在アドレスを通信元端末装置に返信する処理を行うようにしたものである。
 (21)  本発明の第21の態様は、ネットワークを介して相互に接続可能な複数の端末装置について、通信元端末装置と通信先端末装置との間の接続を仲介する接続仲介装置において、
 端末装置のそれぞれについて、個々の端末装置を相互に識別するための端末IDと個々の端末装置のネットワーク上での所在を示す所在アドレスとを対応づけたアドレステーブルと、
 アドレステーブルに格納されている各端末IDについて、それぞれ所属グループを示すグループ情報と、
 を格納するようにし、
 通信元端末装置から通信先端末装置に対する接続仲介依頼が送信されてきたときに、通信元端末装置の端末IDと通信先端末装置の端末IDとが、同一グループに所属するか否かをグループ情報を参照して判定し、同一グループに所属するとの判定結果が得られたときに、アドレステーブルを参照することにより得られる通信先端末装置の所在アドレスに対して、通信元端末装置の所在アドレスを送信する処理を行うようにしたものである。
 本発明のネットワーク通信システムによれば、接続仲介装置は、両端末間に通信セッションが確立する最終段階まで関与する必要はなく、通信元の端末装置に対して通信先アドレスを伝達する段階(第1の実施形態の場合)、あるいは、通信先の端末装置に対して通信元アドレスを伝達する段階(第2の実施形態の場合)まで行えば足りる。したがって、従来のSIPを利用して両端末間の接続仲介処理を行うシステムに比べて、一対の端末装置間の接続を仲介する際の処理負荷を、より軽減することが可能になる。
 また、接続仲介装置には、各端末装置についてのグループ情報が格納されており、同一グループに所属する端末装置についての端末間通信のみが仲介される。したがって、予め適切なグループ情報を設定しておくようにすれば、信頼のおける端末装置に対してのみ接続の仲介が行われることになり、偽のサーバに接続したためにマルウェアに感染する被害を防止することができる。更に、接続仲介装置側だけでなく、端末装置側でも、接続先が同一グループであることを再確認する実施形態を採用すれば、接続先の信頼性をより高めることが可能になる。
先願基本発明の第1の実施形態に係るネットワーク通信システムの全体構成を示すブロック図である。 図1に示すネットワーク通信システムの端末装置の詳細構成を示すブロック図である。 図2に示す端末装置における自己アドレス通知部250の機能を示すブロック図である。 図1に示すネットワーク通信システムにおいて、通信元端末装置200Aと通信先端末装置200Bとの間の通信セッション確立の手順を示すブロック図である。 図4のブロック図に示されている通信セッション確立手順を時系列で説明する流れ図である。 先願基本発明の第2の実施形態に係るネットワーク通信システムの全体構成を示すブロック図である。 図6に示すネットワーク通信システムの端末装置の詳細構成を示すブロック図である。 図6に示すネットワーク通信システムにおいて、通信元端末装置400Bと通信先端末装置400Aとの間の通信セッション確立の手順を示すブロック図である。 図8のブロック図に示されている通信セッション確立手順を時系列で説明する流れ図である。 図1もしくは図6に示すアドレステーブルの第1の変形例を示す図である。 図1もしくは図6に示すアドレステーブルの第2の変形例を示す図である。 図1もしくは図6に示すアドレステーブルの第3の変形例を示す図である。 図1に示すネットワーク通信システムにおいて、通信元端末装置200Aと通信先端末装置200Bとの間の通信セッション確立の手順の変形例を示すブロック図である。 図6に示すネットワーク通信システムにおいて、通信元端末装置400Bと通信先端末装置400Aとの間の通信セッション確立の手順の変形例を示すブロック図である。 ルータを介して端末装置をネットワークNに接続する場合の先願基本発明の実施形態を示すブロック図である。 図15に示す実施形態において、IPアドレスにポート番号を付加した情報を所在アドレスとして用いる場合のアドレステーブルの例を示す図である。 先願基本発明に係る端末装置を通信アプリケーションプログラムを用いて構成する場合における自己アドレスの通知タイミングを示す表である。 先願基本発明に係るネットワーク通信システムにおいて、VPNを利用した実施形態の全体構成を示すブロック図である。 図18に示す実施形態におけるVPN通信の原理を示す図である。 図18に示す実施形態に用いるために、VIPアドレスを追加したアドレステーブルの例を示す図である。 本発明の第1の実施形態に係るネットワーク通信システムの全体構成を示すブロック図である。 本発明の第2の実施形態に係るネットワーク通信システムの全体構成を示すブロック図である。 本発明に用いられるアドレステーブルTGの具体例を示す図である。 図23に示すアドレステーブルTGの代わりに、グループテーブルGとアドレステーブルTとを別個に設けた例を示す図である。 図21に示す本発明の第1の実施形態の変形例に係るネットワーク通信システムの全体構成を示すブロック図である。 図22に示す本発明の第2の実施形態の変形例に係るネットワーク通信システムの全体構成を示すブロック図である。 本発明に係るネットワーク通信システムを家庭用電子機器のアップデートシステムに利用した実施形態を示すブロック図である。
 以下、本発明を図示する実施形態に基づいて説明する。なお、ここで述べる実施形態は、PCT/JP2016/055960に基づく優先権主張を伴う国際出願PCT/JP2017/006131(以下、先願となる国際出願と呼ぶ)に記載された発明(以下、先願基本発明と呼ぶ)を基礎として、この先願基本発明に「グループ情報」の概念を付加することにより、「信頼のおける端末装置に対してのみ接続が可能になる」という固有の作用効果が得られるようにしたものである。もちろん、本発明は、必ずしも先願基本発明を基礎とする必要はないが、実用上は、先願基本発明と供に実施するのが好ましい。
 このような事情から、ここでは、先願基本発明を基礎とした本発明の実施形態を、本発明の好ましい一実施形態として述べることにする。そこで、以下の§1~§4において、まず、先願基本発明の説明を行い、§5以降において、本発明に固有の特徴について述べることにする。したがって、以下の§1~§4で述べる内容(図1~図20に示す内容)は、実質的に先願となる国際出願PCT/JP2017/006131に記載された実施形態と同じものである。
 <<< §1. 先願基本発明の第1の実施形態 >>>
 <1-1. 先願基本発明の第1の実施形態の構成>
 図1は、先願基本発明の第1の実施形態に係るネットワーク通信システムの全体構成を示すブロック図である。図示のとおり、このネットワーク通信システムは、接続仲介装置100と複数の端末装置200A~200Dによって構成されており、これらの各装置はいずれもネットワークN(この例では、インターネット)を介して相互に接続することが可能である。
 図では、説明の便宜上、4台の端末装置200A~200Dを用いた例を示すことにするが、実用上は、より多数の端末装置を利用するのが一般的である。各端末装置200A~200Dは、共通の構成を有する同一の装置である。そこで、ここでは、この共通の端末装置について言及する場合は符号200を用いて示し、相互に区別する必要がある場合には、符号末尾にA~Dを付して示すことにする。端末装置200の内部構成要素を示す各符号についても同様である。
 結局、このネットワーク通信システムは、ネットワークNを介して相互に接続可能な複数の端末装置200A~200Dと、これら複数の端末装置間の接続を仲介する接続仲介装置100と、を備えたシステムということになる。端末装置200としては、パソコン、携帯電話、タブレット型端末など、ネットワークNに接続して通信を行う機能を有する様々な電子機器を利用することができる。一方、接続仲介装置100は、これら各端末装置200A~200DからネットワークNを介してアクセスを受けるサーバコンピュータによって構成されている。
 各端末装置200A~200Dには、個々の端末装置を相互に識別するための端末IDがそれぞれ付与されており、接続仲介装置100は、この端末IDを利用して通信元となる端末装置と通信先となる端末装置との間の接続を仲介する処理を実行する。ここでは、図示のとおり、端末装置200A,200B,200C,200Dには、それぞれ「0010」,「0020」,「0030」,「0040」なる端末IDが付与されているものとする。
 なお、先願基本発明を実施する上で、端末IDは、個々の端末装置を相互に識別することができる情報であれば、どのような情報であってもかまわない。図示の例では、4台の端末装置しか用いられていないため、「0010」のような4桁の数字を端末IDとして用いれば十分であるが、各端末装置を相互に識別するためには、ユニークなIDを用いる必要があるので、実用上は、より桁数の多い数字もしくは数字とアルファベットの組み合わせを用いるのが好ましい。具体的には、個々の端末装置に内蔵されているCPUのシリアル番号、通信インターフェイスに付与されたMACアドレス、携帯電話を端末装置として用いる場合は電話番号やSIMカードのシリアル番号、などを端末IDとして用いることが可能である。
 各端末装置200A~200Dには、それぞれ自己のネットワーク上での所在を示す所在アドレスが付与されている。図示の例の場合、端末装置200A,200B,200C,200Dには、それぞれAD1,AD2,AD3,AD4なる所在アドレスが付与されている。所在アドレスとしては、ネットワーク上で当該端末装置の所在を一義的に決定できるアドレスであれば、どのようなアドレスを用いてもよい。図示の例のように、ネットワークNとしてインターネットを用い、通信プロトコルとしてIPを利用する場合は、個々の端末装置200のネットワークN上での所在を示す所在アドレスとして、グローバルIPアドレスもしくはNAT-IDを用いるのが好ましい。
 端末IDが、個々の端末装置を相互に識別するために必要な情報であるのに対して、所在アドレスは、ネットワークNを介して個々の端末装置をアクセスするために必要な情報である。しかも多くの端末装置の場合、所在アドレスは常に一定ではなく、時事刻々と変化する。たとえば、携帯電話やモバイルパソコンなどの携帯型端末装置の場合、移動とともに交信相手となる基地局が変化するため、所在アドレスも時間的に変化する。また、デスクトップ型パソコンのような定点設置型の端末装置の場合も、プロバイダから付与されるIPアドレスなどが更新されるため、やはり所在アドレスが時間的に変化するのが一般的である。
 後述するように、先願基本発明に用いる端末装置200は、自己のネットワーク上での所在を示す所在アドレスを、ネットワークNを介して接続仲介装置100に通知する機能を有している。このため、接続仲介装置100は、各端末装置200A~200Dの最新アドレスを常に把握することができ、必要に応じて、各端末装置200A~200Dにアクセスすることが可能である。
 図示のとおり、接続仲介装置100には、アドレステーブル格納部110、アドレステーブル更新部120、通信先アドレス返信部130が設けられている。前述したとおり、この接続仲介装置100は、実際には、サーバコンピュータなどのコンピュータによって構成される。したがって、図に個々のブロックとして示されている各構成要素は、実際には、コンピュータに専用のプログラムを組み込むことにより構築されることになる。
 アドレステーブル格納部110には、各端末装置200A~200Dのそれぞれについて、端末IDと所在アドレスとを対応づけたアドレステーブルTが格納されており、アドレステーブル更新部120は、各端末装置200A~200Dからの通知に基づいて、このアドレステーブルTの内容を更新する処理を行う。また、通信先アドレス返信部130は、各端末装置200A~200Dから接続仲介依頼があると、アドレステーブルTを参照することにより、通信先アドレスを返信する処理を行う。
 図には、アドレステーブルTとして、4台の端末装置200A~200Dのそれぞれについて、端末IDと所在アドレスとの対応関係を示す情報が格納されている。具体的には、端末装置200Aについては端末ID「0010」と所在アドレス「AD1」とが対応づけられ、端末装置200Bについては端末ID「0020」と所在アドレス「AD2」とが対応づけられ、端末装置200Cについては端末ID「0030」と所在アドレス「AD3」とが対応づけられ、端末装置200Dについては端末ID「0040」と所在アドレス「AD4」とが対応づけられている。
 続いて、図2を参照しながら、端末装置200の詳細構成および個々の構成要素の具体的な処理動作を説明する。図示のとおり、端末装置200には、接続仲介依頼部210、通信要求受付部220、通信先セッション確立部230、通信開始要求部240、自己アドレス通知部250、通信元セッション確立部260が設けられている。
 この端末装置200も、実際には、種々のコンピュータ(携帯電話などの機器も含む)によって構成され、図に個々のブロックとして示されている各構成要素は、実際には、コンピュータに専用のプログラムを組み込むことにより構築される。なお、実際の端末装置200には、この他にも種々の構成要素が組み込まれている。たとえば、端末装置200がスマートフォンであれば、様々なアプリケーションプログラムを組み込むことにより、様々な処理機能をもった構成要素が付加されることになるが、ここでは、先願基本発明に直接関係する構成要素のみを図にブロックとして示すことにし、その他の構成要素についての説明は省略する。もちろん、端末装置200には、ユーザからの指示入力や文字入力を行う入力インターフェイスや、ユーザに情報を提示するためのディスプレイなどの構成要素も備わっているが、これらの構成要素についての説明も省略する。
 結局、図2において、端末装置200内に6つのブロックとして描かれている構成要素は、先願基本発明に係る端末装置200において必須の機能要素ということになる。このブロック図には、各ブロック間の信号の流れを示す矢印として、太線矢印、細線矢印、白抜矢印の3通りの矢印が用いられている。ここで、太線矢印は、端末装置200と接続仲介装置100との間でやりとりされる、通信セッション確立前の信号の流れを示しており、細線矢印は、一対の端末装置200の間でやりとりされる、通信セッション確立前の信号の流れを示している。そして、白抜矢印は、一対の端末装置200の間でやりとりされる、通信セッション確立後の信号の流れを示している。
 また、図2では、端末装置200内の6つの構成要素が、楕円、矩形、二重矩形という3通りのブロックを用いて描かれているが、これは、各構成要素の役割分担を示すための便宜である。具体的には、楕円ブロックで示されている構成要素は、端末装置200が「アドレス通知」の処理を実行するための構成要素であり、矩形ブロックで示されている構成要素は、端末装置200が「通信元」として機能する場合に必要な処理を実行する構成要素であり、二重矩形ブロックで示されている構成要素は、端末装置200が「通信先」として機能する場合に必要な処理を実行する構成要素である。
 本願において、「通信元」および「通信先」という用語は、2台の端末装置が相互に通信を行う場合に、これら2台を区別するために用いる用語であり、自発的に通信を開始するための処理を行う側を「通信元」と呼び、この「通信元」からの働きかけに応じて、当該「通信元」と通信を行うために必要な処理を行う側を「通信先」と呼んでいる。たとえば,2台の端末装置を電話として使う場合、発呼側の装置が「通信元」であり、着呼側の装置が「通信先」になる。「通信元」の端末装置は、特定の「通信先」を指定して、自発的に通信を開始するための処理を行うことになる。
 もちろん、端末装置200は、「通信元」になったり「通信先」になったりする。「通信元」になったときには、図2に矩形ブロックで示されている構成要素による処理が行われ、「通信先」になったときには、図2に二重矩形ブロックで示されている構成要素による処理が行われる。以下、端末装置200の6つの構成要素の各機能を順に説明する。
 上述したように、楕円ブロックで示されている自己アドレス通知部250は、「アドレス通知」の処理を実行するための構成要素であり、自己のネットワーク上での所在を示す所在アドレスを、接続仲介装置100に対して通知する処理を実行する。所在アドレスとしてIPアドレスを用いるのであれば、自己アドレス通知部250は、現時点で自己に付与されたIPアドレスをネットワークNを介して接続仲介装置100に通知する処理を行うことになる。
 通常、インターネットに接続可能な端末装置200には、インターネットプロバイダから所定のグローバルIPアドレスが付与されるので、自己アドレス通知部250は、端末装置200に付与されたグローバルIPアドレスを、所在アドレスとして接続仲介装置100に対して通知すればよい。また、ルータのNAT機能を利用して、プライベートIPアドレスが付与されている場合には、NAT-IDを所在アドレスとして接続仲介装置100に対して通知すればよい。所在アドレスを通知する際には、端末IDを同時に送信するようにする。
 図1に示すアドレステーブル更新部120は、このような通知を受けて、アドレステーブルTの更新を行う。たとえば、端末装置200Aから接続仲介装置100に対して、端末ID「0010」と所在アドレス「AD1」とが通知された場合、アドレステーブル更新部120は、端末ID「0010」と所在アドレス「AD1」とを対応づけてアドレステーブルTに格納する処理を行う。
 前述したとおり、一般的な端末装置200の場合、所在アドレスが時間的に変化する。したがって、実用上は、自己アドレス通知部250には、所定周期で繰り返して、現時点の自己(端末装置200)の所在アドレスを通知する機能をもたせておくのが好ましい。たとえば、自己アドレス通知部250が1分おきに繰り返し通知を行うようにすれば、アドレステーブルTは1分おきに最新の情報に更新されることになる。
 あるいは、自己アドレス通知部250には、自己(端末装置200)の所在アドレスが変更になったときに、現時点の所在アドレスを通知する機能をもたせておくようにしてもよい。すなわち、初めて所在アドレスが付与された段階で、当該所在アドレスを初期状態のアドレスとして通知させ、その後は、所在アドレスが変更になるたびに新たな所在アドレスを通知させるようにすればよい。もちろん、所定周期で繰り返し通知する運用と、所在アドレスが変更になったときに通知する運用とを組み合わせてもかまわない。
 次に、図2に矩形ブロックで示されている4つの構成要素について説明する。上述したように、これら4つの構成要素は、端末装置200が「通信元」として機能する場合に必要な処理を実行する。
 まず、通信要求受付部220は、自己を通信元として、通信先の別な端末装置に対する通信要求を受け付ける処理を行う。たとえば、端末装置200(通信元)のユーザが、特定の相手に電話をかけたい場合、当該相手が所持する別な端末装置(通信先)に対して通信を行いたい旨の通信要求を行うことになる。この通信要求は、たとえば、図示されていない入力インターフェイスを介したユーザの操作入力(たとえば、タッチパネル上での操作)として与えられ、相手先の端末装置を特定するための何らかの情報を含むものになる。
 接続仲介依頼部210は、通信要求受付部220によって通信要求が受け付けられたときに、接続仲介装置100に対して、通信先の別な端末装置の端末IDを特定するための通信先特定情報を含む接続仲介依頼を送信する。ここで、接続仲介依頼に含まれる通信先特定情報は、通信先の別な端末装置の端末IDであってもよいし、当該端末IDを特定することが可能な別な情報であってもかまわない(詳細は、§3-1で述べる)。
 こうして、接続仲介依頼部210から送信された接続仲介依頼は、ネットワークNを介して接続仲介装置100へと伝達される(前述したように、図における太線矢印は、端末装置200と接続仲介装置100との間でやりとりされる、通信セッション確立前の信号の流れを示している)。すると、接続仲介装置100からは、図に太線矢印で示すように、通信先となる別な端末装置のネットワーク上での所在を示す通信先アドレスが返信されてくる。これは、図1に示す通信先アドレス返信部130の機能によるものである。
 すなわち、通信先アドレス返信部130は、端末装置200の接続仲介依頼部210から、接続仲介依頼が送信されてきたときに、アドレステーブルTを参照して、接続仲介依頼に含まれている通信先特定情報によって特定される端末IDに対応づけられている所在アドレスを通信先アドレスとして返信する処理を行う。もちろん、返信の相手先は、接続仲介依頼を行った端末装置200である。要するに、通信先アドレス返信部130は、通信元の端末装置から通信先を特定した接続仲介依頼があると、アドレステーブルTを用いて、当該通信先の現時点での所在アドレスを検索し、これを通信元の端末装置に返信する処理を行うことになる。
 このように、接続仲介依頼部210によって接続仲介依頼を行うと、接続仲介装置100からは、通信先の別な端末装置のネットワーク上での所在を示す通信先アドレスが返信されてくる。こうして返信されてきた通信先アドレスは、通信開始要求部240によって受信される。通信開始要求部240は、この通信先アドレスにネットワークNを介してアクセスして通信開始要求を行う。図に細線矢印で示すとおり、この通信開始要求は、1台の端末装置200(通信元)から別な1台の端末装置200(通信先)に宛てた信号ということになる。
 このように、通信開始要求部240によって、通信先の別な端末装置に対して通信開始要求を送信すると、当該通信先の別な端末装置からは、この通信開始要求に応じて、通信開始受諾確認が返信されてくる(図の右側の細線矢印:この返信処理については、通信先の別な端末装置の通信先セッション確立部230の処理として後述する)。こうして返信されてきた通信開始受諾確認は、通信元セッション確立部260によって受信される。通信元セッション確立部260は、この通信開始受諾確認を受信したら、当該通信先の別な端末装置との間に通信セッションを確立して通信を開始する。図2の右端に描かれた白抜矢印は、このようにして通信セッションが確立した後の両端末間の信号(通信パケット)の流れを示している。
 以上、図2に矩形ブロックで示されている4つの構成要素、すなわち、端末装置200が「通信元」として機能する場合に処理を実行する構成要素について説明したが、続いて、図2に二重矩形ブロックで示されている構成要素、すなわち、端末装置200が「通信先」として機能する場合に処理を実行する構成要素について説明する。
 図2において、二重矩形ブロックで示されている構成要素は、通信先セッション確立部230である。この通信先セッション確立部230は、通信元の別な端末装置から、自己を通信先とする通信開始要求がなされたら(図の左側の下向き細線矢印)、当該通信元の別な端末装置に対して通信開始受諾確認を送信し(図の左側の上向き細線矢印)、当該通信元の別な端末装置との間に通信セッションを確立して通信を開始する。図2の左端に描かれた白抜矢印は、このようにして通信セッションが確立した後の両端末間の信号(通信パケット)の流れを示している。
 結局、通信元端末装置と通信先端末装置との間の通信セッション確立後の通信は、通信元端末装置の通信元セッション確立部260と通信先端末装置の通信先セッション確立部230との間で行われることになる。別言すれば、図2の右端の白抜矢印は、ネットワークNを介して、図2の左端の白抜矢印に連なることになる。
 <1-2. 第1の実施形態における具体的な通信手順>
 これまで、図1および図2を参照しながら、先願基本発明の第1の実施形態に係るネットワーク通信システムの構成要素である接続仲介装置100および端末装置200の各構成要素およびその機能を説明した。ここでは、この第1の実施形態に係るネットワーク通信システムにおける通信手順を、具体例に即して説明することにする。
 図3は、図2に示す端末装置における自己アドレス通知部250の機能を示すブロック図である。図の上段には接続仲介装置100が示され、図の下段には2組の端末装置200A,200Bが示されている。ここでは、端末装置200C,200Dの図示は省略するが、自己アドレス通知部250の機能は同じである。なお、前述したとおり、接続仲介装置100と各端末装置200A,200Bとの間の情報のやりとり(太線矢印で示す)は、実際にはネットワークNを介して行われるが、ここでは説明の便宜上、ネットワークNの図示は省略する。
 図3に示す端末装置200A,200Bは、図2に示す端末装置200と同様に6つの構成要素を有している。すなわち、端末装置200Aは、構成要素210A~260Aを有し、端末装置200Bは、構成要素210B~260Bを有しており、これら各構成要素は、図2に示す構成要素210~260と同一のものである(符号末尾のA,Bは、いずれの端末装置の構成要素であるかを区別するために付したものである)。なお、この図3は、端末装置200A,200Bの自己アドレス通知機能を説明するための図であるので、自己アドレス通知部250A,250B以外の構成要素のブロックは破線で示してある。
 自己アドレス通知部250A,250Bは、自己のネットワーク上での所在を示す所在アドレスを、接続仲介装置100内のアドレステーブル更新部120に対して通知する処理を行う。図3には、自己アドレス通知部250Aからアドレステーブル更新部120への通知として、「0010:AD1」なるデータが送信されている例が示されているが、これは、自己の端末ID「0010」とともに自己の現時点での所在アドレス「AD1」を送信していることを示している。同様に、自己アドレス通知部250Bからアドレステーブル更新部120への通知として、「0020:AD2」なるデータが送信されている例が示されているが、これは、自己の端末ID「0020」とともに自己の現時点での所在アドレス「AD2」を送信していることを示している。
 各端末装置200A,200Bの自己アドレス通知部250A,250Bから、このような通知を受けたアドレステーブル更新部120が、当該通知に基づいて、アドレステーブルTの内容を更新する処理を行う点は、既に§1-1で述べたとおりである。また、自己アドレス通知部250A,250Bが、所定周期で繰り返して、もしくは、所在アドレスが変更になったときに、現時点の所在アドレスを通知する処理を行う点も§1-1で述べたとおりである。
 このように、自己アドレス通知部250が行う所在アドレスの通知処理は、端末装置間の通信を開始するための直接的な処理ではないが、いつでも通信を開始できるようにするための準備処理ということができる。この通知処理を行うことにより、接続仲介装置100内のアドレステーブルTを最新の状態に保つことができ、実際に、特定の端末装置間で通信を行う必要が生じたときに、接続仲介装置100による正しい仲介処理が実現できるのである。
 続いて、特定の端末装置間で実際に通信を開始する際の処理手順を説明する。図4は、図1に示すネットワーク通信システムにおいて、通信元端末装置200Aと通信先端末装置200Bとの間の通信セッション確立の手順を示すブロック図である。この図4においても、図の上段には接続仲介装置100が示され、図の下段には2組の端末装置200A,200Bが示されている。ここでも、接続仲介装置100と端末装置200Aとの間の情報のやりとり(太線矢印で示す)や、端末装置200A,200B間の情報のやりとり(細線矢印で示す)は、実際にはネットワークNを介して行われるが、説明の便宜上、ネットワークNの図示は省略する。
 また、ここでは、説明の便宜上、端末装置200Aを通信元、端末装置200Bを通信先とした場合の手順を説明する。このため、図4では、通信元端末装置200A内の構成要素については、通信元として必要な処理を実行する構成要素(矩形ブロックの構成要素)のみを実線で示し、通信先端末装置200B内の構成要素については、通信先として必要な処理を実行する構成要素(二重矩形ブロックの構成要素)のみを実線で示すことにし、それ以外の構成要素のブロックは破線で示してある。
 一方、図5は、図4のブロック図に示されている通信セッション確立手順を時系列で説明する流れ図である。以下、図4のブロック図を参照しながら、図5の流れ図に従って、第1の実施形態における具体的な通信手順を説明する。なお、図4のブロック図において、各矢印に付された符号S1~S7は、図5の流れ図における各ステップS1~S7に対応するものである。逆に、図5の流れ図の各ステップにおいて、括弧書きで示された符号は、図4のブロック図における特定のブロックに対応するものであり、当該ステップの内容に関連する特定の構成要素を示すものである。
 まず、ステップS1において、通信要求受付処理が行われる。これは、図4に示す通信要求受付部220Aによって行われる処理であり、たとえば、通信元端末装置200AのユーザAが、通信先端末装置200BのユーザBに対して電話をしたい、という場合に、ユーザAの操作入力に基づいて行われる処理である。たとえば、各端末装置200A,200Bが携帯電話であり、端末IDとして、それぞれの電話番号を用いている場合は、ユーザAは端末装置200Aに対して、端末装置200Bの端末ID(電話番号)を入力する操作を伴う通信要求S1を行えばよい。すなわち、端末装置200Aの通信要求受付部220Aは、自己を通信元として、通信先の別な端末装置200Bに対する通信要求S1を受け付ける処理を行うことになる。
 なお、通信要求受付部220Aが通信要求S1を受け付けるのは、必ずしもユーザAが電話をかけるための操作入力を行った場合に限られるわけではない。たとえば、ユーザA,Bが通信対戦型のゲームをプレイしている場合は、当該ゲーム用のアプリケーションプログラムから通信要求受付部220Aに対して通信要求S1が与えられることになる。あるいは、端末装置200A,200Bが何らかのビジネス処理を行うパソコンであり、パソコン200Aに組み込まれたビジネス処理用のアプリケーションプログラムが、パソコン200Bに対して自動的に定時報告を行うような場合、当該アプリケーションプログラムから通信要求受付部220Aに対して通信要求S1が与えられることになる。このように、先願基本発明における通信要求は、必ずしもユーザによって与えられるものではなく、端末装置に組み込まれているプログラムによって与えられる場合もある。
 こうして、ステップS1において通信要求受付が行われると、続くステップS2において、接続仲介依頼が行われる。これは、図4に示す接続仲介依頼部210Aによって行われる処理であり、既に述べたとおり、接続仲介装置100に対して、通信先の別な端末装置200Bの端末IDを特定するための通信先特定情報を含む接続仲介依頼S2を送信する処理である。
 なお、一般に、ネットワークを介して接続された二者間で情報の送受を行う場合、情報の送信側は自分のアドレスを受信側に伝達し、受信側は当該送信側アドレス宛にアクノレッジ信号を返信する処理を行う。したがって、接続仲介依頼部210Aから接続仲介依頼S2を送信する際には、自己の所在アドレス「AD1」が接続仲介装置100側に伝達されることになる。後述するステップS4における返信処理は、この所在アドレス「AD1」宛に行われる。
 こうして、通信元端末装置200Aの接続仲介依頼部210Aから、接続仲介装置100へ接続仲介依頼が送信されてくると、ステップS3において、この接続仲介依頼を受けた通信先アドレス返信部130が、アドレステーブル格納部110に格納されているアドレステーブルを参照して、当該接続仲介依頼に含まれている通信先特定情報によって特定される端末ID(この例では、「0020」)に対応づけられている所在アドレスを通信先アドレスとして認識する。たとえば、その時点におけるアドレステーブルTが、図1に示すようなものであったとすると、端末ID「0020」に対応づけられているアドレス「AD2」が通信先アドレスとして認識される。
 そこで、ステップS4において、通信先アドレス返信部130が、ステップS3で認識した通信先アドレス「AD2」を返信する処理を行う。もちろん、返信相手は、ステップS2において接続仲介依頼を行った通信元端末装置200Aである。前述したとおり、接続仲介依頼S2には通信元端末装置200Aの所在アドレス「AD1」の情報が含まれているので、通信先アドレス返信部130は、当該所在アドレス「AD1」宛に、通信先アドレス「AD2」を返信することができる。
 こうして、通信先アドレス返信部130から通信先アドレス返信S4(通信先アドレス「AD2」を伝達する情報)が送信されてくると、当該通信先アドレス返信S4は、通信開始要求部240Aによって受信される。結局、通信元端末装置200Aが、接続仲介装置100に対して接続仲介依頼S2を行うと、この接続仲介依頼S2に応じて、接続仲介装置100から、通信先端末装置200Bのネットワーク上での所在を示す通信先アドレス「AD2」が返信されてくることになる。接続仲介装置100に用意されているアドレステーブルTは、常に最新の状態に更新されているので、返信されてきた通信先アドレス「AD2」は、通信先端末装置200Bの最新の所在アドレスということになる。
 そこで、この通信先アドレス返信S4により、通信先アドレス「AD2」を取得した通信開始要求部240Aは、ステップS5において、通信先端末装置200Bに対して通信開始要求S5を行う。すなわち、ネットワークNを介して、通信先アドレス「AD2」宛にアクセスを行い、相手方に通信開始の要求を伝える。このとき、自己の所在アドレス(通信元アドレス「AD1」)も併せて伝達されることになる。
 通信先アドレス「AD2」宛に行われた通信開始要求S5は、通信先端末装置200Bの通信先セッション確立部230Bによって受信される。通信先セッション確立部230Bは、通信元端末装置200Aから、自己(端末装置200B)を通信先とする通信開始要求S5がなされたら、まず、ステップS6において、ネットワークNを介して通信元端末装置200Aに対して通信開始受諾確認S6を送信する。そして、続くステップS7において、通信元端末装置200Aとの間に通信セッションを確立して通信S7を開始する。
 一方、通信元端末装置200A宛に送信されてきた通信開始受諾確認S6は、通信元セッション確立部260Aによって受信される。そして、ステップS7では、この通信開始受諾確認S6を受信した通信元セッション確立部260Aが、通信先端末装置200Bとの間に通信セッションを確立して通信S7を開始する処理も行われる。要するに、通信元端末装置200A側では、通信開始要求S5に応じて、通信先端末装置200Bから通信開始受諾確認S6が返信されてきたら、当該通信先端末装置200Bとの間に通信セッションを確立して通信を開始する処理を行うことになる。
 かくして、通信元端末装置200Aと通信先端末装置200Bとの間に通信セッションが確立され、両者間での通信S7が行われることになる。この図5に示す流れ図において、接続仲介装置100が行った処理は、ステップS3のアドレステーブル参照処理とステップS4の通信先アドレス返信処理だけである。すなわち、接続仲介装置100が行う仲介処理は、通信元端末装置200Aからの接続仲介依頼S2を受けて、アドレステーブルTを参照し(ステップS3)、得られた通信先アドレスを通信元端末装置200Aに対して返信する(ステップS4)だけである。接続仲介装置100がこのような仲介処理を行うだけで、通信元端末装置200Aと通信先端末装置200Bとの間に通信セッションが確立され、両者間での通信が開始することになる。
 このように、先願基本発明の第1の実施形態に係るネットワーク通信システムでは、接続仲介装置100の処理負荷は極めて軽くなる。前述したように、SIPを利用して両端末間の接続仲介処理を行うシステムでは、従来型の中継処理に比べれば、その処理負荷は軽減されることになるが、両端末間にセッションが確立するまで関与する必要があり、多数の端末装置からの仲介依頼が集中すると、その処理負荷はかなり重くなってくる。これに対して、先願基本発明の第1の実施形態に係るシステムの場合、接続仲介装置100は、両端末間に通信セッションが確立するまで関与する必要はなく、通信元端末装置に対して通信先アドレスを伝達する処理を行えば足りる。このため、一対の端末装置間の接続を仲介する際の処理負荷を、より軽減することが可能になる。
 このように、先願基本発明の第1の実施形態に係るネットワーク通信システムでは、接続仲介装置100が通信セッション確立まで関与しないため、接続仲介装置100は、両端末装置間に通信セッションが確立し、支障なく通信が行われているか否かを把握することはできない。そこで、もし必要があれば、通信セッション確立後に、通信元セッション確立部260Aもしくは通信先セッション確立部230Bから接続仲介装置100に対して、支障なく通信セッションが確立した旨の報告を行うようにしてもよい。
 なお、上述の実施例では、通信先セッション確立部230Bが、通信元端末装置200Aから、自己を通信先とする通信開始要求S5がなされた時に、ステップS6において、当該通信元端末装置200Aに対して通信開始受諾確認を送信する、という説明を行ったが、場合によっては、通信開始要求S5を受諾せずに拒絶し、通信開始受諾確認を送信しないようにしてもよい(あるいは、通信開始受諾確認の代わりに、通信開始拒絶通知を送信するようにしてもよい)。すなわち、通信先セッション確立部230Bに何らかの条件判断機能をもたせておき、通信開始要求S5がなされた場合、所定の条件を満たしている場合に限り、通信開始受諾確認を送信する処理を行わせるようにすればよい。
 たとえば、通信先端末装置200BのユーザBが、通信先セッション確立部230に対して、着信拒否の設定を行えるようにし、「着信拒否の設定がなされていない」という条件を満たす場合にのみ、通信開始受諾確認を送信する処理が行われるようにすればよい。また、通信開始要求S5に、通信元端末装置200Aを特定するための何らかの通信元特定情報(たとえば、端末ID)を含ませるようにしておけば、通信先セッション確立部230Bは、通信開始要求S5を行った通信元に応じて、当該要求を受諾したり拒絶したりする処理が可能になる。
 たとえば、通信先セッション確立部230Bに、通信開始要求S5を常に拒絶する通信元リスト(いわゆるブラックリスト)や通信開始要求S5を常に受諾する通信元リスト(いわゆるホワイトリスト)を用意しておけば、通信先セッション確立部230Bは、当該リストを参照することにより、通信開始要求S5を受諾するか拒絶するかの判断を行うことができる。
 また、§3-3で述べるように、セキュリティを向上させる変形例を採用する場合は、通信開始要求S5に何らかのセキュリティ上の問題が存在する場合には、これを拒絶する運用を採用することも可能である。
 <<< §2.先願基本発明の第2の実施形態 >>>
 <2-1. 先願基本発明の第2の実施形態の構成>
 続いて、先願基本発明の第2の実施形態を説明する。図6は、この第2の実施形態に係るネットワーク通信システムの全体構成を示すブロック図である。図示のとおり、このネットワーク通信システムは、接続仲介装置300と複数の端末装置400A~400Dによって構成されており、これらの各装置はいずれもネットワークN(この例では、インターネット)を介して相互に接続することが可能である。
 ここでも、説明の便宜上、4台の端末装置400A~400Dを用いた例を示すことにするが、実用上は、より多数の端末装置を利用するのが一般的である。各端末装置400A~400Dは、共通の構成を有する同一の装置であり、この共通の端末装置について言及する場合は符号400を用いて示し、相互に区別する必要がある場合には、符号末尾にA~Dを付して示すことにする。端末装置400の内部構成要素を示す各符号についても同様である。
 この図6に示すネットワーク通信システムは、ネットワークNを介して相互に接続可能な複数の端末装置400A~400Dと、これら複数の端末装置間の接続を仲介する接続仲介装置300と、を備えたシステムということになる。やはり端末装置400としては、パソコン、携帯電話、タブレット型端末など、ネットワークNに接続して通信を行う機能を有する様々な電子機器を利用することができる。また、接続仲介装置300は、これら各端末装置400A~400DからネットワークNを介してアクセスを受けるサーバコンピュータによって構成されている。
 各端末装置400A~400Dには、個々の端末装置を相互に識別するための端末IDがそれぞれ付与されており、接続仲介装置300は、この端末IDを利用して通信元となる端末装置と通信先となる端末装置との間の接続を仲介する処理を実行する。端末IDとしては、前述したとおり、個々の端末装置を相互に識別することができる情報であれば、どのような情報を利用してもかまわない。ここでは、前述した第1の実施形態の場合と同様に、端末装置400A,400B,400C,400Dには、それぞれ「0010」,「0020」,「0030」,「0040」なる端末IDが付与されているものとする。
 また、各端末装置400A~400Dには、それぞれ自己のネットワーク上での所在を示す所在アドレスが付与されている。ここでも、前述した第1の実施形態の場合と同様に、端末装置400A,400B,400C,400Dに、それぞれAD1,AD2,AD3,AD4なる所在アドレスが付与されているものとする。この所在アドレスは、ネットワーク上で当該端末装置の所在を一義的に決定できるアドレスであれば、どのようなアドレスを用いてもよいが、実用上は、グローバルIPアドレスもしくはNAT-IDを用いればよい。前述したとおり、この所在アドレスは、時間的に変化する。
 図示のとおり、接続仲介装置300には、アドレステーブル格納部310、アドレステーブル更新部320、通信元アドレス送信部330が設けられている。この接続仲介装置300は、実際には、サーバコンピュータなどのコンピュータによって構成される。したがって、図に個々のブロックとして示されている各構成要素は、実際には、コンピュータに専用のプログラムを組み込むことにより構築されることになる。
 アドレステーブル格納部310は、図1に示すアドレステーブル格納部110と同じ構成要素であり、各端末装置400A~400Dのそれぞれについて、端末IDと所在アドレスとを対応づけたアドレステーブルTを格納する機能を有する。図6に示すアドレステーブルTは、図1に示すアドレステーブルTと全く同じものである。アドレステーブル更新部320は、図1に示すアドレステーブル更新部120と同じ構成要素であり、各端末装置400A~400Dからの通知に基づいて、アドレステーブルTの内容を更新する処理を行う。このように、図6に示す構成要素310,320は、実質的に図1に示す構成要素110,120と同じものであるため、ここでは詳細な説明は省略する。
 一方、通信元アドレス送信部330は、図1に示す通信先アドレス返信部130に類似した機能を有する構成要素であるが、若干異なる動作を行う。すなわち、通信元アドレス送信部330は、各端末装置400A~400Dから接続仲介依頼があると、アドレステーブルTを参照することにより通信先アドレスを認識し、当該通信先アドレス宛に、通信元アドレスを送信する処理を行う。この処理のより詳細な説明は後述する。
 続いて、図7を参照しながら、端末装置400の詳細構成および個々の構成要素の具体的な処理動作を説明する。図示のとおり、端末装置400には、接続仲介依頼部410、通信要求受付部420、通信元セッション確立部430、通信開始要求部440、自己アドレス通知部450、通信先セッション確立部460が設けられている。
 この端末装置400も、実際には、種々のコンピュータ(携帯電話などの機器も含む)によって構成され、図に個々のブロックとして示されている各構成要素は、実際には、コンピュータに専用のプログラムを組み込むことにより構築される。もちろん、この端末装置400にも、必要に応じて、図示されていない種々の構成要素や入出力インターフェイスが組み込まれているが、ここでは、先願基本発明に直接関係する構成要素のみを図にブロックとして示すことにし、その他の構成要素についての説明は省略する。
 この図7においても、図2と同様に、各ブロック間の信号の流れを示す太線矢印は、端末装置400と接続仲介装置300との間でやりとりされる、通信セッション確立前の信号の流れを示しており、細線矢印は、一対の端末装置400の間でやりとりされる、通信セッション確立前の信号の流れを示している。そして、白抜矢印は、一対の端末装置400の間でやりとりされる、通信セッション確立後の信号の流れを示している。
 また、図2と同様に、図7に楕円ブロックで示されている構成要素は、端末装置400が「アドレス通知」の処理を実行するための構成要素であり、矩形ブロックで示されている構成要素は、端末装置400が「通信元」として機能する場合に必要な処理を実行する構成要素であり、二重矩形ブロックで示されている構成要素は、端末装置400が「通信先」として機能する場合に必要な処理を実行する構成要素である。端末装置400が、「通信元」になったときには、図7に矩形ブロックで示されている構成要素による処理が行われ、「通信先」になったときには、図7に二重矩形ブロックで示されている構成要素による処理が行われる。以下、図7に示す端末装置400の6つの構成要素の各機能を順に説明する。
 まず、楕円ブロックで示されている自己アドレス通知部450は、「アドレス通知」の処理を実行するための構成要素であり、自己のネットワーク上での所在を示す所在アドレスを、接続仲介装置300に対して通知する処理を実行する。この自己アドレス通知部450の機能は、図2に示す自己アドレス通知部250の機能と全く同じであるため、ここでは詳しい説明は省略する。図6に示すアドレステーブル更新部320は、この通知を受けて、アドレステーブルTの更新を行う。
 次に、図7に矩形ブロックもしくは二重矩形ブロックで示されている5つの構成要素について説明する。上述したように、矩形ブロックで示されている3つの構成要素は、端末装置400が「通信元」として機能する場合に必要な処理を実行し、二重矩形ブロックで示されている2つの構成要素は、端末装置400が「通信先」として機能する場合に必要な処理を実行する。
 まず、通信要求受付部420は、自己を通信元として、通信先の別な端末装置に対する通信要求を受け付ける処理を行う構成要素であり、図2に示す通信要求受付部220と全く同じ機能をもつ構成要素である。また、接続仲介依頼部410は、通信要求受付部420によって通信要求が受け付けられたときに、接続仲介装置300に対して、通信先の別な端末装置の端末IDを特定するための通信先特定情報を含む接続仲介依頼を送信する構成要素であり、図2に示す接続仲介依頼部210と全く同じ機能をもつ構成要素である。
 こうして、接続仲介依頼部410から送信された接続仲介依頼は、ネットワークNを介して接続仲介装置300へと伝達される(図における太線矢印は、端末装置400と接続仲介装置300との間でやりとりされる、通信セッション確立前の信号の流れを示している)。すると、接続仲介装置300からは、図に太線矢印で示すように、通信元アドレスが送信されてくる。この通信元アドレスは、通信開始要求部440によって受信される。
 ここで留意すべき点は、接続仲介装置300からの通信元アドレスの送信先は、接続仲介依頼を行った通信元の端末装置ではなく、通信先となる別な端末装置である点である。すなわち、図7に示す例において、矩形ブロックで示す接続仲介依頼部410は、通信元端末装置内の構成要素であるのに対して、二重矩形ブロックで示す通信開始要求部440は、別な通信先端末装置内の構成要素ということになる。したがって、上述の説明において、接続仲介依頼を発する接続仲介依頼部410と、これに応じて接続仲介装置300から送信されてくる通信元アドレスを受信する通信開始要求部440とは、それぞれ異なる端末装置400に所属していることになる。
 要するに、図6に示されている通信元アドレス送信部330は、ある端末装置400の接続仲介依頼部から接続仲介依頼が送信されてきたときに、アドレステーブルTを参照して、当該接続仲介依頼に含まれている通信先特定情報によって特定される端末IDに対応づけられている所在アドレスに対して、当該接続仲介依頼を送信した通信元の端末装置の端末IDに対応づけられている所在アドレスを通信元アドレスとして送信する処理を行うことになる。
 この通信元アドレス送信部330の処理機能をより明確にするため、ここでは、図6に示す端末装置400Bを通信元、端末装置400Aを通信先とした具体例(たとえば、端末装置400BのユーザBが発呼側となり、端末装置400AのユーザAを着呼側として電話をかけたような場合)について、上記手順を説明しよう。
 この場合、通信元端末装置400Bから接続仲介装置300に対して、端末装置400Aを通信先として指定する接続仲介依頼が送信されることになる。当該接続仲介依頼を受けた通信元アドレス送信部330は、アドレステーブルTを参照することにより、通信先として指定された端末装置400Aの所在アドレス「AD1」を認識する。前述した第1の実施形態における通信先アドレス返信部130は、こうして認識した通信先の所在アドレスを通信元(接続仲介依頼の送信元)に返信する処理を行っていた。これに対して、図6に示す第2の実施形態における通信元アドレス送信部330は、認識した通信先の所在アドレス「AD1」に宛てて、通信元端末装置400Bの所在を示す通信元アドレス「AD2」(これは、接続仲介依頼の送信元のアドレスとして認識できる)を送信する。
 結局、上例の場合、通信元端末装置400Bから接続仲介装置300に対して接続仲介依頼を行うと、接続仲介装置300から通信先端末装置400Aに対して通信元アドレス(通信元端末装置400Bの所在アドレス「AD2」)が送信されることになる。ここが、前述した第1の実施形態と大きく異なる点である。
 こうして送信されてきた通信元アドレスは、図7に示すとおり、通信先端末装置400A内の通信開始要求部440によって受信される。通信開始要求部440は、この通信元アドレス(通信元端末装置400Bのアドレス)に対して通信開始要求を行う。すなわち、通信開始要求部440は、接続仲介装置300から、通信元の別な端末装置のネットワーク上での所在を示す通信元アドレスが送信されてきたときに、ネットワークNを介して、当該通信元アドレスにアクセスして通信開始要求を行うことになる。図に細線矢印で示すとおり、この通信開始要求は、1台の端末装置400(通信先)から別な1台の端末装置400(通信元)に宛てた信号ということになる。
 一方、通信先の別な端末装置(上例の場合、端末装置400A)から通信開始要求がなされた端末装置(上例の場合、端末装置400B)は、当該通信開始要求を通信元セッション確立部430で受信する(図の左側の下向き細線矢印)。そして、この通信元セッション確立部430は、通信先の別な端末装置(上例の場合、端末装置400A)に対して通信開始受諾確認を返信し(図の左側の上向き細線矢印)、当該通信先の別な端末装置との間に通信セッションを確立して通信を開始する。図7の左端に描かれた白抜矢印は、このようにして通信セッションが確立した後の両端末間の信号(通信パケット)の流れを示している。
 こうして、通信元端末装置400Bから通信先端末装置400Aに対して返信された通信開始受諾確認は、通信先端末装置400Aの通信先セッション確立部460によって受信される(図の右側の細線矢印)。通信先セッション確立部460は、この通信開始受諾確認を受信したら、通信元の別な端末装置400Bとの間に通信セッションを確立して通信を開始する。図7の右端に描かれた白抜矢印は、このようにして通信セッションが確立した後の両端末間の信号(通信パケット)の流れを示している。
 かくして、通信元端末装置と通信先端末装置との間の通信セッション確立後の通信は、通信元端末装置の通信元セッション確立部430と通信先端末装置の通信先セッション確立部460との間で行われることになる。別言すれば、図7の左端の白抜矢印は、ネットワークNを介して、図7の右端の白抜矢印に連なることになる。
 <2-2. 第2の実施形態における具体的な通信手順>
 これまで、図6および図7を参照しながら、先願基本発明の第2の実施形態に係るネットワーク通信システムの構成要素である接続仲介装置300および端末装置400の各構成要素およびその機能を説明した。ここでは、この第2の実施形態に係るネットワーク通信システムにおける通信手順を、具体例に即して説明することにする。
 まず、図7に示す端末装置における自己アドレス通知部450の機能であるが、これは図3を用いて説明した自己アドレス通知部250A,250Bの機能と全く同じであるため、ここでは説明を省略する。
 そこで以下、特定の端末装置間で実際に通信を開始する際の処理手順を説明する。図8は、図6に示すネットワーク通信システムにおいて、通信元端末装置400Bと通信先端末装置400Aとの間の通信セッション確立の手順を示すブロック図である。この図8では、図の上段に接続仲介装置300が示され、図の下段に2組の端末装置400A,400Bが示されている。ここでも、接続仲介装置300と各端末装置400A,400Bとの間の情報のやりとり(太線矢印で示す)や、端末装置400A,400B間の情報のやりとり(細線矢印で示す)は、実際にはネットワークNを介して行われるが、説明の便宜上、ネットワークNの図示は省略する。
 また、ここでは、説明の便宜上、端末装置400Bを通信元、端末装置400Aを通信先とした場合の手順を説明する。このため、図8では、通信元端末装置400B内の構成要素については、通信元として必要な処理を実行する構成要素(矩形ブロックの構成要素)のみを実線で示し、通信先端末装置400A内の構成要素については、通信先として必要な処理を実行する構成要素(二重矩形ブロックの構成要素)のみを実線で示すことにし、それ以外の構成要素のブロックは破線で示してある。
 一方、図9は、図8のブロック図に示されている通信セッション確立手順を時系列で説明する流れ図である。以下、図8のブロック図を参照しながら、図9の流れ図に従って、第2の実施形態における具体的な通信手順を説明する。なお、図8のブロック図において、各矢印に付された符号S11~S17は、図9の流れ図における各ステップS11~S17に対応するものである。逆に、図9の流れ図の各ステップにおいて、括弧書きで示された符号は、図8のブロック図における特定のブロックに対応するものであり、当該ステップの内容に関連する特定の構成要素を示すものである。
 まず、ステップS11において、通信要求受付処理が行われる。これは、図8に示す通信要求受付部420Bによって通信要求を受け付ける処理であり、図5のステップS1で述べた処理と同様であるため説明は省略する。続くステップS12では、この通信要求に基づいて、接続仲介依頼S12が行われる。これは、図8に示す接続仲介依頼部410Bによって行われる処理であり、図5のステップS2で述べた処理と同様であるため説明は省略する。
 こうして、通信元端末装置400Bの接続仲介依頼部410Bから、接続仲介装置300へ接続仲介依頼S12(図示の例では、通信先特定情報として、通信先端末装置400Aの端末ID「0010」が含まれている)が送信されてくると、ステップS13において、この接続仲介依頼S12を受けた通信元アドレス送信部330が、アドレステーブル格納部310に格納されているアドレステーブルを参照して、当該接続仲介依頼に含まれている通信先特定情報によって特定される端末ID(この例では、「0010」)に対応づけられている所在アドレスを通信先アドレスとして認識する(S13)。たとえば、その時点におけるアドレステーブルTが、図6に示すようなものであったとすると、端末ID「0010」に対応づけられているアドレス「AD1」が通信先アドレスとして認識される。
 そこで、ステップS14において、通信元アドレス返信部330が、ステップS13で認識した通信先アドレス「AD1」宛に、接続仲介依頼S12を送信した通信元端末装置400Bの端末ID「0020」に対応づけられている所在アドレス「AD2」を通信元アドレスとして送信する(S14)。
 前述したとおり、一般に、ネットワークを介して接続された二者間で情報の送受を行う場合、情報の送信側は自分のアドレスを受信側に伝達し、受信側は当該送信側のアドレス宛にアクノレッジ信号を返信する処理を行う。したがって、通信元アドレス送信部330は、接続仲介依頼S12を受信した時点で、その送信元である端末装置400Bの所在アドレス「AD2」を認識することができるので、通信元アドレス送信S14を行う際には、この認識した所在アドレス「AD2」をデータとして送信すればよい。
 このように、通信元端末装置400Bが、接続仲介装置300に対して接続仲介依頼S12を行うと、この接続仲介依頼S12に応じて、接続仲介装置300から、通信先端末装置400A宛に(アドレステーブルTで検索した所在アドレス「AD1」宛に)、通信元端末装置400Bの所在を示す通信元アドレス「AD2」が送信されることになる。接続仲介装置300に用意されているアドレステーブルTは、常に最新の状態に更新されているので、通信元アドレス送信S14は、常に通信先端末装置400Aの最新の所在アドレスに対して行われることになる。
 こうして、通信元アドレス送信部330から通信元アドレス送信S14(通信元アドレス「AD2」を伝達する情報)が送信されてくると、当該通信元アドレス送信S14は、通信先端末装置400Aの通信開始要求部440Aによって受信される。
 この通信元アドレス送信S14により、通信元アドレス「AD2」を取得した通信開始要求部440Aは、ステップS15において、通信元端末装置400Bに対して通信開始要求S15を行う。すなわち、ネットワークNを介して、通信元アドレス「AD2」宛にアクセスを行い、相手方に通信開始の要求を伝える。このとき、自己の所在アドレス(通信元アドレス「AD1」)も併せて伝達されることになる。
 通信元アドレス「AD2」宛に行われた通信開始要求S15は、通信元端末装置400Bの通信元セッション確立部430Bによって受信される。通信元セッション確立部430Bは、通信先端末装置400Aから、自己(端末装置400B)を通信元とする通信開始要求S15がなされたら、まず、ステップS16において、ネットワークNを介して通信先端末装置400Aに対して通信開始受諾確認S16を送信する。そして、続くステップS17において、通信先端末装置400Aとの間に通信セッションを確立して通信S17を開始する。
 一方、通信先端末装置400A宛に送信されてきた通信開始受諾確認S16は、通信先セッション確立部460Aによって受信される。そして、ステップS17では、この通信開始受諾確認S16を受信した通信先セッション確立部460Aが、通信元端末装置400Bとの間に通信セッションを確立して通信S17を開始する処理も行われる。要するに、通信先端末装置400A側では、通信開始要求S15に応じて、通信元端末装置400Bから通信開始受諾確認S16が返信されてきたら、当該通信元端末装置400Bとの間に通信セッションを確立して通信を開始する処理を行うことになる。
 かくして、通信元端末装置400Bと通信先端末装置400Aとの間に通信セッションが確立され、両者間での通信S17が行われることになる。この図9に示す流れ図において、接続仲介装置300が行った処理は、ステップS13のアドレステーブル参照処理とステップS14の通信元アドレス送信処理だけである。すなわち、接続仲介装置300が行う仲介処理は、通信元端末装置400Bからの接続仲介依頼S12を受けて、アドレステーブルTを参照し(ステップS13)、得られた通信先アドレスに宛てて、通信元アドレスのデータを送信する(ステップS14)だけである。接続仲介装置300がこのような仲介処理を行うだけで、通信元端末装置400Bと通信先端末装置400Aとの間に通信セッションが確立され、両者間での通信が開始することになる。
 このように、先願基本発明の第2の実施形態に係るネットワーク通信システムでは、第1の実施形態に係るネットワーク通信システムと同様に、接続仲介装置300の処理負荷は極めて軽くなる。前述したように、SIPを利用して両端末間の接続仲介処理を行うシステムでは、従来型の中継処理に比べれば、その処理負荷は軽減されることになるが、両端末間にセッションが確立するまで関与する必要があり、多数の端末装置からの仲介依頼が集中すると、その処理負荷はかなり重くなってくる。これに対して、先願基本発明の第2の実施形態に係るシステムの場合、接続仲介装置300は、両端末間に通信セッションが確立するまで関与する必要はなく、通信先端末装置に対して通信元アドレスを伝達する処理を行えば足りる。このため、一対の端末装置間の接続を仲介する際の処理負荷を、より軽減することが可能になる。
 このように、先願基本発明の第2の実施形態に係るネットワーク通信システムでは、接続仲介装置300が通信セッション確立まで関与しないため、接続仲介装置300は、両端末装置間に通信セッションが確立し、支障なく通信が行われているか否かを把握することはできない。そこで、もし必要があれば、通信セッション確立後に、通信元セッション確立部430Bもしくは通信先セッション確立部460Aから接続仲介装置300に対して、支障なく通信セッションが確立した旨の報告を行うようにしてもよい。
 なお、上述の実施例では、通信先端末装置400Aの通信開始要求部440Aが、接続仲介装置300からの通信元アドレス送信S14を受信したときに、ステップS15において、自動的に通信開始要求S15を送信しているが、場合によっては、通信開始要求部440Aに何らかの条件判断機能をもたせておき、通信元アドレス送信S14を受信したときに、所定の条件を満たしている場合に限り、通信開始要求S15を送信するようにしてもよい。あるいは、所定の条件を満たしていない場合には、通信開始要求S15の代わりに、通信開始拒絶通知を送信するようにしてもよい。
 たとえば、通信開始要求部440Aに、通信開始を常に拒絶する通信元リスト(いわゆるブラックリスト)や通信開始を常に許可する通信元リスト(いわゆるホワイトリスト)を用意しておけば、通信開始要求部440Aは、当該リストを参照することにより、通信元アドレス送信S14によって送信されてきた通信元アドレスが、ブラックリストに掲載されていた場合には、通信開始要求S15の送信を行わない処理をするか、通信開始拒絶通知を送信する運用を行うことができる。あるいは、通信元アドレスが、ホワイトリストに掲載されていた場合にのみ、通信開始要求S15を送信するような運用を行うことも可能である。
 また、上述の実施例では、通信元セッション確立部430Bが、通信先端末装置400Aから、自己を通信元とする通信開始要求S15がなされた時に、ステップS16において、当該通信先端末装置400Aに対して通信開始受諾確認を送信する、という説明を行ったが、場合によっては、通信開始要求S15を受諾せずに拒絶し、通信開始受諾確認を送信しないようにしてもよい(あるいは、通信開始受諾確認の代わりに、通信開始拒絶通知を送信するようにしてもよい)。
 たとえば、§3-4で述べるように、セキュリティを向上させる変形例を採用する場合は、通信開始要求S15に何らかのセキュリティ上の問題が存在する場合には、これを拒絶する運用を採用することも可能である。
 <<< §3. 先願基本発明の第1および第2の実施形態の変形例 >>>
 ここでは、§1で述べた先願基本発明の第1の実施形態および§2で述べた先願基本発明の第2の実施形態について、いくつかの変形例を述べる。
 <3-1. 端末IDに関する変形例>
 これまで述べてきたように、図1の接続仲介装置100内のアドレステーブル格納部110には、アドレステーブルTが格納されている。図6の接続仲介装置300内のアドレステーブル格納部310も同様である。このアドレステーブルTは、個々の端末装置のそれぞれについて、端末IDと所在アドレスとを対応づけたテーブルであり、通信先アドレス返信部130もしくは通信元アドレス送信部330は、受信した接続仲介依頼に含まれている通信先特定情報に基づいてアドレステーブルTを参照し、通信先の所在アドレスを取得する。
 たとえば、図4に示す第1の実施形態の場合、接続仲介依頼S2には、通信先端末装置200Bの端末ID「0020」が通信先特定情報として含まれており、通信先アドレス返信部130は、アドレステーブルTを参照することにより、端末ID「0020」に対応する所在アドレス「AD2」を取得することができる。同様に、図8に示す第2の実施形態の場合、接続仲介依頼S12には、通信先端末装置400Aの端末ID「0010」が通信先特定情報として含まれており、通信元アドレス送信部330は、アドレステーブルTを参照することにより、端末ID「0010」に対応する所在アドレス「AD1」を取得することができる。
 このように、これまで述べてきた実施形態では、接続仲介依頼に含ませる通信先特定情報として、通信先端末装置の端末IDを用いていた。この端末IDは、個々の端末装置を相互に識別するための情報であり、具体的には、個々の端末装置に内蔵されているCPUのシリアル番号、通信インターフェイスに付与されたMACアドレス、携帯電話として機能する端末装置の場合は電話番号やSIMカードのシリアル番号、などを端末IDとして用いることができる。
 ただ、一般に、ユーザが、他のユーザの端末装置についての端末IDを記憶することは困難である。したがって、通信要求を行う際に、これらの端末IDを、ユーザ自身に直接入力させることは好ましくない。そこで、実用上は、通信要求を行う際に、端末IDで通信先を指定する代わりに、ユーザIDで通信先を指定させるようにするのが好ましい。端末IDが個々の端末装置を識別するためのIDであるのに対して、ユーザIDは個々のユーザを識別するためのIDである。一般的には、ユーザ名やニックネームをユーザIDとして用いることができる。
 端末IDの代わりにユーザIDを用いて通信要求を行うことができるようにするには、通信要求受付部220,420内に、ユーザIDと端末IDとの対応表を用意しておけばよい。そして、ユーザが特定のユーザID(たとえば、ユーザ名)を指定して通信要求を行ったときに、通信要求受付部220,420が、用意されている対応表を利用してユーザIDを端末IDに変換して接続仲介依頼部210,410へ引き渡すようにすればよい。そうすれば、接続仲介依頼部210,410は、端末IDを含む接続仲介依頼を送信することができる。このようなユーザID(たとえば、ユーザ名)から端末ID(たとえば、電話番号)への変換処理機能は、一般的な携帯電話に「電話番号登録機能」として備わっている公知の機能であるため、ここでは詳しい説明は省略する。
 端末IDの代わりにユーザIDを利用できるようにする別な方法として、ユーザIDと端末IDとの対応表を接続仲介装置100,300側に用意する方法を採ることもできる。たとえば、アドレステーブル格納部110,310内に、図1や図6に示すアドレステーブルTの代わりに、図10に示すようなアドレステーブルT1を格納しておくようにする。このアドレステーブルT1は、個々の端末装置のそれぞれについて、当該端末装置のユーザを特定するユーザIDと、当該端末装置の端末IDと、を対応づける情報を含むテーブルである。
 図10では、説明の便宜上、ユーザIDとして、「John」,「Mary」のようなユーザ名を用いた例を示すが、実際には、テーブルに収録されている個々のユーザを相互に識別できるように、各ユーザのフルネームをユーザIDとして登録しておくようにし、もし同姓同名のユーザがいた場合には、相互に区別できるようなユーザIDを登録するようにする。実際には、端末装置200,400の自己アドレス通知部250,450に、このようなユーザIDを接続仲介装置100,300側に申告する機能を設けておき、アドレステーブル更新部120,320に、申告を受けたユーザIDをアドレステーブルT1に登録する機能を設けておけば、図10に示すようなアドレステーブルT1を用意することが可能になる。
 アドレステーブルT1を用意しておけば、通信元となる端末装置側では、通信先となる端末装置の端末IDを認識する必要はない。たとえば、図4に示す例において、通信元端末装置200Aから通信先端末装置200Bに対して発呼する場合、通信元端末装置200AのユーザA(John)は、通信先端末装置200BのユーザBのユーザ名「Mary」(ユーザID)を通信先として指定した通信要求を行えばよい。この場合、端末ID「0020」の代わりに、「Mary」なるユーザIDを通信先特定情報として含む接続仲介依頼S2が、接続仲介依頼部210Aから接続仲介装置100へ送信されることになる。
 このような接続仲介依頼S2を受信した通信先アドレス返信部130は、図10に示すアドレステーブルT1を参照することにより、通信先特定情報として含まれていたユーザ名「Mary」に対応する端末ID「0020」を認識することができ、更に、この端末ID「0020」をもつ通信先端末装置200Bの所在アドレス「AD2」を認識することができる。
 図11は、ユーザIDの代わりにアカウントIDを用いたアドレステーブルT2を示す図である。ユーザIDが、個々のユーザを特定する情報であるのに対して、アカウントIDは、個々のユーザが開設したユーザアカウントを特定する情報である。たとえば、図示の例における「U11111」なるアカウントIDは、ユーザ「John」が開設したユーザアカウントを示すIDであり、「U22222」なるアカウントIDは、ユーザ「Mary」が開設したユーザアカウントを示すIDである。もちろん、個々のユーザは、必要があれば複数のアカウントを開設することが可能である。
 端末装置200,400の自己アドレス通知部250,450に、このようなアカウントを開設するための申込機能を設けておき、アドレステーブル更新部120,320に、当該申込に応じて、所定のユーザアカウントを設定し、アカウントIDをアドレステーブルT2に登録する機能を設けておけば、図11に示すようなアドレステーブルT2を用意することが可能になる。
 図4に示す例において、アドレステーブル格納部110内に図11に示すようなアドレステーブルT2を用意しておけば、接続仲介依頼部210Aは、端末ID「0020」の代わりに、「U22222」なるアカウントIDを通信先特定情報として含む接続仲介依頼S2を接続仲介装置100へ送信すればよい。
 このように、先願基本発明において、接続仲介依頼部から送信される接続仲介依頼には、通信先となる別な端末装置の端末IDを特定する役割を果たす何らかの「通信先特定情報」が含まれていれば足りる。この「通信先特定情報」は、端末ID自身であってもよいし、上例のように、ユーザIDやアカウントIDであってもかまわない。
 結局、この§3-1で述べた変形例を§1で述べた第1の実施形態に適用する場合は、図4に示す構成において、アドレステーブル格納部110に、個々の端末装置のそれぞれについて、当該端末装置のユーザを特定するユーザIDもしくはユーザアカウントを特定するアカウントIDと、当該端末装置の端末IDと、を対応づける情報を含むアドレステーブルT1(図10)もしくはT2(図11)を格納しておくようにする。また、接続仲介依頼部210Aは、通信先特定情報として、通信先の端末装置のユーザを特定するユーザIDもしくはユーザアカウントを特定するアカウントIDを用いた接続仲介依頼S2を送信するようにする。そして、通信先アドレス返信部130は、接続仲介依頼部210Aから接続仲介依頼S2が送信されてきたときに、アドレステーブルT1もしくはT2を参照して、接続仲介依頼S2に含まれていたユーザIDもしくはアカウントIDに対応づけられている端末IDを決定し、決定された端末IDに対応づけられている所在アドレスを通信先アドレスとして返信する処理を行うようにすればよい。
 一方、この§3-1で述べた変形例を§2で述べた第2の実施形態に適用する場合は、図8に示す構成において、アドレステーブル格納部310に、個々の端末装置のそれぞれについて、当該端末装置のユーザを特定するユーザIDもしくはユーザアカウントを特定するアカウントIDと、当該端末装置の端末IDと、を対応づける情報を含むアドレステーブルT1(図10)もしくはT2(図11)を格納しておくようにする。また、接続仲介依頼部410Bは、通信先特定情報として、通信先の端末装置のユーザを特定するユーザIDもしくはユーザアカウントを特定するアカウントIDを用いた接続仲介依頼S12を送信するようにする。そして、通信元アドレス送信部330は、接続仲介依頼部410Bから接続仲介依頼S12が送信されてきたときに、アドレステーブルT1もしくはT2を参照して、接続仲介依頼S12に含まれていたユーザIDもしくはアカウントIDに対応づけられている端末IDを決定し、決定された端末IDに対応づけられている所在アドレス宛に、通信元アドレスを送信する処理を行うようにすればよい。
 <3-2. 代替端末を利用する変形例>
 前述したとおり、先願基本発明に利用可能な端末装置は、パソコン、携帯電話、タブレット型端末など多岐にわたり、最近は、同一のユーザが複数の端末装置を使い分けることも珍しくなくなってきている。ここでは、そのような状況を考慮して、特定の端末装置に対する着呼があったときに、当該着呼を同一ユーザの別な端末装置へ誘導する仕組をもった変形例を述べることにする。
 ここで述べる変形例を実施する際には、予め、図12に示すようなアドレステーブルT3を用意しておく。このアドレステーブルT3の場合、4組のユーザID「John」,「Mary」,「Frank」,「Susie」について、それぞれ端末IDおよび所在アドレスが登録されているが、ユーザID「John」については2つの端末ID「0010」,「0011」が登録され、ユーザID「Frank」については3つの端末ID「0030」,「0031」,「0032」が登録されている。これは、ユーザJohnが、このネットワーク通信システムに利用可能な2台の端末装置を所有し、ユーザFrankが、3台の端末装置を所有しているためである。
 ここで、同一のユーザIDに対応づけられて登録されている複数の端末IDを、1つのグループに所属する端末IDとして把握し、同じグループに所属する1つの端末IDを別な1つの端末IDについての代替端末IDと呼ぶことにすれば、図12に示すアドレステーブルT3は、特定の端末IDについて、1つもしくは複数の代替端末IDを登録したアドレステーブルということができる。要するに、同一のユーザ名で複数の端末IDの登録があった場合には、これらの端末IDを同一のグループに所属するものとして把握し、相互に代替端末IDとして認識する取り扱いを行うようにすればよい。
 たとえば、図12に示す例の場合、端末ID「0010」については1つの代替端末ID「0011」が登録されており、逆に、端末ID「0011」については1つの代替端末ID「0010」が登録されていることになる。一方、端末ID「0030」については2つの代替端末ID「0031」,「0032」が登録されており、端末ID「0031」については2つの代替端末ID「0030」,「0032」が登録されており、端末ID「0032」については2つの代替端末ID「0030」,「0031」が登録されていることになる。
 ここで述べる変形例に係るシステムでは、このような代替端末IDを登録しておくことにより、利用不都合な状態にある端末装置宛に発呼があったときに、当該発呼を代替となる別な端末装置宛に転送させることができる。
 たとえば、ユーザJohnが、スマートフォンからなる第1の端末装置(端末ID「0010」)とパソコンからなる第2の端末装置(端末ID「0011」)とを所有しており、通常は、いずれの端末装置も利用可能な状態になっているものとしよう。ところが、ある日、スマートフォンからなる第1の端末装置について、バッテリ切れで一時的に利用できない状態になったとする。この場合、もし、ユーザMaryが、自己の端末装置を通信元として、ユーザJohnのスマートフォンを通信先とする通信要求を行ったとしても、ユーザJohnのスマートフォンに対する正常な接続を行うことはできない。
 ここで述べる変形例に係るシステムでは、このような場合、接続仲介装置が、ユーザJohnのスマートフォンの代わりに、その代替となるユーザJohnのパソコンに代替接続する処理を実行することができる。
 この§3-2で述べる変形例を§1で述べた先願基本発明の第1の実施形態に適用する場合は、図4に示す構成に対して、次のような変更を施せばよい。
 まず、アドレステーブル格納部110には、特定の端末IDについて、1つもしくは複数の代替端末IDを登録したアドレステーブル(たとえば、図12に示すアドレステーブルT3)を格納しておく。そして、通信先アドレス返信部130には、個々の端末装置について利用不都合な状態にあるか否かを判定する機能を付加しておく。具体的には、たとえば、判定対象となる端末装置に対して試験アクセスを行い、正常な返信があった場合には問題なしと判断するが、正常な返信が得られなかった場合には利用不都合な状態にあるとの判断を行うようにすればよい。
 通信先アドレス返信部130は、接続仲介依頼S2が送信されてきたときに、通信先特定情報で特定される本来の端末IDが付与された端末装置について、利用不都合な状態にあるか否かを判定する処理を行う。そして、もし、本来の端末IDが付与された端末装置が利用不都合な状態にある場合には、当該本来の端末IDに代えて代替端末IDに対応づけられている所在アドレスを通信先アドレスとして返信する処理を行うようにする。
 たとえば、図12に示すアドレステーブルT3が用意されている状態において、通信先特定情報として本来の端末ID「0010」(ユーザJohnのスマートフォン)を含む接続仲介依頼が送信されてきた場合、通信先アドレス返信部130は、まず、端末ID「0010」に対応する所在アドレス「AD1」に試験アクセスを行い、正常な返信があった場合には問題なしと判断し、通常の手順に従って、所在アドレス「AD1」を通信先アドレスとして返信する処理を行えばよい。この場合、通信元端末装置は、本来の端末ID「0010」が付与されたユーザJohnのスマートフォンを通信先として通信を行うことができる。
 ところが、試験アクセスに対して正常な返信が得られなかった場合には、本来の端末ID「0010」が付与された端末装置(ユーザJohnのスマートフォン)が利用不都合な状態にあると判断し、本来の端末ID「0010」に代えて、アドレステーブルT3において端末ID「0010」についての代替端末IDとして登録されている端末ID「0011」に対応づけられている所在アドレス「AD5」を通信先アドレスとして返信する処理を行うようにする。この場合、通信元端末装置は、本来の端末ID「0010」が付与されたユーザJohnのスマートフォンではなく、代替端末ID「0011」が付与されたユーザJohnのパソコンを通信先として通信を行うことができる。
 一方、この§3-2で述べる変形例を§2で述べた先願基本発明の第2の実施形態に適用する場合は、図8に示す構成に対して、次のような変更を施せばよい。
 まず、アドレステーブル格納部310には、特定の端末IDについて、1つもしくは複数の代替端末IDを登録したアドレステーブル(たとえば、図12に示すアドレステーブルT3)を格納しておく。そして、通信元アドレス送信部330には、個々の端末装置について利用不都合な状態にあるか否かを判定する機能を付加しておく。具体的には、上述したように、判定対象となる端末装置に対して試験アクセスを行い、正常な返信があった場合には問題なしと判断するが、正常な返信が得られなかった場合には利用不都合な状態にあるとの判断を行うようにすればよい。
 通信元アドレス送信部330は、接続仲介依頼S12が送信されてきたときに、通信先特定情報で特定される本来の端末IDが付与された端末装置について、利用不都合な状態にあるか否かを判定する処理を行う。そして、もし、本来の端末IDが付与された端末装置が利用不都合な状態にある場合には、当該本来の端末IDに代えて代替端末IDに対応づけられている所在アドレスに対して、接続仲介依頼S12を送信した通信元端末装置の所在アドレスを通信元アドレスとして送信する処理を行うようにする。
 たとえば、図12に示すアドレステーブルT3が用意されている状態において、通信先特定情報として本来の端末ID「0010」(ユーザJohnのスマートフォン)を含む接続仲介依頼が送信されてきた場合、通信元アドレス送信部330は、まず、端末ID「0010」に対応する所在アドレス「AD1」に試験アクセスを行い、正常な返信があった場合には問題なしと判断し、通常の手順に従って、所在アドレス「AD1」宛に通信元アドレスの送信を行えばよい。この場合、通信元端末装置は、本来の端末ID「0010」が付与されたユーザJohnのスマートフォンを通信先として通信を行うことができる。
 ところが、試験アクセスに対して正常な返信が得られなかった場合には、本来の端末ID「0010」が付与された端末装置(ユーザJohnのスマートフォン)が利用不都合な状態にあると判断し、本来の端末ID「0010」に代えて、アドレステーブルT3において端末ID「0010」についての代替端末IDとして登録されている端末ID「0011」に対応づけられている所在アドレス「AD5」宛に通信元アドレスの送信を行うようにする。この場合、通信元端末装置は、本来の端末ID「0010」が付与されたユーザJohnのスマートフォンではなく、代替端末ID「0011」が付与されたユーザJohnのパソコンを通信先として通信を行うことができる。なお、図12に示すユーザFrankのように、複数の代替端末IDが登録されている場合は、予め優先順位を定めておき、優先順位の高い順に実際に利用する代替端末IDを決定すればよい。
 なお、上述の実施例では、通信先アドレス返信部130や通信元アドレス送信部330は、接続仲介依頼を受信した時点で、本来の通信先に対する試験アクセスを行い、利用不都合な状態にあるか否かを判定する処理を行っているが、その代わりに、個々の端末装置に対して定期的な試験アクセスを行うようにし、利用不都合な状態にある端末装置については、その時点でアドレステーブルにその旨の記録を行うようにしてもよい。この場合、各端末装置は、接続仲介依頼の有無にかかわらず、定期的に試験アクセスを受け、利用不都合な状態にあるか否かのチェックを受けることになり、チェック結果がアドレステーブルに記録されることになる。したがって、実際に接続仲介依頼があった場合は、このアドレステーブルの記録に基づいて利用不都合な状態にあるか否かを判定することができる。
 なお、この変形例にいう「利用不都合な状態」とは、バッテリ切れの状態やネットワークへの接続障害が生じた状態のように「利用不能な状態」のみを意味するものではない。たとえば、端末装置の機能としては正常に利用可能な状態ではあるが、ユーザが恣意的に利用したくないと考え、そのような設定を行った状態も含むものである。たとえば、ユーザが自分の意思で「着信拒否」を設定した場合、当該端末装置は「利用不都合な状態」になる。したがって、上例の場合、ユーザJohnが所持するスマートフォンおよびパソコンがいずれも正常動作可能な状態であっても、もしユーザJohnが、スマートフォンに対して「着信拒否」を設定した場合、当該スマートフォンは「利用不都合な状態」になる。
 この「着信拒否」の設定(「利用不都合な状態」の設定)は、個々の端末装置内にのみ記録しておいてもよいが、接続仲介装置内のアドレステーブルに記録するようにしてもよい。アドレステーブルに記録しておけば、各端末装置への試験アクセスを行うことなしに、「利用不都合な状態」にあることを認識できる。
 <3-3. セキュリティを向上させる変形例(その1)>
 ここでは、よりセキュリティを向上させたネットワーク通信システムを構築するための変形例を述べる。一般に、電子機器間でネットワークを介して情報のやりとりを行う場合、相手方の真正性を担保することは重要である。真正性が担保されない相手との交信は、クラッカーの攻撃を招くおそれがあり、セキュリティ上問題である。先願基本発明に係るネットワーク通信システムの場合、個々の端末装置と接続仲介装置との間の交信や、通信元端末装置と通信先端末装置との間の交信が不可欠であり、実用上、これら装置間通信におけるセキュリティ確保は重要である。
 図13は、図4に示す第1の実施形態に係るネットワーク通信システムについて、セキュリティを向上させた変形例を示すブロック図である。この変形例では、第1の実施形態に係るネットワーク通信システムに対して、セキュリティを向上させるための2つの対策が施されている。
 第1の対策は、相互認証処理の付加であり、図に破線の矢印で示されている情報を送受する際に、両者間で相手方の真正性を確認するための相互認証処理が行われる。具体的には、まず、通信元端末装置200Aから接続仲介装置100に対して接続仲介依頼S2を送信するときに、通信元端末装置200Aと接続仲介装置100との間で、相互に相手方の装置の真正性を確認するための相互認証処理が行われる。接続仲介依頼S2を示す矢印が破線になっているのは、この相互認証処理が行われることを示している。したがって、各端末装置200および接続仲介装置100には、このような認証処理機能が備わっていることになる。
 なお、図示の例の場合、接続仲介装置100から通信元端末装置200Aに対して通信先アドレス返信S4を行う際の相互認証処理は省略されている(通信先アドレス返信S4を示す矢印は実線で描かれている)。これは、接続仲介依頼S2を送信するときに、通信元端末装置200Aと接続仲介装置100との間の相互認証処理が既に完了しており、相手方の装置の真正性が確認済みとなっているためである。もちろん、通信先アドレス返信S4を行う際にも、再び相互認証処理を実行するようにしてもかまわない。
 また、図13に示すシステムの場合、通信元端末装置200Aから通信先端末装置200Bに対して通信開始要求S5を送信するときにも、通信元端末装置200Aと通信先端末装置200Bとの間で、相互に相手方の装置の真正性を確認するための相互認証処理が行われる。通信開始要求S5を示す矢印が破線になっているのは、この相互認証処理が行われることを示している。したがって、各端末装置200には、このような認証処理機能が備わっていることになる。
 なお、図示の例の場合、通信先端末装置200Bから通信元端末装置200Aに対して通信開始受諾確認S6を行う際の相互認証処理は省略されている(通信開始受諾確認S6を示す矢印は実線で描かれている)。これは、通信開始要求S5を送信するときに、通信元端末装置200Aと通信先端末装置200Bとの間の相互認証処理が既に完了しており、相手方の装置の真正性が確認済みとなっているためである。もちろん、通信開始受諾確認S6を行う際にも、再び相互認証処理を実行するようにしてもかまわない。
 ネットワークを介して接続された一対の装置間において、相手方の真正性を確認するための相互認証処理としては、既に種々の方法が知られているため、ここでは詳しい説明は省略する。一般的には、相手方の暗号鍵を利用した相互認証処理が利用されることが多い。たとえば、公開鍵暗号方式を利用した相互認証処理では、一方の装置で特定の平文データを相手方装置の公開鍵を用いて暗号化し、得られた暗号文データを相手方に送信し、これを受信した他方の装置では、当該暗号文データを自己の暗号鍵を用いて復号し、元の平文データが復元できることを確認する、といった処理手順を採ることができる。この処理手順を双方で行えば、相互に相手方の真正性を確認することができる。
 なお、通信元端末装置200Aと通信先端末装置200Bとの間の相互認証処理を、それぞれの暗号鍵を用いて行った場合は、当該暗号鍵を利用して、通信セッション確立後の両者間の通信S7を暗号化通信によって行うようにすれば、セキュリティを更に向上させることができる。具体的には、通信開始要求S5を送信するときの相互認証処理を、通信元端末装置200Aについての暗号鍵および通信先端末装置200Bについての暗号鍵を用いた処理によって行うようにし、通信元端末装置200Aと通信先端末装置200Bとの間における通信セッション確立後の通信S7が、上記相互認証処理で用いた暗号鍵を用いて暗号化されたパケットを送受するパケット通信によって行われるようにすればよい。
 図13に示すシステムにおいて、セキュリティを向上させるために施された第2の対策は、接続仲介装置100による仲介証明書の発行である。図示の例の場合、接続仲介装置100は、通信元端末装置200Aと通信先端末装置200Bとの間の接続を仲介する役割を果たす。仲介証明書は「そのような仲介を確かに行った」という事実を証明するために接続仲介装置100が発行する証明書である。通信先端末装置200Bは、この仲介証明書により、接続仲介装置100による仲介が正しく行われていることを確認することができる。以下、その仕組を順に説明する。
 まず、接続仲介依頼部210Aから通信先アドレス返信部130に対して、接続仲介依頼S2があると、通信先アドレス返信部130は、この接続仲介依頼S2の送信を受けて、通信元となる特定の端末装置200Aから通信先となる特定の端末装置200Bへの仲介処理を実行したことを示す仲介証明書を発行する。そして、通信先アドレス返信S4を行う際に、通信先アドレス「AD2」とともにこの仲介証明書を、通信元端末装置200Aに返信する。
 したがって、通信開始要求部240Aは、通信先アドレス「AD2」とともに、この仲介証明書を受信することになる。そこで、通信開始要求部240Aは、当該通信先アドレス「AD2」に対して通信開始要求S5を行う際に、この仲介証明書を併せて送信する。そうすると、通信先セッション確立部230Bは、通信開始要求S5とともに仲介証明書を受信することになる。
 通信先セッション確立部230Bは、通信元の別な端末装置200Aから、自己を通信先とする通信開始要求S5とともに仲介証明書が送信されてきたら、この仲介証明書の正当性が確認されることを条件として、当該通信元の別な端末装置200Aに対して通信開始受諾確認S6を送信し、当該通信元の別な端末装置200Aとの間に通信セッションを確立して通信S7を開始するようにする。もちろん、仲介証明書の正当性が確認されない場合は、通信開始受諾確認S6の送信を行わず、通信S7も開始しない。
 前述したとおり、上例の場合の仲介証明書は、接続仲介装置100が「端末装置200Aから端末装置200Bへの仲介処理を実行した」ことを証明するものであるから、通信先セッション確立部230Bは、通信開始要求S5の内容が、当該仲介証明書の証明内容に合致しているか否かを判定することにより、当該仲介証明書の正当性確認を行うことができる。上例の場合、通信開始要求S5は端末装置200Aから送信されてきており、自分自信は端末装置200Bであるから、「端末装置200Aから端末装置200Bへの仲介処理を実行した」との仲介証明書は正しいと判断することができる。
 通信先端末装置200B内の通信先セッション確立部230Bは、通信元端末装置200Aからの通信開始要求S5を受信して、通信元端末装置200Aに対して通信開始受諾確認S6を送信し、通信セッションを確立して通信S7を行う。このとき、受信した通信開始要求S5が正規の信号であれば問題ないが、クラッカーによる偽装信号であった場合、不正行為の被害に遭うおそれがある。また、通信元端末装置200Aがマルウェアに感染していた場合、クラッカーに乗っ取られた状態になり、接続仲介装置100を経由した正規の手順を踏まずに、不正な方法により通信開始要求S5がなされる可能性もある。上述した仲介証明書を発行する対策を講じておけば、このようなクラッカーによる不正行為を防止する上で効果的である。
 仲介証明書のこのような役割を考慮すると、通信先アドレス返信部130は、たとえば次のような方法で仲介証明書を作成すればよい。まず、接続仲介依頼S2に基づいて、通信元となる特定の端末装置200Aの所在アドレス(図示の例では「AD1」)および通信先となる特定の端末装置200Bの所在アドレス(図示の例では「AD2」)を認識する。そして、これら両所在アドレスを含む仲介証明用データを作成する。たとえば、両所在アドレスの文字列をそのまま連結して「AD1」+「AD2」のような文字列を仲介証明用データとしてもよいし、更に、別な秘密文字列「HAPPY」を付加して、「AD1」+「AD2」+「HAPPY」のような文字列を仲介証明用データとしてもよい。
 続いて、こうして作成した仲介証明用データに対して、所定の暗号鍵を利用した一方向性関数を作用させることにより得られたデータを仲介証明書とすればよい。たとえば、一方向性関数としては、通信元端末装置200Aについての暗号鍵もしくは通信先端末装置200Bについての暗号鍵、または、これら双方の暗号鍵を利用したハッシュ関数を用いることができる。
 たとえば、仲介証明用データが、「AD1」+「AD2」+「HAPPY」という文字列によって構成され、当該文字列に、通信先端末装置200Bの公開鍵を利用したハッシュ関数を作用させることにより仲介証明書を作成した場合を例にとってみよう。こうして作成された仲介証明書は、仲介証明用データのハッシュ値ということになる。
 一方、通信開始要求S5とともに、上記仲介証明書を受信した通信先セッション確立部230Bは、次のような手順で、当該仲介証明書の正当性を確認することができる。まず、通信開始要求S5の送信元のアドレスとして、通信元端末装置200Aの所在アドレス「AD1」を認識することができる。また、自分自身の所在アドレス「AD2」も認識することができる。そして、予め取り決めがなされていた上記秘密文字列「HAPPY」(この秘密文字列は、当該ネットワーク通信システムの各構成装置のみが知り得るように管理されている)を用いることにより、「AD1」+「AD2」+「HAPPY」という文字列からなる仲介証明用データを作成する。
 続いて、この仲介証明用データに対して自分自身の公開鍵を用いたハッシュ関数を作用させることにより仲介証明書を作成する。そして最後に、こうして作成した仲介証明書が通信開始要求S5とともに送信されてきた仲介証明書と一致することを確認すればよい。両者が一致すれば、仲介証明書の正当性が確認されたことになる。もちろん、不一致であれば、正当性は確認できないので、何らかの不正が行われている可能性があると判断できる。すなわち、仲介証明書の正当性が確認できない場合は、通信先セッション確立部230Bが受信した通信開始要求S5は、接続仲介装置100による正規の仲介処理に基づいてなされたものではない、と判断することができる。そのような場合、通信先セッション確立部230Bは、通信開始受諾確認S6の送信を行わず、通信セッションの確立を拒絶することになる。
 なお、上例では、「AD1」+「AD2」+「HAPPY」なる仲介証明用データについてのハッシュ値を仲介証明書として用いているが、もちろん、上記仲介証明用データそのものを仲介証明書として用いることも可能である。ただ、十分なセキュリティを確保する上では、仲介証明用データそのものではなく、そのハッシュ値を仲介証明書として用いるのが好ましい。仲介証明用データには、「AD1」や「AD2」といった所在アドレスが含まれているので、クラッカーによる改竄を受けやすい。したがって、実用上は、上例のように、何らかの暗号鍵を利用した一方向性関数を作用させて仲介証明書を作成するのが好ましい。
 ハッシュ関数などの一方向性関数を用いて仲介証明書を作成すれば、元の仲介証明用データを復元することはできないので、仲介証明書がクラッカーの手に渡ったとしても、不正な改竄を受ける可能性を低減することができる。不正な改竄を防止するという点では、上例の「HAPPY」のような秘密文字列を付加して仲介証明用データを作成することは有効である。もちろん、仲介証明書を発行した日付、時間、曜日などの変動要素を秘密文字列として用いることも可能である。
 <3-4. セキュリティを向上させる変形例(その2)>
 上述した§3-3では、§1で述べた先願基本発明の第1の実施形態についてセキュリティを向上させた変形例を述べた。ここでは、§2で述べた先願基本発明の第2の実施形態について、同様の方法でセキュリティを向上させた変形例を述べることにする。
 図14は、図8に示す第2の実施形態に係るネットワーク通信システムについて、セキュリティを向上させた変形例を示すブロック図である。この変形例では、第2の実施形態に係るネットワーク通信システムに対して、セキュリティを向上させるための2つの対策が施されている。
 第1の対策は、相互認証処理の付加であり、図に破線の矢印で示されている情報を送受する際に、両者間で相手方の真正性を確認するための相互認証処理が行われる。具体的には、まず、通信元端末装置400Bから接続仲介装置300に対して接続仲介依頼S12を送信するときに、通信元端末装置400Bと接続仲介装置300との間で、相互に相手方の装置の真正性を確認するための相互認証処理が行われる。接続仲介依頼S12を示す矢印が破線になっているのは、この相互認証処理が行われることを示している。
 同様に、接続仲介装置300から通信先端末装置400Aに対して通信元アドレス送信S14を行うときにも、接続仲介装置300と通信先端末装置400Aとの間で、相互に相手方の装置の真正性を確認するための相互認証処理が行われる。接続仲介依頼S14を示す矢印が破線になっているのは、この相互認証処理が行われることを示している。したがって、各端末装置400および接続仲介装置300には、上述した認証処理機能が備わっていることになる。
 また、図14に示すシステムの場合、通信先端末装置400Aから通信元端末装置400Bに対して通信開始要求S15を送信するときにも、通信先端末装置400Aと通信元端末装置400Bとの間で、相互に相手方の装置の真正性を確認するための相互認証処理が行われる。通信開始要求S15を示す矢印が破線になっているのは、この相互認証処理が行われることを示している。したがって、各端末装置400には、このような認証処理機能が備わっていることになる。
 なお、図示の例の場合、通信元端末装置400Bから通信先端末装置400Aに対して通信開始受諾確認S16を行う際の相互認証処理は省略されている(通信開始受諾確認S16を示す矢印は実線で描かれている)。これは、通信開始要求S15を送信するときに、通信先端末装置400Aと通信元端末装置400Bとの間の相互認証処理が既に完了しており、相手方の装置の真正性が確認済みとなっているためである。もちろん、通信開始受諾確認S16を行う際にも、再び相互認証処理を実行するようにしてもかまわない。
 相互認証処理の具体的な方法は、既に§3-3で述べたとおりである。また、この図14に示す変形例の場合も、相互認証処理に用いた暗号鍵を利用して、通信セッション確立後の両端末装置間の通信S17を暗号化通信によって行うようにしてもよい。
 図14に示すシステムにおいて、セキュリティを向上させるために施された第2の対策は、接続仲介装置300による仲介証明書の発行である。図示の例の場合、接続仲介装置300は、通信元端末装置400Bと通信先端末装置400Aとの間の接続を仲介する役割を果たす。仲介証明書は「そのような仲介を確かに行った」という事実を証明するために接続仲介装置300が発行する証明書である。通信元端末装置400Bは、この仲介証明書により、接続仲介装置300による仲介が正しく行われていることを確認することができる。以下、その仕組を順に説明する。
 まず、接続仲介依頼部410Bから通信元アドレス送信部330に対して、接続仲介依頼S12があると、通信元アドレス送信部330は、この接続仲介依頼S12の送信を受けて、通信元となる特定の端末装置400Bから通信先となる特定の端末装置400Aへの仲介処理を実行したことを示す仲介証明書を発行する。そして、通信元アドレス返信S14を行う際に、通信元アドレス「AD2」とともにこの仲介証明書を、通信先端末装置400Aに返信する。
 したがって、通信開始要求部440Aは、通信元アドレス「AD2」とともに、この仲介証明書を受信することになる。そこで、通信開始要求部440Aは、当該通信元アドレス「AD2」に対して通信開始要求S15を行う際に、この仲介証明書を併せて送信する。そうすると、通信元セッション確立部430Bは、通信開始要求S15とともに仲介証明書を受信することになる。
 通信元セッション確立部430Bは、通信先の別な端末装置400Aから、自己を通信元とする通信開始要求S15とともに仲介証明書が送信されてきたら、この仲介証明書の正当性が確認されることを条件として、当該通信先の別な端末装置400Aに対して通信開始受諾確認S16を送信し、当該通信先の別な端末装置400Aとの間に通信セッションを確立して通信S17を開始するようにする。もちろん、仲介証明書の正当性が確認されない場合は、通信開始受諾確認S16の送信を行わず、通信S17も開始しない。
 前述したとおり、上例の場合の仲介証明書は、接続仲介装置300が「端末装置400Bから端末装置400Aへの仲介処理を実行した」ことを証明するものであるから、通信元セッション確立部430Bは、通信開始要求S15の内容が、当該仲介証明書の証明内容に合致しているか否かを判定することにより、当該仲介証明書の正当性確認を行うことができる。上例の場合、通信開始要求S15は端末装置400Aから送信されてきており、自分自信は端末装置400Bであるから、「端末装置400Bから端末装置400Aへの仲介処理を実行した」との仲介証明書は正しいと判断することができる。
 通信元端末装置400B内の通信元セッション確立部430Bは、通信先端末装置400Aからの通信開始要求S15を受信して、通信先端末装置400Aに対して通信開始受諾確認S16を送信し、通信セッションを確立して通信S17を行う。このとき、受信した通信開始要求S15が正規の信号であれば問題ないが、クラッカーによる偽装信号であった場合、不正行為の被害に遭うおそれがある。また、通信先端末装置400Aがマルウェアに感染していた場合、クラッカーに乗っ取られた状態になり、接続仲介装置300を経由した正規の手順を踏まずに、不正な方法により通信開始要求S15がなされる可能性もある。上述した仲介証明書を発行する対策を講じておけば、このようなクラッカーによる不正行為を防止する上で効果的である。
 仲介証明書の具体的な作成方法は、§3-3で述べたとおりである。すなわち、この図14に示す変形例の場合も、通信元アドレス送信部330は、通信元となる特定の端末装置400Bの所在アドレス「AD2」および通信先となる特定の端末装置400Aの所在アドレス「AD1」を含む仲介証明用データ(必要に応じて、その他の秘密文字列を付加してもよい)に対して、所定の暗号鍵を利用した一方向性関数を作用させることにより仲介証明書を作成すればよい。一方向性関数としては、通信元についての暗号鍵もしくは通信先についての暗号鍵、または、これら双方の暗号鍵を利用したハッシュ関数を用いることができる。このような仲介証明書を用いた正当性確認の具体的な手順は、既に§3-3で述べたとおりであり、ここでは説明を省略する。
 <<< §4. ルータを用いた実用的な実施形態 >>>
 これまで述べてきた先願基本発明の第1の実施形態や第2の実施形態では、各発明の基本原理を示す便宜上、各端末装置200A~200D,400A~400DがネットワークN(インターネット)に直接接続されている状態を示す図(図1,図6参照)を用いて説明を行ってきた。しかしながら、通常、各端末装置は、ルータを介してネットワークN(インターネット)に接続される。そこで、ここでは、先願基本発明について、端末装置をルータを介してネットワークに接続した実用的な実施形態を説明する。
 <4-1. ルータを用いた基本的な実施例>
 図15は、端末装置をルータを介してネットワークNに接続した先願基本発明の一実施形態を示すブロック図である。具体的には、この図15には、3台の端末装置200E,200F,200Gが、同一のルータRを介してネットワークN(インターネット)に接続された状態が示されている。
 既に述べたとおり、先願基本発明における端末装置200は、パソコン、携帯電話、タブレット型端末など、ネットワークNに接続して通信を行う機能を有する電子機器であれば、どのような装置であってもかまわない。最近は、企業内LANや家庭内LANが普及し、パソコンやタブレット型端末は、通常、企業や家庭に設置されたルータ経由でインターネットへ接続される。また、最近の携帯電話通信網では、ルータの機能を有する基地局が利用されてきており、携帯電話は、このルータ機能を有する基地局経由でインターネットに接続することができる。
 したがって、先願基本発明に利用される各端末装置は、実用上は、図15に例示するように、ルータRを介してインターネットに接続されることになる。ルータRは、LANを構築する機能を有し、図示の例の場合、ルータRより左側に描かれた部分が1つのサブネットを構成しており、クラスCのプライベートIPアドレスが付与されている。具体的には、各端末装置には、「192.168」なるネットワーク部と「0.11」,「0.12」,「0.13」なるホスト部とを有するIPアドレスが付与されている。このサブネット内の装置同士の交信は、ルータRを介さずに行うことができるが、サブネット外の装置にアクセスする場合は、ルータRを介した交信が必要になる。
 図示の例の場合、端末装置200E(端末ID:0050)には、「192.168.0.11」なるプライベートIPアドレスが付与され、端末装置200F(端末ID:0060)には、「192.168.0.12」なるプライベートIPアドレスが付与され、端末装置200G(端末ID:0070)には、「192.168.0.13」なるプライベートIPアドレスが付与されている。また、実際の通信には、これらのIPアドレスとともにポート番号が利用される。図には、端末装置200Eの1本の通信路にポート番号P1、端末装置200Fの2本の通信路にポート番号P2,P3、端末装置200Gの4本の通信路にポート番号P4~P7が付与された例が示されている。
 ポート番号は、2バイトのデータからなり、通信のエンドポイントを特定するために利用される。たとえば、図に示す端末装置200Fには、所定のOSプログラムの下で動作する2組のアプリケーションプログラムAPP1,APP2がインストールされており、APP1についての通信路にはポート番号P2が割り当てられ、APP2についての通信路にはポート番号P3が割り当てられている。したがって、同じIPアドレス「192.168.0.12」を用いた通信であっても、ポート番号P2/P3の違いにより、APP1についての通信か、APP2についての通信かを区別することができる。
 一方、図に示す端末装置200Gには、やはり2組のアプリケーションプログラムAPP1,APP2がインストールされているが、APP1については2組のポート番号P4,P5が割り当てられ、APP2については2組のポート番号P6,P7が割り当てられている。このように、同一のアプリケーションプログラムに複数のポート番号を割り当てて、複数の通信路を相互に区別することも可能である。たとえば、アプリケーションプログラムAPP1がWebブラウザプログラムであった場合、第1のWebページについての通信にはポート番号P4を割り当て、第2のWebページについての通信にはポート番号P5を割り当てる、という運用を行えば、それぞれ別のWebサーバに対して別個独立した通信が可能になる。このように、ポート番号は、個々のアプリケーションプログラムの都合に応じて任意に割り当てることができる。
 ここでは、図示されているアプリケーションプログラムAPP2が、先願基本発明に係るネットワーク通信システムとしての機能を果たすための専用の通信アプリケーションプログラムであるものとして以下の説明を続ける。別言すれば、図示の端末装置200F,200Gは、所定のOSプログラムの管理下で動作する汎用のパソコン、スマートフォン、タブレット型端末などの装置であり、当該装置に専用の通信アプリケーションプログラムAPP2をインストールすることにより、これらの装置が先願基本発明に係る端末装置として機能することになる。
 この場合、図2に示す端末装置200の構成要素である自己アドレス通知部250、通信要求受付部220、接続仲介依頼部210、通信開始要求部240、通信元セッション確立部260、通信先セッション確立部230による処理機能は、この通信アプリケーションプログラムAPP2を実行することにより実現される(一部の処理機能は、OSプログラムの実行により実現されるようにしてもよい)。同様に、図7に示す端末装置400の構成要素である自己アドレス通知部450、通信要求受付部420、接続仲介依頼部410、通信開始要求部440、通信元セッション確立部430、通信先セッション確立部460による処理機能は、この通信アプリケーションプログラムAPP2を実行することにより実現される(一部の処理機能は、OSプログラムの実行により実現されるようにしてもよい)。
 図15には、このアプリケーションプログラムAPP2を示すブロックおよびその通信路を太線で示してある。各端末装置200E,200F,200Gとサブネット外の装置との間の通信は、ルータRを介して行われる。ルータRは、ネットワークアドレス変換機能(NAT(Network Address Translation)機能)を有しており、内側(図におけるルータRの左側)に接続された通信路について付与されたプライベートIPアドレスを、外側(図におけるルータRの右側)に接続された通信路について付与されたグローバルIPアドレスに変換するとともに、その逆の変換も行う。
 図示の例の場合、ルータRの内側について付与された「192.168.0.11」~「192.168.0.13」なるプライベートIPアドレスと、ルータRの外側について付与された「xx.73.5.111」なるグローバルIPアドレス(以下、ADxと記す)との間のアドレス変換が行われている。なお、上記グローバルIPアドレス内のxxは、任意の1バイトデータを示す(本願では、固有のグローバルIPアドレスの特定を避けるため、グローバルIPアドレスについては、その一部をxx,yy,zz等の記号で示すことにする)。また、上記アドレス変換の際には、一般にNAPT(Network Address Port Translation)と呼ばれている機能により、ポート番号についての変換も行われる。
 たとえば、端末装置200Fの通信アプリケーションプログラムAPP2からの通信路に付与されたプライベートIPアドレスとポート番号との組み合わせ「192.168.0.12(P3)」は、グローバルIPアドレスADxとポート番号との組み合わせ「xx.73.5.111(P13)」に変換されている。したがって、ネットワーク(インターネット)Nを介して接続された外部装置に対して、端末装置200FのAPP2は、「xx.73.5.111(P13)」なる所在アドレス(IPアドレスにポート番号を付加した情報)で特定されることになる。同様に、端末装置200GのAPP2は、「xx.73.5.111(P16)」もしくは「xx.73.5.111(P17)」なる所在アドレスで特定されることになる。
 図示の例の場合、ルータRの外側の複数の通信路には、いずれも同じグローバルIPアドレスADx(具体的には、「xx.73.5.111」)が付与されているが、ポート番号がそれぞれ異なるため、相互に区別することができる。ルータRの外側の装置から内側の装置に対するアクセスがあった場合には、逆に、グローバルIPアドレスADxをプライベートIPアドレスに変換する処理が行われる。たとえば、外部装置から「xx.73.5.111(P16)」なる所在アドレス宛のアクセスがあった場合、当該所在アドレスは、「192.168.0.13(P6)」に変換され、端末装置200Gの通信アプリケーションプログラムAPP2の第1番目の通信路宛のアクセスとして処理される。このようなNAPT機能は、広く利用されている既存の技術であるため、ここでは詳しい説明は省略する。
 さて、先願基本発明に係るネットワーク通信システムの構成要素となる端末装置200には、図2に示すとおり、自己アドレス通知部250が含まれており、この自己アドレス通知部250により、自己のネットワーク上での所在を示す所在アドレスを、接続仲介装置100に対して通知する処理が行われる。前述したとおり、この通知処理は、実際には端末装置200にインストールされている通信アプリケーションプログラムAPP2によって実行される。
 したがって、図15に示す実施例の場合も、通信アプリケーションプログラムAPP2によって、接続仲介装置100宛に所在アドレスの通知が行われ、これを受けて、接続仲介装置100内のアドレステーブル更新部120が、各端末装置のそれぞれについて、端末IDと所在アドレスとを対応づけた情報を、アドレステーブル格納部110内のアドレステーブルTに書き込む処理を実行する。
 図15に示す実施例の場合、端末装置200F,200Gは、ルータRを介してネットワークNに接続されているため、自己アドレス通知部250は、ルータRが管理するLAN(サブネット)内のプライベートIPアドレスを所在アドレスとして通知する処理を行う。ただ、このプライベートIPアドレスは、ルータRによるNAT機能によりグローバルIPアドレスADxに変換されてネットワークNに送信される。したがって、接続仲介装置100に届くアドレスは、プライベートIPアドレスではなく、グローバルIPアドレスADxということになり、アドレステーブル更新部120は、このグローバルIPアドレスADxを、所在アドレスとしてアドレステーブルTに格納する処理を行う。
 また、図15に示す実施例の場合、各端末装置のネットワーク上での所在を示す所在アドレスとして、IPアドレスにポート番号を付加した情報が用いられている。このため、自己アドレス通知部250は、プライベートIPアドレスにポート番号を付加した情報を所在アドレスとして通知する処理を行い、当該情報がルータRによって、グローバルIPアドレスにポート番号を付加した情報に変換され、接続仲介装置100に届くことになる。したがって、アドレステーブルTには、グローバルIPアドレスにポート番号を付加した情報が所在アドレスとして書き込まれることになる。
 図16は、図15に示す実施形態において、IPアドレスにポート番号を付加した情報を所在アドレスとして用いる場合のアドレステーブルの例を示す図である。図16(a) に示すアドレステーブルT41は、図15に示す端末装置200F(端末ID:0060)内の自己アドレス通知部250(通信アプリケーションプログラムAPP2)からの通知に基づいて、「端末ID:0060」に対応する所在アドレス(IPアドレスADxとポート番号P13との組み合わせ)の書き込みを行うとともに、端末装置200G(端末ID:0070)内の自己アドレス通知部250(通信アプリケーションプログラムAPP2)からの通知に基づいて、「端末ID:0070」に対応する所在アドレス(IPアドレスADxとポート番号P16との組み合わせ、及びIPアドレスADxとポート番号P17との組み合わせ)の書き込みを行った例である。
 図15に示す例の場合、各端末装置200F,200G内の自己アドレス通知部250(通信アプリケーションプログラムAPP2)は、プライベートIPアドレスにポート番号を付加した情報を所在アドレスとして送信する処理を行うが、ルータRによって、グローバルIPアドレスにポート番号を付加した情報に変換されるため、実際にアドレステーブルT41に格納される所在アドレスは、図示のとおり、グローバルIPアドレスADxと変換後のポート番号との組み合わせになる。
 たとえば、端末装置200Fの自己アドレス通知部250からは、送信元である自己の所在を示す所在アドレスとして「192.168.0.12」なるプライベートIPアドレスにポート番号「P3」を付加した情報が、端末ID「0060」を示す情報とともに送信されてくるが、ルータRを通過する際に、送信元である自己の所在を示す所在アドレスが、「xx.73.5.111」なるグローバルIPアドレスにポート番号「P13」を付加した情報に変換されることになる。したがって、アドレステーブルT41には、端末ID「0060」に対応する所属アドレスとして、「xx.73.5.111」なるグローバルIPアドレスADxと「P13」なるポート番号との組み合わせが書き込まれることになる。
 図16(b) に示すアドレステーブルT42は、図16(a) に示すアドレステーブルT41の所在アドレス欄の情報を具体的なデータとして例示したものである。前述したとおり、図15に示す例の場合、ルータRの外側の通信路には、「xx.73.5.111」なるグローバルIPアドレスが付与されているため、図16(b) に示すアドレステーブルT42のIPアドレス欄には、いずれも「xx.73.5.111」なるデータが格納されている。一方、ルータRの外側の通信路に付与されるポート番号は、ルータRによって相互に重複しないように発生された2バイトの番号であり、図16(b) に示す例では、62801~62803なるデータが格納されている。
 結局、図15に示す接続仲介装置100には、端末装置200F,200Gについて、図16(b) に示すようなアドレステーブルT42が格納されることになる。そこで、図示されていない外部の通信元から、通信先特定情報として端末ID「0060」を含む接続仲介依頼があると、接続仲介装置100内の通信先アドレス返信部130は、アドレステーブルT42を参照することにより、端末ID「0060」に対応した所在アドレス(IPアドレス「xx.73.5.111」にポート番号「62801」を付加した情報)を通信先アドレスとして返信する。そこで、通信元となる端末装置は、IPアドレス「xx.73.5.111」およびポート番号「62801」で特定される通信先に対して、通信開始要求を行うことができる。
 以上、主として図1に示す第1の実施形態(接続仲介装置100と端末装置200を用いる実施形態)においてルータRを用いた例を述べたが、図7に示す第2の実施形態(接続仲介装置300と端末装置400を用いる実施形態)においてルータRを用いた場合も同様である。
 なお、接続仲介装置100,300内のアドレステーブル更新部120,320は、各端末装置の自己アドレス通知部250,450から所在アドレスの通知を受けるたびに、図16に例示したアドレステーブルを更新する処理を行う。前述したとおり、図15に示す実施例の場合、端末装置200F,200Gの自己アドレス通知部の処理機能は、所定のOSプログラムの管理下で動作する通信アプリケーションプログラムAPP2を実行することにより実現される。
 そこで、実用上は、自己アドレス通知部250,450による自己アドレスの通知処理は、図17の表に示すタイミングで行うのが好ましい。図示の表におけるタイミング(1) は、通信アプリケーションプログラムAPP2に対するユーザによる操作入力時である。たとえば、通信アプリケーションプログラムAPP2を起動した後、「通信準備を行いますか(Yes/No)?」のようなメッセージを表示し、ユーザが「Yes」を指示する操作入力を行った時点で、自己アドレスの通知処理を行うようにすればよい。通常、通信アプリケーションプログラムAPP2が起動された時点では、既に端末装置のプライベートIPアドレスや、これに対応するグローバルIPアドレスが定まっており、自己アドレスの通知処理を行う環境が整っている。
 図示の表におけるタイミング(2) は、通信アプリケーションプログラムAPP2の起動時である。このタイミング(2) を採用した場合、上述したメッセージの表示やユーザによる操作入力を待たずして、自動的に自己アドレスの通知処理が実行されることになる。実際には、プログラムAPP2の起動ルーチンに自己アドレス通知部250,450としての処理機能を組み込んでおけばよい。
 図示の表におけるタイミング(3) は、OSプログラムの起動時であり、実質的には、端末装置の起動時ということになる。このタイミング(3) を採用する場合、OSプログラムの起動ルーチンに自己アドレス通知部250,450としての処理機能を組み込んでおけばよい。通常、OSプログラムの起動ルーチンにおいて、端末装置のプライベートIPアドレスや、これに対応するグローバルIPアドレスを決定する処理が行われるため、その後に、自己アドレス通知処理を自動的に行うようにしておけばよい。
 <4-2. VPNを利用した実施例>
 続いて、先願基本発明に係るネットワーク通信システムにおいて、VPN(Virtual Private Network)を利用した実施例を述べる。図15には、ルータRを介して端末装置をネットワークNに接続した実施例を例示した。この例の場合、ルータRの内側(図の左側)に構築されたローカルネットワークが1つのプライベートネットワークを構成しており、各端末装置200E,200F,200Gには、いずれも「192.168」なるネットワーク部で始まるプライベートIPアドレスが付与されている。このようなプライベートネットワークを、インターネットNなどの公衆ネットワークを跨いで拡張する方法として、VPNの技術が普及している。
 図18は、先願基本発明に係るネットワーク通信システムにおいて、VPNを利用した実施形態の全体構成を示すブロック図である。ここでは、説明の便宜上、ある企業の東京本社に設定された3台の端末装置200H,200I,200J(端末IDは、それぞれ0081,0082,0083)と、パリ支社に設置された1台の端末装置200K(端末IDは、0091)という合計4台の端末装置によって、VPNを構築した単純な例を示すことにする。また、東京本社に設置された3台の端末装置200H,200I,200Jを第1グループに所属する第1の端末装置と呼び、パリ支社に設置された1台の端末装置200Kを第2グループに所属する第2の端末装置と呼ぶことにする。
 図示のとおり、第1の端末装置200H,200I,200Jは、第1のルータR1を介してネットワーク(インターネット)Nに接続されており、第2の端末装置200Kは、第2のルータR2を介してネットワーク(インターネット)Nに接続されている。したがって、基本的には、図において第1のルータR1より上方に配置されている第1の端末装置200H,200I,200Jは、第1のルータR1が管理する第1のLAN内のホストということになり、図において第2のルータR2より下方に配置されている第2の端末装置200Kは、第2のルータR2が管理する第2のLAN内のホストということになる。
 このため、第1の端末装置200H,200I,200Jには、第1のルータR1が管理する第1のLAN内のプライベートIPアドレスが付与され、第2の端末装置200Kには、第2のルータR2が管理する第2のLAN内のプライベートIPアドレスが付与されている。また、図15に示す例と同様に、IPアドレスとともにポート番号も付与されている。
 図示の例の場合、第1のLANについては、クラスBのプライベートIPアドレスが付与されており、第1の端末装置200H,200I,200Jには、それぞれ「172.16.6.11(P1)」,「172.16.6.12(P2)」,「172.16.6.13(P3)」なるIPアドレスおよびポート番号が付与されている(ポート番号P1,P2,P3等は、実際には2バイトのデータである)。これらの情報は、第1のルータR1によって、それぞれ「yy.88.105.19(P11)」,「yy.88.105.19(P12)」,「yy.88.105.19(P13)」なるグローバルIPアドレスADyとポート番号との組み合わせに変換された後、インターネットNへ接続される。一方、図示の例の場合、第2のLANについては、クラスCのプライベートIPアドレスが付与されており、第2の端末装置200Kには、「192.168.99.11(P4)」なるIPアドレスおよびポート番号が付与されている。この情報は、第2のルータR2によって、「zz.99.214.28(P21)」なるグローバルIPアドレスADzとポート番号との組み合わせに変換された後、インターネットNへ接続される。
 このままの状態では、第1グループに所属する第1の端末装置200H,200I,200Jが所属する第1のLANと、第2グループに所属する第2の端末装置200Kが所属する第2のLANとは、それぞれ別個独立したプライベートネットワークになるが、図示する実施例の場合、第1のLANの範囲をインターネットNを跨いで拡張するためのVPNが構築されている。すなわち、第2の端末装置200Kには、第2のルータR2が管理する第2のLAN内のプライベートIPアドレスおよびポート番号「192.168.99.11(P4)」が付与されるとともに、第1のルータR1が管理する第1のLAN内のプライベートIPアドレスおよびポート番号「172.16.6.14(P5)」が、VIPアドレスとして仮想的に付与されており、第1の端末装置200H,200I,200Jと第2の端末装置200Kとの間には、このVIPアドレスを用いて相互に交信することが可能となるようにVPNの設定がなされている。
 したがって、図に破線で示すように、パリ支社に設置された端末装置200Kは、東京本社に設置された端末装置200H,200I,200Jと同様に、第1のルータR1が管理する第1のLAN内の端末装置として取り扱うことができる。図19は、図18に示す実施形態におけるVNP通信の原理を示す図である。図示の例は、東京本社に設置された端末装置200Hとパリ支社に設置された端末装置200Kとの間のVPN通信を示している。
 図19に示すように、端末装置200HにはVPN通信部201Hが、端末装置200KにはVPN通信部201Kが、それぞれ設けられており、両者間にVPN暗号通信路が開設される。両者間でやりとりされるデータは暗号化されるため、実際には、インターネットNなどの公衆ネットワークを介して情報が伝達されるにもかかわらず、あたかもプライベートネットワークを介した利便性・安全性をもった情報の送受が可能になる。VPN通信部201H,201Kは、実際には、各端末装置にインストールされた専用のVPN用アプリケーションプログラムによって構築される。このようなVPNの具体的な仕組は公知の技術であるため、ここでは詳しい説明は省略する。
 さて、このようなVPNの仕組を先願基本発明に係るネットワーク通信システムにおいて利用する場合は、接続仲介装置100内に格納されるアドレステーブルTに、VIPアドレスを格納しておくようにすると便利である。図20は、図18に示す実施形態に用いるために、VIPアドレスを追加したアドレステーブルの例を示す図である。図20(a) に示すアドレステーブルT51は、VPNの構成メンバーである端末装置200H~200K内の自己アドレス通知部250からの通知に基づいて、各端末IDに対応する所在アドレス(IPアドレスとポート番号)を格納したものである。
 ここで、端末装置200H~200J(端末ID:0081~0083)は、東京本社に構築された第1のLANに所属する装置であるが、端末装置200K(端末ID:0091)は、パリ支社に構築された第2のLANに所属する装置である。ただ、上述したVPNの仕組により、第1のLANは端末装置200Kまで仮想的に拡張されており、端末装置200Kには、「VIP(200K)」なるVIPアドレスが付与されている。このため、図20(a) に示すアドレステーブルT51の端末ID「0091」については、更に、VIP欄に「VIP(200K)」なるVIPアドレスが格納されている。
 図20(b) に示すアドレステーブルT52は、図20(a) に示すアドレステーブルT51の所在アドレス欄およびVIP欄の情報を具体的なデータとして例示したものである。図18に示す例の場合、第1のルータR1の外側の各通信路には、「yy.88.105.19」なるグローバルIPアドレスADyに、ポート番号P11~P13を付加した情報が所在アドレスとして付与されているため、図20(b) に示すアドレステーブルT52の端末ID「0081~0083」のIPアドレス欄には、いずれも「yy.88.105.19」なるデータが格納されており、ポート番号欄には、第1のルータR1によって発生された2バイトの番号「54701~54703」が格納されている。
 一方、第2のルータR2の外側の各通信路には、「zz.99.214.28」なるグローバルIPアドレスADzに、ポート番号P21を付加した情報が所在アドレスとして付与されているため、図20(b) に示すアドレステーブルT52の端末ID「0091」のIPアドレス欄には、「zz.99.214.28」なるデータが格納されており、ポート番号欄には、第2のルータR2によって発生された2バイトの番号「61999」が格納されている。そして、更に、端末ID「0091」のVIP欄には、「172.16.6.14」なるVIPアドレス(VPNの設定により、端末装置200Kに対して付与された第1のLANについての仮想的なプライベートアドレス)が格納されている。
 このように、アドレステーブルT52のVIP欄に「172.16.6.14」なるVIPアドレスを格納するには、第2の端末装置200Kの自己アドレス通知部250に、接続仲介装置100に対して、VPNの設定により付与されたVIPアドレスを通知する機能をもたせておき、アドレステーブル更新部120に、このVIPアドレスを第2の端末装置200Kの所在アドレスと対応づけてアドレステーブルT52に格納する機能をもたせておけばよい。
 このように、アドレステーブルT52に第2の端末装置200KのVIPアドレスを格納しておくようにすれば、たとえば、第1の端末装置200Hが第2の端末装置200Kを通信先として通信を行う際に、第1の端末装置200Hの接続仲介依頼部210が、第2の端末装置200KのVIPアドレス「VIP(200K)」を通信先特定情報として用いて通信先の特定を行うことができる。
 具体的には、端末装置200Hの接続仲介依頼部210が、通信先特定情報として「172.16.6.14」なるVIPアドレスを含む接続仲介依頼を行うようにすれば、接続仲介装置100内の通信先アドレス返信部130は、図20(b) に示すアドレステーブルT52を参照することにより、VIPアドレス「172.16.6.14」に対応する所在アドレス「zz.99.214.28(61999)」を通信先アドレスとして返信することができる。通常、VPNの設定を行った場合、アプリケーションプログラムのレイヤーでは、端末装置200Kは、「172.16.6.14」なるVIPアドレスをもった装置として認識されているので、このVIPアドレスを用いて接続仲介依頼を行うことができれば便利である。
 もちろん、必要があれば、VIPアドレス「172.16.6.14」とともに、ポート番号「P5」を格納しておくようにしてもよい。そうすれば、「172.16.6.14(P5)」なる情報を用いて、特定のポート番号の指定を含む接続仲介依頼を行うことができる。
 以上、図1に示す先願基本発明の第1の実施形態(接続仲介装置100と端末装置200を用いる実施形態)においてVPNの設定を行い、プライベートネットワークの範囲を仮想的に拡張する例を述べたが、図7に示す先願基本発明の第2の実施形態(接続仲介装置300と端末装置400を用いる実施形態)においてVPNの設定を行う場合も同様である。
 <<< §5. 本発明に係るネットワーク通信システム >>>
 これまで、国際出願PCT/JP2017/006131に記載されている先願基本発明に係るネットワーク通信システムを説明してきた。ここでは、この先願基本発明に「グループ情報」の概念を付加することにより、「信頼のおける端末装置に対してのみ接続が可能になる」という本発明に固有の作用効果が得られる実施形態を説明する。
 <5-1. 本発明の第1の実施形態>
 図21は、本発明の第1の実施形態に係るネットワーク通信システムの全体構成を示すブロック図である。この図21に示すネットワーク通信システムは、図1に示す先願基本発明の第1の実施形態に係るネットワーク通信システムにおける接続仲介装置100を、接続仲介装置100Gに置き換えたものに相当する。この接続仲介装置100Gも、実際には、サーバコンピュータなどのコンピュータによって構成される。したがって、図21に個々のブロックとして示されている各構成要素は、実際には、コンピュータに専用のプログラムを組み込むことにより構築されることになる。
 図1と図21とを比較すると、各端末装置200A~200Dの構成については相違ないが、図21に示す接続仲介装置100Gは、図1に示す接続仲介装置100に、グループ情報設定部140Gを付加した構成になっている。また、アドレステーブル格納部110Gに格納されているアドレステーブルTGには、グループ情報が付加されており、通信先アドレス返信部130Gは、このグループ情報を参照して、通信先アドレスの返信を行うか否かの判断を行う機能を有している。
 図示の例の場合、アドレステーブルTGには、4台の端末装置200A~200Dについて、端末IDと所在アドレスとの対応関係を示す情報が格納されているが、更に、各端末IDについて、それぞれ所属グループを示すグループ情報が格納されている。具体的には、端末ID「0010」,「0020」については、グループXに所属することを示すグループ情報「X」が格納されており、端末ID「0030」,「0040」については、グループYに所属することを示すグループ情報「Y」が格納されている。これは、端末装置200Aおよび200BがグループXに所属し、端末装置200Cおよび200DがグループYに所属することを示している。
 本発明の基本概念は、複数の端末装置をグループ分けし、同一のグループに所属する端末装置間でのみ通信が可能になるような接続仲介処理を実行させる、という点にある。すなわち、図1に示す先願基本発明に係る接続仲介処理100の場合、4台の端末装置200A~200Dのうち、どのような組み合わせに係る装置についても接続仲介処理を行っていたが、図21に示す本発明に係る接続仲介装置100Gの場合、同一のグループに所属する端末同士の接続仲介処理は行われるが、異なるグループに所属する端末同士の接続仲介処理は行われない。
 たとえば、端末装置200Aおよび200Bは、いずれも同一のグループXに所属しているため、接続仲介装置100Gは両者間の接続仲介処理を実行する。同様に、端末装置200Cおよび200Dは、いずれも同一のグループYに所属しているため、接続仲介装置100Gは両者間の接続仲介処理を実行する。ところが、端末装置200A-200C間の接続、端末装置200A-200D間の接続、端末装置200B-200C間の接続、端末装置200B-200D間の接続は、異なるグループに所属する端末間の接続になるため、接続仲介処理は実行されないことになる。
 図21では、説明の便宜上、4台の端末装置200A~200Dを2通りのグループに分けた単純な例が示されているが、実際の利用環境では、より多数の端末装置が用意され、より多数のグループが設定される。そのような利用環境では、同一グループに所属する端末装置間のみに限って接続仲介処理を実行する、という運用を行えば、「信頼のおける端末装置に対してのみ接続が可能になる」という本発明の作用効果は極めて顕著になる。
 すなわち、図1に示す先願基本発明に係るネットワーク通信システムの場合、構成する端末装置の数が増えれば増えるほど、信頼性の低い不特定多数の端末装置に接続される可能性が高くなり、マルウェアに感染するリスクも高くなる。これに対して、図21に示す本発明に係るネットワーク通信システムの場合、構成する端末装置の数が増えたとしても、接続対象は常に同一グループに設定された信頼のおける端末装置に限定されるため、マルウェアに感染するリスクを低減することができる。
 図21に示すネットワーク通信システムは、ネットワークNを介して相互に接続可能な複数の端末装置200A~200Dと、これら複数の端末装置間の接続を仲介する接続仲介装置100Gと、を備えたネットワーク通信システムという点においては、図1に示すネットワーク通信システムと同様である。そして、これら複数の端末装置200A-200Dには、個々の端末装置を相互に識別するための端末IDがそれぞれ付与されており、接続仲介装置100Gは、この端末IDを利用して通信元となる端末装置と通信先となる端末装置との間の接続を仲介する処理を実行することになる。各端末装置200A-200Dの構成は、これまで述べてきた先願基本発明の実施例と全く同じである。
 また、図21に示すアドレステーブル格納部110Gに格納されているアドレステーブルTGは、図1に示すアドレステーブルTと同様に、各端末装置200A~200Dのそれぞれについて、端末IDと所在アドレスとを対応づける役割を果たし、アドレステーブル更新部120は、各端末装置200A~200Dの自己アドレス通知部250からの通知に基づいて、アドレステーブルTGの内容を更新する役割を果たす。
 ただ、図21に示す接続仲介装置100Gには、アドレステーブルTGに格納されている各端末IDについて、それぞれ所属グループを示すグループ情報を設定するグループ情報設定部140Gが付加されている。図示の実施例の場合、グループ情報設定部140Gは、アドレステーブル格納部110Gに格納されているアドレステーブルTG内の各端末IDに、所属グループを示すグループ情報を対応づけて記録する処理を行う。このため、アドレステーブルTGには、図示のとおり、端末ID欄および所在アドレス欄に加えて、グループ情報欄が設けられており、このグループ情報欄に、各端末IDの所属グループを示すグループ情報(図示の例の場合、XまたはYなる文字)が記録されている。
 ここで、図21に示す通信先アドレス返信部130Gの基本機能は、図4に示す通信先アドレス返信部130の基本機能と同様である。すなわち、通信先アドレス返信部130Gは、図4に示す通信先アドレス返信部130と同様に、端末装置200Aの接続仲介依頼部210Aから、接続仲介依頼S2が送信されてきたときに、アドレステーブルTGを参照して、当該接続仲介依頼S2に含まれている通信先特定情報によって特定される端末ID「0020」に対応づけられている所在アドレスAD2を通信先アドレスとして返信する処理を行う。
 但し、本発明の第1の実施形態では、図4の接続仲介装置100が接続仲介装置100Gに置き換えられており、アドレステーブル格納部110の代わりにアドレステーブル格納部110Gが用いられ、通信先アドレス返信部130の代わりに通信先アドレス返信部130Gが用いられる。そして、通信先アドレス返信部130Gによる通信先アドレスの返信処理は、通信元と通信先が同一グループに所属している、という条件が満たされる場合にのみ実行される。
 すなわち、通信先アドレス返信部130Gは、接続仲介依頼S2を送信してきた通信元の端末装置200Aの端末ID「0010」と、当該接続仲介依頼S2に含まれている通信先特定情報によって特定される端末ID「0020」とが、同一グループに所属しているか否かを、アドレステーブルTG内に設定されたグループ情報を参照して判定し、肯定的な判定結果が得られた場合には通信先アドレスの返信を行い、否定的な判定結果が得られた場合には通信先アドレスの返信を行わないことになる。
 図21に示すアドレステーブルTGの場合、通信元の端末ID「0010」と通信先の端末ID「0020」には、同一のグループ情報「X」が設定されているので、肯定的な判定結果に基づいて、通信先アドレス返信部130Gは、図4に示す例と同様に、通信元となる端末装置200Aの通信開始要求部240Aに対して、通信先アドレス「AD2」(通信先となる端末装置200Bの所在アドレス)を返信する処理を行う。その後、端末装置200A-200B間に通信セッションが確立される点は、図4で説明したとおりである。
 これに対して、接続仲介依頼部210Aからの接続仲介依頼S2が、端末装置200Cもしくは200Dを通信先とするものであった場合、当該接続仲介依頼S2には、通信先特定情報として端末ID「0030」もしくは「0040」が含まれることになるので、通信先アドレス返信部130Gは、通信元がグループXであるのに通信先が異なるグループYであるため、否定的な判定結果に基づいて通信先アドレスの返信を行わないことになる。すなわち、通信元からの接続仲介依頼S2は拒絶され、通信先への接続はできないことになる。
 要するに、図21に示す接続仲介装置100Gは、ネットワークNを介して相互に接続可能な複数の端末装置200A~200Dについて、通信元端末装置と通信先端末装置との間の接続を仲介する役割を果たすために、各端末装置200A~200Dのそれぞれについて、個々の端末装置を相互に識別するための端末IDと個々の端末装置のネットワーク上での所在を示す所在アドレスとを対応づけたアドレステーブルTGと、このアドレステーブルTGに格納されている各端末IDについて、それぞれ所属グループを示すグループ情報と、を格納しており、通信元端末装置から通信先端末装置に対する接続仲介依頼S2が送信されてきたときに、通信元端末装置の端末IDと通信先端末装置の端末IDとが、同一グループに所属するか否かをグループ情報を参照して判定し、同一グループに所属するとの判定結果が得られた場合にのみ、アドレステーブルTGを参照することにより得られる通信先端末装置の所在アドレスを通信元端末装置に返信する処理を行うことになる。
 <5-2. 本発明の第2の実施形態>
 図22は、本発明の第2の実施形態に係るネットワーク通信システムの全体構成を示すブロック図である。この図22に示すネットワーク通信システムは、図6に示す先願基本発明の第2の実施形態に係るネットワーク通信システムにおける接続仲介装置300を、接続仲介装置300Gに置き換えたものに相当する。この接続仲介装置300Gも、実際には、サーバコンピュータなどのコンピュータによって構成される。したがって、図22に個々のブロックとして示されている各構成要素は、実際には、コンピュータに専用のプログラムを組み込むことにより構築されることになる。
 図6と図22とを比較すると、各端末装置400A~400Dの構成については相違ないが、図22に示す接続仲介装置300Gは、図6に示す接続仲介装置300に、グループ情報設定部340Gを付加した構成になっている。また、アドレステーブル格納部310Gに格納されているアドレステーブルTGには、グループ情報が付加されており、通信元アドレス返信部330Gは、このグループ情報を参照して、通信元アドレスの返信を行うか否かの判断を行う機能を有している。
 図22のアドレステーブルTGには、図21のアドレステーブルTGと同様に、4台の端末装置400A~400Dについて、端末IDと所在アドレスとの対応関係を示す情報とグループ情報とが格納されている。
 本発明の基本概念は、前述したとおり、複数の端末装置をグループ分けし、同一のグループに所属する端末装置間でのみ通信が可能になるような接続仲介処理を実行させる、という点にある。したがって、図22に示す接続仲介装置300Gの場合も、同一のグループに所属する端末同士の接続仲介処理は行われるが、異なるグループに所属する端末同士の接続仲介処理は行われない。
 図22に示すネットワーク通信システムは、ネットワークNを介して相互に接続可能な複数の端末装置400A~400Dと、これら複数の端末装置間の接続を仲介する接続仲介装置300Gと、を備えたネットワーク通信システムという点においては、図6に示すネットワーク通信システムと同様である。そして、これら複数の端末装置400A-400Dには、個々の端末装置を相互に識別するための端末IDがそれぞれ付与されており、接続仲介装置300Gは、この端末IDを利用して通信元となる端末装置と通信先となる端末装置との間の接続を仲介する処理を実行することになる。各端末装置400A-400Dの構成は、これまで述べてきた先願基本発明の実施例と全く同じである。
 また、図22に示すアドレステーブル格納部310Gに格納されているアドレステーブルTGは、図6に示すアドレステーブルTと同様に、各端末装置400A~400Dのそれぞれについて、端末IDと所在アドレスとを対応づける役割を果たし、アドレステーブル更新部320は、各端末装置400A~400Dの自己アドレス通知部450からの通知に基づいて、アドレステーブルTGの内容を更新する役割を果たす。
 ただ、図22に示す接続仲介装置300Gには、アドレステーブルTGに格納されている各端末IDについて、それぞれ所属グループを示すグループ情報を設定するグループ情報設定部340Gが付加されている。図示の実施例の場合、グループ情報設定部340Gは、アドレステーブル格納部310Gに格納されているアドレステーブルTG内の各端末IDに、所属グループを示すグループ情報を対応づけて記録する処理を行う。このため、アドレステーブルTGには、図示のとおり、端末ID欄および所在アドレス欄に加えて、グループ情報欄が設けられており、このグループ情報欄に、各端末IDの所属グループを示すグループ情報(図示の例の場合、XまたはYなる文字)が記録されている。
 ここで、図22に示す通信元アドレス返信部330Gの基本機能は、図8に示す通信元アドレス返信部330の基本機能と同様である。すなわち、通信元アドレス返信部330Gは、図8に示す通信元アドレス返信部330と同様に、端末装置400Bの接続仲介依頼部410Bから、接続仲介依頼S12が送信されてきたときに、アドレステーブルTGを参照して、当該接続仲介依頼S12に含まれている通信先特定情報によって特定される端末ID「0010」に対応づけられている所在アドレスAD1に対して、当該接続仲介依頼S12を送信した通信元の端末装置400Bの端末ID「0020」に対応づけられている所在アドレスAD2を、通信元アドレスとして送信する処理を行う。
 但し、本発明の第2の実施形態では、図8の接続仲介装置300が接続仲介装置300Gに置き換えられており、アドレステーブル格納部310の代わりにアドレステーブル格納部310Gが用いられ、通信元アドレス送信部330の代わりに通信元アドレス送信部330Gが用いられる。そして、通信元アドレス送信部330Gによる通信元アドレスの送信処理は、通信元と通信先が同一グループに所属している、という条件が満たされる場合にのみ実行される。
 すなわち、通信元アドレス送信部330Gは、接続仲介依頼S12を送信してきた通信元の端末装置400Bの端末ID「0020」と、当該接続仲介依頼S12に含まれている通信先特定情報によって特定される端末ID「0010」と、が同一グループに所属するか否かを、アドレステーブルTG内に設定されたグループ情報を参照して判定し、肯定的な判定結果が得られた場合には通信元アドレスの送信を行い、否定的な判定結果が得られた場合には通信元アドレスの送信を行わないことになる。
 図22に示すアドレステーブルTGの場合、通信元の端末ID「0020」と通信先の端末ID「0010」には、同一のグループ情報「X」が設定されているので、肯定的な判定結果に基づいて、通信元アドレス送信部330Gは、図8に示す例と同様に、通信先となる端末装置400Aの通信開始要求部440Aに対して、通信元アドレス「AD2」(通信元となる端末装置400Bの所在アドレス)を送信する処理を行う。その後、端末装置400A-400B間に通信セッションが確立される点は、図8で説明したとおりである。
 これに対して、接続仲介依頼部410Bからの接続仲介依頼S12が、端末装置400Cもしくは400Dを通信先とするものであった場合、当該接続仲介依頼S12には、通信先特定情報として端末ID「0030」もしくは「0040」が含まれることになるので、通信元アドレス送信部330Gは、通信元がグループXであるのに通信先が異なるグループYであるため、否定的な判定結果に基づいて通信元アドレスの送信を行わないことになる。すなわち、通信元からの接続仲介依頼S12は拒絶され、通信先への接続はできないことになる。
 要するに、図22に示す接続仲介装置300Gは、ネットワークNを介して相互に接続可能な複数の端末装置400A~400Dについて、通信元端末装置と通信先端末装置との間の接続を仲介する役割を果たすために、各端末装置400A~400Dのそれぞれについて、個々の端末装置を相互に識別するための端末IDと個々の端末装置のネットワーク上での所在を示す所在アドレスとを対応づけたアドレステーブルTGと、このアドレステーブルTGに格納されている各端末IDについて、それぞれ所属グループを示すグループ情報と、を格納しており、通信元端末装置から通信先端末装置に対する接続仲介依頼が送信されてきたときに、通信元端末装置の端末IDと通信先端末装置の端末IDとが、同一グループに所属するか否かをグループ情報を参照して判定し、同一グループに所属するとの判定結果が得られた場合にのみ、アドレステーブルTGを参照することにより得られる通信先端末装置の所在アドレスに対して、通信元端末装置の所在アドレスを送信する処理を行うことになる。
 <<< §6. グループ情報の設定 >>>
 これまで述べてきたとおり、本発明に係る接続仲介装置の重要な特徴は、通信元端末装置と通信先端末装置が同一グループに所属している場合に限り、両者の接続仲介処理を行う、という点にある。ここで、所属グループが同一か否かは、グループ情報設定部により予め設定されていたグループ情報に基づいて判定される。したがって、本発明を実施するにあたり、グループ情報の設定は非常に重要である。ここでは、グループ情報の設定方法について、より具体的な説明を行う。
 図23は、本発明に用いられるアドレステーブルTGの具体例を示す図である。このアドレステーブルTGでは、端末ID「0010」~「0090」が付与された合計9台の端末装置について、それぞれ所在アドレス「AD1」~「AD9」が対応づけられており、更に、各端末IDについて、3通りのグループ情報「X」,「Y」,「Z」のいずれかが対応づけられている。このグループ情報は、端末ID「0010」~「0040」が付与された4台の端末装置がグループXに所属し、端末ID「0050」,「0060」が付与された2台の端末装置がグループYに所属し、端末ID「0070」~「0090」が付与された3台の端末装置がグループZに所属することを示している。
 グループ情報は、各端末IDについてそれぞれ所属グループを示すことができれば、どのような形式の情報であってもかまわないが、実用上は、図23に示すようにアドレステーブルTGの一部に組み込む形式を採用すればよい。図21に示すグループ情報設定部140Gや、図22に示すグループ情報設定部340Gも同じ形式を採用してグループ情報の設定を行っており、アドレステーブル格納部110G,310Gに格納されているアドレステーブルTG内の各端末IDに、所属グループを示すグループ情報を対応づけて記録する方法を採っている。
 もちろん、グループ情報の設定は、必ずしもアドレステーブルTGを利用して行う必要はない。たとえば、図24に示す例は、図23に示すアドレステーブルTGの代わりに、グループテーブルGとアドレステーブルTとを別個に設けた例である。この例では、アドレステーブルTには、端末IDと所在アドレスとの対応関係のみが格納され、端末IDとグループ情報との対応関係は、別個に設けたグループテーブルGに格納されている。この場合、アドレステーブルTはアドレステーブル格納部110,310に格納し、グループテーブルGは、グループ情報設定部140G,340Gに格納すればよい。
 このようなグループ情報を設定するには、外部からグループ情報設定部140G,340Gに対して、各端末装置の所属グループを示す情報を与えてやればよい。たとえば、第1の実施形態の場合、各端末装置200A~200D内の自己アドレス通知部250(図2参照)に、自己の所在アドレスを通知する機能とともに、自己の端末IDについて、その所属グループを示す情報をグループ情報設定部140Gに送信する機能をもたせておけば、グループ情報設定部140Gは、自己アドレス通知部250から送信されてきた情報に基づいて、グループ情報の設定を行うことができる。
 同様に、第2の実施形態の場合は、各端末装置400A~400D内の自己アドレス通知部450(図7参照)に、自己の所在アドレスを通知する機能とともに、自己の端末IDについて、その所属グループを示す情報をグループ情報設定部340Gに送信する機能をもたせておけば、グループ情報設定部340Gは、自己アドレス通知部450から送信されてきた情報に基づいて、グループ情報の設定を行うことができる。
 図23や図24に示すようなグループ情報の設定を行うのであれば、合計9台の端末装置にそれぞれ所属グループを示す情報(X,Y,Zのいずれかの文字)を組み込んでおき、自己の所属グループを接続仲介装置に通知するようにすればよい。具体的には、端末ID「0010」~「0040」が付与された端末装置からはグループXが通知され、端末ID「0050」,「0060」が付与された端末装置からはグループYが通知され、端末ID「0070」~「0090」が付与された端末装置からはグループZが通知されることになる。
 別な方法としては、上記9台の端末装置とは別個にグループ情報設定用端末装置を更に設けるか、もしくは、上記9台の端末装置のうちの1台をグループ情報設定用端末装置として機能させ、このグループ情報設定用端末装置によって、全9台の端末装置の所属グループを接続仲介装置に通知するようにしてもよい。
 すなわち、グループ情報設定用端末装置は、自己もしくは別な端末装置の端末IDについて、その所属グループを示す情報をグループ情報設定部140G,340Gに送信する機能を果たし、グループ情報設定部140G,340Gは、このグループ情報設定用端末装置から送信されてきた情報に基づいて、グループ情報の設定を行うことになる。
 ここでは、X社,Y社,Z社の3社が、本発明に係るネットワーク通信システムを共同で利用する場合を考えてみよう。この場合、各社の社員が利用する端末装置には、自己が所属する会社に応じたグループ情報を設定すればよい。たとえば、図23に示す例は、X社の社員用の4台の端末装置、Y社の社員用の2台の端末装置、Z社の社員用の3台の端末装置について、それぞれグループ情報を設定した結果ということになる。
 このようなグループ情報を設定して、本発明に係るネットワーク通信システムの運用を行えば、同じ会社の社員同士の通信接続の仲介はなされるが、異なる会社の社員同士の通信接続の仲介は拒絶されることになる。たとえば、X社の社員が利用する4台の端末装置(端末ID「0010」~「0040」が付与された端末装置)は、社員同士では相互に通信が可能であるが、Y社の社員やZ社の社員に対しては、本発明に係るネットワーク通信システムを介した通信はできないことになる。
 したがって、一般的な電子メールなどの通信を行うには利便性が損なわれることになるが、秘匿性が重視される業務データなどの通信を行う場合、信頼のおける端末装置(同じ会社の端末装置)に対してのみ接続が可能になるため、十分なセキュリティが確保できる。もちろん、グループ分けは必ずしも会社単位で行う必要はなく、たとえば、同じ会社であっても、人事部をグループX,営業部をグループY,監査部をグループZのように、部署ごとにグループ分けすれば、よりきめの細かな通信管理を行うことが可能である。
 もちろん、グループ情報設定部140G,340Gが設定したグループ情報は、随時変更できるようにしておくのが好ましい。たとえば、上例のように、部署ごとにグループ分けを行う場合は、人事異動等により適宜グループ情報を変更する必要が生じるであろう。したがって、グループ情報設定部140G,340Gには、各端末装置内の自己アドレス通知部もしくはグループ情報設定用端末装置から新たな情報が送信されるたびに、グループ情報の更新を行う機能をもたせておくようにすればよい。
 なお、これまでの例では、1つの端末ID(端末装置)について、1つの所属グループを対応させているが、図15,図16に示した実施例のように、1つの端末装置のネットワーク上での所在を示す所在アドレスとして、IPアドレスにポート番号を付加した情報を用いる運用を行う場合は、端末IDとポート番号との組み合わせごとに、それぞれ所属グループを示すグループ情報を設定することも可能である。
 たとえば、図16(a) に示す例の場合、端末ID「0070」が付与された同一の端末装置であっても、ポート番号「P16」を用いた通信を行う場合と、ポート番号「P17」を用いた通信を行う場合とについて、異なるグループ情報を設定してもよい。具体的には、「端末ID:0070/ポート番号:P16」という組み合わせについてはグループX,「端末ID:0070/ポート番号:P17」という組み合わせについてはグループYという設定が可能である。
 図15に示すように、同じ端末装置であってもポート番号が異なると、通信処理を実行するアプリケーションプログラムも異なる。したがって、ポート番号ごとに異なるグループ設定を行うようにすれば、アプリケーションプログラムごとに接続可能な相手先を変えることができ、よりセキュリティを向上させることができる。
 <<< §7. グループ情報を再確認する変形例 >>>
 本発明に係るネットワーク通信システムは、複数の端末装置と、これら相互の接続を仲介する接続仲介装置と、を構成要素とするものであり、その特徴は、同一のグループに所属すると判定された一対の端末装置間についての通信を仲介する点にある。
 そこで、§5で述べた実施形態では、同一グループか否かの判定機能を接続仲介装置にもたせ、接続仲介依頼を受けたときに、通信相手が同一グループである場合には、通信相手の所在アドレスを教えることにより接続を仲介し、通信相手が同一グループでない場合には、通信相手の所在アドレスを教えないことにより接続仲介を拒絶する、という処理を行っている。したがって、特定の通信相手に対する接続が行われるか否かは、専ら、接続仲介装置の判断に委ねられていることになる。
 この§7で述べる変形例でも、§5で述べた実施形態と同様に、基本的には接続仲介装置の判断に基づいて通信相手への接続の可否が決定されることになる。ただ、この変形例では、接続仲介装置が「接続可」との判断を行った場合に、端末装置側において接続の可否についての再確認が行われる。別言すれば、接続仲介装置が「接続可」との判断を行い、通信相手の所在アドレスが通知されたとしても、端末装置は、直ちに通信相手との間に通信セッションを確立せず、通信相手が同一グループである旨を再確認する。そして、通信相手が同一グループであるとの再確認が得られた時点で、通信セッションを確立するための処理が端末装置により実行されるようにする。
 このように、端末装置側で再確認を行うようにすれば、「信頼のおける端末装置に対してのみ接続が行われるようにする」という本発明の作用効果をより高めることができる。すなわち、何らかの事情で、接続仲介装置側での判断に誤りがあったとしても、端末装置側での再確認により、異なるグループに所属する端末装置間で通信が行われることを防止することができる。
 また、前述したように、グループ情報設定部は、外部からの指示に基づいて、逐次、グループ情報を更新する機能を有している。したがって、この§7で述べる変形例で実施される端末装置側での再確認処理は、グループ情報更新時のタイムラグに起因する不都合を解消する役割を果たすこともできる。特に、ネットワークNとしてインターネットを利用する場合、端末装置と接続仲介装置との間のデータ通信が遅延し、グループ情報の更新が遅れる可能性がある。このような場合でも、端末装置側で再確認を行うようにすれば、最新のグループ情報に基づいて、接続の可否を最終決定することができる。
 <7-1. 本発明の第1の実施形態の変形例>
 図25は、図21に示す本発明の第1の実施形態に、グループ情報を再確認するための構成を付加した変形例に係るネットワーク通信システムの全体構成を示すブロック図である。図25に示す接続仲介装置100GGは、図21に示す接続仲介装置100Gに、グループ情報確認部150Gを付加したものである。また、図25に示す各端末装置200A′~200D′は、図21に示す各端末装置200A~200Dに、同一グループ再確認機能を付加したものである。
 ここで、各端末装置200A′~200D′に備わっている同一グループ再確認機能は、通信元端末装置が通信先端末装置への接続仲介依頼を行い、当該接続仲介依頼に対して接続仲介装置100GGが「接続可」との判断を行い、通信相手の所在アドレスを通知してきた場合に、通信元端末装置もしくは通信先端末装置が、接続仲介装置100GGに対して、通信相手が同一グループであることの確認を求める同一グループ確認依頼を行い、肯定的な確認結果が得られた場合にのみ、通信セッションの確立を行う機能である。
 グループ情報確認部150Gは、このような同一グループ確認依頼を受けたときに、グループ情報を参照して通信元の端末IDと通信先の端末IDとが同一グループに所属するか否かの確認を行い、当該同一グループ確認依頼を行った端末装置に対して確認結果を報告する処理を行う。
 たとえば、図4に示す例と同様に、通信元となる端末装置200A′が、接続仲介装置100GGから通信先アドレスAD2の返信S4を受けた場合を考えてみよう。この場合、端末装置200A′は、通信先となる別な端末装置200B′との間に通信セッションを確立するまでの間に、グループ情報確認部150Gに対して、通信元となる自己の端末ID「0010」と通信先となる別な端末装置の端末ID「0020」とが同一グループに所属するか否かの確認を求める同一グループ確認依頼を行うことになる。
 もちろん、接続仲介装置100GGから通信先アドレスAD2の返信S4を受けたということは、既に、接続仲介装置100GGによって、端末ID「0010」と端末ID「0020」とが同一グループであるとの判断がなされているわけであるが、上記同一グループ確認依頼は、端末装置側からの再確認の依頼ということになる。この同一グループ確認依頼を受けたグループ情報確認部150Gは、アドレステーブル格納部110G内のアドレステーブルTGに格納されているグループ情報を参照して再確認を行い、同一グループ確認依頼を行った端末装置200A′に対して確認結果を報告する。
 この確認結果の報告を受けた端末装置200A′は、肯定的な確認結果が得られた場合には通信セッションの確立を行うが、否定的な判定結果が得られた場合には通信セッションの確立を行わない。
 同一グループ確認依頼の処理は、図4に示す通信開始要求部240Aに担わせることができる。この場合、通信元となる端末装置200A′内の通信開始要求部240Aが、接続仲介装置100GG内の通信先アドレス返信部130Gから通信先アドレスAD2の返信S4を受けたときに、グループ情報確認部150Gに対して同一グループ確認依頼を行い、肯定的な確認結果が得られた場合には通信開始要求S5を行い、否定的な判定結果が得られた場合には通信開始要求S5を行わないようにすればよい。
 あるいは、同一グループ確認依頼の処理を、図4に示す通信元セッション確立部260Aに担わせることもできる。この場合、通信元となる端末装置200A′内の通信元セッション確立部260Aが、通信先となる端末装置200B′内の通信先セッション確立部230Bから通信開始受諾確認S6を受けたときに、グループ情報確認部150Gに対して同一グループ確認依頼を行い、肯定的な確認結果が得られた場合には通信セッションS7を確立し、否定的な判定結果が得られた場合には通信セッションを確立しないようにすればよい。
 また、同一グループ確認依頼の処理を、図4に示す通信先端末装置200B′の通信先セッション確立部230Bに担わせてもよい。この場合、通信先となる端末装置200B′内の通信先セッション確立部230Bが、通信元となる端末装置200A′から通信開始要求S5を受けたときに、グループ情報確認部150Gに対して、通信元となる別な端末装置の端末ID「0010」と通信先となる自己の端末ID「0020」とが同一グループに所属するか否かの確認を求める同一グループ確認依頼を行うようにする。
 この場合、グループ情報確認部150Gは、この同一グループ確認依頼を受けて、グループ情報を参照して通信元の端末ID「0010」と通信先の端末ID「0020」とが同一グループに所属するか否かの確認を行い、当該同一グループ確認依頼を行った通信先セッション確立部230Bに対して確認結果を報告する。報告を受けた通信先セッション確立部230Bは、肯定的な確認結果が得られた場合には通信開始受諾確認S6を送信し、否定的な判定結果が得られた場合には通信開始受諾確認S6を送信しないことになる。
 いずれの場合も、端末装置側で再確認を行った上で最終的な通信セッションの確立が行われることになるので、「信頼のおける端末装置に対してのみ接続が行われるようにする」という本発明の作用効果がより高まることになる。
 <7-2. 本発明の第2の実施形態の変形例>
 図26は、図22に示す本発明の第2の実施形態に、グループ情報を再確認するための構成を付加した変形例に係るネットワーク通信システムの全体構成を示すブロック図である。図26に示す接続仲介装置300GGは、図22に示す接続仲介装置300Gに、グループ情報確認部350Gを付加したものである。また、図26に示す各端末装置400A′~400D′は、図22に示す各端末装置400A~400Dに、同一グループ再確認機能を付加したものである。
 ここで、各端末装置400A′~400D′に備わっている同一グループ再確認機能は、通信元端末装置が通信先端末装置への接続仲介依頼を行い、当該接続仲介依頼に対して接続仲介装置300GGが「接続可」との判断を行い、通信相手の所在アドレスを通知してきた場合に、通信元端末装置もしくは通信先端末装置が、接続仲介装置300GGに対して、通信相手が同一グループであることの確認を求める同一グループ確認依頼を行い、肯定的な確認結果が得られた場合にのみ、通信セッションの確立を行う機能である。
 グループ情報確認部350Gは、このような同一グループ確認依頼を受けたときに、グループ情報を参照して通信元の端末IDと通信先の端末IDとが同一グループに所属するか否かの確認を行い、当該同一グループ確認依頼を行った端末装置に対して確認結果を報告する処理を行う。
 たとえば、図8に示す例と同様に、通信先となる端末装置400A′が、接続仲介装置300GGから通信元アドレスAD2の送信S14を受けた場合を考えてみよう。この場合、端末装置400A′は、通信元となる別な端末装置400B′との間に通信セッションを確立するまでの間に、グループ情報確認部350Gに対して、通信先となる自己の端末ID「0010」と通信元となる別な端末装置の端末ID「0020」とが同一グループに所属するか否かの確認を求める同一グループ確認依頼を行うことになる。
 もちろん、接続仲介装置300GGから通信元アドレスAD2の送信S14を受けたということは、既に、接続仲介装置300GGによって、端末ID「0010」と端末ID「0020」とが同一グループであるとの判断がなされているわけであるが、上記同一グループ確認依頼は、端末装置側からの再確認の依頼ということになる。この同一グループ確認依頼を受けたグループ情報確認部350Gは、アドレステーブル格納部310G内のアドレステーブルTGに格納されているグループ情報を参照して再確認を行い、同一グループ確認依頼を行った端末装置400A′に対して確認結果を報告する。
 この確認結果の報告を受けた端末装置400A′は、肯定的な確認結果が得られた場合には通信セッションの確立を行うが、否定的な判定結果が得られた場合には通信セッションの確立を行わない。
 同一グループ確認依頼の処理は、図8に示す通信開始要求部440Aに担わせることができる。この場合、通信先となる端末装置400A′内の通信開始要求部440Aが、接続仲介装置300GG内の通信元アドレス送信部330Gから通信元アドレスAD2の送信S14を受けたときに、グループ情報確認部350Gに対して同一グループ確認依頼を行い、肯定的な確認結果が得られた場合には通信開始要求S15を行い、否定的な判定結果が得られた場合には通信開始要求S15を行わないようにすればよい。
 あるいは、同一グループ確認依頼の処理を、図8に示す通信先セッション確立部460Aに担わせることもできる。この場合、通信先となる端末装置400A′内の通信先セッション確立部460Aが、通信元となる端末装置400B′内の通信元セッション確立部430Bから通信開始受諾確認S16を受けたときに、グループ情報確認部350Gに対して同一グループ確認依頼を行い、肯定的な確認結果が得られた場合には通信セッションS17を確立し、否定的な判定結果が得られた場合には通信セッションを確立しないようにすればよい。
 また、同一グループ確認依頼の処理を、図8に示す通信元端末装置400B′の通信元セッション確立部430Bに担わせてもよい。この場合、通信元となる端末装置400B′内の通信元セッション確立部430Bが、通信先となる端末装置400A′から通信開始要求S15を受けたときに、グループ情報確認部350Gに対して、通信先となる別な端末装置の端末ID「0010」と通信元となる自己の端末ID「0020」とが同一グループに所属するか否かの確認を求める同一グループ確認依頼を行うようにする。
 この場合、グループ情報確認部350Gは、この同一グループ確認依頼を受けて、グループ情報を参照して通信先の端末ID「0010」と通信元の端末ID「0020」とが同一グループに所属するか否かの確認を行い、当該同一グループ確認依頼を行った通信元セッション確立部430Bに対して確認結果を報告する。報告を受けた通信元セッション確立部430Bは、肯定的な確認結果が得られた場合には通信開始受諾確認S16を送信し、否定的な判定結果が得られた場合には通信開始受諾確認S16を送信しないことになる。
 いずれの場合も、端末装置側で再確認を行った上で最終的な通信セッションの確立が行われることになるので、「信頼のおける端末装置に対してのみ接続が行われるようにする」という本発明の作用効果がより高まることになる。
 <<< §8. ホームゲートウェイ装置への応用 >>>
 最後に、本発明をホームゲートウェイ装置に応用した実施例を述べておく。近年、IoT(Internet of Things)の考え方に基づき、家庭内の電子機器をホームゲートウェイ装置を介してインターネットに接続する形態が急速に普及してゆくことが予想されている。ホームゲートウェイ装置は、公衆回線網と家庭内ネットワークとを仲介する役割を果たし、一般的なブロードバンドルータの機能に加え、電話やFAXの信号などをやりとりする機能も備わった家庭用の情報処理装置である。
 家庭内のTV受像機、ビデオ録画機、エアコン、パソコン等の電子機器は、このホームゲートウェイ装置を介して外部のネットワークに接続することができる。最近は、各家庭用電子機器にもOSプログラムやアプリケーションプログラムが組み込まれており、これらのプログラムは、必要に応じてアップデートする必要が生じる。通常、このアップデートは、外部のアップデートサーバからネットワークを介して送信されたアップデート用プログラムを実行することにより行われる。ただ、家庭用電子機器の場合、高度なセキュリティ対策を講じることは困難であり、アップデート時にマルウェアに感染する被害が頻発することが危惧されている。本発明は、このような問題に対処するのに有効である。
 図27は、本発明に係るネットワーク通信システムを家庭用電子機器のアップデートシステムに利用した実施形態を示すブロック図である。図の下半分に描かれた家型のブロックは家庭Hを示している。この家庭H内には、ホームゲートウェイ装置500が設置されており、様々な家庭用電子機器が、このホームゲートウェイ装置500の管理下におかれ、このホームゲートウェイ装置500を介してネットワーク(インターネット)Nに接続されている。
 図示の例の場合、ホームゲートウェイ装置500の管理下にある家庭用電子機器として、TV受像機510,ビデオ録画機520,エアコン530,パソコン540,プリンタ550,スマートフォン560,火災報知器570,防犯カメラ580が配置され、ホームゲートウェイ装置500に対して有線もしくは無線により接続されている。
 一方、図の上半分には、V社アップデートサーバ710,W社アップデートサーバ720,X社アップデートサーバ730,Y社アップデートサーバ740,Z社アップデートサーバ750が描かれている。これらのアップデートサーバは、各家庭用電子機器に組み込まれたプログラムにアップデート用プログラムを提供する役割を果たす。また、図示された接続仲介装置800は、これまで述べてきた本発明に係る接続仲介装置100G,100GG,300G,300GGである。各家庭用電子機器510~580および各アップデートサーバ710~750は、本発明における端末装置に相当し、接続仲介装置800は、これら端末装置間の接続を仲介する役割を果たす。
 要するに、図27に示すシステムは、本発明に係るネットワーク通信システムにおいて、端末装置の一部を、ホームゲートウェイ装置500を介してネットワークNに接続された複数の家庭用電子機器510~580によって構成し、端末装置の別な一部を、各家庭用電子機器に組み込まれているプログラムを更新するためのアップデートサーバ710~750によって構成した例ということができる。ここで、接続仲介装置800には、特定の家庭用電子機器と、当該特定の家庭用電子機器に組み込まれているプログラムを更新するためのアップデートサーバとについて、両者が同一のグループに所属することを示すグループ情報が設定されている。
 図27では、説明の便宜上、各端末装置のブロック内に、当該端末装置が所属するグループを括弧書きで例示してある。具体的には、V社アップデートサーバ710はグループV,W社アップデートサーバ720はグループW,X社アップデートサーバ730はグループX,Y社アップデートサーバ740はグループY,Z社アップデートサーバ750はグループZに所属するものとし、各家庭用電子機器510~580についても、これらグループV~Zのいずれか、もしくは、複数に所属するものとしている。
 各家庭用電子機器510~580の所属グループは、アップデート時に利用するアップデートサーバと同じグループになるように定められている。たとえば、V社が防災機器を提供する企業であり、火災報知器570が、このV社によって提供されている家庭用電子機器であったものとしよう。このような場合、火災報知器570の所属グループを、V社アップデートサーバ710の所属グループと同じグループVに設定しておけばよい。
 接続仲介装置800内には、各端末装置の端末IDと所在アドレスとを対応づけるとともに、各端末IDについてのグループ情報を設定したアドレステーブルTGが格納されている。上例の場合、火災報知器570とV社アップデートサーバ710には、同じ所属グループVを示すグループ情報が設定されることになるので、接続仲介装置800は、火災報知器570とV社アップデートサーバ710との間の接続を仲介することができる。したがって、火災報知器570に組み込まれたプログラムは、必要に応じて、V社アップデートサーバ710から提供されるアップデート用プログラムを実行することによりアップデート可能になる。
 アップデート用プログラムの提供は、V社アップデートサーバ710を通信元とするプッシュ型配信によって行ってもよいし、火災報知器570を通信元とするプル型配信によって行ってもよい。いずれの場合も、本発明に固有の機能により、火災報知器570は、同じグループVに所属するV社アップデートサーバ710に対してのみ接続されることになるので、信頼のおけるサーバから提供されたアップデート用プログラムを用いた安全なアップデートが可能になる。したがって、偽のアップデート用プログラムを実行することによりマルウェアに感染する被害を防止することができる。
 また、様々な家庭用電子機器を提供している企業のアップデートサーバであれば、多数の電子機器に対してアップデート用プログラムを提供することができる。たとえば、図27に示す例の場合、TV受像機510およびビデオ録画機520は、いずれもX社の製品であるため、X社アップデートサーバ730と同じ所属グループXが設定されている。したがって、アップデート時には、TV受像機510およびビデオ録画機520は、X社アップデートサーバ730に対してのみ接続され、信頼性のあるアップデート用プログラムの提供を受けることになる。
 もちろん、信頼のおけるアップデートサーバを複数設けることも可能である。たとえば、W社が防犯カメラを提供する企業であり、Y社がエアコンを提供する企業であった場合、防犯カメラ580にはW社アップデートサーバ720と同じグループWを設定し、エアコン530にはY社アップデートサーバ740と同じグループYを設定すれば足りるが、図示の例では、更にグループZを重複して設定している。これは、大手の電子機器総合ベンダーであるZ社が、W社やY社の依頼を受けて、Z社アップデートサーバ750からW社製防犯カメラやY社製エアコンに対するアップデート用プログラムの提供を行っている場合を想定したものである。図示の例の場合、Z社アップデートサーバ750は、Z社自身の製品であるパソコン540,プリンタ550,スマートフォン560だけでなく、Y社製エアコン530やW社製防犯カメラ580に対するアップデートも受け持つことになる。
 このように、本発明を実施する上では、個々の端末装置に、重複して複数のグループ設定を行うことも可能である。図示の例の場合、たとえば、エアコン530に組み込まれたプログラムに対するアップデートは、グループYに所属するY社アップデートサーバ740に接続して行うこともできるし、グループZに所属するZ社アップデートサーバ750に接続して行うこともできる。
 なお、図27の右下に描かれているスマートカー610も、ネットワーク(インターネット)Nに接続することにより様々な機能を果たす電子機器と言うことができる。このスマートカー610は、ホームゲートウェイ装置500の管理下にある電子機器ではないため、ネットワークNに対する通信接続は別なルートを介して行うことになるが、組み込まれたプログラムのアップデートは、Z社アップデートサーバ750を利用して行うようになっている。このため、スマートカー610にはグループZが設定されている。
 同様に、スマートフォン560は、図示のように家庭H内で利用されている状態では、ホームゲートウェイ装置500の管理下(たとえば、ホームゲートウェイ装置500の提供する無線LANの配下)にあるが、外出時に携帯されている状態では、別なルートを介してネットワークNに接続される。この場合、所在アドレスは変更になるが、グループ情報は変更する必要はない。図示の例では、スマートフォン560は、その所在に関わらず、常にグループZに所属し、Z社アップデートサーバ750を利用したアップデートがなされることになる。
 以上、各電子機器に組み込まれたプログラムをアップデートする際の処理手順を説明した。このようなアップデート時のみを考えた場合、各家庭用電子機器の接続相手は、特定のアップデートサーバのみで十分である。ただ、通常動作時を考えると、電子機器によっては、様々なサーバに接続する必要が生じる。たとえば、エアコンや火災報知器といった電子機器であれば、通常動作時でも、特定のサーバのみに接続できれば十分であろう。これに対して、パソコンやスマートフォンといった電子機器の場合、接続対象を特定のサーバのみに限定してしまうと不都合が生じることが多い。たとえば、図27に示す例の場合、パソコン540の接続相手は、同じグループZに所属するZ社アップデートサーバ750に限定されてしまうことになるので、Webブラウザなどを利用する際に支障が生じる。
 このような場合は、たとえば、§4において図15の実施例を用いて説明したように、端末IDとポート番号との組み合わせごとに、それぞれ所属グループを示すグループ情報を設定すればよい。たとえば、Webブラウザに割り当てられたポート番号については、全端末装置を含むグループALLなるグループ情報を設定し、アップデート用アプリに割り当てられたポート番号については、グループZなるグループ情報を設定しておけば、Webブラウザは制約なしにすべてのサーバに接続が可能になり、アップデート用アプリはZ社アップデートサーバ750への接続のみに制限されることになる。このような運用を行えば、アップデート用アプリが、偽のアップデート用プログラムを受け取ることによりマルウェアに感染する被害を防止することができる。
 本発明に係るネットワーク通信システムは、パソコン、携帯電話、タブレット型端末など、インターネットに接続可能な様々な端末装置が利用されている状態において、任意の端末装置間での安全な通信を可能にする技術を提供するものであり、産業上、十分な利用可能性を有している。
100,100G,100GG:接続仲介装置
110,110G:アドレステーブル格納部
120:アドレステーブル更新部
130,130G:通信先アドレス返信部
140G:グループ情報設定部
150G:グループ情報確認部
200,200A~200K,200A′~200D′:端末装置
201H,201K:VPN通信部
210,210A,210B:接続仲介依頼部
220,220A,220B:通信要求受付部
230,230A,230B:通信先セッション確立部
240,240A,240B:通信開始要求部
250,250A,250B:自己アドレス通知部
260,260A,260B:通信元セッション確立部
300,300G,300GG:接続仲介装置
310,310G:アドレステーブル格納部
320:アドレステーブル更新部
330,330G:通信元アドレス送信部
340G:グループ情報設定部
350G:グループ情報確認部
400,400A~400D,400A′~400D′:端末装置
410,410A,410B:接続仲介依頼部
420,420A,420B:通信要求受付部
430,430A,430B:通信元セッション確立部
440,440A,440B:通信開始要求部
450,450A,450B:自己アドレス通知部
460,460A,460B:通信先セッション確立部
500:ホームゲートウェイ装置
510~580:家庭用電子機器
610:スマートカー
710~750:アップデートサーバ
800:接続仲介装置
AD1~AD7:所在アドレス
ADx,ADy,ADz:グローバルIPアドレス
APP1,APP2:アプリケーションプログラム
G:グループテーブル
H:家庭
N:ネットワーク(インターネット)
P1~P21:ポート番号
R,R1,R2:ルータ
S1~S7,S11~S17:流れ図の各ステップ
T,T1~T3,T41,T42,T51,T52,TG:アドレステーブル
V,W,X,Y,Z:グループ名

Claims (21)

  1.  ネットワーク(N)を介して相互に接続可能な複数の端末装置(200,200A-200K)と、前記複数の端末装置間の接続を仲介する接続仲介装置(100G)と、を備えたネットワーク通信システムであって、
     前記複数の端末装置(200,200A-200K)には、個々の端末装置を相互に識別するための端末IDがそれぞれ付与されており、前記接続仲介装置(100G)は、前記端末IDを利用して通信元となる端末装置(200A)と通信先となる端末装置(200B)との間の接続を仲介する処理を実行し、
     前記複数の端末装置(200)のそれぞれは、
     自己のネットワーク上での所在を示す所在アドレスを、前記接続仲介装置(100)に対して通知する自己アドレス通知部(250)と、
     自己(200A)を通信元として、通信先の別な端末装置(200B)に対する通信要求(S1)を受け付ける通信要求受付部(220A)と、
     前記通信要求受付部(220A)によって前記通信要求(S1)が受け付けられたときに、前記接続仲介装置(100)に対して、前記通信先の別な端末装置(200B)の端末ID(0020)を特定するための通信先特定情報を含む接続仲介依頼(S2)を送信する接続仲介依頼部(210A)と、
     前記接続仲介依頼(S2)に応じて、前記接続仲介装置(100)から、前記通信先の別な端末装置(200B)のネットワーク上での所在を示す通信先アドレス(AD2)が返信されてきたときに、ネットワーク(N)を介して、前記通信先アドレス(AD2)にアクセスして通信開始要求(S5)を行う通信開始要求部(240A)と、
     前記通信開始要求(S5)に応じて、前記通信先の別な端末装置(200B)から、通信開始受諾確認(S6)が返信されてきたら、前記通信先の別な端末装置(200B)との間に通信セッションを確立して通信(S7)を開始する通信元セッション確立部(260A)と、
     通信元の別な端末装置(200A)から、自己を通信先とする通信開始要求(S5)がなされたら、前記通信元の別な端末装置(200A)に対して通信開始受諾確認(S6)を送信し、前記通信元の別な端末装置(200A)との間に通信セッションを確立して通信(S7)を開始する通信先セッション確立部(230B)と、
     を有し、
     前記接続仲介装置(100G)は、
     前記端末装置(200A-200K)のそれぞれについて、前記端末IDと前記所在アドレスとを対応づけたアドレステーブル(TG)を格納するアドレステーブル格納部(110G)と、
     前記端末装置(200A-200K)の前記自己アドレス通知部(250)からの通知に基づいて、前記アドレステーブル(TG)の内容を更新するアドレステーブル更新部(120)と、
     前記端末装置(200A)の前記接続仲介依頼部(210A)から、前記接続仲介依頼(S2)が送信されてきたときに、前記アドレステーブル(TG)を参照して、前記接続仲介依頼(S2)に含まれている通信先特定情報によって特定される端末ID(0020)に対応づけられている所在アドレス(AD2)を通信先アドレスとして返信する通信先アドレス返信部(130G)と、
     前記アドレステーブル(TG)に格納されている各端末IDについて、それぞれ所属グループを示すグループ情報を設定するグループ情報設定部(140G)と、
     を有し、
     前記通信先アドレス返信部(130G)が、前記接続仲介依頼(S2)を送信してきた通信元の端末装置の端末IDと、当該接続仲介依頼(S2)に含まれている通信先特定情報によって特定される端末IDと、が同一グループに所属するか否かを前記グループ情報を参照して判定し、肯定的な判定結果が得られた場合には通信先アドレスの返信を行い、否定的な判定結果が得られた場合には通信先アドレスの返信を行わないことを特徴とするネットワーク通信システム。
  2.  請求項1に記載のネットワーク通信システムにおいて、
     接続仲介装置(100GG)が、更に、グループ情報確認部(150G)を有し、
     通信元となる端末装置(200A′)が、前記接続仲介装置(100GG)から通信先アドレス(AD2)の返信を受けた後、通信先となる別な端末装置(200B′)との間に通信セッションを確立するまでの間に、前記グループ情報確認部(150G)に対して、通信元となる自己の端末IDと通信先となる別な端末装置の端末IDとが同一グループに所属するか否かの確認を求める同一グループ確認依頼を行う機能を有し、
     前記グループ情報確認部(150G)は、前記同一グループ確認依頼を受けたときに、グループ情報を参照して通信元の端末IDと通信先の端末IDとが同一グループに所属するか否かの確認を行い、前記同一グループ確認依頼を行った端末装置(200A′)に対して確認結果を報告し、
     前記確認結果の報告を受けた端末装置(200A′)は、肯定的な確認結果が得られた場合には通信セッションの確立を行い、否定的な判定結果が得られた場合には通信セッションの確立を行わないことを特徴とするネットワーク通信システム。
  3.  請求項2に記載のネットワーク通信システムにおいて、
     通信元となる端末装置(200A′)内の通信開始要求部(240A)が、接続仲介装置(100GG)から通信先アドレス(AD2)の返信を受けたときに、グループ情報確認部(150G)に対して同一グループ確認依頼を行い、肯定的な確認結果が得られた場合には通信開始要求(S5)を行い、否定的な判定結果が得られた場合には通信開始要求(S5)を行わないことを特徴とするネットワーク通信システム。
  4.  請求項2に記載のネットワーク通信システムにおいて、
     通信元となる端末装置(200A′)内の通信元セッション確立部(260A)が、通信先となる端末装置(200B′)内の通信先セッション確立部(230B)から通信開始受諾確認(S6)を受けたときに、グループ情報確認部(150G)に対して同一グループ確認依頼を行い、肯定的な確認結果が得られた場合には通信セッションを確立し(S7)、否定的な判定結果が得られた場合には通信セッションを確立しないことを特徴とするネットワーク通信システム。
  5.  請求項1に記載のネットワーク通信システムにおいて、
     接続仲介装置(100GG)が、更に、グループ情報確認部(150G)を有し、
     通信先となる端末装置(200B′)内の通信先セッション確立部(230B)が、通信元となる端末装置(200A′)から通信開始要求(S5)を受けたときに、前記グループ情報確認部(150G)に対して、通信元となる別な端末装置の端末IDと通信先となる自己の端末IDとが同一グループに所属するか否かの確認を求める同一グループ確認依頼を行う機能を有し、
     前記グループ情報確認部(150G)は、前記同一グループ確認依頼を受けたときに、グループ情報を参照して通信元の端末IDと通信先の端末IDとが同一グループに所属するか否かの確認を行い、前記同一グループ確認依頼を行った前記通信先セッション確立部(230B)に対して確認結果を報告し、
     前記通信先セッション確立部(230B)は、前記同一グループ確認依頼に対して、肯定的な確認結果が得られた場合には通信開始受諾確認(S6)を送信し、否定的な判定結果が得られた場合には通信開始受諾確認(S6)を送信しないことを特徴とするネットワーク通信システム。
  6.  ネットワーク(N)を介して相互に接続可能な複数の端末装置(400,400A-400D)と、前記複数の端末装置間の接続を仲介する接続仲介装置(300G)と、を備えたネットワーク通信システムであって、
     前記複数の端末装置(400,400A-400D)には、個々の端末装置を相互に識別するための端末IDがそれぞれ付与されており、前記接続仲介装置(300G)は、前記端末IDを利用して通信元となる端末装置(400B)と通信先となる端末装置(400A)との間の接続を仲介する処理を実行し、
     前記複数の端末装置(400)のそれぞれは、
     自己のネットワーク上での所在を示す所在アドレスを、前記接続仲介装置(300)に対して通知する自己アドレス通知部(450)と、
     自己(400B)を通信元として、通信先の別な端末装置(400A)に対する通信要求(S11)を受け付ける通信要求受付部(420B)と、
     前記通信要求受付部(420B)によって前記通信要求(S11)が受け付けられたときに、前記接続仲介装置(300)に対して、前記通信先の別な端末装置(400A)の端末ID(0010)を特定するための通信先特定情報を含む接続仲介依頼(S12)を送信する接続仲介依頼部(410B)と、
     前記接続仲介装置(300)から、通信元の別な端末装置(400B)のネットワーク上での所在を示す通信元アドレス(AD2)が送信されてきたときに、ネットワーク(N)を介して、前記通信元アドレス(AD2)にアクセスして通信開始要求(S15)を行う通信開始要求部(440A)と、
     前記通信開始要求(S15)に応じて、前記通信元の別な端末装置(400B)から、通信開始受諾確認(S16)が返信されてきたら、前記通信元の別な端末装置(400B)との間に通信セッションを確立して通信(S17)を開始する通信先セッション確立部(460A)と、
     前記通信先の別な端末装置(400A)から、自己(400B)を通信元とする通信開始要求(S15)がなされたら、前記通信先の別な端末装置(400A)に対して通信開始受諾確認(S16)を送信し、前記通信先の別な端末装置(400A)との間に通信セッションを確立して通信(S17)を開始する通信元セッション確立部(430B)と、
     を有し、
     前記接続仲介装置(300G)は、
     前記端末装置(400A-400D)のそれぞれについて、前記端末IDと前記所在アドレスとを対応づけたアドレステーブル(TG)を格納するアドレステーブル格納部(310G)と、
     前記端末装置(400A-400D)の前記自己アドレス通知部(450)からの通知に基づいて、前記アドレステーブル(TG)の内容を更新するアドレステーブル更新部(320)と、
     前記端末装置(400B)の前記接続仲介依頼部(410B)から、前記接続仲介依頼(S12)が送信されてきたときに、前記アドレステーブル(TG)を参照して、前記接続仲介依頼(S12)に含まれている通信先特定情報によって特定される端末ID(0010)に対応づけられている所在アドレス(AD1)に対して、前記接続仲介依頼(S12)を送信した通信元の端末装置(400B)の端末ID(0020)に対応づけられている所在アドレス(AD2)を通信元アドレスとして送信する通信元アドレス送信部(330G)と、
     前記アドレステーブル(TG)に格納されている各端末IDについて、それぞれ所属グループを示すグループ情報を設定するグループ情報設定部(340G)と、
     を有し、
     前記通信元アドレス送信部(330G)が、前記接続仲介依頼(S12)を送信してきた通信元の端末装置の端末ID(0020)と、当該接続仲介依頼(S12)に含まれている通信先特定情報によって特定される端末ID(0010)と、が同一グループに所属するか否かを前記グループ情報を参照して判定し、肯定的な判定結果が得られた場合には通信元アドレスの送信を行い、否定的な判定結果が得られた場合には通信元アドレスの送信を行わないことを特徴とするネットワーク通信システム。
  7.  請求項6に記載のネットワーク通信システムにおいて、
     接続仲介装置(300GG)が、更に、グループ情報確認部(350G)を有し、
     通信先となる端末装置(400A′)が、前記接続仲介装置(100GG)から通信元アドレス(AD2)の送信を受けた後、通信元となる別な端末装置(400B′)との間に通信セッションを確立するまでの間に、前記グループ情報確認部(350G)に対して、通信先となる自己の端末IDと通信元となる別な端末装置の端末IDとが同一グループに所属するか否かの確認を求める同一グループ確認依頼を行う機能を有し、
     前記グループ情報確認部(350G)は、前記同一グループ確認依頼を受けたときに、グループ情報を参照して通信元の端末IDと通信先の端末IDとが同一グループに所属するか否かの確認を行い、前記同一グループ確認依頼を行った端末装置(400A′)に対して確認結果を報告し、
     前記確認結果の報告を受けた端末装置(400A′)は、肯定的な確認結果が得られた場合には通信セッションの確立を行い、否定的な判定結果が得られた場合には通信セッションの確立を行わないことを特徴とするネットワーク通信システム。
  8.  請求項7に記載のネットワーク通信システムにおいて、
     通信先となる端末装置(400A′)内の通信開始要求部(440A)が、接続仲介装置(300GG)から通信元アドレス(AD2)の送信を受けたときに、グループ情報確認部(350G)に対して同一グループ確認依頼を行い、肯定的な確認結果が得られた場合には通信開始要求(S15)を行い、否定的な判定結果が得られた場合には通信開始要求(S15)を行わないことを特徴とするネットワーク通信システム。
  9.  請求項7に記載のネットワーク通信システムにおいて、
     通信先となる端末装置(400A′)内の通信先セッション確立部(460A)が、通信元となる端末装置(400B′)内の通信元セッション確立部(430B)から通信開始受諾確認(S16)を受けたときに、グループ情報確認部(350G)に対して同一グループ確認依頼を行い、肯定的な確認結果が得られた場合には通信セッションを確立し(S17)、否定的な判定結果が得られた場合には通信セッションを確立しないことを特徴とするネットワーク通信システム。
  10.  請求項6に記載のネットワーク通信システムにおいて、
     接続仲介装置(300GG)が、更に、グループ情報確認部(350G)を有し、
     通信元となる端末装置(400B′)内の通信元セッション確立部(430B)が、通信先となる端末装置(400A′)から通信開始要求(S15)を受けたときに、前記グループ情報確認部(350G)に対して、通信先となる別な端末装置の端末IDと通信元となる自己の端末IDとが同一グループに所属するか否かの確認を求める同一グループ確認依頼を行う機能を有し、
     前記グループ情報確認部(350G)は、前記同一グループ確認依頼を受けたときに、グループ情報を参照して通信元の端末IDと通信先の端末IDとが同一グループに所属するか否かの確認を行い、前記同一グループ確認依頼を行った前記通信元セッション確立部(430B)に対して確認結果を報告し、
     前記通信元セッション確立部(430B)は、前記同一グループ確認依頼に対して、肯定的な確認結果が得られた場合には通信開始受諾確認(S16)を送信し、否定的な判定結果が得られた場合には通信開始受諾確認(S16)を送信しないことを特徴とするネットワーク通信システム。
  11.  請求項1~10のいずれかに記載のネットワーク通信システムにおいて、
     グループ情報設定部(140G;340G)が、アドレステーブル格納部(110G;310G)に格納されているアドレステーブル(TG)内の各端末IDに、所属グループを示すグループ情報を対応づけて記録することを特徴とするネットワーク通信システム。
  12.  請求項1~11のいずれかに記載のネットワーク通信システムにおいて、
     端末装置(200,200A-200K)内の自己アドレス通知部(250;450)が、自己の端末IDについて、その所属グループを示す情報をグループ情報設定部(140G;340G)に送信する機能を有し、
     グループ情報設定部(140G;340G)は、前記自己アドレス通知部から送信されてきた情報に基づいて、グループ情報の設定を行うことを特徴とするネットワーク通信システム。
  13.  請求項1~11のいずれかに記載のネットワーク通信システムにおいて、
     グループ情報設定用端末装置を更に有し、
     前記グループ情報設定用端末装置は、自己もしくは別な端末装置の端末IDについて、その所属グループを示す情報をグループ情報設定部(140G;340G)に送信する機能を有し、
     グループ情報設定部(140G;340G)は、前記グループ情報設定用端末装置から送信されてきた情報に基づいて、グループ情報の設定を行うことを特徴とするネットワーク通信システム。
  14.  請求項12または13に記載のネットワーク通信システムにおいて、
     グループ情報設定部(140G;340G)は、端末装置(200,200A-200K)内の自己アドレス通知部(250;450)もしくはグループ情報設定用端末装置から新たな情報が送信されるたびに、グループ情報の更新を行うことを特徴とするネットワーク通信システム。
  15.  請求項1~14のいずれかに記載のネットワーク通信システムにおいて、
     端末装置のネットワーク上での所在を示す所在アドレスとして、IPアドレスにポート番号を付加した情報を用い、端末IDとポート番号との組み合わせごとに、それぞれ所属グループを示すグループ情報を設定することを特徴とするネットワーク通信システム。
  16.  請求項1~15のいずれかに記載のネットワーク通信システムにおいて、
     端末装置の一部が、ホームゲートウェイ装置(500)を介してネットワーク(N)に接続された複数の家庭用電子機器(510-580)であり、
     端末装置の別な一部が、前記家庭用電子機器に組み込まれているプログラムを更新するためのアップデートサーバ(710-750)であり、
     特定の家庭用電子機器と、当該特定の家庭用電子機器に組み込まれているプログラムを更新するためのアップデートサーバとについて、両者が同一のグループに所属することを示すグループ情報が設定されていることを特徴とするネットワーク通信システム。
  17.  請求項1~16のいずれかに記載のネットワーク通信システムにおける接続仲介装置(100G;100GG;300G;300GG)。
  18.  請求項2~5,7~10のいずれかに記載のネットワーク通信システムにおける複数の端末装置(200A-200K;400A-400D)を構成する1台の端末装置(200;400)。
  19.  請求項17に記載の接続仲介装置(100G;100GG;300G;300GG)もしくは請求項18に記載の1台の端末装置(200;400)としてコンピュータを機能させるプログラム。
  20.  ネットワーク(N)を介して相互に接続可能な複数の端末装置(200,200A-200K)について、通信元端末装置と通信先端末装置との間の接続を仲介する接続仲介装置(100G)であって、
     前記端末装置(200A-200K)のそれぞれについて、個々の端末装置を相互に識別するための端末IDと個々の端末装置のネットワーク上での所在を示す所在アドレスとを対応づけたアドレステーブル(TG)と、
     前記アドレステーブル(TG)に格納されている各端末IDについて、それぞれ所属グループを示すグループ情報と、
     を格納しており、
     通信元端末装置から通信先端末装置に対する接続仲介依頼が送信されてきたときに、前記通信元端末装置の端末IDと前記通信先端末装置の端末IDとが、同一グループに所属するか否かを前記グループ情報を参照して判定し、同一グループに所属するとの判定結果が得られたときに、前記アドレステーブル(TG)を参照することにより得られる前記通信先端末装置の所在アドレスを前記通信元端末装置に返信する処理を行うことを特徴とする接続仲介装置。
  21.  ネットワーク(N)を介して相互に接続可能な複数の端末装置(400,400A-400K)について、通信元端末装置と通信先端末装置との間の接続を仲介する接続仲介装置(300G)であって、
     前記端末装置(400A-400K)のそれぞれについて、個々の端末装置を相互に識別するための端末IDと個々の端末装置のネットワーク上での所在を示す所在アドレスとを対応づけたアドレステーブル(TG)と、
     前記アドレステーブル(TG)に格納されている各端末IDについて、それぞれ所属グループを示すグループ情報と、
     を格納しており、
     通信元端末装置から通信先端末装置に対する接続仲介依頼が送信されてきたときに、前記通信元端末装置の端末IDと前記通信先端末装置の端末IDとが、同一グループに所属するか否かを前記グループ情報を参照して判定し、同一グループに所属するとの判定結果が得られたときに、前記アドレステーブル(TG)を参照することにより得られる前記通信先端末装置の所在アドレスに対して、前記通信元端末装置の所在アドレスを送信する処理を行うことを特徴とする接続仲介装置。
PCT/JP2017/029645 2017-08-18 2017-08-18 ネットワーク通信システム WO2019035208A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2019536402A JP6879370B2 (ja) 2017-08-18 2017-08-18 ネットワーク通信システム
PCT/JP2017/029645 WO2019035208A1 (ja) 2017-08-18 2017-08-18 ネットワーク通信システム

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/029645 WO2019035208A1 (ja) 2017-08-18 2017-08-18 ネットワーク通信システム

Publications (1)

Publication Number Publication Date
WO2019035208A1 true WO2019035208A1 (ja) 2019-02-21

Family

ID=65362853

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/029645 WO2019035208A1 (ja) 2017-08-18 2017-08-18 ネットワーク通信システム

Country Status (2)

Country Link
JP (1) JP6879370B2 (ja)
WO (1) WO2019035208A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7473704B1 (ja) 2023-03-16 2024-04-23 新コスモス電機株式会社 警報器

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1065737A (ja) * 1996-08-23 1998-03-06 Matsushita Electric Ind Co Ltd 代理サーバ装置およびサーバ装置
JP2003169075A (ja) * 2001-09-21 2003-06-13 E-Jan Net Co 接続支援サーバ、端末、接続支援システム、接続支援方法、通信プログラム、および接続支援プログラム
JP2013138398A (ja) * 2011-11-28 2013-07-11 Panasonic Corp 通信機器間の接続確立方法、通信機器、及びサーバ装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1065737A (ja) * 1996-08-23 1998-03-06 Matsushita Electric Ind Co Ltd 代理サーバ装置およびサーバ装置
JP2003169075A (ja) * 2001-09-21 2003-06-13 E-Jan Net Co 接続支援サーバ、端末、接続支援システム、接続支援方法、通信プログラム、および接続支援プログラム
JP2013138398A (ja) * 2011-11-28 2013-07-11 Panasonic Corp 通信機器間の接続確立方法、通信機器、及びサーバ装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7473704B1 (ja) 2023-03-16 2024-04-23 新コスモス電機株式会社 警報器

Also Published As

Publication number Publication date
JPWO2019035208A1 (ja) 2020-10-15
JP6879370B2 (ja) 2021-06-02

Similar Documents

Publication Publication Date Title
US10038779B2 (en) Intercepting voice over IP communications and other data communications
US20070217408A1 (en) Address Resolution Device, Address Resolution Method, And Communication System Including The Same
US20080144578A1 (en) Communication system
JP5212071B2 (ja) 通信装置および移動端末
US20100278174A1 (en) Method and Arrangement for Network Roaming of Corporate Extension Identities
JP2007221481A (ja) 電話システム
JP6787390B2 (ja) ネットワーク通信システム
US7756257B2 (en) SIP enabled device identification
JP6879370B2 (ja) ネットワーク通信システム
JP2002281151A (ja) コンピュータ通信網を基盤とする通信システム及び方法
JP7173271B2 (ja) ネットワーク通信システム
JP2006333220A (ja) ネットワーク電話システム及びこのネットワーク電話システムのサーバ装置
JP6879372B2 (ja) ネットワーク通信システム
JP7056663B2 (ja) ネットワーク通信システム
JP6988545B2 (ja) ネットワーク通信システム
JP6879373B2 (ja) ネットワーク通信システム
JP6879371B2 (ja) ネットワーク通信システム
JP4191010B2 (ja) 通信システム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17921551

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019536402

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17921551

Country of ref document: EP

Kind code of ref document: A1