Parking space map label generation method, parking space status number statistics method and device

By establishing electronic parking space maps and information files for parking lot areas and dynamically generating parking space map tags, the complex problem of electronic parking space map settings in the existing technology is solved, and the automated management of parking space status is realized, reducing costs and time-consuming.

CN115810290BActive Publication Date: 2024-12-17HANGZHOU LIGUAN TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202211441922.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-17
Publication Date
2024-12-17
Estimated Expiration
2042-11-17

AI Technical Summary

Technical Problem

The electronic map of parking spaces in the existing parking space guidance system is complex in how to set up the tag information for each parking space manually, resulting in cumbersome development and application, time-consuming and costly.

Method used

By establishing an electronic map of regional parking spaces for each parking area, recording the parking space status using regional parking space information files, and dynamically generating editable parking space map labels, reducing manual setting steps and realizing automated processing.

Benefits of technology

It simplifies the generation process of parking space map labels, reduces labor and material costs, improves work efficiency, and can update the parking space status in real time, saving a lot of workload.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115810290B_ABST
    Figure CN115810290B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a method for generating parking space map labels, a method and device for counting the number of parking space statuses; the method for generating parking space map labels includes establishing a corresponding regional parking space electronic map for each parking area in the parking lot, storing or replacing the relative positions of all parking space maps on the regional parking space electronic map and the preset origin into the relative position fields in the corresponding parking space record information, importing the parking space record information into the corresponding fields of the parking space map record table in the database, loading the parking space record information in the database, and dynamically generating multiple editable parking space map labels corresponding to each parking space record information based on the data stored in each field in each loaded parking space record information. In the scheme of the present application, multiple editable parking space map labels corresponding to each parking space map on the regional parking space electronic map can be generated at one time, which solves the problem of the tedious and time-consuming problem of users manually setting the editable parking space map labels one by one.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of communications, and in particular to a method for generating parking space map labels, a method and device for counting the number of parking space statuses. Background Art

[0002] As people's living standards improve, the use of vehicles has become more popular, and parking lots as places for parking vehicles have become particularly important. Some parking lots are equipped with corresponding parking guidance systems to remind users of the parking space usage status of the parking lot, so that users can park their vehicles quickly according to the prompt information of the parking guidance system.

[0003] At present, in order to monitor the real-time usage status of all parking spaces in each parking area of ​​the parking lot in real time, the parking guidance system needs to be associated with an electronic map of the area to display the real-time usage status of all parking spaces in each parking area, so as to guide the parking of vehicles according to the real-time usage status of parking spaces in each parking area. In addition, the current parking guidance system needs to set up an electronic map of parking spaces to display the parking space distribution map, so that users can park their vehicles according to the parking space information distributed on the parking space distribution map.

[0004] However, in the prior art, the setting method of the electronic parking map is relatively complicated, and it is necessary to manually set label information for each parking space on the electronic parking map to display the status of each parking space, such as idle, occupied or faulty status. Therefore, the development and application of the parking guidance system in the prior art is cumbersome and time-consuming, requiring a large amount of work to be wasted, and the manpower and material costs are high. Summary of the invention

[0005] The embodiments of the present application provide a method for generating parking space map labels, a method and device for counting the number of parking space states, which overcome the above-mentioned problems or at least partially solve the above-mentioned problems.

[0006] In a first aspect of the present application, a method for generating a parking space map label is provided, comprising: establishing a corresponding regional parking space electronic map for each parking area in a parking lot, wherein each parking area corresponds to an area number and a regional parking space electronic map, each regional parking space electronic map displays multiple parking space maps with different parking space map numbers, each regional parking space electronic map has a corresponding regional parking space information file, and the regional parking space information file is used to record information related to multiple parking spaces. Figure 1a corresponding current parking space record information, each parking space record information includes an area number field, a parking space map number field, a preset parking space map size field, a preset parking space map placement angle field and a relative position field; upon receiving a first instruction to obtain the position of a first parking space map among multiple parking space maps displayed on the regional parking space electronic map, the relative position of the first parking space map and the preset origin is transmitted to the cache, the regional parking space information file corresponding to the regional parking space electronic map is called and displayed, and upon receiving a second instruction to store or replace the relative position transmitted to the cache in the relative position field in one of the parking space record information, the parking space map number of the first parking space map indicated by the second instruction is transmitted to the cache relative position and stored or replaced in the above relative position field, until the relative positions of all parking space maps on the regional parking space electronic map and the preset origin are stored or replaced in the relative position fields in the corresponding parking space record information; upon receiving a second instruction to store or replace the relative position transmitted to the cache in the relative position field in one of the parking space record information When receiving the third instruction for importing all the parking space record information in the regional parking space information file into the database, all the parking space record information in the regional parking space information file is imported into the corresponding field of the parking space map record table in the database according to the regional number recorded in the regional number field of the regional parking space information file; when receiving the fourth instruction for generating an editable parking space map label, the regional number corresponding to the regional parking space electronic map is identified, all the parking space record information in the database is loaded from the corresponding field according to the identified regional number, and a plurality of editable parking space map labels corresponding to each of the parking space record information are dynamically generated according to the data stored in the regional number field, the parking space map number field, the preset parking space map size field, the preset parking space map placement angle field and the relative position field in each of the loaded parking space record information, wherein the generated editable parking space map label is a transparent box, and a first vehicle picture with an initial color is displayed in the box, which is used to indicate the initial state of the actual parking space corresponding to the parking space map.

[0007] In some possible implementations, after the parking space map number of the first parking space map indicated by the second instruction is transmitted to the cached relative position for storage or replaced to the relative position field, and before receiving the third instruction for importing all parking space record information in the regional parking space information file into the database, the parking space map label generation method further includes: upon receiving a verification instruction for the number of parking space record information in the regional parking space information file, determining a size relationship between the number of parking space record information in the regional parking space information file and the received number to be verified, and verifying the number of parking space record information according to the size relationship, wherein the number to be verified is the number of multiple parking space maps displayed in the regional parking space electronic map;

[0008] and / or, upon receiving a verification instruction for whether all parking space map numbers in the regional parking space information file are continuous, verifying whether all parking space map numbers in the regional parking space information file are continuous according to the received minimum parking space map number and maximum parking space map number and by using all pre-stored parking space map numbers and a first preset function;

[0009] and / or, upon receiving a verification instruction for whether all parking space map numbers in the regional parking space information file overlap, verifying whether all parking space map numbers in the regional parking space information file overlap according to the received minimum parking space map number and maximum parking space map number and using a second preset function;

[0010] And / or, when a verification instruction is received as to whether there is a parking space map number that is not within a preset number range in the regional parking space information file, a verification is performed on whether the parking space map number in the regional parking space information file is within the preset number range based on the received minimum parking space map number and maximum parking space map number and through a third preset function.

[0011] In some possible implementations, after the parking space map number of the first parking space map indicated by the second instruction is transmitted to the cached relative position storage or replaced to the relative position field, before receiving the third instruction to import all parking space record information in the regional parking space information file into the database, the parking space map label generation method also includes: when receiving the fifth instruction to verify whether the parking space map positions indicated by the parking space record information in the regional parking space information file overlap, determining whether the parking space map positions indicated by the parking space record information in the regional parking space information file overlap through the relative position in each parking space record information and the preset parking space map size.

[0012] In some possible implementations, after the step of dynamically generating a plurality of editable parking space map labels corresponding one-to-one to each parking space record information, the parking space map label generation method further includes: when a sixth instruction for adjusting the position or size of the editable parking space map label is received, determining an area number according to a parking space map number corresponding to the editable parking space map label of the to-be-adjusted position or size indicated by the sixth instruction, and updating the parameters of the to-be-adjusted position or size indicated in the sixth instruction to a corresponding field of a parking space map record table in a database according to the determined area number;

[0013] and / or, when receiving the seventh instruction for adding an editable parking space map label, determining the area number according to the parking space map number corresponding to the editable parking space map label to be added indicated by the seventh instruction, and adding the parameter to be added indicated in the seventh instruction to the corresponding field of the parking space map record table in the database according to the area number;

[0014] And / or, when the eighth instruction to delete the editable parking space map label is received, the editable parking space map label to be deleted indicated in the eighth instruction is deleted and the area number is determined according to the parking space map number corresponding to the editable parking space map label to be deleted indicated in the eighth instruction, and the parameters to be deleted in the corresponding fields of the parking space map record table in the database are deleted according to the area number.

[0015] In some possible implementations, after the step of dynamically generating a plurality of editable parking space map labels corresponding to each parking space record information, the parking space map label generation method further includes: if the electronic parking space map of the current area is in an open state, after receiving the current state information of any actual parking space uploaded by the ultrasonic detector, determining a second parking space map corresponding to any actual parking space, and updating the current state information to a corresponding field of a parking space map record table in the database according to the area number corresponding to the determined second parking space map; determining a second vehicle image corresponding to the current state information according to the current state information, replacing the first vehicle image with the second vehicle image, the color of the second vehicle image is different from the initial color, and each actual parking space is provided with an ultrasonic detector; if the electronic parking space map of the current area is not in an open state, after receiving the current state information of any actual parking space uploaded by the ultrasonic detector, determining a third parking space map corresponding to any actual parking space, and updating the current state information to a corresponding field of a parking space map record table in the database according to the area number corresponding to the determined third parking space map; so that when a ninth instruction to open the electronic parking space map of the current area is received, in the process of loading all the parking space record information in the database, at least the parking space record information after the current state information is updated is also loaded.

[0016] According to a second aspect of the present application, a method for counting the number of parking space statuses is provided, and the method for counting the number of parking space statuses comprises: after executing the steps of the parking space map label generation method of any of the above embodiments, the following steps are further executed: when the regional parking space electronic map is in an open state, the actual number of vacant parking spaces in the corresponding parking area is counted and displayed according to the current status information and the area number corresponding to the regional parking space electronic map.

[0017] The third aspect of the present application provides a parking space map label generation device, including: an establishment module, a receiving module, a transmission module, a cache module, a calling module, a display module, a storage replacement module, an import module, an identification module, a loading module and a generation module. The establishment module is used to establish a corresponding regional parking space electronic map for each parking area in the parking lot, wherein each parking area corresponds to an area number and a regional parking space electronic map, each regional parking space electronic map displays multiple parking space maps with different parking space map numbers, each regional parking space electronic map has a corresponding regional parking space information file, and the regional parking space information file is used to record information related to multiple parking spaces. Figure 1a corresponding current parking space record information, each parking space record information includes an area number field, a parking space map number field, a preset parking space map size field, a preset parking space map placement angle field and a relative position field; the receiving module is used to receive a first instruction for obtaining the position of a first parking space map among multiple parking space maps displayed on the regional parking space electronic map; the transmission module is used to transmit the relative position of the first parking space map and the preset origin to the cache when receiving the first instruction for obtaining the position of the first parking space map among multiple parking space maps displayed on the regional parking space electronic map; the cache module is used to store the relative position transmitted by the transmission module; the calling module is used to transmit the relative position of the first parking space map and the preset origin to the cache when receiving the first instruction for obtaining the position of the first parking space map At the same time as the information is input to the cache, the regional parking space information file corresponding to the regional parking space electronic map is called; the display module is used to display the regional parking space information file called by the calling module; the receiving module is also used to receive a second instruction to store or replace the relative position transmitted to the cache into a relative position field in one of the parking space record information; the storage replacement module is used to, when receiving the second instruction to store or replace the relative position transmitted to the cache into the relative position field, transmit the parking space map number of the first parking space map indicated by the second instruction to the cache relative position storage or replace it into the above relative position field, until the relative positions of all parking space maps on the regional parking space electronic map and the preset origin are stored or replace to the relative position field in the respective corresponding parking space record information; the receiving module is also used to receive a third instruction to import all the parking space record information in the regional parking space information file into the database; the importing module is used to import all the parking space record information in the regional parking space information file into the corresponding field of the parking space map record table in the database according to the area number recorded in the area number field in the regional parking space information file when receiving the third instruction to import all the parking space record information in the regional parking space information file into the database; the receiving module is also used to receive a fourth instruction to generate an editable parking space map label; the identifying module is used to identify the fourth instruction to generate an editable parking space map label when receiving the fourth instruction to generate an editable parking space map label. The regional parking space electronic map corresponds to the regional number; the loading module is used to load all the parking space record information in the database from the corresponding field according to the regional number identified by the identification module; the generating module is used to dynamically generate a plurality of editable parking space map labels corresponding to each parking space record information one by one according to the data stored in the regional number field, the parking space map number field, the preset parking space map size field, the preset parking space map placement angle field and the relative position field in each parking space record information loaded by the loading module, wherein the generated editable parking space map label is a transparent box, and the first vehicle picture with an initial color is displayed in the box, which is used to indicate the initial state of the actual parking space corresponding to the parking space map.

[0018] In a fourth aspect of the present application, a parking space map label generation device is provided, comprising: a processor, a receiver, a transmitter, a buffer, and a display. The processor is used to establish a corresponding regional parking space electronic map for each parking area in the parking lot, wherein each parking area corresponds to an area number and a regional parking space electronic map, each regional parking space electronic map displays multiple parking space maps with different parking space map numbers, each regional parking space electronic map has a corresponding regional parking space information file, and the regional parking space information file is used to record information related to multiple parking spaces. Figure 1a corresponding current parking space record information, each parking space record information includes an area number field, a parking space map number field, a preset parking space map size field, a preset parking space map placement angle field and a relative position field; the receiver is used to receive a first instruction to obtain the position of a first parking space map among multiple parking space maps displayed on the regional parking space electronic map; the transmitter is used to transmit the relative position of the first parking space map and the preset origin to the cache when receiving the first instruction to obtain the position of the first parking space map among multiple parking space maps displayed on the regional parking space electronic map; the cache is used to cache the relative position of the first parking space map transmitted by the transmitter and the preset origin; the processor is also used to cache the relative position of the first parking space map and the preset origin when caching the first parking space map When the relative position of the preset origin is transmitted to the cache, the regional parking space information file corresponding to the regional parking space electronic map is called; the display is used to display the regional parking space information file called by the processor; the receiver is also used to receive a second instruction to store or replace the relative position transmitted to the cache into a relative position field in one of the parking space record information; the processor is also used to, when receiving the second instruction to store or replace the relative position transmitted to the cache into a relative position field in one of the parking space record information, transmit the parking space map number of the first parking space map indicated by the second instruction to the cache relative position storage or replace it with the above relative position field until the relative position on the regional parking space electronic map is stored. The relative positions of some parking space maps and the preset origin are stored or replaced in the relative position fields in the corresponding parking space record information; the receiver is also used to receive a third instruction to import all the parking space record information in the regional parking space information file into the database; the processor is also used to import all the parking space record information in the regional parking space information file into the corresponding fields of the parking space map record table in the database according to the area number recorded in the area number field in the regional parking space information file when receiving the third instruction to import all the parking space record information in the regional parking space information file into the database; the receiver is also used to receive a fourth instruction to generate an editable parking space map label; the processor is also used to generate a fourth instruction ... When the fourth instruction of generating an editable parking space map label is executed, the area number corresponding to the regional parking space electronic map is identified, all the parking space record information in the database is loaded from the corresponding field according to the identified area number, and a plurality of editable parking space map labels corresponding to each parking space record information are dynamically generated according to the data stored in the area number field, the parking space map number field, the preset parking space map size field, the preset parking space map placement angle field and the relative position field in each loaded parking space record information, wherein the generated editable parking space map label is a transparent box, and the first vehicle picture with an initial color is displayed in the box, which is used to indicate the initial state of the actual parking space corresponding to the parking space map.

[0019] In a fifth aspect of the present application, a computer device is provided, comprising: a memory and a processor, wherein a computer program is stored in the memory; when the processor executes the computer program, the parking space map label generation method of any of the above embodiments is implemented, or when the processor executes the computer program, the parking space status number counting method of any of the above embodiments is implemented.

[0020] In a sixth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the parking space map label generation method of any of the above embodiments is implemented, or when the computer program is executed by a processor, the parking space status number counting method of any of the above embodiments is implemented.

[0021] In summary, in the implementation of the present application, each parking space on the regional parking space electronic map can be generated at one time. Figure 1 A plurality of editable parking space map labels corresponding to one another are provided, and the user does not need to manually set the editable parking space map labels for each parking space map on the parking space electronic map one by one, which solves the problems of tedious and time-consuming manual setting of the above-mentioned editable parking space map labels by the user, inaccurate position, inconsistent size, etc., and can also save a lot of workload and reduce manpower and material costs.

[0022] The above description is only an overview of the technical solution of the implementation method of the present application. In order to more clearly understand the technical means of the implementation method of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the implementation method of the present application more obvious and easy to understand, the specific implementation method of the present application is specifically listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions of the implementation methods of the present application, a brief introduction will be given below to the drawings required for use in the description of the implementation methods. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0024] Figure 1 Schematic diagram of the process of generating parking space map labels in the implementation manner of the present application.

[0025] Figure 2 This is a schematic diagram of the structure of a parking space map label generating device in another embodiment of the present application.

[0026] Figure 3 This is a schematic diagram of the structure of another parking space map label generating device in another embodiment of the present application.

[0027] Figure 4 This is a schematic diagram of the structure of a computer device in another embodiment of the present application. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solutions and advantages of the implementation methods of this application clearer, the technical solutions in the implementation methods of this application will be clearly and completely described below in conjunction with the drawings in the implementation methods of this application. Obviously, the described implementation methods are part of the implementation methods of this application, not all of the implementation methods. Based on the implementation methods in this application, all other implementation methods obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used in the specification of the application are only for the purpose of describing specific implementation methods and are not intended to limit this application; the terms "including" and "having" in the specification, claims and drawings of this application and any variations thereof are intended to cover non-exclusive inclusions.

[0030] Reference to "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present application. The appearance of the phrase "embodiment" in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0031] In addition, the terms "first", "second", etc. in the specification and claims of this application or the above-mentioned drawings are used to distinguish different objects rather than to describe a specific order, and may explicitly or implicitly include one or more of the features.

[0032] In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, the terms "connected", "connected" or "communication connection" should be understood in a broad sense. For example, "connected", "connected" or "communication connection" can refer to not only physical connection, but also electrical connection or signal connection. For example, it can be directly connected, that is, physically connected, or indirectly connected through at least one intermediate element, as long as the circuit is connected, or it can be the internal connection of two elements; signal connection can refer to signal connection through a media medium, such as radio waves, in addition to signal connection through a circuit. For ordinary technicians in this field, the specific meanings of the above terms in the present application can be understood according to specific circumstances.

[0033] The term "and / or" in this article is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists, A and B exist at the same time, and B exists. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0034] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the implementation manner of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0035] Figure 1 This is a flow chart of a method for generating a parking space map label in some implementation modes of the present application. The method for generating a parking space map label may be as follows.

[0036] Step S101, creating a corresponding regional parking space electronic map for each parking area of ​​the parking lot.

[0037] In actual applications, a parking lot usually has multiple parking areas, such as Area A on the first underground floor, Area B on the first underground floor, Area A on the first ground floor, and Area B on the first ground floor. The above division of parking areas should be understood as an example and should not be understood as a restriction on this application. Each parking area in the parking lot corresponds to a parking space plane distribution map. When establishing a corresponding regional parking space electronic map for each parking area, the parking space plane distribution map is used as the window background to establish a corresponding regional parking space electronic map for the parking area.

