<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Method of Forming the Ring Codes</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Serhii Otrokh</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Valeriy Kuzminykh</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Olena Hryshchenko</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>National Technical University of Ukraine “Igor Sikorsky Kyiv Polytechnic Institute”</institution>
          ,
          <addr-line>Kyiv</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>State University of Telecommunication</institution>
          ,
          <addr-line>Kyiv</addr-line>
          ,
          <country country="UA">Ukraine</country>
        </aff>
      </contrib-group>
      <fpage>188</fpage>
      <lpage>198</lpage>
      <abstract>
        <p>The article considers a method of forming a ring code, which was created to compress information and protect it unauthorized access. The structure of the forming matrix and the mathematical model of the ring code formation are presented. To identify the ring codes the shift indexes vector is proposed. An algorithm for constructing a shift indexes vector is given by the example of a specific ring code. The properties of shift indexes vector, created by summing the number of the units obtained from binary transformations of the XOR, OR, AND elements of the initial sequence (first line) of the ring code and successively on each subsequent line, are investigated. The formulas for the summing decimal values of the elements of the shift indexes vector are given. This method can be used to build an effective channel for the transmission of the future network. There is determined that compressing the information with ring code is 2.7 times higher compared with the amount of information transmitted.</p>
      </abstract>
      <kwd-group>
        <kwd>Ring Codes</kwd>
        <kwd>Shift Indexes Vector</kwd>
        <kwd>Forming Matrix</kwd>
        <kwd>Binary Transformations</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Ring codes are built on the principle of block cyclic codes, the rows of forming
matrices which are interconnected as a condition of cyclicality. Cyclic codes are a subclass
of linear codes and have applications in data storage systems and communication
systems as they have efficient encoding and decoding algorithms. In accordance with
[
        <xref ref-type="bibr" rid="ref1 ref2 ref3 ref4 ref5 ref6 ref7 ref8 ref9">1-9</xref>
        ] the ring code is based on the principle of modular cyclic codes, and represents a
binary square matrix of size N × N where each row contains m unit symbols and N
m zero symbols.
      </p>
      <p>The elements shift of the code sequence of the ring code is done from right to left,
and, the leftmost symbol is always transferred to the right at the end of the code
sequence. Each line of the forming matrix of the ring code has the same number of
elements and the same structure of combinations of units and zeros, the number of rows
and columns in the forming matrix are always equal.
2</p>
      <p>The Algorithm of the Ring Codes Formation
The algorithm for the formation of a ring code is shown in Fig. 1.
number.</p>
      <p>where – coefficient that acquires the value of 1 or 0, and x –2 (the basis of the
binary number system), and 0,1, ... N-1–is the bit number of the binary system of the</p>
      <p>Then the forming matrix of a circular code of size N × Nin the general form is
formed so that the number of rows equals the number of columns, that is, the matrix
has a square shape. In this case, the matrix can be recorded that (2):
(2)
(4)
3 The Mathematical Model of the Ring Code Formation
The process of forming a ring code possible to describe mathematically. The binary
code sequences of the ring code can be represented in the decimal system in the form
of their decimal values, the mathematical model for the formation of which takes on
this form:
,
(3)
where – total set of decimal values of code sequences, S1 is a set of a first
decimal values of the code sequences of the ring code, S2– a set of a second code
decimal values of the ring code sequences, N– the number of code sequences of the
ring code equal to the number of elements of the code sequence, –the number of
units in code sequence.</p>
      <p>At that
where – the decimal value of the first code sequence of the set 1, – the decimal
value of the last code sequence of the set 1, – the decimal value of the first code
sequence of the set 2, – the decimal value of the last code sequence of the set 2.</p>
      <p>Common expressions for computing the decimal values of the elements setS1 are as
follows:
where – coefficient that acquires the value of 1 or 0, N is the number of elements of
the code sequence, and - the least decimal value of the code sequence.</p>
      <p>It should be noted that the decimal value of each subsequent code sequence is
twice the decimal value of the previous code sequence of the set . Therefore:
where n – the number of code sequences in a set .</p>
      <p>The general expressions for computing the decimal values of the set S2 are as
follows:
;
.</p>
      <p>(7)</p>
      <p>Where – the difference, the calculation formula of which depends on the
structure of the combinations of one and zero symbols of the code sequences of the ring
code; l- the quantity of code sequences in a set 2.</p>
      <p>4 The Mathematical Model of a Shift Indexes Vector Formation
The ring code is characterized by a shift indexes vector (SIV), which is formed by
summing the number of units obtained as a result of one of the binary transformations
XOR, OR, AND (with Not or without it) of the elements of the initial sequence (first
line) of the ring code and successively each of the next line.</p>
      <p>Moreover, the quantity of symbols in the shift indexes vector per unit is less than
the number of lines of the ring code. It should also be noted that the shift indexes
vector is a group integral index of the whole ring code, rather than a single line of it.</p>
      <p>For example, the shift indexes vectors of the ring code of 7 × 7, each line contains
4 units and 3 zeros, and the initial vector consists of a code sequence [0101011],
which are formed by summing the number of units obtained as a result of one of the
binary transformations XOR,AND,OR are shown in tables1-3.</p>
      <p>The matrix
of shift indexes Shift in- The matrix of
Formatrtiioxn ma- bviencatroyrsiynsttheme dienxedsecviemcatol r shift indeixnes vector
as a result of (number of in a binary
systhe logical units) tem
operation XOR
ossfthyotishrftaTteeitnmihilnoeotdnhagmeseiAxcaabeaNtsilrrDnieovxasperuoeyclfr-t- d(iennxuuedSmsnehibcvitfiesemtr)ciatonolf-r shifitnTinhadetbeeimixnmneaastrryvixescyotsfo-r</p>
      <p>Thus, in the communication channel, we can transfer 49 binary information
symbols, unless we use the ring code. If we use ring code in the communication channel,
we transmit instead of 49 symbols only 18. Due to the use of the ring code, avoid
redundancy and the gain is 49/18 2.7 times.</p>
      <p>The shift indexes vectors of the ring code of 9 × 9, each line contains 5 units and 4
zeros, and the initial vector consists of a code sequence [001001111], which are
formed by summing the number of units obtained as a result of one of the binary
transformations XOR,AND,OR are shown in tables 4-6.</p>
      <p>Thus, in the communication channel, we can transfer 81 binary information
symbols, unless we use the ring code. If we use ring code in the communication channel,
we transmit instead of 81 symbols only 24. Due to the use of the ring code, avoid
redundancy and the gain is 81/24 3.4 times.</p>
      <p>The mathematical expressions of the formation of shift indexes vector (SIV) by
summing up the number of units obtained as a result of the implementation of the
binary transformations XOR, OR and AND, respectively, become as follows:
SIVXOR=
SIVOR =
SIVAND =
)
)
)
)
)
)
where і-th element 1-st, 2-nd, 3-th, N-th lines of the ring code.</p>
      <p>As a result of research of the structure of SIV formed through the binary
transformations XOR, OR, AND, the following patterns were found:
— the elements of any SIV are placed symmetrically with respect to its center;
— the sum of the decimal value of the element formed by the binary XOR
transformation, and the decimal value of the element formed by the binary
transformation AND, is equal to the decimal value of the element, formed by
binary OR;
— vectors of the indices of the shift of the ring code can be obtained both in
rows and in the columns of the matrix of the ring code;
— the structure of the XOR vector of shift indices remains unchanged if the
value of the symbols of the code sequence of the ring code changes to the
opposite. The AND and OR vectors of the displacement indices do not have this
property.</p>
      <p>The sum of the decimal values of the SIV elements formed by the
ORtransformation consists of the sum of the decimal values of the SIV elements formed
by the XOR transformation and from the sum of the decimal values of the SIV
elements generated by the AND transformation. At the same time, the analysis of the
structure of the vector of shift indices and their total values allows to note that,
regardless of the number of elements of N and the number of single symbols m in the
code sequence, there is a functional dependence between the sum of the decimal
values of the elements of the shift indexes vector and the number of zero and single
symbols. It represented by the following formulas:
1) for SIV, created by the XOR-transformation:
where – the sum of decimal values elements of the SIV generated by the
binary XOR-transformation.</p>
      <p>In order to determine the number of one and zero symbols in the code sequence,
you can apply the formula for calculating the discriminant and the roots of the
quadratic equation:
(8)
(9)
(10)
(11)</p>
      <p>where x1,2- the quantity of one and zero symbols m and (N- m), N - the length of
the code, - the sum of the decimal values of the elements SIV generated by
the binary XOR-transformation.</p>
      <p>2) for SIV, created by binary AND-transformation:
where – the sum of the decimal values of the SIV elements generated by
the binary AND-transformation.</p>
      <p>In order to determine the number of one and zero symbols in the code sequence,
you can apply the following simple formulas
3) for SIV, created by the binary OR-transformation:
(13)
(14)
where – the sum of the decimal value SIV elements generated by the
binary OR-transformation.</p>
      <p>InTable 2 and on the Fig. 2 shows the dynamics of change in the sum of the
decimal value SIV elements generated by the binary transformations XOR, OR, AND,
depending on the number of single elements m of the code sequence of ring code.</p>
      <p>Fig. 2. Dynamics of the change of the sum of the decimal values of the elements of the SIV,
created by the binary transformations XOR, OR, AND, from the number of single elements m
for a 7x7 ring code</p>
      <p>5 Conclusion
