Parking space information acquisition method and device, equipment, storage medium and vehicle
By analyzing vacant parking space information on the vehicle and sending it to the server, the problem that the existing technology cannot obtain parking space occupancy in real time is solved, and the user's parking experience is improved.
Patent Information
- Application Number
- CN202311531785.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-16
- Publication Date
- 2025-05-16
AI Technical Summary
The existing technology cannot obtain the occupancy of parking spaces in real time, resulting in users being unable to know whether there are vacant parking spaces in the parking lot, thereby reducing users' parking experience.
By acquiring the environment image around the vehicle on the vehicle, analyzing the vacant parking space information, and sending these information and vehicle location information to the target server, so that the server can generate parking space situation information.
Real-time acquisition of parking space occupancy in parking lots is achieved, improving users' parking experience, and no need to establish an information interoperability relationship between the server and each parking lot.
Smart Images

Figure CN120014867A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of vehicle control technology, and in particular, relates to a method, device, equipment, storage medium and vehicle for obtaining parking space information. Background Art
[0002] In the related art, the server corresponding to the related query software can recommend parking lots near the destination to the user, but the server cannot obtain the real-time occupancy status of the parking lots, so that the user cannot know whether the parking lot has vacant parking spaces. If there are no vacant parking spaces in the parking lot, the user will drive the vehicle to the parking lot, which will result in the user's parking failure, reducing the user's parking experience. Summary of the invention
[0003] The embodiments of the present application provide a method, device, equipment, storage medium and vehicle for obtaining parking space information, which can solve the problem that the server corresponding to the relevant query software cannot obtain the real-time occupancy status of parking spaces in the parking lot, thereby reducing the user's parking experience.
[0004] In a first aspect, an embodiment of the present application provides a method for obtaining parking space information, the method comprising:
[0005] When the state information of the vehicle meets the preset rules, acquiring a first environment image around the vehicle;
[0006] Obtaining vacant parking space information according to the first environment image analysis;
[0007] The vacant parking space information and the first position information of the vehicle are sent to the target server, so that the target server generates parking space situation information about the first place corresponding to the first position information according to the vacant parking space information.
[0008] In some embodiments, the method further comprises:
[0009] In response to the first input, a first query instruction carrying a target place is sent to a target server, so that the target server determines a second place corresponding to the target place according to the first query instruction, and determines parking space situation information corresponding to the second place according to a mapping relationship, where the mapping relationship is a mapping relationship between multiple places and parking space situation information generated by the target server according to the parking space situation information of multiple first places;
[0010] Receive parking space information corresponding to the second place fed back by the target server.
[0011] In some embodiments, sending a first query instruction carrying a target place to a target server so that the target server determines a second place corresponding to the target place according to the first query instruction, and determining parking space information corresponding to the second place according to a mapping relationship includes:
[0012] In response to the first input, a first query instruction is sent to the target server, so that the target server determines at least one second place corresponding to the target place according to the target place and the first distance, and determines parking space information corresponding to the second place according to the mapping relationship;
[0013] The first query instruction carries a first distance, and at least one second place is less than or equal to the first distance from the target place.
[0014] In some embodiments, the method further comprises:
[0015] When the vehicle is in a navigation state, obtaining second position information of the vehicle and a navigation destination;
[0016] Monitoring the distance between the vehicle and the destination according to the second location information;
[0017] When the interval distance is less than the preset distance, a second query instruction carrying the destination is sent to the target server, so that the target server determines a third place corresponding to the destination according to the second query instruction, and determines the parking space situation information corresponding to the third place according to a mapping relationship, where the mapping relationship is a mapping relationship between multiple places and parking space situation information generated by the target server according to the parking space situation information of multiple first places;
[0018] In some embodiments, when the state information of the vehicle meets a preset rule, acquiring a first environment image of the vehicle includes:
[0019] When the state information of the vehicle is a parking completion state, a first environment image of the vehicle is acquired.
[0020] In some embodiments, when the state information of the vehicle meets a preset rule, acquiring a first environment image of the vehicle includes:
[0021] When the state information of the vehicle is a parking monitoring state and a moving object is detected, a first environment image of the vehicle is acquired.
[0022] In a second aspect, an embodiment of the present application provides a method for obtaining parking space information, the method comprising:
[0023] Receiving vacant parking space information and first location information of the vehicle sent by the vehicle;
[0024] determining a first location corresponding to the first location information;
[0025] Generate parking space information about a first location corresponding to the first location information according to the vacant parking space information,
[0026] Wherein, when the state information of the vehicle meets the preset rules, a first environment image around the vehicle is acquired, and the vacant parking space information is obtained according to the analysis of the first environment image.
[0027] In some embodiments, the method further comprises:
[0028] Receiving a first query instruction of a target location sent by a vehicle;
[0029] Determine a second place corresponding to the target place according to the first query instruction;
[0030] Determine the parking space situation information corresponding to the second place according to the mapping relationship, where the mapping relationship is a mapping relationship between a plurality of places and the parking space situation information generated by the target server according to the parking space situation information of the plurality of first places;
[0031] The parking space situation information corresponding to the second place is fed back to the vehicle.
[0032] In some embodiments, the first query instruction carries a first distance; and determining the second place corresponding to the target place according to the first query instruction includes:
[0033] At least one second place corresponding to the target place is determined according to the target place and the first distance, and the distance between the second place and the target place is less than or equal to the first distance.
[0034] In a third aspect, an embodiment of the present application further provides a parking space information acquisition device, the device comprising:
[0035] A first acquisition module, used for acquiring a first environment image around the vehicle when the state information of the vehicle meets a preset rule;
[0036] A first analysis module, configured to obtain vacant parking space information according to the first environment image analysis;
[0037] The first sending module is used to send the vacant parking space information and the first position information of the vehicle to the target server, so that the target server generates the parking space situation information about the first place corresponding to the first position information according to the vacant parking space information.
[0038] In a fourth aspect, an embodiment of the present application further provides a parking space information acquisition device, the device comprising:
[0039] A first receiving module, used for receiving vacant parking space information and first position information of the vehicle sent by the vehicle;
[0040] A first determining module, used to determine a first place corresponding to the first location information;
[0041] The first generating module is used to generate parking space information about a first place corresponding to the first location information according to the vacant parking space information.
[0042] Wherein, when the state information of the vehicle meets the preset rules, a first environment image around the vehicle is acquired, and the vacant parking space information is obtained according to the analysis of the first environment image.
[0043] In a fifth aspect, an embodiment of the present application provides a parking space information acquisition device, the device comprising: a processor and a memory storing computer program instructions;
[0044] The above parking space information acquisition method is implemented when the processor executes the computer program instructions.
[0045] In a sixth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the above-mentioned parking space information acquisition method is implemented.
[0046] In a seventh aspect, an embodiment of the present application provides a vehicle, the vehicle includes computer program instructions, and when the computer program instructions are executed by a processor, the above-mentioned parking space information acquisition method is implemented.
[0047] In the present application, the vehicle acquires a first environment image around the vehicle, and can obtain vacant parking space information based on the analysis of the first environment image; the vehicle sends the associated vacant parking space information and the first location information to the target server, so that the target server can generate parking space situation information about the first place based on the vacant parking space information and the first location information, which is conducive to the server providing the user with the parking space situation information of the first place, so that the user can understand the parking space occupancy situation of the first place, and improve the user's parking experience. The parking space information acquisition method provided in the present application can assist the server in acquiring the parking space occupancy situation of the parking lot without establishing an information exchange relationship between the server and each parking lot. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0049] Figure 1 It is a flowchart of a method for obtaining parking space information provided in an embodiment of the present application;
[0050] Figure 2 This is a schematic diagram of an application scenario of a method for obtaining parking space information provided by an embodiment of the present application;
[0051] Figure 3 is a flow chart of a method for obtaining parking space information provided in another embodiment of the present application;
[0052] Figure 4 is a schematic diagram of the hardware structure of a parking space information acquisition device provided in an embodiment of the present application;
[0053] Figure 5 It is a structural diagram of a parking space information acquisition device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0054] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0055] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device 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 device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0056] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The embodiments will be described in detail below in conjunction with the accompanying drawings.
[0057] In the related art, the server corresponding to the related query software can recommend parking lots near the destination to the user, but the server cannot obtain the real-time occupancy status of the parking lots, so that the user cannot know whether the parking lot has vacant parking spaces. If there are no vacant parking spaces in the parking lot, the user will drive the vehicle to the parking lot, which will result in the user's parking failure, reducing the user's parking experience.
[0058] Specifically, in order to solve the problems of the prior art, the embodiments of the present application provide a method, device, equipment, storage medium and vehicle for obtaining parking space information. The following first introduces the method for obtaining parking space information provided by the embodiments of the present application.
[0059] Figure 1 A flow chart of a method for obtaining parking space information provided by an embodiment of the present application is shown. The method comprises the following steps:
[0060] S110, when the state information of the vehicle meets a preset rule, acquiring a first environment image around the vehicle;
[0061] S120, obtaining vacant parking space information according to the first environment image analysis;
[0062] S130, sending the vacant parking space information and the first position information of the vehicle to the target server, so that the target server generates parking space situation information about the first place corresponding to the first position information according to the vacant parking space information.
[0063] One or more cameras may be provided in the vehicle, and the first environment image may be an image of the environment in which the vehicle is located taken by one or more cameras. The preset rules are startup rules preset by a person skilled in the art or a user. By setting the preset rules, the vehicle can be restricted to obtain the first environment image around the vehicle when its status information meets the preset rules, thereby avoiding or reducing the frequent acquisition of the first environment image. For example: the preset rule may be that the vehicle is in a parking monitoring state, and the first environment image obtained at this time is clear, so as to facilitate the subsequent analysis of the first environment image to obtain vacant parking space information. For example: the preset rule may be that the vehicle is in a sentinel state, and the first environment image obtained at this time can characterize the changes in the environment around the vehicle.
[0064] The first location information is the geographical location information of the vehicle. A positioning device may be set in the vehicle, and the first location information of the vehicle is collected through the positioning device. The positioning device may be a device that realizes positioning based on the Global Positioning System (GPS), the Beidou Navigation Satellite System (BDS), etc.
[0065] The associated vacant parking space information and the first location information are sent to the target server, so that the target server can know the parking space occupancy around the vehicle through the associated vacant parking space information and the first location information. The target server can be a server corresponding to the vehicle information service platform associated with the vehicle, or a server of a map service provider associated with the vehicle. This application does not limit the specific scenario in which the target server is used.
[0066] The vacant parking space information uploaded by a vehicle to the target server may only represent the parking space occupancy situation of a part of the parking lot where the vehicle is located. Therefore, when multiple vehicles located in the same parking lot upload multiple vacant parking space information to the target server, the target server can aggregate and filter the multiple vacant parking space information to obtain parking space situation information about the first place. The first place can be a parking lot corresponding to multiple buildings, or it can be a parking area corresponding to a building. The target server can aggregate multiple vacant parking space information, which can be expressed as: the target server aggregates the vacant parking space information corresponding to multiple first position information located in the first place, and obtains the parking space situation information of the first place. The target server can filter multiple vacant parking space information, which can be expressed as: the target server screens the vacant parking space information corresponding to multiple first position information located in the first place, filters the information about the same parking space in the vacant parking space information, and obtains the parking space situation information of the first place.
[0067] After the target server obtains the parking space situation information about the first place, the target server may provide the parking space situation information to other users through the parking space situation information, so that the users can understand the parking space occupancy situation of the first place.
[0068] In the embodiment provided by the present application, the vehicle acquires the first environment image around the vehicle, and can obtain the vacant parking space information according to the analysis of the first environment image; the vehicle sends the associated vacant parking space information and the first location information to the target server, so that the target server can generate the parking space situation information about the first place according to the vacant parking space information and the first location information, which is conducive to the server providing the user with the parking space situation information of the first place, so that the user can understand the parking space occupancy situation of the first place, and improve the user's parking experience. The parking space information acquisition method provided by the present application can assist the server in acquiring the parking space occupancy situation of the parking lot without establishing an information exchange relationship between the server and each parking lot.
[0069] In some embodiments, the method further comprises:
[0070] S210, in response to the first input, sending a first query instruction carrying a target place to a target server, so that the target server determines a second place corresponding to the target place according to the first query instruction, and determines parking space situation information corresponding to the second place according to a mapping relationship, where the mapping relationship is a mapping relationship between a plurality of places and parking space situation information generated by the target server according to the parking space situation information of a plurality of first places;
[0071] S220: Receive parking space information corresponding to the second place fed back by the target server.
[0072] The first input may be voice input, gesture input, click input on a touch screen of the vehicle, etc. Optionally, the display interface of the touch screen displays a logo corresponding to the target location, and the first input is a click input of the user on the logo.
[0073] The second place may be the same place as the target place, or may be a place near the target place. The mapping relationship between the multiple second places and the parking space information stored in the target server may be obtained based on the vacant parking space information uploaded to the target server by multiple vehicles through S110 to S130. The target server searches for the second place corresponding to the target place in the data stored in itself, determines the parking space information corresponding to the second place, and then sends the parking space information corresponding to the second place to the vehicle.
[0074] After the vehicle receives the parking space situation information corresponding to the second place fed back by the target server, the parking space situation information corresponding to the second place can be displayed or voice played to enable the user to understand the parking space occupancy situation of the target place or the parking space occupancy situation near the target place.
[0075] In some embodiments, after S230, the method further includes:
[0076] When the parking space situation information corresponding to the plurality of second places is received, one of the plurality of second places is selected as a recommended place according to the parking space situation information corresponding to each second place and the distance between the second place and the target place.
[0077] The user can drive the vehicle to the recommended location to successfully complete the vehicle parking.
[0078] See also Figure 2 , vehicles T1~Tx respectively send the generated vacant parking space information to the target server, and the target server generates a plurality of parking space situation information of the first place according to the plurality of vacant parking space information and the first position information corresponding to the vacant parking space information. Vehicles S1~Sx respectively send query instructions to the target server, and the target server feeds back the parking space situation information according to the query instructions.
[0079] In some embodiments, S220 includes:
[0080] S310, in response to the first input, sending a first query instruction to the target server, so that the target server determines at least one second place corresponding to the target place according to the target place and the first distance, and determines parking space information corresponding to the second place according to the mapping relationship;
[0081] The first query instruction carries a first distance, and at least one second place is less than or equal to the first distance from the target place.
[0082] The first query instruction may carry a target location and a first distance, and the first distance may be preset or determined according to the first input.
[0083] After receiving the first query instruction, the target server determines at least one second place corresponding to the target place based on the target place and the first distance, that is, determines the second place within the first distance range of the target place, and then determines the parking space situation information corresponding to each second place, and sends the parking space situation information corresponding to the second place to the vehicle.
[0084] For example: the user enters the target place as "A Shopping Mall" and the first distance as "within 1km" on the vehicle's touch screen, then the vehicle sends a first query instruction to the target server, the first query instruction carries "A Shopping Mall" and "within 1km", the target server queries the second place within 1km of A Shopping Mall, and obtains the second place including "A Shopping Mall", "B Office Building", and "C Road", and sends the parking space information of A Shopping Mall, the parking space information of Office Building B, and the parking space information of Road C to the vehicle.
[0085] In the embodiment of the present application, by sending a first query instruction carrying a first distance and a target location to a target server, the parking space occupancy status of parking lots near the target location can be queried, and the query range can also be customized.
[0086] In some embodiments, the first query instruction may also carry the venue type, parking fee threshold, parking space size information, etc., so that the parking space information corresponding to the second venue fed back by the target server meets the requirements of the first query instruction and meets the diverse needs of users.
[0087] In some embodiments, the method further comprises:
[0088] S410, when the vehicle is in a navigation state, obtaining second position information of the vehicle and a navigation destination;
[0089] S420, monitoring the distance between the vehicle and the destination according to the second location information;
[0090] S430, when the interval distance is less than the preset distance, sending a second query instruction carrying the destination to the target server, so that the target server determines a third place corresponding to the destination according to the second query instruction, and determines parking space situation information corresponding to the third place according to a mapping relationship, where the mapping relationship is a mapping relationship between multiple places and parking space situation information generated by the target server according to the parking space situation information of multiple first places;
[0091] S440: Receive parking space information corresponding to the third place fed back by the target server.
[0092] The navigation state is the state in which the vehicle is traveling along the navigation route. When the vehicle is in the navigation state, the navigation route involves the starting point, destination, and current position of the vehicle, and the current position of the vehicle is the second position information in this application.
[0093] When the distance between the vehicle and the destination is less than the preset distance, it can be considered that the vehicle has traveled near the destination. At this time, a second query instruction carrying the destination is sent to the target server so that the target server can feedback parking space information so that the user can understand the parking space occupancy situation near the destination.
[0094] In an embodiment of the present application, when the interval distance is less than a preset distance, a second query instruction carrying the destination is sent to the target server, so that the parking space occupancy status of the parking lot near the destination can be queried.
[0095] For example, if the preset distance is 1km, when the vehicle is in navigation mode, it drives from "Community A" to "Mall B" along the navigation route. When it is 1km away from Mall B, the vehicle sends a second query instruction to the target server. The second query instruction carries "Mall B". The target server queries the parking space information of Mall B and sends the parking space information of Mall B to the vehicle.
[0096] In some embodiments, the method for obtaining parking space information further includes:
[0097] S510, receiving a second input;
[0098] S520, in response to the second input, acquiring a second environment image of the vehicle;
[0099] S530, determining a target parking space according to the second environment image, and generating a parking path for parking in the target parking space;
[0100] S540, driving into a target parking space along a parking path;
[0101] S550, obtaining the third position information of the vehicle, and sending the third position information and update information of the occupancy of the target parking space to the target server.
[0102] The second environment image may be an image of the environment in which the vehicle is located, taken by one or more cameras in the vehicle. In this embodiment, the analysis of the first environment image to generate vacant parking space information and the determination of the target parking space according to the second environment image may be performed based on image recognition technology. The environment image includes parking space lines of parking spaces, images of vehicles parked in parking spaces, etc. The Gray-Tone Spatial-Dependence Matrices algorithm may be used to extract texture features from image information of the vehicle body, parking space lines, etc., and then the extracted texture features are combined into texture feature vectors, and the support vector machine (Support Vector Machine) is used to classify the texture feature vectors, so that the status of the parking spaces around the vehicle can be detected in real time and accurately to determine whether there are vacant parking spaces.
[0103] If only one vacant parking space is obtained through analysis based on the second environment image, the vacant parking space is set as the target parking space. If multiple vacant parking spaces are obtained through analysis based on the second environment image, one of the multiple vacant parking spaces can be set as the target parking space based on the distance between each vacant parking space and the vehicle. One of the multiple vacant parking spaces can also be set as the target parking space based on the size of each vacant parking space.
[0104] The third location information may be the geographical location information of the vehicle. After the vehicle parks in the target parking space, it indicates that the target parking space has been occupied by the vehicle, and the third location information and update information carrying the target parking space occupancy are sent to the target server, so that the target server can update the parking space situation information of the first place corresponding to the third location information according to the update information.
[0105] In S550, the vehicle may further execute S110, S120, and S130 to provide the target server with vacant parking space information in the area corresponding to the third location information.
[0106] In some implementations, S110 includes:
[0107] When the state information of the vehicle is a parking completion state, a first environment image of the vehicle is acquired.
[0108] The vehicle may have a variety of status information, and the status information may be driving status, parking status, sentinel status, parking status, parking completion status, etc. The parking completion status may be a status where the vehicle remains powered on after the vehicle is parked in the parking space. In the parking completion status, the vehicle remains stationary relative to the parking space, so that the acquired first environment image is clear; the vehicle remains powered on, so that the vehicle has sufficient computing power to analyze the first environment image to obtain vacant parking space information.
[0109] In some implementations, S110 includes:
[0110] When the state information of the vehicle is a parking monitoring state and a moving object is detected, a first environment image of the vehicle is acquired.
[0111] The parking monitoring state may be a state where the vehicle's host is powered off and the vehicle's monitoring module is running. Since the vehicle's monitoring module is running, the vehicle's monitoring module may detect whether there are moving objects around the vehicle. The moving objects may be vehicles, motorcycles, etc. moving around the vehicle. When a moving object is detected around the vehicle, there is a high probability that vacant parking spaces appear around the vehicle or that vacant parking spaces are occupied. By acquiring the first environmental image of the vehicle, the vacant parking space information may be obtained based on the first environmental image analysis, and the associated vacant parking space information and the first location information may be sent to the target server, so that the target server may timely update the parking space situation information about the first place in the target server through the vacant parking space information.
[0112] For example, see Figure 3 , the target server is connected to vehicle A, vehicle B, and vehicle C through the Internet of Vehicles.
[0113] When vehicle A enters the parking monitoring state, the camera acquires the first environment image of the vehicle axis, and then analyzes the first environment image to obtain the vacant parking space information, acquires the first position information of the vehicle, and sends the associated vacant parking space information and the first position information to the target server. The target server generates parking space situation information about the first place based on the associated vacant parking space information and the first position information. When vehicle A detects a moving object, the camera acquires the first environment image of the vehicle axis again, and then analyzes the first environment image to obtain the vacant parking space information, acquires the first position information of the vehicle, and sends the associated vacant parking space information and the first position information to the target server. The target server generates parking space situation information about the first place based on the associated vacant parking space information and the first position information.
[0114] When vehicle B is in navigation state, when the distance between the vehicle and the destination is less than a preset distance, a second query instruction carrying the destination is sent to the target server, and the target server feeds back parking space information of a third place corresponding to the destination according to the second query instruction.
[0115] When vehicle C receives the first input from the user, it sends a first query instruction carrying the target location to the target server, and the target server feeds back parking space information of the second location corresponding to the destination according to the first query instruction.
[0116] The present application also provides a method for obtaining parking space information, which comprises the following steps:
[0117] S811, receiving vacant parking space information and first location information of the vehicle sent by the vehicle;
[0118] S812, determining a first place corresponding to the first location information;
[0119] S813, generating parking space information about a first place corresponding to the first location information according to the vacant parking space information,
[0120] Wherein, when the state information of the vehicle meets the preset rules, a first environment image around the vehicle is acquired, and the vacant parking space information is obtained according to the analysis of the first environment image.
[0121] The parking space information acquisition method can be applied to a server, and the server is connected to the vehicle in communication to receive the interaction data sent by the vehicle. The server can also store the parking space situation information of the first place for user query.
[0122] In the embodiment provided by the present application, the vehicle acquires the first environment image around the vehicle, and can obtain the vacant parking space information according to the analysis of the first environment image; the vehicle sends the associated vacant parking space information and the first location information to the target server, so that the target server can generate the parking space situation information about the first place according to the vacant parking space information and the first location information, which is conducive to the server providing the user with the parking space situation information of the first place, so that the user can understand the parking space occupancy situation of the first place, and improve the user's parking experience. The parking space information acquisition method provided by the present application does not need to establish an information exchange relationship between the server and each parking place, and the server can obtain the parking space occupancy situation of the parking place.
[0123] In some embodiments, the method further comprises:
[0124] S821, receiving a first query instruction sent by a vehicle, where the first query instruction carries a target location;
[0125] S822, determining a second place corresponding to the target place according to the first query instruction;
[0126] S823, determining parking space situation information corresponding to the second place according to the mapping relationship, where the mapping relationship is a mapping relationship between a plurality of places and parking space situation information generated by the target server according to the parking space situation information of a plurality of first places;
[0127] S824, feeding back parking space information associated with the second place to the vehicle.
[0128] In some embodiments, the first query instruction carries the first distance, and S822 includes:
[0129] S831: Determine at least one second place corresponding to the target place according to the target place and the first distance, wherein the distance between the second place and the target place is less than or equal to the first distance.
[0130] In some embodiments, the method further comprises:
[0131] S832, receiving a second query instruction carrying a destination sent by the vehicle, where the second query instruction is sent when the vehicle is in a navigation state and the distance between the vehicle and the navigation destination is less than a preset distance;
[0132] S833, determining a third place corresponding to the destination according to the second query instruction, and determining parking space situation information corresponding to the third place according to a mapping relationship, where the mapping relationship is a mapping relationship between multiple places and parking space situation information generated by the target server according to the parking space situation information of multiple first places;
[0133] S834, feeding back parking space information associated with the third place to the vehicle.
[0134] The parking space information acquisition method provided in the present application is applied to a server, and can achieve all the beneficial effects achieved by the parking space information acquisition method applied to a vehicle, which will not be repeated here.
[0135] Based on the parking space information acquisition method provided in the above embodiment, the present application also provides a specific implementation of a parking space information acquisition device. Please refer to the following embodiment.
[0136] See first Figure 4 The parking space information acquisition device 400 provided in the embodiment of the present application includes the following modules:
[0137] The first acquisition module 401 is used to acquire a first environment image around the vehicle when the state information of the vehicle meets a preset rule;
[0138] A first analysis module 402, configured to obtain vacant parking space information according to the first environment image analysis;
[0139] The first sending module 403 is used to send the vacant parking space information and the first position information of the vehicle to the target server, so that the target server generates parking space situation information about the first place corresponding to the first position information according to the vacant parking space information.
[0140] In this implementation, the vehicle acquires the first environment image around the vehicle, and can obtain the vacant parking space information based on the analysis of the first environment image; the vehicle sends the associated vacant parking space information and the first location information to the target server, so that the target server can generate the parking space situation information about the first place based on the vacant parking space information and the first location information, which is conducive to the server providing the user with the parking space situation information of the first place, so that the user can understand the parking space occupancy situation of the first place, and improve the user's parking experience. The parking space information acquisition method of the present application can assist the server in acquiring the parking space occupancy situation of the parking lot without establishing an information exchange relationship between the server and each parking lot.
[0141] As an implementation of the present application, the parking space information acquisition device 400 may further include:
[0142] A second sending module is used to send a first query instruction carrying a target place to a target server in response to the first input, so that the target server determines a second place corresponding to the target place according to the first query instruction, and determines the parking space situation information corresponding to the second place according to a mapping relationship, wherein the mapping relationship is a mapping relationship between multiple places and parking space situation information generated by the target server according to the parking space situation information of multiple first places;
[0143] The second receiving module is used to receive the parking space situation information corresponding to the second place fed back by the target server.
[0144] As an implementation of the present application, the second sending module is further used to send a first query instruction to the target server in response to the first input, so that the target server determines at least one second place corresponding to the target place according to the target place and the first distance, and determines the parking space situation information corresponding to the second place according to the mapping relationship;
[0145] The first query instruction carries a first distance, and at least one second place is less than or equal to the first distance from the target place.
[0146] As an implementation of the present application, the parking space information acquisition device 400 further includes:
[0147] A second acquisition module, used for acquiring the second position information of the vehicle and the navigation destination when the vehicle is in a navigation state;
[0148] A first detection module, used for monitoring the distance between the vehicle and the destination according to the second location information;
[0149] A second sending module is used to send a second query instruction carrying the destination to the target server when the distance between the vehicle and the destination is less than a preset distance, so that the target server determines a third place corresponding to the destination according to the second query instruction, and determines the parking space situation information corresponding to the third place according to a mapping relationship, where the mapping relationship is a mapping relationship between multiple places and parking space situation information generated by the target server according to the parking space situation information of multiple first places;
[0150] The second receiving module is used to receive parking space information corresponding to the third place fed back by the target server.
[0151] As an implementation of the present application, the parking space information acquisition device 400 further includes:
[0152] A third acquisition module, configured to acquire a second environment image of the vehicle in response to a second input;
[0153] A parking module, used to determine a target parking space according to the second environment image, and generate a parking path for parking in the target parking space;
[0154] The parking module is also used to drive into a target parking space along the parking path;
[0155] The third sending module is used to obtain the third position information of the vehicle, and send the third position information and the update information of the occupancy of the target parking space to the target server.
[0156] As an implementation of the present application, the first acquisition module 401 includes:
[0157] The first acquisition unit is used to acquire a first environment image of the vehicle when the state information of the vehicle is a parking completion state.
[0158] As an implementation of the present application, the first acquisition module 401 includes:
[0159] The second acquisition unit is used to acquire a first environment image of the vehicle when the state information of the vehicle is a parking monitoring state and a moving object is detected.
[0160] The parking space information acquisition device 400 provided in the embodiment of the present invention can implement each step in the above method embodiment, and will not be described again here to avoid repetition.
[0161] Another parking space information acquisition device provided in an embodiment of the present application includes the following modules:
[0162] A first receiving module, used for receiving vacant parking space information and first position information of the vehicle sent by the vehicle;
[0163] A first determining module, used to determine a first place corresponding to the first location information;
[0164] The first generating module is used to generate parking space information about a first place corresponding to the first location information according to the vacant parking space information.
[0165] Wherein, when the state information of the vehicle meets the preset rules, a first environment image around the vehicle is acquired, and the vacant parking space information is obtained according to the analysis of the first environment image.
[0166] In some embodiments, the parking space information acquisition device further includes:
[0167] A third receiving module is used to receive a first query instruction sent by the vehicle, where the first query instruction carries a target location;
[0168] A first query module, used to determine a second place corresponding to the target place according to the first query instruction;
[0169] The first query module is further used to determine the parking space situation information corresponding to the second place according to the mapping relationship, where the mapping relationship is a mapping relationship between multiple places and parking space situation information generated by the target server according to the parking space situation information of multiple first places;
[0170] The first feedback module is used to feed back parking space situation information associated with the second place to the vehicle.
[0171] In some embodiments, the first query instruction carries a first distance, and the first query module is also used to determine at least one second place corresponding to the target place and parking space information associated with the second place based on the target place and the first distance, and the second place is less than or equal to the first distance from the target place.
[0172] In some embodiments, the parking space information acquisition device further includes:
[0173] A fourth receiving module, configured to receive a second query instruction carrying a destination sent by the vehicle, wherein the second query instruction is sent when the vehicle is in a navigation state and the distance between the vehicle and the navigation destination is less than a preset distance;
[0174] A second query module is used to determine a third place corresponding to the destination according to the second query instruction, and determine the parking space situation information corresponding to the third place according to a mapping relationship, where the mapping relationship is a mapping relationship between multiple places and parking space situation information generated by the target server according to the parking space situation information of multiple first places;
[0175] The second feedback module is used to feed back parking space information associated with the third place to the vehicle.
[0176] Figure 5 A schematic diagram of the hardware structure of a parking space information acquisition device provided in an embodiment of the present application is shown.
[0177] The parking space information acquisition device may include a processor 1001 and a memory 1002 storing computer program instructions.
[0178] Specifically, the processor 1001 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0179] The memory 1002 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 1002 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 1002 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 1002 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 1002 is a non-volatile solid-state memory.
[0180] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.
[0181] The processor 1001 reads and executes the computer program instructions stored in the memory 1002 to implement any one of the parking space information acquisition methods in the above embodiments.
[0182] In one example, the parking space information acquisition device may further include a communication interface 1003 and a bus 1010. Figure 5 As shown, the processor 1001, the memory 1002, and the communication interface 1003 are connected via a bus 1010 and communicate with each other.
[0183] The communication interface 1003 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0184] Bus 1010 includes hardware, software or both, and the components of the parking space information acquisition device are coupled to each other. For example, but not limitation, the bus may include an accelerated graphics port (AGP) or other graphics bus, an enhanced industrial standard architecture (EISA) bus, a front-end bus (FSB), a hypertransport (HT) interconnect, an industrial standard architecture (ISA) bus, an infinite bandwidth interconnect, a low pin count (LPC) bus, a memory bus, a microchannel architecture (MCA) bus, a peripheral component interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a serial advanced technology attachment (SATA) bus, a video electronics standard association local (VLB) bus or other suitable bus or a combination of two or more of these. Where appropriate, bus 1010 may include one or more buses. Although the present application embodiment describes and illustrates a specific bus, the present application considers any suitable bus or interconnect.
[0185] The parking space information acquisition device may be based on the above embodiment, thereby realizing the above parking space information acquisition method and device.
[0186] In addition, in combination with the parking space information acquisition method in the above-mentioned embodiment, the embodiment of the present application may provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the parking space information acquisition methods in the above-mentioned embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here. Among them, the above-mentioned computer-readable storage medium may include a non-transitory computer-readable storage medium, such as a read-only memory (Read-Only Memory, referred to as ROM), a random access memory (Random Access Memory, referred to as RAM), a disk or an optical disk, etc., which are not limited here.
[0187] In addition, an embodiment of the present application also provides a vehicle, including computer program instructions, which, when executed by a processor, can implement the steps and corresponding contents of the aforementioned method embodiment.
[0188] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0189] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0190] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0191] Aspects of the present disclosure are described above with reference to the flowcharts and / or block diagrams of the methods, devices and vehicles according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.
[0192] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. A method for obtaining parking space information, characterized in that: The method comprises: When the state information of the vehicle meets the preset rule, acquiring a first environment image around the vehicle; Obtaining vacant parking space information according to the first environment image analysis; The vacant parking space information and the first position information of the vehicle are sent to a target server, so that the target server generates parking space situation information about a first place corresponding to the first position information according to the vacant parking space information.
2. The method for obtaining parking space information according to claim 1, characterized in that: The method further comprises: In response to a first input, a first query instruction carrying a target place is sent to the target server, the first query instruction carrying a first distance, so that the target server determines at least one second place corresponding to the target place according to the target place and the first distance, and determines the parking space situation information corresponding to the second place according to a mapping relationship, wherein the mapping relationship is a mapping relationship between multiple places and parking space situation information generated by the target server according to the parking space situation information of multiple first places, and the distance between the second place and the target place is less than or equal to the first distance; The parking space situation information corresponding to the second place fed back by the target server is received.
3. The method for obtaining parking space information according to claim 1, characterized in that: The method further comprises: When the vehicle is in a navigation state, obtaining second position information of the vehicle and a navigation destination; monitoring the distance between the vehicle and the destination according to the second position information; When the interval distance is less than the preset distance, sending a second query instruction carrying the destination to the target server, so that the target server determines a third place corresponding to the destination according to the second query instruction, and determines the parking space situation information corresponding to the third place according to a mapping relationship, wherein the mapping relationship is a mapping relationship between a plurality of places and parking space situation information generated by the target server according to the parking space situation information of a plurality of the first places; The parking space situation information associated with the third place fed back by the target server is received.
4. The method for obtaining parking space information according to claim 1, characterized in that: When the state information of the vehicle meets a preset rule, acquiring the first environment image of the vehicle includes: When the state information of the vehicle is a parking completion state, acquiring a first environment image of the vehicle; or, When the state information of the vehicle is a parking monitoring state and a moving object is detected, a first environment image of the vehicle is acquired.
5. A method for obtaining parking space information, characterized in that: The method comprises: Receiving vacant parking space information and first position information of the vehicle sent by the vehicle; determining a first location corresponding to the first location information; Generate parking space information about the first place according to the vacant parking space information; Wherein, when the state information of the vehicle meets the preset rules, a first environment image around the vehicle is acquired, and the vacant parking space information is obtained according to the analysis of the first environment image.
6. The method for obtaining parking space information according to claim 5, characterized in that: The method further comprises: receiving a first query instruction carrying a target location sent by the vehicle, the first query instruction carrying the target location; Determine a second place corresponding to the target place according to the first query instruction; Determine the parking space situation information corresponding to the second place according to a mapping relationship, wherein the mapping relationship is a mapping relationship between a plurality of places and parking space situation information generated according to the parking space situation information of a plurality of the first places; The parking space situation information corresponding to the second place is fed back to the vehicle.
7. The method for obtaining parking space information according to claim 6, characterized in that: The first query instruction carries a first distance; and determining a second place corresponding to the target place according to the first query instruction includes: At least one second place corresponding to the target place is determined according to the target place and the first distance, and the distance between the second place and the target place is less than or equal to the first distance.
8. A parking space information acquisition device, characterized in that: The device comprises: A first acquisition module, used for acquiring a first environment image around the vehicle when the state information of the vehicle meets a preset rule; A first analysis module, configured to obtain vacant parking space information according to the first environment image analysis; The first sending module is used to send the vacant parking space information and the first position information of the vehicle to a target server, so that the target server generates parking space situation information about a first place corresponding to the first position information according to the vacant parking space information.
9. A parking space information acquisition device, characterized in that: The device comprises: A first receiving module, used for receiving vacant parking space information and first position information of the vehicle sent by the vehicle; A first determining module, used to determine a first place corresponding to the first location information; A first generating module is used to generate parking space information about a first place corresponding to the first location information according to the vacant parking space information, Wherein, when the state information of the vehicle meets the preset rules, a first environment image around the vehicle is acquired, and the vacant parking space information is obtained according to the analysis of the first environment image.
10. A parking space information acquisition device, characterized in that: The parking space information acquisition device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the parking space information acquisition method according to any one of claims 1 to 4 or the parking space information acquisition method according to any one of claims 5 to 7 is implemented.
11. A computer storage medium, characterized in that: The computer storage medium stores computer program instructions, and when the computer program instructions are executed by the processor, the parking space information acquisition method according to any one of claims 1 to 4 or the parking space information acquisition method according to any one of claims 5 to 7 is implemented.
12. A vehicle, characterized in that: The vehicle includes computer program instructions, and when the computer program instructions are executed by a processor, the parking space information acquisition method according to any one of claims 1 to 4 is implemented.