首页> 外国专利> METHOD FOR ENCODING AND DECODING BINARY UNIVERSAL CODE TO N NUMBER SYSTEM UNIVERSAL CODE

METHOD FOR ENCODING AND DECODING BINARY UNIVERSAL CODE TO N NUMBER SYSTEM UNIVERSAL CODE

机译:将二进制通用代码编码和解码为N个系统通用代码的方法

摘要

The present invention relates to a method for generating quaternary universal code for a random order (K = 1), and as shown in a table, in case of quaternary, the top place is ″2″ or ″3″, and places below the top is ″0″ or ″1″. For example, in a case of quaternary universal code like 2/3/211/301/210/2000, data is read by separating data when a digit of ″2″ or ″3″ is encountered, such that the data is completely separated as a universal code satisfying unique decodability. The method is as follows: 1) calculate M from a random order K; 2) next, calculate P from M; 3) calculate R by a formula, M = [K/(n-2) + 1] wherein [x] returns a minimum integer of x or more, for calculating a digit existing after ″2″ or ″3″ in the top place from P in the quaternary universal code; 4) When R is calculated, convert R into binary digit configuring ″0″ and ″1″ in P bits, and R has a length of P bits and if R is smaller than P bits, fill ″0″ as a leading zero from the top bit to make P bits; and 5) When K is odd, ″2″ is in the top place, and when K is even, ″3″ is in the top place (of course, according to odd and even numbers, the digits can be allocated reversely, and according to specific promises, 2 and 3 can be allocated depending on K (accordingly, encryption is possible)), and place binary R after ″2″ or ″3″ determined by an order of K to configure quaternary universal code, and generate a universal code according to the final order of K.;COPYRIGHT KIPO 2018
机译:本发明涉及一种用于生成随机顺序(K> = 1)的四元通用代码的方法,并且如表中所示,在四元的情况下,最高位是″ 2″或″ 3&Prime ;,位于顶部下方的位置是″ 0″或″ 1″。例如,在诸如2/3/211/301/210/2000之类的四元通用代码的情况下,当″ 2″的数字为0时,通过分离数据来读取数据。或″ 3″遇到这样的情况,使得数据被完全分离为满足唯一可解码性的通用代码。方法如下:1)根据随机数K计算M; 2)接下来,从M计算P; 3)通过公式M = [K /(n-2)+1]计算R,其中[x]返回x或更大的最小整数,以计算在″ 2″之后存在的数字。或″ 3″在四元通用代码中从P的最高位置开始; 4)计算R时,将R转换为二进制数字″ 0″。和″ 1″在P位中,并且R具有P位的长度,如果R小于P位,则填充″ 0″从高位开始的前导零到P位; 5)当K为奇数时,″ 2″排在第一位,当K为偶数时,″ 3″放在最前面(当然,根据奇数和偶数,数字可以反向分配,并且根据特定的承诺,可以根据K分配2和3(因此可以加密)),然后将二进制数放置″ 2″之后的R或″ 3″由K的顺序确定以配置四进制通用代码,并根据K的最终顺序生成通用代码; COPYRIGHT KIPO 2018

著录项

  • 公开/公告号KR20180000138A

    专利类型

  • 公开/公告日2018-01-02

    原文格式PDF

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

    申请/专利号KR20160077922

  • 发明设计人 KIM JEONG HUNKR;

    申请日2016-06-22

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

  • 国家 KR

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

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号