Information processing device, information processing system, and program
The information processing device and system synchronize updates across a cluster by completing all updates before providing new functions, preventing user confusion and ensuring consistent functionality.
Patent Information
- Application Number
- JP2020048309
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-03-18
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-03-18
AI Technical Summary
In cluster systems where server devices have varying functions, updating programs can cause confusion for users as the requested functions may not be provided until all updates are completed.
The information processing device and system manage updates by ensuring that all devices in the cluster complete their updates before providing the new functions, using notifications and requests to synchronize the function provision across the cluster.
This approach prevents confusion by ensuring that updated functions are available simultaneously across the cluster, maintaining consistent functionality for users.
Smart Images

Figure 0007540171000018 
Figure 0007540171000005 
Figure 0007540171000030
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, an information processing system, and a program. [Background technology]
[0002] 2. Description of the Related Art In order to increase the availability of an information processing system, a so-called cluster system (hereinafter also simply referred to as a "cluster") in which a plurality of server devices are clustered is used.
[0003] For example, Patent Document 1 discloses an update management program that causes a computer to manage the timing of updates to programs implemented in multiple managed nodes that make up a cluster system, in which multiple managed nodes are divided into multiple groups and registered, and in response to a program update instruction, an update management program refers to an update management table in which an update order is defined for each group, and first selects the group with the earliest update order. Thereafter, each time update processing is completed for all managed nodes belonging to the most recently selected group, the program selects each group in order according to the update order, refers to the update management table, sends a program update request to the managed nodes belonging to the selected group, receives an update completion notification from each managed node that sent the update request, and notifies the managed node that sent the update completion notification that update processing has been completed.
[0004] Also, for example, Patent Document 2 discloses an information system having a monitored system having a cluster including a plurality of hosts, and a monitoring server device that monitors the status of the monitored system, in which the monitoring server device checks whether the monitored system is operating normally and transmits first status information indicating the results of the check, the host receives the first status information transmitted from the monitoring server device and receives second status information from other hosts in the same cluster, indicating the operating status of the other hosts, and when the start of an update operation is specified, acquires update information from outside and performs an update operation based on the update information, and after the update operation is completed, if the received first status information is normal, notifies an update start command to any of the other hosts whose received second status information indicates a state in which the update operation can be performed.
[0005] Also, for example, Patent Document 3 discloses a cluster system that includes an update management device that updates the software of servers with an N-Active configuration, and an update distribution device that distributes processing requests for the servers to one of the servers. When an instruction to update the software is given, the update management device updates the software used by the server in accordance with the termination of the service provided by the server that is the target of the software update, and the update distribution device determines based on the processing request whether a processing request for a server currently undergoing a software update should be processed by a new server whose software has been updated, or an old server whose software has not been updated, and distributes the request to one of the servers. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] JP 2009-230171 A [Patent Document 2] JP 2017-4502 A [Patent Document 3] JP 2018-156555 A Summary of the Invention [Problem to be solved by the invention]
[0007] However, if there is variation in the functions provided by each server device in a cluster, this may cause confusion for users.
[0008] The present invention aims to prevent confusion that may arise when updating programs in a cluster made up of multiple information processing devices, as a result of a user of the cluster requesting an updated function before all program updates in the information processing devices that make up the cluster have been completed, and the requested function being unable to be provided. [Means for solving the problem]
[0009] The information processing device of claim 1 of the present invention has a processor that executes a first program, and the processor obtains update information for performing an update from the first program to a second program, performs the update using the update information, accepts a request for a function of the first program when at least one of the information processing device itself and other information processing devices that form a cluster together with the information processing device has not completed the update, and provides a user with the function of the second program when both the information processing device itself and the other information processing devices have completed the update.
[0010] An information processing device according to claim 2 of the present invention is an information processing device in which, in the aspect described in claim 1, the processor, when the processor has completed the update after all of the other information processing devices have completed the update, sends a first notification to each of the other information processing devices indicating that the processor was the last to complete the update, provides the functions of the second program when the processor has sent the first notification, and provides the functions of the second program when the processor has received the first notification from any of the other information processing devices.
[0011] An information processing device according to claim 3 of the present invention is an information processing device in which, in the aspect described in claim 2, when the processor completes the update and there is an unupdated device among the other information processing devices that has not completed the update, the processor transmits a second notification indicating that the processor has completed the update to at least one of the unupdated devices, and when the processor receives the second notification from one of the other information processing devices, the processor determines whether or not there is an unupdated device among the other information processing devices based on the content of the received second notification, and if it determines that there is an unupdated device, the processor transmits a second notification indicating that the processor has completed the update together with the content of the received second notification, and if it determines that there is no unupdated device, the processor transmits the first notification.
[0012] An information processing device according to claim 4 of the present invention is an information processing device in which, in the aspect described in claim 3, the processor transmits the second notification including identification information of the own device, and when the processor receives the second notification from any of the other information processing devices, determines whether or not there is an unupdated device based on the number of pieces of identification information included in the received second notification.
[0013] An information processing device according to claim 5 of the present invention is an information processing device in the aspect described in claim 3, wherein the processor transmits the second notification indicating 1, which is the number of information processing devices that have completed the update, when the processor does not receive the second notification from any of the other information processing devices and the processor has completed the update, and transmits the second notification indicating a number obtained by adding 1 to the number indicated in the received second notification, when the processor receives the second notification from any of the other information processing devices and determines that an unupdated device exists.
[0014] An information processing device according to claim 6 of the present invention is an information processing device in the aspect described in claim 2, wherein the processor determines whether or not the device itself last completed the update based on route information indicating a predetermined route included in the update information.
[0015] An information processing device according to claim 7 of the present invention is an information processing device in an aspect described in any one of claims 1 to 6, wherein the processor, when receiving a request for a function of the first program from a user after the processor has completed the update, transfers the request to the other information processing devices that have not completed the update, and when the request is transferred from one of the other information processing devices, provides the function indicated in the request.
[0016] The information processing device of claim 8 of the present invention has a processor that executes a first program, and the processor obtains update information for performing an update from the first program to a second program, performs the update using the update information, and is an information processing device that accepts a request for a function of the second program when at least one of the information processing device itself and other information processing devices that form a cluster together with the information processing device has completed the update.
[0017] An information processing device according to claim 9 of the present invention is an information processing device in the aspect described in claim 8, wherein the processor, when the processor completes the update before any of the other information processing devices, sends a third notification to each of the other information processing devices indicating that the processor completed the update first, and when the processor has sent the third notification, provides the function of the second program, and when the processor receives the third notification from any of the other information processing devices, accepts a request for the function of the second program from a user.
[0018] An information processing device according to claim 10 of the present invention is an information processing device in the aspect described in claim 8 or 9, wherein the processor, when receiving a request for a function of the second program from a user before the processor itself completes the update, transfers the request to the other information processing devices that have completed the update, and when the request is transferred from one of the other information processing devices, provides the function indicated in the request.
[0019] An information processing device according to claim 11 of the present invention is an information processing device in the aspect described in claim 8 or 9, wherein, when the processor receives a request for a function of the second program from a user before the processor itself completes the update, the information processing device provides the function indicated in the request after completing the update.
[0020] The information processing device of claim 12 of the present invention has a processor that executes a first program, the processor obtains update information for performing an update from the first program to a second program, performs the update using the update information, accepts requests for overlapping functions of the first program and the second program when at least one of the information processing device itself and other information processing devices that form a cluster with the own device has not completed the update, and provides a function of the second program to a user when both the own device and the other information processing devices have completed the update.
[0021] The information processing system of claim 13 of the present invention has a terminal and a plurality of information processing devices constituting a cluster, each of the plurality of information processing devices having a processor for executing a first program, and each of the processors obtains update information for performing an update from the first program to a second program, performs the update using the update information, accepts a request for a function of the first program from the terminal when at least any of the plurality of information processing devices has not completed the update, and provides a function of the second program to a user of the terminal when all of the plurality of information processing devices have completed the update.
[0022] The information processing system of claim 14 of the present invention has a terminal and a plurality of information processing devices constituting a cluster, each of the plurality of information processing devices having a processor for executing a first program, and each of the processors obtains update information for performing an update from the first program to a second program, performs the update using the update information, and accepts a request for a function of the second program from the terminal when at least one of the plurality of information processing devices has completed the update.
[0023] The information processing system of claim 15 of the present invention has a terminal and a plurality of information processing devices constituting a cluster, each of the plurality of information processing devices having a processor for executing a first program, each of the processors obtaining update information for performing an update from the first program to a second program, performing the update using the update information, accepting a request for overlapping functions of the first program and the second program from the terminal when at least any of the plurality of information processing devices has not completed the update, and providing a function of the second program to a user of the terminal when all of the plurality of information processing devices have completed the update.
[0024] An information processing system according to claim 16 of the present invention, in an aspect described in any one of claims 13 to 15, has a management device that manages the multiple information processing devices, and each of the processors notifies the management device when the update is completed, and obtains information from the management device indicating whether each of the multiple information processing devices has completed the update.
[0025] The program of claim 17 of the present invention is a program that causes a computer having a processor that executes a first program to execute the following steps: obtaining update information for performing an update from the first program to a second program; performing the update using the update information; accepting a request for a function of the first program when at least one of the device itself and other information processing devices that form a cluster together with the device has not completed the update; and providing a user with the function of the second program when both the device itself and the other information processing devices have completed the update.
[0026] The program of claim 18 of the present invention is a program that causes a computer having a processor that executes a first program to execute the following steps: obtaining update information for performing an update from the first program to a second program; performing the update using the update information; and accepting a request for a function of the second program when at least one of the information processing device itself and other information processing devices that form a cluster together with the own device has completed the update.
[0027] The program of claim 19 of the present invention is a program that causes a computer having a processor that executes a first program to execute the following steps: obtaining update information for performing an update from the first program to a second program; performing the update using the update information; accepting requests for overlapping functions of the first program and the second program when at least one of the device itself and other information processing devices that form a cluster with the device itself has not completed the update; and providing a user with the function of the second program when both the device itself and the other information processing devices have completed the update. Effect of the Invention
[0028] According to the inventions of claims 1, 13 and 17, in a cluster consisting of a plurality of information processing devices, when a first program of each information processing device is updated to a second program, a situation does not occur in which a user requests an updated function before all of these updates are completed, and the function cannot be provided. According to the invention as set forth in claim 2, the plurality of information processing devices constituting the cluster start providing the function of the second program at a common timing. According to the invention as defined in claim 3, each of the information processing devices constituting the cluster waits to provide the function of the second program until any of the other information processing devices completes the update. According to the invention as set forth in claim 4, the order in which each of the multiple information processing devices executes the update does not need to be determined. According to the invention as set forth in claim 5, the plurality of information processing devices constituting a cluster complete the update one by one in sequence. According to the invention as set forth in claim 6, a plurality of information processing devices constituting a cluster completes the update according to a predetermined route. According to the invention of claim 7, even if a plurality of information processing devices constituting a cluster are unable to provide the functions of a first program due to completing an update, the information processing devices can have the functions provided by one of the other information processing devices. According to the invention as set forth in claims 8, 14 and 18, the cluster accepts a request for a function of the second program after the update is completed in at least one of the plurality of information processing devices constituting the cluster. According to the invention as set forth in claim 9, the information processing devices constituting the cluster start accepting the functions of the second program at a common timing. According to the invention of claim 10, a plurality of information processing devices constituting a cluster can cause one of the other information processing devices to provide the functions of the second program that cannot be provided because the update has not yet been completed. According to the invention as set forth in claim 11, the plurality of information processing devices constituting the cluster provide, after the completion of the update, the function of the second program that was requested before the completion of the update. According to the invention as set forth in claims 12, 15, and 19, when any one of the information processing devices constituting a cluster is executing an update, the information processing devices provide functions that overlap before and after the update. According to the invention as set forth in claim 16, the management of a plurality of information processing devices constituting a cluster can be centralized in a management device. [Brief description of the drawings]
[0029] [Figure 1] FIG. 1 is a diagram showing an example of the overall configuration of an information processing system 9. [Diagram 2] FIG. 1 shows an example of the configuration of an information processing device 1. [Diagram 3] FIG. 4 is a diagram showing an example of an update information DB 121. [Figure 4] FIG. 4 is a diagram showing an example of a program DB 122. [Diagram 5] FIG. 12 is a diagram showing an example of a cluster configuration DB 123. [Figure 6] FIG. 2 shows an example of the configuration of a terminal 2. [Figure 7] FIG. 2 is a diagram showing an example of the functional configuration of an information processing device 1. [Figure 8] FIG. 11 is a flow diagram showing an example of the flow of operations involved in completing an update. [Figure 9] FIG. 11 is a flowchart showing an example of an operation flow for determining whether or not there is an unupdated device. [Figure 10] FIG. 13 is a diagram showing an example of a list of non-updated devices. [Figure 11] FIG. 11 is a diagram showing an example of a second notification. [Figure 12] FIG. 11 is a flowchart showing an example of an operation flow for switching between functions to be provided. [Figure 13] 11 is a flow diagram showing an example of an operational flow for forwarding a request. [Figure 14] FIG. 13 is a diagram showing an example of the overall configuration of an information processing system 9a according to a modified example. [Figure 15] FIG. 13 is a diagram showing an example of the configuration of an information processing device 1a according to a modified example. [Figure 16] FIG. 13 is a diagram showing an example of the configuration of a management device 4 in a modified example. [Figure 17] FIG. 4 is a diagram showing an example of the configuration of a cluster configuration DB 423. [Figure 18] FIG. 11 is a flowchart showing an example of an operation flow accompanying completion of an update in the modified example. [Figure 19] 4 is a flowchart showing an example of the operation flow of a management device 4. [Figure 20] FIG. 13 is a diagram showing an example of the configuration of an information processing device 1b according to a modified example. [Figure 21] FIG. 13 is a diagram showing an example of the configuration of a cluster configuration DB 123b in a modified example. [Figure 22] FIG. 11 is a flowchart showing an example of an operation flow accompanying completion of an update in the modified example. [Figure 23] 11 is a flowchart showing an example of an operational flow for replying to a received second notification. [Figure 24] 13 is a flowchart showing an example of an operational flow for revising candidates for unupdated devices in response to a reply. [Diagram 25] FIG. 11 is a flowchart showing an example of the flow of operations accompanying completion of an update in the second embodiment. [Figure 26] 11 is a flow diagram showing an example of an operational flow for forwarding a request. [Figure 27] FIG. 11 is a flowchart showing an example of an operation flow for suspending provision of a function. [Figure 28] FIG. 10 is a flowchart showing an example of the flow of operations of a management device 4 in a modified example. [Figure 29] FIG. 13 is a flowchart showing an example of the flow of an update operation in the third embodiment. [Diagram 30] FIG. 13 is a flowchart showing an example of the flow of an operation for switching a function according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0030] First Embodiment <Configuration of information processing system> Fig. 1 is a diagram showing an example of the overall configuration of an information processing system 9. The information processing system 9 shown in Fig. 1 is a system in which a plurality of server devices are clustered, each of which executes a computer program (hereinafter simply referred to as a program) and provides a service. As shown in Fig. 1, the information processing system 9 has a plurality of information processing devices 1, a terminal 2, and a communication line 3.
[0031] The terminal 2 is a terminal device used by each user of the information processing system 9, and is, for example, a personal computer of a desktop type, a notebook type, a tablet type, etc. The terminal 2 accepts an operation by the user and gives an instruction to the information processing device 1 according to the operation.
[0032] The information processing device 1 is, for example, a computer, and is a server device that responds to requests from a terminal 2 that is a client device. The multiple information processing devices 1 included in the information processing system 9 configure a cluster C by dynamically sharing requests from the terminal 2. Therefore, this information processing system 9 is an example of an information processing system that includes a terminal and multiple information processing devices that configure a cluster.
[0033] Any one of the plurality of information processing devices 1 may also function as a so-called load balancer, monitoring the processing load of the other information processing devices 1 and allocating processing.
[0034] The communication line 3 is a line that connects the information processing device 1 and the terminal 2 so that they can communicate with each other. The communication line 3 may be, for example, a LAN (Local Area Network), a WAN (Wide Area Network), the Internet, or a combination of these. The communication line 3 may also include a Public Switched Telephone Network (PSTN) or an Integrated Services Digital Network (ISDN), etc. The communication line 3 is also connected to an external device (not shown), and at least one of the information processing devices 1 acquires information from this external device.
[0035] It should be noted that the respective numbers of the information processing devices 1, the terminals 2, and the communication lines 3 in the information processing system 9 are not limited to those shown in Fig. 1. It is sufficient that there are more than one information processing devices 1.
[0036] <Configuration of information processing device> Fig. 2 is a diagram showing an example of the configuration of the information processing device 1. The information processing device 1 shown in Fig. 2 has a processor 11, a memory 12, and an interface 13. These components are connected to each other so as to be able to communicate with each other, for example, by a bus.
[0037] The processor 11 reads and executes a program stored in the memory 12 to control each part of the information processing device 1. The processor 11 is, for example, a CPU (Central Processing Unit).
[0038] The interface 13 is a communication circuit that communicatively connects the information processing device 1 to the terminal 2 via the communication line 3, either wired or wirelessly.
[0039] The memory 12 is a storage means for storing an operating system, various programs, data, etc., which are loaded into the processor 11. The memory 12 includes a RAM (Random Access Memory) and a ROM (Read Only Memory). The memory 12 may include a solid state drive, a hard disk drive, etc.
[0040] The memory 12 also stores an update information DB 121 and a program DB 122. The memory 12 shown in FIG.
[0041] Fig. 3 is a diagram showing an example of the update information DB 121. The update information DB 121 shown in Fig. 3 is a database that stores information for updating a program executed by the information processing device 1 (called update information).
[0042] In the update information DB 121 shown in FIG. 3, the update ID is identification information that identifies the update information. The update date and time is information indicating the date and time when the program was updated using the update information. The status is a status that indicates the status of the program update using the update information, such as "completed," "waiting," or "cancelled." The update target ID is identification information that identifies the program that is the target of the update by the update information. The post-update ID is identification information that identifies the program after the target program has been updated by the update information. The update data is data that indicates the contents of the update.
[0043] 3 handles a plurality of pieces of update information, the update information DB 121 may be configured to handle only one piece of update information. In this case, the update information DB 121 does not need to have an update ID column.
[0044] 4 is a diagram showing an example of the program DB 122. The program DB 122 is a database that stores programs executed by the processor 11. For example, the program DB 122 is a folder or the like that stores executable files in a file system.
[0045] 4, the program ID is identification information for identifying a program, the program name is information such as a character string indicating the name of the program, and the program data is data indicating the contents of the program.
[0046] Fig. 5 is a diagram showing an example of the cluster configuration DB 123. The cluster configuration DB 123 is a database that stores information indicating the configuration of a cluster C to which the information processing device 1 belongs. The cluster configuration DB 123 shown in Fig. 5 has an update ID list 1231 and a device list 1232.
[0047] The update ID list 1231 is a list of update IDs stored in the update information DB 121. The device list 1232 is a list of devices associated with each update ID listed in the update ID list 1231, and has columns for device ID and device data. The device ID in the device list 1232 is identification information for identifying the information processing device 1 that executes a program update based on the update information indicated by the update ID associated with the device list 1232. The device data in the device list 1232 is data indicating various information such as identification information used for communication, such as the IP() address of the information processing device 1 identified by the device ID, and environmental information used during the update.
[0048] 5 stores, for example, nine device IDs from "Q21" to "Q29" in device list 1232 corresponding to update ID "D01." This means that in cluster C, the first program updated using update information identified by update ID "D01" is being executed by information processing devices 1 identified by these nine device IDs, respectively.
[0049] <Device configuration> Fig. 6 is a diagram showing an example of the configuration of the terminal 2. The terminal 2 shown in Fig. 6 includes a processor 21, a memory 22, an interface 23, an operation unit 24, and a display unit 25. These components are connected to each other so as to be able to communicate with each other, for example, by a bus.
[0050] The processor 21 reads and executes programs stored in the memory 22 to control each part of the terminal 2. The processor 21 is, for example, a CPU.
[0051] The interface 23 is a communication circuit that communicatively connects the terminal 2 to the information processing device 1 via the communication line 3, either wired or wirelessly.
[0052] The operation unit 24 includes operation devices such as operation buttons, a keyboard, a touch panel, and a mouse for inputting various instructions, and upon receiving an operation, sends a signal to the processor 21 according to the content of the operation.
[0053] The display unit 25 has a display screen such as a liquid crystal display, and displays images under the control of the processor 21. A transparent touch panel of the operation unit 24 may be disposed on top of the display screen.
[0054] The memory 22 is a storage means for storing an operating system, various programs, data, etc., which are loaded into the processor 21. The memory 22 includes a RAM and a ROM. The memory 22 may include a solid state drive, a hard disk drive, etc.
[0055] <Functional configuration of information processing device> Fig. 7 is a diagram showing an example of a functional configuration of the information processing device 1. The processor 11 of the information processing device 1 executes a program stored in the memory 12, thereby functioning as an acquisition unit 111, an execution unit 112, a reception unit 113, a determination unit 114, a transmission unit 115, a provision unit 116, and a reception unit 117. The processor 11 shown in Fig. 7 also functions as a transfer unit 118.
[0056] The acquisition unit 111 acquires update information from an external device (not shown) via the interface 13 and the communication line 3. This update information is information for executing an update from an old version of a program (hereinafter referred to as a first program) executed by the processor 11 to a new version of a program (hereinafter referred to as a second program). The acquisition unit 111 stores the acquired update information in the update information DB 121 of the memory 12.
[0057] That is, the processor 11 functioning as the acquisition unit 111 is an example of a processor that acquires update information for executing an update from a first program to a second program. Also, the processor 11 that executes the first program before the update is an example of a processor that executes the first program.
[0058] The execution unit 112 executes an update from the first program to the second program, using the update information read from the update information DB 121 in the memory 12 and the first program read from the program DB 122. In other words, the processor 11 functioning as this execution unit 112 is an example of a processor that executes an update using the update information. The execution unit 112 stores the second program obtained by completing the update in the program DB 122. The execution unit 112 also stores the state of the update in the update information DB 121.
[0059] The reception unit 113 receives a function request from a user from the terminal 2 via the interface 13 and the communication line 3. In the first embodiment, the reception unit 113 receives a request for the function of the first program until the update of the entire cluster C is completed, regardless of whether the first program is being updated in the own device or has been updated. In other words, the processor 11 functioning as this reception unit 113 is an example of a processor that receives a request for the function of the first program when at least one of the own device and other information processing devices constituting a cluster together with the own device has not completed updating the first program.
[0060] Moreover, each of the processors 11 of the multiple information processing devices 1 constituting the cluster C functions as this reception unit 113. That is, each of these processors 11 is an example of a processor that receives a request for a function of the first program from a terminal when at least one of the multiple information processing devices constituting the cluster has not completed updating.
[0061] Determination unit 114 acquires information from update information DB 121 and program DB 122 via execution unit 112, acquires a notification received by reception unit 117, reads cluster configuration DB 123, and performs various determinations. Determination unit 114 determines the update status of the first program in its own device.
[0062] Furthermore, in the first embodiment, the determination unit 114 determines whether or not the update of the first program has been completed for the entire cluster C, using the notification acquired by the receiving unit 117 and the contents of the cluster configuration DB 123. If the update of the first program has not been completed for the entire cluster C, the determination unit 114 identifies an information processing device 1 that has not completed the update (hereinafter, also referred to as an unupdated device). Note that the execution unit 112 described above may start the execution of the above-mentioned update depending on the result of the determination by the determination unit 114, as indicated by the dashed line in FIG. 7.
[0063] When the determination unit 114 determines that the update in the own device has been completed after all of the other information processing devices 1 in the cluster C have completed the update of the first program, the transmission unit 115 in the first embodiment transmits a notification (hereinafter referred to as a first notification) indicating that the own device has last completed the update to each of the other information processing devices 1 in the cluster C. That is, the transmission unit 115 and the processor 11 functioning as the above-mentioned determination unit 114 are an example of a processor that transmits a first notification indicating that the own device has last completed the update to each of the other information processing devices when the own device has completed the update after all of the other information processing devices have completed the update.
[0064] Furthermore, when the determination unit 114 determines that an unupdated device exists in cluster C when the update in the own device is completed, the transmission unit 115 in the first embodiment selects at least one of the unupdated devices specified by the determination unit 114, and transmits a notification (hereinafter referred to as a second notification) to the unupdated device indicating that the own device has completed the update of the first program. That is, the processor 11 functioning as the transmission unit 115 and the above-mentioned determination unit 114 is an example of a processor that transmits a second notification to at least one of the unupdated devices indicating that the own device has completed the update when an unupdated device that has not completed the update exists among other information processing devices when the own device completes the update.
[0065] When each of the multiple information processing devices 1 constituting the cluster C executes an update from the first program to the second program, the providing unit 116 provides the function of the first program, the function of the second program, and the overlapping functions of these programs according to the progress of the update. In the first embodiment, the providing unit 116 provides the function of the second program to the user when the determining unit 114 determines that both the own device and the other information processing devices 1 in the cluster C have completed the update of the first program. In other words, the providing unit 116 and the processor 11 functioning as the determining unit 114 described above are examples of processors that provide the function of the second program to the user when both the own device and the other information processing devices have completed the update of the first program.
[0066] Moreover, the processors 11 of the multiple information processing devices 1 constituting the cluster C all function as the providing unit 116 and the determining unit 114. That is, each of these processors 11 is an example of a processor that provides the function of the second program to a terminal user when all of the multiple information processing devices constituting the cluster have completed updating the first program.
[0067] For example, when the transmitting unit 115 transmits the above-mentioned first notification, the determining unit 114 determines that both the own device and the other information processing devices 1 in the cluster C have completed updating the first program. When the transmitting unit 115 transmits the first notification, the providing unit 116 starts providing the function of the second program. That is, the processor 11 functioning as the providing unit 116 is an example of a processor that provides the function of the second program when the transmitting unit 115 transmits the first notification.
[0068] The receiving unit 117 receives the above-mentioned first notification and second notification transmitted by the other information processing device 1. The receiving unit 117 shown in Fig. 7 also receives a request for a program function by a user transferred from the other information processing device 1. The determining unit 114 monitors the type of notification received by the receiving unit 117 and determines the update status.
[0069] For example, when the receiving unit 117 receives the above-mentioned first notification from any of the other information processing devices 1, the information processing device 1 that transmitted the first notification is the last to complete the update of the first program in the cluster C. At this time, the determining unit 114 notifies the providing unit 116 that the update has been completed in the entire cluster C, and the providing unit 116 starts providing the function of the second program. That is, the processor 11 functioning as the providing unit 116 is an example of a processor that provides the function of the second program when the first notification is received from any of the other information processing devices.
[0070] Furthermore, for example, when the receiving unit 117 receives the above-mentioned second notification from any of the other information processing devices 1, the information processing device 1 that transmitted the second notification has completed the update of the first program, but is not the information processing device 1 that will last complete the update in cluster C. When the receiving unit 117 receives the second notification from any of the other information processing devices 1, the determining unit 114 determines whether or not there is an unupdated device among the other information processing devices 1 based on the content of the notification.
[0071] In other words, the processor 11 functioning as this judgment unit 114 is an example of a processor that, when it receives a second notification from any of the other information processing devices, judges whether or not there is an unupdated device among the other information processing devices based on the content of the received second notification.
[0072] When the determination unit 114 determines that an unupdated device exists among the other information processing devices 1, this is conveyed to the transmission unit 115. At this time, the transmission unit 115 generates a new second notification by adding, to the contents of the second notification received by the reception unit 117, information that the own device has completed the update, and transmits this to any of the unupdated devices.
[0073] In other words, the processor 11 functioning as this transmitting unit 115 is an example of a processor that, when the determining unit 114 determines that an unupdated device exists, transmits a new second notification indicating that the device itself has completed the update, together with the contents of the received second notification.
[0074] On the other hand, if the determination unit 114 determines that there is no unupdated device among the other information processing devices 1, this fact is also communicated to the transmission unit 115. After that, if the determination unit 114 determines that the update of the first program in its own device has been completed, the transmission unit 115 transmits the above-mentioned first notification to each of the other information processing devices 1 in the cluster C.
[0075] That is, the processor 11 functioning as the transmission unit 115 is an example of a processor that transmits a first notification when the determination unit 114 determines that no unupdated device exists.
[0076] When the reception unit 113 receives a request for the function of the first program from a user after the device itself has completed updating the first program, the transfer unit 118 transfers the request to an unupdated device. In other words, the processor 11 functioning as the transfer unit 118 is an example of a processor that transfers a request for the function of the first program to another information processing device that has not completed updating when the request is received from a user after the device itself has completed updating.
[0077] When a request for a function of the first program is transferred from a transfer unit 118 realized by the processor 11 of another information processing device 1, the receiving unit 117 receives this request. When the receiving unit 117 receives this request, the providing unit 116 provides the requested function of the first program to the terminal 2 of the user who made the request. In other words, the processor 11 functioning as this providing unit 116 is an example of a processor that provides the function indicated in the request when the request is transferred from one of the other information processing devices.
[0078] In addition, if the memory 12 continues to store the first program in the program DB 122 in an executable state even after the update from the first program to the second program is completed, the processor 11 may provide the function of the first program even after the update is completed. In this case, the processor 11 does not need to function as the transfer unit 118 described above.
[0079] <Operation of the information processing device> The processor 11 of the information processing device 1 performs an "operation associated with the completion of an update" and an "operation of switching functions to be provided." The processor 11 may also perform an "operation of transferring a request." The processor 11 performs these operations in parallel. The "operation associated with the completion of an update" includes an "operation of determining whether or not there is an unupdated device."
[0080] <Actions upon completion of update> 8 is a flow diagram showing an example of the flow of operations accompanying the completion of an update. The processor 11 of the information processing device 1 acquires update information from an external device (not shown) via the communication line 3 (step S101), and executes an update using the update information (step S102).
[0081] When the update from the first program to the second program is completed, the processor 11 determines whether or not there is an unupdated device in the cluster C (step S200).
[0082] <Operation to determine whether there is an unupdated device> 9 is a flow diagram showing an example of the flow of the operation for determining whether or not there is an unupdated device. The operation shown in this Fig. 9 is a detailed operation of step S200 in the flow diagram shown in Fig. 8.
[0083] The processor 11 of the information processing device 1 enters devices other than the information processing device 1 (i.e., other information processing devices 1) that are listed in the cluster configuration DB 123 into a list showing candidates for non-updated devices (hereinafter, referred to as a non-updated device list) (step S201). The non-updated device list is stored in, for example, the RAM of the memory 22.
[0084] Fig. 10 is a diagram showing an example of an unupdated device list. As described above, the cluster configuration DB 123 shown in Fig. 5 stores nine device IDs from "Q21" to "Q29" as identification information of the information processing device 1 in which the first program is updated by the update information identified by the update ID "D01" in the cluster C.
[0085] When the update ID of the acquired update information is "D01", the processor 11 of the information processing device 1 identifies the above-mentioned nine device IDs from "Q21" to "Q29" as the identification information of the other information processing device 1 corresponding to the update information. Then, when the identification information of the own device is "Q22", the processor 11 enters the eight identified device IDs, excluding "Q22", in the above-mentioned unupdated device list. This generates the unupdated device list shown in FIG. 10(a).
[0086] Next, the processor 11 judges whether or not a second notification has been received (step S202), as shown in Fig. 9. When it is judged that the second notification has been received (step S202; YES), the processor 11 deletes the identification information of the information processing device 1 entered in the received second notification from the unupdated device list (step S203).
[0087] On the other hand, when it is determined that the second notification has not been received (step S202; NO), the processor 11 does not execute step S203 and advances the process to step S204.
[0088] Fig. 11 is a diagram showing an example of the second notification. The second notification shown in Fig. 11(a) is a second notification in which three device IDs, "Q24", "Q27", and "Q29", are entered. This second notification means that the update from the first program to the second program has been completed in the information processing device 1 identified by these three device IDs.
[0089] When the processor 11 of the information processing device 1 determines that it has received the second notification shown in Fig. 11(a), it deletes the three device IDs entered in this second notification from the unupdated device list. If the unupdated device list is the one shown in Fig. 10(a), three device IDs are deleted from the eight device IDs entered therein, and a new unupdated device list is generated as shown in Fig. 10(b). This unupdated device list stores the device IDs "Q21", "Q23", "Q25", "Q26", and "Q28" as candidates for unupdated devices.
[0090] Next, the processor 11 determines whether or not one or more device IDs indicating candidates for unupdated devices are entered in the unupdated device list, as shown in FIG. 9 (step S204).
[0091] When it is determined that one or more device IDs of unupdated devices are entered in the unupdated device list (step S204; YES), the processor 11 determines that an unupdated device exists (step S205), and generates a new second notification by adding the identification information of the own device to the received second notification (step S206). That is, this processor 11 is an example of a processor that includes the identification information of the own device in the second notification and transmits it.
[0092] On the other hand, when it is determined that the device IDs of one or more unupdated devices are not entered in the unupdated device list (step S204; NO), the processor 11 determines that there is no unupdated device (step S207).
[0093] For example, when the processor 11 of the information processing device 1 generates the unupdated device list shown in Fig. 10(b), the processor 11 determines that the device IDs of one or more unupdated devices are entered in the unupdated device list. The processor 11 then adds the device ID "Q22" of the own device to the received second notification shown in Fig. 11(a) to generate a new second notification shown in Fig. 11(b). The above is the details of the operation of determining the presence or absence of an unupdated device in step S200.
[0094] Next, as shown in FIG. 8, if it is determined that there is an unupdated device in cluster C (step S200; YES), processor 11 selects one of those unupdated devices (step S103), sends a second notification to the selected unupdated device (step S104), and terminates the processing.
[0095] On the other hand, if it is determined that there are no unupdated devices in cluster C (step S200; NO), the processor 11 sends a first notification to each of the other information processing devices 1 in cluster C (step S105), starts providing the functions of the second program (step S106), and terminates the processing.
[0096] <Switching the functions provided> 12 is a flow diagram showing an example of an operation flow for switching the function to be provided. The processor 11 of the information processing device 1 determines whether or not a first notification has been received or transmitted (step S111).
[0097] When it is determined that the first notification has been received or transmitted (step S111; YES), the processor 11 starts providing the function of the second program (step S112). As a result, the processor 11 switches the provision of the function of the first program in the processor 11's own device to the provision of the updated function of the second program. Note that since the first notification is notified to all the information processing devices 1 in the cluster C at once, the functions provided in the other information processing devices 1 are also switched in synchronization with the processor 1's own device.
[0098] On the other hand, when it is determined that the first notification has not been received or transmitted (step S111; NO), the processor 11 continues to provide the function of the first program (step S113).
[0099] <Action to forward a request> 13 is a flow diagram showing an example of the operation flow of transferring a request. The processor 11 of the information processing device 1 determines whether or not a request for a function of the first program has been received from a user via any one of the terminals 2 and the communication line 3 of the information processing system 9 (step S121).
[0100] When it is determined that a request for the function of the first program has not been accepted (step S121; NO), processor 11 continues the determination process of step S121.
[0101] On the other hand, when it is determined that a request for the function of the first program has been accepted (step S121; YES), the processor 11 determines whether or not updating from the first program to the second program has been completed in the own device (step S122).
[0102] When it is determined that the above-mentioned update is completed (step S122; YES), the processor 11 transfers the received request to any one of the non-updated devices (step S123).
[0103] On the other hand, when it is determined that the above-mentioned update is not completed (step S122; NO), the processor 11 provides the function of the first program in response to the received request (step S124).
[0104] By performing the operations described above, the multiple information processing devices 1 constituting cluster C continue to provide the functions of the first program until any of them completes the update from the first program to the second program, and when all of them have completed the update, they all simultaneously start providing the functions of the second program. Therefore, no difference occurs in the functions provided at a common timing to a user who uses cluster C, regardless of which information processing device 1 constituting cluster C the user is assigned to. And, in this first embodiment, since a user does not request an updated function before the program update is completed in all of cluster C, there is no confusion due to the function not being able to be provided.
[0105] In other words, in a cluster C consisting of multiple information processing devices 1, the information processing system 9 of the first embodiment suppresses the variation in the functions provided to users by each of the information processing devices 1 when updating the first program of each of the information processing devices 1 to a second program.
[0106] <Modification of the first embodiment> The first embodiment has been described above, but the contents of the first embodiment may be modified as follows. In addition, the following modifications may be combined.
[0107] <1-1> In the above-described first embodiment, the cluster C does not have a management device that manages the information processing devices 1, but the cluster may have a management device. In this case, the multiple information processing devices 1 constituting the cluster may not transmit at least one of the first notification and the second notification to the other information processing devices 1.
[0108] 14 is a diagram showing an example of the overall configuration of an information processing system 9a in a modified example. This information processing system 9a has a plurality of information processing devices 1a, a terminal 2, a communication line 3, and a management device 4. The management device 4 constitutes a cluster Ca together with the information processing devices 1a. This management device 4 is a computer that manages the information processing devices 1a that together constitute the cluster Ca. In other words, the information processing system 9a that has this management device 4 is an example of an information processing system that has a terminal and a plurality of information processing devices that constitute a cluster, and has a management device that manages this plurality of information processing devices.
[0109] Fig. 15 is a diagram showing an example of the configuration of an information processing device 1a in a modified example. As shown in Fig. 15, this information processing device 1a has a common configuration with the information processing device 1 shown in Fig. 2, except that the cluster configuration DB 123 is not stored in the memory 12. Therefore, these multiple information processing devices 1a are examples of multiple information processing devices each having a processor that executes a first program.
[0110] Fig. 16 is a diagram showing an example of the configuration of a management device 4 in a modified example. The management device 4 shown in Fig. 16 has a processor 41, a memory 42, and an interface 43. These have the same configuration as the processor 11, memory 12, and interface 13 of the information processing device 1a, except that the database stored in the memory 42 is different. The memory 42 of the management device 4 shown in Fig. 16 stores a cluster configuration DB 423.
[0111] Fig. 17 is a diagram showing an example of the configuration of the cluster configuration DB 423. The cluster configuration DB 423 shown in Fig. 17 is a database that stores information indicating the configuration of the cluster Ca to which the information processing device 1a belongs. The cluster configuration DB 423 shown in Fig. 17 has an update ID list 4231 and a device list 4232. The update ID list 4231 has a common configuration with the update ID list 1231 in the cluster configuration DB 123 shown in Fig. 5.
[0112] 5, the device list 4232 in the cluster configuration DB 423 is different in that it has a column indicating the "status" of the update of the information processing device 1a identified by each device ID. When the processor 41 of the management device 4 receives a notification that the update is complete from each information processing device 1a (hereinafter, referred to as a completion notification), the processor 41 rewrites the "status" column accordingly. For example, when the processor 41 receives a completion notification from any one of the information processing devices 1a, the processor 41 rewrites the "status" column corresponding to the identification information of that information processing device 1a from "not yet", indicating that the update is not yet performed, to "completed", indicating that the update is complete.
[0113] <Operations associated with completion of update in modified example> 18 is a flow diagram showing an example of the flow of operations accompanying the completion of an update in the modified example. The processor 11 of the information processing device 1a acquires update information from an external device (not shown) via the communication line 3 (step S101), and executes an update using the update information (step S102).
[0114] When the update from the first program to the second program is completed, the processor 11 determines whether the information processing device 1a has been pre-designated as being at the top of a list (not shown) indicating the order in which the information processing devices 1a will perform the update, or whether the processor 11 has received an instruction from the management device 4 to confirm the update (hereinafter referred to as a confirmation instruction) (step S131).
[0115] If it is determined that the own device is not specified at the top of the above-mentioned list and a confirmation instruction has not been received from the management device 4 (step S131; NO), the processor 11 continues the determination process of this step S131.
[0116] On the other hand, if it is determined that the own device is specified at the top of the above-mentioned list or has received a confirmation instruction from the management device 4 (step S131; YES), the processor 11 sends the above-mentioned completion notification indicating that the update in the own device is complete, and inquires of the management device 4 about whether there is any device that has not been updated (step S132). In other words, this processor 11 that sends the completion notification to the management device 4 is an example of a processor that notifies the management device of the completion of the update when it is completed.
[0117] <Operation of the Management Device in the Modified Example> 19 is a flow diagram showing an example of the operation flow of the management device 4. The processor 41 of the management device 4 judges whether or not the above-mentioned completion notice and inquiry have been received (step S301), and continues this judgment process for a period during which it is judged that they have not been received (step S301; NO).
[0118] On the other hand, if it is determined that the above-mentioned completion notification and inquiry have been received (step S301; YES), the processor 41 reads the cluster configuration DB 423 from the memory 42, and in the above-mentioned device list 4232, changes the "status" column corresponding to the device ID of the information processing device 1a that originated the inquiry to content indicating that the update has been "completed" (step S302).
[0119] Next, the processor 41 determines whether or not a device for which updating has not been completed, that is, an unupdated device, is listed in the device list 4232 of the cluster configuration DB 423 (step S303).
[0120] When it is determined that the non-updated device is recorded in the cluster configuration DB 423 (step S303; YES), the processor 41 responds to the above-mentioned inquiry that a non-updated device exists (step S304), and sends a confirmation instruction to any of the non-updated devices (step S305). As a result, the non-updated devices to which the confirmation instruction has been sent are prompted to confirm the update.
[0121] On the other hand, if it is determined that the unupdated device is not listed in the cluster configuration DB 423 (step S303; NO), the processor 41 responds to the above-mentioned inquiry that there is no unupdated device (step S306), and sends an instruction to switch the functions provided (hereinafter referred to as a switching instruction) to each of the information processing devices 1a in the cluster Ca (step S307). The above has been described in detail regarding the operation of the management device 4 in response to an inquiry from the information processing device 1a.
[0122] Next, as shown in FIG. 18, the processor 11 of the information processing device 1a judges, in response to the response from the management device 4, whether or not an unupdated device exists in the cluster Ca (step S133).
[0123] If it is determined that there is no unupdated device in the cluster Ca (step S133; NO), the processor 11 advances the process to step S106.
[0124] On the other hand, when it is determined that an unupdated device exists in the cluster Ca (step S133; YES), the processor 11 determines whether or not a switching instruction has been sent from the management device 4 (step S134).
[0125] When the processor 11 determines that a switching instruction has not been sent from the management device 4 (step S134; NO), the processor 11 continues this determination process.
[0126] On the other hand, when it is determined that a switching instruction has been sent from the management device 4 (step S134; YES), the processor 11 starts providing the function of the second program (step S106).
[0127] As a result of the above, when the management device 4 determines through an inquiry that there are no unupdated devices, and when a switching instruction has been sent from the management device 4 to the information processing device 1a, the processor 11 of the information processing device 1a begins providing the functions of the second program, thereby reducing the variation in the functions provided to the user by each of the multiple information processing devices 1a that make up the cluster Ca.
[0128] The processor 11 of the information processing device 1a has sent an inquiry to the management device 4 as to whether or not there is an unupdated device, but may request and acquire information indicating whether or not each of the multiple information processing devices 1a constituting the cluster Ca has completed updating. By making this inquiry, the processor 11 can determine that there is an unupdated device, and can also specify which information processing device 1a is an unupdated device.
[0129] Also, for example, when the first program is overwritten and becomes inexecutable as a result of the completion of the update from the first program to the second program, if a function of the first program is requested by a user after the update in the own device is completed, the own device will not be able to provide the requested function. In this case, the processor 11 may identify an unregistered device by making the above-mentioned request. Then, the processor 11 may transfer the request for the function of the first program received from the user to the identified unregistered device. In this case, the processor 11 is an example of a processor that acquires information indicating whether each of the multiple information processing devices has completed the update of the first program from the management device.
[0130] <1-2> In the above-described first embodiment, the order in which the multiple information processing devices 1 constituting the cluster C execute the update from the first program to the second program is not determined, but this order may be determined in advance.
[0131] Fig. 20 is a diagram showing an example of the configuration of an information processing device 1b in a modified example. In this information processing device 1b, the order of performing updates is determined in advance. The information processing device 1b shown in Fig. 20 differs from the information processing device 1 shown in Fig. 2 in that a cluster configuration DB 123b is stored in the memory 12 instead of the cluster configuration DB 123.
[0132] Fig. 21 is a diagram showing an example of the configuration of a cluster configuration DB 123b in a modified example. The cluster configuration DB 123b shown in Fig. 21 has an update ID list 1231 and a device list 1232b.
[0133] 5, the device list 1232b in the cluster configuration DB 123b is different in that a column indicating "path information" of the update of the information processing device 1b identified by each device ID is provided. This "path information" is information indicating the order of the update of the information processing device 1b, and is, for example, a positive integer.
[0134] <Operations associated with completion of update in modified example> 22 is a flow diagram showing an example of the flow of operations accompanying the completion of an update in the modified example. The processor 11 of the information processing device 1b acquires update information from an external device (not shown) via the communication line 3 (step S101), and executes an update using the update information (step S102).
[0135] When the update from the first program to the second program is completed, the processor 11 refers to the cluster configuration DB 123b and determines whether or not the own device is at the head of the path information (step S141).
[0136] For example, if "1" is entered in the "route information" of the device list 1232b in the cluster configuration DB 123b, the processor 11 determines that the own device is at the head of the route information (step S141; YES), and transmits a second notification to the information processing device 1b immediately following the own device (in this case, for example, the information processing device 1b whose "route information" is "2") (step S142).
[0137] On the other hand, if it is determined that the own device is not at the head of the route information (step S141; NO), the processor 11 determines whether or not a second notification has been received from the information processing device 1b whose route information is immediately preceding that of the own device (step S143), and continues this determination process for the period during which it is determined that the second notification has not been received (step S143; NO).
[0138] On the other hand, when it is determined that the second notification has been received from the information processing device 1b whose route information is located immediately before the own device (step S143; YES), the processor 11 determines whether the own device is at the end of the route information (step S144).
[0139] The fact that the own device is at the end of the path information means that the completion of the update of the own device is the completion of the last update in cluster C. In other words, processor 11 is an example of a processor that determines whether or not the own device completed the last update based on path information indicating a predetermined path included in the update information.
[0140] If the processor 11 determines that the own device is not at the end of the route information (step S144; NO), the processor 11 proceeds to step S142 and transmits a second notification to the information processing device 1b immediately following the own device (in this case, for example, the information processing device 1b whose "route information" is 1 greater than the "route information" of the own device) (step S142).
[0141] If the processor 11 determines that its own device is at the end of the route information (step S144; YES), it sends a first notification to each of the other information processing devices 1b in cluster C (step S105), starts providing the functions of the second program (step S106), and terminates the processing.
[0142] <1-3> In the first embodiment described above, the second notification is sent to one of the non-updated devices identified by the processor 11, but this is not limited to the above. For example, in a cluster C, when multiple information processing devices 1 are performing updates in parallel, the notification destination identified as the non-updated device may have already completed the update. Therefore, when there is a reply to the second notification, the information processing device 1 may revise the candidates for the non-updated device.
[0143] <Operation of replying to second notification in modified example> 23 is a flow diagram showing an example of the flow of operations for replying to a received second notification. The processor 11 of the information processing device 1 judges whether or not a second notification has been received from another information processing device 1 (step S151), and continues this judgment process for a period during which it is judged that the second notification has not been received (step S151; NO).
[0144] On the other hand, when it is determined that the second notification has been received (step S151; YES), the processor 11 determines whether the update has been completed in the own device (step S152). When it is determined that the update has not been completed in the own device (step S152; NO), the processor 11 ends the process.
[0145] On the other hand, when it is determined that the update has been completed in the own device (step S152; YES), the processor 11 returns a message to the information processing device 1 that transmitted the second notification that the own device is not an unupdated device (step S153).
[0146] Fig. 24 is a flow diagram showing an example of the operation flow for revising candidates for unupdated devices in response to a reply. The operation shown in Fig. 24 includes all the steps shown in Fig. 8. After step S104, the processor 11 of this information processing device 1 determines whether or not there is a reply from the information processing device 1 that transmitted the second notification indicating that the device is not an unupdated device (step S161).
[0147] When it is determined that there is no reply from the information processing device 1 that transmitted the second notification indicating that it is not an unupdated device (step S161; NO), the processor 11 ends the process. On the other hand, when it is determined that there is a reply from the information processing device 1 that transmitted the second notification indicating that it is not an unupdated device (step S161; YES), the processor 11 deletes the information processing device 1 that is the reply source from the candidates for unupdated devices (step S162). In this case, for example, the processor 11 stores the device ID of the information processing device 1 that has replied that it is not an unupdated device in the memory 12, and when the above-mentioned unupdated device list is generated, the device ID may be deleted from the generated unupdated device list.
[0148] According to this configuration, even if an incorrect information processing device 1 is identified as an unupdated device based on the contents of the second notification in an environment where updates are being performed in parallel, the identification is corrected based on the reply from the information processing device 1 that sent the second notification.
[0149] <1-4> In the above-described first embodiment, the processor 11 of the information processing device 1 deletes the identification information of the information processing device 1 entered in the received second notification from the unupdated device list, and judges whether or not an unupdated device exists based on whether or not there is a device ID entered in the unupdated device list, but the method of judging this is not limited to this method. For example, the processor 11 may judge whether or not an unupdated device exists in the cluster C based on the number of device IDs included in the received second notification. In this case, the processor 11 may store in advance the number of information processing devices 1 constituting the cluster C in the memory 12, and judge whether or not an unupdated device exists in the cluster C using the number and the number of device IDs entered in the second notification.
[0150] In other words, this processor 11 is an example of a processor that, when it receives a second notification from any of the other information processing devices, determines whether or not there is an unupdated device based on the amount of identification information contained in the received second notification.
[0151] <1-5> In the above-described first embodiment, the processor 11 of the information processing device 1 generates a new second notification by adding the identification information of the information processing device 1 itself, but the second notification does not have to include the identification information of the information processing device 1 itself. For example, the second notification may include the number of the information processing devices 1 in the cluster C that have completed the update, instead of the identification information of the information processing devices 1.
[0152] When the processor 11 has not received a second notification from any of the other information processing devices 1 and has completed the update, the processor 11 generates a second notification containing "1" and transmits it to any of the unupdated devices. On the other hand, when the processor 11 has received a second notification from any of the other information processing devices 1 and has determined that an unupdated device exists in cluster C, the processor 11 generates a second notification indicating a number obtained by adding 1 to the number indicated in the received second notification and transmits it to any of the unupdated devices. For example, if the number indicated in the received second notification is "3", the processor 11 increments it and newly generates a second notification containing "4".
[0153] In this case, the processor 11 may store in advance in the memory 12 the number of information processing devices 1 constituting the cluster C, and determine whether or not an unupdated device exists by comparing the number indicated in the received second notification. That is, this processor 11 is an example of a processor that transmits a second notification indicating 1, which is the number of information processing devices that have completed the update, when the processor 11 does not receive a second notification from any of the other information processing devices and has completed the update, and transmits a second notification indicating a number obtained by adding 1 to the number indicated in the received second notification, when the processor 11 receives a second notification from any of the other information processing devices and has determined that an unupdated device exists.
[0154] <Second embodiment> In the second embodiment, the operations of the multiple information processing devices 1 included in the information processing system 9 upon completion of an update are different from those in the first embodiment.
[0155] <Operations following completion of update in the second embodiment> 25 is a flow diagram showing an example of the flow of operations accompanying the completion of an update in the second embodiment. When the processor 11 of the information processing device 1 acquires update information from an external device (not shown) via the communication line 3 (step S101), the processor 11 judges whether or not it has received a notification (hereinafter, referred to as a third notification) indicating that the device itself has first completed an update from any of the multiple information processing devices 1 constituting the cluster C (step S171).
[0156] When it is determined that the third notification has not been received from any of the multiple information processing devices 1 (step S171; NO), the processor 11 executes an update using the update information acquired in step S101 (step S102).
[0157] When the execution of this update is completed, the processor 11 again determines whether or not a third notification has been received from any of the multiple information processing devices 1 (step S172). This is because the update takes time, and the situation may have changed between the time of step S171 and the time of step S172.
[0158] In step S172, when it is determined that the third notification has been received from any of the multiple information processing devices 1 (step S172; YES), the processor 11 transmits the third notification to each of the other information processing devices 1 (step S173). That is, this processor 11 is an example of a processor that, when the processor 11 completes an update before any of the other information processing devices complete an update, transmits a third notification to each of the other information processing devices indicating that the processor 11 completed an update first.
[0159] In addition, if the information processing system 9 has a management device 4, as in the information processing system 9a described above, the processor 11 may, in this step S173, send a completion notification to the management device 4 and request it to send the third notification described above.
[0160] Then, processor 11 starts providing the function of the second program (step S106) and ends the process. That is, processor 11 is an example of a processor that provides the function of the second program when the third notification is transmitted.
[0161] On the other hand, if it is determined in step S171 that a third notification has been received from any of the multiple information processing devices 1 (step S171; YES), the processor 11 starts accepting functions of the second program (step S174), performs an update using the update information acquired in step S101 (step S175), and terminates the processing.
[0162] That is, this processor 11 is an example of a processor that accepts a request for a function of the second program from a user when the processor 11 receives a third notification from any of the other information processing devices.
[0163] Moreover, the case where the third notification has been received from any of the multiple information processing devices 1 means that an information processing device 1 other than the own device among the multiple information processing devices 1 constituting the cluster has completed the update. And the case where the own device has transmitted the third notification means that the own device among the multiple information processing devices 1 constituting the cluster has completed the update.
[0164] In these two cases, the information processing device 1 starts providing the function of the second program. Therefore, the processor 11 is an example of a processor that accepts a request for the function of the second program when at least one of the information processing device itself and other information processing devices that form a cluster together with the processor 11 has completed an update.
[0165] Moreover, the processors 11 of the multiple information processing devices 1 constituting the cluster C all start providing the function of the second program in the two cases described above. That is, each of these processors 11 is an example of a processor that accepts a request for the function of the second program from a terminal when at least one of the multiple information processing devices constituting the cluster has completed the update.
[0166] In addition, when the information processing system 9 includes the management device 4 like the above-described information processing system 9a, the processor 11 may transmit a completion notification to the management device 4 after completing the update in the above-described step S175.
[0167] With this configuration, when the third notification is received by each of the multiple information processing devices 1 constituting cluster C, the devices all start accepting the functions of the second program at the same time, so that a user of cluster C will not experience any difference in the functions that can be accepted at a common timing, regardless of which information processing device 1 constituting cluster C he or she is assigned to.
[0168] <Operation of transferring a request in the second embodiment> When the information processing device 1 receives the third notification, it accepts a request for the function of the second program even if the update is not completed on the information processing device 1. However, if the request is received from a user when the update is not completed, the information processing device 1 cannot respond to the request, at least at that time. Therefore, the information processing system 9 of the second embodiment transfers the request as one method of solving this problem.
[0169] 26 is a flow diagram showing an example of the operation flow of transferring a request. The processor 11 of the information processing device 1 judges whether or not a request for a function of the second program has been received (step S181), and continues this judgment process for a period during which it is judged that the request has not been received (step S181; NO). Note that this acceptance of a request includes the case where the request has been transferred from another information processing device 1.
[0170] On the other hand, when it is determined that a request for the function of the second program has been accepted (step S181; YES), the processor 11 determines whether or not the update has been completed in the own device (step S182).
[0171] When it is determined that the update is not complete in the own device (step S182; NO), the processor 11 transfers the received request to an information processing device 1 that has completed the update (hereinafter, referred to as an updated device) among the other information processing devices 1 constituting the cluster C (step S183). In other words, this processor 11 is an example of a processor that, when a request for a function of the second program is received from a user before the own device completes the update, transfers the request to another information processing device that has completed the update.
[0172] On the other hand, when it is determined that the update has been completed in the own device (step S182; YES), the processor 11 provides the function of the second program in the own device (step S184).
[0173] If the above-mentioned request is received by being transferred from another information processing device 1, the own device is an updated device, so the determination in step S182 above is "YES", and the processor 11 provides the function of the second program. That is, this processor 11 is an example of a processor that provides the function indicated in the request when the request for the function of the second program is transferred from one of the other information processing devices. With this operation, a user may request a function after the update before all program updates are completed in cluster C, but the function cannot be provided.
[0174] <Modification of the second embodiment> The second embodiment has been described above, but the contents of the second embodiment can be modified as follows. The following modifications can be combined with each other, or can be combined with the first embodiment and its modifications described above.
[0175] <2-1> In the second embodiment described above, in order to resolve the problem of being unable to respond to a request received from a user when the update is not complete, the information processing device 1 transfers the request to an updated device, but the method of resolving this problem is not limited to this. For example, the information processing device 1 may provide the requested function of the second program after the update is completed in the information processing device 1 itself.
[0176] <Operation of suspending provision of functions in modified example> Fig. 27 is a flow diagram showing an example of the flow of the operation of suspending provision of a function. The operation shown in Fig. 27 has each of the steps shown in Fig. 26 except for step S183. The operation shown in Fig. 27 differs from the operation shown in Fig. 26 in that when it is determined in step S182 that the device itself has not completed the update (step S182; NO), processor 11 continues the determination process of this step S182.
[0177] With this operation, the information processing device 1 does not forward the received request, and provision of the function according to the request is suspended until the update is completed. In other words, this processor 11 is an example of a processor that, when a request for a function of the second program is received from a user before the information processing device 1 completes an update, provides the function indicated in the request after completing the update.
[0178] Therefore, a user who requests a function of the second program will be forced to wait until the update is complete, but there will be no difference in the functions that cluster C accepts from the user.
[0179] <2-2> In the second embodiment described above, the cluster C does not have a management device that manages the information processing device 1, but the cluster may have a management device. In this case, the multiple information processing devices 1 constituting the cluster may request the management device to transmit the third notification instead of directly transmitting it to the other information processing devices 1. The information processing system according to this modification has the configuration of the information processing system 9a shown in FIG. 14 described above. Then, in step S173 shown in FIG. 25, the processor 11 of the information processing device 1a included in this information processing system 9a transmits to the management device 4 a completion notification that the device has completed the update, and requests the management device 4 to transmit the third notification described above.
[0180] Moreover, this processor 11 transmits the above-mentioned completion notification to the management device 4 after step S175 shown in Fig. 25. In this case, the information processing device 1a is not the first information processing device to complete the update in the cluster Ca because the information processing device 1a has received the third notification from the other information processing device 1a in step S171 shown in Fig. 25. Therefore, in this case, the processor 11 transmits a completion notification to the management device 4 but does not request the transmission of the third notification.
[0181] <Operation of the Management Device in the Modified Example> 28 is a flow diagram showing an example of the flow of the operation of the management device 4 in the modified example. The processor 41 of the management device 4 judges whether or not a completion notification has been received from any of the multiple information processing devices 1a (step S301), and continues this judgment process for a period during which it is judged that a completion notification has not been received (step S311; NO).
[0182] On the other hand, if it is determined that the above-mentioned completion notification has been received (step S311; YES), the processor 41 reads out the cluster configuration DB 423 shown in FIG. 17 from the memory 42, and in the device list 4232, changes the "status" column corresponding to the device ID of the information processing device 1a that sent the completion notification to content indicating that the update has been "completed" (step S312).
[0183] Furthermore, the processor 41 determines whether or not a request to transmit a third notification has been received together with the received completion notification (step S313).
[0184] When it is determined that a request to transmit the third notification has been made (step S313; YES), the processor 41 transmits the requested third notification to each of the information processing devices 1a except for the information processing device 1a that is the request source (step S314).
[0185] On the other hand, if it is determined that there has been no request to transmit the third notification (step S313; NO), processor 41 ends the process.
[0186] Even in this configuration, the acceptance of the functions of the second program begins simultaneously when the third notification sent from the management device 4 is received by each of the multiple information processing devices 1a, so that a user of cluster Ca will not experience any difference in the functions that can be accepted at a common timing, regardless of which information processing device 1a he or she is assigned to.
[0187] <Third embodiment> In the third embodiment, the update operation of the multiple information processing devices 1 included in the information processing system 9 is different from that in the first and second embodiments.
[0188] <Update Operation in the Third Embodiment> FIG. 29 is a flow diagram showing an example of the flow of the update operation in the third embodiment. The operation shown in FIG. 29 includes all the steps shown in FIG. 8. In the third embodiment, after acquiring update information (step S101), the processor 11 of the information processing device 1 starts providing the overlapping function of the first program and the second program (hereinafter, referred to as the overlapping function) (step S191) before executing the update using the update information (step S102). Starting to provide the overlapping function means starting to accept the function by restricting the function to be provided to the overlapping function. That is, the processor 11 is an example of a processor that accepts a request for the overlapping function of the first program and the second program when at least one of the information processing device itself and other information processing devices constituting a cluster together with the processor itself has not completed the update of the first program.
[0189] Moreover, after acquiring update information, each of the processors 11 of the information processing devices 1 constituting the cluster C starts providing the above-mentioned overlapping functions before executing an update using the update information. That is, each of these processors 11 is an example of a processor that receives a request for the overlapping functions of the first program and the second program from a terminal when at least one of the information processing devices constituting the cluster has not completed an update.
[0190] With this configuration, the multiple information processing devices 1 constituting the cluster C in the third embodiment simultaneously acquire update information from external devices, and thereby start providing the overlapping functions described above at a common timing.
[0191] After acquiring the update information, the processor 11 may start providing the overlapping functions at a predetermined date and time included in the update information, for example. In this way, even if the timing of acquiring the update information differs, the multiple information processing devices 1 start providing the overlapping functions at a common timing.
[0192] <Operation of switching functions provided in the third embodiment> Fig. 30 is a flow diagram showing an example of the flow of the operation of switching functions in the third embodiment. The operation shown in Fig. 30 has step S192 instead of step S113 shown in Fig. 12, and the other steps are common to Fig. 12. When the processor 11 of the information processing device 1 determines that the first notification has not been received or transmitted (step S111; NO), it continues to provide the overlapping function described above (step S192).
[0193] That is, in the third embodiment, the multiple information processing devices 1 constituting the cluster C provide overlapping functions of the first program and the second program during a period during which the multiple information processing devices 1 have not received a first notification from the other information processing devices 1 and have not transmitted a first notification from the respective devices. Then, when the multiple information processing devices 1 receive a first notification from the other information processing devices 1 or transmit a first notification from the respective devices, the multiple information processing devices 1 start providing the function of the second program.
[0194] With this configuration, the information processing devices 1 constituting the cluster C stop providing the overlapping functions described above at a common timing when the updates are completed in all of them, and start providing the functions of the second program. That is, the processor 11 of this information processing device 1 is an example of a processor that provides the functions of the second program to the user when both the information processing device itself and the other information processing devices have completed the updates of the first program.
[0195] Moreover, this processor 11 is an example of a processor that provides the function of the second program to the terminal user when all of the multiple information processing devices constituting the cluster have completed the update. Therefore, even in this third embodiment, before the program update is completed in all of the clusters C, the user will not request a function that exists only after the update, so there is no confusion caused by the function not being able to be provided.
[0196] According to the information processing system 9 of the third embodiment, an overlapping function is provided during a period from the start of an update in each of the multiple information processing devices 1 to the completion of an update in the entire cluster C. This overlapping function is a function included in both the first program and the second program, and therefore is a function that can be provided before the start of an update, during an update, and after the update is completed. Therefore, in the third embodiment, the information processing device 1 can provide a function requested during an update, and does not need to transfer the function to another information processing device 1.
[0197] <Common Variations> The contents of the first, second, and third embodiments may be modified as follows. The following modifications may be combined with each other, or may be combined with the above-described embodiments and their modifications.
[0198] <1> In each of the above-described embodiments, the information processing device 1, the information processing device 1a, and the information processing device 1b each have a processor 11 configured as a CPU, but the control means for controlling the information processing device 1 may have other configurations. For example, the information processing device 1 may have various processors other than a CPU.
[0199] Here, the term "processor" refers to a processor in a broad sense, including general-purpose processors (such as the CPU mentioned above) and dedicated processors (such as GPU: Graphics Processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, programmable logic device, etc.).
[0200] <2> The operations of the processor 11 in each of the above embodiments may not only be performed by one processor 11, but may also be performed by a plurality of processors located at physically separate locations working together.
[0201] Furthermore, the order of each operation of the processor is not limited to the order described in each of the above embodiments, and may be changed as appropriate.
[0202] <3> In the above-described embodiment, the processor 11 of the information processing device 1 may include the update information in the second notification or the third notification. In this case, the update information may be supplied by an external device to at least one of the information processing devices 1 constituting the cluster C. The information processing device 1 that has received the update information from the external device transmits the second notification or the third notification to the other information processing devices 1 when the information processing device 1 has completed the update. The information processing device 1 that has received the second notification or the third notification may acquire the update information by extracting the update information contained therein.
[0203] <4> In the first embodiment described above, the program executed by the processor 11 of the information processing device 1 is an example of a program that causes a computer having a processor that executes a first program to execute the following steps: obtaining update information for performing an update from the first program to the second program; performing the update using the update information; accepting a request for the functions of the first program when at least one of the device itself and other information processing devices that form a cluster with the device itself has not completed the update; and providing the functions of the second program to a user when both the device itself and the other information processing devices have completed the update.
[0204] In addition, in the second embodiment described above, the program executed by the processor 11 of the information processing device 1 is an example of a program that causes a computer having a processor that executes a first program to execute the following steps: obtaining update information for performing an update from the first program to the second program; performing the update using the update information; and accepting a request for a function of the second program when at least one of the information processing device itself and other information processing devices that form a cluster together with the information processing device has completed the update.
[0205] In addition, in the above-mentioned third embodiment, the program executed by the processor 11 of the information processing device 1 is an example of a program that causes a computer having a processor that executes a first program to execute the following steps: obtaining update information for performing an update from the first program to the second program; performing the update using the update information; accepting requests for overlapping functions of the first program and the second program when at least one of the device itself and other information processing devices that form a cluster with the device itself has not completed the update; and providing the functions of the second program to a user when both the device itself and the other information processing devices have completed the update.
[0206] These programs may be provided in a state where they are stored in a computer-readable recording medium, such as a magnetic recording medium such as a magnetic tape or a magnetic disk, an optical recording medium such as an optical disk, a magneto-optical recording medium, a semiconductor memory, etc. The programs may also be downloaded via a communication line such as the Internet. [Explanation of symbols]
[0207] 1, 1a, 1b...information processing device, 11...processor, 111...acquisition unit, 112...execution unit, 113...reception unit, 114...judgment unit, 115...transmission unit, 116...provision unit, 117...reception unit, 118...transfer unit, 12...memory, 121...update information DB, 122...program DB, 123, 123b...cluster configuration DB, 1231...update ID list, 1232, 1232b...device list, 13...interface, 2...terminal, 21...processor, 22...memory, 23...interface, 24...operation unit, 25...display unit, 3...communication line, 4...management device, 41...processor, 42...memory, 423...cluster configuration DB, 4231...update ID list, 4232...device list, 43...interface, 9, 9a...information processing system.
Claims
1. A processor for executing a first program, the processor comprising: obtaining update information for performing an update from the first program to a second program; performing the update using the update information; accepts a request for a function of the first program when at least one of the information processing apparatus and another information processing apparatus constituting a cluster together with the information processing apparatus has not completed the update; providing a function of the second program to a user when both the information processing device and the other information processing device have completed the update; When the own device completes the update after all of the other information processing devices have completed the update, a first notification indicating that the own device last completed the update is transmitted to each of the other information processing devices; providing a function of the second program when the first notification is transmitted; When the first notification is received from any one of the other information processing devices, the function of the second program is provided. Information processing device.
2. The processor, When the device itself has completed the update, if there is an unupdated device among the other information processing devices that has not completed the update, transmitting a second notification indicating that the device itself has completed the update to at least one of the unupdated devices; When the second notification is received from any of the other information processing devices, based on the content of the received second notification, determine whether or not the unupdated device is present among the other information processing devices; When it is determined that the unupdated device exists, a second notification is transmitted to the device, together with the content of the received second notification, indicating that the device has completed the update; When it is determined that the unupdated device does not exist, the first notification is transmitted. The information processing device according to claim 1 .
3. The processor, Transmitting the second notification including identification information of the own device; When the second notification is received from any of the other information processing devices, it is determined whether or not the unupdated device exists based on the number of pieces of identification information included in the received second notification. The information processing device according to claim 2 .
4. The processor, When the second notification is not received from any of the other information processing devices and the information processing device itself has completed the update, the second notification indicating 1, which is the number of information processing devices that have completed the update, is transmitted; When the second notification is received from any of the other information processing devices and when it is determined that an unupdated device exists, the second notification indicating a number obtained by adding 1 to the number indicated in the received second notification is transmitted. The information processing device according to claim 2 .
5. The processor, Based on route information indicating a predetermined route included in the update information, the device Determine whether the update has been completed The information processing device according to claim 1 .
6. The processor, when a request for a function of the first program is received from a user after the information processing device has completed the update, the request is transferred to the other information processing device that has not completed the update; When the request is transferred from any one of the other information processing devices, the function indicated in the request is provided. The information processing device according to claim 1 .
7. A processor for executing a first program, the processor comprising: obtaining update information for performing an update from the first program to a second program; performing the update using the update information; When at least one of the information processing apparatus and the other information processing apparatus constituting a cluster together with the information processing apparatus has completed the update, the information processing apparatus accepts a request for the function of the second program. Information processing device.
8. The processor, When the own device completes the update before any of the other information processing devices complete the update, a third notification indicating that the own device completed the update first is transmitted to each of the other information processing devices; providing a function of the second program when the third notification is transmitted; When the third notification is received from any one of the other information processing devices, a request for a function of the second program is accepted from a user. The information processing device according to claim 7.
9. The processor, when a request for a function of the second program is received from a user before the information processing device itself completes the update, the request is transferred to the other information processing device which has completed the update; When the request is transferred from any one of the other information processing devices, the function indicated in the request is provided.
9. The information processing device according to claim 7 or 8.
10. The processor, When a request for a function of the second program is received from a user before the device itself completes the update, the function indicated in the request is provided after the device completes the update.
9. The information processing device according to claim 7 or 8.
11. A processor for executing a first program, the processor comprising: obtaining update information for performing an update from the first program to a second program; performing the update using the update information; accepts requests for overlapping functions of the first program and the second program when at least one of the information processing apparatus and another information processing apparatus constituting a cluster together with the information processing apparatus has not completed the update; When both the information processing device and the other information processing device have completed the update, the information processing device provides a user with a function of the second program. Information processing device.
12. A terminal, A cluster is formed of a plurality of information processing devices. each of the information processing devices includes a processor that executes a first program; Each of the processors comprises: obtaining update information for performing an update from the first program to a second program; performing the update using the update information; When at least one of the plurality of information processing devices has completed the update, a request for the function of the second program is received from the terminal. Information processing system.
13. A terminal, A cluster is formed of a plurality of information processing devices. each of the information processing devices includes a processor that executes a first program; Each of the processors comprises: obtaining update information for performing an update from the first program to a second program; performing the update using the update information; receiving a request for a duplicated function of the first program and the second program from the terminal when at least one of the plurality of information processing devices has not completed the update; When all of the plurality of information processing devices have completed the update, the function of the second program is provided to the user of the terminal. Information processing system.
14. a management device for managing the plurality of information processing devices; Each of the processors comprises: When the update is completed, notify the management device of the completion of the update; Acquire information indicating whether each of the plurality of information processing devices has completed the update from the management device.
14. An information processing system according to claim 12 or 13.
15. A computer having a processor that executes a first program, obtaining update information for performing an update from the first program to a second program; performing the update using the update information; accepting a request for a function of the first program when at least one of the information processing apparatus and another information processing apparatus constituting a cluster together with the information processing apparatus has not completed the update; providing a function of the second program to a user when both the information processing device and the other information processing device have completed the update; When the self-device completes the update after all of the other information processing devices have completed the update, transmitting a first notification indicating that the self-device has last completed the update to each of the other information processing devices; providing a function of the second program when the first notification is transmitted; providing a function of the second program when the first notification is received from any one of the other information processing devices; A program that executes the following.
16. A computer having a processor that executes a first program, obtaining update information for performing an update from the first program to a second program; performing the update using the update information; accepting a request for a function of the second program when at least one of the information processing device and another information processing device constituting a cluster together with the information processing device has completed the update; A program that executes the following.
17. A computer having a processor that executes a first program, obtaining update information for performing an update from the first program to a second program; performing the update using the update information; accepting a request for a function that overlaps with the first program and the second program when at least one of the information processing apparatus and another information processing apparatus that configures a cluster together with the information processing apparatus has not completed the update; providing a function of the second program to a user when both the information processing device and the other information processing device have completed the update; A program that executes the following.
Citation Information
Patent Citations
Communication device, data processing system, control method for communication device, control method for data processing system, and program
JP2008287419A
Update management program, management node, update management method, and cluster system
JP2009230171A
Distributed information processing system and distributed storage system
JP2011170528A
Cluster system and software update method
JP2012230638A
Information system and update method
JP2017004502A
