KR940006009B1 - Data storing device in automatic answering telephone - Google Patents
Data storing device in automatic answering telephone Download PDFInfo
- Publication number
- KR940006009B1 KR940006009B1 KR1019880015371A KR880015371A KR940006009B1 KR 940006009 B1 KR940006009 B1 KR 940006009B1 KR 1019880015371 A KR1019880015371 A KR 1019880015371A KR 880015371 A KR880015371 A KR 880015371A KR 940006009 B1 KR940006009 B1 KR 940006009B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- microprocessor
- amplifier
- tone
- tape
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/64—Automatic arrangements for answering calls; Automatic arrangements for recording messages for absent subscribers; Arrangements for recording conversations
- H04M1/65—Recording arrangements for recording a message from the calling party
Abstract
Description
제 1 도는 본 발명의 자동 응답 전화기의 데이타 기억 장치의 블록 구성도.1 is a block diagram of a data storage device of the answering machine of the present invention.
제 2 도는 본 발명 장치의 실시예 회로도.2 is an exemplary circuit diagram of an apparatus of the present invention.
제 3 (a)도는 본 발명 장치에 의한 데이타 기록 과정의 플로우챠트.Figure 3 (a) is a flowchart of a data recording process by the apparatus of the present invention.
제3(b)도는 본 발명 장치에 의한 데이타 백업 과정의 플로우챠트.3 (b) is a flowchart of a data backup process by the apparatus of the present invention.
제 4 도는 종래 마이크로 프로세서의 데이타 백업 장치의 회로도.4 is a circuit diagram of a data backup device of a conventional microprocessor.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
1 : 마이크로 프로세서 2 : 본 발생기1: microprocessor 2: bone generator
3 : 음향 증폭기 4 : 소거 헤드3: acoustic amplifier 4: erasing head
5 : 재생 및 녹음 헤드 A : 증폭기5: playback and recording head A: amplifier
SW1, S2 : 아날로그 스위치 SW3 : 선택 스위치SW1, S2: Analog Switch SW3: Selection Switch
본 발명은 자동 응답 전화기의 데이타 기억 장치에 관한 것으로서 특히, 필요한 정보나 데이타의 기록 매체를 자성 테이프로하여 정전시에 자동 응답 전화기에 입력된 중요 데이타가 유실되지 않도록 하는 자동 응답 전화기의 데이타 기억 장치에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data storage device for an answering machine, and more particularly, to a data storage device for an answering machine so that important data input to the answering machine is not lost in the event of a power failure by using a magnetic tape as necessary information or data recording medium. It is about.
종래에는 제 4 도에서 도시된 바와같이, 마이크로 프로세서(31)에 확장 메모리(32)를 어드레스 버스(33)와 데이타 버스(34)로 연결하되, 확장 메모리(32)에는 축전지(35)를 다이오드(D1)로서 연결하여 비상 전원으로 사용하고 있다.Conventionally, as shown in FIG. 4, the expansion memory 32 is connected to the microprocessor 31 by the address bus 33 and the data bus 34, and the storage memory 35 is connected to the expansion memory 32. Connected as (D1) and used as an emergency power supply.
또한, 마이크로 프로세서(31)에는 상용 전원(AC)을 아답터(37)를 통하여 필요한 직류 전원(B+)으로 바꾼다음 전압 레귤레이터(36)로서 전원(B+)을 공급함과 동시에 확장 메모리(32)에도 전원(B+) 전압을 공급하도록 되어 있어, 교류 전원(AC) 차단시에는 축전지(35)의 전원이 다오오드(D1)를 통하여 확장 메모리(32)에 공급되어 확장 메모리(32)에 기억중인 데이타의 유실을 방지하고 있으며, 동시에 교류 전원(AC)이 인가시에는 다이오드(D1)에 의하여 축전지(35)의 전원 공급을 차단하고 전원(B+)이 공급되도록 하고 있으나, 교류전원(AC)의 차단시간이 축전지(35)의 용량에 의한 전원 공급 시간보다 길게 되면 확장 메모리(32)에 기억된 데이터가 유실될 뿐망 나이라, 축전지(35)와 확장 메모리(32)는 마이크로 프로세서(31)의 데이타만을 보관하는데만 사용되므로 효율적인 이용이 어렵고, 확장 메모리와 축전지 설치 면적이 필요하게 되어 특히 경박 단소의 추세로 발전되는 자동 교환기 등과 같은 제품에는 설치하기가 어려운 단점이 있었다.In addition, the microprocessor 31 converts the commercial power supply AC into the required DC power supply B + through the adapter 37, and then supplies the power supply B + as the voltage regulator 36 and also supplies the expansion memory 32 with power. When the AC power supply (AC) is cut off, the power supply of the storage battery 35 is supplied to the expansion memory 32 through the diode D1 to store the data stored in the expansion memory 32. Loss is prevented and at the same time, when AC power is applied, the power supply of the battery 35 is cut off by the diode D1 and the power B + is supplied. When the power supply time by the capacity of the storage battery 35 is longer, the data stored in the expansion memory 32 is lost. Therefore, the storage battery 35 and the expansion memory 32 only store data of the microprocessor 31. Used only for storage, This is difficult, is a need for expansion memory and a battery mounting area products such as auto-changer that is developed in a trend of a particular frivolous chancel had the disadvantages that are difficult to install.
본 발명은 이러한 종래의 단점을 해결하기 위하여 마이크로 프로세서에 음향 증폭기와 톤 발생기 및 제어 스위치를 연결하고, 음향 증폭기에 카세트 테이프 레코더의 헤드를 제어 스위치를 통하여 연결하면, 전화내용(부재중 메시지)이 카세트 테이프 레코더에 의해 테이프에 기록 및 재생되도록 하되, 마이크로 프로세서 내에는 카세트 테이프 레코더의 재생시와 녹음시의 데이타 기록과 재생(백업)명령 프로그램을 기억시켜 정전되기 전까지의 입력 신호와 데이타의 유실을 방지하고, 경박 단소화할 수 있는 자동 응답 전화기의 데이타 기억 장치를 제공함을 목적으로 하며, 이하 첨부된 도면을 참조하여 본 발명 장치를 상세히 설명하면 다음과 같다.The present invention connects an acoustic amplifier, tone generator and control switch to a microprocessor, and connects the head of a cassette tape recorder to the acoustic amplifier through a control switch in order to solve the above disadvantages. The tape recorder records and plays back the tape, but the microprocessor stores the data recording and playback (backup) instruction programs during and during the cassette tape recorder to prevent loss of input signals and data until a power failure. It is an object of the present invention to provide a data storage device of an answering machine that can be reduced in size and light weight. The present invention will be described in detail below with reference to the accompanying drawings.
제 1 도를 참조하면, 모터 구동부를 통해 카세트 데크 모터(M)를 제어하여 카세트 테이프에 데이타를 기록 제어하고, 또한 테이프에 기록된 데이타를 읽어들여 내부 메모리에 백업시키는 마이크로 프로세서(1)와, 상기 마이크로 프로세서(1)의 제어를 받아 톤(TONE) 신호를 발생시키는 톤 발생기(2)와, 상기 마이크로 프로세서(1)의 제어를 받아 톤 발생기(2)의 톤 신호를 출력 제어하는 제 1 아날로그 스위치(SW1)와, 상기 제 1 아날로그 스위치(SW1)를 통과하는 톤 신호를 증폭하여 음향 증폭기(3)에 공급하는 증폭기(A)와, 상기 증폭기(A)로부터 입력된 톤 신호를 선택 스위치(SW3)를 통해 재생 및 녹음 헤드(5)에 공급하거나, 재생 및 녹음 헤드(5)에서 재생된 데이타를 선택 스위치(SW3)를 통해 입력받아 마이크로 프로세서(1)에 공급하는 음향 증폭기(3)와, 상기 마이크로 프로세서(1)의 제어를 받아 상기 음향 증폭기(3)와 재생 및 녹음 헤드(5) 사이에서 데이타 입력/출력 경로를 선택해주는 선택 스위치(SW3)와, 상기 증폭기(A)의 입력단과 음향 증폭기(3) 및 마이크로 프로세서(1) 입출력단 사이의 신호 경로를 상기 마이크로 프로세서(1)의 제어를 받아 제어하는 제 2 아날로그 스위치(SW2)와, 상기 음향 증폭기(3)에서 출력되는 소거 신호를 입력받아 테이프를 소거시키는 소거 헤드(4)와, 상기 음향 증폭기(3)에서 증폭되는 오디오 신호를 입력받아 출력하는 스피커(SP)로 구성되며, 도면에서 부호 L1은 국선, HS는 훅크 스위치, B+는 전원이다.Referring to FIG. 1, a microprocessor 1 for controlling data of a cassette deck motor M through a motor driving unit to record data on a cassette tape, and to read data recorded on the tape and back it up to internal memory; A
그리고, 상기 선택 스위치(SW3)는 도면 제 2 도에 도시된 바와같이, 마이크로 프로세서(1)에 입력되는 제어신호에 의해 온.오프되는 트랜지스터(Q1)와, 상기 트랜지스터(Q1)의 온.오프에 따라 재생 및 녹음 헤드(5)로부터 음향 증폭기(3)로 입력되는 데이타의 공급 또는 차단을 실행하는 아날로그 스위치(101)와, 상기 마이크로 프로세서(1)에서 입력되는 제어신호에 의해 온.오프되어 재생 및 녹음 헤드(5)로부터 상기 아날로그 스위치(101)를 통해 음향 증폭기(3)로 입력되는 데이타의 공급 또는 차단을 실행하는 아날로그 스위치(102)와, 상기 마이크로 프로세서(1)에서 입력되는 제어신호에 의해 온.오프되어 음향 증폭기(3)로부터 재생 및 녹음 헤드(5)로 공급되는 데이타의 공급 또는 차단을 실행하는 아날로그 스위치(102)로 구성된다.As shown in FIG. 2, the selection switch SW3 is a transistor Q1 turned on and off by a control signal input to the microprocessor 1, and the transistor Q1 is turned on and off. Is switched on and off by an
그리고, 음향 증폭기(3)는 마이크로 프로세서(1)의 제어를 받아, 입력 단자(A0)로 입력된 신호는 증폭하여 출력단자(A5)로 출력하고, 입력단자(A1)로 입력된 신호는 증폭하여 출력단자(A3)로 출력하며, 상기 각 입력 단자로 입력되는 음성 신호를 마이크로 프로세서(1)의 제어를 받아 출력단자(A4)로 출력하여 스피커(SP)로 출력하고, 녹음시에는 마이크로 프로세서(1)의 제어를 받아 출력단자(A2)에서 소거 신호를 출력하여 소거 헤드(4)에 공급함으로써, 테이프에 기록된 신호를 소거시키는 IC로서, A6를 전원 공급 단자로 한다.Under the control of the microprocessor 1, the
그리고, 상기 마이크로 프로세서(1)는 내부에 메모리와, 제어를 위한 4개의 레지스터(R1-R4) 및 레지스터(A)와, 타이머와, 플럭(F0)을 구비하고 제3(a)도, 제3(b)도에 나타낸 바와같이 제어 과정을 수행한다.The microprocessor 1 further includes a memory therein, four registers R1-R4 and registers A for controlling, a timer, and a flop F0. As shown in Fig. 3 (b), the control process is performed.
즉, 마이크로 프로세서(1)는, [녹음시] ; 레지스터(R3, R4)(A)와 타이머를 사용하는데, 레지스터(R3)는 테이프에 기록할 데이타를 저장하는 데이타 레지스터로 사용하고, 레지스터(R4)는 8비트=1바이트의 데이타 처리를 검색하기 위한 비트수 레지스터로 사용하고, 레지스터(A)는 상기 레지스터(R3)에 저장된 데이타를 1비트씩 받아서 하이("1"), 로우("0")를 검색하기 위한 레지스터로 사용한다.That is, the microprocessor 1 is [recording time]; Registers R3 and R4 (A) and timers are used, and registers R3 are used as data registers to store data to be written to tape, and registers R4 are used to retrieve data processing of 8 bits = 1 byte. The register A is used as a register for searching the high ("1") and the low ("0") by receiving the data stored in the register R3 by one bit.
즉, 제 3 (a)도에 나타낸 바와같이, 레지스터(R3)에 기억된 데이타를 입력하고 레지스터(R4)에서 8번으로 세팅시키는 제 1 단계와, 캐리와 함께 좌측 회전시키며 레지스터(R3)에 A를 기억시킨 후 캐리가 발생되었는가를 검사하는 제 2 단계와, 캐리가 발생되면 20m초 동안 단일 톤(TONE)을 녹음하고, 캐리가 발생되지 않으면 40m초 동안 단일 톤을 녹음한 후, 20m초 동안 무음을 녹음한 다음 레지스터(R4)의 값을 감소시켜 레지스터(R4)의 값이 0인가를 검사하는 제 3 단계와, 레지스터(R4)의 값이 "0"이 아니면 제 2 단계로 되돌아가고, 레지스터(r4)의 값이 "0"이 1단계로 되돌아가는 제 4 단계의 과정을 실행한다.That is, as shown in FIG. 3 (a), the first step of inputting data stored in the register R3 and setting it to the number 8 in the register R4, and left rotating with the carry to the register R3. Memorizing A and checking whether Carry has occurred and recording a single tone for 20m seconds if Carry has occurred, recording a single tone for 40msec if Carry has not occurred, and then recording 20msec. While recording the silence and then reducing the value of register R4 to check if the value of register R4 is zero, and returning to the second step if the value of register R4 is not "0" In
따라서, 상기 과정의 실행 결과는 1바이트=8비트 데이타의 어느 한 비트값이 "1"이면 카세트 테이프에 녹음되는 신호의 포멧이 "20m초 동안 단일 톤 +20m초 동안무음"의 포맷으로 기록되고, 비트값이 "0"이면 "40m초 동안 단일 톤+20m초 동안 무음"의 포맷으로 기록되어 지는 것이다.Therefore, the execution result of the above process indicates that if any one bit value of 1 byte = 8 bit data is "1", the format of the signal recorded on the cassette tape is recorded in the format of "single tone for 20m seconds + + 20m second". If the bit value is "0", it is recorded in the format of "Single tone for 40m seconds + silent for 20m seconds".
[재생시] : 레지스터(R1-R3)와 플랙(F0) 및 타이머를 사용하는데, 레지스터(R1, R2)는 1바이트 데이타를 저장하기 위한 레지스터로 사용하고, 레지스터(R3)는 타이머 시간을 검색하기 위한 레지스터로 사용하고, 플랙(F0)은 테이프에서 재생되어 마이크로 프로세서(1)에 입력되는 데이타의 하이, 로우(유, 무)를 검색하기 위한 플랙으로 사용한다.[Playback]: Registers R1-R3, Flags F0, and timers are used. Registers R1 and R2 are used as registers for storing one-byte data, and registers R3 retrieve timer times. The flag F0 is used as a flag for searching for high and low (present or absent) of data reproduced from the tape and input to the microprocessor 1.
즉, 제 3 (b)도에 나타낸 바와같이, 레지스터(R1, R2)의 값을 각각 0으로 세팅하는 제 1 단계와, 5m초 타이머를 가동시킨 후 플랙(F0)을 0으로 소거시킨 다음, 래지스터(R3)의 값을 0으로 세팅하는 제 2 단계와, 5m초 시간이 완료되었는가를 검사하여 완료되었으면 5m초 타이머를 가동시키고, 레지스터(R3)의 값을 증가시킨 후 레지스터(R3)의 값이 12보다 큰가를 검사하는 제 3 단계와, 레지스터(R3)의 값이 12보다 크지 않으면 제 2 단계로 되돌아가고 12보다 크면 타이머를 정지한 다음 에러 표시를 한 후, 최초 단계로 복귀하는 제 4 단계와, 상기 제 3 단계에서 5m초 시간이 경과되지 않았으면 단자(P2)가 "로우"인가를 검사하는 제 5 단계와, 단자(P2)가 로우이면 플랙(F0)을 1로하여 제 3 단계로 되돌아가고, 단자(P2)가 로우가 아니면 플랙(F0)이 1인가를 검사하는 제 6 단계와, 플랙(F0)이 1이 아니면 제 3 단계로 되돌아가고 플랙(F0)이 1이면 레지스터(R3)의 값이 4보다 크거나 같은가를 검사하는 제 7 단계와, 레지스터(R3)의 값이 4미만이면 제 4 단계로 되돌아가고, 레지스터(R3)의 값이 4보다 크거나 같으면 레지스터(R3)의 값이 8보다 큰가를 검사하는 제 8 단계와, 레지스터(R3)가 8보다 작으면 데이타를 1로하고, 크면 데이타를 0으로 한 후, 1바이트가 끝났는가를 검사하는 제 9 단계와, 1바이트가 끝나지 않았으면 데이타를 레비스터(R1)의 최하위 비트내에 기억시킨후 제 2 단계로 되돌아가고, 1바이트가 끝났으면 1바이트 데이타를 지정된 장소에 기억시킨 후, 단자(P2)가 "로우"로 될때까지 지연한 후 제 1 단계로 되돌아가는 제10단계의 과정을 실행한다.That is, as shown in FIG. 3 (b), after the first step of setting the values of the registers R1 and R2 to 0, the timer F5 is cleared to zero after starting the 5 m second timer, After the second step of setting the value of the register R3 to 0 and checking whether the 5 m second time is completed, start the 5 m second timer, increase the value of the register R3, and then A third step of checking whether the value is greater than 12, and returning to the second step if the value of the register R3 is not greater than 12, stopping the timer if it is larger than 12, displaying an error, and then returning to the first step. A fourth step of checking whether the terminal P2 is " low " if the 5 m second time has not elapsed in the third step; and if the terminal P2 is low, the flag F0 is set to 1 A sixth step of returning to
상기한 구성과 처리 과정을 갖는 본 발명의 자동 응답 전화기의 데이타 기억 장치의 작용 효과는 다음과 같다.The operational effects of the data storage device of the answering machine of the present invention having the above-described configuration and processing are as follows.
먼저, 자동 응답 전화기에서의 중요한 데이타, 예를 들면 녹음된 용건 메시지의 갯수, 길이, 그리고 용건 메시지의 녹은 가능 유무 등의 데이타를 본 발명에서는 부재중 응답과 메시지의 녹음을 위한 카세트 테이프의 한 영역에 할당하여 테이프를 정전시의 데이타 백업 매체로 사용하게 된다.First, important data in an answering machine, such as the number, length, and availability of recorded message, can be recorded in one area of the cassette tape for missed response and recording of message. The tape is used as a data backup medium in case of power failure.
즉, 사용하는 테이프의 영역을 메시지 녹음 영역과 데이타 백업 영역으로 구분해 놓고, 마이크로 프로세서(1)에서 데이타를 일정 영역에 기록하여 놓은 다음, 정전후 전원이 들어오면 그 일정 영역에 기록된 내용을 읽어들여서 마이크로 프로세서(1)의 상기 내부 메모리로 복귀시키는 것이다.That is, the area of the tape to be used is divided into a message recording area and a data backup area, the data is recorded in a predetermined area by the microprocessor 1, and when the power is turned on after a power failure, the contents recorded in the predetermined area are recorded. The data is read and returned to the internal memory of the microprocessor 1.
8비트 마이크로 프로세서(1)를 사용하는 경우, 출력 포트(P1)에서 톤 발생기(2)의 톤 발생 시간을 제어하여 데이타를 구성한 다음, 증폭기(A)로 보낸다.In the case of using an 8-bit microprocessor 1, the tone generation time of the
예를 들면 본 발명에서는, 시작 비트+데이타 비트+종료 비트의 포맷으로 1바이트 데이타를 구성하는데, 이때 데이타("1")의 경우 20m초의 톤+20m초의 무음 포맷으로 구성하고, 데이타("0")의 경우 40m초의 톤=20m초의 무음 포맷으로 구성하며, 데이타 8비트의 시작비트(START BIT)는 상기 데이타 비트의 앞에 60m초의 톤+60m초의 무음 포맷으로 구성하고, 종료 비트(STOP BIT)는 상기 데이타 비트의 끝에 60m초의 톤+60m초의 무음 포맷으로 구성한다.For example, in the present invention, one-byte data is configured in the format of start bit + data bit + end bit, where data ("1") is composed of a tone format of 20m tone + 20m second, and data ("0"). ") Consists of 40m-second tone = 20m-second silent format, 8-bit START BIT consists of 60m-second tone + 60m-second silent format before the data bit, and stop bit (STOP BIT) Is composed of a 60m second tone + 60m second silent format at the end of the data bit.
따라서, 이와같은 시간 제어를 받아 톤 발생기(2)에서 발생된 톤 신호 데이타는 증폭기(A)를 거쳐 증폭되고, 이 증폭된 신호는 음향 증폭기(3)를 거쳐 재생 녹음 헤드(5)로 보내어져 테이프의 일정한 영역에 기록한다.Therefore, under such time control, the tone signal data generated in the
즉, 마이크로 프로세서(1)에서 테이프에 데이타를 기록할때에는 출력 포트(P0)에서 아날로그 스위치(SW1)를 제어하여 온시키고, 출력 포트(P4)에서 아날로그 스위치(SW2)를 제어하여 오프시키며, 출력 포트(P1)에서 톤 발생기(1)를 상기한 데이타 구성 시간 간격으로 동작 제어하여 톤을 발생시켜 주며, 이와같이 발생된 톤과 무신호 구간으로 데이타가 증폭기(A)를 거쳐 증폭되어 음향 증폭기(3)의 입력단자(A1)에 공급되면, 음향 증폭기(3)는 입력신호를 출력단자(A3)로 출력하여 선택 스위치(SW3)에 입력해 주게 된다.That is, when data is written to the tape by the microprocessor 1, the output port P0 is controlled by controlling the analog switch SW1, the output port P4 is controlled by the analog switch SW2, and then output. In the port P1, the tone generator 1 is operated at the above-described data configuration time intervals to generate a tone, and data is amplified through the amplifier A in the generated tone and the no signal section. When supplied to the input terminal A1 of A), the
이러한 녹음 동작을 수행할때에 마이크로 프로세서(1)는 선택 스위치(SW3)의 제어단자(C0)에 출력포트(P3)에서 제어신호(하이 신호)를 출력하여 선택 스위치(SW3)가 음향 증폭기(3)의 출력 단자(A3)와 재생 및 녹음 헤드(5) 사이의 경로로 선택되도록 해 준다.When performing such a recording operation, the microprocessor 1 outputs a control signal (high signal) from the output port P3 to the control terminal C0 of the selector switch SW3 so that the selector switch SW3 is an acoustic amplifier ( To be selected as a path between the output terminal A3 of 3) and the playback and recording head 5;
즉, 도면 제 2 도에서 보는 바와같이 출력 포트(P3)에서 하이 신호가 출력되면 아날로그 스위치(102)는 온되고, 아날로그 스위치(103)는 오프되며, 트랜지스터(Q1)가 온되기 때문에 아날로그 스위치(101)도 오프됨에 따라 제생 및 녹음 헤드(5)-아날로그 스위치(102)-음향 증폭기 출력단자(A3)의 신호 경로만 구성되는 것이다.That is, as shown in FIG. 2, when the high signal is output from the output port P3, the
따라서, 음향 증폭기(3)의 출력단자(A3)에서 출력된 데이타신호는 선택 스위치(SW3)의 아날로그 스위치(102)를 통해 재생 및 녹음 헤드(5)에 공급되어 테이프의 일정한 영역에 기록되는 것이다.Therefore, the data signal output from the output terminal A3 of the
도면 제 3 (a)도는 이와같이 데이타를 기록할때 마이크로 프로세서(1)에 의한 데이타 구성과 기록 제어 동작을 나타내고 있다.FIG. 3 (a) shows a data structure and a recording control operation by the microprocessor 1 when writing data in this manner.
먼저, 녹음시킬때에 데이타의 기록은 마이크로 프로세서(1)에서 모터 구동부를 제어하여 모터(M)를 구동시켜 테이프를 주행시키면서 국선(L1)으로부터의 상대방 용건 메시지를 음향 증폭기(3)와 선택 스위치(SW3)를 통해 재생 및 녹음 헤드(5)에 공급하여 용건 메시지의 녹음을 마치고, 테이프를 데이타 기록 영역으로 이동시킨 다음 다음과 같이 실행한다.First, when recording, recording of data is controlled by the microprocessor 1 to control the motor drive unit to drive the motor M to drive the tape while receiving the other party's message from the trunk line L1 with the
출력 포트(P1)에서 톤 발생기(2)를 상기한 바와같이 제어하여 60m초 동안"하이", 60m초 동안 "로우"를 출력하여 단일 톤, 즉 시작 비트를 테이프에 녹음시킨다.In the output port P1, the
이어서, 출력 포트(P1)에서 톤 발생기(2)를 제어하여 20m초 동안 하이, 20m초 동안 로우를 출력하여 데이타 "1"를 테이프에 녹음시키거나, 40m초 동안 하이, 20m초 동안 로우를 출력하여 데이타 "0"을 테이프에 녹음시킨다.The
즉, 마이크로 프로세서(1)에서 내부 데이타 레지스터(R3)에 기억된 데이타를 입력하고, 데이타 비트수레지스터(R4)에 "8"을 세팅하여 8비트 데이타 처리를 검색할 수 있게한 다음, 캐리와 함께 좌측 회전(MSB쪽으로 1BIT SHIFT)시켜 레지스터(R3)의 캐리를 래지스터(A)에 기억시킨 후 캐리가 발생되었는가를 검사한다(MSB부터 1비트씩 꺼내서 1 또는 0인지 확인후 해당 데이타(시간)를 구성하기 위한 것임).That is, the microprocessor 1 inputs the data stored in the internal data register R3, sets " 8 " in the data bit number register R4 so that 8-bit data processing can be searched, and then carry and Rotate left (1 bit shift to MSB side) to store carry (R3) in register (A) and check if carry occurs. )).
상기 검사 결과, 캐리가 발생되면(쉬프트 시켜 꺼낸 비트가 "1"임을 의미한다). 마이크로 프로세서(1)에서 톤 발생기(2)를 제어하여 20m초 동안 단일 톤(TONE)을 발생, 20m초 동안 무음의 데이타를 구성하여, 이를 아날로그 스위치(SW1), 증폭기(A), 음향 증폭기(3), 선택 스위치(SW3)의 경로로 재생 및 녹음 헤드(5)에 공급하여 테이프에 녹음(데이타 "1")하고, 캐리가 발생되지 않으면 마이크로 프로세서(1)에서 톤 발생기(2)를 제어하여 40m초 동안 단일 톤을 녹음한 후, 20m초 동안 무음을 녹음(데이타 "0")한다.As a result of the check, if a carry occurs (meaning that the shifted-out bit is "1"). The microprocessor (1) controls the tone generator (2) to generate a single tone (TONE) for 20m seconds, to configure the silent data for 20m seconds, which is analog switch (SW1), amplifier (A), acoustic amplifier ( 3), feed to the playback and recording head 5 via the path of the selector switch SW3, record on tape (data "1"), and if no carry occurs, the
상기한 바와같이 데이타 1비트("0" 또는 "1")를 테이프에 기록한 다음에는, 비트수 레지스터(R4)의 값을 감소(-1)시켜 레지스터(R4)의 값이 0인가를 검사한다.After writing one bit ("0" or "1") of data to the tape as described above, the value of the bit number register R4 is decreased (-1) to check whether the value of the register R4 is zero. .
비트수 레지스터(R4)의 값이 "0"이 아니면 그 다음 비트 1비트를 꺼내서 캐리 여부를 판단하는 상기 단계로 되돌아가 계속 수행하고, 레지스터(R4)의 값이 "0"이면 8비트 데이타 구성이 된 것이므로, 60m초 동안 하이, 60m초 동안 로우의 신호를 종료 비트로서 녹음(테이프에 기록)한 후 최초 단계로부터 그 다음에 데이타 1바이트에 대한 상기 과정을 반복한다.If the value of the bit number register R4 is not " 0 ", the process returns to the above step of determining whether to carry by taking out the next bit 1 bit, and if the value of the register R4 is " 0 " In this case, the signal of high for 60 m seconds and low signal for 60 m seconds (recording on the tape) is recorded, and then the above steps are repeated from the first step to the next byte of data.
즉, 상기한 바와같은 순서로 하여 8비트를 모두 녹음시키고, 그 뒤에 종료 비트(60m초 하이, 60m초 로우)를 녹음시키면, 원하는 데이타가 테이프에 기록 완료되는 것이다.That is, when all 8 bits are recorded in the above-described order, and the end bits (60 m sec high and 60 m sec low) are recorded after that, the desired data is recorded on the tape.
한편, 상기한 바와같이 테이프에 기록된 데이타를 읽을때는 마이크로 프로세서(1)에서 모터 구동부를 통해 모터(M)를 구동시켜 데크를 구동하고, 이와같이하여 테이프를 주행시켜 재생상태로 두고, 데이타가 기록된 위치로 테이프를 돌린후, 테이프의 정해진 데이타 영역에서 재생 및 녹음 헤드(5)로 데이타를 재생하며, 이 재생되는 신호가 음향 증폭기(3)를 거쳐 증폭된 다음, 포트(P2)를 통하여 마이크로 프로세서(1)에 들어오게 된다.On the other hand, when reading the data recorded on the tape as described above, the microprocessor 1 drives the motor M through the motor drive unit to drive the deck. Thus, the tape is driven and left in the playback state, and the data is recorded. After the tape is rotated to a predetermined position, data is reproduced by the reproducing and recording head 5 in a predetermined data area of the tape, and this reproduced signal is amplified through the
즉, 마이크로 프로세서(1)에서 출력 포트(P3)에서 로우 신호를 출력한다.That is, the microprocessor 1 outputs a low signal at the output port P3.
이에 따라 선택 스위치(SW3)의 아날로그 스위치(102)는 오프되며, 아날로그 스위치(103)는 온되고, 트랜지스터(Q1)가 오프되어 아날로그 스위치(101)가 온된다.Accordingly, the
그러므로 재생 및 녹음 헤드(5)에서 재생되는 데이터가 아날로그 스위치(103, 101)를 통해 음향 증폭기(3)의 입력단자(A0)로 공급되고, 음향 증폭기(3)는 입력 단자(A0)로 입력된 데이타 신호를 증폭하여 출력단자(A5)로 출력한다.Therefore, the data reproduced by the reproduction and recording head 5 is supplied to the input terminal A0 of the
출력 단자(A5)에서 출력된 데이타 신호는 마이크로 프로세서(1)의 입력 포트(P2)에 공급되고, 마이크로 프로세서(1)는 포트(P2)에 들어오는 신호의 하이 및 로우 시간을 분석하여 8비트의 2진수로 바꾸어 원하는 데이타로 복귀한다.The data signal output from the output terminal A5 is supplied to the input port P2 of the microprocessor 1, and the microprocessor 1 analyzes the high and low times of the signal coming into the port P2 to determine 8-bit. Convert to binary and return to the desired data.
이와같이 재생하여 데이타를 마이크로 프로세서(1)내의 메모리에 저장시킬때, 포트(P2)에 입력되는 신호는 음향 증폭기(3)의 출력 단자(A5)에서 출력신호(단일톤)가 있으면 "로우"상태가 되고, 무음(침묵음)이면 "하이"상태가 된다.When reproducing in this manner and storing data in the memory in the microprocessor 1, the signal input to the port P2 is "low" when there is an output signal (monotone) at the output terminal A5 of the
즉, 마이크로 프로세서(1)는 도면 제 3 (b)도에 나타낸 바와같은 과정을 거쳐 데이타를 복원, 저장하게 된다.That is, the microprocessor 1 restores and stores data through a process as shown in FIG. 3 (b).
먼저, 데이타 1바이트를 저장하기 위한 레지스터(R1)(R2)를 0으로 클리어시키고, 5m초 타이어를 가동시킨 다음, 데이타 입력 검색을 위한 플랙(F0)과 타이머 시간 검색을 위한 레지스터(R3)를 0으로 클리어시킨다.First, the register R1 (R2) for storing one byte of data is cleared to 0, the tire is operated for 5 m seconds, and then the flag F0 for data input retrieval and the register R3 for timer time retrieval are made. Clear to 0.
이어서, 5m초가 경과되었는가를 판단하여 경과되었으면 5초 타이머를 계속 가동시키면서 타이머 검색 레지스터(R3)의 값을 증가(+1)시키고 이 값이 "12"(5m초*12=60m초) 보다 커지면, 즉 60m초 동안 마이크로 프로세서(1)의 입력 포트(P2)에 데이타가 들어오지 않으면 에러이므로, 타이머를 정지시키고 에러 표시후 최초 단계로 복귀한다.Then, it is determined whether 5 m seconds have elapsed, and if it has elapsed, the value of the timer search register R3 is increased (+1) while continuing to operate the 5 second timer, and when this value is larger than "12" (5 m seconds * 12 = 60 m seconds). That is, if data does not enter the input port P2 of the microprocessor 1 for 60 m seconds, it is an error. Therefore, the timer is stopped and the display returns to the first step after the error display.
그러나, 5m초 마이크로 프로세서(1)의 입력 포트(P2)의 검색 결과가 로우(재생되는 톤 신호가 입력된다)이면 데이타 입력 플랙(F0)을 "1"로 세트시킨 후 5m초 타이머 시간 검색 단계부터 재 실행하고, 하이(무음 입력)이면 플랙(F0)을 검색한다.However, if the search result of the input port P2 of the 5 m second microprocessor 1 is low (the tone signal to be reproduced is input), the data input flag F0 is set to "1" and then the 5 m second timer time search step. Redo, and searches for the flag (F0) if high (silent input).
이 단계의 플랙(F0) 검색 결과 "1"로 세트되어 있으면 마이크로 프로세서(1)의 입력 포트(P2)가 로우(톤 재생)→. 하이(무음)로 변화되었음을 의미하므로, 타이머 레지스터(R3)의 값을 검색하여 "4"(5m초*4=20m초)이면 데이타 "1"로 인식하여 레지스터(R2)에 저장하고, "8"(5m초*8=40m초) 이면 데이타 "0"으로 인식하여 레지스터(R1)에 저장한다.If the flag F0 of this step is set to "1", the input port P2 of the microprocessor 1 is low (tone reproduction) →. It means that it has been changed to high (silent), so if the value of timer register R3 is searched and "4" (5m sec * 4 = 20msec), it is recognized as data "1" and stored in register R2, and "8" If "(5 m sec * 8 = 40 m sec), the data is recognized as" 0 "and stored in the register R1.
이러한 동작을 1바이트=8비트에 대해 모두 수행하고, 1바이트 데이타를 지정 장소(내부 메모리 어드레스)에 기억시킨 후, 입력 포트(P2)가 로우 될때까지 소정 시간 기다렸다가 최초 단계로 복귀하여 이후의 1바이트 데이타에 대한 복구 작업을 상기한 바와같이 계속 수행하는 것이다.After all these operations are performed for 1 byte = 8 bits, the 1-byte data is stored in a designated place (internal memory address), and then waited for a predetermined time until the input port P2 becomes low, and then returns to the first step. The recovery operation on the byte data is continued as described above.
상기한 바와같이 마이크로 프로세서(1)에서 입력포트(P2)에 입력되는 신호, 즉 하이로 되어있는 시간, 로우로 되어있는 시간을 검출하여 시작 비트, 데이타 "0", 데이타 "1", 그리고 종료 비트를 차례로 읽어 8비트의 데이타(1바이트)가 구성되면 그 데이타를 마이크로 프로세서(1)내의 메모리에 복귀시키는 것이다.As described above, the microprocessor 1 detects the signal input to the input port P2, that is, the time when it is high and the time when it is low, so that the start bit, the data "0", the data "1", and the end are detected. When the 8 bits of data (1 byte) are formed by reading the bits in order, the data is returned to the memory in the microprocessor 1.
이상에서 설명한 바와같이 본 발명 장치에 의하면 정전시의 데이타 유실을 방지할 수 있고, 테이프 데크 및 마이크로 프로세서가 사용되는 모든 자동 응답 전화기에 적용할 수가 있는 특징이 있다.As described above, the device of the present invention can prevent data loss during a power failure, and can be applied to all answering machines for which a tape deck and a microprocessor are used.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019880015371A KR940006009B1 (en) | 1988-11-22 | 1988-11-22 | Data storing device in automatic answering telephone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019880015371A KR940006009B1 (en) | 1988-11-22 | 1988-11-22 | Data storing device in automatic answering telephone |
Publications (2)
Publication Number | Publication Date |
---|---|
KR900008816A KR900008816A (en) | 1990-06-03 |
KR940006009B1 true KR940006009B1 (en) | 1994-06-30 |
Family
ID=19279485
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019880015371A KR940006009B1 (en) | 1988-11-22 | 1988-11-22 | Data storing device in automatic answering telephone |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR940006009B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5293482A (en) * | 1991-10-18 | 1994-03-08 | Supermac Technology, Inc. | Method and apparatus for partial display and magnification of a graphical video display |
-
1988
- 1988-11-22 KR KR1019880015371A patent/KR940006009B1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR900008816A (en) | 1990-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5610774A (en) | Audio sound recording/reproducing apparatus using semiconductor memory | |
KR100603635B1 (en) | Storage and reproduction apparatus | |
US6882493B2 (en) | Data recording apparatus and data erasing apparatus capable of performing restoration when power supply malfunction occurs during recording or erasing | |
KR940006009B1 (en) | Data storing device in automatic answering telephone | |
JP2951149B2 (en) | Recording and playback device | |
JPS6018858A (en) | Disk data reproducer | |
JP3811990B2 (en) | Information storage medium and playback apparatus | |
JP2000182364A (en) | Audio reproducing device | |
KR930002655Y1 (en) | User program back-up device with erasable programmable read only memory | |
JP4058776B2 (en) | Recording / reproducing apparatus and recording / reproducing method | |
JPH0536192A (en) | Music reproducing device | |
JP3563551B2 (en) | Disk recording and playback device | |
KR0150078B1 (en) | Recording method | |
JP4129422B2 (en) | Disc player | |
KR0129624B1 (en) | Cassette tape recorder information of song and its reproducing apparatus | |
KR900010751Y1 (en) | Timer operation playing circuit | |
JP2623045B2 (en) | Playback control circuit of disk playback device | |
JPH09325837A (en) | Information storage medium and reproducing device | |
JPS62220999A (en) | Voice generator | |
JPH113100A (en) | Recording and reproducing device | |
JPH1153000A (en) | Recording and reproducing device | |
JPH0632038B2 (en) | Electronic recording device | |
JPH06215493A (en) | Device for recording and reproducing disk | |
JPS6278794A (en) | Magnetic recording and reproducing device | |
JPH10124404A (en) | Recording and reproducing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
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: 19990313 Year of fee payment: 6 |
|
LAPS | Lapse due to unpaid annual fee |