Method for determining vehicle parking position, vehicle and user terminal

Video data is collected through GPS and cameras on the vehicle, combined with driving data classification, and video clips are sent to user terminals, solving the problem that users find it difficult to find the parking position of vehicles in multi-story parking lots, and achieving low-cost and safe parking position determination. Reduce equipment costs and avoid safety hazards.

CN114554410BActive Publication Date: 2024-11-15HISENSE GRP HLDG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210187780.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-28
Publication Date
2024-11-15
Estimated Expiration
2042-02-28

AI Technical Summary

Technical Problem

In multi-story parking lots, it is difficult for users to find the parking location of vehicles. The existing technology requires the deployment of a large number of cameras, which is costly and has safety risks.

Method used

Receive location information through GPS on the vehicle. After detecting GPS interruption, the camera is controlled to collect video data, combine the driving data to classify video clips, and send video data to the user terminal to help the user find parking locations, avoiding the need to deploy a large number of cameras.

Benefits of technology

It realizes the low-cost and safe determination of vehicle parking locations in parking lots, reduces equipment costs, and avoids the risk of exposing parking space information of other users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114554410B_ABST
    Figure CN114554410B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a method for determining the parking position of a vehicle, a vehicle and a user terminal, and belongs to the field of automotive electronic technology. The method includes: obtaining the location information received by the GPS on the vehicle. When it is detected that the GPS interrupts the reception of the location information of the vehicle, the camera on the vehicle is controlled to start collecting video data, and the video data indicates the vehicle surrounding environment information of the vehicle during driving. A vehicle query request sent by a user terminal is received, and the video data is sent to the user terminal based on the vehicle query request, so that the user can find the parking position of the vehicle based on the video data. In the embodiment of the present application, the user only needs to view the video data through his own user terminal to obtain the parking position of the vehicle in the parking lot, and there is no problem of safety hazards, and the solution cost of the embodiment of the present application is relatively low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of automotive electronics technology, and in particular to a method for determining a parking position of a vehicle, a vehicle, and a user terminal. Background Art

[0002] In the case of a multi-storey parking lot in a large shopping mall, users find a parking space, park their vehicles and go shopping, but when they leave the mall to find their vehicles, they often forget where they parked their vehicles. Therefore, a method for determining the parking location of a vehicle is needed so that users can easily and quickly find the parking location of their vehicles in the parking lot.

[0003] In the prior art, a parking management system is usually set up in a parking lot, a camera is deployed near each parking space, and a query terminal is deployed at the entrance and exit of the parking lot. The camera collects the license plate number of the vehicle parked in each parking space, and uploads the license plate number of the vehicle parked in each parking space (that is, the parking space information of the vehicle in the parking lot) to the parking management system. The user enters the license plate number of his vehicle on the query terminal, and the query terminal uploads the license plate number entered by the user to the parking management system. The parking management system queries the parking space information of the vehicle in the parking lot according to the license plate number and feeds back the parking space information to the query terminal. In this way, the user can obtain the parking space information of the vehicle in the parking lot on the query terminal.

[0004] However, the above solution requires the deployment of a large number of cameras, which is costly. In addition, the parking space information of other vehicles can also be queried on the query terminal, which makes the parking management system have safety risks. Summary of the invention

[0005] The embodiment of the present application provides a method for determining the parking position of a vehicle, a vehicle and a user terminal, which can solve the problem of high cost caused by deploying a large number of cameras in a parking lot. The technical solution is as follows:

[0006] In one aspect, a method for determining a parking position of a vehicle is provided, the method comprising:

[0007] Obtaining location information received by the vehicle's global positioning system GPS;

[0008] In the case where it is detected that the GPS interrupts receiving the position information, controlling the camera of the vehicle to start collecting video data, wherein the video data indicates the vehicle surrounding environment information during the driving process of the vehicle;

[0009] A vehicle query request sent by a user terminal is received, and the video data is sent to the user terminal based on the vehicle query request, so that the user can find the parking location of the vehicle based on the video data.

[0010] Optionally, when it is detected that the GPS interrupts receiving the location information, the method further includes:

[0011] Controlling a sensor of the vehicle to collect driving data, wherein the driving data indicates driving information of the vehicle during driving;

[0012] Based on the driving data, determining at least one time period during the driving of the vehicle, wherein the at least one time period indicates a time period when the vehicle passes through at least one floor;

[0013] Classifying the video data based on the at least one time period to obtain at least one video segment;

[0014] Accordingly, the sending the video data to the user terminal based on the vehicle query request includes:

[0015] Based on the vehicle query request, the at least one video segment is sent to the user terminal, each video segment corresponding to floor identification information.

[0016] Optionally, the driving data includes the angle between the driving direction and the horizontal plane collected at each time point;

[0017] The determining, based on the driving data, at least one time period of the vehicle during driving, comprises:

[0018] The following operations are performed on each time point in the driving data in order from early to late: for an angle between a driving direction and a horizontal plane at a first time point, the first time point being any time point, if the angle is positive and exceeds a first reference angle, it is determined that the vehicle is in an uphill stage at the first time point, or if the angle is negative and the absolute value of the angle exceeds a second reference angle, it is determined that the vehicle is in a downhill stage at the first time point, or if the angle does not exceed the first reference angle or the absolute value of the angle does not exceed the second reference angle, it is determined that the vehicle is in a horizontal driving stage at the first time point;

[0019] At least one time period of the vehicle during its travel is determined based on the stage of the vehicle at each time point.

[0020] Optionally, determining at least one time period of the vehicle during driving based on the stage of the vehicle at each time point includes:

[0021] Based on the stage of the vehicle at each time point, clustering the time points to obtain at least one time point set, the time points in each time point set are continuous time points, and the vehicle is in the same stage at different time points in the same time point set;

[0022] The time period between the minimum time point and the maximum time point in each time point set is taken as one of the at least one time period.

[0023] Optionally, after obtaining at least one video clip, the method further includes:

[0024] Acquire at least one video frame from each video clip to obtain a set of video frames corresponding to each video clip;

[0025] The sending the at least one video clip to the user terminal based on the vehicle query request includes:

[0026] In response to the vehicle query request, at least one video frame set is sent to the user terminal, each video frame set corresponding to floor identification information.

[0027] Optionally, controlling the camera of the vehicle to start collecting video data includes:

[0028] Determine the location information of the vehicle received by the GPS at the most recent time before the current time;

[0029] If the determined position information of the vehicle is not within the target range, the camera of the vehicle is controlled to start collecting the video data.

[0030] Optionally, controlling the camera of the vehicle to start collecting video data includes:

[0031] Obtaining the speed of the vehicle;

[0032] If the speed of the vehicle is less than the reference speed, the camera on the vehicle is controlled to start collecting video data.

[0033] In another aspect, a method for determining a parking position of a vehicle is provided, the method comprising:

[0034] The user terminal sends a vehicle query request, wherein the vehicle query request carries the vehicle identification;

[0035] The user terminal receives the sent video data, where the video data indicates the vehicle surrounding environment information during the driving process of the vehicle;

[0036] The video data is displayed so that a user can find a parking location of the vehicle based on the video data.

[0037] Optionally, the video data includes at least one video segment, and each video segment corresponds to floor identification information;

[0038] The displaying of the video data comprises:

[0039] The at least one video segment and floor identification information corresponding to each of the at least one video segment are displayed.

[0040] In another aspect, a vehicle is provided, the vehicle comprising a processor configured to:

