Polygon retrieval method

By converting the polygonal region on the map into polygon information represented by vertex coordinates and extracting the spatiotemporal information in the polygonal region, the problem of difficulty in retrieving spatiotemporal information with high precision in the prior art is solved, and high-precision and high-speed spatiotemporal information retrieval is achieved Effect.

CN113939711BActive Publication Date: 2024-12-20NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980097334.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-11
Publication Date
2024-12-20
Estimated Expiration
2039-06-11

AI Technical Summary

Technical Problem

The prior art is difficult to retrieve the spatiotemporal information of cars present in areas designated by polygons with high accuracy, especially in areas designated by rectangles, and it is difficult to accurately retrieve the spatiotemporal information on a specific road.

Method used

By converting the polygonal area on the map into polygon information represented by vertex coordinates and storing it in the unit area, the position information in the spatiotemporal information is determined, and the graphic calculation library is used to extract the spatiotemporal information in the polygonal area to achieve high-precision spatiotemporal information. Search.

Benefits of technology

The search for space-time information with high precision is realized, and the space-time information in the polygonal area within the rectangular unit area defined on the map can be detected at a higher speed, such as detecting cars existing on a specific road.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113939711B_ABST
    Figure CN113939711B_ABST
Patent Text Reader

Abstract

The conversion unit (15b) converts a polygonal area within a specified unit area on a map into polygonal information (14b) represented by the coordinates of the vertices of the polygonal area, and stores the polygonal information (14b) in association with the unit area in the storage unit (14). The determination unit (15c) determines spatiotemporal information (14c) including positional information corresponding to the coordinates within the specified unit area on the map. The extraction unit (15d) extracts, from the determined spatiotemporal information (14c), the spatiotemporal information (14c) including positional information corresponding to the coordinates inside the polygonal area represented by the polygonal information (14b) associated with the unit area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a polygon retrieval method. Background Art

[0002] For example, when searching for spatiotemporal information including the position and time of a car existing in a specified area on a map, the map information is conventionally divided using a predefined rectangle (grid) to obtain the spatiotemporal information of the car existing in the area specified by the rectangle. A technique for high-speed searching using the spatiotemporal information as a one-dimensional bit string is disclosed (see non-patent document 1).

[0003] Prior art literature

[0004] Non-patent literature

[0005] Non-Patent Literature 1 “STCode: The Text Encoding Algorithm for Latitude / Longitude / Time”, [online], May 2014, Springer”, [online], May 2014, Springer, [retrieved on May 20, 2019], Internet<URL:https: / / link.springer.com / chapter / 10.1007%2F978-3-319-03611-3_10> Summary of the invention

[0006] Problems to be solved by the invention

[0007] However, according to the prior art, it is sometimes difficult to search for spatiotemporal information with high accuracy. For example, it is difficult to accurately search for spatiotemporal information of cars in an area specified by a polygon, such as a specific road in an area specified by a rectangle.

[0008] The present invention has been made in view of the above-mentioned circumstances, and an object of the present invention is to search spatiotemporal information with high accuracy.

[0009] Means for solving problems

[0010] In order to solve the above-mentioned problems and achieve the purpose, the polygonal retrieval method of the present invention is executed by a polygonal retrieval device, characterized in that the polygonal retrieval device has a storage unit, and the polygonal retrieval method includes the following processes: a conversion process, converting an arbitrary polygonal area representing the shape of each lane of a road in a specified unit area on a map into polygonal information represented by the coordinates of the vertices of the polygonal area, and storing the polygonal information in the storage unit in association with the unit area; a determination process, determining spatiotemporal information, the spatiotemporal information including position information corresponding to the coordinates within the specified unit area on the map; and an extraction process, extracting all spatiotemporal information including the following position information in the determined spatiotemporal information, the position information corresponding to the internal coordinates of the polygonal area represented by the polygonal information associated with the unit area.

[0011] Effects of the Invention

[0012] According to the present invention, it is possible to search for spatiotemporal information with high accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 This is a schematic diagram illustrating a schematic configuration of a polygon search device according to this embodiment.

[0014] Figure 2 It is a diagram showing the data structure of map information.

[0015] Figure 3 This is a diagram illustrating the data structure of polygon information.

[0016] Figure 4 This is a diagram illustrating the data structure of spatiotemporal information.

[0017] Figure 5 This is a diagram for explaining the processing of the conversion unit.

[0018] Figure 6 : is a flowchart showing the polygon search processing procedure.

[0019] Figure 7 This is a diagram showing an example of a computer that executes a polygon search program. DETAILED DESCRIPTION

[0020] Hereinafter, one embodiment of the present invention will be described in detail with reference to the accompanying drawings. In addition, the present invention is not limited to this embodiment. In the description of the accompanying drawings, the same reference numerals are attached to the same parts.

[0021] [Structure of polygon search device]

[0022] Figure 1 FIG. 2 is a schematic diagram illustrating the schematic structure of the polygon search device according to the present embodiment. Figure 1 As illustrated, the polygon search device 10 of the present embodiment is realized by a general-purpose computer such as a personal computer, and includes an input unit 11 , an output unit 12 , a communication control unit 13 , a storage unit 14 , and a control unit 15 .

[0023] The input unit 11 is implemented using input devices such as a keyboard and a mouse, and inputs various instruction information such as starting a process to the control unit 15 in response to an input operation by an operator. The output unit 12 is implemented by a display device such as a liquid crystal display, a printing device such as a printer, etc. For example, the result of the polygon search process described later is displayed in the output unit 12.

[0024] The communication control unit 13 is implemented by a NIC (Network Interface Card) or the like, and controls the communication between the external device and the control unit 15 via an electrical communication line such as a LAN (Local Area Network) or the Internet. For example, the communication control unit 13 controls the communication between the control unit 15 and a management device for managing map information, spatiotemporal information, etc., which will be described later.

[0025] The storage unit 14 is implemented by a semiconductor memory element such as a RAM (Random Access Memory) or a flash memory, or a storage device such as a hard disk or an optical disk. The storage unit 14 stores a processing program for operating the polygon search device 10, data used in the execution of the processing program, etc. in advance, or temporarily stores them each time the processing is performed. In addition, the storage unit 14 may be configured to communicate with the control unit 15 via the communication control unit 13.

[0026] In the present embodiment, the storage unit 14 stores map information 14 a , polygon information 14 b , space-time information 14 c , etc. These information are collected or generated before the polygon search process described later, and are stored in the storage unit 14 .

[0027] For example, the acquisition unit 15a described later collects map information 14a from a management device that manages map information, and stores it in the storage unit 14. In addition, the acquisition unit 15a collects spatiotemporal information 14c from a management device that manages spatiotemporal information output from a sensor, and stores it in the storage unit 14. In addition, the conversion unit 15b described later generates polygon information 14b and stores it in the storage unit 14.

[0028] In addition, these various information are not limited to the case where they are stored in the storage unit 14 of the polygon search device 10, and they may be collected or generated when, for example, a polygon search process described later is executed.

[0029] The map information 14a includes coordinates of representative points of polygonal areas on the map. For example, the map information 14a includes coordinates of the center point of such a polygonal area on a road, and is information that expresses the shape of the road on the map by listing the coordinates of the road center and the road width.

[0030] Here, Figure 2 14a is a diagram illustrating the data structure of the map information 14a. Figure 2 14a showing the shape of a road. Figure 2 As shown in FIG. 1 , the map information 14a representing the shape of the road includes a list of road center coordinates, road width, and the number of lanes. The list of road center coordinates is a list of the coordinates of the road center. Figure 2 In the example shown, the coordinates of the center point of the road are (0.5, 1.7), (1.2, 1.4), etc., and the shape of the road is expressed as a road width of 5 m and the number of lanes of the road is 3.

[0031] The polygon information 14 b is information expressed using the coordinates of the vertices of a polygonal area within a predetermined unit area on a map, and is generated by a conversion unit 15 b described later and associated with the unit area.

[0032] Specifically, Figure 3 It is a diagram illustrating the data structure of the polygon information 14b. Figure 3 The polygon information 14b shown associates a polygon vertex list with a spatial grid. The polygon vertex list is a collection of coordinates of the vertices of a polygonal area on the map. Figure 3 In , the coordinates of the vertices of polygonal areas such as (0.2, 1.3) and (1.2, 1.4) are listed. In addition, the spatial grid refers to the information for identifying the rectangular unit area defined on the map (hereinafter referred to as the grid ID). Figure 3 Grid number 10 is illustrated in FIG.

[0033] The spatiotemporal information 14c is information such as sensor values ​​including position information and time information, and is information indicating the travel position of a car, for example. In the present embodiment, the spatiotemporal information is a one-dimensional bit string including position information and time information.

[0034] Specifically, Figure 4 2 is a diagram illustrating the data structure of the spatiotemporal information 14 c. Figure 4 The illustrated time-space information 14c includes data such as time information, longitude and latitude, and sensor values ​​as position information. Figure 4, the spatiotemporal information 14c represented by the one-dimensional bit string of the time "2019 / 1 / 1 10:15:30", the longitude "27.1984°", the latitude "-15.2958°", and the data part "data1" is illustrated.

[0035] Return to Figure 1 The control unit 15 is implemented using a CPU (Central Processing Unit) or the like, and executes a processing program stored in a memory. Figure 1 As shown in the example, the control unit 15 functions as an acquisition unit 15a, a conversion unit 15b, a determination unit 15c, and an extraction unit 15d. In addition, these functional units may be respectively implemented in different hardware or part of them may be implemented in different hardware. In addition, the control unit 15 may also include other functional units.

[0036] The acquisition unit 15a collects map information 14a from a management device or the like that manages map information via the input unit 11 or the communication control unit 13, and stores the map information 14a in the storage unit 14. In addition, the acquisition unit 15a collects spatiotemporal information 14c from a management device or the like that manages spatiotemporal information output from a sensor or the like via the input unit 11 or the communication control unit 13, and stores the spatiotemporal information in the storage unit 14.

[0037] In addition, the acquisition unit 15a may not store these information in the storage unit 14, but may transfer them to the conversion unit 15b or the identification unit 15c described later.

[0038] The conversion unit 15 b converts a polygonal area within a predetermined unit area on the map into polygon information 14 b represented by the coordinates of the vertices of the polygonal area, and stores the polygon information in the storage unit 14 in association with the unit area.

[0039] Specifically, the conversion unit 15 b uses the map information 14 a including the coordinates of the representative point of the polygonal area, and converts the map information 14 a into polygon information 14 b representing the polygonal area.

[0040] Here, Figure 5 15b is a diagram for explaining the processing of the conversion unit 15b. Figure 5 As shown, the conversion unit 15b refers to the map information 14a, connects the coordinates of the center of the road to determine the center line of the road, and uses the road width and the number of lanes to determine the coordinates of the vertices representing the polygonal area on the road. Figure 5 , polygon information representing four polygonal areas using the coordinates of vertices is exemplified, wherein the four polygonal areas represent respective lanes of four lanes on a road.

[0041] The conversion unit 15b converts the polygonal area in each rectangular unit area identified by the grid ID defined on the map into polygon information 14b represented by a set of coordinates of the vertices of the polygonal area, and stores the polygon information 14b in association with the grid ID in the storage unit 14. In addition, the conversion unit 15b may not store the polygon information 14b in the storage unit 14, but may transmit the polygon information 14b to the extraction unit 15d described later.

[0042] Back to Figure 1 The specifying unit 15c specifies the time-space information 14c including the position information corresponding to the coordinates in the predetermined unit area on the map. Specifically, the specifying unit 15c searches for and specifies the time-space information 14c including the position information corresponding to the coordinates in the unit area for each mesh ID.

[0043] The extracting unit 15 d extracts the spatiotemporal information 14 c including the position information corresponding to the coordinates inside the polygonal area indicated by the polygonal information 14 b associated with the unit area, from among the spatiotemporal information 14 c identified by the identifying unit 15 c .

[0044] Specifically, the extraction unit 15d refers to the polygon information 14b for each mesh ID, and extracts information corresponding to the inside of the polygonal area in the unit area from the spatiotemporal information 14c determined by the determination unit 15c. For example, the extraction unit 15d uses the graphic operation information to extract the spatiotemporal information 14c including the position information corresponding to the coordinates inside the polygonal area represented by the polygon information. In this case, the extraction unit 15d applies, for example, PIP (Points In Polygon) processing using a graphic operation library to determine whether the coordinates on the map of the spatiotemporal information 14c are inside the polygonal area represented by the polygon information.

