是否有人识别这种二进制数据存储格式 [英] Does any one recognize this binary data storage format

查看:68
本文介绍了是否有人识别这种二进制数据存储格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望有人可以帮我解决一些难题。


我们正在研究一种旧的数据文件阅读器和提取工具

MS-DOS会计系统可以追溯到80年代中期。


在数据文件中,文本信息以清晰可读的方式存储

ASCII文本,所以我很自在,这个文件不是EBCIDIC,但是,

一些数字以我们看不到的格式存储

使用标准的python工具识别或解压缩(struct,binascii)

....或者至少我们对这些工具如何工作的理解!

任何帮助都将受到赞赏。


以下是一些电话号码的例子;


Exmaple 1:


电话1:5616864700

Hex On Disk:C0DBA8ECF441


电话2:5616885403

磁盘上的十六进制:B0E9ADECF4F1
<另外一个例子:

电话1:8003346488

Hex On Disk:800396d0fd41

Phone2:9544261331

Hex On Disk:F8f50ec70142


Phone3:9544278601

Hex On Disk:481211c70142

TIA。

解决方案

ge ******** @ hotmail.com 写道:

我希望有人可以帮助我解决一些难题。

我们正在开发一个数据文件阅读器和提取工具,用于可追溯到80年代中期的旧的MS-DOS会计系统。

在数据文件中,文本信息存储在清晰可读的ASCII文本中,所以我很自在,这个文件不是EBCIDIC,但是,
一些这些数字以我们似乎无法使用标准python工具(struct,binascii)识别或解压缩的格式存储......或者至少我们对这些工具如何工作的理解!

任何帮助都将不胜感激。

以下是一些电话号码的例子;

例1:

电话1:5616864700
Hex On Disk:C0DBA8ECF441

电话2:5616885403
磁盘上的十六进制:B0E9ADECF4F1




这个值是拼写错误而不是... F441?


ge ******** @ hotmail.com 在9.08.2005 19:29上说以下内容:

我们正在研究一种可追溯到80年代中期的旧的MS-DOS会计系统的数据文件阅读器和提取工具。 's。




你能告诉我们这些文件的扩展名吗?


你能发帖5-10记录(ASCII + HEX)?


-

Dejan Rodiger - PGP ID 0xAC8722DC

从电子邮件地址删除wirus


ge********@hotmail.com 在9.08.2005 19:29上说: Phone 1:5616864700
Hex On Disk:C0DBA8ECF441


5616864700(10)= 14ECA8DBC(16)

14 EC A8 DB C leftshift 4位(最后C将加0)

C0 DB A8 EC 14 00从右到左写入字节

C0 DB A8 EC F4 41添加E041

电话1:8003346488
Hex On Disk:800396d0fd41




8003346488(10)= 1DD096038(16)

1D D0 96 03 8

80 03 96 D0 1D 00

80 03 96 d0 fd 41添加E041


但仅适用于手机1 :-)

-

Dejan Rodiger - PGP ID 0xAC8722DC

删除wirus来自电子邮件地址


I am hoping someone can help me solve a bit of a puzzle.

We are working on a data file reader and extraction tool for an old
MS-DOS accounting system dating back to the mid 80''s.

In the data files, the text information is stored in clearly readable
ASCII text, so I am comfortable that this file isn''t EBCIDIC, however,
the some of the numbers are stored in a format that we can''t seem to
recognize or unpack using the standard python tools (struct, binascii)
.... or or atleast our understanding of how these tools work !
Any assistance would be appreciated.

Here are a few examples of telephone numbers;

Exmaple 1:

Phone 1: 5616864700
Hex On Disk: C0DBA8ECF441

Phone 2: 5616885403
Hex on Disk: B0E9ADECF4F1

Another example:
Phone 1: 8003346488
Hex On Disk: 800396d0fd41

Phone2: 9544261331
Hex On Disk: F8f50ec70142

Phone3: 9544278601
Hex On Disk: 481211c70142
TIA.

解决方案

ge********@hotmail.com wrote:

I am hoping someone can help me solve a bit of a puzzle.

We are working on a data file reader and extraction tool for an old
MS-DOS accounting system dating back to the mid 80''s.

In the data files, the text information is stored in clearly readable
ASCII text, so I am comfortable that this file isn''t EBCIDIC, however,
the some of the numbers are stored in a format that we can''t seem to
recognize or unpack using the standard python tools (struct, binascii)
... or or atleast our understanding of how these tools work !
Any assistance would be appreciated.

Here are a few examples of telephone numbers;

Exmaple 1:

Phone 1: 5616864700
Hex On Disk: C0DBA8ECF441

Phone 2: 5616885403
Hex on Disk: B0E9ADECF4F1



Is this value a typo instead of ...F441?


ge********@hotmail.com said the following on 9.08.2005 19:29:

We are working on a data file reader and extraction tool for an old
MS-DOS accounting system dating back to the mid 80''s.



Could you tell us what is the extension of those files?

Could you post full 5-10 records (ASCII + HEX)?

--
Dejan Rodiger - PGP ID 0xAC8722DC
Delete wirus from e-mail address


ge********@hotmail.com said the following on 9.08.2005 19:29:

Phone 1: 5616864700
Hex On Disk: C0DBA8ECF441
5616864700(10)=14ECA8DBC(16)
14 EC A8 DB C leftshift by 4 bits (it will add 0 on last C)
C0 DB A8 EC 14 00 write bytes from right to left
C0 DB A8 EC F4 41 Add E041
Phone 1: 8003346488
Hex On Disk: 800396d0fd41



8003346488(10)=1DD096038(16)
1D D0 96 03 8
80 03 96 D0 1D 00
80 03 96 d0 fd 41 Add E041

But works only for Phone 1 :-)

--
Dejan Rodiger - PGP ID 0xAC8722DC
Delete wirus from e-mail address


这篇关于是否有人识别这种二进制数据存储格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