WO2019207729A1 - Industrial computer, industrial computer system, operating system update method, and program - Google Patents

Industrial computer, industrial computer system, operating system update method, and program Download PDF

Info

Publication number
WO2019207729A1
WO2019207729A1 PCT/JP2018/017053 JP2018017053W WO2019207729A1 WO 2019207729 A1 WO2019207729 A1 WO 2019207729A1 JP 2018017053 W JP2018017053 W JP 2018017053W WO 2019207729 A1 WO2019207729 A1 WO 2019207729A1
Authority
WO
WIPO (PCT)
Prior art keywords
operating system
program
update
industrial computer
storage unit
Prior art date
Application number
PCT/JP2018/017053
Other languages
French (fr)
Japanese (ja)
Inventor
貴弘 渡邊
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2019512316A priority Critical patent/JPWO2019207729A1/en
Priority to PCT/JP2018/017053 priority patent/WO2019207729A1/en
Publication of WO2019207729A1 publication Critical patent/WO2019207729A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • the present invention relates to an industrial computer, an industrial computer system, an operating system update method, and a program.
  • Patent Document 1 describes a processing device that executes a program by loading a specific program into a main storage device from a plurality of programs stored in an auxiliary storage device at the time of activation.
  • the processing device includes a controller that controls reading of data from the auxiliary storage device, and the controller selectively loads a specific program according to the state of the switch set by the user.
  • the processing device stops operating. Therefore, it is desirable to update the OS at a date and time when the processing device can stop operating.
  • date and time since such date and time is limited to nighttime or holidays, the work burden on the worker increases.
  • processing apparatuses must be operated one by one in sequence, and man-hours increase when updating the OSs of a plurality of processing apparatuses.
  • the present invention has been made in view of the above circumstances, and an object thereof is to reduce the work load when updating the OS.
  • an industrial computer is an industrial computer connected to a server and operating with an operating system.
  • the operating system storage means for storing the first operating system and the first operating system are: Executed when the industrial computer is started when a predetermined condition is satisfied, an acquisition means for acquiring from the server a different second operating system, an update program for updating the first operating system to the second operating system And a first designation means for rebooting the industrial computer by designating the update program as a startup program to be executed, and the update program stores the first operating system stored in the operating system storage means as a second option.
  • the industrial computer acquires the second operating system and the update program from the server, and the update program functions as update means for updating the first operating system to the second operating system. For this reason, the operator does not need to directly operate the industrial computer.
  • the industrial computer updates the operating system when a predetermined condition is satisfied. For this reason, the operating system can be updated at an arbitrary timing by setting appropriate conditions. Therefore, the work burden on the worker can be reduced.
  • the block diagram which shows the structure of the industrial computer system which concerns on embodiment of this invention The figure which shows the structure of the information memorize
  • the flowchart which shows OS update processing which concerns on embodiment The flowchart which shows the BIOS process which concerns on embodiment 1st figure which shows the memory area formed in the main memory part which concerns on embodiment 2nd figure which shows the memory area formed in the main memory part which concerns on embodiment
  • the operating system is appropriately expressed as OS
  • the operating system update device 10 is expressed as OS update device 10.
  • the OS is software that serves as a basis for executing application software, and is system software that manages hardware.
  • the OS is a kind of program and is used by being stored in a storage device.
  • the OS update device 10 is an industrial computer that is arranged in a factory and operates on the OS.
  • the OS update device 10 updates its own OS to an OS distributed from a remote server device. Specifically, the OS update device 10 updates the OS by executing a program for updating the OS when the operation of the OS of the own device is once ended and then restarted.
  • the OS update device 10 is used for various purposes by exhibiting the function of the OS.
  • the OS update device 10 may be a controller that is connected to devices on the production line via an industrial network and controls these devices based on information collected from the devices. Further, the OS update device 10 may generate quality management information or production management information from information collected at the factory, or may accumulate such information.
  • the OS update device 10 may be a terminal device that functions as a user interface in an industrial system.
  • the OS update device 10 is connected to a server 21 via a communication path 20 and constitutes an industrial computer system 100 together with the server 21.
  • the communication path 20 may correspond to the above-described industrial network, or may be an information network realized by a combination of Ethernet and TCP / IP (Transmission Control Protocol / Internet Protocol), It may be the Internet.
  • the communication path 20 may be a dedicated line. Further, the communication path 20 may be a cable for wired communication or a transmission path for realizing wireless communication.
  • the server 21 is a data distribution server operated by a vendor that provides the OS of the OS update device 10.
  • the data distributed by the server 21 includes a second operating system 32 for updating the first operating system 31 currently used by the OS update device 10 and an update program 33 for updating the OS. It is.
  • the first operating system 31 is referred to as a first OS 31, and the second operating system 32 is referred to as a second OS 32.
  • the second OS 32 is an OS different from the first OS 31, and is normally a newer version of the OS than the first OS 31, but is not limited thereto.
  • the first OS 31 stored in the OS update device 10 may be replaced with an older version of the second OS.
  • the first OS 31 and the second OS 32 are collectively referred to as an OS.
  • the OS update device 10 includes a processor 11 including a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), a main storage unit 12 used as a work area of the processor 11, and a second OS 32. And an acquisition unit 13 that acquires the update program 33 from the server 21, a BIOS storage unit 14 that stores the BIOS, and startup information 151 for designating a startup program that is executed when the OS update device 10 is started up. It includes a startup information storage unit 15, an operating system storage unit 16 that stores an OS, and a program storage unit 17 that stores the second OS 32 and the update program 33 acquired by the acquisition unit 13.
  • a startup information storage unit 15 an operating system storage unit 16 that stores an OS
  • a program storage unit 17 that stores the second OS 32 and the update program 33 acquired by the acquisition unit 13.
  • the main storage unit 12, the acquisition unit 13, the BIOS storage unit 14, the startup information storage unit 15, the operating system storage unit 16, and the program storage unit 17 are all connected to the processor 11 via the internal bus 18.
  • the operating system storage unit 16 is referred to as an OS storage unit 16.
  • FIG. 1 a state before the second OS 32 and the update program 33 are distributed from the server 21 is shown. Since the second OS 32 and the update program 33 in the program storage unit 17 are not yet stored in the program storage unit 17, they are indicated by broken lines.
  • the processor 11 executes the BIOS. Further, when the OS stored in the OS storage unit 16 and the update program 33 stored in the program storage unit 17 are loaded into the main storage unit 12, the processor 11 executes various programs to execute various functions. And the processing described later is executed. Specifically, the processor 11 functions as the first designation unit 111 that designates the update program 33 as a startup program by executing the first OS 31 of the OS storage unit 16. The processor 11 also functions as the second designation unit 112 that designates the second OS 32 as the startup program by executing the update program 33 in the program storage unit 17 and functions as the update unit 113 that updates the first OS 31 to the second OS 32. To do.
  • the first designation unit 111 functions as a first designation unit of claims
  • the second designation unit 112 functions as a second designation unit of claims
  • the update unit 113 functions as an update unit of claims.
  • the second designation unit 112 and the update unit 113 realized by executing the update program 33 are indicated by broken lines because the update program 33 is not yet stored in the program storage unit 17. .
  • the main storage unit 12 includes a RAM (Random Access Memory).
  • the main storage unit 12 is loaded with the OS in the OS storage unit 16 and the update program 33 in the program storage unit 17. Details of the data loaded in the main storage unit 12 will be described later.
  • the acquisition unit 13 is configured as a communication module including a network interface circuit for communicating with an external device.
  • the acquisition unit 13 transmits information to the server 21 according to instructions from the processor 11 and receives information from the server 21.
  • the second OS 32 and the update program 33 acquired by the acquisition unit 13 are stored in the program storage unit 17 by the processor 11.
  • the acquisition unit 13 functions as an acquisition unit of claims.
  • the BIOS storage unit 14, the startup information storage unit 15, the OS storage unit 16, and the program storage unit 17 store various data used for processing of the processor 11. These storage units supply data used by the processor 11 to the processor 11 in accordance with instructions from the processor 11, and store the data supplied from the processor 11. Part or all of these storage units correspond to a so-called auxiliary storage device.
  • the BIOS storage unit 14 includes a nonvolatile memory.
  • the BIOS storage unit 14 stores a BIOS as firmware that is executed when the OS update device 10 is powered on and activated.
  • the BIOS is executed by the processor 11 immediately after the OS update device 10 is powered on.
  • the processor 11 that has executed the BIOS refers to the startup information 151, either the OS in the OS storage unit 16 or the update program 33 in the program storage unit 17 is selected and executed as a startup program.
  • the activation information storage unit 15 includes a nonvolatile RAM and stores activation information 151 indicating an activation program.
  • the activation information 151 stored in the activation information storage unit 15 is a flag indicating a 1-bit signal. If this flag is ON, the program storage unit is used as an activation program executed when the OS update device 10 is activated. This indicates that 17 update programs 33 are designated. If the flag is OFF, the activation information 151 indicates that the OS of the OS storage unit 16 is designated as the activation program. In FIG. 1, a dashed arrow extending from the boot information 151 to the first OS 31 indicates that the first OS 31 is designated as the boot program. Note that the activation of the OS update device 10 includes activation when the power is turned on by a user operation and restart of the OS update device 10 itself.
  • the startup information storage unit 15 functions as startup information storage means in the claims.
  • FIG. 2 shows the configuration of information stored in the activation information storage unit 15.
  • the activation information storage unit 15 includes a condition setting area 152 in addition to the activation information 151.
  • the condition setting area 152 is a storage area in which information related to conditions for updating the OS is set. Details of this condition will be described later.
  • the OS storage unit 16 and the program storage unit 17 include nonvolatile memories represented by EEPROM (Electrically Erasable Programmable Read-Only Memory) and HDD (Hard Disk Drive), respectively.
  • the OS storage unit 16 stores the first OS 31, and the second OS 32 and the update program 33 are written in the program storage unit 17.
  • the storage capacity of the program storage unit 17 may be any size that can store the second OS 32 and the update program 33. When the storage capacity of the program storage unit 17 is larger than the data size of the second OS 32 and the update program 33, other data may be stored in the program storage unit 17.
  • the OS storage unit 16 functions as an operating system storage unit according to the claims, and the program storage unit 17 functions as a program storage unit according to the claims.
  • the OS update process is a process for updating the first OS 31 stored in the OS storage unit 16 to the second OS 32 distributed from the server 21, and is executed according to the procedure shown in FIG.
  • the OS update device 10 executes a process different from the OS update represented by the control process, the arithmetic process, and the communication process during the execution of the OS. In the flow shown in FIG. Is omitted.
  • the OS update device 10 is activated (step S1). Specifically, when the user operates the hardware switch, the OS update device 10 is powered on.
  • the OS update device 10 executes a BIOS process using the BIOS stored in the BIOS storage unit 14 (step S2). This BIOS processing will be described with reference to FIG.
  • the processor 11 that executes the BIOS reads the activation information 151 from the activation information storage unit 15 (step S21). Then, the processor 11 determines whether or not the update program 33 in the program storage unit 17 is designated as the startup program (step S22). Specifically, the processor 11 determines whether the activation information 151 is ON.
  • the processor 11 loads the OS of the OS storage unit 16 into the main storage unit 12 (step S23).
  • the BIOS process in step S2 following step S1 in FIG. 3 the determination in step S22 is negative and the first OS 31 is loaded.
  • the main storage unit 12 stores a BIOS use area 121 used by the BIOS, an OS storage area 122 in which the first OS 31 is stored, and data used by the first OS 31.
  • OS data area 123 is formed.
  • the OS update device 10 is in a state where the function provided by the first OS 31 can be exhibited. Specifically, the state shown in FIG. 1 is obtained. Thereafter, the BIOS process ends.
  • step S22 If it is determined in step S22 that the update program 33 is designated as the activation program (step S22; Yes), the processor 11 loads the update program 33 in the program storage unit 17 into the main storage unit 12 (step S24). .
  • the main storage unit 12 is used by the BIOS use area 121 used by the BIOS, the update program storage area 124 in which the update program 33 is stored, and the update program 33.
  • An update program data area 125 in which data is stored is formed. Thereafter, the BIOS process ends.
  • step S2 the OS update device 10 executes the first OS process by the first OS 31 (step S3).
  • the first OS process will be described with reference to FIG.
  • the OS update device 10 inquires of the server 21 whether the second OS 32 can be transmitted (step S31). Specifically, the acquisition unit 13 inquires of the server 21 about the latest OS version that can be distributed.
  • the OS update device 10 determines whether or not the server 21 has received a response indicating that transmission is possible (step S32). Specifically, the acquisition unit 13 determines whether or not the latest distributable OS version is newer than the first OS 31 version.
  • step S32 If it is determined that transmission is not possible (step S32; No), the OS update device 10 repeats the processing from step S31. As a result, the OS update device 10 waits until distribution of the second OS 32 from the server 21 is started.
  • the OS update device 10 acquires the second OS 32 and the update program 33 and stores them in the program storage unit 17 (step S33). Specifically, the acquisition unit 13 receives the compressed second OS 32 and the update program 33 from the server 21 and sends them to the processor 11 to store them in the program storage unit 17. As a result, the program storage unit 17 is in a state of storing the compressed data of the second OS 32 and the update program 33, as shown in FIG. Since the compressed data of the second OS 32 is transmitted from the server 21 in this way, the transmission time can be shortened compared to the case where the compressed data is not compressed. Further, since the compressed data of the second OS 32 is stored in the program storage unit 17, the storage capacity of the program storage unit 17 can be saved as compared with the case where the compressed data is not compressed.
  • the OS update device 10 determines whether an update condition for updating the OS is satisfied (step S34). Specifically, the first designation unit 111 reads information stored in the condition setting area 152 of the activation information storage unit 15 and determines whether the set condition is satisfied.
  • the update condition is a condition defined in advance by the user. For example, the update date and time specified by the user has passed, the time specified in advance by the user has elapsed from the set time, or specified from the server 21 Information has been received.
  • the update conditions are not limited to these, and may be other conditions.
  • step S34 When it is determined that the update condition is not satisfied (step S34; No), the OS update device 10 repeats the determination of step S34. Thus, the OS update device 10 stores the second OS 32 and the update program 33 in the program storage unit 17 and prepares to update the OS, and then waits until the update condition is satisfied.
  • the OS update device 10 designates the update program 33 as the activation program (step S35). Specifically, the first designation unit 111 writes the activation information 151 indicating the update program 33 of the program storage unit 17 in the activation information storage unit 15, thereby designating the update program 33 as the activation program. More specifically, the first designation unit 111 changes the flag of the activation information 151 to ON. As a result, the OS update device 10 enters the state shown in FIG. In FIG. 9, the broken line arrow extending from the activation information 151 to the update program 33 indicates that the update program 33 is designated as the activation program.
  • step S36 the OS update device 10 restarts the OS update device 10 itself (step S36). Specifically, the first designation unit 111 performs setting so that the OS update device 10 is temporarily turned off and then turned on again. As a result, the power source of the OS update device 10 is once cut off, and the first OS process ends.
  • step S4 the OS update device 10 is restarted (step S4), and the BIOS process is executed again (step S2).
  • the BIOS process in step S2 following step S4 the process shown in FIG. 4 is executed.
  • the determination in step S22 in FIG. 4 is affirmed (step S22; Yes), and step S24 is executed.
  • the OS update device 10 is in a state where the function realized by the update program 33 can be exhibited.
  • the processor 11 functions as the second designation unit 112 and the update unit 113.
  • step S5 the OS update device 10 executes an update process by the update program 33 (step S5). This update process will be described with reference to FIG.
  • the OS update device 10 updates the first OS 31 stored in the OS storage unit 16 to the second OS 32 (step S51). Specifically, the update unit 113 reads out and expands the second OS 32 stored in the program storage unit 17 in a compressed state, and overwrites the OS storage unit 16 with the expanded second OS 32, whereby the OS storage unit The first OS 31 of 16 is rewritten to the second OS 32.
  • the OS update device 10 designates the second OS 32 as a startup program (step S52). Specifically, the second designation unit 112 writes the activation information 151 indicating the second OS 32 of the OS storage unit 16 in the activation information storage unit 15, thereby designating the second OS 32 as the activation program. More specifically, the second designation unit 112 changes the flag of the activation information 151 to OFF. As a result, the OS update device 10 enters the state shown in FIG. In FIG. 11, a broken line arrow extending from the activation information 151 to the second OS 32 indicates that the second OS 32 is designated as the activation program. Note that the second OS 32 implements the first designation unit 111 in the same manner as the first OS 31 in preparation for further OS updates. In FIG. 11, the block of the first designation unit 111 is indicated by a solid line.
  • step S52 the OS update device 10 restarts the OS update device 10 itself (step S53). Specifically, the second designation unit 112 performs setting so that the OS update device 10 is temporarily turned off and then turned on again. Thereby, the power source of the OS update device 10 is once cut off, and the update process ends.
  • step S5 when the update process of step S5 is completed, the OS update device 10 is restarted (step S6), and the BIOS process is executed again (step S2).
  • step S2 the BIOS process of step S2 following step S6, the second OS 32 of the OS storage unit 16 is executed. Thereby, the update from the first OS 31 to the second OS 32 is achieved, and the OS update process ends.
  • step S71 when an operation to turn on the OS update device 10 is performed (step S71), the BIOS stored in the BIOS storage unit 14 is loaded into the main storage unit 12, and the BIOS by the BIOS 30 is loaded. Processing is executed (step S2). In this step S2, since the activation information 151 is OFF, the BIOS 30 loads the first OS 31 from the OS storage unit 16 to the main storage unit 12 (step S72).
  • the first OS process is executed by the first OS 31 loaded in the main storage unit 12 (step S3).
  • the first OS processing includes acquisition of the second OS 32, acquisition of the update program 33, and change of the startup information 151. Thereafter, the OS update device 10 restarts (step S73).
  • the restarted OS update device 10 executes the BIOS process by the BIOS 30 again (step S2).
  • step S2 since the activation information 151 is set to ON, the update program 33 is loaded into the main storage unit 12 (step S74).
  • step S5 an update process is executed by the update program 33 loaded in the main storage unit 12 (step S5).
  • This update process includes an OS update and a change in the startup information 151. Thereafter, the OS update device 10 restarts (step S75).
  • the restarted OS update device 10 executes the BIOS process by the BIOS 30 again (step S2).
  • step S2 since the activation information 151 is set to OFF, a new second OS 32 is loaded into the main storage unit 12 (step S76). Then, the second OS process by the second OS 32 is executed (step S9). Thereby, the update of the OS is completed.
  • the OS update device 10 functions as the update unit 113 that acquires the second OS 32 and the update program 33 from the server 21 and updates the first OS 31 to the second OS 32. For this reason, it is not necessary for the operator in charge of OS update to directly operate the OS update device 10.
  • the OS update device 10 updates the OS when a predetermined condition is satisfied. Therefore, the OS can be updated at an arbitrary timing by setting appropriate conditions. Therefore, the work burden on the worker can be reduced.
  • the update program 33 functions as the second designation unit 112 that designates the second OS as the boot program and restarts the OS update device 10.
  • the OS of the OS storage unit 16 is updated, a new second OS can be used, and the user's work associated with the update process can be reduced.
  • the OS update device 10 includes a startup information storage unit 15, and the first specification unit 111 specifies the update program 33 as a startup program by writing the startup information 151 indicating the update program 33, and the second specification unit 112. Specified the second OS 32 as a startup program by writing the startup information 151 indicating the second OS 32.
  • the OS update device 10 is powered off and restarted, an appropriate program can be executed.
  • the acquisition unit 13 inquires of the server 21 whether the transmission of the second OS 32 is possible, and obtains the second OS 32 from the server 21 when obtaining a response indicating that the transmission is possible. Thereby, the second OS 32 can be distributed from the remote server 21. Moreover, the timing at which the second OS 32 is distributed can be adjusted by adjusting the time at which the server 21 completes preparation for distribution.
  • the obtaining unit 13 obtains a response indicating that the second OS 32 can be distributed, the obtaining unit 13 obtains the update program 33 together with the second OS 32 from the server 21.
  • an appropriate program can be distributed as the update program 33 for updating the first OS 31 to the second OS 32.
  • the update program 33 for further updating the second OS 32 to the third OS can be made suitable for the third OS.
  • the OS storage unit 16 and the program storage unit 17 are configured as different storage devices. Thereby, the OS can be updated without consuming the storage capacity of the OS storage unit 16.
  • the boot program is selected and executed by the BIOS 30. Accordingly, the update program 33 can be designed relatively easily, unlike a program executed as a part of the first OS 31 or on the first OS 31.
  • the OS update device 10 constitutes an industrial computer system 100 together with the server 21. According to the industrial computer system 100, since the server 21 distributes data, the OS can be easily updated for a large number of OS update devices 10.
  • the OS update device 10 restarts and updates the OS when a predetermined update condition is satisfied. If the update condition is set to have passed the date of midnight or holiday, the OS is updated immediately after that date. For this reason, it is not necessary for the worker to work at the time when the OS is updated, and the work burden can be reduced.
  • the OS 21 can transmit all the specific information from the server 21 to a plurality of OS update devices 10, thereby Can be updated in a batch.
  • the time required for the update operation increases in proportion to the number of units.
  • the time required for the update work is constant even if the number of units increases, so that the operation time can be significantly reduced particularly when the number of units is large.
  • the OS update device 10 updates the OS when the update condition is satisfied after downloading the second OS 32 in advance. Since the OS update device 10 stops operating while the OS is being updated, when the second OS 32 is downloaded via the communication path 20 after starting the OS update process, the OS is updated at least for the time required for the download. The operation of the apparatus 10 stops, and the stop time is prolonged. Furthermore, if a communication error occurs during download, the process for updating the OS is interrupted. Therefore, in the present embodiment, the second OS 32 is downloaded in advance, and the second OS 32 is written in the OS storage unit 16 in the OS update process, so that the stop time of the OS update device 10 can be shortened.
  • the activation information storage unit 15 is not limited to a nonvolatile memory, and may be any configuration that represents 1-bit information.
  • the activation information storage unit 15 may be realized using a hardware switch.
  • the activation information 151 is not limited to 1-bit information, and may be information indicating an address of the activation program, for example.
  • update condition according to the above embodiment is stored in the activation information storage unit 15, it is not limited to this.
  • the OS storage unit 16 or the program storage unit 17 may store information regarding update conditions.
  • the activation information storage unit 15 and the program storage unit 17 may store other data in addition to the data described in the above embodiment. Examples of other data include an OS and a user program.
  • the OS update device 10 may include, as a user interface, an input unit that acquires information input by a user and an output unit that outputs information to the user. Further, the OS update device 10 may be connected to an external user interface terminal via the acquisition unit 13 as a communication module.
  • the update unit 113 has rewritten the first OS 31 stored in the OS storage unit 16 with the second OS 32
  • the present invention is not limited to this.
  • the updating unit 113 may update by storing the second OS 32 in a storage area different from the first OS 31 of the OS storage unit 16. Even in this case, since the second OS 32 is designated as the startup program, the OS is updated.
  • designated part 111 was exhibited as a function of 1st OS, it is not limited to this, You may implement
  • the acquisition unit 13 has acquired the second OS 32 and the update program 33 at the same time, the acquisition unit 13 is not limited to this, and may be acquired at different timings. Further, the server 21 may transmit the second OS 32 and the update program 33 to the OS update device 10 without distributing the OS to many devices.
  • the functions of the OS update device 10 can be realized by dedicated hardware or by a normal computer system.
  • a program executed by the processor 11 may be stored in a computer-readable non-transitory recording medium and distributed, and the program may be installed in the computer to constitute an apparatus that executes the above-described processing. it can.
  • a recording medium for example, a flexible disk, a CD-ROM (Compact Disc-Read-Only Memory), a DVD (Digital Versatile Disc), and an MO (Magneto-Optical Disc) can be considered.
  • the program may be stored in a disk device included in a server device on a communication network represented by the Internet, and may be downloaded onto a computer, for example, superimposed on a carrier wave.
  • processing can be achieved by starting and executing a program while transferring it via a communication network.
  • processing can also be achieved by executing all or part of the program on the server device and executing the program while the computer transmits / receives information related to the processing via the communication network.
  • the above functions are realized by sharing the OS, or when the functions are realized by cooperation between the OS and the application, only the part other than the OS may be stored in the medium and distributed. It may be downloaded to a computer.
  • the means for realizing the function of the OS update device 10 is not limited to software, and part or all of the means may be realized by dedicated hardware including a circuit.
  • the first designation unit 111, the second designation unit 112, and the update unit 113 are realized by executing the first OS 31 and the update program 33, but are not limited thereto, and are realized by dedicated hardware. May be.
  • the present invention is suitable for updating the OS of the apparatus.
  • OS update device 10 OS update device, 11 processor, 111 1st designation unit, 112 2nd designation unit, 113 update unit, 12 main storage unit, 121 BIOS usage area, 122 OS storage area, 123 OS data area, 123 OS data area, 124 update program storage area, 125 update program data area, 13 acquisition unit, 14 BIOS storage unit, 15 startup information storage unit, 151 startup information, 152 condition setting area, 16 OS storage unit, 17 program storage unit, 18 internal bus, 20 communication paths, 21 servers, 30 BIOS, 31 1st OS, 32 2nd OS, 33 update programs.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

An OS update device (10) is connected to a server (21) and operates with an OS, said device comprising an OS storage part (16), an acquisition part (13), and a first designation part (111). The OS storage part (16) stores a first OS (31). The acquisition part (13) acquires, from the server (21), a second OS (32) which differs from the first OS (31), and an update program (33) for updating the first OS (31) to the second OS (32). When a predefined condition has been met, the first designation part (111) designates the update program (33) as a launch program to be executed when the OS update device (10) launches, and relaunches the OS update device (10). The update program (33) functions as: an update part (113) for updating the first OS (31) on the OS storage part (16) to the second OS (32); and a second designation part (112) for designating the second OS (32) as the launch program, and relaunching the OS update device (10).

Description

産業用コンピュータ、産業用コンピュータシステム、オペレーティングシステム更新方法及びプログラムIndustrial computer, industrial computer system, operating system update method and program
 本発明は、産業用コンピュータ、産業用コンピュータシステム、オペレーティングシステム更新方法及びプログラムに関する。 The present invention relates to an industrial computer, an industrial computer system, an operating system update method, and a program.
 工場に代表される施設では、生産システム、検査システム及び加工システムに代表される種々のシステムが、プログラムを実行する処理装置によって実現されている。この種の処理装置の動作を変更するためには、通常、実行されるプログラムを変更する必要がある。そこで、複数のプログラムを切り替える技術を利用することが考えられる(例えば、特許文献1を参照)。 In a facility represented by a factory, various systems represented by a production system, an inspection system, and a processing system are realized by a processing device that executes a program. In order to change the operation of this type of processing apparatus, it is usually necessary to change the program to be executed. Therefore, it is conceivable to use a technique for switching a plurality of programs (for example, see Patent Document 1).
 特許文献1には、起動時に補助記憶装置に記憶されている複数のプログラムから特定のプログラムを主記憶装置にロードする方式でプログラムを実行する処理装置について記載されている。この処理装置は、補助記憶装置からのデータの読み出しを制御するコントローラを有し、当該コントローラは、ユーザによって設定されたスイッチの状態に応じて特定のプログラムを選択的にロードする。 Patent Document 1 describes a processing device that executes a program by loading a specific program into a main storage device from a plurality of programs stored in an auxiliary storage device at the time of activation. The processing device includes a controller that controls reading of data from the auxiliary storage device, and the controller selectively loads a specific program according to the state of the switch set by the user.
特開昭58-112118号公報JP 58-112118 A
 しかしながら、特許文献1の技術では、処理装置のOS(Operating System)を更新する必要が生じた場合に、作業者が煩雑な作業を強いられるおそれがある。この作業は、例えば、OSを更新するためのプログラムを処理装置に記憶させた上で、主記憶装置にロードされるプログラムを切り替えるためにスイッチを操作する作業である。そして、処理装置が遠隔地、高所、或いは狭いスペースに設置されているときには、スイッチの直接操作に長い時間がかかってしまう。 However, in the technique of Patent Document 1, when there is a need to update the OS (Operating System) of the processing apparatus, there is a risk that the operator may be forced to perform complicated work. This operation is, for example, an operation of operating a switch to switch a program loaded in the main storage device after storing a program for updating the OS in the processing device. When the processing device is installed in a remote place, a high place, or a narrow space, it takes a long time to directly operate the switch.
 さらに、OSを更新する際には処理装置が動作を停止することとなるため、処理装置が動作を停止しても差し支えない日時にOSを更新することが望ましい。しかしながら、一般的には、そのような日時が夜間又は休日に限られることからも、作業者の作業負担が大きくなる。また、処理装置を1台ずつ順に操作しなければならず、複数の処理装置のOSを更新するときには工数が多くなることからも、作業者の作業負担が大きくなる。 Furthermore, when the OS is updated, the processing device stops operating. Therefore, it is desirable to update the OS at a date and time when the processing device can stop operating. However, in general, since such date and time is limited to nighttime or holidays, the work burden on the worker increases. In addition, the processing apparatuses must be operated one by one in sequence, and man-hours increase when updating the OSs of a plurality of processing apparatuses.
 本発明は、上記の事情に鑑みてなされたものであり、OSを更新する際の作業負担を軽減することを目的とする。 The present invention has been made in view of the above circumstances, and an object thereof is to reduce the work load when updating the OS.
 上記目的を達成するため、本発明の産業用コンピュータは、サーバに接続されオペレーティングシステムで動作する産業用コンピュータであって、第1オペレーティングシステムを記憶するオペレーティングシステム記憶手段と、第1オペレーティングシステムとは異なる第2オペレーティングシステムと、第1オペレーティングシステムを第2オペレーティングシステムに更新する更新プログラムと、をサーバから取得する取得手段と、予め規定された条件が成立すると、産業用コンピュータが起動する際に実行される起動プログラムとして更新プログラムを指定して産業用コンピュータを再起動する第1指定手段と、を備え、更新プログラムは、オペレーティングシステム記憶手段に記憶される第1オペレーティングシステムを第2オペレーティングシステムに更新する更新手段、及び、起動プログラムとして第2オペレーティングシステムを指定して産業用コンピュータを再起動する第2指定手段、として機能する。 In order to achieve the above object, an industrial computer according to the present invention is an industrial computer connected to a server and operating with an operating system. The operating system storage means for storing the first operating system and the first operating system are: Executed when the industrial computer is started when a predetermined condition is satisfied, an acquisition means for acquiring from the server a different second operating system, an update program for updating the first operating system to the second operating system And a first designation means for rebooting the industrial computer by designating the update program as a startup program to be executed, and the update program stores the first operating system stored in the operating system storage means as a second option. Updating means for updating the rating system, and functions as a second specifying means, to restart the industrial computer by specifying the second operating system as a boot program.
 本発明によれば、産業用コンピュータは、サーバから第2オペレーティングシステムと更新プログラムとを取得して、当該更新プログラムが、第1オペレーティングシステムを第2オペレーティングシステムに更新する更新手段として機能する。このため、作業者が産業用コンピュータを直接操作する必要はない。また、産業用コンピュータは、予め規定された条件が成立したときにオペレーティングシステムを更新する。このため、適当な条件を設定することで、任意のタイミングにオペレーティングシステムを更新させることができる。したがって、作業者の作業負担を軽減することができる。 According to the present invention, the industrial computer acquires the second operating system and the update program from the server, and the update program functions as update means for updating the first operating system to the second operating system. For this reason, the operator does not need to directly operate the industrial computer. The industrial computer updates the operating system when a predetermined condition is satisfied. For this reason, the operating system can be updated at an arbitrary timing by setting appropriate conditions. Therefore, the work burden on the worker can be reduced.
本発明の実施の形態に係る産業用コンピュータシステムの構成を示すブロック図The block diagram which shows the structure of the industrial computer system which concerns on embodiment of this invention 実施の形態に係る起動情報記憶部に記憶される情報の構成を示す図The figure which shows the structure of the information memorize | stored in the starting information storage part which concerns on embodiment 実施の形態に係るOS更新処理を示すフローチャートThe flowchart which shows OS update processing which concerns on embodiment 実施の形態に係るBIOS処理を示すフローチャートThe flowchart which shows the BIOS process which concerns on embodiment 実施の形態に係る主記憶部に形成される記憶領域を示す第1の図1st figure which shows the memory area formed in the main memory part which concerns on embodiment 実施の形態に係る主記憶部に形成される記憶領域を示す第2の図2nd figure which shows the memory area formed in the main memory part which concerns on embodiment 実施の形態に係る第1OS処理を示すフローチャートThe flowchart which shows the 1st OS processing concerning an embodiment 実施の形態に係るプログラム記憶部に記憶される情報の構成を示す図The figure which shows the structure of the information memorize | stored in the program storage part which concerns on embodiment 実施の形態に係るオペレーティングシステム更新装置の状態を示す第1の図The 1st figure which shows the state of the operating system update apparatus which concerns on embodiment 実施の形態に係る更新処理を示すフローチャートThe flowchart which shows the update process which concerns on embodiment 実施の形態に係るオペレーティングシステム更新装置の状態を示す第2の図The 2nd figure which shows the state of the operating system update apparatus which concerns on embodiment 実施の形態に係るオペレーティングシステム更新装置によって実行されるプログラムの遷移を示す図The figure which shows the transition of the program performed by the operating system update apparatus which concerns on embodiment
 以下、本発明の実施の形態に係るオペレーティングシステム更新装置10について、図面を参照しつつ詳細に説明する。以下では、オペレーティングシステムを適宜OSと表記し、オペレーティングシステム更新装置10をOS更新装置10と表記する。OSは、アプリケーションソフトウェアを実行する基盤となるソフトウェアであって、ハードウェアを管理するシステムソフトウェアである。OSは、プログラムの一種であって、記憶装置に記憶されて利用される。 Hereinafter, an operating system updating apparatus 10 according to an embodiment of the present invention will be described in detail with reference to the drawings. Hereinafter, the operating system is appropriately expressed as OS, and the operating system update device 10 is expressed as OS update device 10. The OS is software that serves as a basis for executing application software, and is system software that manages hardware. The OS is a kind of program and is used by being stored in a storage device.
 実施の形態.
 本実施の形態に係るOS更新装置10は、工場に配置されOSで動作する産業用コンピュータである。OS更新装置10は、自機のOSを、遠隔のサーバ装置から配信されるOSに更新する。詳細には、OS更新装置10は、自機のOSによる動作を一旦終了してから再起動したときに、OSを更新するためのプログラムを実行することにより、OSを更新する。
Embodiment.
The OS update device 10 according to the present embodiment is an industrial computer that is arranged in a factory and operates on the OS. The OS update device 10 updates its own OS to an OS distributed from a remote server device. Specifically, the OS update device 10 updates the OS by executing a program for updating the OS when the operation of the OS of the own device is once ended and then restarted.
 OS更新装置10は、OSの機能を発揮することで、種々の用途に利用される。例えば、OS更新装置10は、産業用ネットワークを介して製造ラインの機器と接続され、機器から収集した情報に基づいてこれら機器を制御するコントローラであってもよい。また、OS更新装置10は、工場において収集された情報から、品質管理情報又は生産管理情報を生成してもよいし、これらの情報を蓄積してもよい。さらにOS更新装置10は、産業システムにおいてユーザインタフェースとして機能する端末機器であってもよい。 The OS update device 10 is used for various purposes by exhibiting the function of the OS. For example, the OS update device 10 may be a controller that is connected to devices on the production line via an industrial network and controls these devices based on information collected from the devices. Further, the OS update device 10 may generate quality management information or production management information from information collected at the factory, or may accumulate such information. Furthermore, the OS update device 10 may be a terminal device that functions as a user interface in an industrial system.
 OS更新装置10は、図1に示されるように、通信路20を介してサーバ21に接続され、このサーバ21とともに産業用コンピュータシステム100を構成する。通信路20は、上述の産業用ネットワークに相当するものであってもよいし、EthernetとTCP/IP(Transmission Control Protocol/Internet Protocol)との組合せで実現される情報ネットワークであってもよいし、インターネットであってもよい。また、通信路20は、専用線であってもよい。さらに通信路20は、有線通信のためのケーブルであってもよいし、無線通信を実現する伝送路であってもよい。 As shown in FIG. 1, the OS update device 10 is connected to a server 21 via a communication path 20 and constitutes an industrial computer system 100 together with the server 21. The communication path 20 may correspond to the above-described industrial network, or may be an information network realized by a combination of Ethernet and TCP / IP (Transmission Control Protocol / Internet Protocol), It may be the Internet. The communication path 20 may be a dedicated line. Further, the communication path 20 may be a cable for wired communication or a transmission path for realizing wireless communication.
 サーバ21は、OS更新装置10のOSを提供する業者によって運営されるデータ配信サーバである。サーバ21によって配信されるデータには、OS更新装置10によって現在利用されている第1オペレーティングシステム31を更新するための第2オペレーティングシステム32と、OSを更新するための更新プログラム33と、が含まれる。以下では、第1オペレーティングシステム31を第1OS31と表記し、第2オペレーティングシステム32を第2OS32と表記する。 The server 21 is a data distribution server operated by a vendor that provides the OS of the OS update device 10. The data distributed by the server 21 includes a second operating system 32 for updating the first operating system 31 currently used by the OS update device 10 and an update program 33 for updating the OS. It is. Hereinafter, the first operating system 31 is referred to as a first OS 31, and the second operating system 32 is referred to as a second OS 32.
 ここで、第2OS32は、第1OS31とは異なるOSであって、通常は、第1OS31より新しいバージョンのOSであるが、これには限定されない。例えば、第1OS31について何らかの不都合が明らかになった場合に、OS更新装置10に記憶される第1OS31を、より古いバージョンの第2OSに置き換えることも考えられる。以下では、第1OS31及び第2OS32を総称して単にOSという。 Here, the second OS 32 is an OS different from the first OS 31, and is normally a newer version of the OS than the first OS 31, but is not limited thereto. For example, when some inconvenience is revealed for the first OS 31, the first OS 31 stored in the OS update device 10 may be replaced with an older version of the second OS. Hereinafter, the first OS 31 and the second OS 32 are collectively referred to as an OS.
 OS更新装置10は、図1に示されるように、CPU(Central Processing Unit)又はMPU(Micro Processing Unit)を含むプロセッサ11と、プロセッサ11の作業領域として利用される主記憶部12と、第2OS32及び更新プログラム33をサーバ21から取得する取得部13と、BIOSを記憶するBIOS記憶部14と、OS更新装置10が起動する際に実行される起動プログラムを指定するための起動情報151を記憶する起動情報記憶部15と、OSを記憶するオペレーティングシステム記憶部16と、取得部13によって取得された第2OS32及び更新プログラム33を記憶するためのプログラム記憶部17と、を有する。主記憶部12、取得部13、BIOS記憶部14、起動情報記憶部15、オペレーティングシステム記憶部16及びプログラム記憶部17はいずれも、内部バス18を介してプロセッサ11に接続される。以下では、オペレーティングシステム記憶部16をOS記憶部16と表記する。 As shown in FIG. 1, the OS update device 10 includes a processor 11 including a CPU (Central Processing Unit) or an MPU (Micro Processing Unit), a main storage unit 12 used as a work area of the processor 11, and a second OS 32. And an acquisition unit 13 that acquires the update program 33 from the server 21, a BIOS storage unit 14 that stores the BIOS, and startup information 151 for designating a startup program that is executed when the OS update device 10 is started up. It includes a startup information storage unit 15, an operating system storage unit 16 that stores an OS, and a program storage unit 17 that stores the second OS 32 and the update program 33 acquired by the acquisition unit 13. The main storage unit 12, the acquisition unit 13, the BIOS storage unit 14, the startup information storage unit 15, the operating system storage unit 16, and the program storage unit 17 are all connected to the processor 11 via the internal bus 18. Hereinafter, the operating system storage unit 16 is referred to as an OS storage unit 16.
 なお、図1では、第2OS32及び更新プログラム33がサーバ21から配信される前の状態が示されている。プログラム記憶部17中の第2OS32及び更新プログラム33は、未だプログラム記憶部17には格納されていないことから、破線で示されている。 In FIG. 1, a state before the second OS 32 and the update program 33 are distributed from the server 21 is shown. Since the second OS 32 and the update program 33 in the program storage unit 17 are not yet stored in the program storage unit 17, they are indicated by broken lines.
 プロセッサ11は、BIOSを実行する。また、プロセッサ11は、OS記憶部16に記憶されるOS及びプログラム記憶部17に格納される更新プログラム33が主記憶部12にロードされると、これらのプログラムを実行することにより、種々の機能を実現して後述の処理を実行する。詳細には、プロセッサ11は、OS記憶部16の第1OS31を実行することにより、起動プログラムとして更新プログラム33を指定する第1指定部111として機能する。また、プロセッサ11は、プログラム記憶部17の更新プログラム33を実行することにより、起動プログラムとして第2OS32を指定する第2指定部112として機能し、第1OS31を第2OS32に更新する更新部113として機能する。第1指定部111は、請求項の第1指定手段として機能し、第2指定部112は、請求項の第2指定手段として機能し、更新部113は、請求項の更新手段として機能する。図1に示す状態では、更新プログラム33の実行により実現される第2指定部112及び更新部113は、更新プログラム33がプログラム記憶部17に未だ格納されていないことから、破線で示されている。 The processor 11 executes the BIOS. Further, when the OS stored in the OS storage unit 16 and the update program 33 stored in the program storage unit 17 are loaded into the main storage unit 12, the processor 11 executes various programs to execute various functions. And the processing described later is executed. Specifically, the processor 11 functions as the first designation unit 111 that designates the update program 33 as a startup program by executing the first OS 31 of the OS storage unit 16. The processor 11 also functions as the second designation unit 112 that designates the second OS 32 as the startup program by executing the update program 33 in the program storage unit 17 and functions as the update unit 113 that updates the first OS 31 to the second OS 32. To do. The first designation unit 111 functions as a first designation unit of claims, the second designation unit 112 functions as a second designation unit of claims, and the update unit 113 functions as an update unit of claims. In the state shown in FIG. 1, the second designation unit 112 and the update unit 113 realized by executing the update program 33 are indicated by broken lines because the update program 33 is not yet stored in the program storage unit 17. .
 主記憶部12は、RAM(Random Access Memory)を含む。主記憶部12には、OS記憶部16のOS及びプログラム記憶部17の更新プログラム33がロードされる。主記憶部12にロードされるデータの詳細については後述する。 The main storage unit 12 includes a RAM (Random Access Memory). The main storage unit 12 is loaded with the OS in the OS storage unit 16 and the update program 33 in the program storage unit 17. Details of the data loaded in the main storage unit 12 will be described later.
 取得部13は、外部の装置と通信するためのネットワークインタフェース回路を含む通信モジュールとして構成される。取得部13は、プロセッサ11の指示に従ってサーバ21に情報を送信し、サーバ21から情報を受信する。取得部13によって取得された第2OS32及び更新プログラム33は、プロセッサ11によってプログラム記憶部17に格納される。取得部13は、請求項の取得手段として機能する。 The acquisition unit 13 is configured as a communication module including a network interface circuit for communicating with an external device. The acquisition unit 13 transmits information to the server 21 according to instructions from the processor 11 and receives information from the server 21. The second OS 32 and the update program 33 acquired by the acquisition unit 13 are stored in the program storage unit 17 by the processor 11. The acquisition unit 13 functions as an acquisition unit of claims.
 BIOS記憶部14、起動情報記憶部15、OS記憶部16及びプログラム記憶部17は、プロセッサ11の処理に用いられる種々のデータを記憶する。これらの記憶部は、プロセッサ11の指示に従って、プロセッサ11によって利用されるデータをプロセッサ11に供給し、プロセッサ11から供給されたデータを記憶する。これらの記憶部の一部又は全部が、いわゆる補助記憶装置に相当する。 The BIOS storage unit 14, the startup information storage unit 15, the OS storage unit 16, and the program storage unit 17 store various data used for processing of the processor 11. These storage units supply data used by the processor 11 to the processor 11 in accordance with instructions from the processor 11, and store the data supplied from the processor 11. Part or all of these storage units correspond to a so-called auxiliary storage device.
 BIOS記憶部14は、不揮発性メモリを含む。BIOS記憶部14は、OS更新装置10の電源が投入されて起動するときに実行されるファームウェアとしてのBIOSを記憶する。BIOSは、OS更新装置10の電源が投入された直後にプロセッサ11によって実行される。BIOSを実行したプロセッサ11が起動情報151を参照することにより、OS記憶部16のOSと、プログラム記憶部17の更新プログラム33と、のいずれか一方が起動プログラムとして選択されて実行される。 The BIOS storage unit 14 includes a nonvolatile memory. The BIOS storage unit 14 stores a BIOS as firmware that is executed when the OS update device 10 is powered on and activated. The BIOS is executed by the processor 11 immediately after the OS update device 10 is powered on. When the processor 11 that has executed the BIOS refers to the startup information 151, either the OS in the OS storage unit 16 or the update program 33 in the program storage unit 17 is selected and executed as a startup program.
 起動情報記憶部15は、不揮発性のRAMを含み、起動プログラムを示す起動情報151を記憶する。起動情報記憶部15に記憶される起動情報151は、1ビットの信号を示すフラグであって、このフラグがONであれば、OS更新装置10の起動時に実行される起動プログラムとして、プログラム記憶部17の更新プログラム33が指定されていることを示す。また、フラグがOFFであれば、起動情報151は、起動プログラムとしてOS記憶部16のOSが指定されていることを示す。図1では、起動情報151から第1OS31へ延びる破線の矢印によって、第1OS31が起動プログラムとして指定されていることが示されている。なお、OS更新装置10の起動は、ユーザの操作によって電源が投入されることによる起動と、OS更新装置10自体の再起動と、を含む。起動情報記憶部15は、請求項の起動情報記憶手段として機能する。 The activation information storage unit 15 includes a nonvolatile RAM and stores activation information 151 indicating an activation program. The activation information 151 stored in the activation information storage unit 15 is a flag indicating a 1-bit signal. If this flag is ON, the program storage unit is used as an activation program executed when the OS update device 10 is activated. This indicates that 17 update programs 33 are designated. If the flag is OFF, the activation information 151 indicates that the OS of the OS storage unit 16 is designated as the activation program. In FIG. 1, a dashed arrow extending from the boot information 151 to the first OS 31 indicates that the first OS 31 is designated as the boot program. Note that the activation of the OS update device 10 includes activation when the power is turned on by a user operation and restart of the OS update device 10 itself. The startup information storage unit 15 functions as startup information storage means in the claims.
 図2には、起動情報記憶部15に記憶される情報の構成が示されている。図2に示されるように、起動情報記憶部15は、起動情報151に加えて、条件設定領域152を有する。条件設定領域152は、OSを更新するための条件に関する情報が設定される記憶領域である。この条件の詳細については、後述する。 FIG. 2 shows the configuration of information stored in the activation information storage unit 15. As illustrated in FIG. 2, the activation information storage unit 15 includes a condition setting area 152 in addition to the activation information 151. The condition setting area 152 is a storage area in which information related to conditions for updating the OS is set. Details of this condition will be described later.
 図1に戻り、OS記憶部16及びプログラム記憶部17はそれぞれ、EEPROM(Electrically Erasable Programmable Read-Only Memory)及びHDD(Hard Disk Drive)に代表される不揮発性メモリを含む。OS記憶部16は、第1OS31を記憶し、プログラム記憶部17には、第2OS32及び更新プログラム33が書き込まれる。プログラム記憶部17の記憶容量は、第2OS32及び更新プログラム33の格納が可能なサイズであればよい。プログラム記憶部17の記憶容量が第2OS32及び更新プログラム33のデータサイズより大きい場合には、他のデータがプログラム記憶部17に格納されてもよい。OS記憶部16は、請求項のオペレーティングシステム記憶手段として機能し、プログラム記憶部17は、請求項のプログラム記憶手段として機能する。 Returning to FIG. 1, the OS storage unit 16 and the program storage unit 17 include nonvolatile memories represented by EEPROM (Electrically Erasable Programmable Read-Only Memory) and HDD (Hard Disk Drive), respectively. The OS storage unit 16 stores the first OS 31, and the second OS 32 and the update program 33 are written in the program storage unit 17. The storage capacity of the program storage unit 17 may be any size that can store the second OS 32 and the update program 33. When the storage capacity of the program storage unit 17 is larger than the data size of the second OS 32 and the update program 33, other data may be stored in the program storage unit 17. The OS storage unit 16 functions as an operating system storage unit according to the claims, and the program storage unit 17 functions as a program storage unit according to the claims.
 続いて、OS更新装置10によって実行されるOS更新処理のフローについて、図3~11を用いて説明する。OS更新処理は、OS記憶部16に記憶される第1OS31を、サーバ21から配信される第2OS32に更新する処理であって、図3に示される手順で実行される。なお、OS更新装置10は、OSの実行中において、制御処理、演算処理及び通信処理に代表されるOSの更新とは異なる処理を実行するが、図3に示されるフローでは、このような処理については省略されている。 Subsequently, the flow of OS update processing executed by the OS update device 10 will be described with reference to FIGS. The OS update process is a process for updating the first OS 31 stored in the OS storage unit 16 to the second OS 32 distributed from the server 21, and is executed according to the procedure shown in FIG. The OS update device 10 executes a process different from the OS update represented by the control process, the arithmetic process, and the communication process during the execution of the OS. In the flow shown in FIG. Is omitted.
 OS更新処理では、OS更新装置10が起動する(ステップS1)。具体的には、ユーザがハードウェアスイッチを操作することで、OS更新装置10の電源が投入される。 In the OS update process, the OS update device 10 is activated (step S1). Specifically, when the user operates the hardware switch, the OS update device 10 is powered on.
 次に、OS更新装置10は、BIOS記憶部14に記憶されるBIOSによりBIOS処理を実行する(ステップS2)。このBIOS処理について、図4を用いて説明する。 Next, the OS update device 10 executes a BIOS process using the BIOS stored in the BIOS storage unit 14 (step S2). This BIOS processing will be described with reference to FIG.
 BIOS処理では、BIOSを実行するプロセッサ11が、起動情報記憶部15から起動情報151を読み出す(ステップS21)。そして、プロセッサ11は、起動プログラムとしてプログラム記憶部17の更新プログラム33が指定されているか否かを判定する(ステップS22)。具体的には、プロセッサ11は、起動情報151がONであるかを判定する。 In the BIOS process, the processor 11 that executes the BIOS reads the activation information 151 from the activation information storage unit 15 (step S21). Then, the processor 11 determines whether or not the update program 33 in the program storage unit 17 is designated as the startup program (step S22). Specifically, the processor 11 determines whether the activation information 151 is ON.
 起動プログラムとして更新プログラム33が指定されていないと判定した場合(ステップS22;No)、プロセッサ11は、OS記憶部16のOSを主記憶部12にロードする(ステップS23)。図3中のステップS1に続くステップS2のBIOS処理においては、ステップS22の判定が否定され、第1OS31がロードされる。これにより、主記憶部12には、図5に示されるように、BIOSによって使用されるBIOS使用領域121と、第1OS31が格納されるOS格納領域122と、第1OS31によって使用されるデータが格納されるOSデータ領域123と、が形成される。そして、OS更新装置10は、第1OS31によって提供される機能を発揮することができる状態になる。具体的には、図1に示される状態になる。その後、BIOS処理が終了する。 When it is determined that the update program 33 is not designated as the activation program (step S22; No), the processor 11 loads the OS of the OS storage unit 16 into the main storage unit 12 (step S23). In the BIOS process in step S2 following step S1 in FIG. 3, the determination in step S22 is negative and the first OS 31 is loaded. Thereby, as shown in FIG. 5, the main storage unit 12 stores a BIOS use area 121 used by the BIOS, an OS storage area 122 in which the first OS 31 is stored, and data used by the first OS 31. OS data area 123 is formed. Then, the OS update device 10 is in a state where the function provided by the first OS 31 can be exhibited. Specifically, the state shown in FIG. 1 is obtained. Thereafter, the BIOS process ends.
 ステップS22にて起動プログラムとして更新プログラム33が指定されていると判定した場合(ステップS22;Yes)、プロセッサ11は、プログラム記憶部17の更新プログラム33を主記憶部12にロードする(ステップS24)。これにより、主記憶部12には、図6に示されるように、BIOSによって使用されるBIOS使用領域121と、更新プログラム33が格納される更新プログラム格納領域124と、更新プログラム33によって使用されるデータが格納される更新プログラムデータ領域125と、が形成される。その後、BIOS処理が終了する。 If it is determined in step S22 that the update program 33 is designated as the activation program (step S22; Yes), the processor 11 loads the update program 33 in the program storage unit 17 into the main storage unit 12 (step S24). . As a result, as shown in FIG. 6, the main storage unit 12 is used by the BIOS use area 121 used by the BIOS, the update program storage area 124 in which the update program 33 is stored, and the update program 33. An update program data area 125 in which data is stored is formed. Thereafter, the BIOS process ends.
 図3に戻り、ステップS2に続いて、OS更新装置10は、第1OS31による第1OS処理を実行する(ステップS3)。この第1OS処理について、図7を用いて説明する。 3, following step S2, the OS update device 10 executes the first OS process by the first OS 31 (step S3). The first OS process will be described with reference to FIG.
 第1OS処理では、OS更新装置10は、第2OS32の送信が可能であるかをサーバ21に問い合わせる(ステップS31)。具体的には、取得部13が、配信可能な最新のOSのバージョンをサーバ21に問い合わせる。 In the first OS process, the OS update device 10 inquires of the server 21 whether the second OS 32 can be transmitted (step S31). Specifically, the acquisition unit 13 inquires of the server 21 about the latest OS version that can be distributed.
 次に、OS更新装置10は、送信が可能である旨の応答をサーバ21から得たか否かを判定する(ステップS32)。具体的には、取得部13が、配信可能な最新のOSのバージョンが、第1OS31のバージョンより新しいか否かを判定する。 Next, the OS update device 10 determines whether or not the server 21 has received a response indicating that transmission is possible (step S32). Specifically, the acquisition unit 13 determines whether or not the latest distributable OS version is newer than the first OS 31 version.
 送信可能ではないと判定した場合(ステップS32;No)、OS更新装置10は、ステップS31以降の処理を繰り返す。これにより、サーバ21から第2OS32の配信が開始されるまで、OS更新装置10が待機することとなる。 If it is determined that transmission is not possible (step S32; No), the OS update device 10 repeats the processing from step S31. As a result, the OS update device 10 waits until distribution of the second OS 32 from the server 21 is started.
 一方、送信可能であると判定した場合(ステップS32;Yes)、OS更新装置10は、第2OS32及び更新プログラム33を取得してプログラム記憶部17に格納する(ステップS33)。具体的には、取得部13が、圧縮された状態の第2OS32と、更新プログラム33と、をサーバ21から受信して、プロセッサ11に送出することによりプログラム記憶部17に格納する。これにより、プログラム記憶部17は、図8に示されるように、第2OS32の圧縮データ及び更新プログラム33を記憶する状態となる。このように第2OS32の圧縮データがサーバ21から伝送されるため、圧縮されない場合に比べて伝送時間を短縮することができる。また、第2OS32の圧縮データがプログラム記憶部17に格納されるため、圧縮されない場合に比べてプログラム記憶部17の記憶容量を節約することができる。 On the other hand, if it is determined that transmission is possible (step S32; Yes), the OS update device 10 acquires the second OS 32 and the update program 33 and stores them in the program storage unit 17 (step S33). Specifically, the acquisition unit 13 receives the compressed second OS 32 and the update program 33 from the server 21 and sends them to the processor 11 to store them in the program storage unit 17. As a result, the program storage unit 17 is in a state of storing the compressed data of the second OS 32 and the update program 33, as shown in FIG. Since the compressed data of the second OS 32 is transmitted from the server 21 in this way, the transmission time can be shortened compared to the case where the compressed data is not compressed. Further, since the compressed data of the second OS 32 is stored in the program storage unit 17, the storage capacity of the program storage unit 17 can be saved as compared with the case where the compressed data is not compressed.
 次に、OS更新装置10は、OSを更新するための更新条件が成立したか否かを判定する(ステップS34)。具体的には、第1指定部111が、起動情報記憶部15の条件設定領域152に格納されている情報を読み出して、設定された条件が成立しているか否かを判定する。更新条件は、ユーザによって予め規定される条件であって、例えば、ユーザによって予め指定された日時を過ぎること、ユーザによって予め指定された時間が設定時刻から経過したこと、又は、サーバ21から特定の情報を受信したことである。ただし、更新条件は、これらに限定されず、他の条件であってもよい。 Next, the OS update device 10 determines whether an update condition for updating the OS is satisfied (step S34). Specifically, the first designation unit 111 reads information stored in the condition setting area 152 of the activation information storage unit 15 and determines whether the set condition is satisfied. The update condition is a condition defined in advance by the user. For example, the update date and time specified by the user has passed, the time specified in advance by the user has elapsed from the set time, or specified from the server 21 Information has been received. However, the update conditions are not limited to these, and may be other conditions.
 更新条件が成立していないと判定した場合(ステップS34;No)、OS更新装置10は、ステップS34の判定を繰り返す。これにより、OS更新装置10は、第2OS32及び更新プログラム33をプログラム記憶部17に格納してOSを更新する準備を整えた上で、更新条件が成立するまで待機することとなる。 When it is determined that the update condition is not satisfied (step S34; No), the OS update device 10 repeats the determination of step S34. Thus, the OS update device 10 stores the second OS 32 and the update program 33 in the program storage unit 17 and prepares to update the OS, and then waits until the update condition is satisfied.
 一方、更新条件が成立していると判定した場合(ステップS34;Yes)、OS更新装置10は、起動プログラムとして更新プログラム33を指定する(ステップS35)。具体的には、第1指定部111が、プログラム記憶部17の更新プログラム33を示す起動情報151を起動情報記憶部15に書き込むことで、起動プログラムとして更新プログラム33を指定する。より詳細には、第1指定部111が、起動情報151のフラグをONに変更する。これにより、OS更新装置10は、図9に示される状態になる。図9では、起動情報151から更新プログラム33へ延びる破線の矢印によって、更新プログラム33が起動プログラムとして指定されていることが示されている。 On the other hand, when it is determined that the update condition is satisfied (step S34; Yes), the OS update device 10 designates the update program 33 as the activation program (step S35). Specifically, the first designation unit 111 writes the activation information 151 indicating the update program 33 of the program storage unit 17 in the activation information storage unit 15, thereby designating the update program 33 as the activation program. More specifically, the first designation unit 111 changes the flag of the activation information 151 to ON. As a result, the OS update device 10 enters the state shown in FIG. In FIG. 9, the broken line arrow extending from the activation information 151 to the update program 33 indicates that the update program 33 is designated as the activation program.
 図7に戻り、ステップS35に続いて、OS更新装置10は、OS更新装置10自体を再起動する(ステップS36)。具体的には、第1指定部111が、OS更新装置10の電源が一時的に切断されてから再度投入される設定をする。これにより、OS更新装置10の電源が一旦切断されて第1OS処理が終了する。 Returning to FIG. 7, following step S35, the OS update device 10 restarts the OS update device 10 itself (step S36). Specifically, the first designation unit 111 performs setting so that the OS update device 10 is temporarily turned off and then turned on again. As a result, the power source of the OS update device 10 is once cut off, and the first OS process ends.
 図3に戻り、ステップS3の第1OS処理に続いて、OS更新装置10が再起動して(ステップS4)、BIOS処理を再度実行する(ステップS2)。このステップS4に続くステップS2のBIOS処理では、図4に示される処理が実行される。ここで、図4中のステップS22の判定が肯定されて(ステップS22;Yes)、ステップS24が実行される。そして、OS更新装置10は、図9に示されるように、更新プログラム33によって実現される機能を発揮することができる状態になる。具体的には、図9中の実線のブロックで示されるように、プロセッサ11が、第2指定部112及び更新部113として機能する。 3, following the first OS process in step S3, the OS update device 10 is restarted (step S4), and the BIOS process is executed again (step S2). In the BIOS process in step S2 following step S4, the process shown in FIG. 4 is executed. Here, the determination in step S22 in FIG. 4 is affirmed (step S22; Yes), and step S24 is executed. Then, as shown in FIG. 9, the OS update device 10 is in a state where the function realized by the update program 33 can be exhibited. Specifically, as indicated by a solid line block in FIG. 9, the processor 11 functions as the second designation unit 112 and the update unit 113.
 ステップS4に続くステップS2のBIOS処理が終了すると、OS更新装置10は、更新プログラム33による更新処理を実行する(ステップS5)。この更新処理について、図10を用いて説明する。 When the BIOS process in step S2 following step S4 ends, the OS update device 10 executes an update process by the update program 33 (step S5). This update process will be described with reference to FIG.
 更新処理では、OS更新装置10は、OS記憶部16に記憶される第1OS31を第2OS32に更新する(ステップS51)。具体的には、更新部113が、圧縮された状態でプログラム記憶部17に格納されている第2OS32を読み出して展開し、展開した第2OS32をOS記憶部16に上書きすることにより、OS記憶部16の第1OS31を第2OS32に書き換える。 In the update process, the OS update device 10 updates the first OS 31 stored in the OS storage unit 16 to the second OS 32 (step S51). Specifically, the update unit 113 reads out and expands the second OS 32 stored in the program storage unit 17 in a compressed state, and overwrites the OS storage unit 16 with the expanded second OS 32, whereby the OS storage unit The first OS 31 of 16 is rewritten to the second OS 32.
 次に、OS更新装置10は、起動プログラムとして第2OS32を指定する(ステップS52)。具体的には、第2指定部112が、OS記憶部16の第2OS32を示す起動情報151を起動情報記憶部15に書き込むことで、起動プログラムとして第2OS32を指定する。より詳細には、第2指定部112が、起動情報151のフラグをOFFに変更する。これにより、OS更新装置10は、図11に示される状態になる。図11では、起動情報151から第2OS32へ延びる破線の矢印によって、第2OS32が起動プログラムとして指定されていることが示されている。なお、第2OS32は、更なるOSの更新に備えて、第1OS31と同様に第1指定部111を実現するため、図11では、第1指定部111のブロックが実線で示されている。 Next, the OS update device 10 designates the second OS 32 as a startup program (step S52). Specifically, the second designation unit 112 writes the activation information 151 indicating the second OS 32 of the OS storage unit 16 in the activation information storage unit 15, thereby designating the second OS 32 as the activation program. More specifically, the second designation unit 112 changes the flag of the activation information 151 to OFF. As a result, the OS update device 10 enters the state shown in FIG. In FIG. 11, a broken line arrow extending from the activation information 151 to the second OS 32 indicates that the second OS 32 is designated as the activation program. Note that the second OS 32 implements the first designation unit 111 in the same manner as the first OS 31 in preparation for further OS updates. In FIG. 11, the block of the first designation unit 111 is indicated by a solid line.
 図10に戻り、ステップS52に続いて、OS更新装置10は、OS更新装置10自体を再起動する(ステップS53)。具体的には、第2指定部112が、OS更新装置10の電源が一時的に切断されてから再度投入される設定をする。これにより、OS更新装置10の電源が一旦切断されて更新処理が終了する。 Returning to FIG. 10, following step S52, the OS update device 10 restarts the OS update device 10 itself (step S53). Specifically, the second designation unit 112 performs setting so that the OS update device 10 is temporarily turned off and then turned on again. Thereby, the power source of the OS update device 10 is once cut off, and the update process ends.
 図3に戻り、ステップS5の更新処理が終了することで、OS更新装置10が再起動して(ステップS6)、BIOS処理を再度実行する(ステップS2)。ステップS6に続くステップS2のBIOS処理では、OS記憶部16の第2OS32が実行される。これにより、第1OS31から第2OS32への更新が達成され、OS更新処理が終了する。 Returning to FIG. 3, when the update process of step S5 is completed, the OS update device 10 is restarted (step S6), and the BIOS process is executed again (step S2). In the BIOS process of step S2 following step S6, the second OS 32 of the OS storage unit 16 is executed. Thereby, the update from the first OS 31 to the second OS 32 is achieved, and the OS update process ends.
 続いて、OSを更新する際に実行されるプログラムの遷移について、図12のシーケンス図を用いて説明する。 Subsequently, the transition of the program executed when the OS is updated will be described with reference to the sequence diagram of FIG.
 図12に示されるように、OS更新装置10の電源をONにする操作がなされると(ステップS71)、BIOS記憶部14に記憶されるBIOSが主記憶部12にロードされて、BIOS30によるBIOS処理が実行される(ステップS2)。このステップS2においては、起動情報151はOFFであるため、BIOS30は、OS記憶部16から第1OS31を主記憶部12にロードする(ステップS72)。 As shown in FIG. 12, when an operation to turn on the OS update device 10 is performed (step S71), the BIOS stored in the BIOS storage unit 14 is loaded into the main storage unit 12, and the BIOS by the BIOS 30 is loaded. Processing is executed (step S2). In this step S2, since the activation information 151 is OFF, the BIOS 30 loads the first OS 31 from the OS storage unit 16 to the main storage unit 12 (step S72).
 次に、主記憶部12にロードされた第1OS31によって、第1OS処理が実行される(ステップS3)。この第1OS処理は、第2OS32の取得と、更新プログラム33の取得と、起動情報151の変更と、を含む。その後、OS更新装置10が再起動する(ステップS73)。 Next, the first OS process is executed by the first OS 31 loaded in the main storage unit 12 (step S3). The first OS processing includes acquisition of the second OS 32, acquisition of the update program 33, and change of the startup information 151. Thereafter, the OS update device 10 restarts (step S73).
 再起動したOS更新装置10は、BIOS30によるBIOS処理を再度実行する(ステップS2)。このステップS2では、起動情報151がONに設定されているため、更新プログラム33が主記憶部12にロードされる(ステップS74)。 The restarted OS update device 10 executes the BIOS process by the BIOS 30 again (step S2). In step S2, since the activation information 151 is set to ON, the update program 33 is loaded into the main storage unit 12 (step S74).
 次に、主記憶部12にロードされた更新プログラム33によって、更新処理が実行される(ステップS5)。この更新処理は、OSの更新と、起動情報151の変更と、を含む。その後、OS更新装置10が再起動する(ステップS75)。 Next, an update process is executed by the update program 33 loaded in the main storage unit 12 (step S5). This update process includes an OS update and a change in the startup information 151. Thereafter, the OS update device 10 restarts (step S75).
 再起動したOS更新装置10は、BIOS30によるBIOS処理を再度実行する(ステップS2)。このステップS2では、起動情報151がOFFに設定されているため、新たな第2OS32が主記憶部12にロードされる(ステップS76)。そして、第2OS32による第2OS処理が実行される(ステップS9)。これにより、OSの更新が完了する。 The restarted OS update device 10 executes the BIOS process by the BIOS 30 again (step S2). In this step S2, since the activation information 151 is set to OFF, a new second OS 32 is loaded into the main storage unit 12 (step S76). Then, the second OS process by the second OS 32 is executed (step S9). Thereby, the update of the OS is completed.
 以上、説明したように、OS更新装置10は、サーバ21から第2OS32と更新プログラム33とを取得して、当該更新プログラム33が、第1OS31を第2OS32に更新する更新部113として機能する。このため、OSの更新を担当する作業者がOS更新装置10を直接操作する必要がない。また、OS更新装置10は、予め規定された条件が成立したときにOSを更新した。このため、適当な条件を設定することで、任意のタイミングにOSを更新させることができる。したがって、作業者の作業負担を軽減することができる。また、更新プログラム33が、起動プログラムとして第2OSを指定してOS更新装置10を再起動する第2指定部112として機能する。これにより、OS記憶部16のOSが更新されると、新たな第2OSを利用することができる状態になり、更新処理に伴うユーザの作業を軽減することができる。 As described above, the OS update device 10 functions as the update unit 113 that acquires the second OS 32 and the update program 33 from the server 21 and updates the first OS 31 to the second OS 32. For this reason, it is not necessary for the operator in charge of OS update to directly operate the OS update device 10. In addition, the OS update device 10 updates the OS when a predetermined condition is satisfied. Therefore, the OS can be updated at an arbitrary timing by setting appropriate conditions. Therefore, the work burden on the worker can be reduced. Further, the update program 33 functions as the second designation unit 112 that designates the second OS as the boot program and restarts the OS update device 10. Thus, when the OS of the OS storage unit 16 is updated, a new second OS can be used, and the user's work associated with the update process can be reduced.
 また、OS更新装置10は、起動情報記憶部15を備え、第1指定部111は、更新プログラム33を示す起動情報151を書き込むことで起動プログラムとして更新プログラム33を指定し、第2指定部112は、第2OS32を示す起動情報151を書き込むことで起動プログラムとして第2OS32を指定した。これにより、OS更新装置10の電源が一旦切断されて再起動したときに、適当なプログラムを実行することができる。 In addition, the OS update device 10 includes a startup information storage unit 15, and the first specification unit 111 specifies the update program 33 as a startup program by writing the startup information 151 indicating the update program 33, and the second specification unit 112. Specified the second OS 32 as a startup program by writing the startup information 151 indicating the second OS 32. Thus, when the OS update device 10 is powered off and restarted, an appropriate program can be executed.
 また、取得部13は、第2OS32の送信が可能かをサーバ21に問い合わせて、送信が可能である旨の応答を得た場合に、第2OS32をサーバ21から取得した。これにより、遠隔のサーバ21から第2OS32を配信することができる。また、サーバ21にて配信の準備が完了する時刻を調整することで、第2OS32を配信するタイミングを調整することができる。 In addition, the acquisition unit 13 inquires of the server 21 whether the transmission of the second OS 32 is possible, and obtains the second OS 32 from the server 21 when obtaining a response indicating that the transmission is possible. Thereby, the second OS 32 can be distributed from the remote server 21. Moreover, the timing at which the second OS 32 is distributed can be adjusted by adjusting the time at which the server 21 completes preparation for distribution.
 また、取得部13は、第2OS32の配信が可能である旨の応答を得た場合に、第2OS32とともに更新プログラム33をサーバ21から取得した。これにより、第1OS31を第2OS32に更新するための更新プログラム33として、適当なプログラムを配信することができる。例えば、第2OS32を更に第3OSに更新するための更新プログラム33を、第3OSに適したものとすることができる。 In addition, when the obtaining unit 13 obtains a response indicating that the second OS 32 can be distributed, the obtaining unit 13 obtains the update program 33 together with the second OS 32 from the server 21. As a result, an appropriate program can be distributed as the update program 33 for updating the first OS 31 to the second OS 32. For example, the update program 33 for further updating the second OS 32 to the third OS can be made suitable for the third OS.
 また、OS記憶部16とプログラム記憶部17とは、異なる記憶装置として構成された。これにより、OS記憶部16の記憶容量を消費することなくOSを更新することができる。 In addition, the OS storage unit 16 and the program storage unit 17 are configured as different storage devices. Thereby, the OS can be updated without consuming the storage capacity of the OS storage unit 16.
 また、起動プログラムは、BIOS30によって選択されて実行された。これにより、更新プログラム33を、第1OS31の一部として、或いは第1OS31上で実行されるプログラムとは異なり、比較的容易に設計することができる。 Also, the boot program is selected and executed by the BIOS 30. Accordingly, the update program 33 can be designed relatively easily, unlike a program executed as a part of the first OS 31 or on the first OS 31.
 また、OS更新装置10は、サーバ21とともに産業用コンピュータシステム100を構成した。この産業用コンピュータシステム100によれば、サーバ21がデータを配信するため、多数のOS更新装置10について容易にOSを更新することができる。 Further, the OS update device 10 constitutes an industrial computer system 100 together with the server 21. According to the industrial computer system 100, since the server 21 distributes data, the OS can be easily updated for a large number of OS update devices 10.
 また、OS更新装置10は、予め規定された更新条件が成立すると、再起動してOSを更新した。更新条件として、深夜又は休日の日時を過ぎたことを設定すれば、その日時の直後にOSが更新される。このため、作業者がOSを更新する時刻において作業する必要がなく、作業負担を軽減することができる。 In addition, the OS update device 10 restarts and updates the OS when a predetermined update condition is satisfied. If the update condition is set to have passed the date of midnight or holiday, the OS is updated immediately after that date. For this reason, it is not necessary for the worker to work at the time when the OS is updated, and the work burden can be reduced.
 また、更新条件として、サーバ21から特定の情報を受信することを設定すれば、サーバ21から複数のOS更新装置10に当該特定の情報を送信することで、これらのOS更新装置10すべてのOSを一括して更新することができる。OS更新装置10のOSを1台ずつ更新する場合には、更新作業に要する時間が台数に比例して増加してしまう。これに対して、一括して更新すれば、台数が増加しても更新作業にかかる時間は一定であるため、特に台数が多い場合には大幅に作業時間を削減することができる。 Also, if the update condition is set to receive specific information from the server 21, the OS 21 can transmit all the specific information from the server 21 to a plurality of OS update devices 10, thereby Can be updated in a batch. When the OS of the OS update device 10 is updated one by one, the time required for the update operation increases in proportion to the number of units. On the other hand, if the update is performed in a batch, the time required for the update work is constant even if the number of units increases, so that the operation time can be significantly reduced particularly when the number of units is large.
 また、OS更新装置10は、予め第2OS32をダウンロードした上で、更新条件が成立したときにOSを更新した。OSを更新している間はOS更新装置10が動作を停止するため、OSを更新する処理を開始してから通信路20を経由して第2OS32をダウンロードすると、少なくともダウンロードにかかる時間だけOS更新装置10の動作が停止して、停止時間が長期化してしまう。さらに、ダウンロード中に通信エラーが生じた場合には、OSを更新する処理が中断してしまう。そのため、本実施の形態では、予め第2OS32をダウンロードしておいて、OS更新処理においては第2OS32をOS記憶部16に書き込むことで、OS更新装置10の停止時間を短縮することができる。 Further, the OS update device 10 updates the OS when the update condition is satisfied after downloading the second OS 32 in advance. Since the OS update device 10 stops operating while the OS is being updated, when the second OS 32 is downloaded via the communication path 20 after starting the OS update process, the OS is updated at least for the time required for the download. The operation of the apparatus 10 stops, and the stop time is prolonged. Furthermore, if a communication error occurs during download, the process for updating the OS is interrupted. Therefore, in the present embodiment, the second OS 32 is downloaded in advance, and the second OS 32 is written in the OS storage unit 16 in the OS update process, so that the stop time of the OS update device 10 can be shortened.
 以上、本発明の実施の形態について説明したが、本発明は上記実施の形態によって限定されるものではない。 As mentioned above, although embodiment of this invention was described, this invention is not limited by the said embodiment.
 例えば、起動情報記憶部15は、不揮発性メモリに限定されず、1ビットの情報を表す構成であればよい。例えば、ハードウェアスイッチを利用して起動情報記憶部15が実現されてもよい。また、起動情報151は、1ビットの情報に限定されず、例えば、起動プログラムのアドレスを示す情報であってもよい。 For example, the activation information storage unit 15 is not limited to a nonvolatile memory, and may be any configuration that represents 1-bit information. For example, the activation information storage unit 15 may be realized using a hardware switch. Further, the activation information 151 is not limited to 1-bit information, and may be information indicating an address of the activation program, for example.
 また、上記実施の形態に係る更新条件は、起動情報記憶部15に記憶されたが、これには限定されない。OS記憶部16又はプログラム記憶部17が、更新条件に関する情報を記憶してもよい。 In addition, although the update condition according to the above embodiment is stored in the activation information storage unit 15, it is not limited to this. The OS storage unit 16 or the program storage unit 17 may store information regarding update conditions.
 また、起動情報記憶部15及びプログラム記憶部17は、上述の実施の形態において説明したデータの他に、他のデータを記憶してもよい。他のデータとしては、例えば、OS及びユーザプログラムが考えられる。 Further, the activation information storage unit 15 and the program storage unit 17 may store other data in addition to the data described in the above embodiment. Examples of other data include an OS and a user program.
 また、OS更新装置10は、ユーザインタフェースとして、ユーザによって入力される情報を取得する入力部、及び、ユーザに情報を出力する出力部を備えていてもよい。また、OS更新装置10は、通信モジュールとしての取得部13を介して外部のユーザインタフェース端末と接続されてもよい。 Further, the OS update device 10 may include, as a user interface, an input unit that acquires information input by a user and an output unit that outputs information to the user. Further, the OS update device 10 may be connected to an external user interface terminal via the acquisition unit 13 as a communication module.
 また、上記実施の形態に係る更新部113は、OS記憶部16に記憶される第1OS31を第2OS32に書き換えたが、これには限定されない。例えば、第1OS31及び第2OS32のサイズが小さければ、更新部113は、OS記憶部16の第1OS31とは異なる記憶領域に第2OS32を格納することで更新してもよい。この場合においても、起動プログラムとして第2OS32が指定されるため、OSが更新されることとなる。また、第1指定部111は、第1OSの機能として発揮されたが、これには限定されず、第1OS上で実行されるアプリケーションプログラムによって実現されてもよい。 In addition, although the update unit 113 according to the above embodiment has rewritten the first OS 31 stored in the OS storage unit 16 with the second OS 32, the present invention is not limited to this. For example, if the sizes of the first OS 31 and the second OS 32 are small, the updating unit 113 may update by storing the second OS 32 in a storage area different from the first OS 31 of the OS storage unit 16. Even in this case, since the second OS 32 is designated as the startup program, the OS is updated. Moreover, although the 1st designation | designated part 111 was exhibited as a function of 1st OS, it is not limited to this, You may implement | achieve by the application program run on 1st OS.
 また、上記実施の形態に係る取得部13は、第2OS32及び更新プログラム33を同時に取得したが、これには限定されず、異なるタイミングで取得してもよい。また、サーバ21は、多数の装置にOSを配信することなく、第2OS32及び更新プログラム33をOS更新装置10に送信してもよい。 Further, although the acquisition unit 13 according to the above embodiment has acquired the second OS 32 and the update program 33 at the same time, the acquisition unit 13 is not limited to this, and may be acquired at different timings. Further, the server 21 may transmit the second OS 32 and the update program 33 to the OS update device 10 without distributing the OS to many devices.
 また、OS更新装置10の機能は、専用のハードウェアによっても、また、通常のコンピュータシステムによっても実現することができる。 Further, the functions of the OS update device 10 can be realized by dedicated hardware or by a normal computer system.
 例えば、プロセッサ11によって実行されるプログラムを、コンピュータ読み取り可能な非一時的な記録媒体に格納して配布し、そのプログラムをコンピュータにインストールすることにより、上述の処理を実行する装置を構成することができる。このような記録媒体としては、例えばフレキシブルディスク、CD-ROM(Compact Disc Read-Only Memory)、DVD(Digital Versatile Disc)、MO(Magneto-Optical Disc)が考えられる。 For example, a program executed by the processor 11 may be stored in a computer-readable non-transitory recording medium and distributed, and the program may be installed in the computer to constitute an apparatus that executes the above-described processing. it can. As such a recording medium, for example, a flexible disk, a CD-ROM (Compact Disc-Read-Only Memory), a DVD (Digital Versatile Disc), and an MO (Magneto-Optical Disc) can be considered.
 また、プログラムをインターネットに代表される通信ネットワーク上のサーバ装置が有するディスク装置に格納しておき、例えば、搬送波に重畳させて、コンピュータにダウンロードするようにしてもよい。 Alternatively, the program may be stored in a disk device included in a server device on a communication network represented by the Internet, and may be downloaded onto a computer, for example, superimposed on a carrier wave.
 また、通信ネットワークを介してプログラムを転送しながら起動実行することによっても、上述の処理を達成することができる。 Also, the above-described processing can be achieved by starting and executing a program while transferring it via a communication network.
 さらに、プログラムの全部又は一部をサーバ装置上で実行させ、その処理に関する情報をコンピュータが通信ネットワークを介して送受信しながらプログラムを実行することによっても、上述の処理を達成することができる。 Furthermore, the above-described processing can also be achieved by executing all or part of the program on the server device and executing the program while the computer transmits / receives information related to the processing via the communication network.
 なお、上述の機能を、OSが分担して実現する場合又はOSとアプリケーションとの協働により実現する場合等には、OS以外の部分のみを媒体に格納して配布してもよく、また、コンピュータにダウンロードしてもよい。 In addition, when the above functions are realized by sharing the OS, or when the functions are realized by cooperation between the OS and the application, only the part other than the OS may be stored in the medium and distributed. It may be downloaded to a computer.
 また、OS更新装置10の機能を実現する手段は、ソフトウェアに限られず、その一部又は全部を、回路を含む専用のハードウェアによって実現してもよい。具体的には、第1指定部111、第2指定部112及び更新部113は、第1OS31及び更新プログラム33の実行により実現されたが、これには限定されず、専用のハードウェアによって実現されてもよい。 Further, the means for realizing the function of the OS update device 10 is not limited to software, and part or all of the means may be realized by dedicated hardware including a circuit. Specifically, the first designation unit 111, the second designation unit 112, and the update unit 113 are realized by executing the first OS 31 and the update program 33, but are not limited thereto, and are realized by dedicated hardware. May be.
 本発明は、本発明の広義の精神と範囲を逸脱することなく、様々な実施の形態及び変形が可能とされるものである。また、上述した実施の形態は、本発明を説明するためのものであり、本発明の範囲を限定するものではない。つまり、本発明の範囲は、実施の形態ではなく、請求の範囲によって示される。そして、請求の範囲内及びそれと同等の発明の意義の範囲内で施される様々な変形が、本発明の範囲内とみなされる。 The present invention is capable of various embodiments and modifications without departing from the broad spirit and scope of the present invention. The above-described embodiments are for explaining the present invention and do not limit the scope of the present invention. In other words, the scope of the present invention is shown not by the embodiments but by the claims. Various modifications within the scope of the claims and within the scope of the equivalent invention are considered to be within the scope of the present invention.
 本発明は、装置のOSを更新することに適している。 The present invention is suitable for updating the OS of the apparatus.
 100 産業用コンピュータシステム、 10 OS更新装置、 11 プロセッサ、 111 第1指定部、 112 第2指定部、 113 更新部、 12 主記憶部、 121 BIOS使用領域、 122 OS格納領域、 123 OSデータ領域、 124 更新プログラム格納領域、 125 更新プログラムデータ領域、 13 取得部、 14 BIOS記憶部、 15 起動情報記憶部、 151 起動情報、 152 条件設定領域、 16 OS記憶部、 17 プログラム記憶部、 18 内部バス、 20 通信路、 21 サーバ、 30 BIOS、 31 第1OS、 32 第2OS、 33 更新プログラム。 100 Industrial computer system, 10 OS update device, 11 processor, 111 1st designation unit, 112 2nd designation unit, 113 update unit, 12 main storage unit, 121 BIOS usage area, 122 OS storage area, 123 OS data area, 123 OS data area, 124 update program storage area, 125 update program data area, 13 acquisition unit, 14 BIOS storage unit, 15 startup information storage unit, 151 startup information, 152 condition setting area, 16 OS storage unit, 17 program storage unit, 18 internal bus, 20 communication paths, 21 servers, 30 BIOS, 31 1st OS, 32 2nd OS, 33 update programs.

Claims (10)

  1.  サーバに接続されオペレーティングシステムで動作する産業用コンピュータであって、
     第1オペレーティングシステムを記憶するオペレーティングシステム記憶手段と、
     前記第1オペレーティングシステムとは異なる第2オペレーティングシステムと、前記第1オペレーティングシステムを前記第2オペレーティングシステムに更新する更新プログラムと、を前記サーバから取得する取得手段と、
     予め規定された条件が成立すると、産業用コンピュータが起動する際に実行される起動プログラムとして前記更新プログラムを指定して産業用コンピュータを再起動する第1指定手段と、を備え、
     前記更新プログラムは、前記オペレーティングシステム記憶手段に記憶される前記第1オペレーティングシステムを前記第2オペレーティングシステムに更新する更新手段、及び、前記起動プログラムとして前記第2オペレーティングシステムを指定して産業用コンピュータを再起動する第2指定手段、として機能する、
     産業用コンピュータ。
    An industrial computer connected to a server and operating on an operating system,
    Operating system storage means for storing a first operating system;
    Obtaining means for obtaining, from the server, a second operating system different from the first operating system, and an update program for updating the first operating system to the second operating system;
    A first designation unit that designates the update program as a startup program to be executed when the industrial computer is started when a predetermined condition is satisfied, and restarts the industrial computer;
    The update program includes an update unit that updates the first operating system stored in the operating system storage unit to the second operating system, and an industrial computer that designates the second operating system as the boot program. Functions as a second designation means to restart,
    Industrial computer.
  2.  前記起動プログラムを示す起動情報を記憶する起動情報記憶手段、をさらに備え、
     前記第1指定手段は、前記更新プログラムを示す前記起動情報を前記起動情報記憶手段に書き込むことで前記更新プログラムを指定し、
     前記第2指定手段は、前記第2オペレーティングシステムを示す前記起動情報を前記起動情報記憶手段に書き込むことで前記第2オペレーティングシステムを指定する、
     請求項1に記載の産業用コンピュータ。
    Startup information storage means for storing startup information indicating the startup program;
    The first designation means designates the update program by writing the activation information indicating the update program in the activation information storage means,
    The second designation means designates the second operating system by writing the activation information indicating the second operating system in the activation information storage means;
    The industrial computer according to claim 1.
  3.  前記取得手段は、前記第2オペレーティングシステムの送信が可能かを前記サーバに問い合わせて、送信が可能である旨の応答を得た場合に、前記第2オペレーティングシステムを前記サーバから取得する、
     請求項1又は2に記載の産業用コンピュータ。
    The acquisition means inquires of the server whether the transmission of the second operating system is possible, and obtains the second operating system from the server when a response indicating that transmission is possible is obtained.
    The industrial computer according to claim 1 or 2.
  4.  前記取得手段は、前記第2オペレーティングシステムの送信が可能である旨の応答を得た場合に、前記第2オペレーティングシステムとともに前記更新プログラムを前記サーバから取得する、
     請求項1から3のいずれか一項に記載の産業用コンピュータ。
    The acquisition unit acquires the update program from the server together with the second operating system when the response indicating that transmission of the second operating system is possible is obtained.
    The industrial computer according to any one of claims 1 to 3.
  5.  前記取得手段によって取得された前記第2オペレーティングシステム及び前記更新プログラムを記憶するプログラム記憶手段、をさらに備え、
     前記オペレーティングシステム記憶手段及び前記プログラム記憶手段は、異なる記憶装置である、
     請求項1から4のいずれか一項に記載の産業用コンピュータ。
    Program storage means for storing the second operating system and the update program acquired by the acquisition means;
    The operating system storage means and the program storage means are different storage devices.
    The industrial computer according to any one of claims 1 to 4.
  6.  前記起動プログラムは、産業用コンピュータが起動するときに実行されるファームウェアによって選択されて実行される、
     請求項1から5のいずれか一項に記載の産業用コンピュータ。
    The boot program is selected and executed by firmware executed when the industrial computer is booted.
    The industrial computer according to any one of claims 1 to 5.
  7.  請求項1から6のいずれか一項に記載の産業用コンピュータと、
     前記産業用コンピュータに記憶される第1オペレーティングシステムとは異なる第2オペレーティングシステムと、前記第1オペレーティングシステムを前記第2オペレーティングシステムに更新する更新プログラムと、を前記産業用コンピュータに送信するサーバと、
     を備える産業用コンピュータシステム。
    An industrial computer according to any one of claims 1 to 6,
    A server for transmitting to the industrial computer a second operating system different from the first operating system stored in the industrial computer, and an update program for updating the first operating system to the second operating system;
    Industrial computer system comprising:
  8.  産業用コンピュータによって実行されるオペレーティングシステム更新方法であって、
     前記産業用コンピュータによって利用されている第1オペレーティングシステムとは異なる第2オペレーティングシステムと、前記第1オペレーティングシステムを前記第2オペレーティングシステムに更新する更新プログラムと、を取得する取得ステップと、
     前記産業用コンピュータが起動する際に実行される起動プログラムとして前記更新プログラムを指定して前記産業用コンピュータを再起動する第1指定ステップと、
     前記更新プログラムにより前記産業用コンピュータの前記第1オペレーティングシステムを前記第2オペレーティングシステムに更新する更新ステップと、
     前記起動プログラムとして前記第2オペレーティングシステムを指定して前記産業用コンピュータを再起動する第2指定ステップと、
     を含むオペレーティングシステム更新方法。
    An operating system update method executed by an industrial computer,
    Obtaining a second operating system different from the first operating system used by the industrial computer; and an update program for updating the first operating system to the second operating system;
    A first specifying step of specifying the update program as a startup program to be executed when the industrial computer is started and restarting the industrial computer;
    An update step of updating the first operating system of the industrial computer to the second operating system by the update program;
    A second specifying step of specifying the second operating system as the startup program and restarting the industrial computer;
    Operating system update method including:
  9.  サーバに接続されて第1オペレーティングシステムを記憶するコンピュータに、
     前記第1オペレーティングシステムとは異なる第2オペレーティングシステムと、前記第1オペレーティングシステムを前記第2オペレーティングシステムに更新する更新プログラムと、を前記サーバから取得し、
     予め規定された条件が成立すると、前記コンピュータが起動する際に実行される起動プログラムとして前記更新プログラムを指定して再起動する、
     ことを実行させるためのプログラム。
    A computer connected to the server and storing the first operating system;
    Obtaining a second operating system different from the first operating system and an update program for updating the first operating system to the second operating system from the server;
    When a pre-defined condition is satisfied, the computer is restarted by specifying the update program as a startup program to be executed when the computer is started.
    A program to make things happen.
  10.  請求項9に記載のプログラムを実行するコンピュータへ送信されるプログラムであって、
     前記コンピュータに、
     前記コンピュータが記憶する第1オペレーティングシステムを第2オペレーティングシステムに更新し、
     前記コンピュータが起動する際に実行される起動プログラムとして前記第2オペレーティングシステムを指定して再起動する、
     ことを実行させるためのプログラム。
    A program transmitted to a computer that executes the program according to claim 9,
    In the computer,
    Updating a first operating system stored in the computer to a second operating system;
    Restarting by designating the second operating system as a startup program to be executed when the computer is started,
    A program to make things happen.
PCT/JP2018/017053 2018-04-26 2018-04-26 Industrial computer, industrial computer system, operating system update method, and program WO2019207729A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2019512316A JPWO2019207729A1 (en) 2018-04-26 2018-04-26 Industrial computer, industrial computer system, operating system updating method and program
PCT/JP2018/017053 WO2019207729A1 (en) 2018-04-26 2018-04-26 Industrial computer, industrial computer system, operating system update method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2018/017053 WO2019207729A1 (en) 2018-04-26 2018-04-26 Industrial computer, industrial computer system, operating system update method, and program

Publications (1)

Publication Number Publication Date
WO2019207729A1 true WO2019207729A1 (en) 2019-10-31

Family

ID=68293896

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2018/017053 WO2019207729A1 (en) 2018-04-26 2018-04-26 Industrial computer, industrial computer system, operating system update method, and program

Country Status (2)

Country Link
JP (1) JPWO2019207729A1 (en)
WO (1) WO2019207729A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022262751A1 (en) * 2021-06-15 2022-12-22 荣耀终端有限公司 Operating system upgrading method, and device, storage medium and computer program product
WO2023206521A1 (en) * 2022-04-29 2023-11-02 Siemens Aktiengesellschaft Method, apparatus and device for hardening assets in ot system and storage medium and computer program product
JP7411471B2 (en) 2020-03-27 2024-01-11 株式会社コンテック Information processing equipment and communication systems
JP7491765B2 (en) 2020-07-28 2024-05-28 ニチコン株式会社 Firmware update system and firmware update method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003288225A (en) * 2002-03-28 2003-10-10 Anritsu Corp Public communication terminal, terminal management device, and main program updating system
JP2004318871A (en) * 2003-03-31 2004-11-11 Ricoh Co Ltd Communication equipment, its remote management system, os updating method, program, and recording medium
JP2016126443A (en) * 2014-12-26 2016-07-11 京セラドキュメントソリューションズ株式会社 Electronic device and firmware recovery program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016001391A (en) * 2014-06-11 2016-01-07 株式会社ソニー・コンピュータエンタテインメント Information processing device and information processing system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003288225A (en) * 2002-03-28 2003-10-10 Anritsu Corp Public communication terminal, terminal management device, and main program updating system
JP2004318871A (en) * 2003-03-31 2004-11-11 Ricoh Co Ltd Communication equipment, its remote management system, os updating method, program, and recording medium
JP2016126443A (en) * 2014-12-26 2016-07-11 京セラドキュメントソリューションズ株式会社 Electronic device and firmware recovery program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7411471B2 (en) 2020-03-27 2024-01-11 株式会社コンテック Information processing equipment and communication systems
JP7491765B2 (en) 2020-07-28 2024-05-28 ニチコン株式会社 Firmware update system and firmware update method
WO2022262751A1 (en) * 2021-06-15 2022-12-22 荣耀终端有限公司 Operating system upgrading method, and device, storage medium and computer program product
WO2023206521A1 (en) * 2022-04-29 2023-11-02 Siemens Aktiengesellschaft Method, apparatus and device for hardening assets in ot system and storage medium and computer program product

Also Published As

Publication number Publication date
JPWO2019207729A1 (en) 2020-05-07

Similar Documents

Publication Publication Date Title
WO2019207729A1 (en) Industrial computer, industrial computer system, operating system update method, and program
JP7103303B2 (en) Devices, communication modules, application modules and methods
US9547297B2 (en) Field device and field device software update system therewith
JP2016207184A (en) Methods of updating firmware components, computer systems, and memory device
KR102516583B1 (en) Electronic device and method for controling update thereof
JP2011095952A (en) Method for updating firmware and electronic equipment
JP2024015111A (en) Software update device, update control method, update control program, and ota master
US20160321057A1 (en) Electronic apparatus
US20230132494A1 (en) Information processing apparatus, method of controlling the same, and storage medium
JP2016045677A (en) Information processing device, method for setting information processing device and setting program
WO2019242133A1 (en) Software upgrading method in electronic device, apparatus and electronic device
JP7239413B2 (en) EMBEDDED COMMUNICATION BOARD, COMMUNICATION TERMINAL, AND FIRMWARE UPDATE METHOD
CN110442074B (en) Processing device for programmable logic controller program
WO2020129324A1 (en) Module, information processing device equipped with same, and program data updating method for updating program data of module
JP2011175352A (en) Firmware updating device, communication apparatus, electronic apparatus, firmware updating system, firmware updating method and program
WO2017043026A1 (en) Control method and communication device employing same
WO2024053107A1 (en) Robot control system, control device, computer program, and update processing method for control software
US11947951B2 (en) Center, distribution control method, and non-transitory storage medium
US20220342651A1 (en) Center, ota master, system, distribution method, non-transitory storage medium, and vehicle
KR101900729B1 (en) Method for running PLC operating system
US20220405083A1 (en) Ota master, system, method, non-transitory storage medium, and vehicle
JP2023108066A (en) Software update apparatus, update control method, update control program, and server
US20230036444A1 (en) System, method, and non-transitory storage medium
WO2018212081A1 (en) Update control unit, update control device, update control system, and update control method
JP2004117314A (en) Measuring system

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2019512316

Country of ref document: JP

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18916378

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18916378

Country of ref document: EP

Kind code of ref document: A1