WO2012085963A1 - 情報処理装置 - Google Patents
情報処理装置 Download PDFInfo
- Publication number
- WO2012085963A1 WO2012085963A1 PCT/JP2010/007394 JP2010007394W WO2012085963A1 WO 2012085963 A1 WO2012085963 A1 WO 2012085963A1 JP 2010007394 W JP2010007394 W JP 2010007394W WO 2012085963 A1 WO2012085963 A1 WO 2012085963A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- user program
- setting
- unit
- attached data
- cpu unit
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1458—Management of the backup or restore process
- G06F11/1469—Backup restoration techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1456—Hardware arrangements for backup
Definitions
- the present invention relates to a user program change in an information processing apparatus including a CPU unit and an external storage device for storing a user program connected to the CPU unit.
- the update process is a process of adding or correcting a program to a user program for changing equipment, correcting a defect, or adjusting an operation.
- the version of the program in the information processing apparatus is compared with the version of the program in the peripheral apparatus, and the program in the information processing apparatus is updated only when the version of the program in the peripheral apparatus is new.
- a system has been proposed in which a program on the information processing device side is automatically updated by connecting a peripheral device to the information processing device.
- the backup process is prepared so that it can be recovered, or the user who has backed up to the peripheral device by the backup process If it is necessary to copy the program to the information processing device and perform restoration processing to restore the information processing system, connect the personal computer to the information processing device, and backup and restore the user program from the programming tool on the personal computer. Or a method of connecting a peripheral device such as a USB flash memory or an SD card to an information processing device and performing backup processing and restoration processing by turning on or off the power of the information processing device ( For example, see Patent Document 1).
- a peripheral device such as a USB flash memory or an SD card
- a personal computer is not always connected. If a personal computer is not installed nearby, a personal computer must be installed to perform user program updates, backups, and restores. It is necessary to prepare. However, the vicinity of the equipment is often in a special environment such as a dustproof room, and a lot of work is required for procurement and preparation of personal computers.
- the worker needs operation knowledge of the programming tool, and requires the worker's education and training.
- the backup / restore processing is started by turning on the power or turning on / off the switch.
- the user program is erroneously updated (incorrect backup due to the operator's power ON or switch operation error). , Restoration is performed).
- the user program addition / correction process can be executed in the same procedure as the restore process, but there is also a problem that the user program is erroneously updated due to an erroneous operation by the operator.
- the present invention has been made to solve the above-described problems, and is selected from a plurality of setting parameters and set in a CPU unit, and selected from a plurality of setting parameters and stored in an external storage device.
- the set parameters are compared, if they match, the user program stored in the CPU unit and the user program stored in the external storage device are compared to determine whether the stored time is new or old. Since processing is performed according to the setting parameters of the CPU unit and the setting parameters of the external storage device, the operator does not need to check whether the user program in the CPU unit or the user program in the external storage device is new or old, and connects the external storage device to the CPU unit. Process to prevent the operator from rewriting data accidentally. And to obtain an information processing apparatus capable of.
- the information processing apparatus is an information processing apparatus having a CPU unit and an external storage device connected to the CPU unit, wherein the second user program and the attached data of the second user program are stored in the CPU unit.
- An external storage device in which setting parameters for setting a plurality of processes to be performed are stored and the second setting parameter is selected and set from the plurality of setting parameters, and the first user program and attached data of the first user program Is stored, a setting parameter for setting a plurality of processes performed in the CPU unit is stored, a storage unit in the CPU unit in which the first setting parameter is selected and set from the plurality of setting parameters, and the first The user program, the attached data of the first user program, and the first setting parameter An I / O control unit in the CPU unit for reading out the meter from the storage unit and reading out the second user program, the attached data of the second user program and the second setting parameter from the external storage device; The first user determines the old and new times when the first user program and the second user program in which the unique information contained in the attached data and the unique
- a time information determination unit for determining by comparing the time information included in the data attached to the program and the time information included in the data attached to the second user program, and the plurality of setting parameters stored in the external storage device and the storage unit are Includes at least setting parameters for setting update processing, backup processing, and restoration processing, and includes first setting parameters And a comparison / arithmetic unit in the CPU unit for processing according to the matched first setting parameter and second setting parameter if they match. It is a thing.
- the setting parameter selected from the plurality of setting parameters is set in the external storage device and the CPU unit, and the setting parameters set in the external storage device and the CPU unit are compared and matched.
- the user program stored in the CPU unit and the user program stored in the external storage device are compared to determine whether the time when the user program is stored is compared. Therefore, the operator does not need to check whether the user program in the CPU unit or the user program in the external storage device is new or old, and can perform the process simply by connecting the external storage device to the CPU unit. Data can be prevented from being rewritten.
- the information processing apparatus in the first embodiment will be described.
- the information processing apparatus includes a CPU unit and an external storage device.
- the present invention is not limited to the CPU unit and the external storage device, but may be composed of various units such as a power supply unit and a base unit.
- FIG. 1 is a block diagram showing a functional configuration of the information processing apparatus, and shows a state in which an external storage device is connected to the CPU unit.
- the information processing apparatus 115 (for example, a programmable controller) includes a CPU unit 101 and an external storage device 111.
- the CPU unit 101 includes a switch 104 including a switch for selecting the first setting parameter 116 from three setting parameters indicating update processing, backup processing, or restoration processing, and a power ON / OFF switch.
- the CPU unit 101 includes an I / O control unit 105 that reads data, a display unit 106 that displays a processing completion result using a display unit after all processing is completed, a first user program 102, and a first accessory.
- the processing unit 110 includes a time information determination unit 109 that determines whether the time information included in the two attached data is new and old, and a comparison / calculation unit 108 that compares the two setting parameters and performs update processing, backup processing, or restoration processing. Composed.
- the program storage unit 107 stores a first user program 102, first attached data 103, and three setting parameters.
- the external storage device 111 connected to the CPU unit 101 which is a part of the information processing apparatus stores a second user program 112, second attached data 113, and three setting parameters.
- the external storage device 111 is provided with a switch 114 for selecting the second setting parameter 117 from the three setting parameters.
- the setting parameter 117 selected and set from the three setting parameters stored in the external storage device 111 is a parameter that determines whether the update process, the backup process, or the restore process performed by the CPU unit 101 is performed. One of these three setting parameters is selected and set by switching 114. Note that a plurality of setting parameters of three or more may be provided, and setting parameters that are updated with time may be considered.
- the switch 104 and the switch 114 may be switches provided on the external surface, or the operator uses three setting parameters stored in the program storage unit 107 and the external storage device 111 in advance using a programming tool of an input device such as a personal computer. It may be a switch that can select and set one. Further, the number of setting parameters set in the external storage device storage 111 or the CPU unit 101 may be one.
- the external storage device 111 in FIG. 1 indicates a recording medium that is easy to carry such as a USB flash memory, an SD card, a personal computer, and an electronic device connected to the CPU unit 101.
- the switch 104 is for causing the I / O control unit 105 to detect the connection between the CPU unit 101 and the external storage device 111.
- the switch 104 is connected to the I / O control unit 105 in a state where the external storage device 111 is connected to the I / O control unit 105.
- the I / O control unit 105 detects the connection by turning on the power.
- the switch 104 stores three parameters of update processing, backup processing and restoration processing performed by the CPU unit 101 in the program storage unit 107, one of which is There is also provided a changeover switch capable of changing the setting parameter 114 selected and set.
- Changing the setting parameter that determines whether the update process, backup process, or restore process performed by the CPU unit 101 is performed using three programming parameter stored in the CPU unit 101 using a programming tool of an input device such as a personal computer. This can be done by switching the switch 104 that can be selected and set from one of them, or by switching the switch 104 provided on the external surface of the CPU unit 101. The same applies to the external storage device 111.
- the three setting parameters stored in the external storage device 111 are updated by copying the second user program 112, which is newer than the first user program 102 stored in the program storage unit 107 of the CPU unit 101, to the CPU unit 101.
- Backup processing for copying the first user program 102 in the CPU unit 101 to the external storage device 111 and copying the second user program 112 stored in the external storage device 111 to the program storage unit 107 of the CPU unit 101 This is a setting parameter for setting restore processing.
- the second setting parameter 117 which is one of the three setting parameters, is selected and set.
- the program storage unit 107 of the CPU unit 101 stores setting parameters for setting three processes performed by the CPU unit, and a first setting parameter 116 that is one of the three setting parameters. Selected and set.
- the I / O control unit 105 in the CPU unit electrically detects an input signal when the switch 104 is turned on or an input signal directly transmitted through the connector. Note that an ON / OFF switch for inputting a signal to the I / O control unit 105 may be provided on the external surface of the external storage device 111.
- the I / O control unit 105 selects and sets the second user program 112 stored in the external storage device 111 connected to the CPU unit 101, the second attached data 113, and the switch 114.
- the setting parameter 117 is read out.
- the I / O control unit 105 reads the first user program stored in the program storage unit 107, the first attached data 103, and the first setting parameter 116 selected and set by the switch 104. Do.
- the first attached data 103 (second attached data 113) is a plurality of pieces of information including unique information that specifies whether the first user program 102 and the second user program 112 are the same, It is assumed that the user program name, data amount, update date / time, unique ID, and the like are configured.
- the comparison / calculation unit 108 of the processing unit 110 determines whether the data corresponding to the first user program 102 stored in the program storage unit 107 is the user program 112 read by the I / O control unit 105 from the external storage device 111 . It is determined by comparing the identity with the first attached data 103. Further, when a plurality of user programs are stored in the external storage device 111, all of the attached data in the external storage device 111 is compared with the first attached data 103.
- the comparison / calculation unit 108 includes a first setting parameter 116 read by the I / O control unit 105 from the program storage unit 107 in which three setting parameters are stored, and an external storage device in which the three setting parameters are stored. A comparison is made with the second setting parameter 117 read out from 111 by the I / O control unit 105. As a result of the comparison, if the setting parameters are different, the update process, the backup process, and the restore process are not performed.
- the comparison / calculation unit 108 matches if the first setting parameter 116 selected and set by the CPU unit 101 matches the second setting parameter 117 selected and set by the external storage device 111. Based on the value of the set parameter, it is determined whether to perform update processing, restoration processing, or backup processing, and arithmetic processing is performed.
- the display unit 105 lights or blinks an LED or the like based on the completion of the calculation process of the comparison / calculation unit 108. For example, the LED is turned on when the calculation is normally completed, and the LED is blinked when the calculation is ended abnormally.
- FIG. 2 shows the operation in the CPU unit 101 from the time when the external storage device 111 is connected to the I / O control unit 105 until the processing unit 110 of the CPU unit 101 completes the arithmetic processing in the configuration shown in FIG. FIG.
- step 201 the I / O control unit 105 of the CPU unit 101 determines whether or not the external storage device 111 is connected to the CPU unit 101. As a method for determining whether or not the connection has been made, an electrical signal is directly transmitted to the I / O control unit 105 via the switch 104 or the connector provided in the CPU unit 101.
- the I / O control unit 105 determines that the external storage device 111 is connected, the second setting parameter 117, the second user program 112, and the second attached data 114 stored in the external storage device 111 are read. Proceed to the process (step 202). On the other hand, if it is determined that the external storage device 111 is not connected to the I / O control unit 105, the processing is completed and the CPU unit 101 does nothing.
- step 202 the I / O control unit 105 reads the second user program 112 and the second attached data 113 stored in the external storage device 111 and the second setting parameter 117 selected and set by the switch 114. Further, the I / O control unit 105 reads the first user program and the first attached data stored in the program storage unit 107 of the CPU unit 101 and the first setting parameter 116 selected and set by the switch 104. . When the reading process is completed, the process proceeds to step 203. If the second user program 112 and the second attached data 113 are not present in the external storage device 111, the processing is completed there.
- step 203 whether the second user program 112 read by the I / O control unit 105 is data corresponding to the first user program 102 stored in the program storage unit 107 in the CPU unit 101 is compared / calculated. 108 determines. At this time, unique information such as the user program name and unique ID of the first attached data 103 attached to the first user program 102 and the user program name of the second attached data 113 attached to the second user program 112 And the unique information such as the unique ID are determined, and the first user program 102 and the second user program 112 are subjected to the update process, the restore process, or the backup process. If the corresponding data exists, the process proceeds to step 204. On the other hand, if there is no corresponding data, the process is completed and the CPU unit 101 does not perform the process thereafter.
- step 204 the comparison / calculation unit 108 determines whether or not the first setting parameter 116 selected and set by the switch 104 of the CPU unit 101 and the second setting parameter 117 selected and set by the switch 114 match. to decide. If they match, the second setting parameter 117 read out from the external storage device 111 in step 210, that is, the value of the first setting parameter 116 set in the switch 104 of the CPU unit 101 is confirmed, and the update process is performed. Then, the process proceeds to restore processing or backup processing.
- step 205 the time information determination unit 109 compares the time according to the old and new times based on the time information included in the attached data of the first user program 102 and the second user program 112 corresponding in step 203. That is, if the time information determination unit 109 determines that the date and time of the first auxiliary data 103 in the CPU unit 101 is older than the date and time of the second auxiliary data 113 in the external storage device 111, the process proceeds to step 208.
- the comparison / calculation unit 108 copies and rewrites the first user program 102 in the external storage device 111 to the program storage unit 107 in the CPU unit to complete the calculation process.
- the arithmetic processing is completed.
- the process proceeds to the step 206. Since the restoration process is a process for restoring the data, the time information determination unit 109 compares the times of the attached data of the first user program 102 and the second user program 112 corresponding to step 203 by old and new. Without performing, the second user program 114 in the external storage device 111 is copied to the program storage unit 107 in the CPU unit, and the arithmetic processing is completed.
- step 207 the time information determination unit 109 compares the times of the attached data of the first user program 102 and the second user program 112 corresponding to step 203 according to the new and old times, and the first information in the CPU unit 101 is stored. If it is determined that the date / time of the attached data 103 is newer than the date / time of the second attached data 113 in the external storage device 111, the process proceeds to step 209, where the comparison / calculation unit 108 is in the second user program in the external storage device 111.
- step 207 if it is determined in step 207 that the date and time of the first attached data 103 in the CPU unit 101 is older than the date and time of the second attached data 113 in the external storage device 111, the old data is stored in the external storage. Since there is no need to copy to the device 111, the arithmetic processing is completed.
- the CPU unit 101 can notify the outside of the processing of the steps 201 to 209 using a display unit such as an LED included in the CPU unit 101 or a peripheral device.
- a display unit such as an LED included in the CPU unit 101 or a peripheral device.
- the LED is turned on when the update process, the restore process, or the backup process is normally completed, and the LED is blinked when the process is completed due to a processing error. This makes it clear at a glance whether the processing has been completed normally.
- the unique information included in the first attached data 102 of the first user program 102 and the second attached data 113 of the second user program 112 are stored.
- the first setting parameter 116 set by the selection of the switch 104 of the CPU unit 101 and the switch of the external storage device 111 The coincidence of the second setting parameter 117 set by the selection of 114 is compared, and if the two match, the time when the first user program 102 and the second user program 112 are saved by the matching setting parameter.
- FIG. 3 is a flowchart when the switch for changing the setting parameter is provided only in the external storage device 111.
- movement shown above is abbreviate
- step 202 When the external storage device 111 is connected to the I / O control unit 105 in the CPU unit 101, in step 202, the second user program 112, the second attached data 113, and the second data stored in the external storage device 111 are stored.
- the setting parameter 117 is read out.
- step 203 whether the second user program 112 read by the I / O control unit 105 is data corresponding to the first user program 102 stored in the program storage unit 107 in the CPU unit 101 is compared / calculated. 108 determines.
- unique information such as the user program name and unique ID of the first attached data 103 attached to the first user program 102 and the user program name of the second attached data 113 attached to the second user program 112
- the unique information such as the unique ID and the like is determined, and the same information is set as the second user program 112 corresponding to the first user program 102 as the target of the update process, the restore process, or the backup process.
- step 204 is performed. Proceed to On the other hand, if there is no corresponding data, the process is completed and the CPU unit 101 does not perform the process thereafter.
- Step 205 If the second setting parameter 117 read out in step 202 and selected and set by the switch 114 is an update process, the process proceeds to step 205. If the second process parameter 117 is a restore process, the process proceeds to step 206. Then, go to step 207.
- the processing of Step 205, Step 206, and Step 207 is as described above.
- the first user program in which the unique information included in the first attached data 102 of the first user program 102 and the unique information contained in the second attached data 113 of the second user program 112 are the same.
- the second user program 112 the old and new times when the first user program 102 and the second user program 112 are stored by the second setting parameter 117 set by the selection of the switch 114 of the external storage device 111. Therefore, the update process, backup process or restore process of the first user program 102 is executed, so that the operator does not need to check the newness or oldness of the user program in the CPU unit or the user program in the external storage device.
- Process, backup process, restore process It is possible to prevent the skilled will rewrite the data incorrectly.
- FIG. 4 is a flowchart when only the CPU unit 101 is provided with a setting parameter change switch.
- movement shown above is abbreviate
- the second user program 112 and the second attached data 113 stored in the external storage device 111 are read in step 202.
- the second user program 112 and the second attached data 113 stored in the CPU unit 101 and the first setting parameter 116 set by the setting parameter changing switch 104 provided in the CPU unit 101 are also displayed. Is also read.
- step 203 whether the second user program 112 read by the I / O control unit 105 is data corresponding to the first user program 102 stored in the program storage unit 107 in the CPU unit 101 is compared / calculated. 108 determines.
- unique information such as the user program name and unique ID of the first attached data 103 attached to the first user program 102 and the user program name of the second attached data 113 attached to the second user program 112
- the unique information such as the unique ID and the like is determined, and the same information is set as the second user program 112 corresponding to the first user program 102 as the target of the update process, the restore process, or the backup process.
- step 204 is performed. Proceed to On the other hand, if there is no corresponding data, the process is completed and the CPU unit 101 does not perform the process thereafter.
- Step 205 If the first setting parameter 116 selected and set by the switch 104 of the CPU unit 101 read in step 202 is an update process, the process proceeds to step 205, and if it is a restore process, the process proceeds to step 206 to perform backup. If it is processing, the process proceeds to step 207.
- the processing of Step 205, Step 206, and Step 207 is as described above.
- the old and new times when the first user program 102 and the second user program 112 are stored are set by the first setting parameter 116 set by selecting the switch 104 of the CPU unit 101. Since the update processing, backup processing, or restoration processing of the first user program 102 is performed after determination, the operator does not need to check whether the user program in the CPU unit or the user program in the external storage device is new or old. , Backup processing, restore processing can be performed It can be prevented from being rewritten data incorrectly operator.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
Description
以下、本発明を実施するための形態について、図面を参照して説明する。
処理部110は、2つの付属データに含まれる時間情報の新旧を判断する時間情報判断部109及び2つの設定パラメータの一致を比較して更新処理、バックアップ処理あるいはリストア処理する比較・演算部108から構成される。また、プログラム記憶部107には、第1のユーザプログラム102、第1の付属データ103及び3つの設定パラメータが保存されている。さらに、情報処理装置の一部であるCPUユニット101と接続される外部記憶装置111には、第2のユーザプログラム112、第2の付属データ113及び3つの設定パラメータが記憶されている。また、外部記憶装置111には、3つの設定パラメータから第2の設定パラメータ117を選択するスイッチ114が設けられている。外部記憶装置111に記憶された3つの設定パラメータから選択されて設定された設定パラメータ117は、CPUユニット101が行う更新処理、バックアップ処理あるいはリストア処理のいずれを行うかを左右するパラメータであり、スイッチ114の切り替えによりこれら3つの設定パラメータから1つを選択し、設定するものである。なお、3つ以上の複数の設定パラメータを設けても良く、時間をおいて更新するといった設定パラメータ等も考えられる。スイッチ104及びスイッチ114は、外部表面に設けたスイッチでも良いし、パソコン等の入力装置のプログラミングツールを用いて作業者が予めプログラム記憶部107及び外部記憶装置111に記憶された3つの設定パラメータから1つを選択し設定できるスイッチであっても良い。また、外部記憶装置記憶111あるいはCPUユニット101に設定された設定パラメータは1つでも良い。
また、比較・演算部108は、3つの設定パラメータが記憶されたプログラム記憶部107からI/O制御部105が読み出した第1の設定パラメータ116と、3つの設定パラメータが記憶された外部記憶装置111からI/O制御部105が読み出した第2の設定パラメータ117との比較を行う。比較した結果、両者の設定パラメータが異なる場合には更新処理、バックアップ処理及びリストア処理を行わない。
図2は、図1に示した構成において、I/O制御部105に外部記憶装置111を接続してから、CPUユニット101の処理部110が演算処理を完了するまでのCPUユニット101内の動作を示すフロー図である。
一方で、外部記憶装置111がI/O制御部105に接続されていないと判断した場合は処理完了となり、CPUユニット101は何も行わない。
読み出し処理が完了するとステップ203に進む。もし、外部記憶装置111内に第2のユーザプログラム112、第2の付属データ113がなければそこで処理完了となる。
一方、対応するデータがなければ処理完了としCPUユニット101は以後処理を行わない。
一方、CPUユニット101内の第1の付属データ103の日時が外部記憶装置111の第2の付属データ113の日時よりも新しいと判断された場合には、演算処理を完了する。
一方で、ステップ207において、CPUユニット101内の第1の付属データ103の日時が外部記憶装置111の第2の付属データ113の日時よりも古いと判断された場合には、古いデータを外部記憶装置111にコピーする必要がないため、演算処理を完了する。
例えば、更新処理、リストア処理あるいはバックアップ処理が正常に完了した場合にはLEDを点灯させ、処理エラーによる完了の場合には、LEDを点滅させる。これにより、正常に処理が完了したかどうかが一目瞭然となる。
一方、対応するデータがなければ処理完了としCPUユニット101は以後処理を行わない。
一方、対応するデータがなければ処理完了としCPUユニット101は以後処理を行わない。
102 第1のユーザプログラム
103 第1の付属データ
104 スイッチ
105 I/O制御部
106 表示部
107 プログラム記憶部
108 比較・演算部
109 時間情報判断部
110 処理部
111 外部記憶装置
112 第2のユーザプログラム
113 第2の付属データ
114 スイッチ
115 情報処理装置
116 第1の設定パラメータ
117 第2の設定パラメータ
Claims (8)
- CPUユニットと前記CPUユニットに接続された外部記憶装置を有する情報処理装置において、
第2のユーザプログラム及び前記第2のユーザプログラムの付属データが記憶され、前記CPUユニットにて行われる複数の処理を設定する設定パラメータが記憶されるとともに前記複数の設定パラメータから第2の設定パラメータが選択され設定された外部記憶装置と、
第1のユーザプログラム及び前記第1のユーザプログラムの付属データが記憶され、前記CPUユニットにて行われる複数の処理を設定する設定パラメータが記憶されるとともに前記複数の設定パラメータから第1の設定パラメータが選択され設定された前記CPUユニット内の記憶部と、
前記第1のユーザプログラム、前記第1のユーザプログラムの付属データ及び前記第1の設定パラメータを前記記憶部から読み出し、前記第2のユーザプログラム、前記第2のユーザプログラムの付属データ及び前記第2の設定パラメータを前記外部記憶装置から読み出す前記CPUユニット内のI/O制御部と、
前記第1のユーザプログラムの付属データに含まれる固有情報と前記第2のユーザプログラムの付属データに含まれる固有情報とが同一である前記第1のユーザプログラム及び前記第2のユーザプログラムが保存された時間の新旧を、前記第1のユーザプログラムの付属データに含まれる時間情報と前記第2のユーザプログラムの付属データに含まれる時間情報との比較により判断する時間情報判断部と、
前記外部記憶装置及び前記記憶部に記憶された複数の設定パラメータは少なくとも更新処理、バックアップ処理及びリストア処理を設定する設定パラメータを含み、前記第1の設定パラメータ及び前記第2の設定パラメータとの一致を比較して、一致している場合には一致した前記第1の設定パラメータ及び前記第2の設定パラメータにより処理する前記CPUユニット内の比較・演算部と、
を備えたことを特徴とする情報処理装置。 - CPUユニットと前記CPUユニットに接続された外部記憶装置を有する情報処理装置において、
第2のユーザプログラム及び前記第2のユーザプログラムの付属データが記憶され、前記CPUユニットにて行われる処理を設定する設定パラメータが第2の設定パラメータとして設定された外部記憶装置と、
第1のユーザプログラム及び前記第1のユーザプログラムの付属データが記憶され、前記CPUユニットにて行われる複数の処理を設定する設定パラメータが記憶されるとともに前記複数の設定パラメータから第1の設定パラメータが選択され設定された前記CPUユニット内の記憶部と、
前記第1のユーザプログラム、前記第1のユーザプログラムの付属データ及び前記第1の設定パラメータを前記記憶部から読み出し、前記第2のユーザプログラム、前記第2のユーザプログラムの付属データ及び前記第2の設定パラメータを前記外部記憶装置から読み出す前記CPUユニット内のI/O制御部と、
前記第1のユーザプログラムの付属データに含まれる固有情報と前記第2のユーザプログラムの付属データに含まれる固有情報とが同一である前記第1のユーザプログラム及び前記第2のユーザプログラムが保存された時間の新旧を、前記第1のユーザプログラムの付属データに含まれる時間情報と前記第2のユーザプログラムの付属データに含まれる時間情報との比較により判断する時間情報判断部と、
前記記憶部に記憶された複数の設定パラメータは少なくとも更新処理、バックアップ処理及びリストア処理を設定する設定パラメータを含み、前記第1の設定パラメータ及び前記第2の設定パラメータとが一致している場合には一致した前記第1の設定パラメータ及び前記第2の設定パラメータにより処理する前記CPUユニット内の比較・演算部と、
を備えたことを特徴とする情報処理装置。 - 前記CPUユニットに設定された前記第1の設定パラメータは前記CPUユニットに設けられたスイッチの切り替えにより選択されて設定された設定パラメータであり、
前記外部記憶装置に設定された前記第2の設定パラメータは前記外部記憶装置に設けられたスイッチの切り替えにより選択されて設定された設定パラメータである
ことを特徴とする請求項1又は2に記載の情報処理装置。 - CPUユニットと前記CPUユニットに接続された外部記憶装置を有する情報処理装置において、
第2のユーザプログラム及び前記第2のユーザプログラムの付属データが記憶され、前記CPUユニットにて行われる複数の処理を設定する設定パラメータが記憶されるとともに前記複数の設定パラメータから設定パラメータが選択され設定された外部記憶装置と、
第1のユーザプログラム及び前記第1のユーザプログラムの付属データが記憶された前記CPUユニット内の記憶部と、
前記第1のユーザプログラム及び前記第1のユーザプログラムの付属データを前記記憶部から読み出し、前記第2のユーザプログラム、前記第2のユーザプログラムの付属データ及び前記複数の設定パラメータから選択され設定された設定パラメータを前記外部記憶装置から読み出す前記CPUユニット内のI/O制御部と、
前記第1のユーザプログラムの付属データに含まれる固有情報と前記第2のユーザプログラムの付属データに含まれる固有情報とが同一である前記第1のユーザプログラム及び前記第2のユーザプログラムが保存された時間の新旧を、前記第1のユーザプログラムの付属データに含まれる時間情報と前記第2のユーザプログラムの付属データに含まれる時間情報との比較により判断する時間情報判断部と、
前記外部記憶装置に記憶された複数の設定パラメータは少なくとも更新処理、バックアップ処理及びリストア処理を設定する設定パラメータを含み、前記複数の設定パラメータから選択され設定された設定パラメータにより処理する前記CPUユニット内の比較・演算部と、
を備えたことを特徴とする情報処理装置。 - 前記複数の設定パラメータから選択され設定された設定パラメータは前記外部記憶装置に設けられたスイッチの切り替えにより選択されて設定された設定パラメータである
ことを特徴とする請求項4に記載の情報処理装置。 - CPUユニットと前記CPUユニットに接続された外部記憶装置を有する情報処理装置において、
第2のユーザプログラム及び前記第2のユーザプログラムの付属データが記憶された外部記憶装置と、
第1のユーザプログラム及び前記第1のユーザプログラムの付属データが記憶され、前記CPUユニットにて行われる複数の処理を設定する設定パラメータが記憶されるとともに前記複数の設定パラメータから設定パラメータが選択され設定された前記CPUユニット内の記憶部と、
前記第1のユーザプログラム、前記第1のユーザプログラムの付属データ及び前記複数の設定パラメータから選択され設定された設定パラメータを前記記憶部から読み出し、前記第2のユーザプログラム及び前記第2のユーザプログラムの付属データを前記外部記憶装置から読み出す前記CPUユニット内のI/O制御部と、
前記第1のユーザプログラムの付属データに含まれる固有情報と前記第2のユーザプログラムの付属データに含まれる固有情報とが同一である前記第1のユーザプログラム及び前記第2のユーザプログラムが保存された時間の新旧を、前記第1のユーザプログラムの付属データに含まれる時間情報と前記第2のユーザプログラムの付属データに含まれる時間情報との比較により判断する時間情報判断部と、
前記記憶部に記憶された複数の設定パラメータは少なくとも更新処理、バックアップ処理及びリストア処理を設定する設定パラメータを含み、前記複数の設定パラメータから選択され設定された設定パラメータにより処理する前記CPUユニット内の比較・演算部と、
を備えたことを特徴とする情報処理装置。 - 前記複数の設定パラメータから選択され設定された設定パラメータは前記CPUユニットに設けられたスイッチの切り替えにより選択されて設定された設定パラメータである
ことを特徴とする請求項6に記載の情報処理装置。 - 前記更新処理は、前記第1のユーザプログラムの付属データに含まれる日時情報が前記第2のユーザプログラムの付属データに含まれる日時情報よりも新しいと前記比較・演算部が判断した場合には、前記比較・演算部が前記第2のユーザプログラムを前記記憶部にコピーして書き換える処理であり、
前記バックアップ処理は、前記第1のユーザプログラムの付属データに含まれる日時情報が前記第2のユーザプログラムの付属データに含まれる日時情報よりも新しいと前記比較・演算部が判断した場合には、前記比較・演算部が前記第2のユーザプログラムを前記記憶部にコピーして書き換える処理であり、
前記リストア処理は、前記第1のユーザプログラムの付属データに含まれる日時情報と前記第2のユーザプログラムの付属データに含まれる日時情報との比較を行うことなく、前記比較・演算部が前記第2のユーザプログラムを前記プログラム記憶部にコピーして書き換える処理であることを特徴とする請求項1、2、4、6のいずれかに記載の情報処理装置。
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201080070868.9A CN103270495B (zh) | 2010-12-21 | 2010-12-21 | 信息处理装置 |
KR1020137018774A KR101498840B1 (ko) | 2010-12-21 | 2010-12-21 | 정보 처리 장치 |
US13/991,556 US9632821B2 (en) | 2010-12-21 | 2010-12-21 | Information processing apparatus with external update and restore processes |
JP2012549475A JP5569594B2 (ja) | 2010-12-21 | 2010-12-21 | 情報処理装置 |
PCT/JP2010/007394 WO2012085963A1 (ja) | 2010-12-21 | 2010-12-21 | 情報処理装置 |
TW100101725A TWI453606B (zh) | 2010-12-21 | 2011-01-18 | 資訊處理裝置 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2010/007394 WO2012085963A1 (ja) | 2010-12-21 | 2010-12-21 | 情報処理装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2012085963A1 true WO2012085963A1 (ja) | 2012-06-28 |
Family
ID=46313270
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2010/007394 WO2012085963A1 (ja) | 2010-12-21 | 2010-12-21 | 情報処理装置 |
Country Status (6)
Country | Link |
---|---|
US (1) | US9632821B2 (ja) |
JP (1) | JP5569594B2 (ja) |
KR (1) | KR101498840B1 (ja) |
CN (1) | CN103270495B (ja) |
TW (1) | TWI453606B (ja) |
WO (1) | WO2012085963A1 (ja) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105144005A (zh) * | 2013-04-22 | 2015-12-09 | 三菱电机株式会社 | 可编程逻辑控制器系统以及可编程逻辑控制器 |
CN107710168B (zh) * | 2015-06-16 | 2019-03-26 | 三菱电机株式会社 | 信息处理装置和信息处理方法 |
JP2019049907A (ja) * | 2017-09-11 | 2019-03-28 | キヤノン株式会社 | 情報処理装置、情報処理方法及びプログラム |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10116108A (ja) * | 1996-10-09 | 1998-05-06 | Fuji Electric Co Ltd | プログラミング方法 |
JP2000187633A (ja) * | 1998-12-21 | 2000-07-04 | Canon Inc | 情報処理装置、周辺機器およびそのセットアップ方法 |
JP2002099310A (ja) * | 2000-09-25 | 2002-04-05 | Toyoda Mach Works Ltd | 制御装置 |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5377326A (en) * | 1989-07-06 | 1994-12-27 | Sharp Kabushiki Kaisha | Electronic apparatus with remote data supplementation/update selection and error display |
JP3602876B2 (ja) * | 1994-10-20 | 2004-12-15 | 富士通株式会社 | 情報処理装置のメモリ書き換え装置 |
JP4021407B2 (ja) * | 2003-12-16 | 2007-12-12 | シャープ株式会社 | 情報処理装置 |
TWI240203B (en) * | 2004-02-25 | 2005-09-21 | Via Tech Inc | A device which updates firmware by a memory card |
US7904895B1 (en) * | 2004-04-21 | 2011-03-08 | Hewlett-Packard Develpment Company, L.P. | Firmware update in electronic devices employing update agent in a flash memory card |
TWI272527B (en) * | 2004-12-10 | 2007-02-01 | Inventec Corp | System and method synchronously updating data and application programs |
TW200707294A (en) * | 2005-08-10 | 2007-02-16 | Lite On It Corp | Platform-independent preference-setting method |
-
2010
- 2010-12-21 CN CN201080070868.9A patent/CN103270495B/zh not_active Expired - Fee Related
- 2010-12-21 JP JP2012549475A patent/JP5569594B2/ja not_active Expired - Fee Related
- 2010-12-21 US US13/991,556 patent/US9632821B2/en not_active Expired - Fee Related
- 2010-12-21 KR KR1020137018774A patent/KR101498840B1/ko not_active IP Right Cessation
- 2010-12-21 WO PCT/JP2010/007394 patent/WO2012085963A1/ja active Application Filing
-
2011
- 2011-01-18 TW TW100101725A patent/TWI453606B/zh not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10116108A (ja) * | 1996-10-09 | 1998-05-06 | Fuji Electric Co Ltd | プログラミング方法 |
JP2000187633A (ja) * | 1998-12-21 | 2000-07-04 | Canon Inc | 情報処理装置、周辺機器およびそのセットアップ方法 |
JP2002099310A (ja) * | 2000-09-25 | 2002-04-05 | Toyoda Mach Works Ltd | 制御装置 |
Also Published As
Publication number | Publication date |
---|---|
US20130290964A1 (en) | 2013-10-31 |
JPWO2012085963A1 (ja) | 2014-05-22 |
TW201227340A (en) | 2012-07-01 |
US9632821B2 (en) | 2017-04-25 |
JP5569594B2 (ja) | 2014-08-13 |
CN103270495B (zh) | 2016-04-20 |
KR20130105715A (ko) | 2013-09-25 |
KR101498840B1 (ko) | 2015-03-04 |
CN103270495A (zh) | 2013-08-28 |
TWI453606B (zh) | 2014-09-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8280579B2 (en) | Memory management apparatus | |
EP1826641B1 (en) | Safety controller providing rapid recovery of safety program data | |
CN109070345B (zh) | 机器人控制器系统及方法 | |
EP2124151B1 (en) | Information processing system and method for starting/recovering the system | |
JP6139386B2 (ja) | プログラマブルコントローラ | |
JP5569594B2 (ja) | 情報処理装置 | |
KR20100106227A (ko) | 모터 회전 제어 시스템 | |
JP2011215814A (ja) | プログラマブルコントローラ、設定値バックアップ・リストアシステム、及び設定値バックアップ・リストアユニット | |
US9965599B2 (en) | Function setting method | |
JP5167936B2 (ja) | 情報処理装置 | |
KR20160086957A (ko) | 엔지니어링 툴 프로그램 및 네트워크 시스템 | |
US20070050612A1 (en) | Boot program update and restoration system and method thereof | |
JP2006164002A (ja) | 数値制御装置 | |
JP5891662B2 (ja) | ロボットシステム、制御装置、および、方法 | |
JP2009187373A (ja) | プログラマブルコントローラ | |
JP2008109789A (ja) | 制御装置およびそのパラメータの処理方法 | |
JP6243259B2 (ja) | プログラマブルコントローラのシーケンスプログラム置き換え方法 | |
JP2010238232A (ja) | 産業用コントローラ | |
JP2023006812A (ja) | 制御装置、制御方法、及びプログラム | |
JP2019107727A (ja) | ロボットシステム | |
CN110221579B (zh) | 数值控制装置 | |
CN114026506B (zh) | 可编程显示器及数据管理方法 | |
JP2011145810A (ja) | プログラムデータの書き換え方法及び機器制御システム | |
JP2002063044A (ja) | 演算装置及びプログラム書き換え方法 | |
KR102334678B1 (ko) | Hmi장치 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 201080070868.9 Country of ref document: CN |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 10860989 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2012549475 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 20137018774 Country of ref document: KR Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: 13991556 Country of ref document: US |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 10860989 Country of ref document: EP Kind code of ref document: A1 |