[0041] Obtaining location information received by the vehicle's global positioning system GPS;

[0042] In the case where it is detected that the GPS interrupts receiving the position information, controlling the camera of the vehicle to start collecting video data, wherein the video data indicates the vehicle surrounding environment information during the driving process of the vehicle;

[0043] A vehicle query request sent by a user terminal is received, and the video data is sent to the user terminal based on the vehicle query request, so that the user can find the parking location of the vehicle based on the video data.

[0044] Optionally, the processor is further configured to:

[0045] Controlling a sensor of the vehicle to collect driving data, wherein the driving data indicates driving information of the vehicle during driving;

[0046] Based on the driving data, determining at least one time period during the driving of the vehicle, wherein the at least one time period indicates a time period when the vehicle passes through at least one floor;

[0047] Classifying the video data based on the at least one time period to obtain at least one video segment;

[0048] Based on the vehicle query request, the at least one video segment is sent to the user terminal, each video segment corresponding to floor identification information.

[0049] Optionally, the driving data includes the angle between the driving direction and the horizontal plane collected at each time point;

[0050] The processor is further configured to:

[0051] The following operations are performed on each time point in the driving data in order from early to late: for an angle between a driving direction and a horizontal plane at a first time point, the first time point being any time point, if the angle is positive and exceeds a first reference angle, it is determined that the vehicle is in an uphill stage at the first time point, or if the angle is negative and the absolute value of the angle exceeds a second reference angle, it is determined that the vehicle is in a downhill stage at the first time point, or if the angle does not exceed the first reference angle or the absolute value of the angle does not exceed the second reference angle, it is determined that the vehicle is in a horizontal driving stage at the first time point;

[0052] At least one time period of the vehicle during its travel is determined based on the stage of the vehicle at each time point.

[0053] Optionally, the processor is further configured to:

[0054] Based on the stage of the vehicle at each time point, clustering the time points to obtain at least one time point set, the time points in each time point set are continuous time points, and the vehicle is in the same stage at different time points in the same time point set;

[0055] The time period between the minimum time point and the maximum time point in each time point set is taken as one of the at least one time period.

[0056] Optionally, the processor is further configured to:

[0057] Acquire at least one video frame from each video clip to obtain a set of video frames corresponding to each video clip;

[0058] In response to the vehicle query request, at least one video frame set is sent to the user terminal, each video frame set corresponding to floor identification information.

[0059] Optionally, the processor is further configured to:

[0060] Determine the location information of the vehicle received by the GPS at the most recent time before the current time;

[0061] If the determined position information of the vehicle is not within the target range, the camera of the vehicle is controlled to start collecting the video data.

[0062] Optionally, the processor is further configured to:

[0063] Obtaining the speed of the vehicle;

[0064] If the speed of the vehicle is less than the reference speed, the camera on the vehicle is controlled to start collecting video data.

[0065] In another aspect, a user terminal is provided, the user terminal comprising a processor, the processor being configured to:

[0066] Sending a vehicle query request, wherein the vehicle query request carries an identification of the vehicle;

[0067] receiving transmitted video data, wherein the video data indicates vehicle surrounding environment information of the vehicle during driving;

[0068] The video data is displayed so that a user can find a parking location of the vehicle based on the video data.

[0069] Optionally, the video data includes at least one video segment, and each video segment corresponds to floor identification information;

[0070] The processor is further configured to:

[0071] The at least one video segment and floor identification information corresponding to each of the at least one video segment are displayed.

[0072] On the other hand, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method for determining a parking position of a vehicle are implemented.

[0073] In another aspect, a computer program product comprising instructions is provided. When the instructions are executed on a computer, the computer is caused to perform the steps of the above method for determining a parking position of a vehicle.

[0074] The technical solution provided by the embodiments of the present application can at least bring the following beneficial effects:

[0075] In an embodiment of the present application, the location information of the vehicle received by the GPS on the vehicle is first obtained. If it is detected that the GPS interrupts receiving the location information of the vehicle, it indicates that the vehicle has started to enter indoors from outdoors at the current time. At this time, the camera on the vehicle is controlled to start collecting video data. Since the video data indicates the surrounding environment information of the vehicle during driving, the user only needs to view the video data through his own user terminal to obtain the parking position of the vehicle in the parking lot, and there is no problem of potential safety hazards. In addition, the solution in the embodiment of the present application only collects data based on the various components of the vehicle itself, and then links with the user terminal to obtain the parking position of the vehicle. Compared with the solution of deploying a large number of cameras in the parking lot to determine the parking position, the solution in the embodiment of the present application is relatively low in cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] In order to more clearly illustrate the technical solutions in 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 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.

[0077] Figure 1 It is a schematic diagram of an implementation environment provided by an embodiment of the present application;

[0078] Figure 2 is a flow chart of a method for determining a parking position of a vehicle provided in an embodiment of the present application;

[0079] Figure 3 This is a video storage effect diagram provided in an embodiment of the present application. DETAILED DESCRIPTION

[0080] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0081] Before explaining in detail the method for determining the parking position of a vehicle provided in the embodiment of the present application, the application scenario and implementation environment provided in the embodiment of the present application are first introduced.

[0082] Generally, when a vehicle is driving outdoors, the vehicle's location can be accurately obtained through global satellite positioning systems such as GPS (Global Positioning System), Beidou, Galileo, and GLONASS. Correspondingly, when a vehicle is parked in an outdoor parking lot, the parking position of the vehicle in the parking lot can be obtained through these satellite positioning systems.

[0083] However, since these satellite positioning systems cannot cover indoor scenes, when a vehicle enters indoors from outdoors, the vehicle's location cannot be obtained through the satellite positioning system. Accordingly, when a vehicle is parked in an indoor parking lot, a method is required to determine the parking location of the vehicle.

[0084] In the prior art, the license plate numbers of vehicles in each parking space are usually collected through cameras in the parking lot, and the license plate numbers of vehicles parked in each parking space are uploaded to the parking management system. When a user wants to inquire about the parking location of his vehicle, he can enter the license plate number of his vehicle on the query terminal at the entrance and exit of the parking lot. In this way, the parking management system will feed back the parking space information of the vehicle in the parking lot to the query terminal, so that the user can obtain the parking location of his vehicle. However, the above solution requires the deployment of a large number of cameras, which is costly and has the potential safety hazard of easily exposing the parking space information of other users.

[0085] Therefore, an embodiment of the present application proposes a method for determining a parking position of a vehicle, which obtains video data of the vehicle from entering the parking lot to driving to the parking position, so that a user can find the parking position of his vehicle based on the video data.

[0086] Please refer to Figure 1 , Figure 1 1 is a schematic diagram of an implementation environment according to an exemplary embodiment. The implementation environment includes a vehicle 101 and a user terminal 102 , and the vehicle 101 can be connected to the user terminal 102 for communication.

[0087] The vehicle 101 includes a vehicle host, as well as sensors such as GPS, camera, gyroscope sensor, odometer sensor, speed sensor, etc. The vehicle host is used to process data collected by the sensor. The sensor is used to collect various information during the vehicle's driving process.

[0088] For example, GPS is used to receive the location information of the vehicle. The camera is used to collect video data during the driving process of the vehicle. For example, the video data collected during the parking process indicates the vehicle's surrounding environment information from the beginning of the vehicle entering the parking lot to the driving to the parking position. The gyroscope sensor is used to collect driving data such as the angle between the vehicle's driving direction and the horizontal plane. The odometer sensor is used to collect driving data such as the longitudinal rotation angle of the vehicle's wheels (the longitudinal rotation angle can indicate the number of rotations of the wheels). The vehicle speed sensor is used to collect driving data such as the vehicle's driving speed.

