KR102559969B1 - Method, device and system for providing user location-based toilet use and payment service - Google Patents

Method, device and system for providing user location-based toilet use and payment service Download PDF

Info

Publication number
KR102559969B1
KR102559969B1 KR1020230047186A KR20230047186A KR102559969B1 KR 102559969 B1 KR102559969 B1 KR 102559969B1 KR 1020230047186 A KR1020230047186 A KR 1020230047186A KR 20230047186 A KR20230047186 A KR 20230047186A KR 102559969 B1 KR102559969 B1 KR 102559969B1
Authority
KR
South Korea
Prior art keywords
toilet
user
score
bathroom
terminal
Prior art date
Application number
KR1020230047186A
Other languages
Korean (ko)
Inventor
최영승
Original Assignee
주식회사 그레이스케일
최영승
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 그레이스케일, 최영승 filed Critical 주식회사 그레이스케일
Priority to KR1020230047186A priority Critical patent/KR102559969B1/en
Application granted granted Critical
Publication of KR102559969B1 publication Critical patent/KR102559969B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/322Aspects of commerce using mobile devices [M-devices]
    • G06Q20/3224Transactions dependent on location of M-devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0637Strategic management or analysis, e.g. setting a goal or target of an organisation; Planning actions based on goals; Analysis or evaluation of effectiveness of goals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • G06Q20/145Payments according to the detected use or quantity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4015Transaction verification using location information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • Finance (AREA)
  • Development Economics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Educational Administration (AREA)
  • Marketing (AREA)
  • Game Theory and Decision Science (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

일실시예에 따른 장치는, 화장실 관리자의 단말로부터 화장실의 위치, 화장실의 옵션을 포함하는 화장실의 정보를 수집하고, 화장실의 정보에 포함된 화장실의 위치를 지도 데이터베이스에 매칭하고, 사용자의 단말로부터 근방 화장실의 정보 제공 요청을 수신하고, 사용자의 단말로부터 사용자의 위치를 획득하고, 사용자의 위치 및 지도 데이터베이스를 기초로, 사용자의 위치에서 제1 거리 이내에 포함된 화장실인 근방 화장실을 획득하고, 사용자의 단말로 근방 화장실의 정보를 제공하고, 사용자의 단말로부터 근방 화장실 중 어느 하나인 제1 화장실이 선택되면, 사용자의 단말로 제1 화장실에 대응하는 기본 비용 및 제1 화장실의 정보를 제공하고, 사용자의 단말로부터 제1 화장실을 사용할 것이라는 요청을 수신하면, 사용자의 단말과 제1 화장실 간의 거리가 제2 거리 이내인지 여부를 판단하고, 사용자의 단말과 제1 화장실 간의 거리가 제2 거리 이내인 경우, 제1 화장실이 자동으로 열리도록 제어하고, 사용자의 단말이 제1 화장실 내에 위치한 것이 확인되면, 제1 화장실이 자동으로 잠기도록 제어하고, 사용자의 단말이 제1 화장실 내에 위치한 시간이 화장실 방문 시간을 측정하고, 제1 화장실에 대응하는 기본 비용 및 화장실 방문 시간을 기초로, 최종 결제 비용을 생성하고, 사용자의 단말로부터 최종 결제 비용이 지불되도록 관리한다.An apparatus according to an embodiment collects toilet information including a toilet location and toilet options from a toilet manager's terminal, matches the toilet location included in the toilet information to a map database, receives a request for providing information on a nearby toilet from a user terminal, obtains a user's location from the user terminal, obtains a nearby toilet that is a toilet included within a first distance from the user's location based on the user's location and the map database, provides information on a nearby toilet to the user's terminal, and provides information on a nearby toilet from the user's terminal. If any one of the first toilets is selected, the basic cost corresponding to the first toilet and information on the first toilet are provided to the user's terminal, and when a request to use the first toilet is received from the user's terminal, it is determined whether the distance between the user's terminal and the first toilet is within a second distance, and if the distance between the user's terminal and the first toilet is within a second distance, the first toilet is automatically controlled to open, and when it is confirmed that the user's terminal is located in the first toilet, the first toilet is automatically locked; The time the terminal is located in the first bathroom measures the bathroom visit time, generates the final payment cost based on the basic cost corresponding to the first bathroom and the bathroom visit time, and manages the final payment cost from the user's terminal to be paid.

Description

사용자 위치 기반 화장실 이용 및 결제 서비스 제공 방법, 장치 및 시스템{METHOD, DEVICE AND SYSTEM FOR PROVIDING USER LOCATION-BASED TOILET USE AND PAYMENT SERVICE }Method, device and system for providing user location-based toilet use and payment service

아래 실시예들은 사용자 위치를 기반으로 화장실 이용 및 결제 서비스를 제공하기 위한 기술에 관한 것이다.The embodiments below relate to a technology for providing a toilet use and payment service based on a user's location.

일반적으로, 공중 화장실은 다수의 사용자가 사용하는 시설로서, 사람들에게 편의를 제공하는 시설이지만, 관리가 제대로 되지 않아 불편함도 있다.In general, public toilets are facilities used by a large number of users, and are facilities that provide convenience to people, but are inconvenient due to poor management.

공중 화장실은 상시 개방되어 있는 관계로 불특정 다수인이 무작위로 출입할 뿐만 아니라, 무료라는 인식 때문에 각종 쓰레기를 버리고 가기도 하고, 지저분하게 사용하기 때문에 관리상 많은 불편과 어려움이 있었고, 특히, 사람이 쉽게 침입할 수 있어 몰카 등 안전사고의 위험도 높으며, 또한 겨울철과 같이 날씨가 추워지면 노숙자들이 들어와 추위를 피하거나 머리를 감는 등 무전취식장으로 전락하기도 하므로 실제 급한 사용자들이 제대로 사용할 수 없는 환경으로 변모되는 경우가 허다하다. Since public toilets are always open, not only do many and unspecified people randomly enter and exit, but also throw away various garbage because of the recognition that they are free, and there are many inconveniences and difficulties in management because they are used messily. .

이로 인해, 일반적인 공중화장실과는 달리 유료로 이용할 수 있는 화장실인 유료 화장실이 등장하였다. 유료 화장실은 유지보수가 철저하게 이루어져 청결한 환경을 제공할 수 있고, 화장실 용품 및 휴지 등을 항상 구비하고 있어 사용자가 편리하게 이용할 수 있고, 유료 화장실을 관리하는 관리자가 존재하고, CCTV를 설치함으로써 안전한 환경을 제공할 수 있다. As a result, unlike general public toilets, pay toilets, which are toilets that can be used for a fee, have appeared. Paid toilets can provide a clean environment with thorough maintenance, toilet supplies and toilet paper are always provided so that users can use them conveniently, there is a manager who manages the paid toilets, and CCTVs can be installed to provide a safe environment.

따라서, 이러한 유료 화장실을 사용자들이 더 편리하고 청결하게 이용할 수 있도록 사용자의 위치를 기반으로 화장실의 정보를 제공하고, 화장실 이용 시 결제 서비스를 제공하는 기술에 대한 연구가 요구된다.Therefore, research on technology for providing toilet information based on a user's location and providing a payment service when using the toilet is required so that users can use the pay toilet more conveniently and cleanly.

한국공개특허 제10-2021-7036323호 (2022.07.13. 공개)Korean Patent Publication No. 10-2021-7036323 (published on July 13, 2022) 한국등록특허 제10-1868508호 (2018.06.19. 공고)Korean Patent Registration No. 10-1868508 (2018.06.19. Notice) 한국등록특허 제10-2171916호 (2020.11.13. 공고)Korean Patent Registration No. 10-2171916 (2020.11.13. Notice) 한국등록특허 제10-1748299호 (2017.06.19. 공고)Korean Patent Registration No. 10-1748299 (2017.06.19. Notice)

실시예들은 사용자 위치를 기반으로 화장실 이용 및 결제 서비스를 제공하고자 한다.Embodiments seek to provide toilet use and payment services based on a user's location.

실시예들은 화장실의 정보를 기초로, 화장실의 기본 비용을 선정하고자 한다.Embodiments attempt to select a basic cost of a toilet based on information about the toilet.

실시예들은 화장실 관리자에게 화장실 관리자가 보유한 화장실에 대한 정보를 포함하는 보고서를 제공하고자 한다.Embodiments are intended to provide a toilet manager with a report including information about toilets owned by the toilet manager.

본 발명의 목적은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 또 다른 목적들은 아래의 기재로부터 명확하게 이해될 수 있을 것이다.The object of the present invention is not limited to the object mentioned above, and other objects not mentioned will be clearly understood from the description below.

일실시예에 따르면, 사용자 위치 기반 화장실 이용 및 결제 서비스 제공 방법은 화장실 관리자의 단말로부터 화장실의 위치, 화장실의 옵션을 포함하는 화장실의 정보를 수집하는 단계; 상기 화장실의 정보에 포함된 화장실의 위치를 지도 데이터베이스에 매칭하는 단계; 사용자의 단말로부터 근방 화장실의 정보 제공 요청을 수신하고, 상기 사용자의 단말로부터 상기 사용자의 위치를 획득하는 단계; 상기 사용자의 위치 및 상기 지도 데이터베이스를 기초로, 상기 사용자의 위치에서 미리 설정된 제1 거리 이내에 포함된 화장실인 근방 화장실을 획득하는 단계; 상기 사용자의 단말로 상기 근방 화장실의 정보를 제공하는 단계; 상기 사용자의 단말로부터 상기 근방 화장실 중 어느 하나인 제1 화장실이 선택되면, 상기 사용자의 단말로 상기 제1 화장실에 대응하는 기본 비용 및 상기 제1 화장실의 정보를 제공하는 단계; 상기 사용자의 단말로부터 상기 제1 화장실을 사용할 것이라는 요청을 수신하면, 상기 사용자의 단말과 상기 제1 화장실 간의 거리가 미리 설정된 제2 거리 이내인지 여부를 판단하고, 상기 사용자의 단말과 상기 제1 화장실 간의 거리가 상기 제2 거리 이내인 경우, 상기 제1 화장실이 자동으로 열리도록 제어하는 단계; 상기 사용자의 단말이 상기 제1 화장실 내에 위치한 것이 확인되면, 상기 제1 화장실이 자동으로 잠기도록 제어하고, 상기 사용자의 단말이 제1 화장실 내에 위치한 시간인 화장실 방문 시간을 측정하는 단계; 및 상기 제1 화장실에 대응하는 기본 비용 및 상기 화장실 방문 시간을 기초로, 최종 결제 비용을 생성하고, 상기 사용자의 단말로부터 최종 결제 비용이 지불되도록 관리하는 단계를 포함한다.According to one embodiment, a user location-based toilet use and payment service providing method includes collecting toilet information including a toilet location and toilet options from a toilet manager terminal; Matching the location of the toilet included in the toilet information to a map database; Receiving a request for providing information on a nearby toilet from a user's terminal, and acquiring the user's location from the user's terminal; obtaining a nearby toilet, which is a toilet included within a preset first distance from the user's location, based on the user's location and the map database; providing information on the nearby toilet to the user's terminal; providing a basic cost corresponding to the first toilet and information on the first toilet to the user's terminal when a first toilet, which is one of the nearby toilets, is selected from the user's terminal; When receiving a request to use the first toilet from the user terminal, determining whether a distance between the user terminal and the first toilet is within a preset second distance, and controlling the first toilet to be automatically opened when the distance between the user terminal and the first toilet is within the second distance; If it is confirmed that the user's terminal is located in the first toilet, controlling the first toilet to be automatically locked, and measuring a toilet visit time, which is a time when the user's terminal is located in the first toilet; and generating a final payment cost based on the basic cost corresponding to the first bathroom and the bathroom visit time, and managing the final payment cost to be paid from the user's terminal.

상기 사용자의 단말로 상기 제1 화장실에 대응하는 기본 비용 및 상기 제1 화장실의 정보를 제공하는 단계;는 상기 제1 화장실에 대응하는 기본 비용을 선정하는 단계를 더 포함하고, 상기 제1 화장실에 대응하는 기본 비용을 선정하는 단계는, 상기 제1 화장실의 관리 주기를 확인하여, 관리 주기에 따라 제1 점수를 생성하는 단계, 상기 제1 화장실에 포함된 옵션을 확인하여, 상기 포함된 옵션의 개수에 따라 제2 점수를 생성하는 단계, 상기 제1 화장실의 정보를 기초로, 상기 제1 화장실의 크기 및 상기 제1 화장실의 칸 수를 확인하고, 상기 제1 화장실의 크기 및 상기 제1 화장실의 칸 수를 기초로, 제3 점수를 생성하는 단계, 상기 제1 화장실을 이용한 사용자의 수를 확인하여, 상기 제1 화장실을 이용한 사용자의 수를 기초로, 제4 점수를 생성하는 단계, 상기 제1 화장실을 이용한 사용자의 단말로부터 제1 화장실에 대한 만족도를 획득하고, 상기 제1 화장실에 대한 만족도를 기반으로 제5 점수를 생성하는 단계, 상기 제1 화장실의 위치를 통해 상기 제1 화장실이 번화가에 위치하였는지 여부를 판단하고, 제6 점수를 생성하는 단계, 상기 제1 화장실의 방음 수준을 확인하여, 상기 제1 화장실의 방음 수준을 기초로, 제7 점수를 생성하는 단계, 상기 제1 점수, 상기 제2 점수, 상기 제3 점수, 상기 제4 점수, 상기 제5 점수, 상기 제6 점수, 및 상기 제7 점수를 합산한 값으로 상기 제1 화장실의 최종 점수를 생성하는 단계, 및 상기 제1 화장실의 최종 점수에 비례하여 상기 제1 화장실에 대응하는 기본 비용을 선정하는 단계를 포함한다.The step of providing a basic cost corresponding to the first toilet and information on the first toilet to the user's terminal; further comprising selecting a basic cost corresponding to the first toilet, and selecting a basic cost corresponding to the first toilet, checking a management cycle of the first toilet and generating a first score according to the management cycle, checking options included in the first toilet, and generating a second score according to the number of included options, based on the information on the first toilet, Checking the size of the first toilet and the number of compartments in the first toilet, and generating a third score based on the size of the first toilet and the number of compartments in the first toilet, determining the number of users using the first toilet and generating a fourth score based on the number of users using the first toilet, acquiring satisfaction with the first toilet from a terminal of a user who used the first toilet, and generating a fifth score based on the satisfaction with the first toilet, through the location of the first toilet Determining whether the first toilet is located in a busy street and generating a sixth score, determining the soundproofing level of the first toilet and generating a seventh score based on the soundproofing level of the first toilet, generating a final score of the first toilet as a sum of the first score, the second score, the third score, the fourth score, the fifth score, the sixth score, and the seventh score, and the final score of the first toilet in proportion to the first score. and selecting a basic cost corresponding to the toilet.

상기 제1 화장실의 위치를 통해 상기 제1 화장실이 번화가에 위치하였는지 여부를 판단하는 단계는, 상기 제1 화장실의 위치를 포함하는 지역의 인구 밀도를 기초로, 인구 점수를 생성하는 단계, 상기 제1 화장실의 위치를 기초로, 미리 설정된 제1 임계 범위를 지나는 대중 교통의 개수를 획득하고, 상기 대중 교통의 개수를 기초로, 교통 점수를 생성하는 단계, 상기 제1 화장실의 위치를 기초로, 미리 설정된 제2 임계 범위 내에 포함된 상점의 개수를 획득하고, 상기 상점의 개수를 기초로, 상점 점수를 생성하는 단계, 및 상기 인구 점수, 상기 교통 점수, 및 상기 상점 점수를 합한 값이 미리 설정된 목표 값보다 크다고 판단되면, 상기 제1 화장실이 번화가에 위치하였다고 판단하는 단계를 포함한다.Determining whether the first toilet is located in the downtown area through the location of the first toilet includes generating a population score based on the population density of an area including the location of the first toilet, obtaining the number of public transportation passing through a first threshold range based on the location of the first toilet, generating a traffic score based on the number of public transportation, obtaining the number of stores included in a second threshold range based on the location of the first toilet, and Generating a store score based on the number, and determining that the first toilet is located in a downtown area when it is determined that the sum of the population score, the traffic score, and the store score is greater than a preset target value.

사용자 위치 기반 화장실 이용 및 결제 서비스 제공 방법은 상기 화장실 관리자에게 정산 및 보고서를 제공하는 단계를 더 포함하고, 상기 화장실 관리자에게 보고서를 제공하는 단계는, 상기 화장실 관리자가 보유한 여성 화장실 및 남성 화장실의 사용 비율을 각각 확인하는 단계, 상기 여성 화장실의 사용 비율과 상기 남성 화장실의 사용 비율의 차이 값을 확인하는 단계, 상기 차이 값이 미리 설정된 임계 값보다 큰 것에 기반하여, 상기 사용 비율이 높은 화장실을 늘릴 것을 권유하는 화장실 리밸런싱 정보를 생성하는 단계, 상기 화장실 관리자가 보유한 화장실을 사용한 사용자의 방문 시각을 확인하여, 방문 시각 분포 정도를 생성하고, 상기 방문 시각 분포 정도를 기초로, 상기 화장실의 주 방문 시간대를 생성하는 단계, 상기 화장실의 주 방문 시간대에 도달하기 전에 화장실 관리가 이루어지도록 유도하는 화장실 관리 정보를 생성하는 단계, 상기 화장실 관리자가 보유한 화장실을 사용한 사용자의 연령대를 확인하여, 연령대 분포 정도를 생성하고, 상기 연령대 분포 정도를 기초로, 상기 화장실의 주 방문 연령을 생성하는 단계, 상기 화장실의 주 방문 연령을 기초로, 상기 주 방문 연령의 인테리어 트렌드를 획득하고, 상기 주 방문 연령의 인테리어 트렌드를 포함하는 화장실 리모델링 정보를 생성하는 단계, 및 상기 화장실 리밸런싱 정보, 상기 화장실 관리 정보 및 상기 화장실 리모델링 정보를 포함하는 보고서를 생성하여 상기 화장실 관리자에게 제공하는 단계를 포함한다. The method of providing a user location-based toilet use and payment service further includes providing a settlement and report to the toilet manager, wherein the providing of the report to the toilet manager includes: checking the usage ratio of the female toilet and the male toilet owned by the toilet manager, checking a difference between the usage ratio of the female toilet and the male toilet, generating toilet rebalancing information recommending that toilets with high usage ratio be increased based on the difference being greater than a preset threshold, and toilets owned by the toilet manager. Checking the visit time of the user, generating the distribution of visit times, and generating the main visit time zone of the bathroom based on the visit time distribution degree, generating toilet management information for inducing toilet management before reaching the main visit time zone of the toilet, checking the age range of users who used the toilet owned by the toilet manager, generating the age distribution degree, and generating the main visit age of the bathroom based on the age distribution degree, obtaining the interior trend of the main visit age of the bathroom based on the main visit age of the bathroom and generating bathroom remodeling information including interior trends of the main visit age, and generating a report including the bathroom rebalancing information, the bathroom management information, and the bathroom remodeling information, and providing the report to the bathroom manager.

사용자 위치 기반 화장실 이용 및 결제 서비스 제공 방법은 상기 화장실에 설치된 열화상 카메라를 통해 상기 화장실의 제1 열화상 영상을 촬영하고, 상기 제1 열화상 영상을 기초로, 상기 지역의 화재 발생 위험 여부를 판단하는 단계;를 더 포함하고, 상기 화재 발생 위험 여부를 판단하는 단계는, 상기 제1 열화상 영상의 제1 시점에서 제1 이미지를 추출하는 단계, 상기 제1 열화상 영상의 제1 시점으로부터 소정의 시간이 경과한 제2 시점에서 제2 이미지를 추출하는 단계, 상기 제2 이미지로부터, 상기 제2 이미지에서 나타나는 최저 온도부터 최고 온도까지의 색상 스펙트럼을 생성하는 단계, 상기 색상 스펙트럼을 기반으로, 상기 제2 이미지에서 나타나는 최저 온도부터 최고 온도까지의 색상을 적어도 5개 이상의 등급으로 구분하는 단계, 상기 등급을 기반으로, 상기 제1 이미지 및 제2 이미지에 나타나는 제1 색상들을 각 등급에 따라 제2 색상으로 변환하는 단계, 상기 제2 색상들이 상기 제1 이미지 내에서 나타나는 제1 픽셀 수들을 각 제2 색상마다 카운트하는 단계, 상기 제2 색상들이 상기 제2 이미지 내에서 나타나는 제2 픽셀 수들을 각 제2 색상마다 카운트하는 단계, 상기 제1 이미지의 총 픽셀 수인 제3 픽셀 수를 카운트하는 단계, [제1 픽셀 수 / 제3 픽셀 수 = 제1 비율] 및 [제2 픽셀 수 / 제3 픽셀 수 = 제2 비율]을 상기 각 제2 색상마다 산출하는 단계, 상기 제2 색상 중, 적어도 네 등급 이상 차이나는 제2 색상들의 조합인 점검군을 적어도 하나 추출하는 단계, 상기 점검군마다, [점검군 중 상대적으로 낮은 등급의 제2 색상인 제3 색상]의 [(제1 비율 - 제2 비율) / 제1 비율 = 제1 증감율]을 산출하는 단계, 상기 점검군마다, [점검군 중 상대적으로 높은 등급의 제2 색상인 제4 색상]의 [(제2 비율 - 제1 비율) / 제1 비율 = 제2 증감율]을 산출하는 단계, 상기 점검군마다, [(제2 증감율 - 제1 증감율) * 제2 색상간 등급 차이 = 제1 증가 지수]를 산출하는 단계, 상기 점검군이 하나인 경우 상기 제1 증가 지수를 제2 증가 지수로 반환하고, 상기 점검군이 둘 이상인 경우, 상기 점검군들의 제1 증가 지수의 평균값을 제2 증가 지수로 반환하는 단계, 및 상기 제2 증가 지수가 소정의 수치 이상인 경우, 화재 발생 위험이 있는 것으로 판단하는 단계를 포함한다.The user location-based toilet use and payment service providing method further includes: capturing a first thermal image of the bathroom through a thermal imaging camera installed in the bathroom, and determining whether there is a risk of fire in the area based on the first thermal image, wherein the step of determining whether there is a risk of fire includes: extracting a first image from a first time point of the first thermal image; extracting a second image from a second time point after a predetermined time has elapsed from the first time point of the first thermal image; Generating a color spectrum from the second image from the lowest temperature to the highest temperature appearing in the second image, classifying colors from the lowest temperature to the highest temperature appearing in the second image into at least five grades based on the color spectrum, converting the first colors appearing in the first image and the second image into second colors according to each grade based on the grades, counting the number of first pixels in which the second colors appear in the first image for each second color, the second colors Counting the number of second pixels appearing in the second image for each second color, counting the number of third pixels, which is the total number of pixels of the first image, calculating [number of first pixels / number of third pixels = first ratio] and [number of second pixels / number of third pixels = second ratio] for each second color, extracting at least one check group that is a combination of second colors that differ by at least four grades among the second colors, step of extracting at least one check group, for each check group, [relatively low rank among check groups Calculating [(first rate - second rate) / first rate = first change rate] of [(first rate - second rate) / first rate = first change rate] of [(first rate - second rate) / first rate = first change rate] of [(second rate - first rate) / first rate = second change rate] of [fourth color, which is a second color with a relatively higher rank among the check groups] for each check group, calculating [(second change rate - first change rate) * grade difference between second colors = first increase index] for each check group Returning the first incremental factor to a second incremental factor when the inspection group is one, returning the average value of the first incremental factors of the inspection groups as a second incremental factor when the inspection group is two or more, and determining that there is a risk of fire if the second incremental factor is equal to or greater than a predetermined value.

실시예들은 사용자 위치를 기반으로 화장실 이용 및 결제 서비스를 제공할 수 있다.Embodiments may provide toilet use and payment services based on user location.

실시예들은 화장실의 정보를 기초로, 화장실의 기본 비용을 선정할 수 있다.Embodiments may select a basic cost of a toilet based on information about the toilet.

실시예들은 화장실 관리자에게 화장실 관리자가 보유한 화장실에 대한 정보를 포함하는 보고서를 제공할 수 있다.Embodiments may provide a toilet manager with a report including information about toilets owned by the toilet manager.

한편, 실시예들에 따른 효과들은 이상에서 언급한 것으로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 아래의 기재로부터 해당 기술 분야의 통상의 지식을 가진 자에게 명확히 이해될 수 있을 것이다.On the other hand, the effects according to the embodiments are not limited to those mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art from the description below.

도 1은 일실시예에 따른 시스템의 구성을 개략적으로 나타낸 도면이다.
도 2는 일실시예에 따른 사용자의 위치를 기반으로 화장실 이용 및 결제 서비스를 제공하는 과정을 설명하기 위한 순서도이다.
도 3은 일실시예에 따른 제1 화장실에 대응하는 기본 비용을 선정하기 위한 순서도이다.
도 4는 일실시예에 따른 화장실의 위치가 번화가인지 여부를 판단하는 과정을 설명하기 위한 순서도이다.
도 5는 일실시예에 따른 화장실 관리자에게 보고서를 제공하는 과정을 설명하기 위한 순서도이다.
도 6은 일실시예에 따른 열화상 카메라를 기반으로 한 화재 발생 위험 여부를 판단하는 과정을 설명하기 위한 순서도이다.
도 7은 일실시예에 따른 스펙트럼 막대의 도면이다.
도 8은 일실시예에 따른 장치의 구성의 예시도이다.
1 is a diagram schematically showing the configuration of a system according to an embodiment.
2 is a flowchart illustrating a process of providing a toilet use and payment service based on a user's location according to an embodiment.
3 is a flowchart for selecting a basic cost corresponding to a first bathroom according to an embodiment.
4 is a flowchart illustrating a process of determining whether a toilet is located on a busy street according to an exemplary embodiment.
5 is a flowchart illustrating a process of providing a report to a bathroom manager according to an embodiment.
6 is a flowchart illustrating a process of determining whether there is a risk of fire based on a thermal imaging camera according to an exemplary embodiment.
7 is a diagram of spectral bars according to one embodiment.
8 is an exemplary diagram of a configuration of a device according to an embodiment.

이하에서, 첨부된 도면을 참조하여 실시예들을 상세하게 설명한다. 그러나, 실시예들에는 다양한 변경이 가해질 수 있어서 특허출원의 권리 범위가 이러한 실시예들에 의해 제한되거나 한정되는 것은 아니다. 실시예들에 대한 모든 변경, 균등물 내지 대체물이 권리 범위에 포함되는 것으로 이해되어야 한다.Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. However, since various changes can be made to the embodiments, the scope of the patent application is not limited or limited by these embodiments. It should be understood that all changes, equivalents or substitutes to the embodiments are included within the scope of rights.

실시예들에 대한 특정한 구조적 또는 기능적 설명들은 단지 예시를 위한 목적으로 개시된 것으로서, 다양한 형태로 변경되어 실시될 수 있다. 따라서, 실시예들은 특정한 개시형태로 한정되는 것이 아니며, 본 명세서의 범위는 기술적 사상에 포함되는 변경, 균등물, 또는 대체물을 포함한다.Specific structural or functional descriptions of the embodiments are disclosed for illustrative purposes only, and may be modified and implemented in various forms. Therefore, the embodiments are not limited to the specific disclosed form, and the scope of the present specification includes changes, equivalents, or substitutes included in the technical spirit.

제1 또는 제2 등의 용어를 다양한 구성요소들을 설명하는데 사용될 수 있지만, 이런 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 해석되어야 한다. 예를 들어, 제1 구성요소는 제2 구성요소로 명명될 수 있고, 유사하게 제2 구성요소는 제1 구성요소로도 명명될 수 있다.Although terms such as first or second may be used to describe various components, such terms should only be construed for the purpose of distinguishing one component from another. For example, a first element may be termed a second element, and similarly, a second element may be termed a first element.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다.It should be understood that when an element is referred to as being “connected” to another element, it may be directly connected or connected to the other element, but other elements may exist in the middle.

실시예에서 사용한 용어는 단지 설명을 목적으로 사용된 것으로, 한정하려는 의도로 해석되어서는 안된다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 본 명세서에서, "포함하다" 또는 "가지다" 등의 용어는 명세서 상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.Terms used in the examples are used only for descriptive purposes and should not be construed as limiting. Singular expressions include plural expressions unless the context clearly dictates otherwise. In this specification, terms such as "comprise" or "having" are intended to specify that a feature, number, step, operation, component, part, or combination thereof described in the specification exists, but it should be understood that the presence or addition of one or more other features or numbers, steps, operations, components, parts, or combinations thereof is not excluded in advance.

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 실시예가 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless defined otherwise, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by a person of ordinary skill in the art to which the embodiment belongs. Terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with the meaning in the context of the related art, and are not interpreted in an ideal or excessively formal meaning unless explicitly defined in the present application.

또한, 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 실시예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 실시예의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.In addition, in the description with reference to the accompanying drawings, the same reference numerals are given to the same components regardless of reference numerals, and overlapping descriptions thereof will be omitted. In describing the embodiment, if it is determined that a detailed description of a related known technology may unnecessarily obscure the gist of the embodiment, the detailed description will be omitted.

실시예들은 퍼스널 컴퓨터, 랩톱 컴퓨터, 태블릿 컴퓨터, 스마트 폰, 텔레비전, 스마트 가전 기기, 지능형 자동차, 키오스크, 웨어러블 장치 등 다양한 형태의 제품으로 구현될 수 있다.The embodiments may be implemented in various types of products such as personal computers, laptop computers, tablet computers, smart phones, televisions, smart home appliances, intelligent vehicles, kiosks, and wearable devices.

도 1은 일실시예에 따른 시스템의 구성을 개략적으로 나타낸 도면이다.1 is a diagram schematically showing the configuration of a system according to an embodiment.

도 1을 참조하면, 일실시예에 따른 시스템은 통신망을 통해 서로 통신 가능한 화장실 관리자의 단말(110), 사용자의 단말(120) 및 장치(200)를 포함할 수 있다.Referring to FIG. 1 , a system according to an embodiment may include a toilet manager terminal 110, a user terminal 120, and a device 200 capable of communicating with each other through a communication network.

먼저, 통신망은 유선 및 무선 등과 같이 그 통신 양태를 가리지 않고 구성될 수 있으며, 서버와 서버 간의 통신과 서버와 단말 간의 통신이 수행되도록 다양한 형태로 구현될 수 있다.First, a communication network may be configured regardless of its communication mode, such as wired or wireless, and may be implemented in various forms so that communication between servers and communication between servers and terminals is performed.

화장실 관리자의 단말(110)은 화장실을 보유하고, 보유한 화장실을 유료로 사용자에게 제공하고자 하는 화장실 관리자가 사용하는 단말로, 휴대전화기, 데스크톱 PC, 랩탑 PC, 태블릿 PC, 스마트폰 등으로 구현될 수 있으나, 이에 제한되지는 않으며, 외부 서버와 연결될 수 있는 다양한 형태의 통신 장치로 구현될 수도 있다. 예를 들어, 도 1에 도시된 바와 같이, 화장실 관리자의 단말(110)은 스마트폰일 수 있으며, 실시예에 따라 달리 채용될 수도 있다.The terminal 110 of the toilet manager is a terminal used by a toilet manager who has a toilet and wants to provide the toilet to the user for a fee, and may be implemented as a mobile phone, desktop PC, laptop PC, tablet PC, smartphone, etc., but is not limited thereto, and may be implemented as various types of communication devices that can be connected to external servers. For example, as shown in FIG. 1 , the toilet manager's terminal 110 may be a smart phone, and may be employed differently depending on the embodiment.

사용자의 단말(120)은 유료 화장실을 이용하고자 하는 사용자가 사용하는 단말로, 휴대전화기, 데스크톱 PC, 랩탑 PC, 태블릿 PC, 스마트폰 등으로 구현될 수 있으나, 이에 제한되지는 않으며, 외부 서버와 연결될 수 있는 다양한 형태의 통신 장치로 구현될 수도 있다. 예를 들어, 도 1에 도시된 바와 같이, 사용자의 단말(120)은 스마트폰일 수 있으며, 실시예에 따라 달리 채용될 수도 있다.The user's terminal 120 is a terminal used by a user who wants to use a pay toilet, and may be implemented as a mobile phone, desktop PC, laptop PC, tablet PC, smart phone, etc., but is not limited thereto, and may be implemented as various types of communication devices that can be connected to an external server. For example, as shown in FIG. 1 , the user's terminal 120 may be a smart phone, and may be employed differently depending on embodiments.

화장실 관리자의 단말(110) 및 사용자의 단말(120)은 통상의 컴퓨터가 가지는 연산 기능, 저장/참조 기능, 입출력 기능 및 제어 기능을 전부 또는 일부 수행하도록 구성될 수 있다. 화장실 관리자의 단말(110) 및 사용자의 단말(120)은 장치(200)와 유무선으로 통신하도록 구성될 수 있다.The toilet manager's terminal 110 and the user's terminal 120 may be configured to perform all or part of an arithmetic function, a storage/reference function, an input/output function, and a control function of a typical computer. The toilet manager's terminal 110 and the user's terminal 120 may be configured to communicate with the device 200 by wire or wireless.

화장실 관리자의 단말(110) 및 사용자의 단말(120)은 장치(200)를 이용하여 서비스를 제공하는 자 내지 단체가 운영하는 웹 사이트에 접속되거나, 장치(200)를 이용하여 서비스를 제공하는 자 내지 단체가 개발·배포한 애플리케이션이 설치될 수 있다. 화장실 관리자의 단말(110) 및 사용자의 단말(120)은 웹 사이트 또는 애플리케이션을 통해 장치(200)와 연동될 수 있다.The toilet manager's terminal 110 and the user's terminal 120 are connected to a website operated by a service provider or organization using the device 200, or a service provider using the device 200. Applications developed and distributed by organizations may be installed. The toilet manager's terminal 110 and the user's terminal 120 may interwork with the device 200 through a website or application.

도1 및 이하의 설명에서는, 설명의 편의상, 화장실 관리자의 단말(110) 및 사용자의 단말(120) 각각 하나만을 도시하고 설명하였으나, 단말들의 수는 실시예에 따라 얼마든지 달라질 수 있다. 장치(200)의 처리 용량이 허용하는 한, 단말들의 수는 특별한 제한이 없다.In FIG. 1 and the following description, for convenience of description, only one terminal 110 of a toilet manager and one terminal 120 of a user are illustrated and described, but the number of terminals may vary according to embodiments. As long as the processing capacity of the device 200 allows, the number of terminals is not particularly limited.

장치(200)는 장치(200)를 이용하여 서비스를 제공하는 자 내지 단체가 보유한 자체 서버일수도 있고, 클라우드 서버일 수도 있고, 분산된 노드(node)들의 p2p(peer-to-peer) 집합일 수도 있다. 장치(200)는 통상의 컴퓨터가 가지는 연산 기능, 저장/참조 기능, 입출력 기능 및 제어 기능을 전부 또는 일부 수행하도록 구성될 수 있다. 장치(200)는 화장실 관리자의 단말(110) 및 사용자의 단말(120)과 유무선으로 통신하도록 구성될 수 있다. The device 200 may be a server owned by a person or organization that provides services using the device 200, may be a cloud server, or may be a peer-to-peer (p2p) set of distributed nodes. The device 200 may be configured to perform all or some of the arithmetic function, storage/reference function, input/output function, and control function of a normal computer. The device 200 may be configured to communicate with the toilet manager's terminal 110 and the user's terminal 120 through wired or wireless communication.

또한, 장치(200)는 SNS를 포함하는 웹사이트와 유무선으로 통신할 수 있으며, 웹사이트에 접속하여 정보를 획득할 수 있다.In addition, the device 200 may communicate with a website including an SNS by wire or wirelessly, and obtain information by accessing the website.

장치(200)는 화장실 관리자의 단말(110)로부터 화장실의 위치, 화장실의 옵션을 포함하는 화장실의 정보를 수집하고, 화장실의 정보에 포함된 화장실의 위치를 지도 데이터베이스에 매칭하고, 사용자의 단말(120)로부터 근방 화장실의 정보 제공 요청을 수신하고, 사용자의 단말(120)로부터 사용자의 위치를 획득하고, 사용자의 위치 및 지도 데이터베이스를 기초로, 사용자의 위치에서 제1 거리 이내에 포함된 화장실인 근방 화장실을 획득하고, 사용자의 단말(120)로 근방 화장실의 정보를 제공하고, 사용자의 단말(120)로부터 근방 화장실 중 어느 하나인 제1 화장실이 선택되면, 사용자의 단말(120)로 제1 화장실에 대응하는 기본 비용 및 제1 화장실의 정보를 제공하고, 사용자의 단말(120)로부터 제1 화장실을 사용할 것이라는 요청을 수신하면, 사용자의 단말(120)과 제1 화장실 간의 거리가 제2 거리 이내인지 여부를 판단하고, 사용자의 단말과 제1 화장실 간의 거리가 제2 거리 이내인 경우, 제1 화장실이 자동으로 열리도록 제어하고, 사용자의 단말(120)이 제1 화장실 내에 위치한 것이 확인되면, 제1 화장실이 자동으로 잠기도록 제어하고, 사용자의 단말(120)이 제1 화장실 내에 위치한 시간이 화장실 방문 시간을 측정하고, 제1 화장실에 대응하는 기본 비용 및 화장실 방문 시간을 기초로, 최종 결제 비용을 생성하고, 사용자의 단말(120)로부터 최종 결제 비용이 지불되도록 관리할 수 있다.The apparatus 200 collects toilet information including the location of the toilet and toilet options from the terminal 110 of the toilet manager, matches the location of the toilet included in the toilet information to a map database, receives a request for providing information on a nearby toilet from the user terminal 120, obtains the user's location from the user terminal 120, and obtains a nearby toilet that is a toilet included within a first distance from the user's location based on the user's location and the map database, and the user's terminal 120 ), provides information on nearby toilets, and when a first toilet, which is one of the nearby toilets, is selected from the user's terminal 120, basic cost corresponding to the first toilet and information on the first toilet are provided to the user's terminal 120, When a request to use the first toilet is received from the user's terminal 120, it is determined whether the distance between the user's terminal 120 and the first toilet is within a second distance, and if the distance between the user terminal and the first toilet is within a second distance, The first toilet may be controlled to automatically open, and when it is confirmed that the user's terminal 120 is located in the first toilet, the first toilet may be controlled to be automatically locked, and the time the user's terminal 120 is located in the first toilet may measure the bathroom visit time, generate a final payment cost based on the basic cost corresponding to the first bathroom and the bathroom visit time, and manage the final payment cost to be paid from the user's terminal 120.

본 발명에서, 인공지능(Artificial Intelligence, AI)은 인간의 학습능력, 추론능력, 지각능력 등을 모방하고, 이를 컴퓨터로 구현하는 기술을 의미하고, 기계 학습, 심볼릭 로직(Symbolic Logic) 등의 개념을 포함할 수 있다. 기계 학습(Machine Learning, ML)은 입력 데이터들의 특징을 스스로 분류 또는 학습하는 알고리즘 기술이다. 인공지능의 기술은 기계 학습의 알고리즘으로써 입력 데이터를 분석하고, 그 분석의 결과를 학습하며, 그 학습의 결과에 기초하여 판단이나 예측을 할 수 있다. 또한, 기계 학습의 알고리즘을 활용하여 인간 두뇌의 인지, 판단 등의 기능을 모사하는 기술들 역시 인공지능의 범주로 이해될 수 있다. 예를 들어, 언어적 이해, 시각적 이해, 추론/예측, 지식 표현, 동작 제어 등의 기술 분야가 포함될 수 있다.In the present invention, artificial intelligence (AI) means a technology that imitates human learning ability, reasoning ability, perception ability, etc., and implements it with a computer, and includes concepts such as machine learning and symbolic logic. Machine learning (ML) is an algorithm technology that classifies or learns the characteristics of input data by itself. Artificial intelligence technology is a machine learning algorithm that analyzes input data, learns the result of the analysis, and can make judgments or predictions based on the result of the learning. In addition, technologies that mimic the functions of the human brain, such as recognition and judgment, using machine learning algorithms, can also be understood as artificial intelligence. For example, technical fields such as linguistic understanding, visual understanding, inference/prediction, knowledge expression, and motion control may be included.

기계 학습은 데이터를 처리한 경험을 이용해 신경망 모델을 훈련시키는 처리를 의미할 수 있다. 기계 학습을 통해 컴퓨터 소프트웨어는 스스로 데이터 처리 능력을 향상시키는 것을 의미할 수 있다. 신경망 모델은 데이터 사이의 상관 관계를 모델링하여 구축된 것으로서, 그 상관 관계는 복수의 파라미터에 의해 표현될 수 있다. 신경망 모델은 주어진 데이터로부터 특징들을 추출하고 분석하여 데이터 간의 상관 관계를 도출하는데, 이러한 과정을 반복하여 신경망 모델의 파라미터를 최적화해 나가는 것이 기계 학습이라고 할 수 있다. 예를 들어, 신경망 모델은 입출력 쌍으로 주어지는 데이터에 대하여, 입력과 출력 사이의 매핑(상관 관계)을 학습할 수 있다. 또는, 신경망 모델은 입력 데이터만 주어지는 경우에도 주어진 데이터 사이의 규칙성을 도출하여 그 관계를 학습할 수도 있다.Machine learning may refer to processing that trains a neural network model using experience of processing data. Through machine learning, computer software could mean improving its own data processing capabilities. A neural network model is constructed by modeling a correlation between data, and the correlation may be expressed by a plurality of parameters. The neural network model derives a correlation between data by extracting and analyzing features from given data, and optimizing the parameters of the neural network model by repeating this process can be referred to as machine learning. For example, a neural network model may learn a mapping (correlation) between an input and an output with respect to data given as an input/output pair. Alternatively, even when only input data is given, the neural network model may learn the relationship by deriving a regularity between given data.

인공지능 학습모델 또는 신경망 모델은 인간의 뇌 구조를 컴퓨터 상에서 구현하도록 설계될 수 있으며, 인간의 신경망의 뉴런(neuron)을 모의하며 가중치를 가지는 복수의 네트워크 노드들을 포함할 수 있다. 복수의 네트워크 노드들은 뉴런이 시냅스(synapse)를 통하여 신호를 주고받는 뉴런의 시냅틱(synaptic) 활동을 모의하여, 서로 간의 연결 관계를 가질 수 있다. 인공지능 학습모델에서 복수의 네트워크 노드들은 서로 다른 깊이의 레이어에 위치하면서 컨볼루션(convolution) 연결 관계에 따라 데이터를 주고받을 수 있다. 인공지능 학습모델은, 예를 들어, 인공 신경망 모델(Artificial Neural Network), 컨볼루션 신경망 모델(Convolution Neural Network: CNN) 등일 수 있다. 일 실시예로서, 인공지능 학습모델은, 지도학습(Supervised Learning), 비지도 학습(Unsupervised Learning), 강화 학습(Reinforcement Learning) 등의 방식에 따라 기계 학습될 수 있다. 기계 학습을 수행하기 위한 기계 학습 알고리즘에는, 의사결정트리(Decision Tree), 베이지안 망(Bayesian Network), 서포트 벡터 머신(Support Vector Machine), 인공 신경망(Artificial Neural Network), 에이다부스트(Ada-boost), 퍼셉트론(Perceptron), 유전자 프로그래밍(Genetic Programming), 군집화(Clustering) 등이 사용될 수 있다.An artificial intelligence learning model or a neural network model may be designed to implement a human brain structure on a computer, and may include a plurality of network nodes having weights while simulating neurons of a human neural network. A plurality of network nodes may have a connection relationship between them by simulating synaptic activities of neurons that transmit and receive signals through synapses. In the artificial intelligence learning model, a plurality of network nodes can send and receive data according to a convolutional connection relationship while being located in layers of different depths. The artificial intelligence learning model may be, for example, an artificial neural network model, a convolutional neural network model (CNN), and the like. As an embodiment, the artificial intelligence learning model may be machine-learned according to methods such as supervised learning, unsupervised learning, and reinforcement learning. Machine learning algorithms for performing machine learning include decision trees, Bayesian networks, support vector machines, artificial neural networks, Ada-boost, Perceptron, genetic programming, clustering, and the like.

이중, CNN은 최소한의 전처리(preprocess)를 사용하도록 설계된 다계층 퍼셉트론(multilayer perceptrons)의 한 종류이다. CNN은 하나 또는 여러 개의 합성곱 계층과 그 위에 올려진 일반적인 인공 신경망 계층들로 이루어져 있으며, 가중치와 통합 계층(pooling layer)들을 추가로 활용한다. 이러한 구조 덕분에 CNN은 2차원 구조의 입력 데이터를 충분히 활용할 수 있다. 다른 딥러닝 구조들과 비교해서, CNN은 영상, 음성 분야 모두에서 좋은 성능을 보여준다. CNN은 또한 표준 역전달을 통해 훈련될 수 있다. CNN은 다른 피드포워드 인공신경망 기법들보다 쉽게 훈련되는 편이고 적은 수의 매개변수를 사용한다는 이점이 있다.Of these, CNNs are a type of multilayer perceptrons designed to use minimal preprocessing. A CNN consists of one or several convolution layers and general artificial neural network layers on top, and additionally utilizes weights and pooling layers. Thanks to this structure, CNN can fully utilize the input data with a two-dimensional structure. Compared to other deep learning structures, CNN shows good performance in both video and audio fields. CNNs can also be trained via standard back-propagation. CNNs are easier to train than other feedforward artificial neural network techniques and have the advantage of using fewer parameters.

컨볼루션 네트워크는 묶인 파라미터들을 가지는 노드들의 집합들을 포함하는 신경 네트워크들이다. 사용 가능한 트레이닝 데이터의 크기 증가와 연산 능력의 가용성이, 구분적 선형 단위 및 드롭아웃 트레이닝과 같은 알고리즘 발전과 결합되어, 많은 컴퓨터 비전 작업들이 크게 개선되었다. 오늘날 많은 작업에 사용할 수 있는 데이터 세트들과 같은 엄청난 양의 데이터 세트에서는 초과 맞춤(outfitting)이 중요하지 않으며, 네트워크의 크기를 늘리면 테스트 정확도가 향상된다. 컴퓨팅 리소스들의 최적 사용은 제한 요소가 된다. 이를 위해, 심층 신경 네트워크들의 분산된, 확장 가능한 구현예가 사용될 수 있다.Convolutional networks are neural networks that contain sets of nodes with bound parameters. The increasing size of available training data and the availability of computational power, combined with algorithmic advances such as piecewise linear unit and dropout training, have greatly improved many computer vision tasks. With huge data sets, such as those available for many tasks today, overfitting is not critical, and increasing the size of the network improves test accuracy. Optimal use of computing resources becomes a limiting factor. To this end, a distributed, scalable implementation of deep neural networks can be used.

도 2는 일실시예에 따른 사용자의 위치를 기반으로 화장실 이용 및 결제 서비스를 제공하는 과정을 설명하기 위한 순서도이다.2 is a flowchart illustrating a process of providing a toilet use and payment service based on a user's location according to an embodiment.

도 2을 참조하면, 먼저, S201 단계에서, 장치(200)는 화장실 관리자의 단말(110)로부터 화장실의 위치, 화장실의 옵션을 포함하는 화장실의 정보를 수집할 수 있다. 여기서, 화장실의 정보는 화장실의 위치, 화장실의 옵션을 포함하며, 화장실의 관리 주기, 화장실의 크기, 화장실의 칸 수, 화장실의 방음 수준이 더 포함될 수 있다. Referring to FIG. 2 , first, in step S201 , the device 200 may collect toilet information including a toilet location and toilet options from the toilet manager's terminal 110 . Here, the toilet information includes a toilet location and toilet options, and may further include a toilet management cycle, a toilet size, the number of toilet compartments, and a soundproofing level of the toilet.

구체적으로, 장치(200)는 화장실의 관리자의 단말(110)로부터 사용자에게 유료로 제공하고자 하는 화장실의 위치, 화장실의 옵션을 포함하는 화장실의 정보를 수집할 수 있다.In detail, the device 200 may collect toilet information including toilet location and toilet options to be provided to the user for a fee from the terminal 110 of the toilet manager.

S202 단계에서, 장치(200)는 화장실의 정보에 포함된 화장실의 위치를 지도 데이터베이스에 매칭할 수 있다. 여기서, 장치(200)는 지도 데이터베이스를 포함할 수 있으며, 장치(200)는 지도 데이터베이스를 통해 화장실이 위치한 화장실의 위치를 지도와 매칭하여 확인할 수 있고, 지도 데이터베이스에 화장실의 위치와 함께 화장실의 정보를 저장하여, 사용자의 위치와 지도 데이터베이스에 저장된 화장실의 위치를 비교하여 사용자의 위치에서 제1 거리 이내에 있는 화장실을 확인할 수 있고, 확인된 화장실의 정보를 사용자에게 정보를 제공할 수 있다.In step S202, the device 200 may match the location of the toilet included in the toilet information to a map database. Here, the device 200 may include a map database, and the device 200 may check the location of the toilet where the toilet is located by matching it with a map through the map database, store the information of the toilet together with the location of the toilet in the map database, compare the location of the user with the location of the bathroom stored in the map database to identify a toilet within a first distance from the user's location, and provide information about the identified toilet to the user.

구체적으로, 장치(200)는 지도 데이터베이스를 구비할 수 있고, 화장실 관리자의 단말(110)로부터 획득한 화장실의 정보에 포함된 화장실의 위치를 기초로 구비된 지도 데이터베이스에 화장실의 위치에 대응하여 화장실의 정보를 매칭하여 저장할 수 있다.Specifically, the device 200 may have a map database, and correspond to the location of the bathroom in the map database provided based on the location of the bathroom included in the information about the bathroom obtained from the terminal 110 of the bathroom manager. The information of the bathroom can be matched and stored.

S203 단계에서, 장치(200)는 사용자의 단말(120)로부터 근방 화장실의 정보 제공 요청을 수신하고, 사용자의 단말(120)로부터 사용자의 위치를 획득할 수 있다.In step S203 , the device 200 may receive a request for providing information on a nearby toilet from the user's terminal 120 and obtain the user's location from the user's terminal 120 .

구체적으로, 장치(200)는 사용자의 단말(120)로부터 사용자 근방에 있는 근방 화장실의 정보를 제공해달라는 요청을 수신할 수 있고, 사용자의 단말(120)로부터 근방 화장실의 정보 제공 요청이 수신되면, 사용자의 단말(120)로부터 사용자가 현재 어디에 위치하였는지에 대한 정보인 사용자의 위치를 획득할 수 있다.Specifically, the device 200 may receive a request from the user's terminal 120 to provide information on a nearby toilet near the user, and when a request for providing information on a nearby toilet is received from the user's terminal 120, the user's location, which is information about where the user is currently located, may be obtained from the user's terminal 120.

S204 단계에서, 장치(200)는 사용자의 위치 및 지도 데이터베이스를 기초로, 사용자의 위치에서 제1 거리 이내에 포함된 화장실인 근방 화장실을 획득할 수 있다. 여기서, 제1 거리는 미리 설정된 거리이며, 실시 예에 따라 달라질 수 있다.In step S204, the device 200 may obtain a nearby toilet, which is a toilet included within a first distance from the user's location, based on the user's location and the map database. Here, the first distance is a preset distance and may vary according to embodiments.

구체적으로, 장치(200)는 사용자의 단말(120)로부터 근방 화장실의 정보 제공 요청이 수신되면, 사용자의 단말(120)로부터 사용자의 위치를 획득할 수 있고, 사용자의 위치와 지도 데이터베이스에 저장된 화장실의 위치를 비교하여 사용자의 위치에서 제1 거리 이내에 있는 화장실인 근방 화장실을 확인할 수 있다.Specifically, when a request for providing information on a nearby toilet is received from the user's terminal 120, the device 200 may obtain the user's location from the user's terminal 120, compare the user's location with the location of the toilet stored in the map database, and identify a nearby toilet within a first distance from the user's location.

S205 단계에서, 장치(200)는 사용자의 단말(120)로 근방 화장실의 정보를 제공할 수 있다.In step S205, the device 200 may provide information on nearby toilets to the user's terminal 120.

구체적으로, 장치(200)는 사용자의 위치 및 지도 데이터베이스를 통해 사용자의 위치에서 제1 거리 이내에 포함된 화장실인 근방 화장실을 획득하면, 사용자의 단말(120)로 근방 화장실의 정보를 제공할 수 있다.Specifically, when the device 200 acquires a nearby toilet that is included within a first distance from the user's location through the user's location and map database, the device 200 may provide information on the nearby toilet to the user's terminal 120 .

S206 단계에서, 장치(200)는 사용자의 단말(120)로부터 근방 화장실 중 어느 하나인 제1 화장실이 선택되면, 사용자의 단말(120)로 제1 화장실에 대응하는 기본 비용 및 제1 화장실의 정보를 제공할 수 있다.In step S206, when a first toilet, which is one of nearby toilets, is selected from the user's terminal 120, the device 200 provides the user's terminal 120 with a basic cost corresponding to the first toilet and information on the first toilet.

구체적으로, 장치(200)는 사용자의 단말(120)로 근방 화장실의 정보를 제공할 수 있으며, 사용자의 단말(120)은 근방 화장실 중 어느 하나인 제1 화장실을 선택할 수 있다. 사용자의 단말(120)을 통해 근방 화장실 중 어느 하나의 제1 화장실이 선택되면, 장치(200)는 사용자의 단말(120)로부터 제1 화장실이 선택되었다는 정보를 수신할 수 있으며, 사용자의 단말(120)로부터 제1 화장실이 선택되었다는 정보를 수신하면, 사용자의 단말(120)로 제1 화장실에 대응하는 기본 비용 및 제1 화장실의 정보를 제공할 수 있다. 여기서, 제1 화장실에 대응하는 기본 비용은 제1 화장실의 정보를 통해 선정될 수 있으며, 제1 화장실에 대응하는 기본 비용을 선정하는 과정은 도 3을 참조하기로 한다.Specifically, the device 200 may provide information on nearby toilets to the user's terminal 120, and the user's terminal 120 may select a first toilet, which is one of the nearby toilets. When one of the nearby toilets is selected through the user's terminal 120, the device 200 may receive information that the first toilet is selected from the user's terminal 120, and upon receiving information that the first toilet is selected from the user's terminal 120, the device 200 may provide the user's terminal 120 with basic cost corresponding to the first toilet and information on the first toilet. Here, the basic cost corresponding to the first toilet may be selected through information on the first toilet, and a process of selecting the basic cost corresponding to the first toilet will be referred to FIG. 3 .

S207 단계에서, 장치(200)는 사용자의 단말(120)로부터 제1 화장실을 사용할 것이라는 요청을 수신하면, 사용자의 단말(120)과 제1 화장실 간의 거리가 제2 거리 이내인지 여부를 판단하고, 사용자의 단말(120)과 제1 화장실 간의 거리가 제2 거리 이내인 경우, 제1 화장실이 자동으로 열리도록 제어할 수 있다. 여기서, 제2 거리는 제1 거리보다 가깝게 미리 설정된 거리이며, 실시 예에 따라 달라질 수 있다.In step S207, when receiving a request to use the first toilet from the user's terminal 120, the device 200 determines whether the distance between the user's terminal 120 and the first toilet is within a second distance, and if the distance between the user's terminal 120 and the first toilet is within the second distance, the first toilet may be automatically opened. Here, the second distance is a preset distance shorter than the first distance, and may vary according to embodiments.

구체적으로, 장치(200)는 사용자의 단말(120)로 제1 화장실에 대응하는 기본 비용 및 제1 화장실의 정보를 제공하고, 사용자의 단말(120)로부터 제1 화장실을 사용할 것이라는 요청이 수신되면, 사용자의 단말(120)과 제1 화장실 간의 거리가 제2 거리 이내인지 여부를 판단할 수 있고, 사용자의 단말(120)과 제1 화장실 간의 거리가 제2 거리 이내라고 판단되면, 제1 화장실이 자동으로 열리도록 제어할 수 있다. 이때, 제1 화장실에는 화장실 기기가 구비될 수 있으며, 화장실 기기는 장치(200)와 유무선으로 통신할 수 있고, 화장실 기기는 장치(200)를 통해 제어될 수 있으며, 장치(200)의 제어에 의해 제1 화장실 문이 자동으로 열리도록 할 수 있다. Specifically, the device 200 provides basic cost corresponding to the first toilet and information on the first toilet to the user's terminal 120, and when a request to use the first toilet is received from the user's terminal 120, the device 200 may determine whether the distance between the user's terminal 120 and the first toilet is within a second distance, and if it is determined that the distance between the user terminal 120 and the first toilet is within a second distance, the first toilet may be automatically opened. At this time, the first toilet may be provided with a toilet device, the toilet device may communicate with the device 200 by wire or wireless, the toilet device may be controlled through the device 200, and the device 200 The first bathroom door may be automatically opened by control.

즉, 장치(200)는 제1 화장실에 구비된 화장실 기기의 위치, 및 사용자의 단말(120)로부터 획득한 사용자의 위치를 기초로, 사용자의 단말(120)과 제1 화장실 간의 거리가 제2 거리 이내인지 여부를 판단할 수 있고, 장치(200)는 사용자의 단말(120)과 제1 화장실 간의 거리가 제2 거리 이내라고 판단되면, 화장실 기기를 제어하여 제1 화장실이 자동으로 열리도록 할 수 있다.That is, the device 200 may determine whether or not the distance between the user terminal 120 and the first toilet is within the second distance based on the position of the toilet device provided in the first toilet and the user's location acquired from the user terminal 120. When the distance between the user terminal 120 and the first toilet is determined to be within the second distance, the device 200 may control the toilet device to automatically open the first toilet.

또한, 장치(200)는 사용자의 단말(120)과 제1 화장실 간의 거리가 제2 거리 이내가 아니라고 판단되면, 화장실 기기를 제어하지 않아 제1 화장실이 열리지 않도록 할 수 있다.In addition, when the apparatus 200 determines that the distance between the user's terminal 120 and the first toilet is not within the second distance, the device 200 may prevent the first toilet from being opened by not controlling the toilet device.

S208 단계에서, 장치(200)는 사용자의 단말(120)이 제1 화장실 내에 위치한 것이 확인되면, 제1 화장실이 자동으로 잠기도록 제어하고, 사용자의 단말(120)이 제1 화장실 내에 위치한 시간인 화장실 방문 시간을 측정할 수 있다.In step S208, when it is confirmed that the user's terminal 120 is located in the first toilet, the device 200 controls the first toilet to be automatically locked, and measures the toilet visit time, which is the time the user's terminal 120 is located in the first toilet.

구체적으로, 장치(200)는 사용자의 단말(120)과 제1 화장실에 구비된 화장실 기기를 통해 사용자의 단말(120)이 제1 화장실 내에 위치하였는지 확인할 수 있고, 사용자의 단말(120)이 제1 화장실 내에 위치하였다고 확인되면, 사용자의 단말(120)이 제1 화장실 내에 위치한 시간인 화장실 방문 시간을 측정할 수 있다. 이때, 장치(200)는 사용자의 단말(120)과 제1 화장실에 구비된 화장실 기기를 통해 사용자의 단말(120)이 제1 화장실 내에 위치하였는지 확인하기 위해 사용자의 단말(120)과 화장실 기기 간의 거리를 확인할 수 있으며, 사용자의 단말(120)과 화장실 기기 간의 거리가 제2 거리보다 짧은 제3 거리 이내라고 판단되면, 사용자의 단말(120)이 제1 화장실 내에 위치하였다고 판단할 수 있다.Specifically, the device 200 may check whether the user terminal 120 is located in the first toilet through the user terminal 120 and a toilet device provided in the first toilet, and if it is confirmed that the user terminal 120 is located in the first toilet, it is possible to measure the toilet visit time, which is the time the user terminal 120 is located in the first toilet. At this time, the device 200 may check the distance between the user terminal 120 and the toilet device to determine whether the user terminal 120 is located in the first toilet through the user terminal 120 and the toilet device provided in the first toilet. When the distance between the user terminal 120 and the toilet device is determined to be within a third distance shorter than the second distance, it may be determined that the user terminal 120 is located in the first toilet.

S209 단계에서, 장치(200)는 제1 화장실에 대응하는 기본 비용 및 화장실 방문 시간을 기초로, 최종 결제 비용을 생성하고, 사용자의 단말(120)로부터 최종 결제 비용이 지불되도록 관리할 수 있다.In step S209, the device 200 may generate a final payment cost based on the basic cost corresponding to the first toilet and the toilet visit time, and manage the final payment cost to be paid from the user's terminal 120.

구체적으로, 장치(200)는 사용자의 단말(120)이 제1 화장실 내에 위치한 시간인 화장실 방문 시간을 기초로, 추가 비용을 선정할 수 있으며, 추가 비용과 제1 화장실에 대응하는 기본 비용을 합한 값으로 최종 결제 비용을 생성할 수 있다. 이때, 추가 비용은 화장실 방문 시간에 비례하여 선정될 수 있으며, 실시 예에 따라 달라질 수 있다.Specifically, the device 200 may select an additional cost based on the bathroom visit time, which is the time the user's terminal 120 is located in the first bathroom, and may generate the final payment cost as the sum of the additional cost and the basic cost corresponding to the first bathroom. In this case, the additional cost may be selected in proportion to the toilet visit time and may vary depending on the embodiment.

또한, 장치(200)는 최종 결제 비용이 생성되면, 사용자의 단말(120)로부터 최종 결제 비용이 지불되도록 관리할 수 있다. 이때, 장치(200)는 사용자의 단말(120)로부터 제1 화장실 사용이 완료되었을 때, 사용 완료를 수신할 수 있으며, 사용 완료가 수신되면, 사용자의 단말(120)로 적어도 하나 이상의 결제 방법을 포함하는 결제 인터페이스를 제공할 수 있다. 또한, 장치(200)는 사용자의 단말(120)로 제공된 결제 인터페이스를 통해 사용자가 선택한 결제 방법을 수신할 수 있으며, 해당 결제 방법을 통해 최종 결제 비용이 지불되도록 관리할 수 있다. 또한, 장치(200)는 제1 화장실에 구비된 결제 태그와 유무선으로 통신할 수 있으며, 사용자의 단말(120)과 결제 태그가 미리 설정된 목표 거리 이내일 경우, 최종 결제 비용이 지불되도록 관리할 수 있다. 한편, 사용자의 단말(120)로부터 최종 결제 비용이 지불되도록 관리하는 과정은 이에 한정되는 것이 아니고, 실시 예에 따라 달라질 수 있다.In addition, when the final payment cost is generated, the device 200 may manage to pay the final payment cost from the user's terminal 120 . At this time, the device 200 may receive the completion of use when the use of the first toilet is completed from the user's terminal 120, and when the completion of use is received, at least one payment method to the user's terminal 120 It may provide a payment interface including. In addition, the device 200 may receive a payment method selected by the user through a payment interface provided to the user's terminal 120, and manage the final payment cost to be paid through the corresponding payment method. In addition, the device 200 may communicate with the payment tag provided in the first bathroom by wire or wirelessly, and manage the final payment cost to be paid when the user's terminal 120 and the payment tag are within a preset target distance. Meanwhile, the process of managing the payment of the final payment cost from the user's terminal 120 is not limited thereto and may vary depending on the embodiment.

이로 인해, 장치(200)는 사용자의 위치를 기반으로, 사용자의 위치와 가까운 유료 화장실을 제공할 수 있고, 사용자가 유료 화장실을 사용할 경우, 결제 서비스를 제공할 수 있는 효과가 있다.As a result, the device 200 can provide a pay toilet close to the user's location based on the user's location, and can provide a payment service when the user uses the pay toilet.

도 3은 일실시예에 따른 제1 화장실에 대응하는 기본 비용을 선정하기 위한 순서도이다.3 is a flowchart for selecting a basic cost corresponding to a first bathroom according to an embodiment.

도 3을 참조하면, 먼저, S301 단계에서, 장치(200)는 제1 화장실의 관리 주기를 확인하여 관리 주기에 따라 제1 점수를 생성할 수 있다.Referring to FIG. 3 , first, in step S301, the device 200 may check the management cycle of the first toilet and generate a first score according to the management cycle.

구체적으로, 장치(200)는 화장실 관리자의 단말(110)로부터 제1 화장실의 관리 주기를 획득할 수 있으며, 획득한 제1 화장실의 관리 주기를 기초로, 제1 점수를 생성할 수 있다. 이때, 제1 화장실의 관리 주기는 화장실 관리자의 단말(110)로부터 획득한 제1 화장실의 정보에 포함될 수 있다.Specifically, the apparatus 200 may obtain a management cycle of the first bathroom from the toilet manager terminal 110 and generate a first score based on the acquired management cycle of the first bathroom. In this case, the management period of the first toilet may be included in information about the first toilet obtained from the terminal 110 of the toilet manager.

즉, 장치(200)는 제1 화장실의 관리 주기를 통해 화장실 청소를 자주하는지, 화장실 비품이 항상 구비되어 있는지 여부를 확인할 수 있으며, 제1 화장실의 관리 주기가 짧을수록 제1 점수를 크게 생성할 수 있고, 제1 화장실의 관리 주기가 길수록 제1 점수를 작게 생성할 수 있다.That is, the apparatus 200 can check whether the bathroom is frequently cleaned and whether bathroom fixtures are always provided through the management cycle of the first bathroom, and the shorter the management cycle of the first bathroom is, the higher the first score can be generated, and the longer the management cycle of the first bathroom is, the smaller the first score can be generated.

또한, 장치(200)는 제1 화장실의 관리 주기가 미리 설정된 기준 주기보다 짧을 경우, 제1 점수로 제1 점수의 최고 점수를 부여할 수 있고, 제1 화장실의 관리 주기가 미리 설정된 기준 주기보다 짧지 않을 경우, 제1 화장실의 관리 주기와 반비례하여 제1 점수를 생성할 수 있다.In addition, the apparatus 200 may assign the highest score of the first score as the first score when the management cycle of the first toilet is shorter than the preset reference cycle, and the management cycle of the first bathroom is set in advance. If not shorter than the reference cycle, the first score may be generated in inverse proportion to the management cycle of the first toilet.

S302 단계에서, 장치(200)는 제1 화장실에 포함된 옵션을 확인하여, 포함된 옵션의 개수에 따라 제2 점수를 생성할 수 있다. 여기서, 제1 화장실의 옵션은 제1 화장실에 포함된 옵션으로, 비데, 기저귀 교환대, 유아용 변기, 자판기를 포함할 수 있다. 이때, 제1 화장실의 옵션은 화장실 관리자의 단말(110)로부터 획득한 제1 화장실의 정보에 포함될 수 있다.In step S302, the device 200 may check the options included in the first toilet and generate a second score according to the number of included options. Here, the options of the first toilet are options included in the first toilet, and may include a bidet, a diaper changing table, a baby potty, and a vending machine. In this case, the option of the first toilet may be included in information on the first toilet obtained from the terminal 110 of the toilet manager.

구체적으로, 장치(200)는 화장실 관리자의 단말(110)로부터 제1 화장실에 포함된 옵션을 획득할 수 있으며, 획득한 제1 화장실에 포함된 옵션의 개수를 기초로, 제2 점수를 생성할 수 있다.Specifically, the device 200 may obtain options included in the first toilet from the terminal 110 of the toilet manager, and based on the number of options included in the acquired first toilet, a second score may be generated.

즉, 장치(200)는 제1 화장실에 포함된 옵션의 개수를 기초로, 제1 화장실에 포함된 옵션의 개수가 많을수록 제2 점수를 크게 생성할 수 있고, 제1 화장실에 포함된 옵션의 개수가 적을수록 제2 점수를 작게 생성할 수 있다.That is, based on the number of options included in the first toilet, the apparatus 200 may generate a larger second score as the number of options included in the first toilet increases, and may generate a smaller second score as the number of options included in the first toilet decreases.

또한, 장치(200)는 제1 화장실에 포함된 옵션의 개수가 미리 설정된 기준 개수보다 많을 경우, 제2 점수로 제2 점수의 최고 점수를 부여할 수 있고, 제1 화장실에 포함된 옵션의 개수가 미리 설정된 기준 개수보다 많지 않을 경우, 제1 화장실에 포함된 옵션의 개수와 비례하여 제2 점수를 생성할 수 있다.In addition, when the number of options included in the first toilet is greater than the preset reference number, the apparatus 200 may assign the highest score of the second score as the second score, and if the number of options included in the first toilet is not greater than the preset reference number, the second score may be generated in proportion to the number of options included in the first toilet.

S303 단계에서, 장치(200)는 제1 화장실의 정보를 기초로, 제1 화장실의 크기 및 제1 화장실의 칸 수를 확인하고, 제1 화장실의 크기 및 제1 화장실의 칸 수를 기초로, 제3 점수를 생성할 수 있다.In step S303, the device 200 determines the size of the first toilet and the number of compartments of the first toilet based on the information of the first toilet, and generates a third score based on the size of the first toilet and the number of compartments of the first toilet.

구체적으로, 장치(200)는 화장실 관리자의 단말(110)로부터 제1 화장실의 크기 및 제1 화장실의 칸 수를 획득할 수 있으며, 획득한 제1 화장실의 크기 및 제1 화장실의 칸 수를 기초로, 제3 점수를 생성할 수 있다. 이때, 제1 화장실의 크기 및 제1 화장실의 칸 수는 화장실 관리자의 단말(110)로부터 획득한 제1 화장실의 정보에 포함될 수 있다.Specifically, the apparatus 200 may obtain the size of the first toilet and the number of compartments of the first toilet from the terminal 110 of the toilet manager, and based on the obtained size of the first toilet and the number of compartments of the first toilet, a third score may be generated. In this case, the size of the first toilet and the number of compartments of the first toilet may be included in the first toilet information obtained from the terminal 110 of the toilet manager.

즉, 장치(200)는 제1 화장실의 크기가 크고 제1 화장실의 칸 수가 많을수록 제3 점수를 크게 생성할 수 있고, 제1 화장실의 크기가 작고 제1 화장실의 칸 수가 적을수록 제3 점수를 작게 생성할 수 있다.That is, the apparatus 200 may generate a higher third score as the size of the first toilet increases and the number of compartments of the first toilet increases, and a smaller third score may be generated as the size of the first toilet decreases and the number of compartments of the first toilet decreases.

또한, 장치(200)는 제1 화장실의 크기가 미리 설정된 기준 크기보다 크고, 제1 화장실의 칸 수가 미리 설정된 기준 칸 수보다 많을 경우, 제3 점수로 제3 점수의 최고 점수를 부여할 수 있고, 제1 화장실의 크기가 미리 설정된 기준 크기보다 크지 않을 경우, 제1 화장실의 크기와 비례하여 제3 점수를 생성할 수 있고, 제1 화장실의 칸 수가 미리 설정된 기준 칸 수보다 많지 않을 경우, 제1 화장실의 칸 수와 비례하여 제3 점수를 생성할 수 있다.In addition, when the size of the first toilet is larger than the preset reference size and the number of compartments of the first toilet is greater than the preset reference number, the highest score of the third points may be assigned as the third score, when the size of the first toilet is not larger than the preset reference size, the third score may be generated in proportion to the size of the first toilet, and when the number of compartments of the first toilet is not greater than the preset reference number, the third score may be generated in proportion to the number of compartments of the first toilet.

S304 단계에서, 장치(200)는 제1 화장실을 이용한 사용자의 수를 확인하여, 제1 화장실을 이용한 사용자의 수를 기초로, 제4 점수를 생성할 수 있다.In step S304, the apparatus 200 may check the number of users who use the first toilet and generate a fourth score based on the number of users who use the first toilet.

구체적으로, 장치(200)는 미리 설정된 기준 기간동안 제1 화장실을 이용한 사용자의 수를 확인할 수 있으며, 기준 기간동안 제1 화장실을 이용한 사용자의 수를 기초로, 제4 점수를 생성할 수 있다. 이때, 장치(200)는 사용자가 제1 화장실을 방문하고, 최종 결제 비용을 지불한 것이 확인되면, 해당 사용자의 성별, 해당 사용자의 연령, 해당 사용자가 제1 화장실을 방문한 날짜 및 시각을 포함하는 사용자의 내역을 생성하여, 장치(200)에 포함된 데이터베이스에 제1 화장실과 사용자의 내역을 매칭하여 저장할 수 있다.Specifically, the device 200 may check the number of users who used the first bathroom during a preset reference period, and generate a fourth score based on the number of users who used the first bathroom during the reference period. In this case, when it is confirmed that the user visits the first toilet and pays the final payment, the device 200 generates the user's details including the gender of the user, the age of the user, and the date and time when the user visited the first toilet, and matches and stores the details of the first toilet and the user in a database included in the device 200.

즉, 장치(200)는 기준 기간동안 제1 화장실을 이용한 사용자의 수를 기초로, 제1 화장실을 이용한 사용자의 수가 많을수록 제4 점수를 크게 생성할 수 있고, 제1 화장실을 이용한 사용자의 수가 적을수록 제4 점수를 작게 생성할 수 있다.That is, based on the number of users who used the first bathroom during the reference period, the apparatus 200 may generate a higher fourth score as the number of users using the first bathroom increases, and a smaller fourth score as the number of users using the first bathroom decreases.

또한, 장치(200)는 제1 화장실을 이용한 사용자의 수가 미리 설정된 기준 수보다 많을 경우, 제4 점수로 제4 점수의 최고 점수를 부여할 수 있고, 제1 화장실을 이용한 사용자의 수가 미리 설정된 기준 수보다 많지 않을 경우, 제1 화장실을 이용한 사용자의 수와 비례하여 제4 점수를 생성할 수 있다.In addition, the apparatus 200 may assign the highest score of the fourth score as the fourth score when the number of users using the first toilet is greater than the preset reference number, and when the number of users using the first toilet is not greater than the preset reference number, the fourth score may be generated in proportion to the number of users using the first toilet.

S305 단계에서, 장치(200)는 제1 화장실을 이용한 사용자의 단말(120)로부터 제1 화장실에 대한 만족도를 획득하고, 제1 화장실에 대한 만족도를 기반으로 제5 점수를 생성할 수 있다.In step S305 , the device 200 may acquire satisfaction with the first bathroom from the terminal 120 of the user using the first bathroom, and generate a fifth score based on the satisfaction with the first bathroom.

구체적으로, 장치(200)는 사용자가 제1 화장실을 방문하고, 최종 결제 비용을 지불한 것이 확인되면, 제1 화장실을 이용한 사용자의 단말(120)로부터 제1 화장실에 대한 만족도를 획득할 수 있으며, 제1 화장실을 이용한 사용자의 단말(120)로부터 획득한 제1 화장실에 대한 만족도를 포함하여 생성된 사용자의 내역을 제1 화장실과 매칭하여 데이터베이스에 저장할 수 있다. 여기서, 만족도는 1에서 5까지의 등급으로 나뉠 수 있으며, 1에 가까울수록 만족도가 낮을 수 있고, 5에 가까울수록 만족도가 높을 수 있다. 또한, 장치(200)는 제1 화장실을 이용한 사용자의 단말(120)로부터 획득한 제1 화장실에 대한 만족도를 기초로, 제1 화장실에 대한 평균 만족도를 생성할 수 있으며, 제1 화장실에 대한 평균 만족도를 통해 제5 점수를 생성할 수 있다.Specifically, when it is confirmed that the user visits the first toilet and pays the final payment, the device 200 may obtain satisfaction with the first toilet from the terminal 120 of the user using the first toilet, and match the generated user's details, including the satisfaction with the first toilet obtained from the terminal 120 of the user using the first toilet, to the first toilet and store them in a database. Here, satisfaction may be divided into grades from 1 to 5, and the closer to 1, the lower the satisfaction, and the closer to 5, the higher the satisfaction. In addition, the apparatus 200 may generate an average satisfaction with the first toilet based on the satisfaction with the first toilet obtained from the terminal 120 of the user using the first toilet, and may generate a fifth score through the average satisfaction with the first toilet.

즉, 장치(200)는 제1 화장실에 대한 평균 만족도 점수를 기초로, 제1 화장실에 대한 평균 만족도 점수가 5에 가까울수록 즉, 제1 화장실에 대한 평균 만족도 점수가 클수록 제5 점수를 크게 생성할 수 있고, 제1 화장실에 대한 평균 만족도 점수가 1에 가까울수록 즉, 제1 화장실에 대한 평균 만족도 점수가 작을수록 제5 점수를 작게 생성할 수 있다.That is, based on the average satisfaction score for the first bathroom, the device 200 may generate a larger fifth score as the average satisfaction score for the first bathroom is closer to 5, that is, as the average satisfaction score for the first bathroom is larger, and may generate a smaller fifth score as the average satisfaction score for the first bathroom is closer to 1, that is, as the average satisfaction score for the first bathroom is smaller.

또한, 장치(200)는 제1 화장실에 대한 평균 만족도 점수가 미리 설정된 기준 점수보다 클 경우, 제5 점수로 제5 점수의 최고 점수를 부여할 수 있고, 제1 화장실에 대한 평균 만족도 점수가 미리 설정된 기준 점수보다 크지 않을 경우, 제1 화장실에 대한 평균 만족도 점수와 비례하여 제5 점수를 생성할 수 있다.In addition, the apparatus 200 may assign the highest score of the fifth scores as the fifth score when the average satisfaction score for the first toilet is greater than the preset reference score, and if the average satisfaction score for the first toilet is not greater than the preset reference score, the fifth score may be generated in proportion to the average satisfaction score for the first toilet.

S306 단계에서, 장치(200)는 제1 화장실의 위치를 통해 제1 화장실이 번화가에 위치하였는지 여부를 판단하고, 제6 점수를 생성할 수 있다.In step S306, the apparatus 200 may determine whether the first toilet is located in the downtown area through the location of the first toilet, and generate a sixth score.

구체적으로, 장치(200)는 제1 화장실의 위치를 통해 제1 화장실이 번화가에 위치하였는지 여부를 판단할 수 있으며, 제1 화장실이 번화가에 위치하였다고 판단되면, 제6 점수로 제6 점수의 최고 점수를 부여할 수 있고, 제1 화장실이 번화가에 위치하지 않았다고 판단되면, 제6 점수로 0점을 부여할 수 있다. 여기서, 제1 화장실의 위치를 통해 제1 화장실이 번화가에 위치하였는지 여부를 판단하는 과정은 도 4를 참조하기로 한다.Specifically, the device 200 may determine whether the first toilet is located in the downtown area through the location of the first toilet, and if it is determined that the first toilet is located in the downtown area, the sixth score is the highest score of the sixth score. Here, a process of determining whether the first toilet is located in the downtown area through the location of the first toilet will be referred to FIG. 4 .

S307 단계에서, 장치(200)는 제1 화장실의 방음 수준을 확인하여, 제1 화장실의 방음 수준을 기초로, 제7 점수를 생성할 수 있다.In step S307 , the apparatus 200 may check the soundproofing level of the first toilet and generate a seventh score based on the soundproofing level of the first toilet.

구체적으로, 장치(200)는 제1 화장실 내부 및 외부에 부착된 마이크 장치와 유무선으로 통신할 수 있으며, 제1 화장실 내부 및 외부에 부착된 마이크 장치를 통해 미리 설정된 제1 기간 동안 화장실 내부에 부착된 마이크 장치를 통해 화장실 내부의 데시벨을 확인하여 화장실 내부의 평균 데시벨을 획득할 수 있으며, 또한, 제1 기간 동안 화장실 외부에 부착된 마이크 장치를 통해 화장실 외부의 데시벨을 확인하여 화장실 외부의 평균 데시벨을 획득할 수 있다. 또한, 장치(200)는 화장실 내부의 평균 데시벨과 화장실 외부의 평균 데시벨을 기초로, 제1 화장실의 방음 수준을 확인할 수 있다.Specifically, the device 200 may communicate with microphone devices attached to the inside and outside of the first bathroom by wire or wirelessly, and may obtain the average decibels inside the bathroom by checking the decibels inside the bathroom through the microphone device attached to the inside of the bathroom for a first preset period through the microphone devices attached to the inside and outside of the first bathroom, and may also obtain the average decibel outside the bathroom by checking the decibels outside the bathroom through the microphone device attached to the outside of the bathroom during the first period. In addition, the device 200 may determine the sound insulation level of the first bathroom based on the average decibels inside the bathroom and the average decibel outside the bathroom.

여기서, 장치(200)는 제1 화장실 내부의 평균 데시벨과 제1 화장실 외부의 평균 데시벨이 모두 제1 기준 데시벨보다 낮을 경우, 제1 화장실의 방음 수준으로 1등급을 선정할 수 있다. Here, the apparatus 200 may select grade 1 as the soundproofing level of the first bathroom when both the average decibel inside the first bathroom and the average decibel outside the first bathroom are lower than the first reference decibel.

또한, 장치(200)는 제1 화장실 내부의 평균 데시벨이 제1 기준 데시벨보다 낮고, 제1 화장실 외부의 평균 데시벨이 제1 기준 데시벨보다 높고 제2 기준 데시벨보다 낮을 경우, 제1 화장실의 방음 수준으로 2등급을 선정할 수 있고, 장치(200)는 제1 화장실 내부의 평균 데시벨이 제1 기준 데시벨보다 높고 제2 기준 데시벨보다 낮고, 제1 화장실 외부의 평균 데시벨이 제1 기준 데시벨보다 낮을 경우, 제1 화장실의 방음 수준으로 2등급을 선정할 수 있다. In addition, when the average decibel inside the first toilet is lower than the first reference decibel and the average decibel outside the first toilet is higher than the first reference decibel and lower than the second reference decibel, the device 200 may select a second grade as the soundproof level of the first toilet, and the apparatus 200 determines that the average decibel inside the first toilet is higher than the first reference decibel and lower than the second reference decibel, and the average decibel outside the first toilet is the first reference decibel. If it is lower than the standard decibel, a second grade may be selected as the soundproofing level of the first bathroom.

또한, 장치(200)는 제1 화장실 내부의 평균 데시벨과 제1 화장실 외부의 평균 데시벨이 모두 제1 기준 데시벨보다 높고 제2 기준 데시벨보다 낮을 경우, 제1 화장실의 방음 수준으로 3등급을 선정할 수 있고, 제1 화장실 내부의 평균 데시벨이 제1 기준 데시벨보다 낮고, 제1 화장실 외부의 평균 데시벨이 제2 기준 데시벨보다 높을 경우, 제1 화장실의 방음 수준으로 3등급을 선정할 수 있고, 제1 화장실 내부의 평균 데시벨이 제2 기준 데시벨보다 높고, 제1 화장실 외부의 평균 데시벨이 제1 기준 데시벨보다 낮을 경우, 제1 화장실의 방음 수준으로 3등급을 선정할 수 있다. In addition, when the average decibel inside the first toilet and the average decibel outside the first toilet are both higher than the first reference decibel and lower than the second reference decibel, the first toilet may select a grade 3 soundproofing level, and when the average decibel inside the first toilet is lower than the first reference decibel and the average decibel outside the first toilet is higher than the second reference decibel, a grade 3 may be selected as the soundproofing level of the first toilet , When the average decibel inside the first bathroom is higher than the second reference decibel and the average decibel outside the first bathroom is lower than the first reference decibel, a grade 3 may be selected as the soundproofing level of the first bathroom.

또한, 장치(200)는 제1 화장실 내부의 평균 데시벨이 제1 기준 데시벨보다 높고 제2 기준 데시벨보다 낮고, 제1 화장실 외부의 평균 데시벨이 제2 기준 데시벨보다 높을 경우, 제1 화장실의 방음 수준으로 4등급을 선정할 수 있고, 장치(200)는 제1 화장실 내부의 평균 데시벨이 제2 기준 데시벨보다 높고, 제1 화장실 외부의 평균 데시벨이 제1 기준 데시벨보다 높고 제2 기준 데시벨보다 낮을 경우, 제1 화장실의 방음 수준으로 4등급을 선정할 수 있다.In addition, when the average decibel inside the first toilet is higher than the first reference decibel and lower than the second reference decibel, and the average decibel outside the first toilet is higher than the second reference decibel, the device 200 may select grade 4 as the soundproofing level of the first toilet, and the apparatus 200 may select a grade 4 as the sound insulation level of the first toilet, and the device 200 may select a grade 4 when the average decibel inside the first toilet is higher than the second reference decibel, and the average decibel outside the first toilet is higher than the first reference decibel and the second reference decibel. If it is lower than Siebel, 4th grade can be selected as the soundproofing level of the first bathroom.

또한, 장치(200)는 제1 화장실 내부의 평균 데시벨과 제1 화장실 외부의 평균 데시벨이 모두 제2 기준 데시벨보다 높을 경우, 제1 화장실의 방음 수준으로 5등급을 선정할 수 있다. 이때, 제1 기준 데시벨과 제2 기준 데시벨은 미리 설정된 값으로 실시 예에 따라 달라질 수 있으며, 제2 기준 데시벨은 제1 기준 데시벨보다 크게 설정된 값이다.In addition, the apparatus 200 may select a grade 5 as the soundproofing level of the first bathroom when both the average decibel inside the first bathroom and the average decibel outside the first bathroom are higher than the second reference decibel. In this case, the first reference decibel and the second reference decibel are preset values and may vary according to embodiments, and the second reference decibel is a value set higher than the first reference decibel.

즉, 장치(200)는 제1 화장실의 방음 수준이 1등급에 가까울수록 제7 점수를 크게 생성할 수 있고, 제1 화장실의 방음 수준이 5등급에 가까울수록 제7 점수를 작게 생성할 수 있다.That is, the apparatus 200 may generate a higher 7th score as the soundproofing level of the first bathroom approaches 1st grade, and may generate a smaller 7th score as the soundproofing level of the first toilet approaches 5th grade.

또한, 장치(200)는 제1 화장실의 방음 수준이 미리 설정된 기준 등급보다 높을 경우, 제7 점수로 제7 점수의 최고 점수를 부여할 수 있고, 제1 화장실의 방음 수준이 미리 설정된 기준 등급보다 높지 않을 경우, 제1 화장실의 방음 수준과 비례하여 제7 점수를 생성할 수 있다.In addition, the apparatus 200 may assign the highest score of the 7th score as the 7th score when the soundproofing level of the first toilet is higher than the preset reference grade, and if the soundproofing level of the first toilet is not higher than the preset reference grade, the 7th score may be generated in proportion to the soundproofing level of the first toilet.

S308 단계에서, 장치(200)는 제1 점수, 제2 점수, 제3 점수, 제4 점수, 제5 점수, 제6 점수 및 제7 점수를 합산한 값으로 제1 화장실의 최종 점수를 생성할 수 있다.In step S308, the device 200 may generate a final score of the first toilet as a sum of the first score, the second score, the third score, the fourth score, the fifth score, the sixth score, and the seventh score.

구체적으로, 장치(200)는 관리 주기를 기초로 생성된 제1 점수, 포함된 옵션의 개수를 기초로 생성된 제2 점수, 화장실의 크기 및 화장실의 칸 수를 기초로 생성된 제3 점수, 화장실의 이용자 수를 기초로 생성된 제4 점수, 화장실의 만족도를 기초로 생성된 제5 점수, 화장실의 위치를 기초로 생성된 제6 점수 및 화장실의 방음 수준을 기초로 생성된 제7 점수를 합산한 값으로 제1 화장실의 최종 점수를 생성할 수 있다.Specifically, the apparatus 200 may generate a final score for the first toilet as a sum of a first score generated based on a management cycle, a second score generated based on the number of included options, a third score generated based on the size of the bathroom and the number of toilet compartments, a fourth score generated based on the number of users of the bathroom, a fifth score generated based on the satisfaction of the bathroom, a sixth score generated based on the location of the bathroom, and a seventh score generated based on the soundproofing level of the bathroom.

일실시예에 따르면, 제1 점수, 제2 점수, 제3 점수, 제4 점수, 제5 점수, 제6 점수 및 제7 점수 각각의 최고 점수는 모두 동일한 점수로 설정될 수도 있지만, 장치 관리자 설정에 따라 최고 점수가 다르게 설정될 수도 있다. 예를 들어, 제1 점수, 제2 점수, 제3 점수, 제4 점수, 제5 점수, 제6 점수 및 제7 점수의 최고 점수가 모두 10점으로 동일하게 설정될 수 있고, 제1 점수의 최고 점수는 15점, 제2 점수의 최고 점수는 10점, 제3 점수의 최고 점수는 12점, 제4 점수의 최고 점수는 8점, 제5 점수의 최고 점수는 15점, 제6 점수의 최고 점수는 5점, 제7 점수의 최고 점수는 10점으로 상이하게 설정될 수도 있다.According to an embodiment, the highest scores of each of the first, second, third, fourth, fifth, sixth, and seventh points may be set to the same score, but the highest score may be set differently according to device manager settings. For example, the highest score of the first score, the second score, the third score, the fourth score, the fifth score, the sixth score, and the seventh score may all be equally set to 10 points, the highest score of the first score is 15 points, the highest score of the second score is 10 points, the highest score of the third score is 12 points, the highest score of the fourth score is 8 points, the highest score of the fifth score is 15 points, the highest score of the sixth score is 5 points, and the seventh score The highest score may be set differently to 10 points.

S309 단계에서, 장치(200)는 제1 화장실의 최종 점수에 비례하여 제1 화장실에 대응하는 기본 비용을 선정할 수 있다.In step S309, the apparatus 200 may select a basic cost corresponding to the first toilet in proportion to the final score of the first toilet.

구체적으로, 장치(200)는 관리 주기를 기초로 생성된 제1 점수, 포함된 옵션의 개수를 기초로 생성된 제2 점수, 화장실의 크기 및 화장실의 칸 수를 기초로 생성된 제3 점수, 화장실의 이용자 수를 기초로 생성된 제4 점수, 화장실의 만족도를 기초로 생성된 제5 점수, 화장실의 위치를 기초로 생성된 제6 점수 및 화장실의 방음 수준을 기초로 생성된 제7 점수를 합산한 값으로 제1 화장실의 최종 점수를 생성하고, 생성된 제1 화장실의 최종 점수에 비례하여 제1 화장실에 대응하는 기본 비용을 선정할 수 있다.Specifically, the device 200 generates a final score of the first toilet as a sum of a first score generated based on a management cycle, a second score generated based on the number of options included, a third score generated based on the size of the bathroom and the number of toilet compartments, a fourth score generated based on the number of users of the bathroom, a fifth score generated based on the satisfaction of the bathroom, a sixth score generated based on the location of the bathroom, and a seventh score generated based on the soundproofing level of the bathroom. A basic cost corresponding to the first toilet may be selected in proportion to the final score of the toilet.

이로 인해, 장치(200)는 청결하고, 편리하고, 안전한 화장실의 기본 비용을 높게 생성함으로써, 화장실 관리자가 책임감을 가지고 관리할 수 있도록 하고, 사용자는 화장실에 설정된 기본 비용을 통해 해당 화장실이 청결하고, 편리하고, 안전한 화장실인지 여부를 파악할 수 있는 효과가 있다.Due to this, the apparatus 200 generates a high basic cost of a clean, convenient, and safe toilet, so that the toilet manager can manage it with responsibility, and the user has the effect of determining whether the toilet is clean, convenient, and safe through the basic cost set for the toilet.

도 4는 일실시예에 따른 화장실의 위치가 번화가인지 여부를 판단하는 과정을 설명하기 위한 순서도이다.4 is a flowchart illustrating a process of determining whether a toilet is located on a busy street according to an exemplary embodiment.

도 4를 참조하면, 먼저, S401 단계에서, 장치(200)는 제1 화장실의 위치를 포함하는 지역의 인구 밀도를 기초로, 인구 점수를 생성할 수 있다. 이때, 장치(200)는 웹 사이트와 유무선으로 통신할 수 있으며, 웹 사이트에 접속하여 정보를 획득할 수 있다.Referring to FIG. 4 , first, in step S401, the apparatus 200 may generate a population score based on the population density of an area including the location of the first toilet. In this case, the device 200 may communicate with the website by wire or wirelessly, and obtain information by accessing the website.

구체적으로, 장치(200)는 화장실 관리자의 단말(110)로부터 획득한 제1 화장실의 위치를 통해 제1 화장실이 어느 지역에 포함하는지 확인할 수 있다. 여기서, 지역은 동 단위일 수도 있고, 구 단위일 수도 있고, 시 단위일 수도 있다. 또한, 지역의 그 외의 단위로 설정될 수도 있다. Specifically, the device 200 may check which area the first toilet is included in through the location of the first toilet obtained from the terminal 110 of the toilet manager. Here, the region may be a dong unit, a ward unit, or a city unit. Also, it may be set in other units of the region.

또한, 장치(200)는 웹 사이트에 접속하여 해당 지역의 인구 밀도를 획득할 수 있으며, 인구 밀도를 기초로, 인구 점수를 생성할 수 있다. 여기서, 인구 점수는 인구 밀도에 비례하는 값으로 생성될 수 있으며, 인구 밀도가 높을수록 인구 점수는 높게 생성되고, 인구 밀도가 낮을수록 인구 점수는 낮게 생성될 수 있다.In addition, the device 200 may obtain a population density of a corresponding region by accessing a website, and generate a population score based on the population density. Here, the population score may be generated as a value proportional to the population density. The higher the population density, the higher the population score, and the lower the population density, the lower the population score.

S402 단계에서, 장치(200)는 제1 화장실의 위치를 기초로, 제1 임계 범위를 지나는 대중 교통의 개수를 획득하고, 대중 교통의 개수를 기초로, 교통 점수를 생성할 수 있다. 여기서, 제1 임계 범위는 제1 화장실의 위치를 중심으로 미리 설정된 제1 임계 거리 이내의 범위로, 제1 임계 거리는 미리 설정된 거리로 실시 예에 따라 달라질 수 있다.In step S402, the device 200 may obtain the number of public transportation passing through a first threshold range based on the location of the first toilet, and generate a traffic score based on the number of public transportation. Here, the first threshold range is a range within a preset first threshold distance centered on the location of the first toilet, and the first threshold distance may vary according to embodiments as a preset distance.

구체적으로, 장치(200)는 화장실 관리자의 단말(110)로부터 획득한 제1 화장실의 위치를 기초로, 미리 설정된 제1 임계 범위를 생성할 수 있으며, 웹 사이트를 통해 생성된 제1 임계 범위 이내에 포함된 지하철역 및 버스 정류장을 확인할 수 있다. 장치(200)는 웹 사이트를 통해 제1 임계 범위 이내에 포함된 지하철역 및 버스 정류장을 지나는 대중 교통의 개수를 획득할 수 있다. 또한, 장치(200)는 획득한 제1 임계 범위 이내에 포함된 지하철역 및 버스 정류장을 지나는 대중 교통의 개수를 기초로, 교통 점수를 생성할 수 있다. 여기서, 교통 점수는 대중 교통의 개수에 비례하는 값으로 생성될 수 있으며, 대중 교통의 개수가 많을수록 교통 점수는 높게 생성되고, 대중 교통의 개수가 적을수록 교통 점수는 낮게 생성될 수 있다.Specifically, the device 200 may generate a preset first critical range based on the location of the first toilet acquired from the terminal 110 of the toilet manager, and may check subway stations and bus stops included within the first threshold range generated through a website. The device 200 may obtain the number of public transportation passing through subway stations and bus stops included within the first threshold range through a website. Also, the apparatus 200 may generate a traffic score based on the number of public transportation passing through subway stations and bus stops included within the obtained first threshold range. Here, the traffic score may be generated as a value proportional to the number of public transportation, and the higher the number of public transportation, the higher the transportation score, and the smaller the number of public transportation, the lower the transportation score.

S403 단계에서, 장치(200)는 제1 화장실의 위치를 기초로, 제2 임계 범위 내에 포함된 상점의 개수를 획득하고, 상점의 개수를 기초로, 상점 점수를 생성할 수 있다. 여기서, 제2 임계 범위는 제1 화장실의 위치를 중심으로 미리 설정된 제2 임계 거리 이내의 범위로, 제2 임계 거리는 제1 임계 거리보다 넓게 미리 설정된 거리로 실시 예에 따라 달라질 수 있다.In step S403, the apparatus 200 may obtain the number of stores included in the second threshold range based on the location of the first toilet, and generate store scores based on the number of stores. Here, the second threshold range is a range within a preset second threshold distance centered on the location of the first bathroom, and the second threshold distance may vary according to embodiments to a preset distance wider than the first threshold distance.

구체적으로, 장치(200)는 상점 데이터베이스와 유무선으로 통신할 수 있으며, 상점 데이터베이스는 상점이 어떤 상점이 어느 위치에 있는지에 대한 정보를 포함할 수 있다. 장치(200)는 화장실 관리자의 단말(110)로부터 획득한 제1 화장실의 위치를 기초로, 미리 설정된 제2 임계 범위를 생성할 수 있으며, 상점 데이터베이스를 통해 제2 임계 범위 내에 포함된 상점을 확인할 수 있고, 제2 임계 범위 내에 포함된 상점의 개수를 기초로, 상점 점수를 생성할 수 있다. 여기서, 상점 점수는 상점의 개수에 비례하는 값으로 생성될 수 있으며, 상점의 개수가 많을수록 상점 점수는 높게 생성되고, 상점의 개수가 적을수록 상점 점수는 낮게 생성될 수 있다.Specifically, the device 200 may communicate with a store database through wired or wireless communication, and the store database may include information about which stores are located at which stores. The apparatus 200 may generate a preset second threshold range based on the location of the first toilet acquired from the terminal 110 of the toilet manager, check stores included in the second threshold range through a store database, and generate store scores based on the number of stores included in the second threshold range. Here, the store score may be generated as a value proportional to the number of stores, and a higher store score may be generated as the number of stores increases, and a lower store score may be generated as the number of stores decreases.

S404 단계에서, 장치(200)는 인구 점수, 교통 점수, 상점 점수를 합한 값이 목표 값보다 크다고 판단되면, 제1 화장실이 번화가에 위치하였다고 판단할 수 있다. 여기서, 목표 값은 미리 설정된 값으로 실시 예에 따라 달라질 수 있다.In step S404, the apparatus 200 may determine that the first toilet is located in a busy street when it is determined that the sum of the population score, traffic score, and shop score is greater than the target value. Here, the target value is a preset value and may vary according to embodiments.

일실시예에 따르면, 인구 점수, 교통 점수, 상점 점수 각각의 최고 점수는 모두 동일한 점수로 설정될 수도 있지만, 장치 관리자 설정에 따라 최고 점수가 다르게 설정될 수도 있다. 예를 들어, 인구 점수, 교통 점수, 상점 점수의 최고 점수가 모두 10점으로 동일하게 설정될 수 있고, 인구 점수의 최고 점수는 8점, 교통 점수의 최고 점수는 10점, 상점 점수의 최고 점수는 15점으로 상이하게 설정될 수도 있다.According to an embodiment, the highest scores of each of the population score, the traffic score, and the shop score may be set to the same score, but the highest score may be set differently according to the settings of the device manager. For example, the highest points of the population score, the traffic score, and the shop score may all be equally set to 10 points, the highest score of the population score is 8 points, the highest score of the transportation score is 10 points, and the highest score of the shop score may be set differently to 15 points.

구체적으로, 장치(200)는 인구 점수, 교통 점수, 상점 점수를 합한 값이 미리 설정된 목표 값보다 큰지 여부를 판단할 수 있으며, 장치(200)는 인구 점수, 교통 점수, 상점 점수를 합한 값이 목표 값보다 크다고 판단되면, 제1 화장실이 번화가에 위치하였다고 판단할 수 있다. 또한, 장치(200)는 인구 점수, 교통 점수, 상점 점수를 합한 값이 목표 값보다 크지 않다고 판단되면, 제1 화장실이 번화가에 위치하지 않았다고 판단할 수 있다.Specifically, the device 200 may determine whether the sum of the population score, traffic score, and shop score is greater than a preset target value, and if the device 200 determines that the sum of the population score, traffic score, and shop score is greater than the target value, it may be determined that the first toilet is located in a busy street. Also, the apparatus 200 may determine that the first toilet is not located in the downtown area when it is determined that the sum of the population score, traffic score, and shop score is not greater than the target value.

이로 인해, 장치(200)는 제1 화장실의 위치를 기초로, 인구 점수, 교통 점수, 상점 점수를 생성하고, 생성된 인구 점수, 교통 점수, 상점 점수를 통해 제1 화장실이 번화가에 위치하였는지 여부를 판단하여, 제1 화장실이 번화가에 위치하였다고 판단하면 제1 화장실에 대응하는 기본 비용을 높게 생성할 수 있는 효과가 있다.For this reason, the apparatus 200 generates a population score, a traffic score, and a store score based on the location of the first toilet, and determines whether the first toilet is located in the downtown area through the generated population score, traffic score, and store score. If it is determined that the first toilet is located in the downtown area, a high basic cost corresponding to the first toilet can be generated.

한편, 장치(200)는 사용자가 화장실을 이용한 내역을 데이터베이스에 저장하고, 사용자가 화장실을 이용한 내역을 분석하여 보고서를 생성하고, 생성된 보고서를 화장실 관리자의 단말로 제공할 수 있다.Meanwhile, the device 200 may store the user's use of the bathroom in a database, analyze the user's use of the bathroom, generate a report, and provide the generated report to the toilet manager's terminal.

도 5는 일실시예에 따른 화장실 관리자에게 보고서를 제공하는 과정을 설명하기 위한 순서도이다.5 is a flowchart illustrating a process of providing a report to a bathroom manager according to an embodiment.

도 5를 참조하면, 먼저, S501 단계에서, 장치(200)는 화장실 관리자가 보유한 여성 화장실 및 남성 화장실의 사용 비율을 각각 확인할 수 있다.Referring to FIG. 5 , first, in step S501, the device 200 may check the usage ratio of the female toilet and the male toilet owned by the toilet manager, respectively.

구체적으로, 장치(200)는 데이터베이스에 저장된 화장실 관리자가 보유한 화장실에 매칭된 사용자의 내역을 확인하여 여성 화장실이 사용된 횟수와 남성 화장실이 사용된 횟수를 확인할 수 있다. 또한, 장치(200)는 화장실 관리자가 보유한 여성 화장실이 사용된 횟수 및 남성 화장실이 사용된 횟수를 통해 여성 화장실의 사용 비율 및 남성 화장실의 사용 비율을 각각 확인할 수 있다.Specifically, the device 200 may determine the number of times the female toilet is used and the number of male toilets used by checking the details of the user matched to the toilet owned by the toilet manager stored in the database. In addition, the device 200 may check the usage ratio of the women's toilet and the men's toilet, respectively, through the number of times the toilet manager has used the women's toilet and the number of men's toilets used.

S502 단계에서, 장치(200)는 여성 화장실의 사용 비율과 남성 화장실의 사용 비율의 차이 값을 확인할 수 있다.In step S502, the device 200 may check a difference value between the use rate of the female toilet and the use rate of the male toilet.

구체적으로, 장치(200)는 데이터베이스에 저장된 화장실 관리자가 보유한 화장실에 매칭된 사용자의 내역을 통해 여성 화장실의 사용 비율 및 남성 화장실의 사용 비율을 각각 확인할 수 있고, 확인된 여성 화장실의 사용 비율과 남성 화장실의 사용 비율의 차이 값을 생성할 수 있다.Specifically, the device 200 may check the usage ratio of the female toilet and the male toilet, respectively, through the details of the user matched to the toilet owned by the toilet manager stored in the database, and the identified female toilet usage ratio and the men's toilet usage ratio. A difference value may be generated.

S503 단계에서, 장치(200)는 차이 값이 임계 값보다 큰 것에 기반하여 사용 비율이 높은 화장실을 늘릴 것을 권유하는 화장실 리밸런싱 정보를 생성할 수 있다. 여기서, 임계 값은 미리 설정된 값으로 실시 예에 따라 달라질 수 있다.In step S503, the apparatus 200 may generate toilet rebalancing information recommending an increase in toilets with a high use rate based on a difference value greater than a threshold value. Here, the threshold value is a preset value and may vary according to embodiments.

구체적으로, 장치(200)는 여성 화장실의 사용 비율과 남성 화장실의 사용 비율의 차이 값이 임계 값보다 큰 지 여부를 판단할 수 있고, 여성 화장실의 사용 비율과 남성 화장실의 사용 비율의 차이 값이 임계 값보다 크다고 확인되면, 사용 비율이 높은 화장실을 늘릴 것을 권유하는 화장실 리밸런싱 정보를 생성할 수 있다. 즉, 장치(200)는 여성 화장실의 사용 비율과 남성 화장실의 사용 비율의 차이 값이 임계 값보다 크다고 확인되고, 여성 화장실의 사용 비율이 남성 화장실의 사용 비율보다 크다고 확인되면, 여성 화장실을 늘릴 것을 권유하는 화장실 리밸런싱 정보를 생성할 수 있고, 여성 화장실의 사용 비율과 남성 화장실의 사용 비율의 차이 값이 임계 값보다 크다고 확인되고, 남성 화장실의 사용 비율이 여성 화장실의 사용 비율보다 크다고 확인되면, 남성 화장실을 늘릴 것을 권유하는 화장실 리밸런싱 정보를 생성할 수 있다.Specifically, the apparatus 200 may determine whether the difference between the female toilet use rate and the male bathroom use rate is greater than a threshold value, and if it is determined that the difference value between the female toilet use rate and the male toilet use rate is greater than the threshold value, it may generate toilet rebalancing information recommending that toilets with a high use rate be increased. That is, the apparatus 200 may generate toilet rebalancing information recommending an increase in female toilets when it is confirmed that the difference between the female bathroom use rate and the male bathroom use rate is greater than the threshold value and the female bathroom use rate is greater than the male bathroom use rate, and if it is confirmed that the difference between the female bathroom use rate and the male bathroom use rate is greater than the threshold value and the male bathroom use rate is greater than the female bathroom use rate, toilet rebalancing recommending increasing the male bathroom information can be generated.

또한, 장치(200)는 여성 화장실의 사용 비율과 남성 화장실의 사용 비율의 차이 값이 임계 값보다 크지 않다고 확인되면, 화장실 리밸런싱 정보를 생성하지 않을 수 있다.In addition, the apparatus 200 may not generate toilet rebalancing information when it is determined that the difference between the female toilet use rate and the male toilet use rate is not greater than a threshold value.

예를 들어, 여성 화장실의 사용 비율이 80%이고 남성 화장실의 사용 비율이 20%이고, 임계 값이 40%일 경우, 장치(200)는 여성 화장실의 사용 비율과 남성 화장실의 사용 비율의 차이 값인 60%가 임계 값인 40%보다 큰 것을 확인하여, 사용 비율이 높은 여성 화장실을 늘릴 것을 권유하는 화장실 리밸런싱 정보를 생성할 수 있다.For example, when the female toilet usage rate is 80%, the male toilet usage ratio is 20%, and the threshold value is 40%, the apparatus 200 may determine that the difference between the female toilet usage ratio and the male toilet usage ratio, 60%, is greater than the threshold value of 40%, and may generate toilet rebalancing information recommending an increase in female toilets with a high usage ratio.

S504 단계에서, 장치(200)는 화장실 관리자가 보유한 화장실을 사용한 사용자의 방문 시각을 확인하여 방문 시각 분포 정도를 생성하고, 방문 시각 분포 정도를 기초로, 화장실의 주 방문 시간대를 생성할 수 있다.In step S504, the apparatus 200 may check the visiting time of the user using the toilet owned by the toilet manager to generate the visit time distribution, and based on the visit time distribution, create the main visit time zone of the toilet.

구체적으로, 장치(200)는 데이터베이스에 저장된 화장실 관리자가 보유한 화장실에 매칭된 사용자의 내역을 확인하여 화장실 관리자가 보유한 화장실을 사용한 사용자의 방문 시각을 확인할 수 있다. 또한, 장치(200)는 확인된 화장실 관리자가 보유한 화장실을 사용한 사용자의 방문 시각을 통해 방문 시각 분포 정도를 생성할 수 있으며, 방문 시각 분포 정도를 기초로, 방문 시각이 가장 몰리는, 즉, 밀도가 가장 높은 시각을 확인할 수 있고, 해당 시각을 화장실의 주 방문 시간대로 생성할 수 있다. 이 때, 장치(200)는 방문 시각 분포 정도를 통해 확인된 방문 시각이 가장 몰리는 시각을 화장실의 주 방문 시간대로 생성할 수도 있고, 방문 시각 분포 정도를 통해 확인된 방문 시각이 가장 몰리는 시각을 포함하는 시간대를 화장실의 주 방문 시간대로 생성할 수 있다. 여기서, 시간대는 미리 설정된 간격으로 생성될 수 있으며, 한 시간 간격일 수도 있고, 두 시간 간격일 수도 있고, 그 외의 시간 간격일 수도 있다.Specifically, the device 200 may check the details of users matched to the bathrooms owned by the bathroom manager stored in the database, and check the visit time of the user who used the bathroom owned by the bathroom manager. In addition, the apparatus 200 may generate a visit time distribution through the visit time of a user using the bathroom owned by the confirmed toilet manager, and based on the visit time distribution degree, the visit time is most crowded, that is, the highest density can be identified, and the corresponding time can be generated as the main visit time of the toilet. At this time, the device 200 may generate the time at which the visit time identified through the visit time distribution is the most crowded as the main visit time of the bathroom, or the visit time confirmed through the visit time distribution may generate a time zone including the most crowded time as the main visit time of the bathroom. Here, the time zone may be generated at preset intervals, may be one hour intervals, two hour intervals, or other time intervals.

S505 단계에서, 장치(200)는 화장실의 주 방문 시간대에 도달하기 전에 화장실 관리가 이루어지도록 유도하는 화장실 관리 정보를 생성할 수 있다. 여기서, 화장실 관리는 화장실 청소, 화장실 비품 구비, 화장실 내에 포함된 기기의 정상 작동 확인 등이 포함될 수 있다.In step S505, the device 200 may generate toilet management information leading to toilet management before reaching the main toilet visit time zone. Here, the bathroom management may include cleaning the bathroom, preparing bathroom fixtures, checking normal operation of devices included in the bathroom, and the like.

구체적으로, 장치(200)는 데이터베이스에 저장된 화장실 관리자가 보유한 화장실에 매칭된 사용자의 내역을 통해 화장실의 주 방문 시간대를 확인할 수 있고, 확인된 화장실의 주 방문 시간대에 도달하기 전에 화장실 관리가 이루어지도록 유도하는 화장실 관리 정보를 생성할 수 있다.Specifically, the device 200 may check the main visit time zone of the toilet through the details of the user matched to the toilet possessed by the toilet manager stored in the database, and before reaching the main visit time zone of the identified toilet, toilet management information leading to toilet management can be generated.

예를 들어, 주 방문 시간대가 8시에서 9시일 경우, 장치(200)는 8시에 도달하기 전인 7시 30분에 화장실 관리를 하라는 메시지를 포함하는 화장실 관리 정보를 생성할 수 있다.For example, when the main visit time zone is 8:00 to 9:00, the device 200 may generate toilet management information including a message to manage the bathroom at 7:30 before reaching 8:00.

S506 단계에서, 장치(200)는 화장실 관리자가 보유한 화장실을 사용한 사용자의 연령대를 확인하여 연령대 분포 정도를 생성하고, 연령대 분포 정도를 기초로, 화장실의 주 방문 연령을 생성할 수 있다.In step S506, the apparatus 200 may determine the age range of the user who has used the bathroom owned by the bathroom manager to generate an age distribution level, and based on the age distribution level, generate the age of the main toilet visit.

구체적으로, 장치(200)는 데이터베이스에 저장된 화장실 관리자가 보유한 화장실에 매칭된 사용자의 내역을 확인하여 화장실 관리자가 보유한 화장실을 사용한 사용자의 연령을 확인할 수 있다. 또한, 장치(200)는 확인된 화장실 관리자가 보유한 화장실을 사용한 사용자의 연령을 통해 연령대 분포 정도를 생성할 수 있으며, 연령대 분포 정도를 기초로, 가장 많이 사용한 연령, 즉, 밀도가 가장 높은 연령을 확인할 수 있고, 해당 연령을 화장실의 주 방문 연령으로 생성할 수 있다. 이 때, 장치(200)는 연령대 분포 정도를 통해 확인된 가장 많이 몰리는 연령을 화장실의 주 방문 연령으로 생성할 수도 있고, 연령대 분포 정도를 통해 확인된 가장 많이 몰리는 연령을 포함하는 연령대를 화장실의 주 방문 연령로 생성할 수 있다. 여기서, 연령대는 미리 설정된 간격으로 생성될 수 있으며, 5년 단위의 간격일 수도 있고, 10년 단위의 간격일 수도 있고, 그 외의 간격일 수도 있다.Specifically, the apparatus 200 may check the age of the user who used the bathroom owned by the bathroom manager by checking the details of the user matched to the bathroom owned by the bathroom manager stored in the database. In addition, the apparatus 200 may generate a degree of age distribution through the age of the user who used the toilet owned by the confirmed toilet manager, and based on the degree of age distribution, the most used age, that is, the age with the highest density. The age may be identified, and the corresponding age may be generated as the age of the main visit to the toilet. At this time, the device 200 may generate the most frequent age identified through the age distribution as the main toilet age, and the age group including the most frequent age identified through the age distribution as the main toilet age. Here, the age range may be generated at preset intervals, may be intervals of 5 years, intervals of 10 years, or other intervals.

S507 단계에서, 장치(200)는 화장실의 주 방문 연령을 기초로, 주 방문 연령의 인테리어 트렌드를 획득하고, 주 방문 연령의 인테리어 트렌드를 포함하는 화장실 리모델링 정보를 생성할 수 있다.In step S507 , the apparatus 200 may obtain interior trends of the ages of main visits based on the ages of main visits to toilets, and generate bathroom remodeling information including the interior trends of ages of main visits.

구체적으로, 장치(200)는 인테리어 사이트의 데이터베이스와 유무선으로 통신할 수 있으며, 인테리어 사이트의 데이터베이스는 사용자와 사용자가 선호하는 인테리어가 매칭되어 저장될 수 있으며, 사용자와 사용자와 매칭된 인테리어를 통해 연령에 따른 인테리어 트렌드 및 성별에 따른 인테리어 트렌드가 더 포함될 수 있다. 즉, 장치(200)는 데이터베이스에 저장된 화장실 관리자가 보유한 화장실에 매칭된 사용자의 내역을 통해 화장실의 주 방문 연령을 확인할 수 있고, 인테리어 사이트의 데이터베이스를 통해 화장실의 주 방문 연령에 매칭된 인테리어 트렌드를 획득할 수 있다. 또한, 장치(200)는 인테리어 사이트의 데이터베이스를 통해 획득한 화장실의 주 방문 연령에 매칭된 인테리어 트렌드를 포함하는 화장실 리모델링 정보를 생성할 수 있다.Specifically, the device 200 may communicate with a database of interior sites by wire or wirelessly, and the database of interior sites may match and store user and user-preferred interiors, and may further include interior trends according to age and interior trends according to gender through the interior matched with the user. That is, the device 200 may check the age of the main visit to the toilet through the details of the user matched to the toilet owned by the toilet manager stored in the database, and match the age of the main visit to the toilet through the database of the interior site. Interior trends can be obtained. In addition, the apparatus 200 may generate bathroom remodeling information including interior trends matched to the age of the main bathroom visitor acquired through a database of an interior site.

예를 들어, 화장실의 주 방문 연령이 40~50세일 경우, 장치(200)는 인테리어 사이트의 데이터베이스를 통해 40~50세에 매칭된 인테리어 트렌드가 내츄럴 스타일, 원목, 자연친화적임을 획득할 수 있고, 획득한 내츄럴 스타일, 원목, 자연친화적을 포함하는 화장실 리모델링 정보를 생성할 수 있다.For example, if the age of the main visit to the bathroom is 40 to 50 years old, the device 200 may obtain that the interior trend matched to the age of 40 to 50 is natural style, hardwood, and nature-friendly through a database of an interior site, and may generate bathroom remodeling information including the obtained natural style, wood, and nature-friendly.

S508 단계에서, 장치(200)는 화장실 리밸런싱 정보, 화장실 관리 정보 및 화장실 리모델링 정보를 포함하는 보고서를 생성하여 화장실 관리자에게 제공할 수 있다.In step S508, the apparatus 200 may generate a report including toilet rebalancing information, toilet management information, and toilet remodeling information, and provide the report to the toilet manager.

이로 인해, 장치(200)는 화장실 관리자에게 해당 화장실을 사용한 사용자의 내역을 통해 생성된 화장실 리밸런싱 정보, 화장실 관리 정보 및 화장실 리모델링 정보를 포함하는 보고서를 제공함으로써, 화장실 관리자는 어떤 성별의 화장실이 더 필요하고, 화장실을 언제 관리해야 하고, 어떻게 리모델링해야 하는지 알 수 있는 효과가 있다.For this reason, the apparatus 200 provides the toilet manager with a report including toilet rebalancing information, toilet management information, and toilet remodeling information generated through the details of the user who used the corresponding toilet, so that the toilet manager needs more toilets of which sex, when to manage the toilet, and how to remodel the toilet.

한편, 화장실에는 열화상 카메라가 구비되어 있고, 장치(200)는 화장실에 구비된 열화상 카메라와 유무선으로 통신하여 열화상 카메라를 통해 화장실의 화재 발생 위험 여부를 판단할 수 있다.Meanwhile, a thermal imaging camera is provided in the bathroom, and the apparatus 200 communicates with the thermal imaging camera provided in the bathroom by wire or wireless to determine whether or not there is a risk of fire in the bathroom through the thermal imaging camera.

도 6은 일실시예에 따른 열화상 카메라를 기반으로 한 화재 발생 위험 여부를 판단하는 과정을 설명하기 위한 순서도이다.6 is a flowchart illustrating a process of determining whether there is a risk of fire based on a thermal imaging camera according to an exemplary embodiment.

구체적으로, 장치(200)는 화장실에 설치된 열화상 카메라와 유무선으로 통신하고, 열화상 카메라를 제어 및 열화상 카메라로부터 열화상 영상을 수신할 수 있으며, 이때, 열화상 카메라는, 적외선을 기반으로 촬영 대상 공간의 온도를 소정의 색상(고온 영역이 적색/황색, 저온 영역이 자색, 중앙 영역이 청녹색)으로 표기하는 카메라일 수 있다. 이 때, 상기 적외선 측정/촬영 범위는 780nm 내지 14㎛일 수 있다.Specifically, the device 200 may communicate with a thermal imaging camera installed in a bathroom by wire or wirelessly, control the thermal imaging camera, and receive a thermal image from the thermal imaging camera. At this time, the thermal imaging camera may be a camera that displays the temperature of a space to be captured in a predetermined color (red/yellow for a high temperature region, purple for a low temperature region, and blue green for a central region) based on infrared rays. In this case, the infrared measurement/photography range may be 780 nm to 14 μm.

이어서, 열화상 영상을 기반으로 화재 발생 위험 여부를 판단하는 단계의 세부 단계들을 설명한다.Next, detailed steps of determining whether there is a risk of fire based on the thermal image will be described.

도 6을 참조하면, 먼저, S601 단계에서, 장치(200)는 제1 열화상 영상의 제1 시점에서 제1 이미지를 추출할 수 있다.Referring to FIG. 6 , first, in step S601, the apparatus 200 may extract a first image from a first viewpoint of a first thermal image.

구체적으로, 장치(200)는 화장실에 설치된 열화상 카메라를 통해 화장실의 제1 열화상 영상이 촬영되도록 제어할 수 있고, 제1 열화상 영상을 실시간으로 수신하여 시간에 따라 측정된 제1 열화상 영상(동영상)의 어느 한 시점(제1 시점)에서의 이미지인 제1 이미지를 캡쳐하여 정지 화상인 이미지로써 추출할 수 있다.Specifically, the apparatus 200 may control a first thermal image of the bathroom to be captured through a thermal imaging camera installed in the bathroom, receive the first thermal image in real time, capture a first image that is an image at any one time point (first time point) of the first thermal image (video) measured over time, and extract the image as a still image.

S602 단계에서, 장치(200)는 상기 제1 열화상 영상의 제1 시점으로부터 소정의 시간이 경과한 제2 시점에서 제2 이미지를 추출할 수 있다.In step S602, the apparatus 200 may extract a second image at a second point in time after a predetermined time has elapsed from the first point in time of the first thermal image.

구체적으로, 장치(200)는 제1 시점보다 더 뒤의 시점인 제2 시점에서, 제1 이미지를 추출하는 방식과 동일한 방식으로 제2 이미지를 추출할 수 있다. In detail, the device 200 may extract the second image at a second point of view that is later than the first point of view in the same way as the first image.

이 때, 제1 시점과 제2 시점 사이에서 제1 열화상 카메라의 촬영범위는 조절되지 않도록 고정될 수 있으며, 다시말해, 제1 이미지 및 제2 이미지는 온도가 나타난 색상 이외의 모든 형상이 동일하게 표기된다.In this case, the shooting range of the first thermal imaging camera may be fixed so as not to be adjusted between the first viewpoint and the second viewpoint. In other words, the first image and the second image are identically displayed in all shapes other than the color in which the temperature appears.

S603 단계에서, 장치(200)는 제2 이미지로부터, 상기 제2 이미지에서 나타나는 최저 온도부터 최고 온도까지의 색상 스펙트럼을 생성할 수 있다.In step S603, the device 200 may generate a color spectrum from the second image from the lowest temperature to the highest temperature appearing in the second image.

구체적으로, 장치(200)는 제2 이미지에서 나타나는 온도 색상을 기반으로, 가장 낮은 온도의 색상인 보라색으로부터 가장 높은 온도의 색상인 빨간색까지 색상 변화가 연속되는 색상 스펙트럼 막대를 생성할 수 있다.In detail, the apparatus 200 may generate a color spectrum bar in which the color changes continuously from purple, which is the lowest temperature color, to red, which is the highest temperature color, based on the temperature color appearing in the second image.

상기와 같이 생성된 색상 스펙트럼이 도 9 (a)에 도시되어 있다.The color spectrum generated as described above is shown in FIG. 9(a).

S604 단계에서, 장치(200)는 색상 스펙트럼을 기반으로, 제2 이미지에서 나타나는 최저 온도부터 최고 온도까지의 색상을 적어도 5개 이상의 등급으로 구분할 수 있다.In step S604, the apparatus 200 may classify colors from the lowest temperature to the highest temperature appearing in the second image into at least five grades based on the color spectrum.

구체적으로, 장치(200)는 색상 변화가 '연속되는' 색상 스펙트럼 막대를 상기 등급의 개수만큼의 색상으로 변환할 수 있다.Specifically, the apparatus 200 may convert color spectrum bars in which color changes are 'continuous' into colors as many as the number of levels.

도 7 (b)에는 상기 도 7 (a)를 5개의 등급으로 구분한 형태의 스펙트럼 막대가 도시되어 있다.FIG. 7 (b) shows spectrum bars in the form of dividing the FIG. 7 (a) into five levels.

S605 단계에서, 장치(200)는 등급을 기반으로, 제1 이미지 및 제2 이미지에 나타나는 제1 색상(C1)들을 각 등급에 따라 제2 색상(C2)으로 변환할 수 있다.In step S605 , the apparatus 200 may convert the first color C1 appearing in the first image and the second image into a second color C2 according to each grade based on the grade.

구체적으로 장치(200)는 제1 이미지 및 제2 이미지에 나타난 빨-주-노-초-파-남-보 등 다양한 색상들을 등급별 색상으로 변환할 수 있다. 따라서, 변환된 최종 제1 이미지 및 제2 이미지에서는 총 5개(상기 등급의 개수만큼)의 색상만이 표기될 수 있다.Specifically, the device 200 may convert various colors such as red-week-yellow-second-blue-south-violet appearing in the first image and the second image into colors for each grade. Therefore, only a total of 5 colors (as many as the number of the ratings) may be displayed in the converted final first image and second image.

S606 단계에서, 장치(200)는 제2 색상(C2)들이 제1 이미지 내에서 나타나는 제1 픽셀 수들을 각 제2 색상(C2)마다 카운트할 수 있다.In step S606, the device 200 may count the number of first pixels in which the second colors C2 appear in the first image for each second color C2.

S607 단계에서, 장치(200)는 제2 색상(C2)들이 제2 이미지 내에서 나타나는 제2 픽셀 수들을 각 제2 색상(C2)마다 카운트할 수 있다. In step S607, the device 200 may count the number of second pixels in which the second colors C2 appear in the second image for each second color C2.

S608 단계에서, 장치(200)는 제1 이미지의 총 픽셀 수인 제3 픽셀 수를 카운트할 수 있다.In step S608, the device 200 may count the number of third pixels that is the total number of pixels of the first image.

구체적으로, 장치(200)는 제1 이미지 및 제2 이미지를 구성하는 픽셀(Pixel) 수를 카운트할 수 있다.Specifically, the device 200 may count the number of pixels constituting the first image and the second image.

예를 들어, 제1 이미지 및 제2 이미지의 크기가 '1080*760'이라면, 장치(200)는 제3 픽셀 수로 '1080*760 = 820,800'개를 카운트할 수 있다.For example, if the sizes of the first image and the second image are '1080*760', the device 200 may count '1080*760 = 820,800' as the third number of pixels.

여기서, 제1 픽셀 수 및 제2 픽셀 수는 아래 표 1과 같이 카운트될 수 있다.Here, the first pixel number and the second pixel number may be counted as shown in Table 1 below.

제2 색상(등급)Secondary Color (Rating) 1One 22 33 44 55 계(제3 픽셀 수)Total (number of third pixels) 제1 픽셀 수first number of pixels 205167205167 246130246130 246129246129 8193281932 4144241442 820800820800 제2 픽셀 수Second number of pixels 123481123481 123013123013 205121205121 205025205025 164160164160 820800820800

상기 표 1에서, 등급이 높을수록(1에서 5로 갈수록) 높은 온도를 나타내는 색상(빨간색)을 의미할 수 있다. 예를 들어, 도 9 (b)의 예시에서, 보라색이 1등급, 청록색이 2등급, 초록색이 3등급, 노란색이 4등급, 빨간색이 5등급을 나타낼 수 있다.S609 단계에서, 장치(200)는 [제1 픽셀 수 / 제3 픽셀 수 = 제1 비율] 및 [제2 픽셀 수 / 제3 픽셀 수 = 제2 비율]을 상기 각 제2 색상마다 산출할 수 있다.In Table 1, a higher grade (from 1 to 5) may mean a color (red) representing a higher temperature. For example, in the example of FIG. 9(b) , purple may indicate a first grade, cyan a second grade, green a third grade, yellow a fourth grade, and red a fifth grade. In step S609, the device 200 may calculate [the number of first pixels / the number of third pixels = a first ratio] and [the number of second pixels / the number of third pixels = a second ratio] for each second color.

즉, 장치(200)는 제1 이미지 및 제2 이미지 각각에서 각 제2 색상들이 얼마만큼의 비율을 차지하는지를 산출할 수 있다.That is, the device 200 may calculate the ratio of each second color in each of the first image and the second image.

상기 표 1의 예시에 따라 제1 비율 및 제2 비율을 산출한 예시는 표 2와 같다.An example of calculating the first ratio and the second ratio according to the example of Table 1 is shown in Table 2.

등급(제2 색상)Grade (Second Color) 1One 22 33 44 55 total 제1 비율first rate 0.249960.24996 0.2998660.299866 0.2998650.299865 0.099820.09982 0.050490.05049 1One 제2 비율second rate 0.150440.15044 0.149870.14987 0.2499040.249904 0.2497870.249787 0.20.2 1One

상기 표 2에서와 같이, 제1 비율들의 합 및 제2 비율들의 합은 각각 1이 된다.S610 단계에서, 장치(200)는 제2 색상(C2) 중, 적어도 네 등급 이상 차이나는 제2 색상(C2)들의 조합인 점검군을 적어도 하나 추출할 수 있다.As shown in Table 2, the sum of the first ratios and the sum of the second ratios each become 1. In step S610, the apparatus 200 may extract at least one check group that is a combination of second colors C2 that differ by at least four grades from among the second colors C2.

즉, 장치(200)는 등급이 네 등급 이상 차이나는 제2 색상(C2)들의 조합을 추출할 수 있다.That is, the apparatus 200 may extract a combination of second colors C2 whose grades differ by four or more grades.

상기 표 2의 예시에서는, 등급이 1에서 5까지 5단계이므로 상기 점검군은 1등급 및 5등급의 한 쌍만이 추출될 수 있다.In the example of Table 2, since the grades are 5 steps from 1 to 5, only one pair of grades 1 and 5 can be extracted from the inspection group.

다른 예시로, 등급이 1에서 6까지 6단계인 경우에는 여섯 개 중 두 개를 추출하는 6C2의 조합 중 등급이 네 등급 이상 차이나는 조합인 3개[(1, 5), (1, 6), (2, 6)]가 점검군으로 추출될 수 있다.As another example, if the ratings are 6 steps from 1 to 6, three combinations [(1, 5), (1, 6), (2, 6)], which are combinations whose grades differ by more than four grades among the combinations of 6C2 that extract two out of six, can be extracted as a check group.

S611 단계에서, 장치(200)는 점검군마다, [점검군 중 상대적으로 낮은 등급의 제2 색상(C2)인 제3 색상]의 [(제1 비율 - 제2 비율) / 제1 비율 = 제1 증감율]을 산출할 수 있다.In step S611, the apparatus 200 may calculate [(first ratio - second ratio) / first ratio = first change rate] of [the third color that is the second color (C2) of the relatively low grade in the check group] for each inspection group.

즉, 장치(200)는 점검군들의 각 조합별로 제1 증감율을 산출할 수 있다.That is, the apparatus 200 may calculate the first increase/decrease rate for each combination of inspection groups.

예를 들어, 장치(200)는 [(1, 5), (1, 6), (2, 6)]가 점검군인 경우, 세 점검군 각각에서 상대적으로 낮은 등급의 제2 색상(C2)인 1, 1, 2가 제3 색상으로 지정되고, 1, 1, 2에 대해 제1 증감율을 산출할 수 있다.For example, when [(1, 5), (1, 6), and (2, 6)] are the inspection groups, the apparatus 200 may designate 1, 1, and 2, which are the second colors C2 of a relatively low grade in each of the three inspection groups, as the third colors, and calculate the first change rate for 1, 1, and 2.

등급 1에 대한 제1 증감율은, 표 2를 기준으로 '(0.24996 - 0.15044) / 0.24996 = 0.3981'로 산출될 수 있다.The first change rate for grade 1 may be calculated as '(0.24996 - 0.15044) / 0.24996 = 0.3981' based on Table 2.

S612 단계에서, 장치(200)는 점검군마다, [점검군 중 상대적으로 높은 등급의 제2 색상(C2)인 제4 색상]의 [(제2 비율 - 제1 비율) / 제1 비율 = 제2 증감율]을 산출할 수 있다.In step S612, the device 200 may calculate [(second ratio - first ratio) / first ratio = second change rate] of [the fourth color that is the second color (C2) of the relatively high grade in the check group] for each inspection group.

구체적으로, 장치(200)는 제1 증감율 산출 과정과 동일한 방식으로 제2 증감율을 산출하되, 세 점검군 각각에서 상대적으로 높은 등급의 제2 색상(C2)을 기준으로 제2 증감율을 산출할 수 있다.Specifically, the device 200 calculates the second change rate in the same way as the first change rate calculation process, but calculates the second change rate based on the relatively high grade of the second color C2 in each of the three inspection groups.

예를 들어, 장치(200)는 [(1, 5), (1, 6), (2, 6)]가 점검군인 경우, 세 점검군 각각에서 상대적으로 높은 등급의 제2 색상(C2)인 5, 6, 6이 제4 색상으로 지정되고, 5, 6, 6에 대해 제2 증감율을 산출할 수 있다.For example, when [(1, 5), (1, 6), and (2, 6)] are the inspection groups, the device 200 may designate 5, 6, and 6, which are the second colors C2 of a relatively high rank in each of the three inspection groups, as the fourth colors, and calculate a second increase/decrease rate for 5, 6, and 6.

등급 5에 대한 제2 증감율은, 표 2를 기준으로 '(0.20000 - 0.05049) / 0.20000 = 2.961'로 산출될 수 있다.The second increase/decrease rate for grade 5 may be calculated as '(0.20000 - 0.05049) / 0.20000 = 2.961' based on Table 2.

S613 단계에서, 장치(200)는 점검군마다, [(제2 증감율 - 제1 증감율) * 제2 색상(C2)간 등급 차이 = 제1 증가 지수]를 산출할 수 있다.In step S613, the apparatus 200 may calculate [(second increase rate - first increase rate) * difference in grades between the second colors C2 = first increase index] for each inspection group.

즉, 장치(200)는 산출된 제1 증감율 및 제2 증감율을 기반으로, 제2 색상(C2)간 등급 차이를 반영하여 제1 증가 지수를 산출할 수 있다.That is, the device 200 may calculate the first increase factor by reflecting the grade difference between the second colors C2 based on the calculated first increase and decrease rates and the second increase and decrease rates.

상기 표 2를 기준으로, 제1 증감율은 0.3981, 제2 증감율은 2.961이고, 제2 색상(C2)간 등급 차이(제3 색상 및 제4 색상간 등급 차이)는 4이므로, 장치(200)는 제1 증가 지수로 (2.961 - 0.3981) * 4 = 10.2516를 산출할 수 있다.Based on Table 2, since the first change rate is 0.3981, the second change rate is 2.961, and the grade difference between the second colors C2 (the grade difference between the third color and the fourth color) is 4, the device 200 can calculate (2.961 - 0.3981) * 4 = 10.2516 as the first increase factor.

또한, 점검군이 여러 조합인 경우, 장치(200)는 제1 증가 지수를 여러개 산출할 수 있다.In addition, when there are several combinations of inspection groups, the device 200 may calculate several first increase indices.

S614 단계에서, 장치(200)는 점검군이 하나인 경우 제1 증가 지수를 제2 증가 지수로 반환하고, 점검군이 둘 이상인 경우, 점검군들의 제1 증가 지수의 평균값을 제2 증가 지수로 반환할 수 있다.In step S614, the device 200 may return the first incremental index as the second incremental index when there is one inspection group, and return the average value of the first incremental indexes of the inspection groups as the second incremental index when there are two or more inspection groups.

즉, 장치(200)는 제1 증가 지수(들)을 기반으로 최종값인 제2 증가 지수를 산출할 수 있다.That is, the apparatus 200 may calculate a second incremental factor as a final value based on the first incremental factor(s).

예를 들어, 장치(200)는 제1 증가 지수가 10.2516 하나인 경우, 10.2516를 제2 증가 지수로 산출(반환)하고, 장치(200)는 제2 증가 지수가 10.2516, 12.4518로 두 개인 경우, 그 평균값인 11.3517로 제2 증가지수로 산출할 수 있다.For example, when the first incremental index is 10.2516, the device 200 calculates (returns) 10.2516 as the second incremental index, and the apparatus 200 calculates (returns) the second incremental index as 10.2516 and 12.4518.

또한, 장치(200)는 제2 증가 지수가 소정의 수치 이상인 경우, 화재 발생 위험이 있는 것으로 판단할 수 있으며, 이로 인해, 장치(200)는 제1 열화상 영상을 기반으로 화재 발생 위험 여부를 판단할 수 있다In addition, the device 200 may determine that there is a risk of fire when the second increase factor is greater than or equal to a predetermined value, and accordingly, the device 200 may determine whether there is a risk of fire based on the first thermal image.

예를 들어, 장치(200)는 상기 제2 증가 지수가 15 이상인 경우를 화재 발생 위험이 있는 것으로 지정하여, 온도 변화가 급격할 때 화재 발생 위험이 있는 것으로 판단할 수 있다.For example, the apparatus 200 may determine that there is a risk of fire when the temperature change is rapid by designating a case where the second increase factor is 15 or more as a risk of fire.

도 8은 일실시예에 따른 장치의 구성의 예시도이다.8 is an exemplary diagram of a configuration of a device according to an embodiment.

일실시예에 따른 장치(200)는 프로세서(210) 및 메모리(220)를 포함한다. 프로세서(210)는 도 1 내지 도 7을 참조하여 전술된 적어도 하나의 장치들을 포함하거나, 도 1 내지 도 7을 참조하여 전술된 적어도 하나의 방법을 수행할 수 있다. 장치(200)를 이용하는 자 또는 단체는 도 1 내지 도 7을 참조하여 전술된 방법들 일부 또는 전부와 관련된 서비스를 제공할 수 있다.Device 200 according to an embodiment includes a processor 210 and a memory 220 . The processor 210 may include at least one device described above with reference to FIGS. 1 to 7 or may perform at least one method described above with reference to FIGS. 1 to 7 . A person or organization using the device 200 may provide services related to some or all of the methods described above with reference to FIGS. 1 to 7 .

메모리(220)는 전술된 방법들과 관련된 정보를 저장하거나 후술되는 방법들이 구현된 프로그램을 저장할 수 있다. 메모리(220)는 휘발성 메모리 또는 비휘발성 메모리일 수 있다.The memory 220 may store information related to the methods described above or may store a program in which the methods described below are implemented. Memory 220 may be volatile memory or non-volatile memory.

프로세서(210)는 프로그램을 실행하고, 장치(200)를 제어할 수 있다. 프로세서(210)에 의하여 실행되는 프로그램의 코드는 메모리(220)에 저장될 수 있다. 장치(200)는 입출력 장치(도면 미 표시)를 통하여 외부 장치(예를 들어, 퍼스널 컴퓨터 또는 네트워크)에 연결되고, 유무선 통신을 통해 데이터를 교환할 수 있다.The processor 210 may execute a program and control the device 200 . Program codes executed by the processor 210 may be stored in the memory 220 . The device 200 may be connected to an external device (eg, a personal computer or network) through an input/output device (not shown) and exchange data through wired/wireless communication.

이상에서 설명된 실시예들은 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치, 방법 및 구성요소는, 예를 들어, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPGA(field programmable gate array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 애플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The embodiments described above may be implemented as hardware components, software components, and/or a combination of hardware components and software components. For example, the devices, methods, and components described in the embodiments may be implemented using one or more general purpose or special purpose computers, such as, for example, a processor, controller, arithmetic logic unit (ALU), digital signal processor, microcomputer, field programmable gate array (FPGA), programmable logic unit (PLU), microprocessor, or any other device capable of executing and responding to instructions. A processing device may run an operating system (OS) and one or more software applications running on the operating system. A processing device may also access, store, manipulate, process, and generate data in response to execution of software. For convenience of understanding, there are cases in which one processing device is used, but those skilled in the art will recognize that the processing device may include a plurality of processing elements and/or multiple types of processing elements. For example, a processing device may include a plurality of processors or a processor and a controller. Other processing configurations are also possible, such as parallel processors.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The method according to the embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded on a computer readable medium. The computer readable medium may include program instructions, data files, data structures, etc. alone or in combination. Program commands recorded on the medium may be specially designed and configured for the embodiment or may be known and usable to those skilled in computer software. Examples of computer-readable recording media include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and hardware devices specially configured to store and execute program instructions such as ROM, RAM, and flash memory. Examples of program instructions include high-level language codes that can be executed by a computer using an interpreter, as well as machine language codes such as those produced by a compiler. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 가상 장치(virtual equipment), 컴퓨터 저장 매체 또는 장치, 또는 전송되는 신호 파(signal wave)에 영구적으로, 또는 일시적으로 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.Software may include a computer program, code, instructions, or a combination of one or more of these, and may configure a processing device to operate as desired, or may independently or collectively direct a processing device. Software and/or data may be permanently or temporarily embodied in any tangible machine, component, physical device, virtual equipment, computer storage medium or device, or transmitted signal wave, to be interpreted by, or to provide instructions or data to, a processing device. Software may be distributed on networked computer systems and stored or executed in a distributed manner. Software and data may be stored on one or more computer readable media.

이상과 같이 실시예들이 비록 한정된 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기를 기초로 다양한 기술적 수정 및 변형을 적용할 수 있다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.As described above, although the embodiments have been described with limited drawings, those skilled in the art can apply various technical modifications and variations based on the above. For example, even if the described techniques are performed in an order different from the described method, and/or components of the described system, structure, device, circuit, etc. are combined or combined in a different form from the described method, or replaced or substituted by other components or equivalents, appropriate results can be achieved.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents of the claims are within the scope of the following claims.

Claims (3)

장치에 의해 수행되는, 사용자 위치 기반 화장실 이용 및 결제 서비스 제공 방법에 있어서,
화장실 관리자의 단말로부터 화장실의 위치, 화장실의 옵션을 포함하는 화장실의 정보를 수집하는 단계;
상기 화장실의 정보에 포함된 화장실의 위치를 지도 데이터베이스에 매칭하는 단계;
사용자의 단말로부터 근방 화장실의 정보 제공 요청을 수신하고, 상기 사용자의 단말로부터 상기 사용자의 위치를 획득하는 단계;
상기 사용자의 위치 및 상기 지도 데이터베이스를 기초로, 상기 사용자의 위치에서 미리 설정된 제1 거리 이내에 포함된 화장실인 근방 화장실을 획득하는 단계;
상기 사용자의 단말로 상기 근방 화장실의 정보를 제공하는 단계;
상기 사용자의 단말로부터 상기 근방 화장실 중 어느 하나인 제1 화장실이 선택되면, 상기 사용자의 단말로 상기 제1 화장실에 대응하는 기본 비용 및 상기 제1 화장실의 정보를 제공하는 단계;
상기 사용자의 단말로부터 상기 제1 화장실을 사용할 것이라는 요청을 수신하면, 상기 사용자의 단말과 상기 제1 화장실 간의 거리가 미리 설정된 제2 거리 이내인지 여부를 판단하고, 상기 사용자의 단말과 상기 제1 화장실 간의 거리가 상기 제2 거리 이내인 경우, 상기 제1 화장실이 자동으로 열리도록 제어하는 단계;
상기 사용자의 단말이 상기 제1 화장실 내에 위치한 것이 확인되면, 상기 제1 화장실이 자동으로 잠기도록 제어하고, 상기 사용자의 단말이 제1 화장실 내에 위치한 시간인 화장실 방문 시간을 측정하는 단계; 및
상기 제1 화장실에 대응하는 기본 비용 및 상기 화장실 방문 시간을 기초로, 최종 결제 비용을 생성하고, 상기 사용자의 단말로부터 최종 결제 비용이 지불되도록 관리하는 단계를 포함하고,
상기 화장실 관리자에게 정산 및 보고서를 제공하는 단계를 더 포함하고,
상기 사용자의 단말로 상기 제1 화장실에 대응하는 기본 비용 및 상기 제1 화장실의 정보를 제공하는 단계;는
상기 제1 화장실에 대응하는 기본 비용을 선정하는 단계를 더 포함하고,
상기 제1 화장실에 대응하는 기본 비용을 선정하는 단계는,
상기 제1 화장실의 관리 주기를 확인하여, 관리 주기에 따라 제1 점수를 생성하는 단계,
상기 제1 화장실에 포함된 옵션을 확인하여, 상기 포함된 옵션의 개수에 따라 제2 점수를 생성하는 단계,
상기 제1 화장실의 정보를 기초로, 상기 제1 화장실의 크기 및 상기 제1 화장실의 칸 수를 확인하고, 상기 제1 화장실의 크기 및 상기 제1 화장실의 칸 수를 기초로, 제3 점수를 생성하는 단계,
상기 제1 화장실을 이용한 사용자의 수를 확인하여, 상기 제1 화장실을 이용한 사용자의 수를 기초로, 제4 점수를 생성하는 단계,
상기 제1 화장실을 이용한 사용자의 단말로부터 제1 화장실에 대한 만족도를 획득하고, 상기 제1 화장실에 대한 만족도를 기반으로 제5 점수를 생성하는 단계,
상기 제1 화장실의 위치를 통해 상기 제1 화장실이 번화가에 위치하였는지 여부를 판단하고, 제6 점수를 생성하는 단계,
상기 제1 화장실의 방음 수준을 확인하여, 상기 제1 화장실의 방음 수준을 기초로, 제7 점수를 생성하는 단계,
상기 제1 점수, 상기 제2 점수, 상기 제3 점수, 상기 제4 점수, 상기 제5 점수, 상기 제6 점수, 및 상기 제7 점수를 합산한 값으로 상기 제1 화장실의 최종 점수를 생성하는 단계, 및
상기 제1 화장실의 최종 점수에 비례하여 상기 제1 화장실에 대응하는 기본 비용을 선정하는 단계를 포함하고,
상기 화장실 관리자에게 보고서를 제공하는 단계는,
상기 화장실 관리자가 보유한 여성 화장실 및 남성 화장실의 사용 비율을 각각 확인하는 단계,
상기 여성 화장실의 사용 비율과 상기 남성 화장실의 사용 비율의 차이 값을 확인하는 단계,
상기 차이 값이 미리 설정된 임계 값보다 큰 것에 기반하여, 상기 사용 비율이 높은 화장실을 늘릴 것을 권유하는 화장실 리밸런싱 정보를 생성하는 단계,
상기 화장실 관리자가 보유한 화장실을 사용한 사용자의 방문 시각을 확인하여, 방문 시각 분포 정도를 생성하고, 상기 방문 시각 분포 정도를 기초로, 상기 화장실의 주 방문 시간대를 생성하는 단계,
상기 화장실의 주 방문 시간대에 도달하기 전에 화장실 관리가 이루어지도록 유도하는 화장실 관리 정보를 생성하는 단계,
상기 화장실 관리자가 보유한 화장실을 사용한 사용자의 연령대를 확인하여, 연령대 분포 정도를 생성하고, 상기 연령대 분포 정도를 기초로, 상기 화장실의 주 방문 연령을 생성하는 단계,
상기 화장실의 주 방문 연령을 기초로, 상기 주 방문 연령의 인테리어 트렌드를 획득하고, 상기 주 방문 연령의 인테리어 트렌드를 포함하는 화장실 리모델링 정보를 생성하는 단계, 및
상기 화장실 리밸런싱 정보, 상기 화장실 관리 정보 및 상기 화장실 리모델링 정보를 포함하는 보고서를 생성하여 상기 화장실 관리자에게 제공하는 단계를 포함하는,
사용자 위치 기반 화장실 이용 및 결제 서비스 제공 방법.
In the user location-based toilet use and payment service providing method, performed by the device,
Collecting toilet information including toilet location and toilet options from a toilet manager terminal;
Matching the location of the toilet included in the toilet information to a map database;
Receiving a request for providing information on a nearby toilet from a user's terminal, and acquiring the user's location from the user's terminal;
obtaining a nearby toilet, which is a toilet included within a preset first distance from the user's location, based on the user's location and the map database;
providing information on the nearby toilet to the user's terminal;
providing a basic cost corresponding to the first toilet and information on the first toilet to the user's terminal when a first toilet, which is one of the nearby toilets, is selected from the user's terminal;
When receiving a request to use the first toilet from the user terminal, determining whether a distance between the user terminal and the first toilet is within a preset second distance, and controlling the first toilet to be automatically opened when the distance between the user terminal and the first toilet is within the second distance;
If it is confirmed that the user's terminal is located in the first toilet, controlling the first toilet to be automatically locked, and measuring a toilet visit time, which is a time when the user's terminal is located in the first toilet; and
Generating a final payment cost based on the basic cost corresponding to the first bathroom and the bathroom visit time, and managing the final payment cost to be paid from the user's terminal,
Further comprising providing a settlement and report to the toilet manager,
Providing a basic cost corresponding to the first toilet and information on the first toilet to the user's terminal;
Further comprising selecting a basic cost corresponding to the first toilet,
The step of selecting the basic cost corresponding to the first toilet,
Checking the management cycle of the first toilet and generating a first score according to the management cycle;
Checking the options included in the first toilet and generating a second score according to the number of options included;
Based on the information of the first toilet, confirming the size of the first toilet and the number of compartments of the first toilet, and generating a third score based on the size of the first toilet and the number of compartments of the first toilet;
Checking the number of users using the first toilet and generating a fourth score based on the number of users using the first toilet;
Obtaining satisfaction with the first bathroom from a terminal of a user who has used the first bathroom, and generating a fifth score based on the satisfaction with the first bathroom;
Determining whether the first toilet is located in the downtown area through the location of the first toilet and generating a sixth score;
Checking the soundproofing level of the first bathroom and generating a seventh score based on the soundproofing level of the first bathroom;
Generating a final score of the first toilet as a sum of the first score, the second score, the third score, the fourth score, the fifth score, the sixth score, and the seventh score, and
Selecting a basic cost corresponding to the first toilet in proportion to the final score of the first toilet;
The step of providing the report to the toilet manager,
Checking the use ratio of the female toilet and male toilet owned by the toilet manager, respectively;
Checking a difference value between the use rate of the female toilet and the use rate of the male toilet;
Generating toilet rebalancing information recommending an increase in toilets with a high usage rate based on the difference value being greater than a preset threshold;
Checking the visit time of the user using the toilet owned by the toilet manager, generating a visit time distribution degree, and generating a main visit time zone of the toilet based on the visit time distribution degree;
Generating toilet management information that induces toilet management to be performed before reaching the main visit time zone of the toilet;
Checking the age range of the user who used the bathroom owned by the bathroom manager, generating a degree of age distribution, and generating a primary visit age of the bathroom based on the degree of age distribution;
Based on the age of the main visit to the bathroom, obtaining an interior trend of the age of the main visit and generating bathroom remodeling information including the interior trend of the age of the main visit, and
Generating and providing a report including the bathroom rebalancing information, the bathroom management information, and the bathroom remodeling information to the bathroom manager,
How to provide user location-based toilet use and payment services.
삭제delete 삭제delete
KR1020230047186A 2023-04-11 2023-04-11 Method, device and system for providing user location-based toilet use and payment service KR102559969B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020230047186A KR102559969B1 (en) 2023-04-11 2023-04-11 Method, device and system for providing user location-based toilet use and payment service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020230047186A KR102559969B1 (en) 2023-04-11 2023-04-11 Method, device and system for providing user location-based toilet use and payment service

Publications (1)

Publication Number Publication Date
KR102559969B1 true KR102559969B1 (en) 2023-07-26

Family

ID=87427537

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020230047186A KR102559969B1 (en) 2023-04-11 2023-04-11 Method, device and system for providing user location-based toilet use and payment service

Country Status (1)

Country Link
KR (1) KR102559969B1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005030049A (en) * 2003-07-11 2005-02-03 Keshion:Kk Sanitary showroom using public lavatory
KR20050016068A (en) * 2004-07-30 2005-02-21 곽노희 Toilet management system and method in real time through networks
KR101748299B1 (en) 2017-02-02 2017-06-19 주식회사 한국넷킹콜 IoT-Based Integrated Remote Restrooms Management System, IoT-Based Integrated Remote Management Server, and IoT-Based Integrated Remote Restrooms Management Method
KR101868508B1 (en) 2017-10-26 2018-06-19 주식회사 나래젠 Apparatus for managing public restroom and control method thereof
KR20200068847A (en) * 2018-12-06 2020-06-16 이한주 System for guiding optimal location of restroom based on real-time restroom use information, and method thereof
KR102171916B1 (en) 2019-04-02 2020-11-13 엄문회 System for using toilet safely
JP2021184192A (en) * 2020-05-22 2021-12-02 株式会社サニカ Indoor use management system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005030049A (en) * 2003-07-11 2005-02-03 Keshion:Kk Sanitary showroom using public lavatory
KR20050016068A (en) * 2004-07-30 2005-02-21 곽노희 Toilet management system and method in real time through networks
KR101748299B1 (en) 2017-02-02 2017-06-19 주식회사 한국넷킹콜 IoT-Based Integrated Remote Restrooms Management System, IoT-Based Integrated Remote Management Server, and IoT-Based Integrated Remote Restrooms Management Method
KR101868508B1 (en) 2017-10-26 2018-06-19 주식회사 나래젠 Apparatus for managing public restroom and control method thereof
KR20200068847A (en) * 2018-12-06 2020-06-16 이한주 System for guiding optimal location of restroom based on real-time restroom use information, and method thereof
KR102171916B1 (en) 2019-04-02 2020-11-13 엄문회 System for using toilet safely
JP2021184192A (en) * 2020-05-22 2021-12-02 株式会社サニカ Indoor use management system

Similar Documents

Publication Publication Date Title
KR102379181B1 (en) Method, device and system for deriving beauty business plan and strategy based on artificial intelligence
KR102404511B1 (en) Method, device and system for recommending customized product information based on artificial intelligence
KR102553041B1 (en) Method, device and system for providing matching platform service between user and interior supplier based on artificial intelligence model
KR102551997B1 (en) Method, device and system for providing commerce platform service and automation of advertising content planning based on analysis of content watching propensity
KR102546871B1 (en) Method, device and system for recommending order information through pattern analysis of order history regarding distribustion of food materials and subsidiary materials for business to business based on artificial intelligence model
KR102531879B1 (en) Method, device and system for predicting and monitoring occurrence of event for maintenance of enterprise electronic equipment based on artificial intelligence
KR102554580B1 (en) Method, device and system for providing order alarm serveice and estimating safety inventory in warehouse through pattern analysis of order history regarding distribustion of food materials and subsidiary materials based on artificial intelligence model
KR102539679B1 (en) Method, device and system for recommending places tailored to the user based on the user's route
KR102330689B1 (en) Artificial intelligence based hotel recommendation device and method
Nguyen et al. An optimal design of interval type-2 fuzzy logic system with various experiments including magnetorheological fluid damper
KR102435287B1 (en) Method, device and system for providing customized beauty service platform based on artificial intelligence
CN113672797A (en) Content recommendation method and device
KR102559969B1 (en) Method, device and system for providing user location-based toilet use and payment service
KR102530527B1 (en) Method, device and system for providing restaurant recommendation service based on health information
KR102463875B1 (en) Method, device and system for providing personalized psychotherapy content using big data
KR102564996B1 (en) Method, device and system for providing user customized health functional food curation service based on artificial intelligence
KR102478685B1 (en) Method, device and system for validating interior modeling images based on artificial intelligence
KR102426803B1 (en) Method, device and system for automatically uploading overseas sales page of product based on artificial intelligence
KR102447426B1 (en) Method, device and system for recommending lifestyle guide information analyzing personal color and timeline based behavioral data for hyper personalization
KR20240082117A (en) Method, device and system for allocating cleaning and guard personnel for building management based on big data
Kang et al. Floor plan optimization for indoor environment based on multimodal data
KR102569294B1 (en) Method, device and system for providing a platform for developing and renting a single person space
KR102637536B1 (en) Method, device and system for providing real estate finance platform that performs real estate collateral valuation through artificial intelligence model
KR102493777B1 (en) Method, device and system for processing funeral reservation and order based on artificial intelligence
KR102643697B1 (en) Method, device, and system for providing matching and curation platform services between influencers and brands using artificial intelligence models

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant