# US 9,882,880 B2 · Communication apparatus, method for controlling the same, and storage medium

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 9,882,880 B2
- Document ID: US9882880B2
- Status: Granted
- Kind: B2
- Application number: 14/258,983
- Filed: 2014-04-22
- Published: 2014-10-30
- Granted: 2018-01-30
- Earliest claimed: 2013-04-24
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Fumihide Goto
- Web page: https://patentgrep.com/patent/US9882880B2

## CPC

- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## 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.

## Claims

### Claim 1

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.

### Claim 2 (depends on 1)

The communication apparatus according to claim 1, wherein said acquisition unit acquires information indicating whether the another communication apparatus can provide a service specified by a user.

### Claim 3 (depends on 1)

The communication apparatus according to claim 1, wherein an application layer is referred to as a service provision layer in a layer equal to or upper than a fifth layer in an open systems interconnection (OSI) reference model.

### Claim 4 (depends on 1)

The communication apparatus according to claim 1, wherein the service is at least any of a printing service, a moving image streaming service, or a file transfer service.

### Claim 5 (depends on 1)

The communication apparatus according to claim 1, wherein the wireless LAN conforming to the IEEE802.11 standard series includes Wi-Fi Direct.

### Claim 6 (depends on 1)

The communication apparatus according to claim 1, wherein, if a plurality of services is identified by the acquisition unit, the control unit opens a port corresponding to each of the plurality of the identified services.

### Claim 7

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.

### Claim 8

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.

### Claim 9

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.

### Claim 10 (depends on 9)

The communication apparatus according to claim 9, wherein said acquisition unit acquires information indicating whether the another communication apparatus can provide a service specified by a user.

### Claim 11 (depends on 9)

The communication apparatus according to claim 9, wherein the application layer is referred to as a service provision layer in a layer equal to or upper than a fifth layer in an open systems interconnection (OSI) reference model.

### Claim 12 (depends on 9)

The communication apparatus according to claim 9, wherein the service is at least any of a printing service, a moving image streaming service, or a file transfer service.

### Claim 13 (depends on 9)

The communication apparatus according to claim 9, wherein the wireless LAN conforming to the IEEE802.11 standard series includes Wi-Fi Direct.

### Claim 14 (depends on 9)

The communication apparatus according to claim 9, wherein, if a plurality of services is identified by the acquisition unit, the control unit opens a port corresponding to each of the plurality of the identified services.

### Claim 15

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.

### Claim 16

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.
