Communication apparatus, control method, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorToshiyuki Nakagawa
Life of this patent
Estimating the term…
Abstract
A communication apparatus searches for another communication apparatus using either a method with which to perform direct wireless communication or a method for specifying a service via an apparatus for constructing a wireless network, and in a case where another communication apparatus is using one of the methods and the detected another communication apparatus satisfies a predetermined condition, the communication apparatus does not perform a search using the other method.
Claims17
A communication apparatus comprising:
- a first communication unit configured to perform direct wireless communication with another communication apparatus;
- a second communication unit configured to communicate with another communication apparatus via a construction apparatus for constructing a wireless network;
- a first search unit configured to search for another communication apparatus with which the first communication unit is to communicate;
- a second search unit configured to perform a search for another communication apparatus that supports a predetermined service and with which the second communication is to be performed, by performing the search specifying the predetermined service by the second communication unit;
- and
- a control unit configured to perform control such that:
- in a case where the communication apparatus searches for another communication apparatus, based on the communication apparatus being connected to the construction apparatus, the search by the second search unit is performed, and based on the communication apparatus not being connected to the construction apparatus, the search by the first search unit is performed, and
- after the search by either the first search unit or second search unit is performed, in a case where another communication apparatus detected by the search satisfies a predetermined condition, the search unit that did not perform the search does not perform any searches, and in a case where another communication apparatus detected by the search does not satisfy the predetermined condition, the search unit that did not perform the search performs a search.
A control method comprising:
- performing direct wireless communication with another communication apparatus in a first communication;
- communicating with another communication apparatus via a construction apparatus for constructing a wireless network in a second communication;
- searching, in a first searching, for another communication apparatus with which to communicate via the first communication;
- searching, in a second searching, for another communication apparatus that supports a predetermined service and with which the second communication is performed, by performing the search specifying the predetermined service by the second communication;
- and
- performing control such that:
- in a case where the communication apparatus searches for another communication apparatus, based on the communication apparatus being connected to the construction apparatus, the search by the second searching is performed, and based on the communication apparatus not being connected to the construction apparatus, the search by the first searching is performed, and
- after the search by either the first searching or second searching is performed, in a case where another communication apparatus detected by the search satisfies a predetermined condition, the searching that did not perform the search does not perform any searches, and in a case where another communication apparatus detected by the search does not satisfy the predetermined condition, the searching that did not perform the search performs a search.
A computer-readable storage medium storing a program for causing a computer to execute a method, the method comprising:
- performing direct wireless communication with another communication apparatus in a first communication;
- communicating with another communication apparatus via a construction apparatus for constructing a wireless network in a second communication;
- searching, in a first searching, for another communication apparatus with which to communicate via the first communication;
- searching, in a second searching, for another communication apparatus that supports a predetermined service and with which the second communication is performed, by performing the search specifying the predetermined service by the second communication;
- and
- performing control such that:
- in a case where the communication apparatus searches for another communication apparatus, based on the communication apparatus being connected to the construction apparatus, the search by the second searching is performed, and based on the communication apparatus not being connected to the construction apparatus, the search by the first searching is performed, and
- after the search by either the first searching or second searching is performed, in a case where another communication apparatus detected by the search satisfies a predetermined condition, the searching that did not perform the search does not perform any searches, and in a case where another communication apparatus detected by the search does not satisfy the predetermined condition, the searching that did not perform the search performs a search.
Dependencies are inferred from the claim text.