Electronic map generation method and apparatus

By acquiring and generating parking space and scene information for multiple parking areas, and generating and displaying target electronic maps and parking space status statistics, the problem that existing technologies can only display a single parking lot map is solved, and multiple parking areas can be displayed and their status statistics can be achieved simultaneously.

CN115620549BActive Publication Date: 2025-12-02HANGZHOU HIKVISION DIGITAL TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211213816.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2025-12-02
Estimated Expiration
2042-09-30

AI Technical Summary

Technical Problem

In existing technologies, a parking lot map of a location can only display the parking space distribution of one parking lot, and cannot display the parking space distribution of multiple parking lots at the same time, which results in users' information reception being limited to a certain parking lot.

Method used

Acquire parking space information and scene information for multiple parking areas to be displayed, generate target electronic maps and parking space status statistics for each parking area, and display them.

Benefits of technology

It enables the simultaneous display of maps and parking space status statistics for multiple parking areas, allowing users to view the distribution and status of parking spaces in multiple parking lots at the same time, thus improving the comprehensiveness and real-time nature of the information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115620549B_ABST
    Figure CN115620549B_ABST
Patent Text Reader

Abstract

This application provides an electronic map generation method and apparatus that can simultaneously display maps of multiple parking areas to be displayed, and can simultaneously perform statistical analysis of parking space information in multiple parking areas to be displayed, so as to display the status statistics of all parking spaces in multiple parking areas to be displayed, allowing users to view maps of multiple parking areas at the same time, and at the same time, also view the status statistics of all parking spaces in multiple parking areas to be displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data processing technology, and in particular to methods and apparatus for generating electronic maps. Background Technology

[0002] In existing parking lot services, when a location includes multiple parking lots, if a request is made to display a parking lot map of that location, only the parking space distribution map of one parking lot can be shown. It is not possible to display the parking space distribution maps of multiple parking lots of the location simultaneously, so that the information received by the user is limited to the information of a single parking lot. Summary of the Invention

[0003] The purpose of this application is to provide an electronic map generation method, apparatus, electronic device, and storage medium to solve the problem of only being able to display one parking lot map. The specific technical solution is as follows:

[0004] This application also provides an electronic map generation method, the method comprising:

[0005] Obtain parking space information and scene information for multiple parking areas to be displayed; for any given parking area, the scene information indicates the distribution of parking spaces and buildings within that area, and the parking space information indicates the occupancy status of each parking space within that area.

[0006] For each parking area to be displayed, a target electronic map of the parking area is generated based on the scene information and parking space information of that parking area.

[0007] Based on the parking space information of each parking area to be displayed, generate parking space status statistics;

[0008] Display the electronic maps of each target and the statistical information on the parking space status.

[0009] In one possible embodiment, the method further includes:

[0010] Obtain parking space information for all preset parking areas; wherein, the parking area to be displayed is a parking area within the preset parking areas;

[0011] Based on the parking space information of each preset parking area, generate full parking space status statistics;

[0012] Display the status statistics of all parking spaces.

[0013] In one possible embodiment, before acquiring parking space information and scene information for multiple parking areas to be displayed, the method further includes:

[0014] In response to a user's preview command, the system displays preview information for each parking area corresponding to the preview command; upon receiving a display command, the system obtains the current visible range of the preview information for each parking area; and determines each parking area to be displayed based on the positional relationship between the preview information of each parking area and the current visible range.

[0015] Alternatively, for any parking area, if a change in the occupancy of parking spaces in that area is detected, that parking area will be designated as the parking area to be displayed.

[0016] In one possible embodiment, responding to a user's preview command by displaying preview information for each parking area corresponding to the preview command; upon receiving a user's display command, obtaining the current visible range of the preview information for each parking area; and determining each parking area to be displayed based on the positional relationship between the preview information of each parking area and the current visible range, including:

[0017] In response to the user's scroll preview command, the preview information of the corresponding parking areas is scrolled and displayed in a first preset display area according to a preset display order. The first preset display area displays the preview information of a first preset number of parking areas at the same time, and scrolls the preview information of a second preset number of parking areas in the first preset display area each time. The preview information of the parking areas displayed in the first preset display area is the current visible range of the preview information of each parking area. When the duration for which the user stops inputting the scroll preview command reaches a preset duration threshold, the parking areas corresponding to the preview information currently displayed in the first preset display area are determined, and each parking area to be displayed is obtained.

[0018] Alternatively, in response to the user's scroll preview command, preview information of the corresponding parking area is scrolled and displayed in a first preset display area according to a preset display order. Each scroll in the first preset display area represents a preset length or width of preview information, and the preview information of the parking areas displayed in the first preset display area represents the current visible range of each parking area's preview information. When the duration for which the user stops inputting the scroll preview command reaches a preset duration threshold, the visible area percentage of each currently displayed preview information in the first preset display area is determined. For each currently displayed preview information, if the visible area percentage of that preview information is greater than a preset area threshold, the parking area corresponding to that preview information is selected as the parking area to be displayed.

[0019] In one possible embodiment, obtaining parking space information and scene information for multiple parking areas to be displayed includes:

[0020] Acquire full parking lot data, wherein the full parking lot data includes a globally unique identifier for each preset parking lot area, parking space information, and scene information;

[0021] For each preset parking area, based on the globally unique identifier of the preset parking area, the parking space information and scene information of the preset parking area are extracted from the full parking data.

[0022] In one possible embodiment, the method further includes:

[0023] Based on the parking space information, when a target parking space with a changed occupancy status is detected, the target parking area to which the target parking space belongs is determined based on the globally unique identifier of the parking area of ​​the target parking space.

[0024] If so, update the parking status statistics of the parking areas to be displayed and the target electronic map of the target parking area based on the current parking space information of each parking area to be displayed.

[0025] Display updated parking space status statistics and target electronic map.

[0026] In one possible embodiment, generating a target electronic map for each parking area to be displayed, based on the scene information and parking space information of that parking area, includes:

[0027] For each parking area to be displayed, a first electronic map of the parking area to be displayed is generated based on the scene information of the parking area to be displayed. The first electronic map includes the parking space map area of ​​each parking space in the parking area to be displayed.

[0028] Based on the parking space information of the parking area to be displayed, determine the occupancy status of each parking space in the parking area to be displayed;

[0029] Based on the occupancy status of each parking space in the parking area to be displayed, mark the occupancy status of each parking space map area in the first electronic map to obtain the target electronic map of the parking area to be displayed.

[0030] The scene information includes tile map identifiers; the parking space information includes: parking space identifier, parking space status, and status duration.

[0031] For each parking area to be displayed, generating a first electronic map of that parking area based on its scene information includes:

[0032] For each parking area to be displayed, obtain the tile map corresponding to that parking area based on the tile map identifier.

[0033] The tile maps corresponding to the parking area to be displayed are combined to obtain the first electronic map of the parking area to be displayed.

[0034] The step of determining the occupancy status of each parking space in the parking area to be displayed based on the parking space information includes:

[0035] For each parking space in the parking area to be displayed, the parking status and duration of the status are determined based on the parking space sign. The occupancy status of the parking space includes the parking status and duration of the status.

[0036] In one possible embodiment, generating parking space status statistics based on the parking space information of each of the parking areas to be displayed includes:

[0037] Based on the parking space information of each parking area to be displayed, the total parking space usage status of each parking area to be displayed and the occupancy status of each parking space in each parking area to be displayed are determined. The parking space status statistics include the total parking space usage status and the occupancy status of each parking space in each parking area to be displayed.

[0038] This application embodiment also provides an electronic map generation apparatus, the apparatus comprising:

[0039] The first acquisition module is used to acquire parking space information and scene information of multiple parking areas to be displayed; wherein, for any parking area, the scene information of the parking area represents the distribution of parking spaces and buildings in the parking area, and the parking space information of the parking area represents the occupancy status of each parking space in the parking area.

[0040] The first generation module is used to generate a target electronic map of each parking area to be displayed, based on the scene information and parking space information of that parking area.

[0041] The second generation module is used to generate parking space status statistics based on the parking space information of each parking area to be displayed.

[0042] The first display module is used to display the electronic maps of each target and the parking space status statistics.

[0043] In one possible embodiment, the device further includes:

[0044] The second acquisition module is used to acquire parking space information of all preset parking areas; wherein, the parking area to be displayed is a parking area among the preset parking areas;

[0045] The third generation module is used to generate full parking space status statistics based on the parking space information of each preset parking area;

[0046] The second display module is used to display the statistical information on the status of all parking spaces.

[0047] In one possible embodiment, the device further includes:

[0048] The first processing module is used to, before acquiring parking space information and scene information of multiple parking areas to be displayed, respond to the user's preview command and display the preview information of each parking area corresponding to the preview command; when receiving the display command, acquire the current visible range of the preview information of each parking area; and determine each parking area to be displayed based on the positional relationship between the preview information of each parking area and the current visible range.

[0049] Alternatively, the second processing module is used to select any parking area as a parking area to be displayed when it detects a change in the occupancy status of parking spaces in that area.

[0050] In one possible embodiment, the first processing module is specifically used for:

[0051] In response to the user's scroll preview command, the preview information of the corresponding parking area is scrolled and displayed in a first preset display area according to a preset display order. The first preset display area displays the preview information of a first preset number of parking areas at the same time. The preview information of one parking area is scrolled in the first preset display area at a time. The preview information of the parking areas displayed in the first preset display area is the current visible range of the preview information of each parking area. When the duration for which the user stops inputting the scroll preview command reaches a preset duration threshold, the parking area corresponding to each preview information currently displayed in the first preset display area is determined, and each parking area to be displayed is obtained.

[0052] Alternatively, in response to the user's scroll preview command, preview information of the corresponding parking area is scrolled and displayed in a first preset display area according to a preset display order. Each scroll in the first preset display area represents a preset length or width of preview information, and the preview information of the parking areas displayed in the first preset display area represents the current visible range of each parking area's preview information. When the duration for which the user stops inputting the scroll preview command reaches a preset duration threshold, the visible area percentage of each currently displayed preview information in the first preset display area is determined. For each currently displayed preview information, if the visible area percentage of that preview information is greater than a preset area threshold, the parking area corresponding to that preview information is selected as the parking area to be displayed.

[0053] In one possible embodiment, the first acquisition module is specifically used for:

[0054] Acquire full parking lot data, wherein the full parking lot data includes a globally unique identifier for each preset parking lot area, parking space information, and scene information;

[0055] For each preset parking area, based on the globally unique identifier of the preset parking area, the parking space information and scene information of the preset parking area are extracted from the full parking data.

[0056] In one possible embodiment, the device further includes:

[0057] The judgment module is used to determine, based on the parking space information, whether the target parking area to which the target parking space belongs is one of the parking areas to be displayed when a target parking space with a changed occupancy status is detected, based on the globally unique identifier of the parking area of ​​the target parking space.

[0058] The update module is used to update the parking status statistics of the parking area to be displayed and the target electronic map of the target parking area based on the current parking space information of each parking area to be displayed.

[0059] The third display module is used to display updated parking space status statistics and target electronic map.

[0060] In one possible embodiment, the first generation module is specifically used for:

[0061] For each parking area to be displayed, a first electronic map of the parking area to be displayed is generated based on the scene information of the parking area to be displayed. The first electronic map includes the parking space map area of ​​each parking space in the parking area to be displayed.

[0062] Based on the parking space information of the parking area to be displayed, determine the occupancy status of each parking space in the parking area to be displayed;

[0063] Based on the occupancy status of each parking space in the parking area to be displayed, mark the occupancy status of each parking space map area in the first electronic map to obtain the target electronic map of the parking area to be displayed.

[0064] The scene information includes tile map identifiers; the parking space information includes: parking space identifier, parking space status, and status duration.

[0065] For each parking area to be displayed, generating a first electronic map of that parking area based on its scene information includes:

[0066] For each parking area to be displayed, obtain the tile map corresponding to that parking area based on the tile map identifier.

[0067] The tile maps corresponding to the parking area to be displayed are combined to obtain the first electronic map of the parking area to be displayed.

[0068] The step of determining the occupancy status of each parking space in the parking area to be displayed based on the parking space information includes:

[0069] For each parking space in the parking area to be displayed, the parking status and duration of the status are determined based on the parking space sign. The occupancy status of the parking space includes the parking status and duration of the status.

[0070] In one possible embodiment, the second generation module is specifically used for:

[0071] Based on the parking space information of each parking area to be displayed, the total parking space usage status of each parking area to be displayed and the occupancy status of each parking space in each parking area to be displayed are determined. The parking space status statistics include the total parking space usage status and the occupancy status of each parking space in each parking area to be displayed.

[0072] This application also provides an electronic device, including: a processor and a memory, wherein,

[0073] Memory, used to store computer programs;

[0074] When a processor executes a program stored in memory, it implements the electronic map generation method described in any of the first aspects above.

[0075] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the electronic map generation method described in any of the first aspects above.

[0076] This application also provides a computer program product containing instructions that, when run on a computer, cause the computer to execute any of the above-described electronic map generation methods.

[0077] Beneficial effects of the embodiments in this application:

[0078] The electronic map generation method, apparatus, electronic device, and computer-readable storage medium provided in this application embodiment acquire parking space information and scene information of each parking area to be displayed; for each parking area to be displayed, a target electronic map of the parking area to be displayed is generated based on the scene information and parking space information of the parking area to be displayed; parking space status statistics are generated based on the parking space information of each parking area to be displayed; and finally, each target electronic map and parking space status statistics are displayed. Because the maps of each parking area to be displayed are displayed, and the parking space information of multiple parking areas to be displayed is statistically analyzed, the status statistics of all parking spaces in all parking areas to be displayed are finally calculated and displayed, allowing users to view multiple parking area maps simultaneously, and at the same time, they can also view the status statistics of all parking spaces in multiple parking areas to be displayed.

[0079] Of course, implementing any product or method of this application does not necessarily require achieving all of the advantages described above at the same time. Attached Figure Description

[0080] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other embodiments can be obtained based on these drawings.

[0081] Figure 1 This is a schematic diagram of a first flowchart of an electronic map generation method provided in an embodiment of this application;

[0082] Figure 2a This is a first schematic diagram illustrating an electronic map provided in an embodiment of this application;

[0083] Figure 2b This is a second schematic diagram illustrating an electronic map provided in an embodiment of this application;

[0084] Figure 3This is a second flowchart illustrating the electronic map generation method provided in an embodiment of this application.

[0085] Figure 4 A schematic diagram of the third process of the electronic map generation method provided in the embodiments of this application;

[0086] Figure 5 A schematic diagram of the structure of the electronic map generation device provided in the embodiments of this application;

[0087] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0088] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art based on this application are within the scope of protection of this application.

[0089] To address the problem that existing technologies can only display one parking lot map, embodiments of this application provide an electronic map generation method, apparatus, electronic device, computer-readable storage medium, and computer program product containing instructions.

[0090] The electronic map generation method provided in this application embodiment will be described below. This method can be applied to any electronic device that can provide electronic map generation services, such as a personal computer or a server. The electronic map generation method provided in this application embodiment can be implemented in at least one of software, hardware circuits, and logic circuits within an electronic device.

[0091] like Figure 1 As shown, Figure 1 A first flowchart illustrating the electronic map generation method provided in this application embodiment, the method comprising:

[0092] S110, Obtain parking space information and scene information for multiple parking areas to be displayed; wherein, for any parking area, the scene information of the parking area represents the distribution of parking spaces and buildings in the parking area, and the parking space information of the parking area represents the occupancy status of each parking space in the parking area.

[0093] S120: For each parking area to be displayed, generate a target electronic map of the parking area to be displayed based on the scene information and parking space information of the parking area to be displayed;

[0094] S130, Generate parking space status statistics based on the parking space information of each of the above-mentioned parking areas to be displayed;

[0095] S140 displays electronic maps of the aforementioned targets and statistical information on the status of the aforementioned parking spaces.

[0096] The parking areas to be displayed can be user-specified. For example, if shopping mall A has three parking areas: parking area 1, parking area 2, and parking area 3, the user can specify that parking area 1, parking area 2, and parking area 3 can be displayed simultaneously. That is, parking area 1, parking area 2, and parking area 3 can all be used as parking areas to be displayed. Alternatively, when loading the parking area map using lazy loading mode, the parking areas to be displayed can be determined based on the user's current visible range of the preview information for each parking area when the user's preview instruction is received. To ensure clarity of the solution and layout, the method of determining the parking areas to be displayed will be explained in detail below with reference to another embodiment.

[0097] For any given parking area, the scene information represents the distribution of parking spaces and buildings within that area. This scene information allows us to determine the location of each parking space. The parking space information represents the occupancy status of each parking space within that area.

[0098] In one possible implementation, for each parking space, the occupancy status may include at least one of the following: whether the parking space is permitted to be occupied, whether the parking space is occupied, and the duration of occupancy. In one example, if a parking space is occupied, the occupancy status may further include the license plate number of the vehicle occupying the space.

[0099] After identifying multiple parking areas to be displayed, a target electronic map of each area can be generated based on its scene and parking space information. This target electronic map displays not only the distribution of parking spaces but also their individual information. For clarity and layout, the following section provides a detailed explanation of how to generate the target electronic map for each parking area, using another embodiment as an example.

[0100] Parking space status statistics are used to represent the parking space information of all parking spaces in all parking areas to be displayed.

[0101] After generating parking space status statistics and electronic maps of each target, the parking space status statistics and electronic maps of each target are displayed.

[0102] The system acquires parking space and scene information for each parking area to be displayed. For each parking area, it generates a target electronic map based on the scene and parking space information. It also generates parking space status statistics based on the parking space information for each parking area. Finally, it displays the target electronic map and parking space status statistics. Because it displays maps of all parking areas and compiles parking space statistics for multiple parking areas, it ultimately compiles and displays the status statistics of all parking spaces in all parking areas, allowing users to view multiple parking area maps simultaneously, as well as the status statistics of all parking spaces in multiple parking areas.

[0103] In one possible implementation, the parking space status statistics may include at least one of the following: total parking space occupancy and parking space occupancy for each parking area to be displayed.

[0104] In one example, the total parking space usage status may include at least one of the following information: the total number of all parking spaces in all parking areas to be displayed, the total number of vacant parking spaces, the total number of occupied parking spaces, the total number of parking spaces where parking is prohibited, the parking space occupancy rate, the duration of parking space occupancy, the number of parking spaces where parking space occupancy exceeds a preset duration, the identification information of vacant parking spaces, the identification information of parking spaces where parking is prohibited, etc.

[0105] In one example, the parking space usage information for each parking area to be displayed may include at least one of the following: the total number of all parking spaces in the parking area to be displayed, the total number of vacant parking spaces, the total number of occupied parking spaces, the total number of parking spaces where parking is prohibited, the parking space occupancy rate, the duration of parking space occupancy, the number of parking spaces where parking space occupancy exceeds a preset duration, the identification information of vacant parking spaces, and the identification information of parking spaces where parking is prohibited.

[0106] like Figure 2aAs shown, taking two parking areas to be displayed, Parking Area 1 and Parking Area 2, each containing 100 parking spaces, after generating parking space status statistics and target electronic maps, the rendered maps of Parking Area 1 and Parking Area 2 are displayed in the target electronic map display area of ​​the interface. Then, the generated parking space status statistics are displayed in the parking space status statistics display area. The parking space status statistics include the total number of parking spaces in Parking Area 1 and Parking Area 2, and the number of available parking spaces in Parking Area 1 and Parking Area 2. The total number of parking spaces, including the total number of prohibited parking spaces in parking area 1 and parking area 2, the total number of parking spaces in parking area 1, the total number of vacant parking spaces in parking area 1, the total number of prohibited parking spaces in parking area 1, the parking space signs for vacant parking spaces in parking area 1, the total number of parking spaces in parking area 2, the total number of vacant parking spaces in parking area 2, the total number of prohibited parking spaces in parking area 2, the parking space signs for vacant parking spaces in parking area 2, and the number of overstayed parking spaces, etc.

[0107] In one possible embodiment, the above method further includes:

[0108] Obtain all parking space information for the preset parking area;

[0109] Based on the parking space information of each of the above-mentioned preset parking areas, generate full parking space status statistics;

