Parking guidance method and device for parking lot, electronic equipment and storage medium
By generating a heat map of each lane in the parking lot and generating parking guidance information based on it, the problem of vehicles failing to drive to the allocated idle parking spaces is solved, improving the accuracy and reliability of parking guidance, and avoiding parking lot congestion.
Patent Information
- Application Number
- CN202311561326.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-21
- Publication Date
- 2025-05-23
AI Technical Summary
When parking guidance is carried out in the parking lot, the vehicle fails to drive to the allocated idle parking spaces according to the guidance path, resulting in inaccurate allocation of idle parking spaces and parking guidance of other vehicles, affecting the accuracy of overall parking guidance, and may lead to congestion in the parking lot.
By obtaining vehicle traffic data and parking space idle data for each lane in the parking lot, a heat map of the parking lot, including the heat value for each lane, is generated based on the heat map, so as to guide the vehicle to more accurately to the appropriate lane and parking space.
Improves the accuracy and reliability of parking guidance, avoids clogging, ensures that the vehicle can find the right parking space without occupying other parking spaces, and simplifies the parking process.
Smart Images

Figure CN120032528A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a parking guidance method, device, electronic device and storage medium for a parking lot. Background Art
[0002] With the rapid development of the economy, the number of vehicles has increased significantly, and self-driving has become one of the main choices for residents' daily travel. However, the construction of parking lots cannot keep up with the increase in the number of vehicles. Parking in parking lots has become a major difficulty during travel, and it is common to find it difficult to find an empty parking space in the parking lot.
[0003] With the improvement of indoor positioning technology, the construction of parking facilities has become more standardized, and the vacancy status of parking spaces can be monitored. As the collection and production of indoor high-precision maps gradually improve, parking guidance inside parking lots has the necessary conditions to be realized. In the prior art, there are already technical solutions for allocating vacant parking spaces to vehicles entering the parking lot and providing parking guidance.
[0004] However, when the driver is driving according to the vacant parking spaces and guided routes recommended by the system, there is a probability that the driver will not be able to drive to the allocated vacant parking spaces according to the guided routes due to his own needs or different destinations, thereby occupying other vacant parking spaces, which will affect the allocation of vacant parking spaces and parking guidance for other vehicles, causing other vehicles to find that there are no vacant parking spaces to park after driving according to the guidance, thus affecting the accuracy of the parking guidance, and due to the lack of vacant parking spaces to park, it may also cause congestion in the parking lot. Summary of the invention
[0005] In order to solve the above technical problems, the present disclosure provides a parking guidance method, device, electronic device and storage medium for a parking lot.
[0006] The present disclosure provides a parking guidance method for a parking lot, wherein the parking lot includes at least one lane, and the method includes:
[0007] Obtaining vehicle traffic data and parking space vacancy data for each lane in the parking lot;
[0008] generating a heat map of the parking lot according to the vehicle traffic data and parking space vacancy data of each lane in the parking lot, wherein the heat map includes a heat value of each lane in the parking lot;
[0009] Parking guidance information is generated according to the heat map of the parking lot.
[0010] In some embodiments, the above-mentioned obtaining of vehicle traffic data for each lane in the parking lot includes:
[0011] At least one of the data of vehicles parking in, vehicles parking out, and vehicles passing through each lane in the parking lot is obtained.
[0012] In some embodiments, generating a heat map of the parking lot according to the vehicle traffic data and parking space vacancy data of each lane in the parking lot includes:
[0013] Generating a parking thermal value for each lane according to parking space vacancy data for each lane in the parking lot, and generating a traffic thermal value for each lane according to vehicle traffic data for each lane in the parking lot;
[0014] The thermal value of each lane is generated according to the parking thermal value of each lane and the traffic thermal value of each lane.
[0015] In some embodiments, the generating of the thermal value of each lane according to the parking thermal value of each lane and the passing thermal value of each lane includes:
[0016] Obtaining an initial thermal value of each lane according to the sum of the parking thermal value and the passing thermal value of each lane;
[0017] The thermal value of the current lane is obtained according to the initial thermal value of the current lane and the initial thermal value of the subsequent lane associated with the current lane.
[0018] In some embodiments, it also includes:
[0019] If the parking thermal value and / or the traffic thermal value of at least one lane in the parking lot changes, the thermal map is updated.
[0020] In some embodiments, if the parking thermal value and / or the traffic thermal value of at least one lane in the parking lot changes, updating the thermal map includes:
[0021] If the parking space vacancy data of at least one lane changes, the parking thermal value is updated according to the changed parking space vacancy data to obtain the updated parking thermal value of the lane;
[0022] If the preset time interval is reached, the updated vehicle traffic data of at least one lane in the parking lot is re-acquired, and the updated traffic thermal value of the lane is obtained according to the updated vehicle traffic data;
[0023] The thermal value of each lane is generated according to the updated parking thermal value and / or the updated traffic thermal value.
[0024] In some embodiments, the above-mentioned generating parking guidance information according to the heat map of the parking lot includes:
[0025] generating a display color for each lane according to the thermal value of each lane;
[0026] The parking guidance information is generated according to the display color of each lane.
[0027] The present disclosure also provides a parking guidance device for a parking lot, wherein the parking lot includes at least one lane, and the device includes:
[0028] A data acquisition module, used to acquire vehicle traffic data and parking space vacancy data of each lane in the parking lot;
[0029] A heat map generation module, used to generate a heat map of the parking lot according to vehicle traffic data and parking space vacancy data of each lane in the parking lot, wherein the heat map includes a heat value of each lane in the parking lot;
[0030] A guidance module is used to generate parking guidance information according to the thermal map of the parking lot.
[0031] In some embodiments, the data acquisition module acquires vehicle traffic data of each lane in the parking lot, specifically including acquiring at least one of data of vehicles parking in, data of vehicles parking out, and data of vehicles passing in each lane in the parking lot.
[0032] In some embodiments, the heat map construction module includes:
[0033] A first thermal value acquisition unit, used to generate a parking thermal value of each lane according to parking space vacancy data of each lane in the parking lot;
[0034] A second thermal value acquisition unit, used to generate a thermal value of each lane according to the vehicle traffic data of each lane in the parking lot;
[0035] The third thermal value acquisition unit is used to generate the thermal value of each lane according to the parking thermal value of each lane and the passing thermal value of each lane.
[0036] In some embodiments, the third thermal value acquisition unit is specifically used to obtain the initial thermal value of each lane based on the sum of the parking thermal value and the passing thermal value of each lane; and to obtain the thermal value of the current lane based on the initial thermal value of the current lane and the initial thermal value of the subsequent lane associated with the current lane.
[0037] In some embodiments, it also includes:
[0038] The thermal map updating module is used to update the thermal map if the parking thermal value and / or the traffic thermal value of at least one lane in the parking lot changes.
[0039] In some embodiments, the heat map update module is specifically used to:
[0040] If the parking space vacancy data of at least one lane changes, the parking thermal value is updated according to the changed parking space vacancy data to obtain the updated parking thermal value of the lane;
[0041] If the preset time interval is reached, the updated vehicle traffic data of at least one lane in the parking lot is re-acquired, and the updated traffic thermal value of the lane is obtained according to the updated vehicle traffic data;
[0042] The thermal value of each lane is generated according to the updated parking thermal value and / or the updated traffic thermal value.
[0043] In some embodiments, the guidance module is specifically used to generate a display color of each lane according to the thermal value of each lane, and generate the parking guidance information according to the display color of each lane.
[0044] The present disclosure also provides an electronic device, the electronic device comprising:
[0045] processor;
[0046] a memory for storing instructions executable by the processor;
[0047] The processor is used to read the executable instructions from the memory and execute the instructions to implement the parking guidance method for the parking lot.
[0048] The embodiment of the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the above-mentioned parking guidance method for the parking lot.
[0049] The embodiment of the present disclosure also provides a computer program product, which is used to execute the above-mentioned parking guidance method for the parking lot.
[0050] The parking guidance technical solution for the parking lot provided by the present disclosure obtains the vehicle traffic data and parking space vacancy data of each lane in the parking lot; generates a heat map of the parking lot according to the vehicle traffic data and parking space vacancy data of each lane in the parking lot, and the heat map includes the heat value of each lane in the parking lot; finally, generates parking guidance information according to the heat map of the parking lot. Since the heat map of the parking lot in the above technical solution includes the heat value of each lane, it can fully display the status of each lane, and then the above parking guidance information can also guide the vehicle to the appropriate lane more accurately, so that the guided vehicle can find a suitable parking space on the lane without blocking, making the guidance process more convenient, and can also improve the accuracy and reliability of parking guidance; similarly, since the technical solution of the present disclosure is lane-level guidance, it can also effectively avoid the guidance error of subsequent vehicles caused by the guided vehicle parking in the wrong parking space when guiding the specific parking space in the prior art, and reduce the probability of blocking caused by guidance error. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0052] Figure 1 A schematic diagram of a flow chart of a parking guidance method for a parking lot provided by an embodiment of the present disclosure;
[0053] Figure 2 is a schematic diagram of a parking lot in an embodiment of the present disclosure;
[0054] Figure 3 Based on Figure 2 The lane-directed connection graph constructed from the parking lot shown;
[0055] Figure 4 A schematic diagram of a process for updating a thermal map of a parking lot in an embodiment of the present disclosure;
[0056] Figure 5 A schematic diagram of the structure of a parking guidance device for a parking lot provided by an embodiment of the present disclosure;
[0057] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0058] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0059] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0060] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0061] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0062] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0063] In the prior art, when parking guidance is performed in a parking lot, vehicles are guided to specific vacant parking spaces. However, some vehicles do not drive to the corresponding vacant parking spaces according to the parking guidance route, thereby affecting the parking guidance of subsequent vehicles, reducing the accuracy of the overall parking guidance of the parking lot, and since there are no vacant parking spaces for subsequent vehicles to park, it may also cause road congestion in the parking lot. The disclosed embodiment provides a technical solution, which is for the case where the parking lot includes at least one lane, by obtaining vehicle traffic data and parking space vacancy data of each lane in the parking lot, and then generating a heat map of the parking lot according to the vehicle traffic data and parking space vacancy data of each lane in the parking lot, the heat map includes the heat value of each lane in the parking lot, and through the above-mentioned heat map of the parking lot, the status of each lane in the parking lot can be fully displayed, and finally the parking guidance information is generated according to the heat map of the parking lot. In the technical solution disclosed in the present invention, since the heat map includes the heat value of each lane, it can fully display the status of each lane, and then the above-mentioned parking guidance information can also more accurately guide the vehicle to the appropriate lane, so that the guided vehicle can find a suitable parking space on the lane while avoiding congestion, making the guidance process more convenient and improving the accuracy and reliability of parking guidance.
[0064] In the embodiment of the present disclosure, the technical solution for parking guidance in the parking lot can be specifically referred to Figure 1 shown. Figure 1 A flow chart of a parking guidance method for a parking lot provided by an embodiment of the present disclosure is provided. The method can be executed on an electronic device, including but not limited to a server, a local computer, etc. Figure 1 As shown, the method comprises the following steps:
[0065] Step 101: Obtain vehicle traffic data and parking space vacancy data for each lane in the parking lot;
[0066] Specifically, the parking lot in the embodiment of the present disclosure can be as follows Figure 2 As shown, the parking lot includes four lanes, namely road1, road2, road3 and road4. Each lane can be used for vehicles to pass, and parking spaces are set on one side or both sides of the lane. In this step, the vehicle traffic data and parking space vacancy data of the above four lanes are obtained.
[0067] Lane traffic data includes data on vehicles currently passing through, as well as data on vehicles entering and exiting parking spaces in the lane, because the above three data will affect the traffic conditions of the lane. Therefore, the above vehicle traffic data for each lane in the parking lot may include:
[0068] At least one of the data of vehicles parking in, vehicles parking out, and vehicles passing through is obtained for each lane in the parking lot.
[0069] In the disclosed embodiment, a lane monitoring camera can be installed above the lane to identify the behavior of vehicles on the lane based on computer vision to determine whether the vehicle is parking in a vacant parking space in the lane or whether it is parking out of a parking space in the lane. i When a vehicle is detected parking in or out of a parking space, the vehicle parking system records and reports the data of the vehicle being parked. in and the data of the vehicle being parked out n ou .
[0070] In the same way as above, vehicles passing through the lane can also be identified and counted, and the data of vehicles passing through can be recorded. d And report it.
[0071] For parking space availability data, a parking space monitoring system can be used, such as a parking space monitoring camera installed in a parking lot, to monitor the empty or full status of all parking spaces in the parking lot. i , record its empty and full status S i , if the parking space is vacant, then S i =1, otherwise S i =0.
[0072] For a lane R i All parking spaces p on the network, calculate their sum S = ∑S i , that is, the parking space vacancy data of the lane is obtained.
[0073] Step 102: Generate a thermal map of the parking lot based on the vehicle traffic data and parking space vacancy data of each lane in the parking lot, wherein the thermal map of the parking lot includes a thermal value of each lane in the parking lot;
[0074] In this step, for each lane R in the parking lot, a calculation model of the heat map is constructed, in which the lane traffic and vacant parking spaces are considered from the perspectives of lane traffic and parking. Specifically, the parking heat value of each lane is generated based on the parking space vacancy data of each lane in the parking lot, and the traffic heat value of each lane is generated based on the vehicle traffic data of each lane in the parking lot.
[0075] For example, the thermal value of each lane Ri is H(R i )=H p +H d . Among them, H p is the parking thermal value, H d is the normal thermal value.
[0076] The parking thermal value can be calculated by the following formula: H p =S / count(p), that is, the ratio of the free parking space data to the total parking space data on the lane, the value range is [0,1], H p The value of is close to 1, which means that the more free parking spaces there are in the lane, the easier it is to park in the lane.
[0077] The passing thermal value can be calculated by the following formula: H d =(W×(n in +n out )+n d ) / n p , where W is the impact coefficient of parking on traffic, which can be set according to actual needs, for example, it can be set to 3, n p The maximum number of vehicles that the lane can accommodate under normal traffic conditions.
[0078] After obtaining the parking thermal value and the passing thermal value of each lane in the above manner, the thermal value of each lane can be generated according to the parking thermal value and the passing thermal value. In some cases, the sum of the parking thermal value and the passing thermal value of each lane can be used as the thermal value of the lane, or, further, taking into full consideration the connectivity between the lanes in the parking lot, and considering that the passing state of the subsequent lanes will also affect the passing of the current lane, in the embodiment of the present disclosure, after obtaining the sum of the parking thermal value and the passing thermal value of each lane, it is used as the initial thermal value of the current lane, and then the influence of the thermal value of the subsequent lane associated with the current lane on the current lane is considered to further calculate the thermal value of the current lane. The specific method can be:
[0079] The initial thermal value of each lane is obtained according to the sum of the parking thermal value of each lane and the passing thermal value; then the thermal value of the current lane is obtained according to the initial thermal value of the current lane and the initial thermal value of the subsequent lane associated with the current lane.
[0080] In the specific implementation process, according to the lanes included in the parking lot, the lanes can be used as nodes V of the graph, and the lane nodes that can be reached later can be connected through edges E through the lane nodes associated with the intersection to construct a directed connection graph G of the lanes in the parking lot. i , find all the successor nodes of this node in graph G, that is, from node V i The nodes that can be directly reached through an edge in the lane directed link graph are counted as set V s , then all the subsequent lanes of the current lane are found. s All nodes in V sj , update Vi The thermal value of the node Hn(V i )=H(V i )+∑w×H(V sj ), where H(V i ) is the initial thermal value of the current lane, H(V sj ) is the initial thermal value of the subsequent lane, and w is the adjacent edge weight, which can be set according to the actual situation. For example, w can be set to 0.1. For different subsequent lanes, a unified adjacent edge weight can be set, or different adjacent edge weights can be set respectively.
[0081] Figure 3 Based on Figure 2 The parking lot shown here constructs a directed connection graph of lanes, where lane road1 corresponds to Figure 3 Node V in 1 , lane road2 corresponds to Figure 3 Node V in 2 , lane road3 corresponds Figure 3 Node V in 3 , lane road4 corresponds Figure 3 Node V in 4 At this time, for lane road1, its subsequent lanes include lane road2 and lane road3. When calculating the thermal value of lane road1, the thermal value of lane road1 can be obtained according to the following formula:
[0082] Hn(V 1 )=H(V 1 )+w 2 ×H(V 2 )+w 3 ×H(V 3 )
[0083] Among them, w 2 and w 3 Represent the weight values of lane 2 and lane 3 respectively, H(V 2 ) and H(V 3 ) represent the initial thermal values of lane road2 and lane road3 respectively.
[0084] Step 103: Generate parking guidance information according to the heat map of the parking lot.
[0085] In the above step 102, a heat map of the parking lot is obtained, and the heat value of each lane is recorded in the heat map. Thus, the display color of each lane can be generated according to the heat value of each lane, and then the parking guidance information can be generated according to the display color of each lane. That is, at each intersection, the selectable lanes with different heat values in the parking lot can be displayed in different colors. For example, the lanes with high heat values are displayed in red, and the lanes with low heat values are displayed in green. At this time, the driver can choose to drive in the lanes displayed in green, which is not easy to be blocked and it is easy to find an idle parking space.
[0086] In some embodiments, after calculating the heat value Hn of each lane according to step 102, normalization processing can be performed on the heat values of all lanes in the parking lot. For example, take the maximum value Hmax among all the Hn values of all lanes, with 0 as the minimum value, and normalize all the values in Hn to the interval [0,1]. That is, for each lane Ri, its normalized heat value H N (i) = Hn(i) / Hmax.
[0087] In the embodiments of the present disclosure, in the parking lot, guiding signs can be set at the entrance and each intersection to display part or all of the heat map of the current parking lot. Combining with the traffic direction of the lanes, the passable lanes at each intersection are marked in red and green colors. When the normalized H N value is 0, the color is red; when the value is 1, the color is green. When the heat value is other intermediate values, the color transitions from red to green. Among them, red can be understood as a prohibited or non-recommended lane. For example, for a one-way lane in the parking lot, the non-passable direction can be set to red, while green is a passable lane. When there are multiple passable lanes at an intersection driving in different directions, they can be distinguished by a color gradient from green to red according to the heat value. The greener it is, the smoother the traffic in the lane in that direction, or the more idle parking spaces there are, and it is more recommended that the driver drive the vehicle in that direction for parking.
[0088] In the embodiments of the present disclosure, the situation of idle parking spaces or the traffic conditions of the lanes may change at any time. At this time, the heat map can be updated according to the above changes. That is, when the parking heat value and / or the traffic heat value of the lanes in the parking lot change, the heat map is updated. The specific situation can be as Figure 4 shown, including the following steps 201, 202 and 203. Among them, step 201 is triggered when the idle data of the parking spaces in at least one lane changes, and step 202 is triggered when a preset time interval is reached. The order of the triggering times of the two is determined according to the actual situation, and the embodiments of the present disclosure do not limit it. After at least one of step 201 and step 203 is triggered, step 203 can be executed. The specific content of each step is as follows:
[0089] Step 201: If the parking space occupancy data of at least one lane changes, update the parking heat value according to the changed parking space occupancy data to obtain the updated parking heat value of the lane.
[0090] Specifically, as described in the above embodiments, a parking space monitoring system can be used to monitor the occupancy status of parking spaces. In this step, when it is monitored that the number of available parking spaces changes, the updated parking heat value of the lane is recalculated.
[0091] Step 202: If a preset time interval is reached, re-obtain the updated vehicle traffic data of at least one lane in the parking lot, and obtain the updated traffic heat value of the lane according to the updated vehicle traffic data.
[0092] That is, it can be set to update and calculate the traffic heat value H of the lane every Δt time. d where Δt can be adjusted in combination with the number of vehicles in the current parking lot. The more vehicles there are, the faster the update frequency, and the update period can be set to 5s.
[0093] Step 203: Generate the heat value of each lane according to the updated parking heat value and / or the updated traffic heat value.
[0094] By recalculating the heat value of each lane, it is possible to make timely feedback on the occupancy of parking spaces and traffic changes in the parking lot, and obtain a heat map that can more accurately reflect the actual situation of the parking lot. Using this heat map for parking guidance can also improve the real-time and accuracy of parking guidance.
[0095] Figure 5 The figure is a schematic structural diagram of a parking device in an embodiment of the present disclosure. As Figure 5 shown, the parking lot includes at least one lane, and the device includes a data acquisition module 11, a heat map generation module 12, and a guidance module 13. Among them, the data acquisition module 11 is used to acquire the vehicle traffic data and parking space occupancy data of each lane in the parking lot; the heat map generation module 12 is used to generate a heat map of the parking lot according to the vehicle traffic data and parking space occupancy data of each lane in the parking lot, and the heat map includes the heat value of each lane in the parking lot; the guidance module 13 is used to generate parking guidance information according to the heat map of the parking lot.
[0096] In some embodiments, the above data acquisition module 11 acquires the vehicle traffic data of each lane in the parking lot, specifically including acquiring at least one of the data of vehicles being parked in, vehicles being parked out, and vehicles passing through each lane in the parking lot.
[0097] In some embodiments, the above heat map construction module 12 includes:
[0098] A first thermal value acquisition unit, used to generate a parking thermal value of each lane according to parking space vacancy data of each lane in the parking lot;
[0099] A second thermal value acquisition unit, used to generate a thermal value of each lane according to the vehicle traffic data of each lane in the parking lot;
[0100] The third thermal value acquisition unit is used to generate the thermal value of each lane according to the parking thermal value of each lane and the passing thermal value of each lane.
[0101] In some embodiments, the third thermal value acquisition unit is specifically used to obtain the initial thermal value of each lane based on the sum of the parking thermal value and the passing thermal value of each lane; and to obtain the thermal value of the current lane based on the initial thermal value of the current lane and the initial thermal value of the subsequent lane associated with the current lane.
[0102] In some embodiments, it also includes:
[0103] The thermal map updating module is used to update the thermal map if the parking thermal value and / or the traffic thermal value of at least one lane in the parking lot changes.
[0104] In some embodiments, the heat map update module is specifically used to:
[0105] If the parking space vacancy data of at least one lane changes, the parking thermal value is updated according to the changed parking space vacancy data to obtain the updated parking thermal value of the lane;
[0106] If the preset time interval is reached, the updated vehicle traffic data of at least one lane in the parking lot is re-acquired, and the updated traffic thermal value of the lane is obtained according to the updated vehicle traffic data;
[0107] The thermal value of each lane is generated according to the updated parking thermal value and / or the updated traffic thermal value.
[0108] In some embodiments, the guidance module 13 is specifically configured to generate a display color of each lane according to the thermal value of each lane, and generate the parking guidance information according to the display color of each lane.
[0109] The parking guidance device of the parking lot provided by the embodiment of the present disclosure is Figure 1-4 Corresponding to the method embodiment shown, the method can be executed and the corresponding technical effect can be achieved. The embodiment of the present disclosure will not be described in detail. The specific method and the technical effect achieved can refer to the above embodiment.
[0110] The following specific reference Figure 6 , which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing the embodiment of the present disclosure. The electronic device 600 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device shown is only an example and should not bring any limitation to the functions and occupancy range of the embodiment of the present disclosure.
[0111] As shown in the figure, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0112] Typically, the following devices may be connected to the I / O interface 605: input devices 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 608 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although an electronic device 600 having various devices is shown, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.
[0113] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the parking guidance method of the parking lot of the embodiment of the present disclosure are executed.
[0114] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0115] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0116] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0117] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0118] Obtain vehicle traffic data and parking space vacancy data for each lane in the parking lot;
[0119] Generate a heat map of the parking lot based on the vehicle passing data and parking space vacancy data of each lane in the parking lot, where the heat map includes the heat values of each lane in the parking lot;
[0120] Generate parking guidance information based on the heat map of the parking lot.
[0121] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof. The above-mentioned programming languages include, but are not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., connected through the Internet using an Internet service provider).
[0122] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that, in some alternative implementations, the functions marked in the blocks may occur in a different order than marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, and combinations of blocks in the block diagram and / or flowchart, may be implemented by a dedicated hardware-based system for performing the specified functions or operations, or may be implemented by a combination of dedicated hardware and computer instructions.
[0123] The units involved in the embodiments described in the present disclosure may be implemented in software or in hardware. In some cases, the name of the unit does not constitute a limitation on the unit itself.
[0124] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0125] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0126] According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium, wherein the storage medium stores a computer program, wherein the computer program is used to execute any parking guidance method for a parking lot provided by the present disclosure.
[0127] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
[0128] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0129] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. A parking guidance method for a parking lot, It is characterized in that The parking lot includes at least one lane, and the method includes: Obtaining vehicle traffic data and parking space vacancy data for each lane in the parking lot; generating a heat map of the parking lot according to the vehicle traffic data and parking space vacancy data of each lane in the parking lot, wherein the heat map includes a heat value of each lane in the parking lot; Parking guidance information is generated according to the heat map of the parking lot.
2. The method according to claim 1, It is characterized in that The obtaining of vehicle traffic data for each lane in the parking lot includes: At least one of the data of vehicles parking in, vehicles parking out, and vehicles passing through each lane in the parking lot is obtained.
3. The method according to claim 1 or 2, It is characterized in that The step of generating a heat map of the parking lot according to the vehicle traffic data and parking space vacancy data of each lane in the parking lot includes: Generating a parking thermal value for each lane according to parking space vacancy data for each lane in the parking lot, and generating a traffic thermal value for each lane according to vehicle traffic data for each lane in the parking lot; The thermal value of each lane is generated according to the parking thermal value of each lane and the traffic thermal value of each lane.
4. The method according to claim 3, It is characterized in that Generating the thermal value of each lane according to the parking thermal value of each lane and the passing thermal value of each lane includes: Obtaining an initial thermal value of each lane according to the sum of the parking thermal value and the passing thermal value of each lane; The thermal value of the current lane is obtained according to the initial thermal value of the current lane and the initial thermal value of the subsequent lane associated with the current lane.
5. The method according to claim 3, It is characterized in that Also includes: If the parking thermal value and / or the traffic thermal value of at least one lane in the parking lot changes, the thermal map is updated.
6. The method according to claim 5, It is characterized in that If the parking thermal value and / or the traffic thermal value of at least one lane in the parking lot changes, updating the thermal map includes: If the parking space vacancy data of at least one lane changes, the parking thermal value is updated according to the changed parking space vacancy data to obtain the updated parking thermal value of the lane; If the preset time interval is reached, the updated vehicle traffic data of at least one lane in the parking lot is re-acquired, and the updated traffic thermal value of the lane is obtained according to the updated vehicle traffic data; The thermal value of each lane is generated according to the updated parking thermal value and / or the updated traffic thermal value.
7. The method according to claim 3, It is characterized in that The generating of parking guidance information according to the thermal map of the parking lot includes: generating a display color for each lane according to the thermal value of each lane; The parking guidance information is generated according to the display color of each lane.
8. A parking guidance device for a parking lot, It is characterized in that The parking lot includes at least one lane, and the device includes: A data acquisition module, used to acquire vehicle traffic data and parking space vacancy data of each lane in the parking lot; A heat map generation module, used to generate a heat map of the parking lot according to vehicle traffic data and parking space vacancy data of each lane in the parking lot, wherein the heat map includes a heat value of each lane in the parking lot; A guidance module is used to generate parking guidance information according to the thermal map of the parking lot.
9. The device according to claim 8, It is characterized in that The data acquisition module acquires vehicle traffic data of each lane in the parking lot, specifically including acquiring at least one of data of vehicles parking in, data of vehicles parking out, and data of vehicles passing in each lane in the parking lot.
10. The device according to claim 8 or 9, It is characterized in that The heat map construction module includes: A first thermal value acquisition unit, used to generate a parking thermal value of each lane according to parking space vacancy data of each lane in the parking lot; A second thermal value acquisition unit, used to generate a traffic thermal value of each lane according to vehicle traffic data of each lane in the parking lot; The third thermal value acquisition unit is used to generate the thermal value of each lane according to the parking thermal value of each lane and the passing thermal value of each lane.
11. The device according to claim 10, It is characterized in that The third thermal value acquisition unit is specifically used to obtain the initial thermal value of each lane according to the sum of the parking thermal value and the passing thermal value of each lane; and to obtain the thermal value of the current lane according to the initial thermal value of the current lane and the initial thermal value of the subsequent lane associated with the current lane.
12. The device according to claim 10, It is characterized in that Also includes: The heat map updating module is used to update the heat map if the parking heat value and / or the traffic heat value of at least one lane in the parking lot changes.
13. The device according to claim 12, It is characterized in that The heat map updating module is specifically used for: If the parking space vacancy data of at least one lane changes, the parking thermal value is updated according to the changed parking space vacancy data to obtain the updated parking thermal value of the lane; If the preset time interval is reached, the updated vehicle traffic data of at least one lane in the parking lot is re-acquired, and the updated traffic thermal value of the lane is obtained according to the updated vehicle traffic data; The thermal value of each lane is generated according to the updated parking thermal value and / or the updated traffic thermal value.
14. The device according to claim 10, It is characterized in that The guidance module is specifically configured to generate a display color of each lane according to the thermal value of each lane, and generate the parking guidance information according to the display color of each lane.
15. An electronic device, It is characterized in that The electronic device comprises: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement the parking guidance method for a parking lot according to any one of claims 1-7.
16. A computer-readable storage medium, It is characterized in that The storage medium stores a computer program, and the computer program is used to execute the parking guidance method for a parking lot according to any one of claims 1 to 7.