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.
Claims15
A communication apparatus comprising:
- one or more processors;
- and
- one or more memories including instructions that, when executed by the one or more processors, cause the communication apparatus to:
- perform first communication that performs direct wireless communication with another communication apparatus;
- perform second communication communicates with another communication apparatus via a construction apparatus for constructing a wireless network;
- perform a first search process for searching for another communication apparatus communicating with the communication apparatus by the first communication;
- perform a second search process for searching for another communication apparatus that supports a predetermined service and communicates with the communication apparatus by the second communication, by performing the search specifying the predetermined service by the second communication;
- and
- 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 second search process is performed, and based on the communication apparatus not being connected to the construction apparatus, the first search process is performed, and
- after either the first search process or the second search is performed, in a case where another communication apparatus detected by the search satisfies a predetermined condition, the other search process is not performed, and in a case where another communication apparatus detected by the search does not satisfy the predetermined condition, the other search process is performed.
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 non-transitory 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.