WO2015190194A1 - 通信装置及び通信制御方法 - Google Patents

通信装置及び通信制御方法 Download PDF

Info

Publication number
WO2015190194A1
WO2015190194A1 PCT/JP2015/063348 JP2015063348W WO2015190194A1 WO 2015190194 A1 WO2015190194 A1 WO 2015190194A1 JP 2015063348 W JP2015063348 W JP 2015063348W WO 2015190194 A1 WO2015190194 A1 WO 2015190194A1
Authority
WO
WIPO (PCT)
Prior art keywords
connection
terminal
destination address
module
address
Prior art date
Application number
PCT/JP2015/063348
Other languages
English (en)
French (fr)
Inventor
渋谷 彰
数馬 名知
雄太 樋口
Original Assignee
株式会社Nttドコモ
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 株式会社Nttドコモ filed Critical 株式会社Nttドコモ
Priority to EP15806270.3A priority Critical patent/EP3154243B1/en
Priority to JP2016527692A priority patent/JP6246353B2/ja
Priority to US15/118,976 priority patent/US10356666B2/en
Publication of WO2015190194A1 publication Critical patent/WO2015190194A1/ja

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/34Reselection control
    • H04W36/38Reselection control by fixed network equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/02Details of telephonic subscriber devices including a Bluetooth interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/04Details of telephonic subscriber devices including near field communication means, e.g. RFID
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/06Details of telephonic subscriber devices including a wireless LAN interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Definitions

  • One aspect of the present invention relates to a communication device and a communication control method for performing data communication with a terminal by short-range wireless communication.
  • a small module (hereinafter simply referred to as “module”) that performs data communication by being connected to a terminal such as a mobile terminal represented by a smartphone by short-range wireless communication means such as Bluetooth (registered trademark) and NFC.
  • the module provides various functions (for example, functions such as mobile network communication) to the user via the terminal by connecting to the terminal so as to be communicable.
  • Patent Document 1 listed below describes a client server system in which a server and one or more clients are connected by Bluetooth (registered trademark) and perform information communication with each other.
  • this client-server system when a server tries to connect to a new client, if it is already connected to the number of clients that can be connected simultaneously, the server forcibly connects to the currently connected client. Disconnect.
  • the connection between the module X and the terminal Y is normally disconnected and repaired as follows. That is, when the terminal Y goes outside a certain area where the radio waves of the module X reach (outside the certain area), the connection between the module X and the terminal Y is disconnected. On the other hand, when the terminal Y returns to the inside of the certain area (within the certain area), the connection between the module X and the terminal Y is automatically restored.
  • Such an automatic repair of the connection is realized as follows, for example. That is, after the connection with the module X is disconnected, the terminal Y repeatedly executes the search for the module X (connection destination address set in the module X). When the terminal Y finds the module X when returning to the certain area, the terminal Y transmits a connection request to the module X and establishes the connection with the module X again.
  • the module for example, the above-described mobile network communication function
  • functions that can be provided to only one terminal at a time.
  • the module provides such a function
  • a plurality of terminals cannot be connected to the module at the same time.
  • the user has a plurality of terminals that can be connected to the module and wants to switch the terminals connected to the module as appropriate.
  • the module selects a connected terminal. Execute the switching process.
  • the module X normally switches the connection destination terminal as follows. That is, when switching the connection from the terminal Y1 to the terminal Y2, the module X first terminates the communication with the terminal Y1 by disconnecting the connection with the currently connected terminal Y1 (in FIG. 6B). Refer to “1. End of communication”). Thereafter, the module X executes a new connection process for the new terminal Y2 (see “2. New connection” in FIG. 6B). The terminal Y1 that has been disconnected by the above process executes a predetermined disconnection process. For example, the terminal Y1 deletes the user information and the like as necessary as the disconnection process (see “3. User data deletion” in FIG. 6B).
  • the module transmits a disconnection request to the terminal and receives a response from the terminal (completion notification that preparation for disconnection is complete). Execute the disconnection process.
  • the time required from when the terminal receives the disconnection request until it responds to the module is not constant because it depends on the processing capability and status of the terminal, and it may take a long time to complete the disconnection process.
  • an object of one aspect of the present invention is to provide a communication device and a communication control method capable of switching a connected terminal reliably and at high speed.
  • a communication apparatus is a communication apparatus that performs data communication by connecting to a terminal via a short-distance wireless communication via a preset connection destination address, and the own apparatus is connected to one terminal.
  • Switching request receiving means for receiving a switching request for instructing switching of connection to another terminal
  • address changing means for changing the connection destination address when the switching request is received by the switching request receiving means
  • the connection disconnecting means for forcibly disconnecting the connection with the one terminal, and the address after the connection disconnecting means is disconnected with the one terminal.
  • Connection processing execution means for accepting a connection request from another terminal by the connection destination address after being changed by the changing means and connecting to another terminal.
  • the connection destination address is changed and the connection with one terminal is forcibly disconnected. Since the connection request from the terminal is accepted, connection switching can be speeded up. Further, since the connection destination address is changed, even if one terminal searches for the communication device with the connection destination address before the change, the communication device is not found. As a result, it is possible to reliably prevent one terminal from being reconnected to the communication device. As described above, according to the communication device according to one aspect of the present invention, the connected terminals can be switched reliably and at high speed.
  • the address changing means may change the connection destination address and notify the other terminal of the changed connection destination address.
  • the above communication device it is possible to reliably and appropriately deliver the changed connection destination address necessary for connecting to the own device to another terminal serving as a connection switching destination. It becomes possible to more reliably execute connection switching to the terminal.
  • the address changing unit acquires the change destination address of the connection destination address in advance while the own device is connected to one terminal, holds the change destination address in a referable manner, and accepts the switching request.
  • the connection destination address may be changed to the change destination address, and the change destination address may be notified to another terminal as the changed connection destination address.
  • the address changing unit changes the connection destination address to the change destination address immediately when the change request is accepted by holding the change destination address in advance so that it can be referred to.
  • the change destination address can be notified to other terminals. That is, the address changing unit does not need to execute a process of calculating the change destination address by a predetermined calculation when the switching request is received, and accordingly, the processing time for changing the connection destination address is shortened accordingly. be able to. As a result, it is possible to further increase the speed of connection switching.
  • connection disconnecting means notifies the one terminal that the connection is disconnected when the connection destination address is changed by the address changing means, and the direct notification is made when the notification is made.
  • the connection with the terminal may be disconnected.
  • the communication device when the connection with one terminal is disconnected, the one terminal is notified of the disconnection. Thereby, it is possible to cause one terminal to grasp that the connection with the communication apparatus is disconnected. As a result, it is possible to prevent execution of useless communication device search processing by one terminal, and power saving of one terminal can be achieved.
  • the communication device disconnects the connection with the one terminal without waiting for a response from the one terminal in response to the disconnection notification, and is ready to accept a connection request with the changed connection destination address. High speed is also achieved.
  • connection disconnecting unit transmits a disconnection request to one terminal and disconnects the disconnection request when disconnecting from the one terminal when the switching request is not received by the switching request receiving unit.
  • the connection with the one terminal may be disconnected when the response to is received from the one terminal.
  • the communication apparatus When disconnecting from one terminal when a switching request is not accepted, it is not necessary to rush to disconnect from the one terminal. Therefore, according to the communication apparatus, when there is no need to rush to disconnect the connection with one terminal, the connection with the one terminal can be disconnected by a normal process more preferable as the disconnection process. As a result, it is possible to prevent execution of unnecessary communication device search processing by one terminal.
  • the switching request accepting unit is configured to provide a second short-range wireless communication that is different from the first short-range wireless communication when the device is connected to one terminal by the first short-range wireless communication.
  • the switching request for instructing switching of connection to another terminal is received, the address changing means notifies the changed connection destination address to the other terminal by the second short-range wireless communication, and the connection processing executing means
  • a connection request from another terminal using the changed connection destination address may be received by the first short-range wireless communication, and may be connected to the other terminal by the first short-range wireless communication.
  • the request for switching to another terminal is accepted by the second short-range wireless communication different from the first short-range wireless communication.
  • the connection by the first short-range wireless communication with the communication device is occupied by one terminal, and other terminals cannot be connected by the first short-range wireless communication with the communication device, Switching requests from other terminals can be accepted.
  • the communication device allows the second short-range wireless communication. Since it is possible to implement a process of exchanging information necessary for the authentication process at the time of the switching request by the user, the convenience for the user can be further improved.
  • the present invention can be described as an invention of a communication apparatus as described above, and can also be described as an invention of a communication control method as follows. Since these inventions are substantially the same inventions only in different categories, they exhibit the same operations and effects.
  • the communication control method is a communication control method executed by a communication device that performs data communication by connecting to a terminal through short-range wireless communication via a preset connection destination address, Connected to one terminal, the switch request accepting step for accepting a switch request for instructing to switch the connection to another terminal, and the connection request triggered by the accepting of the switch request in the switch request accepting step
  • An address changing step for changing the address
  • a connection disconnecting step for forcibly disconnecting the connection with one terminal when the connection destination address is changed in the address changing step
  • a connection with the one terminal in the connection disconnecting step After disconnecting, accepting connection requests from other terminals with the connection destination address after being changed in the address change step, Comprising a connection process executing step of connecting to the terminal.
  • FIG. 1 is a block diagram showing a functional configuration of a module which is a communication apparatus according to an embodiment of the present invention.
  • the module 10 according to this embodiment can perform data communication by connecting to terminals 20 and 30 in a certain area where radio waves from the module 10 reach by short-range wireless communication. Communication device.
  • the module 10 and the terminals 20 and 30 are carried by the same user, and the terminal 20 and 30 connected to the module 10 are appropriately switched and used by a user switching operation. is doing.
  • the module 10 is configured as a small device carried by a user, for example. Further, the module 10 may be configured as a wearable device that is worn on a human body such as a wristwatch type, a wristband type, or a necklace type.
  • the module 10 is configured to execute short-range wireless communication (first short-range wireless communication) using, for example, Bluetooth (registered trademark) (first short-range wireless communication unit 11 described later), and short-range wireless communication using, for example, NFC ( Means (second short-range wireless communication unit 12 to be described later) for executing (second short-range wireless communication).
  • short-range wireless communication first short-range wireless communication
  • Bluetooth registered trademark
  • NFC Means (second short-range wireless communication unit 12 to be described later) for executing (second short-range wireless communication).
  • the terminals 20 and 30 are information terminals such as smartphones, mobile phones, PDAs, and tablet terminals. Similar to the module 10, the terminals 20 and 30 include means for executing the first short-range wireless communication and the second short-range wireless communication. In addition, the terminals 20 and 30 have a mobile communication function for connecting to a mobile network using information (ID information or the like) provided from the module 10.
  • information ID information or the like
  • connection destination address includes connection destination information such as an address for specifying the module 10 and an address associated with a specific service provided by the module 10. Further, the connection destination address can be freely set and changed in the module 10, and the connection destination address that has been set and changed is stored in the memory 10B or the like.
  • the module 10 periodically broadcasts device information including the connection destination address (connection destination address stored in the memory 10B or the like) set in the own device through the first short-range wireless communication.
  • the connection between the module 10 and the terminal 20 is basically established as follows. That is, the terminal 20 transmits a connection request with the connection destination address included in the device information broadcast by the module 10 as a destination. Then, the module 10 receives the connection request from the terminal 20 and establishes a connection with the terminal 20 that is the source of the connection request.
  • the terminal 20 acquires in advance a connection destination address of the module 10 by a predetermined method (in this embodiment, communication with the module 10 by the second short-range wireless communication as an example). In this case, when receiving the device information broadcast by the module 10, the terminal 20 determines whether or not the acquired connection destination address matches the connection destination address included in the device information.
  • the terminal 20 designates the connection destination address of the module 10 as the destination and performs the first short-range wireless communication. Send a connection establishment request (connection request). Thereafter, the module 10 that has received the connection request whose destination is the connection destination address of the own device establishes a connection with the terminal 20 by the first short-range wireless communication. Thereby, a communication path capable of data communication is established between the module 10 and the terminal 20 by the first short-range wireless communication.
  • the module 10 and the terminals 20 and 30 are simply “connected”, the module 10 and the terminals 20 and 30 are connected to the “first short-range wireless” unless otherwise specified. It means "connect by communication”.
  • the effective range in which the radio waves of the first short-range wireless communication reach is within a radius of 10 m from the device, for example, and the effective range in which the radio waves of the second short-range wireless communication reaches is from the effective range of the first short-range wireless communication For example within a few centimeters of the device.
  • the first short-range wireless communication and the second short-range wireless communication are properly used as follows. That is, a function provided by the module 10 between the module 10 and the terminals 20 and 30 by the first short-range wireless communication having a larger effective range (service provided by the module 10 such as a mobile network communication function). Data communication is performed. On the other hand, data communication regarding switching processing (details will be described later) of the terminals 20 and 30 connected to the module 10 is performed by the second short-range wireless communication with the smaller effective range.
  • the module 10 includes, for example, a SIM card in which a unique ID number for specifying a telephone number for performing mobile network communication is recorded, and one terminal connected to the module 10 in a one-to-one relationship Information such as an ID number necessary for mobile network communication is provided to (terminal 20 or terminal 30).
  • a terminal connected to the module 10 can perform mobile network communication by executing a mobile communication function provided in its own device using information such as an ID number acquired from the module 10.
  • the module 10 cannot be connected to a plurality of terminals 20 and 30 at the same time, and the user needs to connect the terminal (terminal 20 or terminal 30) that wants to perform mobile network communication to the module 10. is there. More specifically, when one terminal 20 is connected to the module 10 and the user needs to make another terminal 30 perform mobile network communication, the user connects the module 10 and the terminal 20. It is necessary to connect the module 10 and the terminal 30 after disconnecting. That is, it is necessary to switch the connection with the module 10 from the terminal 20 to the terminal 30.
  • the second short-range wireless communication is used to switch the terminals 20 and 30 connected to the module 10. Specifically, when the user performs a touch operation that brings the terminal (here, the terminal 30 as an example) closer to the effective range of the second short-range wireless communication of the module 10, the terminal 30 performs the second short-range wireless.
  • the module 10 is found by communication, and a predetermined switching process is executed. The details of the switching process will be described later together with the description of the functional configuration of the module 10.
  • the module 10 includes, as functional components, a first short-range wireless communication unit 11, a second short-range wireless communication unit 12, a switching request receiving unit 13, an address changing unit 14, and a connection cutting unit 15. , And a connection processing execution unit 16.
  • the module 10 includes, as main hardware configurations, an MCU (Micro Control Unit) 10A, a memory 10B, and the first short-range wireless communication and the second short-range wireless communication described above. And a communication unit 10C composed of hardware components for performing the above.
  • the module 10 may include hardware elements other than the hardware described above.
  • the module 10 includes hardware such as the SIM card described above.
  • Each function of the module 10 shown in FIG. 1 is realized when a predetermined program is read into the memory 10B or the like under the control of the MCU 10A, and the MCU 10A executes the predetermined program and operates the communication unit 10C. .
  • the first short-range wireless communication unit 11 is means for connecting to the terminals 20 and 30 by the first short-range wireless communication and performing data communication with the terminals 20 and 30.
  • the first short-range wireless communication unit 11 mainly performs data communication related to functions provided by the module 10 (services provided by the module 10 such as a mobile network communication function). Specifically, as described above, the first short-range wireless communication unit 11 uses the first short-range wireless communication to establish information such as an ID number necessary for mobile network communication. To (terminal 20 or terminal 30). When the module 10 is not connected to any terminal and is in a connection request waiting state where a new connection request can be accepted, the first short-range wireless communication unit 11 connects the connection destination address ( The device information including the connection destination address stored in the memory 10B or the like is broadcast.
  • the module 10 is forcibly disconnected when receiving a switching request and a connection request by a predetermined user operation (for example, a switching operation and an initial connection operation, for example) or due to a radio wave interference or the like. In some cases, the connection request is waited for. On the other hand, when the module 10 is not connected to any terminal and is not waiting for the connection request described above, the module 10 is put into a standby state. When the module 10 is in a standby state, the first short-range wireless communication unit 11 does not broadcast device information.
  • a predetermined user operation for example, a switching operation and an initial connection operation, for example
  • the second short-range wireless communication unit 12 is means for connecting to the terminals 20 and 30 by the second short-range wireless communication and executing data communication with the terminals 20 and 30.
  • the second short-range wireless communication unit 12 mainly receives a switching request from the terminals 20 and 30 and transmits a connection destination address to the terminals 20 and 30 (details will be described later).
  • the switching request receiving unit 13 is a switching request receiving unit that receives a switching request for instructing switching of connection to another terminal 30 when the own device (module 10) is connected to one terminal 20. Specifically, the switching request reception unit 13 receives a switching request from the terminal 30 via the second short-range wireless communication unit 12.
  • the switching request receiving unit 13 receives a switching request from the terminal 30 via the second short-range wireless communication unit 12.
  • the terminal 30 When the module 10 is connected to the terminal 20 via the first short-range wireless communication unit 11, the user performs a touch operation that brings the terminal 30 close to the effective range of the second short-range wireless communication of the module 10.
  • the terminal 30 discovers the module 10 by the second short-range wireless communication via the second short-range wireless communication unit 12. Subsequently, the terminal 30 executes a switching process determined in advance as a process to be executed when the module 10 is discovered by the second short-range wireless communication. Specifically, the terminal 30 transmits a switching request to the module 10 by the second short-range wireless communication.
  • the switching request transmitted from the terminal 30 is received by the second short-range wireless communication unit 12 and transferred from the second short-range wireless communication unit 12 to the switching request reception unit 13. In this way, the switching request receiving unit 13 receives a switching request from the terminal 30.
  • the address changing unit 14 is an address changing unit that changes the connection destination address when the switching request is received by the switching request receiving unit 13. Specifically, the address changing unit 14 changes the connection destination address set in the module 10, that is, the connection destination address used for connection with the terminal 20, when the switching request is received. Change to the connection destination address.
  • the address changing unit 14 changes the connection destination address and notifies the terminal 30 of the changed connection destination address. Specifically, the address changing unit 14 notifies the changed connection destination address to the terminal 30 by the second short-range wireless communication via the second short-range wireless communication unit 12.
  • the address changing unit 14 changes and notifies the connection destination address as follows. While the device itself is connected to the terminal 20, the address changing unit 14 acquires a change destination address of the connection destination address in advance and holds the change destination address in a referable manner. For example, the address changing unit 14 calculates a change destination address by executing a predetermined calculation when the own apparatus establishes a connection with the terminal 20, and stores the change destination address in the memory 10B or the like. To remember.
  • the address changing unit 14 refers to the change destination address stored in the memory 10B or the like when the change request is received by the change request receiving unit 13, changes the connection destination address to the change destination address, and The change destination address is notified to the terminal 30 via the second short-range wireless communication unit 12 as the changed connection destination address.
  • the connection disconnecting unit 15 is a connection disconnecting unit that forcibly disconnects the connection with the terminal 20 when the connection destination address is changed by the address changing unit 14. Specifically, the connection disconnecting unit 15 forcibly disconnects the connection with the terminal 20 when, for example, the connection destination address is changed by the address changing unit 14.
  • “forcibly disconnecting the connection with the terminal 20” means that the terminal 20 may be disconnected without confirming whether the connection may be disconnected (that is, the connection may be disconnected from the terminal 20). This means that the connection by the first short-range wireless communication established with the terminal 20 is unilaterally disconnected (without waiting to receive the message).
  • the connection disconnecting unit 15 does not transmit an inquiry (disconnection request) as to whether or not the connection may be disconnected to the terminal 20, and is established with the terminal 20. 1 closes the connection by short-range wireless communication unilaterally.
  • disconnecting the connection with the terminal 20 means that the module 10 is in a state in which the module 10 and the terminal 20 are connected (for example, a state in which information related to the connection with the terminal 20 is stored in the memory 10B or the like). This means that the terminal 20 is not connected (for example, the information related to the connection with the terminal 20 is not stored in the memory 10B or the like). More specifically, the disconnection with the terminal 20 is executed by, for example, deleting information related to the connection with the terminal 20 stored in the memory 10B or the like.
  • connection disconnection unit 15 forcibly disconnecting the connection with the terminal 20.
  • an inquiry (disconnection request) as to whether or not the terminal 20 can be disconnected is transmitted, and then a response indicating that the terminal 20 can disconnect is received.
  • a disconnection process normal disconnection process
  • connection processing execution unit 16 described later cannot establish a connection with the connection switching destination terminal 30. For this reason, if the time taken to complete the disconnection process with the terminal 20 becomes longer, the time until the connection switching to the terminal 30 is completed becomes longer, and the convenience of the user who desires the connection switching to the terminal 30 is improved. It will be damaged. Therefore, as described above, the connection disconnection unit 15 forcibly disconnects the connection with the terminal 20 without transmitting a disconnection request to the terminal 20 (that is, omits the normal disconnection process), The time required for the cutting process can be shortened. As a result, connection switching to the terminal 30 can be speeded up, and user convenience can be improved.
  • connection disconnecting unit 15 disconnects the connection with the terminal 20 by the normal disconnection process when the change of the connection destination address by the address changing unit 14 does not trigger the connection with the terminal 20. .
  • the connection with the terminal 20 can be disconnected by a normal disconnection process that is more preferable as the disconnection process. As a result, it is possible to prevent the terminal 20 from executing unnecessary module 10 search processing.
  • disconnection part 15 makes the module 10 change to the above-mentioned standby state, when a normal disconnection process is performed. Further, the connection disconnecting unit 15 may cause the module 10 to transition to the above-described connection request waiting state immediately after executing the normal disconnection process.
  • connection processing execution unit 16 After the connection disconnection unit 15 forcibly cuts off the connection with the terminal 20, the connection processing execution unit 16 changes the connection destination address after being changed by the address changing unit 14 (after the change stored in the memory 10 ⁇ / b> B or the like).
  • the connection processing execution unit 16 receives a connection request not destined for the changed connection destination address via the first short-range wireless communication unit 11, for example, by discarding the connection request, The connection request is not accepted.
  • a series of processing by the connection processing execution unit 16 from when the connection between the module 10 and the terminal 20 is disconnected until the connection between the module 10 and the terminal 30 is established will be described.
  • the connection processing execution unit 16 sends the device information including the changed connection destination address to the first short-range wireless communication unit 11 via the first short-range wireless communication unit 11. Broadcast regularly by wireless communication. That is, when the connection with the terminal 20 is forcibly disconnected by the connection disconnection unit 15, the module 10 is transitioned to the connection request waiting state by the connection processing execution unit 16. In this way, the device information broadcast from the module 10 is received by the terminals 20 and 30 in a certain area where radio waves from the module 10 reach by the first short-range wireless communication.
  • the behavior of the terminal 20 forcibly disconnected by the connection disconnecting unit 15 will be described.
  • the connection with the module 10 is disconnected without receiving an inquiry from the module 10 as to whether or not the connection can be disconnected. For this reason, the terminal 20 mistakenly recognizes that the radio wave from the module 10 temporarily does not reach the cause of the disconnection.
  • the terminal 20 performs a search for the module 10 in order to reconnect to the module 10 when the radio wave of the module 10 reaches again.
  • the terminal 20 receives device information broadcast by the module 10 and searches the received device information for device information including the connection destination address used for connection with the module 10.
  • the terminal 20 transmits a connection request to the module 10 by the first short-range wireless communication.
  • the terminal 20 uses the device information including the connection destination address used for connection with the module 10. It cannot be discovered. Accordingly, the terminal 20 repeatedly executes the search for a predetermined time, for example, stops the search after a timeout, and executes a predetermined disconnection process (for example, a preset process such as deletion of user data).
  • the terminal 30 executes a search using the changed connection destination address in order to connect to the module 10 as part of a predetermined switching process. That is, the terminal 30 receives the device information broadcast by the module 10, and searches for the device information including the changed connection destination address from the received device information.
  • the device information broadcast by the module 10 includes the changed connection destination address. Accordingly, the terminal 30 finds device information including the changed connection destination address, and transmits a connection request by the first short-range wireless communication with the changed connection destination address as a destination. Thereafter, the connection processing execution unit 16 receives a connection request from the terminal 30 with the connection destination address (changed connection destination address) set in the module 10 as the destination via the first short-range wireless communication unit 11. A connection with the terminal 30 is established. With the connection process of the connection process execution unit 16, the connection switching from the terminal 20 to the terminal 30 is completed.
  • FIG. 3 is a sequence diagram showing a series of processes relating to connection switching of the module 10.
  • the module 10 is connected to one terminal 20, and data communication by the first short-range wireless communication is performed between the module 10 and the terminal 20 (step S100).
  • the terminal 30 discovers the module 10 by the second short-range wireless communication with the touch operation by the user as an opportunity, the terminal 30 transmits a switching request to the module 10 by the second short-range wireless communication.
  • the switching request transmitted in this way is received by the switching request receiving unit 13 via the second short-range wireless communication unit 12 (step S101, switching request receiving step).
  • connection destination address is changed by the address changing unit 14, and the changed connection destination address is changed to the first short-range wireless communication unit 11.
  • the connection disconnection unit 15 forcibly disconnects the terminal 20 (step S103, connection disconnection step).
  • the module 10 is placed in a connection request waiting state where the connection processing execution unit 16 can accept a connection request with the changed connection destination address (step S104).
  • the connection processing execution unit 16 periodically broadcasts device information including the changed connection destination address via the first short-range wireless communication unit 11.
  • the terminal 20 whose connection has been forcibly disconnected detects that the connection with the module 10 has been disconnected (step S105).
  • the cause of the disconnection is that the radio wave of the module 10 has temporarily not reached. I misunderstand it. Therefore, the terminal 20 executes a search for the module 10 in order to reconnect to the module 10 when the radio wave of the module 10 reaches again (step S106).
  • the terminal 20 receives device information broadcast by the module 10 and searches the received device information for device information including the connection destination address used for connection with the module 10. Since the device information broadcast by the module 10 includes the changed connection destination address, the terminal 20 finds the device information including the connection destination address used for connection with the module 10. It is not possible. Therefore, for example, the terminal 20 repeatedly executes the search for a predetermined time, stops the search after a timeout, and executes a predetermined disconnection process (for example, a preset process such as deletion of user data) (step S107). ).
  • a predetermined disconnection process for example, a preset process such as deletion of user
  • the terminal 30 that has been notified of the changed connection destination address executes a search using the changed connection destination address in order to connect to the module 10 as part of a predetermined switching process (step S108). ).
  • the terminal 30 receives the device information broadcast by the module 10 and searches for the device information including the changed connection destination address from the received device information.
  • the device information broadcast by the module 10 includes the changed connection destination address.
  • the terminal 30 finds device information including the changed connection destination address (step S109), and transmits a connection request by the first short-range wireless communication with the changed connection destination address as the destination (step S110).
  • the connection processing execution unit 16 receives a connection request from the terminal 30 via the first short-range wireless communication unit 11 and establishes a connection with the terminal 30 (step S111, connection processing execution step).
  • the address changing unit 14 issues (calculates) a new address (change destination address at the time of the next connection switching), and holds the reference to the memory 10B or the like (step S112). ).
  • FIG. 4 is a sequence diagram illustrating a normal cutting process of the module 10.
  • the module 10 is connected to the terminal 20, and data communication by the first short-range wireless communication is performed between the module 10 and the terminal 20 (step S200).
  • the disconnection unit 15 transmits a disconnection request to the terminal 20 (step S201).
  • a user operation for instructing the module 10 or the terminal 20 to disconnect the connection is performed. This is the case when the data non-communication period exceeds a certain period and times out.
  • the terminal 20 that has received the disconnection request transmits a response to the disconnection request to the module 10 (step S202).
  • the connection disconnection unit 15 disconnects the connection with the terminal 20 (step S203).
  • the module 10 is shifted to the above-described standby state by the connection disconnecting unit 15 (step S204).
  • the module 10 is in a state of waiting for a connection request that can accept a connection request based on the original connection destination address, triggered by a user operation (for example, the touch operation described above) that is predetermined as an initial connection operation, for example. .
  • the terminal 20 that has received the disconnection request disconnects the connection with the module 10 based on the disconnection request (step S205), and performs a predetermined disconnection process (for example, user data) without executing an unnecessary module 10 search process. (Preset processing such as deletion of the above) is executed (step S206).
  • the connection destination address is changed by the address changing unit 14 and one terminal is connected by the connection cutting unit 15. Is forcibly disconnected, and the connection processing execution unit 16 accepts a connection request from the terminal 30 with the changed connection destination address, so that connection switching can be speeded up. Further, since the connection destination address is changed, the module 10 is not found even if the terminal 20 searches for the module 10 using the connection destination address before the change. As a result, it is possible to reliably prevent the terminal 20 from being reconnected to the module 10. As described above, according to the module 10, the connected terminals 20 and 30 can be switched reliably and at high speed.
  • the address changing unit 14 changes the connection destination address and notifies the terminal 30 of the changed connection destination address. Therefore, according to the module 10, the changed connection destination address necessary for connecting to the own device can be reliably and appropriately delivered to the terminal 30 as the connection switching destination. It becomes possible to more reliably execute connection switching.
  • the address changing unit 14 changes the connection destination address immediately when the switching request is accepted by holding the change destination address in advance so that it can be referred to in the memory 10B or the like. It is possible to notify the terminal 30 of the change destination address while changing to the destination address. That is, when the switching request is accepted, the address changing unit 14 does not need to execute a process of calculating the change destination address by a predetermined calculation, so that the processing time relating to the change of the connection destination address is reduced accordingly. can do. As a result, it is possible to further increase the speed of connection switching.
  • the switching request to the terminal 30 is accepted by the second short-range wireless communication different from the first short-range wireless communication.
  • the module 10 Can accept a switching request from the terminal 30.
  • an authentication process for example, input of a passcode
  • the module 10 allows the second short-range wireless communication. Since it is possible to implement a process of exchanging information necessary for the authentication process at the time of the switching request, it is possible to further improve the convenience for the user.
  • the module 110 according to the modified example is different from the module 10 in that a connection cutting unit 115 is provided instead of the connection cutting unit 15, and the remaining configuration is the same as that of the module 10. .
  • the connection disconnection unit 115 forcibly disconnects the connection with the terminal 20 in a manner different from the connection disconnection unit 15. That is, when the connection destination address is changed by the address changing unit 14, the connection disconnecting unit 115 notifies the terminal 20 that the connection is disconnected, and the connection with the terminal 20 is directly triggered by the notification. Disconnect the connection.
  • connection disconnection unit 115 is different from the connection disconnection unit 15 in that a disconnection notification (disconnection notification) is transmitted to the terminal 20, but a response that the connection may be disconnected from the terminal 20 It is in agreement that the connection with the terminal 20 is unilaterally cut without obtaining (confirmation).
  • the information included in the disconnection notification may be the same as the information included in the disconnection request transmitted in the normal disconnection process described above. However, in this case, since the module 10 disconnects the connection without waiting for a response that the connection may be disconnected from the terminal 20, the response from the terminal 20 is not received by the module 10 and is a useless process. End up. Therefore, the disconnection notification may include information indicating that no response is required for the terminal 20, for example. In this case, the terminal 20 that has received the disconnection notification does not make a useless response to the module 10.
  • FIG. 5 is a sequence diagram showing a series of processing relating to connection switching of the module 110 according to the modification.
  • the processes other than the process of transmitting a disconnection notification when the connection destination address is changed (step S303) and the process of the terminal 20 that has received the disconnection notification (steps S306 and S307) are shown in FIG.
  • This is the same as the connection switching process of the module 10. That is, the processes of steps S300 to S302 are the same as the processes of steps S100 to S102 shown in FIG. 3, the processes of steps S304 and S305 are the same as the processes of steps S103 and S104 shown in FIG.
  • the processing in steps S308 to S312 is the same as the processing in steps S108 to S112 shown in FIG. Therefore, the processes in steps S303, S306, and S307 will be mainly described below.
  • the connection disconnection unit 115 transmits a disconnection notification to the terminal 20 (step S303).
  • the terminal 20 that has received the disconnection notification detects that the connection with the module 10 is disconnected by the disconnection notification, and then detects the disconnection with the module 10 (step S306). Thereby, the terminal 20 executes a predetermined disconnection process (for example, a preset process such as deletion of user data) without executing a useless search for the module 10 (step S307).
  • the terminal 20 is notified that the connection is disconnected (disconnection notification) before the connection with the terminal 20 is disconnected.
  • the terminal 20 can be made aware that the connection with the module 10 is disconnected.
  • the module 10 disconnects the connection with the terminal 20 without waiting for a response from the terminal 20 in response to the disconnection notification (step S304), and becomes ready to accept a connection request with the changed connection destination address (step S304). S305), speeding up connection switching is also achieved.
  • the configuration has been described in which the address changing unit 14 acquires the change destination address of the connection destination address in advance and holds the reference destination while the device itself is connected to the terminal 20.
  • the address changing unit 14 may perform a predetermined calculation or the like to calculate the change destination address. Even if it is set as such a structure, there exists an effect that the speeding-up of connection switching can be aimed at by omitting the process of making a disconnection request to the terminal 30 and waiting for a response.
  • the configuration in which the address changing unit 14 changes the connection destination address and notifies the terminal 30 of the changed connection destination address has been described.
  • the terminal 30 may transmit an address designated on the terminal 30 side together with the switching request to the module 10, and the module 10 may set the address to the changed connection destination address.
  • the address changing unit 14 does not need to notify the terminal 30 of the connection destination address.
  • the first short-range wireless communication is Bluetooth (registered trademark) and the second short-range wireless communication is NFC.
  • the first and second short-range wireless communication are described. The combination of is not limited to this.
  • the touch operation using the second short-range wireless communication is used as a trigger for transmitting a switching request from the terminal 30 to the module 10.
  • any trigger may be used as a trigger for transmitting the switching request.
  • the configuration in which the module 10 provides information necessary for mobile network communication to the terminals 20 and 30 connected to the own device has been described.
  • the function that the module 10 provides to the terminals 20 and 30 is as follows. It is not limited to this.
  • the module 10 can send and receive data related to various services to the terminals 20 and 30 connected to its own device.
  • the case where there are two terminals (terminals 20 and 30) facing the module 10 has been described, but the number of terminals facing the module 10 may be three or more.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

 モジュール10は、予め設定された接続先アドレスを介して端末20,30と近距離無線通信により接続してデータ通信を行うことが可能な通信装置であって、自装置が一の端末20と接続されている際に、他の端末30への接続切替を指示する切替要求を受け付ける切替要求受付部13と、切替要求受付部13により切替要求が受け付けられたことを契機として、接続先アドレスを変更するアドレス変更部14と、アドレス変更部14により接続先アドレスが変更される際に、端末20との接続を強制的に切断する接続切断部15と、接続切断部15により端末20との接続が切断された後に、アドレス変更部14により変更された後の接続先アドレスによる端末30からの接続要求を受け付け、端末30に接続する接続処理実行部16と、を備える。

Description

通信装置及び通信制御方法
 本発明の一側面は、近距離無線通信により端末とデータ通信を行う通信装置及び通信制御方法に関する。
 従来、例えばBluetooth(登録商標)及びNFC等の近距離無線通信手段により、スマートフォンに代表される移動端末等の端末と接続されてデータ通信を行う小型モジュール(以下、単に「モジュール」という。)が知られている。モジュールは、端末と通信可能に接続することで、当該端末を介してユーザに様々な機能(例えばモバイルネットワーク通信等の機能)を提供する。
 下記特許文献1には、サーバと一以上のクライアントとがBluetooth(登録商標)によって接続され、互いに情報通信を行うクライアントサーバシステムについて記載されている。このクライアントサーバシステムでは、サーバは、新たなクライアントと接続しようとする際に、既に同時接続可能な台数のクライアントと接続している場合には、現在接続しているクライアントとの接続を強制的に切断する。
特開2002-149510号公報
 ところで、図6の(a)に示すように、モジュールXと端末Yとの接続は、通常以下のように切断及び修復される。即ち、端末YがモジュールXの電波が届く一定エリアの外側(一定エリア外)に出た場合、モジュールXと端末Yとの接続は切断される。一方、端末Yが一定エリアの内側(一定エリア内)に戻った場合、モジュールXと端末Yとの接続は自動的に修復される。このような接続の自動修復は、例えば以下のようにして実現される。即ち、端末Yは、モジュールXとの接続が切断された後、モジュールX(モジュールXに設定された接続先アドレス)の検索を繰り返し実行する。そして、端末Yは、一定エリア内に戻った際にモジュールXを発見すると、モジュールXに接続要求を送信し、再度モジュールXとの接続を確立する。
 モジュールが提供する機能(例えば上述したモバイルネットワーク通信機能)の中には、同時に1台の端末にしか提供できない機能も存在する。このような機能をモジュールが提供する場合には、同時に複数の端末をモジュールに接続させることはできない。一方、ユーザがモジュールに接続可能な端末を複数台所有し、モジュールに接続される端末を適宜切り替えて使用したい場合が考えられる。このような場合、例えばユーザによる切替操作(例えば互いにNFCによる通信が可能なモジュール及び端末を一定以上近づけて互いに認識させるタッチ操作等)がされたことを契機として、モジュールは、接続される端末を切り替える処理を実行する。
 図6の(b)に示すように、モジュールXは、通常以下のように接続先の端末を切り替える。即ち、端末Y1から端末Y2に接続を切り替える場合には、モジュールXは、まず、接続中の端末Y1との接続を切断することで端末Y1との通信を終了する(図6の(b)の「1.通信終了」参照)。その後、モジュールXは、新たな端末Y2に対する新規接続処理を実行する(図6の(b)の「2.新規接続」参照)。上記の処理によって接続が切断された端末Y1は、予め定められた切断処理を実行する。例えば、端末Y1は、切断処理として、必要に応じてユーザ情報等の消去を実施する(図6の(b)の「3.ユーザデータ消去」参照)。
 通常、モジュールは、接続中の端末との接続を切断する際には、当該端末に対して切断要求を送信し、当該端末からの応答(切断準備が完了した旨の完了通知)を受け取ってから切断処理を実行する。端末が切断要求を受け取ってからモジュールに応答するまでに要する時間は、端末の処理能力及びステータス等に依存するため一定ではなく、切断処理を完了するまでに長い時間を要する場合があり得る。一方、モジュールに接続される端末の切替を所望するユーザの利便性の観点からは、より高速な接続切替を実現することが好ましい。
 ここで、上記特許文献1に記載されているように端末との接続を強制的に切断する手法を用いることにより、接続切替の高速化が実現されるようにも考えられる。しかしながら、上記手法では、接続を強制的に切断された端末は、接続先のモジュールが一定エリア外に移動したために接続が切断されたものと認識してしまい、モジュールの検索を繰り返し実行することとなる。ここで、接続を強制的に切断された端末が、新たな端末よりも先にモジュールを発見して接続要求を送信してしまうと、接続を強制的に切断された端末が再度モジュールに接続されてしまい、新たな端末への接続切替が実現できないという問題がある。
 そこで、本発明の一側面は、接続される端末の切替を確実且つ高速に行うことができる通信装置及び通信制御方法を提供することを目的とする。
 本発明の一側面に係る通信装置は、予め設定された接続先アドレスを介して端末と近距離無線通信により接続してデータ通信を行う通信装置であって、自装置が一の端末と接続されている際に、他の端末への接続切替を指示する切替要求を受け付ける切替要求受付手段と、切替要求受付手段により切替要求が受け付けられたことを契機として、接続先アドレスを変更するアドレス変更手段と、アドレス変更手段により接続先アドレスが変更される際に、一の端末との接続を強制的に切断する接続切断手段と、接続切断手段により一の端末との接続が切断された後に、アドレス変更手段により変更された後の接続先アドレスによる他の端末からの接続要求を受け付け、他の端末に接続する接続処理実行手段と、を備える。
 本発明の一側面に係る通信装置では、切替要求が受け付けられたことを契機として、接続先アドレスを変更すると共に一の端末との接続を強制的に切断し、変更後の接続先アドレスによる他の端末からの接続要求を受け付けるので、接続切替の高速化を図ることができる。また、接続先アドレスが変更されるので、一の端末が変更前の接続先アドレスで通信装置を検索しても通信装置は発見されない。その結果、一の端末が通信装置に再接続されてしまうことを確実に防止することができる。以上により、本発明の一側面に係る通信装置によれば、接続される端末の切替を確実且つ高速に行うことができる。
 上記通信装置では、アドレス変更手段は、接続先アドレスを変更すると共に変更後の接続先アドレスを他の端末に通知してもよい。
 上記通信装置によれば、接続切替先となる他の端末に対して、自装置に接続するために必要となる変更後の接続先アドレスを確実且つ適切なタイミングで受け渡すことができ、他の端末への接続切替をより確実に実行することが可能となる。
 上記通信装置では、アドレス変更手段は、自装置が一の端末と接続されている間に、接続先アドレスの変更先アドレスを予め取得すると共に当該変更先アドレスを参照可能に保持し、切替要求受付手段により切替要求が受け付けられたことを契機として、接続先アドレスを変更先アドレスに変更すると共に変更先アドレスを変更後の接続先アドレスとして他の端末に通知してもよい。
 上記通信装置によれば、アドレス変更手段は、変更先アドレスを予め参照可能に保持しておくことによって、切替要求が受け付けられたことを契機として、直ちに接続先アドレスを変更先アドレスに変更すると共に変更先アドレスを他の端末に通知することができる。即ち、アドレス変更手段は、切替要求が受け付けられた際に、変更先のアドレスを所定の演算により算出するといった処理を実行する必要がないため、その分接続先アドレスの変更に関する処理時間を短縮することができる。その結果、接続切替の高速化を更に図ることができる。
 上記通信装置では、接続切断手段は、アドレス変更手段により接続先アドレスが変更される際に、一の端末に接続を切断することを通知し、当該通知をしたことを直接的な契機として一の端末との接続を切断してもよい。
 上記通信装置によれば、一の端末との接続が切断される際に、一の端末に接続を切断する旨の通知がされる。これにより、通信装置との接続が切断される旨を一の端末に把握させることができる。その結果、一の端末による無駄な通信装置の検索処理の実行を防止することができ、一の端末の省電力化を図ることができる。一方、通信装置は、切断通知に対する一の端末からの応答を待つことなく一の端末との接続を切断し、変更後の接続先アドレスによる接続要求を受け付け可能な状態となるので、接続切替の高速化も図られる。
 上記通信装置では、接続切断手段は、切替要求受付手段により切替要求が受け付けられていないときに一の端末との接続を切断する場合には、一の端末に切断要求を送信し、当該切断要求に対する応答を一の端末から受信したことを契機として一の端末との接続を切断してもよい。
 切替要求が受け付けられていないときに一の端末との接続を切断する場合には、一の端末との接続の切断を急いで実行する必要はない。従って、上記通信装置によれば、一の端末との接続の切断を急ぐ必要がない場合には、切断処理としてより好ましい正常の処理によって、一の端末との接続を切断することができる。これにより、一の端末による不要な通信装置の検索処理の実行を防止することができる。
 上記通信装置では、切替要求受付手段は、自装置が一の端末と第1の近距離無線通信により接続されている際に、第1の近距離無線通信とは異なる第2の近距離無線通信により他の端末への接続切替を指示する切替要求を受け付け、アドレス変更手段は、第2の近距離無線通信により変更後の接続先アドレスを他の端末に通知し、接続処理実行手段は、第1の近距離無線通信により変更後の接続先アドレスによる他の端末からの接続要求を受け付け、第1の近距離無線通信により他の端末に接続してもよい。
 上記通信装置によれば、他の端末への切替要求が第1の近距離無線通信とは異なる第2の近距離無線通信によって受け付けられる。これにより、例えば通信装置との第1の近距離無線通信による接続が一の端末に占有されており、他の端末が通信装置と第1の近距離無線通信によって接続できない場合であっても、他の端末からの切替要求を受け付けることができる。また、例えば第1の近距離無線通信による接続を確立するために認証処理(例えばパスコードの入力等)が必要な場合であっても、上記通信装置によれば、第2の近距離無線通信による切替要求の際に当該認証処理に必要な情報を交換するといった処理の実装が可能となるため、ユーザの利便性を更に高めることもできる。
 ところで、本発明は、上記のように通信装置の発明として記述できる他に、以下のように、通信制御方法の発明としても記述することができる。これらの発明はカテゴリが異なるだけで、実質的に同一の発明であるため、同様の作用及び効果を奏する。
 即ち、本発明に係る通信制御方法は、予め設定された接続先アドレスを介して端末と近距離無線通信により接続してデータ通信を行う通信装置により実行される通信制御方法であって、自装置が一の端末と接続されている際に、他の端末への接続切替を指示する切替要求を受け付ける切替要求受付ステップと、切替要求受付ステップにおいて切替要求が受け付けられたことを契機として、接続先アドレスを変更するアドレス変更ステップと、アドレス変更ステップにおいて接続先アドレスが変更される際に、一の端末との接続を強制的に切断する接続切断ステップと、接続切断ステップにおいて一の端末との接続が切断された後に、アドレス変更ステップにおいて変更された後の接続先アドレスによる他の端末からの接続要求を受け付け、他の端末に接続する接続処理実行ステップと、を含む。
 本発明の一側面によれば、接続される端末の切替を確実且つ高速に行うことができる通信装置及び通信制御方法を提供することができる。