[0038] Among them, each parking area corresponds to an area number and an area parking space electronic map. For example, if the area number is Area A on the first underground floor, then Area A on the first underground floor can represent both the area number of the parking area and the area number of the area parking space electronic map. Since each parking space plan distribution map displays multiple parking space maps with different parking space map numbers, the area parking space electronic map with the window background as the parking space plan distribution map also displays multiple parking space maps with different parking space map numbers, and each area parking space electronic map has a corresponding area parking space information file. The area parking space information file of this embodiment is an area parking space EXCEL file. The area parking space information file is used to record information related to multiple parking spaces. Figure 1A corresponding current parking space record information. Each parking space record information includes an area number field, a parking space map number field, a preset parking space map size field, a preset parking space map placement angle field and a relative position field. It is worth mentioning that before this step S101, a coordinate system is pre-established, with the upper left corner of the window where the regional parking space electronic map is located as the preset origin, an X-axis is established to the right with the preset origin, and a Y-axis is established downward with the preset origin, the unit value size of the X-axis and the Y-axis is determined according to the pixel of the display resolution, and the multiple coordinate values ​​of each parking space map in the coordinate system are determined according to the unit value size of the X-axis and the Y-axis. For example, if each parking space map is a rectangle, the coordinate value of the upper left corner of each parking space map is determined.

[0039] Table 1

[0040]

[0041]

[0042] In Table 1, Table 1 shows part of the display information of the regional parking space EXCEL file. The contents displayed in each column in Table 1 are only used as examples and are not to further limit the display contents of the regional parking space EXCEL file. Each column of information in the regional parking space EXCEL file can be represented by a column. In actual applications, different columns are set according to the actual parking space record information of the parking space map displayed in the regional parking space electronic map. Table 1 in this embodiment is only an example and should not be understood as a specific limitation on the display information of the regional parking space EXCEL file in this embodiment. In actual applications, the regional parking space EXCEL file also includes other columns, such as the real-time use status column of the parking space, which is used to store the real-time use status of the parking space. For example, when the parking space is idle, the real-time use status of the parking space is idle; when the parking space fails, the real-time use status of the parking space is failed; when the parking space is occupied, the real-time use status of the parking space is occupied. Alternatively, the regional parking space EXCEL file also includes a parking space communication address column, which is used to store the communication address of the parking space, such as the physical address of the ultrasonic detector used to detect the real-time use status of the parking space.

[0043] Taking Table 1 as an example, in the regional parking space EXCEL file, the area number field is understood as the area number column, which is used to pre-store the area number, and since the same regional parking space electronic map represents a parking area, the area number stored in the area number column of each parking space record information in the regional parking space EXCEL file should be the same. For example, for the regional parking space electronic map whose parking area is the underground first floor area A, the area number pre-stored in each row of the area number column is the underground first floor area A. The parking space map number field is understood as the parking space map number column, which is used to pre-store the parking space map number of the parking space map displayed on the regional parking space electronic map, and the parking space map number corresponds to the actual parking space number in the parking area. Since the regional parking space electronic map displays multiple parking space maps with different parking space map numbers, the number and specific number values ​​of the parking space map numbers in the regional parking space EXCEL file are consistent with the number and specific number values ​​of the parking space map numbers displayed on the regional parking space electronic map. Take the example that the number of multiple parking space maps displayed on the regional parking space electronic map is four parking space maps, for example, the four parking space maps are the first parking space map, the second parking space map, the third parking space map and the fourth parking space map, the first parking space map has a parking space map number of 1001, the second parking space map has a parking space map number of 1002, the third parking space map has a parking space map number of 1003, and the fourth parking space map has a parking space map number of 1004... It is worth mentioning that in actual applications, the number of parking space maps displayed on the regional parking space electronic map is not limited to 4, and the number of parking space maps displayed on the regional parking space electronic map is dozens, even hundreds or thousands, and the above is only an example. The preset parking space map size field is understood as a preset parking space map size column, which is used to pre-store the size of the preset parking space. For example, the size of the preset parking space indicated by the preset parking space map size column in a parking space record information corresponding to the first parking space map is the length value and width value of the preset parking space, assuming that the length value is A1 and the width value is B1. Similarly, the preset parking space map size corresponding to the second parking space map is the length value A2 and the width value B2, the preset parking space map size corresponding to the third parking space map is the length value A3 and the width value B3, and the preset parking space map size corresponding to the fourth parking space map is the length value A4 and the width value B4. In practical applications, the actual parking space sizes of a parking area are usually the same, so the above A1, A2, A3 and A4 are the same, and B1, B2, B3 and B4 are the same. The preset parking space map placement angle field is understood as the preset parking space map placement angle column, which is used to pre-store the placement angles of parking spaces, for example, the angle between the length direction of the parking space map and the X-axis (or Y-axis), or the angle between the width direction of the parking space map and the X-axis (or Y-axis).The following example illustrates that if the length direction of the first parking space diagram is parallel to the X-axis (or Y-axis), the parking space placement angle R1 corresponding to the first parking space diagram is 0 degrees, if the length direction of the second parking space diagram is perpendicular to the X-axis (or Y-axis), the parking space placement angle R2 corresponding to the second parking space diagram is 90 degrees, if the length direction of the third parking space diagram and the X-axis (or Y-axis) are at an angle of 45 degrees, the parking space placement angle R3 corresponding to the third parking space diagram is 45 degrees, if the length direction of the fourth parking space diagram and the X-axis (or Y-axis) are at an angle of 135 degrees, the parking space placement angle R4 corresponding to the fourth parking space diagram is 135 degrees. The relative position field is understood as a relative position column, which is used to update the relative position of the parking space diagram and the preset origin, and it is worth mentioning that the relative position column is to be updated. For the first parking space map, the relative position of the first parking space map and the preset origin is defined as the relative position of the upper left corner of the first parking space map and the preset origin. Since the coordinates of the preset origin are (0, 0), the relative position of the first parking space map and the preset origin is the coordinate value of the upper left corner of the first parking space map, such as (C1, D1). Similarly, the relative position of the second parking space map and the preset origin is the coordinate value of the upper left corner of the second parking space map, such as (C2, D2). The relative position of the third parking space map and the preset origin is the coordinate value of the upper left corner of the third parking space map, such as (C3, D3). The relative position of the fourth parking space map and the preset origin is the coordinate value of the upper left corner of the fourth parking space map, such as (C4, D4).

[0044] Step S102, when receiving a first instruction to obtain the position of a first parking space map among a plurality of parking space maps displayed on the regional parking space electronic map, the relative position of the first parking space map and the preset origin is transmitted to the cache, and the regional parking space information file corresponding to the regional parking space electronic map is called and displayed. Since the coordinate value of the preset origin is (0, 0), the relative position of the first parking space map and the preset origin refers to the coordinate value of the first parking space map.

[0045] In this embodiment, the first instruction input by the user for obtaining the position of the first parking space map among the multiple parking space maps displayed on the regional parking space electronic map can be received through the display screen. For example, when the user clicks the upper left corner of the first parking space map with the left button of the mouse, it is determined that the first instruction input by the user for obtaining the position of the first parking space map among the multiple parking space maps displayed on the regional parking space electronic map is received. It is worth mentioning that when calling and displaying the regional parking space EXCEL file corresponding to the regional parking space electronic map, the regional parking space electronic map and the regional parking space EXCEL file can be displayed at the same time, or the regional parking space electronic map and the regional parking space EXCEL file can be displayed in pages. And when the regional parking space electronic map and the regional parking space EXCEL file are displayed in pages, the page displaying the regional parking space electronic map and the page displaying the regional parking space EXCEL file can be switched.

[0046] Step S103, when receiving the second instruction to store or replace the relative position transmitted to the cache into the relative position field in one of the parking space record information, the parking space map number of the first parking space map indicated by the second instruction will be transmitted to the cache and stored or replaced into the relative position field, specifically, stored or replaced into the relative position field in the parking space record information in the regional parking space EXCEL file.

[0047] In this embodiment, a second instruction input by the user for storing or replacing the relative position transmitted to the cache into the relative position field in one of the parking space record information can be received through the display screen. For example, when the user clicks the relative position field of a parking space record information corresponding to the above-mentioned first parking space map with the left button (or right button) of the mouse, it is determined that the above-mentioned second instruction has been received.

[0048] Similarly, continue to execute step S102 to step S103, and store or replace the relative positions of other parking space maps except the first parking space map displayed on the regional parking space electronic map and the preset origin in their respective corresponding relative position fields, until the relative positions of all parking space maps on the regional parking space electronic map and the preset origin are stored or replaced in the relative position fields in the corresponding parking space record information.

[0049] Step S104, when receiving a verification instruction for the number of parking space record information in the regional parking space information file, determine the size relationship between the number of parking space record information in the regional parking space information file and the received number to be verified, and verify the number of parking space record information based on the size relationship, wherein the number to be verified is the number of multiple parking space maps displayed in the regional parking space electronic map.

[0050] In this embodiment, the verification instruction for the number of parking space record information in the regional parking space information file input by the user can be received through the display screen. For example, the number to be verified input by the user is first received, and then the verification instruction for confirming the number of parking space record information in the regional parking space information file is received. When the verification instruction for the number of parking space record information in the regional parking space information file is received, it is counted that there are N1 parking space record information in the regional parking space EXCEL file. At this time, the N1 parking space record information counted indicates that the number of parking space maps displayed in the regional parking space electronic map in the regional parking space EXCEL file whose relative position has been updated is N1. Assume that the number to be verified received is N2, where N2 represents the actual number of parking space maps that should be displayed in the regional parking space electronic map. If N1 is the same as N2, it means that the number of parking space record information in the regional parking space information file is the same as the number to be verified received, that is, the verification of the number of parking space record information is passed. If N1 is greater than N2, information can be displayed to prompt that the number of parking space record information in the regional parking space EXCEL file is greater than the actual number of parking space diagrams that should be displayed in the parking space electronic map, wherein the displayed message content is set according to the actual scenario, and this embodiment does not limit it. If N1 is less than N2, information can be displayed to prompt that the number of parking space record information in the regional parking space EXCEL file is less than the actual number of parking space diagrams that should be displayed in the parking space electronic map, wherein the displayed message content is set according to the actual scenario, and this embodiment does not limit it.

[0051] Step S105, when receiving a verification instruction for whether all parking space map numbers in the regional parking space information file are continuous, verify whether all parking space map numbers in the regional parking space information file are continuous according to the received minimum parking space map number and maximum parking space map number and through all pre-stored parking space map numbers and a first preset function.

[0052] In this embodiment, a second instruction input by the user for storing or replacing the relative position transmitted to the cache into the relative position field in one of the parking space record information can be received through the display screen. For example, the user clicks the relative position field of a parking space record information corresponding to the first parking space mentioned above with the left button of the mouse.

[0053] It should be noted that when the parking space map number is set to increase continuously, for example, if there are ten parking space maps in the regional electronic parking space map, the parking space map numbers corresponding to the parking space maps set and stored in advance are 1001, 1002, 1003, 1004...1010. When receiving a verification instruction for whether the parking space map numbers in the regional parking space information file are continuous, the parking space map numbers are verified to be continuous based on the first parking space map number 1001 and the last parking space map number 1010 input by the user and through a first preset function, for example, the first preset function is a first continuous increasing function. If the parking space map numbers in the regional parking space EXCEL file are verified to be 1001, 1003, 1004...1010 through the first continuous increasing function, it means that the parking space map numbers 1001 and 1003 are discontinuous, and information can be displayed to indicate that the parking space map numbers 1001 and 1003 are discontinuous, and the specific displayed content is not limited in this embodiment; or, the parking space map number verified by the first continuous increasing function is compared with the pre-stored parking space map number corresponding to the parking space map, and information that the parking space map number 1002 does not exist in the regional parking space EXCEL file is obtained, and information can be displayed to indicate that the parking space map number 1002 does not exist, and the specific displayed content is not limited in this embodiment.

[0054] Step S106, when receiving a verification instruction for whether all parking space map numbers in the regional parking space information file overlap, verify whether all parking space map numbers in the regional parking space information file overlap according to the received minimum parking space map number and maximum parking space map number and through a second preset function.

[0055] In this embodiment, a verification instruction input by the user for determining whether the parking space map numbers in the regional parking space information file overlap can be received through the display screen. For example, the minimum parking space map number and the maximum parking space map number input by the user are first received, and then a verification instruction input by the user to confirm whether the parking space map numbers in the regional parking space information file overlap is received.

[0056] As described above, when the set parking space map number is continuously increasing, for example, if there are ten parking space maps in the regional electronic parking space map, the set and pre-stored parking space map numbers corresponding to the parking space maps are 1001, 1002, 1003, 1004...1010. When a verification instruction is received to check whether the parking space map numbers in the regional parking space information file overlap, the first parking space map number 1001 and the last parking space map number 1010 input by the user are used to verify whether the parking space map numbers in the regional parking space information file overlap through a second preset function, for example, the second preset function is a second continuously increasing function. If at least two records of parking space map numbers 1001 are obtained in the regional parking space EXCEL file through the second continuously increasing function, it means that the parking space map number 1001 is repeated, and information can be displayed to indicate that the parking space map number 1001 is repeated, and the specific displayed content is not limited in this embodiment.

[0057] Step S107, when receiving a verification instruction for whether there is a parking space map number that is not within the preset number range in the regional parking space information file, verify whether the parking space map number in the regional parking space information file is within the preset number range based on the received minimum parking space map number and maximum parking space map number and through a third preset function.

[0058] A verification instruction input by the user for determining whether there is a parking space map number that is not within a preset number range in the regional parking space information file may be received through the display screen. For example, a minimum parking space map number and a maximum parking space map number input by the user may be first received, and then a verification instruction input by the user may be received to confirm whether there is a parking space map number that is not within the preset number range in the regional parking space information file.

[0059] As described above, when the set parking space map number is continuously increasing, for example, if there are ten parking space maps in the regional electronic parking space map, the parking space map numbers corresponding to the parking space maps set and pre-stored are 1001, 1002, 1003, 1004...1010. When a verification instruction is received to determine whether there is a parking space map number that is not within the preset number range in the regional parking space information file, the parking space map number in the regional parking space information file is verified within the preset number range based on the first parking space map number 1001 and the last parking space map number 1010 input by the user, and through the third preset function. For example, the third preset function is a third continuously increasing function. If the parking space map number 1011 is verified by the third continuously increasing function, it means that the parking space map number 1011 is not within the preset number range, and information can be displayed to indicate that the parking space map number 1011 is not within the preset number range, and the specific displayed content is not limited in this embodiment.

[0060] Step S108, when receiving the fifth instruction for verifying whether the parking space map positions indicated by the parking space record information in the regional parking space information file overlap, determine whether the parking space map positions indicated by the parking space record information in the regional parking space information file overlap according to the relative position in each parking space record information and the preset parking space map size.

[0061] In this implementation manner, a fifth instruction input by a user for verifying whether the parking space map positions indicated by the parking space record information in the regional parking space information file overlap may be received through the display screen.

[0062] The following is a detailed description using the example that the length direction of the parking space diagram is parallel to the X-axis:

[0063] According to the length value of the parking space map and the coordinate values ​​of two adjacent parking space maps, it is verified whether the parking space map positions indicated by the parking space record information in the regional parking space EXCEL file overlap.

[0064] Specifically, assuming that the length value of the parking space map is 5, the two adjacent parking space maps are the fifth parking space map and the sixth parking space map. The parking space map number of the fifth parking space map is 1005, and the value of the horizontal coordinate is 1. The parking space map number of the sixth parking space map is 1006, and the value of the horizontal coordinate is 5. The absolute value of the horizontal coordinate value 1 of the fifth parking space map minus the horizontal coordinate value 5 of the sixth parking space map is equal to 4. At this time, the absolute value 4 is less than the length value 5 of the parking space map, indicating that the fifth parking space map and the sixth parking space map overlap in the length direction of the parking space map. At this time, information can be displayed to indicate that the fifth parking space map and the sixth parking space map overlap in the length direction of the parking space map. Similarly, it can be verified whether the fifth parking space map and the sixth parking space map overlap in the width direction of the parking space map.

[0065] This embodiment does not limit the execution order of the following steps, step S104, step S105, step S106, step S107 and step S108.

[0066] Step S109, when receiving the third instruction to import all parking space record information in the regional parking space information file into the database, import all parking space record information in the regional parking space information file into the corresponding field of the parking space map record table in the database according to the area number recorded in the area number field in the regional parking space information file.

[0067] In this embodiment, a third instruction input by the user for importing all parking space record information in the regional parking space information file into the database can be received through the display screen. For example, by receiving an instruction that the first button is selected, it is determined that the third instruction for importing all parking space record information in the regional parking space information file into the database is received. Specifically, when the user clicks the first button with the mouse, it is received that the first button is selected.

[0068] The database of this embodiment is provided with a parking space map record table, for example, the parking space map record table can be displayed in the record mode of Table 2 but is not limited thereto. It should be understood that Table 2 is an example and does not further limit the parking space map record table of this embodiment. If a parking lot has four parking areas, and the area numbers are Area A on the first underground floor, Area B on the first underground floor, Area A on the first ground floor, and Area B on the first ground floor, then the corresponding fields of the parking space map record table are Field 0001 corresponding to Area A on the first underground floor, Field 0002 corresponding to Area B on the first underground floor, Field 0003 corresponding to Area A on the first ground floor, and Field 0004 corresponding to Area B on the first ground floor.

[0069] In this implementation, all parking space record information in the regional parking space information file is imported into the 0001 field of the parking space map record table in the database according to the area number recorded in the area number field in the regional parking space information file in the basement A area.

[0070] Table 2

[0071] Area No. Corresponding fields Basement 1, Area A 0001 Basement 1, Area B 0002 Area A, Ground Floor 0003 Area B, Ground Floor 0004 ... ...

[0072] Step S110, upon receiving the fourth instruction to generate an editable parking space map label, identify the area number corresponding to the regional parking space electronic map, load all parking space record information in the database from the corresponding field according to the identified area number, and dynamically generate multiple editable parking space map labels corresponding to each parking space record information according to the data stored in the area number field, parking space map number field, preset parking space map size field, preset parking space map placement angle field and relative position field in each loaded parking space record information. The generated editable parking space map label is an editable label control in a rectangular box, and is displayed transparently, and a first vehicle image with an initial color is displayed in the rectangular box to indicate the initial state of the actual parking space corresponding to the parking space map. For example, a green first vehicle image is displayed in the box to indicate that the initial state of the actual parking space corresponding to the parking space map is idle.

[0073] In this embodiment, when the front-end user issues an instruction to open the regional parking space electronic map, it is determined that the fourth instruction for generating an editable parking space map label input by the receiving user is received. When the fourth instruction for generating an editable parking space map label is received, it is identified that the area number corresponding to the regional parking space electronic map is area A on the first underground floor, and all parking space record information is loaded from the 0001 field of the parking space map record table in the database.

[0074] Step S111, when the sixth instruction for adjusting the position or size of the editable parking space map label is received, the area number is determined according to the parking space map number corresponding to the editable parking space map label whose position or size is to be adjusted as indicated by the sixth instruction, and the parameters of the position or size to be adjusted indicated in the sixth instruction are updated to the corresponding fields of the parking space map record table in the database according to the determined area number.

[0075] In this embodiment, the sixth instruction for adjusting the position or size of the editable parking space map label input by the user is received through the display screen. For example, when the user inputs the sixth instruction by dragging the editable parking space map label with the mouse, it is determined that the sixth instruction for adjusting the position or size of the editable parking space map label input by the user is received. Specifically, when the user drags the editable parking space map label corresponding to the parking space map number 1004 with the mouse and drags the car to the position or size to be adjusted, the first save instruction input by the user is received, and when the first save instruction is received, the parking space map number corresponding to the editable parking space map label of the position or size to be adjusted indicated by the sixth instruction is 1001, and the area number determined thereby is Area A of the first underground floor. According to the corresponding field 0001 of Area A of the first underground floor, the parameters of the position or size to be adjusted indicated in the sixth instruction are updated to the 0001 field of the parking space map record table in the database.

