Communication device, method for controlling communication device, and storage medium
AssigneeCanon Kabushiki Kaisha
InventorKazuo Moritomo
Life of this patent
Estimating the term…
Abstract
A communication device includes a connection unit configured to perform connection processing with another communication device, an acquisition unit configured to acquire information indicating whether the other communication device is able to execute a predetermined service before the connection unit executes the connection processing, and a control unit configured to control a port used in communications with the other communication device, based on the information acquired by the acquisition unit.
Claims7
A communication device comprising:
- a memory configured to store a program;
- and
- a processor that is in communication with the memory, the processor configured to control:
- a connection unit configured to perform a connection process with another communication device;
- a lock unit configured to lock, before the connection unit executes the connection process with the another communication device, a plurality of ports used in communication;
- an acquisition unit configured to acquire, before the connection unit executes the connection process with the another communication device, information indicating whether the another communication device is conforming to a predetermined service;
- and
- an unlock unit configured to
- unlock one or more of the locked plurality of ports when the acquired information indicates that the another communication device is conforming to the predetermined service, wherein the one or more of the locked plurality of ports is used in the predetermined service, and
- unlock all of the locked plurality of ports locked by the lock unit when the acquired information indicates that the another communication device is not conforming to the predetermined service.
A method for controlling a communication device, the method comprising:
- performing a connection process with another communication device;
- locking, before the connection process with the another communication device is executed, a plurality of ports used in communication;
- acquiring, before the connection process with the another communication device is executed, information indicating whether the another communication unit is conforming to a predetermined service;
- unlocking one or more of the locked plurality of ports when the acquired information indicates that the another communication device is conforming to the predetermined service, wherein the one or more of the locked plurality of ports is used in the predetermined service, and
- unlocking all of the locked plurality of ports locked during the locking step when the acquired information indicates that the another communication device is not conforming to the predetermined service.
A non-transitory computer-readable storage medium storing computer executable instructions that cause a computer to implement a method, the method comprising:
- performing a connection process with another communication device;
- locking, before the connection process with the another communication device is executed, a plurality of ports used in communication;
- acquiring, before the connection process with the another communication device is executed, information indicating whether the another communication unit is conforming to a predetermined service;
- unlocking one or more of the locked plurality of ports when the acquired information indicates that the another communication device is conforming to the predetermined service, wherein the one or more of the locked plurality of ports is used in the predetermined service, and
- unlocking all of the locked plurality of ports locked during the locking step when the acquired information indicates that the another communication device is not conforming to the predetermined service.
Dependencies are inferred from the claim text.