This application is based upon and claims the benefit of priority from the corresponding Japanese Patent Application No. 2012-044379, filed in the Japan Patent Office on Feb. 29, 2012, the entire contents of which are incorporated herein by reference.
The present disclosure relates to a device information providing system for providing information through a Web page included in each of a main electronic device and a sub-electronic device.
A typical device information providing system includes a network card unit and a printing unit that are connected to each other. The network card unit includes a network I/F unit for communicating with a host computer, a printing device I/F unit for communicating with the printing unit, a device-independent content unit for providing Web content of the network card unit, and a WWW server unit for controlling communications. The printing unit includes a network card I/F unit for communicating with the printing device I/F unit and a device-dependent content unit for providing Web content of the printing unit. The WWW server unit passes the Web content to the host computer from the device-independent content unit or the device-dependent content unit in response to a request received from the host computer while a connection is established with respect to the host computer via the network I/F unit.
In the typical device information providing system, the network card unit, which includes a Web server that has established a connection with respect to an information processing device, acquires the Web content of the printing unit. Accordingly, if there is a change in a combination of the network card unit and the printing unit due to a model change or a change in product specifications, the network card unit may fail to acquire the Web content of the printing unit.
A device information providing system according to an embodiment of the present disclosure includes a main electronic device and a sub-electronic device. The main electronic device includes a main-side external communication unit, a main-side inter-device communication unit, a main-side HTTP server, and a main-side communication control unit. The main-side external communication unit is configured to communicate with an information processing device. The main-side HTTP server is configured to provide a main-side page including a Web page of the main electronic device. The main-side communication control unit is configured to: (i) disconnect a main-side normal connection between the information processing device and the main-side HTTP server via the main-side external communication unit when a connection to a sub-side switching URL is requested by the information processing device while the main-side normal connection is established, (ii) and establish a main-side transfer connection between the information processing device and a sub-side HTTP server via the main-side external communication unit, the main-side inter-device communication unit, and a sub-side inter-device communication unit. The sub-electronic device is connected to the main electronic device, and includes the sub-side inter-device communication unit and the sub-side HTTP server. The sub-side inter-device communication unit is configured to communicate with the main-side inter-device communication unit. The sub-side HTTP server is configured to provide a sub-side page to which the sub-side switching URL used to switch the connection is assigned, the sub-side page comprising a Web page of the sub-electronic device. The main-side inter-device communication unit is configured to communicate with the sub-electronic device.
An electronic device according to an embodiment of the present disclosure includes a main-side external communication unit, a main-side inter-device communication unit, a main-side HTTP server, a main-side communication control unit, and an interface. The main-side external communication unit is configured to communicate with an information processing device. The main-side inter-device communication unit is configured to communicate with a sub-electronic device. The main-side HTTP server is configured to provide a main-side page including a Web page of the electronic device. The main-side communication control unit is configured to: (i) disconnect a main-side normal connection that is a connection between the information processing device and the main-side HTTP server via the main-side external communication unit when a connection to a sub-side switching URL is requested by the information processing device while the main-side normal connection is established, and (ii) establish a main-side transfer connection that is a connection between the information processing device and a sub-side HTTP server via the main-side external communication unit, the main-side inter-device communication unit, and a sub-side inter-device communication unit. The interface is configured to be connected to the sub-electronic device including the sub-side inter-device communication unit configured to communicate with the main-side inter-device communication unit and the sub-side HTTP server configured to provide a sub-side page to which the sub-side switching URL used to switch the connection is assigned, the sub-side page including a Web page of the sub-electronic device.
A non-transitory computer-readable recording medium according to an embodiment of the present disclosure stores a device information providing program executed by a computer of an electronic device connected to a sub-electronic device. The device information providing program includes five program codes. A first program code causes the computer to communicate with an information processing device via a main-side external communication unit. A second program code causes the computer to communicate with the sub-electronic device via a main-side inter-device communication unit. A third program code causes the computer to provide a main-side page including a Web page of the electronic device via a main-side HTTP server. A fourth program code causes, via a main-side communication control unit, the computer to disconnect a main-side normal connection that is a connection between the information processing device and the main-side HTTP server via the main-side external communication unit when a connection to a sub-side switching URL is requested by the information processing device while the main-side normal connection is established, and establish a main-side transfer connection that is a connection between the information processing device and a sub-side HTTP server via the main-side external communication unit, the main-side inter-device communication unit, and a sub-side inter-device communication unit. A fifth program code causes, via an interface connected to the sub-electronic device, the computer to be connected to the sub-electronic device including: the sub-side inter-device communication unit for communicating with the main-side inter-device communication unit; and the sub-side HTTP server for providing a sub-side page to which the sub-side switching URL used to switch the connection is assigned, the sub-side page including a Web page of the sub-electronic device.
Additional features and advantages are described herein, and will be apparent from the following Detailed Description and the figures.
In the accompanying drawings:
An embodiment of the present disclosure is now described with reference to the accompanying drawings.
As illustrated in
MFP 20 includes MFP main body 30 that serves as an image forming apparatus and an option network interface card (Option NIC) 60. Option NIC 60 is a network interface card detachably attachable to MFP main body 30. MFP main body 30 and Option NIC 60 are connected to each other.
MFP 20 and PC 90 are communicably connected to each other via network 11 such as a local area network (LAN).
As illustrated in
Network communication unit 36 may be an external communication unit for communicating with a PC, and may, for example, be used for wired communications.
Storage unit 40 stores application program 41 for generating a Web page for a setting menu (hereinafter referred to as “MFP main body setting Web page”) necessary to set different functions of MFP main body 30, HTTP server program 42 used as a hypertext transfer protocol (HTTP) server for providing the MFP main body setting Web page, and device information providing program 43 for providing device information.
The MFP main body setting Web page includes a Web page for setting of MFP main body 30. An MFP main body-side normal URL accessed via network communication unit 36 and an MFP main body-side switching URL used to switch the connection are assigned to the MFP main body setting Web page. The MFP main body-side normal URL and the MFP main body-side switching URL may be, for example, “http://mfp_ip/” and “http://mfp_ip/mfp”, respectively. Note that “mfp_ip” indicates an IP address of MFP main body 30.
Application program 41, HTTP server program 42, and device information providing program 43 may be installed in MFP main body 30 at a manufacturing stage of MFP main body 30, installed in MFP main body 30 from a storage medium such as a universal serial bus (USB) memory or an SD memory card, or may be installed in MFP main body 30 from network 11.
Control unit 50 may include, for example, a central processing unit (CPU), a read only memory (ROM) for storing a program and different kinds of data, and a random access memory (RAM) used as a work area for the CPU (none of which are shown in
Control unit 50 executes application program 41 stored in storage unit 40, thereby functioning as application 51 for generating the MFP main body setting Web page.
Further, control unit 50 executes HTTP server program 42 stored in storage unit 40, thereby functioning as HTTP server 52 for providing the MFP main body setting Web page.
Further, control unit 50 executes device information providing program 43 stored in storage unit 40, thereby functioning as hypertext transfer protocol daemon (httpd) 53 that serves as a communication control unit. Httpd 53 can switch between (i) an MFP main body-side normal connection, between the PC and HTTP server 52, via network communication unit 36 and (ii) an MFP main body-side transfer connection, between the PC and an HTTP server of an Option NIC (described later), via network communication unit 36, internal communication I/F 37, and internal communication I/F 62 of Option NIC 60.
Further, control unit 50 executes the program stored in storage unit 40, thereby functioning as TCP control unit 54 for controlling transmission control protocol (TCP) communications, IP control unit 55 for controlling Internet protocol (IP) communications, Ethernet control unit 56 for controlling Ethernet® communications, and internal communication control unit 57 for controlling communications performed by internal communication I/F 37.
As illustrated in
Network communication unit 61 may be an external communication unit for communicating with PC 90, and may be used for wireless communications.
Storage unit 70 stores Option NIC setting Web page 71 including a Web page for a setting menu necessary to set different functions of Option NIC 60 such as a print server function, HTTP server program 72 that may include a program for the HTTP server for providing Option NIC setting Web page 71, and device information providing program 73 for providing device information.
Option NIC setting Web page 71 includes a Web page for network setting of Option NIC 60. An Option NIC-side normal URL accessed via network communication unit 61 and an Option NIC-side switching URL used to switch the connection are assigned to Option NIC setting Web page 71. The Option NIC-side normal URL and the Option NIC-side switching URL are, for example, “http://option_nic_ip/” and “http://option_nic_ip/option_nic”, respectively. Note that “option_nic_ip” indicates an IP address of Option NIC 60.
HTTP server program 72 and device information providing program 73 may be installed in Option NIC 60 at a manufacturing stage of Option NIC 60 or installed in Option NIC 60 from network 11.
Control unit 80 includes, for example, a CPU, a ROM for storing a program and different kinds of data, and a RAM used as a work area for the CPU (none of which are shown in
Control unit 80 executes HTTP server program 72 stored in storage unit 70, thereby functioning as HTTP server 81 for providing Option NIC setting Web page 71.
Further, control unit 80 executes device information providing program 73 stored in storage unit 70, thereby functioning as httpd 82 that serves as a communication control unit. Httpd 82 can switch between (i) an Option NIC-side normal connection, between PC 90 and HTTP server 81, via network communication unit 61 and (ii) an Option NIC-side transfer connection, between PC 90 and the HTTP server of the MFP main body, via network communication unit 61, internal communication I/F 62, and internal communication I/F 37 of MFP main body 30.
Further, control unit 80 executes the program stored in storage unit 70, thereby functioning as TCP control unit 83 for controlling TCP communications, IP control unit 84 for controlling IP communications, Ethernet control unit 85 for controlling Ethernet® communications, and internal communication control unit for controlling communications performed by internal communication I/F 62.
As illustrated in
Storage unit 100 stores printer driver 101 for controlling printing performed on MFP 20 and Web browser program 102 used for a Web browser for browsing Web pages.
Printer driver 101 and Web browser program 102 may be installed in PC 90 at a manufacturing stage of PC 90, installed in PC 90 from a storage medium such as a USB memory, a compact disc (CD), or a digital versatile disc (DVD), or installed in PC 90 from network 11.
Control unit 110 includes, for example, a CPU, a ROM for storing a program and different kinds of data, and a RAM used as a work area for the CPU (none of which are shown in
Control unit 110 executes Web browser program 102 stored in storage unit 100, thereby functioning as Web browser 111 for browsing Web pages.
Next, a description is made of an operation of network system 10.
First, described are example communications that may be performed between an MFP and the PC via a network communication unit of the MFP main body.
If the user activates Web browser 111 through operation unit 91 of PC 90 and inputs the IP address “mfp_ip” of MFP main body 30 to Web browser 111, Web browser 111 transmits a GET request to “http://mfp_ip/” (S201).
When Web browser 111 transmits the GET request to “http://mfp_ip/” in Step S201, the GET request is received by the network communication unit of MFP main body 30 corresponding to the IP address “mfp_ip”. As illustrated in
As illustrated in
As illustrated in
Next, HTTP server 52 acquires the MFP main body setting Web page corresponding to the GET request from the application of the MFP main body, and passes the acquired MFP main body setting Web page to httpd 53 (S203) thereby establishing the MFP main body-side normal connection.
Subsequently, httpd 53 sends the MFP main body setting Web page passed from HTTP server 52 to Web browser 111 (S204).
As illustrated in
The MFP main body setting Web page illustrated in
If the user depresses the connection destination switching button of the MFP main body setting Web page through the operation unit of PC 90, as illustrated in
When Web browser 111 transmits the POST request to “http://mfp_ip/” in Step S221, the POST request is received by network communication unit 36 of MFP main body 30 corresponding to the IP address “mfp_ip”.
As illustrated in
As illustrated in
As illustrated in
Next, HTTP server 52 passes a redirection destination URL “/option_nic” to httpd 53 in response to the POST request indicating that the connection destination switching button has been depressed (S223).
Subsequently, httpd 53 sends the redirection destination URL “http://mfp_ip/option_nic” passed from HTTP server 52 to Web browser 111 (S224).
Accordingly, even if PC 90 does not retain the Option NIC-side switching URL in advance, the MFP is allowed to easily switch from the MFP main body-side normal connection to the MFP main body-side transfer connection based on the Option NIC-side switching URL of which the PC 90 has been notified by MFP main body 30.
As illustrated in
Subsequently, as illustrated in
When Web browser 111 transmits the GET request to “http://mfp_ip/option_nic” in Step S225, the GET request is received by the network communication unit of MFP main body 30 corresponding to the IP address “mfp_ip”.
As illustrated in
As illustrated in
As illustrated in
As illustrated in
As illustrated in
As illustrated in
Subsequently, as illustrated in
As illustrated in
Accordingly, instead of causing the HTTP server of the MFP main body to provide the Option NIC setting Web page, the MFP can cause the HTTP server of Option NIC 60 to provide the Option NIC setting Web page to the PC by establishing the connection between the PC and the HTTP server of the Option NIC via the MFP main body.
Accordingly, even if there is a change in a combination of the MFP main body and the Option NIC due to a model change or a change in product specifications, it is possible to provide the Option NIC setting Web page via the MFP main body.
The Option NIC setting Web page illustrated in
Accordingly, while the MFP main body-side transfer connection is established, the user can confirm different kinds of information on the Option NIC and execute different kinds of settings of the Option NIC through the Option NIC setting Web page. For example, through setting button 322, the user can change network settings of the Option NIC such as changing MAC address filtering settings, IP filtering settings, and IPsec settings.
As illustrated in
When Web browser 111 transmits the POST request to “http://mfp_ip/option_nic” in Step S241, the POST request is received by the network communication unit of MFP main body 30 corresponding to the IP address “mfp_ip”.
As illustrated in
Httpd 53 determines a transfer destination of the POST request based on a URL of the POST request transferred from TCP control unit 54.
As illustrated in
As illustrated in
As illustrated in
Then, as illustrated in
As illustrated in
Subsequently, as illustrated in
As illustrated in
Subsequently, as illustrated in
When Web browser 111 transmits the GET request to “http://mfp_ip/mfp” in Step S245, the GET request is received by network communication unit 36 of the MFP main body 30 corresponding to the IP address “mfp_ip”.
Accordingly, the MFP is allowed to easily switch from the MFP main body-side transfer connection to the MFP main body-side normal connection.
As illustrated in
As illustrated in
As illustrated in
Next, HTTP server 52 acquires the MFP main body setting Web page corresponding to the GET request from application 51, and passes the acquired MFP main body setting Web page to httpd 53 (S247). In other words, httpd 53 establishes the MFP main body-side normal connection.
Subsequently, httpd 53 sends the MFP main body setting Web page passed from HTTP server 52 to Web browser 111 (S248).
As illustrated in
Accordingly, while the MFP main body-side normal connection is established, the user can confirm different kinds of information on MFP main body 30 and execute different kinds of setting of MFP main body 30 through the MFP main body setting Web page.
In the above-mentioned manner, the user can freely switch between (i) the communications between the Web browser of the PC and the HTTP server of the MFP main body, via the network communication unit of the MFP main body and (ii) the communications between the Web browser of the PC and the HTTP server of the Option NIC, via the network communication unit of the MFP main body. Further, the user can completely disconnect those communications by terminating the Web browser.
Next, a description is made of communications between the MFP and the PC via the network communication unit of the Option NIC.
As illustrated in
When Web browser 111 transmits the GET request to “http://option_nic_ip/” in Step S401, the GET request is received by the network communication unit of Option NIC 60 corresponding to the IP address “option_nic_ip”.
As illustrated in
As illustrated in
As illustrated in
Next, HTTP server 81 acquires the Option NIC setting Web page corresponding to the GET request from the Option NIC setting Web page, and passes the acquired Option NIC setting Web page to httpd 82 (S403), thereby establishing the Option NIC-side normal connection.
Subsequently, httpd 82 sends the Option NIC setting Web page passed from HTTP server 81 to Web browser 111 (S404).
As illustrated in
Accordingly, while the Option NIC-side normal connection is established, the user can confirm different kinds of information on Option NIC 60 and execute different kinds of settings of Option NIC 60 through the Option NIC setting Web page.
As illustrated in
When Web browser 111 transmits the POST request to “http://option_nic_ip/” in Step S421, the POST request is received by network communication unit 61 of Option NIC 60 corresponding to the IP address “option_nic_ip”.
As illustrated in
As illustrated in
As illustrated in
Then, HTTP server 81 passes a redirection destination URL “/mfp” to httpd 82 in response to the POST request indicating that the connection destination switching button has been depressed (S423).
Subsequently, httpd 82 sends the redirection destination URL “http://option_nic_ip/mfp” passed from the HTTP server 81 to Web browser 111 (S424).
Accordingly, even if PC 90 does not retain the MFP main body-side switching URL in advance, the MFP is allowed to easily switch from the Option NIC-side normal connection to the Option NIC-side transfer connection based on the MFP main body-side switching URL of which PC 90 has been notified by Option NIC 60.
As illustrated in
Subsequently, as illustrated in
When Web browser 111 transmits the GET request to “http://option_nic_ip/mfp” in Step S425, the GET request is received by the network communication unit of Option NIC 60 corresponding to the IP address “option_nic_ip”.
As illustrated in
As illustrated in
As illustrated in
As illustrated in
As illustrated in
As illustrated in
Subsequently, as illustrated in
As illustrated in
Accordingly, the MFP can cause HTTP server 52 of MFP main body 30 to provide the MFP main body setting Web page to PC 90 by establishing the connection between PC 90 and HTTP server 52 of the MFP main body 30 via the Option NIC 60.
Accordingly, even if there is a change in a combination of MFP main body 30 and Option NIC 60 due to a model change or a change in product specifications, it is possible to provide the MFP main body setting Web page via the Option NIC.
Further, while the Option NIC-side transfer connection is established, the user can confirm different kinds of information on the MFP main body 30 and execute different kinds of settings of the MFP main body 30 through the MFP main body setting Web page.
As illustrated in
When Web browser 111 transmits the POST request to “http://option_nic_ip/mfp” in Step S441, the POST request is received by network communication unit 61 of Option NIC 60 corresponding to the IP address “option_nic_ip”.
As illustrated in
As illustrated in
As illustrated in
As illustrated in
Next, as illustrated in
As illustrated in
Subsequently, as illustrated in
As illustrated in
Subsequently, as illustrated in
When Web browser 111 transmits the GET request to “http://option_nic_ip/option_nic” in Step S445, the GET request is received by network communication unit 61 of Option NIC 60 corresponding to the IP address “option_nic_ip”.
As illustrated in
As illustrated in
As illustrated in
Next, HTTP server 81 acquires the Option NIC setting Web page corresponding to the GET request from Option NIC setting Web page 71, and passes the acquired Option NIC setting Web page to httpd 82 (S447). In other words, httpd 82 establishes the Option NIC-side normal connection.
Subsequently, httpd 82 sends the Option NIC setting Web page passed from HTTP server 81 to Web browser 111 (S448).
Accordingly, the MFP is allowed to easily switch from the Option NIC-side transfer connection to the Option NIC-side normal connection.
As illustrated in
Accordingly, while the Option NIC-side normal connection is established, the user can confirm different kinds of information on Option NIC 60 and execute different kinds of setting of the Option NIC 60 through the Option NIC setting Web page.
In the above-mentioned manner, the user can freely switch between (i) the communications between the Web browser of the PC and the HTTP server of the Option NIC, via the network communication unit of the Option NIC and (ii) the communications between the Web browser of the PC and the HTTP server of the MFP main body, via the network communication unit of the Option NIC. Further, the user can completely disconnect those communications by terminating the Web browser.
In the embodiment of the present disclosure, if the MFP main body-side normal connection can no longer be performed, the Option NIC-side transfer connection can be used to correct the network setting of the MFP main body through the MFP main body setting Web page.
Accordingly, the MFP main body-side normal connection can be recovered even if there is an error in a network setting of the MFP main body such as, for example, an error in a filter setting such as MAC address filtering or IP filtering, through the MFP main body setting Web page.
In the embodiment of the present disclosure, if the Option NIC-side transfer connection can no longer be performed, the MFP main body-side normal connection can be used to correct the network setting of the Option NIC through the Option NIC setting Web page.
Accordingly, the Option NIC-side transfer connection can be recovered even if there is an error in a network setting of the Option NIC such as, for example, an error in a filter setting such as MAC address filtering or IP filtering through the Option NIC setting Web page.
In the embodiment of the present disclosure, if the Option NIC-side normal connection can no longer be performed, the MFP main body-side transfer connection can be used to correct the network setting of the Option NIC through the Option NIC setting Web page.
Accordingly, the Option NIC-side normal connection can be recovered even if there is an error in the network setting of the Option NIC such as, for example, an error in a wireless LAN setting, through the Option NIC setting Web page.
Further, the Option NIC-side normal connection can be recovered even if the network setting of the Option NIC cannot be corrected directly from the Option NIC because the Option NIC does not include the operation unit.
Note that, in the MFP 20, the network communication unit of the MFP main body 30 may be used for wireless communications, and the network communication unit of the Option NIC 60 may be used for wired communications. Further, the network communication unit of the MFP main body 30 and the network communication unit of the Option NIC 60 may be both used for wired communications, or may be both used for wireless communications.
In the network system according to the embodiment of the present disclosure, the MFP main body 30 and the Option NIC 60 may be a main electronic device and a sub-electronic device, respectively. Alternatively, in another example, in the network system 10, the MFP main body 30 and the Option NIC 60 can also constitute the sub-electronic device and the main electronic device, respectively.
In the embodiment of the present disclosure, the information processing device is the PC 90, but in other examples may be an information processing device other than the PC 90.
In the embodiment of the present disclosure, the image forming apparatus is the MFP main body 30, but in other examples may be an image forming apparatus other than the MFP main body 30 such as a standalone printer, a standalone FAX machine, or a standalone copier.
It should be understood that various changes and modifications to the presently embodiments described herein will be apparent to those skilled in the art. Such changes and modifications can be made without departing from the spirit and scope of the present subject matter and without diminishing its intended advantages. It is therefore intended that such changes and modifications be covered by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2012-044379 | Feb 2012 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
6587880 | Saigo et al. | Jul 2003 | B1 |
6654796 | Slater et al. | Nov 2003 | B1 |
20030030664 | Parry | Feb 2003 | A1 |
20030055888 | Matsumoto et al. | Mar 2003 | A1 |
20050180793 | Nishiguchi | Aug 2005 | A1 |
20090257085 | Kondo | Oct 2009 | A1 |
20110060925 | Park | Mar 2011 | A1 |
Number | Date | Country |
---|---|---|
0903675 | Mar 1999 | EP |
11-212912 | Aug 1999 | JP |
2003-067267 | Mar 2003 | JP |
2003-131856 | May 2003 | JP |
2003-330824 | Nov 2003 | JP |
2009-219052 | Sep 2009 | JP |
2009-223608 | Oct 2009 | JP |
Entry |
---|
European Search Report for App. No. EP 13157068.1, mailed Nov. 8, 2013. |
Number | Date | Country | |
---|---|---|---|
20130222849 A1 | Aug 2013 | US |