[0076] It is worth mentioning that the position or size to be adjusted indicated in the sixth instruction refers to the position or size of the mouse drag. When the mouse dragging is stopped, the editable parking space map label corresponding to the parking space map number 1004 is restored to the state before dragging. Since the parameters of the position or size to be adjusted indicated in the sixth instruction are updated to the 0001 field of the parking space map record table in the database, after this step S111, when the instruction to generate an editable parking space map label issued by the back end is received, the editable parking space map label can be generated according to the updated parameters of the position or size to be adjusted in the parking space map record table of the database for all parking space record information after the adjusted position or size. For example, when the instruction to call and display the regional parking space electronic map is received from the back end, the editable parking space map label is generated according to the updated parameters of the position or size to be adjusted in the parking space map record table of the database for all parking space record information after the adjusted position or size, and the regional parking space electronic map is opened at the same time.

[0077] Step S112, when the seventh instruction to add an editable parking space map label is received, the area number is determined according to the parking space map number corresponding to the editable parking space map label to be added indicated by the seventh instruction, and the parameters to be added indicated in the seventh instruction are added to the corresponding fields of the parking space map record table in the database according to the area number.

[0078] In this embodiment, the seventh instruction for adding an editable parking space map label input by the user may be received through the display screen. For example, the receipt of the seventh instruction for adding an editable parking space map label may be determined by receiving an instruction that the second button is selected.

[0079] Assume that the parking space map to be added is the twelfth parking space map, and the parking space map number of the twelfth parking space map is 1012. When an instruction indicating that the second button is selected is received, an information box pops up. The information box is used to receive the parameters to be added input by the user, that is, the parking space information record of the twelfth parking space map, for example, the parking space map number of the twelfth parking space map, the size of the twelfth parking space map, the placement angle of the twelfth parking space map, and the relative position of the twelfth parking space map. When a second save instruction input by the user is received, the corresponding area number is determined according to the parking space number of the twelfth parking space map. Assuming that the determined area number is area A on the underground first floor, the parameters to be added input by the user are added to the 0001 field of the parking space map record table in the database according to the area number, so that after this step S112, when an instruction to generate an editable parking space map label is received from the back end, an editable parking space map label can be generated according to all the parking space record information after the parking space record information of the twelfth parking space map is newly added to the parking space map record table in the database. For example, when an instruction to call and display the regional parking space electronic map is received from the back end, an editable parking space map label is generated according to all the parking space record information after the parking space record information of the twelfth parking space map is newly added to the parking space map record table in the database, and the regional parking space electronic map is opened at the same time.

[0080] Step S113, when the eighth instruction to delete the editable parking space map label is received, the editable parking space map label to be deleted indicated in the eighth instruction is deleted and the area number is determined according to the parking space map number corresponding to the editable parking space map label to be deleted indicated in the eighth instruction, and the parameters to be deleted in the corresponding fields of the parking space map record table in the database are deleted according to the area number.

[0081] In this implementation, the eighth instruction for deleting the editable parking space map label input by the user may be received through the display screen. For example, the receipt of the eighth instruction for deleting the editable parking space map label may be determined by receiving an instruction that the third button is selected.

[0082] Assume that the parking space map to be deleted is the thirteenth parking space map, and the parking space map number of the thirteenth parking space map is 1013. When an instruction that the third button is selected is received, the parking space map number carried in the instruction is parsed as 1013, that is, the parking space map to be deleted is parsed as the thirteenth parking space map. If the area number determined according to the parking space number 1013 of the thirteenth parking space map is Area A on the underground first floor, the parameter to be deleted in the 0001 field of the parking space map record table in the database is deleted according to the area number Area A on the underground first floor, for example, the parameter to be deleted is the parking space record information corresponding to the parking space map number 1013 in the 0001 field, so that after this step S113, when an instruction to generate an editable parking space map label is received from the back end, an editable parking space map label can be generated according to all the parking space record information after the parking space record information of the thirteenth parking space map is deleted from the parking space map record table in the database, for example, when an instruction to call and display the regional parking space electronic map is received from the back end, an editable parking space map label is generated according to all the parking space record information after the parking space record information of the thirteenth parking space map is deleted from the parking space map record table in the database, and the regional parking space electronic map is opened at the same time.

[0083] Step S114, after receiving the current status information of any actual parking space uploaded by the ultrasonic detector, determine whether the electronic map of parking spaces in the current area is in an open state. If the electronic map of parking spaces in the current area is in an open state, execute step S115; if the electronic map of parking spaces in the current area is not in an open state, execute step S116.

[0084] Step S115, determine the parking space map corresponding to any of the above-mentioned actual parking spaces, and update the current status information to the corresponding field of the parking space map record table in the database according to the area number corresponding to the determined parking space map; determine the second vehicle picture corresponding to the current status information according to the current status information, and replace the first vehicle picture with the second vehicle picture, wherein the color of the second vehicle picture is different from the initial color, and each actual parking space is provided with an ultrasonic detector.

[0085] In actual applications, if the current status information indicates that any of the above actual parking spaces is occupied, the color of the corresponding second vehicle image is red; if the current status information indicates that any of the above actual parking spaces is faulty, the color of the corresponding second vehicle image is yellow.

[0086] In this embodiment, each actual parking space in the parking area is provided with a corresponding ultrasonic detector, and the physical identification of the ultrasonic detector corresponds to the parking space map number of the parking space map corresponding to the detected actual parking space. The ultrasonic detector provided in each actual parking space is used to detect the use status (e.g., free, occupied, or faulty) of each actual parking space. For example, the execution device of the parking space map label generation method in this embodiment is a server, and the server is connected to the ultrasonic detector through a network or other devices, and the ultrasonic detector always detects the current use status of the corresponding actual parking space.

[0087] For the sake of ease of description, it is assumed that the ultrasonic detector corresponding to the first actual parking space is the first ultrasonic detector. When the first ultrasonic detector detects that the usage status of the first actual parking space has changed, for example, an empty parking space is occupied, the current status information of the first actual parking space after the usage status has changed is sent to the server.

[0088] After receiving the current status information of the first actual parking space uploaded by the first ultrasonic detector, the server parses and obtains the physical identification of the first ultrasonic detector and the occupied use status of the first actual parking space, determines the corresponding parking space map number according to the physical identification of the first ultrasonic detector, and determines the corresponding second vehicle image as a red vehicle image according to the occupied use status of the first actual parking space. The red vehicle image replaces the first vehicle image (the vehicle image whose initial color is green) according to the parking space map number corresponding to the first actual parking space, so as to update the vehicle images of different colors displayed in the editable parking space map label on the regional parking space electronic map in real time according to the real-time use status of the actual parking space, so that the user can know the real-time use status of the actual parking space according to the color of the vehicle image displayed in the editable parking space map label.

[0089] If the server does not receive the current status information sent by the first ultrasonic detector within the first preset time, the server transmits a heartbeat packet to the first ultrasonic detector. If the server receives the response information of the first ultrasonic detector to the heartbeat packet within the second preset time after transmitting the heartbeat packet to the first ultrasonic detector, the server determines that the first actual parking space is normal. If the server does not receive the response information of the first ultrasonic detector to the heartbeat packet within the second preset time after transmitting the heartbeat packet to the first ultrasonic detector, the server determines that the first actual parking space is faulty. According to the usage status of the faulty first actual parking space, the corresponding second vehicle picture is determined to be a yellow vehicle picture, and the corresponding parking space map number is determined according to the physical identification of the first ultrasonic detector. According to the parking space map number corresponding to the first actual parking space, the yellow vehicle picture replaces the first vehicle picture (the vehicle picture with the initial color of green), so as to update the vehicle pictures of different colors displayed in the editable parking space map label on the regional parking space electronic map in real time according to the real-time usage status of the actual parking space, so that the user can know the real-time usage status of the actual parking space according to the color of the vehicle picture displayed in the editable parking space map label.

[0090] Step S116, determine the parking space map corresponding to any actual parking space, and update the current status information to the corresponding field of the parking space map record table in the database according to the area number corresponding to the determined parking space map; so that when the ninth instruction to open the electronic map of parking spaces in the current area is received, in the process of loading all the parking space record information in the database, at least the parking space record information after updating the current status information is also loaded.

[0091] For ease of description, it is assumed that the ultrasonic detector corresponding to the first actual parking space is the first ultrasonic detector. When the first ultrasonic detector detects that the usage status of the first actual parking space has changed, for example, an idle parking space is occupied, the current status information of the first actual parking space after the usage status has changed is sent to the server. After receiving the current status information of the first actual parking space uploaded by the first ultrasonic detector, the server parses and obtains the physical identification of the first ultrasonic detector and the usage status of the first actual parking space being occupied. The corresponding parking space map number is determined according to the physical identification of the first ultrasonic detector. For example, the parking space map number is 1001. According to the parking space map number 1001, the area number is determined to be area A on the first underground floor. The field corresponding to area A on the first underground floor is field 0001. If it is determined that the corresponding second vehicle picture is a red vehicle picture based on the occupied usage status of the first actual parking space, the indication information of the red vehicle picture is replaced with the indication information of the original vehicle picture (such as the green vehicle picture) in the 0001 field, so that after this step S116, when an instruction to generate an editable parking space map label is received from the back end, an editable parking space map label can be generated based on all the parking space record information after the green vehicle picture is replaced with the red vehicle picture in the parking space map record table of the database. For example, when an instruction to call and display the regional parking space electronic map is received from the back end, an editable parking space map label is generated based on all the parking space record information after the green vehicle picture is replaced with the red vehicle picture in the parking space map record table of the database, and the regional parking space electronic map is opened at the same time.

[0092] If the server does not receive the current status information sent by the first ultrasonic detector within a first preset time period, the server transmits a heartbeat packet to the first ultrasonic detector. If the server receives the response information of the first ultrasonic detector to the heartbeat packet within a second preset time period after transmitting the heartbeat packet to the first ultrasonic detector, the first actual parking space is determined to be normal. If the server does not receive the response information of the first ultrasonic detector to the heartbeat packet within a second preset time period after transmitting the heartbeat packet to the first ultrasonic detector, the first actual parking space is determined to be faulty. According to the usage status of the faulty first actual parking space, the corresponding second vehicle picture is determined to be a yellow vehicle picture. According to the physical identification of the first ultrasonic detector, the corresponding parking space map number is determined. For example, if the parking space map number is 1001, the area number is determined to be Area A on the first underground floor according to the parking space map number 1001. The field corresponding to Area A on the first underground floor is field 0001. If the corresponding second vehicle picture is determined to be a yellow vehicle picture according to the usage status of the first actual parking space being occupied, the yellow vehicle picture is displayed. The indication information of the vehicle picture is replaced with the indication information of the original vehicle picture (such as the green vehicle picture) in the 0001 field, so that after this step S116, when the instruction to generate an editable parking space map label is received from the back end, the editable parking space map label can be generated according to all the parking space record information after the green vehicle picture is replaced with the yellow vehicle picture in the parking space map record table of the database. For example, when the instruction to call and display the regional parking space electronic map is received from the back end, the editable parking space map label is generated according to all the parking space record information after the green vehicle picture is replaced with the yellow vehicle picture in the parking space map record table of the database, and the regional parking space electronic map is opened at the same time.

[0093] This embodiment does not limit the execution order of the following steps, step S111, step S112, step S113 and step S114.

[0094] In summary, in the technical solution of this embodiment, each parking space on the regional parking space electronic map can be generated at one time. Figure 1 A plurality of editable parking space map labels corresponding to one another are provided, and the user does not need to manually set the editable parking space map labels for each parking space map on the parking space electronic map one by one, which solves the problems of tedious and time-consuming manual setting of the above-mentioned editable parking space map labels by the user, inaccurate position, inconsistent size, etc., and can also save a lot of workload and reduce manpower and material costs.

[0095] The embodiment of the present application also discloses a method for counting the number of parking space statuses. The method for counting the number of parking space statuses in the embodiment of the present application includes: after executing all the steps of the parking space map label generation method of any of the above embodiments, the following steps are further executed: when the regional parking space electronic map is in an open state, the actual number of vacant parking spaces in the corresponding parking area is counted and displayed according to the current status information and the area number corresponding to the regional parking space electronic map, for example, the number of editable parking space map labels with green vehicle pictures displayed on the regional parking space electronic map is counted and displayed.

[0096] In actual applications, if a parking lot includes multiple parking areas, a parking lot including four parking areas is used as an example for explanation. Assuming that the area numbers of the four parking areas are Area A on the underground first floor, Area B on the underground first floor, Area A on the ground first floor, and Area B on the ground first floor, the number of editable parking space map labels with green vehicle images displayed on the regional parking space electronic map corresponding to each parking area is counted respectively. For example, the number of editable parking space map labels with green vehicle images displayed on the regional parking space electronic map of Area A on the underground first floor is 10, the number of editable parking space map labels with green vehicle images displayed on the regional parking space electronic map of Area B on the underground first floor is 15, the number of editable parking space map labels with green vehicle images displayed on the regional parking space electronic map of Area A on the ground first floor is 5, and the number of editable parking space map labels with green vehicle images displayed on the regional parking space electronic map of Area B on the ground first floor is 20. Then the actual number of vacant parking spaces in a parking lot is counted as 10 plus 15 plus 5 plus 20, that is, 50.

[0097] This embodiment corresponds to the parking space map label generation method of any one of the above embodiments. The execution steps of this embodiment can refer to the parking space map label generation method of any one of the above embodiments, which will not be repeated here.

[0098] In summary, in the technical solution of this embodiment, each parking space on the regional parking space electronic map can be generated at one time. Figure 1 A plurality of editable parking space map labels corresponding to one another are provided, and the user does not need to manually set the editable parking space map labels for each parking space map on the parking space electronic map one by one, which solves the problems of tedious and time-consuming manual setting of the above-mentioned editable parking space map labels by users, inaccurate position, inconsistent size, etc., and can also save a lot of workload, reduce manpower and material costs, and can also display the actual number of vacant parking spaces in a parking lot to guide the parking of vehicles.

[0099] See also Figure 2 , Figure 2This is a structural schematic diagram of a parking space map label generation device according to an embodiment of the present application. The parking space map label generation device includes: an establishment module 201, a receiving module 202, a transmission module 203, a cache module 204, a calling module 205, a display module 206, a storage replacement module 207, an import module 208, an identification module 209, a loading module 210 and a generation module 211.

[0100] The establishment module 201 is used to establish a corresponding regional parking space electronic map for each parking area in the parking lot, wherein each parking area corresponds to an area number and a regional parking space electronic map, each regional parking space electronic map displays multiple parking space maps with different parking space map numbers, and each regional parking space electronic map has a corresponding regional parking space information file, which is used to record information related to multiple parking spaces. Figure 1The present parking space record information corresponds to a current parking space record information, each parking space record information includes an area number field, a parking space map number field, a preset parking space map size field, a preset parking space map placement angle field and a relative position field; the receiving module 202 is used to receive a first instruction for obtaining the position of a first parking space map among multiple parking space maps displayed on the regional parking space electronic map; the transmission module 203 is used to transmit the relative position of the first parking space map and the preset origin to the cache when receiving the first instruction for obtaining the position of the first parking space map among multiple parking space maps displayed on the regional parking space electronic map; the cache module 204 is used to store the relative position transmitted by the transmission module 203; the calling module 205 is used to transmit the relative position of the first parking space map and the preset origin to the cache; At the same time as the position is transmitted to the cache, the regional parking space information file corresponding to the regional parking space electronic map is called; the display module 206 is used to display the regional parking space information file called by the calling module 205; the receiving module 202 is also used to receive a second instruction to store or replace the relative position transmitted to the cache into a relative position field in one of the parking space record information; the storage replacement module 207 is used to, when receiving the second instruction to store or replace the relative position transmitted to the cache into the relative position field, transmit the parking space map number of the first parking space map indicated by the second instruction to the cache relative position storage or replace it into the above relative position field, until the relative positions of all parking space maps on the regional parking space electronic map and the preset origin are uniformly stored. The receiving module 202 is further used to receive a third instruction for importing all parking space record information in the regional parking space information file into the database; the importing module 208 is used to import all parking space record information in the regional parking space information file into the corresponding field of the parking space map record table in the database according to the area number recorded in the area number field in the regional parking space information file when receiving the third instruction for importing all parking space record information in the regional parking space information file into the database; the receiving module 202 is also used to receive a fourth instruction for generating an editable parking space map label; the identifying module 209 is used to identify the fourth instruction for generating an editable parking space map label when receiving the fourth instruction for generating an editable parking space map label. The area number corresponding to the regional parking space electronic map; the loading module 210 is used to load all the parking space record information in the database from the corresponding field according to the area number identified by the identification module 209; the generating module 211 is used to dynamically generate a plurality of editable parking space map labels corresponding to each parking space record information one by one according to the data stored in the area number field, the parking space map number field, the preset parking space map size field, the preset parking space map placement angle field and the relative position field in each parking space record information loaded by the loading module 210, wherein the generated editable parking space map label is a transparent box, and the first vehicle picture with an initial color is displayed in the box, which is used to indicate the initial state of the actual parking space corresponding to the parking space map.

[0101] The functions or effects of each module in the parking space map label generation device in this embodiment correspond to the parking space map label generation method in any of the above embodiments. The relevant details mentioned in the above parking space map label generation method embodiment can be used in the parking space map label generation device in this embodiment, and will not be repeated here.

[0102] The technical solution of the implementation method of this application can generate each parking space on the regional parking space electronic map at one time. Figure 1 A plurality of editable parking space map labels corresponding to one another are provided, and the user does not need to manually set the editable parking space map labels for each parking space map on the parking space electronic map one by one, which solves the problems of tedious and time-consuming manual setting of the above-mentioned editable parking space map labels by the user, inaccurate position, inconsistent size, etc., and can also save a lot of workload and reduce manpower and material costs.

[0103] See also Figure 3 , Figure 3 This is a schematic diagram of the structure of a parking space map label generation device according to an embodiment of the present application. Figure 3 As shown, the parking space map label generating device includes: a processor 31, a receiver 32, a transmitter 33, a buffer 34 and a display 35. These components communicate with each other through one or more communication buses / signal lines.

[0104] The processor 31 is used to establish a corresponding regional parking space electronic map for each parking area in the parking lot, wherein each parking area corresponds to an area number and a regional parking space electronic map, each regional parking space electronic map displays multiple parking space maps with different parking space map numbers, and each regional parking space electronic map has a corresponding regional parking space information file, which is used to record information related to multiple parking spaces. Figure 1The present parking space record information corresponds to a current parking space record information, each parking space record information includes an area number field, a parking space map number field, a preset parking space map size field, a preset parking space map placement angle field and a relative position field; the receiver 32 is used to receive a first instruction to obtain the position of a first parking space map in multiple parking space maps displayed on the regional parking space electronic map; the transmitter 33 is used to transmit the relative position of the first parking space map and the preset origin to the cache when receiving the first instruction to obtain the position of the first parking space map in multiple parking space maps displayed on the regional parking space electronic map; the cache 34 is used to cache the relative position of the first parking space map and the preset origin transmitted by the transmitter 33; the processor 31 is also used to transmit the first parking space map to the cache when receiving the first instruction to obtain the position of the first parking space map in multiple parking space maps displayed on the regional parking space electronic map When the relative position of the bitmap and the preset origin is transmitted to the cache, the regional parking space information file corresponding to the regional parking space electronic map is called; the display 35 is used to display the regional parking space information file called by the processor 31; the receiver 32 is also used to receive a second instruction to store or replace the relative position transmitted to the cache into a relative position field in one of the parking space record information; the processor 31 is also used to, when receiving the second instruction to store or replace the relative position transmitted to the cache into a relative position field in one of the parking space record information, the parking space map number of the first parking space map indicated by the second instruction will be transmitted to the cache for relative position storage or replaced into the above relative position field until the regional parking space electronic map is stored. The relative positions of all parking space maps on the sub-map and the preset origin are stored or replaced in the relative position fields in the corresponding parking space record information; the receiver 32 is also used to receive a third instruction to import all parking space record information in the regional parking space information file into the database; the processor 31 is also used to import all parking space record information in the regional parking space information file into the corresponding fields of the parking space map record table in the database according to the area number recorded in the area number field in the regional parking space information file when receiving the third instruction to import all parking space record information in the regional parking space information file into the database; the receiver 32 is also used to receive a fourth instruction to generate an editable parking space map label; the processor 31 is also used to When receiving the fourth instruction to generate an editable parking space map label, identify the area number corresponding to the regional parking space electronic map, load all the parking space record information in the database from the corresponding field according to the identified area number, and dynamically generate multiple editable parking space map labels corresponding to each parking space record information one by one according to the data stored in the area number field, parking space map number field, preset parking space map size field, preset parking space map placement angle field and relative position field in each loaded parking space record information, wherein the generated editable parking space map label is a transparent box, and the first vehicle picture with an initial color is displayed in the box, which is used to indicate the initial state of the actual parking space corresponding to the parking space map.

[0105] Understandably, Figure 3 The structure shown is for illustration only. The parking space map label generating device may also include Figure 3More or fewer components as shown, or with Figure 3 Different configurations shown. Figure 3 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0106] In the implementation manner of the present application, the processor 31 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips. The processor 31 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor 31 may also be any conventional processor, such as a single-chip microcomputer, etc.

[0107] The functions or effects of each module in the parking space map label generation device in this embodiment are similar to those of the parking space map label generation method in any of the above embodiments. The relevant details mentioned in the above parking space map label generation method embodiment can be used in the parking space map label generation device in this embodiment, and will not be repeated here.

[0108] The technical solution of the implementation method of this application can generate each parking space on the regional parking space electronic map at one time. Figure 1 A plurality of editable parking space map labels corresponding to one another are provided, and the user does not need to manually set the editable parking space map labels for each parking space map on the parking space electronic map one by one, which solves the problems of tedious and time-consuming manual setting of the above-mentioned editable parking space map labels by the user, inaccurate position, inconsistent size, etc., and can also save a lot of workload and reduce manpower and material costs.

[0109] The parking space map label generating device can be various electronic devices with a display screen and supporting web browsing, including but not limited to smart terminals, network devices, or devices and servers formed by integrating smart terminals and network devices through a network. The parking space map label generating device can use any operating system, such as Google's Android operating system, Apple's iOS operating system, Microsoft's Windows Phone operating system, Nokia's Symbian operating system, BlackBerry's BlackBerry OS operating system, web os operating system, Microsoft's Windows Mobile operating system, Huawei's Harmony operating system, etc.

[0110] The network includes, but is not limited to, the Internet, a mobile communication network, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless ad hoc network, etc. For example, the mobile communication network may be a 3G, 4G or 5G mobile communication system, for example, the mobile communication network may be a wideband code division multiple access (WCDMA) system, a frequency division multiple access (FDMA) system, an orthogonal frequency division multiple access (OFDMA) system, a single carrier FDMA (SC-FDMA) system, a general packet radio service (GPRS) system, a long term evolution (LTE) system or a 5G mobile communication network, and other such communication systems.

[0111] See also Figure 4 , Figure 4 A computer device provided in the present application includes: a memory 41 and a processor 42, wherein the memory 41 stores a computer program; when the processor 42 executes the computer program, the parking space map label generation method of any of the above embodiments is implemented.

[0112] The memory 41 can be used to store software programs and modules, such as the program instructions / modules corresponding to the parking space map label generation method and device in the embodiments of the present application. The processor 42 executes various functional applications and data processing by running the software programs and modules stored in the memory 41, that is, implements the parking space map label generation method of any of the above-mentioned embodiments.

[0113] The memory 41 may include a high-speed random access memory, and may also include a non-volatile memory (non-volatile memory) or a volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory, for example, flash memory, a hard disk, a multimedia card, a card-type memory (for example, SD or DX memory, etc.), a random access memory (random access memory, RAM), a read-only memory (read-only memory, ROM), an erasable programmable read-only memory (erasable programmable read-only memory, EPROM), an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a programmable read-only memory (programmable read-only memory, PROM), a magnetic memory, a magnetic disk, an optical disk, etc., and the RAM may include a static RAM or a dynamic RAM.

[0114] In the technical solution of the embodiment of the present application, since the processor 42 executes the computer program to implement the steps of the parking space map label generation method of any of the above embodiments. Therefore, the technical solution of the embodiment of the present application can generate a parking space map label for each parking space on the regional parking space electronic map at one time. Figure 1 A plurality of editable parking space map labels corresponding to one another are provided, and the user does not need to manually set the editable parking space map labels for each parking space map on the parking space electronic map one by one, which solves the problems of tedious and time-consuming manual setting of the above-mentioned editable parking space map labels by the user, inaccurate position, inconsistent size, etc., and can also save a lot of workload and reduce manpower and material costs.

[0115] In another optional embodiment, the processor implements the method for counting the number of parking space states of any of the above embodiments when executing the computer program.

[0116] In the technical solution of the embodiment of the present application, since the processor executes the computer program to implement the steps of the method for counting the number of parking space states in any of the above embodiments, the technical solution of the embodiment of the present application can generate a one-time statistics of each parking space on the regional parking space electronic map. Figure 1 A plurality of editable parking space map labels corresponding to one another are provided, and the user does not need to manually set the editable parking space map labels for each parking space map on the parking space electronic map one by one, which solves the problems of tedious and time-consuming manual setting of the above-mentioned editable parking space map labels by the user, inaccurate position, inconsistent size, etc., and can also save a lot of workload and reduce manpower and material costs.

[0117] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the parking space map label generation method of any of the above embodiments is implemented.

[0118] In the technical solution of the embodiment of the present application, since the computer program can be executed by the processor to implement the steps of the parking space map label generation method in any of the above embodiments. Therefore, the technical solution of the embodiment of the present application can generate a parking space label for each parking space on the regional parking space electronic map at one time. Figure 1 A plurality of editable parking space map labels corresponding to one another are provided, and the user does not need to manually set the editable parking space map labels for each parking space map on the parking space electronic map one by one, which solves the problems of tedious and time-consuming manual setting of the above-mentioned editable parking space map labels by the user, inaccurate position, inconsistent size, etc., and can also save a lot of workload and reduce manpower and material costs.

[0119] Or in another optional implementation, when the computer program is executed by a processor, the method for counting the number of parking space states of any of the above implementations is implemented.

[0120] In the technical solution of the embodiment of the present application, since the computer program can be executed by the processor to implement the steps of the method for counting the number of parking space states in any of the above embodiments, the technical solution of the embodiment of the present application can generate a one-time statistics of each parking space on the regional parking space electronic map. Figure 1 A plurality of editable parking space map labels corresponding to one another are provided, and the user does not need to manually set the editable parking space map labels for each parking space map on the parking space electronic map one by one, which solves the problems of tedious and time-consuming manual setting of the above-mentioned editable parking space map labels by the user, inaccurate position, inconsistent size, etc., and can also save a lot of workload and reduce manpower and material costs.

[0121] Computer-readable media include but are not limited to electronic, magnetic, optical, electromagnetic, infrared memory or semiconductor systems, devices or apparatuses, or any appropriate combination of the foregoing, the memory is used to store program codes or instructions, the program codes include computer operating instructions, and the processor is used to execute the program codes or instructions of the emergency rescue communication method stored in the memory.

[0122] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device implementation described above is only schematic, for example, the division of modules or units is only a logical function division, and 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 interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0123] Each functional unit or module 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 unit.

[0124] 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 storage medium. 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 storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0125] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person of ordinary skill in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application.

Claims

1. A method for generating parking space map labels, characterized in that: The method comprises: A corresponding regional parking space electronic map is established for each parking area of ​​the parking lot, wherein each parking area corresponds to an area number and an regional parking space electronic map, each regional parking space electronic map displays multiple parking space maps with different parking space map numbers, each regional parking space electronic map has a corresponding regional parking space information file, the regional parking space information file is used to record the current parking space record information corresponding to the multiple parking space maps one by one, and each piece of the parking space record information includes an area number field, a parking space map number field, a preset parking space map size field, a preset parking space map placement angle field, and a relative position field; Upon receiving a first instruction to obtain a position of a first parking space map among multiple parking space maps displayed on the regional parking space electronic map, the relative position of the first parking space map and a preset origin is transmitted to a cache, the regional parking space information file corresponding to the regional parking space electronic map is called and displayed, and upon receiving a second instruction to store or replace the relative position transmitted to the cache into a relative position field in one of the parking space record information, the relative position transmitted to the cache is stored or replaced into the relative position field according to the parking space map number of the first parking space map indicated by the second instruction, until the relative positions of all the parking space maps on the regional parking space electronic map and the preset origin are stored or replaced into the relative position fields in the corresponding parking space record information; When receiving a third instruction for importing all the parking space record information in the regional parking space information file into the database, importing all the parking space record information in the regional parking space information file into the corresponding field of the parking space map record table in the database according to the area number recorded in the area number field in the regional parking space information file; When the fourth instruction for generating an editable parking space map label is received, the area number corresponding to the regional parking space electronic map is identified, all the parking space record information in the database is loaded from the corresponding field according to the identified area number, and a plurality of editable parking space map labels corresponding to each parking space record information are dynamically generated according to the data stored in the area number field, parking space map number field, preset parking space map size field, preset parking space map placement angle field and relative position field in each loaded parking space record information, wherein the generated editable parking space map label is a transparent box, and a first vehicle picture with an initial color is displayed in the box, which is used to indicate the initial state of the actual parking space corresponding to the parking space map.

2. The method for generating parking space map labels according to claim 1, characterized in that: After the parking space map number of the first parking space map indicated by the second instruction is transmitted to the cached relative position for storage or replaced to the relative position field, and before receiving a third instruction for importing all the parking space record information in the regional parking space information file into a database, the method further includes: Upon receiving a verification instruction for the number of parking space record information in the regional parking space information file, determining a magnitude relationship between the number of parking space record information in the regional parking space information file and the received number to be verified, and verifying the number of parking space record information according to the magnitude relationship, wherein the number to be verified is the number of the multiple parking space maps displayed in the regional parking space electronic map; and / or, upon receiving a verification instruction for whether all parking space map numbers in the regional parking space information file are continuous, verifying whether all parking space map numbers in the regional parking space information file are continuous according to the received minimum parking space map number and the maximum parking space map number and by using all pre-stored parking space map numbers and a first preset function; and / or, upon receiving a verification instruction for whether all parking space map numbers in the regional parking space information file overlap, verifying whether all parking space map numbers in the regional parking space information file overlap according to the received minimum parking space map number and the maximum parking space map number and using a second preset function; And / or, when a verification instruction is received as to whether there is a parking space map number that is not within a preset number range in the regional parking space information file, a verification is performed on whether the parking space map number in the regional parking space information file is within the preset number range based on the received minimum parking space map number and the maximum parking space map number and through a third preset function.

