<!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>Features of the MVC Architecture for Working with Observational Data Series</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Yurii I. Molorodov</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Computational Technologies SB RAS</institution>
          ,
          <addr-line>Novosibirsk</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The paper describes a technology based on the use of an ontological approach and designed to develop systems that take into account heterogeneity, distribution, the continued growth of experimental data and unstructured information in the form of publications, reports, images and other types. The information system (IS) created on this technology is based on the Model-View-Controller concept. A wide class of environmental problems requires the creation of information systems designed to store, process and present time series of spatially distributed data of instrumental observations of the state of the surrounding atmosphere. Information systems focused on environmental monitoring tasks should be based on a data model, tools for working with time series of observational data and data import and editing programs. It is necessary to develop subsystems responsible for the presentation of time series of data and their processing. The creation of such systems is an important, relevant and complex task. We focus on technologies aimed at developing systems with the above properties. In their development, they have gone through several stages, providing tools and techniques for the development of knowledge portals [1], intellectual scientific Internet resources (INIR), intellectual information and analytical Internet resources (IIAIR) [2]. This approach has been successfully used in active seismology [3], in the study of thermophysical properties of substances [4], decision support and research in energy. The initial reference point was aimed at the representation of semantic dependencies of concepts and systematization of heterogeneous information. As a rule, this approach was supplemented by means of processing this information and solving problems typical for the field of knowledge (KB) under consideration. In order to fully represent the areas of knowledge in which there are large amounts of numerical experimental data stored in distributed sources, the technology must provide a means of managing these data.</p>
      </abstract>
      <kwd-group>
        <kwd>intelligent scientific Internet resource</kwd>
        <kwd>ontology</kwd>
        <kwd>service</kwd>
        <kwd>external data storage</kwd>
        <kwd>data access system</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>Technology development and research</title>
      <p>
        INIR is a system with a web interface that is focused on MVC (Model-View-Controller) - representation and contains
systematized information focused on a specific KB and provides meaningful access to this information, methods of
its processing and methods of solving problems adopted in this field of knowledge (KB), as well as related Internet
resources [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>
        The ontology of measuring systems is an essential addition to KB [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. On its basis the systematization of
information of this KB and functioning of INIR is carried out.
      </p>
      <p>When measuring any physical quantity, it is important to know not only the measurement result itself, but also its
spatial and temporal reference, the conditions in which the measurements were made, the characteristics of measuring
instruments, etc.in one form or another, any system that makes measurements stores such metadata along with the
measurement results.</p>
      <p>
        The process of measuring physical quantities is well studied and regulated within the framework of Metrology. Its
main provisions are set out in standards and regulations, so at the stage of modeling the subject area should be based
on them. GOST P 8.596-2002 [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. Metrological support of measuring systems defines a measuring system as a set of
components (measuring, connecting, computing), forming measuring channels. Measuring channel is a logical entity
that combines the whole complex of measurements and transformations to obtain the measurement result of a given
physical quantity.
      </p>
      <p>On the basis of this metrological standard the ontology of measuring systems (OIS) was developed. The General
scheme is presented in figure 2, and its basic concepts are presented below.</p>
      <p>Measuring system has all the features of measuring instruments and is their difference (in ontology, this fact is
reflected by the relation is-a. note that the relation is-a means that all instances of one class must also be examples
of the second (one of the types of inheritance).</p>
      <p>Physical_quantity − the measurement object of the measuring system. Either it is an instantaneous temperature
or an integral mass concentration of particles in the atmosphere. These values can be measured by direct
measurements or calculated by calculated components based on indirect measurements.</p>
      <p>Measuring instrument is an entity that directly measures a physical quantity. In ontology, this relationship is
reflected by the relation MeasuresDirectly.</p>
      <p>Component − a technical device included in the system that performs one of the functions depending on the
type of component. Components are divided into measuring, computing, binding, auxiliary and complex. The
component of the measuring system can be implemented with the help of a measuring instrument, so the
ImplementedBy relation is provided in the ontology. The components are part of the measuring channels. This
relationship is reflected by the BelongsToChannel relationship.</p>
      <p>Measuring component is a device that collects primary measurement results. These are: measuring instruments,
analog computing devices.</p>
      <p>Computing component calculates the results of direct, indirect, local or aggregate measurements based on the
data of measuring instruments or measuring components.</p>
      <p>Connecting component is designed to transfer measurement results from one component of the measuring
system to another. It can be a wired or satellite communication line, radio channel, optical fiber.</p>
      <p>Auxiliary component − a technical device that is not involved in the measurement process. It ensures the
normal operation of the measuring system.</p>
      <p>Complex component − a set of components that completes the measurement transformations, computational
and logical operations provided by the measurement process and algorithms for processing the measurement
results.</p>
      <p>Measuring channel − structurally or functionally allocated part of the measuring system, performing the whole
complex of transformations to measure the physical well-being. It is a collection of components. This relationship
is reflected by the BelongsToChannel relationship defined for the measurement channel component. The
measuring channel measures a physical quantity reflected in the ontology by means of the Measures relation. The
channel belonging to the measuring system is reflected by the relation BelongsToSystem.</p>
      <p>Measuring system − a set of components that are combined into measuring cells. It is used to measure a set of
time-varying and space-distributed physical quantities, record and process measurement results.</p>
      <p>The development technology provides a methodology for constructing an ontology, a set of basic ontologies,
an INIR shell, means of user interface specification, data editors and a set of services that provide the functionality
of the resource.</p>
      <p>
        To develop the ontology, the Semantic Web tools [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ], the Protégé editor [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and the methodology proposed by
the authors of the INIR technology [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ] are used. This technique is focused on the use of basic ontologies and
patterns of ontological design [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>
        When developing the INIR shell, a service-oriented approach was used, based on the technology of separating
application data, user interface and control logic into three separate components: model, view and controller-MVC
[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. We use ontology as the basis of the model [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. According to this approach, all INIR functionality is
implemented using services – local or distributed, loosely coupled, replaceable components equipped with
standardized interfaces for interaction over standardized protocols. This approach allows resource developers to
create various services for processing information stored both in INIR content and in external storage, as well as
to use third-party services.
4
      </p>
    </sec>
    <sec id="sec-3">
      <title>Architecture of external data access system and scheme of its functioning</title>
      <p>Access to external data is provided by a system that provides INIR users with the following functionality:
1. Organization of interaction with external data sources. These can be third-party databases (DB) or DB created
by developers of specific INIR.
2. Description of information objects with values from external databases.
3. Import property values of specified objects from external sources. Visualization of object property values as
tables or graphs.
4. Starting services analysis of the imported data.
5. Use imported data to solve problems.</p>
      <p>Figure 3 shows the architectural components of the data access system and the scheme of their interaction.</p>
      <p>The main component of this system is the data download service – zagruzchik. It interacts directly with
external data stores (databases). To connect to the system of specific databases, the administrator panel is used,
which has a web user interface that allows you to register new data sources and create query templates for
accessing them. The loader has its own database, which contains the addresses of the databases registered in it and
the information necessary to build a query to a specific resource. Both templates of SQL queries to relational
databases and other query formats (REST API, SOAP, SPARQL, etc.) to external resources can be used here. To
build specific queries, the necessary parameters are passed to the Loader, which are extracted from the INIR
ontology.</p>
      <p>Services for working with data allow to show them to the user, to perform their analysis or to use for the
solution of problems of KB of a resource. To organize the interaction of INIR with the Loader and Services for
working with data, a special plan-Manager was developed. This plugin is designed to extract from the INIR
ontology the parameters necessary for the Loader to build a query to an external database. The Manager passes
parameters to the loader, receives the request ID from It, which then passes it to the required Service.</p>
      <p>Consider the scheme of functioning of the system of access to external data. In order to be able to use external
data in INIR, it is necessary to register in the database Loader the template of the query that makes a selection of
the necessary data through the administrator Panel. In this case, each triple (template, string, type of database) is
assigned a unique identifier, which is reported to the knowledge engineer. The knowledge engineer must define a
class of objects in the KB ontology, whose properties will take values from the external database, and associate
the resulting identifier with this class. In addition, he should take care to associate the properties of such objects
with the parameters of the query template to the external database (their names and order in the template).</p>
      <p>For the resource information system, "Atmospheric aerosols", presented in figure 1, was developed data
visualization service (Visualizer), which allows you to display some of the parameters of the atmosphere:
temperature, nitrogen dioxide, wind speed and dust density, obtained in the summer of 2007. The result of the
Visualizer is shown in the figure. 4.</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion</title>
      <p>As part of the technology for creating intelligent scientific Internet resources, a system was developed for access
to atmospheric air measurement data stored in databases on external sources. The use of Semantic Web technology
and tools made it possible to simplify the establishment of communication between INIR content objects and the
values of their characteristics stored in external databases as much as possible. When implementing the system, a
service-oriented approach was used. The idea of communicating INIR and services using unique identifiers makes it
easy to scale the system and increase the functionality of INIR without making changes to its code. When developing
services, special attention was paid to the optimization of the proposed architecture.</p>
      <p>Acknowledgements. The work was supported by a RFBR grant N 18-07-01457\19 and projects №
АААА-А18118022190008-8, АААА-А17-117120670141-7.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>Zagorulko</given-names>
            <surname>Yu</surname>
          </string-name>
          .A.,
          <string-name>
            <surname>Zagorulko</surname>
            <given-names>GB</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Borovikova</surname>
            <given-names>OI</given-names>
          </string-name>
          <article-title>The technology of creating thematic intellectual scientific Internet resources based on ontology // Theoretical and Applied Scientific</article-title>
          and
          <source>Technical Journal "Software Engineering"</source>
          .
          <year>2016</year>
          .V.
          <volume>7</volume>
          , No. 2. P.
          <volume>51</volume>
          -
          <fpage>60</fpage>
          . (In Russian)
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>Zagorulko</given-names>
            <surname>Yu</surname>
          </string-name>
          .A.,
          <string-name>
            <surname>Borovikova</surname>
            <given-names>OI</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zagorulko</surname>
            <given-names>G.B.</given-names>
          </string-name>
          <article-title>The use of ontological design patterns in the development of ontologies of scientific subject areas //</article-title>
          <source>Proceedings of the XIX International Conference DAMDID / RCDL'2017</source>
          . Moscow, Moscow State University, Russia.
          <year>2017</year>
          .S.
          <volume>332</volume>
          -
          <fpage>340</fpage>
          . (In Russian)
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Braginskaya</surname>
            <given-names>L.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grigoryuk</surname>
            <given-names>A.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kovalevsky</surname>
            <given-names>V.V.</given-names>
          </string-name>
          <article-title>Scientific information system "Active seismology" for complex geophysical research // Bulletin of the KRA-UC,</article-title>
          <string-name>
            <surname>Earth</surname>
            <given-names>Sciences</given-names>
          </string-name>
          ,
          <year>2015</year>
          . No.
          <issue>1</issue>
          ,
          <string-name>
            <surname>Issue</surname>
          </string-name>
          . No. 25, S.
          <fpage>94</fpage>
          -
          <lpage>98</lpage>
          . (In Russian)
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Zagorulko</surname>
            <given-names>GB</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Molorodov</surname>
            <given-names>Yu.I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fedotov</surname>
            <given-names>A.M.</given-names>
          </string-name>
          <article-title>Systematization of knowledge on the thermophysical properties</article-title>
          of substances // Bulletin of Novosibirsk State University. Series: Information Technology.
          <year>2014</year>
          . T.
          <volume>12</volume>
          , No. 3. S.
          <volume>48</volume>
          -
          <fpage>56</fpage>
          . (In Russian)
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Kovalev</surname>
            <given-names>S.P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Prokopov</surname>
            <given-names>N.A.</given-names>
          </string-name>
          <article-title>Automation of measurement processes of physicochemical quantities based on ontology // Computational technologies</article-title>
          .
          <year>2007</year>
          .V.
          <volume>12</volume>
          , Special. release. S.
          <volume>79</volume>
          -
          <fpage>87</fpage>
          . (In Russian)
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6] WHO,
          <article-title>Air quality</article-title>
          and health, http://www.who.int/mediacentre/factsheets/fs313/en/index.html (In Russian)
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>[7] https://tproger.ru/articles/mvc/</mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <source>[8] GOST R 8</source>
          .
          <fpage>596</fpage>
          -
          <lpage>2002</lpage>
          .
          <article-title>Metrological support of measuring systems</article-title>
          .
          <source>The main provisions. M .: Gosstandart of Russia</source>
          ,
          <year>2002</year>
          (In Russian)
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Hitzler</surname>
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Krötzsch</surname>
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rudolph</surname>
            <given-names>S.</given-names>
          </string-name>
          <article-title>Foundations of Semantic Web Technologies</article-title>
          . Chapman &amp; Hall/CRC,
          <year>2009</year>
          . 455 p.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Musen</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          <article-title>The Protégé project: A look back and a look forward</article-title>
          .
          <source>AI Matters. Association of Computing Machinery Specific Interest Group in Artificial Intelligence</source>
          ,
          <volume>1</volume>
          (
          <issue>4</issue>
          ),
          <year>June 2015</year>
          . DOI:
          <volume>10</volume>
          .1145/2557001.25757003.11 http://protege.stanford.edu/products.php#desktop-protege
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>