Information processing device, file update control program, and file update control method

JP2025033682APending Publication Date: 2025-03-13OKI ELECTRIC INDUSTRY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023139571
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-08-30
Publication Date
2025-03-13

AI Technical Summary

Benefits of technology

【0015】 本発明によれば、一重化システムにおけるアプリケーションファイルのファイル更新によるサービス停止時間を最小に留めることができる。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025033682000001_ABST
    Figure 2025033682000001_ABST
Patent Text Reader

Abstract

To provide an information processing device capable of minimizing service stop time because of update of an application file in a simplex system.SOLUTION: An information processing device includes: storage means for storing a middleware file and an application file to be updated in a first storage area and an update file in a second storage area; stopping means for stopping an application process based on an application file from a middleware process based on the middleware file when receiving an update request; updating means for storing a recovery file of an application file in the second storage area after stopping and developing an update file to an application file in the first storage area and updating the file; and an activation means for activating an application process based on an application file updated from the middleware process after updating.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing device, a file update control program, and a file update control method, and is applicable to, for example, an information processing device that operates a service using only one system. [Background technology]

[0002] Conventionally, servers for communication devices, etc., are equipped with a file update function to upgrade software files and fix problems with operational files. The file update function is a function for updating various software (applications, middleware, operating system (OS)) files to new software files while affecting currently operating services as little as possible.

[0003] Incidentally, HA (High Availability) middleware installed in a server such as a communication device has a file update function, and using this function of the middleware, it is possible to update each file of the OS, middleware, and application.

[0004] For example, when updating a file using the file update function provided by HA middleware, the operational file is updated to a new file by performing the following steps (1) to (4) (processing). For example, the file update function implements the following steps (2) to (4) as the file update command. (1) Download the update file (perform this in advance using a command, etc.) (2) Extract the update file to an executable file (3) Service Suspension (4) Restart the server OS.

[0005] The file update function provided by HA middleware is also used in HA cluster systems that combine an operational (ACT) server and a standby (SBY) server. When performing a file update in an HA cluster system, the file is first updated on the SBY server, then the ACT server and the SBY server are switched, and after the switchover, the file is updated again on the SBY server (originally the ACT server) (Patent Document 1, etc.). By taking such a procedure, it is possible to minimize the service downtime.

[0006] Furthermore, even in a system (single system) that is not an HA cluster system and is composed only of an active system, the file update function of the HA middleware is provided, making it possible to update files using the middleware function. [Prior art documents] [Patent documents]

[0007] [Patent Document 1] JP 2018-018328 A Summary of the Invention [Problem to be solved by the invention]

[0008] However, the file update function of a system (single-system) that is not an HA cluster system and is composed only of the active system requires (A) stopping the application, (B) extracting the updated file, and (C) restarting the server's OS, so the processing time (several minutes) from (A) to (C) results in service downtime.

[0009] Incidentally, in the past, when updating OS files or HA middleware (which starts when the OS starts, so the server must be restarted) files, the server must be restarted to apply the new files. Similarly, when updating files only for applications started by the HA middleware, the server must be restarted.

[0010] Although the HA middleware has a plug-in function implemented as a means of updating files, the update targets are limited to library files, so updates equivalent to those achieved by the file update function cannot be achieved.

[0011] Therefore, there is a demand for an information processing device, a file update control program, and a file update control method that are capable of minimizing service downtime caused by file updates of application files in a single system. [Means for solving the problem]

[0012] A first aspect of the present invention is an information processing device for a single-system, comprising: (1) a storage means for storing a middleware file and an application file to be updated in a first storage area, and an update file corresponding to the application file in a second storage area; (2) a first stop means for, upon receiving a request to update the application file, stopping an application process based on the application file from a middleware process based on the middleware file; (3) an update means for, after stopping the application process, storing a recovery file for the application file in the second storage area, while expanding the update file into the application file in the first storage area, thereby updating the application file; and (4) a first start means for, after updating the application file, starting the application process based on the updated application file from the middleware process.

[0013] A second file update control program of the present invention is characterized in that a computer installed in an information processing device of a single-system having a storage means for storing a middleware file and an application file to be updated in a first storage area and an update file corresponding to the application file in a second storage area is made to function as: (1) a first stop means for stopping an application process based on the application file from a middleware process based on the middleware file upon receiving a request to update the application file; (2) an update means for updating the application file by deploying the update file to the application file in the first storage area while storing a recovery file for the application file in the second storage area after the application process is stopped; and (3) a first start means for starting the application process based on the application file updated from the middleware process after updating the application file.

[0014] A third aspect of the present invention is a file update control method used in an information processing device of a single-system having a storage means for storing a middleware file and an application file to be updated in a first memory area and an update file corresponding to the application file in a second memory area, the file update control method comprising a first stop means, an update means, and a first start means, wherein (1) upon receiving a request to update the application file, the first stop means stops an application process based on the application file from a middleware process based on the middleware file, (2) after stopping the application process, the update means stores a recovery file for the application file in the second memory area while expanding the update file into the application file in the first memory area to update the application file, and (3) after updating the application file, the first start means starts the application process based on the application file updated from the middleware process. Effect of the Invention

[0015] According to the present invention, it is possible to minimize the service downtime caused by updating application files in a single system. [Brief description of the drawings]

[0016] [Figure 1] 1 is a diagram showing an overall configuration of an information processing apparatus according to an embodiment; [Diagram 2] FIG. 1 is an explanatory diagram (part 1) showing the execution procedure of file update control in the information processing device according to the embodiment. [Diagram 3] FIG. 2 is an explanatory diagram (part 2) showing the execution procedure of file update control in the information processing device according to the embodiment. [Figure 4] FIG. 1 is an explanatory diagram (part 1) showing the execution procedure of file recovery control in the information processing device according to the embodiment. [Diagram 5] FIG. 2 is an explanatory diagram (part 2) showing the execution procedure of file recovery control in the information processing device according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] (A) Main embodiment Hereinafter, an embodiment of an information processing apparatus, a file update control program, and a file update control method according to the present invention will be described in detail with reference to the drawings.

[0018] (A-1) Configuration of the embodiment Fig. 1 is a diagram showing the overall configuration of an information processing device according to an embodiment. As shown in Fig. 1, the information processing device 1 has, as a hardware configuration, a CPU 10, a primary storage unit 20, a storage unit 30, and a communication unit 40. The CPU 10, the primary storage unit 20, the storage unit 30, and the communication unit 40 are connected to each other by a bus N.

[0019] The information processing device 1 is, for example, a server in a system (single system) that is configured with only an active system.

[0020] The CPU 10 functions as an arithmetic processing device and a control device, and controls the overall operation of the information processing device 1 in accordance with various programs. For example, the CPU 10 cooperates with a primary storage unit 20 and a storage unit 30, which will be described later, to execute a file update control program 11, which will be described later.

[0021] The primary storage unit 20 is used as a work area for the CPU 10, and is also used as a temporary storage area for data transmitted and received via the storage unit 30, communication unit 40, and the like.

[0022] The storage unit 30 has a partition P1 and a partition P2 as data storage areas.

[0023] Partition P1 is a storage area in which files necessary to operate a certain service (for example, an IP telephone service) are stored, and includes a middleware file M and an application file A.

[0024] The middleware file M is positioned between an OS (not shown) and an application that performs processing according to a certain service, and contains programs for functioning as fault monitoring, application control, file update control, etc.

[0025] Application file A is a file in which a program for implementing a certain service is written.

[0026] Partition P2 is a storage area for storing files that are not directly related to the current operation. For example, partition P2 includes an update file F for updating (upgrading, etc.) application file A, a recovery file R for restoring the updated application file A, etc.

[0027] The communication unit 40 is a network interface for connecting to the outside (such as a server that provides the update file F, etc.). For example, when a download command for downloading the update file F is executed, the communication unit 40 acquires the update file F from the outside via the network.

[0028] Next, the file update control program 11 executed in the CPU 10 will be described.

[0029] The file update control program 11 uses hardware resources such as the CPU 10 and the primary storage unit 20 to execute a file update of the application file A. As shown in FIG. 1, the file update control program 11 has an application process AP, an HA middleware process 12, a file update command 13, and a file recovery command 14.

[0030] The application process AP is a state in which the application file A functions as a program. In this embodiment, the application process AP runs on the HA middleware process 12.

[0031] The HA middleware process 12 is in a state where the middleware file M functions as a program. The HA middleware process 12 controls applications such as starting and stopping the application process AP, and also controls file updates of the application file A.

[0032] The file update command 13 is executed by instructions from a higher level, and cooperates with the HA middleware process 12 to control the file update in order to apply the update file F to the application file A to be updated.

[0033] The file restoration command 14 is executed according to an instruction from a higher level, and requests file restoration control in cooperation with the HA middleware process 12 in order to roll back the application file A updated by the update file F to the original file.

[0034] (A-2) Operations of the Embodiment Next, the operations of the information processing apparatus 1 according to the embodiment having the above configuration will be described.

[0035] (A-2-1) File Update Control FIG. 2 and FIG. 3 are explanatory diagrams showing the execution procedures of file update control of the information processing apparatus according to the embodiment.

[0036] As shown in FIG. 2(A), it is assumed that the information processing apparatus 1 is operating a certain service using the application file A. That is, it is assumed that an OS (not shown) and the HA middleware process 12 are started, and the application process AP is operating on the HA middleware process 12.

[0037] Also, in FIG. 2(A), it is assumed that the update file (update file F) of the application file A has been downloaded in advance via the communication unit 40 and stored in the partition P2. The application file A in the partition P1 (operation side) is an old file, and the application process AP is started based on this old file. Based on the above, the update procedure of the application file A will be described from FIG. 2(B).

[0038] <S101: FIG. 2(B)> The file update command 13 is started in response to a start request from a higher level (not shown) (an external device, a higher program that manages the file update control program 11, etc.).

[0039] <S102: FIG. 2(B)> The file update command 13 requests the HA middleware process 12 to stop the application process AP related to the file to be updated. At this time, the file update command 13 acquires the state of the application process AP through a predetermined interface. If the application process AP is in a stoppable state, it requests the HA middleware process 12 to stop the application process AP related to the file to be updated. On the other hand, if the application process AP is in a non-stoppable state, the processing related to the file update may be aborted once (in this case, notify the upper level that the update is impossible).

[0040] <S103: Figure 2(B)> The HA middleware process 12 stops the application process AP.

[0041] <S104: Figure 3(C)> The file update command 13 controls, via the HA middleware process 12, to store the application file A (current file) of the operation partition P1 as the recovery file R (old file) in the partition P2.

[0042] <S105: Figure 3(C)> Subsequently, the file update command 13 controls, via the HA middleware process 12, to expand the update file F to the application file A of the operation partition P1 and apply it to the application file A.

[0043] <S106: Figure 3(D)> The file update command 13 requests the HA middleware process 12 to start the application based on the application file A updated to the new file.

[0044] <S107: Figure 3(D)> The HA middleware process 12 starts (generates) the application process AP based on the application file A (new file) of the operation partition P1.

[0045] (A-2-2) File Recovery Control Next, the procedure for restoring the application file A updated to the new file to the old file due to reasons such as defect mixing will be described according to the procedures of FIGS. 2 and 3 above.

[0046] FIGS. 4 and 5 are explanatory diagrams showing the state of the execution procedure of file recovery control of the information processing apparatus according to the embodiment.

[0047] <S201: FIG. 4(A)> The file recovery command 14 is activated in response to an activation request from an upper layer (such as an external device or an upper program that manages the file update control program 11) not shown.

[0048] <S202: FIG. 4(A)> The file recovery command 14 requests the HA middleware process 12 to stop the application process AP related to the file to be recovered.

[0049] <S203: FIG. 4(A)> The HA middleware process 12 stops the application process AP.

[0050] <S204: FIG. 4(B)> The file recovery command 14 performs control to expand the recovery file R to the application file A in the operation partition P1 via the HA middleware process 12 and apply it to the application file A.

[0051] <S205: FIG. 5> The file recovery command 14 requests the HA middleware process 12 to start the application based on the application file A restored to the old file.

[0052] <S206: FIG. 5> The HA middleware process 12 starts (generates) an application process AP based on the application file A (old file) in the partition P1 on the operational side.

[0053] (A-3) Effects of the embodiment According to this embodiment, the following effects are obtained.

[0054] The information processing device 1 performs file updates of the application file A only by restarting the application process AP, thereby making it possible to reduce the service downtime compared to conventional file updates that require the restart of the server itself.

[0055] Furthermore, even if it becomes necessary to restore the old file, the service downtime can be similarly reduced by extracting the old file after the application process is stopped and then simply restarting the process to restore to the old file. [Explanation of symbols]

[0056] 1...information processing device, 10...CPU, 11...file update control program, 12...HA middleware process, 13...file update command, 14...file recovery command, 20...primary memory unit, 30...memory unit, 40...communication unit, A...application file, AP...application process, F...update file, M...middleware file, N...bus, P1...partition, P2...partition, R...recovery file.

Claims

1. An information processing device for a simplex system, a storage means for storing a middleware file and an application file to be updated in a first storage area and an update file corresponding to the application file in a second storage area; a first stopping means for stopping an application process based on the application file from a middleware process based on the middleware file when an update request for the application file is received; an update means for updating the application file by extracting the update file into the application file in the first storage area while storing a recovery file of the application file in the second storage area after the application process is stopped; a first starting means for starting the application process based on the updated application file from the middleware process after the application file is updated; 13. An information processing device comprising:

2. a second stopping means for stopping the application process based on the application file updated from the middleware process when a recovery request for the application file is received; a recovery means for recovering the application file by extracting the recovery file stored in the second storage area to the application file in the first storage area after the application process is stopped; a second starting means for starting the application process based on the application file restored from the middleware process after the application file is restored; 2. The information processing apparatus according to claim 1, further comprising:

3. A computer installed in an information processing device of a single-redundant system, the computer comprising a storage means for storing a middleware file and an application file to be updated in a first storage area, and an update file corresponding to the application file in a second storage area, a first stopping means for stopping an application process based on the application file from a middleware process based on the middleware file when an update request for the application file is received; an update means for updating the application file by extracting the update file into the application file in the first storage area while storing a recovery file of the application file in the second storage area after the application process is stopped; a first starting means for starting the application process based on the updated application file from the middleware process after the application file is updated; A file update control program characterized by causing the program to function as follows.

4. 1. A file update control method for use in an information processing device of a simplex system having a storage means for storing a middleware file and an application file to be updated in a first storage area, and an update file corresponding to the application file in a second storage area, comprising: A first stop means, an update means, and a first start means, the first stopping means, when receiving an update request for the application file, stops an application process based on the application file from a middleware process based on the middleware file; the update means, after the application process is stopped, stores a recovery file of the application file in the second storage area, while expanding the update file into the application file in the first storage area, thereby updating the application file; The first starting means starts the application process based on the updated application file from the middleware process after updating the application file.

2. A file update control method comprising:

Citation Information

Patent Citations

  • Cluster system and server control program

    JP2018018328A