KR20240053761A - Food waste collection clustering method - Google Patents

Food waste collection clustering method Download PDF

Info

Publication number
KR20240053761A
KR20240053761A KR1020220133686A KR20220133686A KR20240053761A KR 20240053761 A KR20240053761 A KR 20240053761A KR 1020220133686 A KR1020220133686 A KR 1020220133686A KR 20220133686 A KR20220133686 A KR 20220133686A KR 20240053761 A KR20240053761 A KR 20240053761A
Authority
KR
South Korea
Prior art keywords
collection
cluster
food waste
order
data
Prior art date
Application number
KR1020220133686A
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 KR1020220133686A priority Critical patent/KR20240053761A/en
Publication of KR20240053761A publication Critical patent/KR20240053761A/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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3407Route searching; Route guidance specially adapted for specific applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • 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/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • G06Q10/047Optimisation of routes or paths, e.g. travelling salesman problem
    • 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/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06316Sequencing of tasks or work
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02WCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
    • Y02W30/00Technologies for solid waste management
    • Y02W30/10Waste collection, transportation, transfer or storage, e.g. segregated refuse collecting, electric or hybrid propulsion

Abstract

음식물 쓰레기 수거 방법은 특정 지역의 음식물 쓰레기 발생 현황에 관한 분석데이터를 수집하여 건물별 음식물 쓰레기 배출량을 결정하는 음식물 쓰레기 배출량 분석부 및 상기 분석데이터의 법정구역 정보를 이용하여 상기 특정 지역을 법정동 경계에 따라 복수의 구역들로 분할하고 구역별 음식물 쓰레기 수거 난이도를 산출하는 구역별 수거 난이도 산출부를 포함한다.The food waste collection method collects analysis data on the food waste generation status in a specific area and determines the amount of food waste for each building by collecting analysis data on the food waste emissions analysis unit and using the legal area information from the analysis data to determine the specific area at the legal dong boundary. Accordingly, it is divided into a plurality of zones and includes a zone-specific collection difficulty calculation unit that calculates the food waste collection difficulty for each zone.

Description

음식물 쓰레기 수거 방법{FOOD WASTE COLLECTION CLUSTERING METHOD}Food waste collection method{FOOD WASTE COLLECTION CLUSTERING METHOD}

본 발명은 음식물 쓰레기 수거 방법에 관한 것으로, 보다 상세하게는 음식물 쓰레기 수거를 위한 운행 거리가 절반 가량 감소하고, 수거 기사의 부족으로 인해 수거가 밀리는 경우, 시간적, 경제적 면에서 효율적으로 동작하는 음식물 쓰레기 수거 방법에 관한 것이다.The present invention relates to a method of collecting food waste, and more specifically, to reduce the driving distance for food waste collection by about half and to operate efficiently in terms of time and economy when collection is delayed due to a lack of collection workers. It's about collection method.

본 발명에 관련된 종래기술에는 경로 최적화, 수거 서비스, 주소 기반 수거, 수거 배차가 있다. 특허문헌 1 경로 최적화 시스템 및 방법은 영역별 통과 시간 정보와 수거 시간 정보를 기초로 최적 경로를 연산한다. Conventional technologies related to the present invention include route optimization, collection service, address-based collection, and collection dispatch. Patent Document 1 Path optimization system and method calculates the optimal path based on passage time information and collection time information for each area.

그러나 종래기술은 신규 음식물 쓰레기 수거를 입력하고, 특정 음식물 쓰레기 수거를 확정하고, 최단 순회 경로를 계산하고, 엔드 입력 종료하지 못하는 문제점이 있다.However, the prior art has the problem of not being able to input new food waste collection, confirm specific food waste collection, calculate the shortest circuit route, and complete the end input.

등록특허공보 제10-2316149호 경로 최적화 시스템 및 방법Registered Patent Publication No. 10-2316149 Path optimization system and method

본 발명은 신규 음식물 쓰레기 수거를 입력하고, 특정 음식물 쓰레기 수거를 확정하고, 최단 순회 경로를 계산하고, 엔드 입력 종료하는 음식물 쓰레기 수거 방법을 제공하는 것을 목적으로 한다.The purpose of the present invention is to provide a food waste collection method that inputs new food waste collection, confirms a specific food waste collection, calculates the shortest circuit route, and ends input.

또한, 본 발명은 음식물 쓰레기 수거를 클러스터링하고, 수거 경로를 최적화해 수거 거리를 단축하는 음식물 쓰레기 수거 방법을 제공하는 것을 또 다른 목적으로 한다.Another object of the present invention is to provide a food waste collection method that clusters food waste collection and optimizes the collection route to shorten the collection distance.

본 발명의 바람직한 일 실시예에 따른 음식물 쓰레기 수거 방법은, 실시간 음식물 쓰레기 수거 장치는 특정 지역의 음식물 쓰레기 발생 현황에 관한 분석데이터를 수집하여 건물별 음식물 쓰레기 배출량을 결정하는 음식물 쓰레기 배출량 분석부 및 상기 분석데이터의 법정구역 정보를 이용하여 상기 특정 지역을 법정동 경계에 따라 복수의 구역들로 분할하고 구역별 음식물 쓰레기 수거 난이도를 산출하는 구역별 수거 난이도 산출부를 포함하고, 제어부(5)는 신규 음식물 쓰레기 수거를 입력하는 신규 음식물 쓰레기 수거 입력 단계(S21); 특정 음식물 쓰레기 수거를 확정하는 특정 음식물 쓰레기 수거 확정 단계(S22); 최단 순회 경로를 계산하는 최단 순회 경로 계산 단계(S23); 및 엔드가 입력되면 종료하는 엔드 입력 종료 단계(S24);를 수행하는 것을 특징으로 한다.In the food waste collection method according to a preferred embodiment of the present invention, the real-time food waste collection device includes a food waste discharge analysis unit that collects analysis data on the food waste generation status in a specific area and determines the food waste discharge amount for each building; It includes a zone-specific collection difficulty calculation unit that divides the specific area into a plurality of zones according to the legal district boundary using the legal area information of the analysis data and calculates the food waste collection difficulty for each zone, and the control unit 5 is configured to collect new food waste. A new food waste collection input step for inputting collection (S21); A specific food waste collection confirmation step (S22) in which specific food waste collection is confirmed; Shortest traversal path calculation step (S23) for calculating the shortest traversal path; and an end input termination step (S24) that ends when the end is input.

또한, 상기 단계(S21)에서 제어부(5)는, 신규 수거주문이 입력된 경우, 신규 수거주문의 모든 데이터를 입력받는 단계; 길찾기 알고리즘으로 획득된 양방향 거리 데이터를 저장하고, 이미 존재하는 n개의 클러스터를 순회하는 단계; 각 클러스터에 대해, 신규 수거주문이 클러스터에 포함되었을 때의 “클러스터 내부 최단 순회 경로”의 길이에서 기존 수거거리를 뺀 값을 계산하고, 이 값 중 최댓값을 max_effective_distance에 저장하는 단계; 만약 max_effective_distance가 strictness * (기존 거리) + bias 이상이라면, 신규 수거주문을 max_cluster_id를 가진 클러스터에 포함시키고, 신규 수거주문 데이터에 max_cluster_id를 기록하는 단계; 해당 클러스터의 “클러스터 내부 최단 순회 경로”를 확정하고, 만약 해당 클러스터를 입력값으로 하는 “즉시 매칭 조건 함수”가 참을 반환할 경우, 해당 클러스터에 포함된 모든 주문은 확정되고 클러스터의 모든 수거 식별값들을 클러스터 내부 최단 순회 경로 순서대로 출력하는 단계; 해당 클러스터에 포함된 모든 주문과 클러스터를 삭제하고, 클러스터에 포함된 모든 주문 수거지와의 양방향 거리 데이터를 삭제하는 단계; 및 만약 max_effective_distance가 strictness * (기존 거리) + bias 보다 작다면, 신규 수거주문만을 포함하는 클러스터를 생성한 뒤, 해당 클러스터를 저장하고, 신규 수거주문 데이터에 해당 클러스터의 식별값을 기록한 뒤 대기 상태로 돌아가는 단계;를 수행하는 것을 특징으로 한다.In addition, in step S21, the control unit 5, when a new collection order is entered, receives all data of the new collection order; Storing the two-way distance data obtained through the pathfinding algorithm and traversing n clusters that already exist; For each cluster, calculating the length of the “shortest traversal path inside the cluster” when a new collection order is included in the cluster minus the existing collection distance, and storing the maximum of these values in max_effective_distance; If max_effective_distance is more than strictness * (existing distance) + bias, including the new collection order in a cluster with max_cluster_id and recording max_cluster_id in the new collection order data; The “shortest traversal path inside the cluster” of the cluster is confirmed, and if the “immediate matching condition function” that takes the cluster as an input returns true, all orders included in the cluster are confirmed and all collection identification values of the cluster are confirmed. outputting them in order of the shortest traversal path within the cluster; Deleting all orders and clusters included in the cluster, and deleting two-way distance data with all order collection points included in the cluster; And if max_effective_distance is less than strictness * (existing distance) + bias, create a cluster containing only new collection orders, save the cluster, record the identification value of the cluster in the new collection order data, and enter the standby state. It is characterized by performing a return step.

또한, 상기 단계(S22)에서 제어부(5)는, 특정 수거주문을 확정해야 하는 경우, 확정해야 하는 수거주문의 식별값을 입력하는 단계; 해당 식별값을 가진 수거주문이 포함된 클러스터에 대해, 해당 클러스터에 포함된 모든 주문을 확정하고, 클러스터의 모든 수거 식별값들을 클러스터 내부 최단 순회 경로 순서대로 출력하는 단계; 및 해당 클러스터에 포함된 모든 주문과 클러스터를 삭제하고, 클러스터에 포함된 모든 주문 수거지와의 양방향 거리 데이터를 삭제하는 단계;를 수행하는 것을 특징으로 한다.In addition, in step S22, the control unit 5 includes the following steps: when a specific collection order needs to be confirmed, inputting an identification value of the collection order to be confirmed; For a cluster containing a collection order with a corresponding identification value, confirming all orders included in the cluster and outputting all collection identification values of the cluster in order of the shortest traversal path within the cluster; and deleting all orders and clusters included in the cluster, and deleting two-way distance data with all order collection points included in the cluster.

또한, 상기 단계(S23)에서 제어부(5)는, “클러스터 내부 최단 순회 경로” 계산 방법을 수행하고, 클러스터의 수거주문이 공유하는 수거지를 출발 정점으로 두고, 거리 데이터를 통해 완전그래프를 만든 뒤, Travel Salesman's Problem을 해결할 때 사용했던 DP bitmasking을 이용하되, 출발지로 돌아오지 않도록 방문목록의 출발지 비트를 미리 마킹하는 단계; 및 DP배열에 저장한 최단거리 정보를 바탕으로 경로를 역추적하고, 이를 통해 최단 순회 경로와 그 길이를 구하는 단계;를 수행하는 것을 특징으로 한다.In addition, in the above step (S23), the control unit 5 performs the “shortest traversal path inside the cluster” calculation method, sets the collection point shared by the collection orders of the cluster as the starting vertex, and creates a complete graph using the distance data. , using the DP bitmasking used to solve the Travel Salesman's Problem, but pre-marking the departure point bit of the visit list so as not to return to the departure point; and backtracking the path based on the shortest distance information stored in the DP array, and finding the shortest traversal path and its length through this.

또한, 상기 단계(S24)에서 제어부(5)는, 대기 중 END 입력을 받는 즉시 모든 클러스터에 대해 단계(S22) 의 행위를 반복하여 모든 클러스터를 확정하고 모든 데이터를 삭제하는 단계; 및 대기시간에 유한 시간 내에 도달하며, 유한시간 내 단계(S24)의 과정을 종료하는 단계;를 수행하는 것을 특징으로 한다.Additionally, in step S24, the control unit 5 repeats step S22 for all clusters upon receiving an END input while waiting to confirm all clusters and delete all data; and reaching the waiting time within a finite time and terminating the process of step S24 within a finite time.

본 발명은 신규 음식물 쓰레기 수거를 입력하고, 특정 음식물 쓰레기 수거를 확정하고, 최단 순회 경로를 계산하고, 엔드 입력 종료함으로써 종래 1:1 수거와 다르게 운행 거리가 절반 가량 감소하는 효과를 가질 수 있다.The present invention can have the effect of reducing the driving distance by about half, unlike the conventional 1:1 collection, by inputting new food waste collection, confirming specific food waste collection, calculating the shortest circuit route, and terminating the end input.

또한, 본 발명은 음식물 쓰레기 수거를 클러스터링하고, 수거 경로를 최적화해 수거 거리를 단축함으로써 수거 기사의 부족으로 인해 수거가 밀리는 경우, 시간적, 경제적 면에서 효율적으로 동작하는 효과를 가질 수 있다.In addition, the present invention clusters food waste collection and optimizes the collection route to shorten the collection distance, so that when collection is delayed due to a shortage of collection technicians, it can operate efficiently in terms of time and economy.

도 1은 본 발명 실시간 음식물 쓰레기 수거 방법의 동작을 보인 흐름도이다.
도 2는 본 발명 메인 동작을 보인 흐름도이다.
도 3은 본 발명 팝 올 동작을 보인 흐름도이다.
도 4는 본 발명 팝 동작을 보인 흐름도이다.
도 5는 본 발명 클러스터를 보인 예시도이다.
도 6은 본 발명을 설명하기 위한 데이터 오류를 검증하는 구성을 설명하는 예시도이다.
도 7은 본 발명을 설명하기 위한 하드웨어 자원과 운영체제, 코어인 제어부의 동작, 제어부 동작을 실행할 권한을 부여하는 시스템 인증 구성을 설명하는 예시도이다.
1 is a flowchart showing the operation of the real-time food waste collection method of the present invention.
Figure 2 is a flowchart showing the main operation of the present invention.
Figure 3 is a flowchart showing the pop-all operation of the present invention.
Figure 4 is a flowchart showing the pop operation of the present invention.
Figure 5 is an exemplary diagram showing a cluster of the present invention.
Figure 6 is an exemplary diagram illustrating a configuration for verifying data errors for illustrating the present invention.
Figure 7 is an example diagram illustrating the hardware resources, operating system, operation of the core control unit, and system authentication configuration that grants authority to execute the control unit operation to explain the present invention.

이하, 도면을 참조하여 본 발명의 실시 예에 따른 음식물 쓰레기 수거 방법에 대하여 상세히 설명하기로 한다. 이하에서 종래 주지된 사항에 대한 설명은 본 발명의 요지를 명확히 하기 위해 생략하거나 간단히 한다. 본 발명의 설명에 포함된 구성은 개별 또는 복합 결합 구성되어 동작한다.Hereinafter, a food waste collection method according to an embodiment of the present invention will be described in detail with reference to the drawings. Below, descriptions of previously known matters are omitted or simplified to clarify the gist of the present invention. The components included in the description of the present invention operate individually or in combination.

도 1은 본 발명 실시간 음식물 쓰레기 수거 방법의 동작을 보인 흐름도로서, 도 1을 참조하면, 제어부(5)는 신규 음식물 쓰레기 수거를 입력하는 신규 음식물 쓰레기 수거 입력 단계(S21); 특정 음식물 쓰레기 수거를 확정하는 특정 음식물 쓰레기 수거 확정 단계(S22); 최단 순회 경로를 계산하는 최단 순회 경로 계산 단계(S23); 엔드가 입력되면 종료하는 엔드 입력 종료 단계(S24);를 수행한다.Figure 1 is a flow chart showing the operation of the real-time food waste collection method of the present invention. Referring to Figure 1, the control unit 5 performs a new food waste collection input step (S21) of inputting a new food waste collection; A specific food waste collection confirmation step (S22) in which specific food waste collection is confirmed; Shortest traversal path calculation step (S23) for calculating the shortest traversal path; An end input termination step (S24), which ends when the end is input, is performed.

실시간 음식물 쓰레기 수거 장치는 특정 지역의 음식물 쓰레기 발생 현황에 관한 분석데이터를 수집하여 건물별 음식물 쓰레기 배출량을 결정하는 음식물 쓰레기 배출량 분석부 및 상기 분석데이터의 법정구역 정보를 이용하여 상기 특정 지역을 법정동 경계에 따라 복수의 구역들로 분할하고 구역별 음식물 쓰레기 수거 난이도를 산출하는 구역별 수거 난이도 산출부를 포함할 수 있다.The real-time food waste collection device collects analysis data on the food waste generation status in a specific area and determines the amount of food waste for each building by collecting analysis data on the food waste emissions analysis unit, and uses the legal area information of the analysis data to demarcate the specific area as a legal dong. It may be divided into a plurality of zones and include a zone-specific collection difficulty calculation unit that calculates the food waste collection difficulty for each zone.

단계(S21)에서 제어부(5)는 신규 수거주문이 입력된 경우, 신규 수거주문의 모든 데이터를 입력받는다. 이때, 신규 수거주문의 수거지와 알고리즘이 이미 가지고 있는 발송지와의 거리, m개의 수거주문의 수거지와의 거리를 길찾기 알고리즘으로 획득한다.In step S21, when a new collection order is entered, the control unit 5 receives all data of the new collection order. At this time, the distance between the collection point of the new collection order and the delivery point already known by the algorithm, and the distance between the collection point of m collection orders are obtained through the route finding algorithm.

제어부(5)는 길찾기 알고리즘으로 획득된 양방향 거리 데이터를 저장한다. 제어부(5)는 이미 존재하는 n개의 클러스터를 순회한다. 클러스터는 발송지가 같으면서 1건 이상의 수거주문을 포함하는 객체이다.The control unit 5 stores two-way distance data obtained through a route finding algorithm. The control unit 5 iterates over n clusters that already exist. A cluster is an object that contains one or more collection orders with the same shipping address.

제어부(5)는 각 클러스터에 대해, 신규 수거주문이 클러스터에 포함되었을 때의 “클러스터 내부 최단 순회 경로”의 길이에서 기존 수거거리를 뺀 값을 계산하고, 이 값 중 최댓값을 max_effective_distance에 저장한다. 이때, max_effective_distance가 최대가 되게 하는 클러스터의 식별값도 max_cluster_id에 저장한다. For each cluster, the control unit 5 calculates the length of the “shortest circulation path inside the cluster” when a new collection order is included in the cluster minus the existing collection distance, and stores the maximum of these values in max_effective_distance. At this time, the identification value of the cluster that maximizes max_effective_distance is also stored in max_cluster_id.

제어부(5)는 만약 max_effective_distance가 strictness * (기존 거리) + bias 이상이라면, 신규 수거주문을 max_cluster_id를 가진 클러스터에 포함시키고, 신규 수거주문 데이터에 max_cluster_id를 기록한다.If max_effective_distance is more than strictness * (existing distance) + bias, the control unit 5 includes the new collection order in the cluster with max_cluster_id and records max_cluster_id in the new collection order data.

제어부(5)는 해당 클러스터의 “클러스터 내부 최단 순회 경로”를 확정한다. 제어부(5)는 만약 해당 클러스터를 입력값으로 하는 “즉시매칭 조건 함수”가 참을 반환할 경우, 해당 클러스터에 포함된 모든 주문은 확정되고 클러스터의 모든 수거 식별값들을 클러스터 내부 최단 순회 경로 순서대로 출력한다.The control unit 5 determines the “shortest traversal path within the cluster” of the corresponding cluster. If the “immediate matching condition function” that takes the corresponding cluster as an input value returns true, the control unit 5 determines all orders included in the corresponding cluster and outputs all collection identification values of the cluster in order of the shortest traversal path within the cluster. do.

이후, 제어부(5)는 해당 클러스터에 포함된 모든 주문과 클러스터를 삭제하고, 클러스터에 포함된 모든 주문 수거지와의 양방향 거리 데이터를 삭제한다. 대기 상태로 돌아간다.Afterwards, the control unit 5 deletes all orders and clusters included in the cluster, and deletes two-way distance data with all order collection points included in the cluster. Return to standby state.

제어부(5)는 만약 max_effective_distance가 strictness * (기존 거리) + bias 보다 작다면, 신규 수거주문만을 포함하는 클러스터를 생성한 뒤, 해당 클러스터를 저장하고, 신규 수거주문 데이터에 해당 클러스터의 식별값을 기록한 뒤 대기 상태로 돌아간다. If max_effective_distance is smaller than strictness * (existing distance) + bias, the control unit 5 creates a cluster containing only new collection orders, stores the cluster, and records the identification value of the cluster in the new collection order data. Then returns to standby state.

단계(S22)에서 제어부(5)는 특정 수거주문을 확정해야 하는 경우, 확정해야 하는 수거주문의 식별값을 입력한다. 제어부(5)는 해당 식별값을 가진 수거주문이 포함된 클러스터에 대해, 해당 클러스터에 포함된 모든 주문을 확정하고, 클러스터의 모든 수거 식별값들을 클러스터 내부 최단 순회 경로 순서대로 출력한다.In step S22, when a specific collection order needs to be confirmed, the control unit 5 inputs the identification value of the collection order to be confirmed. The control unit 5 confirms all orders included in a cluster containing a collection order with the corresponding identification value, and outputs all collection identification values of the cluster in order of the shortest traversal path within the cluster.

제어부(5)는 해당 클러스터에 포함된 모든 주문과 클러스터를 삭제하고, 클러스터에 포함된 모든 주문 수거지와의 양방향 거리 데이터를 삭제한다. 대기상태로 돌아간다.The control unit 5 deletes all orders and clusters included in the cluster, and deletes two-way distance data with all order collection points included in the cluster. Returns to standby state.

단계(S23)에서 제어부(5)는 “클러스터 내부 최단 순회 경로” 계산 방법을 수행하고, 클러스터의 수거주문이 공유하는 수거지를 출발 정점으로 두고, 거리 데이터를 통해 완전그래프를 만든 뒤, Travel Salesman's Problem을 해결할 때 사용했던 DP(Dynamic Programming) bitmasking을 이용하되, 출발지로 돌아오지 않도록 방문목록의 출발지 비트를 미리 마킹한다. 나머지의 구현은 TSP의 DP bitmasking 해법과 동일하다.In step S23, the control unit 5 performs the “shortest traversal path inside the cluster” calculation method, sets the collection point shared by the collection orders of the cluster as the starting vertex, creates a complete graph using the distance data, and solves the Travel Salesman's Problem. Use DP (Dynamic Programming) bitmasking, which was used to solve The rest of the implementation is the same as TSP's DP bitmasking solution.

이후, 제어부(5)는 DP배열에 저장한 최단거리 정보를 바탕으로 경로를 역추적할 수 있다. 이를 통해 최단 순회 경로와 그 길이를 구할 수 있다. Afterwards, the control unit 5 can trace the path back based on the shortest distance information stored in the DP array. Through this, the shortest traversal path and its length can be obtained.

단계(S24)에서 제어부(5)는 대기 중 END 입력을 받는 즉시 모든 클러스터에 대해 단계(S22) 의 행위를 반복하여 모든 클러스터를 확정하고 모든 데이터를 삭제한다. (FLUSH 연산) 이후 알고리즘의 작동을 종료한다.In step S24, upon receiving the END input while waiting, the control unit 5 repeats the action of step S22 for all clusters to confirm all clusters and delete all data. (FLUSH operation) After this, the operation of the algorithm ends.

단계(S21-S23)의 작동은 유한시간 내에 끝남이 보장되어 있다. 따라서 대기시간에 유한 시간 내에 도달하며, 제어부(5)는 유한시간 내 단계(S24)의 과정을 끝낼 수 있다. 제어부(5)는 END가 있는 입력에 대해 유한시간 내에 작동을 종료한다.The operation of steps S21-S23 is guaranteed to be completed within a finite time. Therefore, the waiting time is reached within a finite time, and the control unit 5 can complete the process of step S24 within the finite time. The control unit 5 terminates the operation within a finite time in response to an input with END.

도 2는 본 발명 메인 동작을 보인 흐름도로서, 도 2를 참조하면, 제어부(5)는 초기화 단계(S201); 쿼리 읽기 단계(S202); 플러쉬 비교 단계(S203); 팝 올 단계(S204); 팝 비교 단계(S205); 팝 단계(S206); 애드 비교 단계(S207); 애드 단계(S208); 엔드 비교 단계(S209); 팝 올 단계(S210); 쓰로우 단계(S211);를 수행한다.Figure 2 is a flowchart showing the main operation of the present invention. Referring to Figure 2, the control unit 5 performs an initialization step (S201); Query reading step (S202); Flush comparison step (S203); Pop All Step (S204); Pop comparison step (S205); Pop step (S206); Add comparison step (S207); Add step (S208); End comparison step (S209); Pop All Step (S210); Perform the throw step (S211).

도 3은 본 발명 팝 올 동작을 보인 흐름도로서, 도 3을 참조하면, 팝 올 단계에서 제어부(5)는 초기화 단계(S301); 비교 단계(S302); 클러스터 단계(S303); 다음 단계(S304); 클러스터 클리어 단계(S305); 클러스터 카운트 단계(S306); 오더 카운트 단계(S307); 클러스터 맵 클리어 단계(S308);를 수행한다.Figure 3 is a flowchart showing the pop-all operation of the present invention. Referring to Figure 3, in the pop-all step, the control unit 5 performs an initialization step (S301); Comparison step (S302); Cluster step (S303); Next step (S304); Cluster clear step (S305); Cluster count step (S306); Order count step (S307); Cluster map clear step (S308) is performed.

도 4는 본 발명 팝 동작을 보인 흐름도로서, 도 4를 참조하면, 제어부(5)는 초기화 단계(S401); 오더 읽기 단계(S402); 클러스터 맵 단계(S403); 클러스터 데이터 출력 단계(S404); 클러스터 사이즈 단계(S405); 삭제 단계(S406); 클러스터 리스트 삭제 단계(S407); 다음 단계(S408);를 수행한다.Figure 4 is a flowchart showing the pop operation of the present invention. Referring to Figure 4, the control unit 5 performs an initialization step (S401); Order reading step (S402); Cluster map step (S403); Cluster data output step (S404); Cluster size step (S405); Delete step (S406); Cluster list deletion step (S407); Perform the next step (S408).

도 5는 본 발명 클러스터를 보인 예시도로서, 도 5를 참조하면, 접수된 주문(21)은 클러스터로 묶여 최단 경로를 출력하고, 새로운 주문(22)은 업데이트된 클러스터 최단 경로를 출력하고, 새로운 주문(23)은 새로운 클러스터 경로를 출력한다.Figure 5 is an exemplary diagram showing a cluster of the present invention. Referring to Figure 5, received orders 21 are grouped into clusters and output the shortest path, new orders 22 output the updated cluster shortest path, and new orders 21 are grouped into clusters to output the shortest path. Order (23) prints the new cluster path.

도 6은 본 발명을 설명하기 위한 데이터 오류를 검증하는 구성을 설명하는 예시도이다.Figure 6 is an exemplary diagram illustrating a configuration for verifying data errors for illustrating the present invention.

도 6을 참조하면, 제어부(5)는 샘플링 데이터를 저장하고, 일정 시간 동안 샘플링 데이터의 크기 별로 발생 회수를 누적하여 확률 분포를 계산하고, 또 다른 일정 시간 동안의 확률 분포를 계산하고, 두 확률 분포의 차, 면적 차, 차 거리 누적을 계산해서(S101) 샘플링 회로 이상, 데이터 오류, 데이터 변화를 예측하고, 이에 대응할 수 있다(S102). 제어부(5)는 예측 결과를 사용자에게 알림으로써 사용자가 대응하거나 제어부(5)가 하드웨어 고장, 데이터 오류, 데이터 변화에 대응할 수 있다.Referring to FIG. 6, the control unit 5 stores sampling data, calculates a probability distribution by accumulating the number of occurrences for each size of the sampling data over a certain period of time, calculates a probability distribution for another period of time, and calculates two probabilities. By calculating the distribution difference, area difference, and difference distance accumulation (S101), sampling circuit abnormalities, data errors, and data changes can be predicted and responded to (S102). The control unit 5 notifies the user of the prediction result so that the user can respond, or the control unit 5 can respond to hardware failure, data error, or data change.

샘플링 데이터는 클러스터, 주문, 최단 경로, 수거 거리를 포함하고, 제어부(5)는 샘플링 데이터에 기반하여 하드웨어 고장, 데이터 오류, 데이터 변화에 대응한다.Sampling data includes cluster, order, shortest path, and collection distance, and the control unit 5 responds to hardware failure, data error, and data change based on the sampling data.

제어부(5)는 일정 시간 동안 마다 각각의 확률 분포 추이를 보고, 확률 분포 중 특이 현상 이상을 예측하고, 이상 사고에 대응하고, 확률 분포에 대해 데이터 변화가 일정하면 정상 동작을 외부에 알린다. 또한, 제어부(5)는 일정 시간 간격을 조정하기 위해 데이터 변화율을 피드백한다. 예를 들어, 데이터 변화율이 크면 일정 시간 간격을 늘리고, 데이터 변화율이 작으면 일정 시간 간격을 줄인다.The control unit 5 monitors the trend of each probability distribution for a certain period of time, predicts abnormalities in the probability distribution, responds to abnormal accidents, and reports normal operation to the outside if the data change in the probability distribution is constant. Additionally, the control unit 5 feeds back the data change rate to adjust a certain time interval. For example, if the data change rate is large, the certain time interval is increased, and if the data change rate is small, the certain time interval is shortened.

도 7은 본 발명을 설명하기 위한 하드웨어 자원과 운영체제, 코어인 제어부의 동작, 제어부 동작을 실행할 권한을 부여하는 시스템 인증 구성을 설명하는 예시도로서, 도 7을 참조하면, 본 발명은 프로세서(1), 메모리(2), 입출력장치(3), 운영체제(4), 제어부(5)를 포함한다.FIG. 7 is an exemplary diagram illustrating hardware resources and an operating system, operations of a core control unit, and a system authentication configuration that grants authority to execute control unit operations for explaining the present invention. Referring to FIG. 7, the present invention is a processor (1). ), memory (2), input/output device (3), operating system (4), and control unit (5).

프로세서(1)는 CPU(Central Processing Units), GPU(Graphic Processing Unit), FPGA(Field Programmable Gate Array), NPU(Neural Processing Unit)로서, 메모리(2)에 탑재된 운영체제(4), 제어부(5)의 실행 코드를 수행한다.The processor (1) is a CPU (Central Processing Unit), GPU (Graphic Processing Unit), FPGA (Field Programmable Gate Array), and NPU (Neural Processing Unit), and the operating system (4) and control unit (5) mounted on the memory (2) ) executes the execution code.

메모리(2)는 RAM(random access memory), ROM(read only memory), 디스크 드라이브, SSD(solid state drive), 플래시 메모리(flash memory) 등과 같은 비소멸성 대용량 저장 장치(permanent mass storage device)를 포함할 수 있다.Memory (2) includes permanent mass storage devices such as random access memory (RAM), read only memory (ROM), disk drives, solid state drives (SSD), and flash memory. can do.

입출력장치(3)는 입력 장치로, 오디오 센서 및/또는 이미지 센서를 포함한 카메라, 키보드, 마이크로폰, 마우스 등의 장치를, 그리고 출력 장치로, 디스플레이, 스피커, 햅틱 피드백 디바이스(haptic feedback device) 등과 같은 장치를 포함할 수 있다.The input/output device 3 is an input device, such as a camera, keyboard, microphone, mouse, etc. including an audio sensor and/or image sensor, and an output device such as a display, speaker, haptic feedback device, etc. May include devices.

운영체제(4)는 윈도우, 리눅스, IOS, 가상 머신, 웹브라우저, 인터프리터를 포함할 수 있고, 태스크, 쓰레드, 타이머 실행, 스케줄링, 자원 관리, 그래픽, 폰트 처리, 통신 등을 지원한다.The operating system 4 may include Windows, Linux, IOS, virtual machines, web browsers, and interpreters, and supports tasks, threads, timer execution, scheduling, resource management, graphics, font processing, communication, etc.

제어부(5)는 운영체제(4)의 지원하에 입출력장치(3)의 센서, 키, 터치, 마우스 입력에 의한 상태를 결정하고, 결정된 상태에 따른 동작을 수행한다. 제어부(5)는 병렬 수행 루틴으로 타이머, 쓰레드에 의한 작업 스케줄링을 수행한다.The control unit 5 determines the state based on sensor, key, touch, and mouse input of the input/output device 3 with the support of the operating system 4 and performs operations according to the determined state. The control unit 5 performs job scheduling by timers and threads using parallel execution routines.

제어부(5)는 입출력장치(3)의 센서값을 이용하여 상태를 결정하고, 결정된 상태에 따른 알고리즘을 수행한다.The control unit 5 determines the state using the sensor value of the input/output device 3 and performs an algorithm according to the determined state.

도 7을 참조하면, 시스템 인증 구성은 제어부(5)를 포함하는 단말기(6), 인증 서버(7)를 포함한다.Referring to Figure 7, the system authentication configuration includes a terminal 6 including a control unit 5, and an authentication server 7.

단말기(6)는 데이터 채널을 이중화하고, 단말기(6)의 키값, 생체 정보를 입력받아 인증 서버(7)에 제1데이터 채널을 통해 사용자 인증을 요청하고, 단말기(6)는 생성된 킷값을 디스플레이에 표시하고, 인증 서버(7)로 전송한다.The terminal 6 duplicates the data channel, receives the key value and biometric information of the terminal 6, and requests user authentication through the first data channel to the authentication server 7, and the terminal 6 receives the generated kit value. It is displayed on the display and transmitted to the authentication server (7).

단말기(6)는 단말기(6)의 디스플레이에 표시된 킷값을 입력하고, 사용자 정보와 함께 제2데이터 채널을 통해 인증 서버(7)로 전송한다. 단말기(6)는 킷값과 사용자 정보를 이용하여 단말기(6)에 탑재된 시스템의 인증을 인증 서버(7)에 요청한다. 단말기(6)의 킷값은 컴퓨터 고유의 정보인 CPU 제조번호, 이더넷 칩의 맥주소로부터 생성될 수 있다. 단말기(6)는 카메라를 이용한 얼굴 인식, 마이크를 이용한 음성 인식, 디스플레이를 이용한 필기 인식을 통해 사용자 정보를 획득하고, 인증에 활용할 수 있다.The terminal 6 inputs the kit value displayed on the display of the terminal 6 and transmits it along with the user information to the authentication server 7 through the second data channel. The terminal 6 requests the authentication server 7 to authenticate the system mounted on the terminal 6 using the kit value and user information. The kit value of the terminal 6 can be generated from computer-specific information, such as the CPU manufacturing number and the Ethernet chip number. The terminal 6 can obtain user information through face recognition using a camera, voice recognition using a microphone, and handwriting recognition using a display, and use it for authentication.

인증 서버(7)는 단말기(6)로부터 킷값을 수신하고, 단말기(6)로부터 이중화된 데이터 채널을 통해 킷값과 사용자 정보를 수신하여 단말기(6)의 킷값과 사용자 정보를 비교하고, 사용자 정보를 대응시켜 단말기(6)의 시스템 이용에 대한 인증을 처리한다. 인증 서버(7)는 인증 결과를 단말기(6)로 전송하여 시스템에 대한 사용자의 사용을 허가한다. 단말기(6)의 이중화된 데이터 채널로 인해 킷값 손실이 최소화되는 효과를 가질 수 있다.The authentication server 7 receives the kit value from the terminal 6, receives the kit value and user information from the terminal 6 through a duplicated data channel, compares the kit value and the user information of the terminal 6, and By matching, authentication for use of the system of the terminal 6 is processed. The authentication server 7 transmits the authentication result to the terminal 6 to authorize the user's use of the system. Due to the dual data channels of the terminal 6, kit value loss can be minimized.

인증 서버(7)는 사용자 정보의 히스토리 분석을 수행하고, 시간 흐름에 따라 사용자 정보의 일관성, 변화를 비교 판단한다. 히스토리 분석에서 사용자 정보가 일관성을 나타내면 사용자의 사용을 허가하고, 변화를 나타내면 사용자의 사용을 허가하지 않는다. 사용자 정보가 일관성을 나타낼 때 사용자의 시스템 사용을 허가함으로써 사용자 정보가 변조된 사용자가 시스템에 접근하지 못하도록 보안을 강화한다.The authentication server 7 performs history analysis of user information and compares and determines consistency and changes in user information over time. In history analysis, if user information shows consistency, the user's use is permitted; if it shows changes, the user's use is not permitted. By allowing users to use the system when user information shows consistency, security is strengthened to prevent users with altered user information from accessing the system.

인증 서버(7)는 일관성, 변화, 빈도, 빈도 추이, 빈도가 높음에 가중치를 부여해서 가중치 조합으로 신뢰되지 않은 사용자의 접근을 차단한다. 예를 들어, 빈도의 임계치가 초과하면 초과 누적수에 비례하여 신뢰되지 않은 사용자의 접근을 차단하고, 장시간에 걸쳐 접근 시도하는 사용자를 인증 처리할 수 있다. 이때, 신뢰되지 않은 사용자에 대해 추가 인증을 요청한다.The authentication server 7 assigns weights to consistency, change, frequency, frequency trend, and high frequency, and blocks access by untrusted users using a combination of weights. For example, if the frequency threshold is exceeded, access by untrusted users can be blocked in proportion to the accumulated number of excesses, and users who attempt access over a long period of time can be authenticated. At this time, additional authentication is requested for untrusted users.

시스템의 사용을 인증하는 수단인 단말기(6)는 시스템과 직접 연결하지 않고, 인증 서버(7)를 통한 우회 경로를 형성함으로써 인터넷망을 이루는 네트워크가 내부망과 외부망으로 구성되어 아이피 주소 설정 과정이 번거로울 때 단말기(6)를 이용한 인증 과정이 원활히 수행되는 장점이 있다. 이때, 단말기(6)에는 시스템이 탑재되고, 단말기(6)는 인증 단말 수단이 되고, 인증 서버(7)는 인증 서버 수단이 된다.The terminal 6, which is a means of authenticating the use of the system, does not connect directly to the system, but forms a bypass route through the authentication server 7, so that the network that makes up the Internet network is composed of an internal network and an external network, and the IP address setting process There is an advantage that the authentication process using the terminal 6 is performed smoothly in this cumbersome time. At this time, the system is mounted on the terminal 6, the terminal 6 becomes an authentication terminal means, and the authentication server 7 becomes an authentication server means.

클라우드(12)는 프로세서(1), 메모리(2), 입출력장치(3), 통신부(6)를 관리하는 운영체제(4)의 지원 하에 컨테이너(7)의 모듈화로, 웹(8), DB(9), 프로토콜(10), 라이브러리(11)의 서비스를 제공하며, 제어부(5)는 컨테이너(7)의 서비스를 이용한 클라우드 애플리케이션을 실행한다. 컨테이너(7)라고 하는 표준 소프트웨어 패키지는 애플리케이션의 코드를 관련 구성 파일, 라이브러리(11) 및 앱 실행에 필요한 종속성과 함께 번들로 제공한다.The cloud (12) is a modularization of the container (7) with the support of the operating system (4) that manages the processor (1), memory (2), input/output device (3), and communication unit (6), and the web (8) and DB ( 9), provides the services of the protocol 10 and library 11, and the control unit 5 executes a cloud application using the services of the container 7. A standard software package, called a container (7), bundles an application's code with associated configuration files, libraries (11), and dependencies needed to run the app.

클라우드(12)는 다수의 단말기(6)를 통합 제어하고, 단말기(6)로부터 수신된 센서값을 저장하여 시간 흐름에 따라 모니터링하고, 단말기(6)의 동작 에러를 처리하고, 에러 메시지를 다른 단말기(6)로 알리고, 제어 대상인 단말기(6)를 스위칭 제어한다.The cloud 12 integrates control of multiple terminals 6, stores sensor values received from the terminal 6, monitors them over time, processes operation errors of the terminal 6, and sends error messages to other terminals. Notifies the terminal 6, and performs switching control on the terminal 6 that is the control target.

신경망 학습은 온도, 고도, 지문 등 각종 센서, 이미지, 적외선 등 카메라, 라이더와 같은 입력 장치로부터 수집된 시계열 데이터로부터 특징량 선택, 알고리즘 선택을 통해 모델을 선택하고, 학습, 성능 검증 과정에 의한 반복 시행 착오를 거쳐 모델 선택을 반복한다. 성능 검증이 마치면 인공지능 모델이 선택된다.Neural network learning selects features from time series data collected from input devices such as temperature, altitude, fingerprints, various sensors, images, infrared cameras, and lidar, selects a model through algorithm selection, and repeats through the learning and performance verification process. Model selection is repeated through trial and error. After performance verification is completed, an artificial intelligence model is selected.

제어부(5)는 센서값 판단에 신경망을 이용한 딥러닝 알고리즘을 수행하고, 신경망 학습에 훈련 데이터를 이용하고, 시험 데이터로 신경망 성능을 검증한다.The control unit 5 performs a deep learning algorithm using a neural network to determine sensor values, uses training data to learn the neural network, and verifies the neural network performance with test data.

본 발명은 상술한 특정의 바람직한 실시 예에 한정되지 아니하며, 청구범위에서 청구하는 본 발명의 요지를 벗어남이 없이 해당 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 누구든지 다양한 변형실시가 가능한 것은 물론이고, 그와 같은 변경은 청구범위 기재의 범위 내에 있게 된다.The present invention is not limited to the specific preferred embodiments described above, and various modifications can be made by anyone skilled in the art without departing from the gist of the invention as claimed in the claims. Of course, such changes are within the scope of the claims.

1: 프로세서
2: 메모리
3: 입출력장치
4: 운영체제
5: 제어부
6: 단말기
7: 인증 서버
8: 웹
9: DB
11: 라이브러리
12: 클라우드
14: 컨테이너
16: 통신부
1: processor
2: memory
3: Input/output device
4: Operating system
5: Control unit
6: Terminal
7: Authentication server
8: web
9: DB
11: Library
12: Cloud
14: Container
16: Department of Communications

Claims (5)

특정 지역의 음식물 쓰레기 발생 현황에 관한 분석데이터를 수집하여 건물별 음식물 쓰레기 배출량을 결정하는 음식물 쓰레기 배출량 분석부; 및
상기 분석데이터의 법정구역 정보를 이용하여 상기 특정 지역을 법정동 경계에 따라 복수의 구역들로 분할하고 구역별 음식물 쓰레기 수거 난이도를 산출하는 구역별 수거 난이도 산출부를 포함하고,
제어부(5)는 신규 음식물 쓰레기 수거를 입력하는 신규 음식물 쓰레기 수거 입력 단계(S21);
특정 음식물 쓰레기 수거를 확정하는 특정 음식물 쓰레기 수거 확정 단계(S22);
최단 순회 경로를 계산하는 최단 순회 경로 계산 단계(S23); 및
엔드가 입력되면 종료하는 엔드 입력 종료 단계(S24);를 수행하는 것을 특징으로 하는, 음식물 쓰레기 수거 방법.
Food Waste Emissions Analysis Department, which collects analysis data on the current status of food waste generation in a specific area and determines the amount of food waste generated by building; and
A collection difficulty calculation unit for each zone divides the specific area into a plurality of zones according to the legal district boundary using the legal zone information in the analysis data and calculates the difficulty of collecting food waste for each zone,
The control unit 5 performs a new food waste collection input step (S21) in which new food waste collection is input;
A specific food waste collection confirmation step (S22) in which specific food waste collection is confirmed;
Shortest traversal path calculation step (S23) for calculating the shortest traversal path; and
A food waste collection method, characterized in that performing an end input termination step (S24) that ends when the end is input.
제1항에 있어서,
상기 음식물 쓰레기 배출량 분석부는
상기 분석데이터를 정제하여 음식물 쓰레기에 관한 수거량, 수거날짜, 수거시간 및 수거장소를 수집하는 제1 단계, 상기 분석데이터의 도로명주소 건물과 연속지적도를 매칭하는 제2 단계를 수행하고,
상기 단계(S21)에서 상기 제어부(5)는,
신규 수거주문이 입력된 경우, 신규 수거주문의 모든 데이터를 입력받는 단계;
길찾기 알고리즘으로 획득된 양방향 거리 데이터를 저장하고, 이미 존재하는 n개의 클러스터를 순회하는 단계;
해당 클러스터의 “클러스터 내부 최단 순회 경로”를 확정하고, 만약 해당 클러스터를 입력값으로 하는 “즉시매칭 조건 함수”가 참을 반환할 경우, 해당 클러스터에 포함된 모든 주문은 확정되고 클러스터의 모든 수거 식별값들을 클러스터 내부 최단 순회 경로 순서대로 출력하는 단계;
해당 클러스터에 포함된 모든 주문과 클러스터를 삭제하고, 클러스터에 포함된 모든 주문 수거지와의 양방향 거리 데이터를 삭제하는 단계; 및
만약 max_effective_distance가 strictness * (기존 거리) + bias 보다 작다면, 신규 수거주문만을 포함하는 클러스터를 생성한 뒤, 해당 클러스터를 저장하고, 신규 수거주문 데이터에 해당 클러스터의 식별값을 기록한 뒤 대기 상태로 돌아가는 단계;를 수행하는 것을 특징으로 하는, 음식물 쓰레기 수거 방법.
According to paragraph 1,
The food waste emissions analysis department
A first step is to purify the analysis data to collect collection amount, collection date, collection time, and collection location for food waste, and a second step is to match the road name, address, building, and serial cadastral map of the analysis data,
In step S21, the control unit 5,
When a new collection order is entered, receiving all data of the new collection order;
Storing the two-way distance data obtained through the pathfinding algorithm and traversing n clusters that already exist;
The “shortest traversal path inside the cluster” of the cluster is confirmed, and if the “immediate matching condition function” that takes the cluster as an input returns true, all orders included in the cluster are confirmed and all collection identification values of the cluster are confirmed. outputting them in order of the shortest traversal path within the cluster;
Deleting all orders and clusters included in the cluster, and deleting two-way distance data with all order collection points included in the cluster; and
If max_effective_distance is less than strictness * (existing distance) + bias, create a cluster containing only new collection orders, save the cluster, record the identification value of the cluster in the new collection order data, and return to the waiting state. A food waste collection method, characterized in that performing the following steps.
제1항에 있어서,
상기 구역별 수거 난이도 산출부는
상기 복수의 구역들 각각에 대해 수거거점수, 배출량, 도로경사도, 이동거리 및 도로폭으로 정의되는 주요 변수들 간의 우선순위에 따라 가중치를 적용하여 상기 구역별 음식물 쓰레기 수거 난이도를 산출하고,
상기 단계(S22)에서 상기 제어부(5)는,
특정 수거주문을 확정해야 하는 경우, 확정해야 하는 수거주문의 식별값을 입력하는 단계;
해당 식별값을 가진 수거주문이 포함된 클러스터에 대해, 해당 클러스터에 포함된 모든 주문을 확정하고, 클러스터의 모든 수거 식별값들을 클러스터 내부 최단 순회 경로 순서대로 출력하는 단계; 및
해당 클러스터에 포함된 모든 주문과 클러스터를 삭제하고, 클러스터에 포함된 모든 주문 수거지와의 양방향 거리 데이터를 삭제하는 단계;를 수행하는 것을 특징으로 하는, 음식물 쓰레기 수거 방법.
According to paragraph 1,
The collection difficulty calculation for each zone is as follows:
For each of the plurality of zones, calculate the difficulty of food waste collection for each zone by applying weights according to the priority between key variables defined by collection points, discharge amount, road slope, travel distance, and road width,
In step S22, the control unit 5,
When a specific collection order needs to be confirmed, entering an identification value of the collection order to be confirmed;
For a cluster containing a collection order with a corresponding identification value, confirming all orders included in the cluster and outputting all collection identification values of the cluster in order of the shortest traversal path within the cluster; and
A food waste collection method comprising the steps of deleting all orders and clusters included in the cluster, and deleting two-way distance data with all order collection points included in the cluster.
제1항에 있어서,
상기 건물별 음식물 쓰레기 배출량과 상기 구역별 음식물 쓰레기 수거 난이도를 기초로 네트워크 분석을 통해 상기 특정 지역의 음식물 쓰레기 수거를 위한 추천 수거경로를 결정하는 추천 수거경로 결정부를 더 포함하고,
상기 단계(S23)에서 상기 제어부(5)는,
“클러스터 내부 최단 순회 경로” 계산 방법을 수행하고, 클러스터의 수거주문이 공유하는 수거지를 출발 정점으로 두고, 거리 데이터를 통해 완전그래프를 만든 뒤, Travel Salesman's Problem을 해결할 때 사용했던 DP(Dynamic Programming) bitmasking을 이용하되, 출발지로 돌아오지 않도록 방문목록의 출발지 비트를 미리 마킹하는 단계; 및
DP배열에 저장한 최단거리 정보를 바탕으로 경로를 역추적하고, 이를 통해 최단 순회 경로와 그 길이를 구하는 단계;를 수행하는 것을 특징으로 하는, 음식물 쓰레기 수거 방법.
According to paragraph 1,
Further comprising a recommended collection route determination unit that determines a recommended collection route for food waste collection in the specific area through network analysis based on the food waste emissions for each building and the difficulty of collecting food waste for each zone;
In step S23, the control unit 5,
Perform the “shortest traversal path inside the cluster” calculation method, set the collection points shared by the cluster’s collection orders as the starting vertex, create a complete graph using distance data, and then use DP (Dynamic Programming) used to solve the Travel Salesman’s Problem. A step of using bitmasking, but pre-marking the departure point bit of the visit list so as not to return to the departure point; and
A method of collecting food waste, characterized in that the step of backtracking the route based on the shortest distance information stored in the DP array and calculating the shortest circuit path and its length through this.
제4항에 있어서,
상기 구역별 수거 난이도 산출부는
상기 특정 지역의 주택형태에 따라, 단독주택의 경우 수거거점수, 배출량, 도로폭, 이동거리 및 도로경사도 순으로 상기 우선순위를 부여하고, 공동주택의 경우 수거거점수, 이동거리, 배출량, 도로폭 및 도로경사도 순으로 상기 우선순위를 부여하고,
상기 단계(S24)에서 상기 제어부(5)는,
대기 중 END 입력을 받는 즉시 모든 클러스터에 대해 상기 단계(S22) 의 행위를 반복하여 모든 클러스터를 확정하고 모든 데이터를 삭제하는 단계; 및
대기시간에 유한 시간 내에 도달하며, 유한시간 내 상기 단계(S24)의 과정을 종료하는 단계;를 수행하는 것을 특징으로 하는, 음식물 쓰레기 수거 방법.
According to paragraph 4,
The collection difficulty calculation for each zone is as follows:
Depending on the type of housing in the specific area, for single-family homes, the above priorities are given in the order of collection points, emissions, road width, travel distance, and road slope, and for multi-family homes, the priorities are given in the order of collection points, travel distance, emissions, and road slope. The above priorities are given in the order of width and road slope,
In step S24, the control unit 5,
Upon receiving the END input while waiting, repeating the step (S22) for all clusters to confirm all clusters and delete all data; and
A method of collecting food waste, characterized in that the step of reaching the waiting time within a finite time and terminating the process of step (S24) within a finite time.
KR1020220133686A 2022-10-18 2022-10-18 Food waste collection clustering method KR20240053761A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220133686A KR20240053761A (en) 2022-10-18 2022-10-18 Food waste collection clustering method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220133686A KR20240053761A (en) 2022-10-18 2022-10-18 Food waste collection clustering method

Publications (1)

Publication Number Publication Date
KR20240053761A true KR20240053761A (en) 2024-04-25

Family

ID=90885119

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220133686A KR20240053761A (en) 2022-10-18 2022-10-18 Food waste collection clustering method

Country Status (1)

Country Link
KR (1) KR20240053761A (en)

Similar Documents

Publication Publication Date Title
Fan et al. Performance evaluation of blockchain systems: A systematic survey
CN112650762B (en) Data quality monitoring method and device, electronic equipment and storage medium
CN108595157B (en) Block chain data processing method, device, equipment and storage medium
CN109872535B (en) Intelligent traffic passage prediction method, device and server
US10496306B1 (en) Predictive forecasting and data growth trend in cloud services
US11016730B2 (en) Transforming a transactional data set to generate forecasting and prediction insights
US11595269B1 (en) Identifying upgrades to an edge network by artificial intelligence
WO2022142013A1 (en) Artificial intelligence-based ab testing method and apparatus, computer device and medium
CN114363352A (en) Block chain-based Internet of things system cross-chain interaction method
US20200364211A1 (en) Predictive database index modification
Mišković A VNS-LP algorithm for the robust dynamic maximal covering location problem
CN112291264B (en) Security control method, device, server and storage medium
CN113836237A (en) Method and device for auditing data operation of database
CN116134419A (en) Runtime environment determination of software containers
KR20240053761A (en) Food waste collection clustering method
Ghazizadeh et al. Reasoning about expected job completion time in dynamic vehicular clouds
KR101810180B1 (en) Method and apparatus for distributed processing of big data based on user equipment
KR20240053153A (en) Real-time delivery order clustering device and method
CN111737319B (en) User cluster prediction method, device, computer equipment and storage medium
CN112685157B (en) Task processing method, device, computer equipment and storage medium
CN114997414A (en) Data processing method and device, electronic equipment and storage medium
CN114020446A (en) Cross-multi-engine routing processing method, device, equipment and storage medium
CN116719584B (en) Data processing method, apparatus, computer, storage medium, and program product
KR102656541B1 (en) Device, method and program that analyzes large log data using a distributed method for each log type
KR102543689B1 (en) Hybrid cloud management system and control method thereof, node deployment apparatus included in the hybrid cloud management system and control method thereof