How to decode U.P.S. Information from UPS MaxiCode Barcode?

守給你的承諾、 提交于 2019-12-22 09:25:09

问题


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. Thanks.


回答1:


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.




回答2:


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.




回答3:


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.




回答4:


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.




回答5:


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.




回答6:


I expect the unreadable part is not UPS data, but private data intentially obfuscated by agreement between the shipper and receiver.




回答7:


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




回答8:


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



来源:https://stackoverflow.com/questions/369862/how-to-decode-u-p-s-information-from-ups-maxicode-barcode

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!