KR19990075747A - Memory copy protection device and method - Google Patents
Memory copy protection device and method Download PDFInfo
- Publication number
- KR19990075747A KR19990075747A KR1019980010142A KR19980010142A KR19990075747A KR 19990075747 A KR19990075747 A KR 19990075747A KR 1019980010142 A KR1019980010142 A KR 1019980010142A KR 19980010142 A KR19980010142 A KR 19980010142A KR 19990075747 A KR19990075747 A KR 19990075747A
- Authority
- KR
- South Korea
- Prior art keywords
- copy protection
- program
- code
- memory
- program code
- Prior art date
Links
Abstract
메모리 복사 방지장치 및 방법은 전자기기에 있어서 프로그램을 저장하는 외부 메모리의 복사를 방지하도록 하기 위한 것으로서, 메모리 복사 장지장치는 제어부를 구비한 전자기기에 있어서, 상기 제어부의 제어신호에 따라 프로그램 코드의 적어도 2비트 이상의 데이터 포트를 스크램블(scramble)하여 복사 방지코드의 프로그램으로 변환하거나 상기 복사 방지코드의 프로그램을 디스크램블(descramble)하여 원래의 프로그램 코드를 검출하는 인코드/디코드수단과, 상기 인코드/디코드수단에서 스크램블(scramble)된 복사 방지코드의 프로그램을 저장하는 저장수단으로 구성되고, 메모리 복사 방지방법은 저장하려고 하는 프로그램 코드의 적어도 2비트 이상의 데이터 포트를 스크램블(scramble)하여 복사 방지코드의 프로그램으로 변환하는 단계와, 상기 변환된 복사 방지코드의 프로그램을 저장하는 단계와, 상기 저장된 복사 방지코드의 프로그램을 디스크램블(descramble)하여 원래의 프로그램 코드를 검출하는 단계로 이루어짐에 그 요지가 있다.Memory copy protection device and method is to prevent the copy of the external memory for storing the program in the electronic device, the memory copy device in the electronic device having a control unit, according to the control signal of the control unit Encode / decode means for scrambled a data port of at least two bits or more to convert the program to a copy protection code or to descramble the copy protection code program to detect an original program code; Storage means for storing a program of the copy protection code scrambled in the decoding / decoding means, wherein the memory copy protection method scrambles a data port of at least two bits of the program code to be stored to Converting to a program; And that there is a base made of an in detecting the original program code; and descramble (descramble) the copy protection of the stored program code to store the copy-protected program code.
Description
본 발명은 전자기기의 메모리에 관한 것으로, 특히 복사를 방지하기 위한 메모리 복사 방지장치 및 방법에 관한 것이다.TECHNICAL FIELD The present invention relates to a memory of an electronic device, and more particularly, to a memory copy protection device and a method for preventing copying.
일반적으로 롬(ROM)은 소자가 동작되는 동안에 정보가 바뀌지 않고 저장되는 기억소자인데 생산과정에서 프로그램된 상태가 정해지는 기억단위들의 집합으로 마스크 프로그램 롬(ROM)이라고 한다.In general, a ROM is a memory device that is stored without changing information while the device is in operation. The ROM is a mask program ROM that is a set of memory units in which a programmed state is determined in a production process.
상기 롬(ROM)의 어드레스 디코더(address decoder)는 인가되는 어드레스 코드에 해당하는 메모리 어레이내의 데이터 워드를 버스에 보낼 수 있도록 인에이블시킬 것인가를 결정한다.The address decoder of the ROM determines whether to enable the bus to send a data word in a memory array corresponding to an applied address code.
따라서 어드레스 디코더(address decoder)에 의해 인에이블된 해당 메모리 어레이의 데이터 워드는 버스를 통해 출력된다.Therefore, the data words of the corresponding memory array enabled by the address decoder are output through the bus.
그러나 종래 기술에 따른 전자기기에 있어서 소정의 프로그램이 저장되어 있는 롬의 복사를 방지하기 위하여 제조시 마스크를 씌운다든가 하는 방법으로 복사를 방지하여 왔으나 이는 제조공정상의 또 하나의 과정을 부가함으로써 제조하기가 쉽지 않은 문제점도 있다.However, in the electronic device according to the prior art, copying has been prevented by using a mask in manufacturing to prevent copying of a ROM in which a predetermined program is stored. However, this method is manufactured by adding another process in the manufacturing process. There are also problems that are not easy.
따라서 본 발명은 상기와 같은 문제점을 해결하기 위해 안출한 것으로서, 전자기기에 있어서 프로그램을 저장하는 외부 메모리의 복사를 방지하도록 한 메모리 복사 방지장치를 제공하는데 그 목적이 있다.Accordingly, an object of the present invention is to provide a memory copy protection device for preventing a copy of an external memory for storing a program in an electronic device.
또한, 상기와 같은 장치에 상응하는 메모리 복사 방지방법을 제공하는데 그 목적이 있다.Another object of the present invention is to provide a memory copy protection method corresponding to the above apparatus.
도 1 은 본 발명에 따른 메모리 복사 방지장치를 나타낸 블럭 구성도1 is a block diagram showing a memory copy protection device according to the present invention.
도 2 는 도 1 의 외부 메모리에 저장될 프로그램의 복사를 방지하기 위한 스크램 및 디스크램블의 일예를 나타낸 도면FIG. 2 is a diagram illustrating an example of scramble and descramble for preventing copying of a program to be stored in the external memory of FIG. 1. FIG.
도면의 주요부분에 대한 부호의 설명Explanation of symbols for main parts of the drawings
110 : 마이컴 111 : 제어부110: microcomputer 111: control unit
112 : 디코더부 120 : 메모리112: decoder 120: memory
상기와 같은 목적을 달성하기 위한 본 발명에 따른 메모리 복사 방지장치의 특징은, 제어부를 구비한 전자기기에 있어서, 상기 제어부의 제어신호에 따라 프로그램 코드의 적어도 2비트 이상의 데이터 포트를 스크램블(scramble)하여 복사 방지코드의 프로그램으로 변환하거나 상기 복사 방지코드의 프로그램을 디스크램블(descramble)하여 원래의 프로그램 코드를 검출하는 인코드/디코드수단과, 상기 인코드/디코드수단에서 스크램블(scramble)된 복사 방지코드의 프로그램을 저장하는 저장수단를 포함하여 구성되는데 있다.A feature of the memory copy protection device according to the present invention for achieving the above object is, in an electronic device having a control unit, scramble the data port of at least 2 bits or more of the program code according to the control signal of the control unit. Encoding / decoding means for detecting an original program code by converting the program to a copy protection code or descrambles the copy protection code program, and copy protection scrambled by the encode / decode means. And storage means for storing a program of code.
상기와 같은 목적을 달성하기 위한 본 발명에 따른 메모리 복사 방지방법의 특징은, 저장하려고 하는 프로그램 코드의 적어도 2비트 이상의 데이터 포트를 스크램블(scramble)하여 복사 방지코드의 프로그램으로 변환하여 저장한 후 상기 저장된 복사 방지코드의 프로그램을 디스크램블(descramble)하여 원래의 프로그램 코드를 검출하는데 있다.A characteristic of the memory copy protection method according to the present invention for achieving the above object is, by scrambled at least two or more bits of the data port of the program code to be stored to convert the program to the copy protection code and then stored Descramble the stored copy protection code to detect the original program code.
이하, 본 발명에 따른 메모리 복사 방지장치 및 방법의 바람직한 실시예에 대하여 첨부한 도면을 참조하여 설명하면 다음과 같다.Hereinafter, a preferred embodiment of a memory copy protection device and method according to the present invention will be described with reference to the accompanying drawings.
도 1 은 본 발명에 따른 메모리 복사 방지장치를 나타낸 블럭 구성도로서, 전자기기의 동작을 총괄적으로 제어하는 마이컴(110)과, 상기 마이컴(110)의 제어신호에 따라 프로그램을 저장하는 메모리(120)로 구성된다.1 is a block diagram showing a memory copy protection device according to the present invention, a microcomputer 110 for controlling the operation of the electronic device as a whole, and a memory 120 for storing a program according to the control signal of the microcomputer 110 It is composed of
상기 메모리(120)는 롬(ROM)이다.The memory 120 is a ROM.
상기 마이컴(110)은 저장하고자 하는 프로그램의 복사를 방지하기 위하여 스크램블하도록 제어하거나 저장된 데이터를 디스크램블하여 원래의 프로그램을 검출하도록 제어하는 제어부(111)와, 상기 제어부(111)의 제어신호에 따라 프로그램 코드의 적어도 2비트 이상의 데이터 포트를 스크램블(scramble)하여 복사 방지코드의 프로그램으로 변환하거나 상기 복사 방지코드의 프로그램을 디스크램블(descramble)하여 원래의 프로그램 코드를 검출하는 인코드/디코드부(112)로 구성된다.The microcomputer 110 controls to scramble to prevent copying of a program to be stored or to descramble the stored data to detect an original program, and according to a control signal of the controller 111. Encode / decode section 112 for scrambled at least two bits of the data port of the program code to convert to the program of the copy protection code or to descramble the program of the copy protection code to detect the original program code 112 It is composed of
도 2 는 도 1 의 외부 메모리에 저장될 프로그램의 복사를 방지하기 위한 스크램 및 디스크램블의 일예를 나타낸 도면이다.FIG. 2 is a diagram illustrating an example of scramble and descramble for preventing copying of a program to be stored in the external memory of FIG. 1.
이와 같이 구성된 본 발명에 따른 메모리 복사 방지장치 및 방법에 대하여 첨부한 도면을 참조하여 상세히 설명하면 다음과 같다.A memory copy protection apparatus and method according to the present invention configured as described above will be described in detail with reference to the accompanying drawings.
먼저, 상기한 표 1에 도시된 바와 같은 저장하고자 하는 프로그램을 메모리(120)에 저장하려고 할 경우 마이컴(110)내 제어부(111)는 상기 저장하고자 하는 프로그램의 복사를 방지하기 위하여 스크램블하도록 제어신호를 출력한다.First, when trying to store the program to be stored in the memory 120 as shown in Table 1 above, the control unit 111 in the microcomputer 110 to scramble to prevent the copy of the program to be stored in the control signal Outputs
그러면 인코드/디코드부(112)는 상기 제어부(111)의 제어신호에 따라 도 2 에 도시된 바와 같이 상기 저장하고자 하는 프로그램 코드의 적어도 2비트 이상의 데이터 포트를 스크램블(scramble)하여 하기한 표 2에 도시된 바와 같은 복사 방지코드의 프로그램으로 변환하여 출력한다.Then, the encode / decode unit 112 scrambles the data port of at least two bits or more of the program code to be stored as shown in FIG. 2 according to the control signal of the controller 111. The program is converted into a copy protection code program as shown in the figure and output.
이에 따라 메모리(120)는 상기 마이컴(110)내 인코드/디코드부(112)에서 출력된 복사 방지코드의 프로그램을 저장한다.Accordingly, the memory 120 stores a program of a copy protection code output from the encode / decode unit 112 in the microcomputer 110.
이후, 마이컴(110)내 제어부(111)는 상기 메모리(120)에 저장된 복사 방지코드의 프로그램을 사용하기 위한 제어신호를 출력한다.Thereafter, the control unit 111 in the microcomputer 110 outputs a control signal for using the program of the copy protection code stored in the memory 120.
그러면 인코드/디코드부(112)는 상기 제어부(111)의 제어신호에 따라 상기 메모리(120)에 저장된 복사 방지코드의 프로그램을 디스크램블(descramble)하여 원래의 프로그램 코드를 검출한다.Then, the encode / decode unit 112 descrambles the program of the copy protection code stored in the memory 120 according to the control signal of the controller 111 to detect the original program code.
이상에서 설명한 바와 같이 본 발명에 따른 메모리 복사 방지장치 및 방법은 전자기기에 있어서 프로그램 코드의 적어도 2개이상의 데이터 포트를 스크램블하여 저장한 후 이를 디스크램블하여 원래의 프로그램을 검출함으로써 중요한 프로그램의 도용을 방지할 수 있는 효과가 있다.As described above, the memory copy protection device and method according to the present invention scrambles and stores at least two or more data ports of a program code in an electronic device, and then descrambles the original program to detect the original program, thereby preventing theft of an important program. There is an effect that can be prevented.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980010142A KR19990075747A (en) | 1998-03-24 | 1998-03-24 | Memory copy protection device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980010142A KR19990075747A (en) | 1998-03-24 | 1998-03-24 | Memory copy protection device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
KR19990075747A true KR19990075747A (en) | 1999-10-15 |
Family
ID=65860230
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019980010142A KR19990075747A (en) | 1998-03-24 | 1998-03-24 | Memory copy protection device and method |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR19990075747A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6358538A (en) * | 1986-08-29 | 1988-03-14 | Hitachi Ltd | Software protecting system |
KR940025331A (en) * | 1993-04-06 | 1994-11-19 | 이헌조 | Copy protection device of digital TV broadcasting |
KR950003988A (en) * | 1993-07-24 | 1995-02-17 | 문정환 | Memory data copy protection circuit |
KR960012024A (en) * | 1994-09-22 | 1996-04-20 | 사또 후미오 | Nonvolatile semiconductor memory |
KR960038599A (en) * | 1996-04-18 | 1996-11-21 | 켄지 히루마 | Execution Program Anti-piracy Device and Method |
KR19980074137A (en) * | 1997-03-21 | 1998-11-05 | 윤종용 | Device for preventing illegal copying of disk composite image data and its method |
-
1998
- 1998-03-24 KR KR1019980010142A patent/KR19990075747A/en not_active Application Discontinuation
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS6358538A (en) * | 1986-08-29 | 1988-03-14 | Hitachi Ltd | Software protecting system |
KR940025331A (en) * | 1993-04-06 | 1994-11-19 | 이헌조 | Copy protection device of digital TV broadcasting |
KR950003988A (en) * | 1993-07-24 | 1995-02-17 | 문정환 | Memory data copy protection circuit |
KR960012024A (en) * | 1994-09-22 | 1996-04-20 | 사또 후미오 | Nonvolatile semiconductor memory |
KR960038599A (en) * | 1996-04-18 | 1996-11-21 | 켄지 히루마 | Execution Program Anti-piracy Device and Method |
KR19980074137A (en) * | 1997-03-21 | 1998-11-05 | 윤종용 | Device for preventing illegal copying of disk composite image data and its method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR930008041B1 (en) | Microcontroller | |
US4573119A (en) | Computer software protection system | |
US4523271A (en) | Software protection method and apparatus | |
RU2188447C2 (en) | Electronic data processing device and system | |
CA2593441A1 (en) | Method and system for microprocessor data security | |
KR20040098642A (en) | Using multiple status bits per cell for handling power failures during write operations | |
US5671275A (en) | Protection of software programs stored in read-only memory from unauthorized access | |
US20070192664A1 (en) | Semiconductor memory | |
US20060092049A1 (en) | Secure OTP using external memory | |
US7752407B1 (en) | Security RAM block | |
KR100617333B1 (en) | Nonvolatile semiconductor memory device | |
US7877615B2 (en) | Semiconductor devices and scrambled data transmission methods thereof | |
KR20040087910A (en) | Scrambler circuit, descrambler circuit, data processing device and ic card | |
KR19990075747A (en) | Memory copy protection device and method | |
JP2006508576A (en) | Protection means with integrated chips | |
US6408073B1 (en) | Scramble circuit to protect data in a read only memory | |
CN112231739A (en) | Method and system for encrypting and decrypting burning file based on address remapping | |
KR100618830B1 (en) | Redundancy repair circuit using decoder and Method thereof | |
JPH02208898A (en) | Semiconductor memory | |
KR100293066B1 (en) | Multi-level memory device having an ecc circuit | |
JP4323527B2 (en) | Semiconductor memory device | |
EP0171456A1 (en) | Computer software protection system | |
JP2000181802A (en) | Semiconductor storage device | |
CN114090328A (en) | Memory device and method for reading data | |
US20220253536A1 (en) | Memory controller for improving data integrity and providing data security and a method of operating thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
N231 | Notification of change of applicant | ||
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E601 | Decision to refuse application |