首页>
外国专利>
METHOD FOR ENCODING AND DECODING BINARY UNIVERSAL CODE TO QUATERNARY UNIVERSAL CODE
METHOD FOR ENCODING AND DECODING BINARY UNIVERSAL CODE TO QUATERNARY UNIVERSAL CODE
展开▼
机译:将二进制通用代码编码和解码为四进制通用代码的方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
The present invention relates to a method for generating a quaternary universal code for arbitrary order (K=1). First, as illustrated in the following table, in the case of quaternary, in a quaternary universal code, the top place is configured with 2 or 3, and the subsequent place is configured with 0 or 1. For example, in the case of a quaternary universal code configured as 2 / 3 / 211 / 301 / 2000, the code is perfectly divided into a universal code satisfying unique decoding when data is divisionally read whenever meeting 2 or 3. 1) M is acquired from arbitrary order K. 2) Then, a value P is acquired from M. 3) From the value P, 4) in the quaternary universal code, to acquire numbers existing after 2 or 3 of the top place, R is acquired by the following formula, and 4) R is acquired. Then, it is converted into a binary number to be converted into a binary number type configured with 0 and 1. In this case, R has a length of P bits. When the number is smaller than P bits, the number is made into P bits by filling 0 from the top bit as a leading zero. 5) As the top place, 2 is disposed when K is an odd number, and 3 is disposed when K is an even number (the number may be assigned oppositely, and 2 and 3 may assigned differently in accordance with a specific promise and in accordance with the value K (accordingly, encryption is possible)). The binarized R is disposed after 2 or 3 determined in accordance with the order K, to configure a quadrupled universal code, thereby generating a universal code according to the final order K.;COPYRIGHT KIPO 2017
展开▼