本発明の一実施形態に係るモジュールの機能構成を示すブロック図である。 図1に示すモジュールのハードウェア構成を示すブロック図である。 本実施形態に係るモジュールの接続切替に関する一連の処理を示すシーケンス図である。 本実施形態に係るモジュールの正常切断処理を示すシーケンス図である。 変形例に係るモジュールの接続切替に関する一連の処理を示すシーケンス図である。 従来のモジュールと端末との間の接続の切断及び修復、並びに従来の接続切替動作についての説明図である。
 本発明の一実施形態について図面を参照して説明する。なお、可能な場合には、同一の部分には同一の符号を付し、重複する説明を省略する。
 図1は、本発明の一実施形態に係る通信装置であるモジュールの機能構成を示すブロック図である。図1に示すように、本実施形態に係るモジュール10は、当該モジュール10からの無線電波が届く一定エリア内にある端末20,30と近距離無線通信により接続してデータ通信を行うことが可能な通信装置である。本実施形態では、モジュール10及び端末20,30は、同一のユーザによって携帯され、ユーザの切替操作によって、モジュール10に接続される端末20,30が適宜切り替えられて使用される状況を主に想定している。
 モジュール10は、例えばユーザに携帯される小型デバイスとして構成される。また、モジュール10は、例えば腕時計型、リストバンド型、ネックレス型等のユーザの人体に装着されるウェアラブルデバイスとして構成されてもよい。モジュール10は、例えばBluetooth(登録商標)による近距離無線通信(第1の近距離無線通信)を実行する手段(後述の第1近距離無線通信部11)と、例えばNFCによる近距離無線通信(第2の近距離無線通信)を実行する手段(後述の第2近距離無線通信部12)とを備えている。
 端末20,30は、例えばスマートフォン、携帯電話機、PDA、タブレット端末等の情報端末である。端末20,30は、モジュール10と同様に、第1の近距離無線通信及び第2の近距離無線通信を実行する手段を備えている。また、端末20,30は、モジュール10から提供される情報(ID情報等)を用いてモバイルネットワークに接続する移動体通信機能を備えている。
 モジュール10と端末(一例として端末20)との第1の近距離無線通信による接続について説明する。モジュール10と端末20とは、モジュール10に設定された接続先アドレスを介して、第1の近距離無線通信により接続される。ここで、接続先アドレスには、モジュール10を特定するアドレスや、モジュール10により提供される特定のサービスに対応付けられるアドレス等の接続先情報が含まれる。また、接続先アドレスは、モジュール10において自由に設定及び変更可能とされており、設定及び変更された接続先アドレスは、メモリ10B等に記憶される。
 モジュール10は、自装置に設定された接続先アドレス(メモリ10B等に記憶された接続先アドレス)を含む機器情報を第1の近距離無線通信により定期的にブロードキャストする。モジュール10と端末20との接続は、基本的には以下のようにして確立される。即ち、端末20は、モジュール10によってブロードキャストされた機器情報に含まれる接続先アドレスを宛先として接続要求を送信する。そして、モジュール10は、端末20からの接続要求を受信し、当該接続要求の受信元である端末20との接続を確立する。
 本実施形態では一例として、端末20は、所定の方法(本実施形態では一例として第2の近距離無線通信によるモジュール10との通信)によりモジュール10の接続先アドレスを予め取得しておく。この場合、端末20は、モジュール10によってブロードキャストされる機器情報を受信すると、取得済みの接続先アドレスと当該機器情報に含まれている接続先アドレスとが一致するか否かを判定する。
 端末20は、取得済みの接続先アドレスと当該機器情報に含まれている接続先アドレスとが一致する場合には、モジュール10の接続先アドレスを宛先に指定し、第1の近距離無線通信による接続の確立要求(接続要求)を送信する。その後、自装置の接続先アドレスを宛先とする接続要求を受信したモジュール10は、端末20との第1の近距離無線通信による接続を確立する。これにより、モジュール10と端末20との間に第1の近距離無線通信によってデータ通信可能な通信路が確立される。なお、以降の説明において、単にモジュール10と端末20,30とを「接続する」と言った場合には、特に断りのない限り、モジュール10と端末20,30とを「第1の近距離無線通信により接続する」ことを意味するものとする。
 第1の近距離無線通信の電波が届く有効範囲は、例えば機器から半径10m以内であり、第2の近距離無線通信の電波が届く有効範囲は、第1の近距離無線通信の有効範囲よりも小さく、例えば機器から数cm以内である。本実施形態では、第1の近距離無線通信と第2の近距離無線通信とは、以下のように使い分けられる。即ち、有効範囲が大きい方の第1の近距離無線通信によって、モジュール10と端末20,30との間で、モジュール10により提供される機能(モバイルネットワーク通信機能等のモジュール10が提供するサービス)に関するデータ通信が行われる。一方、有効範囲が小さい方の第2の近距離無線通信によって、モジュール10に接続される端末20,30の切替処理(詳しくは後述)に関するデータ通信が行われる。
 モジュール10は、例えばモバイルネットワーク通信を行うための電話番号を特定するための固有のID番号が記録されたSIMカード等を備えており、当該モジュール10と1対1で接続された1台の端末(端末20又は端末30)に対して、モバイルネットワーク通信に必要なID番号等の情報を提供する。モジュール10と接続された端末は、モジュール10から取得したID番号等の情報を用いて自機が備えている移動体通信機能を実行することにより、モバイルネットワーク通信を行うことができる。
 本実施形態では、モジュール10を同時に複数の端末20,30と接続させることはできず、ユーザは、モバイルネットワーク通信をさせたい方の端末(端末20又は端末30)をモジュール10に接続させる必要がある。より具体的には、ユーザは、モジュール10に一の端末20が接続されている際に、他の端末30にモバイルネットワーク通信をさせる必要が生じた場合には、モジュール10と端末20との接続を切断した上で、モジュール10と端末30とを接続させる必要がある。即ち、モジュール10との接続を端末20から端末30に切り替える必要がある。
 上述した通り、本実施形態では、モジュール10に接続される端末20,30の切替を行うために、第2の近距離無線通信が用いられる。具体的には、ユーザが、端末(ここでは一例として端末30)をモジュール10の第2の近距離無線通信の有効範囲内まで近づけるタッチ操作を実行すると、端末30は、第2の近距離無線通信によりモジュール10を発見し、予め定められた切替処理を実行する。切替処理の詳細については、モジュール10の機能構成についての説明と併せて後述する。
 続いて、図1及び図2を用いて、モジュール10の機能構成及びハードウェア構成について説明する。図1に示すように、モジュール10は、機能的構成要素として、第1近距離無線通信部11、第2近距離無線通信部12、切替要求受付部13、アドレス変更部14、接続切断部15、及び接続処理実行部16を備えている。
 また、図2に示すように、モジュール10は、主なハードウェア構成として、MCU(Micro Control Unit)10Aと、メモリ10Bと、上述の第1の近距離無線通信及び第2の近距離無線通信を行うためのハードウェア部品からなる通信部10Cとを備える。また、モジュール10は、上記のハードウェア以外のハードウェア要素を備えていてもよい。本実施形態では、モジュール10には、上述したSIMカード等のハードウェアが内蔵されている。図1に示したモジュール10の各機能は、MCU10Aの制御の下でメモリ10B等に所定のプログラムが読み込まれ、MCU10Aが当該所定のプログラムを実行すると共に通信部10Cを動作させることによって実現される。
 第1近距離無線通信部11は、第1の近距離無線通信によって端末20,30と接続し、端末20,30とのデータ通信を実行する手段である。第1近距離無線通信部11は、主にモジュール10が提供する機能(モバイルネットワーク通信機能等のモジュール10が提供するサービス)に関するデータ通信を実行する。具体的には、上述の通り、第1近距離無線通信部11は、モバイルネットワーク通信を行うために必要となるID番号等の情報を、第1の近距離無線通信による接続が確立された端末(端末20又は端末30)に送信する。また、モジュール10がどの端末とも接続されておらず、新規の接続要求を受け付け可能な接続要求待ちの状態である場合には、第1近距離無線通信部11は、モジュール10の接続先アドレス(メモリ10B等に記憶された接続先アドレス)を含む機器情報をブロードキャストする。
 なお、モジュール10は、例えば予め定められたユーザ操作(例えば切替操作及び初回接続操作等)により切替要求及び接続要求を受信した際や、端末との接続が電波障害等により強制的に切断された場合等に、上述の接続要求待ちの状態となる。一方、モジュール10がどの端末とも接続されていない場合であって、上述の接続要求待ちの状態でない場合には、モジュール10は待機状態とされる。モジュール10が待機状態の場合には、第1近距離無線通信部11は、機器情報をブロードキャストしない。
 第2近距離無線通信部12は、第2の近距離無線通信によって端末20,30と接続し、端末20,30とのデータ通信を実行する手段である。第2近距離無線通信部12は、主に端末20,30からの切替要求の受信、及び端末20,30への接続先アドレスの送信を実行する(詳しくは後述する)。
 切替要求受付部13は、自装置(モジュール10)が一の端末20と接続されている際に、他の端末30への接続切替を指示する切替要求を受け付ける切替要求受付手段である。具体的には、切替要求受付部13は、第2近距離無線通信部12を介して、端末30からの切替要求を受け付ける。以下、切替要求受付部13が端末30からの切替要求を受け付ける一連の処理の一例について説明する。
 モジュール10が第1近距離無線通信部11を介して端末20と接続されている際に、ユーザが端末30をモジュール10の第2の近距離無線通信の有効範囲内まで近づけるタッチ操作を実行すると、端末30は、第2近距離無線通信部12を介して、第2の近距離無線通信によってモジュール10を発見する。続いて、端末30は、第2の近距離無線通信によってモジュール10が発見された際に実行する処理として予め定められた切替処理を実行する。具体的には、端末30は、第2の近距離無線通信によって切替要求をモジュール10に送信する。端末30から送信された切替要求は、第2近距離無線通信部12によって受信され、第2近距離無線通信部12から切替要求受付部13に受け渡される。このようにして、切替要求受付部13は、端末30からの切替要求を受け付ける。
 アドレス変更部14は、切替要求受付部13により切替要求が受け付けられたことを契機として、接続先アドレスを変更するアドレス変更手段である。具体的には、アドレス変更部14は、切替要求が受け付けられたことを契機として、モジュール10に設定されている接続先アドレス、即ち端末20との接続に用いられている接続先アドレスを別の接続先アドレスに変更する。
 また、アドレス変更部14は、接続先アドレスを変更すると共に変更後の接続先アドレスを端末30に通知する。具体的には、アドレス変更部14は、第2近距離無線通信部12を介して、第2の近距離無線通信によって端末30に変更後の接続先アドレスを通知する。
 本実施形態では一例として、アドレス変更部14は、以下のようにして、接続先アドレスの変更及び通知を実行する。アドレス変更部14は、自装置が端末20と接続されている間に、接続先アドレスの変更先アドレスを予め取得すると共に、当該変更先アドレスを参照可能に保持する。例えば、アドレス変更部14は、自装置が端末20との接続が確立されたことを契機として、予め定められた演算を実行することで変更先アドレスを算出し、当該変更先アドレスをメモリ10B等に記憶する。アドレス変更部14は、切替要求受付部13により切替要求が受け付けられたことを契機として、メモリ10B等に記憶された変更先アドレスを参照し、接続先アドレスを当該変更先アドレスに変更すると共に当該変更先アドレスを変更後の接続先アドレスとして、第2近距離無線通信部12を介して端末30に通知する。
 接続切断部15は、アドレス変更部14により接続先アドレスが変更される際に、端末20との接続を強制的に切断する接続切断手段である。具体的には、接続切断部15は、例えばアドレス変更部14により接続先アドレスが変更されたことを契機として、端末20との接続を強制的に切断する。ここで「端末20との接続を強制的に切断する」とは、端末20に接続を切断してもよいか否かの確認をすることなく(即ち端末20から接続を切断してもよい旨のメッセージを受信することを待つことなく)、端末20との間に確立されている第1の近距離無線通信による接続を一方的に切断することを意味する。本実施形態では一例として、接続切断部15は、接続を切断してもよいか否かについての問い合わせ(切断要求)を端末20に送信することなく、端末20との間に確立されている第1の近距離無線通信による接続を一方的に切断する。
 ここで、端末20との接続を切断するとは、モジュール10と端末20とが接続されている状態(例えばメモリ10B等に端末20との接続に関する情報が記憶されている状態)から、モジュール10が端末20に接続されていない状態(例えばメモリ10B等に端末20との接続に関する情報が記憶されていない状態)にすることを意味する。より具体的には、端末20との接続の切断は、例えばメモリ10B等に記憶されている端末20との接続に関する情報を消去すること等により実行される。
 接続切断部15が端末20との接続を強制的に切断することの意義について説明する。まず、端末20との接続を切断する際に、端末20に切断してもよいか否かの問い合わせ(切断要求)を送信し、その後端末20から切断してもよい旨の応答を受信してから切断を行う場合について考える。端末20との接続を切断する際に、このような切断処理(正常切断処理)を実行する場合には、端末20との接続の切断を完了するまでに長い時間を要するおそれがある。端末20が切断要求を受け取ってからモジュール10に応答するまでに要する時間は、端末20の処理能力及びステータス等に依存するため一定ではないからである。
 また、端末20との接続を切断するまでは、後述の接続処理実行部16によって接続切替先の端末30との接続を確立することはできない。このため、端末20との切断処理を完了するまでにかかる時間が長くなると、端末30への接続切替が完了するまでの時間が長くなり、端末30への接続切替を所望するユーザの利便性が損なわれてしまう。そこで、上述のように、接続切断部15が端末20に切断要求を送信することなく、端末20との接続を強制的に切断する(即ち正常切断処理を省略する)ことにより、端末20との切断処理にかかる時間を短縮できる。その結果、端末30への接続切替を高速化でき、ユーザ利便性の向上を図ることができる。
 一方、切替要求受付部13によって切替要求が受け付けられていないときに端末20との接続を切断する場合には、端末20との接続の切断を急いで実行する必要はない。従って、接続切断部15は、アドレス変更部14により接続先アドレスが変更されたことが端末20との接続を切断する契機とはならない場合には、正常切断処理により端末20との接続を切断する。これにより、端末20との接続の切断を急いで実行する必要がない場合には、切断処理としてより好ましい正常切断処理によって、端末20との接続を切断することができる。その結果、端末20による不要なモジュール10の検索処理の実行を防止することができる。なお、アドレス変更部14により接続先アドレスが変更されたことが端末20との接続を切断する契機とはならない場合としては、例えば、モジュール10又は端末20に対するユーザ操作が接続を切断する契機となる場合、及びデータ無通信の期間が一定期間以上となりタイムアウトしたことが接続を切断する契機となる場合等がある。なお、接続切断部15は、正常切断処理を実行した場合には、モジュール10を上述の待機状態に遷移させる。また、接続切断部15は、正常切断処理を実行した後すぐにモジュール10を上述の接続要求待ちの状態に遷移させてもよい。
 接続処理実行部16は、接続切断部15により端末20との接続が強制的に切断された後に、アドレス変更部14により変更された後の接続先アドレス(メモリ10B等に記憶されている変更後の接続先アドレス)による端末30からの接続要求(第1の近距離無線通信による接続の確立要求)を、第1近距離無線通信部11を介して受け付け、端末30に接続する接続処理実行手段である。なお、接続処理実行部16は、変更後の接続先アドレスを宛先としない接続要求を、第1近距離無線通信部11を介して受信した場合には、例えば当該接続要求を破棄する等により、当該接続要求を受け付けない。以下、モジュール10と端末20との接続が切断されてからモジュール10と端末30との接続が確立されるまでの接続処理実行部16による一連の処理について説明する。
 接続処理実行部16は、端末20との接続が強制的に切断された後、変更後の接続先アドレスを含む機器情報を、第1近距離無線通信部11を介して、第1の近距離無線通信により定期的にブロードキャストする。即ち、接続切断部15によって端末20との接続が強制的に切断された場合には、モジュール10は、接続処理実行部16により上述の接続要求待ちの状態に遷移される。このようにしてモジュール10からブロードキャストされる機器情報は、モジュール10からの第1の近距離無線通信による電波が届く一定エリア内にある端末20,30によって受信される。
 ここで、接続切断部15によって強制的に接続を切断された端末20の挙動について説明する。端末20から見ると、モジュール10から接続を切断してもよいか否かの問い合わせを受けることなく、モジュール10との接続が切断されることになる。このため、端末20は、モジュール10の電波が一時的に届かなくなったことが切断の原因であると誤認してしまう。この場合、端末20は、モジュール10の電波が再度届くようになったときにモジュール10に再接続するために、モジュール10の検索を実行する。具体的には、端末20は、モジュール10によってブロードキャストされる機器情報を受信し、受信された機器情報の中から、モジュール10との接続に用いていた接続先アドレスを含む機器情報を検索する。
 端末20は、機器情報に当該接続先アドレスが含まれていれば、第1の近距離無線通信によってモジュール10に対して接続要求を送信する。しかし、モジュール10によってブロードキャストされる機器情報には、変更後の接続先アドレスが含まれているため、端末20は、モジュール10との接続に用いていた接続先アドレスが含まれている機器情報を発見することはできない。従って、端末20は、例えば予め定められた時間だけ検索を繰り返し実行し、タイムアウト後に検索を中止し、所定の切断処理(例えばユーザデータの削除等の予め設定された処理)を実行する。
 次に、アドレス変更部14によって変更後の接続先アドレスを通知された端末30の挙動について説明する。端末30は、予め定められた切替処理の一環として、モジュール10に接続するために、変更後の接続先アドレスを用いた検索を実行する。即ち、端末30は、モジュール10によってブロードキャストされる機器情報を受信し、受信された機器情報の中から、変更後の接続先アドレスを含む機器情報を検索する。
 上述した通り、モジュール10によってブロードキャストされる機器情報には、変更後の接続先アドレスが含まれている。従って、端末30は、変更後の接続先アドレスを含む機器情報を発見し、変更後の接続先アドレスを宛先として第1の近距離無線通信により接続要求を送信する。その後、接続処理実行部16は、第1近距離無線通信部11を介して、モジュール10に設定された接続先アドレス(変更後の接続先アドレス)を宛先とする接続要求を端末30から受け付け、端末30との接続を確立する。この接続処理実行部16の接続処理により、端末20から端末30への接続切替が完了する。
 次に、図3を用いて、モジュール10の接続切替処理(本実施形態に係るモジュール10による通信制御方法を含む)について説明する。図3は、モジュール10の接続切替に関する一連の処理を示すシーケンス図である。最初、モジュール10は、一の端末20と接続されており、モジュール10と端末20との間で、第1の近距離無線通信によるデータ通信が実行されている(ステップS100)。続いて、端末30は、ユーザによるタッチ操作を契機として、第2の近距離無線通信によってモジュール10を発見すると、第2の近距離無線通信によって切替要求をモジュール10に送信する。このように送信された切替要求は、第2近距離無線通信部12を介して、切替要求受付部13によって受け付けられる(ステップS101、切替要求受付ステップ)。
 続いて、切替要求受付部13により切替要求が受け付けられたことを契機として、アドレス変更部14によって接続先アドレスが変更されると共に、変更後の接続先アドレスが第1近距離無線通信部11を介して端末30に通知される(ステップS102、アドレス変更ステップ)。続いて、接続切断部15によって端末20との接続が強制的に切断される(ステップS103、接続切断ステップ)。その後、モジュール10は、接続処理実行部16によって変更後の接続先アドレスによる接続要求を受け付け可能な接続要求待ちの状態とされる(ステップS104)。具体的には、接続処理実行部16によって、変更後の接続先アドレスを含む機器情報が、第1近距離無線通信部11を介して、定期的にブロードキャストされる。
 接続を強制的に切断された端末20は、モジュール10との接続が切断されたことを検知するが(ステップS105)、モジュール10の電波が一時的に届かなくなったことが切断の原因であると誤認してしまう。そのため、端末20は、モジュール10の電波が再度届くようになったときにモジュール10に再接続するために、モジュール10の検索を実行する(ステップS106)。具体的には、端末20は、モジュール10によってブロードキャストされる機器情報を受信し、受信された機器情報の中から、モジュール10との接続に用いていた接続先アドレスを含む機器情報を検索する。モジュール10によってブロードキャストされる機器情報には、変更後の接続先アドレスが含まれているため、端末20は、モジュール10との接続に用いていた接続先アドレスが含まれている機器情報を発見することはできない。従って、端末20は、例えば予め定められた時間だけ検索を繰り返し実行し、タイムアウト後に検索を中止し、所定の切断処理(例えばユーザデータの削除等の予め設定された処理)を実行する(ステップS107)。
 一方、変更後の接続先アドレスを通知された端末30は、予め定められた切替処理の一環として、モジュール10に接続するために、変更後の接続先アドレスを用いた検索を実行する(ステップS108)。具体的には、端末30は、モジュール10によってブロードキャストされる機器情報を受信し、受信された機器情報の中から、変更後の接続先アドレスを含む機器情報を検索する。モジュール10によってブロードキャストされる機器情報には、変更後の接続先アドレスが含まれている。従って、端末30は、変更後の接続先アドレスを含む機器情報を発見し(ステップS109)、変更後の接続先アドレスを宛先として第1の近距離無線通信により接続要求を送信する(ステップS110)。その後、接続処理実行部16により、第1近距離無線通信部11を介して端末30からの接続要求が受け付けられ、端末30との接続が確立される(ステップS111、接続処理実行ステップ)。
 端末30との接続が確立された後、アドレス変更部14によって新規アドレス(次回の接続切替の際の変更先アドレス)が発行(算出)され、メモリ10B等に参照可能に保持される(ステップS112)。
 次に、図4を用いて、モジュール10の正常切断処理について説明する。図4は、モジュール10の正常切断処理を示すシーケンス図である。最初、モジュール10は、端末20と接続されており、モジュール10と端末20との間で、第1の近距離無線通信によるデータ通信が実行されている(ステップS200)。その後、切替要求受付部13により切替要求が受け付けられていないときに端末20との接続を切断する場合、接続切断部15により切断要求が端末20に送信される(ステップS201)。ここで、切替要求受付部13により切替要求が受け付けられていないときに端末20との接続を切断する場合とは、例えばモジュール10又は端末20に対して接続の切断を指示するユーザ操作がされたり、データ無通信の期間が一定期間以上となりタイムアウトしたりした場合等である。
 続いて、切断要求を受信した端末20は、切断準備が完了した後に、当該切断要求に対する応答をモジュール10に送信する(ステップS202)。当該切断要求に対する応答を端末20から受信したことを契機として、接続切断部15によって端末20との接続が切断される(ステップS203)。この場合、モジュール10は、接続切断部15により、上述した待機状態に遷移させられる(ステップS204)。その後、モジュール10は、例えば初回接続操作として予め定められたユーザ操作(例えば上述したタッチ操作等)等を契機として、元の接続先アドレスによる接続要求を受け付け可能な接続要求待ちの状態とされる。
 一方、切断要求を受信した端末20は、切断要求に基づいてモジュール10との接続を切断し(ステップS205)、不要なモジュール10の検索処理を実行することなく、所定の切断処理(例えばユーザデータの削除等の予め設定された処理)を実行する(ステップS206)。
 以上述べた本実施形態に係るモジュール10では、切替要求受付部13によって切替要求が受け付けられたことを契機として、アドレス変更部14によって接続先アドレスを変更すると共に接続切断部15によって一の端末との接続を強制的に切断し、接続処理実行部16によって変更後の接続先アドレスによる端末30からの接続要求を受け付けるので、接続切替の高速化を図ることができる。また、接続先アドレスが変更されるので、端末20が変更前の接続先アドレスでモジュール10を検索してもモジュール10は発見されない。その結果、端末20がモジュール10に再接続されてしまうことを確実に防止することができる。以上により、モジュール10によれば、接続される端末20,30の切替を確実且つ高速に行うことができる。
 また、モジュール10では、アドレス変更部14は、接続先アドレスを変更すると共に変更後の接続先アドレスを端末30に通知する。従って、モジュール10によれば、接続切替先となる端末30に対して、自装置に接続するために必要となる変更後の接続先アドレスを確実且つ適切なタイミングで受け渡すことができ、端末30への接続切替をより確実に実行することが可能となる。
 また、モジュール10によれば、アドレス変更部14は、変更先アドレスを予めメモリ10B等に参照可能に保持しておくことによって、切替要求が受け付けられたことを契機として、直ちに接続先アドレスを変更先アドレスに変更すると共に変更先アドレスを端末30に通知することができる。即ち、アドレス変更部14は、切替要求が受け付けられた際に、変更先のアドレスを所定の演算により算出するといった処理を実行する必要がないため、その分接続先アドレスの変更に関する処理時間を短縮することができる。その結果、接続切替の高速化を更に図ることができる。
 また、モジュール10によれば、端末30への切替要求が第1の近距離無線通信とは異なる第2の近距離無線通信によって受け付けられる。これにより、例えばモジュール10との第1の近距離無線通信による接続が端末20に占有されており、端末30がモジュール10と第1の近距離無線通信によって接続できない場合であっても、モジュール10は、端末30からの切替要求を受け付けることができる。また、例えば第1の近距離無線通信による接続を確立するために認証処理(例えばパスコードの入力等)が必要な場合であっても、モジュール10によれば、第2の近距離無線通信による切替要求の際に当該認証処理に必要な情報を交換するといった処理の実装が可能となるため、ユーザの利便性を更に高めることもできる。
