WO2006003739A1 - ピアツーピア通信装置及びコンピュータ・プログラム - Google Patents

ピアツーピア通信装置及びコンピュータ・プログラム Download PDF

Info

Publication number
WO2006003739A1
WO2006003739A1 PCT/JP2005/002861 JP2005002861W WO2006003739A1 WO 2006003739 A1 WO2006003739 A1 WO 2006003739A1 JP 2005002861 W JP2005002861 W JP 2005002861W WO 2006003739 A1 WO2006003739 A1 WO 2006003739A1
Authority
WO
WIPO (PCT)
Prior art keywords
party
communication
address
identification information
unique identification
Prior art date
Application number
PCT/JP2005/002861
Other languages
English (en)
French (fr)
Inventor
Masatoshi Kamagasako
Original Assignee
Yoshida Kamagasako, Inc.
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 Yoshida Kamagasako, Inc. filed Critical Yoshida Kamagasako, Inc.
Priority to JP2005518946A priority Critical patent/JP3892031B2/ja
Publication of WO2006003739A1 publication Critical patent/WO2006003739A1/ja

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Definitions

  • the present invention relates to a peer-to-peer communication apparatus that does not use another device or an external network, requires only a short time until resumption with less load on the network, and can resume communication with high security. And the computer 'program.
  • FIG. 29 shows.
  • terminal E and terminal F which perform peer-to-peer communication, transmit their own IP addresses in packet (1) and packet (2), respectively.
  • Server SV matches the IP address of the received terminal to determine the terminal for peer-to-peer communication, and sends the IP address of the partner terminal for peer-to-peer communication to each terminal in packet (3) and packet (4).
  • Terminal E obtains the IP address of terminal F from the packet (3) received by the terminal, and waits for a connection request from terminal F.
  • terminal F obtains the IP address of terminal E from the received packet (4), sends a packet (5) to terminal E to request connection, and starts peer-to-peer communication. The communication is thus started.
  • FIG. 30 shows a case where a broadcast or multicast of UD p (user.datagram.protocol) is used for searching for a terminal that performs peer-to-peer communication as a communication start execution procedure.
  • Terminal G which intends to perform peer-to-peer communication, adds the IP address of terminal G to the packet (6) for searching for the terminal using broadcast or multicast, and transmits it to multiple terminals.
  • Terminal H waiting for the search packet receives packet (6) and obtains the IP address of terminal H from packet (6). It adds the IP address of terminal H to the response packet (7), sends it to terminal H, and waits for a connection from terminal G.
  • Terminal G that received the response packet (7) acquires the IP address of terminal H from the received response packet (7), sends a packet (8) to terminal H, requests connection, and starts peer-to-peer communication. To do.
  • Patent Document 2 described below proposes a method for improving the reliability of multicast communication in peer-to-peer communication by combining unicast communication and multicast communication.
  • Patent Document 3 to be described later proposes a method of transmitting and receiving terminal information necessary for peer-to-peer communication using electronic mail.
  • Patent Document 4 proposes a method of switching terminals without disconnecting communication using a relay device for managing a communication session.
  • Patent Document 5 proposes a method of resuming communication when a connection between terminals is disconnected in a network that is not disclosed to the outside, such as a LAN (local area network).
  • Patent Document 1 Japanese Unexamined Patent Application Publication No. 2004-096726
  • Patent Document 2 Japanese Patent Laid-Open No. 2002-283559
  • Patent Document 3 Japanese Patent Application Laid-Open No. 2002-278903
  • Patent Document 4 Japanese Patent Application Laid-Open No. 2002-176432
  • Patent Document 5 Japanese Patent Laid-Open No. 2001-101109
  • packet (6) is broadcast. It is a packet or multicast packet, and it imposes a heavy load on the network of the packet transmission destination. As a result, it affects the communication of other terminals not related to this peer-to-peer communication, such as a decrease in data transfer speed. Become.
  • Patent Document 2 The method of Patent Document 2 described above is intended to improve the quality of peer-to-peer communication, and is not for dealing with the case where peer-to-peer communication is disconnected. In other words, if peer-to-peer communication is disconnected, it is impossible to reconnect. There is also a problem in terms of security because measures against device misrepresentation are not considered. [0017] Further, in the method of Patent Document 3, terminal information is converted into a file, which is transmitted and received in the form of an e-mail. For this reason, in the event of a delivery delay by the mail server, peer-to-peer communication cannot be started quickly.
  • Patent Document 4 is premised on the communication between the external network and the LAN, and is based on the use of a relay device existing between the external network and the LAN. Yes. For this reason, communication between terminals that exist on the network where a relay device cannot be installed cannot be performed.
  • Patent Document 5 is premised on implementation in a closed network such as a LAN, and measures against terminal misrepresentation are not considered. For this reason, if this method is implemented on a network that is open to the public, the terminal may be misrepresented, which is problematic in terms of security.
  • the present invention was devised in view of the above problems, and does not use another device or an external network, and the load on the network is small. It is not necessary to provide a peer-to-peer communication device that can resume communication with high security.
  • a configuration of at least two communication devices that perform peer-to-peer communication is required.
  • Such communication device configurations include, but are not limited to, mobile phones, PDAs, and mobile computers.
  • the detecting means detects that its own IP address has been changed by the detecting means. Sends a new IP address and unique identification information.
  • the detecting means detects that the other party's IP address has been changed, and the connection request from the other party is communicated via the communication means. Therefore, it receives the IP address of the new partner (side communication device whose IP address has been changed) and the unique identification information of that partner, and receives the partner change information. Store temporarily in the storage means.
  • the comparison means of the communication device on the side where the IP address is maintained the unique identification information of the other party (the side communication device whose IP address has been changed) stored in the other party information storage means and the other party change information storage
  • the received identification information stored in the means is compared with the above-mentioned unique identification information of the other party (side communication device whose IP address has been changed).
  • the control means (of the communication device on the side where the IP address is maintained) updates the IP address of the partner (communication device on the side whose IP address has been changed) in the partner information storage means to a new one, and In response to the connection request, a connection permission notification is output to the (communication device on the IP address changed side) via the communication means.
  • the communication device on the side where the IP address has been changed receives a connection permission notification from the other party (the communication device on the side where the IP address is maintained) by the communication means. Then, the respective control means of both communication apparatuses establish a connection with the other party via each communication means.
  • the configuration of the peer-to-peer communication device according to claim 1 is:
  • Self-identification information storage means for storing self-unique identification information
  • Self IP address storage means for storing the IP address assigned to itself for communication
  • the other party information storage means for storing the other party's IP address and the other party's unique identification information received from the other party of communication when the connection is established;
  • Detection means for detecting that its own IP address has been changed
  • the detection means When the detection means detects that its own IP address has been changed, it sends a connection request to the other party via the communication means, and at the same time a new own IP address and its own IP address.
  • Control means for transmitting unique identification information and for causing the communication means to establish a connection with the other party when a connection permission notification is received from the other party via the communication means. It has the basic feature of having.
  • Self-identification information storage means for storing self-unique identification information
  • Self IP address storage means for storing the IP address assigned to itself for communication
  • the other party information storage means for storing the other party's IP address and the other party's unique identification information received from the other party of communication when the connection is established;
  • Detection means for detecting that the other party's IP address has been changed
  • the detection means detects that the other party's IP address has been changed and a connection request is received from the other party, a new partner's IP address is received via the communication means.
  • a partner change information storage means for receiving and temporarily storing the IP address and the other party's unique identification information
  • a comparison means for comparing the other party's unique identification information stored in the other party information storage means with the other party's unique identification information stored in the other party change information storage means; and in the comparison means, the other party's unique identification information If it is determined that the information comparison results match, the partner's IP address in the partner information storage means is updated to a new one, and a connection permission notification is sent via the communication means in response to the connection request.
  • Proposed is a peer-to-peer communication apparatus having a control means for outputting to a counterpart and causing the communication means to establish a connection with the counterpart.
  • the detection means of the communication device on which the IP address is maintained changes the IP address of the other party (the communication device on the side whose IP address has been changed).
  • the communication device on the side where the IP address is maintained can detect the new partner's IP address and the other party's uniqueness via the communication means. Identification information is received and stored temporarily in the other party change information storage means.
  • the comparison means stores the unique identification information of the opponent stored in the counterpart information storage means and the counterpart change information storage means. Compare with the other party's unique identification information.
  • the control means of the communication device on the side where the IP address is maintained causes the counterpart information in the counterpart information storage means to In response to the connection request, a connection permission notice is output to the other party (the communication device whose IP address has been changed) via the communication means. Acts to establish a connection with the other party.
  • the communication device on the side where the IP address has been changed receives a connection permission notification from the other party (the communication device on the side where the IP address is maintained) via its communication means,
  • the control means causes the communication means to establish a connection with the other party.
  • the comparison means stores the identification information unique to the other party received from the communication device on the side whose IP address has been changed, and is stored in advance in the other party information storage means.
  • the other party that had been communicating until then (the IP address has already been changed at this point, and it is usually in a state where it is unknown whether the other party is the previous partner or not.
  • the information stored in the other party's information storage means is updated with the changed IP address as the new one and formally used as the other party's IP address. After that, processing for resuming communication is performed.
  • API application 'programming' interface
  • OS operating 'system
  • application execution environment Use the API (application 'programming' interface) provided by the OS (operating 'system) or application execution environment.
  • the following method can be used as a means for recognizing that the other party's IP address has been changed in the detecting means of the other communication device.
  • the detection means detects that one of the peer-to-peer communication devices has changed its own IP address so that both devices can simultaneously detect that one of the IP addresses has been changed.
  • the detection means that the other peer-to-peer communication device (device side without changing the IP address) recognizes that the IP address of the peer-to-peer communication device whose IP address has been changed has been periodically packetized. If this packet does not reach the fixed time, it is determined that the IP address of any communication device has been changed, and whether the IP address of its own communication device has been changed is confirmed. By doing so, you can cut the IJ.
  • the identification information unique to the peer-to-peer communication device is used for authentication of the peer-to-peer communication device for resuming the connection.
  • the unique identification information for authentication includes one or more of the following information: In combination, it is possible to prevent spoofing of peer-to-peer communication devices. (a) Generate a unique ID (session ID) that is unique to the communication session, and exchange the session ID when exchanging the pre-allocated fixed information and IP address of the peer-to-peer communication device. It is used as authentication information for peer-to-peer communication equipment authentication.
  • the IP address before being changed is used for authentication of the peer-to-peer communication device.
  • a serial number is assigned to signals or packets communicated between peer-to-peer communication devices, and this sequence is queried as unique identification information when authenticating a peer-to-peer terminal.
  • unique identification information can be obtained by using an existing authentication method of using biometric authentication authentication information such as a fingerprint or using an electronic certificate.
  • the detecting means that one of the communication devices has changed its own IP address, and the change notification is sent to the other party (IP address storage).
  • the communication device that receives the IP address receives the IP address of the new partner (the communication device whose IP address has been changed) and the unique identification information of the partner. Then, temporarily store it in the other party's change information storage means (of the communication device that maintains the IP address).
  • the comparison means (of the communication device on the side where the IP address is maintained), the unique identification information of the other party (the communication device on the side whose IP address has been changed) stored in the other party information storage means.
  • the other party (the communication device on the side whose IP address has been changed) is compared with the unique identification information of the other party (the communication device whose IP address has been changed) stored in the other party change information storage means.
  • the control means (of the communication device on the side where the IP address is maintained) In addition to updating the IP address of the other party (the communication device whose IP address has been changed) in the other party information storage means to a new one, the connection request to the other party (the communication device having the changed IP address) and the self Unique identifier of Send.
  • the connection request and the other party's unique identification information are received via the communication means upon receipt of the connection request. Received and temporarily stored in the other party change information storage means.
  • the comparison means compares the other party's unique identification information stored in the other party information storage means with the other party's unique identification information stored in the other party change information storage means. In the comparison means, If it is determined that the comparison result of the identification information unique to the other party matches, the control means outputs a connection permission notification to the other party in response to the connection request. Then, both control means establish a connection with each other through the communication means.
  • the configuration of the peer-to-peer communication device according to claim 3 is:
  • Self-identification information storage means for storing self-unique identification information
  • Self IP address storage means for storing the IP address assigned to itself for communication
  • the other party information storage means for storing the other party's IP address and the other party's unique identification information received from the other party of communication when the connection is established;
  • Detection means for detecting that its own IP address has been changed
  • the other party Upon receipt of a connection request from the other party, the other party change information storing means for receiving and temporarily storing the connection request and the other party's unique identification information via the communication means;
  • the comparison means for comparing the other party's unique identification information stored in the other party information storage means and the other party's unique identification information stored in the other party change information storage means, and in the detection means, the own IP address is If it is detected that the IP address has been changed, a notification of change of its own IP address is sent to the other party via the above communication means, and a new IP address of its own and its own unique identification information are also sent. On the other hand, if the comparison means determines that the comparison results of the other party's unique identification information match, it outputs a connection permission notice to the other party in response to the connection request and sends the communication means to the communication means. Control means for establishing a connection with
  • the configuration of the peer-to-peer communication device according to claim 4 as a configuration (sub-combination configuration) that is paired with the configuration of claim 3 is:
  • Self-identification information storage means for storing self-unique identification information
  • Self IP address storage means for storing the IP address assigned to itself for communication
  • the other party information storage means for storing the other party's IP address and the other party's unique identification information received from the other party of communication when the connection is established;
  • a comparison means for comparing the other party's unique identification information stored in the other party information storage means with the other party's unique identification information stored in the other party change information storage means; and in the comparison means, the other party's unique identification information When it is determined that the information comparison results match, the other party's IP address in the other party information storage means is updated to a new one, and the connection request and its own identification information are transmitted to the other party.
  • Control means for establishing a connection with the other party when the connection permission notice is received from the other party via the communication means;
  • the configurations up to claim 5 to claim 8 can be implemented by being read by a computer to realize the configuration of the peer-to-peer communication device defined in claims 1 to 4 above. Defines programs that can be executed on a computer. [0042] In other words, as a configuration for solving the above-described problems, each of the function execution means defined in claims 1 to 4 is realized by using a computer configuration. A computer that is loaded and executable 'disclosed in the program. Needless to say, these configurations may be provided as a configuration of a recording medium storing a program having the same function as a computer program.
  • the computer may include a general-purpose computer configuration including the configuration of the central processing unit, or a dedicated machine (a mobile terminal such as a mobile phone) directed to a specific process. If there is a configuration of the central processing unit, there is no particular limitation.
  • the configuration of the peer-to-peer communication apparatus according to the present invention as a new application can be easily realized by using existing hardware.
  • the recording medium can be configured with an internal storage device such as RAM or ROM, or an external storage device such as a hard disk. Needless to say, it is included in the recording medium defined in the present invention.
  • the above program can be recorded on a recording medium and distributed for sale, or transmitted by communication or the like to be a target for transfer.
  • the configuration of claim 5 is a configuration corresponding to the configuration of claim 1, and its specific configuration is:
  • Self-identification information storage means for storing self-unique identification information
  • Self IP address storage means for storing the IP address assigned to itself for communication
  • the other party information storage means for storing the other party's IP address and the other party's unique identification information received from the other party of communication when the connection is established;
  • Detection means for detecting that its own IP address has been changed
  • the detection means When the detection means detects that its own IP address has been changed, it sends a connection request to the other party via the communication means, and at the same time a new own IP address and its own IP address.
  • Control means for transmitting unique identification information and for causing the communication means to establish a connection with the other party when a connection permission notification is received from the other party via the communication means.
  • the configuration of claim 6 corresponds to the configuration of claim 2, and the specific configuration is read and executed by the computer,
  • Self-identification information storage means for storing self-unique identification information
  • Self IP address storage means for storing the IP address assigned to itself for communication
  • the other party information storage means for storing the other party's IP address and the other party's unique identification information received from the other party of communication when the connection is established;
  • Detection means for detecting that the other party's IP address has been changed
  • the detection means detects that the other party's IP address has been changed and a connection request is received from the other party, a new partner's IP address is received via the communication means.
  • a partner change information storage means for receiving and temporarily storing the IP address and the other party's unique identification information
  • a comparison means for comparing the unique identification information of the opponent stored in the opponent information storage means with the unique identification information of the opponent stored in the opponent change information storage means; When the comparison means determines that the comparison results of the other party's unique identification information match, the other party's IP address in the other party information storage means is updated to a new one, and in response to the connection request, A computer program characterized in that a connection permission notification is output to the other party via the communication means, and the communication means functions as a control means for establishing a connection with the other party.
  • the configuration of claim 7 is a configuration corresponding to the configuration of claim 3, and the specific configuration is read and executed by the computer,
  • Self-identification information storage means for storing self-unique identification information
  • Self IP address storage means for storing the IP address assigned to itself for communication
  • the other party information storage means for storing the other party's IP address and the other party's unique identification information received from the other party of communication when the connection is established;
  • Detection means for detecting that its own IP address has been changed
  • the other party Upon receipt of a connection request from the other party, the other party change information storing means for receiving and temporarily storing the connection request and the other party's unique identification information via the communication means;
  • the comparison means for comparing the other party's unique identification information stored in the other party information storage means and the other party's unique identification information stored in the other party change information storage means, and in the detection means, the own IP address is If it is detected that the IP address has been changed, a notification of change of its own IP address is sent to the other party via the above communication means, and a new IP address of its own and its own unique identification information are also sent. On the other hand, if the comparison means determines that the comparison results of the other party's unique identification information match, it outputs a connection permission notice to the other party in response to the connection request and sends the communication means to the communication means. Control means for establishing a connection with
  • the configuration of claim 8 is a configuration corresponding to the configuration of claim 4, and its specific configuration is: When the computer is loaded and executed,
  • Self-identification information storage means for storing self-unique identification information
  • Self IP address storage means for storing the IP address assigned to itself for communication
  • the other party information storage means for storing the other party's IP address and the other party's unique identification information received from the other party of communication when the connection is established;
  • a comparison means for comparing the other party's unique identification information stored in the other party information storage means with the other party's unique identification information stored in the other party change information storage means; and in the comparison means, the other party's unique identification information When it is determined that the information comparison results match, the other party's IP address in the other party information storage means is updated to a new one, and the connection request and its own identification information are transmitted to the other party.
  • Control means for establishing a connection with the other party when the connection permission notice is received from the other party via the communication means;
  • the peer-to-peer communication is performed without using another system to determine whether or not to permit the connection to the communication apparatus that has requested the connection for resuming the peer-to-peer communication. Since it is performed only between communication devices, the time to resume communication can be shortened.
  • FIG. 1 is an explanatory diagram showing a state in which peer-to-peer communication is performed by communication devices A and B.
  • FIG. 2 is an explanatory diagram of an internal configuration provided in communication devices A and B in Embodiment 1.
  • FIG. 3 In peer-to-peer communication performed between communication devices A and B, a communication device when a new IP address is assigned to communication device A in another base station by so-called handover processing.
  • FIG. 6 is an explanatory diagram showing an operating state in A.
  • FIG. 4 is an explanatory diagram showing a state in which a connection request is output from the communication device A assigned a new IP address to the communication device B of the other party.
  • FIG. 5 is an explanatory diagram showing a state when connection with the communication apparatus B of the other party is established.
  • FIG. 6 is an explanatory diagram showing a state of the communication device A when communication with the communication device B is resumed and the peer-to-peer communication can be performed as before.
  • FIG. 7 is an explanatory diagram showing a state of the communication device B when a normal peer-to-peer communication state is maintained before the peer-to-peer communication between the communication devices A and B is interrupted.
  • FIG. 5 is an explanatory diagram showing an operating state of the communication device B.
  • FIG. 9 Among the information received from communication device A of the other party, the unique identification information of device A and the communication information Explanation of the state in which the communication device B side compares with the other party's unique identification information stored before the communication interruption and authenticates whether the other party that requested the connection is the other party before the interruption.
  • FIG. 10 is an explanatory diagram showing an operation state by the control means 8 when two unique identification information of the counterpart matches in the comparison result by the comparison means 71.
  • FIG. 11 is an explanatory diagram showing a state in which a connection is established with the communication device A side by the control means 8 via the communication means 4 after outputting the connection permission notification to the other party.
  • FIG. 13 is a flowchart showing a communication session process flow in both communication apparatuses A and B of the first embodiment.
  • FIG. 16 is an explanatory diagram of the internal configuration provided in the communication devices C and D in the second embodiment.
  • FIG. 17 In peer-to-peer communication performed between communication devices C and D, communication is performed when a new IP address is assigned to communication device C in another base station by so-called handover processing.
  • 5 is an explanatory view showing an operating state in the device C.
  • FIG. 19 is a diagram illustrating a state in which a notification indicating that its own IP address has been changed is output. 19] After communication is temporarily interrupted between communication devices C and D, a new IP address is assigned to communication device C.
  • FIG. 5 is an explanatory diagram showing an operating state in the communication device D when the IP address change notification is received from the communication device C and assigned. 20] IP address change notification by comparing the unique identification information of the device C among the information received from the communication device C of the other party and the unique identification information of the other party C stored before the communication interruption.
  • FIG. 10 is an explanatory diagram showing a state in which the communication apparatus D performs authentication as to whether or not the other party that has performed is the other party before the interruption.
  • FIG. 22 is an explanatory diagram showing an operating state by the control means 8 when the connection request is received on the communication device C side.
  • FIG. 11 is an explanatory diagram showing a state in which the communication apparatus C checks whether or not the other party D is the other party before the interruption.
  • FIG. 24 is an explanatory diagram showing an operating state by the control means 8 when the two unique identification information of the counterpart matches in the comparison result by the comparison means 72.
  • FIG. 25 is an explanatory diagram showing a state where the communication device D side establishes a connection with the communication device C side by the control means 8 via the communication means 4 after the connection permission notification is received.
  • FIG. 26 is a flowchart showing a communication session process flow in both communication apparatuses C and D of the second embodiment.
  • FIG. 28 is a flowchart showing a processing flow of communication resumption processing by IP address change notification in D.
  • FIG. 30 is an explanatory diagram showing an implementation procedure of a conventional configuration when UDP broadcast or multicast is used to search for a terminal that performs peer-to-peer communication as a communication start execution procedure.
  • A, B, C, D Peer-to-peer communication equipment
  • FIG. 1 shows that peer-to-peer communication is performed by communication devices ⁇ ⁇ and ⁇ as mobile phones (communication devices C and D in Example 2 described later) in which the configurations of claims 1 and 2 are used as internal configurations. The state to be performed is shown. Both communication devices are each assigned an IP address from the base station of each mobile carrier before initiating peer-to-peer communication.
  • the other side receives the connection request, and sends a connection permission if there is no problem in communication with the requester. Since the IP address has already been exchanged between the side that has received this connection permission and the side that has output the connection permission, it sends and receives each other's unique identification information, stores each of those information, Thereafter, the connection between the two is established. Information processing (packet communication processing for voice information processing and data transmission / reception) of both communication devices is performed. [0060] As described above, when the base station to which the communication device is connected is changed due to the movement of the person having the communication device, the IP address held by the communication device is changed. (In communication using wireless LAN, changing the base station to which the terminal is connected will change the IP address held by the terminal). As a result, the other communication device cannot recognize the changed IP address, and the peer-to-peer communication is interrupted. In order to resume peer-to-peer communication, the communication must be terminated and the procedure for starting peer-to-peer communication again must be performed.
  • these communication devices A and B have a configuration as shown in FIG.
  • the communication devices A and B include self-identification information storage means 1, self-IP address storage means 2, counterpart information storage means 3, communication means 4, detection means 51 or 52, and counterparty.
  • the change information storage means 61, the comparison means 71, and the control means 8 are provided as part of the device configuration.
  • the communication means 4 has a communication configuration (consisting of a chip or a good one) configured in accordance with conventional cellular phone standards (GSM, W-CDMA, FOMA, etc.) In this configuration, peer-to-peer communication is performed between the communication partner and itself.
  • GSM Global System for Mobile communications
  • W-CDMA Wideband Code Division Multiple Access
  • FOMA FOMA
  • a known configuration a configuration capable of TCP / IP and UDP communication that enables peer-to-peer communication is used.
  • the detection means 51 or 52, the comparison means 71, and the control means 8 include a CPU (not shown), an EEP-ROM (not shown), and the like provided in these communication devices A and B. And a program that is read into the CPU and executes each functional module.
  • the self-identification information storage means 1 is composed of an EEP-ROM (not shown).
  • the own IP address storage means 2, the counterparty information storage means 3, and the counterparty change information storage means 61 are also composed of flash memories (not shown) provided in these communication devices A and B.
  • the self-identification information storage means 1 is configured to store identification information unique to itself (communication device A or B).
  • “unique” means unique, not two In this sense, it is assigned to each communication device A and B separately. Ordinary mobile phones, etc., have already been assigned such unique identification information.
  • This configuration can also be used. However, in the unlikely event that the information may be leaked to others, in this embodiment, an arbitrary number of alphanumeric characters are used in the random number generation circuit using another device configuration that generates unique identification information. And if there is not the same identification information that has already been output, if it is not registered, it is registered as one of the identification information that has already been output, Store (store) the above self-identification information storage means 1 of A and B
  • this unique identification information is used for authentication of the peer-to-peer communication device for resuming the connection.
  • the following information is included in the unique identification information for authentication. Or by combining multiple, it is possible to prevent the spoofing of peer-to-peer communication devices
  • (a) Generate a unique ID (session ID) that is unique to the communication session, and exchange the session ID when exchanging the pre-allocated fixed information and IP address of the peer-to-peer communication device. It is used as authentication information for peer-to-peer communication equipment authentication.
  • the IP address before being changed is used for authentication of the peer-to-peer communication device.
  • a serial number is assigned to signals or packets communicated between peer-to-peer communication devices, and this sequence is queried as unique identification information when authenticating a peer-to-peer terminal.
  • unique identification information can be obtained by using an existing authentication method of using biometric authentication authentication information such as a fingerprint or using an electronic certificate.
  • the self IP address storage means 2 is a memory composed of the flash memory for storing an IP address assigned to itself for communication. As described above, since the IP address is automatically assigned from the base station for each communication, it is stored in the own IP address storage means 2. Of course, if the IP address is changed for the above reasons, the new IP address will be stored. [0069]
  • the other party information storage means 3 stores the IP address of the other party received together with the connection request or connection permission notification, and the unique identification information of the other party's communication device received after the connection is established. It is a memory composed of the above flash memory. As described above, normally, a session with the other party is started, the above information is stored, and cleared at the end of the normal session. However, when peer-to-peer communication is interrupted, the previous partner's IP address and unique identification information will remain intact.
  • the communication means 4 has a communication configuration including a DSP or the like configured in accordance with the conventional cellular phone standard, and performs peer-to-peer communication between the communication partner and itself. It is a configuration to execute.
  • a configuration capable of peer-to-peer communication and capable of TCP communication and UDP communication is used, particularly on the above mobile phone standard configuration.
  • the transmitted packet is converted into normal data, and the data is exchanged with other information processing configurations of communication devices A and B. Do.
  • the detection means 51 or 52 has a function of detecting that its own IP address has been changed (detection means 51) or a function of detecting that the other party's IP address has been changed (detection means 52). It is the composition which has.
  • the detecting means 51 for detecting that its own IP address has been changed the following configuration can be employed.
  • API application 'programming' interface
  • OS operating 'system
  • application execution environment Use the API (application 'programming' interface) provided by the OS (operating 'system) or application execution environment.
  • the following configuration can be used as a means for detecting that the other party's IP address has been changed in the detecting means 52 of the other communication device.
  • the detection means 51 detects that one of the peer-to-peer communication devices has changed its own IP address so that both devices simultaneously detect that one of the IP addresses has been changed.
  • Detecting means 52 that detects that the other peer-to-peer communication device (the device without IP address change) detects that the IP address of the peer-to-peer communication device whose IP address has been changed has been changed. If this packet does not reach the fixed time by sending packets, it is determined that the IP address of any communication device has changed, and whether the IP address of its own communication device has been changed. By confirming whether or not it is possible to cut half IJ.
  • the other party change information storage means 61 detects the communication means 4 when the detection means 52 detects that the other party's IP address has been changed and a connection request from the other party is received. It is composed of a flash memory that receives and temporarily stores the new partner's IP address and the other party's unique identification information.
  • the other party's IP address and unique identification information are stored in the other party information storage means 3 and cleared when the normal session ends. .
  • the previous partner's IP address and unique identification information remain in the partner information storage means 3 as they are.
  • the detection means 52 detects that the other party's IP address has been changed and a connection request is received from the other party
  • the communication means 4 sends the new partner's IP address and the other party's IP address. Receive unique identification information.
  • the partner change information storage means 61 receives the new partner's IP address and the partner's unique identification information, and temporarily stores them.
  • the comparison means 71 is configured to compare the unique identification information of the opponent stored in the opponent information storage means 3 with the unique identification information of the opponent stored in the opponent change information storage means 61. is there. The comparison result is output to the control means 8 described later.
  • IP address by comparison means 71 Communication is made by comparing and comparing the unique identification information of the other party received from the communication device whose side has been changed with the unique identification information of the other party stored in the other party information storage means 3 in advance. The other party (the IP address has already been changed at this point, and it is usually not possible to know whether it is the other party).
  • the control means 8 to be described later updates the information stored in the counterparty information storage means 3 with the changed IP address as a new IP address, and further performs processing for resuming communication. Will be.)
  • the control means 8 has different functions and functions depending on whether the IP address of the control means 8 is changed or the IP address of the other party is changed.
  • control means 8 on the side where the former IP address has been changed when the detecting means 51 detects that the own IP address has been changed, Then, send a connection request to the other party and send a new IP address and unique identification information.
  • the communication unit 4 when a connection permission notification is received from the other party via the communication unit 4, the communication unit 4 is provided with a function of establishing a connection with the other party.
  • the control means 8 on the side whose IP address of the other party has been changed when the comparison means 71 determines that the comparison result of the identification information unique to the other party matches, the other party information storage means 3 Update the other party's IP address to a new one.
  • a connection permission notification is output to the other party via the communication means 4 and the communication means 4 has a function of establishing a connection with the other party. .
  • FIG. 3 shows a so-called peer-to-peer communication performed between the communication devices A and B from the base station that first assigned the IP address when the communication device A moves from place to place.
  • FIG. 5 is an explanatory diagram showing an operating state in the communication apparatus A when a new IP address is assigned to the communication apparatus A in another base station that is newly within the reach of radio waves in the handover process.
  • the communication means 4 when communication is interrupted, the communication means 4 automatically searches for a new base station and receives a new IP address assignment from the base station. Therefore, the detection means 51 Thus, the change of its own IP address is detected. At the same time, the communication device A updates its own IP address stored in its own IP address storage means 2 to a new IP address in response to a command from the control device 8.
  • FIG. 4 is an explanatory diagram showing a state in which a connection request is output from the communication device A side to which the new IP address is assigned to the communication device B of the other party.
  • the control means 8 when input from the detection means 51 to the change detection result force control means 8 of its own IP address, the control means 8 transmits the self-identification information storage means 1 to the communication device A. It reads out its own unique identification information and the new IP address of communication device A from its own IP address storage means 2. Then, the control means 8 transmits a connection request, its own new IP address, and unique identification information to the IP address of the communication device B that has been communicating so far via the communication means 4.
  • FIG. 5 shows a state when the connection with the communication device B of the other party is established. Therefore, as will be described later, together with the connection establishment state when communication is resumed in FIG. explain.
  • FIG. 6 is an explanatory diagram showing the state of the communication device A when communication with the communication device B is resumed and peer-to-peer communication is possible as before, as will be described later.
  • peer-to-peer communication is resumed, the normal communication state shown in Fig. 2 is restored.
  • FIG. 7 is an explanatory diagram showing the state of the communication device B when the normal peer-to-peer communication state is maintained before the peer-to-peer communication between the communication devices A and B is interrupted.
  • the operation is the same as in FIG. 2 and FIG.
  • FIG. 8 shows that after communication is interrupted between communication devices A and B, a new IP address is assigned to communication device A, and detection means 52 detects the IP address of the other party (communication device A).
  • 6 is an explanatory diagram showing an operating state in the communication device B when it is detected that the network has been changed.
  • the detecting means 52 detects that the IP address of the other party (communication device A) has been changed, the detecting means 52 sends the detection result to the control means 8. Output to.
  • the control means 8 This information is temporarily stored in 61.
  • FIG. 9 shows the connection request by comparing the unique identification information of the device A out of the information received from the communication device A of the other party with the unique identification information of the other party stored before the communication interruption.
  • FIG. 7 is an explanatory diagram showing a state where the communication apparatus B performs authentication as to whether or not the other party who has performed the communication is the other party before the interruption.
  • the comparison means 71 stores the unique identification information of the original counterpart (communication device A) stored in the counterpart information storage means 3 and the counterpart change information storage means 61. The identification information unique to the other party that has output the connection request is read out. Then, the comparison means 71 compares both of the unique identification information.
  • FIG. 10 is an explanatory diagram showing an operating state by the control means 8 when two unique identification information of the counterpart (communication device A) matches in the comparison result by the comparison means 71.
  • control means 8 updates the IP address of the opponent in the opponent information storage means 3 to the new IP address of the other party received.
  • a connection permission notice is output to the other party via the communication means 4 in response to the connection request.
  • FIG. 11 shows a state in which the connection with the communication apparatus A side is established by the control means 8 via the communication means 4 after outputting the connection permission notification to the other party.
  • the control device 8 since the partner communication device A has already received the connection permission notification, the control device 8 establishes a connection with the communication device B side via the communication means 4 as shown in FIG. Is in a state to be done.
  • FIG. 12 is an explanatory diagram showing the state of the communication device B when communication with the communication device A is resumed and peer-to-peer communication is possible as in the original state, as in FIG. .
  • peer-to-peer communication is resumed, the normal communication state shown in Fig. 2 is restored.
  • FIG. 13 to FIG. 15 are flowcharts showing the processing flows in the first embodiment.
  • FIG. 13 is a flowchart showing the communication session process flow in both communication apparatuses A and B.
  • step S 100 In the communication device A or B, when the device switch is turned on, an initialization process of each device is performed (step S 100). [0099] Then, it is checked whether a communication session is started (step S102). If the session has not been started (step S102; N), the process returns to the beginning of step S102 again.
  • step S102 if the session is started (step S102; Y), communication is performed with the base station, and an IP address assigned by the base station at that time is acquired (step S104). Accordingly, a socket for performing peer-to-peer communication is opened (step S106).
  • step S108 Thereafter, whether or not to send a connection request to the other party is checked (step S108).
  • step S108; Y the control means 8 via the communication means 4 A connection request is sent to the other party (step S110).
  • step S112 Thereafter, it is checked whether or not a connection permission notification has been received from the other party (step S112).
  • step S112; Y the process proceeds to the following step S120.
  • step S112; N the process returns to step S108 and the above processing is repeated.
  • step S114 When a connection request is not transmitted to the other party (step S108; N), it is checked whether or not a connection request has been received (step S114). When a connection request is received (step S114; Y), it is checked whether or not to send a connection permission notification to the other party (step S1 16), and when sending a connection permission notification (step S116; Y), The control means 8 transmits a connection permission notice to the other party via the communication means 4 (step S118), and the process proceeds to the following step S120. On the other hand, when the connection permission notification is not transmitted (step S116; N), the process returns to step S108 and the above processing is repeated.
  • connection permission notification is received or after the connection permission notification is transmitted, the other party's IP address and unique identification information are transmitted and received, and stored in the other party information storage means 3 (step S120). Then, the mutual connection is established by the mutual control means 8 via the communication means 4 (step S122). Arbitrary information processing is executed by peer-to-peer communication (step S124).
  • step S126 Each other's IP address is checked at regular intervals (step S126), and it is checked whether there is any change in the IP address of the other party (step S128). . If there is no change in the IP address (step S128; N), the processing returns to the information processing in step S124 and the above processing is repeated.
  • step S130 if there is a change in the IP address (step S128; Y), the communication resumption process by the IP address change shown in FIG. 14 or FIG. 15 below is performed (step S130).
  • step S132; N If the session has not ended (step S132; N), the processing returns to the information processing in step S124 and repeats the above processing.
  • step S132 if the session has ended (step S132; Y), the process returns to step S102 and the above process is repeated.
  • FIG. 14 shows a case where a new IP address is assigned to the communication device A after the peer-to-peer communication performed between the communication devices A and B is temporarily interrupted, as shown in the communication device A in FIG. 6 is a flowchart showing a processing flow of communication resumption processing by changing the IP address in communication device A when it is hit.
  • control means 8 sends a connection request to the other party (communication device B), and sends a new IP address and unique identification information that has been changed.
  • step S202 it is checked whether or not a connection permission notification has been received from the other party (step S202), and if a connection permission notification has been received (step S202; Y), the control means 8 can A process for establishing a connection is performed (step S204).
  • step S202; N when the connection permission notification is not received (step S202; N), the process returns to step S200, and the above processing is repeated.
  • FIG. 15 is a flowchart showing a processing flow of communication resumption processing by changing an IP address in communication device B when it is detected that the connection has been made.
  • step S300 it is checked whether or not a connection request is received from the other party (communication device A) (step S300). If no connection request is received (step S300; N), The communication restart process ends. [0114] On the other hand, when a connection request is received (step S300; Y), the control means 8 receives a new IP address and unique identification information from the other party (communication device A). (Step S302). These pieces of information are temporarily stored in the counterparty change information storage unit 61 (step S304).
  • the other party information storage means 3 and the other party change information storage means are compared by the comparison means 71.
  • step S306 the unique identification information of the other party (communication device A) stored in each is read (step S306), and it is checked whether or not both pieces of information match (step S308).
  • step S308; N If the two pieces of information do not match (step S308; N), the communication resumption process ends there. On the other hand, if both information match (step S308; Y), the other party that was previously communicating (the IP address has already been changed at this point, and it is usually not known whether it is the other party or not until now) The other party's IP address stored in the other party's information storage means 3 as the new party's IP address. Is updated (step S310).
  • control means 8 outputs a connection permission notice to the other party of the updated IP address via the communication means 4 (step S312), and the process of establishing a connection with the other party (communication device B) is performed. Performed (step S314).
  • the detecting means 51 detects that one of the communication devices (for example, communication device A) has changed its own IP address, A connection request is sent to the communication device B) that is being maintained, and a new IP address and unique identification information are also sent.
  • the detection means 52 detects that the IP address of the communication partner has been changed, and the connection request from the partner is sent to the communication means 4. Therefore, the IP address of the new partner (the communication device whose IP address has been changed) and the unique identification information of the partner are received and temporarily stored in the partner change information storage means 61. Keep it.
  • the comparison means 71 of the communication device B on the side where the IP address is maintained uses the unique identification information of the other party (side communication apparatus A whose IP address has been changed) stored in the other party information storage means 3 and the other party
  • the received identification information stored in the change information storage means 61 is compared with the above-mentioned unique identification information of the other party (the side communication device A whose IP address has been changed).
  • the control means 8 (of the communication device B on the side where the IP address is maintained) updates the IP address of the other party (communication device A on the side whose IP address has been changed) in the other party information storage means 3 to a new one.
  • a connection permission notification is output to the other party (communication device A on the side whose IP address has been changed) via the communication means 4 in response to the connection request.
  • the communication device A on the side whose IP address has been changed receives a connection permission notification from the communication device 4 on the other side (the communication device on the side where the IP address is maintained.
  • Each control means 8 establishes a connection with the other party via each communication means 4.
  • peer-to-peer communication processing is performed between the peer-to-peer communication apparatuses C and D corresponding to the configurations of claims 3 and 4, and the communication is interrupted and the communication is interrupted.
  • the state of processing in each communication device until communication is resumed is shown.
  • the communication devices C and D have self-identification information storage means 1, self-IP address storage means 2, counterpart information storage means 3, communication means 4, detection means 53, counterpart change information.
  • the information storage means 62 or 63, the comparison means 72 or 73, and the control means 8 are provided as part of the apparatus configuration.
  • Self-identification information storage means 1 self IP address storage means 2, counterpart information storage means
  • the detection means 53, the comparison means 72 or 73, and the control means 8 are written in the CPU (not shown), EEP-ROM (not shown), etc. provided in these communication devices C and D. And a program that is read into the CPU and executes each functional module.
  • the unique identification information is used for authentication of the peer-to-peer communication device for resuming the connection.
  • the unique identification information for authentication the same information as described in the first embodiment is used.
  • the detection means 53 is configured to detect that its own IP address has been changed, and has the same function as the detection means 51 of the first embodiment. Therefore, as the detection means 53, the detection configuration shown in the above (1) -1 (7), which is the same as in the first embodiment, can be adopted.
  • the other party change information storage means 62 or 63 Upon receiving the connection request from the other party, the other party change information storage means 62 or 63 receives the connection request and the other party's unique identification information via the communication means 4, and temporarily The configuration (62) to be stored and when a notification that the other party's IP address has been changed is received, the new partner's IP address and the other party's unique identification information are received via the communication means 4 above. It has a function (63) that stores and temporarily stores data, and is composed of flash memory that can store such information.
  • the other party's IP address and unique identification information are stored in the other party information storage means 3 and cleared at the end of the normal session.
  • the previous partner's IP address and unique identification information remain in the partner information storage means 3 as they are.
  • the detection means 53 of the communication device whose IP address has been changed in this embodiment, the communication device C is the communication device on the side whose IP address has been changed for convenience of explanation
  • the change notification is sent to the other party by the communication means 4 on the communication device C side whose IP address has been changed (from the communication device D, the communication device IP address change notification is received from C).
  • the communication device that has received this change notification and has not changed the IP address The communication means 4 on the D side transmits the change notification to the control means 8, and on the other hand, the communication device whose IP address has been changed along with this change notification.
  • the new IP address and the unique identification information transmitted by the communication means 4 on the C side are temporarily stored in the partner change information storage means 63 on the communication device D side. Become.
  • the comparison means 72 and 73 as shown in FIGS. 20 and 23 to be described later, both the devices C and D, and the other party's unique identification information stored in the opponent information storage means 3, This is a configuration for comparing with the other party's unique identification information stored in the side change information storage means 62 or 63.
  • the comparison result is output to the control means 8 described later.
  • the other party is authenticated and confirmed as described above, and these configurations perform the authentication and confirmation.
  • the unique identification information of the other party received from communication device C on the side whose IP address has been changed, and the other party information in advance Comparing with the unique identification information of the other party stored in storage means 3, the other party that had been communicating until then (the IP address has already been changed at this point, usually whether it is the other party
  • the device is authenticated as a communication device C that is in a state where it is not known (then, the control unit 8 described later will formally recognize the changed IP address as a new one and formally recognize the other party's IP address.
  • the information stored in the counterparty information storage means 3 is updated, and further processing for resuming communication is performed).
  • the communication device D side when the above authentication is performed on the communication device D side, the communication device D side is connected to the communication device C side by the control means 8. Since the request and the unique identification information on the communication device D side are transmitted, these pieces of information are stored in the counterpart change information storage means 62, and then the IP address is not changed by the comparison means 72 on the communication device C side.
  • the unique identification information received from the communication device D on the remote side and the unique identification information stored in the partner information storage means 3 in advance on the communication device C side are compared and judged, and the IP address to resume communication It is confirmed that the communication device D is the communication device D without any change (then, control processing 8 described later performs processing for resuming communication).
  • the control means 8 differs in operation and function between the case where the own IP address is changed and the case where the IP address change notification is received.
  • the control means 8 on the side where the former IP address has been changed is detected by the detection means 53 when the change of its own IP address is detected as shown in FIG.
  • a connection request is transmitted to the other party via the communication means 4, and a new own IP address and own unique identification information are also transmitted.
  • the comparison means 72 determines that the comparison result of the unique identification information on the side where the IP address is not changed matches (if the unique identification information is confirmed)
  • the IP address In response to a connection request output from the side without change, a connection permission notice is output to the other party (side without IP address change), and the communication means 4 has a function to establish a connection with the other party. Will play.
  • control means 8 on the communication device D side that has received the latter notification of the change of the IP address has received a comparison result of the unique identification information of the counterpart (IP address changed side) in the comparison means 73. If it is determined that they match (if the other party can be authenticated using unique identification information), the other party's IP address in the other party information storage means 3 is updated to a new one as shown in FIG. At the same time, a connection request and unique identification information (self) are transmitted to the other party for confirmation of the communication device D at the other party.
  • FIG. 25 when a connection permission notification is received via the communication means 4 from the other party whose IP address has been changed, the IP address has been changed to the communication means 4. It will function to establish a connection with the other party.
  • FIG. 17 shows a so-called handover from the base station to which the IP address is first assigned when the communication device C moves between places in the peer-to-peer communication performed between the communication devices C and D.
  • FIG. 4 is an explanatory diagram showing an operation state in the communication apparatus C when a new IP address is assigned to the communication apparatus C in another base station that is newly within the reach of radio waves by processing.
  • the communication means 4 when communication is interrupted, the communication means 4 automatically picks up a new base station and receives a new IP address assignment from the base station. Therefore, the detection means 53 detects the change of its own IP address. At the same time, communication device C updates its own IP address stored in its own IP address storage means 2 to a new IP address in response to a command from control means 8.
  • Fig. 18 is a diagram showing that the IP address of the communication device C assigned with the new IP address is changed from the communication device C side to the communication device D of the other party (the one whose IP address has not been changed). It is explanatory drawing which shows the state which outputs knowledge.
  • the detection means 53 controls the change detection result force of its own IP address.
  • the control means 8 reads out the self-identification information of the communication device C from the self-identification information storage means 1 and the new IP address of the communication device C from the self-IP address storage means 2. . Then, the control means 8 sends its own new IP address to the IP address of the communication device D that has been communicating through the communication means 4 together with the notification of the change of its own IP address. And unique identification information.
  • FIG. 19 shows that after communication is temporarily interrupted between communication devices C and D, a new IP address is assigned to communication device C and an IP address change notification is received from communication device C. It is explanatory drawing which shows the operating state in the communication apparatus D in the case.
  • the communication means 4 on the communication device D side outputs a received signal of the change notification to the control means 8.
  • the control means 8 sends these information to the other party change information storage means 63. Temporarily store information.
  • FIG. 20 shows a comparison between the identification information unique to the device C in the information received from the communication device C of the other party and the unique identification information of the other party C stored before the communication interruption.
  • FIG. 10 is an explanatory diagram showing a state in which the communication apparatus D side authenticates whether or not the other party who has notified the address change is the other party before the interruption.
  • the comparison means 73 As shown in the figure, by the comparison means 73, the unique identification information of the original counterpart (communication device C) stored in the counterpart information storage means 3 and the IP stored in the counterpart change information storage means 63 are stored. The unique identification information of the other party who has transmitted the address change notification is read out. Then, the comparison means 73 performs comparison processing of both unique identification information.
  • FIG. 21 is an explanatory diagram showing an operating state by the control means 8 when two unique identification information of the counterpart (communication device C) matches in the comparison result by the comparison means 73.
  • control means 8 updates the IP address power S of the opponent in the opponent information storage means 3 and the received IP address of the other party.
  • the connection request and identification information unique to the self D are output to the other party via the communication means 4.
  • Fig. 22 is a diagram illustrating the operation performed by the control unit 8 when the connection request is received on the communication device C side. It is explanatory drawing which shows a moving state.
  • control means 8 that has received the signal stores the identification information power S unique to the other party D sent together with the other party change information storage means 62.
  • FIG. 23 shows a comparison between the identification information unique to the device D in the information received from the communication device D of the other party and the unique identification information of the other party D stored before the communication interruption.
  • FIG. 11 is an explanatory diagram showing a state in which the communication apparatus C checks whether or not the other party D who has requested is the other party before the interruption.
  • the comparison means 72 As shown in the figure, by the comparison means 72, the unique identification information of the counterparty (communication device D) stored in the counterparty information storage means 3 and the connection information stored in the counterparty change information storage means 62 are connected. The identification information unique to the other party that sent the request is read out. Then, the comparison means 72 compares both of the unique identification information.
  • FIG. 24 is an explanatory view showing an operating state by the control means 8 when two unique identification information of the counterpart (communication device D) matches in the comparison result by the comparison means 72.
  • control means 8 when the comparison results match, the control means 8 outputs a connection permission notice to the other party via the communication device 4 and connects to the communication device D side. Is established.
  • FIG. 25 shows a state in which the communication device D side establishes a connection with the communication device C side by the control means 8 via the communication means 4 after the connection permission notification is received. At this time, since the counterpart communication device C has already transmitted a connection permission notification, both communication connections are established by the mutual control means 8 via the communication means 4 as shown in FIGS. It is in an established state.
  • FIG. 26 to FIG. 28 are flowcharts showing the processing flows in the second embodiment.
  • FIG. 26 is a flowchart showing the communication session processing flow in both communication devices C and D. As shown in the figure, first, in the communication device C or D, when the device switch is turned on, initialization (initialization) processing of each device is performed (step S400).
  • step S402 it is checked whether or not a communication session has been started (step S402). If the session is not started (step S402; N), the process returns to the beginning of step S402 again.
  • step S402 if the session is started (step S402; Y), communication is performed with the base station, and an IP address assigned by the base station at that time is acquired (step S404). Accordingly, a socket for performing peer-to-peer communication is opened (step S406).
  • step S408 Thereafter, whether or not to send a connection request to the other party is checked (step S408), and when a connection request is sent (step S408; Y), the control means 8 via the communication means 4 A connection request is transmitted to the other party (step S410). Thereafter, it is checked whether or not a connection permission notification has been received from the other party (step S412).
  • step S412; Y When the connection permission notification is received (step S412; Y), the process proceeds to the following step S420.
  • step S412; N the process returns to step S408 and the above processing is repeated.
  • step S414 When a connection request is not transmitted to the other party (step S408; N), it is checked whether or not a connection request has been received (step S414).
  • step S414 When a connection request is received (step S414; Y), it is checked whether or not to send a connection permission notification to the other party (step S4 16), and when sending a connection permission notification (step S416; Y), The control means 8 transmits a connection permission notice to the other party via the communication means 4 (step S418), and the process proceeds to the following step S420.
  • step S416 On the other hand, when the connection permission notification is not transmitted (step S416; N), the process returns to step S408 and the above processing is repeated.
  • connection permission notification is received or after the connection permission notification is transmitted, the other party's IP address and unique identification information are transmitted and received, and stored in the other party information storage means 3 (step S420). Then, the mutual connection is established by the mutual control means 8 via the communication means 4 (step S422). Arbitrary information processing is executed by peer-to-peer communication (step S424).
  • each other's own IP address is checked and the other party's IP address change notification is checked (step S426). It is checked whether or not there has been a notification of change of the IP address (step S428). If there is no change in its own IP address or there is no IP address change notification from the other party (step S428; N), the process returns to the information processing in step S424 and the above processing is repeated.
  • step S428 if there is a change in its own IP address or if there is an IP address change notification from the other party (step S428; Y), communication by changing its own IP address as shown in Figure 27 or 28 below. The communication is resumed by restart processing or IP address change notification from the other party (step S430).
  • step S432 After the restart process, it is checked whether or not the communication session has ended (step S432). If the session has not ended (step S432; N), the process returns to the information process in step S424. Repeat the above process.
  • step S432 if the session has ended (step S432; Y), the process returns to step S402 and the above process is repeated.
  • FIG. 27 is a flowchart showing a processing flow of communication resumption processing by changing the IP address in communication device C when it is hit.
  • control means 8 sends a change notification of its own IP address to the other party (communication device D), and the changed new IP address and unique Identification information is transmitted (step S500).
  • step S502 it is checked whether or not a connection request has been received from the other party (step S502). If a connection request has been received (step S502; Y), the control means 8 starts from the other party (communication device D). The unique identification information is received and temporarily stored in the counterparty change information storage means 62 (step S504).
  • Step S506 the unique identification information of the other party (communication device D) stored in each is read out (Step S506), it is checked whether or not both pieces of information match (Step S508).
  • step S508; N If the two pieces of information do not match (step S508; N), the communication resuming process ends there. On the other hand, if both pieces of information match (step S508; Y), it is confirmed that the communication device D is the communication partner D with which communication was previously performed (the other party whose IP address has not been changed at this point). Then, the control means 8 outputs a connection permission notification to the original IP address of the communication device D via the communication means 4 (step S510), and performs processing for establishing a connection with the other party (communication device D). (Step S512).
  • FIG. 28 is a flowchart showing a processing flow of communication resumption processing by an IP address change notification in the communication device D when the change notification is received.
  • an IP address change notification is received from the other party (communication device C), and the other party's new IP address and unique identification information are received (step S600).
  • the change information is stored in the change information storage means 63 (step S602).
  • the counterpart information storage means 3 and the counterpart change information storage means are compared by the comparison means 73.
  • step S604 the unique identification information of the other party (communication device C) stored in each is read (step S604), and it is checked whether or not both pieces of information match (step S606).
  • step S606; N If the two pieces of information do not match (step S606; N), the communication resumption process ends there. On the other hand, if both information match (step S606; Y), the other party that was communicating before (the IP address has already been changed at this point, and it is usually not known whether it is the other party or not until now) Communication device C), the changed IP address is changed to a new one, and the other party's IP stored in the other party information storage means 3 is officially used as the other party's IP address. The address is updated (step S608).
  • control means 8 transmits the connection request and its own unique identification information to the counterpart of the updated IP address via the communication means 4 (step S610).
  • step S612 it is checked whether or not a connection permission notification has been received from the other party (step S612), and if a connection permission notification has not been received (step S612; N), the communication resuming process ends. However, if a connection permission notification has been received (step S612; Y), processing for establishing a connection with the other party (communication device C) is performed (step S614).
  • one communication device C detects that its own IP address has been changed by the detection means 53, and notifies the other party (the side where the IP address is maintained).
  • Communication device D On the other hand, the communication device D on the side that has received the IP address receives the IP address of the new partner (communication device C on the side whose IP address has been changed) and the unique identification information of the partner, It is temporarily stored in the other party change information storage means 63 (of the communication device D on the side where the IP address is maintained).
  • the comparison means 73 (of the communication device D on the side where the IP address is maintained), the uniqueness of the counterpart (communication device C on the side whose IP address has been changed) stored in the counterpart information storage means 3
  • the identification information is compared with the unique identification information of the other party (communication device C on the side whose IP address has been changed) stored in the other party change information storage means 63, and the other party (the IP address has been changed).
  • the control means 8 updates the IP address of the other party (communication device C on the side whose IP address has been changed) in the other party information storage means 3 to a new one, and the other party (the side on which the IP address has been changed) Connection request to the other communication device C) and To of transmitting the identification information.
  • the communication device C On the side of the communication device C whose IP address has been changed, along with the reception of the connection request, it receives the connection request and the unique identification information of the other party via the communication means 4, and the other party change information storage means 62 Store temporarily in Then, the comparison means 72 compares the other party's unique identification information stored in the other party information storage means 3 with the other party's unique identification information stored in the other party change information storage means 62, and the comparison means 72 If it is determined that the comparison result of the identification information unique to the other party matches, the control means 8 outputs a connection permission notification to the other party in response to the connection request. Then, both control means 8 establish a connection with each other via the communication means 4.
  • peer-to-peer communication that does not use other devices or an external network, requires only a short time to resume with less load on the network, and can resume communication with high security. Therefore, it can be effectively used for portable terminals such as mobile phones and PDAs, mobile computers, and other portable communication means. For example, it can be used as a communication device for automobiles, ships, airplanes, and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)
  • Small-Scale Networks (AREA)

Abstract

【課題】 他の機器や外部のネットワークの利用をせず、またネットワークへの負荷も少なく、再開までの時間が短時間で済み、高セキュリティで通信再開が可能なピアツーピア通信装置を提供する。 【解決手段】 一の通信装置で、自己のIPアドレスの変更が検出されると、相手方に、接続要求を送信し、新たな自己のIPアドレス及び自己の固有の識別情報を送信せしめる。他方、他の通信装置では、通信の相手方のIPアドレスが変更されたことが検出されると共に、その相手方からの接続要求が受信されるので、新たな相手方のIPアドレス及びその相手方の固有の識別情報を受信し、一時的に格納しておく。そして、元々格納されていた相手方の固有の識別情報と、受信された相手方の固有の識別情報とが比較され、相手方の固有の識別情報の比較結果が一致する場合、その制御手段により、相手方情報格納手段における相手方のIPアドレスを新たなものに更新し、上記接続要求に応じて、接続許可通知を、相手方に出力する。この結果、IPアドレスの変更された側の通信装置は、相手方から、接続許可通知を受信する。両通信装置の、夫々の制御手段は、各々の通信手段を介して、互いに相手方との接続を確立させる。

Description

明 細 書
ピアツーピア通信装置及びコンピュータ 'プログラム
技術分野
[0001] 本発明は、他の機器や外部のネットワークの利用をせず、またネットワークへの負荷 も少なぐ再開までの時間が短時間で済み、高セキュリティで通信再開が可能なピア ツーピア通信装置及びコンピュータ 'プログラムに関する。
背景技術
[0002] これまで、携帯電話などにおけるネットワーク利用は、携帯電話通信事業主 (以下、 携帯キャリアと呼称)が提供するゲートウェイを介したサービスしか利用できず、また、 携帯電話端末はグローバルな IPアドレスを取得することができなかったために、携帯 電話端末を利用したピアツーピア通信を行うことができなかった。
[0003] これに対して、近年携帯キャリアがゲートウェイを利用せずともインターネット接続サ 一ビスを利用できるようにし、また、携帯電話端末がグローバルな IPアドレスを取得で きるようになった。そのため、現状では、携帯電話端末を利用したピアツーピア通信を 行えるようになつている。
[0004] ただし、この携帯電話端末が接続してレ、る基地局を変更すると、携帯電話端末が 保持する IPアドレスは変更されることになる。
[0005] また、無線 LAN (ローカル ·エリア ·ネットワーク)を利用した通信では、端末が接続 している基地局を変更すると、端末が保持する IPアドレスは変更されることになる。
[0006] 従来のピアツーピア通信では、通信を行っているいずれかの端末の IPアドレスが変 更された場合、もう片方の端末は変更された IPアドレスを認識することができず、ピア ツーピア通信は中断されてしまう。ピアツーピア通信を再開するためには、通信を終 了し、再度、ピアツーピア通信を開始するための手順を実行しなければならない。
[0007] このような通信開始実行手順として、ピアツーピア通信を行う端末の検索に、通信 する端末のマッチング処理を行うためのサーバ SVを利用する場合 (例えば、後述す る特許文献 1参照)を、図 29に示す。これからピアツーピア通信を行う端末 Eおよび 端末 Fが、それぞれ自端末の IPアドレスをパケット(1)及びパケット(2)で送信する。 サーバ SVは、受信した端末の IPアドレスをマッチングして、ピアツーピア通信する端 末を決定し、パケット(3)及びパケット(4)で、夫々の端末にピアツーピア通信する相 手端末の IPアドレスを送信する。端末 Eは、該端末が受信したパケット(3)から端末 F の IPアドレスを取得し、端末 Fからの接続要求を待つ。他方端末 Fは、受信したパケ ット(4)から端末 Eの IPアドレスを取得し、端末 Eにパケット(5)を送信して接続を要求 し、ピアツーピア通信を開始する。以上で、通信が開始されることとなる。
[0008] 他方、同じく通信開始実行手順として、ピアツーピア通信を行う端末の検索に、 UD p (ユーザ.データグラム.プロトコノレ)のブロードキャストあるいはマルチキャストを利用 する場合を、図 30に示す。ピアツーピア通信を行おうとする端末 Gは、ブロードキャス ト或いはマルチキャストを利用して、端末を検索するパケット(6)に、端末 Gの IPァドレ スを付加して、複数の端末に対して送信する。検索パケットを待ち受けていた端末 H は、パケット(6)を受信し、パケット(6)から端末 Hの IPアドレスを取得する。そして応 答パケット(7)に、端末 Hの IPアドレスを付加して、端末 Hに対して送信し、端末 Gか らの接続を待ち受ける。応答パケット(7)を受信した端末 Gは、受信した応答パケット (7)から端末 Hの IPアドレスを取得し、端末 Hに、パケット(8)を送信して接続を要求 し、ピアツーピア通信を開始する。
[0009] ピアツーピア通信の方法については、この他にも提案がなされている。例えば、後 述する特許文献 2では、ュニキャスト通信とマルチキャスト通信を組み合わせることで 、ピアツーピア通信におけるマルチキャスト通信の信頼性を、向上させる方法が提案 されている。
[0010] 同じく後述する特許文献 3では、ピアツーピア通信に必要な端末の情報を、電子メ ールを利用して送受信する方法が提案されている。
[0011] また特許文献 4では、通信セッションを管理する中継装置を用いて、通信を切断す ることなく端末を切り替える方法が提案されている。
[0012] さらに、通信が切断された場合の再接続の方法についても、提案がなされている。
例えば特許文献 5では、 LAN (ローカル ·エリア ·ネットワーク)のような外部に公開さ れていないネットワークにおいて、端末間の接続が切断された場合に通信を再開す る方法が提案されている。 特許文献 1 :特開 2004 - 096726号公報
特許文献 2:特開 2002 - 283559号公報
特許文献 3:特開 2002 - 278903号公報
特許文献 4 :特開 2002— 176432号公報
特許文献 5:特開 2001 - 101109号公報
発明の開示
発明が解決しょうとする課題
[0013] 携帯電話端末や無線 LAN接続している端末を利用したピアツーピア通信では、基 地局が変更されると端末が保持する IPアドレスも変更され、ピアツーピア通信が切断 されてしまう。
[0014] すなわち端末の IPアドレスが変更になることで、切断されたピアツーピア通信を再 開する必要が生ずる。そのために、ピアツーピア端末のマッチング処理用のサーバ S Vを用いる図 29の例では、ピアツーピア通信それ自体とは直接関係しないサーバ S V側との通信および処理、すなわち上記パケット(1)、(2)、(3)、(4)の送受信及び 上記マッチング処理が、再び必要となる。そのため多数の端末がサーバ SVに対して アクセスした場合、サーバ SVおよびネットワークへの負荷が高くなり、サーバ SVおよ びネットワークのパフォーマンスおよびスループットが低下することになる。従ってピア ツーピア通信再開までの時間が長くかかることになる。
[0015] 端末の IPアドレスが変更になることで、切断されたピアツーピア通信を再開するた めに、端末の検索に UDPパケットを利用する図 30のケースでは、パケット(6)はブロ ードキャストパケットあるいはマルチキャストパケットであり、パケット送信先のネットヮ ークに多大な負荷を与え、その結果、このピアツーピア通信とは関係しない他端末の 通信にも、データ転送速度の低下などの影響を与えることになる。
[0016] 上述の特許文献 2の方法は、ピアツーピア通信の品質を向上することを目的として おり、ピアツーピア通信が切断された場合の対応についてのものではなレ、。つまり、 ピアツーピア通信が切断された場合に、再接続することは不可能である。また、端末 の詐称についての対策も考慮されていないために、セキュリティの点でも問題がある [0017] また特許文献 3の方法では、端末の情報をファイルに変換し、それを電子メールの 形式で送受信している。このため、メールサーバによる配送の遅延が発生した場合に 、迅速にピアツーピア通信を開始することができなレ、。
[0018] さらに特許文献 4の方法は、外部ネットワークと LANの間の通信で実施することが 前提となっており、外部ネットワークと LANの間に存在する中継装置を利用すること が前提となっている。このため、中継装置を設置できないネットワーク上に存在する端 末間での通信では実施することができなレ、。
[0019] 加えて特許文献 5の方法は、 LANのように閉じたネットワークでの実施が前提とな つており、端末の詐称についての対策が考慮されていなレ、。このため、この方法を外 部に公開されているネットワークで実施した場合、端末を詐称される可能性があり、セ キユリティの点で問題がある。
[0020] 本発明は、以上のような問題に鑑み創案されたもので、他の機器や外部のネットヮ ークの利用をせず、またネットワークへの負荷も少なぐ再開までの時間が短時間で 済み、高セキュリティで通信再開が可能なピアツーピア通信装置を提供せんとするも のである。
[0021] 併せてそのような構成をコンピュータ上で実現できるコンピュータ 'プログラムについ てもその提案を行う。
課題を解決するための手段
[0022] まず、本発明では、ピアツーピア通信を行う、少なくとも 2つの通信装置の構成が必 要である。このような通信装置の構成としては、携帯電話や PDA、モバイルコンピュ ータなどがあるが、それらに限定されるわけではない。
[0023] そのうちの一方の通信装置で、 自己の IPアドレスが変更されたことが検出手段によ り検出されると、相手方 (IPアドレスの保たれている側の通信装置)に、接続要求を送 信し、併せて新たな自己の IPアドレス及び自己の固有の識別情報を送信せしめる。 他方、 IPアドレスの保たれている側の通信装置では、その検出手段により、通信の相 手方の IPアドレスが変更されたことが検出されると共に、その相手方からの接続要求 力 通信手段を介して受信されるので、新たな相手方 (IPアドレスの変更された側通 信装置)の IPアドレス及びその相手方の固有の識別情報を受信し、相手方変更情報 格納手段に一時的に格納しておく。そして、 IPアドレスが保たれている側の通信装置 の比較手段により、相手方情報格納手段に格納された相手方 (IPアドレスの変更さ れた側通信装置)の固有の識別情報と、相手方変更情報格納手段に格納された受 信された相手方 (IPアドレスの変更された側通信装置)の上記の固有の識別情報と が比較される。その比較処理の実行により、相手方 (IPアドレスが変更された側の通 信装置)の固有の識別情報の比較結果が一致すると判断された場合 (所謂相手方の 認証ができた場合)には、その(IPアドレスの保たれている側の通信装置の)制御手 段により、相手方情報格納手段における相手方 (IPアドレスが変更された側の通信 装置)の IPアドレスを新たなものに更新すると共に、相手方 (IPアドレスが変更された 側の通信装置)に対し、上記接続要求に応じて、その通信手段を介して、接続許可 通知を出力する。この結果、 IPアドレスの変更された側の通信装置は、その通信手 段により、相手方 (IPアドレスの保たれている側の通信装置)から、接続許可通知を 受信する。そうすると、両通信装置の、夫々の制御手段は、各々の通信手段を介して 、互いに相手方との接続を確立させることになる。
このような制御フローを実行できるピアツーピア通信装置の一方の構成として、請求 項 1に係るピアツーピア通信装置の構成は、
自己の固有識別情報を格納しておく自己識別情報格納手段と、
通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の識別情報を格納しておく相手方情報格納手段と、
通信の相手方と自己とのピアツーピア通信を行う通信手段と、
自己の IPアドレスが変更されたことを検出する検出手段と、
上記検出手段において、 自己の IPアドレスが変更されたことが検出された場合には 、上記通信手段を介して、相手方に、接続要求を送信し、併せて新たな自己の IPァ ドレス及び自己の固有の識別情報を送信せしめると共に、他方相手方から、上記通 信手段を介して接続許可通知が受信された時に、該通信手段に、相手方との接続を 確立させる制御手段と を有することを基本的特徴としている。
[0025] 他方上記構成と対をなす構成 (サブコンビネーションをなす構成)として、請求項 2 の構成は、
自己の固有識別情報を格納しておく自己識別情報格納手段と、
通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の 識別情報を格納しておく相手方情報格納手段と、
通信の相手方と自己とのピアツーピア通信を行う通信手段と、
相手方の IPアドレスが変更されたことを検出する検出手段と、
上記検出手段において、相手方の IPアドレスが変更されたことが検出され、且つ相 手方からの接続要求が受信された場合に、上記通信手段を介して、新たな相手方の
IPアドレス及び相手方の固有の識別情報を受信し、一時的に格納しておく相手方変 更情報格納手段と、
上記相手方情報格納手段に格納された相手方の固有の識別情報と、相手方変更 情報格納手段に格納された相手方の固有の識別情報とを比較する比較手段と、 上記比較手段において、相手方の固有の識別情報の比較結果が一致すると判断 された場合には、相手方情報格納手段における相手方の IPアドレスを新たなものに 更新すると共に、上記接続要求に応じて、上記通信手段を介して接続許可通知を、 相手方に出力し、該通信手段に、相手方との接続を確立させる制御手段と を有するピアツーピア通信装置を提案する。
[0026] 上記 2つの対になる構成によれば、 IPアドレスが変更された側の通信装置の検出 手段が、 自己の IPアドレスが変更されたことを検出すると、該装置の制御手段により、 その通信手段を介して、相手方 (その以前にこの通信装置と通信してレ、た別の通信 装置)に、接続要求が送信され、併せて新たな自己の IPアドレス及び自己の固有の 識別情報が送信される。
[0027] これに対して、 IPアドレスが保たれている側の通信装置(上記別の通信装置)の検 出手段が、相手方 (IPアドレスが変更された側の通信装置)の IPアドレスが変更され たことを検出し、且つ該相手方からの接続要求を受信することで、 IPアドレスが保た れている側の通信装置は、その通信手段を介して、新たな相手方の IPアドレス及び 相手方の固有の識別情報を受信し、相手方変更情報格納手段に、それらを一時的 に格納しておく。
[0028] そして、 IPアドレスが保たれている側の通信装置では、その比較手段において、相 手方情報格納手段に格納された相手方の固有の識別情報と、相手方変更情報格納 手段に格納された相手方の固有の識別情報とを比較する。
[0029] 相手方の固有の識別情報の比較結果がその比較手段で一致すると判断された場 合には、 IPアドレスが保たれている側の通信装置の制御手段により、相手方情報格 納手段における相手方の IPアドレスを新たなものに更新すると共に、上記接続要求 に応じて、その通信手段を介して、接続許可通知を、相手方 (IPアドレスが変更され た側の通信装置)に出力し、該通信手段に、相手方との接続を確立させるように作用 する。
[0030] これに対し、 IPアドレスが変更された側の前記通信装置では、相手方 (IPアドレスが 保たれている側の通信装置)から、その通信手段を介して接続許可通知を受信し、 その制御手段により、該通信手段に、相手方との接続を確立させることになる。
[0031] 以上のように、本発明では、比較手段による、 IPアドレスが変更された側の通信装 置から受信された相手方の固有の識別情報と、予め相手方情報格納手段に格納さ れている相手方の固有の識別情報との比較判断で、それまで通信を行っていた相手 方(この時点では既に IPアドレスが変更されていて、通常ではこれまでの相手方か否 力が分からない状態になっている)の通信装置であることが認証され、変更された IP アドレスを新たなものとして正式に相手方の IPアドレスとして、相手方情報格納手段 に格納された情報が更新されることになる。その後は、通信再開のための処理が行 われることになる。
[0032] 従って、他の機器の利用や外部のネットワークを必要とせず、またこれらの通信装 置が使用しているネットワークへの負荷も少なぐ再開までの時間が短時間で済み、 高セキュリティで通信再開が可能になる。
[0033] ここで、本発明に係るピアツーピア通信装置の検出手段において、自己の IPァドレ スが変更されたことを認識する手段として、以下の構成を採用することができる。
(1) OS (オペレーティング 'システム)あるいはアプリケーションの実行環境が提供す る API (アプリケーション 'プログラミング 'インタフェース)を利用する。
(2) /procのような、〇Sが提供するシステムの状態を表示するファイルシステムを監 視する。
(3) ifconfigや ipconfigのような、ネットワークインタフェースの状態を取得するコマン ドを利用する。
(4)定期的にソケットを生成し、ローカル側の IPアドレスを監視する。
などである。ただしこれらに限定されるわけではない。
[0034] また、もう一方の通信装置の検出手段において、相手方の IPアドレスが変更された ことを認識する手段として、以下の方法を利用することができる。
(5)ソケット通信のタイムアウトを利用する。
(6) ICMP (インターネット 'コントロール 'メッセージ 'プロトコル)のレスポンスを利用 する。
(7) tracerouteコマンドのような経路情報を確認するコマンドを利用する。
などである。ただしこれらに限定されるわけではない。
[0035] さらに、一方の IPアドレスが変更されたことを、両方の装置同士で同時に検出処理 するように、一方のピアツーピア通信装置が自己の IPアドレスが変更されたことを、そ の検出手段により認識し、他方のピアツーピア通信装置 (IPアドレスの変更のない装 置側)が IPアドレスの変更されたピアツーピア通信装置の IPアドレスが変更されたこと を認識する検出手段には、互いに定期的にパケットを送信し合うことで、このパケット がー定時間届かなくなった場合に、いずれかの通信装置の IPアドレスが変更された と判断し、それぞれ自己の通信装置の IPアドレスが変更されているかどうか確認する ことで半 IJ断することもできる。
[0036] 接続再開のためのピアツーピア通信装置の認証に、ピアツーピア通信装置の固有 の識別情報を利用しているが、認証ための該固有識別情報に、以下のような情報を 、一つ或いは複数組み合わせることで、ピアツーピア通信装置の詐称を防ぐことがで きる。 (a)通信セッションに固有の、推測が困難な ID (セッション ID)を生成し、ピアツーピア 通信装置の予め割り振られた固定情報及び IPアドレスの交換時にセッション IDも交 換しておき、ピアツーピア通信装置の識別情報として、ピアツーピア通信装置の認証 に利用する。
(b)ピアツーピア通信装置の識別情報として、変更される前の IPアドレスをピアツーピ ァ通信装置の認証に利用する。
(c)ピアツーピア通信装置間で通信する信号あるいはパケットに通し番号 (シーケン ス)を振り、ピアツーピア端末の認証時に、このシーケンスを、夫々の固有の識別情報 として照会する。
(d)この他にも、指紋等の生体認証の認証情報を利用する、電子証明書を利用する 、という既存の認証方法を利用し、固有の識別情報とすることができる。
他方、請求項 3及び 4に係るピアツーピア通信装置の構成は、一方の通信装置で、 自己の IPアドレスが変更されたことを検出手段により検出し、その変更通知を、相手 方 (IPアドレスの保たれている側の通信装置)の通信装置に送信する。他方、それを 受けた IPアドレスの保たれてレ、る側の通信装置では、新たな相手方 (IPアドレスが変 更された側の通信装置)の IPアドレス及び相手方の固有の識別情報を受信し、その( IPアドレスの保たれてレ、る側の通信装置の)相手方変更情報格納手段に一時的に 格納しておく。そしてその(IPアドレスの保たれている側の通信装置の)比較手段に おいて、相手方情報格納手段に格納された相手方 (IPアドレスが変更された側の通 信装置)の固有の識別情報と、相手方変更情報格納手段に格納された相手方 (IPァ ドレスが変更された側の通信装置)の固有の識別情報との比較処理を実行し、相手 方 (IPアドレスが変更された側の通信装置)の固有の識別情報の比較結果が一致す ると判断された場合 (所謂相手方の認証ができた場合)には、その(IPアドレスの保た れている側の通信装置の)制御手段により、相手方情報格納手段における相手方 (I Pアドレスが変更された側の通信装置)の IPアドレスを新たなものに更新すると共に、 相手方 (IPアドレスが変更された側の通信装置)に対し接続要求及び自己の固有の 識別情報を送信する。 IPアドレスが変更された通信装置側では、その接続要求の受 信に伴って、上記通信手段を介して、該接続要求及び相手方の固有の識別情報を 受信し、相手方変更情報格納手段に一時的に格納しておく。そしてその比較手段に おいて、相手方情報格納手段に格納された相手方の固有の識別情報と、相手方変 更情報格納手段に格納された相手方の固有の識別情報とが比較され、該比較手段 において、相手方の固有の識別情報の比較結果が一致すると判断された場合には 、上記接続要求に応じて、その制御手段により、相手方に接続許可通知を出力する 。そうすると、双方の制御手段は、通信手段を介して、互いに相手方との接続を確立 させることになる。
このような制御フローを実行できるピアツーピア通信装置の一方の構成として、請求 項 3に係るピアツーピア通信装置の構成は、
自己の固有識別情報を格納しておく自己識別情報格納手段と、
通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の識別情報を格納しておく相手方情報格納手段と、
通信の相手方と自己とのピアツーピア通信を行う通信手段と、
自己の IPアドレスが変更されたことを検出する検出手段と、
相手方からの接続要求の受信に伴って、上記通信手段を介して、該接続要求及び 相手方の固有の識別情報を受信し、一時的に格納しておく相手方変更情報格納手 段と、
上記相手方情報格納手段に格納された相手方の固有の識別情報と、相手方変更 情報格納手段に格納された相手方の固有の識別情報とを比較する比較手段と、 上記検出手段において、 自己の IPアドレスが変更されたことが検出された場合には 、上記通信手段を介して、相手方に、 自己の IPアドレスの変更通知を送信し、併せて 新たな自己の IPアドレス及び自己の固有の識別情報を送信せしめ、他方上記比較 手段において、相手方の固有の識別情報の比較結果が一致すると判断された場合 には、上記接続要求に応じて、相手方に接続許可通知を出力すると共に、上記通信 手段に、相手方との接続を確立させる制御手段と
を有することを特徴としてレ、る。 [0039] 他方、上記請求項 3の構成と対をなす構成 (サブコンビネーションをなす構成)とし て、請求項 4に係るピアツーピア通信装置の構成は、
自己の固有識別情報を格納しておく自己識別情報格納手段と、
通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の 識別情報を格納しておく相手方情報格納手段と、
通信の相手方と自己とのピアツーピア通信を行う通信手段と、
相手方の IPアドレスが変更されたことの通知が受信された場合に、上記通信手段を 介して、新たな相手方の IPアドレス及び相手方の固有の識別情報を受信し、一時的 に格納しておく相手方変更情報格納手段と、
上記相手方情報格納手段に格納された相手方の固有の識別情報と、相手方変更 情報格納手段に格納された相手方の固有の識別情報とを比較する比較手段と、 上記比較手段において、相手方の固有の識別情報の比較結果が一致すると判断 された場合には、相手方情報格納手段における相手方の IPアドレスを新たなものに 更新すると共に、相手方に対し接続要求及び自己の固有の識別情報を送信し、他 方相手方から、上記通信手段を介して接続許可通知が受信された時に、該通信手 段に、相手方との接続を確立させる制御手段と
を有することを特徴としてレ、る。
[0040] 上記請求項 3及び 4の構成によれば、ピアツーピア通信装置の IPアドレスが変更さ れた場合 (その変更が自己の検出手段により検出された場合)に、その変更通知を、 相手方通信装置へ通知することで、請求項 1及び 2の構成より、迅速にピアツーピア 通信を再開することが期待できる。また、ソケット通信のタイムアウトを利用する場合で も、タイムアウト時間の設定如何に拘らず、通信の遅延をタイムアウトと誤判断すること がなぐまた、タイムアウト時間にも依存しない。
[0041] 請求項 5—請求項 8までの構成は、コンピュータに読み込まれて実行されることで、 上記請求項 1一請求項 4までに規定されたピアツーピア通信装置の構成を実現でき る、該コンピュータで実行可能なプログラムについて規定している。 [0042] すなわち、上述した課題を解決するための構成として、上記請求項 1一請求項 4ま でに規定された各機能実行手段を、コンピュータの構成を利用して実現する、該コン ピュータで読み込まれて実行可能なコンピュータ 'プログラムにっき開示する。もちろ んこれらの構成は、コンピュータ 'プログラムとしてだけではなぐ同様な機能を有する プログラムを格納した記録媒体の構成として提供されても良いことは言うまでもない。 この場合、コンピュータとは中央演算処理装置の構成を含んだ汎用的なコンピュータ の構成の他、特定の処理に向けられた専用機 (携帯電話などの携帯端末)などを含 むものであっても良ぐ中央演算処理装置の構成を伴うものであれば特に限定はな レ、。
[0043] 上記各機能実行手段により実行される処理をコンピュータに行わせるためのこのよ うなプログラムが、コンピュータに読み出されると、請求項 1一請求項 4までに規定さ れたいずれかの機能実行手段により行われる処理と同様な処理が実行されることに なる。
[0044] また既存のハードウェア資源を用いてこのコンピュータ 'プログラムを実行することに より、既存のハードウェアで新たなアプリケーションとしての本発明に係るピアツーピ ァ通信装置の構成が容易に実現できるようになる。さらにこのようなコンピュータ 'プロ グラムが前述の記録媒体に記録されることにより、これをソフトウェア商品として容易 に配付、販売することができるようになる。加えて記録媒体の構成としては、上述した 形式の場合の他、 RAMや ROMなどの内部記憶装置の構成やハードディスクなどの 外部記憶装置の構成であっても良ぐそのようなプログラムがそこに記録されれば、 本発明に規定された記録媒体に含まれることは言うまでもない。
[0045] 上記プログラムは、それ自身使用の対象となる他、記録媒体に記録されて配付乃 至販売され、また通信などにより送信されて、譲渡の対象とすることもできるようになる
[0046] そのうち、請求項 5の構成は、請求項 1の構成に対応する構成であり、その具体的 構成は、
コンピュータに読み込まれて実行されることで、該コンピュータを、
自己の固有識別情報を格納しておく自己識別情報格納手段と、 通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の識別情報を格納しておく相手方情報格納手段と、
通信の相手方と自己とのピアツーピア通信を行う通信手段と、
自己の IPアドレスが変更されたことを検出する検出手段と、
上記検出手段において、 自己の IPアドレスが変更されたことが検出された場合には 、上記通信手段を介して、相手方に、接続要求を送信し、併せて新たな自己の IPァ ドレス及び自己の固有の識別情報を送信せしめると共に、他方相手方から、上記通 信手段を介して接続許可通知が受信された時に、該通信手段に、相手方との接続を 確立させる制御手段と
して機能させることを特徴とするコンピュータ ·プログラムである。
また請求項 6の構成は、請求項 2の構成に対応する構成であり、その具体的構成は コンピュータに読み込まれて実行されることで、該コンピュータを、
自己の固有識別情報を格納しておく自己識別情報格納手段と、
通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の識別情報を格納しておく相手方情報格納手段と、
通信の相手方と自己とのピアツーピア通信を行う通信手段と、
相手方の IPアドレスが変更されたことを検出する検出手段と、
上記検出手段において、相手方の IPアドレスが変更されたことが検出され、且つ相 手方からの接続要求が受信された場合に、上記通信手段を介して、新たな相手方の
IPアドレス及び相手方の固有の識別情報を受信し、一時的に格納しておく相手方変 更情報格納手段と、
上記相手方情報格納手段に格納された相手方の固有の識別情報と、相手方変更 情報格納手段に格納された相手方の固有の識別情報とを比較する比較手段と、 上記比較手段において、相手方の固有の識別情報の比較結果が一致すると判断 された場合には、相手方情報格納手段における相手方の IPアドレスを新たなものに 更新すると共に、上記接続要求に応じて、上記通信手段を介して接続許可通知を、 相手方に出力し、該通信手段に、相手方との接続を確立させる制御手段と して機能させることを特徴とするコンピュータ ·プログラムである。
[0048] 請求項 7の構成は、請求項 3の構成に対応する構成であり、その具体的構成は、 コンピュータに読み込まれて実行されることで、該コンピュータを、
自己の固有識別情報を格納しておく自己識別情報格納手段と、
通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の識別情報を格納しておく相手方情報格納手段と、
通信の相手方と自己とのピアツーピア通信を行う通信手段と、
自己の IPアドレスが変更されたことを検出する検出手段と、
相手方からの接続要求の受信に伴って、上記通信手段を介して、該接続要求及び 相手方の固有の識別情報を受信し、一時的に格納しておく相手方変更情報格納手 段と、
上記相手方情報格納手段に格納された相手方の固有の識別情報と、相手方変更 情報格納手段に格納された相手方の固有の識別情報とを比較する比較手段と、 上記検出手段において、 自己の IPアドレスが変更されたことが検出された場合には 、上記通信手段を介して、相手方に、 自己の IPアドレスの変更通知を送信し、併せて 新たな自己の IPアドレス及び自己の固有の識別情報を送信せしめ、他方上記比較 手段において、相手方の固有の識別情報の比較結果が一致すると判断された場合 には、上記接続要求に応じて、相手方に接続許可通知を出力すると共に、上記通信 手段に、相手方との接続を確立させる制御手段と
して機能させることを特徴とするコンピュータ ·プログラムである。
[0049] さらに請求項 8の構成は、請求項 4の構成に対応する構成であり、その具体的構成 は、 コンピュータに読み込まれて実行されることで、該コンピュータを、
自己の固有識別情報を格納しておく自己識別情報格納手段と、
通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の識別情報を格納しておく相手方情報格納手段と、
通信の相手方と自己とのピアツーピア通信を行う通信手段と、
相手方の IPアドレスが変更されたことの通知が受信された場合に、上記通信手段を 介して、新たな相手方の IPアドレス及び相手方の固有の識別情報を受信し、一時的 に格納しておく相手方変更情報格納手段と、
上記相手方情報格納手段に格納された相手方の固有の識別情報と、相手方変更 情報格納手段に格納された相手方の固有の識別情報とを比較する比較手段と、 上記比較手段において、相手方の固有の識別情報の比較結果が一致すると判断 された場合には、相手方情報格納手段における相手方の IPアドレスを新たなものに 更新すると共に、相手方に対し接続要求及び自己の固有の識別情報を送信し、他 方相手方から、上記通信手段を介して接続許可通知が受信された時に、該通信手 段に、相手方との接続を確立させる制御手段と
して機能させることを特徴とするコンピュータ ·プログラムである。
発明の効果
[0050] 本発明のピアツーピア通信装置及びコンピュータ 'プログラムによれば、ピアツーピ ァ通信の再開に、サーバによるマッチング処理を必要としないので、同様にピアツー ピア通信を再開しょうとする通信装置が多数存在していても、再開までの時間は影響 されず、ネットワークへ負荷を与えることもない。
[0051] また、ピアツーピア通信装置の検索に、 UDPブロードキャストあるいはマルチキャス トを利用しないので、ネットワークへ負荷を与えず、また、他通信装置の通信に影響 を与えることもない。
[0052] さらに、ピアツーピア通信の再開のために接続を要求してきた通信装置に対しての 接続を許可するか否かの判断を、他システムを利用せずにピアツーピア通信を行う 通信装置間だけで行うので、通信再開までの時間を短縮することができるようになる
[0053] 特に請求項 3、 4、 7及び 8の構成では、ピアツーピア通信装置の IPアドレスが変更 された場合に、相手方通信装置へ通知しているため、ピアツーピア通信の再開をより 迅速にすることが期待できるようになる。また、ソケット通信のタイムアウトを利用する 場合は、タイムアウト時間の設定如何に拘らず、通信の遅延をタイムアウトと誤判断す ることがなぐまた、タイムアウト時間にも依存しないことになる。
[0054] カロえて、 IPアドレスが変更されたことを通知するパケット及び接続を要求するバケツ トに、通信装置の固有の識別情報を保持させることで、通信装置の詐称を防ぐことが でき、セキュリティを高めることができるようになる。
図面の簡単な説明
[0055] [図 1]通信装置 Aと Bによって、ピアツーピア通信が行われる状態を示す説明図であ る。
[図 2]実施例 1で通信装置 A及び Bに備えられた内部構成説明図である。
[図 3]通信装置 A及び B間で行われていたピアツーピア通信において、所謂ハンドォ 一バー処理で、別の基地局において、該通信装置 Aに新たな IPアドレスが割り当て られた場合の、通信装置 Aにおける作動状態を示す説明図である。
[図 4]新たな IPアドレスの割り当てられた通信装置 A側から、相手方の通信装置 Bに、 接続要求を出力する状態を示す説明図である。
[図 5]相手方の通信装置 Bとの接続が確立されるときの状態を示す説明図である。
[図 6]通信装置 Bとの通信が再開されて、元のようにピアツーピア通信ができる状態に なった時の、通信装置 Aの状態を示す説明図である。
[図 7]通信装置 A及び B間のピアツーピア通信が中断される前の通常のピアツーピア 通信状態が維持されている状態の時の通信装置 Bの状態を示す説明図である。
[図 8]通信装置 A及び B間で一旦通信が中断した後、そのうち通信装置 Aに新たな IP アドレスが割り当てられ、且つ検出手段 52が、相手方の IPアドレスが変更されたこと を検出した場合の、通信装置 Bにおける作動状態を示す説明図である。
[図 9]相手方の通信装置 Aから受信した情報のうち該装置 Aの固有の識別情報と、通 信中断前に記憶されていた相手方の固有の識別情報とを比較して、接続要求をして きた相手方が、中断前の相手方か否かの認証を通信装置 B側で行う状態を示す説 明図である。
園 10]比較手段 71による比較結果において、相手方の 2つの固有の識別情報が一 致した場合の制御手段 8による作動状態を示す説明図である。
園 11]接続許可通知を相手方に出力した後に、制御手段 8により、通信手段 4を介し て、通信装置 A側と接続が確立される状態を示す説明図である。
園 12]通信装置 Aとの通信が再開されて、元のようにピアツーピア通信ができる状態 になった時の、通信装置 Bの状態を示す説明図である。
[図 13]実施例 1の両通信装置 A及び Bにおける、夫々の通信セッション処理フローを 示すフローチャートである。
園 14]通信装置 A及び B間で行われていたピアツーピア通信が一旦中断した後、該 通信装置 Aに、新たな IPアドレスが割り当てられた場合の、通信装置 Aにおける IPァ ドレス変更による通信再開処理の処理フローを示すフローチャートである。
園 15]通信装置 A及び B間で行われていたピアツーピア通信が一旦中断した後、相 手方の通信装置 Aの IPアドレスに変更があったことの検出がなされた場合の、通信 装置 Bにおける IPアドレス変更による通信再開処理の処理フローを示すフローチヤ ートである。
園 16]実施例 2で通信装置 C及び Dに備えられた内部構成説明図である。
[図 17]通信装置 C及び D間で行われていたピアツーピア通信において、所謂ハンド オーバー処理で、別の基地局において、該通信装置 Cに新たな IPアドレスが割り当 てられた場合の、通信装置 Cにおける作動状態を示す説明図である。
園 18]新たな IPアドレスの割り当てられた通信装置 C側から、相手方の通信装置 Dに
、自己の IPアドレスが変更されたことを示す通知を出力する状態を示す説明図である 園 19]通信装置 C及び D間で一旦通信が中断した後、そのうち通信装置 Cに新たな I Pアドレスが割り当てられ、且つ該通信装置 Cから IPアドレスの変更通知が受信され た場合の、通信装置 Dにおける作動状態を示す説明図である。 園 20]相手方の通信装置 Cから受信した情報のうち該装置 Cの固有の識別情報と、 通信中断前に記憶されていた相手方 Cの固有の識別情報とを比較して、 IPアドレス の変更通知をしてきた相手方が、中断前の相手方か否かの認証を通信装置 D側で 行う状態を示す説明図である。
園 21]比較手段 73による比較結果において、相手方の 2つの固有の識別情報が一 致した場合の制御手段 8による作動状態を示す説明図である。
[図 22]通信装置 C側で、上記接続要求が受信された場合の制御手段 8による作動状 態を示す説明図である。
園 23]相手方の通信装置 Dから受信した情報のうち該装置 Dの固有の識別情報と、 通信中断前に記憶されていた相手方 Dの固有の識別情報とを比較して、接続要求を してきた相手方 Dが、中断前の相手方か否かの確認を通信装置 C側で行う状態を示 す説明図である。
園 24]比較手段 72による比較結果において、相手方の 2つの固有の識別情報が一 致した場合の制御手段 8による作動状態を示す説明図である。
[図 25]接続許可通知が受信された後に、制御手段 8により、通信手段 4を介して、通 信装置 D側が、通信装置 C側と接続が確立される状態を示す説明図である。
[図 26]実施例 2の両通信装置 C及び Dにおける、夫々の通信セッション処理フローを 示すフローチャートである。
園 27]通信装置 C及び D間で行われていたピアツーピア通信がー且中断した後、該 通信装置 Cに、新たな IPアドレスが割り当てられた場合の、通信装置 Cにおける IPァ ドレス変更による通信再開処理の処理フローを示すフローチャートである。
園 28]通信装置 C及び D間で行われていたピアツーピア通信がー且中断した後、相 手方の通信装置 Cの IPアドレスに変更があり、その変更通知が受信された場合の、 通信装置 Dにおける IPアドレス変更通知による通信再開処理の処理フローを示すフ ローチャートである。 園 29]通信開始実行手順として、ピアツーピア通信を行う端末の検索に、通信する端 末のマッチング処理を行うためのサーバ SVを利用する場合の従来構成の実施手順 を示す説明図である。 [図 30]通信開始実行手順として、ピアツーピア通信を行う端末の検索に、 UDPのブ ロードキャストあるいはマルチキャストを利用する場合の従来構成の実施手順を示す 説明図である。
符号の説明
[0056] 1 自己識別情報格納手段
2 自己 IPアドレス格納手段
3 相手方情報格納手段
4 通信手段
51、 52、 53 検出手段
61、 62、 63 相手方変更情報格納手段
71、 72、 73 比較手段
8 制御手段
A、 B、 C、 D ピアツーピア通信装置
E、 F、 G、 H ϋ末
SV サーバ
発明を実施するための最良の形態
[0057] 以下、本発明の実施例を、添付図面を参照して説明する。
実施例 1
[0058] 図 1は、請求項 1及び 2の構成が内部構成として用いられた、携帯電話としての通 信装置 Αと Β (後述する実施例 2では通信装置 Cと D)によって、ピアツーピア通信が 行われる状態を示している。両通信装置とも、ピアツーピア通信を開始する前に、各 携帯キャリアの基地局から、夫々に、 IPアドレスが割り当てられる。
[0059] 最初は両方の通信装置 A及び Bがソケットを開く。そして一方が接続要求を出す。
他方はその接続要求を受信し、その要求方との通信が問題なければ、接続許可を送 信する。この接続許可を受け取った側と、接続許可を出力した側の両者で、既に IP アドレスの交換は行われているので、互いの固有の識別情報を送受信すると共に、 それらの各情報を格納し、その後、両者間の接続を確立する。そして、両通信装置の 情報処理 (音声情報処理やデータ送受信のためのパケット通信処理)を行う。 [0060] 上記のように、通信装置を持った者の移動などの理由により、通信装置が接続して レ、る基地局が変更されると、通信装置が保持する IPアドレスは変更されることになる( 無線 LANを利用した通信でも、端末が接続している基地局を変更すると、端末が保 持する IPアドレスは変更されることになる)。それによつて、もう片方の通信装置は、変 更された IPアドレスを認識することができず、ピアツーピア通信は中断されてしまう。 ピアツーピア通信を再開するためには、通信を終了し、再度、ピアツーピア通信を開 始するための手順を実行しなければならない。
[0061] そのための構成として、本実施例 1では、図 2に示すような構成を、これらの通信装 置 A及び Bに備えている。
[0062] すなわち、該通信装置 A及び Bは、 自己識別情報格納手段 1と、自己 IPアドレス格 納手段 2と、相手方情報格納手段 3と、通信手段 4と、検出手段 51又は 52と、相手方 変更情報格納手段 61と、比較手段 71と、制御手段 8とを、その装置構成の一部とし て備えている。
[0063] 上記通信手段 4は、これまでの携帯電話規格(GSM、 W— CDMAや FOMAなど) に沿って構成される通信構成 (チップで構成してレ、ても良レ、)であると共に、通信の相 手方と自己との間でピアツーピア通信を実行する構成である。ここでは、特に上記携 帯電話規格構成の上で、ピアツーピア通信が可能な、これまでの公知の構成 (TCP /IP及び UDP通信が可能な構成)が用いられてレ、る。
[0064] また上記検出手段 51又は 52と、比較手段 71と、制御手段 8とは、これらの通信装 置 A及び Bに備えられた CPU (図示無し)と、 EEP— ROM (図示無し)などに書き込ま れ、前記 CPUに読み込まれて各機能モジュールの実行を行うプログラムとで構成さ れる。
[0065] さらに上記自己識別情報格納手段 1は、 EEP— ROM (図示無し)で構成されている 。また自己 IPアドレス格納手段 2と、相手方情報格納手段 3と、相手方変更情報格納 手段 61は、同じくこれらの通信装置 A及び Bに備えられたフラッシュメモリ(図示無し) で構成されている。
[0066] そのうち、上記自己識別情報格納手段 1は、 自己(通信装置 A又は B)の固有の識 別情報を格納しておく構成である。ここで「固有の」とは、ユニークな、 2つとない、と言 う意味で、個々の通信装置 A、 Bに、各別に割り当てられる。普通携帯電話などは、そ のような固有の識別情報を既に割り当てられており、本構成でも、それを用いても良 レ、。しかし、万が一その情報が他に遺漏することがあっては困るので、本実施例では 、固有の識別情報を発生させる他の装置構成を用いて、その乱数発生回路で任意 の桁数の英数字を発生させ、そして、既に出力している識別情報と同じものがないか を検索して、無ければ、既に出力している識別情報の 1つとして登録を行ったうえで、 それを各通信装置 Aや Bの上記自己識別情報格納手段 1に格納する(記憶せしめる
) o
[0067] 本実施例では、この固有の識別情報を、接続再開のためのピアツーピア通信装置 の認証に利用しているが、認証ための該固有識別情報に、以下のような情報を、一 つ或いは複数組み合わせることで、ピアツーピア通信装置の詐称を防ぐことができる
(a)通信セッションに固有の、推測が困難な ID (セッション ID)を生成し、ピアツーピア 通信装置の予め割り振られた固定情報及び IPアドレスの交換時にセッション IDも交 換しておき、ピアツーピア通信装置の識別情報として、ピアツーピア通信装置の認証 に利用する。
(b)ピアツーピア通信装置の識別情報として、変更される前の IPアドレスをピアツーピ ァ通信装置の認証に利用する。
(c)ピアツーピア通信装置間で通信する信号あるいはパケットに通し番号 (シーケン ス)を振り、ピアツーピア端末の認証時に、このシーケンスを、夫々の固有の識別情報 として照会する。
(d)この他にも、指紋等の生体認証の認証情報を利用する、電子証明書を利用する 、という既存の認証方法を利用し、固有の識別情報とすることができる。
[0068] 他方、上記自己 IPアドレス格納手段 2は、通信用に自己に割り当てられた IPァドレ スを格納しておぐ上記フラッシュメモリで構成されるメモリである。上述のように、 IPァ ドレスは、通信毎に、基地局から、 自動的に割り当てられるので、それを該自己 IPアド レス格納手段 2に格納しておくのである。もちろん、上記のような理由で、 IPアドレス が変更されたら、新しい IPアドレスを格納しておくことになる。 [0069] 上記相手方情報格納手段 3は、接続要求乃至接続許可通知と共に受信された相 手方の IPアドレスと、接続が確立されてから受信される相手方の通信装置の固有の 識別情報を格納しておぐ上記フラッシュメモリで構成されるメモリである。上述のよう に、普通は、相手方とのセッションが開始されて、上記情報が格納され、通常のセッ シヨン終了時にはクリアされる。ただし、ピアツーピア通信が中断された時は、直前の 相手方の IPアドレスと固有の識別情報は、そのまま残されることになる。
[0070] 上記通信手段 4は、上述のように、これまでの携帯電話規格に沿って構成される D SPなどを含む通信構成であると共に、通信の相手方と自己との間でピアツーピア通 信を実行する構成である。ここでは、特に上記携帯電話規格構成の上で、ピアツーピ ァ通信が可能な、 TCP通信や UDP通信が可能な構成が用いられている。通常、相 手方と接続が確立された後は、送信されたパケットを、通常のデータに変換して、通 信装置 Aや Bの他の情報処理構成との間で、該データのやり取りを行う。
[0071] 上記検出手段 51又は 52は、 自己の IPアドレスが変更されたことを検出する(検出 手段 51)機能、又は相手方の IPアドレスが変更されたことを検出する(検出手段 52) 機能を有する構成である。
[0072] 自己の IPアドレスが変更されたことを検出する検出手段 51としては、以下の構成を 採用すること力できる。
(1) OS (オペレーティング 'システム)あるいはアプリケーションの実行環境が提供す る API (アプリケーション 'プログラミング 'インタフェース)を利用する。
(2) /procのような、 OSが提供するシステムの状態を表示するファイルシステムを監 視する。
(3) ifconfigや ipconfigのような、ネットワークインタフェースの状態を取得するコマン ドを利用する。
(4)定期的にソケットを生成し、ローカル側の IPアドレスを監視する。
[0073] また、もう一方の通信装置の検出手段 52において、相手方の IPアドレスが変更さ れたことを検出する手段として、以下の構成を用いることができる。
(5)ソケット通信のタイムアウトを利用する。
(6) ICMP (インターネット 'コントロール 'メッセージ.プロトコノレ)のレスポンスを利用 する。
(7) tracerouteコマンドのような経路情報を確認するコマンドを利用する。
[0074] さらに、一方の IPアドレスが変更されたことを、両方の装置同士で同時に検出処理 するように、一方のピアツーピア通信装置が自己の IPアドレスが変更されたことを、そ の検出手段 51により検出し、他方のピアツーピア通信装置 (IPアドレスの変更のない 装置側)が IPアドレスの変更されたピアツーピア通信装置の IPアドレスが変更された ことを検出する検出手段 52には、互いに定期的にパケットを送信し合うことで、このパ ケットがー定時間届かなくなった場合に、いずれかの通信装置の IPアドレスが変更さ れたと判断し、それぞれ自己の通信装置の IPアドレスが変更されているかどうか確認 することで半 IJ断することちできる。
[0075] 上記相手方変更情報格納手段 61は、上記検出手段 52において、相手方の IPアド レスが変更されたことが検出され、且つ相手方からの接続要求が受信された場合に、 上記通信手段 4を介して、新たな相手方の IPアドレス及び相手方の固有の識別情報 を受信し、一時的に格納しておくフラッシュメモリで構成される。
[0076] 上述のように、普通は、相手方とのセッションが開始されて、相手方情報格納手段 3 に、上記相手方 IPアドレスや固有の識別情報が格納され、通常のセッション終了時 にはクリアされる。しかし、ピアツーピア通信が中断された時は、直前の相手方の IPァ ドレスと固有の識別情報は、そのまま相手方情報格納手段 3に残されることになる。 他方、上記検出手段 52において、相手方の IPアドレスが変更されたことが検出され 、且つ相手方からの接続要求が受信された場合に、上記通信手段 4は、新たな相手 方の IPアドレス及び相手方の固有の識別情報を受信する。その際、本相手方変更 情報格納手段 61は、新たな相手方の IPアドレス及び相手方の固有の識別情報を受 信し、一時的に格納しておくことになる。
[0077] 上記比較手段 71は、上記相手方情報格納手段 3に格納された相手方の固有の識 別情報と、相手方変更情報格納手段 61に格納された相手方の固有の識別情報とを 比較する構成である。その比較結果は、後述する制御手段 8に出力される。ピアツー ピア通信が中断された後、通信を再開する際に、上述のように、相手方の認証を行う 力 本構成が、この認証を行うことになる。すなわち、比較手段 71による、 IPアドレス が変更された側の通信装置から受信された相手方の固有の識別情報と、予め相手 方情報格納手段 3に格納されている相手方の固有の識別情報との比較判断で、そ れまで通信を行っていた相手方(この時点では既に IPアドレスが変更されていて、通 常ではこれまでの相手方か否かが分からない状態になっている)の通信装置であるこ とが認証されることになる(その後、後述する制御手段 8により、変更された IPアドレス を新たなものとして正式に相手方の IPアドレスとして、相手方情報格納手段 3に格納 された情報が更新され、さらに通信再開のための処理が行われることになる)。
[0078] 上記制御手段 8は、 自己の IPアドレスが変更された側の場合と、反対に相手方の I Pアドレスが変更された側の場合とで、その作用 ·機能が異なる。
[0079] そのうち前者の自己の IPアドレスが変更された側の制御手段 8は、上記検出手段 5 1において、 自己の IPアドレスが変更されたことが検出された場合に、上記通信手段 4を介して、相手方に、接続要求を送信し、併せて新たな自己の IPアドレス及び自己 の固有の識別情報を送信せしめる。それと共に、他方相手方から、上記通信手段 4 を介して接続許可通知が受信された時には、該通信手段 4に、相手方との接続を確 立させる機能を奏することになる。
[0080] 他方後者の相手方の IPアドレスが変更された側の制御手段 8は、上記比較手段 71 において、相手方の固有の識別情報の比較結果が一致すると判断された場合に、 相手方情報格納手段 3における相手方の IPアドレスを新たなものに更新する。それと 共に、相手方から出される接続要求に応じて、上記通信手段 4を介して接続許可通 知を、相手方に出力し、該通信手段 4に、相手方との接続を確立させる機能を奏する ことになる。
[0081] 図 3は、通信装置 A及び B間で行われていたピアツーピア通信において、該通信装 置 Aが場所を移動した場合に、最初に IPアドレスを割り当ててくれた基地局から、所 謂ハンドオーバー処理で、新たに電波の届く圏内になった別の基地局において、該 通信装置 Aに新たな IPアドレスが割り当てられた場合の、通信装置 Aにおける作動 状態を示す説明図である。
[0082] 同図に示すように、通信が中断されると、通信手段 4は、自動的に、新たな基地局 を捜査し、該基地局から新たな IPアドレスの割り当てを受ける。そこで検出手段 51に より、 自己の IPアドレスの変更が検出される。それと共に、通信装置 Aでは、制御手 段 8からの指令で、自己 IPアドレス格納手段 2に格納された自己の IPアドレスを、新 たな IPアドレスに更新する。
[0083] 図 4は、新たな IPアドレスの割り当てられた通信装置 A側から、相手方の通信装置 Bに、接続要求を出力する状態を示す説明図である。
[0084] 同図に示すように、検出手段 51から、自己の IPアドレスの変更検出結果力 制御 手段 8に入力されると、該制御手段 8は、 自己識別情報格納手段 1から通信装置 Aの 自己の固有識別情報を、また自己 IPアドレス格納手段 2から通信装置 Aの新たな IP アドレスを読み出す。そして、該制御手段 8は、通信手段 4を介して、これまで通信を 行っていた通信装置 Bの IPアドレスに対して、接続要求、 自己の新たな IPアドレス及 び固有識別情報を送信する。
[0085] 図 5は、相手方の通信装置 Bとの接続が確立されるときの状態を示すものであるの で、後述するように、通信装置 Bにおける図 11の通信再開時の接続確立状態と共に 説明する。
[0086] 図 6は、後述するように、通信装置 Bとの通信が再開されて、元のようにピアツーピア 通信ができる状態になった時の、通信装置 Aの状態を示す説明図である。ピアツー ピア通信が再開されれば、図 2の通常の通信状態に戻ることになる。
[0087] 図 7は、通信装置 A及び B間のピアツーピア通信が中断される前の通常のピアツー ピア通信状態が維持されている状態の時の通信装置 Bの状態を示す説明図である。 ここでは、図 2及び図 6と同様に作動している。
[0088] 図 8は、通信装置 A及び B間でー且通信が中断した後、そのうち通信装置 Aに新た な IPアドレスが割り当てられ、且つ検出手段 52が、相手方(通信装置 A)の IPァドレ スが変更されたことを検出した場合の、通信装置 Bにおける作動状態を示す説明図 である。
[0089] 同図に示すように、検出手段 52により、相手方(通信装置 A)の IPアドレスが変更さ れたことが検出された場合、該検出手段 52は、その検出結果を、制御手段 8に出力 する。そして、通信手段 4により、相手方 (通信装置 A)からの接続要求、新たな IPアド レス及び固有の識別情報が受信されると、制御手段 8は、相手方変更情報格納手段 61にこれらの情報を一時的に格納せしめる。
[0090] 図 9は、相手方の通信装置 Aから受信した情報のうち該装置 Aの固有の識別情報と 、通信中断前に記憶されていた相手方の固有の識別情報とを比較して、接続要求を してきた相手方が、中断前の相手方か否かの認証を通信装置 B側で行う状態を示す 説明図である。
[0091] 同図に示すように、比較手段 71により、相手方情報格納手段 3に格納された元の 相手方 (通信装置 A)の固有の識別情報と、相手方変更情報格納手段 61に格納さ れた接続要求を出力してきた相手方の固有の識別情報とが読み出される。そして該 比較手段 71により、両方の固有の識別情報の比較処理が行われる。
[0092] 図 10は、比較手段 71による比較結果において、相手方 (通信装置 A)の 2つの固 有の識別情報が一致した場合の制御手段 8による作動状態を示す説明図である。
[0093] 同図に示すように、上記比較結果が一致した場合、制御手段 8により、相手方情報 格納手段 3における相手方の IPアドレス力 受信された新たな相手方の IPアドレスに 更新される。それと共に、上記接続要求に応じて、上記通信手段 4を介して、接続許 可通知が、相手方に出力される。
[0094] 図 11は、接続許可通知を相手方に出力した後に、制御手段 8により、通信手段 4を 介して、通信装置 A側と接続が確立される状態を示している。この時は、相手方通信 装置 Aも、すでに接続許可通知を受信しているので、前記図 5に示すように、制御手 段 8により、通信手段 4を介して、通信装置 B側と接続が確立される状態にある。
[0095] 図 12は、図 6と同様、通信装置 Aとの通信が再開されて、元のようにピアツーピア通 信ができる状態になった時の、通信装置 Bの状態を示す説明図である。ピアツーピア 通信が再開されれば、図 2の通常の通信状態に戻ることになる。
[0096] 図 13—図 15は、以上の実施例 1における各処理フローを示すフローチャートであ る。
[0097] そのうち図 13は、両通信装置 A及び Bにおける、夫々の通信セッション処理フロー を示すフローチャートである。
[0098] 同図に示すように、まず、通信装置 A又は Bにおいて、装置のスィッチが ONになる と、夫々の装置のイニシャライズ (初期化)処理が行われる(ステップ S 100)。 [0099] そして、通信のセッションが開始されたか否かがチェックされる(ステップ S102)。該 セッションが開始されていなければ(ステップ S102 ; N)、再びステップ S102の最初 に復帰する。
[0100] 反対に上記セッションが開始されれば (ステップ S102 ;Y)、基地局との間で通信が なされ、その時に該基地局によって割り当てられる IPアドレスが取得される(ステップ S104)。それに伴って、ピアツーピア通信を行うためのソケットが開かれる(ステップ S 106)。
[0101] その後、相手方に接続要求を送信するか否かがチェックされ (ステップ S108)、接 続要求を送信する場合 (ステップ S108 ;Y)は、制御手段 8により、通信手段 4を介し て、相手方に接続要求が送信される (ステップ S110)。その後相手方から接続許可 通知が受信されたか否かがチェックされる (ステップ S 112)。接続許可通知が受信さ れた場合 (ステップ S112 ; Y)は、以下のステップ S120に進む。反対に接続許可通 知が受信されなかった場合(ステップ S112 ; N)は、上記ステップ S108に復帰し、以 上の処理を繰り返す。
[0102] 相手方に接続要求を送信しない場合 (ステップ S108 ; N)は、接続要求の受信がな されたか否かがチェックされる(ステップ S114)。接続要求が受信された場合 (ステツ プ S114 ;Y)、相手方に接続許可通知を送信するか否かがチェックされ (ステップ S1 16)、接続許可通知を送信する場合 (ステップ S116 ; Y)は、制御手段 8により、通信 手段 4を介して、相手方に接続許可通知が送信され (ステップ S118)、以下のステツ プ S120に進む。反対に接続許可通知を送信しない場合 (ステップ S116 ; N)、上記 ステップ S 108に復帰し、以上の処理を繰り返す。
[0103] 接続許可通知が受信された後、又は接続許可通知が送信された後、互いに相手 方の IPアドレスと固有の識別情報の送受信がなされ、夫々相手方情報格納手段 3に 格納される(ステップ S120)。そして互いの制御手段 8により、通信手段 4を介して、 相互の接続が確立される(ステップ S122)。そして任意の情報処理が、ピアツーピア 通信により実行される (ステップ S124)。
[0104] 一定のインターバルで互いの IPアドレスのチェックがなされ(ステップ S126)、 自己 の或いは相手方の IPアドレスに変更がないか否かがチェックされる(ステップ S 128) 。 IPアドレスに変更がなければ(ステップ S128 ; N)、ステップ S124の上記情報処理 に復帰し、以上の処理を繰り返す。
[0105] 反対に IPアドレスに変更があれば(ステップ S128 ;Y)、以下の図 14又は図 15に示 す IPアドレス変更による通信再開処理がなされる(ステップ S 130)。
[0106] その再開処理後、通信のセッションが終了したか否かがチェックされ (ステップ S13
2)、セッションが終了していなければ(ステップ S132 ; N)、ステップ S124の上記情 報処理に復帰し、以上の処理を繰り返す。
[0107] 反対にセッションが終了していれば(ステップ S132 ;Y)、上記ステップ S102に復 帰し、上記処理を繰り返す。
[0108] 図 14は、図 3以下の通信装置 Aに示すように、通信装置 A及び B間で行われてい たピアツーピア通信が一旦中断した後、該通信装置 Aに、新たな IPアドレスが割り当 てられた場合の、通信装置 Aにおける IPアドレス変更による通信再開処理の処理フ ローを示すフローチャートである。
[0109] 同図に示すように、制御手段 8により、相手方(通信装置 B)に対して接続要求が送 信され、且つ変更された自己の新たな IPアドレス及び固有の識別情報が送信される
(ステップ S200)。
[0110] その後相手方から接続許可通知が受信されたか否かがチェックされ (ステップ S20 2)、接続許可通知が受信された場合 (ステップ S202 ;Y)、制御手段 8により、相手方 (通信装置 との接続を確立する処理が行われる(ステップ S 204)。
[0111] 反対に接続許可通知が受信されなかった場合 (ステップ S202 ; N)、上記ステップ S 200に復帰し、以上の処理を繰り返す。
[0112] 図 15は、図 7以下の通信装置 Bに示すように、通信装置 A及び B間で行われていた ピアツーピア通信が一旦中断した後、相手方の通信装置 Aの IPアドレスに変更があ つたことの検出がなされた場合の、通信装置 Bにおける IPアドレス変更による通信再 開処理の処理フローを示すフローチャートである。
[0113] 同図に示すように、相手方 (通信装置 A)から接続要求が受信されたか否かがチェ ックされ (ステップ S300)、接続要求が受信されない場合 (ステップ S300 ; N)、該通 信再開処理は終了する。 [0114] 反対に、接続要求が受信された場合 (ステップ S300 ;Y)、制御手段 8により、相手 方 (通信装置 A)から、変更された相手方の新たな IPアドレス及び固有の識別情報が 受信される(ステップ S302)。そしてそれらの情報は、一旦相手方変更情報格納手 段 61に格納される(ステップ S304)。
[0115] 次に、上記比較手段 71により、相手方情報格納手段 3と相手方変更情報格納手段
61から、夫々に格納された相手方 (通信装置 A)の固有の識別情報が読み出され (ス テツプ S306)、両情報が一致するか否かがチェックされる(ステップ S308)。
[0116] 両情報が一致しない場合 (ステップ S308 ; N)、そこで該通信再開処理は終了する 。反対に両情報が一致すれば (ステップ S308 ;Y)、従前に通信を行っていた相手方 (この時点では既に IPアドレスが変更されていて、通常ではこれまでの相手方か否か が分からない状態になっている)の通信装置 Aであることが認証されたことになり、変 更された IPアドレスを新たなものとし正式に相手方の IPアドレスとして、相手方情報 格納手段 3に格納された相手方 IPアドレスの更新がなされる(ステップ S310)。
[0117] 制御手段 8により、通信手段 4を介して、更新された IPアドレスの相手方に、接続許 可通知が出力され (ステップ S312)、相手方(通信装置 B)との接続を確立する処理 が行われる(ステップ S314)。
[0118] 以上の実施例 1の構成によれば、一方の通信装置 (例えば通信装置 A)で、 自己の IPアドレスが変更されたことが検出手段 51により検出されると、相手方 (IPアドレスの 保たれている側の通信装置 B)に、接続要求を送信し、併せて新たな自己の IPァドレ ス及び自己の固有の識別情報を送信せしめる。他方、 IPアドレスの保たれている側 の通信装置 Bでは、その検出手段 52により、通信の相手方の IPアドレスが変更され たことが検出されると共に、その相手方からの接続要求が、通信手段 4を介して受信 されるので、新たな相手方 (IPアドレスの変更された側通信装置)の IPアドレス及びそ の相手方の固有の識別情報を受信し、相手方変更情報格納手段 61に一時的に格 納しておく。そして、 IPアドレスが保たれている側の通信装置 Bの比較手段 71により、 相手方情報格納手段 3に格納された相手方 (IPアドレスの変更された側通信装置 A) の固有の識別情報と、相手方変更情報格納手段 61に格納された受信された相手方 (IPアドレスの変更された側通信装置 A)の上記の固有の識別情報とが比較される。 その比較処理の実行により、相手方 (IPアドレスが変更された側の通信装置 A)の固 有の識別情報の比較結果が一致すると判断された場合 (所謂相手方の認証ができ た場合)には、その(IPアドレスの保たれている側の通信装置 Bの)制御手段 8により、 相手方情報格納手段 3における相手方 (IPアドレスが変更された側の通信装置 A)の IPアドレスを新たなものに更新すると共に、相手方 (IPアドレスが変更された側の通 信装置 A)に対し、上記接続要求に応じて、その通信手段 4を介して、接続許可通知 を出力する。この結果、 IPアドレスの変更された側の通信装置 Aは、その通信手段 4 により、相手方 (IPアドレスの保たれている側の通信装置 から、接続許可通知を受 信する。そうすると、両通信装置の、夫々の制御手段 8は、各々の通信手段 4を介し て、互いに相手方との接続を確立させることになる。
実施例 2
[0119] 図 16—図 28までは、請求項 3及び 4の構成に相当するピアツーピア通信装置 C及 び Dの間で、ピアツーピア通信処理が行われ、途中ー且その通信が中断されて、通 信が再開されるまでの各通信装置における処理の状態が示されている。
[0120] そのための構成として、本実施例 2では、上記実施例 1の図 2と同様に、図 16に示 すような構成を、これらの通信装置 C及び Dに備えてレ、る。
[0121] すなわち、該通信装置 C及び Dは、 自己識別情報格納手段 1と、 自己 IPアドレス格 納手段 2と、相手方情報格納手段 3と、通信手段 4と、検出手段 53と、相手方変更情 報格納手段 62又は 63と、比較手段 72又は 73と、制御手段 8とを、その装置構成の 一部として備えている。
[0122] 上記自己識別情報格納手段 1、 自己 IPアドレス格納手段 2、相手方情報格納手段
3及び通信手段 4は、上記実施例 1と同じ構成であるので、ここではその詳細な説明 は省略する。
[0123] 上記検出手段 53と、比較手段 72又は 73と、制御手段 8とは、これらの通信装置 C 及び Dに備えられた CPU (図示無し)と、 EEP— ROM (図示無し)などに書き込まれ、 前記 CPUに読み込まれて各機能モジュールの実行を行うプログラムとで構成される
[0124] 本実施例でも、自己識別情報格納手段 1及び相手方情報格納手段 3に格納される 固有の識別情報を、接続再開のためのピアツーピア通信装置の認証に利用している 、認証ための該固有識別情報については、実施例 1で説明したと同じような情報を 用いている。
[0125] 上記検出手段 53は、 自己の IPアドレスが変更されたことを検出する構成であり、実 施例 1の検出手段 51と同じ機能を有している。そのため、該検出手段 53としては、上 記実施例 1と同様な、上記(1)一(7)に示した検出構成を採用することができる。
[0126] 上記相手方変更情報格納手段 62又は 63は、相手方からの接続要求の受信に伴 つて、上記通信手段 4を介して、該接続要求及び相手方の固有の識別情報を受信し 、一時的に格納しておく構成(62)と、相手方の IPアドレスが変更されたことの通知が 受信された場合に、上記通信手段 4を介して、新たな相手方の IPアドレス及び相手 方の固有の識別情報を受信し、一時的に格納しておく構成 (63)との機能を夫々備 えており、これらの情報を格納しておくことが可能なフラッシュメモリで構成される。
[0127] 上述のように、普通は、相手方とのセッションが開始されて、相手方情報格納手段 3 に、上記相手方 IPアドレスや固有の識別情報が格納され、通常のセッション終了時 にはクリアされる。しかし、ピアツーピア通信が中断された時は、直前の相手方の IPァ ドレスと固有の識別情報は、そのまま相手方情報格納手段 3に残されることになる。 他方、 IPアドレスが変更された側の通信装置 (本実施例では説明の都合上通信装置 Cを IPアドレスが変更された側の通信装置とする)の上記検出手段 53において、 自 己の IPアドレスが変更されたことが検出された場合、その IPアドレスが変更された通 信装置 C側の上記通信手段 4により、その変更通知が相手方に送信される(通信装 置 Dからすれば、通信装置 Cから IPアドレスの変更通知が受信される)。この変更通 知を受信した IPアドレスの変更のない通信装置 D側の上記通信手段 4により、その変 更通知は制御手段 8に伝達され、他方この変更通知と共に、 IPアドレスが変更された 通信装置 C側の上記通信手段 4によって、送信されてくる、新たな IPアドレス及びそ の固有の識別情報は、通信装置 D側で相手方変更情報格納手段 63に、一時的に 格糸内されることになる。
[0128] 上記比較手段 72及び 73は、両装置 C又は Dとも、後述する図 20及び図 23に示す ように、上記相手方情報格納手段 3に格納された相手方の固有の識別情報と、相手 方変更情報格納手段 62又は 63に格納された相手方の固有の識別情報とを比較す る構成である。
[0129] その比較結果は、後述する制御手段 8に出力される。ピアツーピア通信が中断され た後、通信を再開する際に、上述のように、相手方の認証と確認を行うが、これらの 構成が、該認証と確認を行うことになる。
[0130] すなわち、図 20に示すように、通信装置 D側の比較手段 73により、 IPアドレスが変 更された側の通信装置 Cから受信された相手方の固有の識別情報と、予め相手方情 報格納手段 3に格納されている相手方の固有の識別情報との比較判断で、それまで 通信を行っていた相手方 (この時点では既に IPアドレスが変更されていて、通常では これまでの相手方か否かが分からない状態になっている)の通信装置 Cであることが 認証されることになる(その後、後述する制御手段 8により、変更された IPアドレスを新 たなものとして正式に相手方の IPアドレスとして、相手方情報格納手段 3に格納され た情報が更新され、さらに通信再開のための処理が行われることになる)。
[0131] 他方、図 21—図 23に示されるように、通信装置 D側での上記認証が行われると、 該通信装置 D側からは、制御手段 8により、通信装置 C側に対して接続要求と通信装 置 D側の固有の識別情報が送信されるので、これらの情報は、相手方変更情報格納 手段 62に格納され、その後通信装置 C側の比較手段 72により、 IPアドレスの変更の ない側の通信装置 Dから受信された固有の識別情報と、通信装置 C側で予め相手方 情報格納手段 3に格納されている固有の識別情報とが、比較判断され、通信を再開 しょうとする IPアドレスの変更のない側の通信装置 Dであることが確認されることにな る(その後、後述する制御手段 8により、通信再開のための処理が行われることになる
[0132] 上記制御手段 8は、 自己の IPアドレスが変更された側の場合と、反対に IPアドレス の変更通知を受信した側の場合とで、その作用 ·機能が異なる。
[0133] そのうち前者の自己の IPアドレスが変更された側の制御手段 8は、上記検出手段 5 3において、図 18に示すように、 自己の IPアドレスが変更されたことが検出された場 合に、上記通信手段 4を介して、相手方に、接続要求を送信し、併せて新たな自己 の IPアドレス及び自己の固有の識別情報を送信せしめる。他方、図 23—図 25に示 すように、上記比較手段 72において、 IPアドレスの変更のない側の固有の識別情報 の比較結果が一致すると判断された場合(固有の識別情報の確認がなされた場合) には、 IPアドレスの変更のない側から出力された接続要求に応じて、相手方(IPアド レスの変更のない側)に接続許可通知を出力すると共に、上記通信手段 4に、相手 方との接続を確立させる機能を奏することになる。
[0134] 他方後者の IPアドレスの変更通知を受信した通信装置 D側の制御手段 8は、上記 比較手段 73において、相手方 (IPアドレスが変更された側)の固有の識別情報の比 較結果が一致すると判断された場合(固有の識別情報により相手方の認証ができた 場合)に、図 21に示すように、相手方情報格納手段 3における相手方の IPアドレスを 新たなものに更新する。それと共に、相手方に対して、接続要求と、相手方における 本通信装置 Dの確認のため(自己)の固有の識別情報を送信する。他方、図 25に示 すように、 IPアドレスが変更された側の相手方から、上記通信手段 4を介して接続許 可通知が受信された時に、該通信手段 4に、 IPアドレスが変更された側の相手方との 接続を確立させる機能を奏することになる。
[0135] 図 17は、通信装置 C及び D間で行われていたピアツーピア通信において、該通信 装置 Cが場所を移動した場合に、最初に IPアドレスを割り当ててくれた基地局から、 所謂ハンドオーバー処理で、新たに電波の届く圏内になった別の基地局において、 該通信装置 Cに新たな IPアドレスが割り当てられた場合の、通信装置 Cにおける作 動状態を示す説明図である。
[0136] 同図に示すように、通信が中断されると、通信手段 4は、自動的に、新たな基地局 を搜查し、該基地局から新たな IPアドレスの割り当てを受ける。そこで検出手段 53に より、 自己の IPアドレスの変更が検出される。それと共に、通信装置 Cでは、制御手 段 8からの指令で、自己 IPアドレス格納手段 2に格納された自己の IPアドレスを、新 たな IPアドレスに更新する。
[0137] 図 18は、新たな IPアドレスの割り当てられた通信装置 C側から、相手方 (IPアドレス の変更の無かった方)の通信装置 Dに、 自己の IPアドレスが変更されたことを示す通 知を出力する状態を示す説明図である。
[0138] 同図に示すように、検出手段 53から、自己の IPアドレスの変更検出結果力 制御 手段 8に入力されると、該制御手段 8は、 自己識別情報格納手段 1から通信装置 Cの 自己の固有識別情報を、また自己 IPアドレス格納手段 2から通信装置 Cの新たな IP アドレスを読み出す。そして、該制御手段 8は、通信手段 4を介して、これまで通信を 行っていた通信装置 Dの IPアドレスに対して、 自己の IPアドレスの上記変更通知と共 に、 自己の新たな IPアドレス及び固有識別情報を送信する。
[0139] 図 19は、通信装置 C及び D間で一旦通信が中断した後、そのうち通信装置 Cに新 たな IPアドレスが割り当てられ、且つ該通信装置 Cから IPアドレスの変更通知が受信 された場合の、通信装置 Dにおける作動状態を示す説明図である。
[0140] 同図に示すように、通信装置 Cから IPアドレスの変更通知が受信された場合、通信 装置 D側の通信手段 4は、その変更通知の受信信号を、制御手段 8に出力する。そ して、通信手段 4により、相手方 (通信装置 A)から送信されてくる、新たな IPアドレス 及び固有の識別情報が受信されると、制御手段 8は、相手方変更情報格納手段 63 にこれらの情報を一時的に格納せしめる。
[0141] 図 20は、相手方の通信装置 Cから受信した情報のうち該装置 Cの固有の識別情報 と、通信中断前に記憶されていた相手方 Cの固有の識別情報とを比較して、 IPァドレ スの変更通知をしてきた相手方が、中断前の相手方か否かの認証を通信装置 D側 で行う状態を示す説明図である。
[0142] 同図に示すように、比較手段 73により、相手方情報格納手段 3に格納された元の 相手方(通信装置 C)の固有の識別情報と、相手方変更情報格納手段 63に格納され た IPアドレス変更通知を送信してきた相手方の固有の識別情報とが読み出される。 そして該比較手段 73により、両方の固有の識別情報の比較処理が行われる。
[0143] 図 21は、比較手段 73による比較結果において、相手方 (通信装置 C)の 2つの固 有の識別情報が一致した場合の制御手段 8による作動状態を示す説明図である。
[0144] 同図に示すように、上記比較結果が一致した場合、制御手段 8により、相手方情報 格納手段 3における相手方の IPアドレス力 S、受信された新たな相手方の IPアドレスに 更新される。それと共に、上記通信手段 4を介して、相手方に、接続要求と自己 Dの 固有の識別情報が、出力される。
[0145] 図 22は、通信装置 C側で、上記接続要求が受信された場合の制御手段 8による作 動状態を示す説明図である。
[0146] 同図に示すように、その信号を受けた制御手段 8により、一緒に送られてくる相手方 Dの固有の識別情報力 S、相手方変更情報格納手段 62に格納されることになる。
[0147] 図 23は、相手方の通信装置 Dから受信した情報のうち該装置 Dの固有の識別情報 と、通信中断前に記憶されていた相手方 Dの固有の識別情報とを比較して、接続要 求をしてきた相手方 Dが、中断前の相手方か否かの確認を通信装置 C側で行う状態 を示す説明図である。
[0148] 同図に示すように、比較手段 72により、相手方情報格納手段 3に格納された相手 方 (通信装置 D)の固有の識別情報と、相手方変更情報格納手段 62に格納された、 接続要求を送信してきた相手方の固有の識別情報とが読み出される。そして該比較 手段 72により、両方の固有の識別情報の比較処理が行われる。
[0149] 図 24は、比較手段 72による比較結果において、相手方 (通信装置 D)の 2つの固 有の識別情報が一致した場合の制御手段 8による作動状態を示す説明図である。
[0150] 同図に示すように、上記比較結果が一致した場合、制御手段 8により、上記通信手 段 4を介して、相手方に、接続許可通知が出力され、且つ通信装置 D側との接続が 確立される。
[0151] 図 25は、接続許可通知が受信された後に、制御手段 8により、通信手段 4を介して 、通信装置 D側が、通信装置 C側と接続が確立される状態を示している。この時は、 相手方通信装置 Cも、すでに接続許可通知を送信しているので、図 24及び図 25に 示すように、互いの制御手段 8により、通信手段 4を介して、双方の通信接続が確立 される状態にある。
[0152] その後、通信装置 Cと Dとの通信が再開されて、元のようにピアツーピア通信ができ る状態になる。ピアツーピア通信が再開されれば、図 16の通常の通信状態に戻るこ とになる。
[0153] 図 26—図 28は、以上の実施例 2における各処理フローを示すフローチャートであ る。
[0154] そのうち図 26は、両通信装置 C及び Dにおける、夫々の通信セッション処理フロー を示すフローチャートである。 [0155] 同図に示すように、まず、通信装置 C又は Dにおいて、装置のスィッチが ONになる と、夫々の装置のイニシャライズ (初期化)処理が行われる(ステップ S400)。
[0156] そして、通信のセッションが開始されたか否かがチェックされる(ステップ S402)。該 セッションが開始されていなければ(ステップ S402 ; N)、再びステップ S402の最初 に復帰する。
[0157] 反対に上記セッションが開始されれば (ステップ S402 ;Y)、基地局との間で通信が なされ、その時に該基地局によって割り当てられる IPアドレスが取得される(ステップ S404)。それに伴って、ピアツーピア通信を行うためのソケットが開かれる(ステップ S 406)。
[0158] その後、相手方に接続要求を送信するか否かがチェックされ (ステップ S408)、接 続要求を送信する場合 (ステップ S408 ;Y)は、制御手段 8により、通信手段 4を介し て、相手方に接続要求が送信される(ステップ S410)。その後相手方から接続許可 通知が受信されたか否かがチェックされる (ステップ S412)。接続許可通知が受信さ れた場合 (ステップ S412 ;Y)は、以下のステップ S420に進む。反対に接続許可通 知が受信されなかった場合(ステップ S412 ; N)は、上記ステップ S408に復帰し、以 上の処理を繰り返す。
[0159] 相手方に接続要求を送信しない場合 (ステップ S408 ; N)は、接続要求の受信がな されたか否かがチェックされる(ステップ S414)。接続要求が受信された場合 (ステツ プ S414 ;Y)、相手方に接続許可通知を送信するか否かがチェックされ (ステップ S4 16)、接続許可通知を送信する場合 (ステップ S416 ;Y)は、制御手段 8により、通信 手段 4を介して、相手方に接続許可通知が送信され (ステップ S418)、以下のステツ プ S420に進む。反対に接続許可通知を送信しない場合 (ステップ S416 ; N)、上記 ステップ S408に復帰し、以上の処理を繰り返す。
[0160] 接続許可通知が受信された後、又は接続許可通知が送信された後、互いに相手 方の IPアドレスと固有の識別情報の送受信がなされ、夫々相手方情報格納手段 3に 格納される(ステップ S420)。そして互いの制御手段 8により、通信手段 4を介して、 相互の接続が確立される(ステップ S422)。そして任意の情報処理が、ピアツーピア 通信により実行される (ステップ S424)。 [0161] 一定のインターバルで、互いに自己の IPアドレスのチェック及び相手方からの IPァ ドレスの変更通知のチェックがなされ(ステップ S426)、自己の IPアドレスに変更があ るか否か、及び相手方からの IPアドレスの変更通知があつたか否かがチェックされる( ステップ S428)。 自己の IPアドレスに変更がなレ、、又は相手方からの IPアドレスの変 更通知がなければ(ステップ S428 ; N)、ステップ S424の上記情報処理に復帰し、 以上の処理を繰り返す。
[0162] 反対に自己の IPアドレスに変更がある、又は相手方からの IPアドレスの変更通知が あれば(ステップ S428 ;Y)、以下の図 27又は図 28に示す自己の IPアドレス変更に よる通信再開処理又は相手方からの IPアドレスの変更通知による通信再開処理がな される(ステップ S430)。
[0163] その再開処理後、通信のセッションが終了したか否かがチェックされ (ステップ S43 2)、セッションが終了していなければ(ステップ S432 ; N)、ステップ S424の上記情 報処理に復帰し、以上の処理を繰り返す。
[0164] 反対にセッションが終了していれば(ステップ S432 ;Y)、上記ステップ S402に復 帰し、上記処理を繰り返す。
[0165] 図 27は、図 17以下の通信装置 Cに示すように、通信装置 C及び D間で行われてい たピアツーピア通信が一旦中断した後、該通信装置 Cに、新たな IPアドレスが割り当 てられた場合の、通信装置 Cにおける IPアドレス変更による通信再開処理の処理フ ローを示すフローチャートである。
[0166] 同図に示すように、制御手段 8により、相手方(通信装置 D)に対して、 自己の IPァ ドレスの変更通知が送信され、且つ変更された自己の新たな IPアドレス及び固有の 識別情報が送信される(ステップ S500)。
[0167] その後相手方から接続要求が受信されたか否かがチェックされ (ステップ S502)、 接続要求が受信された場合 (ステップ S502 ;Y)、制御手段 8により、相手方 (通信装 置 D)から、固有の識別情報が受信され、一旦相手方変更情報格納手段 62に格納さ れる(ステップ S 504)。
[0168] 次に、上記比較手段 72により、相手方情報格納手段 3と相手方変更情報格納手段
62から、夫々に格納された相手方 (通信装置 D)の固有の識別情報が読み出され (ス テツプ S506)、両情報が一致するか否かがチェックされる(ステップ S508)。
[0169] 両情報が一致しない場合 (ステップ S508 ; N)、そこで該通信再開処理は終了する 。反対に両情報が一致すれば (ステップ S508 ;Y)、従前に通信を行っていた相手方 (この時点では既に IPアドレスの変更のない相手方)の通信装置 Dであることが確認 されたことになり、制御手段 8により、通信手段 4を介して、通信装置 Dの元々の IPァ ドレスに、接続許可通知が出力され (ステップ S510)、相手方 (通信装置 D)との接続 を確立する処理が行われる(ステップ S512)。
[0170] 図 28は、図 19以下の通信装置 Dに示すように、通信装置 C及び D間で行われてい たピアツーピア通信が一旦中断した後、相手方の通信装置 Cの IPアドレスに変更が あり、その変更通知が受信された場合の、通信装置 Dにおける IPアドレス変更通知 による通信再開処理の処理フローを示すフローチャートである。
[0171] 同図に示すように、相手方 (通信装置 C)から IPアドレスの変更通知が受信され、且 つ相手方の新たな IPアドレスと固有の識別情報が受信され (ステップ S600)、ー且 相手方変更情報格納手段 63に格納される(ステップ S602)。
[0172] 次に、上記比較手段 73により、相手方情報格納手段 3と相手方変更情報格納手段
63から、夫々に格納された相手方 (通信装置 C)の固有の識別情報が読み出され (ス テツプ S604)、両情報が一致するか否かがチェックされる(ステップ S606)。
[0173] 両情報が一致しない場合 (ステップ S606 ; N)、そこで該通信再開処理は終了する 。反対に両情報が一致すれば (ステップ S606 ;Y)、従前に通信を行っていた相手方 (この時点では既に IPアドレスが変更されていて、通常ではこれまでの相手方か否か が分からない状態になっている)の通信装置 Cであることが認証されたことになり、変 更された IPアドレスを新たなものとし、正式に相手方の IPアドレスとして、相手方情報 格納手段 3に格納された相手方 IPアドレスの更新がなされる(ステップ S608)。
[0174] 制御手段 8により、通信手段 4を介して、更新された IPアドレスの相手方に、接続要 求と自己の固有の識別情報が送信される (ステップ S610)。
[0175] そして、相手方から接続許可通知が受信されたか否かがチェックされ (ステップ S61 2)、接続許可通知が受信されていなければ (ステップ S612 ; N)、通信再開処理は終 了する。 [0176] しかし、接続許可通知が受信されていれば (ステップ S612 ; Y)、相手方 (通信装置 C)との接続を確立する処理が行われる(ステップ S614)。
[0177] 本実施例 2の構成では、一方の通信装置 Cで、 自己の IPアドレスが変更されたこと を検出手段 53により検出し、その変更通知を、相手方 (IPアドレスの保たれている側 の通信装置)の通信装置 Dに送信する。他方、それを受けた IPアドレスの保たれてい る側の通信装置 Dでは、新たな相手方 (IPアドレスが変更された側の通信装置 C)の I Pアドレス及び相手方の固有の識別情報を受信し、その(IPアドレスの保たれている 側の通信装置 Dの)相手方変更情報格納手段 63に一時的に格納しておく。そしてそ の(IPアドレスの保たれている側の通信装置 Dの)比較手段 73において、相手方情 報格納手段 3に格納された相手方 (IPアドレスが変更された側の通信装置 C)の固有 の識別情報と、相手方変更情報格納手段 63に格納された相手方 (IPアドレスが変更 された側の通信装置 C)の固有の識別情報との比較処理を実行し、相手方 (IPァドレ スが変更された側の通信装置 C)の固有の識別情報の比較結果が一致すると判断さ れた場合 (所謂相手方の認証ができた場合)には、その(IPアドレスの保たれている 側の通信装置 Dの)制御手段 8により、相手方情報格納手段 3における相手方 (IPァ ドレスが変更された側の通信装置 C)の IPアドレスを新たなものに更新すると共に、相 手方 (IPアドレスが変更された側の通信装置 C)に対し接続要求及び自己の固有の 識別情報を送信する。 IPアドレスが変更された通信装置 C側では、その接続要求の 受信に伴って、上記通信手段 4を介して、該接続要求及び相手方の固有の識別情 報を受信し、相手方変更情報格納手段 62に一時的に格納しておく。そしてその比較 手段 72において、相手方情報格納手段 3に格納された相手方の固有の識別情報と 、相手方変更情報格納手段 62に格納された相手方の固有の識別情報とが比較され 、該比較手段 72において、相手方の固有の識別情報の比較結果が一致すると判断 された場合には、上記接続要求に応じて、その制御手段 8により、相手方に接続許 可通知を出力する。そうすると、双方の制御手段 8は、通信手段 4を介して、互いに相 手方との接続を確立させることになる。
[0178] 尚、本発明のピアツーピア通信装置は、上記した実施例に限定されるものではなく 、本発明の要旨を逸脱しない範囲内において種々変更を加え得ることは勿論である 産業上の利用可能性
本発明のピアツーピア通信装置では、他の機器や外部のネットワークの利用をせ ず、またネットワークへの負荷も少なぐ再開までの時間が短時間で済み、高セキユリ ティで通信再開が可能なピアツーピア通信を実施できるため、携帯電話や PDAなど の携帯端末、モバイルコンピュータなど、或いはその他の持ち運び可能な通信手段 に有効に活用できるようになる。例えば、 自動車、船舶、飛行機などの通信装置とし て利用することも可能である。

Claims

請求の範囲
[1] 自己の固有識別情報を格納しておく自己識別情報格納手段と、
通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の識別情報を格納しておく相手方情報格納手段と、
通信の相手方と自己とのピアツーピア通信を行う通信手段と、
自己の IPアドレスが変更されたことを検出する検出手段と、
上記検出手段において、 自己の IPアドレスが変更されたことが検出された場合には 、上記通信手段を介して、相手方に、接続要求を送信し、併せて新たな自己の IPァ ドレス及び自己の固有の識別情報を送信せしめると共に、他方相手方から、上記通 信手段を介して接続許可通知が受信された時に、該通信手段に、相手方との接続を 確立させる制御手段と
を有することを特徴とするピアツーピア通信装置。
[2] 自己の固有識別情報を格納しておく自己識別情報格納手段と、
通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の識別情報を格納しておく相手方情報格納手段と、
通信の相手方と自己とのピアツーピア通信を行う通信手段と、
相手方の IPアドレスが変更されたことを検出する検出手段と、
上記検出手段において、相手方の IPアドレスが変更されたことが検出され、且つ相 手方からの接続要求が受信された場合に、上記通信手段を介して、新たな相手方の
IPアドレス及び相手方の固有の識別情報を受信し、一時的に格納しておく相手方変 更情報格納手段と、
上記相手方情報格納手段に格納された相手方の固有の識別情報と、相手方変更 情報格納手段に格納された相手方の固有の識別情報とを比較する比較手段と、 上記比較手段において、相手方の固有の識別情報の比較結果が一致すると判断 された場合には、相手方情報格納手段における相手方の IPアドレスを新たなものに 更新すると共に、上記接続要求に応じて、上記通信手段を介して接続許可通知を、 相手方に出力し、該通信手段に、相手方との接続を確立させる制御手段と を有することを特徴とするピアツーピア通信装置。
[3] 自己の固有識別情報を格納しておく自己識別情報格納手段と、
通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の識別情報を格納しておく相手方情報格納手段と、
通信の相手方と自己とのピアツーピア通信を行う通信手段と、
自己の IPアドレスが変更されたことを検出する検出手段と、
相手方からの接続要求の受信に伴って、上記通信手段を介して、該接続要求及び 相手方の固有の識別情報を受信し、一時的に格納しておく相手方変更情報格納手 段と、
上記相手方情報格納手段に格納された相手方の固有の識別情報と、相手方変更 情報格納手段に格納された相手方の固有の識別情報とを比較する比較手段と、 上記検出手段において、 自己の IPアドレスが変更されたことが検出された場合には 、上記通信手段を介して、相手方に、 自己の IPアドレスの変更通知を送信し、併せて 新たな自己の IPアドレス及び自己の固有の識別情報を送信せしめ、他方上記比較 手段において、相手方の固有の識別情報の比較結果が一致すると判断された場合 には、上記接続要求に応じて、相手方に接続許可通知を出力すると共に、上記通信 手段に、相手方との接続を確立させる制御手段と
を有することを特徴とするピアツーピア通信装置。
[4] 自己の固有識別情報を格納しておく自己識別情報格納手段と、
通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の識別情報を格納しておく相手方情報格納手段と、 通信の相手方と自己とのピアツーピア通信を行う通信手段と、
相手方の IPアドレスが変更されたことの通知が受信された場合に、上記通信手段を 介して、新たな相手方の IPアドレス及び相手方の固有の識別情報を受信し、一時的 に格納しておく相手方変更情報格納手段と、
上記相手方情報格納手段に格納された相手方の固有の識別情報と、相手方変更 情報格納手段に格納された相手方の固有の識別情報とを比較する比較手段と、 上記比較手段において、相手方の固有の識別情報の比較結果が一致すると判断 された場合には、相手方情報格納手段における相手方の IPアドレスを新たなものに 更新すると共に、相手方に対し接続要求及び自己の固有の識別情報を送信し、他 方相手方から、上記通信手段を介して接続許可通知が受信された時に、該通信手 段に、相手方との接続を確立させる制御手段と
を有することを特徴とするピアツーピア通信装置。
[5] コンピュータに読み込まれて実行されることで、該コンピュータを、
自己の固有識別情報を格納しておく自己識別情報格納手段と、
通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の識別情報を格納しておく相手方情報格納手段と、
通信の相手方と自己とのピアツーピア通信を行う通信手段と、
自己の IPアドレスが変更されたことを検出する検出手段と、
上記検出手段において、 自己の IPアドレスが変更されたことが検出された場合には 、上記通信手段を介して、相手方に、接続要求を送信し、併せて新たな自己の IPァ ドレス及び自己の固有の識別情報を送信せしめると共に、他方相手方から、上記通 信手段を介して接続許可通知が受信された時に、該通信手段に、相手方との接続を 確立させる制御手段と
して機能させることを特徴とするコンピュータ ·プログラム。
[6] コンピュータに読み込まれて実行されることで、該コンピュータを、
自己の固有識別情報を格納しておく自己識別情報格納手段と、 通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の識別情報を格納しておく相手方情報格納手段と、
通信の相手方と自己とのピアツーピア通信を行う通信手段と、
相手方の IPアドレスが変更されたことを検出する検出手段と、
上記検出手段において、相手方の IPアドレスが変更されたことが検出され、且つ相 手方からの接続要求が受信された場合に、上記通信手段を介して、新たな相手方の
IPアドレス及び相手方の固有の識別情報を受信し、一時的に格納しておく相手方変 更情報格納手段と、
上記相手方情報格納手段に格納された相手方の固有の識別情報と、相手方変更 情報格納手段に格納された相手方の固有の識別情報とを比較する比較手段と、 上記比較手段において、相手方の固有の識別情報の比較結果が一致すると判断 された場合には、相手方情報格納手段における相手方の IPアドレスを新たなものに 更新すると共に、上記接続要求に応じて、上記通信手段を介して接続許可通知を、 相手方に出力し、該通信手段に、相手方との接続を確立させる制御手段と して機能させることを特徴とするコンピュータ ·プログラム。
コンピュータに読み込まれて実行されることで、該コンピュータを、
自己の固有識別情報を格納しておく自己識別情報格納手段と、
通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の識別情報を格納しておく相手方情報格納手段と、
通信の相手方と自己とのピアツーピア通信を行う通信手段と、
自己の IPアドレスが変更されたことを検出する検出手段と、
相手方からの接続要求の受信に伴って、上記通信手段を介して、該接続要求及び 相手方の固有の識別情報を受信し、一時的に格納しておく相手方変更情報格納手 段と、 上記相手方情報格納手段に格納された相手方の固有の識別情報と、相手方変更 情報格納手段に格納された相手方の固有の識別情報とを比較する比較手段と、 上記検出手段において、 自己の IPアドレスが変更されたことが検出された場合には 、上記通信手段を介して、相手方に、 自己の IPアドレスの変更通知を送信し、併せて 新たな自己の IPアドレス及び自己の固有の識別情報を送信せしめ、他方上記比較 手段において、相手方の固有の識別情報の比較結果が一致すると判断された場合 には、上記接続要求に応じて、相手方に接続許可通知を出力すると共に、上記通信 手段に、相手方との接続を確立させる制御手段と
して機能させることを特徴とするコンピュータ ·プログラム。
コンピュータに読み込まれて実行されることで、該コンピュータを、
自己の固有識別情報を格納しておく自己識別情報格納手段と、
通信用に自己に割り当てられた IPアドレスを格納しておく自己 IPアドレス格納手段 と、
接続が確立された際通信の相手方より受信した、相手方 IPアドレス及び相手方の 固有の識別情報を格納しておく相手方情報格納手段と、
通信の相手方と自己とのピアツーピア通信を行う通信手段と、
相手方の IPアドレスが変更されたことの通知が受信された場合に、上記通信手段を 介して、新たな相手方の IPアドレス及び相手方の固有の識別情報を受信し、一時的 に格納しておく相手方変更情報格納手段と、
上記相手方情報格納手段に格納された相手方の固有の識別情報と、相手方変更 情報格納手段に格納された相手方の固有の識別情報とを比較する比較手段と、 上記比較手段において、相手方の固有の識別情報の比較結果が一致すると判断 された場合には、相手方情報格納手段における相手方の IPアドレスを新たなものに 更新すると共に、相手方に対し接続要求及び自己の固有の識別情報を送信し、他 方相手方から、上記通信手段を介して接続許可通知が受信された時に、該通信手 段に、相手方との接続を確立させる制御手段と
して機能させることを特徴とするコンピュータ ·プログラム。
PCT/JP2005/002861 2004-06-30 2005-02-23 ピアツーピア通信装置及びコンピュータ・プログラム WO2006003739A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005518946A JP3892031B2 (ja) 2004-06-30 2005-02-23 ピアツーピア通信装置及びコンピュータ・プログラム

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2004220952 2004-06-30
JP2004-220952 2004-06-30
JP2004260297 2004-08-11
JP2004-260297 2004-08-11

Publications (1)

Publication Number Publication Date
WO2006003739A1 true WO2006003739A1 (ja) 2006-01-12

Family

ID=35782554

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2005/002861 WO2006003739A1 (ja) 2004-06-30 2005-02-23 ピアツーピア通信装置及びコンピュータ・プログラム

Country Status (2)

Country Link
JP (1) JP3892031B2 (ja)
WO (1) WO2006003739A1 (ja)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010041585A (ja) * 2008-08-07 2010-02-18 Fujitsu Ltd 基地局およびデータ転送方法
JP2014506078A (ja) * 2011-01-11 2014-03-06 クゥアルコム・インコーポレイテッド 非アクセス層手順を介したピアツーピア承認のためのシステム及び方法
JP2016019048A (ja) * 2014-07-04 2016-02-01 ソフトバンク株式会社 通信端末装置
JP2018518887A (ja) * 2015-05-18 2018-07-12 華為技術有限公司Huawei Technologies Co.,Ltd. D2d通信におけるipアドレス割振り方法およびユーザ機器
JP2021027587A (ja) * 2019-07-30 2021-02-22 ウォルトン アドバンスト エンジニアリング インクWalton Advanced Engineering Inc. P2pデバイス接続方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002094505A (ja) * 2000-09-14 2002-03-29 World Axle Kk 通信システムおよび方法
JP2002344484A (ja) * 2001-05-21 2002-11-29 Nec Corp ネットワークの接続復旧方法及びシステム
JP2004274652A (ja) * 2003-03-12 2004-09-30 Hitachi Ltd Ip網用の移動端末およびパケット通信方法
JP2005039832A (ja) * 2003-07-14 2005-02-10 Microsoft Corp サブスクライブ−通知サービスとの仮想接続

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002094505A (ja) * 2000-09-14 2002-03-29 World Axle Kk 通信システムおよび方法
JP2002344484A (ja) * 2001-05-21 2002-11-29 Nec Corp ネットワークの接続復旧方法及びシステム
JP2004274652A (ja) * 2003-03-12 2004-09-30 Hitachi Ltd Ip網用の移動端末およびパケット通信方法
JP2005039832A (ja) * 2003-07-14 2005-02-10 Microsoft Corp サブスクライブ−通知サービスとの仮想接続

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010041585A (ja) * 2008-08-07 2010-02-18 Fujitsu Ltd 基地局およびデータ転送方法
JP2014506078A (ja) * 2011-01-11 2014-03-06 クゥアルコム・インコーポレイテッド 非アクセス層手順を介したピアツーピア承認のためのシステム及び方法
US9826404B2 (en) 2011-01-11 2017-11-21 Qualcomm Incorporated System and method for peer-to-peer authorization via non-access stratum procedures
JP2016019048A (ja) * 2014-07-04 2016-02-01 ソフトバンク株式会社 通信端末装置
JP2018518887A (ja) * 2015-05-18 2018-07-12 華為技術有限公司Huawei Technologies Co.,Ltd. D2d通信におけるipアドレス割振り方法およびユーザ機器
US10798054B2 (en) 2015-05-18 2020-10-06 Huawei Technologies Co., Ltd. IP address allocation method in D2D communication and user equipment
JP2021027587A (ja) * 2019-07-30 2021-02-22 ウォルトン アドバンスト エンジニアリング インクWalton Advanced Engineering Inc. P2pデバイス接続方法

Also Published As

Publication number Publication date
JP3892031B2 (ja) 2007-03-14
JPWO2006003739A1 (ja) 2008-04-17

Similar Documents

Publication Publication Date Title
US8046583B2 (en) Wireless terminal
US8375207B2 (en) Method and apparatus for authenticating a network device
JP5402926B2 (ja) 通信装置、通信方法および通信制御プログラム
JP5115561B2 (ja) 無線通信端末、方法、プログラム、記録媒体、および無線通信システム
JP4405360B2 (ja) ファイアウォールシステム及びファイアウォール制御方法
CN110324829B (zh) 通信装置和记录介质
US8230221B2 (en) Routing advertisement authentication in fast router discovery
WO2009090709A1 (ja) 無線通信端末及び無線通信方法
US8446843B2 (en) Rapid local address assignment for wireless communication networks
KR20080032114A (ko) 이동 장치의 네트워크 어드레스 변경을 위한 방법 및 장치
KR20050098914A (ko) 모바일 노드 위치 정보를 갱신하는 방법들 및 장치
US20050071682A1 (en) Layer 2 switch device with verification management table
US10448253B2 (en) Wireless terminal
JP7263098B2 (ja) 端末、通信方法、および、プログラム
WO2009085567A1 (en) Method for authentication in a communication network
JP2006014312A (ja) Ieee802.11を基盤とする無線プリンティングシステム及び方法
KR100919329B1 (ko) 모바일 네트워크에서 전자 장치들을 인증하는 방법
CN104125568A (zh) 无线接入点安全认证方法和系统
JP3892031B2 (ja) ピアツーピア通信装置及びコンピュータ・プログラム
US8208902B2 (en) Communication system, authentication server, and communication method
JP4642652B2 (ja) 無線制御端末、無線通信システムおよび無線通信方法
WO2013189398A2 (zh) 应用数据推送方法、装置及系统
JPWO2002082852A1 (ja) 携帯情報端末、無線通信システム及びリンク確立方法
JP2004274602A (ja) 無線LAN配下におけるVoIP通信端末のなりすましを識別するネットワーク通信システム
WO2008075626A1 (ja) 通信端末認証システム、インターネットを使用した電話システム

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2005518946

Country of ref document: JP

AK Designated states

Kind code of ref document: A1

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

AL Designated countries for regional patents

Kind code of ref document: A1

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

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

WWW Wipo information: withdrawn in national office

Country of ref document: DE

122 Ep: pct application non-entry in european phase