Parking guiding method and device, server and storage medium

By using the WebRTC data channel in the parking lot to obtain vehicle location and parking space information, and generate and transmit parking guidance information, the problem of low efficiency in finding vacancies in the parking lot is solved, a fast and accurate parking process is achieved, and traffic congestion is reduced.

CN118658326APending Publication Date: 2024-09-17深圳市云语科技有限公司
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410688199.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

The existing methods of finding empty parking spaces in parking lots are inefficient, making it difficult for vehicles to find parking spaces in time, causing traffic jams.

Method used

By establishing a WebRTC data channel between the server and the terminal device, the environment image data is obtained, the vehicle location and parking space information are determined, accurate parking guidance information is generated, and the information is transmitted to the terminal device based on the WebRTC data channel to guide the vehicle to park automatically or manually. to the target parking space.

Benefits of technology

Efficient and accurate parking guidance is achieved, improving vehicle parking efficiency and reducing traffic jams.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118658326A
    Figure CN118658326A
Patent Text Reader

Abstract

The invention provides a parking guiding method and device, a server and a storage medium, and belongs to the field of data processing, and the method comprises the steps: obtaining environment image data transmitted by a terminal device based on a WebRTC data channel, the environment image data being obtained by the terminal device after a vehicle enters a parking lot; according to the environment image data, determining a first position of the vehicle in the parking lot, and obtaining parking space information of the parking lot; generating parking guide information according to the first position and the parking space information; and transmitting the parking guide information to the terminal equipment based on the WebRTC data channel, so that the terminal equipment outputs the parking guide information to guide the vehicle to automatically park in a target parking space or guide a driver to drive the vehicle to park in the target parking space. According to the invention, the parking guide information is efficiently generated, so that the parking of the vehicle can be accurately and efficiently completed according to the parking guide information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a parking guidance method, device, server and storage medium. Background Art

[0002] With the rapid increase in the number of cars, the demand for parking lots has also increased dramatically, and the problem of parking difficulties has become more and more serious, especially in some public places such as office buildings, hospitals and supermarkets. Finding empty parking spaces in parking lots has become a troublesome and laborious task. At present, the general way to find empty parking spaces is: car owners drive to find empty spaces, or staff guide them to empty parking spaces. However, the existing way of finding empty parking spaces is inefficient. Once a vehicle cannot find a parking space in time, it will cause traffic jams.

[0003] Therefore, how to effectively find parking spaces and guide vehicles to park is a problem that needs to be solved urgently. Summary of the invention

[0004] The main purpose of the present application is to provide a parking guidance method, device, server and storage medium, which are intended to provide accurate parking guidance information for vehicles in parking lots so that vehicles can be parked accurately and efficiently.

[0005] In a first aspect, the present application provides a parking guidance method, which is applied to a server, wherein a WebRTC data channel is established between the server and a terminal device, and the parking guidance method comprises the following steps:

[0006] Acquire environmental image data transmitted by the terminal device based on the WebRTC data channel, wherein the environmental image data is acquired by the terminal device after the vehicle enters the parking lot;

[0007] Determine a first position of the vehicle in the parking lot according to the environmental image data, and obtain parking space information of the parking lot;

[0008] generating parking guidance information according to the first position and the parking space information;

[0009] The parking guidance information is transmitted to the terminal device based on the WebRTC data channel, so that the terminal device outputs the parking guidance information to guide the vehicle to automatically park at the target parking space or guide the driver to drive the vehicle to park at the target parking space.

[0010] In a second aspect, the present application further provides a parking guidance device, the parking guidance device comprising an acquisition module, a determination module and a sending module, wherein:

[0011] The acquisition module is used to acquire the environment image data transmitted by the terminal device based on the WebRTC data channel, and the environment image data is acquired by the terminal device after the vehicle enters the parking lot;

[0012] The determination module is used to determine a first position of the vehicle in the parking lot according to the environmental image data;

[0013] The acquisition module is further used to acquire the parking space information of the parking lot;

[0014] The determination module is further configured to generate parking guidance information according to the first position and the parking space information;

[0015] The sending module is used to transmit the parking guidance information to the terminal device based on the WebRTC data channel, so that the terminal device outputs the parking guidance information to guide the vehicle to automatically park at the target parking space or guide the driver to drive the vehicle to park at the target parking space.

[0016] In a third aspect, the present application also provides a server, comprising a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the parking guidance method as described above are implemented.

[0017] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the parking guidance method as described above are implemented.

[0018] The present application provides a parking guidance method, device, server and storage medium. The present application obtains environmental image data transmitted by a terminal device based on a WebRTC data channel. The environmental image data is obtained by the terminal device after the vehicle enters the parking lot; according to the environmental image data, the first position of the vehicle in the parking lot is determined, and the parking space information of the parking lot is obtained; then, according to the first position and the parking space information, parking guidance information is accurately generated; and the parking guidance information is transmitted to the terminal device based on the WebRTC data channel, so that the terminal device outputs the parking guidance information to guide the vehicle to automatically park at the target parking space or guide the driver to drive the vehicle to park at the target parking space. The parking guidance information is efficiently generated, so that the vehicle can be parked accurately and efficiently according to the parking guidance information. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0020] Figure 1 A schematic diagram of a parking guidance method provided in an embodiment of the present application;

[0021] Figure 2 for Figure 1 A schematic diagram of the sub-step flow chart of the parking guidance method in FIG.

[0022] Figure 3 A schematic block diagram of a parking guidance device provided in an embodiment of the present application;

[0023] Figure 4 for Figure 3 A schematic block diagram of a submodule of a parking guidance device in FIG.

[0024] Figure 5 A schematic block diagram of the structure of a server provided in an embodiment of the present application.

[0025] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0027] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.

[0028] With the rapid increase in the number of cars, the demand for parking lots has also increased dramatically, and the problem of parking difficulties has become more and more serious, especially in some public places such as office buildings, hospitals and supermarkets. Finding empty parking spaces in parking lots has become a troublesome and laborious task. At present, the general way to find empty parking spaces is: car owners drive to find empty spaces, or staff guide them to empty parking spaces. However, the existing way of finding empty parking spaces is inefficient. Once a vehicle cannot find a parking space in time, it will cause traffic jams.

[0029] To solve the above problems, embodiments of the present invention provide a parking guidance method, device, server and storage medium. The parking guidance method obtains environmental image data transmitted by a terminal device based on a WebRTC data channel, and the environmental image data is obtained by the terminal device after the vehicle enters the parking lot; according to the environmental image data, the first position of the vehicle in the parking lot is determined, and the parking space information of the parking lot is obtained; then, according to the first position and the parking space information, parking guidance information is accurately generated; and the parking guidance information is transmitted to the terminal device based on the WebRTC data channel, so that the terminal device outputs the parking guidance information to guide the vehicle to automatically park at the target parking space or guide the driver to drive the vehicle to park at the target parking space. The parking guidance information is efficiently generated, so that the vehicle can be parked accurately and efficiently according to the parking guidance information.

[0030] The parking guidance method can be applied to a server, which can be a blade server, a rack server, a tower server, a web server or the like.

[0031] In conjunction with the accompanying drawings, some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0032] Please refer to Figure 1 , Figure 1 A schematic flow chart of a parking guidance method provided in an embodiment of the present application.

[0033] like Figure 1 As shown, the parking guidance method includes steps S101 to S104.

[0034] Step S101: Acquire environmental image data transmitted by a terminal device based on the WebRTC data channel, wherein the environmental image data is acquired by the terminal device after a vehicle enters a parking lot.

[0035] Among them, the terminal device can be a vehicle-mounted terminal, a mobile phone, a head-mounted display device and other devices. The vehicle-mounted terminal can be a vehicle computer, and the head-mounted display device can be augmented reality (AR) glasses, AR helmets, mixed reality (MR) glasses and MR helmets and other devices.

[0036] It should be noted that the parking guidance method is applied to a server, and a Web Real-Time Communication (WebRTC) data channel is established between the server and the terminal device, and the WebRTC data channel is used for data transmission between the server and the terminal device. The server is used to store parking space information of the parking lot, and generate parking guidance information based on the first position and the parking space information.

[0037] In some embodiments, after the vehicle enters the parking lot, the display screen of the terminal device displays a prompt window for establishing a WebRTC data channel, wherein the prompt window for establishing a WebRTC data channel is used to prompt the driver whether to establish a WebRTC data channel. The instruction for establishing a WebRTC data channel input by the driver based on the prompt window for establishing a WebRTC data channel is obtained, and a request for establishing a WebRTC data channel is sent to the server according to the instruction for establishing a WebRTC data channel, wherein the request for establishing a WebRTC data channel includes vehicle location information; the server receives the request for establishing a WebRTC data channel, and determines whether the vehicle is located in the parking lot according to the vehicle location information in the request for establishing a WebRTC data channel; if it is determined that the vehicle is located in the parking lot according to the vehicle location information, a WebRTC data channel is established between the server and the terminal device; if it is determined that the vehicle is not located in the parking lot according to the vehicle location information, information for establishing a WebRTC data channel is sent to the terminal device.

[0038] It should be noted that the method for obtaining the driver's instruction to establish a WebRTC data channel based on the prompt window for establishing a WebRTC data channel can be: when the terminal device is a vehicle computer, a prompt page for establishing a WebRTC data channel is displayed on the display screen of the vehicle computer, and the prompt page for establishing a WebRTC data channel also includes an "Establish" touch option and a "Do not establish" touch option, and the driver's touch instructions in the "Establish" touch option and the "Do not establish" touch option on the prompt page are obtained to obtain the instruction to establish a WebRTC data channel.

[0039] In some embodiments, a camera is provided on the outside of the vehicle, and a communication connection is established between the terminal device and the camera. When the vehicle enters the parking lot, the camera collects images of the surrounding environment, obtains environmental image data, and transmits the environmental image data to the terminal device, so that the terminal device obtains environmental image data after the vehicle enters the parking lot. Through the vehicle's camera, the environmental image after the vehicle enters the parking lot can be quickly obtained.

[0040] In some embodiments, when the terminal device is a mobile phone or a tablet computer, when the vehicle enters the parking lot, the mobile phone or tablet computer collects the surrounding environment image through its own camera to obtain the environmental image data after the vehicle enters the parking lot. Collecting the vehicle's surrounding environment image through the camera of the mobile phone or tablet computer can improve the convenience of obtaining environmental image data.

[0041] In some embodiments, when the environmental image data after the vehicle enters the parking lot is obtained, the environmental image data is transmitted to the server based on the WebRTC data channel so that the server can quickly generate parking guidance information. Transmitting environmental image data through the WebRTC data channel can effectively improve data transmission efficiency, thereby improving the efficiency and accuracy of vehicle parking guidance.

[0042] Step S102: determining a first position of the vehicle in the parking lot according to the environmental image data, and acquiring parking space information of the parking lot.

[0043] The parking space information includes vacant parking space information and parking lot layout information. The vacant parking space information includes the number of vacant parking spaces, vacant parking space numbers and vacant parking space locations. The parking lot layout information includes parking space locations and parking lot road information.

[0044] In some embodiments, the environmental image data is input into a preset position recognition model for position recognition to obtain the first position of the vehicle in the parking lot. The preset position recognition model is a pre-trained neural network model. The type of the neural network model can be set according to actual conditions. The embodiment of the present invention does not specifically limit this. For example, the neural network model can be a convolutional neural network model, a recurrent neural network model, and a recurrent convolutional neural network model. By recognizing the environmental image data with the preset position recognition model, the first position of the vehicle in the parking lot can be accurately obtained.

[0045] In some embodiments, the method of generating the preset position recognition model can be: obtaining a sample data set, the sample data set includes multiple sample data, the sample data includes environmental image data and a marked first position; selecting a sample data from the sample data set as the target sample data; inputting the environmental image data and the marked first position in the target sample data into the preset neural network model training to obtain the predicted first position; determining whether the preset neural network model converges according to the marked first position and the predicted first position, and if the preset neural network model does not converge, updating the model parameters of the neural network model, and continuing to perform the step of selecting a sample data from the sample data set as the target sample data until the neural network model converges to obtain the preset position recognition model. Training the neural network model based on the sample data set can accurately obtain the preset position recognition model.

[0046] In some embodiments, the method of determining whether the preset neural network model has converged according to the marked first position and the predicted first position can be: determining the loss value of the preset neural network model according to the marked first position and the predicted first position, and determining that the preset neural network model has converged when the loss value is less than or equal to the preset loss value; and determining that the preset neural network model has not converged when the loss value is greater than the preset loss value. The preset loss value can be set according to actual conditions, and the embodiments of the present invention do not specifically limit this.

[0047] In some embodiments, the loss value of the preset neural network model can be determined based on the marked first position and the predicted first position by calculating the cosine similarity between the marked first position and the predicted first position to obtain a similarity value, and determining the result obtained by subtracting the similarity value from unit 1 as the loss value.

[0048] In some embodiments, the parking space information of the parking lot is obtained to obtain the parking space information, wherein the parking space information can be stored in the local storage space of the server, and of course, the parking space information can also be stored in the cloud storage, and the server downloads the parking space information from the cloud storage.

[0049] Step S103: Generate parking guidance information according to the first position and the parking space information.

[0050] The parking guidance information is used to guide the vehicle to automatically park at a target parking space or to guide the driver to drive the vehicle to park at a target parking space.

[0051] In some embodiments, Figure 2 As shown, step S103 includes sub-steps S1031 and S1032.

[0052] Sub-step S1031: determining a plurality of candidate empty parking space information according to the first position and the empty parking space information.

[0053] The vacant parking space information includes the number of vacant parking spaces, vacant parking space numbers and vacant parking space locations.

[0054] In some embodiments, the distance between the vehicle and each empty parking space is determined based on the first position and the second position of each empty parking space in the empty parking space information; a preset number of empty parking spaces are selected from far to near based on the distance between the vehicle and each empty parking space to obtain multiple candidate empty parking space information. The preset number can be set according to actual conditions, and the embodiment of the present invention does not specifically limit this. For example, the preset number can be 3. Based on the second position of the empty parking space and the first position of the vehicle, multiple suitable candidate empty parking space information can be accurately selected.

[0055] In some embodiments, based on the first position and the second position of each empty parking space in the empty parking space information, a method for determining the distance between the vehicle and each empty parking space can be: performing distance calculation between the first position and the second position of each empty parking space based on the Global Positioning System (GPS) to obtain the distance between the vehicle and each empty parking space.

[0056] Sub-step S1032: generating parking guidance information according to the information of the plurality of candidate vacant parking spaces and the layout information of the parking lot.

[0057] The parking lot layout information includes parking space locations and parking lot road information.

[0058] In some embodiments, the cost of the vehicle to each candidate empty parking space is determined based on the information of each candidate empty parking space and the layout information of the parking lot; the candidate empty parking space with the smallest cost is determined as the target empty parking space, and parking guidance information for the vehicle to the target empty parking space is output. By determining the cost of the vehicle to reach the candidate empty parking space, the most suitable empty parking space can be accurately selected, greatly improving the parking efficiency of the driver.

[0059] In some embodiments, according to the information of each candidate empty parking space and the layout information of the parking lot, the cost of the vehicle to each candidate empty parking space can be determined by: planning the driving route of the vehicle to each candidate empty parking space according to the first position and the information of each candidate empty parking space; determining the route distance of the driving route of the vehicle to each candidate empty parking space as the cost of the vehicle to each candidate empty parking space. According to the route distance of the driving route of the vehicle to each candidate empty parking space, the cost of the vehicle to each candidate empty parking space can be accurately obtained.

[0060] It should be noted that the longer the distance of the vehicle's driving route is, the greater the cost required for the vehicle to reach the empty parking space, that is, the greater the cost value.

[0061] In some embodiments, according to the first position and the information of each candidate empty parking space, the driving route of the vehicle to each candidate empty parking space may be planned by performing driving route navigation planning based on the first position, the second position in the information of each candidate empty parking space, and the parking lot road information based on GPS to obtain the driving route of the vehicle to each candidate empty parking space. Among them, driving route navigation planning is a conventional technical means, and the embodiments of the present invention do not specifically limit this.

[0062] Exemplarily, there are candidate empty parking spaces 1, candidate empty parking spaces 2, candidate empty parking spaces 3, candidate empty parking spaces 4, and candidate empty parking spaces 5. Driving path navigation planning is performed on candidate empty parking spaces 1, candidate empty parking spaces 2, candidate empty parking spaces 3, candidate empty parking spaces 4, and candidate empty parking spaces 5 and the first position, respectively, to obtain driving route 1 for the vehicle to reach candidate empty parking space 1, driving route 2 for the vehicle to reach candidate empty parking space 2, driving route 3 for the vehicle to reach candidate empty parking space 3, driving route 4 for the vehicle to reach candidate empty parking space 4, and driving route 5 for the vehicle to reach candidate empty parking space 5. ; Among them, the route distance of driving route 1 is 300 meters, the route distance of driving route 2 is 400 meters, the route distance of driving route 3 is 200 meters, the route distance of driving route 4 is 600 meters and the route distance of driving route 5 is 750 meters. It can be obtained that the cost value of the vehicle to the candidate empty parking space 1 is 300, the cost value of the vehicle to the candidate empty parking space 2 is 400, the cost value of the vehicle to the candidate empty parking space 3 is 200, the cost value of the vehicle to the candidate empty parking space 4 is 600, and the cost value of the vehicle to the candidate empty parking space 5 is 750.

[0063] In some embodiments, the traffic information of the parking lot is obtained, and the driving time of the vehicle to each candidate empty parking space is determined based on the traffic information and the driving route of the vehicle to each candidate empty parking space; the cost of the vehicle to each candidate empty parking space is determined based on the route distance and driving time of the vehicle to each candidate empty parking space. The traffic information includes whether the road is congested and the number of congested vehicles. By jointly determining the cost of the candidate empty parking space through the driving route and driving time, the accuracy of the target parking space determination can be improved.

[0064] In some embodiments, according to the road condition information and the driving route of the vehicle to each candidate empty parking space, the driving time of the vehicle to each candidate empty parking space can be determined by calculating the road condition information and the driving route based on a preset navigation algorithm to obtain the driving time of the vehicle to each candidate empty parking space. The preset navigation algorithm can be selected according to actual conditions, and the embodiment of the present invention does not specifically limit this. For example, the preset navigation algorithm can be a GPS algorithm or A*, etc.

[0065] In some embodiments, according to the route distance and driving time of the vehicle to each candidate empty parking space, the method of determining the cost of the vehicle to each candidate empty parking space can be: obtaining a first weight parameter and a second weight parameter, multiplying the first weight parameter and the route distance of the candidate empty parking space to obtain a first sub-generation value; multiplying the second weight parameter and the driving time of the candidate empty parking space to obtain a second sub-generation value; adding the first sub-generation value and the second sub-generation value to obtain the cost of the candidate empty parking space. Among them, the first weight parameter and the second weight parameter are pre-set, and the first weight parameter and the second weight parameter can be set according to actual conditions. The embodiment of the present invention does not make specific restrictions on this. For example, the first weight parameter can be set to 0.7 and the second weight parameter can be set to 0.3. Based on the weight, the route distance and driving time are weighted, so that the calculated cost of the vehicle reaching each candidate empty parking space is more accurate, and the most suitable target parking space can be selected.

[0066] In some embodiments, after the target parking space is determined, navigation positioning is performed based on the layout information of the parking lot and the position of the target parking space to generate parking guidance information, which includes the position information of the target parking space and the navigation route for the vehicle to reach the target parking space.

[0067] Step S104: transmitting the parking guidance information to the terminal device based on the WebRTC data channel, so that the terminal device outputs the parking guidance information to guide the vehicle to automatically park at the target parking space or guide the driver to drive the vehicle to park at the target parking space.

[0068] In some embodiments, the parking guidance information is transmitted to the terminal device based on the WebRTC data channel, so that the terminal device can quickly obtain the parking guidance information.

[0069] In some embodiments, when the vehicle has an automatic parking function, the terminal device sends parking guidance information to the vehicle's onboard computer, and the vehicle automatically drives to the target parking space based on the parking guidance information. It should be noted that when the terminal device is the vehicle's onboard computer, the onboard computer receives the parking guidance information transmitted based on the WebRTC data channel, and automatically drives to the target parking space based on the parking guidance information.

[0070] In some embodiments, when the vehicle is parked by the driver, a navigation route view is displayed on the display screen of the terminal device and / or a navigation route voice is output, so that the driver can drive the vehicle to the target parking space according to the prompts of the navigation route view and / or the navigation route voice.

[0071] In some embodiments, the vehicle leaving the parking space information transmitted by the terminal device based on the WebRTC data channel is obtained; according to the vehicle leaving the parking space information, the corresponding parking space information in the parking space information is set to be free. When the vehicle leaves the parking space, the parking space information is updated in a timely manner to improve the convenience of the driver's parking in the future period.