[0045] The extracting unit 15d outputs the extracted spatiotemporal information 14c to, for example, the output unit 12 or an application such as autonomous driving or route guidance. Thus, the user can accurately detect spatiotemporal information within a polygonal area among spatiotemporal information within a rectangular unit area defined on a map.

[0046] [Polygon search processing]

[0047] Next, refer to Figure 6 , the polygon search process of the polygon search device 10 of this embodiment is described. Figure 6 This is a flowchart showing the polygon search processing procedure. Figure 6 The flowchart is started, for example, when the user performs an operation input instructing the start.

[0048] First, at the beginning Figure 6Before the flowchart of FIG. 1 , the conversion unit 15b converts the polygonal area in the rectangular unit area identified by the grid ID defined on the map into polygon information 14b represented by the coordinates of the vertices of the polygonal area. For example, the conversion unit 15b uses the map information 14a including the coordinates of the representative points of the polygonal area to convert the polygonal information 14b representing the polygonal area. In addition, the conversion unit 15b stores the converted polygonal information 14b in the storage unit 14 in association with the grid ID of the unit area.

[0049] When the process starts, first, the determination unit 15c determines the spatiotemporal information 14c including the position information corresponding to the coordinates in the predetermined unit area on the map (step S1). Specifically, regarding the spatiotemporal information 14c collected by the acquisition unit 15a, the determination unit 15c searches for and determines the spatiotemporal information 14c including the position information corresponding to the coordinates in the unit area for each grid ID.

[0050] Next, the extracting unit 15d extracts the spatiotemporal information 14c including the position information corresponding to the coordinates inside the polygonal area represented by the polygonal information 14b associated with the unit area from the spatiotemporal information 14c determined by the determining unit 15c (step S2). Specifically, the extracting unit 15d refers to the polygonal information 14b for each mesh ID and extracts the spatiotemporal information corresponding to the inside of the polygonal area in the unit area from the spatiotemporal information 14c determined by the determining unit 15c.

[0051] Furthermore, the extracting unit 15e outputs the extracted spatiotemporal information 14c to the output unit 12 or an application such as autonomous driving or route guidance (step S3). Thus, a series of polygon search processing is completed.

[0052] As described above, in the polygon search device 10 of the present embodiment, the conversion unit 15b converts a polygonal area within a predetermined unit area on a map into polygon information 14b represented by the coordinates of the vertices of the polygonal area, and stores the polygon information 14b in association with the unit area in the storage unit 14. Specifically, the conversion unit 15b uses the map information 14a including the coordinates of the representative points of the polygonal area to convert the map information 14a into polygon information 14b representing the polygonal area.

[0053] In addition, the determination unit 15c determines the spatiotemporal information 14c including the position information corresponding to the coordinates in the specified unit area on the map. In addition, the extraction unit 15d extracts the spatiotemporal information 14c including the position information corresponding to the coordinates inside the polygonal area represented by the polygon information 14b associated with the unit area from the determined spatiotemporal information 14c. Specifically, the extraction unit 15d extracts the spatiotemporal information 14c including the position information corresponding to the coordinates inside the polygonal area represented by the polygon information 14b using the graphic operation information.

[0054] Thus, the polygon search device 10 can detect the spatiotemporal information in the polygonal area of ​​the spatiotemporal information in the rectangular unit area defined on the map. For example, it is possible to detect a car existing on a specific road. In this way, according to the polygon search processing of the polygon search device 10, it is possible to search for spatiotemporal information with high accuracy.

[0055] The spatiotemporal information 14c is a one-dimensional bit string including position information and time information, thereby making it possible to search for spatiotemporal information at a higher speed in the polygon search process.

[0056] [program]

[0057] It is also possible to create a program that describes the processing performed by the polygon retrieval device 10 of the above-mentioned embodiment in a language that can be executed by a computer. As an embodiment, the polygon retrieval device 10 can be installed by installing the polygon retrieval program that performs the above-mentioned polygon retrieval processing into a desired computer as packaged software or online software. For example, by causing an information processing device to execute the above-mentioned polygon retrieval program, the information processing device can function as the polygon retrieval device 10. The information processing device mentioned here includes a desktop or notebook personal computer. In addition, in addition to this, in the information processing device, mobile communication terminals such as smart phones, mobile phones or PHS (Personal Handyphone System), and tablet terminals such as PDA (Personal Digital Assistant) are also included in its category. In addition, the function of the polygon retrieval device 10 can also be installed in a cloud server.