[0110] This displays the status statistics for all parking spaces.

[0111] When the parking area to be displayed is only a portion of the full set of preset parking areas (for example, both Building A and Building B are used for parking, with Building A having 10 floors and Building B having 10 floors, meaning there are a total of 20 preset parking areas, and the parking area to be displayed is only a portion of these 20 preset parking areas, for example, the parking areas to be displayed are the 1st and 2nd floors of Building A), in order to allow users to view the parking space information of all preset parking areas, the parking space information of all preset parking areas can be obtained, and based on the parking space information of each preset parking area, full parking space status statistics can be generated and then displayed. This allows users to view not only the status statistics of all parking spaces in multiple parking areas to be displayed, but also the parking space status statistics of all preset parking areas, thus enabling users to obtain real-time parking space information for all preset parking areas.

[0112] In one possible embodiment, prior to step S110, the method further includes:

[0113] In response to the user's preview command, the system displays preview information for each parking area corresponding to the preview command; upon receiving a display command, the system obtains the current visible range of the preview information for each parking area; and determines each parking area to be displayed based on the positional relationship between the preview information of each parking area and the current visible range.

[0114] When multiple parking areas exist, maps of all parking areas can be displayed on a single webpage. For example, shopping mall A has three buildings (Building 1, Building 2, and Building 3) all used for parking. Each building has 10 floors, and each floor represents a parking area, resulting in a total of 30 parking areas. Maps of all 30 parking areas can be displayed on the same webpage for users to browse. When a user scrolls the page, a preview command is received; when the user stops scrolling, a display command is received. The current visible range of each parking area's preview information is obtained, and based on the positional relationship between the preview information and the current visible range, the parking areas to be displayed are determined.

[0115] In one possible embodiment, in response to a user's preview command, preview information of each parking area corresponding to the preview command is displayed; upon receiving a user's display command, the current visible range of the preview information of each parking area is obtained; based on the positional relationship between the preview information of each parking area and the current visible range, each parking area to be displayed is determined, including:

[0116] In response to the user's scroll preview command, the preview information of the corresponding parking area is scrolled and displayed in the first preset display area according to the preset display order. When the duration for which the user stops inputting the scroll preview command reaches the preset duration threshold, the parking area corresponding to each preview information currently displayed in the first preset display area is determined, and each parking area to be displayed is obtained.

[0117] The first preset display area simultaneously displays preview information for a first preset number of parking areas. Each time the preview information for a second preset number of parking areas is scrolled through the first preset display area, the displayed preview information represents the current visible range of each parking area. The first and second preset numbers can be set according to actual conditions, and the second preset number can be one. When the duration for which the user stops inputting scrolling preview commands reaches a preset duration threshold, the parking areas corresponding to the currently displayed preview information in the first preset display area are determined as the parking areas to be displayed. The preset duration threshold can be set according to actual conditions, for example, a preset duration threshold of 1 second, 2 seconds, or 3 seconds.

[0118] Each time a user triggers a scroll preview command, preview information for a second preset number of parking areas scrolls through the first preset display area. When the user stops entering scroll preview commands for a preset duration threshold, it indicates that the user intends to view the relevant information for the parking areas corresponding to the currently displayed preview information in the first preset display area. Therefore, the parking areas corresponding to the currently displayed preview information in the first preset display area are selected as the parking areas to be displayed, thus meeting the user's needs. Only the parking areas within the currently visible range are displayed, without needing to render the maps of all parking areas, which reduces the memory usage of multi-map rendering, improves page rendering capabilities, and enhances the user experience.

[0119] In one possible embodiment, in response to a user's preview command, preview information of each parking area corresponding to the preview command is displayed; upon receiving a user's display command, the current visible range of the preview information of each parking area is obtained; based on the positional relationship between the preview information of each parking area and the current visible range, each parking area to be displayed is determined, including:

[0120] In response to the user's scroll preview command, the preview information of the corresponding parking area is scrolled and displayed in a first preset display area according to a preset display order. Each scroll in the first preset display area is a preset length or preset width of preview information, and the preview information of the parking area displayed in the first preset display area is the current visible range of the preview information of each parking area. When the duration for which the user stops inputting the scroll preview command reaches a preset duration threshold, the visible area percentage of each preview information currently displayed in the first preset display area is determined. For each preview information currently displayed, if the visible area percentage of the preview information is greater than a preset area threshold, the parking area corresponding to the preview information is selected as the parking area to be displayed.

[0121] The percentage of visible area for the preview information is the percentage of "the area of ​​the preview information displayed in the first preset display area" to "the total area of ​​the preview information". For example, for each parking area, if the area of ​​the parking area within the current visible range is not less than a preset percentage threshold, then that parking area is designated as a parking area to be displayed. This preset percentage threshold can be set according to actual conditions. For instance, if, when the user stops scrolling, the area of ​​parking area A within the current visible range is not less than the preset percentage threshold, then parking area A is designated as a parking area to be displayed.

[0122] Each time a user triggers a scroll preview command, preview information of a preset length or width will scroll in the first preset display area. When the duration for which the user stops inputting scroll preview commands reaches a preset duration threshold, it indicates that the user intends to view the relevant information of the parking area corresponding to each preview information currently displayed in the first preset display area, and the percentage of the visible area of ​​the preview information will be calculated.

[0123] In one example, when the duration for which the user stops inputting scroll preview commands reaches a preset duration threshold, the visible area percentage of each preview item currently displayed in the first preset display area can be determined. For instance, if the first preset display area currently displays four parking areas with visible area percentages of 0.4, 1, 1, and 0.6 respectively, and the preset area threshold is 0.5, then the parking areas with visible area percentages of 1, 1, and 0.6 will be selected as the parking areas to be displayed. This way, parking areas with a larger visible area percentage in the first preset display area will be selected as the parking areas to be displayed.

[0124] This approach displays only the parking areas within the current visible range, eliminating the need to render maps of all 30 parking areas. This reduces memory usage from multi-map rendering, improves page rendering capabilities, and enhances the user experience.

[0125] In one possible embodiment, the above method further includes:

[0126] In response to the user's scroll preview command, at least one preview of a second type of parking lot area is displayed in the second preset display area and at least one preview of a third type of parking lot area is displayed in the third preset display area, according to the preset display order. The second type of parking lot area is the parking lot area before the first type of parking lot area and the third type of parking lot area is the parking lot area after the first type of parking lot area. The first type of parking lot area is the parking lot area currently displayed in the first preset display area.

[0127] The rules for dividing the first, second, and third preset display areas can be set according to the actual situation and are not limited here.

[0128] like Figure 2bAs shown, there are a total of 10 parking areas. When the user scrolls the page, in response to the user's scroll preview command, the user scrolls from parking area 1 to parking area 10 in a preset display order. When the parking area currently displayed in the first preset display area is parking area 4, parking area 5, or parking area 6, the preview information of parking area 1, parking area 2, or parking area 3 is displayed in the second type of parking area. The preview information of parking area 1, parking area 2, or parking area 3 is displayed in the second preset display area. The preview information of parking area 7, parking area 8, parking area 9, and parking area 10 is displayed in the third preset display area.

[0129] In one example, the preview information displayed in the second and third preset display areas is a simplified preview, while the preview information displayed in the first preset display area is a detailed preview. The simplified preview information can be an identifier for the corresponding parking area, while the detailed preview information can be a preset thumbnail of the corresponding parking area.

[0130] In one possible embodiment, prior to step S110, the method further includes:

[0131] For any parking area, if a change in the occupancy of parking spaces in that area is detected, that parking area will be designated as a parking area to be displayed.

[0132] When a change in the occupancy of parking spaces in a parking area is detected, that parking area will be designated as a parking area to be displayed. If possible, the target electronic map and parking space status statistics of the parking area can be further displayed, allowing users to view relevant information about the parking area in a timely manner.

[0133] In one possible embodiment, such as Figure 3 As shown, Figure 3 This is a second flowchart illustrating the electronic map generation method provided in this application embodiment. Step S110 is implemented through the following steps:

[0134] S111, Obtain full parking area data, wherein the full parking area data includes the globally unique identifier of each preset parking area, parking space information and scene information;

[0135] S112, for each preset parking area, based on the globally unique identifier of the preset parking area, extract the parking space information of the preset parking area and the scene information of the preset parking area from the above full parking area data.

[0136] For each parking area, the globally unique identifier of the parking area is any information that uniquely identifies the parking area. Specifically, the globally unique identifier of the parking area is GUID (Globally Unique Identifier).

[0137] The full parking area data includes globally unique identifiers, parking space information, and scene information for each preset parking area. After obtaining the full parking area data, for each preset parking area, based on its globally unique identifier, the parking space information and scene information for that preset parking area can be extracted from the full parking area data. In other words, for each preset parking area, based on its globally unique identifier, the parking space information and scene information for that preset parking area are extracted from the full parking area data.

[0138] Specifically, for each preset parking area, a global unique identifier, parking space information, and scene information can be established for that preset parking area. In this way, once the parking area to be displayed is determined, the parking space information and scene information corresponding to it can be obtained based on the global unique identifier of the parking area to be displayed.

[0139] By separating parking space information and scene information, the two information can be processed separately. After determining the parking area to be displayed, the corresponding scene information can be obtained based on the globally unique identifier of the parking area to be displayed, thereby dynamically rendering the electronic map.

[0140] In one possible embodiment, the above method further includes:

[0141] Based on the above parking space information, when a target parking space with a changed occupancy is detected, the target parking area to which the target parking space belongs is determined based on the globally unique identifier of the parking area of ​​the target parking space.

[0142] If so, update the parking status statistics of the parking areas to be displayed and the target electronic map of the target parking areas based on the current parking space information of each of the above-mentioned parking areas to be displayed.

[0143] Display updated parking space status statistics and target electronic map.

[0144] When there are multiple parking areas, for example, shopping mall A has 3 buildings (Building 1, Building 2, and Building 3) all used for parking. Each building has 10 floors, and each floor is a parking area, which means there are a total of 30 parking areas. The electronic equipment can obtain data on all parking spaces in the 30 parking areas in real time. Specifically, when the occupancy of a parking space changes, that parking space is identified as the target parking space. Then, it is determined whether the parking area to which the parking space belongs is one of the parking areas to be displayed. If so, the parking space information of each parking area to be displayed is obtained to update the target electronic map of the target parking area. The updated parking space status statistics and target electronic map are then displayed.

[0145] In one possible implementation, parking space information for each parking area to be displayed is obtained in real time via a long connection.

[0146] This allows for real-time monitoring of parking spaces in all parking areas. When the parking space information displayed on the page changes, the parking space status statistics and electronic map can be updated in real time, enabling users to obtain the status of parking spaces in the displayed parking area in real time and resolving data delays caused by differences in map data request and map rendering time.

[0147] In one possible embodiment, the above-mentioned generation of a target electronic map for each parking area to be displayed, based on the scene information and parking space information of the parking area to be displayed, includes:

[0148] For each parking area to be displayed, a first electronic map of the parking area to be displayed is generated based on the scene information of the parking area to be displayed, wherein the first electronic map includes the parking space map area of ​​each parking space in the parking area to be displayed.

[0149] Based on the parking space information of the parking area to be displayed, determine the occupancy status of each parking space in the parking area to be displayed;

[0150] Based on the occupancy status of each parking space in the parking area to be displayed, mark the occupancy status of each parking space map area in the first electronic map to obtain the target electronic map of the parking area to be displayed.

[0151] The above scene information includes tile map identifiers; the above parking space information includes: parking space identifier, parking space status, and status duration;

[0152] For each parking area to be displayed, the above process generates a first electronic map of that parking area based on its scene information, including:

[0153] For each parking area to be displayed, obtain the tile map corresponding to that parking area based on the tile map identifier.

[0154] The tile maps corresponding to the parking area to be displayed are combined to obtain the first electronic map of the parking area to be displayed.

[0155] The above-mentioned determination of the occupancy status of each parking space in the parking area to be displayed, based on the parking space information of the parking area to be displayed, includes:

[0156] For each parking space in the parking area to be displayed, the parking status and duration of the status are determined based on the parking space sign. The occupancy status of the parking space includes the parking status and duration of the status.

[0157] When generating the target electronic map, a first electronic map including the parking space map area of ​​each parking space in the parking area to be displayed can be generated based on the scene information of the parking area to be displayed. Specifically, the scene information includes tile map identifiers. For each parking area to be displayed, the tile map corresponding to the parking area to be displayed is obtained according to the tile map identifier of the parking area to be displayed. The tile maps corresponding to the parking area to be displayed are combined to obtain the first electronic map of the parking area to be displayed.

[0158] Parking space information includes: parking space identifier, parking space status, and status duration. For each parking space in the parking area to be displayed, the parking space status and status duration are determined based on the parking space identifier, thus obtaining the occupancy status of each parking space in the parking area to be displayed. Based on the occupancy status of each parking space in the parking area to be displayed, the occupancy status of each parking space map area in the first electronic map is marked, thus obtaining the target electronic map of the parking area to be displayed.

[0159] For example, colors can be used to distinguish whether a parking space is occupied. For instance, green indicates that the parking space is available, red indicates that it is prohibited from being occupied, and yellow indicates that it is occupied. Furthermore, the duration of parking space occupancy can also be marked on the map.

[0160] Furthermore, for each parking space, if a vehicle is already parked in the space, the vehicle's attribute information is obtained and marked on the parking space map area. The vehicle's attribute information includes: license plate, vehicle model, vehicle image, and contact information of the vehicle owner.

[0161] Furthermore, for each parking space, if it is prohibited to occupy, the reason for prohibition will be marked on the parking space map area where the parking space is located, such as construction in progress or private parking spaces are prohibited from being occupied.

[0162] This electronic map of the parking area can not only show the map area of ​​each parking space, but also the occupancy status of each parking space. This allows users to obtain more information.

[0163] In one possible embodiment, the above-mentioned generation of parking space status statistics based on the parking space information of each of the above-mentioned parking areas to be displayed includes:

[0164] Based on the parking space information of each of the aforementioned parking areas to be displayed, the total parking space usage status of each of the aforementioned parking areas to be displayed and the occupancy status of each parking space in each of the aforementioned parking areas to be displayed are determined. The parking space status statistics include the total parking space usage status and the occupancy status of each parking space in each of the aforementioned parking areas to be displayed.

[0165] Based on the parking space information of each parking area to be displayed, the total parking space usage status of each area and the occupancy status of individual spaces within each area can be determined. If the generated parking status statistics include both the total parking space usage status and the occupancy status of individual spaces within each parking area, users can view not only the total parking space usage status of each area but also the occupancy status of individual spaces within each area.

[0166] Based on the above embodiments, this application provides an electronic map generation method, such as... Figure 4 As shown, Figure 4 A third flowchart illustrating the electronic map generation method provided in this application embodiment, the method including:

[0167] S410 receives display commands from the user;

[0168] S420, obtain the current visible range of the preview information of each parking area; determine each parking area to be displayed based on the positional relationship between the preview information of each parking area and the current visible range.

[0169] S430, based on the globally unique identifier of each parking area to be displayed, obtains scene information of each parking area to be displayed from the full parking data;

[0170] S440, Generate target electronic maps of each parking area to be displayed based on the acquired scene information of each parking area to be displayed;

[0171] S450, based on the globally unique identifier of each parking area to be displayed, obtains parking space information of each parking area to be displayed from the full parking data;

[0172] S460 generates parking space status statistics based on parking space information for each parking area to be displayed;

[0173] S470 displays electronic maps of each target location and parking space status statistics.

[0174] By separating parking space information and scene information, the two information can be processed separately. After determining the parking area to be displayed, the corresponding scene information can be obtained based on the globally unique identifier of the parking area to be displayed, thereby dynamically rendering the electronic map.

[0175] Based on the above method embodiments, this application provides an electronic map generation device, such as... Figure 5 As shown, Figure 5 A schematic diagram of an electronic map generation apparatus provided in this application embodiment, the apparatus comprising:

[0176] The first acquisition module 510 is used to acquire parking space information and scene information of multiple parking areas to be displayed; wherein, for any parking area, the scene information of the parking area represents the distribution of parking spaces and buildings in the parking area, and the parking space information of the parking area represents the occupancy status of each parking space in the parking area.

[0177] The first generation module 520 is used to generate a target electronic map of each parking area to be displayed based on the scene information and parking space information of the parking area to be displayed.

[0178] The second generation module 530 is used to generate parking space status statistics based on the parking space information of each of the above-mentioned parking areas to be displayed.

[0179] The first display module 540 is used to display the electronic maps of the aforementioned targets and the statistical information on the status of the aforementioned parking spaces.

[0180] In one possible embodiment, the above-described apparatus further includes:

[0181] The second acquisition module is used to acquire parking space information of all preset parking areas; wherein, the parking area to be displayed is the parking area among the preset parking areas.

[0182] The third generation module is used to generate full parking space status statistics based on the parking space information of each of the above-mentioned preset parking areas.

[0183] The second display module is used to display the above-mentioned statistical information on the status of all parking spaces.

[0184] In one possible embodiment, the above-described apparatus further includes:

[0185] The first processing module is used to respond to the user's preview command and display the preview information of each parking area corresponding to the preview command before obtaining the parking space information and scene information of multiple parking areas to be displayed; when receiving the display command, it obtains the current visible range of the preview information of each parking area; and determines each parking area to be displayed according to the positional relationship between the preview information of each parking area and the current visible range.

[0186] Alternatively, the second processing module is used to select any parking area as a parking area to be displayed when it detects a change in the occupancy status of parking spaces in that area.

[0187] In one possible embodiment, the first processing module described above is specifically used for:

[0188] In response to the user's scroll preview command, the preview information of the corresponding parking area is scrolled and displayed in a first preset display area according to a preset display order. The first preset display area displays the preview information of a first preset number of parking areas at the same time, and scrolls the preview information of a second preset number of parking areas in the first preset display area each time. The preview information of the parking areas displayed in the first preset display area is the current visible range of the preview information of each parking area. When the duration for which the user stops inputting the scroll preview command reaches a preset duration threshold, the parking area corresponding to each preview information currently displayed in the first preset display area is determined, and each parking area to be displayed is obtained.

[0189] Alternatively, in response to the user's scroll preview command, preview information of the corresponding parking area is scrolled and displayed in a first preset display area according to a preset display order. Each scroll in the first preset display area represents a preset length or width of preview information, and the preview information of the parking areas displayed in the first preset display area represents the current visible range of each parking area's preview information. When the duration for which the user stops inputting the scroll preview command reaches a preset duration threshold, the visible area percentage of each currently displayed preview information in the first preset display area is determined. For each currently displayed preview information, if the visible area percentage of that preview information is greater than a preset area threshold, the parking area corresponding to that preview information is designated as the parking area to be displayed.

[0190] In one possible embodiment, the first acquisition module 510 described above is specifically used for:

[0191] Obtain full parking lot data, which includes the globally unique identifier of each preset parking lot area, parking space information, and scene information;

[0192] For each preset parking area, based on the globally unique identifier of the preset parking area, the parking space information and scene information of the preset parking area are extracted from the above full parking data.

[0193] In one possible embodiment, the above-described apparatus further includes:

[0194] The judgment module is used to determine, based on the above parking space information, whether the target parking area to which the target parking space belongs is one of the above parking areas to be displayed when a target parking space with a changed occupancy status is detected, based on the globally unique identifier of the parking area of ​​the target parking space.

[0195] The update module is used to update the parking status statistics of the parking areas to be displayed and the target electronic map of the target parking areas based on the current parking space information of each of the above-mentioned parking areas to be displayed.

[0196] The third display module is used to display updated parking space status statistics and target electronic map.

[0197] In one possible embodiment, the first generation module 520 described above is specifically used for:

[0198] For each parking area to be displayed, a first electronic map of the parking area to be displayed is generated based on the scene information of the parking area to be displayed, wherein the first electronic map includes the parking space map area of ​​each parking space in the parking area to be displayed.

[0199] Based on the parking space information of the parking area to be displayed, determine the occupancy status of each parking space in the parking area to be displayed;

[0200] Based on the occupancy status of each parking space in the parking area to be displayed, mark the occupancy status of each parking space map area in the first electronic map to obtain the target electronic map of the parking area to be displayed.

