KR102390065B1 - Metohd and apparauts of rectangular detection for selecting new installation location of electric vehicle charging station - Google Patents

Metohd and apparauts of rectangular detection for selecting new installation location of electric vehicle charging station Download PDF

Info

Publication number
KR102390065B1
KR102390065B1 KR1020200099894A KR20200099894A KR102390065B1 KR 102390065 B1 KR102390065 B1 KR 102390065B1 KR 1020200099894 A KR1020200099894 A KR 1020200099894A KR 20200099894 A KR20200099894 A KR 20200099894A KR 102390065 B1 KR102390065 B1 KR 102390065B1
Authority
KR
South Korea
Prior art keywords
points
rectangle
installation
quadrangle
point
Prior art date
Application number
KR1020200099894A
Other languages
Korean (ko)
Other versions
KR20220019460A (en
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 KR1020200099894A priority Critical patent/KR102390065B1/en
Publication of KR20220019460A publication Critical patent/KR20220019460A/en
Application granted granted Critical
Publication of KR102390065B1 publication Critical patent/KR102390065B1/en

Links

Images

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/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/40Business processes related to the transportation industry
    • G06Q50/30
    • 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/043Optimisation of two dimensional placement, e.g. cutting of clothes or wood

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • General Business, Economics & Management (AREA)
  • Game Theory and Decision Science (AREA)
  • Quality & Reliability (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Image Analysis (AREA)

Abstract

전기 자동차 충전소의 신규 설치 위치를 선정하기 위한 사각형 탐지 방법 및 장치가 개시된다. 일 실시예에 따르면, 사각형 탐지 방법은 각각 기 설치된 충전소의 위치에 대응하는 기 설치 지점들을 확인하는 단계; 상기 기 설치 지점들을 꼭지점으로 하는 사각형들을 탐지하는 단계; 상기 사각형들 중에 임계치 이상의 길이의 대각선을 갖는 대상 사각형을 검출하는 단계; 상기 기 설치 지점들 중에 상기 대상 사각형의 꼭지점에 해당하는 설치 지점들 이외에 상기 대상 사각형의 변에 인접한 인접 설치 지점이 존재하는지 확인하는 단계; 및 상기 인접 설치 지점의 존재 여부에 기초하여, 상기 대상 사각형에 대응하는 신규 설치 후보 지점을 결정하는 단계를 포함한다.A method and apparatus for detecting a rectangle for selecting a new installation location of an electric vehicle charging station are disclosed. According to an embodiment, the method for detecting a square includes: checking pre-installed points corresponding to positions of pre-installed charging stations, respectively; detecting rectangles having the pre-installed points as vertices; detecting a target quadrangle having a diagonal of a length greater than or equal to a threshold among the quadrangle; checking whether an adjacent installation point adjacent to a side of the target rectangle exists in addition to installation points corresponding to vertices of the target rectangle among the installation points; and determining a new installation candidate point corresponding to the target quadrangle based on the existence of the adjacent installation point.

Figure R1020200099894
Figure R1020200099894

Description

전기 자동차 충전소의 신규 설치 위치를 선정하기 위한 사각형 탐지 방법 및 장치{METOHD AND APPARAUTS OF RECTANGULAR DETECTION FOR SELECTING NEW INSTALLATION LOCATION OF ELECTRIC VEHICLE CHARGING STATION}METHOD AND APPARAUTS OF RECTANGULAR DETECTION FOR SELECTING NEW INSTALLATION LOCATION OF ELECTRIC VEHICLE CHARGING STATION

아래 실시예들은 전기 자동차 충전소의 신규 설치 위치를 선정하기 위한 사각형 탐지 방법 및 장치에 관한 것이다.The following embodiments relate to a square detection method and apparatus for selecting a new installation location of an electric vehicle charging station.

전기 자동차는, 친환경적이며 화석연료에 의존하지 않는 것과 같은 다양한 장점을 이유로, 가솔린 차량을 대체할 것이라고 기대된다. 전기 자동차는 전력을 저장하고 주행에 필요한 에너지를 제공하는 배터리를 포함한다. 전기 자동차는 배터리 용량에 따른 제약을 가질 수 있다. 배터리 기술의 성장에 불구하고, 배터리의 추가적인 충전 없이 전기 자동차가 주행할 수 있는 거리에는 한계가 존재하며, 배터리의 충전을 위해서는 상당한 시간이 소요될 수 있다. 따라서, 전기 자동차 충전소를 어디에 설치할지의 문제는 전기 자동차의 보급 및 관련 기술 발달과 밀접한 관련이 있다.Electric vehicles are expected to replace gasoline vehicles for various advantages, such as being environmentally friendly and not relying on fossil fuels. Electric vehicles include batteries that store electric power and provide the energy necessary for driving. An electric vehicle may have limitations according to battery capacity. Despite the growth of battery technology, there is a limit to the distance an electric vehicle can travel without additional charging of the battery, and it may take a considerable amount of time to charge the battery. Accordingly, the problem of where to install the electric vehicle charging station is closely related to the spread of electric vehicles and the development of related technologies.

대한민국 공개특허공보 제10-2019-0051235호(2019.05.15)Republic of Korea Patent Publication No. 10-2019-0051235 (2019.05.15)

일 실시예에 따르면, 전자 장치에 의해 수행되는, 신규 충전소의 설치 후보 위치를 선정하기 위한, 사각형 탐지 방법은 각각 기 설치된 충전소의 위치에 대응하는 기 설치 지점들을 확인하는 단계; 상기 기 설치 지점들을 꼭지점으로 하는 사각형들을 탐지하는 단계; 상기 사각형들 중에 임계치 이상의 길이의 대각선을 갖는 대상 사각형을 검출하는 단계; 상기 기 설치 지점들 중에 상기 대상 사각형의 꼭지점에 해당하는 설치 지점들 이외에 상기 대상 사각형의 변에 인접한 인접 설치 지점이 존재하는지 확인하는 단계; 및 상기 인접 설치 지점의 존재 여부에 기초하여, 상기 대상 사각형에 대응하는 신규 설치 후보 지점을 결정하는 단계를 포함한다.According to an embodiment, a method for detecting a rectangle for selecting an installation candidate location of a new charging station, performed by an electronic device, includes identifying pre-installed points corresponding to locations of each pre-installed charging station; detecting rectangles having the pre-installed points as vertices; detecting a target quadrangle having a diagonal of a length greater than or equal to a threshold among the quadrangle; checking whether an adjacent installation point adjacent to a side of the target rectangle exists in addition to installation points corresponding to vertices of the target rectangle among the installation points; and determining a new installation candidate point corresponding to the target quadrangle based on the existence of the adjacent installation point.

상기 신규 설치 후보 지점을 결정하는 상기 단계는 상기 대상 사각형에 관해 상기 인접 설치 지점이 존재하지 않는 경우 상기 대상 사각형의 중심을 상기 신규 설치 후보 지점으로 결정하는 단계; 및 상기 대상 사각형에 관해 상기 인접 설치 지점이 존재하는 경우 상기 대상 사각형의 각 변 중에 상기 대상 사각형의 상기 중심에 가장 가까운 변의 중심을 상기 신규 설치 후보 지점으로 결정하는 단계를 포함할 수 있다. 상기 사각형들을 탐지하는 단계는 상기 기 설치 지점들 중에 어느 두 지점을 대각 위치의 꼭지 점으로 포함하고, 내부에 다른 기 설치 지점을 포함하지 않는 사각형을 탐지하는 단계를 포함할 수 있다.The determining of the new installation candidate point may include: determining a center of the target quadrangle as the new installation candidate point when the adjacent installation point does not exist with respect to the target quadrangle; and determining, as the new installation candidate point, a center of a side closest to the center of the target quadrangle among each side of the target quadrangle when the adjacent installation point exists with respect to the target quadrangle. The detecting of the quadrangle may include detecting a quadrangle that includes any two of the pre-installed points as diagonal vertices and does not include other pre-installed points therein.

상기 사각형들을 탐지하는 단계는 제1 탐지 경로를 위해, 상기 기 설치 지점들의 x 좌표 값에 기초하여 상기 기 설치 지점들을 1차적으로 오름차순으로 정렬하고, 동일한 x 좌표 값을 갖는 기 설치 지점들의 중복 지점들의 y 좌표 값에 기초하여 상기 중복 지점들을 2차적으로 내림차순으로 정렬하는 단계; 상기 기 설치 지점들 중에 x 좌표 값이 가장 작은 어느 하나를 앵커 지점으로 선택하는 단계; 상기 제1 탐지 경로의 정렬 순서로 상기 앵커 지점과 상기 기 설치 지점들의 y 좌표 값을 비교하면서, 사각형을 탐지하는 단계; 제2 탐지 경로를 위해, 상기 기 설치 지점들의 x 좌표 값에 기초하여 상기 기 설치 지점들을 1차적으로 오름차순으로 정렬하고, 상기 중복 지점들의 y 좌표 값에 기초하여 상기 중복 지점들을 2차적으로 오름차순으로 정렬하는 단계; 및 상기 제2 탐지 경로의 정렬 순서로 상기 앵커 지점과 상기 기 설치 지점들의 y 좌표 값을 비교하면서, 사각형을 탐지하는 단계를 포함할 수 있다.The step of detecting the squares includes arranging the pre-installed points in ascending order based on the x-coordinate values of the pre-installed points for the first detection path, and overlapping points of the pre-installed points having the same x-coordinate value secondarily arranging the overlapping points in descending order based on their y-coordinate values; selecting any one of the pre-installed points having the smallest x-coordinate value as an anchor point; detecting a quadrangle while comparing y-coordinate values of the anchor point and the pre-installed points in an arrangement order of the first detection path; For a second detection path, the previously installed points are primarily arranged in ascending order based on the x-coordinate values of the previously installed points, and the overlapping points are secondarily arranged in ascending order based on the y-coordinate values of the overlapping points. sorting; and detecting a quadrangle while comparing y-coordinate values of the anchor point and the pre-installed points in an arrangement order of the second detection path.

상기 제1 탐지 경로에 기초하여 상기 사각형을 탐지하는 상기 단계는 상기 앵커 지점 및 y 좌표 값의 현재 최소 값에 대응하는 기 설치 지점을 꼭지점으로 포함하는 사각형을 유효 사각형으로 결정하는 단계를 포함할 수 있다. 상기 제2 탐지 경로에 기초하여 상기 사각형을 탐지하는 상기 단계는 상기 앵커 지점 및 y 좌표 값의 현재 최대 값에 대응하는 기 설치 지점을 꼭지점으로 포함하는 사각형을 유효 사각형으로 결정하는 단계를 포함할 수 있다.The step of detecting the quadrangle based on the first detection path may include determining, as a valid quadrangle, a quadrangle including the anchor point and an existing installation point corresponding to the current minimum value of the y-coordinate value as a vertex. there is. The step of detecting the quadrangle based on the second detection path may include determining, as a valid quadrangle, a quadrangle including the anchor point and a pre-installed point corresponding to the current maximum value of the y-coordinate value as a vertex. there is.

일 실시예에 따르면, 신규 충전소의 설치 후보 위치를 선정하기 위한, 전자 장치는 프로세서; 및 상기 프로세서에서 실행가능한 명령어들을 포함하는 메모리를 포함하고, 상기 명령어들이 상기 프로세서에서 실행되면, 상기 프로세서는 각각 기 설치된 충전소의 위치에 대응하는 기 설치 지점들을 확인하고, 상기 기 설치 지점들을 꼭지점으로 하는 사각형들을 탐지하고, 상기 사각형들 중에 임계치 이상의 길이의 대각선을 갖는 대상 사각형을 검출하고, 상기 기 설치 지점들 중에 상기 대상 사각형의 꼭지점에 해당하는 설치 지점들 이외에 상기 대상 사각형의 변에 인접한 인접 설치 지점이 존재하는지 확인하고, 상기 인접 설치 지점의 존재 여부에 기초하여, 상기 적어도 하나의 대상 사각형에 대응하는 신규 설치 후보 지점을 결정한다.According to an embodiment, for selecting an installation candidate location of a new charging station, an electronic device includes: a processor; and a memory including instructions executable by the processor, wherein when the instructions are executed by the processor, the processor identifies pre-installed points corresponding to positions of pre-installed charging stations, respectively, and sets the pre-installed points as vertices Detecting quadrilaterals, detecting a target quadrangle having a diagonal of a length greater than or equal to a threshold among the quadrilaterals, and installing adjacent installation points adjacent to the side of the target quadrangle in addition to installation points corresponding to vertices of the target quadrangle among the pre-installed points It is checked whether a point exists, and a new installation candidate point corresponding to the at least one target rectangle is determined based on whether the adjacent installation point exists.

도 1은 일 실시예에 따라 사각형 탐지를 통해 신규 설치 후보 지점이 선정되는 과정을 나타낸다.
도 2는 일 실시예에 따른 사각형 탐지 문제를 나타낸다.
도 3 내지 도 5는 일 실시예에 따른 좌표 정렬을 통한 사각형 탐지 과정을 나타낸다.
도 6은 일 실시예에 따른 각 탐지 경로를 나타낸다.
도 7은 일 실시예에 따른 기 설치 지점들과 신규 설치 후보 지점의 관계를 나타낸다.
도 8은 일 실시예에 따른 전자 장치를 나타낸다.
1 illustrates a process in which a new installation candidate point is selected through square detection according to an exemplary embodiment.
2 illustrates a quadrangle detection problem according to an embodiment.
3 to 5 illustrate a process of detecting a rectangle through coordinate alignment according to an embodiment.
6 shows each detection path according to an embodiment.
7 illustrates a relationship between existing installation points and a new installation candidate point according to an exemplary embodiment.
8 illustrates an electronic device according to an exemplary embodiment.

이하에서, 첨부된 도면을 참조하여 실시예들을 상세하게 설명한다. 그러나, 실시예들에는 다양한 변경이 가해질 수 있어서 특허출원의 권리 범위가 이러한 실시예들에 의해 제한되거나 한정되는 것은 아니다. 실시예들에 대한 모든 변경, 균등물 내지 대체물이 권리 범위에 포함되는 것으로 이해되어야 한다.Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. However, since various changes may 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 modifications, equivalents and substitutes for the embodiments are included in the scope of the rights.

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

다르게 정의되지 않는 한, 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 모든 용어들은 실시예가 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가지고 있다. 일반적으로 사용되는 사전에 정의되어 있는 것과 같은 용어들은 관련 기술의 문맥 상 가지는 의미와 일치하는 의미를 가지는 것으로 해석되어야 하며, 본 출원에서 명백하게 정의하지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다.Unless otherwise defined, all terms used herein, including technical or scientific terms, have the same meaning as commonly understood by one 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 should not be interpreted in an ideal or excessively formal meaning unless explicitly defined in the present application. does not

또한, 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 실시예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 실시예의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.In addition, in the description with reference to the accompanying drawings, the same components are given the same reference numerals regardless of the reference numerals, and the overlapping description 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 thereof will be omitted.

또한, 실시 예의 구성 요소를 설명하는 데 있어서, 제1, 제2, A, B, (a), (b) 등의 용어를 사용할 수 있다. 이러한 용어는 그 구성 요소를 다른 구성 요소와 구별하기 위한 것일 뿐, 그 용어에 의해 해당 구성 요소의 본질이나 차례 또는 순서 등이 한정되지 않는다. 어떤 구성 요소가 다른 구성요소에 "연결", "결합" 또는 "접속"된다고 기재된 경우, 그 구성 요소는 그 다른 구성요소에 직접적으로 연결되거나 접속될 수 있지만, 각 구성 요소 사이에 또 다른 구성 요소가 "연결", "결합" 또는 "접속"될 수도 있다고 이해되어야 할 것이다.In addition, in describing the components of the embodiment, terms such as first, second, A, B, (a), (b), etc. may be used. These terms are only for distinguishing the elements from other elements, and the essence, order, or order of the elements are not limited by the terms. When it is described that a component is "connected", "coupled" or "connected" to another component, the component may be directly connected or connected to the other component, but another component is between each component. It will be understood that may also be "connected", "coupled" or "connected".

어느 하나의 실시 예에 포함된 구성요소와, 공통적인 기능을 포함하는 구성요소는, 다른 실시 예에서 동일한 명칭을 사용하여 설명하기로 한다. 반대되는 기재가 없는 이상, 어느 하나의 실시 예에 기재한 설명은 다른 실시 예에도 적용될 수 있으며, 중복되는 범위에서 구체적인 설명은 생략하기로 한다.Components included in one embodiment and components having a common function will be described using the same names in other embodiments. Unless otherwise stated, descriptions described in one embodiment may be applied to other embodiments as well, and detailed descriptions within the overlapping range will be omitted.

도 1은 일 실시예에 따라 사각형 탐지를 통해 신규 설치 후보 지점이 선정되는 과정을 나타낸다. n개의 코너 점이 주어지면 직관적으로 nC2 사각형을 찾을 수 있다. 두 점의 쌍은 현재 탐색 중인 사각형의 두 대각선 중 하나에 해당할 수 있기 때문이다. 그런 다음 나머지 n-2 점 중 하나라도 사각형 안에 있는지 확인할 필요가 있다. 이에 따라 각 조합에 O(n)의 복잡성이 추가될 수 있다. 따라서, 이 사각형 탐색 프로세스는 기본적으로 O(n3) 시간 복잡성을 가져온다. 유효한 각 사각형에 대해, 영역 비교, 인접성 시험 등과 같은 목표 별 작업을 추가로 수행할 수 있다.1 illustrates a process in which a new installation candidate point is selected through square detection according to an exemplary embodiment. Given n corner points, we can intuitively find n C 2 rectangles. This is because the pair of two points can correspond to one of the two diagonals of the rectangle currently being explored. Then we need to check if any of the remaining n-2 points are inside the rectangle. This can add O(n) complexity to each combination. Therefore, this rectangle search process introduces O(n 3 ) time complexity by default. For each valid square, additional target-specific tasks such as area comparisons, adjacency tests, etc. can be performed.

그러나, O(n3)의 시간 복잡도는, 특히 실행 가능한 코너 점의 수가 커질 때 너무 큰 경향이 있다. 이와 관련하여, 실시예들은 시간 복잡도가 O(n2)로 유지되는 효율적인 사각형 검색 체계를 설계하고, 검색된 사각형을 이용하여 추가적인 충전소의 설치 계획을 수립한다. 그 효율성은 x 좌표로 정렬된 점 세트에 대해 유효한 사각형을 순차적으로 조사하여 얻는 것으로부터 비롯된다. 정렬 절차는 알려진 병합 정렬 체계를 사용하여 O(nlogn)의 시간 복잡성으로 수행될 수 있다. 특정 검사 지점의 경우, 파트너 지점이 해당 지점의 위 또는 아래에 있는지에 따라 유효성 테스트가 달라지므로, 실시예들은 상위 지점을 우선적으로 확인하고 다음으로 하위 지점을 확인하는 2 경로 체계를 제안한다.However, the time complexity of O(n 3 ) tends to be too large, especially when the number of viable corner points is large. In this regard, the embodiments design an efficient rectangular search scheme in which time complexity is maintained at O(n 2 ), and establish an installation plan of an additional charging station using the found square. Its effectiveness comes from sequentially examining a valid rectangle for a set of points sorted by the x-coordinate. The sort procedure can be performed with a time complexity of O(nlogn) using known merge sort schemes. In the case of a specific check point, since the validity test is different depending on whether the partner point is above or below the point, the embodiments propose a two-path scheme in which the upper point is first checked and the lower point is next.

실시예들은 평면(110)과 같이 전기 자동차 충전소들의 위치가 주어질 때 평면(130)과 같이 새로운 충전소의 위치를 결정하는 방법으로, 전기 자동차가 이동하여야 할 최대 거리를 감소시키고 가장 가까운 충전소로부터의 거리를 두게 하는 방식을 지향할 수 있다. 2차원 평면에서 충전소의 위치들이 주어져 있을 때 가능한 모든 위치들에 대해 이동 최대 거리와 가까운 충전소까지의 거리를 계산하는 것은 시간 복잡도가 커지게 된다.Embodiments are a method of determining the location of a new charging station as shown in the plane 130 when the positions of charging stations for electric vehicles are given as shown in the plane 110, thereby reducing the maximum distance that the electric vehicle has to travel and the distance from the nearest charging station It can be oriented in a way that puts . When the positions of the charging stations are given in a two-dimensional plane, calculating the maximum travel distance and the distance to the nearest charging station for all possible positions increases time complexity.

실시예들은 일차적으로 발생가능한 최대거리와 가까운 충전소까지의 거리에 임계 값을 주어 이 조건을 만족시키는 위치들만을 추출하고 이 위치들에 대해서만 추가 평가를 하도록 한다. 예를 들어, 실시예들은 대상 사각형들(121, 122)과 같이 각 충전소들의 대각선의 끝점으로 하는 적절한 사각형들을 모두 찾아내고 이들에 대해 위의 임계 값에 따라 조건에 맞는지 검색한다.The embodiments give a threshold value to the maximum possible distance and the distance to the nearest charging station, so that only locations satisfying this condition are extracted, and only these locations are further evaluated. For example, the embodiments find all appropriate squares that are the diagonal endpoints of each charging station, such as the target squares 121 and 122 , and search for them if they meet the condition according to the above threshold value.

도 1을 참조하면, 전자 장치는 기 설치 지점(111)에 기초하여 신규 설치 후보 지점들(131, 132)을 도출한다. 기 설치 지점(111)은 기 설치된 충전소의 위치에 대응할 수 있고, 평면들(110 내지 130)에 표시될 수 있다. 예를 들어, 평면들(110 내지 130)은 2차원 평면에 대응할 수 있고, 기 설치 지점(111), 대상 사각형들(121, 122), 및 신규 설치 후보 지점들(131, 132)은 x좌표 및 y 좌표를 포함하는 2차원 좌표로 표현될 수 있다.Referring to FIG. 1 , the electronic device derives new installation candidate points 131 and 132 based on an existing installation point 111 . The pre-installation point 111 may correspond to the location of the pre-installed charging station, and may be displayed on the planes 110 to 130 . For example, the planes 110 to 130 may correspond to a two-dimensional plane, and the existing installation point 111 , the target rectangles 121 and 122 , and the new installation candidate points 131 and 132 are x-coordinates. and two-dimensional coordinates including y coordinates.

전자 장치는 각각 기 설치된 충전소의 위치에 대응하는 기 설치 지점들을 확인하고, 기 설치 지점들을 꼭지점으로 하는 사각형들을 탐지할 수 있다. 예를 들어, 평면(110)은 기 설치 지점(111)과 같은 기 설치 지점들을 포함하고, 평면(120)은 대상 사각형들(121, 122)과 같이 기 설치 지점들을 꼭지점으로 하는 사각형들을 포함하는데, 전자 장치는 평면(110)의 기 설치 지점들로부터 평면(120)의 사각형들을 도출할 수 있다.The electronic device may identify pre-installation points corresponding to positions of each pre-installed charging station, and detect rectangles having the pre-installed points as vertices. For example, the plane 110 includes pre-installed points such as the pre-installed point 111, and the plane 120 includes rectangles having pre-installed points as vertices, such as target squares 121 and 122. , the electronic device may derive rectangles of the plane 120 from the pre-installation points of the plane 110 .

전자 장치는 기 설치 지점들 중에 어느 두 지점을 대각 위치의 꼭지 점으로 포함하고, 내부에 다른 기 설치 지점을 포함하지 않는 유효한 사각형을 탐지할 수 있다. 기 설치 지점들로 도출 가능한 각 사각형 중에 유효 조건에 부합하는 사각형은 유효한 것(valid)으로 표현될 수 있고, 내부에 다른 기 설치 지점을 포함하는 등과 같은 이유로 유효 조건에 부합하지 않는 사각형은 유효하지 않은 것(invalid)으로 표현될 수 있다.The electronic device may detect a valid quadrangle including any two of the pre-installed points as vertices of a diagonal position and does not include other pre-installed points therein. Among the rectangles that can be derived from the pre-installed points, the rectangle that meets the valid condition can be expressed as valid, and the rectangle that does not meet the valid condition is invalid for reasons such as including other pre-installed points therein. It can be expressed as invalid.

전자 장치는 이러한 사각형들 중에 임계치 이상의 길이의 대각선을 갖는 사각형을 대상 사각형들(121, 122)으로 검출할 수 있다. 대상 사각형들(121, 122)은 임계 거리를 기준으로 분류되므로, 대상 사각형들(121, 122)은 기 설치 지점들 간의 간격이 넓은 영역을 지시할 수 있다. 따라서, 해당 영역의 경우 전기 자동차의 원활한 충전을 위해 충전소의 추가 설치가 요구될 수 있고, 전자 장치는 이러한 영역에 기초하여 설치 후보 지점을 결정할 수 있다.The electronic device may detect a quadrangle having a diagonal having a length greater than or equal to a threshold from among the quadrilaterals as the target quadrangles 121 and 122 . Since the target rectangles 121 and 122 are classified based on a critical distance, the target rectangles 121 and 122 may indicate a wide area between installation points. Accordingly, in the case of the corresponding area, additional installation of a charging station may be required for smooth charging of the electric vehicle, and the electronic device may determine an installation candidate point based on the area.

예를 들어, 전자 장치는 기 설치 지점들 중에 대상 사각형들(121, 122)의 꼭지점에 해당하는 설치 지점들 이외에 대상 사각형들(121, 122)의 변에 인접한 인접 설치 지점이 존재하는지 확인하고, 인접 설치 지점의 존재 여부에 기초하여, 대상 사각형들(121, 122)에 대응하는 신규 설치 후보 지점들(131, 132)을 결정할 수 있다. 제1 신규 설치 후보 지점(131)의 경우 제1 대상 사각형(121)에 관련된 인접 설치 지점이 존재하지 않으므로 제1 대상 사각형(121)의 중심으로 그 위치가 결정될 수 있고, 제2 신규 설치 후보 지점(132)의 경우 제2 대상 사각형(122)에 관련된 인접 설치 지점이 존재하므로 제2 대상 사각형(122)의 각 변 중에 제2 대상 사각형(122)의 중심에 가까운 변의 중심으로 그 위치가 결정될 수 있다. 실시예들에 따른 이와 같은 방식을 통해 기 설치 지점들의 분포와의 관계에서 신규 설치 후보 지점들이 적절히 결정될 수 있다.For example, the electronic device checks whether there are adjacent installation points adjacent to the sides of the target squares 121 and 122 in addition to the installation points corresponding to the vertices of the target squares 121 and 122 among the existing installation points, New installation candidate points 131 and 132 corresponding to the target rectangles 121 and 122 may be determined based on the existence of adjacent installation points. In the case of the first new installation candidate point 131 , since there is no adjacent installation point related to the first target square 121 , the location may be determined as the center of the first target square 121 , and the second new installation candidate point In the case of 132, since there is an adjacent installation point related to the second target quadrangle 122, its position can be determined as the center of a side close to the center of the second target quadrangle 122 among each side of the second target quadrangle 122. there is. Through this method according to embodiments, new installation candidate points may be appropriately determined in relation to the distribution of existing installation points.

도 2는 일 실시예에 따른 사각형 탐지 문제를 나타낸다. 도 2에는 웨지처럼 보이는 객체가 있으며, 이들에 대해 A부터 F까지의 레이블이 부여된다. 기본적으로 두 개의 웨지는 동일한 세로선이나 가로선에 있지 않는 한 사각형을 형성한다. 두 개의 웨지가 사각형의 두 개의 반대쪽 모서리로 간주될 수 있기 때문이다. 그러나, 사각형은 그 안에 다른 웨지를 포함하지 않는 경우에만 유효하다. 즉, 경계선에 있는 웨지가 허용된다. 사각형은 (왼쪽 위, 오른쪽 아래) 또는 (왼쪽 아래, 오른쪽 위)의 형식으로 두 점을 통해 특정될 수 있다. 도 2의 경우 11개의 유효한 사각형, 즉 (A, B), (A, C), (A, D), (A, E), (B, E), (C, D), (C, F), (E, D) 및 (F, D). 도 2에는 유효한 사각형의 하위 집합만 표시된다. 사각형 (A, F)는 C를 포함하므로 유효하지 않다. (C, F)는 가능하다. E는 영역 안에 있지 않고 경계선에만 있기 때문이다. 사각형의 각 끝에 4 개의 점이 있는 경우, (B, E) 및 (C, F)의 두 사각형은 모양이 동일하다. 그러나, 이와 같이 중복된 공간이 검색되는 것은 시간의 오버헤드를 선형으로 증가시킬 뿐이므로, 이러한 중복된 공간이 서로 동일하게 고려되거나 그렇지 않거나 중요하지 않다.2 illustrates a quadrangle detection problem according to an embodiment. 2 shows objects that look like wedges, labeled A through F. Basically, two wedges form a rectangle unless they are on the same vertical or horizontal line. This is because two wedges can be considered as two opposite corners of a rectangle. However, a rectangle is only valid if it contains no other wedges in it. That is, wedges on the border are allowed. A rectangle can be specified through two points in the form (top-left, bottom-right) or (bottom-left, top-right). In the case of Figure 2, there are 11 valid rectangles: (A, B), (A, C), (A, D), (A, E), (B, E), (C, D), (C, F) ), (E, D) and (F, D). Only a subset of valid rectangles are shown in FIG. 2 . Rectangle (A, F) is invalid because it contains C. (C, F) is possible. This is because E is not in the domain, but only at the boundary. If there are 4 points at each end of the rectangle, then the two rectangles (B, E) and (C, F) have the same shape. However, it does not matter whether these overlapping spaces are considered equal to each other or not, since searching such overlapping spaces only linearly increases the overhead of time.

도 3 내지 도 5는 일 실시예에 따른 좌표 정렬을 통한 사각형 탐지 과정을 나타낸다. 도 3 내지 도 5는 사각형을 구성하는 두 점이 x 좌표로 정렬될 때 y 좌표를 비교하여 유효성 기준을 충족하는지 확인하는 과정을 나타낸다. 대부분의 프로그래밍 언어가 지원하는 포괄적인 라이브러리를 사용하는 경우, 주어진 모든 점을 정렬하는데 O(nlogn)의 시간이 걸린다.3 to 5 illustrate a process of detecting a rectangle through coordinate alignment according to an embodiment. 3 to 5 show a process of confirming whether or not the validity criterion is satisfied by comparing the y coordinates when two points constituting the quadrangle are aligned with the x coordinates. When using a comprehensive library supported by most programming languages, it takes O(nlogn) time to sort all the given points.

우선, P와 같은 점을 사각형의 왼쪽 아래에 놓고 각 점이 대응 점이 될 수 있는지, 즉 사각형의 오른쪽 위의 모서리에 위치할 수 있는지 순차적으로 체크할 수 있다. 이러한 점은 정렬된 목록에서 바로 다음부터 나타난다. 기본적으로, P와 동일한 x 또는 y 좌표를 가지는 점은 버려진다. P의 오른쪽에 위치하는 점의 경우, P와 해당 점의 사이에 다른 점이 없는 경우에만 유효한 사각형을 만들 수 있다. 도 3(a)에서, 프로시저는 x 좌표에 따른 순서에 따라 A, B, D 및 C를 순차적으로 체크한다. (P, A), (P, B) 및 (P, C)는 각각 내부에 다른 점이 없다. 그러나 (P, D)에는 B가 포함되어 있는데, B는 D에 비해 수평이 아닌 왼쪽 하단에 있다. 따라서, (P, D)는 유효한 사각형에서 제외된다.First, we can place a point such as P in the lower left corner of the rectangle and sequentially check whether each point can be a corresponding point, that is, it can be located in the upper right corner of the rectangle. These points appear immediately after in the sorted list. By default, points with x or y coordinates equal to P are discarded. For a point located to the right of P, a valid rectangle can be created only if there is no other point between P and the corresponding point. In Fig. 3(a), the procedure sequentially checks A, B, D and C according to the order according to the x-coordinate. (P, A), (P, B) and (P, C) each have no internal difference. However, (P, D) contains B, which is not horizontal compared to D, but is at the lower left. Therefore, (P, D) is excluded from the valid rectangle.

이와 같은 방법에서 P는 왼쪽 하단 점이 되며, 그 왼쪽 하단에 다른 점이 없는 어느 점은 P와 함께 유효한 사각형을 만든다. 이를 위해, 왼쪽에서 오른쪽으로 스캔하며 가장 낮은 y 좌표를 추적해야 한다. 예를 들어, 도 3(a)에서 A를 확인한 후 현재 최소 값은 Ay이며 (P, A)가 유효하다고 결정한다. 여기서, Ay는 A의 y좌표를 나타낸다. 어느 점 Z의 좌표는 (Zx, Zy)로 나타낼 수 있다. B의 경우 현재 최소 값인 Ay가 By보다 높으므로, (P, B)가 유효한 사각형으로 분류되고 현재 최소 값이 By로 대체된다. 대조적으로, 정렬 순서에 따라 다음에 D를 볼 때, Dy가 현재 최소 값인 By보다 크므로 (P, D)는 제외된다. 마지막으로, (P, C)는 Cy가 By보다 낮을 때 유효하며, (P, C)가 유효하다면 Cy는 현재 최소 값이 된다.In this way, P becomes the lower-left point, and any point with no other point in the lower-left corner forms a valid rectangle with P. To do this, we need to scan from left to right and trace the lowest y-coordinate. For example, after confirming A in FIG. 3( a ), the current minimum value is A y , and it is determined that (P, A) is valid. Here, A y represents the y-coordinate of A. The coordinates of any point Z can be expressed as (Z x , Z y ). In the case of B, since the current minimum value A y is higher than B y , (P, B) is classified as a valid rectangle and the current minimum value is replaced with B y . In contrast, the next time we see D in sort order, (P, D) is excluded because D y is greater than the current minimum B y . Finally, (P, C) is valid when C y is lower than B y , and if (P, C) is valid, then C y is the current minimum.

현재 최소 값을 추적하고 y 좌표를 비교하는 프로세스는 사각형 탐색을 효율적으로 수행하지만 이 과정에서 추가적으로 고려될 사항이 있을 수 있다. 예를 들어, 실시예에 따른 프로세스에서 점 아래에 다른 점이 있는지 확인하기 때문에, 여러 점이 동일한 세로선에 나타나는 상황이 추가로 고려될 필요가 있을 수 있다. 도 4에서 B를 먼저 확인하면 위에 A가 존재하기 때문에, (P, B)가 유효한 것으로 분류되지 않는다. 이는 동일한 x 좌표를 공유하는 점을 y 좌표를 기준으로 내림차순으로 정렬하여 해결될 수 있다. 즉, x 좌표를 먼저 비교한 다음 x 좌표가 동일한 경우 y 좌표를 비교하는 정렬 기준이 이용될 수 있다. 도 4의 예에서, 점은 A, B 및 C로 정렬된다. 현재 최소 값은 Ay, By 및 Cy에서 순차적으로 변경되지만 (P, A), (P, B) 및 (P, C)는 유효하게 분류될 수 있다.The process of tracking the current minimum value and comparing the y-coordinates efficiently performs the rectangle search, but there may be additional considerations in this process. For example, since the process according to the embodiment checks whether there is another point under a point, a situation in which multiple points appear on the same vertical line may need to be further considered. If B is first checked in FIG. 4 , since A exists above, (P, B) is not classified as valid. This can be solved by sorting points that share the same x-coordinate in descending order based on the y-coordinate. That is, an alignment criterion that compares the x-coordinate first and then compares the y-coordinate when the x-coordinate is the same may be used. In the example of Figure 4, the points are aligned with A, B and C. The current minimum value is sequentially changed in A y , B y and C y , but (P, A), (P, B) and (P, C) can be effectively classified.

도 5와 같이, P는 왼쪽 상단의 지점이 될 수도 있다. 이 경우, P 이하의 점만 조사될 수 있다. 왼쪽에서 오른쪽으로 스캔할 때 현재 최소 값 대신 현재 최대 값을 추적한다는 점을 제외하고는 상술된 것과 동일한 방식으로 유효한 사각형을 찾을 수 있다. 현재 최대 값을 추적하면 다른 점이 사각형에 포함되어 있는지 확인할 수 있다. 또한, 정렬 순서는 도 5에 도시된 것과 동일한 x 좌표를 갖는 점들에 대해서는 역순이어야 한다. 동일한 세로선의 3개의 점 A, B 및 C가 오름차순으로 정렬되면 (P, C), (P, B) 및 (P, A)의 순서로 유효성을 확인할 수 있다. 그러면 모두 유효한 것으로 분류될 수 있다.5 , P may be the upper left point. In this case, only points below P can be irradiated. Valid rectangles can be found in the same way as described above, except that when scanning from left to right it tracks the current maximum instead of the current minimum. Keep track of the current max to see if any other points are contained within the rectangle. Also, the sort order should be reversed for points having the same x-coordinate as shown in FIG. 5 . If three points A, B, and C of the same vertical line are arranged in ascending order, the validity can be confirmed in the order of (P, C), (P, B) and (P, A). Then all can be classified as valid.

도 6은 일 실시예에 따른 각 탐지 경로를 나타낸다. 처음에, 모든 점은 무작위로 주어지며, 어떤 쌍이라도 사각형을 나타낼 수 있다. 점은 4개의 모서리 중 하나일 수 있으므로 모든 실행 가능한 쌍을 검사할 때 중복 검사가 불필요하게 포함된다. x 좌표에 따라 정렬하고 왼쪽에서 오른쪽으로 스캔하면 이러한 중복이 제거된다. 왼쪽에서부터, 각 점을 왼쪽 상단 또는 왼쪽 하단으로 고정하고 오른쪽에서만 대응 점을 찾으면서, n개의 앵커 점(anchor point)에 대해 각각 n-1, n-2, ..., 1개의 점이 페어링되고 체크되어, O(n2)의 시간 복잡성이 도출된다. 점이 왼쪽 하단에 있으면 위의 점을 조사하고, 그 반대도 마찬가지로 점이 왼쪽 상단에 있으면 아래의 점을 조사한다. 그러나 앞서 설명했듯이 x 좌표의 정렬 순서가 동일하더라도 각 경우에는 y 좌표에 대해 반대 정렬 순서가 필요할 수 있다. 따라서 앵커 점이 왼쪽 아래가 되는 경우 및 왼쪽 위가 되는 경우의 두 개의 탐지 경로가 요구된다.6 shows each detection path according to an embodiment. Initially, all points are given randomly, and any pair can represent a rectangle. A point can be one of the four edges, so redundant checks are unnecessarily involved when checking all viable pairs. Sorting by the x-coordinate and scanning from left to right removes these duplicates. From the left, n-1, n-2, ..., 1 points are paired, respectively, for n anchor points, fixing each point to the top-left or bottom-left and finding the corresponding point only on the right. checked, resulting in a time complexity of O(n 2 ). If the point is in the lower left, check the upper point, and vice versa, if the point is in the upper left, check the lower point. However, as explained earlier, even if the sort order of the x-coordinate is the same, the reverse sort order may be required for the y-coordinate in each case. Therefore, two detection paths are required, one for the case where the anchor point is lower-left and one for the upper-left case.

도 6에 표시된 특수한 점 라인이 설명에 유용할 수 있다. P1과 P2의 오른쪽에는 A부터 E까지의 점이 있다. P1 위에는 A와 B가 있으며 P2 위에는 C가 추가로 있다. P1이 사각형의 왼쪽 하단이 되려면 A와 B만 확인해야 하며 위에서 아래로 정렬된다. P2, A, B 및 C의 경우 위에서 아래로 정렬해야 한다. P1 또는 P2 중 어느 것을 첫 번째를 취할지는 중요하지 않으며, x 좌표의 기본 정렬 순서는 왼쪽에서 오른쪽이다. 첫 번째 탐지 경로에서 동일한 x 좌표의 순서는 내림차순이므로 점은 (P1, P2, A, B, C, D, E)로 정렬된다. P1의 경우 동일한 세로선에 있는 P2를 제외하고 A~E가 순차적으로 제공된다. 여기서 C는 P1 아래이므로 검사가 종료된다. P2의 경우 검사 절차는 C까지 수행된다. 다음, 두 번째 탐지 경로에서 y 좌표의 순서가 오름차순으로 정렬되며 (P2, P1, E, D, C, B, A)의 목록이 제공된다. P2에게 E와 D가 제공되고, P1은 여기에 C를 추가로 받는다.The special dotted line shown in FIG. 6 may be useful for explanation. To the right of P 1 and P 2 are points A to E. Above P 1 are A and B, and above P 2 there is an additional C. For P 1 to be the bottom left corner of the rectangle, only A and B need to be checked and they are aligned top to bottom. For P 2 , A, B and C, they must be aligned from top to bottom. It doesn't matter which one takes P 1 or P 2 first, the default sort order for x-coordinates is left-to-right. The order of the same x-coordinates in the first detection path is descending, so the points are sorted by (P 1 , P 2 , A, B, C, D, E). In the case of P 1 , A to E are sequentially provided except for P 2 on the same vertical line. Here, C is below P 1 , so the test ends. In case of P 2 , the inspection procedure is carried out up to C. Then, in the second detection path, the order of the y-coordinates is sorted in ascending order and a list of (P 2 , P 1 , E, D, C, B, A) is provided. P 2 is provided with E and D, and P 1 receives an additional C.

예를 들어, 사각형 탐지 장치는 제1 탐지 경로를 위해, 기 설치 지점들의 x 좌표 값에 기초하여 기 설치 지점들을 1차적으로 오름차순으로 정렬하고, 동일한 x 좌표 값을 갖는 기 설치 지점들의 중복 지점들의 y 좌표 값에 기초하여 중복 지점들을 2차적으로 내림차순으로 정렬하고, 기 설치 지점들 중에 x 좌표 값이 가장 작은 어느 하나를 앵커 지점으로 선택하고, 제1 탐지 경로의 정렬 순서로 앵커 지점과 기 설치 지점들의 y 좌표 값을 비교하면서, 사각형을 탐지할 수 있다. 이후에, 사각형 탐지 장치는 제2 탐지 경로를 위해, 기 설치 지점들의 x 좌표 값에 기초하여 기 설치 지점들을 1차적으로 오름차순으로 정렬하고, 중복 지점들의 y 좌표 값에 기초하여 중복 지점들을 2차적으로 오름차순으로 정렬하고, 제2 탐지 경로의 정렬 순서로 앵커 지점과 기 설치 지점들의 y 좌표 값을 비교하면서, 사각형을 탐지할 수 있다.For example, for the first detection path, the quadrangular detection device primarily aligns the pre-installed points in ascending order based on the x-coordinate values of the pre-installed points, and includes overlapping points of the pre-installed points having the same x-coordinate value. Based on the y-coordinate value, the overlapping points are secondarily arranged in descending order, and among the pre-installed points, any one with the smallest x-coordinate value is selected as the anchor point, and the anchor point and the pre-installed in the sort order of the first detection path. By comparing the y-coordinate values of the points, a rectangle can be detected. Thereafter, for the second detection path, the square detection device first aligns the pre-installed points in ascending order based on the x-coordinate values of the pre-installed points, and secondarily aligns the overlapping points based on the y-coordinate values of the overlapping points. A quadrangle can be detected while arranging in ascending order by , and comparing the y-coordinate values of the anchor point and the pre-installed points in the sort order of the second detection path.

사각형 탐지 장치는 제1 탐지 경로에 기초하여 사각형을 탐지할 때, 앵커 지점 및 y 좌표 값의 현재 최소 값에 대응하는 기 설치 지점을 꼭지점으로 포함하는 사각형을 유효 사각형으로 결정할 수 있고, 제2 탐지 경로에 기초하여 사각형을 탐지할 때, 앵커 지점 및 y 좌표 값의 현재 최대 값에 대응하는 기 설치 지점을 꼭지점으로 포함하는 사각형을 유효 사각형으로 결정할 수 있다.When the quadrangle detection device detects a quadrangle based on the first detection path, a quadrangle including an anchor point and a pre-installed point corresponding to the current minimum value of the y-coordinate value as a vertex may be determined as a valid quadrangle, and the second detection When detecting a quadrangle based on a path, a quadrangle including an anchor point and a pre-installed point corresponding to the current maximum value of the y-coordinate value as a vertex may be determined as an effective quadrangle.

실시예들은 아래의 표 1과 같이 설명할 수도 있다.Embodiments may be described as shown in Table 1 below.

Figure 112020083779695-pat00001
Figure 112020083779695-pat00001

초기에, {Pi(xi, yi)|0?i<n}의 세트가 주어진다. 즉, 각 점 Pi는 xi 및 yi로 특정된다. 또한, ymax 및 ymin은 각각 y 좌표의 최대 및 최소 경계이다. 그것들은 각각 양의 무한대와 음의 무한대로 대체될 수도 있다. 변수 up는 첫 번째 경로에서 검사 지점 위의 지점에 대한 현재 최소 값을 추적한다. 변수 up는 유효한 사각형을 찾을 때마다 단조 감소한다. y 좌표가 더 큰 점은 유효하지 않다. 변수 down은 또한 검사 지점 아래의 해당 지점에 대해 현재 최대 값을 추적하고, 두 번째 경로에서 동일한 방식으로 반대 방향으로 증가한다. 변수 up 및 down은 각 검사 지점에 대해 다시 초기화된다. 동일한 수직선, 즉 P1에서 P2 또는 P2에서 P1의 검사 지점에 대한 처리 순서는 서로 관련이 없으므로 중요하지 않다.프로시저는 유효한 사각형을 찾을 때마다 미리 정의된 연산을 호출한다. 이 연산은 사각형의 수를 계산하는 것, 좌표를 필터링하는 것, 로봇 등에 할당하는 것 등을 포함할 수 있다. 표 1의 의사 코드를 사용하여 안전한 정렬 라이브러리를 제공하는 Java를 사용하여 알고리즘을 구현할 수 있다. 병합 정렬 메커니즘에서 나오는 계산 효율성 외에도, 이 API를 사용하면 여러 정렬 기준을 지정할 수 있다. 여기서, 첫 번째는 오름차순의 x 좌표이고, 두 번째는 첫 번째 경로에서 내림차순 및 두 번째 경로에서 오름차순의 y 좌표이다. 복잡도 T(n)는 수학식 1과 같이 직관적으로 계산되며, 이는 O(n2)의 솔루션에 해당한다.Initially, the set {P i (x i , y i )|0?i<n} is given. That is, each point P i is specified by x i and y i . Also, y max and y min are the maximum and minimum boundaries of the y coordinates, respectively. They may be replaced by positive infinity and negative infinity respectively. The variable up keeps track of the current minimum value for a point above the checkpoint in the first path. The variable up is monotonically decremented whenever a valid rectangle is found. Points with larger y coordinates are invalid. The variable down also tracks the current maximum for that point below the checkpoint, increasing in the opposite direction in the same way on the second path. Variables up and down are reinitialized for each checkpoint. The order of processing for checkpoints on the same vertical line, ie P 1 to P 2 or P 2 to P 1 , is not important as they are not related. The procedure calls a predefined operation whenever it finds a valid rectangle. This operation may include counting the number of rectangles, filtering the coordinates, assigning them to robots, etc. Using the pseudocode in Table 1, the algorithm can be implemented using Java, which provides a safe sorting library. In addition to the computational efficiency that comes from the merge sort mechanism, this API also allows you to specify multiple sort criteria. Here, the first is the x-coordinate in ascending order, and the second is the y-coordinate in descending order in the first path and ascending order in the second path. Complexity T(n) is intuitively calculated as in Equation 1, which corresponds to a solution of O(n 2 ).

Figure 112020083779695-pat00002
Figure 112020083779695-pat00002

상술된 것처럼 두 개의 병합 정렬 호출이 필요하며 각 호출에는 O(nlogn)이 필요한다. 또한, Pi+1에서 Pn-1까지의 점이 점 Pi에 대해 비교될 때, 각각의 경로는 (n*(n-1))/2개의 y 좌표와의 비교를 필요로 한다. 2*n2의 비교가 필요한 레거시 체계와 비교하여, 실시예들은 지배적인 텀이 여전히 n2로 남아 있어도 복잡성을 약 n2-2nlogn만큼 줄인다. 이 개선 사항은 장애물 수가 많아질 때 응용을 보다 효율적으로 만든다.As mentioned above, two merge sort calls are required, each call taking O(nlogn). Also, when the points from P i+1 to P n-1 are compared to the point P i , each path requires a comparison with (n*(n-1))/2 y-coordinates. Compared to the legacy scheme, which requires comparison of 2*n 2 , embodiments reduce the complexity by about n 2 −2 nlogn even though the dominant term still remains n 2 . This improvement makes the application more efficient when the number of obstacles increases.

도 7은 일 실시예에 따른 기 설치 지점들과 신규 설치 후보 지점의 관계를 나타낸다. 도 7을 참조하면, 각 충전소들은 점으로 표시되어 있으며 두 점으로 이루어진 사각형 내에 다른 점이 포함되지 않는 사각형들만 1차적으로 추출된다. 도 7은 가능한 사각형들에 대해 우상향 대각선으로 표시한 것이며, 편의상 우하향 대각선을 포함하는 사각형은 도시하지 않았다. 상술된 프로세스에 따라 우하향 대각선을 포함하는 사각형들도 도출될 수 있다.7 illustrates a relationship between existing installation points and a new installation candidate point according to an exemplary embodiment. Referring to FIG. 7 , each charging station is indicated by a dot, and only squares that do not include other points within a square made of two points are primarily extracted. FIG. 7 shows that possible rectangles are indicated by diagonal lines to the right, and for convenience, a rectangle including a diagonal line downwards to the right is not shown. According to the above-described process, quadrilaterals including a diagonal line downwards to the right can also be derived.

사각형에 대해 대각선의 길이기 길면 최악의 경우 충전을 위해 운전하는 거리가 길기 때문에 P1과 같이 그 사각형의 중심에 충전소를 설치하는 것이 바람직한데 이는 경계선 근처에 충전소가 없는 경우 유효한 전제일 수 있다. 만약 사각형의 경계선에 기존 충전소가 있는 경우에는 P2와 같이 사각형의 중심에 가까운 변의 반에 해당하는 곳에 충전소가 위치할 수 있다.If the diagonal of the rectangle is long, in the worst case, the driving distance for charging is long, so it is desirable to install a charging station in the center of the rectangle like P1, which may be a valid premise if there is no charging station near the boundary line. If there is an existing charging station at the boundary of the rectangle, the charging station may be located at a location corresponding to half of a side close to the center of the rectangle, such as P2.

사각형들만 판별한다고 해서 바로 최악의 경우 이동할 거리를 줄이면서 기존 충전소들로부터 일정 거리 이상 떨어진 위치를 바로 알 수 있는 것은 아닐 수 있다. 그러나, 대각선의 길이가 주어진 조건보다 길고 짧은 변의 길이가 또다른 조건보다 긴 사각형들만 후보로서 도출한 후, 이들 후보를 정밀 조사하여 신규 충전소의 위치를 결정하는 것이 효율적일 수 있다.It may not be possible to immediately know a location more than a certain distance from existing charging stations while reducing the moving distance in the worst case just by discriminating only the squares. However, after deriving only rectangles with a diagonal length longer than a given condition and a shorter side longer than another condition as candidates, it may be efficient to determine the location of a new charging station by closely examining these candidates.

도 8은 일 실시예에 따른 전자 장치를 나타낸다. 도 8를 참조하면, 전자 장치(800)는 전기 자동차 충전소의 기 설치 지점의 위치 정보를 획득하고, 이에 기초하여 신규 설치 후보 지점을 결정할 수 있다. 전자 장치(800)는 도 1 내지 도 7을 통해 설명된 하나 이상의 동작을 수행할 수 있다.8 illustrates an electronic device according to an exemplary embodiment. Referring to FIG. 8 , the electronic device 800 may obtain location information of an existing installation point of an electric vehicle charging station, and determine a new installation candidate point based thereon. The electronic device 800 may perform one or more operations described with reference to FIGS. 1 to 7 .

전자 장치(800)는 프로세서(810), 메모리(820), 카메라(830), 저장 장치(840), 입력 장치(850), 출력 장치(860) 및 네트워크 인터페이스(870)를 포함할 수 있다. 프로세서(810), 메모리(820), 카메라(830), 저장 장치(840), 입력 장치(850), 출력 장치(860) 및 네트워크 인터페이스(870)는 통신 버스(880)를 통해 서로 통신할 수 있다. 예를 들어, 전자 장치(800)는 이동 전화, 스마트 폰, PDA, 넷북, 태블릿 컴퓨터, 랩톱 컴퓨터 등과 같은 모바일 장치, 데스크탑, 서버 등과 같은 컴퓨팅 장치의 적어도 일부로 구현될 수 있다.The electronic device 800 may include a processor 810 , a memory 820 , a camera 830 , a storage device 840 , an input device 850 , an output device 860 , and a network interface 870 . The processor 810 , the memory 820 , the camera 830 , the storage device 840 , the input device 850 , the output device 860 , and the network interface 870 may communicate with each other via the communication bus 880 . there is. For example, the electronic device 800 may be implemented as at least a part of a computing device such as a mobile phone, a smart phone, a PDA, a netbook, a tablet computer, a laptop computer, and the like, a desktop, a server, and the like.

프로세서(810)는 전자 장치(800) 내에서 실행하기 위한 기능 및 명령어들을 실행한다. 예를 들어, 프로세서(810)는 메모리(820) 또는 저장 장치(840)에 저장된 명령어들을 처리할 수 있다. 프로세서(810)는 도 1 내지 도 7을 통해 설명된 하나 이상의 동작을 수행할 수 있다.The processor 810 executes functions and instructions for execution in the electronic device 800 . For example, the processor 810 may process instructions stored in the memory 820 or the storage device 840 . The processor 810 may perform one or more operations described with reference to FIGS. 1 to 7 .

메모리(820)는 후보 지점의 선정을 위한 데이터를 저장한다. 메모리(820)는 컴퓨터 판독가능한 저장 매체 또는 컴퓨터 판독가능한 저장 장치를 포함할 수 있다. 메모리(820)는 프로세서(810)에 의해 실행하기 위한 명령어들을 저장할 수 있고, 전자 장치(800)에 의해 소프트웨어 및/또는 애플리케이션이 실행되는 동안 관련 정보를 저장할 수 있다. 카메라(830)는 사진 및/또는 비디오를 촬영할 수 있다.The memory 820 stores data for selection of a candidate point. Memory 820 may include a computer-readable storage medium or a computer-readable storage device. The memory 820 may store instructions to be executed by the processor 810 , and may store related information while software and/or applications are executed by the electronic device 800 . The camera 830 may take pictures and/or video.

저장 장치(840)는 컴퓨터 판독가능한 저장 매체 또는 컴퓨터 판독가능한 저장 장치를 포함한다. 저장 장치(840)는 후보 지점의 선정 과정에서 사용되는 각종 데이터를 저장할 수 있다. 일 실시예에 따르면, 저장 장치(840)는 메모리(820)보다 더 많은 양의 정보를 저장하고, 정보를 장기간 저장할 수 있다. 예를 들어, 저장 장치(840)는 자기 하드 디스크, 광 디스크, 플래쉬 메모리, 플로피 디스크 또는 이 기술 분야에서 알려진 다른 형태의 비휘발성 메모리를 포함할 수 있다.The storage device 840 includes a computer-readable storage medium or a computer-readable storage device. The storage device 840 may store various data used in the selection process of the candidate point. According to an embodiment, the storage device 840 may store a larger amount of information than the memory 820 and may store the information for a long period of time. For example, the storage device 840 may include a magnetic hard disk, an optical disk, a flash memory, a floppy disk, or other form of non-volatile memory known in the art.

입력 장치(850)는 키보드 및 마우스를 통한 전통적인 입력 방식, 및 터치 입력, 음성 입력, 및 이미지 입력과 같은 새로운 입력 방식을 통해 사용자로부터 입력을 수신할 수 있다. 예를 들어, 입력 장치(850)는 키보드, 마우스, 터치 스크린, 마이크로폰, 또는 사용자로부터 입력을 검출하고, 검출된 입력을 전자 장치(800)에 전달할 수 있는 임의의 다른 장치를 포함할 수 있다.The input device 850 may receive an input from a user through a traditional input method through a keyboard and a mouse, and a new input method such as a touch input, a voice input, and an image input. For example, input device 850 may include a keyboard, mouse, touch screen, microphone, or any other device capable of detecting input from a user and communicating the detected input to electronic device 800 .

출력 장치(860)는 시각적, 청각적 또는 촉각적인 채널을 통해 사용자에게 전자 장치(800)의 출력을 제공할 수 있다. 출력 장치(860)는 예를 들어, 디스플레이, 터치 스크린, 스피커, 진동 발생 장치 또는 사용자에게 출력을 제공할 수 있는 임의의 다른 장치를 포함할 수 있다. 네트워크 인터페이스(870)는 유선 또는 무선 네트워크를 통해 외부 장치와 통신할 수 있다.The output device 860 may provide an output of the electronic device 800 to the user through a visual, auditory, or tactile channel. Output device 860 may include, for example, a display, touch screen, speaker, vibration generating device, or any other device capable of providing output to a user. The network interface 870 may communicate with an external device through a wired or wireless network.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(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 in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the medium may be specially designed and configured for the embodiment, or may be known and available to those skilled in the art of computer software. Examples of the computer-readable recording medium include magnetic media such as hard disks, floppy disks and magnetic tapes, optical media such as CD-ROMs and DVDs, and magnetic media such as floppy disks. - includes magneto-optical media, and hardware devices specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like. 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 comprise a computer program, code, instructions, or a combination of one or more thereof, which configures a processing device to operate as desired or is independently or collectively processed You can command the device. The software and/or data may be any kind of machine, component, physical device, virtual equipment, computer storage medium or apparatus, to be interpreted by or to provide instructions or data to the processing device. , or may be permanently or temporarily embody in a transmitted signal wave. The software may be distributed over networked computer systems and stored or executed in a distributed manner. Software and data may be stored in one or more computer-readable recording media.

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

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

Claims (8)

전자 장치에 의해 수행되는, 신규 충전소의 설치 후보 위치를 선정하기 위한, 사각형 탐지 방법에 있어서,
각각 기 설치된 충전소의 위치에 대응하는 기 설치 지점들을 확인하는 단계;
상기 기 설치 지점들을 꼭지점으로 하는 사각형들을 탐지하는 단계;
상기 사각형들 중에 임계치 이상의 길이의 대각선을 갖는 대상 사각형을 검출하는 단계;
상기 기 설치 지점들 중에 상기 대상 사각형의 꼭지점에 해당하는 설치 지점들 이외에 상기 대상 사각형의 변에 인접한 인접 설치 지점이 존재하는지 확인하는 단계; 및
상기 인접 설치 지점의 존재 여부에 기초하여, 상기 대상 사각형에 대응하는 신규 설치 후보 지점을 결정하는 단계
를 포함하는, 사각형 탐지 방법.
In the square detection method for selecting an installation candidate location of a new charging station, performed by an electronic device,
checking the pre-installation points corresponding to the locations of the pre-installed charging stations, respectively;
detecting rectangles having the pre-installed points as vertices;
detecting a target quadrangle having a diagonal of a length greater than or equal to a threshold among the quadrangle;
checking whether an adjacent installation point adjacent to a side of the target rectangle exists in addition to installation points corresponding to vertices of the target rectangle among the installation points; and
Determining a new installation candidate point corresponding to the target square based on the existence of the adjacent installation point
A method for detecting a rectangle, comprising:
제1항에 있어서,
상기 신규 설치 후보 지점을 결정하는 상기 단계는
상기 대상 사각형에 관해 상기 인접 설치 지점이 존재하지 않는 경우 상기 대상 사각형의 중심을 상기 신규 설치 후보 지점으로 결정하는 단계; 및
상기 대상 사각형에 관해 상기 인접 설치 지점이 존재하는 경우 상기 대상 사각형의 각 변 중에 상기 대상 사각형의 상기 중심에 가장 가까운 변의 중심을 상기 신규 설치 후보 지점으로 결정하는 단계
를 포함하는, 사각형 탐지 방법.
According to claim 1,
The step of determining the new installation candidate point is
determining the center of the target quadrangle as the new installation candidate point when the adjacent installation point does not exist with respect to the target quadrangle; and
When the adjacent installation point exists with respect to the target quadrangle, determining the center of a side closest to the center of the target quadrangle among each side of the target quadrangle as the new installation candidate point;
A method for detecting a rectangle, comprising:
제1항에 있어서,
상기 사각형들을 탐지하는 단계는
상기 기 설치 지점들 중에 어느 두 지점을 대각 위치의 꼭지 점으로 포함하고, 내부에 다른 기 설치 지점을 포함하지 않는 사각형을 탐지하는 단계를 포함하는,
사각형 탐지 방법.
According to claim 1,
The step of detecting the squares is
Including any two of the pre-installed points as vertices of a diagonal position, including the step of detecting a rectangle that does not contain other pre-installed points therein,
Rectangle detection method.
제1항에 있어서,
상기 사각형들을 탐지하는 단계는
제1 탐지 경로를 위해, 상기 기 설치 지점들의 x 좌표 값에 기초하여 상기 기 설치 지점들을 1차적으로 오름차순으로 정렬하고, 동일한 x 좌표 값을 갖는 기 설치 지점들의 중복 지점들의 y 좌표 값에 기초하여 상기 중복 지점들을 2차적으로 내림차순으로 정렬하는 단계;
상기 기 설치 지점들 중에 x 좌표 값이 가장 작은 어느 하나를 앵커 지점으로 선택하는 단계;
상기 제1 탐지 경로의 정렬 순서로 상기 앵커 지점과 상기 기 설치 지점들의 y 좌표 값을 비교하면서, 사각형을 탐지하는 단계;
제2 탐지 경로를 위해, 상기 기 설치 지점들의 x 좌표 값에 기초하여 상기 기 설치 지점들을 1차적으로 오름차순으로 정렬하고, 상기 중복 지점들의 y 좌표 값에 기초하여 상기 중복 지점들을 2차적으로 오름차순으로 정렬하는 단계; 및
상기 제2 탐지 경로의 정렬 순서로 상기 앵커 지점과 상기 기 설치 지점들의 y 좌표 값을 비교하면서, 사각형을 탐지하는 단계
를 포함하는, 사각형 탐지 방법.
According to claim 1,
The step of detecting the squares is
For the first detection path, the pre-installed points are primarily arranged in ascending order based on the x-coordinate values of the pre-installed points, and based on the y-coordinate values of overlapping points of the pre-installed points having the same x-coordinate value sorting the overlapping points in a secondary descending order;
selecting any one of the pre-installed points having the smallest x-coordinate value as an anchor point;
detecting a quadrangle while comparing the y-coordinate values of the anchor point and the pre-installed points in an arrangement order of the first detection path;
For a second detection path, the previously installed points are primarily arranged in ascending order based on the x-coordinate values of the previously installed points, and the overlapping points are secondarily arranged in ascending order based on the y-coordinate values of the overlapping points. sorting; and
Detecting a quadrangle while comparing the y-coordinate values of the anchor point and the pre-installed points in an arrangement order of the second detection path
A method for detecting a rectangle, comprising:
제4항에 있어서,
상기 제1 탐지 경로에 기초하여 상기 사각형을 탐지하는 상기 단계는
상기 앵커 지점 및 y 좌표 값의 현재 최소 값에 대응하는 기 설치 지점을 꼭지점으로 포함하는 사각형을 유효 사각형으로 결정하는 단계를 포함하는,
사각형 탐지 방법.
5. The method of claim 4,
The step of detecting the quadrangle based on the first detection path
Comprising the step of determining, as an effective rectangle, a rectangle including the anchor point and an existing installation point corresponding to the current minimum value of the y-coordinate value as a vertex,
Rectangle detection method.
제5항에 있어서,
상기 제2 탐지 경로에 기초하여 상기 사각형을 탐지하는 상기 단계는
상기 앵커 지점 및 y 좌표 값의 현재 최대 값에 대응하는 기 설치 지점을 꼭지점으로 포함하는 사각형을 유효 사각형으로 결정하는 단계를 포함하는,
사각형 탐지 방법.
6. The method of claim 5,
The step of detecting the quadrangle based on the second detection path
Comprising the step of determining, as a valid rectangle, a rectangle including the anchor point and an existing installation point corresponding to the current maximum value of the y-coordinate value as a vertex,
Rectangle detection method.
신규 충전소의 설치 후보 위치를 선정하기 위한, 전자 장치에 있어서,
프로세서; 및
상기 프로세서에서 실행가능한 명령어들을 포함하는 메모리
를 포함하고,
상기 명령어들이 상기 프로세서에서 실행되면, 상기 프로세서는
각각 기 설치된 충전소의 위치에 대응하는 기 설치 지점들을 확인하고,
상기 기 설치 지점들을 꼭지점으로 하는 사각형들을 탐지하고,
상기 사각형들 중에 임계치 이상의 길이의 대각선을 갖는 대상 사각형을 검출하고,
상기 기 설치 지점들 중에 상기 대상 사각형의 꼭지점에 해당하는 설치 지점들 이외에 상기 대상 사각형의 변에 인접한 인접 설치 지점이 존재하는지 확인하고,
상기 인접 설치 지점의 존재 여부에 기초하여, 상기 적어도 하나의 대상 사각형에 대응하는 신규 설치 후보 지점을 결정하는,
전자 장치.
In the electronic device for selecting an installation candidate location of a new charging station,
processor; and
memory containing instructions executable by the processor
including,
When the instructions are executed in the processor, the processor
Check the pre-installed points corresponding to the location of each pre-installed charging station,
Detecting the squares having the pre-installed points as vertices,
Detecting a target quadrangle having a diagonal of a length greater than or equal to a threshold among the quadrilaterals,
Checking whether there are adjacent installation points adjacent to the side of the target rectangle in addition to the installation points corresponding to the vertices of the target rectangle among the previous installation points,
determining a new installation candidate point corresponding to the at least one target square based on the existence of the adjacent installation point;
electronic device.
제7항에 있어서,
상기 프로세서는
상기 대상 사각형에 관해 상기 인접 설치 지점이 존재하지 않는 경우 상기 대상 사각형의 중심을 상기 신규 설치 후보 지점으로 결정하고,
상기 대상 사각형에 관해 상기 인접 설치 지점이 존재하는 경우 상기 대상 사각형의 각 변 중에 상기 대상 사각형의 상기 중심에 가장 가까운 변의 중심을 상기 신규 설치 후보 지점으로 결정하는,
전자 장치.
8. The method of claim 7,
the processor is
When the adjacent installation point does not exist with respect to the target quadrangle, the center of the target quadrangle is determined as the new installation candidate point,
When the adjacent installation point exists with respect to the target quadrangle, the center of a side closest to the center of the target quadrangle among each side of the target quadrangle is determined as the new installation candidate point,
electronic device.
KR1020200099894A 2020-08-10 2020-08-10 Metohd and apparauts of rectangular detection for selecting new installation location of electric vehicle charging station KR102390065B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020200099894A KR102390065B1 (en) 2020-08-10 2020-08-10 Metohd and apparauts of rectangular detection for selecting new installation location of electric vehicle charging station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200099894A KR102390065B1 (en) 2020-08-10 2020-08-10 Metohd and apparauts of rectangular detection for selecting new installation location of electric vehicle charging station

Publications (2)

Publication Number Publication Date
KR20220019460A KR20220019460A (en) 2022-02-17
KR102390065B1 true KR102390065B1 (en) 2022-04-25

Family

ID=80493334

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200099894A KR102390065B1 (en) 2020-08-10 2020-08-10 Metohd and apparauts of rectangular detection for selecting new installation location of electric vehicle charging station

Country Status (1)

Country Link
KR (1) KR102390065B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4850252B2 (en) 2006-09-21 2012-01-11 三菱電機株式会社 Map information processing device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102038093B1 (en) * 2013-01-08 2019-10-29 네이버 주식회사 Method, search server and computer readable recording medium for providing branch office information
KR102260332B1 (en) * 2014-02-06 2021-06-02 에스케이텔레콤 주식회사 Adjusting method of spot for detecting position, apparatus using the same and memory media recoding program to oerrate the method
KR102023163B1 (en) 2017-11-06 2019-09-19 제주대학교 산학협력단 Site selection scheme for electric vehicle chargers based on genetic algorithm
KR20200002257A (en) * 2018-06-29 2020-01-08 한국교통대학교산학협력단 Corner detection-based road sign detecting method and apparatus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4850252B2 (en) 2006-09-21 2012-01-11 三菱電機株式会社 Map information processing device

Also Published As

Publication number Publication date
KR20220019460A (en) 2022-02-17

Similar Documents

Publication Publication Date Title
US11023526B2 (en) System and method for graph search enhancement
JP5617095B2 (en) Method, system and program for writing a new image and its information to an image database
CN104715249A (en) Object tracking method and device
US9001059B2 (en) Method and apparatus for choosing an intended target element from an imprecise touch on a touch screen display
CN104866542A (en) POI data verification method and device
KR20140045573A (en) Text detection using image regions
US9734395B2 (en) Tracking device and tracking method
CN106991422A (en) Character segmentation method, device and computer-readable recording medium and electronic equipment
US9916291B2 (en) Method, apparatus, and terminal device for displaying multiple input boxes in a web page where display space is limited
EP2770410A2 (en) Method for determining touch input object and electronic device thereof
KR20180088595A (en) Power grid healing techniques
US20240152532A1 (en) Method and apparatus for determining spatial relationship, computer device, and storage medium
KR101028670B1 (en) Method, system, and computer-readable recording medium for recognizing characters included in a document by using language model and ocr
CN105723314B (en) Two-step content selection
CN104035702A (en) Method for preventing intelligent terminal operation error and intelligent terminal
CN105183827A (en) Search method and apparatus based on handwriting input
CN106648636B (en) Software function change prediction system and method based on graph mining
KR102390065B1 (en) Metohd and apparauts of rectangular detection for selecting new installation location of electric vehicle charging station
JP5935501B2 (en) Program, image processing apparatus and image processing method
CN103955713A (en) Icon recognition method and device
KR102138748B1 (en) Method and system for detecting and sorting string in line unit
CN115187999A (en) Text recognition method and device, electronic equipment and computer readable storage medium
CN113657317A (en) Cargo position identification method and system, electronic equipment and storage medium
KR102294423B1 (en) Method and apparatus for detection window image
KR101078680B1 (en) Private information serch system using structured type pattern recognition notation and method of operating the system

Legal Events

Date Code Title Description
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant