首页> 外国专利> METHOD TO ENCODE AND DECODE QUATERNARY UNIVERSAL CODE

METHOD TO ENCODE AND DECODE QUATERNARY UNIVERSAL CODE

机译:编码通用通用代码的方法

摘要

The present invention relates to a method to generate a quaternary universal code about an arbitrary number (K = 1). As shown in the table below, the quaternary universal code has a top digit formed with 2 or 3 in a case of quaternary and has digits below formed with 0 or 1. For example, a quaternary universal code formed like 2/3/211/301/210/2000 is perfectly divided into a universal code satisfying a unique decodability if data is divided and read whenever meeting 2 or 3. The present invention includes: 1) a step of obtaining M from an arbitrary number K; 2) a step of obtaining a P value from the M; 3) a step of obtaining R with a formula like below to obtain a number existing after 2 or 3 of the top digit in the quaternary universal code from the P value; 4) a step of converting the R into a binary number formed with 0 and 1 by converting P into a binary number of P bit after obtaining the R, wherein the R has a length of P bit, and converting into a P bit by filling with 0 from the top bit as a leading zero when smaller than P bit; and 5) a step of arranging 2 when K is an odd number and arranging 3 when K is an even number at the top digit (of course, a reverse order can be assigned according to odd and even numbers, 2 and 3 can be assigned differently depending on the K value according to a specific promise, and thereby encryption becomes possible). A universal code is generated by a final number K by forming a quaternary universal code by arranging R binarized after 2 or 3 determined by the number K.;COPYRIGHT KIPO 2017
机译:本发明涉及一种产生关于任意数(K> = 1)的四元通用码的方法。如下表所示,四进制通用代码的高位数字由2或3组成,四进制通用代码的低位数字由0或1组成。例如,四进制通用代码像2/3/211 /如果在满足2或3的情况下对数据进行分割和读取,则将301/210/2000完美地划分为满足唯一可解码性的通用代码。 2)从M获得P值的步骤; 3)用以下公式获得R的步骤,以从P值获得四元通用码中高位数字的2或3之后的数字; 4)在获得R后,通过将P转换为P位的二进制数,将R转换为0和1形成的二进制数的步骤,其中,R具有P位的长度,并通过填充将其转换为P位当小于P位时,从最高位开始的0作为前导零;和5)在K为奇数时排列2并在K为偶数时排列3的步骤(当然,可以根据奇数和偶数分配相反的顺序,可以分配2和3根据特定的承诺而不同地取决于K值,从而使得加密成为可能。通过将由数字K确定的2或3后二值化的R进行二值化排列形成四元通用代码,从而由最终数字K生成通用代码。; COPYRIGHT KIPO 2017

著录项

  • 公开/公告号KR20170127808A

    专利类型

  • 公开/公告日2017-11-22

    原文格式PDF

  • 申请/专利权人 KIM JEONG HUN;

    申请/专利号KR20160058429

  • 发明设计人 KIM JEONG HUNKR;

    申请日2016-05-12

  • 分类号H03M5/02;H03M5/20;H03M7/30;

  • 国家 KR

  • 入库时间 2022-08-21 12:41:56

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号