Opentopia Directory Encyclopedia Tools

Optimal erasure codes with arbitrary parameters

Encyclopedia : O : OP : OPT : Optimal erasure codes with arbitrary parameters



 

An erasure code is used to encode data in such a way that the original message can be decoded without receiving all the encoded data.

Err-mail

Alice wants to send her telephone number (555629) to Bob using err-mail. Err-mail works just like e-mail, except
  1. About half of all the mail sent gets lost. (Some versions of this story refer to the err-mail daemon)
  2. Messages longer than 5 characters are illegal.
  3. It is very expensive (Similar to air-mail).
Instead of asking Bob to acknowledge the messages she sends, Alice devises the following scheme :

  1. She breaks her telephone number up into two messages : "A=555" and "B=629".
  2. Now she constructs the following diagram, using her infinitely sharp pencil on a grid
  1. She measures the values for C, D, E from the grid and then transmit 3 more redundant messages : "C=703", "D=777" and "E=851"
Now suppose Bob receives "D=777" and "E=851". Then he can make the following drawing :

Because there is exactly one unique line passing through the marks he made, he can reconstruct the value of A and B.

Clearly Bob can perform this procedure using any 2 err-mails.

It is also easy to prove that Alice cannot encode her telephone number in just one err-mail. This is because Alice can have 106 possible telephone numbers, which is less than the number of possible err-mails.

Therefore this system is truly efficient.

Err-mail 2

When the err-mail 2 arrives (the upgrade), it turns out that it can only send messages with 4 characters. Alice will now start by sending "A=55", "B=56" and "C=29". She will then place markers called A through E on the floor in a configuration that is known to Bob. She will then fit a plane such that its height above A is 55, its height above B is 56 and its height above C is 29. The redundant messages is then the height of that plane above D and E. If Bob receives 3 messages he should be able to reconstruct the plane and Alice's phone number.

Implementation

This process commonly implemented in a finite field using a Vandermonde matrix.

References

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.


Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: