<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="/resources/xsl/jats-html.xsl"?>
<article article-type="research-article" dtd-version="1.1" xml:lang="ko" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<front>
	<journal-meta>
		<journal-id journal-id-type="publisher-id">jkits</journal-id>
		<journal-title-group>
		<journal-title>한국지식정보기술학회 논문지</journal-title>
		<journal-title xml:lang="en">Journal of Knowledge Information Technology and Systems</journal-title>
		</journal-title-group>
		<issn pub-type="ppub">1975-7700</issn>
		<publisher>
		<publisher-name>한국지식정보기술학회</publisher-name>
		<publisher-name xml:lang="en">Korea Knowledge Information Technology Society</publisher-name>
		</publisher>
	</journal-meta>
	<article-meta>
		<article-id pub-id-type="publisher-id">jkits_2020_15_05_739</article-id>
		<article-id pub-id-type="doi">10.34163/jkits.2020.15.5.017</article-id>
		<article-categories>
			<subj-group>
				<subject>Research Article</subject>
			</subj-group>
		</article-categories>
		<title-group>
			<article-title>미세먼지 측정에 기반을 둔 마스크 지급 앱 시스템</article-title>
			<trans-title-group xml:lang="en">
				<trans-title>Mask Payment App System Based on Fine Dust Measurement</trans-title>
			</trans-title-group>
		</title-group>
		<contrib-group>
			<contrib contrib-type="author" xlink:type="simple">
				<name-alternatives>
					<name name-style="eastern">
						<surname>김</surname>
						<given-names>중근</given-names>
					</name>
					<name name-style="western" xml:lang="en">
						<surname>Kim</surname>
						<given-names>Jung-Keun</given-names>
					</name>
				</name-alternatives>
					<xref ref-type="aff" rid="A1"><sup>1</sup></xref>
			</contrib>
			<contrib contrib-type="author" xlink:type="simple">
				<name-alternatives>
					<name name-style="eastern">
						<surname>구</surname>
						<given-names>지혜</given-names>
					</name>
					<name name-style="western" xml:lang="en">
						<surname>Koo</surname>
						<given-names>Ji-Hye</given-names>
					</name>
				</name-alternatives>
				<xref ref-type="aff" rid="A2"><sup>2</sup></xref>
			</contrib>
			<contrib contrib-type="author" xlink:type="simple">
				<name-alternatives>
					<name name-style="eastern">
						<surname>허</surname>
						<given-names>용도</given-names>
					</name>
					<name name-style="western" xml:lang="en">
						<surname>Her</surname>
						<given-names>Yong-Do</given-names>
					</name>
				</name-alternatives>
				<xref ref-type="fn" rid="fn001">*</xref>
				<xref ref-type="aff" rid="A3"><sup>3</sup></xref>
			</contrib>
					</contrib-group>
		<aff-alternatives id="A1">
			<aff><sup>1</sup><italic>건양대학교 의료IT공학과 학생</italic></aff>
			<aff xml:lang="en"><italic>Department of Medical Information Technology Engineering, Konyang University</italic></aff>
		</aff-alternatives>
		<aff-alternatives id="A2">
			<aff><sup>2</sup><italic>건양대학교 의료IT공학과 학생</italic></aff>
			<aff xml:lang="en"><italic></italic></aff>
		</aff-alternatives>
		<aff-alternatives id="A3">
			<aff><sup>3</sup><italic>건양대학교 의료IT공학과 교수</italic></aff>
			<aff xml:lang="en"><italic></italic></aff>
		</aff-alternatives>
		<author-notes>
			<fn id="fn001"><label>*</label><p>Corresponding author is with the Department of Medical Information Technology Engineering, Konyang University, 158 Gwanjeodong-ro Seo-gu Daejeon, 35365, KOREA.</p><p><italic>E-mail address</italic>: <email>ydher@konyang.ac.kr</email></p></fn>
		</author-notes>
		<pub-date pub-type="ppub">
			<month>10</month>
			<year>2020</year>
		</pub-date>
		<volume>15</volume>
		<issue>5</issue>
		<fpage>739</fpage>
		<lpage>747</lpage>
		<history>
			<date date-type="received">
				<day>21</day>
				<month>08</month>
				<year>2020</year>
			</date>
			<date date-type="rev-recd">
				<day>05</day>
				<month>10</month>
				<year>2020</year>
			</date>
			<date date-type="accepted">
				<day>13</day>
				<month>10</month>
				<year>2020</year>
			</date>
		</history>
		<permissions>
			<copyright-statement>&#x00A9; 2020 KKITS All rights reserved</copyright-statement>
			<copyright-year>2020</copyright-year>
		</permissions>
		<abstract>
		<title>요약</title>
		<p>최근 들어 미세먼지 수치 급증에 따른 다양한 해결책이 제시되고 있다. 그러나 현재까지 개발되거나 연구되고 있는 인공강우, 대형 공기청정기와 같은 기술들은 모두 실현 가능성이 부족하다는 단점을 가지고 있다. 오히려 이번 코로나 사태를 계기로 더욱 그 중요성과 편리성을 알게 된 마스크를 사용하는 것이 국내 미세먼지 대책 중 가장 실현 가능한 방안 중 하나로 대두되고 있다. 이에 본 논문은 국민들에게 효율적이고 편리하게 마스크를 지급 또는 구입할 수 있도록 해주는 앱 시스템 개발을 목표로 하였다. 또한, 개발된 앱 시스템을 통하여 미세먼지와 같은 재난 경보가 발생하면 실시간으로 사용자가 알 수 있도록 해주는 대응체계를 구축할 수 있도록 하였다. 즉, 미세먼지 재난 경보가 발생하면 해당 지역의 미세먼지 정보를 핸드폰 앱을 이용하여 실시간으로 바로 확인할 수 있도록 하였다. 개발된 앱 시스템은 미세먼지 경보가 발생하면 QR 코드 발급이 활성화되고 어플리케이션 내 지도 맵을 통하여 현재 위치에서 가장 가까운 마스크 지급소의 위치, 전화번호, 마스크 재고량 등을 실시간으로 확인할 수 있다. 사용자에게 마스크가 지급되면 마스크 지급소는 해당 지급소 데이터베이스의 마스크 관련 데이터를 실시간으로 수정 가능하며 웹페이지와 관리자 전용 어플리케이션에서는 마스크 관련 다양한 통계를 실시간으로 바로 확인할 수 있다. 향후 질병정보와 감기나 독감과 같은 다양한 유행성 질병 데이터를 확보하여 추가적인 기능 보완이 계속 이루어질 것이며, 미세먼지 수치를 더욱 정확히 예측할 수 있도록 알고리즘의 지속적 개선도 이루어 질 것이다.</p>
		</abstract>
		<trans-abstract xml:lang="en">
		<title>ABSTRACT</title>
		<p>Recently, various solutions have been proposed according to the rapid increase in the level of fine dust. However, technologies such as artificial rainfall and large-sized air purifiers that have been developed or studied to date have the disadvantage of lack of feasibility. Rather, the use of a mask, which has become more important and convenient due to the corona crisis, is emerging as one of the most feasible measures among domestic fine dust countermeasures. Therefore, this paper aims to develop an app system that enables people to efficiently and conveniently pay or purchase masks. In addition, through the developed app system, a response system that allows users to know in real time when a disaster alert such as fine dust occurs can be built. When a fine dust disaster alarm occurs, information on fine dust in the area can be immediately checked in real time using a mobile phone app. When a fine dust alarm occurs, QR code issuance is activated, and through a map in the application, the location of the nearest mask dispensing station, phone number, and mask inventory can be checked in real time. When a mask is provided to a user, the mask dispensing station can modify the mask-related data in the corresponding dispensing station database in real time, and various statistics related to the mask can be checked in real time on the web page and in the dedicated application for administrators. In the future, additional functions will continue to be supplemented by securing disease information and data on various epidemic diseases such as cold and flu, and the algorithm will be continuously improved to more accurately predict the level of fine dust.</p>
		</trans-abstract>
		<kwd-group kwd-group-type="author" xml:lang="en">
<title>K E Y W O R D S</title>
			<kwd>Fine Dust Measurement</kwd>
			<kwd>Big Data</kwd>
			<kwd>Mask Payment System</kwd>
			<kwd>QR Code</kwd>
			<kwd>Mask Inventory</kwd>
		</kwd-group>
	</article-meta>
</front>
<body>
<sec id="sec001" sec-type="intro">
	<title>1. 서 론</title>
	<p>최근 들어 급격히 증가하고 있는 미세먼지에 대한 다양한 대응 정책들이 발표되고 있다[<xref ref-type="bibr" rid="B001">1</xref><xref ref-type="bibr" rid="B002">2</xref>].</p>
	<p>또한 코로나 바이러스로 인한 마스크 수요 또한 폭발적으로 늘면서 국가 차원에서 마스크 판매 및 지급을 보다 효율적으로 관리할 필요성이 증가하고 있다. 따라서 본 논문에서는 미세먼지 경보 발령 시 또는 미세먼지 수치를 예측하여 미세먼지 수치가 높은 경우 지역주민들이 마스크를 1일 1회 무상으로 지급 받을 수 있도록 해주는 마스크 지급 앱 시스템을 개발하고자 한다.</p>
	<p>개발된 마스크 지급 앱 시스템은 주민등록증과 연계한 마스크 5부제와 연계하면 시스템의 유연성을 더욱 증대시킬 수 있을 것이다.</p>
	<p>시스템 개발을 위해 크게 3개의 기본 목표를 설정하였다. 첫째, 개발한 시스템을 사용자가 사용하는데 있어 불편함을 최소화해야 한다. 둘째, 지급 시스템의 신뢰도를 높이기 위하여 실시간으로 마스크 지급에 대한 처리 결과가 반영되어야 한다. 셋째, 재고 관리를 위한 통계 시스템이 구축되어야하며, 재고 관리 현황이 시스템에서 시각적으로 쉽게 표시 및 관리되어야 한다.</p>
	<p>개발된 시스템은 사용자 앱과 관리자 앱, 관리자웹으로 구성되어 있다. 특히 관리자 앱과 웹을 연동하기 위해서는 구축된 시스템 데이터베이스에 사용자 개인 정보, 지급소 정보 및 UID가 필수로 저장되어야 한다. 따라서 안드로이드에서 사용하는 기본키인 UID를 활용하여 데이터베이스에 쉽게 접근할 수 있도록 하였다.</p>
	<p>본 논문의 구성은 다음과 같다. 먼저 2장에서는 공공 데이터 기반의 미세먼지 수치 예측 기술 현황과 구현한 미세먼지 수치 예측 방법에 대해서 설명하였다. 3장에서는 미세먼지 측정 기술에 기반한 마스크 지급 앱 시스템에 대해 설명하였고, 4장에서는 결론 및 향후 연구를 기술하였다.</p>