[0089] In some embodiments, the GPS can send the received vehicle location information to the vehicle host, the camera can send the collected video data to the vehicle host, the gyroscope sensor can send the collected driving data such as the angle between the vehicle's driving direction and the horizontal plane to the vehicle host, and the odometer sensor can send the collected driving data such as the longitudinal rotation angle of the wheel to the vehicle host. The vehicle host determines that the vehicle begins to enter the indoor parking lot based on the vehicle's location information, and processes the received vehicle driving data and video data to obtain a video clip and / or a video frame set. The specific operation of the vehicle host processing the driving data and video data to obtain a video clip and / or a video frame set will be described in detail later.

[0090] Subsequently, the user terminal 102 may send a vehicle query request to the vehicle 101, and the vehicle query request carries the information of the query vehicle. When the vehicle 101 receives the vehicle query request, the video clip and / or video frame set is sent to the user terminal 102 according to the information of the query vehicle carried in the vehicle query request. The user terminal 102 is used for the user to view the video clip and / or video frame set to obtain the parking position of the vehicle in the parking lot.

[0091] Of course, the vehicle host can also directly send the video data collected by the camera to the user terminal 102. The user terminal 102 is used for the user to view the video data, so that the user can obtain the parking position of the vehicle based on the video data.

[0092] In addition, in some other embodiments, the vehicle 101 may send the driving data and video data of the vehicle collected by various devices to the user terminal 102 , that is, the user terminal 102 obtains the driving data and video data.

[0093] Specifically, the GPS can send the received vehicle location information to the user terminal 102, the camera can send the collected video data to the user terminal 102, the gyroscope sensor can send the collected driving data such as the angle between the vehicle's driving direction and the horizontal plane to the vehicle host, the odometer sensor can send the collected driving data such as the longitudinal rotation angle of the wheel to the user terminal 102, and the vehicle speed sensor can send the collected driving data such as the driving speed of the vehicle to the user host 102. The user terminal 102 determines that the vehicle starts to enter the indoor parking lot based on the vehicle's location information, and processes the received driving data and video data of the vehicle to obtain a video clip and / or a video frame set, so that the user can obtain the parking position of the vehicle in the parking lot based on the video clip and / or the video frame set. The specific operation of the user terminal 102 processing the driving data and video data to obtain the video clip and / or the video frame set will be described in detail later.

[0094] Of course, the user terminal 102 can also directly display the video data collected by the camera to the user, so that the user can obtain the parking position of the vehicle based on the video data.

[0095] Optionally, the vehicle 101 may send the driving data and video data of the vehicle collected by various devices to the cloud, which may acquire and process the driving data and video data.

[0096] Optionally, the vehicle 101 may also process the driving data and video data by itself, and send the processed video clips and / or video frame sets to the cloud.

[0097] Regarding the timing when vehicle 101 sends the video clips and / or video frame sets to the cloud, all of them can be sent to the cloud after processing, or only part of the video clips and / or part of the video frame sets can be sent, or an identifier of each video clip and / or video frame set can be sent, and the identifier is used to indicate the approximate location where the vehicle is parked. For example, the identifier can be "first floor video", "second floor video", etc.

[0098] In the case where the vehicle 101 only sends part of the video clips and / or part of the video frame set, when the user terminal 102 subsequently views the video clips and / or video frame set, the user terminal 102 may first view the part of the video clips and / or video frame set received by the user terminal 102. If the user can find the parking location of the user's vehicle from these video clips and / or video frame sets, the user does not need to view the remaining video clips and / or video frame sets in the vehicle 101, and the remaining video clips and / or video frame sets are no longer obtained based on the vehicle 101. If the user does not find the parking location of the user's vehicle from these video clips and / or video frame sets, at this time, the user can operate on the user terminal 102 to generate a video acquisition request, and send the video acquisition request to the vehicle 101, and the video request carries information about the user's vehicle acquiring the video. After the vehicle 101 receives the video acquisition request, the remaining video clips and / or video frame sets can be sent to the user terminal 102 according to the information of the user vehicle acquiring the video in the video acquisition request, so that the user can query the remaining video clips and / or video frame sets on the user terminal 102 to find the parking location of the user vehicle. The above-mentioned method of the vehicle 101 sending part of the video clips and / or video frame sets to the user terminal 102 can effectively reduce the memory occupied by the user terminal 102.

[0099] In the case where the vehicle 101 sends the identification of each video segment and / or video frame set, if the user subsequently wants to obtain the specific parking location of the vehicle by viewing the video segment and / or video frame set, all video segments and / or video frame sets corresponding to the identification are obtained from the vehicle 101. In this way, the memory occupied by the user terminal 102 can also be effectively reduced.

[0100] The specific implementation process of the cloud acquiring and processing driving data and video data can be as follows: the GPS can send the received vehicle location information to the cloud, the camera can send the collected video data to the cloud, the gyroscope sensor can send the collected driving data such as the angle between the vehicle's driving direction and the horizontal plane to the cloud, and the odometer sensor can send the collected driving data such as the longitudinal rotation angle of the wheel to the cloud. The cloud processes these data to obtain video clips and / or video frame sets. The specific operation of the cloud processing driving data and video data to obtain video clips and / or video frame sets will be described in detail later.

[0101] Subsequently, the user terminal 102 may send a vehicle query request to the cloud, and the vehicle query request carries the information of the query vehicle. After receiving the vehicle query request, the cloud sends the video clip and / or video frame set to the user terminal 102 according to the information of the query vehicle carried in the vehicle query request. The user terminal 102 is used for the user to view the video clip and / or video frame set to obtain the parking position of the vehicle in the parking lot.

[0102] Among them, the user terminal 102 can be any electronic product that can interact with the user through one or more methods such as keyboard, touchpad, touch screen, remote control, voice interaction or handwriting device, such as PC (Personal Computer), mobile phone, smart phone, PDA (Personal Digital Assistant), PPC (Pocket PC), tablet computer, etc.

[0103] Those skilled in the art should understand that the above-mentioned vehicle 101 and user terminal 102 are only examples, and other existing or future vehicles or user terminals, if applicable to the embodiments of the present application, should also be included in the protection scope of the embodiments of the present application and are included here by reference.

[0104] Next, the method for determining the parking position of a vehicle provided in an embodiment of the present application is explained in detail.

[0105] Figure 2 is a flow chart of a method for determining a parking position of a vehicle provided in an embodiment of the present application. It should be noted that, Figure 1 From the implementation environment shown, we can see that Figure 2 The method shown can be applied in a vehicle host, and optionally, can also be applied in a user terminal. Figure 2 Take the application in vehicle host as an example, please refer to Figure 2 , the method comprises the following steps.

[0106] Step 201: Obtain the location information received by the GPS of the vehicle.

[0107] When a vehicle is driving outdoors, the GPS on the vehicle obtains the vehicle's location information in real time by receiving signals continuously sent by satellites. However, once the vehicle enters an indoor environment, the satellite signal is blocked by indoor buildings, and the GPS on the vehicle cannot obtain the vehicle's location information based on the satellite signal.

[0108] Therefore, in step 201, the GPS on the vehicle receives the location information of the vehicle and sends the location information to the vehicle host. The vehicle host can determine that the vehicle is traveling outdoors based on the received location information. When the GPS does not receive the location information of the vehicle, the vehicle host cannot receive the current location information of the vehicle. At this time, the vehicle host can determine that the vehicle has entered indoors. Subsequently, the camera on the vehicle can be controlled to collect video data so that the user can find the parking location of the user's vehicle based on the video data.

[0109] Step 202: When it is detected that the GPS interrupts receiving the position information, the camera of the vehicle is controlled to start collecting video data, where the video data indicates the vehicle surrounding environment information during the driving process.

[0110] Based on the description in the above step 201, when the vehicle enters the room, the GPS on the vehicle cannot collect the location information of the vehicle.

[0111] Therefore, if the vehicle host detects that the GPS stops receiving the vehicle's location information, it can be determined that the vehicle has entered the indoor parking lot from the outdoor at the current time, that is, the vehicle host determines that the vehicle has entered the indoor parking lot. At this time, the vehicle host can control the vehicle's camera to start collecting video to obtain video data of the vehicle from entering the indoor parking lot to driving to the parking position.

[0112] In addition, in order to avoid the situation where the user has a fixed indoor parking space at home or company, which causes the vehicle to repeatedly collect video data, the embodiment of the present application also provides a possible implementation method to avoid the situation where the vehicle repeatedly collects video data.

[0113] In a possible implementation, if the vehicle host detects that the GPS interrupts receiving the vehicle's location information, the vehicle's location information received by the GPS before the current time and the most recent time is determined. If the location information is not within the target range, an operation of determining that the vehicle has started to enter the parking lot is performed.

[0114] The target range is the parking lot near the user's fixed parking space, such as the parking lot near the user's home or company.

[0115] Specifically, if the GPS interrupts receiving the vehicle's location information, the vehicle's location information received by the GPS before the current time and most recently before the current time is determined. If the location information indicates that the vehicle is not near a parking lot where the user has a fixed parking space (i.e., the vehicle is near an ordinary parking lot), the vehicle host executes an operation of controlling the camera to collect video data, which operation will be described in detail later.

[0116] Accordingly, if it is determined that the location information obtained by GPS before the current time and after the most recent location information obtained from the current time is within the target range, the camera and sensor on the vehicle will no longer be controlled to collect data. In this scenario, the user can find the parking location of the vehicle through experience, so there is no need to find the parking location of the vehicle through video data.

[0117] In addition, in order to avoid the situation where the GPS on the vehicle cannot collect the vehicle's location information when the vehicle enters a tunnel on a highway or urban road, and the vehicle host mistakenly thinks that the vehicle has entered an indoor parking lot, thereby controlling the camera to start collecting video data, the embodiment of the present application also provides another possible implementation method to avoid this situation.

[0118] Since the speed of the vehicle when entering the parking lot is much lower than the speed of the vehicle in the tunnel, it is possible to determine whether the vehicle enters indoors from outdoors based on the vehicle's speed information when the vehicle loses positioning information (GPS interrupts receiving the vehicle's location information).

[0119] Therefore, in another possible implementation, by obtaining the current speed of the vehicle when the GPS interrupts receiving the vehicle's location information, if the vehicle's speed is less than the reference speed, the operation of controlling the camera to collect video data is executed.

[0120] The reference vehicle speed value may be set in advance, such as 40 km / h, or may be other values, which is not limited in the embodiment of the present application.

[0121] Specifically, if the vehicle host detects that the GPS interrupts receiving the vehicle's location information, the vehicle speed at the current time is obtained through the vehicle speed sensor on the vehicle.

[0122] If the vehicle speed is less than the reference speed, at this time, the vehicle host determines that the vehicle enters indoors from outdoors, and can perform the following operations to control the vehicle's camera to collect video data.

[0123] If the vehicle speed is greater than or equal to the reference speed, it can be determined that the vehicle has entered the tunnel, and there is no need to obtain the vehicle's position information through video data collected by the camera.

[0124] After the vehicle host detects that the GPS interrupts receiving the vehicle's location information, the camera can be controlled to collect video data so that the user can find the parking location of the user's vehicle based on the video data.

[0125] That is, when it is determined that the vehicle begins to enter the indoor parking lot, the vehicle host controls the camera on the vehicle to start collecting video data. The video data indicates the vehicle's surrounding environment information from the beginning of entering the parking lot to driving to the parking position, so that subsequent users can directly find the parking position of the vehicle in the parking lot based on the video data.

[0126] In some embodiments, when the parking lot includes multiple floors, the video data can be classified based on the time period of the vehicle traveling on each floor to obtain the video clips corresponding to each floor. In this way, the subsequent user can directly view the video clips corresponding to each floor to find the parking location of the vehicle, which is faster and more convenient. That is, the video data can also include the video clips corresponding to the multiple floors.

[0127] In this scenario, after the vehicle host detects that the GPS interrupts receiving the vehicle's location information in step 202, the process of controlling the camera to collect video data can also be divided into the following three steps:

[0128] Step 1: Control the camera on the vehicle to start collecting video data, and control the sensor on the vehicle to collect driving data, where the driving data indicates the driving information of the vehicle during driving.

[0129] In step 1, when the vehicle starts to enter the parking lot, the vehicle host controls the camera on the vehicle to start collecting video data, and controls the sensors on the vehicle to collect the vehicle's driving data, wherein the driving data may include, by way of example, the angle between the vehicle's driving direction and the horizontal plane at various time points during the driving process, the longitudinal rotation angle of the wheels, and the real-time speed of the vehicle.

[0130] After obtaining the video data and driving data, the following step 2 can be performed.

[0131] Step 2: Based on the driving data, determine at least one time period during the driving of the vehicle, wherein the at least one time period indicates a time period when the vehicle passes through at least one floor.

[0132] In step 2, based on the driving data of the vehicle, the time periods corresponding to the vehicle driving to each floor can be obtained.

[0133] In some embodiments, the implementation process of step 2 can be divided into the following two steps:

[0134] Step 2.1: Perform the following operations on each time point in order from early to late: for the angle between the driving direction and the horizontal plane at the first time point, the first time point is any time point, if the angle is positive and exceeds the first reference angle, then it is determined that the vehicle is in the uphill stage at the first time point, or, if the angle is negative and the absolute value of the angle exceeds the second reference angle, then it is determined that the vehicle is in the downhill stage at the first time point, or, if the angle does not exceed the first reference angle or the absolute value of the angle does not exceed the second reference angle, then it is determined that the vehicle is in the horizontal driving stage at the first time point.

[0135] That is, the above step 2.1 is performed for each time point in the entire driving process of the vehicle in order from morning to night, that is, the vehicle host determines the driving stage of the vehicle at the corresponding time point by using the angle between the driving direction of the vehicle and the horizontal plane at each time point sent by the gyroscope sensor, and the driving stage at each time point can be obtained.

[0136] Among them, the first reference angle value and the second reference angle value can be set in advance, such as both the first reference angle value and the second reference angle are set to 5 degrees, or other values. Of course, the first reference angle and the second reference angle can also be different, and the embodiment of the present application is not limited to this.

[0137] In addition, in order to prevent the vehicle host from mistakenly taking the change in the angle between the driving direction and the horizontal plane caused by a shake of the vehicle at the first time point as the vehicle being in the uphill or downhill stage, the vehicle host can also determine that the vehicle starts to go uphill or downhill at the first time point, and continue to determine that the vehicle's driving stage is still uphill or downhill for a period of time after the first time point. At this time, it is truly determined that the vehicle has entered the uphill or downhill stage from the first time point. The value of the period of time can be set in advance, and the embodiment of the present application does not limit this.

[0138] That is, if the angle is positive and exceeds the first reference angle, and the angle between the driving direction and the horizontal plane of the vehicle at each time point within the preset time period after the first time point is also positive and exceeds the first reference angle, then it is determined that the vehicle is in the uphill stage at the first time point, or, if the angle is negative and the absolute value of the angle exceeds the second reference angle, and the angle between the driving direction and the horizontal plane of the vehicle at each time point within the preset time period after the first time point is also negative, and the absolute value of the angle also exceeds the second reference angle, then it is determined that the vehicle is in the downhill stage at the first time point, or, if the angle does not exceed the first reference angle or the absolute value of the angle does not exceed the second reference angle, and the angle between the driving direction and the horizontal plane of the vehicle at each time point within the preset time period after the first time point does not exceed the first reference angle or the absolute value of the angle does not exceed the second reference angle, then it is determined that the vehicle is in the horizontal driving stage at the first time point.

[0139] The preset time period may be set in advance, and the embodiment of the present application does not limit this.

[0140] Of course, it is also possible to determine that the vehicle is still in an uphill or downhill phase after the first time point if the vehicle continues to be in an uphill or downhill phase within a certain driving distance after the first time point, and then truly determine that the vehicle has entered the uphill or downhill phase from the first time point. The value of the certain driving distance can be set in advance, and the embodiment of the present application is not limited to this.

[0141] That is, if the angle is positive and exceeds the first reference angle, and the angle between the driving direction and the horizontal plane at each corresponding time point within the preset driving distance after the first time point is also positive and exceeds the first reference angle, then it is determined that the vehicle is in the uphill stage at the first time point, or, if the angle is negative and the absolute value of the angle exceeds the second reference angle, and the angle between the driving direction and the horizontal plane at each corresponding time point within the preset driving distance after the first time point is also negative, and the absolute value of the angle also exceeds the second reference angle, then it is determined that the vehicle is in the downhill stage at the first time point, or, if the angle does not exceed the first reference angle or the absolute value of the angle does not exceed the second reference angle, and the angle between the driving direction and the horizontal plane at each corresponding time point within the preset driving distance after the first time point does not exceed the first reference angle or the absolute value of the angle does not exceed the second reference angle, then it is determined that the vehicle is in the horizontal driving stage at the first time point.

[0142] The preset driving distance can be determined by multiplying the real-time vehicle speed corresponding to the first time point acquired by the vehicle speed sensor by the preset time to obtain the preset driving distance. Alternatively, the preset driving distance can also be obtained by the longitudinal rotation angle of the wheel acquired by the odometer sensor.

[0143] After obtaining the stage of the vehicle corresponding to each time point, at least one time period of the vehicle in the process of driving to the parking position can be obtained based on the following step 2.2.

[0144] Step 2.2: Based on the stage of the vehicle at each time point, determine at least one time period of the vehicle during its driving process.

[0145] In some embodiments, the implementation process of step 2.2 may be: based on the stage of the vehicle at each time point, cluster each time point to obtain at least one time point set, the time points in each time point set are continuous time points, and the vehicle is in the same stage at different time points in the same time point set. The time period between the minimum time point and the maximum time point in each time point set is used as one of the at least one time period.

[0146] Among them, the same stages that vehicles are in at different time points in the same time point set can mean that the stages that vehicles corresponding to all time points in the time point set are exactly the same, or that the stages that vehicles corresponding to all time points in the time point set are mostly the same, as long as the proportion of time points in the same stage exceeds a reference proportion, which can be 90% or other values, and the embodiments of the present application are not limited to this.

[0147] For example, assuming that the vehicle finally stops at the second floor of the parking lot, at this time, the various time points corresponding to the horizontal driving stage of the vehicle on the first floor can be clustered to obtain the time period corresponding to the vehicle on the first floor. The various time points corresponding to the uphill stage from the first floor to the second floor are clustered to obtain the time period corresponding to the upstairs stage from the first floor to the second floor. The various time points corresponding to the horizontal driving stage of the vehicle on the second floor are clustered to obtain the time period corresponding to the vehicle on the second floor. That is, the three time periods corresponding to the vehicle in these three stages can be obtained.

[0148] Optionally, after taking the time period between the minimum time point and the maximum time point in each time point set as one of the at least one time period, two adjacent time periods in the at least one time period may be clustered to obtain a new time period. For example, the time period corresponding to a horizontal driving stage and the time period corresponding to an uphill or downhill stage before the horizontal driving stage may be clustered.

[0149] For example, assuming that the vehicle finally stops at the second floor of the parking lot, at this time, after obtaining the three time periods corresponding to the three driving stages, the time period corresponding to the uphill stage from the first floor to the second floor and the time period corresponding to the horizontal driving stage of the vehicle on the second floor can be clustered to obtain a new time period corresponding to the driving stage of the vehicle on the second floor. In this way, the time period corresponding to the driving stage of the vehicle on the first floor and the new time period corresponding to the driving stage on the second floor can be obtained, wherein the time period corresponding to the second floor includes the time period corresponding to the uphill stage from the first floor to the second floor and the time period corresponding to the horizontal driving stage of the vehicle on the second floor. In this way, two time periods are finally obtained.

[0150] In addition, at least one of the time periods obtained above can also be marked to represent the floors on which the vehicle travels corresponding to each time period. For example, the time period corresponding to the first horizontal driving stage can be marked as the first floor, the time period corresponding to the first uphill stage can be marked as the first floor to the second floor, the time period corresponding to the second horizontal driving stage after the first uphill stage can be marked as the second floor, and the time periods corresponding to the subsequent horizontal driving stages after the uphill stage can be marked as the third floor, the fourth floor, ..., the time period corresponding to the first downhill stage can be marked as the first floor to the negative first floor, the time period corresponding to the second horizontal driving stage after the first downhill stage can be marked as the negative first floor, and the time periods corresponding to the subsequent horizontal driving stages after the downhill stage can be marked as the negative second floor, the negative third floor, ..., etc.

[0151] Optionally, when marking at least one of the time periods obtained above, the floors corresponding to the vehicle driving in each horizontal driving stage can also be marked based on the new time period obtained after clustering. For example, the time period corresponding to the first horizontal driving stage can be marked as the first floor, and the new time period corresponding to the vehicle driving stage on the second floor obtained by clustering the first uphill stage and the second horizontal driving stage that appears after the first uphill stage is marked as the second floor, and the new time periods corresponding to the vehicle driving stages on each floor obtained by clustering the subsequent uphill stage and the horizontal driving stage that appears after the uphill stage are marked as the third floor, the fourth floor, ..., the new time period corresponding to the vehicle driving stage on the negative first floor obtained by clustering the first downhill stage and the second horizontal driving stage that appears after the first downhill stage is marked as the negative first floor, and the new time periods corresponding to the vehicle driving stages on each floor obtained by clustering the subsequent downhill stage and the horizontal driving stage that appears after the downhill stage are marked as the negative second floor, the negative third floor, ....

[0152] After obtaining the various time periods during the process of the vehicle driving to the parking position, the following step 3 may be performed.

[0153] Step 3: Classify the video data based on at least one time period to obtain at least one video segment.

[0154] In step 3, after obtaining the time periods corresponding to the vehicle driving to each floor, the obtained video data may be classified based on each time period to obtain video clips corresponding to each floor.

[0155] Since each time period has a corresponding mark, after obtaining the video segment corresponding to each time period, the mark corresponding to each time period can be used as the mark of the corresponding video segment. In this way, the floor identification information corresponding to each video segment can be obtained, so that subsequent users can obtain the parking position of the vehicle in the parking lot based on the floor identification information corresponding to the video segment.

[0156] For example, if the mark corresponding to the time period of 20:00-20:05 is the first floor, then the mark can be used as the mark of the video segment corresponding to the time period, that is, the floor identification information of the video segment corresponding to the time period of 20:00-20:05 is the first floor.

[0157] In addition, after obtaining the video clip, the vehicle host needs to save the video clip in time so that the user can view the video clip at any time to obtain the parking position of the user's vehicle.

[0158] There are two ways for the vehicle host to save the video clip.

[0159] In a possible implementation, the vehicle host saves the video clip as a complete long video, and can achieve the purpose of selecting each video clip for playback through a list view control (ListView), a scroll view control (ScrollView), a radio button control (RadioButton), etc., such as when a user subsequently selects a video clip, the player in the ListView, ScrollView, RadioButton, etc. can be controlled to directly jump to the corresponding time period for playback. Figure 3 As shown in the figure, the lower right corner shows the effect of saving the video in RadioButton mode. It can be seen that the floors in the list below the video represent the video clips of which floors are included in the video. The RadioButton control is often used for single selection. Users can watch the video clip by selecting an item (that is, a video clip) in the list below the video. Figure 3 For other contents in the description, please refer to other steps and will not be repeated here.

[0160] In another possible implementation, the vehicle host separately saves the video clips corresponding to each floor. In this way, the subsequent user can directly select one of the video clips to view. This solution, in which the user can view the video clip he wants to watch among multiple video clips, is more efficient than the above-mentioned solution based on viewing the complete long video, and can also save user time and user traffic.

[0161] In addition, after obtaining each video segment, at least one video frame can be obtained from each video segment to obtain a video frame set corresponding to each video segment. Compared with saving multiple video segments, saving a video frame set can further reduce the memory occupied by the vehicle host.

[0162] The method of obtaining at least one video frame from each video segment may be implemented in the following ways.

[0163] In a possible implementation, video frames may be acquired based on the same distance interval in the video segment corresponding to each floor to obtain a set of video frames corresponding to each video segment.

[0164] For example, the distance interval can be set to 5 meters. In the video clip corresponding to each floor, a video frame is obtained every 5 meters of driving distance. If the vehicle travels 23 meters on the first floor, the video frames at the 1st, 6th, 11th, 16th, and 21st meters are obtained to obtain a set of video frames of the vehicle on the first floor. If the vehicle travels 9 meters in the uphill stage from the first floor to the second floor, the video frames at the 1st and 6th meters are obtained to obtain a set of video frames of the vehicle in the uphill stage from the first floor to the second floor.

[0165] In another possible implementation, video frames may be acquired based on the same time interval in the video segment corresponding to each floor to obtain a set of video frames corresponding to each video segment.

[0166] In another possible implementation, the same number of video frames may be acquired at specific positions in the video segment corresponding to each floor to obtain a set of video frames corresponding to each video segment.

[0167] For example, it can be set that in the video clip corresponding to each floor, 3 video frames are obtained respectively, and these 3 video frames are video frames corresponding to the first meter of driving distance, the middle position of driving distance, and the last meter of driving distance. To obtain a video frame set. Alternatively, in the video clip corresponding to each floor, 4 video frames are obtained respectively as a video frame set. That is, the number of video frames in the video frame set in the embodiment of the present application is not limited.

[0168] In another possible implementation, the same number of video frames may be acquired at a specific time in the video segment corresponding to each floor to obtain a set of video frames corresponding to each video segment, which will not be described in detail here.

[0169] In addition, in the embodiment of the present application, the vehicle host may only save the video data or video clip or video frame set of the most recent vehicle entering the indoor parking lot, which can effectively save the storage capacity of the vehicle host.

[0170] Step 203: receiving a vehicle query request sent by a user terminal, and sending video data to the user terminal based on the vehicle query request, so that the user can find the parking location of the vehicle based on the video data.

[0171] Step 204: The user terminal displays the video data so that the user can find the parking location of the vehicle based on the video data.

[0172] After the vehicle host obtains the video data, in step 203, when the user wants to determine the parking location of the vehicle, the user terminal can send a vehicle query request to the vehicle host, and the vehicle host receives the vehicle query request and sends the obtained video data to the user terminal based on the vehicle query request. In the subsequent step 204, the user terminal displays the video data so that the user can find the parking location of the vehicle in the parking lot based on the video data.

[0173] In addition, if the vehicle host obtains at least one video segment based on the video data in step 202, the implementation process of step 203 may be: in response to the vehicle query request, at least one video segment is sent to the user terminal, and each video segment corresponds to displaying floor identification information.

[0174] Based on the operation of the vehicle host sending at least one video clip to the user terminal in the above step 203, the implementation process of step 204 may be: the user terminal displays the at least one video clip and the floor identification information corresponding to each video clip in the at least one video clip.

[0175] In this way, Figure 3 As shown, when a video clip is displayed on the user terminal, the user can directly select one of the video clips to play and view the parking position of the vehicle according to the floor identification information. In this way, when the user is sure of the parking floor of the vehicle but not sure of the specific parking position, the parking position of the vehicle can be directly obtained through the video clip corresponding to the floor, making it more convenient and quick for the user to obtain the parking position of the vehicle.

[0176] In addition, if the vehicle host obtains a set of video frames corresponding to each video clip in step 202, the implementation process of step 203 may be: in response to the vehicle query request, at least one set of video frames is sent to the user terminal, and each set of video frames corresponds to displaying floor identification information.

[0177] Based on the operation of the vehicle host sending at least one video frame set to the user terminal in the above step 203, the implementation process of step 204 may be: the user terminal displays the at least one video frame set and the floor identification information corresponding to each video frame set in the at least one video frame set.

[0178] In this way, when a set of video frames is displayed on the user terminal, the user can more quickly obtain the parking position of the vehicle by viewing the video frames corresponding to each floor.

[0179] In addition, the execution entity of the above method for determining the parking position of a vehicle may be a user terminal or the cloud in addition to the vehicle host.

[0180] When the execution subject is a user terminal, the GPS, camera, gyroscope sensor, and vehicle speed sensor in the vehicle can send the collected data to the user terminal in real time, and the user terminal determines the parking position of the vehicle in the parking lot based on the above steps 201-204.

[0181] When the user terminal determines the parking position of the vehicle based on the above steps 201-204, the method includes the following steps: obtaining the position information received by the GPS of the vehicle. When it is detected that the GPS interrupts the reception of the position information of the vehicle, the camera of the vehicle is controlled to start collecting video data, and the video data indicates the vehicle surrounding environment information during the driving process. In response to the vehicle query request, the video data is displayed based on the vehicle query request, so that the user can find the parking position of the vehicle based on the video data.

[0182] Specifically, the implementation process of the method for determining the parking position of the vehicle by the user terminal can refer to the above Figure 2 Related content in the embodiments.

[0183] When the execution subject is the cloud, the implementation process of the method for determining the parking position of the vehicle by the cloud can also refer to the above Figure 2 Related content in the embodiments.

