A roadside parking space management method and related devices
Through real-time lidar sampling and cloud data processing, the problem of difficult roadside parking space management is solved, unmanned vehicle charging management is realized, hardware costs are reduced and installation process is simplified.
Patent Information
- Application Number
- CN202411188494.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2044-08-28
AI Technical Summary
The management of roadside parking spaces is difficult, the vehicle locations are scattered, and management consumes a lot of manpower.
Through real-time lidar sampling, parking space status and license plate information are obtained, data is stored and processed in the cloud, vehicle entry and exit situations are identified, and unmanned management is achieved.
Unmanned vehicle charging management is realized, reducing hardware costs and simplifying the installation process.
Smart Images

Figure CN119091675B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of parking space management, and in particular, to a roadside parking space management method and related devices. Background Art
[0002] With the popularization of civilian vehicles, the number of vehicles is increasing, making parking difficult a big problem. Along the roadside of spacious streets, beside the buildings in the community, etc., these positions are often used for parking vehicles, but the positions are relatively scattered, with great management difficulty and requiring a large amount of manpower. Summary of the Invention
[0003] To solve the above problems, embodiments of this application provide a roadside parking space management method and device, a parking meter, an electronic device, a computer-readable storage medium, and a computer program product.
[0004] In a first aspect, to solve the above technical problems, this application provides a roadside parking space management method, including:
[0005] Continuously performing real-time lidar sampling on the to-be-detected parking space according to a first sampling period to obtain a sampling result;
[0006] Based on the sampling result, determining the parking space state at the corresponding moment, and storing the parking space state and / or the corresponding license plate information in the cloud:
[0007] Based on the multiple parking space states stored in the cloud, obtaining the state transition information of the to-be-detected parking space;
[0008] Based on the state transition information and the license plate information, obtaining the charging data of the corresponding vehicle.
[0009] Advantageous Effects are:
[0010] In the technical solution provided by the embodiments of this application, by continuously performing real-time lidar sampling on the to-be-detected parking space according to a first sampling period to obtain a sampling result; based on the sampling result, determining the parking space state at the corresponding moment, and storing the parking space state and / or the corresponding license plate information in the cloud: based on the multiple parking space states stored in the cloud, obtaining the state transition information of the to-be-detected parking space, so as to identify the entry and exit situation of the vehicle in the parking space through the state transition information of the to-be-detected parking space, thereby performing charging management on the vehicle and realizing unmanned management. In addition, the applied parking meter is installed at a position on the curbstone at a preset distance from the to-be-detected parking space, which ensures the sampling effect while having the characteristics of simple installation and low hardware cost.
[0011] Second aspect, the present invention provides a parking meter, which applies the roadside parking space management method described above; the parking meter includes a solar device, a camera, a radar device, and a development main board. The solar device is connected to the camera, the radar device, and the development main board to provide electrical energy;
[0012] The development main board is also connected to the camera and the radar device to implement the roadside parking space management method described above.
[0013] Third aspect, the present invention provides a roadside parking space management device, which includes a sampling unit, a determination unit, a processing unit, and a charging unit;
[0014] The sampling unit is used to continuously perform real-time lidar sampling on the to-be-detected parking space according to a first sampling period to obtain a sampling result;
[0015] The determination unit is used to determine the parking space state at the corresponding moment based on the sampling result, and store the parking space state and / or the corresponding license plate information in the cloud:
[0016] The processing unit is used to obtain the state transition information of the to-be-detected parking space based on multiple parking space states stored in the cloud;
[0017] The charging unit is used to obtain the charging data of the corresponding vehicle based on the state transition information and the license plate information.
[0018] Fourth aspect, the present application also provides an electronic device, including: one or more processors; a storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the electronic device implements the roadside parking space management method as described above.
[0019] Fifth aspect, the present application also provides a computer-readable storage medium, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor of a computer, the computer executes the roadside parking space management method as described above.
[0020] Sixth aspect, the present application also provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the roadside parking space management method provided in the above various alternative embodiments.
[0021] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. Description of the Drawings
[0022] The accompanying drawings herein are incorporated into and constitute a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Obviously, the accompanying drawings in the following description are only some embodiments of the present application, and those of ordinary skill in the art can obtain other drawings based on these drawings without creative efforts. In the drawings:
[0023] Figure 1 is a flowchart of a roadside parking space management method shown in an exemplary embodiment of the present application;
[0024] Figure 2 is a schematic flowchart of real-time lidar sampling and determining the parking space state at the corresponding moment based on the sampling result in an exemplary embodiment of the present application;
[0025] Figure 3 is a schematic diagram of a parking meter applying the roadside parking space management method in an exemplary embodiment of the present application;
[0026] Figure 4 is a schematic diagram of the operation of a parking meter in an exemplary embodiment of the present application;
[0027] Figure 5 is a schematic diagram of the working principle of the online upgrade of the SOC in the development mainboard of a parking meter in an exemplary embodiment of the present application;
[0028] Figure 6 is a block diagram of a roadside parking space management device shown in an exemplary embodiment of the present application;
[0029] Figure 7 is a schematic diagram of the structure of a computer system of an electronic device suitable for implementing the embodiments of the present application. Detailed Description of the Embodiments
[0030] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0031] The block diagrams shown in the accompanying drawings are only functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0032] The flowcharts shown in the accompanying drawings are only illustrative descriptions, not necessarily including all content and operations / steps, nor necessarily executed in the described order. For example, some operations / steps can be decomposed, while some operations / steps can be combined or partially combined. Therefore, the actual execution order may change according to the actual situation.
[0033] As used in this application, "a plurality of" means two or more. "And / or" describes the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after.
[0034] To solve the problem of difficult management of roadside parking spaces, embodiments of this application propose a roadside parking space management method, device, parking meter, electronic device, and computer-readable storage medium, mainly related to the unmanned management technology of roadside parking spaces included in parking space management technology. These embodiments will be described in detail below.
[0035] First, please refer to Figure 1 , Figure 1 which is a flowchart of the roadside parking space management method shown in an exemplary embodiment of this application. This method can be specifically executed by a parking meter, which is installed at a position on the curb with a preset distance from the parking space to be measured, such as installed 50 centimeters away from the parking space.
[0036] As Figure 1 shown, in an exemplary embodiment, the roadside parking space management method may include steps S101 to S104, which are introduced in detail as follows:
[0037] Step S101, continuously perform real-time lidar sampling on the parking space to be measured according to the first sampling period, and obtain the sampling result.
[0038] In this embodiment, when using the parking meter provided by this application to manage the roadside parking space, after detecting that a vehicle has entered, continuously perform real-time lidar sampling on the parking space to be measured according to the first sampling period, and obtain the sampling result to realize real-time monitoring of the vehicle in the parking space to be measured.
[0039] Step S102, determine the parking space status at the corresponding moment based on the sampling result, and store the parking space status and / or the corresponding license plate information in the cloud.
[0040] After obtaining the sampling result, analyze and process it to obtain the parking space status at the corresponding moment, and store the parking space status in the cloud in chronological order based on the carried timestamp, and obtain and store the corresponding license plate information when necessary.
[0041] Step S103: Obtain the state transition information of the parking space to be measured based on the multiple parking space states stored in the cloud.
[0042] Step S104: Obtain the toll data of the corresponding vehicle based on the state transition information and the license plate information.
[0043] For the same parking space to be measured, based on multiple different parking space states, such as three different parking space states within a period of time, obtain the state transition information of the parking space to be measured, and then identify the corresponding license plate information. Based on the state transition information and the license plate information, obtain the toll data of the vehicle.
[0044] As can be seen from the above, in the method provided in this embodiment, by continuously performing real-time lidar sampling on the parking space to be measured according to the first sampling period, a sampling result is obtained; based on the sampling result, the parking space state at the corresponding moment is determined, and the parking space state and / or the corresponding license plate information are stored in the cloud: based on the multiple parking space states stored in the cloud, the state transition information of the parking space to be measured is obtained, so as to identify the entry and exit situation of the vehicle in the parking space through the state transition information of the parking space to be measured, thereby performing toll management on the vehicle and realizing unmanned management. In addition, the applied parking meter is installed at a position on the curb at a preset distance from the parking space to be measured. While ensuring the sampling effect, it has the characteristics of simple installation and low hardware cost.
[0045] In an exemplary embodiment provided by this application, a steady-state judgment is performed on the data obtained by real-time lidar sampling, and the specific data type of the sampling result is determined through the judgment result, which may specifically include:
[0046] Continuously perform real-time lidar sampling on the parking space to be measured according to the first sampling period to obtain the first laser ranging distance;
[0047] Judge whether the first laser ranging distance is steady-state data. If so, use the first laser ranging distance as the sampling result;
[0048] If not, continuously perform real-time lidar sampling on the parking space to be measured according to the second sampling period to obtain the second laser ranging distance;
[0049] Perform a non-steady-state count on the second laser ranging distance, and use the non-steady-state count result as the sampling result.
[0050] In this embodiment, if the first laser ranging distance obtained by real-time lidar sampling is steady-state data, it indicates that the situation in the parking space to be measured does not change continuously. Based on the specific value of the first laser ranging distance, the parking space state can be determined. Therefore, the first laser ranging distance is used as the sampling result. If it is non-steady-state data, it is necessary to further determine whether the parking meter is blocked or there are other situations that cause the first laser ranging distance corresponding to the parking space to change frequently. Therefore, when it is determined that the first laser ranging distance is non-steady-state data in this embodiment, real-time lidar sampling is continuously performed on the parking space to be measured according to the second sampling period to obtain the second laser ranging distance, and the non-steady-state counting is performed on the second laser ranging distance, and the non-steady-state counting result is used as the sampling result.
[0051] In this embodiment, the method for determining whether the first laser ranging distance is steady-state data may specifically be:
[0052] Taking the continuous measurement 5 times according to the first sampling period as a frame of data, forcing the data greater than 330 cm to 0, performing median filtering and range finding on each frame of data, and thus performing steady-state judgment. The situations determined as steady-state data include that the distance range difference is less than 6 cm and the range difference of amp (the energy intensity value of the laser) is less than 500; the distance range difference is 6 - 15 cm and the amp range difference is less than th. The situations determined as non-steady-state data may include that the distance range difference is greater than 15 cm; the distance range difference is 6 - 15 cm and the amp range difference is greater than th; the distance range difference is less than 6 cm and the amp range difference is greater than 500.
[0053] Where th refers to the fluctuation value of amp reaching steady state in different stages. Because there will be interference even in a stationary situation, a fluctuation range is reserved. This normal noise fluctuation range is th, which is obtained according to the values tested by the sensor. The determination of th for amp (the following amp is the value after median filtering): when amp < 100, th = 40; when 100 < amp < 1000, th = 100; when amp > 1000, th = amp * 10%.
[0054] In this way, in this embodiment, the parking space state to be analyzed and determined is divided according to whether the first laser ranging distance obtained by sampling is steady state, so as to achieve a more accurate judgment of the parking space state.
[0055] In another exemplary embodiment, when it is determined that the first laser ranging distance obtained by real-time lidar sampling is steady-state data and the first laser ranging distance is used as the sampling result, the steps for determining the parking space state at the corresponding moment based on the sampling result may specifically include:
[0056] When the sampling result is the first laser ranging distance, obtain the size relationship between the first laser ranging distance and the preset distance range;
[0057] If the size relationship indicates that the first laser ranging distance is the minimum value of the distance range, determine that the parking space status at the corresponding moment is the empty space status, and store the empty space status in the cloud;
[0058] If the size relationship indicates that the first laser ranging distance is within the distance range, determine that the parking space status at the corresponding moment is the occluded status, and store the occluded status in the cloud;
[0059] If the size relationship indicates that the first laser ranging distance is greater than the maximum value of the distance range, determine that the parking space status at the corresponding moment is the occupied status, obtain the license plate information at the corresponding moment, and store the occupied status and the license plate information in the cloud.
[0060] In this embodiment, the parking space status of the parking space to be measured is determined by the size relationship between the first laser ranging distance and the preset distance range. The corresponding parking space statuses include the empty space status, the occupied status, and the occluded status, and the license plate information of the vehicle is obtained when it is in the occupied status.
[0061] For example, when the preset distance range is [0, 10], if the first laser ranging distance is equal to 0, it is the empty space status, and there is no vehicle parked in the parking space to be measured. If the first laser ranging distance is less than or equal to 10, the parking space status is judged to be the occluded status. If the first laser ranging distance is greater than 10, the parking space status at the corresponding moment is determined to be the occupied status, obtain the license plate information at the corresponding moment, and synchronously store the occupied status and the license plate information in the cloud.
[0062] In this way, this embodiment not only judges whether the parking space to be measured is in the occupied status or the empty space status when the first laser ranging distance is steady-state data, but also judges whether the parking meter is occluded according to the specific data of the first laser ranging distance, providing more accurate data for obtaining status migration information.
[0063] In another exemplary embodiment, when it is determined that the first laser ranging distance obtained by real-time lidar sampling is non-steady-state data, and the parking space to be measured is continuously sampled by real-time lidar according to the second sampling period to obtain the second laser ranging distance, and the non-steady-state counting is performed on the second laser ranging distance to obtain the non-steady-state counting result as the sampling result, the steps of determining the parking space status at the corresponding moment based on the sampling result may specifically include:
[0064] When the sampling result is the non-steady-state counting result, obtain the target counting result within the preset time period;
[0065] If the target counting result is greater than the first counting threshold, determine that the parking space status at the corresponding moment is the bad weather status, and store the bad weather status in the cloud;
[0066] If the target counting result is less than the first counting threshold, determine that the parking space state at the corresponding moment is the interference state, and store the interference state and / or the corresponding license plate information in the cloud.
[0067] In this embodiment, the parking space state of the parking space to be measured is determined by the non-steady state counting result, and the corresponding parking space states include the bad weather state and the interference state.
[0068] The interference state may further include the vehicle entry / exit state and the third-party interference state. When in the vehicle entry / exit state, the license plate information of the vehicle is obtained. This step may specifically include:
[0069] If the target counting result is less than the first counting threshold and greater than the second counting threshold, determine that the parking space state at the corresponding moment is the vehicle entry / exit state, obtain the license plate information at the corresponding moment, and store the vehicle entry / exit state and the license plate information in the cloud;
[0070] If the target counting result is less than or equal to the second counting threshold, determine that the parking space state at the corresponding moment is the third-party interference state, and store the third-party interference state in the cloud.
[0071] Specifically, when the first laser ranging distance is non-steady state data, that is, the corresponding extreme value is unstable, the sampling period will change from the first sampling period to the second sampling period. For example, it changes from 2s to 0.5s, and one frame of data becomes 2.5s, and within a preset time period,
[0072] If the target counting result of the non-steady state counting is greater than the first counting threshold of 240, it is considered bad weather such as rain or snow that affects lidar sampling. If the target counting result is less than or equal to the second counting threshold of 4, it is considered the third-party interference state such as pedestrians or radar interference. Only when the target counting result is greater than the second counting threshold of 4 does it represent the vehicle entry / exit state of normal vehicle entry and exit. Obtain the license plate information at the corresponding moment, and store the vehicle entry / exit state and the license plate information in the cloud.
[0073] Please refer to Figure 2 , Figure 2 which is a schematic flow chart of real-time lidar sampling and determining the parking space state at the corresponding moment in an exemplary embodiment of the present application.
[0074] As Figure 2 shown, the first sampling period is 2s, the second sampling period is 0.5s, the preset distance range is [0, 10], the first counting threshold is 240, and the second counting threshold is 4. First, the distance measurement is realized through lidar sampling according to the first sampling period to obtain the first laser ranging distance, then the extreme value is obtained through median filtering, and then it is judged whether the extreme value is stable to judge whether the first laser ranging distance is steady state data.
[0075] In the case of steady-state data, sampling is continuously performed according to the first sampling period. When the obtained first laser ranging distance is equal to 0, the parking space state at the corresponding moment is determined to be an empty space state. When the first laser ranging distance is less than or equal to 10, the parking space state at the corresponding moment is determined to be an occluded state. When the first laser ranging distance is greater than 10, the parking space state at the corresponding moment is determined to be a state with a vehicle.
[0076] In the case of non-steady-state data, sampling is performed according to the second sampling period, and non-steady-state counting is performed. When the target counting result within the preset time period is greater than 240, the parking space state at the corresponding moment is determined to be a bad weather state. When the target counting result is less than 240 and greater than 4, the parking space state at the corresponding moment is determined to be a state of vehicle entering or leaving. When the target counting result is less than 4, the parking space state at the corresponding moment is determined to be a third-party interference state.
[0077] In each of the above-mentioned embodiments of the present application, the obtained license plate information includes the license plate number, license plate color, and timestamp. The license plate number and license plate color are obtained through the rk algorithm, which is specifically implemented in the app.c code and obtained through the function rk_carid_get_plate_number. Then, the license plate information is uploaded through the function http_send_jpeg in the app.c code.
[0078] It can be seen that in the non-steady-state case of the above embodiments of the present application, the parking space state is determined through the non-steady-state counting within the preset time period and the obtained target counting result, which is more accurate than continuing to use the laser ranging distance obtained by sampling to determine the parking space state, and can judge the possible reasons for the generation of the parking space state.
[0079] In an exemplary embodiment provided by the present application, the steps of obtaining the state transition information may specifically include:
[0080] Obtaining multiple target parking space states corresponding to the same license plate information from the cloud;
[0081] Based on the multiple target parking space states, obtaining the state transition information of the parking space to be measured.
[0082] In this embodiment, the number of multiple target parking space states is at least three. When the number of target parking space states is three, the specific content represented by the corresponding state transition information may be:
[0083] 1. Vehicle - Interfered - Vehicle: Passersby passed by, the vehicle was replaced but the departure data was not captured; the vehicle was replaced, with a large difference in distance and energy value compared to the last time.
[0084] 2. Vehicle - Interfered - Empty: The vehicle left the parking space.
[0085] 3. Empty vehicle - Interfered - Empty vehicle: Pedestrians pass by; empty vehicle, distance > 330; vehicle wave absorption not detectable, distance < 330, and non - steady - state count > 4.
[0086] 4. Empty vehicle - Interfered - Occupied vehicle: A vehicle enters the lot.
[0087] Please refer to Figure 3 , Figure 3 which is a schematic diagram of a parking meter applying the roadside parking space management method in an exemplary embodiment of the present application. As Figure 3 shown, the parking meter includes a solar device, a camera, a radar device, and a development main board. The solar device is connected to the camera, the radar device, and the development main board for providing electrical energy; the development main board is also connected to the camera and the radar device to implement the roadside parking space management method provided by the present application.
[0088] The solar device includes a solar panel and a battery. In the presence of light, the solar panel can continuously charge the battery. If the light is sufficient, the charging amount of the solar panel will be greater than the power consumption of the machine during operation. When the maximum battery capacity is 40000 mAH, running 20 times a day at 3.8 v, the average current is 7.5 mAH, and the power consumption per day is 7.5 * 24 = 180 mAH. Without charging, the battery can be used for (40000 / 180) / 30 = 7.4 months. The solar panel charges at 65 mAH per day for 3 hours, and the solar panel can charge 65 * 3 = 195 mHA per day, which can fully meet the daily consumption of 180 mAH. Thus, as long as sunlight permits every day, the machine can keep running with power supply, achieving the low - power performance of the parking meter.
[0089] Please refer to Figure 4 , Figure 4 which is a schematic diagram of the operation of the parking meter in an exemplary embodiment of the present application. As Figure 4 shown,
[0090] The development main board is an RV1106 main board. The main modules of the RV1106 main board are the SOC and the 4G network card, which communicate with each other through a usb serial port and network. Peripherals are each connected to a uart port for facilitating manual control of these two modules. The SOC is connected to the 4G network and the camera, and the 4G network card is connected to the radar, the battery, the power indicator light, the GPIO button, and the upgrade button.
[0091] Among them, the upgrade button is used to implement the compilation and online upgrade of the SOC of the RV1106 main board. As Figure 5 shown, Figure 5In an exemplary embodiment of the present application, it is the working principle diagram of the online upgrade of the SOC in the development main board of the parking meter. The cloud sends the firmware and version number to the 4G module. First, it determines whether it is the SOC or 4G module firmware, then judges the version number, downloads the firmware, the machine enters the upgrade mode, the machine restarts for the upgrade, and after the upgrade is completed, it will feedback the upgrade result to the cloud. This ensures that the various functional parameters of the parking meter can be updated in a timely manner and the hardware performance is improved.
[0092] Figure 6 It is a block diagram of a roadside parking space management device 500 shown in an exemplary embodiment of the present application. As Figure 6 shown, the device includes:
[0093] A sampling unit 601, configured to continuously perform real-time lidar sampling on the to-be-tested parking space according to the first sampling period to obtain a sampling result;
[0094] A determination unit 602, configured to determine the parking space state at the corresponding moment based on the sampling result, and store the parking space state and / or the corresponding license plate information in the cloud:
[0095] A processing unit 603, configured to obtain the state transition information of the to-be-tested parking space based on multiple parking space states stored in the cloud;
[0096] A charging unit 604, configured to obtain the charging data of the corresponding vehicle based on the state transition information and the license plate information.
[0097] This device applies the roadside parking space management method provided by the present application. The sampling unit 601 continuously performs real-time lidar sampling on the to-be-tested parking space according to the first sampling period to obtain a sampling result; the determination unit 602 determines the parking space state at the corresponding moment based on the sampling result, and stores the parking space state and / or the corresponding license plate information in the cloud: the processing unit 603 obtains the state transition information of the to-be-tested parking space based on multiple parking space states stored in the cloud, so that the charging unit 604 can identify the entry and exit situation of the vehicle in the parking space through the state transition information of the to-be-tested parking space, thereby performing charging management on the vehicle and realizing unmanned management. In addition, the applied parking meter is installed at a position on the curbstone at a preset distance from the to-be-tested parking space, which ensures the sampling effect while having the characteristics of simple installation and low hardware cost.
[0098] In another exemplary embodiment, the sampling unit 601 is further configured to continuously perform real-time lidar sampling on the to-be-tested parking space according to the first sampling period to obtain the first laser ranging distance; judge whether the first laser ranging distance is steady-state data, if so, use the first laser ranging distance as the sampling result; if not, continuously perform real-time lidar sampling on the to-be-tested parking space according to the second sampling period to obtain the second laser ranging distance; perform non-steady-state counting on the second laser ranging distance to obtain the non-steady-state counting result as the sampling result.
[0099] In another exemplary embodiment, the determining unit 602 is further configured to, when the sampling result is the first laser ranging distance, obtain the magnitude relationship between the first laser ranging distance and a preset distance range; if the magnitude relationship indicates that the first laser ranging distance is the minimum value of the distance range, determine that the parking space state at the corresponding moment is an empty space state, and store the empty space state in the cloud; if the magnitude relationship indicates that the first laser ranging distance is within the distance range, determine that the parking space state at the corresponding moment is an occluded state, and store the occluded state in the cloud; if the magnitude relationship indicates that the first laser ranging distance is greater than the maximum value of the distance range, determine that the parking space state at the corresponding moment is an occupied state, obtain the license plate information at the corresponding moment, and store the occupied state and the license plate information in the cloud.
[0100] In another exemplary embodiment, the determining unit 602 is further configured to, when the sampling result is a non-steady-state counting result, obtain the target counting result within a preset time period; if the target counting result is greater than the first counting threshold, determine that the parking space state at the corresponding moment is a bad weather state, and store the bad weather state in the cloud; if the target counting result is less than the first counting threshold, determine that the parking space state at the corresponding moment is an interfered state, and store the interfered state and / or the corresponding license plate information in the cloud.
[0101] In another exemplary embodiment, the interfered state includes a third-party interference state and a vehicle entry / exit state; the determining unit 602 is further configured to, if the target counting result is less than the first counting threshold and greater than the second counting threshold, determine that the parking space state at the corresponding moment is a vehicle entry / exit state, obtain the license plate information at the corresponding moment, and store the vehicle entry / exit state and the license plate information in the cloud; if the target counting result is less than or equal to the second counting threshold, determine that the parking space state at the corresponding moment is a third-party interference state, and store the third-party interference state in the cloud.
[0102] In another exemplary embodiment, the processing unit 603 is further configured to obtain multiple target parking space states corresponding to the same license plate information from the cloud; and obtain the state transition information of the to-be-detected parking space based on the multiple target parking space states.
[0103] It should be noted that the roadside parking space management device provided in the above embodiment and the roadside parking space management method provided in the above embodiment belong to the same concept. The specific manners in which each module and unit perform operations have been described in detail in the method embodiment, and will not be elaborated here. In practical applications, the roadside parking space management device provided in the above embodiment can, according to needs, allocate the above functions to different functional modules, that is, divide the internal structure of the device into different functional modules to complete all or part of the functions described above. This is not limited here either.
[0104] Embodiments of the present application also provide an electronic device, including: one or more processors; a storage device for storing one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the roadside parking space management method provided in the above embodiments.
[0105] Figure 7 The figure shows a schematic structural diagram of a computer system of an electronic device suitable for implementing the embodiments of the present application. It should be noted that Figure 7 The computer system 700 of the electronic device shown is only an example and should not impose any restrictions on the functions and usage scope of the embodiments of the present application.
[0106] As Figure 7 shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 702 or the program loaded from the storage section 708 into the random access memory (RAM) 703, such as executing the method in the above embodiments. In the RAM 703, various programs and data required for system operation are also stored. The CPU 701, ROM 702, and RAM 703 are connected to each other via a bus 704. The input / output (I / O) interface 705 is also connected to the bus 704.
[0107] The following components are connected to the I / O interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including, for example, a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the I / O interface 705 as required. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as required, so that the computer program read from it can be installed into the storage section 708 as required.
[0108] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product that includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and / or installed from the removable medium 711. When the computer program is executed by the central processing unit (CPU) 701, various functions defined in the system of the present application are executed.
[0109] It should be noted that the computer-readable medium shown in the embodiments of the present application can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can, for example, be an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having 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), a flash memory, an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program included on the computer-readable medium can be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0110] 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 application. Among them, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the above-mentioned module, program segment, or part of code contains one or more executable instructions for implementing the 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 that 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 or flowchart, as well as the combination of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0111] The units involved in the embodiments described in the present application can be implemented in software or in hardware, and the described units can also be provided in a processor. Among them, the names of these units do not, in some cases, constitute a limitation on the unit itself.
[0112] Another aspect of 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, it implements the roadside parking space management method as described above. The computer-readable storage medium can be included in the electronic device described in the above embodiments, or can exist alone without being assembled into the electronic device.
[0113] Another aspect of the present application also provides a computer program product or a computer program. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the roadside parking space management methods provided in the above various embodiments.
[0114] The above are only the preferred embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent replacements, or improvements made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A roadside parking space management method, characterized in that, Applied to a parking meter, the parking meter is installed at a position on the curb at a preset distance from the parking space to be measured. The method includes: Continuously performing real-time lidar sampling on the parking space to be measured according to a first sampling period to obtain a first laser ranging distance; determining whether the first laser ranging distance is steady-state data. If so, taking the first laser ranging distance as the sampling result; if not, continuously performing real-time lidar sampling on the parking space to be measured according to a second sampling period to obtain a second laser ranging distance; performing non-steady-state counting on the second laser ranging distance to obtain a non-steady-state counting result as the sampling result; The situations for determining steady-state data include that the range difference of the first laser ranging distance is less than 6 cm and the range difference of the energy intensity value amp of the laser is less than 500; the range difference is 6 - 15 cm and the range difference of amp is less than th; The situations for determining non-steady-state data include that the range difference is greater than 15 cm; the range difference is 6 - 15 cm and the range difference of amp is greater than th; the range difference is less than 6 cm and the range difference of amp is greater than 500; where th refers to the fluctuation value of amp reaching steady state in different stages; Based on the sampling result, determining the parking space state at the corresponding moment, and storing the parking space state and / or the corresponding license plate information in the cloud; when the sampling result is the non-steady-state counting result, obtaining the target counting result within a preset time period; if the target counting result is greater than the first counting threshold, determining the parking space state at the corresponding moment as a bad weather state and storing the bad weather state in the cloud; if the target counting result is less than the first counting threshold, determining the parking space state at the corresponding moment as an interfered state, and storing the interfered state and / or the corresponding license plate information in the cloud; the interfered state includes a third-party interference state and a vehicle entry / exit state; Based on the multiple parking space states stored in the cloud, obtaining the state transition information of the parking space to be measured; Based on the state transition information and the license plate information, obtaining the charging data of the corresponding vehicle.
2. The method according to claim 1, characterized in that The determining the parking space state at the corresponding moment based on the sampling result and storing the parking space state and / or the corresponding license plate information in the cloud includes: When the sampling result is the first laser ranging distance, obtaining the size relationship between the first laser ranging distance and a preset distance range; If the size relationship indicates that the first laser ranging distance is the minimum value of the distance range, determining the parking space state at the corresponding moment as an empty state and storing the empty state in the cloud; If the size relationship indicates that the first laser ranging distance is within the distance range, determining the parking space state at the corresponding moment as an occluded state and storing the occluded state in the cloud; If the size relationship indicates that the first laser ranging distance is greater than the maximum value of the distance range, determining the parking space state at the corresponding moment as an occupied state, obtaining the license plate information at the corresponding moment, and storing the occupied state and the license plate information in the cloud.
3. The method according to claim 1, characterized in that If the target count result is less than the first count threshold, determine that the parking space status at the corresponding moment is the disturbed state, and store the disturbed state and / or the corresponding license plate information in the cloud, including: If the target count result is less than the first count threshold and greater than the second count threshold, determine that the parking space status at the corresponding moment is the vehicle entry / exit state, obtain the license plate information at the corresponding moment, and store the vehicle entry / exit state and the license plate information in the cloud; If the target count result is less than or equal to the second count threshold, determine that the parking space status at the corresponding moment is the third-party interference state, and store the third-party interference state in the cloud.
4. The method according to any one of claims 1 to 3, characterized in that, The obtaining the status transition information of the to-be-detected parking space based on the multiple parking space statuses stored in the cloud includes: Obtain multiple target parking space statuses corresponding to the same license plate information from the cloud; Obtain the status transition information of the to-be-detected parking space based on the multiple target parking space statuses.
5. A parking meter, characterized in that, Apply the roadside parking space management method according to any one of claims 1 to 4; the parking meter includes a solar device, a camera, a radar device, and a development main board, and the solar device is connected to the camera, the radar device, and the development main board for providing electric energy; The development main board is further connected to the camera and the radar device for implementing the roadside parking space management method according to any one of claims 1 to 4.
6. A roadside parking space management device, characterized in that, Including: A sampling unit for continuously performing real-time lidar sampling on the to-be-detected parking space according to a first sampling period to obtain a first laser ranging distance; determine whether the first laser ranging distance is steady-state data, if so, use the first laser ranging distance as the sampling result; if not, continuously perform real-time lidar sampling on the to-be-detected parking space according to a second sampling period to obtain a second laser ranging distance; Perform non-steady-state counting on the second laser ranging distance to obtain a non-steady-state counting result as the sampling result; the situations for determining steady-state data include that the range difference corresponding to the first laser ranging distance is less than 6 cm and the range difference of the energy intensity value amp of the laser is less than 500; the range difference is 6 - 15 cm and the range difference of amp is less than th; the situations for determining non-steady-state data include that the range difference is greater than 15 cm; the range difference is 6 - 15 cm and the range difference of amp is greater than th; the range difference is less than 6 cm and the range difference of amp is greater than 500; where th refers to the fluctuation value of amp reaching steady state in different stages; A determination unit for determining the parking space status at the corresponding moment based on the sampling result, and storing the parking space status and / or the corresponding license plate information in the cloud; When the sampling result is the non-steady-state counting result, obtain the target count result within a preset time period; If the target count result is greater than the first count threshold, determine that the parking space status at the corresponding moment is a bad weather status, and store the bad weather status in the cloud; if the target count result is less than the first count threshold, determine that the parking space status at the corresponding moment is an interference status, and store the interference status and / or the corresponding license plate information in the cloud; the interference status includes a third-party interference status and a vehicle entry / exit status; A processing unit, configured to obtain status migration information of the to-be-detected parking space based on a plurality of the parking space statuses stored in the cloud; A charging unit, configured to obtain charging data of a corresponding vehicle based on the status migration information and the license plate information.
7. An electronic device, characterized in that, Comprising: One or more processors; A storage device, configured to store one or more programs, which, when executed by the one or more processors, cause the electronic device to implement the roadside parking space management method according to any one of claims 1 to 4.
8. A computer-readable storage medium, characterized in that, A computer-readable instruction is stored thereon, which, when executed by a processor of a computer, causes the computer to execute the roadside parking space management method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Method and system for managing roadside parking spaces by using radar and video camera
CN106205190A
Object state identification method
CN114076960A