JP2011141701A - Method, program and device for editing data - Google Patents

Method, program and device for editing data Download PDF

Info

Publication number
JP2011141701A
JP2011141701A JP2010001580A JP2010001580A JP2011141701A JP 2011141701 A JP2011141701 A JP 2011141701A JP 2010001580 A JP2010001580 A JP 2010001580A JP 2010001580 A JP2010001580 A JP 2010001580A JP 2011141701 A JP2011141701 A JP 2011141701A
Authority
JP
Japan
Prior art keywords
data
restoration
editing
information
undo
Prior art date
Legal status (The legal status 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 status listed.)
Withdrawn
Application number
JP2010001580A
Other languages
Japanese (ja)
Inventor
Akira Arata
晃 荒田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2010001580A priority Critical patent/JP2011141701A/en
Priority to US12/976,999 priority patent/US20110167047A1/en
Publication of JP2011141701A publication Critical patent/JP2011141701A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Abstract

<P>PROBLEM TO BE SOLVED: To return restored data to data before the restoration even when resuming editing after restoring the data during the editing at an optional time point. <P>SOLUTION: In an editing method used for editing various kinds of data on a computer, by executing first editing to data, the data are changed from first data to second data. By executing first restoration after the first editing, the second data are changed to the first data. Next, restoration information of the first restoration is stored in a prescribed storage part. By executing second editing after the first restoration, the first data are changed to third data. Next, by executing second restoration after the second editing, the third data are changed to the first data. Thereafter, by executing third restoration based on the restoration information of the first restoration stored in the prescribed storage part after the second restoration, the first data are restored to the second data. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明はデータ編集方法、データ編集プログラムおよびデータ編集装置に関する。   The present invention relates to a data editing method, a data editing program, and a data editing apparatus.

従来、電気CAD(Computer Aided Design)で配線を行う場合に、部品のピンからピンまでの配線の繋がりを示すネット単位に編集を行っている。なお、ピンとは、部品ピンに限らず、配線の層を乗り換えるメッキ穴なども含まれる。   Conventionally, when wiring is performed by electric CAD (Computer Aided Design), editing is performed in units of nets indicating connection of wiring from pin to pin of a component. The pin is not limited to the component pin, and includes a plated hole for changing the wiring layer.

電気CADによる配線の編集では、ノイズ問題や配線引き回しの問題によって、様々な配線経路を検討することが多い。この場合、検討中の配線を任意に時点まで復元するには、「編集」−「元に戻す」等のUNDO機能を使用することが一般的である。なお、編集作業中にUNDO機能を用いて編集内容を復元する手法は、電気CADに限られず、文書作成ソフトウエアや表計算ソフトウエアなど様々な分野で利用されている。   In wiring editing by electric CAD, various wiring paths are often examined due to noise problems and wiring routing problems. In this case, it is common to use an UNDO function such as “edit”-“restore” to arbitrarily restore the wiring under consideration up to the point in time. Note that the method of restoring edited contents using the UNDO function during editing work is not limited to electric CAD, and is used in various fields such as document creation software and spreadsheet software.

特開昭63−211467号公報JP 63-2111467 A

しかしながら、従来の技術では、編集中のデータを任意の時点で復元した後に編集を再開した場合、復元したデータを復元前のデータに戻すことができないという課題があった。   However, in the conventional technique, when editing is resumed after restoring data being edited at an arbitrary time, there is a problem that the restored data cannot be restored to the data before restoration.

例えば、上記課題を図24に示した文書作成ソフトウエアを例にして説明する。図24は、従来技術を説明する図である。図24に示すように、文書作成ソフトウエアを実行する装置(以下、文字入力装置という)は、ユーザの入力操作を受け付けて文字「あ」、「い」、「う」を順に所定領域に入力する。続いて、文字入力装置は、ユーザからUNDO操作を受け付けると、最後に入力された「う」を削除する。続いて、文字入力装置は、再び編集操作をユーザから受け付けて、受け付けた「え」を「あ」、「い」の次に入力する。すなわち、ここでは、「あ」、「い」、「え」が順に入力されたこととなる。   For example, the above problem will be described by taking the document creation software shown in FIG. 24 as an example. FIG. 24 is a diagram for explaining the prior art. As shown in FIG. 24, a device that executes document creation software (hereinafter referred to as a character input device) accepts a user input operation and inputs characters “A”, “I”, “U” in order into a predetermined area. To do. Subsequently, when receiving a UNDO operation from the user, the character input device deletes the last input “U”. Subsequently, the character input device receives an editing operation again from the user, and inputs the received “e” next to “a” and “i”. In other words, “A”, “I”, and “E” are input in this order.

その後、文字入力装置は、ユーザからUNDO操作を受け付けると、最後に入力された「え」を削除する。さらに、ユーザからUNDO操作を受け付けると、文字入力装置は、先のUNDO操作で削除された「え」の前に入力されている「い」を削除する。   Thereafter, when the character input device accepts an UNDO operation from the user, the character input device deletes the last input “e”. Further, when an UNDO operation is accepted from the user, the character input device deletes “I” input before “E” deleted by the previous UNDO operation.

つまり、文字入力装置は、1回目のUNDO操作によって「う」の削除が実行された後に編集を再開した場合に、データ編集を再開する前の状態である「あ」、「い」、「う」の状態を復元することができない。   In other words, when the editing is resumed after the deletion of “u” is executed by the first UNDO operation, the character input device is in a state before the data editing is resumed, “A”, “I”, “U”. ”Cannot be restored.

開示の技術は、上記に鑑みてなされたものであって、編集中のデータを任意の時点で復元した後に編集を再開した場合でも、復元したデータを復元前のデータに戻すことが可能であるデータ編集方法、データ編集プログラムおよびデータ編集装置を提供することを目的とする。   The disclosed technology has been made in view of the above, and even when editing is resumed after restoring the data being edited at an arbitrary time, the restored data can be restored to the data before the restoration. An object is to provide a data editing method, a data editing program, and a data editing apparatus.

本願の開示するデータ編集方法は、一つの態様において、前記データに第1の編集を実行することにより、前記データを第1のデータから第2のデータに変更する工程と、前記第1の編集後に、第1の復元を実行することにより、前記第2のデータから前記第1のデータに変更する工程と、前記第1の復元の復元情報を所定の記憶部に記憶する工程と、前記第1の復元後に、第2の編集を実行することにより、前記第1のデータから第3のデータに変更する工程と、前記第2の編集後に、第2の復元を実行することにより、前記第3のデータから前記第1のデータに変更する工程と、前記第2の復元後に、前記所定の記憶部に記憶された前記第1の復元の復元情報に基づき、第3の復元を実行することにより、前記第1のデータから前記第2のデータに復元する工程と、を含むことを特徴とする。   In one aspect, the data editing method disclosed in the present application includes a step of changing the data from the first data to the second data by executing the first editing on the data, and the first editing. A step of changing the second data from the second data to the first data by performing a first restoration, a step of storing the restoration information of the first restoration in a predetermined storage unit, After the restoration of 1, the second editing is performed to change the first data to the third data, and after the second editing, the second restoration is performed to perform the second editing. Performing the third restoration based on the restoration information of the first restoration stored in the predetermined storage unit after the second restoration, and the step of changing from the third data to the first data From the first data, the second data Characterized in that it comprises the step of restoring the data.

本願の開示するデータ編集方法、データ編集プログラムおよびデータ編集装置の一つの態様によれば、編集中のデータを任意の時点で復元した後でも、復元したデータを復元前のデータに戻すことが可能であるという効果を奏する。   According to one aspect of the data editing method, data editing program, and data editing apparatus disclosed in the present application, it is possible to restore the restored data to the data before the restoration even after restoring the data being edited at an arbitrary time. The effect that it is.

図1は、実施例1に係るデータ編集装置の構成を示すブロック図である。FIG. 1 is a block diagram illustrating the configuration of the data editing apparatus according to the first embodiment. 図2は、実行された編集例を示す図である。FIG. 2 is a diagram illustrating an executed editing example. 図3は、記憶部に記憶される情報の例を示す図である。FIG. 3 is a diagram illustrating an example of information stored in the storage unit. 図4は、新たにUNDO処理が実行された例を示す図である。FIG. 4 is a diagram illustrating an example in which UNDO processing is newly executed. 図5は、実行されたUNDO処理によって記憶部の情報が変更される例を示す図である。FIG. 5 is a diagram illustrating an example in which the information in the storage unit is changed by the executed UNDO process. 図6は、実行されたUNDO処理をREDO情報として記憶部に格納する例を示す図である。FIG. 6 is a diagram illustrating an example in which the executed UNDO process is stored in the storage unit as REDO information. 図7は、実施例1に係るデータ編集装置における処理の流れを示すフローチャートである。FIG. 7 is a flowchart illustrating a process flow in the data editing apparatus according to the first embodiment. 図8は、UNDO処理の流れを示すフローチャートである。FIG. 8 is a flowchart showing the flow of UNDO processing. 図9は、実行された編集情報の履歴例を示す図である。FIG. 9 is a diagram illustrating a history example of executed editing information. 図10は、UNDO処理された復元内容をREDO情報として保持する例を示す図である。FIG. 10 is a diagram illustrating an example in which the restored content subjected to UNDO processing is held as REDO information. 図11は、UNDO処理後に編集を再開した例を示す図である。FIG. 11 is a diagram illustrating an example in which editing is resumed after UNDO processing. 図12は、図11の編集再開後にUNDO処理を実行した例を示す図である。FIG. 12 is a diagram illustrating an example in which UNDO processing is executed after resuming editing in FIG. 図13は、編集対象の基板の例を示す図である。FIG. 13 is a diagram illustrating an example of a board to be edited. 図14は、図13の基板において能動部品A−B間(ネットA)の配線を編集した例を示す図である。FIG. 14 is a diagram showing an example in which the wiring between the active components A and B (net A) is edited on the substrate of FIG. 図15は、図14の基板において能動部品A−B間(ネットB)の配線を編集した例を示す図である。FIG. 15 is a diagram showing an example in which the wiring between the active components A and B (net B) is edited on the substrate of FIG. 図16は、図15の基板において能動部品C−D間(ネットC)の配線を編集した例を示す図である。FIG. 16 is a diagram showing an example in which the wiring between the active components CD (net C) is edited on the substrate of FIG. 図17は、図16の基板におけるネットAに関してUNDO処理を実施した例を示す図である。FIG. 17 is a diagram illustrating an example in which UNDO processing is performed on the net A in the substrate of FIG. 図18は、図17の基板におけるネットAに関してUNDO処理2回目を実施した例を示す図である。FIG. 18 is a diagram illustrating an example in which the second UNDO process is performed on the net A in the substrate of FIG. 図19は、図18の基板から編集を再開し、能動部品A−B間(ネットA)の配線を編集した例を示す図である。FIG. 19 is a diagram illustrating an example in which editing is resumed from the board of FIG. 18 and wiring between active parts A and B (net A) is edited. 図20は、図19の基板におけるネットAに関してUNDO処理を実施した例を示す図である。FIG. 20 is a diagram illustrating an example in which UNDO processing is performed on the net A in the substrate of FIG. 図21は、図20の基板におけるネットAに関してUNDO処理2回目を実施した例を示す図である。FIG. 21 is a diagram illustrating an example in which the second UNDO process is performed on the net A in the substrate of FIG. 図22は、図21の基板におけるネットAに関してUNDO処理3回目を実施した例を示す図である。FIG. 22 is a diagram illustrating an example in which the third UNDO process is performed on the net A in the substrate of FIG. 図23は、データ編集プログラムを実行するコンピュータシステムの例を示す図である。FIG. 23 is a diagram illustrating an example of a computer system that executes a data editing program. 図24は、従来技術を説明する図である。FIG. 24 is a diagram for explaining the prior art.

以下に、本願の開示するデータ編集方法、データ編集プログラムおよびデータ編集装置の実施例を図面に基づいて詳細に説明する。なお、この実施例によりこの発明が限定されるものではない。   Hereinafter, embodiments of a data editing method, a data editing program, and a data editing apparatus disclosed in the present application will be described in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

[データ編集装置の構成]
図1は、実施例1に係るデータ編集装置の構成を示すブロック図である。図1に示すデータ編集装置10は、基板、部品、配線などCAD(Computer Aided Design)データ、文書入力、表計算など様々なデータを処理対象とし、各データの更新や復元などのデータ編集を実行する。実施例1では、CADデータを処理する電気CAD装置に本願の開示するデータ編集装置を適用した例について説明するが、文書入力や表計算などを処理するソフトウエアを実行するコンピュータ装置に内蔵されてもよい。
[Data editing device configuration]
FIG. 1 is a block diagram illustrating the configuration of the data editing apparatus according to the first embodiment. The data editing apparatus 10 shown in FIG. 1 processes various data such as CAD (Computer Aided Design) data such as circuit boards, parts, and wiring, document input, spreadsheets, etc., and executes data editing such as update and restoration of each data. To do. In the first embodiment, an example in which the data editing apparatus disclosed in the present application is applied to an electric CAD apparatus that processes CAD data will be described. However, it is built in a computer apparatus that executes software for processing document input, spreadsheet, and the like. Also good.

このデータ編集装置10は、図1に示すように、通信制御I/F部11と、入力部12と、表示部13と、記憶部14と、制御部15とを有する。通信制御I/F部11は、少なくとも1つの通信ポートを有するインタフェースであり、他の装置との間でやり取りされる情報を制御する。例えば、通信制御I/F部11は、データ編集の対象となるデータを受信して制御部15に転送する。   As shown in FIG. 1, the data editing apparatus 10 includes a communication control I / F unit 11, an input unit 12, a display unit 13, a storage unit 14, and a control unit 15. The communication control I / F unit 11 is an interface having at least one communication port, and controls information exchanged with other devices. For example, the communication control I / F unit 11 receives data to be edited and transfers it to the control unit 15.

入力部12は、例えば、キーボードやマウス、マイクなどであり、編集開始指示や編集終了指示、UNDO操作等の入力をユーザから受付け、後述する制御部15等に入力する。また、入力部12は、CD(Compact Disc)、DVD(Digital Versatile Disc)や磁気ディスクなどの記憶媒体を読み込んで情報を読み出したり、情報を書き込んだりすることができる。例えば、入力部12は、データ編集の対象となるファイル等を記憶媒体から読み出して制御部15に転送する。   The input unit 12 is, for example, a keyboard, a mouse, a microphone, and the like. The input unit 12 receives inputs such as an edit start instruction, an edit end instruction, and an UNDO operation from the user, and inputs them to the control unit 15 and the like described later. The input unit 12 can read information from and write information to a storage medium such as a CD (Compact Disc), a DVD (Digital Versatile Disc), or a magnetic disk. For example, the input unit 12 reads a file or the like to be edited from the storage medium and transfers it to the control unit 15.

表示部13は、例えば、モニタ、ディスプレイ、タッチパネルやスピーカなどであり、後述する制御部15で実施されたデータ編集結果や編集中のデータなどを表示出力する。なお、後述する表示部13は、入力部12と協働してポインティングディバイス機能を実現する。   The display unit 13 is, for example, a monitor, a display, a touch panel, a speaker, and the like, and displays and outputs a data editing result performed by the control unit 15 described later, data being edited, and the like. The display unit 13 to be described later realizes a pointing device function in cooperation with the input unit 12.

記憶部14は、RAM(Random Access Memory)などの半導体メモリ素子やハードディスク、光ディスクなどの記憶装置であり、制御部15による各種処理に必要なデータおよびプログラムを格納する。また、記憶部14は、制御部15によってデータ編集中のデータに対して保存要求が実行された場合には、該データを記憶する。   The storage unit 14 is a storage device such as a semiconductor memory device such as a RAM (Random Access Memory), a hard disk, or an optical disk, and stores data and programs necessary for various processes performed by the control unit 15. Further, the storage unit 14 stores the data when the control unit 15 issues a save request to the data being edited.

記憶部14は、データの編集した内容を示す編集内容又はデータを復元した内容を示す復元内容をUNDO情報(実行情報)として、編集又は復元が実施された時系列に記憶する。さらに、記憶部14は、例えば電気CADの場合にはネットAや部品Aなど、どこを編集又は復元したかを示す編集箇所を実行情報に対応付けて記憶しても良い。   The storage unit 14 stores, as UNDO information (execution information), edited contents indicating the edited contents of data or restored contents indicating the restored contents in time series in which editing or restoration is performed. Furthermore, for example, in the case of electric CAD, the storage unit 14 may store an editing portion indicating where the editing or restoration has been performed, such as the net A or the component A, in association with the execution information.

ここで、図2と図3を用いて、記憶部14が記憶する情報の例を説明する。図2は、実行された編集例を示す図であり、図3は、記憶部に記憶される情報の例を示す図である。なお、図3は、図2に示した編集が実施された場合に記憶される情報を示している。また、ここでは、電気CADで配線や部品の配置変更をデータ編集として実施する例として、例えば部品のピンからピンまでの配線の繋がりを示すネット単位ごとにデータ編集が行われた例について説明する。   Here, the example of the information which the memory | storage part 14 memorize | stores is demonstrated using FIG. 2 and FIG. FIG. 2 is a diagram illustrating an executed editing example, and FIG. 3 is a diagram illustrating an example of information stored in the storage unit. FIG. 3 shows information stored when the editing shown in FIG. 2 is performed. In addition, here, as an example in which wiring and component placement changes are performed as data editing by electric CAD, an example will be described in which data editing is performed for each net unit indicating a wiring connection from pin to pin of a component, for example. .

具体的には、図2に示すように、この例では、編集対象のCADデータに対して編集1、編集2、編集3、編集4が順番に実行されている。そして、編集1では、ネットAに対する編集と部品Bに対する編集が実行されており、同様に、編集2では、ネットCに対する編集とネットDに対する編集と部品Eに対する編集が実行されている。また、編集3では、ネットFに対する編集と部品Eに対する編集とネットDに対する編集が実行されており、同様に、編集4では、ネットFに対する編集とネットCに対する編集とが実行されている。   Specifically, as shown in FIG. 2, in this example, editing 1, editing 2, editing 3, and editing 4 are sequentially performed on the CAD data to be edited. In edit 1, editing for net A and editing for part B are executed. Similarly, in editing 2, editing for net C, editing for net D, and editing for part E are executed. In edit 3, editing for net F, editing for component E, and editing for net D are executed. Similarly, in editing 4, editing for net F and editing for net C are executed.

このようなデータ編集が実行された場合、図3に示すように、記憶部14は、実行した操作を元に戻す際に利用する情報として、「UNDO情報」と「オブジェクト情報」とを対応付けて記憶する。「UNDO情報」は、管理単位として「コマンド情報管理」と「プロセス情報管理」とを有し、データ編集の内容全体を管理する管理単位である。すなわち、記憶部14は、編集が実行された1CADデータ(1ファイル)ごとに1つの「UNDO情報」でUNDO情報を記憶する。   When such data editing is executed, as shown in FIG. 3, the storage unit 14 associates “UNDO information” and “object information” as information used when returning the executed operation. Remember. The “UNDO information” has “command information management” and “process information management” as management units, and is a management unit for managing the entire contents of data editing. That is, the storage unit 14 stores UNDO information as one “UNDO information” for each piece of CAD data (one file) for which editing has been executed.

「コマンド情報管理」は、1つの実行情報を管理するものであり、例えば図2の編集1〜編集4ごとにデータ編集内容を記憶する。「プロセス情報管理」は、「コマンド情報管理」で記憶される実行情報を構成するプロセスを管理するものであり、編集された内容を示す「編集情報」と、プロセスの実行により変化した編集前後の「オブジェクト情報」とを有している。「編集情報」は、例えば配線追加、部品移動などの編集詳細を記憶する。「オブジェクト情報」は、例えば「編集情報」として「配線追加」が実行された場合には、配線追加によって追加された配線が表示部13等の表示対象であるか否かを示す「ステータス」を記憶する。「ステータス」は、データとして表示部13に表示する場合には「正常」、表示しない場合には「削除」を記憶する。なお、例えばどの方向にどのくらい部品B移動したやネットAの部品Aと部品Bの間の配線をどのように変更したかなど実際に実行された内容は、「コマンド情報管理」に対応付けて記憶してもよく、他のデータベースとして記憶してもよい。   “Command information management” manages one piece of execution information, and stores data editing contents for each of editing 1 to editing 4 in FIG. 2, for example. “Process information management” is used to manage the processes that make up the execution information stored in “command information management”. "Object information". “Editing information” stores editing details such as wiring addition and component movement. For example, when “add wiring” is executed as “edit information”, “object information” indicates “status” indicating whether or not the wiring added by the wiring addition is a display target of the display unit 13 or the like. Remember. “Status” stores “normal” when displayed on the display unit 13 as data, and “deleted” when not displayed. For example, the contents actually executed such as how much the component B is moved in which direction and how the wiring between the component A and the component B of the net A is changed are stored in association with “command information management”. Alternatively, it may be stored as another database.

例えば、図3に示すように、記憶部14は、「コマンド情報管理」として編集1を記憶し、編集1のネットAに関する「編集情報=配線追加」を「プロセス情報管理」として記憶する。そして、記憶部14は、「編集後情報」の「オブジェクト情報」として「配線情報のステータス=正常」を記憶する。この例の場合、編集1では、ネットAに対して配線追加が実施され、追加された配線は編集中のCADデータ内に表示されていることを示している。   For example, as illustrated in FIG. 3, the storage unit 14 stores edit 1 as “command information management”, and stores “edit information = wiring addition” regarding net A of edit 1 as “process information management”. Then, the storage unit 14 stores “wiring information status = normal” as “object information” of “post-edit information”. In the case of this example, in the edit 1, it is shown that the wiring is added to the net A, and the added wiring is displayed in the CAD data being edited.

また、記憶部14は、「コマンド情報管理」として編集1を記憶し、編集1の部品Bに関する「編集情報=部品移動」を「プロセス情報管理」として記憶する。そして、記憶部14は、「編集前情報」の「オブジェクト情報」として「部品情報のステータス=削除」を記憶し、「編集後情報」の「オブジェクト情報」として「部品情報のステータス=正常」を記憶する。この例の場合、編集1では、部品Bに対して移動が実施され、編集中のCADデータ内に表示されていることを示している。なお、編集前情報の「ステータス」が「削除」になっている。このため、編集1によって移動された部品Bの移動前のデータは編集中のCADデータ内に表示されておらず、移動後のデータが編集中のCADデータ内に表示されたことがわかる。   In addition, the storage unit 14 stores edit 1 as “command information management”, and stores “edit information = part movement” regarding the component B of edit 1 as “process information management”. Then, the storage unit 14 stores “part information status = deletion” as “object information” of “pre-edit information”, and “part information status = normal” as “object information” of “post-edit information”. Remember. In the case of this example, the editing 1 indicates that the part B is moved and displayed in the CAD data being edited. The “status” of the pre-edit information is “deleted”. For this reason, it can be seen that the data before the movement of the part B moved by the editing 1 is not displayed in the CAD data being edited, and the data after the movement is displayed in the CAD data being edited.

なお、各編集は、連続して実行される必要はなく、例えば編集1を実行した後に、編集中のCADデータを保存して編集を終了する。その後、ファイルを再度開いて、編集2を実行した場合であっても、同じCADデータに対する編集となる。この結果、編集1と編集2は、同じ「UNDO情報」で管理される。   Each editing need not be executed continuously. For example, after executing editing 1, the CAD data being edited is saved and the editing ends. Thereafter, even if the file is reopened and editing 2 is executed, the same CAD data is edited. As a result, Edit 1 and Edit 2 are managed with the same “UNDO information”.

図1に戻り、制御部15は、例えば、ASIC(Application Specific Integrated Circuit)などの集積回路やCPUやMPU(Micro Processing Unit)などの電子回路である。この制御部15は、OS(Operating System)などの制御プログラム、各種の処理手順などを規定したプログラムおよび所要データを格納するための内部メモリを有する。さらに、制御部15は、編集実行部16と復元実行部17とを有し、これらによって各種処理を実行する。   Returning to FIG. 1, the control unit 15 is, for example, an integrated circuit such as an ASIC (Application Specific Integrated Circuit) or an electronic circuit such as a CPU or an MPU (Micro Processing Unit). The control unit 15 has an internal memory for storing a control program such as an OS (Operating System), a program defining various processing procedures, and required data. Furthermore, the control unit 15 includes an editing execution unit 16 and a restoration execution unit 17, and executes various processes using these.

編集実行部16は、データの編集を実行して、該実行した編集内容をUNDO情報として記憶部14に格納する。例えば、編集実行部16は、データ編集装置10上で編集対象となっているCADデータに対して、入力部12を介して配線追加や部品移動などの編集内容を受け付けると、受け付けた編集内容をCADデータに実行し、実行した内容を記憶部14に格納する。   The editing execution unit 16 executes data editing, and stores the executed editing content in the storage unit 14 as UNDO information. For example, when the editing execution unit 16 receives editing contents such as wiring addition or component movement via the input unit 12 for CAD data to be edited on the data editing apparatus 10, the editing execution unit 16 displays the received editing contents. The process is executed on CAD data, and the executed contents are stored in the storage unit 14.

一例として、編集実行部16は、図2に示した編集4の後に、部品Xの移動を実行する編集Xを受け付けたとする。この場合、編集実行部16は、編集対象となっているCADデータの部品Xを、入力部12を介してユーザから指定された位置に移動させる。そして、編集実行部16は、記憶部14に記憶される該CADデータの「UNDO情報管理」の「コマンド情報管理」として「編集X」を追加する。さらに、編集実行部16は、追加した「コマンド情報管理=編集X」に「プロセス情報管理、編集情報=部品移動」を追加する。さらに、編集実行部16は、追加した「プロセス情報管理、編集情報=部品移動」の「編集前情報」に「部品情報、ステータス=削除」を追加し、「編集後情報」に「部品情報、ステータス=正常」を追加する。なお、例えばどの方向にどのくらい部品Bを移動したなど実際に実行された内容は、「コマンド情報管理」に対応付けて格納する。この結果、データ編集装置10は、表示部13等で表示している編集中のCADデータ上に、新たな編集で移動された部品Xを表示する。   As an example, it is assumed that the edit execution unit 16 receives an edit X for executing the movement of the part X after the edit 4 shown in FIG. In this case, the editing execution unit 16 moves the CAD data component X to be edited to a position designated by the user via the input unit 12. Then, the editing execution unit 16 adds “edit X” as “command information management” of “UNDO information management” of the CAD data stored in the storage unit 14. Further, the editing execution unit 16 adds “process information management, editing information = part movement” to the added “command information management = edit X”. Further, the edit execution unit 16 adds “part information, status = deletion” to “pre-edit information” of the added “process information management, edit information = part movement”, and “part information, Add "Status = Normal". It should be noted that the content actually executed such as how much the component B is moved in which direction is stored in association with “command information management”. As a result, the data editing apparatus 10 displays the component X moved by the new editing on the CAD data being edited displayed on the display unit 13 or the like.

また、編集実行部16は、記憶部14に既に記憶される情報に対してさらに編集を行った場合には、「プロセス情報管理」を新たに追加する必要はなく、既に記憶される「プロセス情報管理」を更新するようにしてもよい。例えば、図3に示したネットBの「プロセス情報管理」で管理される部品Bをさらに移動させる編集を実行したとする。この場合、編集実行部16は、図3に示した部品Bの「プロセス情報管理」における「編集前情報」の「部品情報、ステータス」を「削除」に変更し、「編集後情報」の「部品情報、ステータス」を「正常」に変更する。そして、編集実行部16は、記憶部14に記憶される該CADデータの「UNDO情報管理」の「コマンド情報管理」として「編集X」を追加する。その後、編集実行部16は、追加した「編集X」の「コマンド情報管理」と、変更した部品Bの「プロセス情報管理」とを関連付けて管理する。この結果、新たな情報を作成することなく編集情報を管理できるので、記憶容量の削減を可能にする。   Further, when the editing execution unit 16 further edits the information already stored in the storage unit 14, it is not necessary to newly add “process information management”. “Management” may be updated. For example, it is assumed that editing for further moving the component B managed by the “process information management” of the net B shown in FIG. In this case, the editing execution unit 16 changes “part information and status” of “pre-edit information” in “process information management” of the part B shown in FIG. Change “Parts Information, Status” to “Normal”. Then, the editing execution unit 16 adds “edit X” as “command information management” of “UNDO information management” of the CAD data stored in the storage unit 14. Thereafter, the editing execution unit 16 manages the added “edit information” “command information management” and the changed component B “process information management” in association with each other. As a result, the editing information can be managed without creating new information, so that the storage capacity can be reduced.

復元実行部17は、UNDO対象決定部17aと、UNDO情報制御部17bと、UNDO実行部17cと、REDO情報追加部17dとを有する。これらの機能部を有する復元実行部17は、編集中のCADデータを復元するのに際して、記憶部14に記憶される最新のUNDO情報の直前の情報が編集内容である場合には、該編集内容の実行前のデータに復元する。また、復元実行部17は、記憶部14に記憶される最新のUNDO情報の直前の情報が復元内容である場合には、該復元内容の実行前のデータに復元する。そして、復元実行部17は、このようにして実行した復元内容をUNDO情報として記憶部14に格納する。   The restoration execution unit 17 includes an UNDO target determination unit 17a, an UNDO information control unit 17b, an UNDO execution unit 17c, and a REDO information addition unit 17d. When restoring the CAD data being edited, the restoration executing unit 17 having these functional units, when the information immediately before the latest UNDO information stored in the storage unit 14 is the edited content, Restore the data before the execution. In addition, when the information immediately before the latest UNDO information stored in the storage unit 14 is the restoration content, the restoration execution unit 17 restores the data before the execution of the restoration content. Then, the restoration execution unit 17 stores the restoration contents executed in this way in the storage unit 14 as UNDO information.

UNDO対象決定部17aは、入力部12を介して、UNDOの処理開始と処理対象を受け付けて、復元する対象を決定する。例えば、UNDO対象決定部17aは、入力部12を介して、UNDOの処理開始指示のみを受け付けた場合には、UNDOの処理開始指示のみをUNDO情報制御部17bに出力する。また、UNDO対象決定部17aは、入力部12を介して、UNDOの処理開始指示と共にUNDO対象としてネットAや部品Bなどを受け付け、受け付けたネットAや部品Bなどの処理対象をUNDO情報制御部17bに出力する。   The UNDO target determination unit 17a receives an UNDO process start and a processing target via the input unit 12, and determines a target to be restored. For example, when only the UNDO processing start instruction is received via the input unit 12, the UNDO target determination unit 17a outputs only the UNDO processing start instruction to the UNDO information control unit 17b. Further, the UNDO target determination unit 17a accepts the net A and the component B as the UNDO target together with the UNDO processing start instruction via the input unit 12, and sets the received processing target such as the net A and the component B to the UNDO information control unit. To 17b.

UNDO情報制御部17bは、UNDO対象決定部17aからUNDOの処理開始指示のみを受け付けた場合には、記憶部14に記憶される最新のUNDO情報の直前の情報を読み出してUNDO実行部17cに出力する。また、UNDO情報制御部17bは、UNDO対象決定部17aからUNDOの処理開始指示と処理対象とを受け付けた場合には、記憶部14に記憶される処理対象に関する実行情報のうち、最新に実行されたUNDO情報を読み出してUNDO実行部17cに出力する。   When the UNDO information control unit 17b receives only an UNDO processing start instruction from the UNDO target determination unit 17a, the UNDO information control unit 17b reads the information immediately before the latest UNDO information stored in the storage unit 14 and outputs the information to the UNDO execution unit 17c. To do. In addition, when the UNDO information control unit 17b receives an UNDO processing start instruction and a processing target from the UNDO target determination unit 17a, the UNDO information control unit 17b is executed the latest among the execution information related to the processing target stored in the storage unit 14. The UNDO information is read out and output to the UNDO execution unit 17c.

UNDO実行部17cは、UNDO情報制御部17bから受信したUNDO情報を実行する。例えば、UNDO実行部17cは、UNDO情報制御部17bから受信したUNDO情報が編集内容である場合には、該編集内容が実行される前のデータに復元する。また、復元実行部17は、UNDO情報制御部17bから受信したUNDO情報が復元内容である場合には、該復元内容によって復元される前のデータに復元する。そして、UNDO実行部17cは、実行した復元内容をREDO情報追加部17dに出力する。   The UNDO execution unit 17c executes the UNDO information received from the UNDO information control unit 17b. For example, when the UNDO information received from the UNDO information control unit 17b is the editing content, the UNDO execution unit 17c restores the data before the editing content is executed. In addition, when the UNDO information received from the UNDO information control unit 17b is the restoration content, the restoration execution unit 17 restores the data before the restoration by the restoration content. Then, the UNDO execution unit 17c outputs the executed restoration content to the REDO information addition unit 17d.

REDO情報追加部17dは、UNDO実行部17cから受信した復元内容を、UNDOを実行して復元したデータをもう一度やり直す際に利用するREDO情報として、記憶部14に格納する。この際、REDO情報追加部17dは、記憶部14の最新のUNDO情報として復元内容を格納する。   The REDO information adding unit 17d stores the restoration content received from the UNDO execution unit 17c in the storage unit 14 as REDO information used when the restored data is executed again by executing UNDO. At this time, the REDO information adding unit 17d stores the restored content as the latest UNDO information in the storage unit 14.

ここで、図4〜図6を用いて、データを復元してREDO情報を記憶部14に格納するまでの処理と記憶部14に格納される実行情報の変化を具体的に説明する。図4は、新たにUNDO処理が実行された例を示す図であり、図5は、実行されたUNDO処理によって記憶部の情報が変更される例を示す図であり、図6は、実行されたUNDO処理をREDO情報として記憶部に格納する例を示す図である。   Here, with reference to FIG. 4 to FIG. 6, a process from restoring data to storing the REDO information in the storage unit 14 and a change in execution information stored in the storage unit 14 will be specifically described. FIG. 4 is a diagram showing an example in which UNDO processing is newly executed, FIG. 5 is a diagram showing an example in which information in the storage unit is changed by the executed UNDO processing, and FIG. 6 is executed. It is a figure which shows the example which stores the UNDO process in a memory | storage part as REDO information.

図4に示すように、この例では、編集対象のファイルに対して編集1、編集2、編集3、編集4が順番に実行されている。そして、編集1では、ネットAに対する編集と部品Bに対する編集が実行されており、同様に、編集2では、ネットCに対する編集とネットDに対する編集と部品Eに対する編集が実行されている。また、編集3では、ネットFに対する編集と部品Eに対する編集とネットDに対する編集が実行されており、同様に、編集4では、ネットFに対する編集とネットCに対する編集とが実行されている。その後、図4では、図2と異なり、編集5が実行された例を示している。   As shown in FIG. 4, in this example, edit 1, edit 2, edit 3, and edit 4 are executed in order on the file to be edited. In edit 1, editing for net A and editing for part B are executed. Similarly, in editing 2, editing for net C, editing for net D, and editing for part E are executed. In edit 3, editing for net F, editing for component E, and editing for net D are executed. Similarly, in editing 4, editing for net F and editing for net C are executed. Thereafter, FIG. 4 shows an example in which editing 5 is executed, unlike FIG.

ここで、編集5で実行された内容が「部品Bを元に戻すUNDO処理」であったとする。この場合、UNDO対象決定部17aは、部品Bを復元対象と決定して、UNDOの処理開始指示と共にUNDO対象として部品BをUNDO情報制御部17bに出力する。UNDO情報制御部17bは、記憶部14に記憶される部品Bに対するUNDO情報のうち、最新に実行されたUNDO情報として、コマンド情報管理「編集1」のプロセス情報管理「部品移動」を読み出してUNDO実行部17cに出力する。また、UNDO情報制御部17bは、プロセス情報管理「部品移動」に対応付けられた編集内容も読み出してUNDO実行部17cに出力する。   Here, it is assumed that the content executed in the editing 5 is “UNDO processing for returning the part B to the original”. In this case, the UNDO target determining unit 17a determines that the component B is a restoration target, and outputs the component B as an UNDO target to the UNDO information control unit 17b together with an UNDO processing start instruction. The UNDO information control unit 17b reads out the process information management “part movement” of the command information management “edit 1” as the most recently executed UNDO information from among the UNDO information for the part B stored in the storage unit 14. It outputs to the execution part 17c. Also, the UNDO information control unit 17b reads out the editing content associated with the process information management “part movement” and outputs it to the UNDO execution unit 17c.

UNDO実行部17cは、受信したコマンド情報管理「編集1」のプロセス情報管理「部品移動」とは逆の操作を実行することで、UNDO処理を実行する。すなわち、UNDO実行部17cは、「編集1」のプロセス情報管理「部品移動」によって移動された分を元に戻す処理を実行する。   The UNDO execution unit 17c executes an UNDO process by executing an operation opposite to the process information management “part movement” of the received command information management “edit 1”. That is, the UNDO execution unit 17c executes a process for restoring the amount moved by the process information management “part movement” of “edit 1”.

そして、REDO情報追加部17dは、図5に示すように、プロセス情報管理「部品移動」における「編集後情報」の「ステータス」を「正常から削除」に変更し、「編集前情報」の「ステータス」を「削除から正常」に変更する。すなわち、REDO情報追加部17dは、編集1によって移動された部品Bの編集後のステータスを「削除」にすることで表示対象外とし、編集1によって移動された部品Bの編集前のステータスを「正常」にすることで表示対象とする。この際、REDO情報追加部17dは、UNDO実行部17cによって実行された復元内容をプロセス情報管理「部品移動」に対応付けて格納する。この結果、編集1とは逆の操作、すなわち、UNDOが実施されたこととなる。   Then, as shown in FIG. 5, the REDO information adding unit 17 d changes the “status” of “post-edit information” in the process information management “part movement” to “deleted from normal”, and changes the “pre-edit information” “ Change "Status" from "Deleted to Normal". That is, the REDO information adding unit 17d sets the status after editing of the component B moved by the editing 1 to “delete” to exclude it from display, and sets the status before editing of the component B moved by the editing 1 to “ Set to “Normal” for display. At this time, the REDO information adding unit 17d stores the restoration contents executed by the UNDO execution unit 17c in association with the process information management “part movement”. As a result, the operation opposite to that of editing 1, that is, UNDO is performed.

続いて、REDO情報追加部17dは、図6に示すように、上述してきた編集5を新たな「コマンド情報管理」として追加し、UNDO実行部17cによってUNDOが実行された部品Bの「プロセス情報管理」と対応付ける。この結果、新たな「プロセス情報管理」を記憶部14内に作成することなく、UNDOによる復元内容、言い換えると、REDO情報を管理することができる。   Subsequently, as shown in FIG. 6, the REDO information adding unit 17d adds the editing 5 described above as a new “command information management”, and the “process information” of the component B for which UNDO has been executed by the UNDO executing unit 17c. Correspond with “Management”. As a result, the contents restored by UNDO, in other words, the REDO information can be managed without creating new “process information management” in the storage unit 14.

[データ編集装置による処理の流れ]
次に、図7と図8を用いて、データ編集装置による処理の流れを説明する。ここでは、図7を用いて全体的な処理の流れを説明し、図8を用いてUNDO処理の流れを説明する。
[Flow of processing by data editing device]
Next, the flow of processing by the data editing apparatus will be described with reference to FIGS. Here, the overall flow of processing will be described with reference to FIG. 7, and the flow of UNDO processing will be described with reference to FIG.

(全体的な処理の流れ)
図7は、実施例1に係るデータ編集装置における処理の流れを示すフローチャートである。図7に示すように、データ編集装置10の制御部15は、入力部12を介して編集作業開始を受け付けると(ステップS101肯定)、対象CADデータを読み出して編集を開始し、その後、通常の編集内容を受け付けたか否かを判定する(ステップS102)。
(Overall processing flow)
FIG. 7 is a flowchart illustrating a process flow in the data editing apparatus according to the first embodiment. As shown in FIG. 7, when the control unit 15 of the data editing apparatus 10 accepts the start of editing work via the input unit 12 (Yes in step S101), the control unit 15 reads the target CAD data and starts editing. It is determined whether edit content has been accepted (step S102).

そして、通常の編集内容を受け付けた場合(ステップS102肯定)、編集実行部16は、入力部12を介して指示された編集内容を実行する(ステップS103)。続いて、編集実行部16は、実行した編集内容をUNDO情報として記憶部14に格納する(ステップS104)。その後、編集実行部16は、入力部12を介して編集処理終了指示が受け付けられるまでは(ステップS105否定)、ステップS101に戻って以降の処理を実行する。一方、編集実行部16は、入力部12を介して編集処理終了指示が受け付けられると(ステップS105肯定)、処理を終了する。   When normal editing content is received (Yes at Step S102), the editing execution unit 16 executes editing content instructed via the input unit 12 (Step S103). Subsequently, the editing execution unit 16 stores the executed editing content as UNDO information in the storage unit 14 (step S104). Thereafter, the edit execution unit 16 returns to step S101 to execute the subsequent processes until an edit process end instruction is received via the input unit 12 (No in step S105). On the other hand, when an editing process end instruction is received via the input unit 12 (Yes in step S105), the editing execution unit 16 ends the process.

また、ステップS102において、通常の編集内容以外の内容、言い換えると、復元内容(UNDO内容)を受け付けた場合(ステップS102否定)、復元実行部17は、UNDO処理を実行した後(ステップS106)、ステップS105の処理を実行する。   In step S102, when contents other than normal editing contents, in other words, restoration contents (UNDO contents) are accepted (No in step S102), the restoration execution unit 17 executes UNDO processing (step S106). The process of step S105 is executed.

(UNDO処理の流れ)
図8は、UNDO処理の流れを示すフローチャートである。この処理は、図7に示したステップS106に該当する処理である。図8に示すように、UNDO対象決定部17aは、入力部12を介して入力された情報から、UNDOの処理対象を取得して、対象を決定する(ステップS201)。
(Undo process flow)
FIG. 8 is a flowchart showing the flow of UNDO processing. This process corresponds to step S106 shown in FIG. As illustrated in FIG. 8, the UNDO target determining unit 17 a acquires an UNDO processing target from information input via the input unit 12 and determines a target (step S <b> 201).

続いて、UNDO情報制御部17bは、UNDOの処理対象に対応するUNDO情報(実行情報)を記憶部14から順次参照し(ステップS202)、参照したUNDO情報が処理対象のネットに属するか否かを判定する(ステップS203)。   Subsequently, the UNDO information control unit 17b sequentially refers to the UNDO information (execution information) corresponding to the UNDO processing target from the storage unit 14 (step S202), and whether or not the referred UNDO information belongs to the processing target net. Is determined (step S203).

UNDO実行部17cは、UNDO情報制御部17bによって参照されたUNDO情報が処理対象のネットに属すると判定された場合(ステップS203肯定)、参照されたUNDO情報に基づいてUNDO処理を実行する(ステップS204)。その後、REDO情報追加部17dは、UNDO実行部17cが実行したUNDOにかかる情報をREDO情報として、記憶部14に格納する(ステップS205)。   If it is determined that the UNDO information referred to by the UNDO information control unit 17b belongs to the processing target net (Yes in step S203), the UNDO execution unit 17c executes UNDO processing based on the referenced UNDO information (step S203). S204). Thereafter, the REDO information adding unit 17d stores the information related to UNDO executed by the UNDO execution unit 17c as REDO information in the storage unit 14 (step S205).

一方、ステップS203において、UNDO情報制御部17bは、参照したUNDO情報が処理対象のネットに属さない場合(ステップS203否定)、次のUNDO情報を記憶部14から読み出してステップS203の処理を実行する(ステップS206)。   On the other hand, in step S203, if the referenced UNDO information does not belong to the processing target net (No in step S203), the UNDO information control unit 17b reads the next UNDO information from the storage unit 14 and executes the process of step S203. (Step S206).

[処理対象箇所ごとのUNDO情報の管理方法]
次に、図9〜図12を用いて、例えばネット単位など上述した処理対象箇所ごとのUNDO情報の管理方法について説明する。図9は、実行された編集情報の履歴例を示す図であり、図10は、UNDO処理された復元内容をREDO情報として保持する例を示す図である。図11は、UNDO処理後に編集を再開した例を示す図であり、図12は、図11の編集再開後にUNDO処理を実行した例を示す図である。
[Management method of UNDO information for each processing target location]
Next, with reference to FIGS. 9 to 12, for example, a management method of UNDO information for each processing target portion described above such as a net unit will be described. FIG. 9 is a diagram illustrating an example of a history of executed editing information, and FIG. 10 is a diagram illustrating an example in which the restored contents subjected to UNDO processing are stored as REDO information. FIG. 11 is a diagram illustrating an example in which editing is resumed after UNDO processing, and FIG. 12 is a diagram illustrating an example in which UNDO processing is performed after editing is resumed in FIG. 11.

図9に示すように、この例では、編集対象のCADデータに対して編集1、編集2、編集3、編集4が順番に実行されている。そして、編集1では、ネットAに絡む編集とネットBに絡む編集が実行されており、同様に、編集2では、ネットCに絡む編集と部品やネットに絡まない編集と部品1に絡む編集が実行されている。また、編集3では、ネットBに絡む編集とネットAに絡む編集と部品1に絡む編集と部品やネットに絡まない編集とが実行されており、同様に、編集4では、ネットAに絡む編集と部品Bに絡む編集とネットCに絡む編集が実行されている。   As shown in FIG. 9, in this example, editing 1, editing 2, editing 3, and editing 4 are executed in order on the CAD data to be edited. In edit 1, editing related to net A and editing related to net B are executed. Similarly, in editing 2, editing related to net C, editing not related to parts and nets, and editing related to part 1 are performed. It is running. In edit 3, editing related to net B, editing related to net A, editing related to part 1, and editing not related to parts or nets are executed. Similarly, in editing 4, editing related to net A is performed. Editing related to the part B and editing related to the net C are executed.

このような状態において、データ編集装置10の復元実行部17は、ユーザの操作によって、ネットBのみに対してUNDO処理を連続して3回実行したとする。この場合、復元実行部17は、図10に示すように、記憶部14に記憶される最新の編集情報である編集4から順次遡って、ネットBに関する情報のみを復元する。すなわち、復元実行部17は、編集4のネットBに関する処理をUNDO1回目として復元し、編集3のネットBに関する処理をUNDO2回目として復元し、編集1のネットBに関する処理をUNDO3回目として復元する。その後、復元実行部17は、図10に示すように、UNDO1回目、2回目、3回目各々で実行した復元内容をREDO情報として、編集4の次に順番に記憶部14に格納する。   In such a state, it is assumed that the restoration execution unit 17 of the data editing apparatus 10 continuously executes UNDO processing three times only for the net B by a user operation. In this case, as illustrated in FIG. 10, the restoration execution unit 17 restores only the information related to the net B by going back sequentially from the editing 4 that is the latest editing information stored in the storage unit 14. That is, the restoration execution unit 17 restores the process related to the net B of edit 4 as the first UNDO, restores the process related to the net B of edit 3 as the second UNDO, and restores the process related to the net B of edit 1 as the third UNDO. Thereafter, as shown in FIG. 10, the restoration executing unit 17 stores the restored contents executed at each of the first, second, and third times in the storage unit 14 in order after the editing 4 as REDO information.

また、図9に示した編集状態から、ネットBのみに対してUNDO処理を連続して2回実行した後に、編集5を再開したとする。この場合、復元実行部17は、図11に示すように、記憶部14に記憶される最新の編集情報である編集4から順次遡り、編集4のネットBに関する処理をUNDO1回目として復元し、編集3のネットBに関する処理をUNDO2回目として復元する。その後、復元実行部17は、図11に示すように、UNDO1回目、2回目各々で実行した復元内容をREDO情報として、編集4の次に順番に記憶部14に格納する。その後、編集実行部16は、新たに記憶部14に格納したREDO情報の後に、新たに実行した編集5の詳細情報として、ネットAに絡む編集内容とネットBに絡む編集内容とネットCに絡む編集内容を順番に時系列で記憶部14に格納する。   Further, it is assumed that the editing 5 is resumed after the UNDO process is continuously executed twice for only the net B from the editing state shown in FIG. In this case, as shown in FIG. 11, the restoration executing unit 17 sequentially goes back from the editing 4 that is the latest editing information stored in the storage unit 14, restores the processing related to the net B of the editing 4 as the first UNDO, and edits 3 is restored as the second UNDO process. Thereafter, as shown in FIG. 11, the restoration execution unit 17 stores the restoration contents executed in each of the first and second UNDO as REDO information in the storage unit 14 in order after the editing 4. After that, the edit execution unit 16 is associated with the edit content related to the net A, the edit content related to the net B, and the net C as the detailed information of the newly executed edit 5 after the REDO information newly stored in the storage unit 14. The edited contents are stored in the storage unit 14 in time series.

その後、図11に示した編集5を実行した状態で、ユーザの操作によって、ネットBのみに対してUNDO処理を連続して5回実行したとする。この場合、復元実行部17は、図12に示すように、記憶部14に記憶される最新の編集情報である編集5から順次遡って、ネットBに関する情報のみを復元する。すなわち、復元実行部17は、編集5のネットBに関す処理をUNDO1回目として復元し、REDO情報のネットBに関する処理をUNDO2回目として復元し、さらにREDO情報として管理されるネットBに関する処理をUNDO3回目として復元とする。続いて、復元実行部17は、編集4のネットBに関する処理をUNDO4回目として復元し、編集3のネットBに関する処理をUNDO5回目として復元する。その後、復元実行部17は、図12に示すように、UNDO1回目〜5回目各々で実行した復元内容をREDO情報として、編集5の次に順番に時系列で記憶部14に格納する。   Thereafter, it is assumed that UNDO processing is continuously executed five times only for the net B by the user's operation in a state where the editing 5 shown in FIG. 11 is executed. In this case, as shown in FIG. 12, the restoration executing unit 17 restores only the information related to the net B by going back sequentially from the editing 5 that is the latest editing information stored in the storage unit 14. That is, the restoration execution unit 17 restores the processing relating to the net B of the edit 5 as the first UNDO, restores the processing relating to the net B of the REDO information as the second UNDO, and further performs processing relating to the net B managed as the REDO information to the UNDO3. It will be restored as the second time. Subsequently, the restoration execution unit 17 restores the process related to the net B of the edit 4 as the fourth UNDO, and restores the process related to the net B of the edit 3 as the fifth UNDO. Thereafter, as shown in FIG. 12, the restoration execution unit 17 stores the restoration contents executed in each of the first to fifth UNDOs as REDO information in the storage unit 14 in time series after the editing 5.

[編集及びUNDO処理の具体例]
次に、図13〜図22を用いて、編集及びUNDO処理を実行した場合の具体例について説明する。ここでは、図13に示すように、能動部品Aと能動部品Bが抵抗を介してネットAとネットBの配線で接続されており、能動部品Cと能動部品DがネットCの配線で接続されている基板を編集していく例を示す。
[Specific examples of editing and UNDO processing]
Next, a specific example when editing and UNDO processing are executed will be described with reference to FIGS. Here, as shown in FIG. 13, the active component A and the active component B are connected by the wiring of the net A and the net B through a resistor, and the active component C and the active component D are connected by the wiring of the net C. An example of editing a printed circuit board is shown.

図13は、編集対象の基板の例を示す図であり、図14は、図13の基板において能動部品A−B間(ネットA)の配線を編集した例を示す図であり、図15は、図14の基板において能動部品A−B間(ネットB)の配線を編集した例を示す図である。図16は、図15の基板において能動部品C−D間(ネットC)の配線を編集した例を示す図であり、図17は、図16の基板におけるネットAに関してUNDO処理を実施した例を示す図である。図18は、図17の基板におけるネットAに関してUNDO処理2回目を実施した例を示す図であり、図19は、図18の基板から編集を再開し、能動部品A−B間(ネットA)の配線を編集した例を示す図である。図20は、図19の基板におけるネットAに関してUNDO処理を実施した例を示す図であり、図21は、図20の基板におけるネットAに関してUNDO処理2回目を実施した例を示す図である。図22は、図21の基板におけるネットAに関してUNDO処理3回目を実施した例を示す図である。   13 is a diagram showing an example of a board to be edited, FIG. 14 is a diagram showing an example of editing the wiring between the active components A and B (net A) in the board of FIG. 13, and FIG. FIG. 15 is a diagram showing an example in which the wiring between active parts A and B (net B) is edited on the substrate of FIG. 14. 16 is a diagram showing an example in which the wiring between the active components CD (net C) is edited in the substrate of FIG. 15, and FIG. 17 is an example in which UNDO processing is performed on the net A in the substrate of FIG. FIG. 18 is a diagram illustrating an example in which the second UNDO process is performed for the net A in the substrate of FIG. 17, and FIG. 19 is a diagram illustrating the restart of editing from the substrate of FIG. 18 between the active components A and B (net A). It is a figure which shows the example which edited this wiring. 20 is a diagram illustrating an example in which UNDO processing is performed on the net A in the substrate of FIG. 19, and FIG. 21 is a diagram illustrating an example in which UNDO processing is performed a second time on the net A in the substrate of FIG. FIG. 22 is a diagram illustrating an example in which the third UNDO process is performed on the net A in the substrate of FIG.

まず、編集実行部16は、入力部12を介してユーザから編集指示を受け付けて、図14に示すように、ネットAの配線を変更し、変更した編集内容を記憶部14に格納する。続いて、編集実行部16は、入力部12を介してユーザから編集指示を受け付けて、図15に示すように、部品Bの位置を変更し、変更した編集内容を記憶部14に格納する。続いて、編集実行部16は、入力部12を介してユーザから編集指示を受け付けて、図16に示すように、ネットCの配線を変更し、変更した編集内容を記憶部14に格納する。この時点では、記憶部14は、ネットAの配線変更、部品Bの位置変更、ネットCの配線変更の順にUNDO情報を記憶する。   First, the editing execution unit 16 receives an editing instruction from the user via the input unit 12, changes the wiring of the net A as shown in FIG. 14, and stores the changed editing content in the storage unit 14. Subsequently, the editing execution unit 16 receives an editing instruction from the user via the input unit 12, changes the position of the component B as illustrated in FIG. 15, and stores the changed editing content in the storage unit 14. Subsequently, the editing execution unit 16 receives an editing instruction from the user via the input unit 12, changes the wiring of the net C as illustrated in FIG. 16, and stores the changed editing content in the storage unit 14. At this time, the storage unit 14 stores the UNDO information in the order of the wiring change of the net A, the position change of the component B, and the wiring change of the net C.

その後、復元実行部17は、入力部12を介してユーザから部品Bに関する復元指示を受け付けて、記憶部14に記憶される最新のネットAに関するUNDO情報、すなわち、図15で実行したネットAに絡む部品Bの位置変更を読み出す。続いて、復元実行部17は、図17に示すように、部品Bの位置を図15から図14の状態に復元し、復元した復元内容をREDO情報として記憶部14に格納する。この時点では、記憶部14は、ネットAの配線変更、部品Bの位置変更、ネットCの配線変更、部品Bの位置復元情報(REDO情報)の順にUNDO情報を記憶する。   Thereafter, the restoration execution unit 17 receives a restoration instruction regarding the component B from the user via the input unit 12, and stores the latest UNDO information regarding the net A stored in the storage unit 14, that is, the net A executed in FIG. 15. Read the position change of the part B involved. Subsequently, as shown in FIG. 17, the restoration execution unit 17 restores the position of the part B from the state shown in FIG. 15 to FIG. 14, and stores the restored content in the storage unit 14 as REDO information. At this time, the storage unit 14 stores the UNDO information in the order of the wiring change of the net A, the position change of the part B, the wiring change of the net C, and the position restoration information (REDO information) of the part B.

続いて、復元実行部17は、入力部12を介してユーザからネットAに関する復元指示を受け付けて、記憶部14に記憶される最新のネットAに関するUNDO情報、すなわち、図14で実行したネットAの配線変更を読み出す。続いて、復元実行部17は、図18に示すように、ネットAの配線を図14から図13の状態に復元し、復元した復元内容をREDO情報として記憶部14に格納する。この時点では、記憶部14は、ネットAの配線変更、部品Bの位置変更、ネットCの配線変更、部品Bの位置復元情報(REDO情報)、ネットAの配線復元情報(REDO情報)の順にUNDO情報を記憶する。   Subsequently, the restoration execution unit 17 receives a restoration instruction regarding the net A from the user via the input unit 12, and the UNDO information regarding the latest net A stored in the storage unit 14, that is, the net A executed in FIG. Read the wiring change. Subsequently, as shown in FIG. 18, the restoration execution unit 17 restores the wiring of the net A from the state shown in FIG. 14 to FIG. 13, and stores the restored contents in the storage unit 14 as REDO information. At this time, the storage unit 14 changes the wiring change of the net A, the position change of the component B, the wiring change of the net C, the position restoration information (REDO information) of the component B, and the wiring restoration information (REDO information) of the net A in this order. Store UNDO information.

その後、編集実行部16は、図18の状態から編集を再開し、入力部12を介してユーザから編集指示を受け付けると、図19に示すように、ネットAに配線を変更し、変更した編集内容を記憶部14に格納する。この時点では、記憶部14は、ネットAの配線変更、部品Bの位置変更、ネットCの配線変更、部品Bの位置復元情報(REDO情報)、ネットAの配線復元情報(REDO情報)、ネットAの配線変更の順にUNDO情報を記憶する。   After that, the editing execution unit 16 resumes editing from the state of FIG. 18 and receives an editing instruction from the user via the input unit 12, and changes the wiring to the net A as shown in FIG. The contents are stored in the storage unit 14. At this time, the storage unit 14 changes the wiring of the net A, the position of the component B, the wiring of the net C, the position restoration information of the part B (REDO information), the wiring restoration information of the net A (REDO information), the net UNDO information is stored in the order of A wiring change.

続いて、復元実行部17は、入力部12を介してユーザからネットAに関する復元指示を受け付けて、記憶部14に記憶される最新のネットAに関するUNDO情報、すなわち、図19で実行したネットAの配線変更を読み出す。続いて、復元実行部17は、図20に示すように、ネットAの配線を図19から図18の状態に復元し、復元した復元内容をREDO情報として記憶部14に格納する。   Subsequently, the restoration execution unit 17 receives a restoration instruction regarding the net A from the user via the input unit 12, and the UNDO information regarding the latest net A stored in the storage unit 14, that is, the net A executed in FIG. Read the wiring change. Subsequently, as shown in FIG. 20, the restoration executing unit 17 restores the wiring of the net A from the state shown in FIGS. 19 to 18 and stores the restored contents in the storage unit 14 as REDO information.

続いて、復元実行部17は、入力部12を介してユーザからネットAに関する復元指示を受け付けて、図20の時点で、記憶部14に記憶されるネットAに関するUNDO情報のうち2番目に新しいUNDO情報を読み出す。すなわち、復元実行部17は、図18で実行したネットAの配線復元情報を読み出し、ネットAの配線復元の復元を実行する。したがって、復元実行部17は、図21に示すように、ネットAの配線を図18から図14の状態に復元し、復元した復元内容をREDO情報として記憶部14に格納する。   Subsequently, the restoration execution unit 17 receives a restoration instruction regarding the net A from the user via the input unit 12, and is the second newest UNDO information regarding the net A stored in the storage unit 14 at the time of FIG. Read UNDO information. That is, the restoration executing unit 17 reads the net A wiring restoration information executed in FIG. 18 and executes the restoration of the net A wiring restoration. Accordingly, as shown in FIG. 21, the restoration executing unit 17 restores the wiring of the net A from the state shown in FIG. 18 to FIG. 14, and stores the restored contents in the storage unit 14 as REDO information.

さらに続いて、復元実行部17は、入力部12を介してユーザからネットAに関する復元指示を受け付けて、図20の時点で、記憶部14に記憶されるネットAに関するUNDO情報のうち3番目に新しいUNDO情報を読み出す。すなわち、復元実行部17は、図17で実行したネットAに絡む部品Bの位置復元情報を読み出し、部品Bの位置復元の復元を実行する。そして、復元実行部17は、図22に示すように、部品Bの位置を図17から図15の状態に復元し、復元した復元内容をREDO情報として記憶部14に格納する。   Subsequently, the restoration execution unit 17 receives a restoration instruction regarding the net A from the user via the input unit 12, and is the third UNDO information regarding the net A stored in the storage unit 14 at the time of FIG. Read new UNDO information. That is, the restoration execution unit 17 reads the position restoration information of the component B related to the net A executed in FIG. 17 and executes the restoration of the position restoration of the component B. Then, as shown in FIG. 22, the restoration execution unit 17 restores the position of the part B from the state shown in FIGS. 17 to 15, and stores the restored content in the storage unit 14 as REDO information.

これらの処理が終了した時点では、記憶部14は、ネットAの配線変更、部品Bの位置変更、ネットCの配線変更、部品Bの位置復元情報(REDO情報)、ネットAの配線復元情報(REDO情報)、ネットAの配線変更の順にUNDO情報を記憶する。続けて、記憶部14は、図20で実行したネットAの配線復元情報(REDO情報)、図21で実行したネットAの配線復元の復元情報(REDO情報)、図22で実行した部品Bの位置復元の復元情報(REDO情報)を順に記憶する。なお、それぞれのUNDO情報には、例えばどの位置に移動させたか、どの配線をどのように変更したかなどの詳細情報が対応付けられている。   When these processes are completed, the storage unit 14 changes the wiring of the net A, the position of the component B, the wiring of the net C, the position restoration information of the part B (REDO information), the wiring restoration information of the net A ( REDO information) and UNDO information are stored in the order of net A wiring change. Subsequently, the storage unit 14 stores the wiring restoration information (REDO information) of the net A executed in FIG. 20, the restoration information (REDO information) of the wiring restoration of the net A executed in FIG. 21, and the component B executed in FIG. The restoration information (REDO information) for position restoration is stored in order. Each UNDO information is associated with detailed information such as to which position it has been moved and which wiring has been changed.

[実施例1による効果]
このように、実施例1によれば、UNDO処理した情報も実行情報として記憶部14に記憶しておき、UNDO処理の対象として処理することができる。したがって、編集中のデータを任意の時点で復元した後でも、復元したデータを復元前のデータに戻すことが可能である。つまり、編集中のデータを任意の時点で復元した後に編集を再開した場合でも、復元したデータを復元前のデータに戻すことが可能である。
[Effects of Example 1]
As described above, according to the first embodiment, the information subjected to UNDO processing can also be stored as execution information in the storage unit 14 and processed as the target of UNDO processing. Therefore, even after the data being edited is restored at an arbitrary time, it is possible to restore the restored data to the data before restoration. That is, even when the editing is resumed after restoring the data being edited at an arbitrary time, the restored data can be returned to the data before the restoration.

例えば、実施例1に係るデータ編集装置10では、UNDO処理において、UNDO情報をネット単位と部品単位毎に管理する。したがって、データ編集装置10は、ユーザが意図したネットや部品に関するものだけ編集前の状態に戻すことが可能である。また、データ編集装置10では、編集を再開しても復元前の履歴を保持しているため、復元前の状態にまで戻すことが可能である。また、実施例1に係るデータ編集装置10では、編集前の状態に戻す必要のないネットはそのままであるため、再度編集の必要がない。さらに、実施例1に係るデータ編集装置10では、復元前の状態にまで戻ることが可能である。   For example, in the data editing apparatus 10 according to the first embodiment, UNDO information is managed for each net and each component in the UNDO process. Therefore, the data editing apparatus 10 can return only to the net and parts intended by the user to the state before editing. In addition, since the data editing apparatus 10 retains the history before restoration even when editing is resumed, it is possible to return to the state before restoration. Further, in the data editing apparatus 10 according to the first embodiment, the net that does not need to be returned to the state before the editing remains as it is, and therefore it is not necessary to edit again. Furthermore, the data editing apparatus 10 according to the first embodiment can return to the state before the restoration.

さて、これまで本発明の実施例について説明したが、本発明は上述した実施例以外にも、種々の異なる形態にて実施されてよいものである。そこで、以下に異なる実施例を説明する。   Although the embodiments of the present invention have been described so far, the present invention may be implemented in various different forms other than the embodiments described above. Therefore, different embodiments will be described below.

(編集対象データ)
例えば、実施例1では、編集対象データとしてCADデータを例にして実施例を説明したが、本願はこれに限定されるものではない。例えば、本願の開示するデータ編集装置は、文書作成ソフトウエアや表計算ソフトウエアなど様々なデータを処理対象とすることができる。
(Data to be edited)
For example, in the first embodiment, the CAD data is taken as an example of the editing target data, but the present embodiment is not limited to this. For example, the data editing apparatus disclosed in the present application can process various data such as document creation software and spreadsheet software.

(記憶部の格納例)
例えば、実施例1では、ネットAなどの編集又は復元箇所と、編集又は復元内容とを対応付けたUNDO情報(実行情報)を記憶部14で管理する例について説明したが、本願はこれに限定されるものではない。例えば、本願の開示するデータ編集装置は、編集又は復元箇所を対応付けることなく、UNDO情報(実行情報)のみを記憶するようにしてもよい。この場合、UNDO対象は、記憶部14に記憶される時系列順となる。つまり、本願の開示するデータ編集装置は、1回目のUNDO処理では、最新の編集又は復元内容を復元することとなる。そして、連続して2回目のUNDO処理を行う場合には、本願の開示するデータ編集装置は、最新の編集又は復元内容の直前の情報を復元することとなる。また、記憶部14は、編集内容は記憶せずに、復元内容のみを記憶するようにしてもよい。
(Storage unit storage example)
For example, in the first embodiment, an example has been described in which the storage unit 14 manages UNDO information (execution information) in which editing or restoration locations such as the net A are associated with editing or restoration contents. However, the present application is limited to this. Is not to be done. For example, the data editing apparatus disclosed in the present application may store only UNDO information (execution information) without associating editing or restoration locations. In this case, the UNDO target is in chronological order stored in the storage unit 14. That is, the data editing apparatus disclosed in the present application restores the latest editing or restoration contents in the first UNDO process. When performing the second UNDO process continuously, the data editing apparatus disclosed in the present application restores the information immediately before the latest editing or restoration content. Further, the storage unit 14 may store only the restored content without storing the edited content.

(システム構成等)
また、本実施例において説明した各処理のうち、自動的におこなわれるものとして説明した処理の全部または一部を手動的におこなうこともできる。あるいは、例えば処理開始指示受信など手動的におこなわれるものとして説明した処理の全部または一部を公知の方法で自動的におこなうこともできる。この他、上記文書中や図面中で示した処理手順、制御手順、具体的名称、例えば図3、図5、図6等に示した各種のデータやパラメータを含む情報については、特記する場合を除いて任意に変更することができる。
(System configuration etc.)
In addition, among the processes described in the present embodiment, all or a part of the processes described as being automatically performed can be manually performed. Alternatively, for example, all or part of the processing described as being performed manually such as reception of a processing start instruction can be automatically performed by a known method. In addition, the processing procedures, control procedures, and specific names shown in the above documents and drawings, for example, information including various data and parameters shown in FIG. 3, FIG. 5, FIG. It can be arbitrarily changed except for.

また、図示した各装置の各構成要素は機能概念的なものであり、必ずしも物理的に図示の如く構成されていることを要しない。すなわち、例えば編集実行部16と復元実行部17とを統合するなど各装置の分散・統合の具体的形態は図示のものに限られない。また、各装置の全部または一部を、各種の負荷や使用状況などに応じて、任意の単位で機能的または物理的に分散・統合して構成することができる。さらに、各装置にて行なわれる各処理機能は、その全部または任意の一部が、CPUおよび当該CPUにて解析実行されるプログラムにて実現され、あるいは、ワイヤードロジックによるハードウェアとして実現され得る。   Further, each component of each illustrated apparatus is functionally conceptual, and does not necessarily need to be physically configured as illustrated. That is, the specific form of distribution / integration of each device, for example, integrating the editing execution unit 16 and the restoration execution unit 17 is not limited to that shown in the figure. In addition, all or a part of each device can be configured to be functionally or physically distributed / integrated in arbitrary units according to various loads or usage conditions. Further, all or any part of each processing function performed in each device may be realized by a CPU and a program analyzed and executed by the CPU, or may be realized as hardware by wired logic.

(プログラム)
ところで、上記の実施例で説明した各種の処理は、あらかじめ用意されたプログラムをパーソナルコンピュータやワークステーションなどのコンピュータシステムで実行することによって実現することができる。そこで、以下では、上記の実施例と同様の機能を有するプログラムを実行するコンピュータシステムの一例を説明する。
(program)
By the way, the various processes described in the above embodiments can be realized by executing a program prepared in advance on a computer system such as a personal computer or a workstation. Therefore, in the following, an example of a computer system that executes a program having the same function as in the above embodiment will be described.

図23は、データ編集プログラムを実行するコンピュータシステムの例を示す図である。図23に示すように、コンピュータシステム100は、RAM101と、HDD102と、ROM(Read Only Memory)103と、CPU104とを有する。ここで、ROM103には、上の実施例と同様の機能を発揮するプログラムがあらかじめ記憶されている。つまり、図23に示すように、ROM103には、編集実行プログラム103a、UNDO対象決定プログラム103b、UNDO情報制御プログラム103cがあらかじめ記憶されている。また、ROM103には、UNDO実行プログラム103d、REDO情報追加プログラム103eがあらかじめ記憶されている。   FIG. 23 is a diagram illustrating an example of a computer system that executes a data editing program. As illustrated in FIG. 23, the computer system 100 includes a RAM 101, an HDD 102, a ROM (Read Only Memory) 103, and a CPU 104. Here, the ROM 103 stores in advance a program that exhibits the same function as in the above embodiment. That is, as shown in FIG. 23, the ROM 103 stores in advance an editing execution program 103a, an UNDO target determination program 103b, and an UNDO information control program 103c. The ROM 103 stores an UNDO execution program 103d and a REDO information addition program 103e in advance.

そして、CPU104には、これらのプログラム103a〜103eを読み出して実行することで、図23に示すように、各プロセスとなる。つまり、プログラム103a〜103e各々は、編集実行プロセス104a、UNDO対象決定プロセス104b、UNDO情報制御プロセス104c、UNDO実行プロセス104d、REDO情報追加プロセス104eとなる。なお、編集実行プロセス104aは、図1に示した編集実行部16に対応し、同様に、UNDO対象決定プロセス104bは、UNDO対象決定部17aに対応し、UNDO情報制御プロセス104cは、UNDO情報制御部17bに対応する。また、UNDO実行プロセス104dは、図1に示したUNDO実行部17cに対応し、REDO情報実行プロセス104eは、REDO情報追加部17dに対応する。   Then, the CPU 104 reads out and executes these programs 103a to 103e, thereby forming each process as shown in FIG. That is, each of the programs 103a to 103e is an edit execution process 104a, an UNDO target determination process 104b, an UNDO information control process 104c, an UNDO execution process 104d, and a REDO information addition process 104e. The edit execution process 104a corresponds to the edit execution unit 16 shown in FIG. 1. Similarly, the UNDO target determination process 104b corresponds to the UNDO target determination unit 17a, and the UNDO information control process 104c corresponds to the UNDO information control. This corresponds to the portion 17b. The UNDO execution process 104d corresponds to the UNDO execution unit 17c shown in FIG. 1, and the REDO information execution process 104e corresponds to the REDO information addition unit 17d.

また、HDD102は、データの編集した内容を示す編集内容又はデータを復元した内容を示す復元内容をUNDO情報(実行情報)として、編集又は復元が実施された時系列に記憶する。すなわち、HDD102は、図1に示した記憶部14に対応する。   Further, the HDD 102 stores, as UNDO information (execution information), edited contents indicating the edited contents of data or restored contents indicating the restored contents in time series in which the editing or restoring is performed. That is, the HDD 102 corresponds to the storage unit 14 illustrated in FIG.

ところで、上記したプログラム103a〜103eは、必ずしもROM103に記憶させておく必要はない。例えば、プログラム103a〜103eは、コンピュータシステム100に挿入されるフレキシブルディスク(FD)、CD−ROM、DVDディスク、光磁気ディスク、ICカードなどの「可搬用の物理媒体」に記憶させておくようにしてもよい。また、コンピュータシステム100の内外に備えられるハードディスクドライブ(HDD)などの「固定用の物理媒体」に記憶させておいてもよい。さらに、公衆回線、インターネット、LAN(Local Area Network)、WAN(Wide Area Network)などを介してコンピュータシステム100に接続される「他のコンピュータシステム」に記憶させておいてもよい。そして、コンピュータシステム100がこれらからプログラムを読み出して実行するようにしてもよい。   By the way, the above-described programs 103 a to 103 e are not necessarily stored in the ROM 103. For example, the programs 103a to 103e are stored in a “portable physical medium” such as a flexible disk (FD), a CD-ROM, a DVD disk, a magneto-optical disk, or an IC card inserted into the computer system 100. May be. Further, it may be stored in a “fixed physical medium” such as a hard disk drive (HDD) provided inside or outside the computer system 100. Further, it may be stored in “another computer system” connected to the computer system 100 via a public line, the Internet, a LAN (Local Area Network), a WAN (Wide Area Network), or the like. Then, the computer system 100 may read the program from these and execute it.

すなわち、この他の実施例でいうプログラムは、上記した「可搬用の物理媒体」、「固定用の物理媒体」、「通信媒体」などの記録媒体に、コンピュータ読み取り可能に記録されるものである。そして、コンピュータシステム100は、このような記録媒体からプログラムを読み出して実行することで上記した実施例と同様の機能を実現する。なお、この他の実施例でいうプログラムは、コンピュータシステム100によって実行されることに限定されるものではない。例えば、他のコンピュータシステムまたはサーバがプログラムを実行する場合や、これらが協働してプログラムを実行するような場合にも、本発明を同様に適用することができる。   That is, the program referred to in the other embodiments is recorded in a computer-readable manner on a recording medium such as the above-mentioned “portable physical medium”, “fixed physical medium”, “communication medium”, and the like. . Then, the computer system 100 realizes the same function as the above-described embodiment by reading and executing the program from such a recording medium. The program referred to in the other embodiments is not limited to being executed by the computer system 100. For example, the present invention can be similarly applied to a case where another computer system or server executes a program or a case where these programs cooperate to execute a program.

10 データ編集装置
11 通信制御I/F部
12 入力部
13 表示部
14 記憶部
15 制御部
16 編集実行部
17 復元実行部
17a UNDO対象決定部
17b UNDO情報制御部
17c UNDO実行部
17d REDO情報追加部
DESCRIPTION OF SYMBOLS 10 Data editing apparatus 11 Communication control I / F part 12 Input part 13 Display part 14 Storage part 15 Control part 16 Edit execution part 17 Restoration execution part 17a UNDO object determination part 17b UNDO information control part 17c UNDO execution part 17d REDO information addition part

Claims (5)

コンピュータ上での各種データの編集に使用されるデータ編集方法において、
前記データに第1の編集を実行することにより、前記データを第1のデータから第2のデータに変更する工程と、
前記第1の編集後に、第1の復元を実行することにより、前記第2のデータから前記第1のデータに変更する工程と、
前記第1の復元の復元情報を所定の記憶部に記憶する工程と、
前記第1の復元後に、第2の編集を実行することにより、前記第1のデータから第3のデータに変更する工程と、
前記第2の編集後に、第2の復元を実行することにより、前記第3のデータから前記第1のデータに変更する工程と、
前記第2の復元後に、前記所定の記憶部に記憶された前記第1の復元の復元情報に基づき、第3の復元を実行することにより、前記第1のデータから前記第2のデータに復元する工程と、
を含むことを特徴とするデータ編集方法。
In a data editing method used for editing various data on a computer,
Changing the data from the first data to the second data by performing a first edit on the data;
Changing the second data to the first data by performing a first restoration after the first editing;
Storing the restoration information of the first restoration in a predetermined storage unit;
Changing the first data to the third data by executing a second edit after the first restoration; and
Changing the third data to the first data by performing a second restoration after the second editing;
After the second restoration, restoration from the first data to the second data is performed by executing a third restoration based on the restoration information of the first restoration stored in the predetermined storage unit And a process of
A data editing method comprising:
各種データの編集をコンピュータに実行させるデータ編集プログラムにおいて、
前記データに第1の編集を実行することにより、前記データを第1のデータから第2のデータに変更する手順と、
前記第1の編集後に、第1の復元を実行することにより、前記第2のデータから前記第1のデータに変更する手順と、
前記第1の復元の復元情報を所定の記憶部に記憶する手順と、
前記第1の復元後に、第2の編集を実行することにより、前記第1のデータから第3のデータに変更する手順と、
前記第2の編集後に、第2の復元を実行することにより、前記第3のデータから前記第1のデータに変更する手順と、
前記第2の復元後に、前記所定の記憶部に記憶された前記第1の復元の復元情報に基づき、第3の復元を実行することにより、前記第1のデータから前記第2のデータに復元する手順と、
をコンピュータに実行させることを特徴とするデータ編集プログラム。
In a data editing program that causes a computer to edit various data,
Changing the data from the first data to the second data by performing a first edit on the data;
A procedure for changing from the second data to the first data by performing a first restoration after the first editing;
Storing the restoration information of the first restoration in a predetermined storage unit;
A procedure for changing the first data to the third data by executing a second edit after the first restoration;
A procedure for changing from the third data to the first data by performing a second restoration after the second editing;
After the second restoration, restoration from the first data to the second data is performed by executing a third restoration based on the restoration information of the first restoration stored in the predetermined storage unit And the steps to
A data editing program for causing a computer to execute.
データを編集した内容を示す編集内容又は前記データを復元した内容を示す復元内容を実行情報として、前記編集又は復元が実施された時系列に記憶する情報記憶部と、
前記データの編集を実行し、該実行した編集内容を実行情報として前記情報記憶部に格納する編集実行部と、
前記データを復元するのに際して、前記情報記憶部に記憶される最新の実行情報が編集内容である場合には、該編集内容の実行前のデータに復元し、前記情報記憶部に記憶される最新の実行情報が復元内容である場合には、該復元内容の実行前のデータに復元し、実行した復元内容を実行情報として前記情報記憶部に格納する復元実行部と
を有することを特徴とするデータ編集装置。
An information storage unit that stores the edited content indicating the content edited data or the restored content indicating the content restored from the data as execution information, in a time series in which the editing or restoring is performed,
An editing execution unit that executes editing of the data and stores the executed editing content in the information storage unit as execution information;
When restoring the data, if the latest execution information stored in the information storage unit is the edited content, the edited content is restored to the data before execution, and the latest execution information stored in the information storage unit When the execution information is a restoration content, the restoration content is restored to the data before execution of the restoration content, and the restored restoration content is stored in the information storage unit as execution information. Data editing device.
前記情報記憶部は、前記編集内容又は復元内容に、前記編集又は復元された箇所を対応付けた実行情報を記憶し、
前記復元実行部は、前記復元の対象となる箇所に対応する実行情報のうち最新の実行情報を前記情報記憶部から特定して、特定した実行情報に基づいてデータ復元を実行し、実行した復元内容を実行情報として前記情報記憶部に格納することを特徴とする請求項3に記載のデータ編集装置。
The information storage unit stores execution information in which the edited or restored content is associated with the edited or restored location,
The restoration execution unit identifies the latest execution information from the information storage unit among the execution information corresponding to the location to be restored, executes data restoration based on the identified execution information, and executed restoration 4. The data editing apparatus according to claim 3, wherein the content is stored as execution information in the information storage unit.
前記復元実行部は、前記復元の対象となる箇所に対して所定回数連続して復元する場合には、前記情報記憶部に記憶される前記箇所に対応する最新の実行情報から遡って前記所定回数分の実行情報を特定して、特定した実行情報それぞれを順番に実行し、実行した復元内容それぞれを実行情報として、実行した順番に前記情報記憶部に格納することを特徴とする請求項4に記載のデータ編集装置。   In the case where the restoration execution unit continuously restores the location to be restored a predetermined number of times, the predetermined number of times retroactively from the latest execution information corresponding to the location stored in the information storage unit The execution information for each minute is specified, each of the specified execution information is executed in order, and each of the executed restoration contents is stored as execution information in the information storage unit in the execution order. The data editing device described.
JP2010001580A 2010-01-06 2010-01-06 Method, program and device for editing data Withdrawn JP2011141701A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2010001580A JP2011141701A (en) 2010-01-06 2010-01-06 Method, program and device for editing data
US12/976,999 US20110167047A1 (en) 2010-01-06 2010-12-22 Editing apparatus, method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010001580A JP2011141701A (en) 2010-01-06 2010-01-06 Method, program and device for editing data

Publications (1)

Publication Number Publication Date
JP2011141701A true JP2011141701A (en) 2011-07-21

Family

ID=44225319

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010001580A Withdrawn JP2011141701A (en) 2010-01-06 2010-01-06 Method, program and device for editing data

Country Status (2)

Country Link
US (1) US20110167047A1 (en)
JP (1) JP2011141701A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023112852A1 (en) * 2021-12-16 2023-06-22 ブラザー工業株式会社 History management program, history management method, and history management device

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9424139B1 (en) 2011-03-31 2016-08-23 Emc Corporation Version based data protection
JP5870005B2 (en) * 2012-11-08 2016-02-24 株式会社堀場製作所 Analysis system, information processing apparatus, and program
CN104462473B (en) * 2014-12-19 2017-12-26 国家电网公司 A kind of method that the inscribed line chart of CIM G forms plant stand is automatically generated based on CIM E electric network models
CN109688042B (en) * 2017-10-18 2021-12-31 阿里巴巴集团控股有限公司 Message processing method and device

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5832203A (en) * 1995-01-23 1998-11-03 Tandem Computers Incorporated Method for providing recovery from a failure in a system utilizing distributed audit
US6647510B1 (en) * 1996-03-19 2003-11-11 Oracle International Corporation Method and apparatus for making available data that was locked by a dead transaction before rolling back the entire dead transaction
US5806076A (en) * 1996-10-29 1998-09-08 Oracle Corporation Tracking dependencies between transactions in a database
US6041423A (en) * 1996-11-08 2000-03-21 Oracle Corporation Method and apparatus for using undo/redo logging to perform asynchronous updates of parity and data pages in a redundant array data storage environment
US20030160779A1 (en) * 2002-02-26 2003-08-28 Parametric Technology Corporation Method and apparatus for managing solid model feature history and changes
US6981004B2 (en) * 2002-09-16 2005-12-27 Oracle International Corporation Method and mechanism for implementing in-memory transaction logging records
WO2006051962A1 (en) * 2004-11-12 2006-05-18 Justsystems Corporation Data processing device and data processing method
US7831902B2 (en) * 2006-05-31 2010-11-09 Microsoft Corporation Displaying interrelated changes in a grid
US8548942B2 (en) * 2006-10-04 2013-10-01 Salesforce.Com, Inc. Methods and systems for recursive saving of hierarchical objects to a database
US7900142B2 (en) * 2007-01-15 2011-03-01 Microsoft Corporation Selective undo of editing operations performed on data objects

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023112852A1 (en) * 2021-12-16 2023-06-22 ブラザー工業株式会社 History management program, history management method, and history management device

Also Published As

Publication number Publication date
US20110167047A1 (en) 2011-07-07

Similar Documents

Publication Publication Date Title
US10558642B2 (en) Mechanism for deprecating object oriented data
US9460184B2 (en) Application of a differential dataset to a data store using sequential change sets
US7734685B2 (en) Method, system and program product for annotating a development artifact
JP5971420B2 (en) State restoration program, apparatus, and support method
EP1452982A2 (en) A method for managing multiple file states for replicated files
US20080209390A1 (en) Pluggable model elements
US7809778B2 (en) Idempotent journal mechanism for file system
CN112036736A (en) Workflow creating method and device
JP2008305094A (en) Documentation management method and its apparatus
CN104737135B (en) The information processing terminal and synchronisation control means
JP2011141701A (en) Method, program and device for editing data
JP2008217651A (en) Design support device, design support method and program
US20130263003A1 (en) Method and apparatus for grouping video tracks in a video editing timeline
KR20120022911A (en) Synchronizing self-referencing fields during two-way synchronization
JP2010198528A (en) Storage system
CN112272137A (en) Mass data management in communication applications through multiple mailboxes
WO2012155844A1 (en) Method and device for automatic removal of code
US9244651B2 (en) Document revision control
JP2007334837A (en) Test scenario creation method, program and recording medium
JP2013057999A (en) Electronic mail template creation device, electronic mail template creation method, and electronic mail template creation program
EP2096545B1 (en) Method and apparatus for managing the copying of data
US7743244B2 (en) Computer system model generation with tracking of actual computer system configuration
JP6338696B2 (en) How to generate and edit large constraint networks
JP5818569B2 (en) File system, file management method, semiconductor storage device, information processing apparatus, and program
JP2006302141A (en) Display system and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120910

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20130225