[変形例]
 次に、モジュール10の変形例について説明する。図1に示すように、変形例に係るモジュール110は、接続切断部15の代わりに接続切断部115を備える点でモジュール10と相違しており、その余の構成についてはモジュール10と同様である。接続切断部115は、接続切断部15とは異なる態様で、端末20との接続を強制的に切断する。即ち、接続切断部115は、アドレス変更部14により接続先アドレスが変更される際に、端末20に接続を切断することを通知し、当該通知をしたことを直接的な契機として端末20との接続を切断する。接続切断部115は、端末20に対して切断することの通知(切断通知)を送信する点で、接続切断部15と相違しているが、端末20から接続を切断してもよい旨の応答(確認)を得ることなく、端末20との接続を一方的に切断する点で一致している。
 切断通知に含まれる情報は、上述の正常切断処理において送信される切断要求に含まれる情報と同一であってもよい。ただし、この場合、モジュール10は、端末20から接続を切断してもよい旨の応答を待たずに接続を切断するので、端末20からの応答は、モジュール10によって受信されず無駄な処理となってしまう。そこで、切断通知には、例えば端末20に対して応答が不要であることを示す情報を含まれてもよい。この場合、切断通知を受信した端末20は、モジュール10に対して無駄な応答をしないものとなる。
 図5を用いて、モジュール110の接続切替処理について説明する。図5は、変形例に係るモジュール110の接続切替に関する一連の処理を示すシーケンス図である。ここで、接続先アドレスが変更される際に、切断通知が送信される処理(ステップS303)及び切断通知を受信した端末20の処理(ステップS306,S307)以外の処理は、図3に示したモジュール10の接続切替処理と同様である。即ち、ステップS300~S302の処理は、図3に示したステップS100~S102の処理と同様であり、ステップS304,S305の処理は、図3に示したステップS103,S104の処理と同様であり、ステップS308~S312の処理は、図3に示したステップS108~S112の処理と同様である。よって、以下ではステップS303,S306,S307の処理について主に説明する。
 アドレス変更部14によって接続先アドレスが変更されると(ステップS302)、接続切断部115によって、端末20に対して切断通知が送信される(ステップS303)。切断通知を受信した端末20は、当該切断通知によってモジュール10との接続が切断される旨を把握した上で、モジュール10との接続の切断を検知する(ステップS306)。これにより、端末20は、無駄なモジュール10の検索を実行することなく、所定の切断処理(例えばユーザデータの削除等の予め設定された処理)を実行する(ステップS307)。
 以上述べた変形例に係るモジュール110によれば、端末20との接続が切断される前に、端末20に接続を切断する旨の通知(切断通知)がされる。これにより、モジュール10との接続が切断される旨を端末20に把握させることができる。その結果、端末20による無駄なモジュール10の検索処理の実行を防止することができ、端末20の省電力化を図ることができる。一方、モジュール10は、切断通知に対する端末20からの応答を待つことなく端末20との接続を切断し(ステップS304)、変更後の接続先アドレスによる接続要求を受け付け可能な状態となるので(ステップS305)、接続切替の高速化も図られる。
 以上、本発明をその実施形態に基づいて詳細に説明した。しかし、本発明は上記実施形態に限定されるものではない。本発明は、その要旨を逸脱しない範囲で様々な変形が可能である。
 例えば、本実施形態では、アドレス変更部14が、自装置が端末20と接続されている間に、接続先アドレスの変更先アドレスを予め取得すると共に参照可能に保持する構成について説明した。しかし、アドレス変更部14は、切替要求が受け付けられた際に、所定の演算等を実行して変更先アドレスを算出するようにしてもよい。このような構成としたとしても、端末30に切断要求をして応答を待つという処理が省略されることにより、接続切替の高速化を図ることができるという効果を奏する。
 また、本実施形態では、アドレス変更部14が、接続先アドレスを変更すると共に変更後の接続先アドレスを端末30に通知する構成について説明した。しかし、例えば端末30が切替要求と併せて端末30側で指定するアドレスをモジュール10に送信し、モジュール10が当該アドレスを変更後の接続先アドレスに設定するといった構成にしてもよい。このような場合、アドレス変更部14が端末30に接続先アドレスを通知する処理は不要となる。
 また、本実施形態では、第1の近距離無線通信がBluetooth(登録商標)であり、第2の近距離無線通信がNFCである場合について説明したが、第1及び第2の近距離無線通信の組み合わせは、これに限定されるものではない。また、本実施形態では、第2の近距離無線通信を利用したタッチ操作を、端末30からモジュール10に対する切替要求を送信するトリガとしたが、切替要求の送信のトリガとなるものは何でもよい。
 また、本実施形態では、モジュール10が自装置に接続された端末20,30にモバイルネットワーク通信に必要な情報を提供する構成について説明したが、モジュール10が端末20,30に提供する機能は、これに限定されない。モジュール10は、自装置に接続された端末20,30に対して種々のサービスに関するデータ送受信を行うことができる。また、本実施形態では、モジュール10の対向となる端末が2台(端末20,30)である場合について説明したが、モジュール10の対向となる端末は3台以上であってもよい。
 10,110…モジュール(通信装置)、11…第1近距離無線通信部、12…第2近距離無線通信部、13…切替要求受付部、14…アドレス変更部、15,115…接続切断部、16…接続処理実行部、20…端末(一の端末),30…端末(他の端末)。

Claims (7)

  1.  予め設定された接続先アドレスを介して端末と近距離無線通信により接続してデータ通信を行う通信装置であって、
     自装置が一の端末と接続されている際に、他の端末への接続切替を指示する切替要求を受け付ける切替要求受付手段と、
     前記切替要求受付手段により前記切替要求が受け付けられたことを契機として、前記接続先アドレスを変更するアドレス変更手段と、
     前記アドレス変更手段により前記接続先アドレスが変更される際に、前記一の端末との接続を強制的に切断する接続切断手段と、
     前記接続切断手段により前記一の端末との接続が切断された後に、前記アドレス変更手段により変更された後の接続先アドレスによる前記他の端末からの接続要求を受け付け、前記他の端末に接続する接続処理実行手段と、
    を備える通信装置。
  2.  前記アドレス変更手段は、前記接続先アドレスを変更すると共に変更後の接続先アドレスを前記他の端末に通知する、
    請求項1記載の通信装置。
  3.  前記アドレス変更手段は、自装置が前記一の端末と接続されている間に、前記接続先アドレスの変更先アドレスを予め取得すると共に当該変更先アドレスを参照可能に保持し、前記切替要求受付手段により前記切替要求が受け付けられたことを契機として、前記接続先アドレスを前記変更先アドレスに変更すると共に前記変更先アドレスを前記変更後の接続先アドレスとして前記他の端末に通知する、
    請求項2記載の通信装置。
  4.  前記接続切断手段は、前記アドレス変更手段により前記接続先アドレスが変更される際に、前記一の端末に接続を切断することを通知し、当該通知をしたことを直接的な契機として前記一の端末との接続を切断する、
    請求項1~3のいずれか一項記載の通信装置。
  5.  前記接続切断手段は、前記切替要求受付手段により前記切替要求が受け付けられていないときに前記一の端末との接続を切断する場合には、前記一の端末に切断要求を送信し、当該切断要求に対する応答を前記一の端末から受信したことを契機として前記一の端末との接続を切断する、
    請求項1~4のいずれか一項記載の通信装置。
  6.  前記切替要求受付手段は、自装置が前記一の端末と第1の近距離無線通信により接続されている際に、前記第1の近距離無線通信とは異なる第2の近距離無線通信により他の端末への接続切替を指示する切替要求を受け付け、
     前記アドレス変更手段は、前記第2の近距離無線通信により前記変更後の接続先アドレスを前記他の端末に通知し、
     前記接続処理実行手段は、前記第1の近距離無線通信により前記変更後の接続先アドレスによる前記他の端末からの接続要求を受け付け、前記第1の近距離無線通信により前記他の端末に接続する、
    請求項1~5のいずれか一項記載の通信装置。
  7.  予め設定された接続先アドレスを介して端末と近距離無線通信により接続してデータ通信を行う通信装置により実行される通信制御方法であって、
     自装置が一の端末と接続されている際に、他の端末への接続切替を指示する切替要求を受け付ける切替要求受付ステップと、
     前記切替要求受付ステップにおいて前記切替要求が受け付けられたことを契機として、前記接続先アドレスを変更するアドレス変更ステップと、
     前記アドレス変更ステップにおいて前記接続先アドレスが変更される際に、前記一の端末との接続を強制的に切断する接続切断ステップと、
     前記接続切断ステップにおいて前記一の端末との接続が切断された後に、前記アドレス変更ステップにおいて変更された後の接続先アドレスによる前記他の端末からの接続要求を受け付け、前記他の端末に接続する接続処理実行ステップと、
    を含む通信制御方法。
PCT/JP2015/063348 2014-06-09 2015-05-08 通信装置及び通信制御方法 WO2015190194A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP15806270.3A EP3154243B1 (en) 2014-06-09 2015-05-08 Communication device and communication control method
JP2016527692A JP6246353B2 (ja) 2014-06-09 2015-05-08 通信装置及び通信制御方法
US15/118,976 US10356666B2 (en) 2014-06-09 2015-05-08 Communication device and communication control method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2014118528 2014-06-09
JP2014-118528 2014-06-09

Publications (1)

Publication Number Publication Date
WO2015190194A1 true WO2015190194A1 (ja) 2015-12-17

Family

ID=54833299

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/063348 WO2015190194A1 (ja) 2014-06-09 2015-05-08 通信装置及び通信制御方法

Country Status (4)

Country Link
US (1) US10356666B2 (ja)
EP (1) EP3154243B1 (ja)
JP (1) JP6246353B2 (ja)
WO (1) WO2015190194A1 (ja)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019033322A (ja) * 2017-08-04 2019-02-28 キヤノン株式会社 通信装置、通信装置の制御方法、及び、プログラム
CN113692067A (zh) * 2021-08-10 2021-11-23 北京小米移动软件有限公司 一种设备的连接方法、装置及可读存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6265873B2 (ja) * 2014-09-24 2018-01-24 キヤノン株式会社 モバイル端末とその制御方法、及びプログラム

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006148648A (ja) * 2004-11-22 2006-06-08 Hitachi Communication Technologies Ltd ユーザ端末接続制御方法および装置
JP2007318501A (ja) * 2006-05-26 2007-12-06 Oki Electric Ind Co Ltd アクセス制御装置、無線装置及びネットワーク
JP2012147146A (ja) * 2011-01-11 2012-08-02 Jvc Kenwood Corp 無線通信装置、無線通信における接続制御方法およびコンピュータプログラム
JP2012227871A (ja) * 2011-04-22 2012-11-15 Fujitsu Ltd 通信装置及び方法、並びに制御装置
JP2014053725A (ja) * 2012-09-06 2014-03-20 Nec Access Technica Ltd 無線ルータ装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7146636B2 (en) * 2000-07-24 2006-12-05 Bluesocket, Inc. Method and system for enabling centralized control of wireless local area networks
JP2002149510A (ja) 2000-11-09 2002-05-24 Matsushita Electric Ind Co Ltd サーバ装置
JP4409788B2 (ja) * 2001-05-10 2010-02-03 富士通株式会社 無線データ通信網切替装置と無線データ通信網切替処理用プログラム
BRPI0622098A2 (pt) * 2006-10-31 2011-12-27 Telecom Italia Spa terminais de modo duplo e de modo énico, sistema de comunicaÇço, e, produto de software
US8620216B2 (en) * 2008-06-30 2013-12-31 Telecom Italia S.P.A. System and method for automatically switching connection of a wireless interface
US9363228B2 (en) * 2009-12-15 2016-06-07 Qualcomm Innovation Center, Inc. Apparatus and method of peer-to-peer communication
US8799485B2 (en) * 2009-12-18 2014-08-05 Sling Media, Inc. Methods and apparatus for establishing network connections using an inter-mediating device
JP5472002B2 (ja) * 2010-05-17 2014-04-16 株式会社デンソー 近距離無線通信装置
JP5621481B2 (ja) * 2010-09-30 2014-11-12 富士通株式会社 電子装置および無線通信制御プログラム
KR102003978B1 (ko) * 2012-10-19 2019-10-01 삼성전자주식회사 전자 장치 및 이를 이용한 운용 방법

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006148648A (ja) * 2004-11-22 2006-06-08 Hitachi Communication Technologies Ltd ユーザ端末接続制御方法および装置
JP2007318501A (ja) * 2006-05-26 2007-12-06 Oki Electric Ind Co Ltd アクセス制御装置、無線装置及びネットワーク
JP2012147146A (ja) * 2011-01-11 2012-08-02 Jvc Kenwood Corp 無線通信装置、無線通信における接続制御方法およびコンピュータプログラム
JP2012227871A (ja) * 2011-04-22 2012-11-15 Fujitsu Ltd 通信装置及び方法、並びに制御装置
JP2014053725A (ja) * 2012-09-06 2014-03-20 Nec Access Technica Ltd 無線ルータ装置

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019033322A (ja) * 2017-08-04 2019-02-28 キヤノン株式会社 通信装置、通信装置の制御方法、及び、プログラム
CN113692067A (zh) * 2021-08-10 2021-11-23 北京小米移动软件有限公司 一种设备的连接方法、装置及可读存储介质

Also Published As

Publication number Publication date
EP3154243A1 (en) 2017-04-12
US20180176833A1 (en) 2018-06-21
JPWO2015190194A1 (ja) 2017-04-20
EP3154243A4 (en) 2017-06-28
EP3154243B1 (en) 2019-04-03
US10356666B2 (en) 2019-07-16
JP6246353B2 (ja) 2017-12-13

Similar Documents

Publication Publication Date Title
US20150201440A1 (en) BLUETOOTH Device Connection Method and Device
US9497788B2 (en) Communication device, and control method therefor
CN111447602B (zh) 蓝牙设备及其蓝牙抢占方法和装置、计算机可读存储介质
JP5278506B2 (ja) 近距離無線通信装置
WO2013086993A1 (zh) 终端之间传输数据的方法和终端
CN113366439A (zh) 一种连接蓝牙设备方法及设备
EP2941058B1 (en) Near field communication method and device
US10721688B2 (en) Power consumption control method for wearable device, and wearable device
JP2020501451A (ja) ホットスポット接続を確立するための方法および端末デバイス
JP6246353B2 (ja) 通信装置及び通信制御方法
JP2020057866A (ja) アプリケーションプログラム、携帯端末及び通信機器
WO2016106737A1 (zh) 一种呼叫转移的方法和终端
JP6345254B2 (ja) ビデオ通信終了方法および装置
JP2015076762A (ja) 通信装置およびその制御方法
JP2011009873A (ja) 通信装置、通信装置の制御方法
JP5812065B2 (ja) 外部記憶装置、データファイル送受信システム、データファイル送受信方法・プログラム
WO2009122722A1 (ja) 無線通信端末およびデバイス起動方法
JP6308879B2 (ja) 通信端末及び着信制御方法
JP4138802B2 (ja) 通信装置及び通信方法
JP2006115166A (ja) 無線通信システム、無線通信端末、端末状態管理サーバ、および無線通信システムの制御方法
CN108616864B (zh) 无线连网方法
CN115623454A (zh) 配对方法及装置、配对系统和可读存储介质
JP6272216B2 (ja) 中継装置、中継装置の制御方法および中継装置のプログラム
JP5335661B2 (ja) 通信装置、通信装置の制御方法及び記憶媒体
JP2013143639A (ja) データ送受信装置

Legal Events

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

Ref document number: 15806270

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016527692

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 15118976

Country of ref document: US

REEP Request for entry into the european phase

Ref document number: 2015806270

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2015806270

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE