A parking space status query method based on vector GIS data
By generating and sending high-precision vector maps, the accuracy and distortion of real-time display of parking space information on mobile phones is solved, the real-time and accuracy of parking space management is improved, the development cost is reduced, and the parking space information display in the existing technology is solved The shortcomings.
Patent Information
- Application Number
- CN202410698303.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2044-05-31
AI Technical Summary
The prior art cannot accurately display parking space information in real time on the mobile phone, and it is prone to vector map display deformities and color differences, affecting the user experience.
By obtaining the grid map and parking space status information of the preset area, a first vector map with a grid is generated, and according to the user's query request and zoom operation, a second vector map with a higher accuracy than the original method is sent to solve the display distortion. and color difference issues to improve the real-time and accuracy of parking space management.
It realizes the retrieval of fine or simple vector images from the PostGIS database based on the display scale, avoids the abnormality of vector map display, uses IoT technology to obtain parking status information in real time, improves the real-time and accuracy of parking space management, and reduces the development and Maintenance cost.
Smart Images

Figure CN118609406B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent parking technology, and more specifically, to a parking space status query method based on vector GIS data. Background Art
[0002] With the growth of urban parking demand, the intelligence and visualization of parking management systems are becoming increasingly important. Traditional parking management systems usually only display the occupancy status of parking spaces. Users need to drive near the parking spaces to determine whether there are vacant parking spaces within the visual range by the color of the display board or indicator light. The lack of intuitive spatial layout information and detailed vector map display makes it inconvenient for users to find vacant parking spaces.
[0003] Currently, mobile devices can solve the problem of intuitive display by loading tile maps and vector data and drawing vector data. However, due to the influence of mobile phone processing power, real-time drawing cannot be achieved, which usually leads to inconsistency and delay between the scale of vector graphics and tiles, resulting in a poor user experience. At the same time, it is also unable to solve the problem of graphic distortion caused by thinning of vector graphics when drawing at a large scale.
[0004] The relevant technology can also provide parking space information by having the server directly overlay the parking space status of a PNG image on the grid map tile. However, due to the overlay of parking space status of different colors, color difference will occur, resulting in a parking space image being related to several tiles at the same time. In the process of overlaying the grid map tile and the PNG image, the position of the parking space in the tile needs to be calculated. Due to accuracy issues, the result of each calculation cannot be guaranteed to be consistent. A difference of one pixel will cause ghosting after the image is overlaid, affecting the user experience and making it difficult for users to obtain accurate and effective parking space information based on the image.
[0005] Therefore, a method is needed to improve parking space management efficiency and user experience. Summary of the invention
[0006] In response to at least one defect or improvement need in the prior art, the present invention provides a parking space status query method based on vector GIS data, which is used to solve the problem that the related technology is limited by the processing power of the mobile phone and cannot display accurate parking space information to the user, and the vector map display is prone to distortion.
[0007] To achieve the above object, according to a first aspect of the present invention, a parking space status query method based on vector GIS data is provided, comprising:
[0008] Get the grid map of the preset area;
[0009] Acquire parking space status information of each parking space in the preset area; the parking space status information is used to determine whether the corresponding parking space is occupied by a vehicle;
[0010] Based on the label of each parking space, the parking space status information of each parking space is mapped onto the grid map to generate a first vector map with a grid;
[0011] In response to a query request from a first terminal for querying a parking space status, the first vector map is sent to the first terminal.
[0012] In a possible implementation, obtaining a grid map of a preset area includes:
[0013] Acquire image information of the preset area, wherein the image information includes each parking space in the preset area;
[0014] Based on the coordinate information corresponding to each parking space, aligning the image information with a preset coordinate system;
[0015] The image information is divided into a plurality of grids of equal size based on the preset coordinate system to generate a first grid map.
[0016] In a possible implementation manner, after dividing the image information into a plurality of grids of equal size based on the preset coordinate system and generating a first grid map, the method further includes:
[0017] Obtaining the coordinate range of each grid, and determining whether there is a parking space within the coordinate range of each grid;
[0018] If there is a parking space, re-dividing the grid according to the location coordinates of the parking space and the area of the parking space;
[0019] A second grid map is generated based on the re-divided grid.
[0020] In a possible implementation, the acquiring the parking space status information of each parking space in the preset area includes:
[0021] Acquire parking space status information of each parking space in the preset area at every preset time interval;
[0022] The step of sending the first vector map to the first terminal in response to a query request from the first terminal for querying a parking space status comprises:
[0023] The parking space status information corresponding to the time closest to the query time is determined according to the query time of the query request, and the parking space status information corresponding to the closest time is sent to the first terminal.
[0024] In a possible implementation, a grid corresponding to each parking space is determined based on a label of each parking space;
[0025] Based on the label of each parking space, the parking space status information of each parking space is mapped onto the grid map to generate a first vector map with a grid, including
[0026] generating a first layer based on the parking space status information of the parking space;
[0027] According to the mapping relationship between the parking space and the grid, the first layer and the grid map are aligned according to the coordinates of the parking space, and the first vector map is generated by superimposing them.
[0028] In a possible implementation, the method further includes:
[0029] generating a second layer based on the first vector map, wherein the position accuracy of the parking spaces in the second layer is higher than the position accuracy of the first layer;
[0030] After sending the first vector map to the first terminal, the method further includes:
[0031] In response to a zooming operation of the first terminal on the first vector map, the first layer or the second layer is displayed on the first terminal.
[0032] In a possible implementation manner, in response to the first terminal performing a zoom operation on the first vector map, displaying the first layer or the second layer on the first terminal includes:
[0033] Obtaining the zoom ratio of the zoom operation;
[0034] If the zoom ratio is greater than a preset zoom threshold, the second layer is displayed, otherwise the first layer is displayed.
[0035] In a second aspect, the present application also provides a parking space status query device based on vector GIS data, comprising:
[0036] Map module, used to obtain a grid map of a preset area;
[0037] A parking space information module is used to obtain parking space status information of each parking space in the preset area; the parking space status information is used to determine whether the corresponding parking space is occupied by a vehicle;
[0038] A vector map module, configured to map the parking space status information of each parking space onto the grid map based on the label of each parking space, so as to generate a first vector map having a grid;
[0039] The sending module is used to send the first vector map to the first terminal in response to a query request from the first terminal for querying the parking space status.
[0040] According to the third aspect of the present invention, there is also provided an electronic device, which comprises at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit executes the steps of the method described in any one of the above embodiments.
[0041] According to a fourth aspect of the present invention, there is also provided a computer-readable storage medium storing a computer program executable by an access authentication device, wherein when the computer program runs on the access authentication device, the access authentication device executes the steps of the method described in any one of the above embodiments.
[0042] In general, compared with the prior art, the above technical solution conceived by the present invention can at least achieve the following beneficial effects: the problem of distorted vector map display is avoided by retrieving fine or simple vector maps from the PostGIS database according to the display scale. The parking space status information is obtained in real time using the Internet of Things technology, which improves the real-time and accuracy of parking space management. The front end uses open source map libraries such as Leaflet to reduce development and maintenance costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 A flowchart of a parking space status query method based on vector GIS data provided in an embodiment of the present application;
[0045] Figure 2 A schematic diagram of the structure of a parking space status query device based on vector GIS data provided in an embodiment of the present application;
[0046] Figure 3 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0047] Figure 4 A schematic diagram of the structure of a computer-readable storage medium provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0049] The terms "first", "second", "third", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.
[0050] It should be noted that GIS is the abbreviation of Geographic Information System, and its full name is Geographic Information System.
[0051] like Figure 1 As shown, the first embodiment of the present invention proposes a parking space status query method based on vector GIS data, comprising:
[0052] Get the grid map of the preset area;
[0053] Acquire parking space status information of each parking space in the preset area; the parking space status information is used to determine whether the corresponding parking space is occupied by a vehicle;
[0054] Based on the label of each parking space, the parking space status information of each parking space is mapped onto the grid map to generate a first vector map with a grid;
[0055] In response to a query request from a first terminal for querying a parking space status, the first vector map is sent to the first terminal.
[0056] Specifically, obtaining a grid map of a preset area includes:
[0057] Image information of the preset area is acquired, where the image information includes each parking space in the preset area.
[0058] Specifically, the preset area can be the entire area or part of the area in a ground parking lot or an underground parking lot, wherein the image information of the ground parking lot can be obtained by satellite photography or collected by equipment such as drones, and the pixel position of the parking space in the image information can be determined by preprocessing the image, cutting the area, and identifying the parking space; for the underground parking lot, the map information of the parking lot can be obtained based on the management or designer of the underground parking lot, and the corresponding image information can be obtained by fitting after collection through multiple image acquisition devices.
[0059] Specifically, based on the coordinate information corresponding to each parking space, the image information is aligned with a preset coordinate system, and based on the preset coordinate system, the image information is divided into a plurality of grids of equal size to generate a first grid map.
[0060] Specifically, based on the serial number and corresponding coordinate information of each parking space, the pixel coordinates on the image information may be aligned with the actual coordinates of the parking space with the same serial number, thereby matching the image information and the preset coordinate system.
[0061] Specifically, the preset coordinate system can be set based on the parking lot, or the longitude and latitude coordinates can be determined based on satellite image information. For underground parking lots, the coordinate system can be determined based on Bluetooth, ultra-wideband technology, etc., which is not limited to the embodiments of the present application.
[0062] Specifically, the size and shape of the grid may be set with reference to the actual area of the parking space. For example, a rectangular sub-area greater than or equal to 5.5m*2.5m of a standard parking space may be selected as a grid, which is not limited in this embodiment of the present application.
[0063] In some embodiments, after dividing the image information into a plurality of grids of equal size based on the preset coordinate system to generate a first grid map, the grids may be further refined, and the refinement step includes:
[0064] The coordinate range of each grid is obtained to determine whether there is a parking space within the coordinate range of each grid.
[0065] Specifically, for a rectangular grid, the coordinate range of the grid, that is, the coordinates of the four corner points of the grid, can be used to determine whether the intersection of the diagonals of any parking space falls within the range formed by the four corner points of the grid. If any parking space falls within the range, then there is a parking space in the corresponding grid.
[0066] Based on the judgment results, the grid is re-divided, including:
[0067] If there is a parking space, the grid is re-divided according to the position coordinates of the parking space and the area of the parking space, and a second grid map is generated based on the re-divided grid.
[0068] Specifically, if the area range of a parking space coincides with multiple grids, the multiple grids within the area range are merged into one grid; if the area ranges of multiple parking spaces coincide with the same grid, the coordinates of the boundary lines of the parking spaces are obtained and the grid is re-divided so that one grid corresponds to only one parking space.
[0069] Specifically, determining a grid corresponding to each parking space based on the label of each parking space;
[0070] Based on the label of each parking space, the parking space status information of each parking space is mapped onto the grid map to generate a first vector map with a grid, including
[0071] generating a first layer based on the parking space status information of the parking space;
[0072] According to the mapping relationship between the parking space and the grid, the first layer and the grid map are aligned according to the coordinates of the parking space, and the first vector map is generated by superimposing them.
[0073] Specifically, a second layer is generated based on the first vector map, and the position accuracy of the parking spaces in the second layer is higher than the position accuracy of the first layer;
[0074] After sending the first vector map to the first terminal, the method further includes:
[0075] In response to a zooming operation of the first terminal on the first vector map, the first layer or the second layer is displayed on the first terminal.
[0076] Specifically, the first terminal may include but is not limited to personal computers, mobile terminals, navigators, servers and other terminal devices. The user can initiate a request to view the map by clicking a button to view parking spaces on the terminal. The manufacturer providing parking navigation services can feedback the grid map to the corresponding terminal. The user can perform zooming operations such as zooming in or out based on the feedback grid map, and then feedback the corresponding layer to the first terminal held by the user according to the user's zooming operation.
[0077] Specifically, in response to the zooming operation of the first terminal on the first vector map, displaying the first layer or the second layer on the first terminal includes:
[0078] Obtaining the zoom ratio of the zoom operation;
[0079] If the zoom ratio is greater than a preset zoom threshold, the second layer is displayed, otherwise the first layer is displayed.
[0080] For example, in order to determine whether a parking space near the entrance of a unit building is occupied, the user can perform a zoom operation on the map at the corresponding location. At this time, the zoom ratio is greater than a given preset zoom threshold. At this time, a second layer with more feature information is required, and the second layer is fed back to the user's terminal.
[0081] Optionally, the second layer may be intercepted according to the specific area that the user zooms in on, and only the information of the second layer within the specific area is provided to the user, thereby further reducing the amount of data transmission.
[0082] In some specific embodiments, the UI draws a parking lot picture based on CAD, where the parking lot picture contains information about each parking space. The parking lot picture is aligned to a TIF raster map with a coordinate system of WGS84 through QGIS. Based on the raster map of the parking lot WGS84, two different levels of layers, a fine vector layer and a simple vector layer, are created using the QGIS vector map editing tool. These layers are loaded according to different levels of map services to meet different display requirements. For each vector element, we add attributes such as parking space ID, parking space name, and parking space status to ensure that each parking space is represented by an independent vector element.
[0083] For example, in the second layer, in order to enhance the realism of the display effect, when drawing the parking space elements, the details such as the license plate number, outline, windows and rearview mirrors of the car are carefully drawn. The vector vertices and feature information of these parking space elements reach 120 to ensure the fineness of the display. The more vertices or features, the finer the display effect. After the drawing is completed, according to the specific circumstances of the project, the corresponding ID, parking space name and parking space status value can be added to each parking space element. However, due to the large number of vertices in the refined layer, when the map display level is less than 15, the vertices may overlap, causing GeoServer to perform vector vertex thinning. This may cause the vector elements to be distorted when displayed, affecting the visual effect. Therefore, the fine vector layer is mainly suitable for situations where the display level is greater than or equal to 15.
[0084] Specifically, the display level of the map is the zoom ratio / scale of the map.
[0085] It can be understood that parking space navigation can be implemented based on the second layer, so that users can directly find the route from their current location to the target parking space, while the first layer only displays information on whether the parking space is occupied.
[0086] In some embodiments, the user can first determine the location and number of the target parking space based on the information of the first layer, and through the fine positioning provided by the second layer, realize the specific route to the parking space and record the parking spaces, so that the user can find the parked location conveniently.
[0087] Understandably, the simple vector layer, i.e., the first layer, uses a simplified method when drawing parking space elements, and only uses a rectangle to represent each parking space, and each parking space element has only 4 vertices. After drawing, according to the actual situation of the project, the corresponding ID, parking space name, and parking space status value are added to each parking space element. This simplified display method does not have more feature information in the second layer. Therefore, the first layer is mainly used to display information with a smaller scale and a lower zoom ratio.
[0088] It can be understood that the fine second layer and the rough first layer complement each other and together form a complete vector map. QGIS supports saving vector data to a PostGIS database. After drawing, these vector map data are saved to a PostGIS database for subsequent use and management.
[0089] For example, for parking spaces that require status monitoring, an IoT geomagnetic device can be installed in the center of the parking space to capture changes in the status of the parking space in real time. These geomagnetic devices transmit parking space status information to the operator's IoT platform in real time through IoT technology. Whenever a vehicle enters or exits a parking space, the geomagnetic device can quickly sense and respond to status changes. To ensure that the parking space status on the operator's IoT platform is updated in real time, the geomagnetic device will periodically synchronize its status information to the mobile operator's IoT platform to ensure the accuracy and real-time nature of the parking space status.
[0090] like Figure 2 As shown, the embodiment of the present application also provides a parking space status query device 20 based on vector GIS data, comprising:
[0091] Map module 201, used to obtain a grid map of a preset area;
[0092] The parking space information module 202 is used to obtain the parking space status information of each parking space in the preset area; the parking space status information is used to determine whether the corresponding parking space is occupied by a vehicle;
[0093] A vector map module 203, configured to map the parking space status information of each parking space onto the grid map based on the label of each parking space, so as to generate a first vector map having a grid;
[0094] The sending module 204 is configured to send the first vector map to the first terminal in response to a query request from the first terminal for querying the parking space status.
[0095] like Figure 3As shown, the third embodiment of the present invention further provides an electronic device 30, for example, comprising: at least one processing unit 31, and at least one storage unit 32, wherein the storage unit 32 stores a computer program, and when the computer program is executed by the processing unit, the processing unit executes the steps of the above method, and the beneficial effects of the electronic device 30 provided by this embodiment are the same as the beneficial effects of the parking space status query method based on vector GIS data provided by the first embodiment.
[0096] like Figure 4 As shown, the fourth embodiment of the present invention further provides a computer-readable storage medium 40 on which a computer program is stored, and the program implements the steps of the above method when executed by a processor, and the beneficial effects of the computer-readable storage medium 40 provided by this embodiment are the same as the beneficial effects of the parking space status query method based on vector GIS data provided by the first embodiment.
[0097] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0098] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0099] In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0100] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0101] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0102] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program code.
[0103] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct the relevant hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0104] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are regarded as exemplary only, and the scope and spirit of the present disclosure are defined by the claims.
[0105] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0106] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A parking space status query method based on vector GIS data, characterized in that: include: Get the grid map of the preset area; Acquire parking space status information of each parking space in the preset area; The parking space status information is used to determine whether the corresponding parking space is occupied by a vehicle; Based on the label of each parking space, the parking space status information of each parking space is mapped onto the grid map to generate a first vector map with a grid; In response to a query request from a first terminal for querying a parking space status, sending the first vector map to the first terminal; The step of obtaining a grid map of a preset area includes: Acquire image information of the preset area, wherein the image information includes each parking space in the preset area; Based on the coordinate information corresponding to each parking space, aligning the image information with a preset coordinate system; Dividing the image information into a plurality of grids of equal size based on the preset coordinate system to generate a first grid map; Obtaining the coordinate range of each grid, and determining whether there is a parking space within the coordinate range of each grid; If there is a parking space, the grid is re-divided according to the position coordinates of the parking space and the area of the parking space; if the area range of a parking space coincides with multiple grids, the multiple grids within the area range are merged into one grid; if the area ranges of multiple parking spaces coincide with the same grid, the coordinates of the boundary line of the parking space are obtained, and the grid is re-divided so that one grid corresponds to only one parking space; A second grid map is generated based on the re-divided grid.
2. A parking space status query method based on vector GIS data according to claim 1, characterized in that: The obtaining of parking space status information of each parking space in the preset area includes: Acquire parking space status information of each parking space in the preset area at every preset time interval; The step of sending the first vector map to the first terminal in response to a query request from the first terminal for querying a parking space status comprises: The parking space status information corresponding to the time closest to the query time is determined according to the query time of the query request, and the parking space status information corresponding to the closest time is sent to the first terminal.
3. The parking space status query method based on vector GIS data according to claim 2 is characterized in that: Determining a grid corresponding to each parking space based on a label of each parking space; Based on the label of each parking space, the parking space status information of each parking space is mapped onto the grid map to generate a first vector map with a grid, including generating a first layer based on the parking space status information of the parking space; According to the mapping relationship between the parking space and the grid, the first layer and the grid map are aligned according to the coordinates of the parking space, and the first vector map is generated by superimposing them.
4. The parking space status query method based on vector GIS data according to claim 3 is characterized in that: The method further comprises: generating a second layer based on the first vector map, wherein the position accuracy of the parking spaces in the second layer is higher than the position accuracy of the first layer; After sending the first vector map to the first terminal, the method further includes: In response to a zooming operation of the first terminal on the first vector map, the first layer or the second layer is displayed on the first terminal.
5. The parking space status query method based on vector GIS data according to claim 4 is characterized in that: The step of displaying the first layer or the second layer on the first terminal in response to the zooming operation of the first terminal on the first vector map includes: Obtaining the zoom ratio of the zoom operation; If the zoom ratio is greater than a preset zoom threshold, the second layer is displayed, otherwise the first layer is displayed.
6. A parking space status query device based on vector GIS data, characterized in that: include: Map module, used to obtain a grid map of a preset area; A parking space information module, used to obtain parking space status information of each parking space in the preset area; The parking space status information is used to determine whether the corresponding parking space is occupied by a vehicle; A vector map module, configured to map the parking space status information of each parking space onto the grid map based on the label of each parking space, so as to generate a first vector map having a grid; A sending module, configured to send the first vector map to the first terminal in response to a query request from the first terminal for querying the parking space status; The step of obtaining a grid map of a preset area includes: Acquire image information of the preset area, wherein the image information includes each parking space in the preset area; Based on the coordinate information corresponding to each parking space, aligning the image information with a preset coordinate system; Dividing the image information into a plurality of grids of equal size based on the preset coordinate system to generate a first grid map; Obtaining the coordinate range of each grid, and determining whether there is a parking space within the coordinate range of each grid; If there is a parking space, the grid is re-divided according to the position coordinates of the parking space and the area of the parking space; if the area range of a parking space coincides with multiple grids, the multiple grids within the area range are merged into one grid; if the area ranges of multiple parking spaces coincide with the same grid, the coordinates of the boundary line of the parking space are obtained, and the grid is re-divided so that one grid corresponds to only one parking space; A second grid map is generated based on the re-divided grid.
7. An electronic device, characterized in that: The method comprises at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit executes the steps of the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that: It stores a computer program executable by an access authentication device. When the computer program runs on the access authentication device, the access authentication device executes the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Drawing method and electronic equipment
CN106383828A
Ground parking space navigation device for outdoor public area
CN110473422A
Tile map-based parking space display method and application thereof
CN112988935A