<!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>Applying Blockchain Technology for Improvement of the Educational Process in Terms of Data Processing1</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Dina Zimina</string-name>
          <email>dina.zimina@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Dmitry Mouromtsev</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>ITMO University</institution>
          ,
          <addr-line>Saint-Petersburg 197101</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The paper considers some new methods of using blockchain technology as a tool of improving educational process management. Two e-learning problems are described. The rst one is low ratings of completing MOOCs. The second one is the need for more detailed and accurate reports. Blockchain technology and its applications in education is considered. Blockchain's ability of documenting events is reviewed particularly. Two cases of using blockchain in this way are performed. The rst one is making educational reports more detailed and easier to design. Another one is using blockchain for creating any student model in adaptive education to make electronic educational courses more e ective and to increase ratings of completing MOOCs. A blockchain's option of documenting timestamps and users' addresses automatically is specially mentioned. Both cases are described mathematically and united in one model. Using Ethereum blockchain for the evaluation because of its smart-contract's mechanism is justi ed. Sequence diagram showing application work ow, is presented. Input data from the real e-learning course are processed with using statistics to get the most frequently used system events. Application tools for working with the Ethereum blockchain are presented. The process of developing, deploying and mining smart-contract is shown. Output report is presented. Implementation is described, the ways of future learn are reported.</p>
      </abstract>
      <kwd-group>
        <kwd>blockchain</kwd>
        <kwd>adaptive learning</kwd>
        <kwd>report</kwd>
        <kwd>smart-contract</kwd>
        <kwd>education</kwd>
        <kwd>Ethereum</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Today online education becomes more and more massive [1{3]. There are a lot
of students, therefore, a lot of data. To analyze and control educational process,
we need a lot of parameters to handle. Every learning management system has
a module for generating and analyzing reports. But as MOOCs become more
popular, new methods of manage and control educational process are required.
1 Copyright c 2019 for this paper by its authors. Use permitted under Creative
Commons License Attribution 4.0 International (CC BY 4.0).
Another problem is low rating of completing courses. One of solutions is adaptive
learning. When learning is adaptive, every student has his own learning path
with his own preferences and features. Adaptive learning can make electronical
education more e ective [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>Blockchain technology is a popular research topic. It is a distributed database
which based on peer-to-peer network. Every transaction in the net must be
conrmed with all the nodes. Every new con rmed transaction needs to be recorded
to every node of the network. All the con rmed data is packed in special blocks;
every block has a reference to previous block; so, there is a chain of blocks as all
data storage.</p>
      <p>
        Blockchain technology has some advantages of use in many areas like medicine,
realty and education [
        <xref ref-type="bibr" rid="ref5 ref6">5, 6</xref>
        ].
      </p>
      <p>Initially, blockchain was created for operation with cryptocurrency, but later
it became independent platform for open and reliable data change in some
peerto-peer network. Bitcoin blockchain is for cryptocurrency operations only, while
Ethereum blockchain allows various transactions using smart contracts
mechanism. A smart contract is a program, which describes some operations in the
Ethereum blockchain, Operations become automated transactions between the
nodes in the network. It allows to use blockchain in electronical education.</p>
      <p>
        EduCTX project was developed from the Ethereum platform. EduCTX
provides internal tokens, which acts like virtual educational currency. Every student
has his own electronical ectx-wallet, which appends while learning process [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
\Learning as earning" is another concept. It means building a chain, using all the
education results as building blocks. This chain forms student's digital portfolio
[
        <xref ref-type="bibr" rid="ref8">8</xref>
        ].
      </p>
      <p>
        Nicosia University uses blockchain for certi cates' digital signature. Also, it
runs blockchain courses and accepts bitcoin as a payment currency [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. Finaly,
blockchain is used in the education reputation system. Reputation acts as a
currency [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
      <p>
        Now there are some studies about certi cates' veri cation applying blockchain.
Con rmation records are automatically stored in the blockchain [
        <xref ref-type="bibr" rid="ref11 ref12">11, 12</xref>
        ].
      </p>
      <p>One of the most useful blockchain features is its ability to register and store
all the events in the system. All these events are available for future processing.</p>
      <p>The paper considers two cases of applying blockchain in the e-learning.
2
2.1</p>
    </sec>
    <sec id="sec-2">
      <title>Method</title>
      <sec id="sec-2-1">
        <title>Grade reports</title>
        <p>
          The rst case is generating reports. Today there are only determined options
for saving and reporting events in existing LMS [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. Let's consider a functional
block in the LMS, which makes reports. Input data is heterogeneous and consists
mostly of four parts. Let the course have N students and M tasks. A = faig is an
array of integer students' identi ers, where i = 1; 2; ::; N . T = fti;j g is a matrix
of integer timestamps. Every ti;j means that student ai solves task number j,
where j = 1; 2; : : : ; M . If student ai didn't solve task number j yet, ti;j = 0.
Then, K = fki;j g means a matrix of grades. Every element ki;j is a student ai
integer grade for the task number j, or NULL if the student didn't solve the
task yet.
        </p>
        <p>So, grade report is a matrix:
where every element is a dataset obtained from the function:
(1)
(2)
(3)
(4)</p>
        <p>Function means program code, which are necessary to create for processing
all the parameters.</p>
        <p>When using blockchain, students form peer-to-peer network, so all their
interactions are recorded into blockchain. Time parameters and users' identi ers
are registered automatically by blockchain; therefore, grade report is matrix:
where every element is a dataset obtained from the function:</p>
        <p>U = fui;j g;
ui;j = f (ai; ki; j; ti;j )</p>
        <p>U 0 = fu0i;j g;
u0i;j = f (ki;j )</p>
        <p>Any report in every LMS can be considered similarly. Every report uses time
parameters and users' identi ers. Blockchain makes reports more detailed and
universal and doesn't require any data scheme.
2.2</p>
      </sec>
      <sec id="sec-2-2">
        <title>Adaptive learning</title>
        <p>
          Another case of using blockchain in education is student modelling in adaptive
learning. The student model is the central concept of adaptive learning [
          <xref ref-type="bibr" rid="ref14 ref15">14, 15</xref>
          ]. It
allows the system to choose proper learning path for every student. It denotes a
set of characteristics that have di erent values for di erent students. Depending
on these values, each student belongs to a particular group with di erent
educational path. The characteristics of students are collected and processed both
before the start or during the educational process. Such parameters as academic
performance, time for solving tasks, asking for reference material, etc. are
processed. Regardless of chosen model, to build it it's necessary to get some data
about the behavior of the student. Some parameters are time related; anyway,
student's identi er is required.
        </p>
        <p>If D is mentioned before input data for processing in the student modelling,
then output dataset for the student model is a result of function:
where A stands for an array of students' identi ers, like in the previous case; T
stands for an array of all students' actions' timestamps, like in the previous case;
f (D) = f (A; T; K);
(5)
K stands for all the other parameters, required for modelling including grades,
actions, uploaded les, comments, viewed pages etc.</p>
        <p>When using blockchain, every timestamp and user identi er are registered
automatically, similarly to the previous case, so student model is a function:
f 0(D) = f 0(K):
(6)</p>
        <p>So, blockchain using allows partially automate student modelling and makes
input data more detailed. Also, no matter what type of adaptive model us used.
Similar to previous case, no special data scheme is required. Blockchain is a
universal tool for heterogeneous data registering and storing. Therefore, di erent
models can be designed and implemented.
2.3</p>
      </sec>
      <sec id="sec-2-3">
        <title>Both cases in one model</title>
        <p>Both cases can be described in one model (see Fig. 1, Fig. 2).</p>
        <sec id="sec-2-3-1">
          <title>Task number Time User ID</title>
          <p>It also can be presented mathematically. The rst case describes existing
LMS:</p>
        </sec>
        <sec id="sec-2-3-2">
          <title>Task number</title>
        </sec>
        <sec id="sec-2-3-3">
          <title>Grade</title>
        </sec>
        <sec id="sec-2-3-4">
          <title>Action</title>
        </sec>
        <sec id="sec-2-3-5">
          <title>Blockchain</title>
          <p>where U means output dataset to form report or student's model, A means an
array of users' identi ers, T means an array of all user actions' timestamps,
main data K contains all the other user actions' parameters of learning process
including grades, actions, uploaded les, comments, viewed pages etc.</p>
          <p>Blockchain-based system simpli es the process:</p>
          <p>Now, system has to register only K to generate U 0, because arrays A and T
are registered by blockchain automatically.</p>
          <p>It is important to say, that in both cases no special data scheme or structure
is required. Any parameter can be added or selected for processing during system
runtime.</p>
          <p>The blockchain supports several properties that are considered in both cases:
1. Traceability. It can be easily tracked how an assessment was formed using a
detailed report of all student's actions
2. Security. Data cannot be distorted.
3. Reliability. It can be found out that the assessment was obtained precisely
by the methods provided for in the curriculum.</p>
          <p>U 0 = f (K)
(8)</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>Evaluation</title>
      <p>Both models were implemented in a developer's version of the Ethereum blockchain
using the smart contract mechanism. As it was said before, Ethereum is blockchain
application platform, which allows to develop blockchain-based applications.</p>
      <p>Input data was obtained from the educational center of Design in ITMO
University. The system is based on the Moodle platform. At the moment, there
are running more than 20 courses. Webmaster o ered three log les with results
of studying \Design and layout using CorelDraw". Since the course started,
there were about 270 students studied and their activities were recorded into
three logs. The les contained following data:
{ First and last login of all users in the system, including date and time.
{ All students' grades. The students had to complete 11 home tasks and the
nal test. Home tasks had to be loaded in the form of a le and were
accompanied by a grade and teacher's comment. The grades were presented in a
ve-point scale, as well as a percentage of the maximum possible value. The
nal test consisted of 30 questions. Test grades were presented as a number
of correctly answered questions, as well as a percentage of the maximum
possible value.
{ All students' actions with date and time. The actions contained data on the
following events: a student enrolling in a course, a student uploading a le,
giving grades, test attempts, viewing a course section, as well as some system
events like assigning a role to a user.</p>
      <p>Every le had its own structure. So, a lot of heterogeneous data was available
for processing with blockchain. There were more than 200 records with grades
and about 40,000 actions.</p>
      <p>This data was analyzed for types of events with their parameters and
frequency. It is not necessary to model all the events from the input data. This
paper needs only the most common types of students' actions:
{ task solving with grade and number of attempts;
{ page viewing;
{ le uploading with teacher's and student's comments.</p>
      <p>Smart contract was created with Solidity language and Remix online
complier. It contained event descriptions with a set of parameters for every event
type.</p>
      <p>There was a handler method for every event. Methods initiated events and
recorded them into blockchain with event timestamp and author's address.</p>
      <p>The contract was deployed and mined in the \dev" Ethereum network,
available through \geth" console.</p>
      <p>Event data was available through the \geth" console too (see Fig. 3, Fig. 4).</p>
      <p>Dataset was exported into text le. It allows us to create any student's model
and any educational report (see Fig. 5).
User</p>
      <p>Educational event</p>
      <p>LMS</p>
      <p>Smart-contract
Calling smart-contract method</p>
      <p>The output is a log exported into a .txt le. Here is a excerpt from the log
with four entries of two types. The rst type is task assessment. It contains the
"grade" parameter with a student grade as a percentage of the maximum value
and the "task" parameter with an integer task number.</p>
      <p>The second type is a student's action. It contains the "action" eld for the
event's name.</p>
      <p>Both types of records also have two parameters. "Time" is an integer that the
blockchain registers. This is the time of adding the new block, which contains
the transaction with this event. The "owner" parameter is the address of the
node in the blockchain that triggered the event. This is a hexadecimal number.
It serves as the user identi er in this dataset.</p>
      <p>The di erence between input and output data can be presented in the table.</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion and future work</title>
      <p>As it was shown, smart contract logged heterogeneous data of learning events
and students' actions to the blockchain without using special data structures.
The blockchain stored data in a uni ed registry and stores event timestamp and
event author's address by itself.</p>
      <p>As a result of the study we can say, that blockchain technology is a possibly
good tool for electronic massive education. The next research task is to measure
advantages of blockchain's implementation. The next practical task is to expand
the system to the full version, including user interface, and also estimate the
cost of using this model.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Len-Urritia</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cobos</surname>
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dickens</surname>
            <given-names>K.</given-names>
          </string-name>
          <article-title>MOOCs and their in uence on higher education institutions: Perspectives from the insiders //</article-title>
          <source>Journal of New Approaches in Educational Research (NAER Journal)</source>
          .
          <year>2018</year>
          . V.
          <article-title>7. N 1</article-title>
          . PP.
          <volume>40</volume>
          {45. https://doi.org/10.7821/naer.
          <year>2018</year>
          .
          <volume>1</volume>
          .
          <fpage>252</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2. State of MOOC 2017:
          <article-title>A Year of Privatized and Open Education Growth https://www.onlinecoursereport.com/state-of-the-</article-title>
          <source>mooc-report/ Last accessed: 25 May 2019</source>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Jia</surname>
            <given-names>M.</given-names>
          </string-name>
          et al.
          <article-title>Who can bene t more from massive open online courses? A prospective cohort study // Nurse education today</article-title>
          .
          <year>2019</year>
          . V. 76. PP.
          <volume>96</volume>
          {102. https://doi.org/10.1016/j.hrmr.
          <year>2018</year>
          .
          <volume>06</volume>
          .004
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Ahmed</surname>
            <given-names>M. U.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sangi</surname>
            <given-names>N. A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mahmood</surname>
            <given-names>A</given-names>
          </string-name>
          .
          <article-title>A model of adaptive e-Learning in an ODL environment</article-title>
          //Mehran University Research Journal of Engineering and Technology. {
          <year>2018</year>
          . { Vol.
          <volume>37</volume>
          . { N. 2. { PP.
          <fpage>367</fpage>
          -
          <lpage>382</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Mamoshina</surname>
            <given-names>P.</given-names>
          </string-name>
          et al.
          <article-title>Converging blockchain and next-generation articial intelligence technologies to decentralize and accelerate biomedical research</article-title>
          and healthcare // Oncotarget.
          <year>2018</year>
          . V.
          <article-title>9</article-title>
          . N 5. P.
          <volume>5665</volume>
          . https://doi.org/10.18632/oncotarget.22345
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Taylor P.J.</surname>
          </string-name>
          et al.
          <article-title>A systematic literature review of blockchain cyber security</article-title>
          .
          <source>Digital Communications and Networks</source>
          .
          <year>2019</year>
          . https://doi.org/10.1016/j.dcan.
          <year>2019</year>
          .
          <volume>01</volume>
          .005
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7. EduCTX https://eductx.org/ Last accessed:
          <issue>18 January 2019</issue>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Wang</surname>
            <given-names>A. Blockchain</given-names>
          </string-name>
          <string-name>
            <surname>Technology</surname>
          </string-name>
          and Its Applications http://opensiuc.lib.siu.edu/cgi/viewcontent.cgi?
          <source>article=1020&amp;context=asars Last accessed: 18 January 2019</source>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9. UNIC Blockchain Initiative | University of Nicosia https://digitalcurrency.unic.ac.cy/ Last accessed:
          <issue>18 January 2019</issue>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Sharples</surname>
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Domingue</surname>
            <given-names>J.</given-names>
          </string-name>
          <article-title>The blockchain and kudos: A distributed system for educational record, reputation</article-title>
          and reward //European Conference on Technology Enhanced Learning. { Springer, Cham,
          <year>2016</year>
          . { PP.
          <fpage>490</fpage>
          -
          <lpage>496</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Bandara</surname>
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ioras</surname>
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Arraiza</surname>
            <given-names>M. P.</given-names>
          </string-name>
          <article-title>The emerging trend of blockchain for validating degree apprenticeship certi cation in cybersecurity education urlhttps://bucks</article-title>
          .collections.crest.ac.uk/17385/1/17385 Bandara.pdf
          <source>Last accessed: 18 January 2019</source>
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Kuvshinov</surname>
            <given-names>K.</given-names>
          </string-name>
          et al.
          <article-title>Disciplina: Blockchain for Education https</article-title>
          ://disciplina.io/yellowpaper.pdf
          <source>Last accessed: 18 January</source>
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Nagi</surname>
            <given-names>K.</given-names>
          </string-name>
          <article-title>Using learning analytic tools to enhance quality of hands-on-activities in online technology courses //</article-title>
          <source>Universal Journal of Educational Research</source>
          .
          <year>2019</year>
          . V. 7,
          <string-name>
            <surname>N 4</surname>
          </string-name>
          , PP.
          <fpage>1084</fpage>
          -
          <lpage>1089</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Esichaikul</surname>
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lamnoi</surname>
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bechter</surname>
            <given-names>C</given-names>
          </string-name>
          .
          <article-title>Student modelling in adaptive e-learning systems //Knowledge Management &amp; E-Learning: An International Journal</article-title>
          . {
          <year>2011</year>
          . { Vol.
          <volume>3</volume>
          . { N. 3. { PP.
          <fpage>342</fpage>
          -
          <lpage>355</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Dounas</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Salinesi</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          , &amp;
          <string-name>
            <surname>El Beqqali</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          (
          <year>2019</year>
          ).
          <article-title>Requirements monitoring and diagnosis for improving adaptive e-learning systems design</article-title>
          .
          <source>Journal of Information Technology Education: Research</source>
          ,
          <volume>18</volume>
          ,
          <fpage>161</fpage>
          -
          <lpage>184</lpage>
          . https://doi.org/10.28945/4270
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>