[0201] The above scene information includes tile map identifiers; the above parking space information includes: parking space identifier, parking space status, and status duration;

[0202] For each parking area to be displayed, the above process generates a first electronic map of that parking area based on its scene information, including:

[0203] For each parking area to be displayed, obtain the tile map corresponding to that parking area based on the tile map identifier.

[0204] The tile maps corresponding to the parking area to be displayed are combined to obtain the first electronic map of the parking area to be displayed.

[0205] The above-mentioned determination of the occupancy status of each parking space in the parking area to be displayed, based on the parking space information of the parking area to be displayed, includes:

[0206] For each parking space in the parking area to be displayed, the parking status and duration of the status are determined based on the parking space sign. The occupancy status of the parking space includes the parking status and duration of the status.

[0207] In one possible embodiment, the second generation module 530 described above is specifically used for:

[0208] Based on the parking space information of each of the aforementioned parking areas to be displayed, the total parking space usage status of each of the aforementioned parking areas to be displayed and the occupancy status of each parking space in each of the aforementioned parking areas to be displayed are determined. The parking space status statistics include the total parking space usage status and the occupancy status of each parking space in each of the aforementioned parking areas to be displayed.

[0209] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.

[0210] This application also provides an electronic device, such as... Figure 6 As shown, it includes:

[0211] Memory 601 is used to store computer programs;

[0212] When processor 602 executes a program stored in memory 601, it performs the following steps:

[0213] Obtain parking space information and scene information for multiple parking areas to be displayed; for any given parking area, the scene information indicates the distribution of parking spaces and buildings within that area, and the parking space information indicates the occupancy status of each parking space within that area.

[0214] For each parking area to be displayed, a target electronic map of the parking area is generated based on the scene information and parking space information of that parking area.

[0215] Based on the parking space information of each of the above-mentioned parking areas to be displayed, generate parking space status statistics;

[0216] Display electronic maps of the aforementioned targets and statistical information on the status of the aforementioned parking spaces.

[0217] Furthermore, the aforementioned electronic device may also include a communication bus and / or a communication interface, with the processor 602, communication interface, and memory 601 communicating with each other via the communication bus.

[0218] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0219] The communication interface is used for communication between the aforementioned electronic devices and other devices.

[0220] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. In one possible implementation, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0221] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0222] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements the steps of any of the above-described electronic map generation methods.

[0223] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute any of the electronic map generation methods described above.

[0224] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).

[0225] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0226] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for devices, electronic devices, computer-readable storage media, and computer program products, since they are basically similar to the method embodiments, the descriptions are relatively simple, and relevant parts can be referred to the descriptions of the method embodiments.

[0227] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.

Claims

1. A method for generating electronic maps, characterized in that, The method includes: In response to the user's scroll preview command, the system displays preview information of corresponding parking areas in a first preset display area according to a preset display order. In a second preset display area, it displays preview information of at least one second-type parking area, and in a third preset display area, it displays preview information of at least one third-type parking area. The second-type parking area precedes the first-type parking area, and the third-type parking area follows the first-type parking area. The first-type parking area is the currently displayed parking area in the first preset display area. The preview information displayed in the second and third preset display areas is a simplified preview, while the preview information displayed in the first preset display area is a detailed preview. The simplified preview information is the identifier of the corresponding parking area, and the detailed preview information is a preset thumbnail of the corresponding parking area. The first preset display area displays preview information of a first preset number of parking areas simultaneously, and scrolls through preview information of a second preset number of parking areas each time. The preview information displayed in the first preset display area represents the current visible range of each parking area's preview information. When the duration for which the user stops inputting the scroll preview command reaches a preset duration threshold, the parking areas corresponding to the currently displayed preview information in the first preset display area are determined, resulting in each parking area to be displayed. Alternatively, in response to a user's scroll preview command, preview information of the corresponding parking area is displayed in a first preset display area according to a preset display order; preview information of at least one second-type parking area is displayed in a second preset display area; and preview information of at least one third-type parking area is displayed in a third preset display area. The second-type parking area precedes the first-type parking area, and the third-type parking area follows the first-type parking area. The first-type parking area is the parking area currently displayed in the first preset display area. The preview information displayed in the second and third preset display areas is a simplified preview, while the preview information displayed in the first preset display area is a simplified preview. The information is detailed preview information; the simplified preview information is the identifier of the corresponding parking area, and the detailed preview information is a preset thumbnail of the corresponding parking area; wherein, the preview information in the first preset display area is scrolled for a preset length or preset width each time, and the preview information of the parking area displayed in the first preset display area is the current visible range of the preview information of each parking area; when the duration for which the user stops inputting the scroll preview command reaches a preset duration threshold, the visible area percentage of each preview information currently displayed in the first preset display area is determined; for each preview information currently displayed, if the visible area percentage of the preview information is greater than a preset area threshold, then the parking area corresponding to the preview information is taken as the parking area to be displayed; Obtain parking space information and scene information for multiple parking areas to be displayed; for any given parking area, the scene information indicates the distribution of parking spaces and buildings within that area, and the parking space information indicates the occupancy status of each parking space within that area. For each parking area to be displayed, a target electronic map of the parking area is generated based on the scene information and parking space information of that parking area. Based on the parking space information of each parking area to be displayed, generate parking space status statistics; Display the electronic maps of each target and the statistical information on the parking space status.

2. The method according to claim 1, characterized in that, The method further includes: Obtain parking space information for all preset parking areas; wherein, the parking area to be displayed is a parking area within the preset parking areas; Based on the parking space information of each preset parking area, generate full parking space status statistics; Display the status statistics of all parking spaces.

3. The method according to claim 1, characterized in that, The acquisition of parking space information and scene information for multiple parking areas to be displayed includes: Acquire full parking lot data, wherein the full parking lot data includes a globally unique identifier for each preset parking lot area, parking space information, and scene information; For each preset parking area, based on the globally unique identifier of the preset parking area, the parking space information and scene information of the preset parking area are extracted from the full parking data.

4. The method according to claim 3, characterized in that, The method further includes: Based on the parking space information, when a target parking space with a changed occupancy status is detected, the target parking area to which the target parking space belongs is determined based on the globally unique identifier of the parking area of ​​the target parking space. If so, update the parking status statistics of the parking areas to be displayed and the target electronic map of the target parking area based on the current parking space information of each parking area to be displayed. Display updated parking space status statistics and target electronic map.