[0184] Optionally, the execution subject of the above method for determining the parking position of a vehicle may also be a vehicle-mounted device. In the case where the execution subject is a vehicle-mounted device, the implementation process of the method for determining the parking position of a vehicle by the vehicle-mounted device may also refer to the above method. Figure 2 Related content in the embodiments.

[0185] The vehicle-mounted device may be, for example, a driving recorder, which has a camera module that can be used to collect video data of the vehicle. The collection of vehicle driving data depends on the parameters and performance of the driving recorder. The driving recorder may or may not have sensors such as GPS, gyroscope sensor, odometer sensor, speed sensor, etc.

[0186] If the driving recorder has all the above sensors, you can refer to the above Figure 2 In an embodiment, an algorithm module is integrated on the driving recorder to implement the method provided in the embodiment of the present application.

[0187] If some sensors are missing from the driving recorder, it can be connected to the vehicle or other vehicle-mounted equipment equipped with the sensor through wired or wireless communication to obtain the sensor data (vehicle driving data), so as to refer to the above Figure 2 In an embodiment, an algorithm module is integrated on the driving recorder to implement the method provided in the embodiment of the present application.

[0188] The vehicle-mounted device may be, for example, other sensors on the vehicle, and the algorithm module may be integrated on other sensors to implement the method provided in the embodiment of the present application. The vehicle-mounted device may be an independent device such as a driving recorder, or may be a collection of a group of vehicle-mounted devices to implement the method provided in the embodiment of the present application, which will not be described one by one here.

[0189] When the video data of the vehicle in the driving process is obtained based on the above-mentioned execution entities, it is also necessary to display the video data on the user terminal so that the user can find the parking location of the vehicle based on the video data. The specific operation of the user terminal can be: the user terminal sends a vehicle query request, and the vehicle query request carries the identification of the vehicle. Receive the sent video data, and the video data indicates the vehicle surrounding environment information during the driving process. Display the video data so that the user can find the parking location of the vehicle based on the video data. Among them, the user terminal can send a vehicle query request to the cloud or the vehicle host, which will not be repeated here.

[0190] In some embodiments, the video data includes at least one video segment, and each video segment corresponds to floor identification information. In this scenario, the user terminal may display the video data by: displaying at least one video segment and floor identification information corresponding to each video segment in the at least one video segment.

[0191] Specifically, the implementation process of the user terminal performing the above operation can refer to the above Figure 2 The relevant contents in the embodiments will not be repeated here.

[0192] In an embodiment of the present application, by acquiring the location information of the vehicle received by the GPS on the vehicle, when it is detected that the GPS interrupts receiving the location information, it is determined that the vehicle begins to enter the indoor parking lot at the current time. When the vehicle begins to enter the indoor parking lot, the camera on the vehicle is controlled to start collecting video data, and when a vehicle query request is received, the video data is sent to the user terminal so that the user can find the parking position of the vehicle based on the video data. The embodiment of the present application is particularly aimed at multi-storey indoor parking lots, and can determine the video clips or video frame sets corresponding to each floor of the vehicle during the driving process based on the video data collected by the camera and the driving data of the vehicle collected by various sensors on the vehicle, so that the user can more conveniently and quickly determine the parking position of the vehicle in the parking lot by viewing the video clips or video frame sets corresponding to each floor.

[0193] An embodiment of the present application provides a vehicle, the vehicle including a processor, the processor being configured to:

[0194] Obtaining location information received by the vehicle's global positioning system GPS;

[0195] In the case of detecting that the GPS interrupts receiving the position information, the camera of the vehicle is controlled to start collecting video data, and the video data indicates the vehicle surrounding environment information during the driving process;

[0196] A vehicle query request sent by a user terminal is received, and video data is sent to the user terminal based on the vehicle query request, so that the user can find the parking location of the vehicle based on the video data.

[0197] Optionally, the processor is further configured to:

[0198] The sensors controlling the vehicle collect driving data, and the driving data indicates the driving information of the vehicle during driving;

[0199] Based on the driving data, determining at least one time period during the driving of the vehicle, the at least one time period indicating a time period when the vehicle passes through at least one floor;

[0200] Classifying the video data based on at least one time period to obtain at least one video segment;

[0201] Based on the vehicle query request, at least one video segment is sent to the user terminal, and each video segment corresponds to floor identification information.

[0202] Optionally, the driving data includes the angle between the driving direction and the horizontal plane collected at each time point;

[0203] The processor is also used to:

[0204] The following operations are performed on each time point in the driving data in order from early to late: for the angle between the driving direction and the horizontal plane at a first time point, the first time point being any time point, if the angle is positive and exceeds a first reference angle, it is determined that the vehicle is in an uphill stage at the first time point, or, if the angle is negative and the absolute value of the angle exceeds a second reference angle, it is determined that the vehicle is in a downhill stage at the first time point, or, if the angle does not exceed the first reference angle or the absolute value of the angle does not exceed the second reference angle, it is determined that the vehicle is in a horizontal driving stage at the first time point;

[0205] At least one time period of the vehicle during its driving process is determined based on the stage of the vehicle at each time point.

[0206] Optionally, the processor is further configured to:

[0207] Based on the stage of the vehicle at each time point, clustering each time point to obtain at least one time point set, the time points in each time point set are continuous time points, and the stages of the vehicle at different time points in the same time point set are the same;

[0208] The time period between the minimum time point and the maximum time point in each time point set is taken as one of the at least one time period.

[0209] Optionally, the processor is further configured to:

[0210] Acquire at least one video frame from each video clip to obtain a set of video frames corresponding to each video clip;

[0211] In response to the vehicle query request, at least one video frame set is sent to the user terminal, each video frame set corresponding to floor identification information.

[0212] Optionally, the processor is further configured to:

[0213] Determine the vehicle location information received by GPS most recently before the current time;

[0214] If the determined position information of the vehicle is not within the target range, the camera of the vehicle is controlled to start collecting video data.

[0215] Optionally, the processor is further configured to:

[0216] Get the vehicle speed;

[0217] If the speed of the vehicle is less than the reference speed, the camera on the vehicle is controlled to start collecting video data.

[0218] In an embodiment of the present application, by acquiring the location information of the vehicle received by the GPS on the vehicle, when it is detected that the GPS interrupts receiving the location information, it is determined that the vehicle begins to enter the indoor parking lot at the current time. When the vehicle begins to enter the indoor parking lot, the camera on the vehicle is controlled to start collecting video data, and when a vehicle query request is received, the video data is sent to the user terminal so that the user can find the parking position of the vehicle based on the video data. The embodiment of the present application is particularly aimed at multi-storey indoor parking lots, and can determine the video clips or video frame sets corresponding to each floor of the vehicle during the driving process based on the video data collected by the camera and the driving data of the vehicle collected by various sensors on the vehicle, so that the user can more conveniently and quickly determine the parking position of the vehicle in the parking lot by viewing the video clips or video frame sets corresponding to each floor.

[0219] It should be noted that: the vehicle provided in the above embodiment only uses the division of the above functional modules as an example to illustrate when determining the parking position of the vehicle. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the vehicle provided in the above embodiment and the method embodiment for determining the parking position of the vehicle belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0220] An embodiment of the present application provides a user terminal, the user terminal including a processor, the processor being configured to:

[0221] Sending a vehicle query request, the vehicle query request carries the vehicle identification;

[0222] receiving the transmitted video data, the video data indicating the vehicle surrounding environment information during the driving process of the vehicle;

[0223] The video data is displayed so that the user can find the parking location of the vehicle based on the video data.

