CN1194303C - Anti-copy method for storage device - Google Patents
Anti-copy method for storage device Download PDFInfo
- Publication number
- CN1194303C CN1194303C CNB011008407A CN01100840A CN1194303C CN 1194303 C CN1194303 C CN 1194303C CN B011008407 A CNB011008407 A CN B011008407A CN 01100840 A CN01100840 A CN 01100840A CN 1194303 C CN1194303 C CN 1194303C
- Authority
- CN
- China
- Prior art keywords
- program
- storage device
- check
- data
- copy protection
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Storage Device Security (AREA)
Abstract
Description
技术领域technical field
本发明有关一种存储装置的防拷方法,更具体而言,是有关一种保护存储装置中数据或软件的主程序文件的方法,以防止或延缓存储装置中的程序为人所盗拷,达到保护知识产权的目的。The present invention relates to a method for preventing copying of a storage device, and more specifically relates to a method for protecting data or software main program files in a storage device, so as to prevent or delay the program in the storage device from being copied by others, and achieve The purpose of protecting intellectual property rights.
背景技术Background technique
随着计算机的日益普及,计算机软件或数据的使用也为人们带来莫大便利,但是,软件的功能日益强大,计算机可储存及处理的数据也日益复杂,所以软件的写作及数据的建立也是耗时且艰辛的工作,软件发行商必须投下人力、物力及财力。然而就是因为软件的写作不易,因此有心人士贪图便宜,加以盗拷销售,就会造成软件发行商的重大损失,更使发明人的知识产权无法得到应有的保障。尤其是在台湾岛内,过去由于知识产权的观念不佳,复制、盗拷软件之风盛行,更使台湾成为美国301条款的常客。而除了宣传引知识产权概念及取缔仿制假冒外,如何防止计算机软件、数据为人所盗拷,也是保护知识产权的重要工作。With the increasing popularity of computers, the use of computer software or data has also brought great convenience to people. However, the functions of software are becoming more and more powerful, and the data that computers can store and process are becoming more and more complex. Sometimes and hard work, software publishers must invest human, material and financial resources. However, it is because the writing of software is not easy, so those who are interested in stealing and selling it for cheap will cause heavy losses to software publishers, and make the inventor's intellectual property rights unable to get due protection. Especially in the island of Taiwan, due to the poor concept of intellectual property rights in the past, copying and pirated software prevailed, which made Taiwan a frequent visitor to Section 301 of the United States. In addition to promoting the concept of intellectual property rights and banning imitation and counterfeiting, how to prevent computer software and data from being copied by others is also an important task for protecting intellectual property rights.
一般的计算机数据是储存在如软盘、硬盘(HD)、磁带、磁光盘(MO)、光盘及集成电路IC之类的存储装置中,而盗拷的行为大多是针对这些存储装置的内容加以复制,而后予以利用、销售。为防止存储装置中的计算机数据被盗拷,在过去有种种技术为人所使用,以软盘为例,可以用不同格式化、多轨化、填补缝隙—无缝、激光穿孔、弱位、档案结构转换、加密等;而以光盘片为例,过去曾使用坏轨、间隙、超大档案、子频道音乐轨等。然而盗高一尺、魔高一丈,过去的盗拷方法仍有迹可循,一旦防拷方式为人知悉,就极易被破解。General computer data is stored in storage devices such as floppy disks, hard disks (HD), magnetic tapes, magneto-optical disks (MO), optical disks, and integrated circuits, and most of the acts of piracy are to copy the contents of these storage devices , and then use and sell them. In order to prevent the computer data in the storage device from being stolen, various technologies have been used in the past. Taking floppy disks as an example, different formats, multi-tracks, and gap filling can be used—seamless, laser perforated, weak, and file structure Conversion, encryption, etc.; while taking CDs as an example, bad tracks, gaps, oversized files, sub-channel music tracks, etc. have been used in the past. However, the height of the thief is one foot, and the height of the devil is ten feet. There are still traces of the past copying methods. Once the anti-copying method is known, it is very easy to be cracked.
另一方面,由于所述储存装置所记录的档案格式可以为一般的数据文件,例如音乐数据(WAV文件或是MP3文档)、影片(DAT文件或是MPG文件),图片(GIF文件、JPG文档或是BMP文件)或是文字数据等,这些档案通常都有既定的格式,以便利用浏览程序所读取或是播放,然而为了配合用户端的便利播放,这些数据文件的格式已经固定,因此甚难防人盗拷,因为经播放后再予以转录即可作为一种盗拷的方式,因此这种数据格式的档案甚难防人所盗拷。而所述储存装置所记录的另一种文档格式可为如安装程序或是主要执行文件(在后文中皆统称主程序),通常为安装程序或是激活一应用程序的激活程序,且为一般浏览程序所无法读取的,如果能对于该主程序加以保护防拷,则可以对该应用程序的知识产权提供有效保护,而且不至于造成用户的不便。On the other hand, since the file format recorded by the storage device can be a general data file, such as music data (WAV file or MP3 file), film (DAT file or MPG file), picture (GIF file, JPG file or BMP files) or text data, etc. These files usually have a predetermined format for reading or playing by browser programs. Anti-piracy, because it can be used as a way of piracy after being transcribed after playing, so files in this data format are very difficult to prevent piracy. Another file format recorded in the storage device may be an installation program or a main execution file (hereinafter collectively referred to as the main program), which is usually an installation program or an activation program for activating an application program, and is generally If the main program cannot be read by the browsing program, if the main program can be protected against copying, then the intellectual property rights of the application program can be effectively protected without causing inconvenience to the user.
发明内容Contents of the invention
因此本发明的目的是提供一种存储装置的防拷方法,也就是将存储装置中数据的主程序文件加以保护的方法。该方法分为三个阶段执行,第一阶段为前置作业,是制作三个程序部份,可对待保护的主程序加以处理,此三个程序的功能分述于下:首先制作一个防拷程序,该程序可对于待保护的主程序加以全部或局部编码,并且以一种“特定质数”的数据转换方式来作数据的搬移,此程序尚可在特定位置加入检查码,由于检查码是以“特定质数”的数据转换方式处理,因此可以防止一般的拷贝程序的搬移动作(以8位为单位存取);接着制作一个连结程序,此程序可将该防拷程序及主程序连结在一起,形成一个为执行文件格式的组合程序,而主程序经编码成为此组合程序中的数据部份;最后制作一个检查程序来替代成为此存储装置的新的主程序,以进行比对检查码工作,鉴别该存储装置是否被盗拷。第二阶段为测试及生产步骤,将待保护的主程序由前述的防拷程序编码、及经由连结程序连结后,形成一个由原主程序与防拷程序合并的组合程序,接着少量复制母片,并加入检查码;如果由检查程序配合组合程序判读无误,即可大量生产。最后的阶段为利用检查程序及配合防拷程序逐一核对检查码,由于数据的搬移以特殊数值方式进行,所以如果是拷贝复制的,检查码会有错误,因此可以延缓或遏止数据的拷贝。Therefore, the object of the present invention is to provide a copy-proof method for a storage device, that is, a method for protecting the main program file of data in the storage device. The method is divided into three stages. The first stage is the pre-work, which is to make three program parts, which can be processed by the main program to be protected. The functions of these three programs are described below: first, make a copy protection Program, which can encode all or part of the main program to be protected, and use a "specific prime number" data conversion method to move data. This program can also add a check code at a specific position, because the check code is It is processed by the data conversion method of "specific prime number", so it can prevent the moving action of the general copy program (accessed in units of 8 bits); then create a link program, which can link the copy protection program and the main program in the Together, a combined program is formed to execute the file format, and the main program is encoded as the data part of the combined program; finally, a check program is made to replace the new main program that becomes the storage device, so as to compare the check code Work to identify whether the storage device is stolen. The second stage is the test and production steps. After the main program to be protected is encoded by the aforementioned copy protection program and linked through the link program, a combined program is formed by merging the original main program and the copy protection program, and then a small amount of copying of the master , and add a check code; if the check program cooperates with the combination program to interpret correctly, it can be mass-produced. The final stage is to check the checksums one by one by using the checking program and cooperating with the anti-copy program. Since the data is moved in a special numerical way, if it is copied, the checksum will have errors, so the copying of the data can be delayed or stopped.
本发明的目的是这样实现的:一种存储装置的防拷方法,用以使存储装置内所储存的主程序及编码资料不易被复制,以保护软件数据,其特征在于:该方法包含前置作业方法、配合待保护数据的方法以及存储装置判读的方法,所述的前置作业方法包含以下步骤:The object of the present invention is achieved in this way: a method for preventing copying of a storage device is used to prevent the main program and coded data stored in the storage device from being copied so as to protect software data. It is characterized in that: the method includes pre- The operation method, the method for cooperating with the data to be protected, and the method for interpreting the storage device, the pre-operation method includes the following steps:
(1)依计算机的作业环境分析,制作防拷程序,该防拷程序可对于待保护的主程序加以全部或局部编码,并且以一种特定质数的数据转换方式来作数据的搬移,所述的特定质数为一种数据搬移的单位,该程序尚可用所述特定质数的数据转换方式在特定位置加入检查码,所述的特定位置位于存储装置的主程序中;(1) According to the analysis of the operating environment of the computer, make a copy protection program, which can encode all or part of the main program to be protected, and use a specific prime number data conversion method to move data, said The specific prime number is a unit of data transfer, and the program can still use the data conversion method of the specific prime number to add a check code at a specific position, and the specific position is located in the main program of the storage device;
(2)制作连结程序,该程序可将该防拷程序及主程序连结在一起,形成一个组合程序文件,而主程序经编码成为该组合程序中的数据部分;(2) Make a link program, which can link the copy protection program and the main program together to form a combined program file, and the main program is encoded as a data part in the combined program;
(3)制作一个检查程序,可取代原有主程序,进行检查工作;(3) Create an inspection program that can replace the original main program for inspection work;
所述的配合待保护数据的方法包含以下步骤:The method for cooperating with the data to be protected includes the following steps:
(1)读取待保护数据的主程序,经由所述防拷程序局部或全部编码后,即可由所述连结程序进行与所述防拷程序的连结工作,形成一个组合程序,并记录时间、地点,以做随后检查码的参数依据;(1) Read the main program of the data to be protected, and after partial or complete coding of the copy protection program, the connection program can be connected with the copy protection program to form a combined program, and record the time, location, as the parameter basis for the subsequent check code;
(2)如果该存储装置为可重复读写的,则将检查码置入,并由检查程序测试无误后,即可确定生产;(2) If the storage device is re-readable and readable, insert the check code, and after the check program is tested to be correct, the production can be confirmed;
(3)如果内存为不可重复读取的可写入式光盘,则先在可重复写入式光盘中加入检查码,再送去刻板,并在刻板中加入检查码,并由检查程序测试无误后,即可确定生产;(3) If the memory is a rewritable optical disc that cannot be read repeatedly, first add a check code to the rewritable disc, and then send it to the stereotype, and add a check code to the stereotype, and the check program will test it correctly. , the production can be confirmed;
所述的存储装置判读方法包含以下步骤:执行检查程序,将原编码数据还原,比对检查码,如果比对错误,表示存储装置非为原版制作的,即跳出不予执行。The storage device interpretation method includes the following steps: execute the check program, restore the original coded data, and compare the check code. If the comparison is wrong, it means that the storage device is not made for the original version, that is, it will jump out and not be executed.
其中在所述的存储装置判读方法中,尚可加入检查内存步骤,以做更进一步比对。Wherein, in the method for interpreting the storage device, a step of checking the memory may be added for further comparison.
其中防拷程序是以特殊质数方式做读取或搬移。The anti-copy program reads or moves in a special prime number mode.
其中在所述的存储装置判读方法中,尚可定呼叫,以做不定时检查,以延缓或防止复制。Wherein, in the method for reading the storage device, a call can still be made to check from time to time, so as to delay or prevent copying.
其中所述可重复读写存储装置包含软盘片、高容量软盘、磁光盘、硬盘。The re-readable and writable storage devices include floppy disks, high-capacity floppy disks, magneto-optical disks, and hard disks.
其中所述防拷程序是依据在该检查程序中界定的检查方式,对于检查码加以检查。The anti-copy program checks the check code according to the check method defined in the check program.
附图说明Description of drawings
图1为本发明前置作业程序的流程图。Fig. 1 is a flow chart of the pre-operation program of the present invention.
图2为本发明进行测试及生产步骤的流程图。Fig. 2 is a flow chart of testing and production steps of the present invention.
图3为本发明进行判读程序的流程图。Fig. 3 is a flow chart of the interpretation procedure of the present invention.
具体实施方式Detailed ways
参见图1至图3所示的本发明存储装置防拷方法实施例的流程图。本发明的方法起初是执行一个内部前置作业,以制作防拷程序、连结程序及检查程序。Refer to the flow charts of the embodiments of the storage device copy protection method of the present invention shown in FIGS. 1 to 3 . The method of the present invention initially performs an internal pre-operation to create a copy protection program, a link program and a check program.
其中防拷程序的主要工作是对于待保护的主程序(如.COM,.BAT,.EXE之类的执行文档)进行全部或是局部的编码,并且设定以一种“特定质数”的方式来进行数据转换,以防止拷贝程序的复制。更明确而言,由于现行对于存储装置,如软盘片或是光盘片的数据搬移动作,一股均以8的倍数来执行,而本发明的防拷程序以特定质数搬移数据,因此可以记录特定数据,而一般拷贝程序并不可搬移这些特定数据,所以可用此模式在数据中加入检查码,并且可以使检查码加以虚实应用,也即配合检查码及设定的参数(见后文说明),组成一个判别的真值表,此真值表的格式由后面所述的检查程序所决定,使有心盗拷的人士无法追踪,甚至被误导。The main job of the anti-copy program is to encode all or part of the main program to be protected (executive files such as .COM, .BAT, .EXE, etc.), and set it in a "specific prime number" way To perform data conversion to prevent duplication of copy programs. More specifically, since the current data transfer operations for storage devices, such as floppy disks or optical discs, are generally performed in multiples of 8, and the copy protection program of the present invention transfers data with a specific prime number, it can record specific Data, and the general copy program cannot move these specific data, so this mode can be used to add check codes to the data, and can make the check codes be applied in virtual and real ways, that is, cooperate with the check codes and the set parameters (see the description below), A discriminative truth table is formed, and the format of the truth table is determined by the inspection procedure described later, so that those who intend to copy cannot be traced, and even be misled.
连结程序可将该防拷程序及主程序连结在一起,形成一个组合程序(为一个执行文件),而主程序经编码成为该组合程序中的数据部份。The linking program can link the copy protection program and the main program together to form a combined program (an execution file), and the main program is encoded as a data part in the combined program.
检查程序是用来替代成为该存储装置的新的主程序,以进行比对检查码工作,鉴别该存储装置是否为盗拷的,由于可以记录时间及地点信息作为检查码参数,因此可以进一步阻碍盗拷。The inspection program is used to replace the new main program of the storage device to compare the check code to identify whether the storage device is stolen. Since the time and place information can be recorded as the check code parameters, it can further hinder Copying.
接下来是第二阶段的测试及生产步骤,将待保护的主程序由前述的防拷程序编码、及经由连结程序连结后,形成一个由原主程序与防拷程序合并的组合程序(为一个执行文件),而主程序经编码成为该组合程序中的数据部分,而该组合程序中所包含的防拷程序部分可以作为主程序解码、执行特定质数转换及记录检查码的工作。接着由检查程序替代成为该存储装置的新的主程序,以进行比对检查码工作,此时即以完成待保护的软件母片,并可以记录时间、地点,以作为日后检查程序核对检查码的参数依据。Next is the second stage of testing and production steps, after the main program to be protected is coded by the aforementioned copy protection program and linked through the link program, a combined program is formed by merging the original main program and the copy protection program (for a execution file), and the main program is coded into the data part of the combined program, and the anti-copy program part included in the combined program can be used as the main program to decode, perform specific prime number conversion and record check code. Then, the check program is replaced by the new main program of the storage device to perform the check code comparison. At this time, the software master to be protected can be completed, and the time and place can be recorded, so as to check the check code as the check program in the future. based on the parameters.
接着依据待保护存储装置的特性,加入检查码。如果该存储装置为可重复读写的,如软盘片等,先以拷贝机复制出所需的片数,再逐片地将检查码置入磁盘片内(多重模式);如果内存为不可重复读写的CDR,第一次的母片是以RW片制片,依据RW的各项数据加以修改,再将检查码加入后转录至CD-R片,送至压片厂制作母版,在制作母版期间,压片厂可以依据设计者的规范,在刻板过程中将另一批检查码加入(每版不同),母版完成后再加入最后一批检查码,先少量压片,测试无误后才大量生产。这些检查码可以依据软件母片规划的时间为参数,而做虚虚实实的规划,并且由检查程序主控,由于翻拷片难以完全复制检查码,因此在检查程序有读取错误的状况发生,就可以立即中断,只有所有检查码无误,才可将原有的软件主程序还原,执行原有功能。再者,为确保安全,可不定时执行检查程序,以做更进一步的防范。如此,除非是由原版制作的软件执行,否则即会有错误现象发生,因此可以减缓软件被盗拷的时间,或是遏止软件被盗拷。Then, according to the characteristics of the storage device to be protected, a check code is added. If the storage device is re-readable, such as a floppy disk, etc., first copy the required number of pieces with a duplicator, and then put the check code into the disk piece by piece (multiple mode); if the memory is non-repeatable For reading and writing CDR, the first master film is made of RW film, modified according to the data of RW, and then the check code is added and then transcribed to CD-R film, and sent to the compression factory to make the master plate. During the production of the master plate, the tablet press factory can add another batch of check codes (different for each plate) according to the designer’s specifications during the stereotype process, and then add the last batch of check codes after the master plate is completed. Mass production only after correctness. These check codes can be planned according to the time planned by the software master film as a parameter, and are controlled by the check program. Since it is difficult to completely copy the check code by copying the film, there are reading errors in the check program. , it can be interrupted immediately, only if all the check codes are correct, the original software main program can be restored and the original function can be executed. Furthermore, in order to ensure safety, inspection procedures may be performed from time to time for further precautions. In this way, unless the software is executed by the original version, there will be errors, so the time for the software to be copied can be slowed down, or the software can be prevented from being copied.
换言之,由于本发明采用特定质数,如3,5,7,11...等作为搬移数据的单位,因此可以避免一般拷贝程序的复制行为,再者,利用该特定质数转换方式加入检查码,并配合母片制作时间地点制作判断的真值表来对检查码加以检查,利用此交叉防堵的方式,提高拷贝的难度,使软件设计人的伤害降低,因此确实是一个具有产业价值、且保护知识产权的发明创造。In other words, since the present invention uses a specific prime number, such as 3, 5, 7, 11... etc., as the unit for moving data, it can avoid the copying behavior of a general copy program. Furthermore, the specific prime number conversion method is used to add a check code, And cooperate with the production time and place of the master film to make a truth table for judgment to check the check code. Using this cross-blocking prevention method can increase the difficulty of copying and reduce the damage of software designers. Therefore, it is indeed an industrial value, and Inventions and creations that protect intellectual property rights.
Claims (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB011008407A CN1194303C (en) | 2001-01-17 | 2001-01-17 | Anti-copy method for storage device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB011008407A CN1194303C (en) | 2001-01-17 | 2001-01-17 | Anti-copy method for storage device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1365054A CN1365054A (en) | 2002-08-21 |
| CN1194303C true CN1194303C (en) | 2005-03-23 |
Family
ID=4651932
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB011008407A Expired - Fee Related CN1194303C (en) | 2001-01-17 | 2001-01-17 | Anti-copy method for storage device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1194303C (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1332315C (en) * | 2002-09-27 | 2007-08-15 | 佛山市顺德区顺达电脑厂有限公司 | Internal storage testing method |
| CN100594509C (en) * | 2005-02-11 | 2010-03-17 | 辛普雷克斯梅杰有限公司 | software protection method |
-
2001
- 2001-01-17 CN CNB011008407A patent/CN1194303C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1365054A (en) | 2002-08-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP4082468B2 (en) | CD-ROM glass master encryption method | |
| US7944806B2 (en) | Method for modifying optical path on optical recording medium having distortion regions | |
| KR102203200B1 (en) | Apparatus for deobfuscation and method for the same | |
| CN1194303C (en) | Anti-copy method for storage device | |
| US20090285070A1 (en) | Copy-protected optical storage media and method for producing the same | |
| US6360325B1 (en) | Method for retarding the duplication of a data-storage device | |
| CN100388243C (en) | Method of Preventing Improper Duplication of Application Execution | |
| US7643393B2 (en) | Systems and methods for optical media modification | |
| US20040153442A1 (en) | Method and apparatus to generate a controlled copy of information stored on an optical storage media | |
| JP2005509343A (en) | Method and apparatus for avoiding illegal copying of digital content | |
| CN1074154C (en) | Optical disc with anti-counterfeiting mark, its manufacturing method and using method | |
| JP4597651B2 (en) | Information processing unit, method and program for controlling ripping of data in media | |
| CN1116651C (en) | Method for preventing copying of CD for use in computer-like equipment | |
| JP3467701B1 (en) | CD-ROM with illegal copy protection function | |
| CN1918647A (en) | Reproduction apparatus and method for reproducing a unique medium identifier | |
| CN1719423A (en) | Copyright protection manufacturing method of universal data format (UDF) optical disc | |
| US20040103115A1 (en) | System and method of protecting digital content | |
| CN1256674C (en) | Anti-transcription digital recording medium protection and method for making master film | |
| JP2001023299A (en) | Method for preventing illicit copying of program and information recording medium subjected to the countermeasure | |
| KR100771446B1 (en) | How to avoid copying optical disk storage media | |
| TWI239478B (en) | Protection method of recording medium program | |
| CA2515191C (en) | Systems and methods for optical media modification | |
| CN1632873A (en) | Disc Data Protection Method | |
| WO2003100556A2 (en) | Cd media anti-piracy generation and management system and process | |
| JP2013232134A (en) | Data recording device, data recording system, and data recording method and program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C06 | Publication | ||
| PB01 | Publication | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C19 | Lapse of patent right due to non-payment of the annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |