KR920010996B1 - Detecting control method for storing data - Google Patents

Detecting control method for storing data Download PDF

Info

Publication number
KR920010996B1
KR920010996B1 KR1019870015704A KR870015704A KR920010996B1 KR 920010996 B1 KR920010996 B1 KR 920010996B1 KR 1019870015704 A KR1019870015704 A KR 1019870015704A KR 870015704 A KR870015704 A KR 870015704A KR 920010996 B1 KR920010996 B1 KR 920010996B1
Authority
KR
South Korea
Prior art keywords
data
memory
line
amount
buffer
Prior art date
Application number
KR1019870015704A
Other languages
Korean (ko)
Other versions
KR890010701A (en
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 KR1019870015704A priority Critical patent/KR920010996B1/en
Publication of KR890010701A publication Critical patent/KR890010701A/en
Application granted granted Critical
Publication of KR920010996B1 publication Critical patent/KR920010996B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The circuit informs the state of of memory to users when the quantity of line data being inputted exceeds that of memory space, otherwise, storing the data to improve the efficiency of memory managing. The circuit is composed of a keyboard (1), a buffer (2) for temporarily storing the data from the keyboard (1) by one line, and a central processing unit (3) for comparing & discriminating between the data quantity per one line and the space quantity of a memory (4) and a submemory (5) and displaying the sign of overflow when the data quantity exceeds the space quantity, otherwise, storing the data stored in the buffer (1) into the memory (4) and the submemory (5) and executing it.

Description

데이터 저장시 검출제어방법Detection control method when saving data

제1도는 본 발명이 적용되는 컴퓨터 시스템의 제어장치 블록도.1 is a control block diagram of a computer system to which the present invention is applied.

제2도는 본 발명의 검출제어방법에 의한 신호흐름도.2 is a signal flow chart according to the detection control method of the present invention.

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

1 : 키보드 2 : 버퍼1: keyboard 2: buffer

3 : 중앙처리장치 4 : 메모리3: central processing unit 4: memory

5 : 보조기억부 6 : 표시부5: auxiliary storage unit 6: display unit

7 : 경보부7: alarm unit

본 발명은 메모리 및 컴퓨터 시스템에 있어서, 데이타저장시 검출제어방법에 관한 것으로, 특히 메모리의 스페이스양 및 입력되는 라인단위의 데이타양을 비교검출하여 그 검출결과에 따라 데이터의 저장을 제어하게 한 데이타저장시 검출제어방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a detection control method for storing data in a memory and a computer system. More particularly, the present invention provides a method of controlling the storage of data in accordance with a detection result by comparing and detecting the amount of space in a memory and the amount of data in a line unit. A detection control method in storage.

종래의 메모리 및 컴퓨터 시스템에 있어서는 데이타저장시 프로그램을 수행후 종료한 상태에서 메모리 키 신호 입력에 따라 저장하게 하였으나, 이는 메모리가 오버플로우(overflow)일 경우에는 사용자가 이를 알 수 있는 방법이 없었므로 이와같은 상태에서 데이타를 저장시 키신호 입력에 따른 데이터를 저장시킬 수 없게 되는 바, 사용자 입장에서 보면 시간낭비 및 작업능률이 저하되고, 효율적으로 메모리를 이용할 수 없게되므로 관리포인트가 저하되는 등의 결함이 있었다.In a conventional memory and computer system, data is stored in accordance with a memory key signal input while the program is executed and then terminated. However, when the memory overflows, there is no way for a user to know this. In this state, when the data is stored, the data cannot be stored according to the input of the key signal. From the user's point of view, time is lost and work efficiency is reduced. There was a fault.

본 발명은 이와같은 종래의 결함을 감안하여 데이타저장시 메모리의 스페이스양을 검출하여 입력되는 라인별 데이타양이 메모리의 스페이스양보다 초과되었을 경우에는 이를 사용자에게 표시 및 알려주고, 초과되지 않았을 경우에는 데이타를 저장하게 창안한 것으로 이를 첨부한 도면에 의하여 상세히 설명하면 다음과 같다.In view of such a conventional deficiency, the present invention detects the amount of space in the memory when data is stored, and displays and informs the user when the amount of data for each line exceeds the amount of space in the memory. When the invention is described in detail with reference to the accompanying drawings as follows.

제1도에 도시한 바와 같이 키보드(1)의 키신호입력에 따라 데이타를 일시저장하는 버퍼(2)와, 프로그램 및 데이타를 저장하는 메모리(4) 및 보조기억부(5)와, 상기 메모리(4) 및 보조기억부(5)의 스페이스(space)양에 따라 오버플로우표시 및 경보음을 울리는 표시부(6) 및 경보부(7)와, 상기 시스템 전체를 제어하는 중앙처리장치(3)로 구성한 것이다.As shown in FIG. 1, a buffer 2 for temporarily storing data in response to a key signal input of the keyboard 1, a memory 4 and an auxiliary memory unit 5 for storing programs and data, and the memory (4) and the display unit (6) and the alarm unit (7) for overflow indication and alarm sound according to the amount of space in the auxiliary memory unit (5), and the central processing unit (3) for controlling the whole system. It is made up.

이와같이 구성된 본 발명의 작용효과를 제2도의 신호흐름도에 의하여 상세히 설명하면 다음과 같다.The operational effects of the present invention configured as described above will be described in detail with reference to the signal flow diagram of FIG. 2.

키보드(1)의 키를 눌러 그 키신호가 버퍼(2)에 입력되면, 버퍼(2)는 그 키 신호에 따라 입력되는 데이타를 1라인씩 일시저장한 후 키보드(1)의 리턴키신호가 입력될 경우에 중앙처리장치(3)는 1라인의 데이타양을 검출하고, 또한 메모리(4) 및 보조기억부(5)의 스페이스(space)를 검출한 후 1라인의 데이타양이 메모리(4) 및 보조기억부(5)의 스페이스양을 비교판별하고, 1라인의 데이타양이 클 경우에는 중앙처리장치(3)는 그 입력된 데이타를 저장할 수 없음을 감지하여 표시부(6)에 메모리(4) 및 보조기억부(5)의 데이타 뱅크(Bank)가 오버플로우 되었음을 표시하고, 경보부(7)를 제어하여 경보음을 울리게 하여, 버퍼(2)에 저장된 마지막 1라인의 데이타는 무시한 후 풀 플래그를 세트시켜 종료되는 한편, 상기와 반대로 1라인의 데이타양이 메모리(4) 및 보조기억부(5)의 스페이스양보다 작을 경우에는 상기 버퍼(2)에 일시저장되어 있는 데이타를 데이타라인(DL)을 통해 메모리(4) 및 보조기억부(5)에 저장한 후 프로그램 수행완료키신호가 입력될때까지 초기상태로 원상복귀하여 상기와 같이 반복수행하고, 프로그램수행완료키신호가 입력되었을 경우에는 종료하게 된다.When the key signal of the keyboard 1 is pressed and the key signal is input to the buffer 2, the buffer 2 temporarily stores the input data in accordance with the key signal by one line and then returns the return key signal of the keyboard 1. When inputted, the central processing unit 3 detects the data amount of one line, and also detects the space of the memory 4 and the auxiliary storage unit 5, and then the data amount of one line is stored in the memory 4. ) And the amount of space in the auxiliary storage unit 5 are compared and discriminated, and when the amount of data in one line is large, the CPU 3 detects that the input data cannot be stored, and displays a memory ( 4) and indicates that the data bank (Bank) of the auxiliary memory unit 5 has overflowed, and controls the alarm unit 7 to sound an alarm, ignoring the data of the last one line stored in the buffer 2 and then pulling it. Ending by setting a flag, while the data amount of one line is reversed from the above, the memory 4 and the auxiliary storage section 5 If the amount is smaller than the amount of space, the data temporarily stored in the buffer 2 is stored in the memory 4 and the auxiliary memory unit 5 through the data line DL, and then initialized until the program execution completion key signal is input. The program returns to its original state, repeats as described above, and terminates when a program execution completion key signal is input.

이상에서 설명한 바와같이 데이타 저장시 메모리의 스페이스양 및 입력되는 라인단위의 데이타양을 비교 검출하여 입력되는 데이타양이 메모리의 스페이스양 보다 클 경우에는 이를 사용자에게 표시 및 알려주고, 작을 경우에는 데이타를 저장하게 하므로써 사용자 입장에서 보던 매우 편리함은 물론 작업능률을 향상시킬 수 있게되고, 관리포인트 및 제품에 대한 신뢰성을 향상시킬 수 있는 효과가 있다.As described above, when the amount of data input is larger than the amount of space in memory, the user detects and displays the amount of space in memory and the amount of data in the line unit. By doing so, it is possible to improve the work efficiency as well as the convenience which is very convenient from the user's point of view, and to improve the reliability of the management point and the product.

Claims (1)

키보드(1)의 키를 눌러 그 키신호가 버퍼(2)에 입력되면, 버퍼(2)는 그 키신호에 따라 입력되는 데이타를 1라인씩 일시저장시킨 후 리턴키신호가 입력될 경우에는 중앙처리장치(3)는 1라인의 데이타양을 검출함과 아울러 메모리(4) 및 보조기억부(5)의 스페이스양을 검출하여 크기를 비교판별하고, 1라인의 데이타양이 클경우에는 중앙처리장치(3)는 메모리(4) 및 보조기억부(5)의 데이타뱅크가 오버플로우되었음을 표시부(6)에 표시하고, 경보부(7)를 제어하여 경보음을 발생하며, 버퍼(2)에 저장된 마지막 1라인의 데이타는 무시한 후 풀플레그를 세트시켜 종료하고, 1라인의 데이타양이 작을 경우에는 상기 버퍼(2)에 일시저장되어있는 데이타를 데이타라인(DL)를 통해 메모리(4) 및 보조기억부(5)에 저장한 후 프로그램수행완료키신호가 입력될때까지 반복수행함을 특징으로 하는 데이타 저장시 검출제어방법.When the key signal of the keyboard 1 is pressed and the key signal is input to the buffer 2, the buffer 2 temporarily stores the input data according to the key signal by one line and then returns the center to the center when the return key signal is input. The processing device 3 detects the amount of data in one line and compares and discriminates the size by detecting the amount of space in the memory 4 and the auxiliary storage unit 5, and central processing when the amount of data in one line is large. The device 3 indicates on the display unit 6 that the data bank of the memory 4 and the auxiliary storage unit 5 has overflowed, controls the alarm unit 7 to generate an alarm sound, and is stored in the buffer 2. After ignoring the data of the last one line, a full flag is set and terminated. If the data amount of one line is small, the data temporarily stored in the buffer 2 is stored in the memory 4 and the auxiliary device through the data line DL. After storing in the storage unit 5, it repeats until the program execution completion key signal is inputted. Detection control method during data storage, characterized in a.
KR1019870015704A 1987-12-31 1987-12-31 Detecting control method for storing data KR920010996B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019870015704A KR920010996B1 (en) 1987-12-31 1987-12-31 Detecting control method for storing data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019870015704A KR920010996B1 (en) 1987-12-31 1987-12-31 Detecting control method for storing data

Publications (2)

Publication Number Publication Date
KR890010701A KR890010701A (en) 1989-08-10
KR920010996B1 true KR920010996B1 (en) 1992-12-26

Family

ID=19267943

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019870015704A KR920010996B1 (en) 1987-12-31 1987-12-31 Detecting control method for storing data

Country Status (1)

Country Link
KR (1) KR920010996B1 (en)

Also Published As

Publication number Publication date
KR890010701A (en) 1989-08-10

Similar Documents

Publication Publication Date Title
US5355501A (en) Idle detection system
KR930001086A (en) CPU with integrated multiplication / accumulation unit
JPH10501911A (en) Dynamic management of processor performance and power in computer systems
US5534887A (en) Locator icon mechanism
US5689694A (en) Data processing apparatus providing bus attribute information for system debugging
KR910012915A (en) Pipeline Break Minimization Process Using Software Scheduling Techniques
US5435005A (en) Method and system for controlling resuming operation of an AC-driven computer system using an external memory
KR900016863A (en) Method and apparatus for determining whether display is externally connected by using status data stored in register
US8555191B1 (en) Method, system, and apparatus for keystroke entry without a keyboard input device
KR930002935A (en) Information processing device
US4841454A (en) Display controller with a variable scrolling speed, and method for operating same
KR920010996B1 (en) Detecting control method for storing data
US5241646A (en) Systems for changing hardware parameters using sub-CPU for sensing specialized key inputs and main CPU for changes
US5961583A (en) Method and system for using the event wait list anchor as a lock for events
CN112015255A (en) Method and system for fast shutdown without input equipment
JP2904876B2 (en) Display device of personal computer
TW345637B (en) Data processor with branch target address cache and method of operation a data processor has a BTAC storing a number of recently encountered fetch address-target address pairs.
EP0307957B1 (en) Central processing unit having instruction prefetch function
JPS5710867A (en) Electronic cash register having priority processing function
JPS59123933A (en) Address comparison system
KR890016487A (en) Method of setting palette data by display mode and system for performing it
KR910005150A (en) Calculator and the calculation method used in this calculator
JPH08320745A (en) Sleep method for information processor
JPH03105384A (en) Display control system
EP0284100A2 (en) Information processor having instruction prefetch function

Legal Events

Date Code Title Description
A201 Request for examination
G160 Decision to publish patent application
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 19971229

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee