WO2009104513A1 - Communication apparatus, control method of communication apparatus, computer program, and storage medium - Google Patents

Communication apparatus, control method of communication apparatus, computer program, and storage medium Download PDF

Info

Publication number
WO2009104513A1
WO2009104513A1 PCT/JP2009/052356 JP2009052356W WO2009104513A1 WO 2009104513 A1 WO2009104513 A1 WO 2009104513A1 JP 2009052356 W JP2009052356 W JP 2009052356W WO 2009104513 A1 WO2009104513 A1 WO 2009104513A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
communication parameter
parameter
network
providing
Prior art date
Application number
PCT/JP2009/052356
Other languages
French (fr)
Inventor
Tatsuhiko Sakai
Original Assignee
Canon Kabushiki Kaisha
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 Canon Kabushiki Kaisha filed Critical Canon Kabushiki Kaisha
Priority to CN200980106046.9A priority Critical patent/CN101953206B/en
Priority to EP09711530.7A priority patent/EP2250837B1/en
Priority to US12/867,800 priority patent/US20100330924A1/en
Publication of WO2009104513A1 publication Critical patent/WO2009104513A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Definitions

  • the present invention relates to a communication apparatus, a control method of the communication apparatus, a computer program, and a storage medium.
  • Wi-Fi Protected Setup Easing the User Experience for
  • Wi-Fi Wireless Fidelity
  • US 2007/0043844 discloses an example of the automatic setting of communication parameters for ad hoc wireless LAN communication (hereinafter ad hoc communication) .
  • a device that performs ad hoc communication determines a device that provides communication parameters (hereinafter, providing apparatus) from among devices participating in a network, and the providing apparatus provides communication parameters to other devices (hereinafter, receiving apparatuses) .
  • the content of communication parameters provided as a result of automatic communication parameter setting will be considered.
  • communication parameters set in an access point being information such an SSID, an encryption method, an encryption key, an authentication method and an authentication key
  • the same content is always provided as long as the access point settings are not changed.
  • a problem with wireless communication security potentially arises when communication parameters having the same content are always provided by a providing apparatus to receiving apparatuses, similarly to infrastructure communication.
  • two receiving apparatuses not intending to communicate directly may possibly exist on the same network.
  • a device may possibly communicate with an unintended device or risk having wireless communication intercepted by an unintended device.
  • the providing apparatus may want to provide the same communication parameters to a plurality of receiving apparatuses.
  • two or more receiving devices will not be able to participate in the same network if the communication parameters that the providing apparatus provides to the receiving apparatuses are changed whenever automatic setting is performed, adversely affecting usability.
  • An object of the present invention is to solve the problems that arise in the cas.e where a providing apparatus performs communication parameter setting.
  • an object of the present invention is to prevent (inhibit) devices unrelated to the communication from existing on a network as a result of the providing apparatus always providing the same communication parameters to receiving apparatuses.
  • a communication apparatus includes: providing means for providing a communication parameter to a receiving apparatus that receives communication parameters; first storage means for storing a first communication parameter that has been set by a communication parameter setting process performed with another communication apparatus; and determining means for determining whether a network established using the first communication parameter exists, wherein the providing means provides the first communication parameter or a second communication parameter that differs from the first communication parameter, based on a result of the determination by the determining means .
  • a communication method of a communication apparatus includes the steps of: providing a communication parameter to a receiving apparatus that receives communication parameters; storing a first communication parameter that has been set by a communication parameter setting process performed with another communication apparatus; and determining whether a network established using the first communication parameter exists, wherein in the providing step, the first communication parameter or a second communication parameter that differs from the first communication parameter is provided based on a result of the determination in the determining step.
  • FIG. 1 is a block diagram constituting a terminal .
  • FIG. 2 is a software functional block diagram of a providing apparatus in a preferred embodiment of the present invention.
  • FIG. 3 is a software functional block diagram of a receiving apparatus in the preferred embodiment .
  • FIG. 4 is a configuration diagram of a network in the preferred embodiment.
  • FIG. 5 is a flowchart representing an operation of a communication parameter selection process of the providing apparatus in the preferred embodiment .
  • FIG. 6 is a flowchart representing an operation of an existence determination process of the providing apparatus in the preferred embodiment.
  • FIG. 7 is a flowchart representing an operation of an automatic communication parameter setting process of the providing apparatus in the preferred embodiment.
  • FIG. 8 is a flowchart representing an operation of an automatic communication parameter setting process of the receiving apparatus in the preferred embodiment.
  • FIG. 9 is a first sequence diagram representing the operations of a terminal A, a terminal B and a terminal C in the preferred embodiment.
  • FIG. 10 is a second sequence diagram representing the operations of the terminal A, the terminal B and the terminal C in the preferred embodiment .
  • FIG. 1 is a block diagram representing an exemplary configuration of terminals that will be discussed below.
  • Reference numeral 101 denotes the terminal as a whole.
  • Reference numeral 102 denotes a control unit that performs overall control of the terminal by executing control programs stored in a storage unit 103. The control unit 102 also controls the setting of communication parameters with another terminal.
  • Reference numeral 103 denotes a storage unit that stores control programs executed by the control unit 102 and various types of information such as communication parameters. Various operations (discussed below) are performed as a result of the control unit 102 executing the control programs stored in the storage unit 103.
  • Reference numeral 104 denotes a wireless unit for performing wireless communication.
  • Reference numeral 105 denotes a display unit that performs various types of display, and has a function capable of visually recognizable information output such as an LCD or LED and/or audio output such as a speaker.
  • Reference numeral 106 denotes a setting button that provides a trigger for starting communication parameter setting. The control unit 102 starts a communication parameter setting operation (discussed below) when operation of the setting button 106 by a user is detected.
  • Reference numeral 107 denotes an antenna control unit, and reference numeral 108 denotes an antenna.
  • Reference numeral 109 is an input unit.
  • FIG. 2 is a block diagram representing an exemplary configuration of software functional blocks executed by a terminal (hereinafter, providing apparatus) that provides communication parameters with a communication parameter setting operation (discussed below) .
  • Reference numeral 201 denotes the terminal as a whole.
  • Reference numeral 202 denotes a communication parameter provision unit that performs a communication parameter provision process.
  • communication parameters required in order to perform wireless communication such as an SSID that serves as a network identifier, an encryption method, an encryption key, an authentication method and an authentication key are provided to another terminal.
  • the providing apparatus when a communication parameter is provided to another terminal, stores the provided communication parameter in the storage unit 103 as the latest communication parameter provided to a receiving apparatus (hereinafter, provided parameter) .
  • the provided parameter stored in the storage unit 103 can also be referred to as the last communication parameter provided out of the communication parameters already provided by the providing apparatus.
  • Reference numeral 203 denotes a packet reception unit that receives packets related to various types of communication.
  • Reference numeral 204 denotes a packet transmission unit that transmits packets related to various types of communication.
  • Reference numeral 205 denotes a search signal transmission unit that controls transmission of a device search signal such as a probe request.
  • a probe request can also be referred to as a network search signal for searching for a desired network.
  • Transmission of a probe request (discussed below) is performed by the search signal transmission unit 205.
  • Transmission of a probe response constituting a response signal to a received probe request is also performed by the search signal transmission unit 205.
  • Reference numeral 206 denotes a search signal reception unit that controls reception of a device search signal such as a probe request from another terminal. Reception of a probe request (discussed below) is performed by the search signal reception unit 206. Reception of a probe response is also performed by the search signal reception unit 206. Note that various types of information (self information) of the source device are added to the device search signal and the response signal.
  • Reference numeral 207 denotes a network control unit that controls establishing, joining and leaving a network. Establishing, joining and leaving a wireless LAN network (discussed below) are controlled by the network control unit 207. Note that establishing a network can also be referred to as creating or forming a network. With ad hoc communication, a network is established by commencing transmission of a beacon.
  • Reference numeral 208 denotes a communication parameter creation unit that newly creates communication parameters.
  • the communication parameter creation unit 208 newly creates communication parameters required in order to perform wireless communication such as an SSID that serves as a network identifier, an encryption method, an encryption key, an authentication method and an authentication key.
  • a new communication parameter creation process (discussed below) is performed by the communication parameter creation unit 208.
  • Reference numeral 209 denotes an existence determination unit that determines whether a network established by the providing apparatus exists. An existence determination process (discussed below) is performed by the existence determination unit 209. Note that the existence determination unit 209 is also able to determine whether a receiving apparatus to which the providing apparatus has provided a communication parameter still exists in the network.
  • Reference numeral 210 denotes a communication parameter selection unit that selects a communication parameter to be provided to a receiving apparatus. A communication parameter selection process (discussed below) is performed by the communication parameter selection unit 210.
  • Reference numeral 211 denotes an elapsed time determination unit that measures elapsed time from when a communication parameter was last provided to a receiving apparatus, and determines whether the elapsed time exceeds a predetermined maximum elapsed time. Note that the maximum elapsed time may be prestored in the device or may be settable by a user. An elapsed time determination process (discussed below) is performed by the elapsed time determination unit 211.
  • FIG. 3 is a block diagram representing an exemplary configuration of software functional blocks executed by a terminal that receives communication parameters (hereinafter, receiving apparatus) with a communication parameter setting operation (discussed below) .
  • Reference numeral 301 denotes the terminal as a whole.
  • Reference numeral 302 denotes a communication parameter reception unit that performs a communication parameter reception process.
  • communication parameters required in order to perform wireless communication such as an SSID that serves as a network identifier, an encryption method, an encryption key, an authentication method and an authentication key are received from a providing apparatus.
  • Reference numeral 303 denotes a packet reception unit that receives packets related to various types of communication.
  • Reference numeral 304 denotes a packet transmission unit that transmits packets related to various types of communication.
  • Reference numeral 305 denotes a search signal transmission unit that controls transmission of a device search signal such as a probe request. Note that a probe request can also be referred to as a network search signal for searching for a desired network. Transmission of a probe request (discussed below) is performed by the search signal transmission unit 305. Transmission of a probe response constituting a response signal to a received probe request is also performed by the search signal transmission unit 305.
  • Reference numeral 306 denotes a search signal reception unit that controls reception of a device search signal such as a probe request from another terminal. Reception of a probe request (discussed below) is performed by the search signal reception unit 306. Reception of a probe response is also performed by the search signal reception unit 306.
  • Reference numeral 307 denotes a network control unit that controls joining and leaving a network. Joining and leaving a network (discussed below) are controlled by the network control unit 307.
  • Note that all of the software functional blocks are interrelated in terms of both software and hardware. The above functional blocks are merely illustrative, with it being possible to constitute a plurality of the functional blocks as a single functional block, or to further divide any of the functional blocks into blocks that perform a plurality of functions.
  • FIG. 4 shows a terminal A 401 (hereinafter terminal A) , a terminal B 402 (hereinafter terminal B) , and a terminal C 403 (hereinafter terminal C) .
  • the terminals A, B and C are each provided with an IEEE 802.11 wireless LAN communication function, and perform wireless communication using ad hoc communication with one another.
  • the terminal A is a providing apparatus and has the configuration of FIGS. 1 and 2 described earlier.
  • the terminals B and C are receiving apparatuses and have the configuration of FIGS. 1 and 3.
  • FIG. 5 is an operation flowchart illustrating a process of selecting a communication parameter to provide to a receiving apparatus, when a providing apparatus executes an automatic communication parameter setting process. The process shown in FIG. 5 is started when the setting button 106 is operated in the providing apparatus .
  • the communication parameter selection unit 210 refers to the storage unit 103 and confirms whether a provided parameter is stored (S501) . If a provided parameter is not stored in the storage unit 103, the communication parameter selection unit 210 activates the communication parameter creation unit 208, and newly creates a communication parameter to provide to a receiving apparatus (S502) .
  • the communication parameter selection unit 210 activates the existence determination unit 209 (S503) .
  • the existence determination unit 209 executes the existence determination process of FIG. 6 (discussed below) , and determines whether the network established by the providing apparatus using the provided parameter exists (S504) . [0061] If, as a result of the existence determination process, it is determined that the network exists, the communication parameter selection unit 210 causes the elapsed time determination unit 211 to determine the elapsed time (S505) . [0062] The elapsed time determination unit 211 determines whether the time elapsed from when the provided parameter was provided to a receiving apparatus exceeds a predetermined maximum elapsed time (S506) .
  • the communication parameter selection unit 210 selects the provided parameter stored in the storage unit 103 as the communication parameter to be provided (S507) .
  • the communication parameter selection unit 210 activates the communication parameter creation unit 208, and newly creates a communication parameter to be provide to a receiving apparatus (S502) .
  • the reason for performing the determination process of S506 will be described. It is conceivable, for example, that despite the providing apparatus having left the network due to a user operation such as being powered off after providing a communication parameter, the receiving apparatus continues to participate in the network due to the user having forgotten to operate the receiving apparatus. Assume that the setting button is pressed in this situation after a certain amount of time has elapsed, in order for the providing apparatus to perform communication with another receiving apparatus. In this case, if the provided parameter is provided to the other receiving apparatus after it has been determined that the network established with the provided parameter still exists, a plurality of receiving apparatuses not intending to communicate directly will end up existing on the same network.
  • the providing apparatus selects a newly created communication parameter as the communication parameter to be provided, after a fixed period of time has elapsed, even if the network established using the provided parameter exists. A reduction in security due to the same communication parameter being used for an extended period of time can thereby be prevented.
  • the network control unit 207 selects the provided parameter in step S507 and then joins the network using the provided parameter (S508) .
  • the communication parameter selection unit 210 activates the communication parameter creation unit 208 and newly creates a co ⁇ imunication parameter to provide to a receiving apparatus (S502) .
  • the network control unit 207 establishes a network using the created communication parameter (S509) .
  • the network control unit 207 stores basic service set identifier (BSSID) information of the established network in the storage unit 103 as established BSSID information (S510) .
  • BSSID basic service set identifier
  • a BSSID is a network identifier having a random value generated by an apparatus that establishes a network. Consequently, a different BSSID is set whenever a network is established, even if communication parameters such as the SSID, encryption method, encryption key, authentication method and authentication key are set with the same content. Consequently, the BSSID can be used in determining whether a network established using a provided parameter still exists, as will be discussed below with FIG. 6.
  • the SSID which differs from the BSSID, is a network identifier that can be preset in a device or set arbitrarily by a user.
  • the BSSID is not a communication parameter that is provided from a providing apparatus to a receiving apparatus as a result of the automatic setting process.
  • the providing apparatus determines whether a receiving apparatus to which a communication parameter has already been provided has left the network.
  • the network still exists it is conceivable that automatic communication parameter setting with another receiving apparatus was instructed, or that the providing apparatus has left the network temporarily due to interference or the like.
  • This process results in the provided parameter being selected in both cases as the communication parameter to be provided.
  • the provided parameter will be provided to the other receiving apparatus, enabling data communication to be performed with three or more apparatuses.
  • preparation can be made for a communication apparatus to newly join the network.
  • the providing apparatus If the network established by the providing apparatus using the provided parameter does not exist, it is conceivable that data communication on the network using the provided parameter was completed, or that the receiving apparatus has left the network. In this case, it is possible for the providing apparatus to only allow a communication apparatus related to a desired communication process to join the network, by newly creating a communication parameter to be provided. In other words, the existence of devices unrelated to the communication in a network as a result of the same communication parameter being provided to a plurality of apparatuses not intending to communicate directly can be prevented (inhibited) , enabling communication security to be improved.
  • the processing of S505 and S506 may be omitted.
  • the providing apparatus is thereby able decide whether to use the provided parameter or a newly created parameter as the parameter to be provided, simply by determining whether the network established using the provided parameter still exists.
  • the provided parameter may be disabled after a prescribed period of time has elapsed from when the provided parameter is stored. In this case, disabling the provided parameter allows a newly created provided parameter to be determined as the parameter to be provided, even if the provided parameter is stored. A reduction in security can thereby be prevented.
  • FIG. 6 is a flowchart illustrating a process (S504 in FIG. 5) of determining whether a network established by the providing apparatus using a provided parameter exists.
  • the existence determination unit 209 refers to the storage unit 103 and confirms whether established BSSID information is stored (S601) . [0077] If established BSSID information is not stored, the existence determination unit 209 determines that the network established by the providing apparatus using the provided parameter does not exist, and ends the processing (S602) .
  • the existence determination unit 209 acquires the BSSID information of nearby networks by scanning for networks (S603) . Specifically, the providing apparatus acquires the BSSID information of nearby networks by transmitting a probe request and receiving a probe response from nearby networks.
  • the existence determination unit 209 compares the BSSID information acquired at S603 with the established BSSID information (S604) . [0080] If BSSID information matching the established BSSID information exists in the BSSID information acquired at S603, the existence determination unit 209 determines that the network established using the provided parameter exists (S605) . ⁇ 0081] If BSSID information matching the established BSSID information does not exist in the BSSID information acquired at S603, the existence determination unit 209 determines that the network established using the provided parameter does not exist (S602) .
  • the providing apparatus can thus reliably determine whether a network established using a provided parameter still exists.
  • a communication unit of a peripheral device is in power saving mode when the scan is executed at step S603 and unable to reply to a probe request transmitted by the providing apparatus.
  • the providing apparatus may execute the scan after the power saving mode in the peripheral device has been cancelled, by transmitting a signal for cancelling the power saving mode to the peripheral device prior to executing step S603.
  • FIG. 7 is an operation flowchart illustrating a process of providing a communication parameter to a receiving apparatus, when the providing apparatus executes an automatic communication parameter setting process. The process shown in FIG. 7 is started when the communication parameter selection process shown in FIG. 5 is completed in the providing apparatus .
  • the providing apparatus waits for a fixed time period for a wireless signal to be transmitted from a peripheral apparatus (S701) . If the desired signal is not received before the fixed time period elapses, the processing is ended (S702) . If the fixed time period has not elapsed, the processing returns to step S701, and the providing apparatus continues to wait for a wireless signal.
  • the search signal reception unit 206 confirms whether the received signal is a probe request (S703) .
  • the communication parameter provision unit 202 confirms whether the received signal is an automatic communication parameter setting start message (S704) .
  • the communication parameter provision unit 202 provides a communication parameter to the receiving apparatus that transmitted the start message (S705) .
  • the communication parameter provision unit 202 having provided a communication parameter to the receiving apparatus, stores the provided communication parameter in the storage unit 103 as the latest communication parameter to be provided to a receiving apparatus (above "provided parameter") .
  • the elapsed time determination unit 211 is activated, and starts measuring elapsed time from when the provided parameter is stored.
  • FIG. 8 is an operation flowchart illustrating a process when a receiving apparatus executes an automatic communication parameter setting process. The process shown in FIG. 8 is started when the setting button 106 is operated by a user in a receiving apparatus .
  • the search signal transmission unit 305 transmits a probe request
  • the search signal reception unit 306 waits for a fixed time period for a probe response containing additional information indicating automatic communication parameter setting to be transmitted from a providing apparatus (S802) .
  • step S803 If a probe response with additional information is not received before the fixed time period elapses, the processing returns to step S801, and the search signal transmission unit 305 again transmits a probe request (S803) .
  • the communication parameter reception unit 302 specifies the identifier of the network established by the providing apparatus from the probe response. After specifying the identifier, the communication parameter reception unit 302 joins the network, and requests the providing apparatus to provide a communication parameter. This request is made by transmitting an automatic communication parameter setting start message. The communication parameter reception unit 302 then receives a communication parameter from the providing apparatus and stores the received communication parameter in the storage unit 103 (S804).
  • FIG. 9 is a sequence diagram illustrating exemplary operations of the terminals in the present embodiment .
  • FIG. 9 shows an example in which the terminals A, B and C participate in the same network as a result of the same communication parameter being provided from the terminal A to the terminals B and C by automatic communication parameter setting.
  • the terminal A establishes a network (F901) and a communication parameter is provided from the terminal A to the terminal B (F902) as a result of the processes of FIGS. 5, 6, 7 and 8. Subsequently, the terminal B joins the network (F903) .
  • the terminal A is assumed to provide a newly created communication parameter to the terminal B.
  • the communication parameter provided to the terminal B is stored as a provided parameter
  • the BSSID of the network established at F901 is stored as an established BSSID.
  • the terminal A starts the processes of FIGS. 5 and 6 when the setting button of the terminal A is operated by a user after the communication parameter is provided to the terminal B.
  • the terminal A executes a scan (F904), and receives a probe response from the terminal B (F905) .
  • the terminal A confirms that the network of the communication parameter provided to the terminal B at F902 still exists by comparing the BSSID information included in the received probe response with the stored BSSID information.
  • the terminal A thereby selects the communication parameter stored as the provided parameter, that is, the same communication parameter as the communication parameter provided to the terminal B, as the communication parameter to be provided (F906) .
  • FIG. 10 is a sequence diagram illustrating exemplary operations of the terminals in the present embodiment .
  • FIG. 10 shows an example in which a communication parameter is provided from the terminal A to the terminal B, and then a communication parameter is provided from the terminal A to the terminal C after data communication between the terminals A and B is completed.
  • the terminal A When the setting button of the terminals A and B are operated by a user, the terminal A establishes a network (FlOOl) and a communication parameter is provided from the terminal A to the terminal B (F1002) as a result of the processes of FIGS. 5, 6, 7 and 8. Subsequently, the terminal B joins the network (F1003) .
  • the terminal A is assumed to provide a newly created communication parameter to the terminal B.
  • the communication parameter provided to the terminal B is stored as a provided parameter
  • the BSSID of the network established at FlOOl is stored as an established BSSID.
  • the terminal A starts the processes of FIGS. 5 and 6 when the setting button of the terminal A is operated.
  • the terminal A executes a scan (F1007), and confirms that the network of the communication parameter provided to the terminal B at F1002 does not exist.
  • the terminal A thereby selects a newly created communication parameter as the communication parameter to be provided, and establishes a network using the created communication parameter (F1008) .
  • a communication parameter is provided from the terminal A to the terminal C as a result of the processes of FIGS. 7 and 8 (F1009) .
  • the newly created communication parameter is provided by the terminal A to the terminal C.
  • the terminal C on receipt of the communication parameter, joins the network using the communication parameter (FlOlO) .
  • the providing apparatus selects whether to use the provided parameter (first communication parameter) or a newly created parameter (second communication parameter) as the communication parameter to be provided. [0110] If the network established using a provided parameter does exist, the providing apparatus is, after providing a communication parameter to one receiving apparatus, further able to provide the same communication parameter to another receiving apparatus, by selecting the provided parameter. Also, even if the providing apparatus leaves the network temporality after providing a communication parameter due to interference or the like, the providing apparatus is able to rejoin the network and provide the communication parameter of the network. Therefore, the automatic setting process no longer needs to be performed again from the beginning with all of the receiving apparatuses.
  • the providing apparatus is able to prevent the same communication parameter from being provided to a plurality of receiving apparatuses not intending to perform data communication, by selecting a newly created communication parameter. A reduction in security due to an unintended apparatus participating in the same network can thereby be prevented.
  • the providing apparatus can appropriately restrict participation in the network depending on the situation to only those communication apparatuses related to the communication process. [0113] That is, a device unrelated to the communication can be appropriately prevented (inhibited) from existing in a network depending on the situation, enabling communication security to be improved without compromising usability. [0114] Note that while an example was described in the above embodiment in which a newly created communication parameter is provided in the case of not providing a provided parameter to a receiving apparatus, newly creating a communication parameter is not always necessary. For example, a default communication parameter may be prepared, and provided.
  • a different communication parameter may be provided.
  • the network providing a communication parameter may differ from the network on which data communication is performed after setting the communication parameter.
  • the network for performing data communication may be established by either the providing apparatus or the receiving apparatus.
  • the elapsed time determination process in this case, the elapsed time from when the parameter is provided may be determined, or the elapsed time from when the provided communication parameter is set may be determined.
  • a receiving .device can, as a providing apparatus, provide a communication parameter to an apparatus seeking to newly join the network.
  • the communication apparatus determines whether the network established using the communication parameter that was provided exists, and then decides, based on the v determination result, whether to use the communication parameter that was provided or a newly created communication parameter as the communication parameter to be provided.
  • the elapsed time determination process in this case, the elapsed time from when provision of the communication parameter is received or from when the communication parameter that was provided is set may be determined.
  • the present invention may also be implemented in a wired communication medium such as power line communication (PLC) or a wired LAN.
  • PLC power line communication
  • MBOA Multiband OFDM Alliance
  • UWB includes wireless USB, wireless 1394, WINET and the like.
  • the present invention may be achieved by a storage medium storing the program code of software for realizing the aforementioned functions being supplied to a system or an apparatus, and a computer (CPU, MPU) in the system or apparatus reading out and executing the program code stored on the storage medium.
  • a computer CPU, MPU
  • the actual program code read out from the storage medium realizes the functions of the foregoing embodiment, and the storage medium storing the program code constitutes the present invention.
  • Storage media that can be used for supplying the program code include, for example, flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, and DVD.
  • the aforementioned functions are not only realized as a result of a computer executing the read program code.
  • the aforementioned functions may also be realized as a result of an OS running on a computer performing part or all of the actual processing based on instructions in the program code.
  • OS stands for operating system.
  • the aforementioned functions may further be realized as a result of the program code read out from the storage medium being written to a memory provided in a function expansion board inserted in a computer or a function expansion unit connected to a computer, and a CPU provided in the function expansion board or the function expansion unit performing part or all of the actual processing based on instructions in the program code.
  • the present invention enables automatic setting of communication parameters to be executed most securely without compromising usability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A communication apparatus includes: providing means for providing a communication parameter to a receiving apparatus that receives communication parameters; first storage means for storing a first communication parameter that has been set by a communication parameter setting process performed with another communication apparatus; and determining means for determining whether a network established using the first communication parameter exists, wherein the providing means provides the first communication parameter or a second communication parameter that differs from the first communication parameter, based on a result of the determination by the determining means.

Description

DESCRIPTION
COMMUNICATION APPARATUS, CONTROL METHOD OF COMMUNICATION APPARATUS, COMPUTER PROGRAM, AND STORAGE
MEDIUM
TECHNICAL FIELD
[0001] The present invention relates to a communication apparatus, a control method of the communication apparatus, a computer program, and a storage medium.
BACKGROUND ART
[0002] With wireless communication typified by a wireless LAN compliant with the IEEE 802.11 series of standards, there are a great many setting items that it is necessary to set prior to use.
[0003] In terms of the setting items, for example, there are communication parameters required for performing wireless communication such as an SSID that serves as a network identifier, an encryption method, an encryption key, an authentication method and an authentication key, with it being extremely troublesome for the user to set these manually.
[0004] In view of this, automatic setting methods for readily setting communication parameters in wireless devices have been devised by various manufactures. These automatic setting methods automatically perform setting of communication parameters by providing communication parameters from one device to another device using procedures predetermined between the connected devices as well as messages .
[0005] An example of automatic communication parameter setting is disclosed in Wi-Fi CERTIFIED™ for
Wi-Fi Protected Setup: Easing the User Experience for
Home and Small Office Wi-Fi® Networks (http://www.wi- fi . org/wp/wifi-protected-setup; hereinafter, Wi-Fi
Protected Setup document) .
[0006] US 2007/0043844 discloses an example of the automatic setting of communication parameters for ad hoc wireless LAN communication (hereinafter ad hoc communication) .
[0007] In US 2007/0043844, a device that performs ad hoc communication determines a device that provides communication parameters (hereinafter, providing apparatus) from among devices participating in a network, and the providing apparatus provides communication parameters to other devices (hereinafter, receiving apparatuses) .
[0008] By utilizing automatic setting of communication parameters, the user is thus able to set communication parameters automatically with a simple operation.
[0009] Here, the content of communication parameters provided as a result of automatic communication parameter setting will be considered. [0010] With infrastructure communication, communication parameters set in an access point, being information such an SSID, an encryption method, an encryption key, an authentication method and an authentication key, are provided to terminals. With the communication parameters thus provided to terminals, the same content is always provided as long as the access point settings are not changed. [0011] On the other hand, with ad hoc communication, a problem with wireless communication security potentially arises when communication parameters having the same content are always provided by a providing apparatus to receiving apparatuses, similarly to infrastructure communication. [0012] For example, in the case where communication parameters provided by a providing apparatus to a receiving apparatus during one communication are provided to a different receiving apparatus during another communication, two receiving apparatuses not intending to communicate directly may possibly exist on the same network.
[0013] When devices unrelated to the communication exist on a network, a device may possibly communicate with an unintended device or risk having wireless communication intercepted by an unintended device. One - A -
conceivable method of solving this problem is to change the provided communication parameters whenever automatic setting of communication parameters is performed.
[0014] On the other hand, when performing communication with three or more devices, for instance, the providing apparatus may want to provide the same communication parameters to a plurality of receiving apparatuses. In this case, two or more receiving devices will not be able to participate in the same network if the communication parameters that the providing apparatus provides to the receiving apparatuses are changed whenever automatic setting is performed, adversely affecting usability.
DISCLOSURE OF INVENTION
[0015] An object of the present invention is to solve the problems that arise in the cas.e where a providing apparatus performs communication parameter setting. For example, an object of the present invention is to prevent (inhibit) devices unrelated to the communication from existing on a network as a result of the providing apparatus always providing the same communication parameters to receiving apparatuses. [0016] According to one aspect of the present invention, a communication apparatus includes: providing means for providing a communication parameter to a receiving apparatus that receives communication parameters; first storage means for storing a first communication parameter that has been set by a communication parameter setting process performed with another communication apparatus; and determining means for determining whether a network established using the first communication parameter exists, wherein the providing means provides the first communication parameter or a second communication parameter that differs from the first communication parameter, based on a result of the determination by the determining means .
[0017] According to another aspect of the present invention, a communication method of a communication apparatus, includes the steps of: providing a communication parameter to a receiving apparatus that receives communication parameters; storing a first communication parameter that has been set by a communication parameter setting process performed with another communication apparatus; and determining whether a network established using the first communication parameter exists, wherein in the providing step, the first communication parameter or a second communication parameter that differs from the first communication parameter is provided based on a result of the determination in the determining step. [0018] Further features of the present invention will become apparent from the following description of exemplary embodiments (with reference to the attached drawings) .
BRIEF DESCRIPTION OF DRAWINGS
[0019] FIG. 1 is a block diagram constituting a terminal .
[0020] FIG. 2 is a software functional block diagram of a providing apparatus in a preferred embodiment of the present invention.
[0021] FIG. 3 is a software functional block diagram of a receiving apparatus in the preferred embodiment .
[0022] FIG. 4 is a configuration diagram of a network in the preferred embodiment.
[0023] FIG. 5 is a flowchart representing an operation of a communication parameter selection process of the providing apparatus in the preferred embodiment .
[0024] FIG. 6 is a flowchart representing an operation of an existence determination process of the providing apparatus in the preferred embodiment.
[0025] FIG. 7 is a flowchart representing an operation of an automatic communication parameter setting process of the providing apparatus in the preferred embodiment.
[0026] FIG. 8 is a flowchart representing an operation of an automatic communication parameter setting process of the receiving apparatus in the preferred embodiment.
[0027] FIG. 9 is a first sequence diagram representing the operations of a terminal A, a terminal B and a terminal C in the preferred embodiment. [0028] FIG. 10 is a second sequence diagram representing the operations of the terminal A, the terminal B and the terminal C in the preferred embodiment .
BEST MODE FOR CARRYING OUT THE INVENTION [0029] First Embodiment
A communication apparatus according to the present invention will hereinafter be described in detail with reference to the drawings. Hereinafter, an example using a wireless LAN system compliant with the IEEE 802.11 series of standards will be described, although the mode of communication is not necessarily limited to a wireless LAN compliant with IEEE 802.11. [0030] A hardware configuration in a preferred case of the present embodiment will now be described. [0031] FIG. 1 is a block diagram representing an exemplary configuration of terminals that will be discussed below. Reference numeral 101 denotes the terminal as a whole. Reference numeral 102 denotes a control unit that performs overall control of the terminal by executing control programs stored in a storage unit 103. The control unit 102 also controls the setting of communication parameters with another terminal. Reference numeral 103 denotes a storage unit that stores control programs executed by the control unit 102 and various types of information such as communication parameters. Various operations (discussed below) are performed as a result of the control unit 102 executing the control programs stored in the storage unit 103.
[0032] Reference numeral 104 denotes a wireless unit for performing wireless communication. Reference numeral 105 denotes a display unit that performs various types of display, and has a function capable of visually recognizable information output such as an LCD or LED and/or audio output such as a speaker. [0033] Reference numeral 106 denotes a setting button that provides a trigger for starting communication parameter setting. The control unit 102 starts a communication parameter setting operation (discussed below) when operation of the setting button 106 by a user is detected. Reference numeral 107 denotes an antenna control unit, and reference numeral 108 denotes an antenna. Reference numeral 109 is an input unit.
[0034] FIG. 2 is a block diagram representing an exemplary configuration of software functional blocks executed by a terminal (hereinafter, providing apparatus) that provides communication parameters with a communication parameter setting operation (discussed below) .
[0035] Reference numeral 201 denotes the terminal as a whole. Reference numeral 202 denotes a communication parameter provision unit that performs a communication parameter provision process. [0036] In the present embodiment, communication parameters required in order to perform wireless communication such as an SSID that serves as a network identifier, an encryption method, an encryption key, an authentication method and an authentication key are provided to another terminal.
[0037] Also, in the present embodiment, when a communication parameter is provided to another terminal, the providing apparatus stores the provided communication parameter in the storage unit 103 as the latest communication parameter provided to a receiving apparatus (hereinafter, provided parameter) . Note that the provided parameter stored in the storage unit 103 can also be referred to as the last communication parameter provided out of the communication parameters already provided by the providing apparatus. [0038] Reference numeral 203 denotes a packet reception unit that receives packets related to various types of communication. Reference numeral 204 denotes a packet transmission unit that transmits packets related to various types of communication. [0039] Reference numeral 205 denotes a search signal transmission unit that controls transmission of a device search signal such as a probe request. Note that a probe request can also be referred to as a network search signal for searching for a desired network. Transmission of a probe request (discussed below) is performed by the search signal transmission unit 205. Transmission of a probe response constituting a response signal to a received probe request is also performed by the search signal transmission unit 205.
[0040] Reference numeral 206 denotes a search signal reception unit that controls reception of a device search signal such as a probe request from another terminal. Reception of a probe request (discussed below) is performed by the search signal reception unit 206. Reception of a probe response is also performed by the search signal reception unit 206. Note that various types of information (self information) of the source device are added to the device search signal and the response signal. [0041] Reference numeral 207 denotes a network control unit that controls establishing, joining and leaving a network. Establishing, joining and leaving a wireless LAN network (discussed below) are controlled by the network control unit 207. Note that establishing a network can also be referred to as creating or forming a network. With ad hoc communication, a network is established by commencing transmission of a beacon.
[0042] Reference numeral 208 denotes a communication parameter creation unit that newly creates communication parameters. In the present embodiment, the communication parameter creation unit 208 newly creates communication parameters required in order to perform wireless communication such as an SSID that serves as a network identifier, an encryption method, an encryption key, an authentication method and an authentication key. A new communication parameter creation process (discussed below) is performed by the communication parameter creation unit 208. [0043] Reference numeral 209 denotes an existence determination unit that determines whether a network established by the providing apparatus exists. An existence determination process (discussed below) is performed by the existence determination unit 209. Note that the existence determination unit 209 is also able to determine whether a receiving apparatus to which the providing apparatus has provided a communication parameter still exists in the network. [0044] Reference numeral 210 denotes a communication parameter selection unit that selects a communication parameter to be provided to a receiving apparatus. A communication parameter selection process (discussed below) is performed by the communication parameter selection unit 210.
[0045] Reference numeral 211 denotes an elapsed time determination unit that measures elapsed time from when a communication parameter was last provided to a receiving apparatus, and determines whether the elapsed time exceeds a predetermined maximum elapsed time. Note that the maximum elapsed time may be prestored in the device or may be settable by a user. An elapsed time determination process (discussed below) is performed by the elapsed time determination unit 211. [0046] FIG. 3 is a block diagram representing an exemplary configuration of software functional blocks executed by a terminal that receives communication parameters (hereinafter, receiving apparatus) with a communication parameter setting operation (discussed below) .
[0047] Reference numeral 301 denotes the terminal as a whole. Reference numeral 302 denotes a communication parameter reception unit that performs a communication parameter reception process. In the present embodiment, communication parameters required in order to perform wireless communication such as an SSID that serves as a network identifier, an encryption method, an encryption key, an authentication method and an authentication key are received from a providing apparatus.
[0048] Reference numeral 303 denotes a packet reception unit that receives packets related to various types of communication. Reference numeral 304 denotes a packet transmission unit that transmits packets related to various types of communication. [0049] Reference numeral 305 denotes a search signal transmission unit that controls transmission of a device search signal such as a probe request. Note that a probe request can also be referred to as a network search signal for searching for a desired network. Transmission of a probe request (discussed below) is performed by the search signal transmission unit 305. Transmission of a probe response constituting a response signal to a received probe request is also performed by the search signal transmission unit 305.
[0050] Reference numeral 306 denotes a search signal reception unit that controls reception of a device search signal such as a probe request from another terminal. Reception of a probe request (discussed below) is performed by the search signal reception unit 306. Reception of a probe response is also performed by the search signal reception unit 306. [0051] Reference numeral 307 denotes a network control unit that controls joining and leaving a network. Joining and leaving a network (discussed below) are controlled by the network control unit 307. [0052] Note that all of the software functional blocks are interrelated in terms of both software and hardware. The above functional blocks are merely illustrative, with it being possible to constitute a plurality of the functional blocks as a single functional block, or to further divide any of the functional blocks into blocks that perform a plurality of functions.
[0053] FIG. 4 shows a terminal A 401 (hereinafter terminal A) , a terminal B 402 (hereinafter terminal B) , and a terminal C 403 (hereinafter terminal C) . [0054] The terminals A, B and C are each provided with an IEEE 802.11 wireless LAN communication function, and perform wireless communication using ad hoc communication with one another.
[0055] The terminal A is a providing apparatus and has the configuration of FIGS. 1 and 2 described earlier. The terminals B and C are receiving apparatuses and have the configuration of FIGS. 1 and 3. [0056] Here, the case where automatic communication parameter setting is performed between the terminals A and C after automatic communication parameter setting has been performed between the terminals A and B will be considered. [0057] FIG. 5 is an operation flowchart illustrating a process of selecting a communication parameter to provide to a receiving apparatus, when a providing apparatus executes an automatic communication parameter setting process. The process shown in FIG. 5 is started when the setting button 106 is operated in the providing apparatus .
[0058] The communication parameter selection unit 210 refers to the storage unit 103 and confirms whether a provided parameter is stored (S501) . If a provided parameter is not stored in the storage unit 103, the communication parameter selection unit 210 activates the communication parameter creation unit 208, and newly creates a communication parameter to provide to a receiving apparatus (S502) .
[0059] If a provided parameter is stored in the storage unit 103, the communication parameter selection unit 210 activates the existence determination unit 209 (S503) .
[0060] The existence determination unit 209 executes the existence determination process of FIG. 6 (discussed below) , and determines whether the network established by the providing apparatus using the provided parameter exists (S504) . [0061] If, as a result of the existence determination process, it is determined that the network exists, the communication parameter selection unit 210 causes the elapsed time determination unit 211 to determine the elapsed time (S505) . [0062] The elapsed time determination unit 211 determines whether the time elapsed from when the provided parameter was provided to a receiving apparatus exceeds a predetermined maximum elapsed time (S506) .
[0063] If the time elapsed from when the provided parameter was provided does not exceed the predetermined maximum elapsed time, the communication parameter selection unit 210 selects the provided parameter stored in the storage unit 103 as the communication parameter to be provided (S507) . [0064] If the' time elapsed from when the provided parameter was provided does exceed the predetermined maximum elapsed time, the communication parameter selection unit 210 activates the communication parameter creation unit 208, and newly creates a communication parameter to be provide to a receiving apparatus (S502) .
[0065] Here, the reason for performing the determination process of S506 will be described. It is conceivable, for example, that despite the providing apparatus having left the network due to a user operation such as being powered off after providing a communication parameter, the receiving apparatus continues to participate in the network due to the user having forgotten to operate the receiving apparatus. Assume that the setting button is pressed in this situation after a certain amount of time has elapsed, in order for the providing apparatus to perform communication with another receiving apparatus. In this case, if the provided parameter is provided to the other receiving apparatus after it has been determined that the network established with the provided parameter still exists, a plurality of receiving apparatuses not intending to communicate directly will end up existing on the same network. As a countermeasure to such a situation, the providing apparatus selects a newly created communication parameter as the communication parameter to be provided, after a fixed period of time has elapsed, even if the network established using the provided parameter exists. A reduction in security due to the same communication parameter being used for an extended period of time can thereby be prevented.
[0066] If the providing apparatus has left the network, the network control unit 207 selects the provided parameter in step S507 and then joins the network using the provided parameter (S508) . [0067] If, as a result of the existence determination process of S504, it is determined that the network does not exist, the communication parameter selection unit 210 activates the communication parameter creation unit 208 and newly creates a coπimunication parameter to provide to a receiving apparatus (S502) .
[0068] After a communication parameter has been newly created in S502, the network control unit 207 establishes a network using the created communication parameter (S509) .
[0069] After establishing the network, the network control unit 207 stores basic service set identifier (BSSID) information of the established network in the storage unit 103 as established BSSID information (S510) . Here, a BSSID is a network identifier having a random value generated by an apparatus that establishes a network. Consequently, a different BSSID is set whenever a network is established, even if communication parameters such as the SSID, encryption method, encryption key, authentication method and authentication key are set with the same content. Consequently, the BSSID can be used in determining whether a network established using a provided parameter still exists, as will be discussed below with FIG. 6. Note that the SSID, which differs from the BSSID, is a network identifier that can be preset in a device or set arbitrarily by a user. As clear from the above description, the BSSID is not a communication parameter that is provided from a providing apparatus to a receiving apparatus as a result of the automatic setting process. [0070] As noted above, by confirming whether a network established using a provided parameter still exists when the setting button is operated, the providing apparatus determines whether a receiving apparatus to which a communication parameter has already been provided has left the network. [0071] If the network still exists, it is conceivable that automatic communication parameter setting with another receiving apparatus was instructed, or that the providing apparatus has left the network temporarily due to interference or the like. This process results in the provided parameter being selected in both cases as the communication parameter to be provided. In the case where automatic communication parameter setting with another receiving apparatus was instructed, the provided parameter will be provided to the other receiving apparatus, enabling data communication to be performed with three or more apparatuses. In the case where the providing apparatus has left the network temporarily due to interference or the like, preparation can be made for a communication apparatus to newly join the network.
[0072] If the network established by the providing apparatus using the provided parameter does not exist, it is conceivable that data communication on the network using the provided parameter was completed, or that the receiving apparatus has left the network. In this case, it is possible for the providing apparatus to only allow a communication apparatus related to a desired communication process to join the network, by newly creating a communication parameter to be provided. In other words, the existence of devices unrelated to the communication in a network as a result of the same communication parameter being provided to a plurality of apparatuses not intending to communicate directly can be prevented (inhibited) , enabling communication security to be improved.
[0073] Note that while it is assumed in the present embodiment that the process of FIG. 5 is started when the setting button 106 is operated, a similar effect is obtained even if the process of FIG. 5 is performed when the wireless communication unit of the providing apparatus is activated.
[0074] Also, the processing of S505 and S506 may be omitted. The providing apparatus is thereby able decide whether to use the provided parameter or a newly created parameter as the parameter to be provided, simply by determining whether the network established using the provided parameter still exists. When the processing of S505 and S506 is omitted, the provided parameter may be disabled after a prescribed period of time has elapsed from when the provided parameter is stored. In this case, disabling the provided parameter allows a newly created provided parameter to be determined as the parameter to be provided, even if the provided parameter is stored. A reduction in security can thereby be prevented.
[0075] FIG. 6 is a flowchart illustrating a process (S504 in FIG. 5) of determining whether a network established by the providing apparatus using a provided parameter exists.
[0076] The existence determination unit 209 refers to the storage unit 103 and confirms whether established BSSID information is stored (S601) . [0077] If established BSSID information is not stored, the existence determination unit 209 determines that the network established by the providing apparatus using the provided parameter does not exist, and ends the processing (S602) .
[0078] If established BSSID information is stored, the existence determination unit 209 acquires the BSSID information of nearby networks by scanning for networks (S603) . Specifically, the providing apparatus acquires the BSSID information of nearby networks by transmitting a probe request and receiving a probe response from nearby networks.
[0079] After scanning, the existence determination unit 209 compares the BSSID information acquired at S603 with the established BSSID information (S604) . [0080] If BSSID information matching the established BSSID information exists in the BSSID information acquired at S603, the existence determination unit 209 determines that the network established using the provided parameter exists (S605) . Ϊ0081] If BSSID information matching the established BSSID information does not exist in the BSSID information acquired at S603, the existence determination unit 209 determines that the network established using the provided parameter does not exist (S602) .
[0082] By performing the determination process using the BSSID, the providing apparatus can thus reliably determine whether a network established using a provided parameter still exists. [0083] Note that it is conceivable that a communication unit of a peripheral device is in power saving mode when the scan is executed at step S603 and unable to reply to a probe request transmitted by the providing apparatus. To deal with such a situation, the providing apparatus may execute the scan after the power saving mode in the peripheral device has been cancelled, by transmitting a signal for cancelling the power saving mode to the peripheral device prior to executing step S603.
[0084] FIG. 7 is an operation flowchart illustrating a process of providing a communication parameter to a receiving apparatus, when the providing apparatus executes an automatic communication parameter setting process. The process shown in FIG. 7 is started when the communication parameter selection process shown in FIG. 5 is completed in the providing apparatus .
[0085] The providing apparatus waits for a fixed time period for a wireless signal to be transmitted from a peripheral apparatus (S701) . If the desired signal is not received before the fixed time period elapses, the processing is ended (S702) . If the fixed time period has not elapsed, the processing returns to step S701, and the providing apparatus continues to wait for a wireless signal.
[0086] When a wireless signal is received, the search signal reception unit 206 confirms whether the received signal is a probe request (S703) .
[0087] If, at step S703, the received signal is not a probe request, the communication parameter provision unit 202 confirms whether the received signal is an automatic communication parameter setting start message (S704) .
[0088] If the received signal is an automatic communication parameter setting start message, the communication parameter provision unit 202 provides a communication parameter to the receiving apparatus that transmitted the start message (S705) .
[0089] At step S705, the communication parameter provision unit 202, having provided a communication parameter to the receiving apparatus, stores the provided communication parameter in the storage unit 103 as the latest communication parameter to be provided to a receiving apparatus (above "provided parameter") . At this time, the elapsed time determination unit 211 is activated, and starts measuring elapsed time from when the provided parameter is stored.
[0090] If the received signal is not an automatic communication parameter setting start message, the processing returns to step S701, and the providing apparatus again waits for a wireless signal. [0091] If it is determined at step S703 that the received signal is a probe request, the search signal transmission unit 205 sends back a probe response containing additional information indicating automatic communication parameter setting (S706) . Note that a probe response containing additional information indicating automatic communication parameter setting is sent back when the automatic setting process is being executed. If the automatic setting process is not being executed, a probe response without additional information indicating automatic communication parameter setting attached is sent back. [0092] FIG. 8 is an operation flowchart illustrating a process when a receiving apparatus executes an automatic communication parameter setting process. The process shown in FIG. 8 is started when the setting button 106 is operated by a user in a receiving apparatus .
[0093] After the process has started, the search signal transmission unit 305 transmits a probe request
(S801) .
[0094] Subsequently, the search signal reception unit 306 waits for a fixed time period for a probe response containing additional information indicating automatic communication parameter setting to be transmitted from a providing apparatus (S802) .
[0095] If a probe response with additional information is not received before the fixed time period elapses, the processing returns to step S801, and the search signal transmission unit 305 again transmits a probe request (S803) .
[0096] If a probe response with additional information is received, the communication parameter reception unit 302 specifies the identifier of the network established by the providing apparatus from the probe response. After specifying the identifier, the communication parameter reception unit 302 joins the network, and requests the providing apparatus to provide a communication parameter. This request is made by transmitting an automatic communication parameter setting start message. The communication parameter reception unit 302 then receives a communication parameter from the providing apparatus and stores the received communication parameter in the storage unit 103 (S804).
[0097] FIG. 9 is a sequence diagram illustrating exemplary operations of the terminals in the present embodiment .
[0098] FIG. 9 shows an example in which the terminals A, B and C participate in the same network as a result of the same communication parameter being provided from the terminal A to the terminals B and C by automatic communication parameter setting. [0099] When the setting button 106 of the terminals A and B are operated by a user, the terminal A establishes a network (F901) and a communication parameter is provided from the terminal A to the terminal B (F902) as a result of the processes of FIGS. 5, 6, 7 and 8. Subsequently, the terminal B joins the network (F903) . Note that in the FIG. 9 example the terminal A is assumed to provide a newly created communication parameter to the terminal B. Also, in the terminal A, the communication parameter provided to the terminal B is stored as a provided parameter, and the BSSID of the network established at F901 is stored as an established BSSID.
[0100] The terminal A starts the processes of FIGS. 5 and 6 when the setting button of the terminal A is operated by a user after the communication parameter is provided to the terminal B. The terminal A executes a scan (F904), and receives a probe response from the terminal B (F905) . The terminal A then confirms that the network of the communication parameter provided to the terminal B at F902 still exists by comparing the BSSID information included in the received probe response with the stored BSSID information. The terminal A thereby selects the communication parameter stored as the provided parameter, that is, the same communication parameter as the communication parameter provided to the terminal B, as the communication parameter to be provided (F906) .
[0101] When the setting button of the terminal C is operated by a user, a communication parameter is provided from the terminal A to the terminal C as a result of the processes of FIGS. 7 and 8 (F907) . Here, the same communication parameter as the communication parameter provided to the terminal B is provided by the terminal A to the terminal C. The terminal C, on receipt of the communication parameter, joins the network using the communication parameter (F908) . [0102] FIG. 10 is a sequence diagram illustrating exemplary operations of the terminals in the present embodiment .
[0103] FIG. 10 shows an example in which a communication parameter is provided from the terminal A to the terminal B, and then a communication parameter is provided from the terminal A to the terminal C after data communication between the terminals A and B is completed.
[0104] When the setting button of the terminals A and B are operated by a user, the terminal A establishes a network (FlOOl) and a communication parameter is provided from the terminal A to the terminal B (F1002) as a result of the processes of FIGS. 5, 6, 7 and 8. Subsequently, the terminal B joins the network (F1003) . Note that in the FIG. 10 example the terminal A is assumed to provide a newly created communication parameter to the terminal B. Also, in the terminal A, the communication parameter provided to the terminal B is stored as a provided parameter, and the BSSID of the network established at FlOOl is stored as an established BSSID.
[0105] Data communication is performed between the terminals A and B after the communication parameter is provided to the terminal B (F1004) . After data communication is completed, the terminals A and B leave the network on which data communication was performed (F1005, F1006) .
[0106] Subsequently, the terminal A starts the processes of FIGS. 5 and 6 when the setting button of the terminal A is operated. The terminal A executes a scan (F1007), and confirms that the network of the communication parameter provided to the terminal B at F1002 does not exist.
[0107] The terminal A thereby selects a newly created communication parameter as the communication parameter to be provided, and establishes a network using the created communication parameter (F1008) . [0108] When the setting button of the terminal C is operated by a user, a communication parameter is provided from the terminal A to the terminal C as a result of the processes of FIGS. 7 and 8 (F1009) . Here, the newly created communication parameter is provided by the terminal A to the terminal C. The terminal C, on receipt of the communication parameter, joins the network using the communication parameter (FlOlO) . [0109] Thus, depending on whether the network established using a provided parameter exists, the providing apparatus selects whether to use the provided parameter (first communication parameter) or a newly created parameter (second communication parameter) as the communication parameter to be provided. [0110] If the network established using a provided parameter does exist, the providing apparatus is, after providing a communication parameter to one receiving apparatus, further able to provide the same communication parameter to another receiving apparatus, by selecting the provided parameter. Also, even if the providing apparatus leaves the network temporality after providing a communication parameter due to interference or the like, the providing apparatus is able to rejoin the network and provide the communication parameter of the network. Therefore, the automatic setting process no longer needs to be performed again from the beginning with all of the receiving apparatuses.
[0111] If the network established using a provided parameter does not exist, the providing apparatus is able to prevent the same communication parameter from being provided to a plurality of receiving apparatuses not intending to perform data communication, by selecting a newly created communication parameter. A reduction in security due to an unintended apparatus participating in the same network can thereby be prevented.
[0112] As note above, the providing apparatus can appropriately restrict participation in the network depending on the situation to only those communication apparatuses related to the communication process. [0113] That is, a device unrelated to the communication can be appropriately prevented (inhibited) from existing in a network depending on the situation, enabling communication security to be improved without compromising usability. [0114] Note that while an example was described in the above embodiment in which a newly created communication parameter is provided in the case of not providing a provided parameter to a receiving apparatus, newly creating a communication parameter is not always necessary. For example, a default communication parameter may be prepared, and provided. [0115] Also, while an example was described in the above embodiment in which a communication parameter for performing communication on a network established by the providing apparatus is provided on the network to a receiving apparatus, a different communication parameter may be provided. In other words, the network providing a communication parameter may differ from the network on which data communication is performed after setting the communication parameter. In this case, in the above existence determination process, it is determined whether a network established using a provided parameter in order to perform data communication still exists. Note that the network for performing data communication may be established by either the providing apparatus or the receiving apparatus. Also, in the elapsed time determination process in this case, the elapsed time from when the parameter is provided may be determined, or the elapsed time from when the provided communication parameter is set may be determined.
[0116] Also, while an example was described in the above embodiment in which the roles of the providing apparatus and the receiving apparatus are fixed, it is possible for the roles to change depending on the situation. For example, after receiving a communication parameter from a providing apparatus, a receiving .device can, as a providing apparatus, provide a communication parameter to an apparatus seeking to newly join the network. In this case, the communication apparatus determines whether the network established using the communication parameter that was provided exists, and then decides, based on the v determination result, whether to use the communication parameter that was provided or a newly created communication parameter as the communication parameter to be provided. In the elapsed time determination process in this case, the elapsed time from when provision of the communication parameter is received or from when the communication parameter that was provided is set may be determined.
[0117] In other words, in the present embodiment, it is determined whether a network established using a communication parameter set as a result of a communication parameter setting process performed with another communication apparatus exists. The set communication parameter or a different communication parameter is then provided based on the determination result.
[0118] While a preferred embodiment of the present invention has been described above, this is merely an example for illustrating the invention, and is not intended to limit the scope of the invention. The embodiment can be variously modified to the extent that it does not depart from the gist of the invention. [0119] For example, while a probe request and a probe response were used in the description of the above embodiment, the signals transmitted are not limited to these. Any signal is possible, provided that the signal can perform a similar role. [0120] In the above description, a wireless LAN compliant with IEEE 802.11 was given as an example. However, the present invention may be implemented in another wireless medium such as a wireless USB, MBOA, Bluetooth®, UWB or ZigBee. The present invention may also be implemented in a wired communication medium such as power line communication (PLC) or a wired LAN. [0121] Here, MBOA stands for Multiband OFDM Alliance. UWB includes wireless USB, wireless 1394, WINET and the like.
[0122] While a network identifier, an encryption method, an encryption key, an authentication method and an authentication key were given as exemplary communication parameters, needless to say, other information may be implemented and other information may also be included in the communication parameters. [0123] The present invention may be achieved by a storage medium storing the program code of software for realizing the aforementioned functions being supplied to a system or an apparatus, and a computer (CPU, MPU) in the system or apparatus reading out and executing the program code stored on the storage medium. In this case, the actual program code read out from the storage medium realizes the functions of the foregoing embodiment, and the storage medium storing the program code constitutes the present invention. [0124] Storage media that can be used for supplying the program code include, for example, flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, and DVD.
[0125] The aforementioned functions are not only realized as a result of a computer executing the read program code. The aforementioned functions may also be realized as a result of an OS running on a computer performing part or all of the actual processing based on instructions in the program code. OS stands for operating system.
[0126] The aforementioned functions may further be realized as a result of the program code read out from the storage medium being written to a memory provided in a function expansion board inserted in a computer or a function expansion unit connected to a computer, and a CPU provided in the function expansion board or the function expansion unit performing part or all of the actual processing based on instructions in the program code.
[0127] As described above, the present invention enables automatic setting of communication parameters to be executed most securely without compromising usability.
[0128] While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions. [0129] This application claims the benefit of Japanese Patent Application Nos. 2008-041492, filed February 22, 2008, and 2008-062781, filed March 12, 2008, which are hereby incorporated by reference herein in their entirety.

Claims

1. A communication apparatus comprising: providing means for providing a communication parameter to a receiving apparatus that receives communication parameters; first storage means for storing a first communication parameter that has been set by a communication parameter setting process performed with another communication apparatus; and determining means for determining whether a network established using the first communication parameter exists, wherein the providing means provides the first communication parameter or a second communication parameter that differs from the first communication parameter, based on a result of the determination by the determining means .
2. The communication apparatus according to claim 1, wherein the first communication parameter stored by the first storage means is a communication parameter that was last provided out of communication parameters provided by the providing means .
3. The communication apparatus according to claim 1, wherein the second communication parameter is a newly created communication parameter.
4. The communication apparatus according to claim 1, further comprising: second storage means for storing a network identifier of the network established using the first communication parameter; and acquiring means for searching for a nearby network and acquiring a network identifier, wherein the determining means determines whether the network established using the first communication parameter exists, based on the network identifier stored by the second storage means and the network identifier acquired by the acquiring means.
5. The communication apparatus according to claim 4, wherein the network identifier stored by the second storage means is a random value generated by an apparatus that established the network using the first communication parameter.
6. The communication apparatus according to claim 1, further comprising measuring means for measuring elapsed time from when the first communication parameter is provided or from when the first communication parameter is received, wherein the providing means transmits the first communication parameter or the second communication parameter, based on a result of the determination by the determining means and a result of the measurement by the measuring means.
7. The communication apparatus according to claim 1, further comprising measuring means for measuring elapsed time from when the first communication parameter is set, wherein the providing means transmits the first communication parameter or the second communication parameter, based on a result of the determination by the determining means and a result of the measurement by the measuring means .
8. The communication apparatus according to claim 1, wherein provision of a communication parameter by the providing means is performed if a user instructs to start communication parameter setting or if a wireless communication unit of the communication apparatus is activated.
9. The communication apparatus according to claim 1, further comprising instructing means for transmitting an instruction for canceling a power saving mode of the receiving apparatus, wherein the determination by the determining means is performed after the power saving mode of the receiving apparatus is cancelled as a result of the instruction.
10. A communication method of a communication apparatus, comprising the steps of: providing a communication parameter to a receiving apparatus that receives communication parameters; storing a first communication parameter that has been set by a communication parameter setting process performed with another communication apparatus; and determining whether a network established using the first communication parameter exists, wherein in the providing step, the first communication parameter or a second communication parameter that differs from the first communication parameter is provided based on a result of the determination in the determining step.
11. A computer-readable storage medium storing a computer program for causing a computer to execute a communication method as claimed in claimed 10.
PCT/JP2009/052356 2008-02-22 2009-02-05 Communication apparatus, control method of communication apparatus, computer program, and storage medium WO2009104513A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN200980106046.9A CN101953206B (en) 2008-02-22 2009-02-05 The control method of communication equipment and communication equipment
EP09711530.7A EP2250837B1 (en) 2008-02-22 2009-02-05 Communication apparatus, communication method of a communication apparatus and computer-readable storage medium
US12/867,800 US20100330924A1 (en) 2008-02-22 2009-02-05 Communication apparatus, control method of communication apparatus, computer program, and storage medium

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2008-041492 2008-02-22
JP2008041492 2008-02-22
JP2008-062781 2008-03-12
JP2008062781A JP5252953B2 (en) 2008-02-22 2008-03-12 COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM, AND STORAGE MEDIUM

Publications (1)

Publication Number Publication Date
WO2009104513A1 true WO2009104513A1 (en) 2009-08-27

Family

ID=40985395

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/052356 WO2009104513A1 (en) 2008-02-22 2009-02-05 Communication apparatus, control method of communication apparatus, computer program, and storage medium

Country Status (5)

Country Link
US (1) US20100330924A1 (en)
EP (1) EP2250837B1 (en)
JP (1) JP5252953B2 (en)
CN (1) CN101953206B (en)
WO (1) WO2009104513A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103228062A (en) * 2012-01-25 2013-07-31 佳能株式会社 Communication apparatus, method for controlling communication apparatus, and computer-readable storage medium

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5453081B2 (en) * 2009-12-28 2014-03-26 株式会社アイ・オー・データ機器 Wireless communication device, wireless communication system, and wireless communication method
JP5126269B2 (en) * 2010-03-26 2013-01-23 ブラザー工業株式会社 Wireless communication device
JP5584582B2 (en) * 2010-10-13 2014-09-03 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
US20130136033A1 (en) * 2011-11-28 2013-05-30 Abhishek Patil One-click connect/disconnect feature for wireless devices forming a mesh network
WO2014024351A1 (en) * 2012-08-09 2014-02-13 パナソニック株式会社 Wireless communication system
JP7140170B2 (en) 2020-11-09 2022-09-21 ブラザー工業株式会社 Communication device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001077821A (en) * 1999-09-01 2001-03-23 Sony Corp Radio transmission control method and radio transmission device
US20060203837A1 (en) 2005-03-11 2006-09-14 Freescale Semiconductor Inc. Method of communicating with a network device
JP2006270410A (en) 2005-03-23 2006-10-05 Sharp Corp Communication system, communication terminal apparatus, program, computer readable recording medium, and network dividing method

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2739235B1 (en) * 1995-09-25 1998-06-19 Goreta Lucas ACOUSTIC SIGNAL PROCESSING SYSTEM ON TELEPHONE LINE ASSOCIATED WITH AN ACOUSTIC SIGNAL TRANSMISSION SYSTEM
US7987499B2 (en) * 2004-08-18 2011-07-26 Broadcom Corporation Method and system for exchanging setup configuration protocol information in beacon frames in a WLAN
JP4336636B2 (en) * 2004-09-21 2009-09-30 キヤノン株式会社 Communication apparatus and communication method
WO2006071650A2 (en) * 2004-12-23 2006-07-06 Conexant Systems, Inc. Systems and methods for device discovery
CN1304961C (en) * 2005-03-11 2007-03-14 清华大学 Memory virtualized management method based on metadata server
JP4689339B2 (en) * 2005-04-27 2011-05-25 キヤノン株式会社 COMMUNICATION DEVICE AND COMMUNICATION PARAMETER SETTING METHOD
JP4006452B2 (en) * 2005-06-13 2007-11-14 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMPUTER PROGRAM FOR CAUSING COMPUTER TO EXECUTE THE COMMUNICATION METHOD
JP4865454B2 (en) * 2005-10-17 2012-02-01 キヤノン株式会社 Setting method and communication apparatus
JP4777106B2 (en) * 2006-03-22 2011-09-21 キヤノン株式会社 Communication apparatus and wireless communication control method
EP2064829B1 (en) * 2006-09-18 2018-04-25 Marvell International Ltd. Establishment of ad-hoc networks between multiple devices
KR101321398B1 (en) * 2007-04-17 2013-12-19 삼성전자주식회사 Method and system for supporting multi mesh operation modes in single wifi interface

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001077821A (en) * 1999-09-01 2001-03-23 Sony Corp Radio transmission control method and radio transmission device
US20060203837A1 (en) 2005-03-11 2006-09-14 Freescale Semiconductor Inc. Method of communicating with a network device
JP2006270410A (en) 2005-03-23 2006-10-05 Sharp Corp Communication system, communication terminal apparatus, program, computer readable recording medium, and network dividing method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2250837A4

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103228062A (en) * 2012-01-25 2013-07-31 佳能株式会社 Communication apparatus, method for controlling communication apparatus, and computer-readable storage medium
CN103228062B (en) * 2012-01-25 2016-04-06 佳能株式会社 The control method of communicator and communicator

Also Published As

Publication number Publication date
JP5252953B2 (en) 2013-07-31
CN101953206A (en) 2011-01-19
US20100330924A1 (en) 2010-12-30
CN101953206B (en) 2015-10-21
EP2250837A1 (en) 2010-11-17
JP2009224821A (en) 2009-10-01
EP2250837A4 (en) 2014-11-19
EP2250837B1 (en) 2016-12-14

Similar Documents

Publication Publication Date Title
EP2250837B1 (en) Communication apparatus, communication method of a communication apparatus and computer-readable storage medium
US9497788B2 (en) Communication device, and control method therefor
US8396497B2 (en) Communication device and method for controlling communication device
JP5065134B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE COMMUNICATION METHOD, PROGRAM, AND STORAGE MEDIUM
JP4891268B2 (en) Communication device, control method, program, storage medium
JP2009027514A (en) Communication device, its communication method, program, and storage medium
JP5078736B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE COMMUNICATION METHOD, PROGRAM, AND STORAGE MEDIUM
WO2009104523A1 (en) Communication apparatus, communication method thereof, program and storage medium
US8625445B2 (en) Communication apparatus and control method therefor
JP5538680B2 (en) Communication device, control method, program, storage medium
US9271224B2 (en) Communication apparatus, and communication method therefor
JP5784068B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM, AND STORAGE MEDIUM
JP5197060B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, PROGRAM, AND STORAGE MEDIUM
JP2009055323A (en) Communication apparatus, communication method of communication apparatus, program, and storage medium
JP5197109B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE COMMUNICATION METHOD, PROGRAM, AND STORAGE MEDIUM
JP5597274B2 (en) Communication device, control method, program, storage medium
JP5197110B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE COMMUNICATION METHOD, PROGRAM, AND STORAGE MEDIUM
JP2011160341A (en) Communication device, communication method, and program

Legal Events

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

Ref document number: 200980106046.9

Country of ref document: CN

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

Ref document number: 09711530

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 12867800

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2009711530

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2009711530

Country of ref document: EP