Source: https://patents.google.com/patent/JP5235777B2/en
Timestamp: 2020-01-27 06:26:32
Document Index: 64094362

Matched Legal Cases: ['art 203', 'art 204', 'art 205', 'art 206', 'art 207', 'art 208', 'art 209']

JP5235777B2 - Communication device, communication device control method, program - Google Patents
JP5235777B2
JP5235777B2 JP2009118973A JP2009118973A JP5235777B2 JP 5235777 B2 JP5235777 B2 JP 5235777B2 JP 2009118973 A JP2009118973 A JP 2009118973A JP 2009118973 A JP2009118973 A JP 2009118973A JP 5235777 B2 JP5235777 B2 JP 5235777B2
JP2009118973A
JP2010268300A (en
2009-05-15 Priority to JP2009118973A priority Critical patent/JP5235777B2/en
2010-11-25 Publication of JP2010268300A publication Critical patent/JP2010268300A/en
2013-07-10 Publication of JP5235777B2 publication Critical patent/JP5235777B2/en
In recent years, devices that have both a function as an access point (AP) for wireless LAN infrastructure communication compliant with the IEEE 802.11 series and a function as a station (STA) for communication by connecting to the AP have appeared. ing. Such a device can form a network as an AP, and can also participate as a STA in a network constructed by another AP.
Patent Document 1 and Patent Document 2 disclose an example of a communication device capable of switching the role of a device (master device, slave device).
Patent Document 3 discloses an example of a communication device that simultaneously operates a function as a relay station (access point) and a function as a station.
In addition, when the AP and the STA communicate with each other, there are many setting items that must be set before use. For example, as setting items, there are communication parameters necessary for wireless communication such as an SSID as a network identifier, an encryption method, an encryption key, an authentication method, and an authentication key. In contrast, various manufacturers have devised automatic setting methods for easily setting communication parameters in wireless devices. In these automatic setting methods, communication parameters are automatically set by providing communication parameters from one device to the other device according to a predetermined procedure and message between connected devices.
Non-Patent Document 1 discloses Wi-Fi Protected Setup (hereinafter referred to as WPS), which is an industry standard for automatic setting of communication parameters between an AP and an STA.
JP 2006-005844 A JP 2003-152730 A Japanese Patent Laying-Open No. 2005-086350
When wireless communication is performed between devices having both the AP function and the STA function, one device serves as an AP to establish a network, and the other device performs communication by connecting to the network as an STA. It becomes possible. Here, when devices in the initial state that are not operating as APs or STAs try to communicate with each other, it is necessary to determine the role of each device, such as which device becomes the AP.
In this case, it is desirable that the role determination process is automatically performed between devices in consideration of user convenience. However, a method for automatically determining the role between the devices without any user operation has not been established. Therefore, when both the AP function and the STA function are provided, the communication parameter automatic setting process cannot be performed, and there is a problem that the devices functioning as both the AP and the STA cannot easily communicate with each other. there were.
An object of the present invention is to enable a communication procedure for providing or receiving communication parameters to be executed with a simple operation even between devices having both a base station function and a slave station function. .
The present invention determines a role in executing a predetermined communication procedure for providing or receiving communication parameters, and switches between operating as a base station or a slave station according to the determined role, Depending on the determined role, it operates as a providing device that executes the predetermined communication procedure with the slave station to provide communication parameters, or a receiving device that executes the predetermined communication procedure with the base station and receives the communication parameters Choose what works as. Also, switching between operating as a base station or operating as a slave station is performed according to the search result of the base station that is starting the role determination process. Further, when a plurality of base stations that are starting the role determination process are detected, error notification is performed.
According to the present invention, even between devices having both a base station function and a slave station function, a communication procedure for providing or receiving communication parameters can be executed with a simple operation, and communication parameters can be provided or It can be received and user convenience is improved.
The block diagram which comprises the apparatus in embodiment of this invention Network configuration diagram according to an embodiment of the present invention The flowchart figure showing the communication processing operation | movement of the apparatus A and the apparatus B in 1st embodiment of this invention. The sequence diagram showing operation | movement of the apparatus A and apparatus B in 1st embodiment of this invention The flowchart figure showing the communication processing operation | movement of the apparatus A and the apparatus B in 2nd embodiment of this invention. The sequence diagram showing operation | movement of the apparatus A and the apparatus B in 2nd embodiment of this invention
FIG. 1A is a hardware block diagram illustrating an example of the configuration of each device described below according to an embodiment to which the present invention can be applied. Reference numeral 101 denotes the entire apparatus. A control unit 102 controls the entire apparatus by executing a control program stored in the storage unit 103. The control unit 102 also performs communication parameter setting control with other devices. Reference numeral 103 denotes a storage unit that stores a control program executed by the control unit 102 and various types of information such as communication parameters. Various operations to be described later are performed by the control unit 102 executing a control program 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 displays, and has a function capable of outputting visually recognizable information such as an LCD or LED, or outputting sound such as a speaker.
A setting button 106 gives a trigger for starting the communication parameter setting process. When the control unit 102 detects an operation of the setting button 106 by the user, the control unit 102 executes processing to be described later. Reference numeral 107 denotes an antenna control unit, and 108 denotes an antenna. Reference numeral 109 denotes an input unit for the user to perform various inputs.
FIG. 1B is a block diagram illustrating an example of a configuration of software function blocks executed by each device in a communication parameter setting operation described later. Reference numeral 201 denotes the entire apparatus. Reference numeral 202 denotes a packet receiving unit that receives packets related to various types of communication. Reception of the beacon (notification signal) is performed by the packet receiving unit 202. A device search signal such as a probe request is also received by the packet receiving unit 202. The probe request can also be referred to as a network search signal for searching for a desired network. The packet reception unit 202 also receives a probe response that is a response signal to the probe request.
A packet transmission unit 203 transmits packets related to various types of communication. Transmission of the beacon is performed by the packet transmission unit 203. The packet transmission unit 203 also transmits a probe request and a probe response which is a response signal to the probe request. Various information (self information) of the transmission source device is added to the device search signal and the response signal. Reference numeral 204 denotes an AP control unit that controls an access point (AP) communication function. The operation as an access point (AP) described later is performed using the AP control unit 204. Note that an AP is a base station (master unit) that performs various types of control of a wireless network, and is a device that constructs a network by itself when performing communication and performs various types of control in response to connection requests from stations (STAs). The AP periodically transmits a beacon when performing communication, and when receiving a connection request signal transmitted from the STA, the AP transmits a connection request response signal to the STA and connects to the STA.
Reference numeral 205 denotes an STA control unit that controls the STA communication function. The operation as a station (STA) described later is performed using the STA control unit 205. The STA is a slave station (slave device) of the wireless network, and connects to the AP when performing communication. When performing communication, the STA transmits a connection request signal to the AP, receives a connection request response signal from the AP, connects to the AP, and performs communication under the control of the AP. Further, as in the second embodiment, by using the STA control unit 205, wireless LAN ad hoc communication in which STAs directly communicate with each other can be performed.
Reference numeral 206 denotes a network detection unit that detects a network existing in the vicinity. The device can detect a network existing in the vicinity by receiving a beacon or a probe response from surrounding devices by the packet receiving unit 202. Note that it is also possible to detect an AP that is constructing a network using the network detection unit 206. The AP detection process described later is performed using the network detection unit 206. A communication parameter providing unit 207 provides communication parameters to the counterpart device. The communication parameter automatic setting providing process described later is performed by the communication parameter providing unit 207. The communication parameter providing unit 207 provides communication parameters necessary for performing wireless communication such as an SSID (Service Set Identifier) as a network identifier, an encryption method, an encryption key, an authentication method, and an authentication key. A communication parameter receiving unit 208 receives communication parameters from the counterpart device. The communication parameter automatic setting reception process described later is performed by the communication parameter reception unit 208.
Reference numeral 209 denotes a role determination unit that determines a device that manages a network when communicating between devices. The role determination process described later is performed by the role determination unit 209. Through the role determination process, each device is given a role of “management device” or “terminal device”. The device given the role of the management apparatus operates as an AP using the AP control unit 204, and provides communication parameters to the terminal by the communication parameter providing unit 207. In addition, the device given the role of the terminal device operates as an STA using the STA control unit 205 and receives communication parameters from the AP by the communication parameter receiving unit 208. A switching unit 210 switches whether the AP control unit 204 functions as an AP or the STA control unit 205 functions as an STA. The switching unit 210 performs first switching according to the role determined by the role determination unit 209, second switching according to the detection result by the network detection unit 206, and the like. A selection unit 211 selects whether the communication parameter providing unit 207 operates as a providing device that provides communication parameters or the communication parameter receiving unit 208 operates as a receiving device. The selection unit 211 performs selection according to the role determined by the role determination unit 209.
FIGS. 2A and 2B are diagrams illustrating network construction of the communication device A300 (hereinafter, device A) and the communication device B301 (hereinafter, device B). These apparatuses have the configuration shown in FIGS. 1 (a) and 1 (b).
When the devices A and B operate as APs, they construct a network A 302 (hereinafter referred to as network A) and a network B 303 (hereinafter referred to as network B), respectively (FIG. 2A). After the devices A and B discover each other, the devices join the network constructed by the other device and exchange messages for determining the management device. At this time, not all communication parameters are set, but communication parameters are set within a range where messages for role determination can be exchanged. Specifically, network identifiers are stored in signals (beacons, probe requests, and probe responses) used for device discovery processing. A device that participates in the network sets the identifier of the network that participates in the network identifier and performs participation processing. Also, the encryption method and encryption key are not set. As a result of the message exchange, the device that has become the management apparatus constructs the network 401 as an AP, and provides communication parameters to the STA by automatically setting communication parameters (FIG. 2B). The STA that has received the communication parameter connects to the network using the received communication parameter. Communication parameter provision processing (reception processing) is performed by executing a communication parameter automatic setting procedure, such as Wi-Fi Protected Setup, between devices. The communication parameter automatic setting procedure is a communication procedure for the providing device to provide communication parameters to the receiving device, and for the receiving device to receive communication parameters from the providing device. This procedure is performed by exchanging a predetermined message between devices.
FIG. 3 is a flowchart illustrating an example of an operation flow of communication processing performed when the setting button 106 is pressed in the devices A and B. This operation is executed by the control unit 102 reading the control program stored in the storage unit 103 and controlling the wireless unit 104 and the like. Hereinafter, the control executed by both devices will be described along the flowchart.
In the device in which the setting button 106 is pressed, the control unit 102 activates the role determination unit 209. The role determination unit 209 executes processing for searching for an access point (AP) existing in the vicinity using the network detection unit 206 (S501). The role determination unit 209 confirms information included in the received beacon or probe response, and confirms whether there is an AP that has started the role determination process (S502).
If there is an AP that is starting the role determination process, it is checked whether there are a plurality of APs that are starting the role determination process (S510). When a plurality of APs that are starting the role determination process are detected, an error notification for notifying the user of an error is displayed on the display unit 105, and the role determination unit 209 terminates the process with an error (S512). .
When only one AP is starting the role determination process, the role determination unit 209 connects to the network constructed by the detected AP using the STA control unit 205 (S511).
If there is no AP that is starting the role determination process, the role determination unit 209 starts the access point operation using the AP control unit 204 (S503). Here, when the AP control unit 204 starts the access point operation, the AP control unit 204 transmits self-information indicating that it is initiating the role determination process to the beacon and probe response transmitted by itself. The role determination unit 209 exchanges an arbitration message with the counterpart device, and determines which device becomes the management device (S504). As an example of the determination process in step S504, a method of transmitting information including the priority indicating the priority of the management apparatus in the arbitration message may be used. In this case, by comparing the priority included in the arbitration message received from the counterpart device with its own priority, a device with a higher priority is determined as the management device. The priority of the management apparatus is determined based on information such as the device type of the device, the remaining battery level, manufacturer information, UUID, and MAC address. Further, when the terminal itself is operating as an access point, a higher priority may be set than when operating as a station. Further, priority information may be set based on connectivity to other networks, such as whether or not it is connectable to the Internet. Further, when the priority of the partner apparatus is the same as that of the partner apparatus, information unique to the apparatus such as UUID and MAC address may be compared to determine the apparatus satisfying a predetermined condition as the management apparatus.
After determining the role, the control unit 102 checks whether or not the determined own role is a management device (S505). When the control unit 102 determines that it is a management device, it checks whether or not the control unit 102 is operating as an AP (S506). While operating as an AP, the process proceeds to step S509. If not operating as an AP, the control unit 102 leaves the network connected by the STA control unit 205 (S507). After leaving, the control unit 102 starts an access point operation using the AP control unit 204 (S508). Thereafter, the control unit 102 activates processing for providing communication parameters to the receiving apparatus using the communication parameter providing unit 207 (S509). The communication parameter providing process is performed by executing a predetermined communication parameter automatic setting procedure between the providing apparatus and the receiving apparatus.
As a result of the role determination, when the terminal itself is determined as the terminal device, the control unit 102 checks whether or not the terminal 102 is operating as an AP (S513). If not operating as an AP, the process proceeds to step S515. When operating as an AP, the control unit 102 stops the access point operation (S514). After the stop, the control unit 102 operates as a receiving device using the communication parameter receiving unit 208, and starts processing for acquiring communication parameters from the providing device (S515). When the process is started, the control unit 102 searches for an AP using the network detection unit 206 (S516). As a result of this search, if a plurality of APs that have started the communication parameter providing process are detected (S517), the process proceeds to step S512, an error notification is displayed on the display unit 105 to notify the user of the error, and the error ends. To do. When there is one AP that is starting the communication parameter providing process (S517), a predetermined communication parameter is established with the AP as a receiving device that connects to the AP (S518) and receives the communication parameter from the providing device. Perform automatic configuration procedure.
In FIG. 4A, the setting button 106 is pressed in the device A and the device B, the role is determined between the device A and the device B, and the device B becomes the management device and the communication parameter automatic setting processing is performed. It is the figure which showed an example of the processing sequence in a case.
When the setting button 106 of the device B is pressed, the device B starts the process of FIG. The device B transmits a device search signal (probe request), and checks whether there is an AP that has started the role determination process in the vicinity (F601). Here, since there is no AP that is starting the role determination process in the surroundings, the device B starts the access point operation and constructs the network B (F602).
Thereafter, when the setting button 106 of the device A is pressed, the device A starts the process of FIG. The device A transmits a device search signal, and checks whether there is an AP that has started the role determination process in the vicinity (F603). In response to the device search signal transmitted from the device A, the device B, which is the AP that is starting the role determination process, transmits a device search response signal (probe response) (F604). The device A receives the device search response signal from the device B and confirms the additional information of the signal, thereby recognizing that the device B is the AP that is starting the role determination process. After the recognition, the device A transmits a connection request signal to the device B, which is the AP that is starting the role determination process (F605). The device B returns a connection request response signal indicating connection permission to the device A (F606). Upon receiving the connection request response signal from the device B, the device A connects to the device B and exchanges a role arbitration message for determining a management device (F607, F608). Each device refers to the priority information of the counterpart device included in the role arbitration message, and determines the management device by comparing it with its own priority information. Here, it is assumed that the device B is a management device.
After determining the role, apparatus B activates communication parameter provision processing (F609). In addition, apparatus A activates communication parameter reception processing (F610). Since apparatus A is already connected to apparatus B, a message indicating communication parameter setting activation is transmitted to apparatus B (F613). Then, a communication parameter setting process is performed by exchanging protocol messages for the automatic setting procedure between the receiving apparatus A and the providing apparatus B (F614). As a result, the communication parameter is transmitted from the device B to the device A, and the device B transmits a communication parameter setting completion message to the device A (F615). This completes the communication parameter setting process. Device A sets the communication parameters (network identifier (SSID), encryption method, encryption key, authentication method, authentication key) received from device B, and performs communication connection processing to device B again (F616). Communication protocol processing of communication parameter setting processing can be realized by using communication protocol processing defined in industry standard communication parameter setting processing as described in Non-Patent Document 1.
Next, a case will be described in which a device operating as an STA during the role determination process serves as a management device and provides communication parameters.
In FIG. 4B, the setting button 106 is pressed in the device A and the device B, the role is determined between the device A and the device B, and the device A becomes the management device, and the communication parameter automatic setting processing is performed. It is the figure which showed an example of the processing sequence in a case.
When the setting button 106 of the device B is pressed, the device B starts the process of FIG. The device B transmits a device search signal, and checks whether there is an AP that has started the role determination process in the vicinity (F701). Here, since there is no AP that is starting the role determination process in the surroundings, the device B starts the access point operation and constructs the network B (F702). Thereafter, when the setting button 106 of the device A is pressed, the device A starts the process of FIG. The device A transmits a device search signal (probe request), and checks whether there is an AP that has started the role determination process in the vicinity (F703). In response to the device search signal transmitted from the device A, the device B that is the AP that is starting the role determination process transmits a device search response signal (probe response) (F704). The device A receives the device search response signal from the device B and confirms the additional information of the signal, thereby recognizing that the device B is the AP that is starting the role determination process. After the recognition, the device A connects to the device B (F705, F706), and exchanges a role arbitration message for determining the management device (F707, F708). Each device compares the priority information of the counterpart device included in the role arbitration message with its own priority information, and determines a management device. Here, it is assumed that apparatus A is a management apparatus.
After determining the role, apparatus A starts an access point operation and constructs network A (F709). After starting the access point operation, apparatus A starts communication parameter provision processing (F710). In addition, the device B stops the access point operation (F711) and starts the communication parameter reception process (F712). The device B transmits a connection request signal to the management device and the device A as an AP (F713). Device A returns a connection request response signal indicating connection permission to device B (F714). Upon receiving the connection request response signal from the device A, the device B connects to the device A, transmits a message indicating communication parameter setting activation (F715), and receives the device B as the receiving device and the device A as the providing device. The communication parameter setting process is performed between the two (F716). As a result, the communication parameter is transmitted from the device A to the device B, and the device A transmits a communication parameter setting completion message to the device B (F717). This completes the communication parameter setting process. The device B sets the communication parameters (network identifier (SSID), encryption method, encryption key, authentication method, authentication key) received from the device A, and performs communication connection processing to the device A again (F718).
As described above, even a device having both functions of a base station and a slave station can determine a device that operates as a base station and a device that operates as a slave station. Then, a device that operates as a communication parameter providing device and a device that operates as a receiving device can be determined. Therefore, even if a device has both the functions of a base station and a slave station, the user can perform communication parameter setting processing between devices by performing an operation such as pressing the setting button 106. Furthermore, it is possible to perform communication parameter setting processing to set shared communication parameters, perform authentication processing between devices, and perform encrypted wireless communication.
As a second embodiment, a case where role determination processing is performed by wireless LAN ad hoc communication will be described. Ad hoc communication is wireless communication performed directly between stations without using an access point. The apparatus configuration is the same as that shown in FIGS.
FIG. 5 is a flowchart illustrating an example of an operation flow of communication processing performed when the setting button 106 is pressed in the devices A and B. This operation is executed by the control unit 102 reading the control program stored in the storage unit 103 and controlling the wireless unit 104 and the like. Hereinafter, the control executed by both devices will be described along the flowchart.
In the device in which the setting button 106 is pressed, the control unit 102 activates the role determination unit 209. An ad hoc network is constructed using the STA control unit 205 (S801). When the STA control unit 205 constructs an ad hoc network, the STA control unit 205 adds self-information indicating that it is initiating the role determination process to the beacon and probe response transmitted by itself.
After the ad hoc network is constructed, the role determination unit 209 executes processing for searching for an ad hoc network existing in the vicinity using the network detection unit 206 (S802). The role determination unit 209 confirms the information included in the received beacon or probe response, and confirms whether there is an ad hoc network in which the role determination process is activated (S803). If there is an ad hoc network in which the role determination process is activated, it is confirmed whether there is one or a plurality of corresponding networks (S804). If there are a plurality of corresponding networks, an error notification for notifying the user of an error is displayed on the display unit 105, and the error is terminated (S813). If there is one corresponding network, the role determination unit 209 uses the STA control unit 205 to participate in the ad hoc network (S805). Here, when joining the network, the ad hoc network constructed in step 801 is stopped. After joining the ad hoc network, the role determination unit 209 exchanges an arbitration message with the partner device (S806), and determines which device will be the management device (S807).
If there is no ad hoc network in which the role determination process is activated, the role determination unit 209 waits for a role arbitration message transmitted from another device on the ad hoc network constructed by itself (S811). If no role arbitration message is received in step S811, the network detection unit 206 is used again to search for an ad hoc network existing in the vicinity (S802).
If a role arbitration message is received in step S811, the role arbitration message is transmitted to the device that has transmitted the received role arbitration message (S812), and which device is to be the management device is determined (S807). As an example of the determination process, a method of transmitting the arbitration message including the priority information of the management apparatus may be used. In this case, by comparing the priority included in the arbitration message received from the counterpart device with its own priority, a device with a higher priority is determined as the management device. The priority of the management apparatus is set on the basis of information such as a device type such as a printer or a camera, service information possessed by itself, manufacturer information, UUID, MAC address, and the like. Further, priority information may be set based on its own battery level. Further, priority information may be set based on connectivity to other networks, such as whether or not it is connectable to the Internet. Further, when the priority of the counterpart device is the same as that of the counterpart device, the management device may be determined based on device-specific information such as UUID or MAC address.
After determining the role, the control unit 102 checks whether or not the determined role is a management device (S808). When the control unit 102 determines itself as a management apparatus, the control unit 102 starts an access point operation using the AP control unit 204 (S809). Thereafter, the control unit 102 activates processing for providing communication parameters to the receiving apparatus using the communication parameter providing unit 207 (S810). When the receiving device is connected, the communication device is provided as a providing device by executing a predetermined communication parameter automatic setting procedure with the receiving device.
As a result of the confirmation in step S808, when the control unit 102 determines itself as a terminal device, the control unit 102 starts processing for acquiring communication parameters from the providing device using the communication parameter receiving unit 208 (S814). Then, the control unit 102 searches for an access point using the network detection unit 206 (S815). As a result of the search, if a plurality of APs that have started the communication parameter providing process are detected (S816), the process proceeds to step S813, an error notification for notifying the user of an error is displayed on the display unit 105, and the error ends. . When there is one AP that is in the process of providing communication parameters (S816), it connects to the AP (S817), and as a receiving device that receives communication parameters from the providing device, with the AP that is the providing device. A predetermined communication parameter automatic setting procedure is executed.
FIG. 6 shows a case where the setting button 106 is pressed in the device A and the device B and the role is determined between the device A and the device B, and then the device A becomes the management device and performs automatic communication parameter setting processing. It is the figure which showed an example of the processing sequence.
When the setting button 106 of the device B is pressed, the device B starts the process of FIG. The device B constructs the ad hoc network B (F901), transmits a device search signal (probe request) (F902), searches for the presence of a device that has started the role determination process in the vicinity, and searches for the surrounding ad hoc network. .
When the setting button 106 of the device A is pressed, the device A starts the process of FIG. The device A constructs the ad hoc network A (F903), transmits a device search signal (F904), searches for the presence of a device that has started the role determination process in the vicinity, and searches for the surrounding ad hoc network. The device B transmits a device search response signal (probe response) in response to the device search signal transmitted from the device A (F905). The device A receives the device search response signal from the device B and confirms the additional information of the signal, thereby recognizing that the device B is starting the role determination process. After the recognition, the device A stops the network A and joins the network B (F906), and transmits a role arbitration message for determining a management device to the device B (F907). Upon receiving the role arbitration message from device A, device B transmits the role arbitration message to device A (F908). Each device refers to the priority information of the partner device included in the role arbitration message, and determines a management device. Here, it is assumed that apparatus A is a management apparatus.
After determining the role, apparatus A starts an access point operation and constructs network C (F909). After network construction, apparatus A activates communication parameter provision processing (F910). In addition, the device B stops the network B (F911) and starts communication parameter reception processing (F912). The device B searches the surrounding network, searches for an AP that is starting the communication parameter providing process, and detects the device A. Device B transmits a connection request signal to device A to request connection (F913). Upon receiving the connection request signal from device B, device A returns a connection request response signal indicating permission of connection to device B (F914). Upon receiving the response signal, apparatus B connects to apparatus A, transmits a message indicating communication parameter setting activation to apparatus A (F915), and requests the start of communication parameter automatic setting processing. Then, communication parameter setting processing is performed between the receiving apparatus B and the providing apparatus A (F916). As a result, the communication parameter is transmitted from the device A to the device B, and the device A transmits a communication parameter setting completion message to the device B (F917). This completes the communication parameter setting process.
Then, the device B sets the communication parameters (network identifier (SSID), encryption method, encryption key, authentication method, authentication key) received from the device A, and performs communication connection processing to the device A again (F918).
As described above, even a device having the functions of both a base station and a slave station can determine a device that operates as a communication parameter providing device and a device that operates as a receiving device. Then, a device determined as the providing device operates as a base station, and communication parameter automatic setting processing can be performed. Therefore, even if a device has both the functions of a base station and a slave station, the user can perform communication parameter setting processing between devices by performing an operation such as pressing the setting button 106. Furthermore, it is possible to perform communication parameter setting processing to set shared communication parameters, perform authentication processing between devices, and perform encrypted wireless communication.
Also, the above description has been made with reference to an IEEE 802.11-compliant wireless LAN as an example. However, the present invention may be implemented in other wireless media such as wireless USB, MBOA, Bluetooth (registered trademark), UWB, and ZigBee. Moreover, you may implement in wired communication media, such as wired LAN. Here, MBOA is an abbreviation for Multi Band OFDM Alliance. UWB includes wireless USB, wireless 1394, WINET, and the like.
DESCRIPTION OF SYMBOLS 201 Communication apparatus 202 Packet receiving part 203 Packet transmission part 204 AP control part 205 STA control part 206 Network detection part 207 Communication parameter provision part 208 Communication parameter reception part 209 Role determination part
Determining means for determining a role in executing a predetermined communication procedure for providing or receiving communication parameters;
Base station means operating as a base station;
Slave station means operating as a slave station;
A providing means for executing a predetermined communication procedure with a slave station and operating as a providing device for providing communication parameters;
Receiving means for performing a predetermined communication procedure with a base station and operating as a receiving device for receiving communication parameters;
First switching means for switching whether the base station means operates as a base station or the slave station means operates as a slave station in accordance with the determination by the determination means;
Selection means for selecting whether to provide communication parameters by the providing means or to receive communication parameters by the receiving means in response to the determination by the determining means;
A search means for searching for a base station that has started the role determination process;
Second switching means for switching between operating as a base station by the base station means or operating as a slave station by the slave station means in accordance with a search result by the search means;
As a result of the search by the search means, when a plurality of base stations that are starting the role determination process are detected, a notification means for performing error notification;
The communication device according to claim 1, wherein the determining unit determines a role of the communication device based on information included in a message exchanged with another communication device.
As a result of the search by the search means, when there is no base station that is starting the role determination process, the second switching means is switched to the operation as a base station by the base station means,
It said determining means, the communication apparatus according to claim 1 or 2 perform communication to determine the place in the network constructed as the base station.
When the second switching means switches to the operation as a slave station by the slave station means, it connects to the network constructed by the base station detected by the search by the search means, and the determination means plays a role in the network communication apparatus according to any one of claims 1 to 3 performs communication for determining.
The said determination means determines the role of the said communication apparatus based on the information contained in the message exchanged with the other communication apparatus without going through a base station, The one of the Claims 1 thru | or 4 characterized by the above-mentioned. Communication device.
A determining step for determining a role in executing a predetermined communication procedure for providing or receiving communication parameters;
In accordance with the determination in the determination step, a switching step of switching whether to operate as a base station or a slave station,
Depending on the determination in the determination step, the mobile station operates as a providing device that provides the communication parameters by executing the predetermined communication procedure with the slave station, or receives the communication parameters by executing the predetermined communication procedure with the base station. A selection step of selecting whether to operate as a receiving device;
A search process for searching for a base station that has started the role determination process,
A second switching step of switching between operating as the base station or operating as the slave hand station according to the search result in the search step;
As a result of the search in the search step, when detecting a plurality of base stations that are starting the role determination process, a notification step of performing error notification,
The program for a communication apparatus to perform the control method of Claim 6 .
JP2009118973A 2009-05-15 2009-05-15 Communication device, communication device control method, program Active JP5235777B2 (en)
JP2009118973A JP5235777B2 (en) 2009-05-15 2009-05-15 Communication device, communication device control method, program
EP10774684.4A EP2430873B1 (en) 2009-05-15 2010-04-22 Communication device, control method of communication device, and program
CN201080021466.XA CN102428746B (en) 2009-05-15 2010-04-22 The control method of communicator and communicator
PCT/JP2010/002895 WO2010131424A1 (en) 2009-05-15 2010-04-22 Communication device, control method of communication device, and program
EP18182969.8A EP3419379A1 (en) 2009-05-15 2010-04-22 Communication device, control method of communication device and program
US13/319,565 US8798020B2 (en) 2009-05-15 2010-04-22 Communication device, control method of communication device, and program
CN201510634493.9A CN105208682B (en) 2009-05-15 2010-04-22 The control method of communication device and communication device
US14/311,900 US9516517B2 (en) 2009-05-15 2014-06-23 Communication device, control method of communication device, and program
US15/339,492 US10187823B2 (en) 2009-05-15 2016-10-31 Communication device, control method of communication device, and program
JP2010268300A JP2010268300A (en) 2010-11-25
JP5235777B2 true JP5235777B2 (en) 2013-07-10
ID=43084810
JP2009118973A Active JP5235777B2 (en) 2009-05-15 2009-05-15 Communication device, communication device control method, program
US (3) US8798020B2 (en)
EP (2) EP2430873B1 (en)
JP (1) JP5235777B2 (en)
CN (2) CN105208682B (en)
WO (1) WO2010131424A1 (en)
US10080127B2 (en) 2013-07-09 2018-09-18 Nec Corporation Network communication method
JP3700839B2 (en) 2001-08-30 2005-09-28 ソニー株式会社 Wireless communication apparatus, wireless communication apparatus control method, and computer program
JP2003152730A (en) 2001-11-09 2003-05-23 Fuji Photo Film Co Ltd Inter-device operation control system, inter-device operation control method, and inter-device operation control program
JP4440009B2 (en) * 2004-06-21 2010-03-24 キヤノン株式会社 Communication apparatus and communication method
CN201004699Y (en) 2007-01-19 2008-01-09 宇龙计算机通信科技(深圳)有限公司 Mobile communication terminal
2009-05-15 JP JP2009118973A patent/JP5235777B2/en active Active
2010-04-22 CN CN201510634493.9A patent/CN105208682B/en active IP Right Grant
2010-04-22 US US13/319,565 patent/US8798020B2/en active Active
2010-04-22 EP EP10774684.4A patent/EP2430873B1/en active Active
2010-04-22 CN CN201080021466.XA patent/CN102428746B/en active IP Right Grant
2010-04-22 EP EP18182969.8A patent/EP3419379A1/en active Pending
2010-04-22 WO PCT/JP2010/002895 patent/WO2010131424A1/en active Application Filing
2014-06-23 US US14/311,900 patent/US9516517B2/en active Active
2016-10-31 US US15/339,492 patent/US10187823B2/en active Active
EP2430873A1 (en) 2012-03-21
JP2010268300A (en) 2010-11-25
EP2430873B1 (en) 2018-10-24
CN102428746B (en) 2015-10-14
WO2010131424A1 (en) 2010-11-18
US8798020B2 (en) 2014-08-05
CN105208682B (en) 2018-11-06
CN105208682A (en) 2015-12-30
US20170048753A1 (en) 2017-02-16
EP3419379A1 (en) 2018-12-26
US9516517B2 (en) 2016-12-06
US10187823B2 (en) 2019-01-22
US20140301211A1 (en) 2014-10-09
EP2430873A4 (en) 2015-06-24
US20120063327A1 (en) 2012-03-15
CN102428746A (en) 2012-04-25
JP2012099912A (en) 2012-05-24 Wireless communication terminal