5. The method according to claim 1, characterized in that, For each parking area to be displayed, a target electronic map of that parking area is generated based on the scene information and parking space information of that parking area, including: For each parking area to be displayed, a first electronic map of the parking area to be displayed is generated based on the scene information of the parking area to be displayed. The first electronic map includes the parking space map area of ​​each parking space in the parking area to be displayed. Based on the parking space information of the parking area to be displayed, determine the occupancy status of each parking space in the parking area to be displayed; Based on the occupancy status of each parking space in the parking area to be displayed, mark the occupancy status of each parking space map area in the first electronic map to obtain the target electronic map of the parking area to be displayed. The scene information includes tile map identifiers; the parking space information includes: parking space identifier, parking space status, and status duration. For each parking area to be displayed, generating a first electronic map of that parking area based on its scene information includes: For each parking area to be displayed, obtain the tile map corresponding to that parking area based on the tile map identifier. The tile maps corresponding to the parking area to be displayed are combined to obtain the first electronic map of the parking area to be displayed. The step of determining the occupancy status of each parking space in the parking area to be displayed based on the parking space information includes: For each parking space in the parking area to be displayed, the parking status and duration of the status are determined based on the parking space sign. The occupancy status of the parking space includes the parking status and duration of the status.

6. The method according to claim 1, characterized in that, The step of generating parking space status statistics based on the parking space information of each of the parking areas to be displayed includes: Based on the parking space information of each parking area to be displayed, the total parking space usage status of each parking area to be displayed and the occupancy status of each parking space in each parking area to be displayed are determined. The parking space status statistics include the total parking space usage status and the occupancy status of each parking space in each parking area to be displayed.

7. An electronic map generation device, characterized in that, The device includes: The first processing module is configured to, before acquiring parking space information and scene information for multiple parking areas to be displayed, respond to the user's scroll preview command and, according to a preset display order, scroll and display preview information of the corresponding parking areas in a first preset display area, display preview information of at least one second-type parking area in a second preset display area, and display preview information of at least one third-type parking area in a third preset display area. The second-type parking area is the parking area preceding the first-type parking area, and the third-type parking area is the parking area following the first-type parking area. The first-type parking area is the currently displayed parking area in the first preset display area. The preview information displayed in the second and third preset display areas is simplified preview information, while the preview information displayed in the first preset display area is detailed preview information. The simplified preview information is the identifier of the corresponding parking area, and the detailed preview information is a preset thumbnail of the corresponding parking area. The first preset display area displays preview information of a first preset number of parking areas simultaneously, scrolls through the preview information of one parking area at a time, and the preview information of the parking areas displayed in the first preset display area represents the current visible range of the preview information of each parking area. When the duration for which the user stops inputting the scroll preview command reaches a preset duration threshold, the first... The parking areas corresponding to the currently displayed preview information in the preset display area are used to obtain the parking areas to be displayed; or, in response to the user's scroll preview command, the preview information of the corresponding parking areas is scrolled and displayed in the first preset display area according to the preset display order, at least one preview information of a second type of parking area is displayed in the second preset area, and at least one preview information of a third type of parking area is displayed in the third preset area, wherein the second type of parking area is the parking area preceding the first type of parking area, the third type of parking area is the parking area following the first type of parking area, and the first type of parking area is the parking area currently displayed in the first preset display area. The preview information displayed in the second and third preset display areas is a simplified preview information, while the preview information displayed in the first preset display area is a detailed preview information. The simplified preview information is the identifier of the corresponding parking area, and the detailed preview information is a preset thumbnail of the corresponding parking area. The preview information in the first preset display area is scrolled by a preset length or width each time, and the preview information of the parking areas displayed in the first preset display area represents the current visible range of the preview information for each parking area. When the duration for which the user stops inputting the scroll preview command reaches a preset duration threshold, the percentage of visible area of ​​each preview information currently displayed in the first preset display area is determined.For each preview information currently displayed, if the percentage of the visible area of ​​the preview information is greater than a preset area threshold, then the parking area corresponding to the preview information is taken as the parking area to be displayed. The first acquisition module is used to acquire parking space information and scene information of multiple parking areas to be displayed; wherein, for any parking area, the scene information of the parking area represents the distribution of parking spaces and buildings in the parking area, and the parking space information of the parking area represents the occupancy status of each parking space in the parking area. The first generation module is used to generate a target electronic map of each parking area to be displayed, based on the scene information and parking space information of that parking area. The second generation module is used to generate parking space status statistics based on the parking space information of each parking area to be displayed. The first display module is used to display the electronic maps of each target and the parking space status statistics.

8. The apparatus according to claim 7, characterized in that, The device further includes: The second acquisition module is used to acquire parking space information of all preset parking areas; wherein, the parking area to be displayed is a parking area among the preset parking areas; The third generation module is used to generate full parking space status statistics based on the parking space information of each preset parking area; The second display module is used to display the statistical information on the status of all parking spaces; The first acquisition module is specifically used for: Acquire full parking lot data, wherein the full parking lot data includes a globally unique identifier for each preset parking lot area, parking space information, and scene information; For each preset parking area, based on the globally unique identifier of the preset parking area, the parking space information of the preset parking area and the scene information of the preset parking area are extracted from the full parking data; The device further includes: The judgment module is used to determine, based on the parking space information, whether the target parking area to which the target parking space belongs is one of the parking areas to be displayed when a target parking space with a changed occupancy status is detected, based on the globally unique identifier of the parking area of ​​the target parking space. The update module is used to update the parking status statistics of the parking area to be displayed and the target electronic map of the target parking area based on the current parking space information of each parking area to be displayed. The third display module is used to display the updated parking space status statistics and the target electronic map; The first generation module is specifically used for: For each parking area to be displayed, a first electronic map of the parking area to be displayed is generated based on the scene information of the parking area to be displayed. The first electronic map includes the parking space map area of ​​each parking space in the parking area to be displayed. Based on the parking space information of the parking area to be displayed, determine the occupancy status of each parking space in the parking area to be displayed; Based on the occupancy status of each parking space in the parking area to be displayed, mark the occupancy status of each parking space map area in the first electronic map to obtain the target electronic map of the parking area to be displayed. The scene information includes tile map identifiers; the parking space information includes: parking space identifier, parking space status, and status duration. For each parking area to be displayed, generating a first electronic map of that parking area based on its scene information includes: For each parking area to be displayed, obtain the tile map corresponding to that parking area based on the tile map identifier. The tile maps corresponding to the parking area to be displayed are combined to obtain the first electronic map of the parking area to be displayed. The step of determining the occupancy status of each parking space in the parking area to be displayed based on the parking space information includes: For each parking space in the parking area to be displayed, the parking status and duration of the status are determined based on the parking space sign; wherein, the occupancy status of the parking space includes the parking status and duration of the status. The second generation module is specifically used for: Based on the parking space information of each parking area to be displayed, the total parking space usage status of each parking area to be displayed and the occupancy status of each parking space in each parking area to be displayed are determined. The parking space status statistics include the total parking space usage status and the occupancy status of each parking space in each parking area to be displayed.

Citation Information

Patent Citations

  • Tile map-based parking space display method and application thereof

    CN112988935A

  • The parking place guiding method interlocking the united management server of parking place with the terminal of communication by wire or radio communication and the terminal of communication by wi ...

    KR1020100064009A