[0072] The parking guidance method provided in the above embodiment obtains environmental image data transmitted by the terminal device based on the WebRTC data channel, and the environmental image data is obtained by the terminal device after the vehicle enters the parking lot; according to the environmental image data, the first position of the vehicle in the parking lot is determined, and the parking space information of the parking lot is obtained; then, according to the first position and the parking space information, parking guidance information is accurately generated; and the parking guidance information is transmitted to the terminal device based on the WebRTC data channel, so that the terminal device outputs the parking guidance information to guide the vehicle to automatically park at the target parking space or guide the driver to drive the vehicle to park at the target parking space. The parking guidance information is efficiently generated, so that the vehicle can be parked accurately and efficiently according to the parking guidance information.

[0073] See also Figure 3 , Figure 3 A schematic block diagram of a parking guidance device provided in an embodiment of the present application;

[0074] like Figure 3 As shown, the parking guidance device 200 includes an acquisition module 210, a determination module 220 and a sending module 230, wherein:

[0075] The acquisition module 210 is used to acquire the environment image data transmitted by the terminal device based on the WebRTC data channel, and the environment image data is acquired by the terminal device after the vehicle enters the parking lot;

[0076] The determination module 220 is used to determine a first position of the vehicle in the parking lot according to the environmental image data;

[0077] The acquisition module 210 is also used to acquire the parking space information of the parking lot;

[0078] The determination module 220 is further configured to generate parking guidance information according to the first position and the parking space information;

[0079] The sending module 230 is used to transmit the parking guidance information to the terminal device based on the WebRTC data channel, so that the terminal device outputs the parking guidance information to guide the vehicle to automatically park at the target parking space or guide the driver to drive the vehicle to park at the target parking space.

[0080] In some embodiments, Figure 4 As shown, the determination module 220 includes a determination submodule 221 and a generation module 222, wherein:

[0081] The determining submodule 221 is used to determine a plurality of candidate vacant parking space information according to the first position and the vacant parking space information;

[0082] The generating module 222 is used to generate parking guidance information according to the information of the plurality of candidate vacant parking spaces and the layout information of the parking lot.

[0083] In some embodiments, the determining submodule 221 is further used to:

[0084] Determine the distance between the vehicle and each of the empty parking spaces according to the first position and the second position of each of the empty parking spaces in the empty parking space information;

[0085] A preset number of empty parking spaces are selected from far to near according to the distance between the vehicle and each of the empty parking spaces, to obtain information on a plurality of candidate empty parking spaces.

[0086] In some embodiments, the generating module 222 is further used to:

[0087] Determining the cost of the vehicle to each candidate empty parking space according to the information of each candidate empty parking space and the layout information of the parking lot;

[0088] The candidate empty parking space with the smallest cost value is determined as the target empty parking space, and parking guidance information for the vehicle to the target empty parking space is output.

[0089] In some embodiments, the generating module 222 is further used to:

[0090] Planning a driving route for the vehicle to reach each of the candidate empty parking spaces according to the first position and the information of each of the candidate empty parking spaces;

[0091] The route distance of the vehicle's driving route to each candidate empty parking space is determined as the cost of the vehicle to each candidate empty parking space.

[0092] In some embodiments, the generating module 222 is further used to:

[0093] Acquiring traffic information of the parking lot, and determining the driving time for the vehicle to reach each of the candidate empty parking spaces according to the traffic information and the driving route of the vehicle to reach each of the candidate empty parking spaces;

[0094] The cost of the vehicle to each candidate empty parking space is determined according to the route distance and travel time of the vehicle to each candidate empty parking space.

[0095] In some embodiments, the parking guidance device is further used to:

[0096] Acquire the vehicle leaving parking space information transmitted by the terminal device based on the WebRTC data channel;

[0097] According to the parking space information where the vehicle leaves, the corresponding parking space information in the parking space information is set as free.

[0098] It should be noted that those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above parking guidance device can refer to the corresponding process in the above parking guidance method embodiment, and will not be repeated here.

[0099] See also Figure 5 , Figure 5 A schematic block diagram of the structure of a server provided in an embodiment of the present application.

[0100] like Figure 5 As shown, the server 300 includes a processor 302 and a memory 303 connected via a system bus 301, wherein the memory may include a storage medium and an internal memory.

[0101] The storage medium can store an operating system and a computer program. The computer program includes program instructions, and when the program instructions are executed, the processor can execute any one of the parking guidance methods.

[0102] The processor is used to provide computing and control capabilities to support the operation of the entire server.

[0103] The internal memory provides an environment for the operation of the computer program in the storage medium. When the computer program is executed by the processor, the processor can execute any parking guidance method.

[0104] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied. The specific server may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0105] It should be understood that the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0106] In one embodiment, the processor 302 is used to run a computer program stored in the memory to implement the following steps:

[0107] Acquire environmental image data transmitted by the terminal device based on the WebRTC data channel, wherein the environmental image data is acquired by the terminal device after the vehicle enters the parking lot;

[0108] Determine a first position of the vehicle in the parking lot according to the environmental image data, and obtain parking space information of the parking lot;

[0109] generating parking guidance information according to the first position and the parking space information;

[0110] The parking guidance information is transmitted to the terminal device based on the WebRTC data channel, so that the terminal device outputs the parking guidance information to guide the vehicle to automatically park at the target parking space or guide the user driver to drive the vehicle to park at the target parking space.

[0111] In one embodiment, the processor 302, when realizing that the parking space information includes vacant parking space information and parking lot layout information; and generating parking guidance information according to the first position and the parking space information, is used to realize:

[0112] Determining a plurality of candidate vacant parking space information according to the first position and the vacant parking space information;

[0113] Parking guidance information is generated according to the information of the plurality of candidate vacant parking spaces and the layout information of the parking lot.

[0114] In one embodiment, when the processor 302 determines the plurality of candidate vacant parking space information according to the first position and the vacant parking space information, it is configured to implement:

[0115] Determine the distance between the vehicle and each of the empty parking spaces according to the first position and the second position of each of the empty parking spaces in the empty parking space information;

[0116] A preset number of empty parking spaces are selected from far to near according to the distance between the vehicle and each of the empty parking spaces, to obtain information on a plurality of candidate empty parking spaces.

[0117] In one embodiment, when the processor 302 generates parking guidance information according to the plurality of candidate vacant parking space information and the layout information of the parking lot, it is configured to implement:

[0118] Determining the cost of the vehicle to each candidate empty parking space according to the information of each candidate empty parking space and the layout information of the parking lot;

[0119] The candidate empty parking space with the smallest cost value is determined as the target empty parking space, and parking guidance information for the vehicle to the target empty parking space is output.

[0120] In one embodiment, when the processor 302 determines the cost of the vehicle to each candidate empty parking space according to the information of each candidate empty parking space and the layout information of the parking lot, it is configured to implement:

[0121] Planning a driving route for the vehicle to reach each of the candidate empty parking spaces according to the first position and the information of each of the candidate empty parking spaces;

[0122] The route distance of the vehicle's driving route to each candidate empty parking space is determined as the cost of the vehicle to each candidate empty parking space.

[0123] In one embodiment, when the processor 302 determines the cost of the vehicle to each candidate empty parking space according to the information of each candidate empty parking space and the layout information of the parking lot, it is configured to implement:

[0124] Acquiring traffic information of the parking lot, and determining the driving time for the vehicle to reach each of the candidate empty parking spaces according to the traffic information and the driving route of the vehicle to reach each of the candidate empty parking spaces;

[0125] The cost of the vehicle to each candidate empty parking space is determined according to the route distance and travel time of the vehicle to each candidate empty parking space.

[0126] In one embodiment, after implementing the transmission of the parking guidance information to the terminal device based on the WebRTC data channel, the processor 302 is further configured to implement:

[0127] Acquire the vehicle leaving parking space information transmitted by the terminal device based on the WebRTC data channel;

[0128] According to the parking space information where the vehicle leaves, the corresponding parking space information in the parking space information is set as free.

[0129] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the server described above can refer to the corresponding process in the aforementioned parking guidance method embodiment, and will not be repeated here.

[0130] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. The computer program includes program instructions. The method implemented when the program instructions are executed can refer to the various embodiments of the parking guidance method of the present application.

[0131] The computer-readable storage medium may be an internal storage unit of the server described in the foregoing embodiment, such as a hard disk or memory of the server. The computer-readable storage medium may be non-volatile or volatile. The computer-readable storage medium may also be an external storage device of the server, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc., equipped on the server.

[0132] It should be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0133] It should also be understood that the term "and / or" used in the present specification refers to any combination of one or more of the associated listed items and all possible combinations, including these combinations. It should be noted that, in this article, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "including a..." does not exclude the presence of other identical elements in the process, method, article or system including the element.

[0134] The serial numbers of the embodiments of the present application are for description only and do not represent the advantages and disadvantages of the embodiments. The above description is only a specific implementation mode of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application.

Claims

1. A parking guidance method, characterized in that: Applied to a server, a WebRTC data channel is established between the server and a terminal device, and the method includes: Acquire environmental image data transmitted by the terminal device based on the WebRTC data channel, wherein the environmental image data is acquired by the terminal device after the vehicle enters the parking lot; Determine a first position of the vehicle in the parking lot according to the environmental image data, and obtain parking space information of the parking lot; generating parking guidance information according to the first position and the parking space information; The parking guidance information is transmitted to the terminal device based on the WebRTC data channel, so that the terminal device outputs the parking guidance information to guide the vehicle to automatically park at the target parking space or guide the driver to drive the vehicle to park at the target parking space.

2. The parking guidance method according to claim 1, characterized in that: The parking space information includes vacant parking space information and parking lot layout information; the generating of parking guidance information according to the first position and the parking space information includes: Determining a plurality of candidate vacant parking space information according to the first position and the vacant parking space information; Parking guidance information is generated according to the information of the plurality of candidate vacant parking spaces and the layout information of the parking lot.

3. The parking guidance method according to claim 2, characterized in that: The determining a plurality of candidate vacant parking space information according to the first position and the vacant parking space information includes: Determine the distance between the vehicle and each of the empty parking spaces according to the first position and the second position of each of the empty parking spaces in the empty parking space information; A preset number of empty parking spaces are selected from far to near according to the distance between the vehicle and each of the empty parking spaces, to obtain information on a plurality of candidate empty parking spaces.

4. The parking guidance method according to claim 2, characterized in that: The generating of parking guidance information according to the plurality of candidate vacant parking space information and the layout information of the parking lot includes: Determining the cost of the vehicle to each candidate empty parking space according to the information of each candidate empty parking space and the layout information of the parking lot; The candidate empty parking space with the smallest cost value is determined as the target empty parking space, and parking guidance information for the vehicle to the target empty parking space is output.

5. The parking guidance method according to claim 4, characterized in that: The step of determining the cost of the vehicle to each candidate empty parking space according to the information of each candidate empty parking space and the layout information of the parking lot includes: Planning a driving route for the vehicle to reach each of the candidate empty parking spaces according to the first position and the information of each of the candidate empty parking spaces; The route distance of the vehicle's driving route to each candidate empty parking space is determined as the cost of the vehicle to each candidate empty parking space.

6. The parking guidance method according to claim 5, characterized in that: The step of determining the cost of the vehicle to each candidate empty parking space according to the information of each candidate empty parking space and the layout information of the parking lot includes: Acquiring traffic information of the parking lot, and determining the driving time for the vehicle to reach each of the candidate empty parking spaces according to the traffic information and the driving route of the vehicle to reach each of the candidate empty parking spaces; The cost of the vehicle to each candidate empty parking space is determined according to the route distance and travel time of the vehicle to each candidate empty parking space.

7. The parking guidance method according to any one of claims 1 to 6, characterized in that: After transmitting the parking guidance information to the terminal device based on the WebRTC data channel, the method further includes: Acquire the vehicle leaving parking space information transmitted by the terminal device based on the WebRTC data channel; According to the parking space information where the vehicle leaves, the corresponding parking space information in the parking space information is set as free.

8. A parking guidance device, characterized in that: The parking guidance device includes an acquisition module, a determination module and a sending module, wherein: The acquisition module is used to acquire the environment image data transmitted by the terminal device based on the WebRTC data channel, and the environment image data is acquired by the terminal device after the vehicle enters the parking lot; The determination module is used to determine a first position of the vehicle in the parking lot according to the environmental image data; The acquisition module is further used to acquire the parking space information of the parking lot; The determination module is further configured to generate parking guidance information according to the first position and the parking space information; The sending module is used to transmit the parking guidance information to the terminal device based on the WebRTC data channel, so that the terminal device outputs the parking guidance information to guide the vehicle to automatically park at the target parking space or guide the driver to drive the vehicle to park at the target parking space.

9. A server, characterized in that: The server includes a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the parking guidance method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the parking guidance method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Vehicle parking control method, device and equipment and storage medium

    CN119749525A