An information processing apparatus which is able to identify a line to be used even if same address information is set for a plurality of lines. In the information processing apparatus, one of a wired I/F and a wireless I/F is used as a main line and the other is used as a sub line. Whether a network address of an IP address of the sub line overlaps with a network address of an IP address of the main line is determined. In a case where it is determined that the network address of the IP address of the sub line overlaps with the network address of the IP address of the main line, the sub line is disabled.
Legal claims defining the scope of protection, as filed with the USPTO.
1. An image processing apparatus having a wired interface and a wireless interface, and the image processing apparatus being capable of transmitting data to an external device via the wired interface or the wireless interface, wherein the wireless interface connects to an external access point and communicates with the external device via a network provided by the external access point, the image processing apparatus comprising: at least one processor; and at least one memory storing instructions that, when executed by the at least one processor, cause the image processing apparatus to: determine whether a network part of an IP address assigned to the wired interface matches with a network part of an IP address assigned to the wireless interface; disconnect a communication connection between the external access point and the image processing apparatus, according to a determination that the network part of the IP address assigned to the wired interface matches with the network part of the IP address assigned to the wireless interface; and disable the wireless interface according to the determination that the network part of the IP address assigned to the wired interface matches with the network part of the IP address assigned to the wireless interface, wherein the wired interface serves as an interface that outputs, to an external device via a default gateway, data to be transmitted.
2. The image processing apparatus according to claim 1 , wherein the at least one processor further executes instructions stored in the at least one memory to cause the image processing apparatus to: prohibit the image processing apparatus from operating in a state where a direct wireless communication function by using the wireless interface, by which direct wireless communication is performed with the external device without using an external access point, is enabled, in a case where a network part of an IP address to be used for the direct wireless communication function matches with either of the network part of the IP address assigned to the wired interface or the network part of the IP address assigned to the wireless interface.
3. The image processing apparatus according to claim 1 , wherein the wired interface is used as an interface having a higher priority than a priority of the wireless interface.
4. The image processing apparatus according to claim 1 , wherein the at least one processor further executes instructions stored in the at least one memory to provide a predetermined error message to a user in a case where the network part of the IP address assigned to the wired interface matches with the network part of the IP address assigned to the wireless interface.
5. The image processing apparatus according to claim 4 , wherein the predetermined error message is a message for notifying the user of an occurrence of network error.
6. The image processing apparatus according to claim 1 , further comprising a printing device.
7. A control method for an image processing apparatus having a wired interface and a wireless interface, and the image processing apparatus being capable of transmitting data to an external device via the wired interface or the wireless interface, wherein the wireless interface connects to an external access point and communicates with the external device via a network provided by the external access point, the control method, comprising: determining whether a network part of an IP address assigned to the wired interface matches with a network part of an IP address assigned to the wireless interface; disconnecting a communication connection between the external access point and the image processing apparatus, according to a determination that the network part of the IP address assigned to the wired interface matches with the network part of the IP address assigned to the wireless interface; and disabling the wireless interface according to the determination that the network part of the IP address assigned to the wired interface matches with the network part of the IP address assigned to the wireless interface, wherein the wired interface serves as an interface that outputs, to an external device via a default gateway, data to be transmitted.
8. A non-transitory computer-readable storage medium storing a program for causing a computer to execute a control method for an image processing apparatus having a wired interface and a wireless interface, and the image processing apparatus being capable of transmitting data to an external device via the wired interface or the wireless interface, wherein the wireless interface connects to an external access point and communicates with the external device via a network provided by the external access point, the control method, comprising: determining whether a network part of an IP address assigned to the wired interface matches with a network part of an IP address assigned to the wireless interface; disconnecting a communication connection between the external access point and the image processing apparatus, according to a determination that the network part of the IP address assigned to the wired interface matches with the network part of the IP address assigned to the wireless interface; and disabling the wireless interface according to the determination that the network part of the IP address assigned to the wired interface matches with the network part of the IP address assigned to the wireless interface, wherein the wired interface serves as an interface that outputs, to an external device via a default gateway, data to be transmitted.
9. An image processing apparatus comprising: a first network interface; a second network interface different from the first network interface, wherein one of the first network interface and the second network interface is used as an interface having a higher priority and the other of the first network interface and the second network interface is used as an interface having a lower priority than the interface having the higher priority, and the image processing apparatus is capable of transmitting data, which is obtained by a scanner reading an original, to an external device via the first network interface or the second network interface; at least one processor; and at least one memory storing instructions that, when executed by the at least one processor, cause the image processing apparatus to: determine whether a network part of an IP address assigned to a network interface to be used as the interface having the lower priority matches with a network part of an IP address assigned to the network interface to be used as the the interface having the higher priority; disconnect a communication connection already-established between the interface having the lower priority and an external network, according to a determination that the network part of the IP address assigned to the network interface to be used as the interface having the lower priority matches with the network part of the IP address assigned to the network interface to be used as the interface having the higher priority; and disable the network interface to be used as the interface having the lower priority, according to the determination that the network part of the IP address assigned to the network interface to be used as the interface having the lower priority matches with the network part of the IP address assigned to the network interface to be used as the the interface having the higher priority, wherein the network interface to be used as the the interface having the higher priority serves as a network interface that outputs, to an external device via a default gateway, data to be transmitted.
10. The image processing apparatus according to claim 9 , wherein the at least one processor further executes instructions stored in the at least one memory to provide a predetermined error message to a user in a case where the network part of the IP address assigned to the network interface to be used as the interface having the lower priority matches with the network part of the IP address assigned to the network interface to be used as the the interface having the higher priority.
11. The image processing apparatus according to claim 10 , wherein the predetermined error message is a message for notifying the user of an occurrence of network error.
12. The image processing apparatus according to claim 9 , further comprising a printing device.
13. The image processing apparatus according to claim 9 , wherein the first network interface is a wired network interface that transmits data via a cable and the second network interface is a wireless network interface for executing wireless communication via a wireless network provided by an access point.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
July 11, 2018
November 24, 2020
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.