Parking space selection method and device, storage medium and electronic equipment

Through lidar detection of the overlap between the barrier-free area and the target parking space in the parking space, calculating confidence and selecting parking spaces, the problem of low accuracy in parking space selection in the existing technology is solved, and higher accuracy and safety are achieved.

CN119049329APending Publication Date: 2024-11-29ZONGMU TECH SHANGHAI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411151851.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

The existing parking space selection technology is not very accurate, and it is impossible to effectively avoid missed selection problems caused by shading.

Method used

Lidar is used to detect the overlap between the barrier-free area and the target parking space in the parking space, calculate the confidence of the target parking space being an empty parking space, and select the parking space based on the confidence.

Benefits of technology

It improves the accuracy of vehicle selection to empty parking spaces, reduces missed selection caused by obstructions, and improves parking safety and efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119049329A_ABST
    Figure CN119049329A_ABST
Patent Text Reader

Abstract

The invention provides a parking space selection method and device, a storage medium and electronic equipment. The parking space selection method comprises the following steps: determining a target parking space according to a sensing detection result in the parking space; according to the overlapping condition of the barrier-free area of the laser radar and the target parking space, obtaining the confidence coefficient that the target parking space is an empty parking space; and parking space selection is carried out according to the confidence coefficient that the target parking space is the empty parking space. The parking space selection method can improve the probability of selecting an empty parking space.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of vehicle assisted driving, and relates to a parking space selection method, and in particular to a parking space selection method, device, storage medium and electronic equipment. Background Art

[0002] In the fields of autonomous driving and intelligent parking management, the automatic selection of a suitable parking space by a vehicle is one of the important technologies to improve driving experience, optimize parking efficiency, and ensure parking safety. In the prior art, various sensors (such as visual sensors, ultrasonic sensors, radar sensors, etc.) are usually used to detect the status of parking spaces, and parking space selection is performed based on the detection results. However, the existing parking space selection technology generally has the problem of low accuracy. Summary of the invention

[0003] The embodiments of the present application provide a parking space selection method, device, storage medium and electronic device for improving the accuracy of parking space selection.

[0004] In a first aspect, an embodiment of the present application provides a parking space selection method comprising: determining a target parking space based on a perception detection result within the parking space; obtaining a confidence level that the target parking space is an empty parking space based on an overlapping condition between an obstacle-free area of ​​a laser radar and the target parking space; and selecting a parking space based on the confidence level that the target parking space is an empty parking space.

[0005] In an implementation of the first aspect, the number of the target parking spaces is one, and selecting a parking space according to the confidence that the target parking space is an empty parking space includes: judging whether to select the target parking space for parking according to the confidence that the target parking space is an empty parking space; or, the number of the parking spaces is multiple, and selecting a parking space according to the confidence that the target parking space is an empty parking space includes: selecting one with the highest confidence from the target parking spaces for parking.

[0006] In an implementation manner of the first aspect, the overlapping range between the obstacle-free area of ​​the laser radar and the target parking space is positively correlated with the confidence that the target parking space is an empty parking space.

[0007] In an implementation of the first aspect, obtaining the confidence that the target parking space is an empty parking space based on the overlapping status of the laser radar's obstacle-free area and the target parking space includes: obtaining the angular range of the target parking space relative to the laser radar; obtaining the number of all rays within the angular range as the first ray number; obtaining the number of rays intersecting the target parking space within the angular range as the second ray number; and obtaining the confidence that the target parking space is an empty parking space based on the first ray number and the second ray number.

[0008] In an implementation of the first aspect, the confidence degree β that the target parking space is an empty parking space is:

[0009]

[0010] Wherein, x represents the number of the first rays, and y represents the number of the second rays.

[0011] In an implementation of the first aspect, obtaining the angular range of the target parking space relative to the laser radar includes: obtaining the vertex coordinates of the target parking space; obtaining the angle of the vertex coordinates of the target parking space relative to the center of the vehicle; and obtaining the angular range of the target parking space relative to the laser radar based on the maximum and minimum values ​​of the angles of the vertex coordinates of the target parking space relative to the center of the vehicle.

[0012] In an implementation of the first aspect, obtaining the number of all rays within the angle range as the first number of rays includes: emitting rays at a fixed angle through the laser radar; determining the rays within the angle range according to the angle of the rays and obtaining the first number of rays.

[0013] In an implementation of the first aspect, determining the target parking space according to the perception detection result within the parking space includes: performing obstacle detection in an unobstructed area of ​​the parking space; if there is no obstacle in the unobstructed area of ​​the parking space, determining the parking space as the target parking space.

[0014] In a second aspect, an embodiment of the present application provides a parking space selection device, which includes: a target parking space determination module, used to determine the target parking space according to the perception detection result within the parking space; a confidence acquisition module, used to obtain the confidence that the target parking space is an empty parking space according to the overlapping condition of the obstacle-free area of ​​the laser radar and the target parking space; a parking space selection module, used to select a parking space according to the confidence that the target parking space is an empty parking space.

[0015] In a third aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the parking space selection method described in any one of the first aspects of the embodiments of the present application is implemented.

[0016] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a memory storing a computer program; and a processor communicatively connected to the memory, for executing the parking space selection method described in any one of the first aspects of the embodiments of the present application when the computer program is called.

[0017] As described above, the parking space selection method, device, storage medium and electronic device provided in the embodiments of the present application have the following features:

[0018] Beneficial effects:

[0019] In the parking space selection method provided in the embodiment of the present application, the target parking space is determined according to the sensing detection result in the parking space, and the confidence that the target parking space is an empty parking space is determined according to the overlap between the obstacle-free area of ​​the laser radar and the target parking space. Selecting a parking space based on this confidence can increase the probability of the vehicle selecting an empty parking space, thereby improving the accuracy of parking space selection. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 Shown is a schematic diagram of an application scenario of a parking space selection method.

[0021] Figure 2 Shown is a flow chart of a parking space selection method provided in an embodiment of the present application.

[0022] Figure 3 Shown is a flow chart for determining a target parking space in an embodiment of the present application.

[0023] Figure 4 Shown is a flow chart for obtaining the confidence level of a target parking space being an empty parking space in an embodiment of the present application.

[0024] Figure 5A Shown is an example diagram of obtaining the angular range of the target parking space relative to the laser radar in an embodiment of the present application.

[0025] Figure 5B Shown is an example diagram of obtaining the number of first rays and the number of second rays in an embodiment of the present application.

[0026] Figure 6 Shown is a flow chart for obtaining the angular range of the target parking space relative to the laser radar in an embodiment of the present application.

[0027] Figure 7 Shown is an example diagram of parking space selection in an embodiment of the present application.

[0028] Figure 8 A flow chart showing a parking space selection method provided in an embodiment of the application is shown.

[0029] Fig. 9 Shown is a schematic diagram of the structure of a parking space selection device provided in an embodiment of the present application.

[0030] Fig.10 Shown is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0031] Component number description

[0032] 9 Parking space selection device

[0033] 91 Target parking space determination module

[0034] 92 Confidence Acquisition Module

[0035] 93 Parking Space Selection Module

[0036] 100 Electronic devices

[0037] 101 Processor

[0038] 102 Memory

[0039] 1021 Operating System

[0040] 1022 Applications

[0041] 103 Network Interface

[0042] 104 Bus system

[0043] 105 User Interface

[0044] Steps S21 to S23

[0045] Steps S31 to S32

[0046] Steps S41 to S44

[0047] Steps S61 to S63

[0048] Steps S81 to S89 DETAILED DESCRIPTION

[0049] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0050] It should be noted that the illustrations provided in the following embodiments are only used to illustrate the basic concept of the present application in a schematic manner, and therefore the illustrations only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0051] In the fields of autonomous driving and intelligent parking management, the automatic selection of a suitable parking space by a vehicle is one of the important technologies to improve driving experience, optimize parking efficiency, and ensure parking safety. In the prior art, various sensors (such as visual sensors, ultrasonic sensors, radar sensors, etc.) are usually used to detect the status of parking spaces, and parking spaces are selected based on the detection results. Figure 1 The following is a schematic diagram of an application scenario of parking space selection technology. Figure 1 As shown, the vehicle needs to detect the status of the parking space through the sensor installed on it, and select the parking space according to the detection result. However, the existing technology does not consider the problem of obstruction when selecting the parking space. For example Figure 1 As shown, when vehicle A detects parking spaces 3 and 4, it will be blocked by obstructions such as vehicle B, so the sensor of vehicle A can only detect whether there are obstacles in the unobstructed areas of parking spaces 3 and 4. In some technical solutions, if it is detected that there are no obstacles in the unobstructed area of ​​the parking space, the parking space will be judged to be available. However, there may also be obstacles in the obstructed area of ​​the parking space, such as vehicles, cones, ground locks, etc., which may cause these technical solutions to select non-empty parking spaces with obstacles, thereby reducing the accuracy of parking space selection.

[0052] At least to address the above problems, the embodiments of the present application provide a parking space selection method, device, storage medium and electronic device. The technical solution in the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings in the embodiments of the present application.

[0053] Figure 2 The flowchart of the parking space selection method provided by the embodiment of the present application is shown. Figure 2 As shown, the parking space selection method provided in the embodiment of the present application includes the following steps S21 to S23.

[0054] S21, determine the target parking space according to the parking space sensing detection result. The parking space sensing detection result is, for example, the result of detecting whether there are obstacles in the parking space through the vehicle's sensor. For a certain parking space, if it is detected that the parking space does not contain obstacles within the detection range of the sensor (that is, the unobstructed area), then the parking space can be determined as the target parking space, or called a suspected empty parking space. For example, Figure 1 In the application scenario shown, the sensor of vehicle A can be used to detect whether there are obstacles in parking spaces 1 to 4. Within the detection range of the sensor, there are obstacles in parking spaces 1 and 2, but no obstacles in parking spaces 3 and 4. Therefore, parking spaces 1 and 2 are not target parking spaces, and parking spaces 3 and 4 can be used as target parking spaces.

[0055] S22, obtaining the confidence that the target parking space is an empty parking space according to the overlap between the free space of the laser radar (Light Detection and Ranging, LIDAR) and the target parking space. The overlap between the free space of the laser radar and the target parking space can be represented by the overlap area of ​​the two, for example, but the present application is not limited thereto.

[0056] LiDAR can be installed on a vehicle to sense the surrounding environment by emitting laser rays and measuring the time and intensity of the reflected signal. LiDAR can provide distance measurement with centimeter-level accuracy and generate detailed three-dimensional point cloud data, and can detect objects within hundreds of meters. LiDAR can also collect data at a high frequency to obtain real-time data of the surrounding environment, thereby improving the real-time performance of the parking space selection method provided in the embodiment of the present application. The barrier-free area of ​​LiDAR refers to the free space in the surrounding environment or the drivable area of ​​the vehicle determined based on the data collected by the LiDAR.

[0057] S23, selecting a parking space according to the confidence that the target parking space is an empty parking space.

[0058] As described above, in the parking space selection method provided in the embodiment of the present application, the target parking space is determined according to the sensing detection result in the parking space, and the confidence that the target parking space is an empty parking space is determined according to the overlap between the obstacle-free area of ​​the laser radar and the target parking space. Selecting a parking space based on this confidence can increase the probability of the vehicle selecting an empty parking space.

[0059] In some implementations, the number of target parking spaces is 1. Selecting a parking space based on the confidence that the target parking space is an empty parking space includes: judging whether to select the target parking space for parking based on the confidence that the target parking space is an empty parking space. For example, if the confidence that the target parking space is an empty parking space is greater than a confidence threshold, the target parking space is selected for parking, otherwise the target parking space is not selected for parking. The confidence threshold can be set based on actual needs or experience, and this application does not limit the value of the confidence threshold.

[0060] In some implementations, there are multiple target parking spaces, and the confidence level of each target parking space being an empty parking space is obtained in step S22. In these implementations, selecting a parking space based on the confidence level of the target parking space being an empty parking space includes: selecting one of the target parking spaces with the highest confidence level for parking from all the target parking spaces.

[0061] It should be noted that when there are multiple target parking spaces, selecting the target parking space with the highest confidence for parking is only a feasible solution of the embodiment of the present application, but the present application is not limited thereto. For example, the user can also select the target parking space with the second highest confidence for parking according to the needs.

[0062] See also Figure 3 In some implementations, determining the target parking space according to the sensing detection result within the parking space includes the following steps S31 and S32.

[0063] S31, for any parking space, performing obstacle detection in an unobstructed area of ​​the parking space, wherein the unobstructed area of ​​the parking space refers to an area inside the parking space that is not obstructed by external obstructions.

[0064] For example, a visual sensor or a radar may be used to detect whether there is an obstacle in the unobstructed area of ​​the parking space.

[0065] S32: If there is no obstacle in the unobstructed area of ​​the parking space, determine that the parking space is a target parking space.

[0066] In some implementations, the parking space selection method provided in the embodiments of the present application may further include: obtaining an obstacle-free area of ​​a laser radar.

[0067] Exemplarily, obtaining the obstacle-free area of ​​the laser radar includes the following steps: emitting laser rays through the laser radar and receiving reflected signals to generate three-dimensional point cloud data to obtain detailed information of the parking space and its surrounding environment; processing the three-dimensional point cloud data to filter out noise and interference information; detecting obstacles around the vehicle based on the processed three-dimensional point cloud data, and eliminating obstacle areas to obtain the obstacle-free area of ​​the laser radar.

[0068] In some implementations, the overlap range between the laser radar's barrier-free area and the target parking space is positively correlated with the confidence that the target parking space is an empty parking space. Specifically, the larger the overlap range between the laser radar's barrier-free area and the target parking space, the higher the confidence that the target parking space is an empty parking space. Conversely, the smaller the overlap range between the laser radar's barrier-free area and the target parking space, the lower the confidence that the target parking space is an empty parking space.

[0069] See also Figure 4 In some implementations, obtaining the confidence that the target parking space is an empty parking space based on the overlapping condition between the obstacle-free area of ​​the laser radar and the target parking space includes the following steps S41 to S44.

[0070] S41, obtaining the angle range of the target parking space relative to the laser radar. Figure 5A In the example shown, the angle range of the target parking space relative to the laser radar is (a, b), where a is the angle corresponding to vertex p1 in the vehicle coordinate system, and b is the angle corresponding to vertex p3 in the vehicle coordinate system. The vehicle coordinate system refers to a coordinate system established with a feature point in the vehicle as the origin, such as the center of the vehicle.

[0071] S42, obtaining the number of all rays within the angle range as the first ray number. Figure 5B In the example shown, the rays within the angle range (a, b) include rays L2 to L8 , and the number of first rays is 7.

[0072] S43, obtaining the number of rays intersecting the target parking space within the angle range as the second number of rays. Figure 5BIn the example shown, due to the occlusion of the obstruction, only rays L2, L6, L7 and L8 intersect with the target parking space, and the number of second rays is 4.

[0073] S44, obtaining a confidence level that the target parking space is an empty parking space according to the number of first rays and the number of second rays.

[0074] In some implementations, the confidence β that the target parking space is an empty parking space is:

[0075]

[0076] Where x represents the number of the first ray and y represents the number of the second ray.

[0077] See also Figure 6 In some implementations, obtaining the angle range of the target parking space relative to the laser radar includes the following steps S61 to S63.

[0078] S61, obtaining the vertex coordinates of the target parking space. Figure 5A In the example shown, vertex coordinates of vertices p1 to p4 of the target parking space are obtained.

[0079] For example, the three-dimensional point cloud data of the target parking space may be collected by a laser radar, and boundary extraction, vertex recognition and other operations may be performed based on the three-dimensional point cloud data to obtain the coordinates of each vertex of the target parking space.

[0080] Exemplarily, an image or video of the target parking space may be captured by a camera, and image processing and geometric analysis may be performed on the image or video to obtain the coordinates of each vertex of the target parking space.

[0081] S62, obtaining the angle of the vertex coordinates of the target parking space relative to the center of the vehicle. Figure 5A In the example shown, the angles of vertices p1 to p4 relative to the center of the vehicle are acquired.

[0082] Exemplarily, the vertex coordinates of the target parking space may be converted into coordinates in the vehicle coordinate system by means of coordinate conversion, and the position of the vertex coordinates of the target parking space relative to the center of the vehicle may be calculated based on the coordinates.

[0083] S63, obtaining the angle range of the target parking space relative to the laser radar according to the maximum and minimum values ​​of the angles of the vertex coordinates of the target parking space relative to the center of the vehicle. Figure 5A In the example shown, the maximum angle relative to the center of the vehicle is b, and the minimum angle is a, so the angle range of the target parking space relative to the laser radar is (a, b).

[0084] In some implementations, obtaining the number of all rays within the angle range as the first number of rays includes: emitting rays at a fixed angle through a laser radar; determining the rays within the angle range according to the angle of the rays and obtaining the first number of rays.

[0085] In some implementations, the vehicle may obtain the confidence that multiple target parking spaces are empty, and select one parking space from the multiple target parking spaces as the parking space according to the confidence. For example, the target parking space with the highest confidence may be selected as the parking space.

[0086] For example, see Figure 7 , the confidence that target parking space 1 is an empty parking space is 4 / 6 = 66.7%, and the confidence that target parking space 2 is an empty parking space is 5 / 5 = 100%, then target parking space 2 can be selected first for parking. Since there may be obstacles in the occlusion area of ​​target parking space 1, these obstacles cannot be detected by the laser radar in the occlusion area. By selecting a target parking space with high confidence for parking, the probability of obstacles in the occlusion area can be minimized, thereby improving the accuracy of parking space selection.

[0087] Next, the parking space selection method provided by the embodiment of the present application will be described in detail through a specific example. It should be noted that this example is only used to illustrate and introduce the parking space selection method provided by the embodiment of the present application, and is not used to limit the scope of protection of the present application. In specific applications, the corresponding content can be added, deleted or replaced according to actual needs. Figure 8 The flowchart of the parking space selection method in this example is shown. Figure 8 As shown, the parking space selection method in this example includes the following steps S81 to S89.

[0088] S81, when the vehicle arrives near the parking space, the unobstructed area of ​​the parking space is sensed and detected. The sensed and detected parking space can be performed by a visual sensor such as a camera or a laser radar.

[0089] S82, if the sensing detection result in the parking space indicates that there is no obstacle in the unobstructed area of ​​the parking space, the parking space is determined to be the target parking space. Otherwise, the parking space is determined not to be the target parking space, and the next parking space is continuously detected to see whether it can be used as the target parking space.

[0090] S83, using the laser radar of the vehicle to emit laser rays at a fixed angle.

[0091] S84, obtaining an obstacle-free area and a target parking space area of ​​the laser radar.

[0092] Exemplarily, a method for obtaining a target parking space area includes: using a camera to capture an image of the target parking space area; performing image preprocessing on the image of the target parking space area to remove interference and noise; performing edge detection on the preprocessed image to extract parking space lines, and edge detection can be implemented, for example, by a Canny edge detection method; obtaining corner points of the parking space lines as vertices of the target parking space, and determining the target parking space area based on the vertices and parking space lines of the target parking space.

[0093] Exemplarily, a method for obtaining the target parking area includes: obtaining the target parking area according to a pre-stored map or parking lot information. Taking the map as an example, the map containing the target parking area can be stored in the vehicle or in the cloud in advance. When the vehicle arrives near the target parking space, the map is loaded from the local or cloud, and the target parking area is obtained from the map. Optionally, the target parking area can also be corrected in combination with the surrounding environment information detected by visual sensors or radars. In this way, even if the target parking space is blocked by obstacles and the vehicle cannot detect all the information of the target parking space, the embodiment of the present application can accurately obtain the target parking area.

[0094] S85, calculating the angle range of the target parking space relative to the laser radar.

[0095] S86, calculating the number of laser radar rays within the above-mentioned angle range as the first ray number.

[0096] S87, calculating the number of laser radar rays intersecting the target parking area within the above angle range as the second ray number.

[0097] S88: Calculate the occlusion probability of the target parking space and / or the confidence that the target parking space is an empty parking space according to the number of first rays and the number of second rays.

[0098] S89, selecting a parking space according to the confidence level that the target parking space is an empty parking space.

[0099] The protection scope of the parking space selection method provided in the embodiment of the present application is not limited to the execution order of the steps listed in this embodiment. All solutions implemented by adding, reducing or replacing steps in the prior art based on the principles of the present application are included in the protection scope of the present application.

[0100] The embodiment of the present application also provides a parking space selection device, which can implement the parking space selection method described in the present application, but the implementation device of the parking space selection method described in the present application includes but is not limited to the structure of the parking space selection device listed in the present embodiment. All structural deformations and replacements of the prior art made according to the principles of the present application are included in the protection scope of the present application.

[0101] Fig. 9The diagram shows the structure of the parking space selection device provided by the embodiment of the present application. Fig. 9 As shown, the parking space selection device 9 includes a target parking space determination module 91, a confidence acquisition module 92 and a parking space selection module 93. The target parking space determination module 91 is used to determine the target parking space according to the sensing detection result in the parking space. The confidence acquisition module 92 is used to obtain the confidence that the target parking space is an empty parking space according to the overlapping condition between the obstacle-free area of ​​the laser radar and the target parking space. The parking space selection module 93 is used to select a parking space according to the confidence that the target parking space is an empty parking space.

[0102] In some implementations, the number of the target parking space is 1. The parking space selection module 93 determines whether to select the target parking space for parking according to the confidence that the target parking space is an empty parking space.

[0103] In some implementations, there are multiple parking spaces. The parking space selection module 93 selects one of the target parking spaces with the highest confidence for parking.

[0104] In some implementations, the overlapping range between the obstacle-free area of ​​the laser radar and the target parking space is positively correlated with the confidence that the target parking space is an empty parking space.

[0105] In some implementations, the confidence acquisition module 92 includes an angle range acquisition unit, a first ray number acquisition unit, a second ray number acquisition unit, and a confidence acquisition unit. The angle range acquisition unit is used to acquire the angle range of the target parking space relative to the laser radar. The first ray number acquisition unit is used to acquire the number of all rays within the angle range as the first ray number. The second ray number acquisition unit is used to acquire the number of rays intersecting the target parking space within the angle range as the second ray number. The confidence acquisition unit is used to acquire the confidence that the target parking space is an empty parking space based on the first ray number and the second ray number.

[0106] In some implementations, the confidence acquisition module 92 uses the following formula to acquire the confidence β that the target parking space is an empty parking space:

[0107]

[0108] Where x represents the number of the first ray and y represents the number of the second ray.

[0109] In some implementations, the angle range acquisition unit includes a vertex coordinate acquisition subunit, an angle acquisition subunit, and an angle range acquisition subunit. The vertex coordinate acquisition subunit is used to acquire the vertex coordinates of the target parking space. The angle acquisition subunit is used to acquire the angle of the vertex coordinates of the target parking space relative to the center of the vehicle. The angle range acquisition subunit is used to acquire the angle range of the target parking space relative to the laser radar according to the maximum and minimum values ​​of the angles of the vertex coordinates of the target parking space relative to the center of the vehicle.

[0110] In some implementations, the first ray quantity acquisition unit acquires all ray quantities within an angle range as the first ray quantity, including: emitting rays at a fixed angle through a laser radar; determining the rays within the angle range according to the angle of the rays and acquiring the first ray quantity.

[0111] In some implementations, the target parking space determination module 91 includes an obstacle detection unit and a target parking space determination unit. The obstacle detection unit is used to detect obstacles in the unobstructed area of ​​the parking space. The target parking space determination unit is used to determine that the parking space is the target parking space when there is no obstacle in the unobstructed area of ​​the parking space.

[0112] It should be understood that the specific process of each module, unit or sub-unit executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.

[0113] It should also be understood that the division of modules in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present application may be integrated into a processor, or may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.

[0114] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by the processor, the parking space selection method provided by the embodiment of the present application is implemented. A person of ordinary skill in the art can understand that all or part of the steps in the method for implementing the above embodiment can be completed by instructing the processor through a program, and the program can be stored in a computer-readable storage medium, and the storage medium is a non-transitory medium, such as a random access memory, a read-only memory, a flash memory, a hard disk, a solid-state hard disk, a magnetic tape, a floppy disk, an optical disc, and any combination thereof. The above storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more available media integrated. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a digital video disc (DVD)), or a semiconductor medium (for example, a solid-state disk (SSD)), etc.

[0115] Fig.10 is a schematic block diagram of an electronic device provided in an embodiment of the present application. Fig.10As shown, the electronic device 100 comprises at least one processor 101, a memory 102, at least one network interface 103 and a user interface 105. The components in the device are coupled together via a bus system 104. It is understood that the bus system 104 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 104 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 104 is not described in detail. Fig.10 In the specification, various buses are labeled as bus systems.

[0116] The user interface 105 may include a display, a keyboard, a mouse, a trackball, a click gun, keys, buttons, a touch pad or a touch screen.

[0117] It is understood that the memory 102 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM). The memory described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable categories of memory.

[0118] The memory 102 in the embodiment of the present invention is used to store various categories of data to support the operation of the electronic device 100. Examples of these data include: any executable program for operating on the electronic device 100, such as an operating system 1021 and an application 1022; the operating system 1021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application 1022 may include various applications, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services. The parking space selection method provided in the embodiment of the present invention may be included in the application 1022.

[0119] The method disclosed in the above embodiment of the present invention can be applied to the processor 101, or implemented by the processor 101. The processor 101 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 101 or the instruction in the form of software. The above processor 101 may be a general processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 101 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiment of the present invention. The general processor 101 can be a microprocessor or any conventional processor, etc. In combination with the steps of the accessory optimization method provided in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0120] In an exemplary embodiment, the electronic device 100 may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), or complex programmable logic device (CPLD) to execute the aforementioned method.

[0121] According to the parking space selection method provided by the embodiment of the present application, the embodiment of the present application also provides a computer program product, which includes: computer program code, when the computer program code is run on a computer, the computer executes the parking space selection method provided by the embodiment of the present application.

[0122] The terms "component", "module", "system", etc. used in this specification are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program and / or a computer. By way of illustration, both applications running on a computing device and a computing device can be components. One or more components may reside in a process and / or an execution thread, and a component may be located on a computer and / or distributed between two or more computers. In addition, these components may be executed from various computer-readable media having various data structures stored thereon. Components may, for example, communicate through local and / or remote processes according to signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system and / or a network, such as the Internet interacting with other systems through signals).

[0123] Those of ordinary skill in the art will appreciate that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or in a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0124] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0125] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0126] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0127] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0128] In the above embodiments, the functions of each functional unit can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions (programs). When loading and executing computer program instructions (programs) on a computer, the process or function according to the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. Computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integrations. Available media may be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., high-density digital video discs (DVDs), or semiconductor media (e.g., solid state disks (SSDs), etc.).