</sec>
<sec id="sec002">
	<title>2. 미세먼지 수치 예측 기술</title>
	<sec id="sec002-1">
		<title>2.1 미세먼지 수치 예측 기술 현황</title>
		<p>국내 미세먼지 예보 시스템은 현재 KT의 에어맵코리아 어플리케이션에서 제공하고 있다[<xref ref-type="bibr" rid="B003">3</xref>]. KT는 전국적으로 2000여개의 측정소를 설치했으며 특히 서울 측정소 간 간격은 약 1㎢ 내외로 촘촘하게 구축돼 인근 지역의 생활권 정보까지 확인할 수 있도록 하고 있다. 또한, KT는 측정 데이터의 정확도 향상을 위해 한국대기환경학회와도 협업하고 있다.</p>
		<p>해외 미세먼지 예보 사례로는 미국의 Salt Lake City의 “PM2.5 Forecasting Method Development and Operations for Salt Lake City, Utah”가 가장 대표적이라 할 수 있다. 이 시스템은 PM 2.5 데이터와 PM 10 데이터를 받아 원시 데이터와 가공 데이터로 따로 DB화하고 PM 2.5로 환산한 값을 근거로 데이터 분석을 한다[<xref ref-type="bibr" rid="B004">4</xref>]. 이를 통해 연간, 월간, 주간, 일간 빈도 분석에 대한 정보를 제공한다.</p>
		<p>또한, 시카고 지역의 회귀방정식을 이용한 미세먼지 예보 시스템과 캐나다의 모델링 기법을 통한 미세먼지 예보 시스템, 영국의 수치 모델을 통한 예보 시스템 등이 사용되고 있다.</p>
	</sec>
	<sec id="sec002-2">
		<title>2.2 공공 데이터 기반의 미세먼지 수치 예측</title>
		<p>미세먼지 수치를 예측하기 위해 공공 데이터 포탈(data.go.kr)에서 받아온 미세먼지 데이터들을 측정소 이름별로 데이터 정규화 한 후, CNN(Convolutional Neural Network) 처리를 위해(지역 수, 속성)의 이미지 형태로 변환하였다[<xref ref-type="bibr" rid="B005">5</xref>,<xref ref-type="bibr" rid="B006">6</xref>]. 또한, CNN 과정을 거친 후 RNN(Recurrent Neural Network)을 거쳐 개발한 앱 시스템에서 사용할 수 있는 미세먼지의 최종 예측 수치를 얻어 낼 수 있었다[<xref ref-type="bibr" rid="B007">7</xref>]. 그 과정은 아래와 같으며, 파이썬과 텐서플로우를 사용하였다.</p>
		<sec id="sec002-2-1">
			<title>2.2.1 CNN</title>
			<p>먼저 &#x003C;<xref ref-type="fig" rid="f001">그림 1</xref>&#x003E;과 같이 CNN 방식으로 처리하기 위해 placeholder를 설정 한 후 3개의 은닉층을 거쳐 reshape 해주었다[<xref ref-type="bibr" rid="B008">8</xref>][<xref ref-type="bibr" rid="B009">9</xref>]. 은닉층을 거칠 때 활성화 함수는 relu 함수를 사용하며 dense를 설정한 후 결과 값을 획득하였다. 또한, 근처 픽셀과 영향을 주고 받는 Convolution 과정을 통해 지역간의 연관성을 반영한 수치로 변환하여 사용하였다[<xref ref-type="bibr" rid="B010">10</xref>].</p>
			<fig id="f001" orientation="portrait" position="float">
				<label>그림 1.</label>
				<caption>
					<title>CNN 처리 과정</title>
					<p>Figure 1. CNN Processing</p>
				</caption>
				<graphic xlink:href="../ingestImageView?artiId=ART002640804&amp;imageName=jkits_2020_15_05_739_f001.jpg" position="float" orientation="portrait" xlink:type="simple"></graphic>
			</fig>
		</sec>
		<sec id="sec002-2-2">
			<title>2.2.2 RNN</title>
			<p>2.2.1에서 획득한 결과는 RNN 과정을 거쳐 최종적인 미세먼지 수치의 예측치로 사용된다[<xref ref-type="bibr" rid="B011">11</xref>]. CNN으로 얻은 이미지는 feature의 sequence로 변환하는 전처리 단계를 거친다[<xref ref-type="bibr" rid="B012">12</xref>]. 전처리를 거치게 되면 시계열 데이터로 변하게 되는데 이 시계열 데이터에서 패턴을 인식하는 DBLSTM(Deep bidirectional Long Short-Term Memory) 방식을 통해 미세먼지 수치의 예측치를 계산해 낼 수 있다[<xref ref-type="bibr" rid="B013">13</xref>].</p>
		</sec>
	</sec>
</sec>
<sec id="sec003" sec-type="methods">
	<title>3. 마스크 지급 앱 시스템</title>
	<sec id="sec003-1">
		<title>3.1 시스템 구조</title>
		<p>마스크 지급 앱 시스템은 &#x003C;<xref ref-type="fig" rid="f002">그림 2</xref>&#x003E;와 같이 구성된다. 마스크 지급 앱 스템은 관리를 위하여 사용자를 일반 사용자와 관리자로 구분하였다. 따라서 시스템은 크게 일반 사용자 어플리케이션, 관리자 어플리케이션 그리고 관리자 웹 화면으로 구성된다. 사용자 어플리케이션과 관리자 어플리케이션은 Android를 이용하여 구현하였으며 관리자 웹은 jsp를 이용하여 구현하였다.</p>
		<fig id="f002" orientation="portrait" position="float">
			<label>그림 2.</label>
			<caption>
				<title>시스템 아키텍쳐</title>
				<p>Figure 2. System Architecture</p>
			</caption>
			<graphic xlink:href="../ingestImageView?artiId=ART002640804&amp;imageName=jkits_2020_15_05_739_f002.jpg" position="float" orientation="portrait" xlink:type="simple"></graphic>
		</fig>
		<p>사용자 어플리케이션과 관리자 어플리케이션, 관리자 웹을 구분하기 위하여 각각의 UI를 별도로 구성하여 구현하였으며, 전체 시스템 구현을 위하여 재난문자 API(Application Program Interface), 카카오톡 로그인 API, 미세먼지 수치 API, 구글 지도 API를 사용하였다.</p>
		<p>또한, 사용자 어플리케이션, 관리자 어플리케이션 및 관리자 웹을 데이터베이스와 웹서버와 연동하기 위해서는 먼저 구축된 시스템 데이터베이스에 사용자 개인 정보, 지급소 정보 및 UID가 필수로 저장되어야 하기 때문에 안드로이드에서 사용하는 기본키인 UID를 활용하여 데이터베이스에 접근해 데이터를 불러오고 수정할 수 있도록 하였다. 뿐만 아니라 어플리케이션과 웹 페이지를 통합적으로 관리할 수 있도록 데이터베이스는 FireBase를 사용하였다[<xref ref-type="bibr" rid="B014">14</xref>-<xref ref-type="bibr" rid="B016">16</xref>].</p>
	</sec>
	<sec id="sec003-2">
		<title>3.2 사용자 어플리케이션</title>
		<fig id="f003" orientation="portrait" position="float">
			<label>그림 3.</label>
			<caption>
				<title>메인 화면</title>
				<p>Figure 3. Main Screen</p>
			</caption>
			<graphic xlink:href="../ingestImageView?artiId=ART002640804&amp;imageName=jkits_2020_15_05_739_f003.jpg" position="float" orientation="portrait" xlink:type="simple"></graphic>
		</fig>
		<p>&#x003C;<xref ref-type="fig" rid="f003">그림 3</xref>&#x003E;은 개발한 시스템 중 사용자 어플리케이션의 메인 화면이다. 사용자 어플리케이션의 메인 화면은 사용자 개인 정보가 담겨져 있는 QR 코드를 볼 수 있는 화면, 구글 맵과 연동되어 현재 위치와 지급소의 위치, 거리 안내를 해주는 화면 그리고 현재의 미세먼지의 수치와 미세먼지 예측 수치를 볼 수 있는 화면으로 구성되어있다.</p>
		<p>사용자 어플리케이션의 메인 화면은 카카오톡 API를 사용하여 구현하였다. 카카오톡 API는 권한 허용을 통해 프로필, 이메일, 성별, 생일 등에 관련된 정보를 자동으로 받아올 수 있다. 이러한 장점 때문에 카카오톡 UID를 Primary Key로 사용하여 데이터베이스에서 사용자를 관리할 수 있다.</p>
		<p>사용자 어플리케이션의 메인 화면에서 보이는 QR 코드 메뉴는 카카오톡 로그인시 사용하는 이메일 정보를 불러와서 이메일을 ID로 변환시킬 수 있도록 하였다. 즉 이메일에 포함되어 있는 문자열중 @와 .com을 제외하고 “아이디-사이트” 형식으로 조합하여 생성된 정보를 데이터베이스로 전송 및 저장할 수 있도록 하였으며, 이를 위하여 구글 오픈소스 라이브러리 zxing을 사용하였다[<xref ref-type="bibr" rid="B017">17</xref>-<xref ref-type="bibr" rid="B019">19</xref>].</p>
		<p>사용자 어플리케이션의 메인 화면에서 보이는 지도 메뉴는 GPS 사용 권한을 요청한 후 승인을 하면 &#x003C;<xref ref-type="fig" rid="f004">그림 4</xref>&#x003E;와 같이 구글 지도 API와 연결되어 현재 위치가 출력되게 하였다[<xref ref-type="bibr" rid="B020">20</xref>]. 지도에 마킹 되어있는 등록된 마스크 지급소의 위치를 보고 현재 남은 재고량과 해당 지급소의 전화번호를 확인할 수 있게 하였다. 또한 지도 우측 하단에 있는 길 안내 버튼을 누르면 해당 위치로 구글 지도 길 안내 서비스가 자동으로 연결될 수 있도록 하였다.</p>
		<p>사용자 어플리케이션의 메인 화면에서 보이는 미세먼지 메뉴는 &#x003C;<xref ref-type="fig" rid="f005">그림 5</xref>&#x003E;와 같이 사용자의 현재 위치를 기준으로 사용자가 있는 곳에 대한 주소 정보(시, 구, 동)을 보여준다. 또한, 현재 위치에 미세먼지 측정소가 존재한다면 미세먼지 수치와 초미세먼지 수치를 보여줄 수 있도록 구현되어 있다[<xref ref-type="bibr" rid="B021">21</xref>]. 만일 측정소가 존재하지 않으면 미세먼지 수치와 초미세먼지 수치는 보여지지 않는다.</p>
		<fig id="f004" orientation="portrait" position="float">
			<label>그림 4.</label>
			<caption>
				<title>지도 화면</title>
				<p>Figure 4. Map Screen</p>
			</caption>
			<graphic xlink:href="../ingestImageView?artiId=ART002640804&amp;imageName=jkits_2020_15_05_739_f004.jpg" position="float" orientation="portrait" xlink:type="simple"></graphic>
		</fig>
		<p>아울러, 사용자 편리성을 제공하기 위해 콤보 박스를 통하여 원하는 지역의 현재 미세먼지 수치와24시간 후의 미세먼지 수치의 예측치를 볼 수도 있게 하였다. 현재 미세먼지 수치는 공공 데이터 포탈사이트에 있는 미세먼지 데이터를 파싱하여 데이터베이스에 저장한 후 화면에 출력하였다.</p>
		<p>또한, 24시간 후의 미세먼지 수치는 데이터베이스에 저장된 데이터들을 로드하여 데이터 전처리 후 CNN과 RNN 학습 과정을 거쳐 예측된 미세먼지 수치를 화면에 출력할 수 있도록 하였다. 뿐만 아니라 공공 데이터포탈 사이트에서 제공하는 미세먼지 관련 경보 내역을 확인하여 가장 최근에 발생한 미세먼지 주의보 및 경보 내역도 출력할 수 있도록 하였다.</p>
		<fig id="f005" orientation="portrait" position="float">
			<label>그림 5.</label>
			<caption>
				<title>미세먼지 화면</title>
				<p>Figure 5. Fine dust Screen</p>
			</caption>
			<graphic xlink:href="../ingestImageView?artiId=ART002640804&amp;imageName=jkits_2020_15_05_739_f005.jpg" position="float" orientation="portrait" xlink:type="simple"></graphic>
		</fig>
	</sec>
	<sec id="sec003-3">
		<title>3.3 관리자 어플리케이션</title>
		<fig id="f006" orientation="portrait" position="float">
			<label>그림 6.</label>
			<caption>
				<title>QR 스캔 화면</title>
				<p>Figure 6. QR Scan Screen</p>
			</caption>
			<graphic xlink:href="../ingestImageView?artiId=ART002640804&amp;imageName=jkits_2020_15_05_739_f006.jpg" position="float" orientation="portrait" xlink:type="simple"></graphic>
		</fig>
		<p>관리자 어플리케이션은 &#x003C;<xref ref-type="fig" rid="f006">그림 6</xref>&#x003E;과 같이 QR 스캐너를 이용한 마스크 지급 가능 여부 확인과 재고량 관리 및 통계를 확인하기 위해서 사용할 수 있다. 관리자 어플리케이션은 회원가입 후 본인이 관리하는 마스크 지급소의 이름과 주소, 마스크 재고량, 전화번호를 입력하면 된다.</p>
		<p>&#x003C;<xref ref-type="fig" rid="f006">그림 6</xref>&#x003E;과 같은 관리자 어플리케이션의 메인화면에서 보이는 QR 스캐너의 기능은 일반 사용자가 QR 코드를 제시하면 QR 코드에 저장되어 있는 “아이디-사이트” 형식의 카카오톡 UID를 읽어온후 데이터베이스에 저장되어있는 사용자의 이름, 나이, E-mail, 성별, 마스크 지급 가능 여부에 대한 정보를 간단히 확인할 수 있도록 하였다[<xref ref-type="bibr" rid="B022">22</xref>]. 지급가능여부에 따라 지급 완료 버튼을 눌러 마스크 지급 완료를 간단히 처리 할 수 있도록 하였다.</p>
		<fig id="f007" orientation="portrait" position="float">
			<label>그림 7.</label>
			<caption>
				<title>마스크 재고 화면</title>
				<p>Figure 7. Mask Inventory Screen</p>
			</caption>
			<graphic xlink:href="../ingestImageView?artiId=ART002640804&amp;imageName=jkits_2020_15_05_739_f007.jpg" position="float" orientation="portrait" xlink:type="simple"></graphic>
		</fig>
		<p>또한, 마스크 지급이 완료되면 마스크 재고량에 자동으로 반영이 되도록 하였다. &#x003C;<xref ref-type="fig" rid="f007">그림 7</xref>&#x003E;과 같이 현재 재고량과 금일 분출량을 표를 통하여 시각적으로 확인 할 수 있도록 하였으며, 당일 분출량에 따른 나이대별 이용 비율도 원형 차트를 통해 확인 할 수 있도록 하였다.</p>
	</sec>
	<sec id="sec003-4">
		<title>3.4 관리자 웹</title>
		<p>관리자 웹은 관리자 어플리케이션과 동일한 계정을 사용하며 관리자 어플리케이션에서 간단하게 보여주었던 재고량과 분출량을 보다 자세하게 확인할 수 있다</p>
		<p>또한, 본인이 담당하고 있는 마스크 지급소의 마스크 분출량, 연도별 통계 및 월별 통계를 그래프와 표를 통해 시각적으로 쉽게 확인 할 수 있도록하였다. 본인이 담당하고 있는 지급소의 재고량 또한 관리자 웹에서 추가, 삭제 및 수정할 수 있도록 하였으며, 마스크 지급에 관련한 모든 통계 정보는 FireBase를 사용하여 관리할 수 있도록 하였다.</p>
	</sec>
</sec>
<sec id="sec004" sec-type="Conclusion">
	<title>4. 결론 및 향후 연구</title>
	<p>본 논문에서는 미세먼지 경보 발령 시 또는 미세먼지 수치를 예측하여 미세먼지 수치가 높은 경우 지역주민들이 마스크를 가장 가까운 위치에서 편리하게 지급받을 수 있도록 해주는 마스크 지급앱 시스템을 개발하였다.</p>
	<p>미세먼지 수치를 예측하기 위한 테스트 값의 Loss는 Σ(𝐻 (𝑥 𝑖 )-𝑦 𝑖 )²로 설정하였고 Optimizer는 Adam 함수를 사용하였으며 Learning Rate는 0.001로 설정하였다. 미세먼지 예측 테스트 결과 실제 수치와 예측 수치가 비슷한 형태의 그래프가 만들어지는 것을 확인할 수 있었다.</p>
	<p>학습시 필요한 더 많은 데이터를 추가하여 예측 할 경우 정확도는 더욱 상승할 것이다. 즉, CNN 과정에서 Convolution Layer를 더 추가하고 Learning Rate를 조정하면 예측 정확도는 더욱 상승할 것이다.</p>
	<p>또한 개발한 마스크 지급 앱 시스템을 구성하고 있는 사용자 어플리케이션, 관리자 어플리케이션, 관리자 웹은 각각의 UI를 이용하여 서버와 데이터베이스에 잘 연동되어 운영되는 것을 확인할 수 있었다.</p>
	<p>향후 질병정보와 감기나 독감과 같은 다양한 유행성 질병 데이터를 확보하여 추가적인 기능 보완이 계속 이루어질 것이며, 대기 오염이 급작스럽게 심각해지는 경우와 예측 할 수 없는 갑작스런 미세먼지 변동 상황이 발생했을 경우에도 미세먼지 수치를 더욱 정확히 예측할 수 있도록 알고리즘의 지속적 개선이 필요하다 .</p>
</sec>
</body>
<back>
<ref-list>
<title>References</title>
<!--[1] B-C. So, A study on the improvement of legislation for the response of climate change and the creation of a comfortable air environment: focusing on fine dust, 2018.-->
<ref id="B001">
<label>[1]</label>
<element-citation publication-type="report">
<person-group>
<name><surname>So</surname><given-names>B-C.</given-names></name>
</person-group>
<year>2018</year>
<source>A study on the improvement of legislation for the response of climate change and the creation of a comfortable air environment: focusing on fine dust</source>
</element-citation>
</ref>
<!--[2] Y-M. Cho, and Y-C. Hong, The health effects of fine dust and the role of the Korean medical association, Medical Policy Forum, Vol. 12, No. 2 , pp. 32-36, 2014.-->
<ref id="B002">
<label>[2]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Cho</surname><given-names>Y-M.</given-names></name>
<name><surname>Hong</surname><given-names>Y-C.</given-names></name>
</person-group>
<year>2014</year>
<article-title>The health effects of fine dust and the role of the Korean medical association</article-title>
<source>Medical Policy Forum</source>
<volume>12</volume><issue>2</issue>
<fpage>32</fpage><lpage>36</lpage>
</element-citation>
</ref>
<!--[3] M-H. Lee, M-H. Park, and J-H. Kim, IoT-based air quality platform; KT air map Korea project case, Journal of the Korean Society for Atmospheric Environment's Academic Conference, pp. 86-86, 2019.-->
<ref id="B003">
<label>[3]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Lee</surname><given-names>M-H.</given-names></name>
<name><surname>Park</surname><given-names>M-H.</given-names></name>
<name><surname>Kim</surname><given-names>J-H.</given-names></name>
</person-group>
<year>2019</year>
<article-title>IoT-based air quality platform; KT air map Korea project case</article-title>
<source>Journal of the Korean Society for Atmospheric Environment's Academic Conference</source>
<fpage>86</fpage>
</element-citation>
</ref>
<!--[4] K-W. Cho, Y-J. Jung, J-S. Lee, and C-H. Oh, Separation prediction model by concentration based on multilayered perceptron to improve accuracy of fine dust prediction, Collection of dissertations from the General Conference of the Korean Society of Information and Communication, Vol. 23, No. 2, pp. 658-660, 2019.-->
<ref id="B004">
<label>[4]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Cho</surname><given-names>K-W.</given-names></name>
<name><surname>Jung</surname><given-names>Y-J.</given-names></name>
<name><surname>Lee</surname><given-names>J-S.</given-names></name>
<name><surname>Oh</surname><given-names>C-H.</given-names></name>
</person-group>
<year>2019</year>
<article-title>Separation prediction model by concentration based on multilayered perceptron to improve accuracy of fine dust prediction</article-title>
<source>Collection of dissertations from the General Conference of the Korean Society of Information and Communication</source>
<volume>23</volume><issue>2</issue>
<fpage>658</fpage><lpage>660</lpage>
</element-citation>
</ref>
<!--[5] H-Y. Kwon, and Y-S. Koo, Dust alert system using neural-network-based models, Journal of Academic Presentation of the Multimedia Association of Korea, pp. 592-595, 2003.-->
<ref id="B005">
<label>[5]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Kwon</surname><given-names>H-Y.</given-names></name>
<name><surname>Koo</surname><given-names>Y-S.</given-names></name>
</person-group>
<year>2003</year>
<article-title>Dust alert system using neural-network-based models</article-title>
<source>Journal of Academic Presentation of the Multimedia Association of Korea</source>
<fpage>592</fpage><lpage>595</lpage>
</element-citation>
</ref>
<!--[6] J-W. Cha, and J-Y. Kim, Development of data mining algorithm for the implementation of fine dust numerical prediction model, Journal of the Korean Association of Information and Communication Studies Vol. 22, No. 4, pp. 595-601, 2018.-->
<ref id="B006">
<label>[6]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Cha</surname><given-names>J-W.</given-names></name>
<name><surname>Kim</surname><given-names>J-Y.</given-names></name>
</person-group>
<year>2018</year>
<article-title>Development of data mining algorithm for the implementation of fine dust numerical prediction model</article-title>
<source>Journal of the Korean Association of Information and Communication Studies</source>
<volume>22</volume><issue>4</issue>
<fpage>595</fpage><lpage>601</lpage>
<pub-id pub-id-type="doi">10.6109/jkiice.2018.22.4.595</pub-id>
</element-citation>
</ref>
<!--[7] E-J. Lee, Basic and applied studies of CNN and RNN, Broadcasting and Media, Vol. 22, No. 1, pp. 87-95, 2017.-->
<ref id="B007">
<label>[7]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Lee</surname><given-names>E-J.</given-names></name>
</person-group>
<year>2017</year>
<article-title>Basic and applied studies of CNN and RNN</article-title>
<source>Broadcasting and Media</source>
<volume>22</volume><issue>1</issue>
<fpage>87</fpage><lpage>95</lpage>
</element-citation>
</ref>
<!--[8] N. K. Manaswi, and S. John, Deep Learning with Applications Using Python, Apress, pp. 97-104, 2018.-->
<ref id="B008">
<label>[8]</label>
<element-citation publication-type="book">
<person-group>
<name><surname>Manaswi</surname><given-names>N. K.</given-names></name>
<name><surname>John</surname><given-names>S.</given-names></name>
</person-group>
<year>2018</year>
<source>Deep Learning with Applications Using Python</source>
<publisher-name>Apress</publisher-name>
<fpage>97</fpage><lpage>104</lpage>
</element-citation>
</ref>
<!--[9] S-M. Ahn, A study on the model and application of Deep learning and intelligence information, Vol. 22, No. 2, pp. 127-142, 2016.-->
<ref id="B009">
<label>[9]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Ahn</surname><given-names>S-M.</given-names></name>
</person-group>
<year>2016</year>
<article-title>A study on the model and application of Deep learning and intelligence information</article-title>
<volume>22</volume><issue>2</issue>
<fpage>127</fpage><lpage>142</lpage>
</element-citation>
</ref>
<!--[10] O-S. Kwon, Design of convolution neural network based on solar energy and enhancement of number recognition, Journal of Knowledge Information Technology and Systems(JKITS), Vol. 14, No. 1, pp. 93-101, 2019.-->
<ref id="B010">
<label>[10]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Kwon</surname><given-names>O-S.</given-names></name>
</person-group>
<year>2019</year>
<article-title>Design of convolution neural network based on solar energy and enhancement of number recognition</article-title>
<source>Journal of Knowledge Information Technology and Systems(JKITS)</source>
<volume>14</volume><issue>1</issue>
<fpage>93</fpage><lpage>101</lpage>
<pub-id pub-id-type="doi">10.34163/jkits.2019.14.1.010</pub-id>
</element-citation>
</ref>
<!--[11] C-J. Kim, J-H. Jeong, C-W. Jo, and J-K. Yoo, A performance evaluation analysis of product recommendation techniques, Journal of Knowledge Information Technology and Systems(JKITS), Vol. 14, No. 5, pp. 515-525, 2019.-->
<ref id="B011">
<label>[11]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Kim</surname><given-names>C-J.</given-names></name>
<name><surname>Jeong</surname><given-names>J-H.</given-names></name>
<name><surname>Jo</surname><given-names>C-W.</given-names></name>
<name><surname>Yoo</surname><given-names>J-K.</given-names></name>
</person-group>
<year>2019</year>
<article-title>A performance evaluation analysis of product recommendation techniques</article-title>
<source>Journal of Knowledge Information Technology and Systems(JKITS)</source>
<volume>14</volume><issue>5</issue>
<fpage>515</fpage><lpage>525</lpage>
<pub-id pub-id-type="doi">10.34163/jkits.2019.14.5.008</pub-id>
</element-citation>
</ref>
<!--[12] C. Liu, W. Sun, W. Chao, and W. Che, Convolution neural network for relation extraction, International Conference on advanced data mining and Applications, Springer, Berlin, Heidelberg, pp. 231-242, 2013.-->
<ref id="B012">
<label>[12]</label>
<element-citation publication-type="paper">
<person-group>
<name><surname>Liu</surname><given-names>C.</given-names></name>
<name><surname>Sun</surname><given-names>W.</given-names></name>
<name><surname>Chao</surname><given-names>W.</given-names></name>
<name><surname>Che</surname><given-names>W.</given-names></name>
</person-group>
<year>2013</year>
<article-title>Convolution neural network for relation extraction</article-title>
<conf-name>International Conference on advanced data mining and Applications</conf-name>
<publisher-name>Springer</publisher-name>
<publisher-loc>Berlin, Heidelberg</publisher-loc>
<fpage>231</fpage><lpage>242</lpage>
<pub-id pub-id-type="doi">10.1007/978-3-642-53917-6_21</pub-id>
</element-citation>
</ref>
<!--[13] S-Y. Lee, and K-J. Lee, Pattern classification model design and performance comparison for data mining of time series data, Journal of Korean Institute of Intelligent Systems, Vol. 21, No. 6, pp. 730-736, 2011.-->
<ref id="B013">
<label>[13]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Lee</surname><given-names>S-Y.</given-names></name>
<name><surname>Lee</surname><given-names>K-J.</given-names></name>
</person-group>
<year>2011</year>
<article-title>Pattern classification model design and performance comparison for data mining of time series data</article-title>
<source>Journal of Korean Institute of Intelligent Systems</source>
<volume>21</volume><issue>6</issue>
<fpage>730</fpage><lpage>736</lpage>
<pub-id pub-id-type="doi">10.5391/JKIIS.2011.21.6.730</pub-id>
</element-citation>
</ref>
<!--[14] Y-R. Han, S-H. Yang, and W-G. Hong, A study on the use of Firebase's real-time database by Google, the latest information and communication technology, Journal of Conference of the Korean Telecommunications Society, pp. 1272-1273, 2017.-->
<ref id="B014">
<label>[14]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Han</surname><given-names>Y-R.</given-names></name>
<name><surname>Yang</surname><given-names>S-H.</given-names></name>
<name><surname>Hong</surname><given-names>W-G.</given-names></name>
</person-group>
<year>2017</year>
<article-title>A study on the use of Firebase's real-time database by Google, the latest information and communication technology</article-title>
<source>Journal of Conference of the Korean Telecommunications Society</source>
<fpage>1272</fpage><lpage>1273</lpage>
</element-citation>
</ref>
<!--[15] C. Khawas, and P. Shah, Application of Firebase in Android app development-a study, International Journal of Computer Applications, Vol. 179, No. 46, pp. 49-53, 2018.-->
<ref id="B015">
<label>[15]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Khawas</surname><given-names>C.</given-names></name>
<name><surname>Shah</surname><given-names>P.</given-names></name>
</person-group>
<year>2018</year>
<article-title>Application of Firebase in Android app development-a study</article-title>
<source>International Journal of Computer Applications</source>
<volume>179</volume><issue>46</issue>
<fpage>49</fpage><lpage>53</lpage>
<pub-id pub-id-type="doi">10.5120/ijca2018917200</pub-id>
</element-citation>
</ref>
<!--[16] N. Chatterjee, S. Chakraborty, A. Decosta, and A. Nath, Real-time communication application based on Android using Google Firebase, International Journal of Advance Research in Computer Science and Management Studies, Vol. 6, Issue. 4, 2018.-->
<ref id="B016">
<label>[16]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Chatterjee</surname><given-names>N.</given-names></name>
<name><surname>Chakraborty</surname><given-names>S.</given-names></name>
<name><surname>Decosta</surname><given-names>A.</given-names></name>
<name><surname>Nath</surname><given-names>A.</given-names></name>
</person-group>
<year>2018</year>
<article-title>Real-time communication application based on Android using Google Firebase</article-title>
<source>International Journal of Advance Research in Computer Science and Management Studies</source>
<volume>6</volume><issue>4</issue>
</element-citation>
</ref>
<!--[17] O. Dospinescu, and A. David, From local data to Global Information Using Zxing library in Android, The 6th International Conference on Globalization and Higher Education in Economics and Business Administration–GEBA, pp. 538-542, 2012.-->
<ref id="B017">
<label>[17]</label>
<element-citation publication-type="paper">
<person-group>
<name><surname>Dospinescu</surname><given-names>O.</given-names></name>
<name><surname>David</surname><given-names>A.</given-names></name>
</person-group>
<year>2012</year>
<article-title>From local data to Global Information Using Zxing library in Android</article-title>
<conf-name>The 6th International Conference on Globalization and Higher Education in Economics and Business Administration–GEBA</conf-name>
<fpage>538</fpage><lpage>542</lpage>
</element-citation>
</ref>
<!--[18] K. H. Pandya, and H. J. Galiyawala, A survey on QR codes: in context of research and application, International Journal of Emerging Technology and Advanced Engineering, Vol. 4, Issue. 3, pp. 258-262, 2014.-->
<ref id="B018">
<label>[18]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Pandya</surname><given-names>K. H.</given-names></name>
<name><surname>Galiyawala</surname><given-names>H. J.</given-names></name>
</person-group>
<year>2014</year>
<article-title>A survey on QR codes: in context of research and application</article-title>
<source>International Journal of Emerging Technology and Advanced Engineering</source>
<volume>4</volume><issue>3</issue>
<fpage>258</fpage><lpage>262</lpage>
</element-citation>
</ref>
<!--[19] S. Tiwari, An introduction to QR code technology, International Conference on Information Technology(ICIT), IEEE, 2016.-->
<ref id="B019">
<label>[19]</label>
<element-citation publication-type="paper">
<person-group>
<name><surname>Tiwari</surname><given-names>S.</given-names></name>
</person-group>
<year>2016</year>
<article-title>An introduction to QR code technology</article-title>
<conf-name>International Conference on Information Technology(ICIT)</conf-name>
<publisher-name>IEEE</publisher-name>
<pub-id pub-id-type="doi">10.1109/ICIT.2016.021</pub-id>
</element-citation>
</ref>
<!--[20] J-H. Kim, J-E. Lee, S-M. Im, and H-M Park, Real-time air pollution information mobile application program using mash-up of public DB and map API, Journal of Academic Presentation of the Multimedia Association of Korea, pp. 372-375, 2010.-->
<ref id="B020">
<label>[20]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Kim</surname><given-names>J-H.</given-names></name>
<name><surname>Lee</surname><given-names>J-E.</given-names></name>
<name><surname>Im</surname><given-names>S-M.</given-names></name>
<name><surname>Park</surname><given-names>H-M.</given-names></name>
</person-group>
<year>2010</year>
<article-title>Real-time air pollution information mobile application program using mash-up of public DB and map API</article-title>
<source>Journal of Academic Presentation of the Multimedia Association of Korea</source>
<fpage>372</fpage><lpage>375</lpage>
</element-citation>
</ref>
<!--[21] Y-S. Koo, Superfine dust components and contributions, Symposium and Academic Conference on Environmental Toxic Health, pp. 28-50, 2014.-->
<ref id="B021">
<label>[21]</label>
<element-citation publication-type="paper">
<person-group>
<name><surname>Koo</surname><given-names>Y-S.</given-names></name>
</person-group>
<year>2014</year>
<article-title>Superfine dust components and contributions</article-title>
<conf-name>Symposium and Academic Conference on Environmental Toxic Health</conf-name>
<fpage>28</fpage><lpage>50</lpage>
</element-citation>
</ref>
<!--[22] M-Y. Bae, D-J. Cho, and H-K. Lim, Performance analysis of QR code scanners for a variety of uses, Journal of Academic Presentation of the Korean Society of Information Sciences, pp. 435-437, 2013.-->
<ref id="B022">
<label>[22]</label>
<element-citation publication-type="journal">
<person-group>
<name><surname>Bae</surname><given-names>M-Y.</given-names></name>
<name><surname>Cho</surname><given-names>D-J.</given-names></name>
<name><surname>Lim</surname><given-names>H-K.</given-names></name>
</person-group>
<year>2013</year>
<article-title>Performance analysis of QR code scanners for a variety of uses</article-title>
<source>Journal of Academic Presentation of the Korean Society of Information Sciences</source>
<fpage>435</fpage><lpage>437</lpage>
</element-citation>
</ref>
</ref-list>
<bio>
	<p><graphic xlink:href="../ingestImageView?artiId=ART002640804&amp;imageName=jkits_2020_15_05_739_f008.jpg"></graphic><bold>Jung-Keun Kim</bold> received the bachelor’s degree in the Department of Medical Information Technology Engineering from the Konyang University in 2019.</p>
	<p><italic>E-mail address</italic>: <email>13615012@konyang.ac.kr</email></p>
	<p><graphic xlink:href="../ingestImageView?artiId=ART002640804&amp;imageName=jkits_2020_15_05_739_f009.jpg"></graphic><bold>Ji-Hye Koo</bold> received the bachelor’s degree in the Department of Medical Information Technology Engineering from the Konyang University in 2020.</p>
	<p><italic>E-mail address</italic>: <email>16615002@konyang.ac.kr</email></p>
	<p><graphic xlink:href="../ingestImageView?artiId=ART002640804&amp;imageName=jkits_2020_15_05_739_f010.jpg"></graphic><bold>Yong-Do Her</bold> received the bachelor's degree in the department of mathematics from Korea University in 1986. He received the M.S degree and Ph.D degree in the department of mathematics from Korea University in 1988 and 1993, respectively. He has been a professor in the department of medical information technology engineering at Konyang University since 1992.</p>
	<p><italic>E-mail address</italic>: <email>ydher@konyang.ac.kr</email></p>
</bio>
</back>
</article>
