如何使用DPM(数据位置测量)制作磁盘复制保护方案? [英] How can I make a disk copy protection scheme using DPM (Data Position Measurement)?
问题描述
您好b $ b
我正在开发基于DPM的光盘(CD / DVD)复制保护。我想知道如何获得每个复制磁盘中不同磁盘的一些独特功能。
我测试的一种方法是我计算驱动器的RPM一个特定的速度(48x)然后我让驱动器寻找第一个扇区。之后,我读了一个扇区并计算了拍摄时间,最后我使用了这个公式:
相对于当前速度的第一扇区的扇区度:( (时间/(60000 / RPM))%1)* 360
从上面的公式得到的度数是每个驱动器的常数值。所以问题是,当我切换到另一个具有不同CD / DVD驱动器的系统时,这个程度是一个非常不同的值。
我的方法是否正确?请给出一些建议。
谢谢。
Hi
I'm developing a copy protection for compact disk (CD/DVD) based on DPM. I want to know how I can get some unique features of disks which are different in each copied disks.
One method I tested is that I calculate RPM of the drive at a specific speed (48x) and then I make the drive to seek to the first sector. After that I read one sector and calculate the taken time and finally I use this formula:
sector degree relative to the first sector at the current speed: ((time / (60000 / RPM)) % 1) * 360
The degree I get from the above formula is a constant value for each drive. So the problem is that when I switch to another system with different CD/DVD drive, this degree is a far different value.
Is my method correct? Please give some suggestions.
Thanks.
推荐答案
这篇关于如何使用DPM(数据位置测量)制作磁盘复制保护方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!