This application claims priority of Japanese Patent Application No. 2004-359159, filed on Dec. 10, 2004, the entire subject matter of the application is incorporated herein by reference thereto.
1. Technical Field
The technical field relate to a method, device, system and computer readable medium for transmitting setting data to devices on a network.
2. Related Art
A conventional technique for transmitting setting data is to transmit the setting data from a single device to a plurality of devices at a time via a network. An example of such a device is described in Japanese Patent Provisional Publication No. HEI 9-149076. According to the technique disclosed in HEI 9-149076, setting data for a plurality of facsimile devices is prepared in a server, and the setting data are transmitted from the sever to the plurality of facsimile devices at a time.
According to the technique described above, it is unnecessary to conduct an individual setting operation for each of the plurality of facsimile devices. Therefore, setting for the plurality of facsimile devices is effectively easy.
However, the conventional technique described above has a drawback that it is impossible to restore settings of a device to a previous state after the transmission of setting data from a sever to the device is executed. That is, if an error due to new setting data newly set to a device by the transmission of setting data occurs in the device, settings of the device cannot be restored to a previous state.
Aspects are advantageous in that they provide a method, device, system and computer readable medium which are configured to transmit setting data to a plurality of devices at a time and to restore settings of a device to a previous state.
A method of transmitting setting data from a terminal device to a plurality of target devices is provided. The method includes the steps of preparing new setting data to be set to the plurality of target devices, obtaining current setting data currently set to the plurality of target devices, respectively, storing the current setting data obtained from the plurality of target devices in a memory device, and transmitting the new setting data to the plurality of target devices after the storing of the current setting data is finished.
It is noted that various connections are set forth between elements in the following description. It is noted that these connections in general and, unless specified otherwise, may be direct or indirect and that this specification is not intended to be limiting in this respect.
General Overview
According to an aspect of the invention, a method of transmitting setting data from a terminal device to a plurality of target devices is provided. The method includes the steps of preparing new setting data to be set for the plurality of target devices, obtaining current setting data currently set to the plurality of target devices, respectively; storing the current setting data obtained from the plurality of target device in a memory device as backup data, and transmitting the new setting data to the plurality of target devices after the storing of the current setting data is finished.
With this configuration, it may be possible to transmit new setting data to be applied to a plurality of target devices to the plurality of target devices at a time. In addition, in cases where a trouble arises in a device after the data transmission is executed, a user can restore settings of the device to a previous state by using the stored current setting data of the device.
Optionally, the method may include the step of allowing a user to start restoring settings of a recovery target device of the plurality of target devices to a previous state by transmitting the backup data.
Still optionally, the step of the storing the current setting data may store a plurality of pieces of backup data respectively corresponding to the step of obtaining the current setting data.
Still optionally, the method may include the step of restoring settings of a recovery target device of the plurality of target devices to a previous state by transmitting one of the plurality of pieces of backup data selected by a user to the recovery target device.
Still optionally, the method may include the step of allowing a user to start restoring settings of a recovery target device of the plurality of target devices to a previous state by transmitting a latest one of the plurality of pieces of back up data for the recovery target device to the recovery target device.
Still optionally, the method may include the step of displaying the current setting data of the recover target device before the step of the allowing the user to start restoring settings of the recovery target device is executed.
Still optionally, each of a plurality of pieces of current setting data includes setting values of a plurality of setting items. In this case, the method may include the step of allowing the user to select at least one item from among the plurality of setting items to be targeted for the restoring settings of the recovery target device. The step of the restoring settings of the recovery target device may be executed with regard to the at least one items selected by the user.
Still optionally, each of a plurality of pieces of current setting data includes setting values of a plurality of setting items. In this case, the method may include the steps of comparing the new setting data with each of the plurality of pieces of current setting data before the step of the storing the plurality of pieces of current setting data is executed so as to detect a setting item of the new setting data to be updated with respect to each of the plurality of pieces of current setting data. The step of the storing the current setting data may be storing the updated setting item in a memory device as backup data.
Still optionally, the method may include the steps of specifying a point of time, specifying a point of time, identifying backup data stored at the specified point of time, and restoring settings of a recovery target device using the identified backup data.
In a first example, in the specifying step the point of time may be specified based on user designation.
In a second example, in the specifying step the point of time may be specified within a range of time designated by a user.
In a third example, in the specifying step the point of time may be specified as a time when backup data designated by a use is created.
Optionally, the method may include the steps of allowing the user to designate at least one setting item, selecting at least one backup data containing the at least one setting item designated by the user from among the plurality of pieces of backup data, displaying the plurality of pieces of backup data, allowing the user to select at least one backup data; and restoring settings of at least one device corresponding to the selected backup data.
Still optionally, the method may include the steps of displaying the plurality of pieces of backup data, allowing the user to select at least one backup data, and restoring settings of at least one device corresponding to the selected backup data.
Still optionally, the step of the preparing the new setting data comprises the steps of allowing the user to select a representative device from among a plurality of devices connected to the network, and obtaining representative setting data currently set to the representative device through the network. One of the representative setting data and modified setting data made by modifying the representative setting data may be used as the new setting data.
According to another aspect of the invention, there is provided a method of transmitting setting data from a terminal device to a plurality of target devices. The method includes preparing a plurality of pieces of new setting data to be set to the plurality of target devices, respectively, obtaining a plurality of pieces of current setting data currently set to the plurality of target devices, respectively, storing the plurality of pieces of current setting data obtained from the plurality of target device in a memory device, and transmitting the plurality of pieces of new setting data to the plurality of target devices, respectively, after the storing of the current setting data is finished.
With this configuration, it becomes possible to transmit a plurality of pieces of new setting data to be applied to a plurality of target devices to the plurality of target devices at a time. In addition, in cases where a trouble arises in a device after the data transmission is executed, a user can restore settings of the device to a previous state by using the stored current setting data of the device.
According to another aspect of the invention, a terminal device for transmitting setting data to a plurality of target devices may be provided. The terminal device may include a preparing system used to prepare new setting data to be set to the plurality of target devices, an obtaining system that obtains a plurality of pieces of current setting data currently set to the plurality of target devices, respectively, a storing system that stores the plurality of pieces of current setting data obtained from the plurality of target device in a memory device, and a transmitting system that transmits the new setting data to the plurality of target devices after the storing of the current setting data is finished.
With this configuration, it becomes possible to transmit new setting data to be applied to a plurality of target devices to the plurality of target devices at a time. In addition, in cases where a trouble arises in a device after the data transmission is executed, a user can restore settings of the device to a previous state by using the stored current setting data of the device.
Optionally, the terminal device may include a restoring system that restores one or more settings of a recovery target device of the plurality of target devices to a previous state by transmitting one current setting data of the plurality of pieces of current setting data stored by the step of the storing to the recovery target device, wherein the one current setting data is data obtained from the recovery target device in the obtaining step.
According to another aspect of the invention, there is provided a system for transmitting setting data to a plurality of target devices. The system may include a preparing system used to prepare new setting data to be set to the plurality of target devices, an obtaining system that obtains a plurality of pieces of current setting data currently set to the plurality of target devices, respectively, a storing system that stores the plurality of pieces of current setting data obtained from the plurality of target device in a memory device, and a transmitting system that transmits the new setting data to the plurality of target devices after the storing of the current setting data is finished.
With this configuration, it becomes possible to transmit new setting data to be applied to a plurality of target devices to the plurality of target devices at a time. In addition, in cases where trouble arises in a device after the data transmission is executed, a user can restore settings of the device to a previous state by using the stored current setting data of the device.
Optionally, the system may include a restoring system that restores settings of a recovery target device of the plurality of target devices to a previous state by transmitting one or more current setting data of the plurality of pieces of current setting data stored by the step of the storing to the recovery target device, wherein the one or more current setting data is data obtained from the recovery target device in the obtaining step.
The device and method according to the present invention can be realized when appropriate programs are provided and executed by a computer. Such programs may be stored in recording medium such as a flexible disk, CD-ROM, memory cards and the like and distributed. Alternatively or optionally, such programs can be distributed through networks such as the Internet.
Hereafter, embodiments according to the invention will be described with reference to the accompanying drawings.
Since the PCs 1A, 1B and 1C have the same configuration, in
In this embodiment, the setting data transmission process is executed such that a plurality of pieces of setting data are transmitted to device at a time.
The router 2 has the function of relaying data from one network to another network. Since the printers 3, 4 and 5 have the same configuration, in
In this embodiment, data transmission between the PCs and the printers is performed based on a simple network management protocol (SNMP). Each of the printers 3 to 5 is configured to store a management information base (for example, a MIB 311 stored in the NVRAM 304 of the printer 3). For obtaining setting data from one of the printers 3 to 5, the PC 1A sends a data acquisition request based on SNMP to a target printer (one of the printers 3 to 5). Then, the target printer provides setting data in an MIB (e.g. the MIB 311 of the printer 3), which is managed by and stored in the target printer, for the PC 1A as a response to the data acquisition request.
For making the setting to a target printer (one of the printers 3 to 5), the PC 1A sends a data setting request based on SNMP containing setting data to the target printer. Then, the target printer stores the received setting data in its own MIB (e.g. the MIB 311 of the printer 3) as a response to the data setting request sent by the PC 1A.
Hereafter, the setting data transmission process performed between the PCs and the printers will be explained. The setting data transmission process includes two types of transmission processes: a first type process is a process for setting a principal function of a printing device (e.g. a printer, a multi-function product having a printing function); and a second type process is a process for setting a network function of a NIC (a network interface card, for example, the network I/F 308 of the printer 3) provided in the printing device. Hereafter, the first type process is referred to as a first data setting transmission process, and the second type process is referred to as a second data setting transmission process.
Since general flows of the fist and second data setting transmission processes are substantially equal to each other, the explanation of the data setting transmission process is made without making a distinction between the first and the second data setting transmission processes. Therefore, in the following, differences between the first and second data setting transmission processes will be explained, only if the necessity arises.
First, user interfaces (UI) of the first and second data setting transmission processes are explained. To start the first data setting transmission process, a user operates the PC 1A to initiate a device setting management tool. If the device setting management tool is initiated, a device setting management tool initial screen 11 is displayed, for example as a window, on the display unit 106 of the PC 1A as shown in
The printer setting function initial screen 13 is used to perform the configuration of printing devices (e.g. printers or multi function products). As shown in
For initiating the second data setting transmission process, a user double clicks one of printing devices listed in the device setting management tool initial screen 11 after opening the device setting management tool initial screen 11, or a user clicks a “Control” menu in the menu bar on the device setting management tool initial screen 11 and then clicks “Configure Print Server” in the pull-down menu. Then, a NIC setting dialog box 15 shown in
At an initial condition of the “Send Settings to Printer(s)” dialog box 21, the transmission target selection radio button 23 is set to “Current Printer”, and the transmission type changing instruction field 25, the device list indication field 27, the “Search” button 29, the “Remove” button 31, the addition device input text box 33, and the “Add” button 35 are grayed out (a grayed out item represents that the item can not accept operation).
If the user sets the transmission target selection radio button 23 to “Multiple Printer”, the grayed out representation of the transmission type changing instruction field 25, the device list indication field 27, the “Search” button 29, the addition device input text box 33, and the “Add” button 35 is released. If the grayed out representation is released, a selection among instructions of “1: Send all Current Values”, “2: Send all Update Values” and “3: Send Current and Update Values” is enabled in the transmission type changing instruction field 25. The grayed out representation of the “Remove” button 31 is also released if one or more devices are displayed in the device list indication field 27.
After the “Send Settings to Printer(s)” dialog box 21 described above is displayed, the PC 1A displays a device list (i.e. contents to be displayed in the device list indication field 27) of the “Send Settings to Printer(s)” in step S203. As described above, the device list indication field 27 is grayed out and no item is displayed in the device list indication field 27 in the initial condition (see
After the step S203 is finished, the PC1 accepts inputs of buttons and keys on the “Send Settings to Printer(s)” dialog box 21 (step S205). In step S205, the user can conduct the switching operation of the transmission target selection radio button 23, an address inputting operation in the addition device input text box 33, and a pressing operation of the “Search” button 29, the “Remove” button 31, the “Add” button 35, the “OK” button 37, or the “Cancel” button 39.
If an address is inputted in the addition device input text box 33 (S207:YES), an inputting process for obtaining character strings inputted in the addition device input text box 33 is executed in step S209. Then, control returns to step S205.
If an address is not inputted in the addition device input text box 33 (S207:NO), control proceeds to step S211 where it is judged whether the “Add” button 35 is pressed. If the “Add” button is pressed (S2111YES), a process for adding a device designated in the addition device input text box 33 to the device list is executed (S213).
As shown in
If the acquisition of the device information is not successfully completed (S303:NO), the PC 1A displays a message box of a communication error and waits for an input of a “Retry/Cancel” buttons (S307). If the user presses one of the “Retry/Cancel” buttons, control proceeds from step S307 to step S309. If the button pressed by the user is “Retry” button (S309:Retry), control returns to S301. If the button pressed by the user is “Cancel” button (S309:Cancel) or the step S305 is finished, the process of
Returning now to
If the “Remove” button 31 is not pressed (S215:NO), control proceeds to step S219 where it is judged whether the “Search” button 29 is pressed. If the “Search” button 29 is pressed (S219:YES), the PC 1A operates to search for devices on the network to update the device list (step S221). More specifically, in step S221, the PC 1A broadcasts a packet requesting responses from devices on the network according to SNMP, and waits for responses in a few seconds. If a device capable of responding to the packet exists on the network, the device sends a response back to the PC 1A. A device incapable of responding to the packet discards the received packet. The PC 1A recognizes devices which send responses back to the PC 1A as devices to be targeted for the data setting transmission process, updates the device list with regard to the responded devices, and then adds the responded devices to the device list indication field 27. After the process of step S221 is finished, control returns to step S203.
If undesired devices which are not to be targeted for the data setting transmission process responded to the packet, the user may delete such undesirable devices using “Remove” button 31.
If the “Search” button 29 is not pressed (S219:NO), control proceeds to step S223 where it is judged whether an operation for changing the instruction of transmission type by using the transmission target selection radio button 23 and the transmission type changing instruction field 25 is conducted. If a user operation for changing the instruction of transmission type is conducted (S223:YES), representation of the transmission type changing instruction field 25 is changed in accordance with the changed transmission type, and then the “Send Settings to Printer(s)” dialog box 21 is refreshed (S225).
Then, a process of step S227, which is illustrated in detail in
As shown in
In step S407, it is judged whether “Send all Current Value” is designated in the transmission type changing instruction field 25. In step S409, it is judged whether “Send Current and Update Values” is selected in the transmission type changing instruction field 25. If the “Send all Current Value” is not designated (S407:NO) and “Send Current and Update Values” is not designated (S409:NO), the instruction designated in the transmission type changing instruction field 25 is “Send all Update Values”. In this case, in step S411, the device list is modified such that an entry of the representative device, which is selected as the representative device on the UI (i.e., the device setting management tool initial screen 11) displayed before the initiation of the data setting transmission process, is set as valid data.
If the “Send all Current Value” is not designated (S407:NO) and “Send Current and Update Values” is designated (S409:YES), control proceeds to step S413. In step S413, it is checked whether update settings not applied to the representative device exist. If the update settings not applied to the representative device exist (S413:YES), the device list is modified such that the entry of the representative device is set as valid data (S411). If the update settings have been applied to the representative device (S413:NO), control proceeds to step S415 where the entry of the representative device in the device list is designated as invalid data.
If the “Send all Current Value” is designated in the transmission type changing instruction field 25 (S407:YES), control proceeds to step S415 where the entry of the representative device in the device list is designated as invalid data.
If it is judged in step S401 that the “Multiple Printers” is not selected on the transmission target selection radio button 23 (S401:YES), the selection result on the transmission target selection radio button 23 is “Current Printer”. In this case, the device list is deleted (S417). After completion of step S411, S415, or S417, the process of
Referring now to
If it is judged in step S231 that the “Cancel” button 39 is not pressed (S231:NO), control returns to step S205 since no effective operation is conducted.
After completion of step S233, the process for “Send Settings to Printer(s)” terminates and also the step S101 of
Referring now to
If the “OK” button 37 is pressed (S103:YES), a transmission confirmation dialog process is executed in step S105.
After the transmission confirmation dialog box 41 is displayed in step S501, the PC 1A executes a device setting acquisition process in step S503.
As shown in
To point at a device listed at the top of the device list, the variable i is assigned 1 (i.e. i=1) in step S601. Next, the PC 1A judges whether all of the devices in the device list have been processed or not (S603). Specifically, in step S603 the PC 1A judges whether a condition ion (where n represents the total number of devices in the device list) holds or not. If all of the devices in the device list have not been processed (S603:NO), control proceeds to step S605. In step S605, setting data are obtained from a current device (a device designated by the variable i).
More specifically, the acquisition of setting data from the current device is executed as follows. The PC 1A sends a data acquisition request to the current device based on SNMP. Then, the current device (which has been received the data acquisition request) sends setting data stored in the MIB (e.g. the MIB 311 of the printer 3) managed by the current device to the PC 1A as a response to the data acquisition request. Setting items to be obtained from the current device vary depending on the transmission type designated in the transmission type changing instruction field 25 of the “Send Settings to Printer(s)” dialog box 21. That is, if the transmission type is “Send all Current Values” or “Send Current and Update Values”, setting data of all of the setting items is obtained form the current device. If the transmission type is “Send all Update Values”, only setting data of setting items to be updated is obtained from the current device. In this embodiment, the term “setting items” means items which are predetermined, for each of device models, as target items to be processed in the data setting transmission process and do not cover all of setting items supported by a current device.
Next, in step S607, the PC 1A judges whether the setting data are successfully obtained form the current device. If the setting data are successfully obtained (S607:YES), the obtained setting data are registered in the device list (in a corresponding entry of the device list) (S609). Status information “Identical” is also registered in the corresponding entry of the device list if all of the obtained setting data are identical to setting data to be sent to the current device. Status information “Change” is registered in the corresponding entry of the device list if all of the obtained setting data are not identical to setting data to be sent to the current device.
If the setting data are not successfully obtained (S607:NO), control proceeds to step S611. In step S611, error information is registered in the corresponding entry of the device list. Specifically, in this case, status information “Connection error” may be registered in the corresponding entry of the device list. If the process in step S609 or S611 is finished, the variable i indicating the current device is updated (S613). Then, control returns to step S603. For example, the variable i may be incremented by one in step S613.
By repeating a sequence of steps S603 to S613, entries in the device list are processed one by one until all of the devices in the device list are completely processed. If all of the devices in the device are processed (S603:YES), the device setting acquisition process of
As shown in
Next, the PC 1A accepts inputs from buttons on the transmission confirmation dialog box 41 (S507). In this stage, the PC 1A allows the user to operate one of the “Search” button 45, “Refresh” button 47, “Remove” button 49, “Cancel” button 51, and “Send” button 53.
If the “Remove” button 49 is pressed (S509:YES), a designated device is removed from the device list (S511). The designation of a device to be removed from the device list is performed by selecting a device on the device list display field 43 and then pressing the “Remove” button 49. The “Remove” button 49 is grayed out in an initial condition as shown in
If the “Remove” button 49 is not pressed (S509:NO), control proceeds to step S513 where it is judged whether the “Refresh” button 47 is pressed. If the “Refresh” button 47 is pressed (S515:YES), control returns to step S503 to execute again the device setting acquisition process. Consequently, the information in the device list display field 43 is updated.
Next, in step S515, the PC 1A judges whether the “Search” button 45 is pressed or not. If the “Search” button 45 is pressed (S515:YES), control proceeds to step S517. In step S517, the PC 1A searches for devices on the network to update the device list. More specifically, in step S517, the PC 1A broadcasts a packet requesting responses from devices on the network according to SNMP, and waits for responses in a few seconds. If a device capable of responding to the packet exists on the network, the device sends a response back to the PC 1A. A device incapable of responding to the packet discards the received packet. The PC 1A recognizes devices which send responses back to the PC 1A as devices to be targeted for the data setting transmission process, updates the device list with regard to responded devices, and then refreshes information in the device list display field 43. After the process of step S517 is finished, control returns to step S503.
If undesired devices which are not to be targeted for the data setting transmission process according to the embodiment responded to the packet, the user may delete such undesirable devices using “Remove” button 49.
If the “Search” button 45 is not, pressed (S515:NO), control proceeds to step S519 where it is judged whether the “Send” button 53 is pressed. If the “Send” button 53 is pressed (S519:YES), contents of the device list containing the statuses (“Identical”, “Change”, “Connection error”) is recorded in a log file (S521), and the transmission confirmation dialog box 41 is wiped out (S523). Then, the transmission confirmation dialog process terminates.
If it is judged in step S519 that the “Send” button 53 is not pressed (S519:NO), control proceeds to step S527 where the PC 1A judges whether the “Cancel” button 51 is pressed. If the “Cancel” button 51 is pressed (S527:YES), the transmission confirmation dialog box 41 is wiped out (S523). Then, the transmission confirmation dialog process terminates.
As described above, the step S523 is executed in both of the cases where the “Send” button 53 is pressed and where the “Cancel” button 51 is pressed, but the step S521 is executed only in the case where the “Send” button 53 is pressed. Pressing the “Send” button 53 instructs the PC 1A to continue the transmission confirmation dialog process, and pressing the “Cancel” button 51 instructs the PC 1A to stop the transmission confirmation dialog process. Information on whether the “Send” button 53 is pressed or the “Cancel” button 51 is pressed is used in step S107 of
If it is judged in step S527 that the “Cancel” button 51 is not pressed (S527:NO), control proceeds to step S529. If it is judged in step S529 that no device in the device list display field 43 is double clicked (S529:NO), control returns to step S507 since no effective operation is made by the user. If a device in the device list display field 43 is double clicked (S529:YES), the PC 1A executes an advanced setting change window process.
The advanced setting change window process is a process for making settings for each device on an individual basis. To a device which is not subjected to the advanced setting change window process, setting data identical to the representative device or setting data which is modified in the above mentioned process is transmitted. On the other hand, to a device which is subjected to the advanced setting change window process, setting data set in the advanced setting change window process is transmitted.
Firstly, the PC 1A displays an advanced setting change window (S701). The setting items are different between the first data setting transmission process for setting the principal function of a target device and the second data setting transmission process for setting NIC (network interface card) of the target device. Specifically, an advanced setting change window 55 as shown in
In each of the advanced setting change windows 55 and 57, various items of which setting values are to be transmitted to a device targeted for the advanced setting (a target device) are displayed in an “Item” box, setting values (current setting values) obtained from the target device are displayed in a “Current Value” box, and setting values to be updated are displayed in an “Update value” box. An item whose setting value in the “Update value” box is a blank represents that an “Update value” and a “Current value” of such an item are identical to each other. If a device represented as a “Connection Error” in the device list display field 43 has been selected for the advanced setting change window process, all of fields in the “Current value” box and “Update value” box are represented as blanks. Although setting items are different between the advanced setting change window 55 and the advanced setting change window 57, these windows 55 and 57 are functionally equal to each other.
In step S703, the PC 1A accepts the input from the input device 105 (e.g. a mouse and keys). If one of items in the advanced setting change window 55 or the advanced setting change window 57 has been double clicked in step S703, the PC 1A judges that a setting value is changed (S705:YES). Then, the PC 1A executes a setting change process.
As shown in
After the setting change dialog box is displayed (S801), the PC 1A accepts the input from the input device 105 (e.g. a mouse and keys) in step S803. If one of setting values in the setting value selection box 63 is clicked, the PC 1A judges that a user operation for changing the setting value has been conducted (S805:YES). Then, the PC 1A applies the change of the setting value to the representation in the setting value selection box 63 (S807). Next, control returns to step S803.
If the user operation for changing the setting value has not been conducted (S805:NO), control proceeds to step S809. In step 809, it is judged whether the “OK” button 65 is pressed. If the “OK” button 65 is pressed (S809:YES), the changed setting value is applied to a corresponding entry (i.e. an entry corresponding to the device targeted for the advanced setting) in the device list (S811). Thus, the setting data designated in the setting change process is registered in the corresponding entry in the device list.
Since the setting data set by the advanced setting is unique to the device targeted for the advanced setting, the setting data set by the advanced setting is stored separately from changed setting data common to the other devices. After the step S811 is finished, the setting change dialog box 61 is wiped out (S813). Then, the setting change process terminates.
If it is judged in step S809 that the “OK” button 65 is not pressed (S809:NO), control proceeds to step S815. In step S815, it is judged whether the “Cancel” button 67 is pressed. If the “Cancel” button 67 is pressed (S815:YES), step S813 is processed and then the setting change process terminates. If the “Cancel” button 67 is not pressed (S815:NO), control returns to step S803 since no effective operation is conducted.
Referring now to
If the setting values have not been changed (S709:NO), control returns to step S703 without executing step S711.
If no device is double clicked in the advanced setting change windows 55 and 57 (i.e. setting values have not been changed) (S705:NO), control proceeds to step S713. In step S713, it is judged whether an end command (e.g. clicking a “X” button at the upper right position of a window, or pressing of “Alt”+“F4” keys) is inputted. If the end command is not inputted (S713:NO), control returns to step S703 since no effective operation is conducted. If the end command is inputted (S713:YES), the advanced setting change window 55 or 57 is wiped out (S715), and then the advanced setting change window process terminates.
As shown in
Referring now to
If the “Send” button 53 has been pressed (S107:YES), control proceeds to step 109 where a setting data package transmission process is executed.
After the transmission progress dialog box 71 is displayed, the PC 1A initializes a variable i indicating the number of a target device being subjected to the setting data package transmission process (S903). The variable i is used to processes devices one by one from the top of the device list. To point at a device listed at the top of the device list, the variable i is assigned 1 (i.e. i=1) in step S903.
Next, the PC 1A judges whether all of the devices have been processed (S905). Specifically, in step S905 the PC 1A judges whether a condition i≦n (where n represents the total number of devices in the device list) holds or not. If all of the devices in the device list have not been processed (S905:NO), control proceeds to step S907. In step S907, the PC 1A judge whether the advanced setting has been conducted.
If the advanced setting has not been conducted (S907:NO), control proceeds to step S909 where the setting values common to all of the devices in the device list are sent to the target device (the i-th device) by using setting values obtained from the representative device (i.e. the representative device selected on the user interface (UI) displayed before the initiation of the data setting transmission process) (S909). Specifically, in step S909, the data transmission is executed as follows. If the transmission type designated in the transmission type changing instruction field 25 is the “Send all Current Values”, setting data identical to that of the representative device is transmitted to the target device. If the transmission type designated in the transmission type changing instruction field 25 is the “Send all Update Values”, updated setting data which is updated with respect to current settings of the representative device is transmitted to the target device. If the transmission type designated in the transmission type changing instruction field 25 is the “Send Current and Update Values”, both of the setting data identical to that of the representative device and the updated setting data which is updated with respect to current settings of the representative device are transmitted to the target device.
If the advanced setting has been conducted (S907:YES), update setting values set in the advanced setting change window process are transmitted to the target device (S911). The processes in steps S909 and S911 are executed in accordance with SNMP. That is, the PC 1A sends a data set request to the target device (the i-th device). The target device stores the setting values in the MIB (e.g. the MIB 311 in the case of the printer 3), which is managed by the target device, in accordance with the data set request transmitted from the PC 1A.
Data updating processes of steps S909 and S911 are substantially equal to each other except for the difference of the type of data to be transmitted. Examples of the data updating process to be applied to both of the steps S909 and S911 are described in detail later.
Next, the PC 1A judges whether the target device (being subjected to the setting data package transmission process) is the representative device (S913). If the target device is the representative device (S913:YES), changed setting values with regard to items to be applied only to the representative device are transmitted the target device (S915). The items to be applied only to the representative device are determined in advance. For example, in the case of settings of the NIC (network interface card), the items to be applied only to the representative device are “Node Name” (a node name of the NIC), “Password” (an administrator password), service filter settings, “IP Address” (an IP address of the NIC), “Subnet Mask” (a subnet mask of the NIC), “Gateway” (gateway (router) address settings), “IP Config” (settings of a scheme of IP address acquisition), “Printer E-mail Address” (an E-mail address assigned to a printer/MFP), “POP3 account name” (an account name of a mail box used to access an E-mail sever), “POP3 account Password” (a password for the account of the mail box) because these items have to be set on a network interface card—by—network interface card basis.
A data updating process of step S915 is substantially the same as that of steps S909 and S911 except for the difference of the type of data to be transmitted. Examples of the data updating process to be applied to the steps S909, S911 and S915 are described in detail later.
After the process of step S915 is finished or it is judged in step S913 that the target device is not the representative device (S913:NO), control proceeds to step S917. In step S917, it is judged whether the “Cancel” button is pressed. If the “Cancel” button is not pressed (S917:NO), the PC 1A judges whether the setting data transmission is successfully finished (S919). If the setting data transmission is successfully finished (S919:YES), success information (e.g. letters “OK”) indicating that the setting data transmission is successfully finished for the target device is written in the device list (S921). If the setting data transmission is not successfully finished (S919:NO), failure information (e.g. letters “NG”) indicating that the setting data transmission is not successfully finished for the target device and information about factors that cause transmission errors are written in the device list (S923).
After the success information or the failure information is written in the device list, the variable (the number) indicating the target device is updated in step S925, for example, by incrementing the variable i by one. Then, the progress bar displayed in the progress bar indication field 73 in the transmission progress dialog box 71 is updated (S927). Specifically, the length of the progress bar to be displayed in the progress bar indication field 73 is determined in accordance with the following expression:
[the length of the progress bar]=[the maximum length of the progress bar]×[the number of processed devices]/[the total number of devices].
Thus, the progress bar having the length obtained from the above expression is displayed in the progress bar indication field 73 as shown in
If all of the devices have been processed (S905:YES), the PC 1A wipes out the transmission progress dialog box 71 (S931). Then, the PC 1A displays a transmission result dialog box 77 (see
Such representation of information (success or error information) in the transmission result indication field 79 allows the user to recognize a condition regarding setting data update and to deal with a problem appropriately.
If the “OK” button 81 is pressed, control proceeds step S935 where the transmission result dialog box 77 is wiped out. Then, the setting data package transmission process shown in
Referring now to
If it is judged instep S917 of
As described above, if the “Send” button 17 (i.e. “Send Multiple Printer” button 17) in the “General” tab of the NIC setting dialog box 15 is clicked, the PC 1A operates to execute the second data setting transmission process so transmit the setting data. Meanwhile, as shown in
For this reason, an NIC setting dialog displaying process is executed as follows.
If it is judged in step S1009 that the “Send” button is pressed (S1005:NO,S1007:NO,S1009:YES), the second data setting transmission process described above is executed (S1011). Then, control returns to step S1003.
If it is judged in step S1009 that the “Send” button is not pressed (S1005:NO,S1007:NO,S1009:NO), another process for treating user operations for changing settings is executed (S1013). Then, control returns to step S1003.
Since the NIC setting dialog displaying process includes the step S1013, there is a possibility that a user has inputted setting values on the NIC setting dialog box when its is judged in step S1005 that the “OK” button is pressed. If the user has inputted setting values on the NIC setting dialog box, it is necessary to transmit the setting values inputted by the user on the NIC setting dialog box to the representative device independently of the process of step S1011.
For this reason, if it is judged in step S1005 that the “OK” button is pressed (S1005:YES), the PC 1A judges whether unapplied setting values exist in the inputting fields of the NIC setting dialog box (S1015). If the unapplied setting values exist (S1015:YES), the PC 1A transmits the unapplied setting values to the representative device (S1017). Next, the PC 1A wipes out the NIC setting dialog box 15 (S1019). Then, the NIC setting dialog displaying process terminates.
If it is judged in step S1007 that the “Cancel” button is pressed (S1007:YES), the PC 1A wipes out the NIC setting dialog box 15 (S1019). Then, the NIC setting dialog displaying process terminates.
A data updating process of step S1017 is substantially the same as that of steps S909, S911 and S915 except for the difference of the type of data to be transmitted.
Hereafter, eight examples of the data updating process executed in each of S909, S911, 8915, and S1017 and a recovering process for the recovering of settings will be explained.
Next, the PC 1A opens a setting history file in a creation mode or an overwriting mode (S1103). In step S1103, the setting history file may be created in the storage device 107 provided in the PC 1A. A file name unique to the target device is assigned to the setting history file. For example, a node name, an IP address, or a MAC address of the target device may be used as a part of or all the file name of the setting history file. If a file having a file name newly prepared in step S1103 does not exist in the PC 1A, a setting history file having the newly prepared file name is created in the PC 1A. If the file having the newly prepared file name already exists in the PC 1A, the existing setting history file is opened in the overwriting mode in step S1103.
Meanwhile, there may be a case where some of steps S909, S911, S915, and S1017 are executed sequentially in the process of
It is understood that since step S909 or S911 is executed a plurality of times, and the number of times step S909 or S911 is executed is equal to the total number of devices registered in the device list. Therefore, the number of setting history files created in one data setting transmission process becomes equal to the number of devices targeted for the data setting transmission process.
Next, the PC 1A stores the obtained current setting data into the setting history file (S1105). If there are a plurality of setting items to be processed in step S1105, the storing of setting data (S1105) is executed for all of the plurality of setting items. The stored setting data will be used as recovering data in a recovering process which is described in detail later.
Next, in step S1107, the new setting data to be applied to the target device is transmitted to the target device. Then, the data updating process terminates.
As described above, the type of setting data to be transmitted to the target device varies among the steps S909, S911, S915, and S1017. More specifically, in the case of the step S909, setting data to be transmitted is data to be updated with regard to all of the devices in the device list. In the case of the step S911, the setting data to be transmitted is update setting values prepared in the advanced setting. In the case of the step S915, setting data to be transmitted is the changed setting values with regard to setting items to be applied only to the representative device. In the case of the step S1017, the setting data to be transmitted to the target device is unapplied setting values modified on the NIC setting dialog box 15.
The process of step S1017 is executed in accordance with SNMP. Specifically, the PC 1A sends a data set request to the target device in accordance with SNMP. Then, the target device stores the setting data in the MEB (e.g. the MIB 311 of the printer 3) managed by the target device as a response to the data set request sent by the PC 1A.
By updating the setting data using the above mentioned data updating process shown in
Various types of data storing formats may be used to store data in the setting history file. For example, a so-called CSV (Comma Separated Values) format may be adopted for the setting history file. In this case, the setting data are stored in the setting history file as shown in the following Table 1.
If n items are updated in one update of settings (i.e. in one data setting transmission process), n groups of data are stored in the setting history file. As shown in Table 1, the Oid, the type of value and setting value are stored for each of the n groups of data. In Table 1, “Oid” represents an identifier unique to each information item in the MIB. By specifying “Oid” in the communication by SNMP between the PC 1A and a device, information of a desired item is stored in or read from the MIB. The “TYPE OF VALUE” represents information as to whether a setting value is integers or letters. In this embodiment, a primitive type value based on the MIB is used (i.e. “2:Integer”, “4:String”). The “Setting Value” represents a previous setting value which is set to the target device before the update of settings is performed.
Hereafter, the recovering process is explained. The recovering process is used to restore settings in a device to a previous state after the data setting transmission process is finished. If a trouble arises in a device due to the setting data set by the data setting transmission process, the recovering process is utilized to solve the trouble.
To start the recovering process, a user initiates the device management tool. Then, the device setting management tool initial screen 11 shown in
If the user selects the “Recover Printer Setting”, the recovering process for recovering setting data regarding the principal function of a printing device (i.e. regarding the first data setting transmission process) is executed. On the other hand, if the user selects the “Recover Printer Server Setting”, the recovering process for recovering setting data regarding the network function of an NIC of a printing device (i.e. regarding the second data setting transmission process) is executed.
Another user interface for starting the recovering process is also prepared as follows. If the user clicks “Config” on the menu bar of the printer setting function initial screen 13 and then clicks the “Recover Printer Setting” of the pull-down menu displayed by the click of the “Config”, the recovering process for recovering setting data regarding the principal function of the printing device is started. If the user clicks a “Recover Setting” button 18 which is displayed when the “General” tab is selected in the NIC setting dialog box 15 (see
Although the function and setting items to be processed in the recovering process vary depending on an initiation factor of the recovering process, a general flow can be applied to all of the types of recovering processes initiated by different factors. Therefore, the general flow of the recovering process will be explained hereafter.
Next, the PC 1A reads the setting history file searched in the step S1201 (S1203). As a result, data such as setting values shown in Table 1 is stored in the PC 1A.
Next, in step S1205, the PC 1A transmits the setting values read at step S1203 to the target device. Specifically, the PC 1A sends a data set request to the target device in accordance with SNMP. The PC 1A sends a data packet containing an Oid and a corresponding setting value for each of the data groups. The target device which received the data packet stores the setting value into a memory area of the MIB corresponding to the designated Oid contained in the received data packet.
After data transmission in step S1205 is finished, the PC 1A deletes the setting history file used in the recovering process (S1207). Then, the recovering process terminates.
As described above, according to the first example, new setting data to be applied to a plurality of target devices is transmitted to the plurality of target devices at a time in the data setting transmission process. In addition, previous setting data are stored in a setting history file for each of the target devices. In cases where a trouble arises in a device after the update of settings is executed, a user can restore settings of the device to a previous state by executing the recovering process.
Hereafter, a data updating process to be executed in each of S909, S911, S915, and S1017 and a recovering process according to a second example will be explained. Since initiating manners of these processes, and an internal structure of a setting history are substantially the same as those of the first example, explanations thereof will not be repeated.
Next, in step S1305, the PC 1A judges whether the setting history file exists in the PC 1A. If the setting history file exists in the PC 1A (S1305:TRUE), the PC 1A changes the file name of the setting history file searched in step S1303 or deletes the setting history file searched in step S1303 (S1307). Similarly to the first example, a file name unique to a target device is created and is used to search for a setting history file of a desired device. In this example, for each of target devices, three setting history files are created at the maximum. A creation rule for creating setting history files is as follows. Suffixes (“1”, “2”, or “3”) are added to a character string unique to a target device.
Suffixes “1”, “2” and “3” are used to represent the latest file, the second latest file, and the third latest file, respectively. Therefore, if the setting history file having a file name including the suffix “3” already exists in the PC 1A, the setting history file having the file name including the suffix “3” is deleted, and then the PC 1A judges whether a setting history file having a file name including a suffix “2” already exists or not. If the setting history file having the file name including the suffix “2” already exists, the suffix of this file is changed from “2” to “3”. If a setting history file having a file name including a suffix “1” already exists, the suffix of this file is changed from “1” to “2”.
After the step S1307 is finished or if it is judged in step S1305 that the setting history file does not already exist (S1305:FALSE), control proceeds to step S1309. In step S1309, the setting history file having a file name including a suffix “1” is created. That is, the latest setting history file is created in step S1309. As described above, if the setting history file having a file name including a suffix “1” is found in step S1307, the suffix of the file name of such a setting history file is changed from “1” to “2”. Therefore, at a stage of step S1309, a setting history file having a file name including a suffix “1” does not exist. In this regard, the data updating process of the second example is different form the data updating process of the first example in which the setting history file is overwritten.
Similarly to step S1105 of the first example, in step S1311, the PC 1A stores the current setting data obtained in step S1301 into the setting history file created in step S1309. Then, in step S1313, the new setting data to be applied to the target device is transmitted to the target device. Then, the data updating process terminates.
Hereafter, the recovering process according to the second example is explained.
After the step S1407 is finished, control proceeds to step S1409 where file names of the remaining setting history files are renamed. Specifically, in step S1409, if a setting history file having file name including a suffix “2” already exists, the suffix of the file name of such a setting history file is changed from “2” to “1”. Further, in step S1409, if a setting history file having file name including a suffix “3” already exists, the suffix of the file name of such a setting history file is changed from “3” to “2”.
As described above, according to the second example, current setting data are stored in the setting history file when the data setting transmission process (the update of settings) is executed. In cases where a trouble arises in a device after the update of settings is executed, a user can restore settings of the device to a previous state by executing the recovering process.
In addition, according to the second example, the last three setting history files are stored in the PC 1A by using the suffixes “1”, “2” and “3”. Therefore, the user can go back to the latest setting, the second latest setting or the third latest setting. Since the setting history file older than that used in the first example can be utilized in the recovering process, a possibility that a trouble is solved increases in comparison with the case of the first example.
Although in this example the latest three files are stored and used for the recovering process, more than three setting history files may be created and used for the recovering process. The updating process may be configured such that a user is allowed to designate the number of setting history files created and used for each of the target devices.
Although in the second example current setting data obtained in one data updating process is stored in one setting history file, a plurality pieces of current setting data obtained by executing the data updating process a plurality of times may be stored in a single setting history file. In this case, a header for identifying each of the plurality of pieces of current setting data uniquely may be added to the single setting history file. By reading out the header, desired current setting data are obtained from the single setting history file.
Hereafter, a recovering process according to a third example is explained. The recovering process according to the third example is a variation of the recovering process according to the second example. The data updating process according to the second example is executed, before executing the recovering process according to the third example.
Next, the PC 1A displays setting items and corresponding setting values on the screen of the PC 1A (S1505). Specifically, the PC 1A displays a “Recover Setting” dialog box 85 on the screen of the display unit 106 as shown in
After checking the information display field 86, the user decides whether to execute the recovering of previous settings. If the user decided to execute the recovering of previous settings, the user pushes the “Send” button 87 on the “Recover Setting” dialog box 85. If the user decided not to execute the recovering of previous settings, the user pushes the “Cancel” button 88 on the “Recover Setting” dialog box 85.
The PC 1A judges whether to execute the recovering of previous settings in accordance with instructions inputted by the user using the “Recover Setting” dialog box 85 (51507). If the recovering of previous settings is not executed (S1507:FALSE), the recovering process terminates. If the recovering of previous settings is executed (S1507:TRUE), setting values read from the setting history file in the step S1503 and are transmitted to the target device (S1509). After the data transmission is finished, the setting history file used in this process is deleted (S1511). Next, similarly to step S1409 of the second example, in the step S1409, file names of the remaining setting history files are renamed.
Similarly to the second example, in cases where a trouble arises in a device after the update of settings is executed, a user can restore settings of the device to a previous state by executing the recovering process.
In addition, according to the third example, both of the setting data currently set to the target device and the previous setting data to be used for the recovering process are displayed on the screen of the PC 1A to allow the user to decide whether to execute the recovering of settings. Therefore, the usability is enhanced.
Hereafter, a recovering process according to a fourth example is explained. The recovering process of the fourth example is a variation of the recovering process according to the third example. Therefore, the data updating process according to the second example is executed, before executing the recovering process according to the third example. In the following, to elements, which are substantially the same as those of the first to third examples, the same reference numbers are assigned, and explanations thereof will not be repeated.
Next, the PC 1A displays setting items and corresponding setting values on the screen of the PC 1A (S1605). Specifically, the PC 1A displays a “Recover Setting” dialog box 85a on the screen of the display unit 106 as shown in
In step S1607, by checking setting items (displayed in the field “Item”), current setting values (displayed in the field “Current Value”), and previous setting values used for the recovering process (displayed in the field “Recover Value”) displayed in the information display field 86, the user decides whether to include each setting item in targets of the recovering of previous settings using the “Recover? Yes/No” button 89. That is, in step S1607, the user is allowed to select setting items to be included in the restoring of previous settings.
Whether the setting item is targeted for the restoring of previous settings is displayed by letters “Yes” or “No” in a “Recover? Yes/No” field. Data in the “Recover? Yes/No” field is switched between “Yes” and “No” each time the “Recover? Yes/No” button 89 is pressed.
After the user decides whether to include each setting item in targets of the recovering of previous settings for each of the target devices, the user decides whether to execute the restoring of previous settings in step S1607. If the user decided to execute the recovering of previous settings, the user pushes the “Send” button 87 on the “Recover Setting” dialog box 85a. If the user decided not to execute the recovering of previous settings, the user pushes the “Cancel” button 88 on the “Recover Setting” dialog box 85a.
The PC 1A judges whether to execute the recovering of previous settings in accordance with instructions inputted by the user using the “Recover Setting” dialog box 85a (S1607). If the recovering of previous settings is not executed (S1607:FALSE), the recovering process terminates. If the recovering of previous settings is executed (S1607:TRUE), setting values read from the setting history file in the step S1603 are transmitted to the target device (S1611). After the data transmission is finished, the setting history file used in this process is deleted (S1613). Next, similarly to step S1513 of the third example, in the step S1615, file names of the remaining setting history files are renamed.
Similarly to the first through third example, in cases where a trouble arises in a device after the setting data update is executed, a user can restore settings of the device to a previous state by executing the recovering process.
In addition, both of the setting values currently set to the target device and the previous setting values to be used for the recovering process are displayed on the screen of the PC 1A. Such information allows the user to decide whether to include each setting item in the recovering of previous settings. It is noted that whether to include the setting item in the recovering of previous settings can be determined for each of the setting items.
Hereafter, a data updating process according to a fifth example will be explained. The data updating process of the fifth example is a variation of the data updating process according to the second example.
Next, the PC 1A searches for a setting history file of the target device using a file name unique to the target device (S1705).
Next, in step S1707, the PC 1A judges whether the setting history file exists in the PC 1A. If the setting history file exists in the PC 1A (S1707:TRUE), the PC 1A changes the file name of the setting history file searched in step S1705 or deletes the setting history file searched in step S1705 (S1709). Then, the PC 1A creates the setting history file (S1711). If the setting history file does not exist in the PC 1A (S1707:FALSE), step S1709 is skipped. Detailed operations in steps S1705, S1707, S1709 and S1711 are substantially the same as those of the steps S1303, S1305, S1307, and S1309 of the second example, respectively.
Next, the PC 1A stores only setting values of setting items, which are to be changed by the data updating process, in the setting history file (S1713). That is, in accordance with the comparison result of the step S1703, setting values of setting items, which are not to be updated by the data updating process, are not stored in the setting history file, but only setting values of setting items to be updated by the data updating process are stored in the setting history file.
Then, in step S1715, the new setting data to be applied to the target device is transmitted to the target device. Then, the data updating process terminates.
As described above, according to the fifth example, the current setting data are stored in the setting history file. In addition, according to the fifth example, only setting values of setting items to be updated by the data updating process are stored in the setting history file. Therefore, a file size of the setting history file can be reduced in comparison with the case in which all of the setting items are stored in a setting history file.
Hereafter, a recovering process according to a sixth example is explained.
As shown in
Then, the PC 1A repeats a loop process of steps S1807 to S1811 for each of the setting history files stored in the PC 1A (S1805). In the loop process, the PC 1A reads date and hour information (e.g. a time stamp) from a targeted setting history file currently targeted for the loop process (S1807). Then, in step S1809, the date and hour information read at step S1807 is compared with the target setting date information obtained at step S1803.
If the date and hour (read at step S1807) of the targeted setting history file currently targeted in the loop process is equal to the date and hour obtained from the setting history file at step S1803 (S1809:TRUE), the targeted setting history file is added to a history file list (S1811). If the date and hour (read at step S1807) of the targeted setting history file is not equal to the date and hour obtained from the setting history file at step S1803 (S1809:FALSE), the step S1811 is skipped. It is understood that, by the loop process of steps S1805 to S1811, setting history files created concurrently with the creation of the setting history file of the target device (i.e. a device targeted for the recovering process of
Although setting history files are not created exactly at the same time in one data setting transmission process, in this example setting history files are regarded as being created at the same date and hour in one data setting transmission process. Various types of ways can be used to represent a date and hour (i.e., a time stamp) at which a setting history file is created. For example, a time stamp typically provided by a file system (or an operating system) to a file may be used to represent the creation date and hour of a setting history file. Data (e.g. letters) corresponding to a time stamp of a file may be used as a part of a file name of a setting history file or may be added to a header provided in a setting history file.
Next, the PC 1A determines whether the history file list generated in the loop process of steps S1807 to S1811 is empty (S1813). If the history file list is empty (S1813:FALSE), control proceeds to step S1819. If the list is not empty (S1813:TRUE), the PC 1A displays an “Other Devices . . . ” dialog box 91, in which information regarding setting history files stored in the history file list is displayed, as shown in
The user checks the information displayed on the “Other Devices . . . ” dialog box 91, and selects devices to be targeted for the recovering of previous settings (S1817). Also, the user is allowed to delete a device from targets of the recovering of previous settings by clicking the device on the “Other Devices . . . ” dialog box 91 first and then pressing the “Remove” button 93. To start the recovering of previous settings, the user presses the “Recover” button 93. If the user decides not to start the recovering of previous settings, the user simply presses the “Cancel” button 95.
Next, the PC 1A repeats a loop process of steps S1821 to S1825 (S1819). In this loop process, data transmission (the recovering of previous settings) is executed for the target device corresponding to the setting history file searched in step S1801 and for the other devices corresponding to setting history files included in the history file list. In this loop process, previous setting values are read from a targeted setting history file currently targeted for the loop process (S1821). Then, the previous setting values are transmitted to the device corresponding to the targeted setting history file (S 1823). After the data transmission is finished, the processed setting history file is deleted (S1825). After the loop process of steps S1821 to S1825 is finished for all of the devices to be targeted for the recovering process, the recovering process terminates.
Similarly to the first through fifth example, in cases where a trouble arises in a device after the update of settings is executed, a user can restore settings of the device to a previous state by selecting the device and staring the recovering process for the selected device.
In addition, according to the sixth example, if devices, for which the data setting transmission is executed concurrently with the data setting transmission for a user selected device (i.e., a device targeted for the initiation of the recoverin process of
If inappropriate setting data are transmitted to a plurality of target devices at a time by a data setting transmission process, and a trouble is found in a particular device of the plurality of target devices, such a trouble of the particular device may also be caused in some other devices of the plurality of target devices. However, according to the sixth example, devices having a possibility of causing the same problem as that of the user selected device are notified to the user. Therefore, the user can prevent the problem, which will be caused in devices other than the user selected device, before they happen.
Hereafter, a recovering process according to a seventh example is explained.
As shown in
Then, the PC 1A executes a loop process of steps S1905 to S1909 (S1903). In this loop process, the PC 1A reads creation date information (e.g. a time stamp) for all of the setting history files in the PC 1A. Next, the PC 1A judges whether the creation date of a targeted history file (currently targeted for this loop process) is within the target time period designated in step S1901. If the creation date of the targeted history file is within the target time period (S1907:TRUE), the targeted setting history file is added in a history file list (51909). If the creation date of the target history file is not within the target time period (S1907:FALSE), the step S1909 is skipped. By repeating the loop process of steps S1905 to S1909, all of the setting history files having the creation date within the target time period are added in the history file list.
Next, the PC 1A judges whether the history file list created in the loop process of steps S1905 to S1909 is empty (S1911). If the history file list is empty (S1911:FALSE), the recovering process terminates. If the history file list is not empty (S1911:TRUE), control proceeds to step S1913. In step S1913, the PC 1A displays a “Search Result” dialog box 211, which is shown in
In the information display field 213, various types of information including a date, a node name, an IP address, a device type, a location are displayed in a “Date” field, a “Name” field, an “Address” field, a “Printer Type” field, and a “Location” field, respectively, for each of the setting history files in the history file list. By displaying the “Search Result” dialog box 211, the user is allowed to know, for each of the setting history files in the history file list, information on when the setting history file is created and which device the setting history file corresponds to.
After the user checks the information provided by the “Search Result” dialog box 211, the user decides, for each of devices listed the information display field 213, whether the device should be subjected to the recovering process (S1915). That is, the user selects devices, which needs the recovering of settings, from devices displayed in the information display field 213. If the user finds devices not to be subjected to the recovering process, the user is allowed to delete such devices from the targets of the recovering process by clicking such a device first, and then pressing the “Remove” button 215.
To start the recovering process for the device listed in the information display field 213, the user presses the “Recover” button 217. By pressing the “Cancel” button 219, the initiation of the recovering process can be cancelled.
Next, the PC 1A repeats a loop process of steps S1919 to S1923. In this loop process, setting values are read from a targeted setting history file currently targeted for this loop process (S1919), and then the setting values are transmitted to a device corresponding to the targeted setting history file (S1921). After the data transmission is finished, the PC 1A deletes the targeted setting history file (S1923). After the loop process of steps S1919 to S1923 is executed for all of the devices to be targeted for the recovering process, the recovering process terminates.
Similarly to the first through sixth example, in cases where a trouble arises in a device after the updating of settings is executed, a user can restore settings of the device to a previous state by selecting the device and staring the recovering process for the selected device.
In addition, according to the seventh example, devices for which the update of settings is executed within the target time period designated by the user are detected automatically by the PC 1A, and such detected devices are added to the history file list. Therefore, according to the seventh example, devices having a possibility of causing the same problem as that of a user selected device (a device originally targeted for the recovering process) are included in the history file list. Therefore, the user can prevent the problem, which will be caused in devices other than the user selected device, before they happen.
Hereafter, a recovering process according to an eighth example is explained.
As shown in
Next, the PC 1A repeats a loop process of steps S2005 to S2009 for all of setting history files stored in the PC 1A. In this loop process, the PC 1A reads setting items from a targeted setting history file currently targeted for the loop process (S2005). Then, the PC 1A judges whether the setting items of the targeted setting history file include the target setting items designated by the user in step S2001 (S2007). If the setting items of the targeted setting history file include the target setting items (S2007:TRUE), the targeted setting history file is added to a history file list (S2009). If the setting items of the targeted setting history file do not include the target setting items (S2007:FALSE), the step of S2009 is skipped.
By repeating the loop process of steps S2005 to S2009, setting history files, each of which has setting items including the target setting items designated by the user, are listed.
Next, the PC 1A judges whether the history file list created in the loop process of steps S2005 to S2009 is empty (S2011). If the history file list is empty (S2011:FALSE), the recovering process terminates. If the history file list is not empty (S2011:TRUE), control proceeds to step S2013. In step S2013, the PC 1A displays a list of setting history files included in the history file list. For example, in step S2013, information may be displayed on a dialog box similar to the “Search Result” dialog box 211.
Similarly to the step S1915 of the seventh example, after checking the information provided in step S2013, the user decides, for each of the devices listed in the information display field 213, whether the device should be subjected to the recovering process (S2015). That is, the user selects devices, which needs the recovering of settings, from devices displayed on the information display field 213.
Next, the PC 1A repeats a loop process of steps S2019 to S2023, for each of the devices included in the history file list (S2017). In the loop process, the PC 1A reads setting values of the target setting items from a targeted setting history file currently targeted for the loop process of steps S2019 to S2023 (S2019). Then, the PC 1A transmits the setting values of the target setting items to a device corresponding to the targeted setting history file (S2021). After the data transmission is finished, the PC 1A deletes the targeted setting history file (S2023). After the loop process is executed for all of the setting history files included in the history file list, the recovering process terminates.
Similarly to the first through seventh example, in cases where a trouble arises in a device after the setting data update is executed, a user can restore settings of the device to a previous state by selecting the device and staring the recovering process for the selected device.
In addition, according to the eighth example, devices, which have been subjected to the update of settings with regard to target setting items designated by the user, are automatically searched by the PC 1A. Therefore, if there is a possibility that devices which have been subjected to the update of settings with regard to particular setting items cause a problem, such-a problem which will be also caused in some devices by the particular setting items can be solved by the recovering process according to the eighth example even if the user can not specify such devices having a possibility of causing a problem.
Since only setting values of setting items designated by the user at step S2001 are transmitted to a device, the data transmission speed is enhanced in comparison with the case where all of the setting items in a setting history file are transmitted to a device. It is prevented that setting items which do not need to be subjected to the recovering process are restored to a previous state. However, it is also possible to transmit all of the setting items in a setting history file to a device as in the case of the seventh example.
The recovering process may be configured such that the user can select one of a process in which only setting values of target setting items designated by the user at step S2001 are transmitted to a device, and a process in which all of the setting values of setting items included in a setting history file are transmitted to a device.
Although the present invention has been described in considerable detail with reference to certain preferred embodiments thereof, other embodiments are possible.
In the above mentioned embodiment, if it is not necessary to transmit setting values to the representative device, a user is required to use the “Remove” button to remove the representative device from targets for the data setting transmission process because in the above mentioned embodiment the representative device is typically included in the targets for the data setting transmission process.
However, the data setting transmission process may be configured such that the representative device is excluded in advance from the targets for the data setting transmission process. Such a configuration for excluding the current device form the targets for the data setting transmission process is attained by a configuration shown in
In the process shown in
In the variation shown in
Consequently, acquisition of setting data from the target device, transmission of new setting data or setting data set by the advanced setting are skipped for the representative device.
Although in the above mentioned embodiment the data setting transmission process is targeted for printing devices such as a printer, the embodiment can be also applied to various types of devices, for example, a scanner, an image obtaining device (such as a network camera), an image communication device (such as a facsimile device), a communication routing device (such as a network point), an information sever device (such as a network storage), which are typically used in such a situation that setting values are substantially common to a plurality of devices.
In the above mentioned embodiment only the PC 1A contributes to the data setting transmission process. That is, only the PC 1A functions as a setting data transmitting device. However, setting data transmission function may be distributed over a plurality of nodes. If such a distributed system is configured such that output data of a functional block implemented in one node is used as input data to be inputted to a functional block implemented in another node, the distributed system is implemented as a network system that also functions similarly to the data transmission device. For example, such a distributed system on a network may be implemented by use of a plurality of PCs 1A, 1B and 1C.
Although in the above mentioned embodiment the setting data to be transmitted to the target devices in the device list are prepared by obtaining the current setting data currently set to the representative device, such setting data to be transmitted to the target devices may be inputted manually by a user. Alternatively or additionally, samples of setting data to be transmitted to the target devices may be prepared in advance in the PC 1A (1B or 1C), and one of the samples may be selected as the setting data to be transmitted to the target devices.
Alternatively, a management server having the function of obtaining current setting data currently set to the target devices in the device list from the target devices through the network may be connected to the network. In this case, the current setting data of the target devices is obtained from the management server without directly accessing the target devices.
Number | Date | Country | Kind |
---|---|---|---|
2004-359159 | Dec 2004 | JP | national |