Communication apparatus, method for controlling the same, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorFumihide Goto
Life of this patent
Estimating the term…
Abstract
A communication apparatus acquires information about a service provided by another communication apparatus and identifies a service executable between the communication apparatus and the another communication apparatus based on the acquired information and a service executable by the communication apparatus. If a plurality of services is identified, the communication apparatus controls a port corresponding to each of the plurality of the identified services.
Claims16
A communication apparatus comprising:
- a memory storing instructions;
- and
- one or more processors that execute the instructions and cause the one or more processors to operate as:
- a search unit configured to search for another communication apparatus capable of wireless LAN communication conforming to the IEEE802.11 standard series by transmitting a probe request signal in the wireless LAN conforming to the IEEE802.11 standard series;
- a transmission unit configured to transmit, to the another communication apparatus searched by said search unit, a service discovery signal in the wireless LAN conforming to the IEEE802.11 standard series;
- an acquisition unit configured to acquire, from a service discovery response signal in response to the service discovery signal transmitted by said transmission unit, information about a service of an application layer provided by the another communication apparatus;
- a comparing unit configured to compare a service indicated by the information acquired by said acquisition unit and a service which the communication apparatus can execute;
- a connecting unit configured to execute processing to establish connection with the another communication apparatus by the wireless LAN based on the information acquired by the acquisition unit;
- a processing unit configured to execute processing to set an IP address to the communication apparatus after the connection with the another communication apparatus by the wireless LAN is established;
- and
- a control unit configured to collectively open a plurality of Transmission Control Protocol (TCP) ports or a plurality of User Datagram Protocol (UDP) ports corresponding to a plurality of the respective services common to both the apparatuses, without executing a service search process in an IP layer, based on a result of the comparison performed by the comparing unit in response to setting of the IP address to the communication apparatus by the processing unit, if a plurality of services is identified by the acquisition unit.
A method for controlling a communication apparatus, the method comprising:
- searching for another communication apparatus capable of wireless LAN communication conforming to the IEEE802.11 standard series by transmitting a probe request signal in the wireless LAN conforming to the IEEE802.11 standard series;
- transmitting, to the another communication apparatus searched, a service discovery signal in the wireless LAN conforming to the IEEE802.11 standard series;
- acquiring, from a service discovery response signal in response to the transmitted service discovery signal, information about a service of an application layer provided by the another communication apparatus;
- comparing a service indicated by the acquired information and a service which the communication apparatus can execute;
- establishing connection with the another communication apparatus by the wireless LAN based on the acquired information;
- setting an IP address to the communication apparatus after the connection with the another communication apparatus by the wireless LAN is established;
- and
- collectively opening a plurality of Transmission Control Protocol (TCP) ports or a plurality of User Datagram Protocol (UDP) ports corresponding to a plurality of the respective services common to both of the apparatuses without executing a service search process in an IP layer, based on a result of the comparison in response to setting of the IP address to the communication apparatus, if a plurality of services is identified.
A non-transitory computer readable storage medium storing computer executable instructions for causing a computer to execute a method, the method comprising:
- searching for another communication apparatus capable of wireless LAN communication conforming to the IEEE802.11 standard series by transmitting a probe request signal in the wireless LAN conforming to the IEEE802.11 standard series;
- transmitting, to the another communication apparatus searched, a service discovery signal in the wireless LAN conforming to the IEEE802.11 standard series;
- acquiring, from a service discovery response signal in response to the transmitted service discovery signal, information about a service of an application layer provided by the another communication apparatus;
- comparing a service indicated by the acquired information and a service which the communication apparatus can execute;
- establishing connection with the another communication apparatus by the wireless LAN based on the acquired information;
- setting an IP address to the communication apparatus after the connection with the another communication apparatus by the wireless LAN is established;
- and
- collectively opening a plurality of Transmission Control Protocol (TCP) ports or a plurality of User Datagram Protocol (UDP) ports corresponding to a plurality of the respective services common to both of the apparatuses, without executing a service search process in an IP layer, based on a result of the comparison in response to setting of the IP address to the communication apparatus, if a plurality of services is identified.
A communication apparatus comprising:
- a memory storing instructions;
- and
- one or more processors that execute the instructions and cause the one or more processors to operate as:
- a search unit configured to search for another communication apparatus capable of wireless LAN communication conforming to the IEEE802.11 standard series by transmitting a probe request signal in the wireless LAN conforming to the IEEE802.11 standard series;
- an acquisition unit configured to acquire, from a probe response signal in response to the probe request signal, information about a service of an application layer provided by the another communication apparatus;
- a comparing unit configured to compare a service indicated by the information acquired by said acquisition unit and a service which the communication apparatus can execute;
- a connection unit configured to execute processing to establish connection with the another communication apparatus by the wireless LAN based on the information acquired by the acquisition unit;
- a processing unit configured to execute processing to set an IP address to the communication apparatus after the connection with the another communication apparatus by the wireless LAN is established, and
- a control unit configured to collectively open a plurality of Transmission Control Protocol (TCP) ports or a plurality of User Datagram Protocol (UDP) ports corresponding to a plurality of the respective services common to both of the apparatuses, without executing a service search process in an IP layer, based on a result of the comparison performed by the comparing unit in response to setting of the IP address to the communication apparatus by the processing unit, if a plurality of services is identified by the acquisition unit.
A method for controlling a communication apparatus, the method comprising:
- searching for another communication apparatus capable of wireless LAN communication conforming to the IEEE802.11 standard series by transmitting a probe request signal in the wireless LAN conforming to the IEEE802.11 standard series;
- acquiring, from a probe response signal in response to the probe request signal, information about a service of an application layer provided by the another communication apparatus;
- comparing a service indicated by the acquired information and a service which the communication apparatus can execute;
- establishing connection with the another communication apparatus by the wireless LAN based on the acquired information;
- setting an IP address to the communication apparatus after the connection with the another communication apparatus by the wireless LAN is established, and
- collectively opening a plurality of Transmission Control Protocol (TCP) ports or a plurality of User Datagram Protocol (UDP) ports corresponding to a plurality of the respective services common to both of the apparatuses, without executing a service search process in an IP layer, based on a result of the performed comparison in response to setting the IP address to the communication apparatus, if a plurality of services is identified.
A non-transitory computer readable storage medium storing computer executable instructions for causing a computer to execute a method, the method comprising:
- searching for another communication apparatus capable of wireless LAN communication conforming to the IEEE802.11 standard series by transmitting a probe request signal in the wireless LAN conforming to the IEEE802.11 standard series;
- acquiring, from a probe response signal in response to the probe request signal, information about a service of an application layer provided by the another communication apparatus;
- comparing a service indicated by the acquired information and a service which the communication apparatus can execute;
- establishing connection with the another communication apparatus by the wireless LAN based on the acquired information;
- setting an IP address to the communication apparatus after the connection with the another communication apparatus by the wireless LAN is established, and
- collectively opening a plurality of Transmission Control Protocol (TCP) ports or a plurality of User Datagram Protocol (UDP) ports corresponding to a plurality of the respective services common to both of the apparatuses, without executing a service search process in an IP layer, based on a result of the performed comparison in response to setting the IP address to the communication apparatus, if a plurality of services is identified.
Dependencies are inferred from the claim text.