[0129] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.

[0130] In summary, the embodiments of the present application provide a parking space selection method, device, storage medium and electronic device. In the parking space selection method provided in the embodiments of the present application, the target parking space is determined based on the sensing detection results in the parking space, and the confidence that the target parking space is an empty parking space is judged based on the overlapping condition of the barrier-free area of ​​the laser radar and the target parking space. Selecting a parking space based on this confidence can increase the probability of the vehicle selecting an empty parking space. Therefore, the present application effectively overcomes the various shortcomings in the prior art and has a high industrial utilization value.

[0131] The above embodiments are merely illustrative of the principles and effects of the present application and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims

1. A parking space selection method, It is characterized in that The parking space selection method comprises: Determine the target parking space according to the sensing detection result in the parking space; Obtaining the confidence that the target parking space is an empty parking space according to the overlapping condition between the obstacle-free area of ​​the laser radar and the target parking space; A parking space is selected according to the confidence that the target parking space is an empty parking space.

2. The parking space selection method according to claim 1, Features: The number of the target parking space is 1, and selecting a parking space according to the confidence that the target parking space is an empty parking space includes: judging whether to select the target parking space for parking according to the confidence that the target parking space is an empty parking space; or There are multiple parking spaces, and selecting a parking space according to the confidence that the target parking space is an empty parking space includes: selecting one of the target parking spaces with the highest confidence for parking.

3. The parking space selection method according to claim 1, It is characterized in that The overlapping range between the obstacle-free area of ​​the laser radar and the target parking space is positively correlated with the confidence that the target parking space is an empty parking space.

4. The parking space selection method according to claim 3, It is characterized in that Acquiring the confidence that the target parking space is an empty parking space according to the overlapping condition between the obstacle-free area of ​​the laser radar and the target parking space includes: Obtaining an angular range of the target parking space relative to the laser radar; Obtaining the number of all rays within the angle range as the first ray number; Acquire the number of rays intersecting the target parking space within the angle range as the number of second rays; The confidence level that the target parking space is an empty parking space is obtained according to the number of the first rays and the number of the second rays.

5. The parking space selection method according to claim 4, It is characterized in that The confidence β that the target parking space is an empty parking space is: Wherein, x represents the number of the first rays, and y represents the number of the second rays.

6. The parking space selection method according to claim 4, It is characterized in that Obtaining the angle range of the target parking space relative to the laser radar includes: Obtaining the vertex coordinates of the target parking space; Obtaining the angle of the vertex coordinates of the target parking space relative to the center of the vehicle; The angular range of the target parking space relative to the laser radar is obtained according to the maximum and minimum values ​​of the angles of the vertex coordinates of the target parking space relative to the center of the vehicle.

7. The parking space selection method according to claim 4, It is characterized in that Obtaining the number of all rays within the angle range as the first ray number includes: The laser radar emits rays at a fixed angle; The rays within the angle range are determined according to the angle of the rays and the first ray quantity is obtained.

8. The parking space selection method according to claim 1, It is characterized in that Determining the target parking space based on the sensing detection results in the parking space includes: Obstacle detection is performed in the unobstructed area of ​​the parking space; If there is no obstacle in the unobstructed area of ​​the parking space, the parking space is determined to be the target parking space.

9. A parking space selection device, It is characterized in that The parking space selection device comprises: A target parking space determination module is used to determine the target parking space according to the sensing detection result in the parking space; A confidence acquisition module, used to acquire the confidence that the target parking space is an empty parking space according to the overlapping condition between the obstacle-free area of ​​the laser radar and the target parking space; The parking space selection module is used to select a parking space according to the confidence that the target parking space is an empty parking space.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the parking space selection method according to any one of claims 1 to 8 is implemented.

11. An electronic device, It is characterized in that The electronic device comprises: A memory storing a computer program; A processor is communicatively connected to the memory, and executes the parking space selection method according to any one of claims 1 to 8 when calling the computer program.