The method of the ring code generation was developed and the mathematical models
of forming the ring code families for the construction of an effective channel for the
transmission. The mathematical models of forming the ring code families were
developed with using the values of code sequences in the decimal system.</p>
      <p>Vector of shift indices, created by summing the number of units obtained as a
result of one of the binary transformations of the XOR, OR, AND elements, was
developed. The shift indexes vector is analog of the ring code, which can be transmitted via
a communication channel instead of code.</p>
      <p>Formulas for determining the sum of the decimal values of the e shift indexes
vector elements, obtained by the AND, OR and XOR transformation, were derived. It
was determined that there is a functional dependence between the sum of the decimal
values of the elements of the shift indexes vector and the number of zero and single
symbols in the code sequence of ring code.</p>
      <p>The dynamics of change in the sum of the decimal value SIV elements generated
by the binary transformations XOR, OR, AND, depending on the number of single
elements m of the code sequence of ring code showed in article.</p>
      <p>The gain from the use of the ring code using the vector of shift indices is 2.7 times
compared with the amount of information transmitted.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>V.B.</given-names>
            <surname>Tolubko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.I.</given-names>
            <surname>Otrokh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.N.</given-names>
            <surname>Berkman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.G.</given-names>
            <surname>Pliushch</surname>
          </string-name>
          ,
          <string-name>
            <surname>V.I.</surname>
          </string-name>
          <article-title>KravchenkoNoise Immunity Calculation Methodology for Multi-</article-title>
          Positional Signal Constellations// 14th IEEE International Conference on Advanced Trends in Radioelectronics, Telecommunications and Computer Engineering (TCSET'
          <year>2018</year>
          ):
          <source>Conference Proceedings. - Lviv</source>
          ,
          <fpage>20</fpage>
          -
          <lpage>24</lpage>
          of February,
          <year>2018</year>
          . - Paper #
          <fpage>436</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>S.I.</given-names>
            <surname>Otrokh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.M.</given-names>
            <surname>Hryshchenko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.V.</given-names>
            <surname>Dubrovsky</surname>
          </string-name>
          , U.V.
          <article-title>Melnik Peculiarities of the Formation of Commemoration of Kilts Kodіv Type 001011</article-title>
          :
          <string-name>
            <surname>Mathematical Model - Kyiv:</surname>
          </string-name>
          Communication -2018 - № 1 - p.
          <fpage>33</fpage>
          -
          <lpage>40</lpage>
          (in Russian).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>V.B.</given-names>
            <surname>Tolubko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.I.</given-names>
            <surname>Otrokh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.N.</given-names>
            <surname>Berkman</surname>
          </string-name>
          ,
          <string-name>
            <surname>V.I.</surname>
          </string-name>
          <article-title>Kravchenko Manipulation coding of signal n-dimensional multi-position constellations based on the optimal noise immunity of regular structures- Kyiv: Telecomunication and</article-title>
          information texnology -2017 - №
          <volume>3</volume>
          (
          <issue>56</issue>
          ) - p.
          <fpage>5</fpage>
          -
          <lpage>11</lpage>
          (in Russian).
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>S.I.</given-names>
            <surname>Otrokh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.A.</given-names>
            <surname>Kuzminykh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I.O.</given-names>
            <surname>Sosnovsky</surname>
          </string-name>
          <article-title>Future network in action, online life</article-title>
          - Kyiv: Communication -2018 - № 6 - p.
          <fpage>42</fpage>
          -
          <lpage>45</lpage>
          (in Russian).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>L.M.</surname>
          </string-name>
          <article-title>Hryshchenko Patterns of formation of ring codes</article-title>
          . Mathematical model - Kyiv: Communication - 2016 - №
          <volume>5</volume>
          (
          <issue>123</issue>
          ). - p.
          <fpage>27</fpage>
          -
          <lpage>31</lpage>
          (in Ukrainian).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>L.M.</given-names>
            <surname>Hryshchenko</surname>
          </string-name>
          <article-title>Mathematical model for creating the 010101 type family</article-title>
          ring codeKyiv: Communication - 2017- №
          <volume>1</volume>
          (
          <issue>125</issue>
          ). - p.
          <fpage>58</fpage>
          -
          <lpage>61</lpage>
          (in Ukrainian).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>E.V.</given-names>
            <surname>Havrylko</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.I.</given-names>
            <surname>Otrokh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.I.</given-names>
            <surname>Yarosh</surname>
          </string-name>
          ,
          <string-name>
            <surname>L.M.</surname>
          </string-name>
          <article-title>Hryshchenko Improving the quality</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <article-title>8. of the future network by using the ring</article-title>
          - Minsk: Communication Herald -2018 -№2 -p.
          <fpage>60</fpage>
          -
          <lpage>64</lpage>
          (in Russian).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <article-title>Security of information systems (in Russian) [Electronic Resource]</article-title>
          . Mode of access: http://intuit.valrkl.ru/course-1312/index.html.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>