如何解码 UPS MaxiCode 条码中的 UPS 信息?
我最近购买了一个二维条形码阅读器。 当扫描 UPS 条形码时,我得到了大约一半的我想要的信息,其中大约一半看起来以某种方式加密了。 我听说有一个 UPS DLL。
示例 - 粗体的所有内容似乎都已加密,而非粗体文本包含有价值的合法数据。
[)>01961163522424800031Z50978063UPSN12312307G:%"6*AH537&M9&QXP2E:)16(E&539R'64O
换句话说,这段文字看起来不错 - 我可以解析该信息 [)>01961163522424800031Z50978063UPSN123123 ...
同时,该数据似乎已加密 ... 07G:%"6*AH537&M9&QXP2E:)16(E&539R'64O
任何想法???
我在互联网上读到的所有内容都说我应该能够阅读这个东西。我只是找不到“加密”信息包含街道地址、包裹编号(如 1/2)、重量和其他一些我想直接联系 UPS 的项目。
I recently purchased a 2D Barcode reader. When scanning a U.P.S. barcode, I get about half of the information I want, and about half of it looks to be encrypted in some way. I have heard there is a UPS DLL.
Example - Everything in bold seems to be encrypted, while the non-bold text contains valuable, legitimate data.
[)>01961163522424800031Z50978063UPSN12312307G:%"6*AH537&M9&QXP2E:)16(E&539R'64O
In other words, this text seems OK - and I can parse the information
[)>01961163522424800031Z50978063UPSN123123 ...
While, this data seems to be encrypted
... 07G:%"6*AH537&M9&QXP2E:)16(E&539R'64O
Any Ideas???
Everything I read on the internet says I should be able to read this thing. I'm just not finding any information on specifics. The "encrypted" info contains street address, package number (like 1/2), weight, and several other items Im dying to get my hands on. I suppose I will contact UPS directly.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
SCAC 之后的数据被压缩,需要来自 UPS 的 DLL 或其他组件才能解码。 请注意,MaxiCode 仅保存大约 100 个字符的数据,因此需要压缩才能编码更多的运输数据。
The data after the SCAC is compressed and requires a DLL or some other component from UPS in order to decode. Note that a MaxiCode holds only about 100 characters of data so compression is required in order to encode more shipping data.
它似乎是有据可查 ...任何神秘的东西都可能是托运人的信息包括出于他们自己(或其客户)的目的。
It seems to be well-documented ... anything cryptic is likely to be info the shipper is including for their own (or their customer's) purposes.
我知道扫描这些条形码时获得的字符块被分成使用非打印字符的块,因此在不知道编码器如何划分字符的情况下尝试查看这些字符是很困难的。 查找有关它们存储数据的格式的信息,或者找到将显示这些字符的解码器。
I know that the block of characters you get when scanning those barcodes is divided up into blocks using non-printing characters, so trying to view the characters without knowing how they are divided by the encoder is tough. Look for info on the format in which they store their data, or find a decoder that will display those characters.
这是我之前遇到过的页面,但是,该页面讨论使用简单的英语和一些组件对条形码进行编码。 用于编码的信息是我在解码时想要检索的信息。
就像我说的,当信息被检索时,一半的信息出现乱码(加密?)并且没有关于解密该代码的文档...
根据您发送给我的链接,我应该看到类似这样的内容:
[ )>01963360910628400021Z14647438UPSN410E1W1951/1Y135ReoTAMPAFL
但是,我得到这样的东西:
[)>01961163522424800031Z50978063UPSN12312307G:%"6*AH537& ;M9&QXP2E:)16(E&539R'64O
这让我相信您发送给我的页面是已经过时了,或者它只是关于如何使用其控件进行编码而不是解码的参考。
This is a page I have come across before, however, this page discusses ENCODING a barcode, using plain English and some component. The information used to ENCODE is the information I would like to retrieve when DECODING.
Like I said, when the information is RETRIEVED, half of the information comes out Garbled (encrpyted?) and there is no documentation about to decrypt that code...
According to the link you sent me, I should see something like this:
[)>01963360910628400021Z14647438UPSN410E1W1951/1Y135ReoTAMPAFL
However, I get something like this:
[)>01961163522424800031Z50978063UPSN12312307G:%"6*AH537&M9&QXP2E:)16(E&539R'64O
This leads me to believe the page you sent me is either out-of-date, or that it is simply a reference for how to use their controls to encode, not decode.
您为什么认为 UPS 要您解码该部分? 此外,我相信这段代码没有被编码——它可能是他们数据库中某些东西的ID。
Why would you suppose that UPS wants you to decode that part? Moreover, I believe that the piece of code is not encoded - it may be ID of something in their DB.
我预计无法读取的部分不是 UPS 数据,而是托运人和收件人之间协议故意混淆的私人数据。
I expect the unreadable part is not UPS data, but private data intentially obfuscated by agreement between the shipper and receiver.
查看此网站,它提供了免费的解码应用程序。
MaxiCode 条码常见问题及解答 IDAutomation® 教程
Maxicode 是一种国际 2D(二维)条形码,目前 UPS 在运输标签上使用该条形码,用于全球寻址和包裹分拣。 ...
http://www.idautomation.com/maxicodefaq.html
Check this site out it provides a free decode app.
MaxiCode Barcode FAQ & Tutorial by IDAutomation®
Maxicode is an international 2D (two-dimensional) barcode that is currently used by UPS on shipping labels for world-wide addressing and package sortation. ...
http://www.idautomation.com/maxicodefaq.html
http://www.google.com/patents/US7039496 提供了大量有关图像 3-12 中的编码数据。 看起来第一个给出了未压缩的格式,而第二个是压缩字典。 该描述引用了许多超出我理解范围的 ANSI 标准,但您看到的似乎是一个格式
'07'
字符串,因此也许这里有足够的信息来执行完整解码?当然,请记住,这是专利的一部分,在不支付版税的情况下实施它可能会给您带来麻烦。 工业和工业协会
http://www.google.com/patents/US7039496 has quite a bit of information about the encoded data in images 3-12. It looks like the first gives the uncompressed format, while the second is a compression dictionary. The description makes reference to a lot of ANSI standards that are beyond my comprehension, but it does appear that what you're seeing is a format
'07'
string, so perhaps there's enough information here to do a complete decode?Bearing in mind, of course, that this is part of a patent and that implementing it without paying royalties could get you in trouble. IANAL