3. The method for generating parking space map labels according to claim 1, characterized in that: After the parking space map number of the first parking space map indicated by the second instruction is transmitted to the cached relative position for storage or replaced to the relative position field, and before receiving a third instruction for importing all the parking space record information in the regional parking space information file into a database, the method further includes: When a fifth instruction is received to verify whether the parking space map positions indicated by the parking space record information in the regional parking space information file overlap, it is determined whether the parking space map positions indicated by the parking space record information in the regional parking space information file overlap according to the relative position in each of the parking space record information and the preset parking space map size.

4. The method for generating parking space map labels according to claim 1, characterized in that: After the step of dynamically generating a plurality of editable parking space map labels corresponding one-to-one to each piece of parking space record information, the method further includes: When a sixth instruction for adjusting the position or size of the editable parking space map label is received, determining an area number according to a parking space map number corresponding to the editable parking space map label of the to-be-adjusted position or size indicated by the sixth instruction, and updating the parameters of the to-be-adjusted position or size indicated in the sixth instruction to corresponding fields of a parking space map record table in the database according to the determined area number; and / or, when receiving the seventh instruction for adding the editable parking space map label, determining the area number according to the parking space map number corresponding to the editable parking space map label to be added indicated by the seventh instruction, and adding the parameter to be added indicated in the seventh instruction to the corresponding field of the parking space map record table in the database according to the area number; And / or, when the eighth instruction to delete the editable parking space map label is received, the editable parking space map label to be deleted indicated in the eighth instruction is deleted and the area number is determined according to the parking space map number corresponding to the editable parking space map label to be deleted indicated by the eighth instruction, and the parameters to be deleted of the corresponding fields of the parking space map record table in the database are deleted according to the area number.

5. The method for generating parking space map labels according to claim 1, characterized in that: After the step of dynamically generating a plurality of editable parking space map labels corresponding one-to-one to each piece of parking space record information, the method further includes: If the electronic parking map of the current area is in an open state, after receiving the current state information of any actual parking space uploaded by the ultrasonic detector, determine the second parking space map corresponding to the any actual parking space, and update the current state information to the corresponding field of the parking space map record table in the database according to the area number corresponding to the determined second parking space map; determine the second vehicle picture corresponding to the current state information according to the current state information, and replace the first vehicle picture with the second vehicle picture, wherein the color of the second vehicle picture is different from the initial color, and each actual parking space is provided with an ultrasonic detector; If the electronic parking map of the current area is not open, after receiving the current status information of any actual parking space uploaded by the ultrasonic detector, determine the third parking space map corresponding to the any actual parking space, and update the current status information to the corresponding field of the parking space map record table in the database according to the area number corresponding to the determined third parking space map; so that when the ninth instruction to open the electronic parking map of the current area is received, in the process of loading all the parking space record information in the database, at least the parking space record information after updating the current status information is also loaded.

6. A method for counting the number of parking space states, characterized in that: The method for counting the number of parking space states comprises: after executing the steps of the method for generating parking space map labels as claimed in claim 5, further executing the following steps: When the regional parking space electronic map is in an open state, the actual number of vacant parking spaces in the corresponding parking area is counted and displayed according to the current state information and the area number corresponding to the regional parking space electronic map.

7. A parking space map label generation device, characterized in that: include: Establishing module, receiving module, transmitting module, caching module, calling module, displaying module, storing replacement module, importing module, identifying module, loading module and generating module; The establishment module is used to establish a corresponding regional parking space electronic map for each parking area in the parking lot, wherein each parking area corresponds to an area number and an regional parking space electronic map, each regional parking space electronic map displays multiple parking space maps with different parking space map numbers, each regional parking space electronic map has a corresponding regional parking space information file, and the regional parking space information file is used to record the current parking space record information corresponding to the multiple parking space maps one by one, and each piece of the parking space record information includes an area number field, a parking space map number field, a preset parking space map size field, a preset parking space map placement angle field, and a relative position field; The receiving module is used to receive a first instruction for acquiring a position of a first parking space map among a plurality of parking space maps displayed on the regional parking space electronic map; The transmission module is configured to transmit the relative position of the first parking space map and a preset origin to the cache upon receiving a first instruction to obtain the position of a first parking space map among a plurality of parking space maps displayed on the regional parking space electronic map; The cache module is used to store the relative position transmitted by the transmission module; The calling module is used to call the regional parking space information file corresponding to the regional parking space electronic map while transmitting the relative position of the first parking space map and the preset origin to the cache; The display module is used to display the regional parking space information file called by the calling module; The receiving module is further used to receive a second instruction to store or replace the relative position transmitted to the cache into a relative position field in one of the parking space record information; The storage replacement module is used for, upon receiving a second instruction to store or replace the relative position transmitted to the cache into the relative position field, storing or replacing the relative position transmitted to the cache according to the parking space map number of the first parking space map indicated by the second instruction, until the relative positions of all parking space maps on the regional parking space electronic map and the preset origin are stored or replaced into the relative position fields in the respective corresponding parking space record information; The receiving module is further configured to receive a third instruction for importing all the parking space record information in the regional parking space information file into a database; The import module is configured to import all the parking space record information in the regional parking space information file into the corresponding field of the parking space map record table in the database according to the area number recorded in the area number field in the regional parking space information file when receiving the third instruction to import all the parking space record information in the regional parking space information file into the database; The receiving module is further used to receive a fourth instruction for generating an editable parking space map label; The identification module is used to identify the area number corresponding to the regional parking space electronic map when receiving the fourth instruction to generate an editable parking space map label; The loading module is used to load all parking space record information in the database from the corresponding field according to the area number identified by the identification module; The generating module is used to dynamically generate a plurality of editable parking space map labels corresponding to each piece of the parking space record information according to the data stored in the area number field, the parking space map number field, the preset parking space map size field, the preset parking space map placement angle field and the relative position field in each piece of the parking space record information loaded by the loading module, wherein the generated editable parking space map label is a transparent box, and a first vehicle picture with an initial color is displayed in the box, which is used to indicate the initial state of the actual parking space corresponding to the parking space map.

8. A parking space map label generation device, characterized in that: include: processor, receiver, transmitter, buffer and display; The processor is used to establish a corresponding regional parking space electronic map for each parking area in the parking lot, wherein each parking area corresponds to an area number and an regional parking space electronic map, each regional parking space electronic map displays multiple parking space maps with different parking space map numbers, each regional parking space electronic map has a corresponding regional parking space information file, the regional parking space information file is used to record the current parking space record information corresponding to the multiple parking space maps one by one, and each piece of the parking space record information includes an area number field, a parking space map number field, a preset parking space map size field, a preset parking space map placement angle field, and a relative position field; The receiver is used to receive a first instruction for acquiring a position of a first parking space map among a plurality of parking space maps displayed on the regional parking space electronic map; The transmitter is configured to transmit the relative position of the first parking space map and a preset origin to a cache upon receiving a first instruction to obtain the position of a first parking space map among a plurality of parking space maps displayed on the regional parking space electronic map; The buffer is used to buffer the relative position between the first parking space map transmitted by the transmitter and a preset origin; The processor is further configured to call the regional parking space information file corresponding to the regional parking space electronic map while transmitting the relative position of the first parking space map and the preset origin to the cache; The display is used to display the regional parking space information file called by the processor; The receiver is further configured to receive a second instruction to store or replace the relative position transmitted to the cache into a relative position field in one of the parking space record information; The processor is further configured to, upon receiving a second instruction to store or replace the relative position transmitted to the cache into a relative position field in one of the parking space record information, store or replace the relative position transmitted to the cache according to the parking space map number of the first parking space map indicated by the second instruction, until the relative positions of all parking space maps on the regional parking space electronic map and the preset origin are stored or replaced into the relative position fields in the respective corresponding parking space record information; The receiver is further configured to receive a third instruction for importing all the parking space record information in the regional parking space information file into a database; The processor is further configured to, upon receiving a third instruction for importing all the parking space record information in the regional parking space information file into a database, import all the parking space record information in the regional parking space information file into a corresponding field of a parking space map record table in the database according to the area number recorded in the area number field in the regional parking space information file; The receiver is further configured to receive a fourth instruction for generating an editable parking space map label; The processor is further configured to, upon receiving a fourth instruction for generating an editable parking space map label, identify the area number corresponding to the area parking space electronic map, load all the parking space record information in the database from the corresponding field according to the identified area number, and dynamically generate a plurality of editable parking space map labels corresponding to each piece of the parking space record information according to the data stored in the area number field, the parking space map number field, the preset parking space map size field, the preset parking space map placement angle field and the relative position field in each piece of the loaded parking space record information, wherein the generated editable parking space map label is a transparent box, in which a first vehicle picture with an initial color is displayed, for indicating an initial state of an actual parking space corresponding to the parking space map.

9. A computer device, characterized in that: comprising a memory and a processor, wherein the memory stores a computer program; When the processor executes the computer program, the parking space map label generation method as described in any one of claims 1 to 5 is implemented, or when the processor executes the computer program, the parking space status number counting method as described in claim 6 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the parking space map label generation method as described in any one of claims 1 to 5, or implements the parking space status number counting method as described in claim 6.

Citation Information

Patent Citations

  • Parking space map generation method, apparatus and system

    CN108460051A

  • Map design system and method for refining perception scene from parking lot to parking space

    CN110795643A

  • Map display method and device

    CN112129310A

  • Parking space primitive labeling method and system

    CN112182438A

  • Map generation method and device

    CN114972669A