[0058] Figure 7 The computer 1000 includes, for example, a memory 1010, a CPU 1020, a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These units are connected via a bus 1080.

[0059] The memory 1010 includes a ROM (Read Only Memory) 1011 and a RAM (Random Access Memory) 1012. The ROM 1011 stores, for example, a boot program such as a BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to the hard disk drive 1031. The disk drive interface 1040 is connected to the disk drive 1041. In the disk drive 1041, a removable storage medium such as a magnetic disk or an optical disk is inserted. The serial port interface 1050 is connected to, for example, a mouse 1051 and a keyboard 1052. The video adapter 1060 is connected to, for example, a display 1061.

[0060] Here, the hard disk drive 1031 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. Each information described in the above embodiment is stored in the hard disk drive 1031 or the memory 1010, for example.

[0061] The polygon search program is stored in the hard disk drive 1031 as a program module 1093 describing instructions executed by the computer 1000. Specifically, the program module 1093 describing each process executed by the polygon search device 10 described in the above embodiment is stored in the hard disk drive 1031.

[0062] In addition, data used in information processing by the polygon search program is stored as program data 1094 in, for example, the hard disk drive 1031. Then, the CPU 1020 reads the program module 1093 and program data 1094 stored in the hard disk drive 1031 into the RAM 1012 as needed, and executes the above steps.

[0063] In addition, the program module 1093 and program data 1094 of the polygon search program are not limited to being stored in the hard disk drive 1031, and may be stored in a removable storage medium, for example, and read out by the CPU 1020 via the disk drive 1041 or the like. Alternatively, the program module 1093 and program data 1094 involved in the polygon search program may be stored in another computer connected via a network such as a LAN or WAN (Wide Area Network), and read out by the CPU 1020 via the network interface 1070.

[0064] The above describes the embodiment to which the invention completed by the inventor is applied, but the present invention is not limited to the description and drawings that constitute a part of the disclosure of the present invention of the embodiment. That is, other embodiments, examples, and application technologies completed by those skilled in the art based on the embodiment are all included in the scope of the present invention.

[0065] Description of symbols

[0066] 10 Polygonal search device

[0067] 11 Input section

[0068] 12 Output section

[0069] 13 Communication Control Unit

[0070] 14 Storage

[0071] 14a Map Information

[0072] 14b Polygon Information

[0073] 14c Space-time information

[0074] 15 Control Unit

[0075] 15a Acquisition

[0076] 15b Conversion unit

[0077] 15c Determination

[0078] 15d Extraction Department

Claims

1. A polygon search method, the polygon search method being performed by a polygon search device, It is characterized in that The polygon search device includes a storage unit. The polygon retrieval method includes the following steps: a conversion process of converting an arbitrary polygonal area representing the shape of each lane of a road within a specified unit area on a map into polygon information represented by coordinates of vertices of the polygonal area, and storing the polygon information in association with the unit area in the storage unit; A determination step of determining, from the spatiotemporal information including the position information and time information of the automobile as the search object, the spatiotemporal information including the position information corresponding to the coordinates within the prescribed unit area on the map; as well as The extraction process extracts all the spatiotemporal information including the following position information from the determined spatiotemporal information, the position information corresponding to the coordinates inside the polygonal area represented by the polygonal information associated with the unit area, The spatiotemporal information is a one-dimensional bit string including the position information and time information.

2. The polygon search method according to claim 1, It is characterized in that In the conversion process, map information including coordinates of representative points of the polygonal area is used to convert the polygonal information representing the polygonal area.

3. The polygon search method according to claim 1, It is characterized in that In the extraction process, the spatiotemporal information including position information corresponding to coordinates inside the polygonal area represented by the polygonal information is extracted using graphic operation information.

4. The polygon search method according to claim 1, It is characterized in that The polygon search method further includes a generation process, in which the polygon area is generated using map information including road center coordinates, road width, and the number of lanes.