Научная статья на тему 'Android-App prediction lowering the air temperature in a Far North'

Android-App prediction lowering the air temperature in a Far North Текст научной статьи по специальности «Химические науки»

CC BY
53
27
i Надоели баннеры? Вы всегда можете отключить рекламу.
Ключевые слова
ANDROID-APP / ACTIVATED DAY / FORECASTING / SOFTWARE APPLICATION

Аннотация научной статьи по химическим наукам, автор научной работы — Sterkhov Alexey Alexeevich, Osipov Anton Olegovich

The article describes the technology of creation and implementation of software applications that allow you to predict with extreme precision, to calculate days of the cancellation of classes, according to climatic parameters in the Far North.

i Надоели баннеры? Вы всегда можете отключить рекламу.
iНе можете найти то, что вам нужно? Попробуйте сервис подбора литературы.
i Надоели баннеры? Вы всегда можете отключить рекламу.

Текст научной работы на тему «Android-App prediction lowering the air temperature in a Far North»

Section 2. Information technology

DOI: http://dx.doi.org/10.20534/AJT-16-11.12-14-15

Sterkhov Alexey Alexeevich, Methodist, Chairman of the Scientific and Methodological Council, gymnasium in the name of St. Nicholas the Wonderworker, city Surgut.

E-mail: sterkhov1979@mail.ru Osipov Anton Olegovich, Chairman of the Board of school, gymnasium in the name of St. Nicholas the Wonderworker, city Surgut.

E-mail: tohaosipow@yandex.ru

Android-App prediction lowering the air temperature in a Far North

Abstract: the article describes the technology of creation and implementation of software applications that allow you to predict with extreme precision, to calculate days of the cancellation of classes, according to climatic parameters in the Far North.

Keywords: Android-App, activated day, forecasting, software application.

A geographical location and environmental conditions of the Khanty-Mansiysk autonomous district serve as reason for the certified presence days declared for student high schools of district. But at comparison of weather forecast in the declared certified presence day with data of table, we marked the repeated disparities of the real weather forecast with the declared certified presence days. For the correction of the folded situation it was necessary to write the program that would produce a calculation and prognostication of the certified presence days, and to execute a simulation on the basis of these past winters and define correlation of temperature chart with data of department of education about the certified presence days. The scientific novelty of similar consists in that the worked out application is presently only in Russia, realizing problem data on the platform of Android. Reason of choice for realization of appendix exactly under the operating system Android in language ofJava were following: a 1) audience — an appendix did not have to become non-permanent, it must remain useful and actual among schoolchildren, therefore a choice fell on mobile devices; 2) availability — according to research, conducted International Data Corporation, market of smartphones share on the operating system Android more than 80%, that does them more popular and more accessible; 3) mastering — Java — one of the most popular programming languages, but as investigation of -количество of reference sources: textbooks, there are more than enough videocourses for him.

In the process of scientific research from the point of view of methodology and methodology by us was taken for basis of conception of N. V. Ippolitova and N. S. Sterkhova [1], taking into account accenting of at-

tention on meaningfulness of educational-research activity of student, that is underlined by V. P. Nesterova [2]. Researches of I. V. Paramonov served from the technical point of view of one of theoretical bases of work, system studying possibilities of development of appendixes on the platform ofAndroid [3].

Basic task of authorial application — to get data of weather forecast, make the prognosis of the certified presence day and represent information in an user interface (GUI), and in case of the certified presence day, to notify an user PUSH — by notification in 6:00 or 11:00 accordingly. The necessity of server for an appendix is realized by us on PHP. The mechanism of receipt and processing of data is simple enough: PHP a server inquires data every hour by means of CRON and saves data in the database of MYSQL, from where destroys them and passes in an appendix by means ofJSON. In an appendix they through parsings will be transformed in an associative array (collection of map is used), the algorithm of prognostication and calculations is after executed.

An algorithm consists of set of terms checking 2 variables — temperature of air and speed of wind. Also there is a calculation of probability of the certified presence day on the basis of dynamics of prognosis on a formula for a 1 changing: probability = 100 — (| a temperature is in 8: 00 | is |a temperature in 11: 00 |) *10 and probability = 100 — (| a temperature is in 11: 00 | is |a temperature in 13: 00 |) *10 for a 2 changing accordingly. Calculations are produced in a separate class and separate stream and hatch in a main class, where and there is a method of conclusion of information in GUI.

Testing allowed to check work of appendix with the different data got from a server. The first tests showed

Android-App prediction lowering the air temperature in a Far North

that on the basis of table of the certified presence days forecasting the certified presence days is fully impossible. The not complete range of temperatures is indicated in a table. This problem was decided simply enough: a method was written in the class of Forecast, allowing to build a prognosis not only for temperatures indicated in a table but also for intermediate temperatures. Then for testing was connected by us system of logiring, by means of that collected data, reflecting program behavior on combination of temperatures in a range from — 24 With to — 37 With and winds from a 0 m/with a to 10 m/s. The analysis of data showed that the calculation of the certified presence day (range of classes, having a right not to visit educational establishment) took place correctly. The method of the visual testing was further used, by setting of appendix on different devices and control of correctness of reflection of elements of graphic interface.

For a receipt, processing of data and co-operating with client application exist different methods. Most optimal for this program is a method of http queries. The main task of server is a receipt of data from the different sources of weather forecast. As basic service of Open Weather Map, free of charge giving valuable prognosis, was chosen on 3 days. For the receipt of data the http query of api is created.openweathermap. org/data/2.5/weather, as a result of implementation of that a server gets an answer in the format of JSON. For more exact tuning, as service of weather was written another PHP Script, allowing by hand to set weather terms, thus, a simulation became possible. Principle of work consists in the regular receipt of meteorological

data, maintenance of them in a database and dispatch at a query from client application in the format ofJSON.

Thus, on the basis of the conducted work it is possible to do next conclusions: firstly, coming from data of simulation, it be possible to say, that an appendix correctly expects the prognosis of the certified presence day on the basis of meteorological data; secondly, research allowed to educe, that on announcement by Department of the certified presence day not always correctly reflects the dynamics of temperature condition. Consequently, an appendix allows to lean fully against data and to eliminate errors that can be assumed at drafting of prognosis of the certified presence day.

But most essential, to our opinion, there are the further prospects of this development, constrained with the use of her in industries of the Russian economy of strategic value, namely in mastering of petroleum and gas deposits of the Far North. The question is, including, and about mastering of arctic shelf. Maintenance of health of working there people becomes in the conditions of frozen condition of ground of one of priority tasks, including servicemen of the Arctic troops. In an order to prevent probability of frost-bite, workers of oil and gas industry and soldiery must be in good time notified about a possible drop in a temperature, and to accept corresponding measures on maintenance of the organisms from the striking factors related to the drop in temperature. Mobility, compactness and efficiency of the system worked out by us, allows to decide the task of exact and trouble-free prognostication of drop in a temperature and, thus, provide effective activity of man in the conditions of the Far North.

References:

1. Ippolitova N. V., Sterkhova N. S. Methodology and methods of scientific research. - Shadrinsk: ShGPI, - 2011, -208 p.

2. Nesterova V. P. Design and education-research activity of students in the classroom and in extracurricular activi-ties//Herald of TOGIRRO. - 2015. - No. 2 (32). - P. 48.

3. Paramonov I. V. the Development of mobile applications for the android platform. - Yaroslavl: Yaroslavl State University them. P. G. Demidov, - 2013, - 88 p.

i Надоели баннеры? Вы всегда можете отключить рекламу.