KR20000050240A - Method for restoring deleted part in writing program, and device thereof - Google Patents

Method for restoring deleted part in writing program, and device thereof Download PDF

Info

Publication number
KR20000050240A
KR20000050240A KR1020000029315A KR20000029315A KR20000050240A KR 20000050240 A KR20000050240 A KR 20000050240A KR 1020000029315 A KR1020000029315 A KR 1020000029315A KR 20000029315 A KR20000029315 A KR 20000029315A KR 20000050240 A KR20000050240 A KR 20000050240A
Authority
KR
South Korea
Prior art keywords
deleted
deletion
program
database
input
Prior art date
Application number
KR1020000029315A
Other languages
Korean (ko)
Inventor
김호광
김영돈
Original Assignee
김호광
김영돈
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 김호광, 김영돈 filed Critical 김호광
Priority to KR1020000029315A priority Critical patent/KR20000050240A/en
Publication of KR20000050240A publication Critical patent/KR20000050240A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/60Methods for processing data by generating or executing the game program
    • A63F2300/6009Methods for processing data by generating or executing the game program for importing or creating game content, e.g. authoring tools during game development, adapting content to different platforms, use of a scripting language to create content

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE: A method and tools for restoration of deleted source code in programming is provided so that a programmer restore the deleted source code in programming by classifying the directory and its directory position in which stored before deleted with its information. CONSTITUTION: A method and tools for restoration of deleted source code in programming is provided so that a programmer shorten the re-programming time for the deleted source code by restoring the deleted source code in every input of the restore key for restoring. The method and the tools for deleting and restoring is consist of 4 steps. In the first step conforms whether the deleting key is input or not during the programming for users in program tool(1). In the second step, the deleted source codes are stored into the hard disk in every input of the restore key for restoring and the information for deleted data are stored into deleting database(2). The third step conforms whether the restoring key for deleting source code are input or not(3). The fourth step restore the deleted data into the restore unit when the deleting key is input by searching the deleted list in the deleted database(4).

Description

프로그램 작성에서 삭제부분 복구 방법 및 장치{METHOD FOR RESTORING DELETED PART IN WRITING PROGRAM, AND DEVICE THEREOF}METHOD FOR RESTORING DELETED PART IN WRITING PROGRAM, AND DEVICE THEREOF}

본 발명은 프로그램 작성에서 삭제부분 복구 방법에 관한 것으로, 더욱 상세하게는 프로그램 제작 도구(tool)를 이용하여 프로그램을 작성하던 도중 삭제키에 의해 삭제된 부분을, 삭제되기 전에 저장되어 있던 디렉토리 위치 및 그 내용별로 별도로 분류하여 저장하였다가 사용자의 필요에 따라 복구키가 입력되면 복구 시키는 방법에 관한 것이다.The present invention relates to a method for recovering a deleted portion in program creation, and more particularly, to a directory location previously stored before deleting a portion deleted by a delete key while creating a program using a program production tool. It is a method of classifying and storing the contents separately and recovering them when the recovery key is input according to the user's needs.

일반적으로 프로그래머가 하나의 프로그램을 완성하는데까지는 많은 실수를 하게 되는데, 그 대표적인 예가 실수로 원하지 않는 부분을 삭제하였을 경우이다.Generally, a programmer makes a lot of mistakes in completing a program, a typical example of which is if you accidentally delete an unwanted part.

이러한 경우 삭제된 부분을 재 작성해야만 하는 불편함이 따르므로 프로그램 작성이 지연되는 문제점이 있다.In this case, since the inconvenience of having to rewrite the deleted part is accompanied, there is a problem in that program writing is delayed.

종래에는 이러한 문제점을 해결하기 위해 삭제된 부분을 복구시키기 위한 유사 기능으로 'undo, redo' 등의 기능을 제공하였는 바, 이 기능은 현재 사용자가 실행한 기능을 '실행취소(undo)' 하거나, 바로 전에 실행했던 명령을 그대로 '재실행(redo)' 하도록 하는 기능이다.Conventionally, in order to solve such a problem, a similar function for recovering a deleted part has been provided as 'undo, redo', etc. This function 'undo' a function currently executed by the user, This function allows you to 'redo' the previous command.

그러나 상기와 같은 'undo, redo' 등의 기능은 바로 전에 실행했던 기능을 임시 저장하는 횟수가 한정되어 있어, 삭제명령이 오래전에 실행했던 명령이었다면 삭제명령을 취소하는 것은 불가능하다.However, the above functions such as 'undo, redo' are limited in the number of times of temporarily storing the function which was executed just before, and it is impossible to cancel the delete command if the delete command was executed a long time ago.

이에 따라 삭제한 부분을 곧바로 복구할 수 있는 복구 전용 기능이 요구되고 있는 실정이다.Accordingly, there is a demand for a recovery-only function that can immediately recover a deleted portion.

본 발명은 상기에 기술한 바와 같은 종래 요구사항을 감안하여, 프로그램 작성도중 삭제키에 의해 삭제된 모든 부분을 삭제된 위치 및 그 내용 별로 별도의 디렉토리에 저장하여 추후 사용자가 복구키를 입력하면 기존대로 복구되도록 하는 프로그램 작성에서 삭제부분 복구방법을 제공하는 것을 목적으로 한다.In view of the conventional requirements as described above, the present invention stores all the portions deleted by the deletion key during program creation in a separate directory for each deleted location and its contents, and when the user later enters a recovery key, The purpose of this program is to provide a method for recovering the deleted part of the program.

도 1은 본 발명에 의한 프로그램 작성에서 데이터 삭제 및 이의 복구를 위한 장치를 개략적으로 나타낸 블록도.1 is a block diagram schematically showing an apparatus for data deletion and recovery thereof in program creation according to the present invention;

도 2는 본 발명에 의한 프로그램 도중 일부를 삭제하고 이를 삭제 데이터베이스에 저장하는 과정을 나타내는 순서도.2 is a flowchart illustrating a process of deleting a part of a program during the program according to the present invention and storing it in a deletion database.

도 3 ∼ 도 4는 본 발명에 의한 프로그램 작성 중 삭제를 실행하고 난 후, 사용자가 삭제된 내용을 다시 복구하고자 할 경우 처리 과정을 나타낸 순서도.3 to 4 are flowcharts showing a processing procedure when a user wants to recover the deleted contents after executing the deletion during the program creation according to the present invention.

< 도면의 주요부분에 대한 부호의 설명 ><Explanation of symbols for the main parts of the drawings>

1 : 입력부 2 : 삭제부1 input unit 2 delete unit

3 : 하드디스크 4 : 삭제 데이터베이스3: hard disk 4: delete database

5 : 복구부 6 : 메모리5: recovery unit 6: memory

7 : 원본 데이터베이스 8 : 디스플레이부7: source database 8: display

9 : 중앙처리부9: central processing unit

상기와 같은 목적을 달성하기 위한 본 발명의 프로그램 작성에서 삭제부분 복구 방법은, 프로그램 제작 도구 상에서 사용자에 의한 프로그램 작성 중 사용자로부터 삭제키가 입력되는지 여부를 확인하는 제 1 과정과;In the program creation of the present invention for achieving the above object, the deleted part recovery method comprises: a first step of checking whether a delete key is input from a user during program creation by a user on a program production tool;

상기 확인결과 삭제키가 입력되면 삭제키가 입력되는 경우마다 상기 삭제키로 인해 삭제된 소스코드 데이터를 하드디스크에 저장하고, 삭제 데이터에 대한 정보 데이터를 삭제 데이터베이스에 저장하는 제 2 과정과;A second process of storing source code data deleted due to the deletion key on a hard disk and storing information data on the deletion data in a deletion database whenever the deletion key is input when the deletion key is input;

상기 삭제된 소스 코드에 대한 복구키가 입력되는지 확인하는 제 3 과정과;A third step of checking whether a recovery key for the deleted source code is input;

상기 삭제된 소스 코드에 대한 복구키가 입력되면 삭제 데이터베이스에서 삭제 리스트를 검색하여 복구 위치로 삭제 데이터를 복구시키는 제 4 과정을 구비하는 것을 특징으로 한다.And a fourth process of retrieving the deleted data to a recovery position by retrieving the deletion list from the deletion database when the recovery key for the deleted source code is input.

또한, 상기와 같은 목적을 달성하기 위한 본 발명의 프로그램 작성에서 삭제부분 복구 장치는, 프로그램 제작 도구 상에서 사용자에 의한 프로그램 작성 중 입력부를 통해 삭제 명령이 입력되면, 삭제된 소스코드 데이터와 그 정보를 하드디스크 및 삭제 데이터베이스에 저장되도록 제어하는 삭제부와;In addition, in the program creation of the present invention for achieving the above object, the deleted part recovery apparatus, if the delete command is input through the input unit during the program creation by the user on the program production tool, the deleted source code data and its information A deletion unit controlling to be stored in the hard disk and the deletion database;

상기 삭제부를 통해 삭제 명령에 따른 삭제된 소스코드 데이터를 저장하는 하드 디스크와;A hard disk storing the deleted source code data according to the delete command through the delete unit;

상기 하드 디스크 내에 존재하는 데이터베이스로, 상기 삭제 데이터에 대한 정보 데이터를 저장하는 삭제 데이터베이스와;A deletion database for storing information data on said deletion data, said database being in said hard disk;

프로그램 작성 중 삭제된 소스코드의 복구를 위해 입력부를 통해 복구 명령이 입력되면 상기 삭제 데이터베이스에 접속하여 현재까지 삭제된 소스코드에 대한 목록을 리스트화 하여 디스플레이부로 전송하고, 복구할 부분이 선택되어 입력되면 삭제된 실제 내용을 하드디스크로부터 읽어오며, 삭제된 내용이 로딩 완료되면 현재 작성중인 프로그램의 복사본을 작성하는 복구부와;If a restore command is input through the input unit to recover the deleted source code during program creation, access the deletion database, list the list of source codes deleted so far, and send it to the display unit. A recovery unit that reads the actual contents deleted from the hard disk, and creates a copy of the program currently being created when the deleted contents are loaded;

상기 복구부를 통해 작성된 복사본을 저장하는 메모리와;A memory for storing a copy made through the recovery unit;

상기 메모리내에 존재하는 데이터베이스로 상기 복사본에 대한 원본을 저장하고 있는 원본 데이터베이스를 구비하는 것을 특징으로 한다.And an original database storing an original for the copy as a database existing in the memory.

상술한 목적, 특징 및 장점은 첨부된 도면과 관련한 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 이하 첨부된 도면을 참조하여 본 발명의 실시예를 상세히 설명하면 다음과 같다.The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명은 주로 게임을 개발하는데 사용하는 게임 제작 도구에 포함되는 기능을 제공하는 것으로, 게임을 개발하는 일반적인 과정은 프로그래머가 작성할 전자게임에 대한 시나리오를 결정하게 되면, 상기 전자게임에 등장하는 캐릭터의 그래픽, 배경화면 및 기능을 결정하게 된다.The present invention mainly provides a function included in a game production tool used to develop a game. The general process of developing a game is to determine a scenario for an electronic game to be written by a programmer. You will decide on graphics, wallpaper, and functionality.

상기 모든 결정이 완료되면 실제적으로 그래픽 프로그램, 실제 실행 프로그램 등 많은 프로그램을 작성하게 되는데, 이때 프로그램 작성시 발생되는 삭제 실수에 대한 복구 기능을 제공하는 것으로, 본 발명 하기에서 기재되는 삭제 부분은 프로그램 작성 중 삭제되는 소스 코드(source code), 예를 들면 하나의 함수(function)등을 의미하는 것으로 파일(file) 보다 더 세부적인 사항을 의미한다.When all the above determinations are completed, a number of programs, such as a graphic program and a real execution program, are actually created. In this case, a deletion function described below is provided to provide a recovery function for a deletion mistake that occurs when the program is created. The source code is deleted, for example, a function, etc., which means more details than a file.

이러한 기능을 제공하기 위한 개략적인 구성을 살펴보면 도 1에 도시된 바와 같이, 사용자 명령어를 입력하기 위한 입력부(1)와;Looking at the schematic configuration for providing such a function, as shown in Figure 1, the input unit 1 for inputting a user command;

프로그램 작성 중 상기 입력부(1)를 통해 삭제 명령이 입력되면, 삭제된 부분에 대한 데이터와 그 정보를 하드디스크 및 삭제 데이터베이스(4)에 저장되도록 제어하는 삭제부(2)와;A deletion unit (2) for controlling data stored on the deleted portion and information thereof to be stored in the hard disk and the deletion database (4) when a deletion command is input through the input unit (1) during program creation;

상기 삭제부(2)를 통해 삭제 명령에 따른 삭제된 부분에 대한 실제 데이터를 저장하는 하드 디스크(3)와;A hard disk (3) for storing actual data on a portion deleted according to the delete command through the delete unit (2);

상기 하드 디스크(2) 내에 존재하는 데이터베이스로, 상기 삭제 데이터에 대한 정보 데이터를 저장하는 삭제 데이터베이스(4)와;A deletion database (4) which is a database existing in the hard disk (2), which stores information data on the deletion data;

프로그램 작성 중 삭제된 부분의 복구를 위해 입력부(1)를 통해 복구 명령이 입력되면 상기 삭제 데이터베이스(4)에 접속하여 현재까지 삭제된 부분에 대한 목록을 리스트화 하여 디스플레이부로 전송하고, 복구할 부분이 선택되어 입력되면 삭제된 실제 내용을 하드디스크(3)로부터 읽어오며, 삭제된 내용이 로딩 완료되면 현재 작성중인 프로그램의 복사본을 작성하는 복구부(5)와;If a restore command is inputted through the input unit 1 to recover the deleted portion during program creation, access the deletion database 4 to list a list of the deleted portions so far and send it to the display unit. A recovery unit 5 which reads the actual contents deleted from the hard disk 3 when the selected contents are selected, and creates a copy of a program currently being created when the deleted contents are loaded;

각종 프로그램이 상주되고, 상기 복구부(5)를 통해 작성된 복사본을 저장하는 메모리(6)와;A memory (6) in which various programs reside, and storing a copy made by the recovery unit (5);

상기 메모리(6)내에 존재하는 데이터베이스로 상기 복사본에 대한 원본을 저장하고 있는 원본 데이터베이스(7)와;An original database (7) for storing an original for the copy into a database existing in the memory (6);

사용자에 의해 수행되고 있는 현 상황을 디스플레이 하는 디스플레이부(8)와;A display unit 8 for displaying the current situation being performed by the user;

상기 각 부의 동작을 전체 제어하는 중앙처리부(9)를 구비한다.A central processing unit 9 for controlling the operation of each unit is provided.

이때 상기 삭제 데이터베이스(4)에 저장되는 정보 데이터로는 삭제된 내용의 데이터 종류를 나타내는 정보와, 삭제된 부분이 저장되어 있던 디렉토리명과, 삭제된 부분이 속하는 프로그램의 명칭과, 삭제된 날자 및 시간이 저장된다.At this time, the information data stored in the deletion database 4 includes information indicating the data type of the deleted content, the name of the directory where the deleted part is stored, the name of the program to which the deleted part belongs, the date and time of deletion. Is stored.

그리고 상기 복구부(5)에서는 읽어온 삭제 데이터를 복사본 데이터에 삽입하였을 경우 삽입이 정상적으로 완료되었는지 확인한 다음 정상적으로 완료되었으면 상기 원본 데이터베이스(7)에 저장된 원본을 삭제한 다음 상기 삭제 데이터가 복구된 복사본을 원본으로 변경한다.When the deleted data read is inserted into the copy data, the recovery unit 5 checks whether the insertion is normally completed, deletes the original stored in the original database 7 when the insertion is completed normally, and then restores the copied copy of the deleted data. Change to the original.

이상과 같이 구성된 본 발명의 삭제 데이터 복구 장치를 통해 데이터가 삭제 및 복구되는 과정을 다음 도 2 내지 도 4의 순서도를 참조하여 설명한다.A process of deleting and restoring data through the deleted data recovery apparatus of the present invention configured as described above will be described with reference to the flowcharts of FIGS. 2 to 4.

도 2는 본 발명에 의한 프로그램 도중 일부를 삭제하고 이를 삭제 데이터베이스에 저장하는 과정을 나타내는 순서도로, 프로그래머(이하 사용자라 칭한다)가 프로그램 개발을 하고 있는 상태에서 사용자로부터 삭제키가 입력되는지 여부를 확인하고, 삭제키가 입력되지 않으면 계속 프로그램 개발을 진행하는 과정을 수행한다(A1).2 is a flowchart illustrating a process of deleting a part of a program during the program according to the present invention and storing it in a deletion database, and confirms whether a delete key is input from a user while a programmer (hereinafter referred to as a user) is developing a program. If the delete key is not input, the program continues to be developed (A1).

이러한 상태에서 상기 확인 결과 삭제키가 입력되면 삭제키가 입력되는 경우마다 상기 삭제키로 인해 삭제된 부분에 대한 실제 데이터는 하드디스크(3)에 저장하고, 이에 대한 정보 데이터는 삭제 데이터베이스(4)에 저장하는 바, 이때 삭제 데이터베이스(4)에 저장되는 상기 정보데이터로는 삭제된 내용의 데이터 종류를 나타내는 정보와, 삭제된 부분이 저장되어 있던 디렉토리명과, 삭제된 부분이 속하는 프로그램의 명칭과, 삭제된 날자 및 시간을 구비한다(A2).In this state, when the deletion key is input as a result of the confirmation, whenever the deletion key is input, the actual data for the portion deleted due to the deletion key is stored in the hard disk 3, and the information data thereof is stored in the deletion database 4. In this case, the information data stored in the deletion database 4 includes information indicating the data type of the deleted content, the name of the directory in which the deleted part is stored, the name of the program to which the deleted part belongs, and the deletion. Date and time (A2).

이때 사용자는 상기와 같은 상황을 알지못하며 계속 프로그램 작성을 진행한다(A3).At this time, the user does not know the above situation and continues to write a program (A3).

상기와 같이 프로그램 작성 중 삭제를 실행하고 난 후, 사용자가 삭제된 내용을 다시 복구하고자 할 경우 처리 과정은 다음 도 3과 같다.After the deletion while the program is created as described above, when the user wants to recover the deleted contents, the processing is as follows.

프로그램을 개발하고 있는 상태에서 사용자로부터 복구키가 입력되는지 여부를 확인하고, 복구키가 입력되지 않으면 계속 프로그램 개발을 진행하는 과정을 수행한다(B1).If the recovery key is input from the user while the program is being developed, and if the recovery key is not input, the process of continuing the program development is performed (B1).

이러한 상태에서 상기 확인 결과 복구키가 입력되면 복구키가 입력되는 경우마다 상기 삭제 데이터베이스(4)에 접속하여 현재까지 삭제된 내용에 대한 리스트를 읽어온다(B2).In this state, when the recovery key is input as a result of the check, each time the recovery key is input, the recovery database 4 is accessed to read a list of contents deleted so far (B2).

상기 읽어온 리스트를 화면에 디스플레이 시키면 사용자는 상기 디스플레이된 리스트에서 삭제된 부분의 프로그램 명과, 날자 및 시간을 참조하여 복구하고자 하는 항목을 선택하게 되고, 복구부분 선택이 입력되면 실제 내용이 저장되어 있는 하드디스크에서 상기 선택된 부분에 대한 내용을 읽어온다(B3).When the read list is displayed on the screen, the user selects an item to be restored by referring to the program name, date, and time of the deleted part in the displayed list, and when the recovery part is selected, the actual content is stored. The contents of the selected portion of the hard disk are read (B3).

이어 상기 삭제 부분에 대한 내용을 읽어오면 그와 동시에 현재 삭제 부분을 복구시키고자 하는 프로그램(원본 프로그램)을 그대로 메모리에 복사(복사 프로그램)를 하여 현재 작성중인 프로그램에 발생할 오류를 방지한다. 이때 원본 프로그램은 원본 데이터베이스(7)에 저장된다(B4).Then, when the contents of the deleted portion are read, at the same time, the program (original program) to restore the current deleted portion is copied to the memory as it is (copy program) to prevent an error occurring in the program currently being created. At this time, the original program is stored in the original database 7 (B4).

이어 상기 복사된 프로그램 부분에 상기 읽어온 삭제 내용을 삽입하고, 삽입이 오류없이 정상적으로 수행되었는지 여부를 확인하여, 오류가 발생하였을 경우 재 복사와 재 삽입을 시도한다(B5).Subsequently, the read deleted content is inserted into the copied program part, and whether the insertion is normally performed without an error is performed, and if an error occurs, recopy and reinsertion are attempted (B5).

상기 판단결과 삽입이 정상적으로 수행되었으면 상기 복사본을 원본 프로그램으로 변경하고, 그 전 원본 프로그램은 원본 데이터베이스(7)에서 삭제 시킨 다음 프로그램 작성을 계속 진행한다(B6).If the determination resulted in the insertion being normally performed, the copy is changed to the original program, and the previous original program is deleted from the original database 7 and then the program creation is continued (B6).

이상에서 상세히 설명한 바와 같이 본 발명은 프로그램 작성시 사용자의 실수로 인하여 삭제대상이 아닌 부분을 삭제하였을 경우 상기 삭제대상을 임시 저장장소에 보관하였다가, 추후 사용자로부터 복구를 위한 복구키가 입력될때마다 기존대로 복구하므로써, 재 작성 등에 소요되는 시간을 방지하여 프로그램 완성 시간을 단축시키는 효과가 있다.As described in detail above, in the present invention, when a part which is not a deletion target is deleted due to a user's mistake at the time of writing a program, the deletion target is kept in a temporary storage location, and each time a recovery key for recovery is input from the user. By restoring the existing one, the time required for rewriting, etc. can be prevented, thereby shortening the program completion time.

아울러 본 발명의 바람직한 실시예들은 예시의 목적을 위해 개시된 것이며, 당업자라면 본 발명의 사상과 범위안에서 다양한 수정, 변경, 부가등이 가능할 것이며, 이러한 수정 변경 등은 이하의 특허 청구의 범위에 속하는 것으로 보아야 할 것이다.In addition, preferred embodiments of the present invention are disclosed for the purpose of illustration, those skilled in the art will be able to various modifications, changes, additions, etc. within the spirit and scope of the present invention, such modifications and modifications belong to the following claims You will have to look.

Claims (6)

프로그램 제작 도구 상에서 사용자에 의한 프로그램 작성 중 사용자로부터 삭제키가 입력되는지 여부를 확인하는 제 1 과정과;A first step of checking whether a delete key is input from the user during program creation by the user on a program production tool; 상기 확인결과 삭제키가 입력되면 삭제키가 입력되는 경우마다 상기 삭제키로 인해 삭제된 소스코드 데이터를 하드디스크에 저장하고, 삭제 데이터에 대한 정보 데이터를 삭제 데이터베이스에 저장하는 제 2 과정과;A second process of storing source code data deleted due to the deletion key on a hard disk and storing information data on the deletion data in a deletion database whenever the deletion key is input when the deletion key is input; 상기 삭제된 소스 코드에 대한 복구키가 입력되는지 확인하는 제 3 과정과;A third step of checking whether a recovery key for the deleted source code is input; 상기 삭제된 소스 코드에 대한 복구키가 입력되면 삭제 데이터베이스에서 삭제 리스트를 검색하여 복구 위치로 삭제 데이터를 복구시키는 제 4 과정을 구비하는 것을 특징으로 하는 프로그램 작성에서 삭제부분 복구 방법.And a fourth step of retrieving the deletion list from the deletion database and recovering the deleted data to a recovery position when the recovery key for the deleted source code is input. 제 1 항에 있어서,The method of claim 1, 상기 제 2 과정에서 삭제 데이터베이스에 저장되는 정보데이터로는 삭제된 내용의 데이터 종류를 나타내는 정보와, 삭제된 소스코드가 저장되어 있던 디렉토리명과, 삭제된 소스코드가 속하는 프로그램의 명칭과, 삭제된 날자 및 시간을 구비하는 것을 특징으로 하는 프로그램 작성에서 삭제부분 복구 방법.The information data stored in the deletion database in the second step includes information indicating the data type of the deleted content, the name of the directory in which the deleted source code is stored, the name of the program to which the deleted source code belongs, and the date of deletion. And a time portion recovering deleted portion in the program creation, characterized in that it comprises a time. 제 1 항에 있어서,The method of claim 1, 상기 제 4 과정은 복구키가 입력되는 경우마다 상기 삭제 데이터베이스에 접속하여 현재까지 삭제된 내용에 대한 정보 데이터 리스트를 검색하는 제 1 단계와;The fourth step includes a first step of accessing the deletion database and retrieving a list of information data about the contents deleted so far whenever a recovery key is input; 상기 검색된 리스트를 화면에 디스플레이 시키고, 정보 데이터를 참조한 사용자로부터 복구할 항목이 입력되면 상기 선택된 복구항목의 실제 내용이 저장되어 있는 하드디스크에서 상기 선택된 부분에 대한 내용을 읽어오는 제 2 단계와;Displaying the searched list on a screen and reading contents of the selected part from a hard disk in which the actual contents of the selected recovery item are stored when an item to be restored is input from a user who refers to the information data; 상기 제 2 단계와 동시에 현재 삭제 부분을 복구시키고자 하는 프로그램을 원본 데이터베이스에 저장하면서, 메모리에 복사하는 제 3 단계와;A third step of copying to a memory while storing a program for restoring the current deleted portion at the same time as the second step; 상기 복사된 프로그램 부분에 상기 읽어온 삭제 내용을 삽입하고, 삽입이 오류없이 정상적으로 수행되었는지 여부를 확인하여, 오류가 발생하였을 경우 재 복사와 재 삽입을 시도하는 제 4 단계와;Inserting the read deleted content into the copied program part, checking whether the insertion is normally performed without error, and retrying copying and reinserting when an error occurs; 상기 판단결과 삽입이 정상적으로 수행되면 상기 복사본을 원본 프로그램으로 변경하고, 그 전 원본 프로그램은 원본 데이터베이스에서 삭제시키는 제 5 단계를 구비하는 것을 특징으로 하는 프로그램 작성에서 삭제부분 복구 방법.And if the insertion is normally performed, changing the copy to the original program, and the former original program has a fifth step of deleting from the original database. 프로그램 제작 도구 상에서 사용자에 의한 프로그램 작성 중 입력부를 통해 삭제 명령이 입력되면, 삭제된 소스코드 데이터와 그 정보를 하드디스크 및 삭제 데이터베이스에 저장되도록 제어하는 삭제부와;A deletion unit for controlling the stored source code data and its information to be stored in a hard disk and a deletion database when a deletion command is input through an input unit during program creation by a user on a program production tool; 상기 삭제부를 통해 삭제 명령에 따른 삭제된 소스코드 데이터를 저장하는 하드 디스크와;A hard disk storing the deleted source code data according to the delete command through the delete unit; 상기 하드 디스크 내에 존재하는 데이터베이스로, 상기 삭제 데이터에 대한 정보 데이터를 저장하는 삭제 데이터베이스와;A deletion database for storing information data on said deletion data, said database being in said hard disk; 프로그램 작성 중 삭제된 소스코드의 복구를 위해 입력부를 통해 복구 명령이 입력되면 상기 삭제 데이터베이스에 접속하여 현재까지 삭제된 소스코드에 대한 목록을 리스트화 하여 디스플레이부로 전송하고, 복구할 부분이 선택되어 입력되면 삭제된 실제 내용을 하드디스크로부터 읽어오며, 삭제된 내용이 로딩 완료되면 현재 작성중인 프로그램의 복사본을 작성하는 복구부와;If a restore command is input through the input unit to recover the deleted source code during program creation, access the deletion database, list the list of source codes deleted so far, and send it to the display unit. A recovery unit that reads the actual contents deleted from the hard disk, and creates a copy of the program currently being created when the deleted contents are loaded; 상기 복구부를 통해 작성된 복사본을 저장하는 메모리와;A memory for storing a copy made through the recovery unit; 상기 메모리내에 존재하는 데이터베이스로 상기 복사본에 대한 원본을 저장하고 있는 원본 데이터베이스를 구비하는 것을 특징으로 하는 프로그램 작성에서 삭제부분 복구 장치.And an original database storing an original for the copy as a database existing in the memory. 제 4 항에 있어서,The method of claim 4, wherein 상기 삭제 데이터베이스에 저장되는 정보 데이터로는 삭제된 소스코드의 종류를 나타내는 정보와, 삭제된 소스코드가 저장되어 있던 디렉토리명과, 삭제된 소스코드가 속하는 프로그램의 명칭과, 삭제된 날자 및 시간을 구비하는 것을 특징으로 하는 프로그램 작성에서 삭제부분 복구 장치.The information data stored in the deletion database includes information indicating the type of deleted source code, a directory name in which the deleted source code is stored, a name of a program to which the deleted source code belongs, and a date and time of deletion. Partial recovery device deleted from the program creation, characterized in that the. 제 4 항에 있어서,The method of claim 4, wherein 상기 복구부에서는 읽어온 삭제 데이터를 복사본 데이터에 삽입하였을 경우 삽입이 정상적으로 완료되었는지 확인한 다음, 정상적으로 완료되었으면 상기 원본 데이터베이스에 저장된 원본을 삭제한 후 상기 삭제 데이터가 복구된 복사본을 원본으로 변경하는 것을 특징으로 하는 프로그램 작성에서 삭제부분 복구 장치.When the deleted data is inserted into the copy data, the recovery unit checks whether the insertion is normally completed, and if the data is successfully completed, deletes the original stored in the original database and then changes the deleted copy to the original. Partial recovery device deleted from program creation.
KR1020000029315A 2000-05-30 2000-05-30 Method for restoring deleted part in writing program, and device thereof KR20000050240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000029315A KR20000050240A (en) 2000-05-30 2000-05-30 Method for restoring deleted part in writing program, and device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000029315A KR20000050240A (en) 2000-05-30 2000-05-30 Method for restoring deleted part in writing program, and device thereof

Publications (1)

Publication Number Publication Date
KR20000050240A true KR20000050240A (en) 2000-08-05

Family

ID=19670809

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000029315A KR20000050240A (en) 2000-05-30 2000-05-30 Method for restoring deleted part in writing program, and device thereof

Country Status (1)

Country Link
KR (1) KR20000050240A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0660075A (en) * 1992-08-06 1994-03-04 Hitachi Ltd Document processor equipped with document recovering function
JPH0822465A (en) * 1994-07-11 1996-01-23 Fujitsu General Ltd Word processor device
KR20000038910A (en) * 1998-12-10 2000-07-05 김영돈 Recycling method of deleted parts in program production

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0660075A (en) * 1992-08-06 1994-03-04 Hitachi Ltd Document processor equipped with document recovering function
JPH0822465A (en) * 1994-07-11 1996-01-23 Fujitsu General Ltd Word processor device
KR20000038910A (en) * 1998-12-10 2000-07-05 김영돈 Recycling method of deleted parts in program production

Similar Documents

Publication Publication Date Title
US20050015379A1 (en) System and method in a spreadsheet for exporting-importing the content of input cells from a scalable template instance to another
JPH04248623A (en) Method and device for conducting single entity version control for source data
US20090094242A1 (en) Method and system for intra-document object locking in collaborative authoring
JP2008217651A (en) Design support device, design support method and program
CN114168286A (en) Application software migration method based on Windows
CN102073554A (en) Method and device for recovering files closed abnormally
CN111241064A (en) Database configuration file processing method and device and storage medium
US7003721B1 (en) Safe save method of HTML files using recovery files including a list with temporary and final names for replacement files
KR20000050240A (en) Method for restoring deleted part in writing program, and device thereof
JP3516843B2 (en) Database access method
JPH0778139A (en) Method for appending comment and document processor
US20020169780A1 (en) Method and data processing system for providing disaster recovery file synchronization
JPH0561754A (en) Data processor
CN111563006B (en) Data processing method, intelligent terminal and storage medium
JP2004341840A (en) Backup method, system therefor, and restoration method
JP2822869B2 (en) Library file management device
JPH01302429A (en) Source program editing system
JPH06222915A (en) Install system
JP2004021446A (en) Programmable controller system and programmable controller
JPH0784778A (en) Device for editing/managing test item of source program
JPH05158670A (en) Screen type program editor
JP3458421B2 (en) Document processing system
JPH0659959A (en) File protection system
JP2000112800A (en) File history management system
JPH02250166A (en) Information processor

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application