[0224] Optionally, the video data includes at least one video segment, and each video segment corresponds to floor identification information;

[0225] The processor is also used to:

[0226] At least one video segment and floor identification information corresponding to each video segment of the at least one video segment are displayed.

[0227] In an embodiment of the present application, by acquiring the location information of the vehicle received by the GPS on the vehicle, when it is detected that the GPS interrupts receiving the location information, it is determined that the vehicle begins to enter the indoor parking lot at the current time. When the vehicle begins to enter the indoor parking lot, the camera on the vehicle is controlled to start collecting video data, and when a vehicle query request is received, the video data is sent to the user terminal so that the user can find the parking position of the vehicle based on the video data. The embodiment of the present application is particularly aimed at multi-storey indoor parking lots, and can determine the video clips or video frame sets corresponding to each floor of the vehicle during the driving process based on the video data collected by the camera and the driving data of the vehicle collected by various sensors on the vehicle, so that the user can more conveniently and quickly determine the parking position of the vehicle in the parking lot by viewing the video clips or video frame sets corresponding to each floor.

[0228] It should be noted that: the user terminal provided in the above embodiment only uses the division of the above functional modules as an example to illustrate when determining the parking position of the vehicle. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the user terminal provided in the above embodiment and the method embodiment for determining the parking position of the vehicle belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0229] It is understandable that in the specific implementation methods of the present application, related data such as the user's vehicle driving data and video data are involved. When the above embodiments of the present application are applied to specific products or technologies, the user's permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0230] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.

[0231] The above description is only a preferred embodiment of the embodiments of the present application and is not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A method for determining a parking position of a vehicle, characterized in that: The method comprises: Obtaining location information received by the vehicle's global positioning system GPS; In the case where it is detected that the GPS interrupts receiving the position information, the camera of the vehicle is controlled to start collecting video data, and the sensor of the vehicle is controlled to collect driving data, wherein the driving data indicates driving information of the vehicle during driving, the driving data includes an angle between a driving direction and a horizontal plane collected at each time point, and the video data indicates information about the vehicle's surrounding environment during driving; The following operations are performed on each time point in the driving data in order from early to late: for an angle between a driving direction and a horizontal plane at a first time point, the first time point being any time point, if the angle is positive and exceeds a first reference angle, it is determined that the vehicle is in an uphill stage at the first time point, or if the angle is negative and the absolute value of the angle exceeds a second reference angle, it is determined that the vehicle is in a downhill stage at the first time point, or if the angle does not exceed the first reference angle or the absolute value of the angle does not exceed the second reference angle, it is determined that the vehicle is in a horizontal driving stage at the first time point; Based on the stage of the vehicle at each time point, at least one time period of the vehicle during driving is determined, and the at least one time period indicates a time period when the vehicle passes through at least one floor; wherein the stage of the vehicle in each time period is the same, or there are some time periods including two adjacent sub-time periods, and the stages of the vehicle in the two adjacent sub-time periods are different; Classifying the video data based on the at least one time period to obtain at least one video segment, each video segment corresponding to floor identification information; A vehicle query request sent by a user terminal is received, and the at least one video clip is sent to the user terminal based on the vehicle query request, so that the user can find the parking location of the vehicle based on the at least one video clip.

2. The method according to claim 1, characterized in that The determining, based on the stage of the vehicle at each time point, at least one time period during the driving process of the vehicle includes: Based on the stage of the vehicle at each time point, clustering the time points to obtain at least one time point set, the time points in each time point set are continuous time points, and the vehicle is in the same stage at different time points in the same time point set; The time period between the minimum time point and the maximum time point in each time point set is taken as one of the at least one time period.

3. The method according to claim 1, characterized in that After obtaining at least one video clip, the method further includes: Acquire at least one video frame from each video clip to obtain a set of video frames corresponding to each video clip; The sending the at least one video clip to the user terminal based on the vehicle query request includes: In response to the vehicle query request, at least one video frame set is sent to the user terminal, each video frame set corresponding to floor identification information.

4. The method according to claim 1, characterized in that The controlling the camera of the vehicle to start collecting video data includes: Determine the location information of the vehicle received by the GPS at the most recent time before the current time; If the determined position information of the vehicle is not within the target range, the camera of the vehicle is controlled to start collecting the video data.

5. The method according to claim 1, characterized in that The controlling the camera of the vehicle to start collecting video data includes: Obtaining the speed of the vehicle; If the speed of the vehicle is less than the reference speed, the camera on the vehicle is controlled to start collecting video data.

6. A method for determining a parking position of a vehicle, characterized in that: The method comprises: The user terminal sends a vehicle query request, wherein the vehicle query request carries the vehicle identification; The user terminal receives at least one video segment, the at least one video segment indicates vehicle surrounding environment information of the vehicle during driving, each video segment corresponds to floor identification information, the at least one video segment is obtained by classifying video data collected by the vehicle based on at least one time period, the at least one time period is determined based on the stage of the vehicle at each time point, and the at least one time period indicates the time period when the vehicle passes through at least one floor; the stage of the vehicle at a first time point is an uphill stage, a downhill stage or a horizontal driving stage, and the first time point is any time point; wherein the angle between the driving direction of the vehicle in the uphill stage and the horizontal plane is positive and exceeds a first reference angle, the angle between the driving direction of the vehicle in the downhill stage and the horizontal plane is negative and the absolute value exceeds a second reference angle, and the angle between the driving direction of the vehicle in the horizontal driving stage and the horizontal plane does not exceed the first reference angle or the absolute value does not exceed the second reference angle; wherein the stage of the vehicle in each time period is the same, or there is a part of the time period including two adjacent sub-time periods, and the stages of the vehicle in the two adjacent sub-time periods are different; The at least one video segment and floor identification information corresponding to each of the at least one video segment are displayed, so that a user can find a parking location of the vehicle based on the at least one video segment.

7. A vehicle, characterized in that: The vehicle includes a processor configured to: Obtaining location information received by the vehicle's global positioning system GPS; In the case where it is detected that the GPS interrupts receiving the position information, the camera of the vehicle is controlled to start collecting video data, and the sensor of the vehicle is controlled to collect driving data, wherein the driving data indicates driving information of the vehicle during driving, the driving data includes an angle between a driving direction and a horizontal plane collected at each time point, and the video data indicates information about the vehicle's surrounding environment during driving; The following operations are performed on each time point in the driving data in order from early to late: for an angle between a driving direction and a horizontal plane at a first time point, the first time point being any time point, if the angle is positive and exceeds a first reference angle, it is determined that the vehicle is in an uphill stage at the first time point, or if the angle is negative and the absolute value of the angle exceeds a second reference angle, it is determined that the vehicle is in a downhill stage at the first time point, or if the angle does not exceed the first reference angle or the absolute value of the angle does not exceed the second reference angle, it is determined that the vehicle is in a horizontal driving stage at the first time point; Based on the stage of the vehicle at each time point, at least one time period of the vehicle during driving is determined, and the at least one time period indicates a time period when the vehicle passes through at least one floor; wherein the stage of the vehicle in each time period is the same, or there are some time periods including two adjacent sub-time periods, and the stages of the vehicle in the two adjacent sub-time periods are different; Classifying the video data based on the at least one time period to obtain at least one video segment, each video segment corresponding to floor identification information; A vehicle query request sent by a user terminal is received, and the at least one video clip is sent to the user terminal based on the vehicle query request, so that the user can find the parking location of the vehicle based on the at least one video clip.