Image processing device, method for controlling image processing device, and program
By disabling default route settings on the routing route screen, the device ensures consistent and clear default gateway configurations, preventing duplication and simplifying network management in image processing devices.
Patent Information
- Application Number
- JP2023063238
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-04-10
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2039-03-29
AI Technical Summary
Image processing devices like MFPs face challenges in setting default gateways due to the risk of duplication when using different setting methods on conventional screens, making it difficult for administrators to determine which gateway is actually enabled.
The device includes a mechanism to disable default route settings on the routing route setting screen, allowing only one method for setting the default gateway, ensuring consistency and clarity in network configurations.
This approach prevents duplicate default gateway settings, simplifying network management by ensuring users understand which gateway is active, thereby enhancing network stability and reducing configuration errors.
Smart Images

Figure 0007559128000001 
Figure 0007559128000002 
Figure 0007559128000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing device that transmits data to an external device. [Background technology]
[0002] In recent years, with the increasing demand for security and functionality in networks, it has become common to have multiple local area networks (LANs) in offices, commercial facilities, etc. Image processing devices used in such environments are also required to provide services to multiple LANs.
[0003] In a device that uses multiple network interfaces to connect to multiple LANs, in order to use different LANs as intended by the user, it is necessary to set route information indicating to which LAN a network packet should be sent.
[0004] Patent Document 1 discloses a mechanism for switching communication destinations by registering a routing route that associates a transmission destination of a network packet with a gateway address in a routing table managed by an OS.
[0005] Patent Document 2 discloses an MFP (Multi Function Peripheral) equipped with multiple network interfaces to support multiple LANs. In image processing devices such as these MFPs, it is common to accept settings for the IP address, subnet mask, and default gateway used in communication via a single setting screen and register them as general network settings. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] Japanese Patent Application Publication No. 07-162416 [Patent Document 2] JP 2019-22038 A Summary of the Invention [Problem to be solved by the invention]
[0007] In image processing devices such as MFPs, the settings of the IP address, subnet mask, and default gateway used in communication have been accepted via a single setting screen and registered as general network settings. It is conceivable to provide a setting screen on these image processing devices that allows the user to input routing paths so that networks can be appropriately used.
[0008] Incidentally, it is generally known in network devices that, as part of network configuration, a default gateway is specified by adding a default route indicated by "0.0.0.0 / 00" to the routing table.
[0009] If the routing route can be simply entered, it will be possible to set the default gateway from the routing table as well. If the default gateway can be set on both the conventional setting screen and the routing route setting screen, there is a risk that different values will be set on each setting screen. In this case, there is a problem that it is difficult for users such as administrators to know which default gateway is actually active.
[0010] The present invention has been made in consideration of at least one of the above problems. One aspect of the present invention aims to control the setting of default gateways so that they do not overlap with each other when a routing route setting is accepted, by disabling the setting of a default route. [Means for solving the problem]
[0011] In order to achieve at least one of the above-mentioned objects, the image processing device of the present invention is an image processing device capable of transmitting data to the outside via a plurality of different communication interfaces, and is characterized in having a display control means for displaying on a display unit a first setting screen for accepting a default gateway setting as a network setting and a routing setting screen for accepting a routing route setting, a first acceptance means for accepting a default gateway setting as a network setting via the first setting screen, and a second acceptance means for accepting a routing route setting via the routing setting screen, but not accepting the setting of a routing route representing a default route via the routing setting screen. Effect of the Invention
[0012] According to one aspect of the present invention, it is possible to prevent a default gateway from being set in duplicate using different setting methods. [Brief description of the drawings]
[0013] [Figure 1] FIG. 1 illustrates an example of an image processing system. [Diagram 2] FIG. 2 is a diagram illustrating an example of the hardware configuration of an MFP 101. [Diagram 3] FIG. 2 is a diagram illustrating an example of the software configuration of an MFP 101. [Figure 4] FIG. 2 illustrates an example of a routing table managed by an OS. [Diagram 5] 13 is an example of a screen displayed on an operation unit 116 of the MFP 101. [Figure 6] 13 is an example of a screen displayed on an operation unit 116 of the MFP 101. [Figure 7] 13 is an example of a screen displayed on an operation unit 116 of the MFP 101. [Figure 8] 10 is a flowchart showing an example of control for accepting a user-defined route setting. [Figure 9]13 is a flowchart showing an example of control for registering a route in a routing table. [Figure 10] 13 is an example of a screen displayed on an operation unit 116 of the MFP 101. [Figure 11] 10 is a flowchart illustrating an example of data transmission control. [Figure 12] 13 is a flowchart showing an example of control for registering a route in a routing table in the second embodiment. [Figure 13] 13 is a flowchart showing an example of control for registering a route in a routing table in the third embodiment. [Figure 14] 13 is an example of a screen displayed on an operation unit 116 of the MFP 101. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, the embodiments for carrying out the present invention will be described with reference to the drawings. Note that the following embodiments do not limit the invention according to the claims, and all of the combinations of features described in the embodiments are not necessarily essential to the solution of the invention.
[0015] <First embodiment> First, the configuration of an image processing system according to the present invention will be described with reference to FIG. 1. The image processing system according to this embodiment includes an MFP (Multi Function Peripheral) 101, a GW (Gateway) 102, a GW 104, a server 103, and a server 105. In this embodiment, the MFP 101 will be described as an example of an image processing device. The MFP 101 has a plurality of network interfaces, a first network interface is connected to NW1, and a second network interface is connected to NW2. As an example, a case is illustrated in which an IP address of "192.168.0.10" is set for the first network interface, and an IP address of the gateway device of NW1 is "192.168.0.1". Also, a case is illustrated in which an IP address of "172.16.0.10" is set for the second network interface, and an IP address of the gateway device of NW3 is "192.168.0.1". In addition, client devices (not shown) and internal servers (not shown) may be connected to NW1 and NW3.
[0016] Furthermore, server 103 is connected beyond GW 102, and server 105 is connected beyond GW 104. Servers 103 and 105 are, for example, Server Message Block (SMB) servers or Web-based Distributed Authoring and Versioning (WebDAV) servers. They may also be servers capable of receiving and storing files, such as File Transfer Protocol (FTP) servers. Note that the types of servers are merely examples, and may also be servers that collect data collected by MFP 101.
[0017] The MFP 101 can transmit data based on an image obtained by scanning to the server 103 or 105, and can transmit data collected by the MFP 101 to the server 103 or 105. The process of determining a transmission path when transmitting data to a server will be described later.
[0018] Next, the MFP 101 will be described with reference to Fig. 2. Fig. 2 is a block diagram showing the hardware configuration of the MFP 101. The MFP 101 has a reading function for reading an image on a sheet, a file transmission function capable of transmitting the read image to an external communication device, and the like. It also has a printing function for printing an image on a sheet.
[0019] In this embodiment, the MFP 101 is described as an example of a printing device, but the present invention is not limited to this. For example, a scanner device such as an SFP (Single Function Peripheral) that does not have a printing function may be used. In addition, the present invention can be applied to various devices in which it is desired to switch the communication path between the main line and other communication destinations.
[0020] A control unit 110 including a central processing unit (CPU) 111 controls the overall operation of the MFP 101. The CPU 111 reads out a control program stored in a read only memory (ROM) 112 or a storage 114, and performs various controls such as print control and read control. The ROM 112 stores a control program executable by the CPU 111. A random access memory (RAM) 113 is a main memory of the CPU 111, and is used as a work area or a temporary storage area for developing various control programs. The storage 114 stores print data, image data, various programs, and various setting information. In this embodiment, an auxiliary storage device such as a hard disk drive (HDD) is assumed as the storage 114, but a non-volatile memory such as a solid state drive (SSD) may be used instead of the HDD. In this manner, the hardware such as the CPU 111, the ROM 112, and the RAM 113 constitute a so-called computer.
[0021] In the MFP 101 of this embodiment, one CPU 111 executes each process shown in the flowcharts described later using one memory (RAM 113), but other configurations are also possible. For example, each process shown in the flowcharts described later can be executed by using multiple CPUs, RAMs, ROMs, and storages in cooperation with each other. Also, some of the processes can be executed using hardware circuits.
[0022] An operation unit interface (I / F) 115 connects an operation unit 116 and the control unit 110. The operation unit 116 is provided with a liquid crystal display unit having a touch panel function, various hard keys, and the like, and functions as a display unit that displays information and a reception unit that receives instructions from a user.
[0023] The reading unit I / F 117 connects the reading unit 118 and the control unit 110. The reading unit 118 reads an original placed on the current tray or the ADF and generates a read image. The generated read image is stored in the storage 114 or the RAM 113. The read image generated by the reading unit 118 is transmitted to a communication device or used to print an image on a sheet.
[0024] The printing unit I / F 119 connects the printing unit 120 and the control unit 110. The read image generated by the reading unit 118 and stored in the storage 114 or the RAM 113 is transferred from the control unit 110 to the printing unit 120 via the printing unit I / F 119. The printing unit 120 receives the read image via the control unit 110 and prints the read image on a sheet. It is also possible to perform printing based on a print job received from an external device. The printing method of the printing unit 120 may be an electrophotographic method or an inkjet method. Other printing methods such as a thermal transfer method can also be applied.
[0025] The communication unit I / F 121 is a first communication interface included in the MFP 101. The control unit 110 is connected to the NW1 via the communication unit I / F 121. The communication unit I / F 121 transmits and receives data to and from devices and servers on the NW1 and devices and servers on a network segment different from the NW1, such as the NW2, via the GW 102 on the NW1.
[0026] Furthermore, the communication unit I / F 122 is a second communication interface included in the MFP 101. The control unit 110 is connected to the NW3 via the communication unit I / F 122. The communication unit I / F 122 transmits and receives data to and from devices and servers on the NW3 and devices and servers on a network segment different from the NW1, such as the NW4, via the GW 104 on the NW3.
[0027] In this embodiment, it is assumed that the communication unit I / Fs 121 and 122 are communication interfaces that perform wired communication conforming to Ethernet (registered trademark), but are not limited to this. For example, one of them may be a wireless communication interface conforming to the IEEE802.11 series. Also, both may be wireless communication interfaces. Furthermore, three or more communication interfaces may be provided.
[0028] In this way, in the MFP 101 having a plurality of communication interfaces, in order to use different output destination networks as intended by the user, it is necessary to set route information for which network a network packet is to be sent. Meanwhile, in an image processing device such as an MFP, it is common to accept settings of an IP address, a subnet mask, and a default gateway used in communication via one screen and register them as general network settings. Meanwhile, in order to use different output destination networks appropriately, it is conceivable to provide a new setting screen for allowing a user to set a routing route. Here, if settings related to the default gateway are made on both the conventional setting screen and the newly provided routing route setting screen, there is a problem that it is difficult for a user such as an administrator to know which default gateway setting is actually valid.
[0029] In consideration of at least one of the above problems, this embodiment provides a mechanism for controlling the setting of a default gateway in one place by making it impossible to set a default route via a setting screen that accepts settings of a routing path. A specific mechanism will be described below.
[0030] 3 shows an example of a software configuration of the MFP 101. A setting control unit 300 has a line setting control unit 301 that provides a setting function for each communication interface, and a routing setting control unit 302 that provides the user with a function for setting a routing path.
[0031] The line setting control unit 301 manages operation setting values related to the communication interface. The operation setting values store the setting values of the IP address, subnet mask, and default gateway assigned to the communication interface. The routing setting control unit 302 manages the path setting values defined by the user. The path setting values store the routing path associated with the destination, subnet mask length, and destination gateway.
[0032] The gateway settings set by line setting control unit 301 and the route setting values set by routing setting control unit 302 are referred to by network control unit 311 of OS 310 and are registered in a routing table 400 managed by OS 310. When data is transmitted from a transmission application (not shown), network control unit 311 of OS 310 receives the transmitted data and determines the output destination of the data based on routing table 400. Furthermore, network control unit 311 transmits the data to the determined output destination.
[0033] 4 is an example of a routing table 400 managed by OS 310. The routing table is made up of multiple entries, and each entry is made up of three pieces of information: destination, subnet mask length, and gateway address. The destination and subnet mask length are information for identifying the destination to which this entry should be applied. Meanwhile, the gateway address indicates the IP address of the gateway device to which data should be sent when the destination at the time of sending matches the entry for destination and subset length.
[0034] For example, the entry in row 1 indicates that packets addressed to 172.16.0.1 to 172.16.255.254 should be sent to the gateway device of 172.16.0.1 (i.e., GW104 in FIG. 1). The entry in row 2 indicates a default route when the next packet destination is not found in the routing table. In this way, in the routing table of OS310, the gateway associated with the destination "0.0.0.0" and the subnet mask length "0" becomes the default gateway. Note that, when multiple entries match the same destination, the entry with the longer subnet mask length is used preferentially. That is, data for a destination matching 172.16.0.0 / 16 is sent to the gateway device of 172.16.0.1 (i.e., GW104 in FIG. 1). On the other hand, data for other destinations is sent to the gateway device of 192.168.0.1 (i.e., GW102 in FIG. 1). In addition, data destined for the same segment is sent by directly specifying the destination, not to the gateway.
[0035] Next, changing the operation setting values of MFP 101 will be described with reference to Fig. 5 to Fig. 7. Fig. 5 to Fig. 7 are examples of screens displayed on operation unit 116 of MFP 101, and each is an example of a setting screen displayed on operation unit 116 of MFP 101.
[0036] A user of the MFP 101 performs an operation to display a screen for changing the operation setting values of the MFP 101 from a main menu screen (not shown). When the CPU 111 detects an instruction to display the screen for changing the operation setting values, the CPU 111 transitions the screen displayed on the operation unit 116 to a setting screen exemplified in FIG. 5(a). The screen in FIG. 5(a) displays buttons for major categories indicating the types of settings. The user can call up a screen for performing detailed settings via the setting screen in FIG. 5(a). The network setting key 502 is a key for calling up a network-related setting screen of the MFP 101, and the device setting key 503 is a key used when performing device settings such as printing, scanning, and date and time settings. The personal setting key 504 is a key used when performing individual settings (for example, personalization of the language used and icons displayed on the main menu) for each user using the MFP (logging in to the MFP). When the CPU 111 detects that the network setting key 502 is selected, the CPU 111 transitions the screen displayed on the operation unit 116 to a network setting screen in FIG. 5(b). A user can perform various network-related settings via the screen of FIG. 5(b). Key 512 is a key used when performing settings related to a first communication interface, and key 513 is a key used when performing settings related to a second communication interface. Individual settings when the key is selected will be described later with reference to FIG. 6. Routing setting key 516 is a key used when a user wants to explicitly register a routing path. Setting of a routing path when key 516 is selected will be described with reference to FIG. 7. Interface setting key 514 is a key used when setting enable / disable of a communication interface. When CPU 111 detects that key 514 is selected, it transitions the screen displayed on operation unit 116 to a setting screen exemplified in FIG. 5(c).
[0037] A user can set the communication interface to be used via the screen of FIG. 5(c). Check boxes 522 and 523 are configured so that one of them can be selected exclusively. When 522 is selected, only the communication unit I / F 121 is enabled. On the other hand, when 523 is selected, the communication unit I / F 121 is enabled as the main line, and the communication unit I / F 122 is enabled as the sub-line. The main line is treated as a first communication interface having a higher usage priority than the sub-line. An OK key 524 is a key used to reflect the setting made via the screen of FIG. 5(c). The setting made via the screen of FIG. 5(c) is stored in the storage 114 or the RAM 113. When the MFP 101 has three or more communication interfaces, a user interface that allows the user to select one main line and one or more sub-lines to be used may be appropriately adopted.
[0038] The network settings of the main line and the sub-line will be described with reference to FIG. 6. FIG. 6 is an example of a screen provided by the line setting control unit 301. As described above, the main line is treated as an interface with a high usage priority. Therefore, as shown in FIG. 6(a), the network settings on the main line side display a default gateway setting item that is not present in the network settings on the sub-line side shown in FIG. 6(b). When the CPU 111 detects that the main line setting key 512 has been selected, it transitions the screen displayed on the operation unit 116 to the screen shown in FIG. 6(a), and when it detects that the sub-line setting key 513 has been selected, it transitions the screen displayed on the operation unit 116 to the screen shown in FIG. 6(b).
[0039] A user can input setting values in areas 602 to 604. Area 602 is an area for inputting an IP address to be assigned to communication unit I / F 121, which is a main line. Area 603 is an area for inputting a subnet mask, and area 604 is an area for inputting a default gateway address to be used when MFP 101 does not know the destination to which the MFP 101 should next transmit. When detecting that the OK key has been selected, the line setting control unit stores the setting made via FIG. 6(a) in storage 114 or RAM 113 as an operation setting value. The setting is appropriately referred to in a flowchart described later. Note that, via the screen of FIG. 6(a), a setting may be made to use a DHCP server that automatically acquires an IP address, a subnet mask, and a default gateway from the DHCP server. In this case, the IP address, subnet mask, and gateway address distributed from the DHCP server are stored as the setting of communication unit I / F 121. The stored setting is displayed on areas 602 to 604.
[0040] 6B, areas 612-613 are provided for inputting settings corresponding to an IP address and a subnet mask, and settings for the communication unit I / F 122 can be accepted. When it is detected that the OK key has been selected, the line setting control unit 301 stores the settings in the storage 114 or the RAM 113. The settings for the sub-line may also be acquired by DHCP. However, in the case of network settings for the sub-line, even if the MFP 101 is able to acquire the address of a default gateway from the DHCP server, the MFP 101 is controlled not to set the gateway.
[0041] Next, a screen for accepting routing settings will be described with reference to FIG. 7. FIG. 7 is an example of a screen provided by the routing setting control unit 302. When the CPU 111 detects that the routing setting key 516 is selected, it displays a routing setting screen shown in FIG. 7(a) on the operation unit 116. A display area 702 displays a list of routing routes registered by the user. Here, as an example, a case where a user setting corresponding to the entry of row 1 described in FIG. 4 is performed is illustrated. Each row on the area 702 can be selected by a user operation, and the routing route corresponding to the selected row can be modified or deleted using a key 712 or a key 713. In addition, a key 711 is a key used when adding a new routing route. An area 703 is an area where messages such as warnings and help for the user are displayed.
[0042] When it is detected that key 711 or 712 has been selected, the routing setting control unit 302 displays a pop-up screen for new registration or editing on the operation unit 116. A pop-up screen 721 in FIG. 7(b) shows an example of a pop-up screen. The user can input setting values in fields 722 to 724. Field 722 is an area for inputting the IP address of the destination for which a routing path is to be provided. Field 723 is an area for inputting the subnet mask length of the IP address specified as the destination. Field 724 is an area for inputting a gateway address when data is to be sent to a destination in the address range specified by the settings in fields 722 to 723.
[0043] An OK key 725 is a key for accepting a user operation to confirm registration or editing. When it is detected that the key is pressed, a new user-defined routing route is registered or modified based on the settings made via FIG. 7(b). The registered routing route is stored in the storage 114 or the RAM 113.
[0044] In this embodiment, control is performed so that a default route is not set via the routing setting screen. A specific mechanism will be described with reference to the flowcharts of Figs. 8, 9, and 11. Each operation (step) shown in the flowcharts of Figs. 8, 9, and 11 is realized by the CPU 111 calling up to the RAM 113 a program for implementing each control module stored in the ROM 112 or the storage 114 and executing it. Note that data transmission and reception processing and the like are realized in cooperation with each communication unit I / F. In addition, in cases where it is desired to clarify the subject of processing, the software module executed by the CPU 111 will be described as the subject.
[0045] 8 is a flowchart for explaining the setting of a user-defined routing route, and is executed in response to acceptance of a new registration or editing operation of a routing route. In S801, the routing setting control unit 302 accepts a setting operation of a static routing route based on a user operation via the operation unit 116.
[0046] Next, in S802, the routing setting control unit 302 judges whether or not a user operation to confirm the setting has been received. If a user operation to confirm the setting has been received, the process proceeds to S803, and if not, the process returns to S801 to wait for further setting. An example of a user operation to confirm the setting is the reception of a selection operation of the OK key 725.
[0047] In S803, the routing setting control unit 302 judges whether or not "0.0.0.0" is set in the transmission destination input accepted in S801. If "0.0.0.0" is set in the transmission destination, the process proceeds to S805, and if "0.0.0.0" is not set in the transmission destination, the process proceeds to S804. The process of S803 is for judging whether or not a default route has been set.
[0048] In S804, the routing setting control unit 302 accepts new registration or editing of a routing route based on the setting input in S801, stores it in the storage 114 or RAM 113 as a setting value of a user-defined routing route, and completes a series of registration processes. Note that in the process of S804, it is also possible to set a destination address derived by masking the destination input in the area 722 with the subnet mask length input in the area 723 as the destination of the routing route.
[0049] On the other hand, in S805, the routing setting control unit 302 displays a notice indicating a warning on the operation unit 116, and ends the series of processes. The warning here may be, for example, a notice that "the default route cannot be set using this function, but can be set in the network settings of the main line." When the notice is completed, the series of processes ends. If the process ends due to an error, an error notice may also be displayed in area 703. Also, in response to a user operation on area 703 or the error warning, the screen may be configured to transition to a setting screen related to the main line, as exemplified in FIG. 6(a).
[0050] In addition, in the present embodiment, when an error occurs, a notification is issued and the registration process is interrupted, but the present invention is not limited to this. When an error is notified in S805, the process may transition to S801.
[0051] In addition, in Fig. 8, the case where the determination as to whether a default route is set is made on the condition that a user operation to confirm registration or editing is accepted is illustrated, but the present invention is not limited to this. For example, the determination may be made while input is being made via the pop-up screen of Fig. 7(b). Specifically, a warning may be displayed in response to the detection that "0.0.0.0" has been input in the area 722.
[0052] Next, the process of registering the routing table by the network control unit 311 of the OS 310 will be described with reference to the flowchart of Fig. 9. The flowchart of Fig. 9 shows control that is executed when the system is started and when a user operation for confirming a change in the network settings is accepted.
[0053] In S901, the network control unit 311 acquires the operation setting values managed by the line setting control unit 301, and registers the default gateway setting of the main line in the routing table of the OS. When the default gateway address illustrated in Fig. 6(a) is set, the route information with the destination "0.0.0.0", the subnet mask length "0", and the gateway address "192.168.0.1" is registered in the routing table of the OS.
[0054] In S902, the network control unit 311 judges whether or not a user-defined route setting value is registered by referring to the user-defined route setting information managed by the routing setting control unit 302. If the user-defined route setting value is registered, the process proceeds to S903, and if the user-defined route setting value is not registered, the series of registration processes is terminated.
[0055] In S903, the network control unit 311 registers one of the user-defined route information in the routing table of the OS. Then, in S904, it is determined whether or not registration has been attempted for all of the user-defined route information. If it is determined that registration has been attempted for all of the user-defined route information, the series of processes is terminated. If it is determined that there are routes remaining for which registration has not been attempted, the process returns to S903, and an attempt is made to register the next route in the routing table of the OS 310.
[0056] By the above-described processing in FIGS. 8 and 9, it is possible to prevent overlapping setting of default routes from different setting screens.
[0057] Finally, specific routing will be described with reference to Figures 10 and 11. Figure 10 is an example of a screen for the transmission function displayed on the operation unit 116 of the MFP 101. When the CPU 111 accepts a user operation to use the transmission function from a main menu (not shown), it displays the screen shown in Figure 10(a). Figure 10(a) is an example of a destination setting screen for the transmission function. Here, an example is shown of a case where a destination for sending a file is set to a "Scan" directory with an address such as "172.16.23.233" as the destination of the SMB server.
[0058] The user can use the destination designation key to set a destination using an input method such as an address book registered in advance in the storage 114 or by directly inputting the destination. Fig. 10(b) is an example of a destination designation screen where the user designates the destination for file transmission using a software keyboard or the like. The user can select a transmission protocol, set a host name (IP address), folder path, and a user name and password to be used to access the server, and set them as the destination for the transmission function.
[0059] When it is detected that a transmission key (not shown) has been selected while the screen of Fig. 10(a) is displayed, the CPU 111 cooperates with the reading unit 118 to start reading the document and generating a read image. The CPU 111 then converts the generated read image into the file format set on the screen of Fig. 10(a) and sends the data to the specified transmission destination. The data is transmitted to the network control unit 311 of the OS 310. The network control unit 311 determines the transmission destination of the data by executing the control shown in the series of flowcharts of Fig. 11.
[0060] In S1101, when the CPU 111 receives an instruction to start transmission, the process proceeds to S1102. When the instruction to start transmission is received, the transmission function module reads an original and generates a file to be transmitted. Then, the transmission function module requests the network control unit 311 to transmit the file using a specified protocol. Note that, as an example here, the transmission function that transmits scan data transmits data to an external device, but this is not limiting. Data collected by the MFP 101 (for example, a counter for the number of printed sheets, the degree of consumption of parts and consumables, etc.) may be transmitted to an external server.
[0061] In S1102, the network control unit 311 receives a data transmission request from a module such as a transmission function, and judges whether the transmission destination included in the transmission request belongs to the same segment as the main line or the sub-line. Specifically, if the transmission destination is included in a subnetwork that can be specified by the IP address and subnet mask described in Fig. 6(a) and (b), it is judged that the destination belongs to the same segment as the main line or the sub-line. If it is determined that the destination belongs to the same segment as the main line or the sub-line, the process proceeds to S1103. On the other hand, if it is determined that the destination does not belong to the same segment as the main line or the sub-line (i.e., it is determined that the destination does not belong to either the main line or the sub-line), the process proceeds to S1104.
[0062] In S1103, the network control unit 311 transmits the data directly to the aforementioned transmission destination using the communication unit I / F to which an IP address in the same segment as the specified destination is set. When the transmission is completed, the series of processes ends.
[0063] On the other hand, in S1104, the network control unit 311 judges whether or not the gateway corresponding to the transmission destination has been identified by using the routing table 400. Specifically, if the transmission destination matches the address range specified by the destination and subnet mask of any entry, it is judged that the gateway has been identified, and the process proceeds to S1105. If the transmission destination matches the address range of multiple entries, the entry with the larger value of the subnet mask length (i.e., the entry with the narrowest range of influence) is preferentially selected. Note that, if a default route (0.0.0.0 / 0) entry is registered, all transmission destinations that do not match the conditions of other entries will match the default route entry. In other words, if a default route is set on the routing table 400, the gateway of the output destination can always be identified. On the other hand, if the transmission destination does not match the address range specified by the destination and subnet mask of any entry, it is judged that the gateway has not been identified, and the process proceeds to S1106.
[0064] In S1105, the network control unit 311 transmits the data addressed to the transmission destination to the gateway address specified based on the routing table. When the transmission is completed, the series of processes ends.
[0065] On the other hand, in S1106, the network control unit 311 determines that the transmission is an error, notifies the requesting module that the transmission was not possible, and ends the series of processes.
[0066] The above-described series of processes can restrict the setting of a default route via the routing setting screen. This process can narrow down the method by which a user such as an administrator inputs a default gateway to one. Furthermore, if an attempt is made to set a default route via the routing setting screen, a warning is displayed. This warning can suggest to the user that the default gateway can be input using a different method. Furthermore, the screen displayed on the operation unit 116 can be transitioned to a main line setting screen according to a user operation in response to the warning display. Therefore, the user can easily reach the gateway setting screen without being aware of the hierarchy of the setting screen.
[0067] <Second embodiment> In the first embodiment, a case where the setting of the default route via the routing setting screen is prohibited is described. In the second embodiment, a case where the default route can be set from the routing setting screen, but the setting of the default gateway set as the network setting for the main line is given priority is described. Note that the hardware configuration and software configuration are omitted because they are the same as those in the first embodiment.
[0068] FIG. 14(a) is an example of a screen displayed on the operation unit 116 in the second embodiment. Unlike the first embodiment, the second embodiment allows a routing route indicating a default route to be registered as a user-defined routing route. FIG. 14(a) illustrates a state in which a routing route indicating a default route is registered. A notification icon 1401 is an icon for suggesting that the setting may not be reflected in the routing table. In addition, when a default route is registered, a message 1403 is displayed to notify that the setting may not be correctly reflected in the routing table. Here, if a default gateway has already been set on another screen, the user is notified that the gateway setting set on the other screen takes priority.
[0069] Next, the process of registering in the routing table will be described with reference to Fig. 12. Fig. 12 shows an example of a process executed in place of the flowchart of Fig. 9 in the first embodiment. The difference from Fig. 9 is that the determination steps of S1211 and S1212 are added.
[0070] The processing in S1201 to S1202 is omitted because it is similar to S901 to S902 in Fig. 9. If it is determined in S1202 that a user-defined path setting value has been set, the CPU 111 advances the processing to S1211.
[0071] In S1211, the network control unit 311 selects one of the user-defined route information as a registration candidate, and judges whether or not "0.0.0.0" is set in the destination of the route information. If "0.0.0.0" is set in the destination, the process proceeds to S1212, and if "0.0.0.0" is not set in the transmission destination, the process proceeds to S1203.
[0072] In S1212, the network control unit 311 judges whether or not a default route indicating the default gateway has been registered in the routing table 400. If it is judged that the default route has been registered, the process proceeds to S1204 without registering the route information of the registration candidate in the routing table. If it is judged that the route information has not been registered, the process proceeds to S1203, and the route information of the registration candidate is registered in the routing table. The processes of S1203 to S1204 are the same as S903 to S904, and therefore will be omitted.
[0073] The above-described control allows the default route to be set from the routing setting screen, and also allows the setting of the default gateway set as the network setting for the main line to be prioritized. Also, if a default gateway is not set as the network setting for the main line, the default gateway set via the routing setting screen can be used as an alternative setting.
[0074] <Third embodiment> In the second embodiment, the default route can be set from the routing setting screen, but the case where the setting of the default gateway set as the network setting for the main line is prioritized is described. In the third embodiment, the case where the setting on the routing setting screen is prioritized and the setting of the default gateway set as the network setting for the main line is used as the alternative setting is described. Note that the hardware configuration and software configuration are omitted because they are the same as those in the first embodiment.
[0075] FIG. 14(b) is an example of a screen displayed on the operation unit 116 in the third embodiment. In the third embodiment, as in the second embodiment, a routing route indicating a default route is allowed to be registered as a user-defined routing route. FIG. 14(b) illustrates a state in which a routing route indicating a default route is registered. A notification icon 1411 is an icon for suggesting that the setting may be prioritized over other setting values. In addition, when a default route is registered, a message 1414 is displayed to notify that the settings made on this screen are prioritized over settings made on other screens.
[0076] Next, the process of registering in the routing table will be described with reference to Fig. 13. Fig. 13 shows an example of a process that is executed in place of the flowchart of Fig. 9 in the first embodiment.
[0077] In S1301, the network control unit 311 judges whether or not a user-defined path setting value is registered. If a user-defined path setting value is registered, the process proceeds to S1302, and if a user-defined path setting value is not registered, the process proceeds to S1305.
[0078] In S1302, the network control unit 311 refers to the user-defined route setting value managed by the routing setting control unit 302, and registers one of the user-defined route information in the routing table of the OS. Then, in S1303, it is determined whether or not an attempt has been made to register all of the user-defined route information. If it is determined that an attempt has been made to register all of the user-defined route information, the process proceeds to S1304. If it is determined that an attempt has been made to register any route that has not yet been attempted, the process returns to S1302, and an attempt is made to register the next route in the routing table of the OS 310.
[0079] In S1304, it is determined whether or not a default gateway has been registered in the routing table 400. If the default route "0.0.0.0 / 0" has been registered, it is determined that the default gateway has been registered, and the series of processes is terminated. On the other hand, if it is determined that the default gateway has not been registered, the process proceeds to S1305.
[0080] In S1305, the network control unit 311 registers the setting of the default gateway of the main line in the routing table of the OS. The process of S1305 is an alternative process when the default gateway is not set on the routing setting screen.
[0081] By the above-described control, the default gateway setting made via the routing table screen can be given priority.
[0082] <Modification> In the present embodiment, a case has been exemplified in which network settings such as a routing table are made based on a user operation via the operation unit 116 of the MFP 101, but the present invention is not limited to this.
[0083] For example, the MFP 101 may have a remote UI service or the like, and may provide a remote user interface function that executes device settings and management of the MFP 101 via an external Web browser. In this case, network settings can be configured via a Web screen. A user can confirm or change various device settings of the MFP 101 on a display of a PC or the like by using the remote UI service from a Web browser of an external device or the like. Alternatively, the present invention may be applicable to a case where the MFP 101 has a function for registering (importing) device settings in a lump sum using a file in JSON (JavaScript (registered trademark) Object Notation) format or the like. In this case, in the first embodiment, even if a default route is specified in the user-defined route information, the route is discarded without being imported. In the second and third embodiments, any network settings may be allowed to be imported, and then the above-mentioned registration control to the routing table may be performed.
[0084] <Other embodiments> The present invention can also be realized by supplying a program that realizes one or more functions of each of the above-mentioned embodiments to a system or device via a network or a storage medium, and having one or more processors in a computer of the system or device read and execute the program. It can also be realized by a circuit (e.g., ASIC or FPGA) that realizes one or more functions. [Explanation of symbols]
[0085] 101 MFP 111 CPU 121 Communication I / F 122 Communication I / F
Claims
1. An image processing device capable of transmitting data to an external device via a plurality of different communication interfaces, a display control means for displaying on a display unit a first setting screen for accepting a setting of a default gateway as a network setting, and a routing setting screen for accepting a setting of a routing path; a first reception means for receiving a default gateway setting as a network setting via the first setting screen; an image processing device comprising: a second accepting means for accepting the setting of a routing path via the routing setting screen, and not accepting the setting of a routing path representing a default route via the routing setting screen.
2. 2. The image processing apparatus according to claim 1, further comprising a registration unit that registers a routing path in a routing table based on the default gateway setting accepted by said first acceptance unit and the setting accepted by said second acceptance unit.
3. 2. The image processing device according to claim 1, wherein the first reception means receives, via the first setting screen, a default gateway setting, an IP address setting, and a subnet mask setting as network settings for the first communication interface.
4. The display control means further displays a second setting screen on the display unit for receiving an IP address setting and a subnet mask setting as network settings for a second communication interface different from the first communication interface; 4. The image processing device according to claim 3, further comprising a third reception means for receiving an IP address setting and a subnet mask setting as network settings for the second communication interface via the second setting screen, and not receiving a default gateway setting as network settings.
5. 5. The image processing apparatus according to claim 1, wherein the second reception unit does not receive a setting of a predetermined destination as an item of a routing path inputted via the routing setting screen.
6. 6. The image processing apparatus according to claim 5, wherein the predetermined destination is 0.0.0.
0.
7. 7. The image processing device according to claim 5, further comprising a notification unit that issues a predetermined notification to a user when a setting of a predetermined destination as an item of a routing path input via the routing setting screen is not accepted.
8. The image processing device according to any one of claims 1 to 7, characterized in that the second reception means, after receiving input of a destination, a subnetwork length, and a gateway address via the routing setting screen, registers the input destination, subnetwork length, and gateway address in a memory area indicating a user-defined routing route in accordance with receiving a user operation to register a routing route.
9. A method for controlling an image processing device capable of transmitting data to an external device via a plurality of different communication interfaces, comprising the steps of: a first display control step of displaying a first setting screen for accepting a setting of a default gateway as a network setting on a display unit; a second display control step of displaying a routing setting screen for receiving settings of a routing path on the display unit; a first reception step of receiving a default gateway setting as a network setting via the first setting screen; A control method for an image processing device, comprising: a second reception step of receiving a routing path setting via the routing setting screen, and not receiving a routing path representing a default route being set via the routing setting screen.
10. 10. The control method for an image processing device according to claim 9, further comprising a registration step of registering a routing path in a routing table based on the setting of a default gateway accepted in the first acceptance step and the setting accepted in the second acceptance step.
11. 10. The control method for an image processing device according to claim 9, wherein the first reception process receives, via the first setting screen, a setting of the default gateway, a setting of an IP address, and a setting of a subnet mask as network settings for the first communication interface.
12. a third display control step of displaying, on the display unit, a second setting screen for receiving an IP address setting and a subnet mask setting as network settings for a second communication interface different from the first communication interface; The control method for an image processing device according to claim 11, further comprising a third reception step of receiving an IP address setting and a subnet mask setting as network settings for the second communication interface via the second setting screen, and not receiving a default gateway setting as network settings.
13. 13. The method of claim 9, wherein the second reception step does not accept a setting of a predetermined destination as an item of a routing path inputted via the routing setting screen.
14. 14. The method according to claim 13, wherein the predetermined destination is 0.0.0.
0.
15. A program for causing a computer to execute the method for controlling an image processing apparatus according to any one of claims 9 to 14.
Citation Information
Patent Citations
Method for automatically setting static routing information
JP1995162416A
Communication device and communication path switching method
JP2009111688A
Communication apparatus, control method, program and recording medium
JP2009159391A
Information processing apparatus, control method of the same, and program
JP2019022038A
Information processing apparatus capable of easily identify line to be used, control method therefor, and storage medium
US20190021035A1
