Method and device for monitoring remaining parking spaces in parking lot

By employing dual detection systems to synchronize and compare vehicle data, the method addresses inaccuracies in parking space counting, enhancing management efficiency and user convenience.

CN119169855APending Publication Date: 2024-12-20XIAMEN KETUO COMM TECH HLDG CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310732461.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-20
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

Inaccurate counting of parking spaces due to issues like vehicles following other vehicles, breaking through checkpoints, and turning around after the gate is opened, leading to deviations in the number of vacant parking spaces, causing inconvenience to parking lot management and users.

Method used

A method and device using two sets of detection equipment at entrances and exits to capture vehicle information, comparing and synchronizing data to accurately determine vehicle entry and exit, thereby monitoring remaining parking spaces accurately.

Benefits of technology

Accurately calculates the number of remaining parking spaces, reducing inaccuracies and improving management efficiency by ensuring precise tracking of vehicle entry and exit.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119169855A_ABST
    Figure CN119169855A_ABST
Patent Text Reader

Abstract

The invention discloses a method and device for monitoring remaining parking spaces in a parking lot, and relates to the technical field of parking. A specific embodiment of the method comprises the following steps: when a vehicle enters an entrance channel or an exit channel, determining first vehicle information according to first detection equipment, and determining second vehicle information according to second detection equipment; determining third vehicle information by using the first vehicle information and the second vehicle information; determining whether the vehicle is driven into or out of the parking lot based on the third vehicle information; and if the vehicle is driven into or out of the parking lot, monitoring the remaining parking spaces. According to the embodiment, the technical problem that inconvenience is brought to management of the parking lot and users needing parking due to inaccurate parking space counting in the prior art can be solved, and the technical effect that the parking lot management end can accurately calculate the number of the remaining parking spaces is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of parking lot management, and in particular to a method and device for monitoring remaining parking spaces in a parking lot. Background Art

[0002] In the current social development, vehicles have become an indispensable means of transportation for people to travel. However, with the continuous increase in the number of vehicles, the problem of parking space shortage has also emerged. Accurately counting the number of free parking spaces in the parking lot can improve the management efficiency of the parking lot, and it can also make it easier for car owners to confirm the number of free parking spaces in the parking lot and plan driving routes. At present, most parking management software on the market uses the method of counting the number of free parking spaces at the entrance and exit or triggering ground sensing signals to realize the statistics of free parking spaces in the parking lot.

[0003] In the process of implementing the present invention, the inventors found that there are at least the following problems in the prior art:

[0004] Due to inaccurate camera recognition, vehicles following other vehicles, vehicles breaking through checkpoints, and vehicles turning around after the gate is opened, there is a large deviation between the number of parking space counts and the actual number of remaining vacant parking spaces in the parking lot, which brings inconvenience to the management of the parking lot and to users who need to park. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides a method and device for monitoring the remaining parking spaces in a parking lot, which can solve the technical problem of inaccurate parking space counting in the prior art, causing inconvenience to the parking lot management and users who need to park, and achieve the technical effect that the parking lot management end can accurately calculate the number of remaining parking spaces.

[0006] To achieve the above object, according to one aspect of an embodiment of the present invention, a method for monitoring remaining parking spaces in a parking lot is provided, comprising: pre-setting detection equipment in a passage, the detection equipment being used to detect vehicles entering and / or leaving the parking lot; each group of the detection equipment comprising: a first detection equipment and a second detection equipment;

[0007] When the vehicle enters an entrance channel or an exit channel, first vehicle information is determined according to the first detection device, and second vehicle information is determined according to the second detection device;

[0008] Determine third vehicle information using the first vehicle information and the second vehicle information;

[0009] Based on the third vehicle information, determining whether the vehicle enters or exits a parking lot;

[0010] If the vehicle enters or exits the parking lot, the remaining parking spaces are monitored.

[0011] Optionally, when the vehicle enters an entrance channel or an exit channel, determining first vehicle information according to the first detection device and determining second vehicle information according to the second detection device include:

[0012] When the vehicle enters an entrance channel or an exit channel, the first detection device and the second detection device are triggered to start;

[0013] The first detection device captures a first vehicle image at a first time point; and determines the first vehicle information according to the first vehicle image;

[0014] The second detection device captures a second vehicle image at a second time point; and determines the second vehicle information according to the second vehicle image;

[0015] The time difference between the first time node and the second time node is within a preset range.

[0016] Optionally, determining whether the vehicle has exited a parking lot based on the third vehicle information includes:

[0017] Calculating a parking fee bill corresponding to the vehicle;

[0018] According to the parking fee bill, the exit gate is opened to allow vehicles to leave;

[0019] The first detection device and the second detection device are used to determine whether the vehicle has left the parking lot.

[0020] Optionally, using the first detection device and the second detection device to determine whether the vehicle has left the parking lot includes:

[0021] triggering the first detection device and the second detection device to determine the movement trajectory of the vehicle;

[0022] If the movement trajectory shows that the vehicle leaves the parking lot, it is determined that the vehicle leaves the parking lot;

[0023] If the movement trajectory shows that the vehicle has not left the parking lot, it is determined that the vehicle has not left the parking lot.

[0024] Optionally, triggering the first detection device and the second detection device to determine the movement trajectory of the vehicle includes:

[0025] Calculate a first moving direction and a first moving speed of the vehicle according to the photos taken by the first detection device within a preset time period; construct a first moving vector according to the first moving direction and the first moving speed;

[0026] Calculating a second movement direction and a second movement speed of the vehicle according to the photos taken by the second detection device within a preset time period; constructing a second movement vector according to the second movement direction and the second movement speed;

[0027] A motion trajectory of the vehicle is established based on the first motion vector and the second motion vector and the positions of the first detection device and the second detection device.

[0028] Optionally, if the motion trajectory shows that the vehicle has not left the parking lot, after determining that the vehicle has not left the parking lot, the method further includes:

[0029] If the vehicle has completed the payment, the parking fee will continue to be calculated based on the time of payment; if the vehicle leaves the parking lot within the preset time period, no payment is required; if the vehicle does not leave the parking lot within the preset time period after the payment is completed, the parking fee bill needs to be calculated;

[0030] If the vehicle has not paid, the bill will be calculated based on the vehicle's entry time. When the vehicle leaves the parking lot again, the parking fee for the vehicle will be calculated based on the vehicle's initial entry time.

[0031] Optionally, the first vehicle information and the second vehicle information each include at least one of the following vehicle information types: license plate number, license plate type, vehicle type, vehicle brand, and vehicle color; wherein each of the first vehicle information or the second vehicle information corresponds to the credibility of the vehicle information;

[0032] The determining the third vehicle information by using the first vehicle information and the second vehicle information comprises:

[0033] For the same vehicle information type, one of the first vehicle information and the second vehicle information with a higher credibility is selected as the third vehicle information.

[0034] According to another aspect of an embodiment of the present invention, there is provided a device for monitoring remaining parking spaces in a parking lot, comprising: detecting devices are pre-arranged in a passage, the detecting devices are used to detect vehicles entering and / or leaving the parking lot; each group of the detecting devices comprises: a first detecting device and a second detecting device;

[0035] an initial vehicle information determination module, configured to determine first vehicle information according to the first detection device and second vehicle information according to the second detection device when the vehicle enters an entry channel or an exit channel;

[0036] A third vehicle information determining module, configured to determine third vehicle information using the first vehicle information and the second vehicle information;

[0037] a vehicle entry and exit determination module, configured to determine whether the vehicle enters or exits a parking lot based on the third vehicle information;

[0038] The parking space monitoring module is used to monitor the remaining parking spaces if the vehicle enters or exits the parking lot.

[0039] According to another aspect of an embodiment of the present invention, there is provided an electronic device for monitoring remaining parking spaces in a parking lot, comprising:

[0040] one or more processors;

[0041] a storage device for storing one or more programs,

[0042] When the one or more programs are executed by the one or more processors, the one or more processors implement the method for monitoring remaining parking spaces in a parking lot provided by the present invention.

[0043] According to another aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored. When the program is executed by a processor, the method for monitoring remaining parking spaces in a parking lot provided by the present invention is implemented.

[0044] One embodiment of the above invention has the following advantages or beneficial effects:

[0045] The present invention adopts a technical means of comparing two sets of vehicle monitoring information to determine whether a vehicle has entered a parking lot, thereby solving the technical problem of inaccurate parking space counting in the prior art, which causes inconvenience to parking lot management and users who need to park, and achieves the technical effect that the parking lot management end can accurately calculate the number of remaining parking spaces.

[0046] The further effects of the above-mentioned non-conventional optional manner will be described below in conjunction with the specific implementation manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The accompanying drawings are used to better understand the present invention and do not constitute an improper limitation of the present invention.

[0048] Figure 1 This is a schematic diagram of the main process of a method for monitoring remaining parking spaces in a parking lot according to an embodiment of the present invention;

[0049] Figure 2 is a schematic diagram of a main process of determining third vehicle information according to an embodiment of the present invention;

[0050] Figure 3 is another schematic diagram of a main process for determining third vehicle information according to an embodiment of the present invention;

[0051] Figure 4is a schematic diagram of another main process for determining third vehicle information according to an embodiment of the present invention;

[0052] Figure 5 is a schematic diagram of a main process of determining whether a vehicle has exited a parking lot based on third vehicle information at an exit according to an embodiment of the present invention;

[0053] Figure 6 is a schematic diagram of another main process for determining whether a vehicle has exited a parking lot according to an embodiment of the present invention;

[0054] Figure 7 is a module diagram of a device for monitoring remaining parking spaces in a parking lot according to an embodiment of the present invention;

[0055] Figure 8 is an exemplary system architecture diagram to which embodiments of the present invention may be applied;

[0056] Fig. 9 It is a schematic diagram of the structure of a computer system of a terminal device or a server suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0057] The following is a description of exemplary embodiments of the present invention in conjunction with the accompanying drawings, including various details of the embodiments of the present invention to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present invention. Similarly, for the sake of clarity and simplicity, the description of well-known functions and structures is omitted in the following description. The following specific embodiments may be combined or may be used alone as an embodiment. Specific embodiment 1:

[0059] Figure 1 It is a main flow chart of a method for monitoring remaining parking spaces in a parking lot according to an embodiment of the present invention.

[0060] In actual applications, the parking lot manager determines whether to release the vehicle at the entrance based on the number of remaining parking spaces in the parking lot. Users need to determine whether to drive to the entrance of the parking lot based on the number of remaining parking spaces displayed on the parking lot line or on the electronic screen that displays the number of remaining parking spaces in the parking lot. Therefore, the technical solution of the present invention can accurately determine the number of remaining parking spaces to avoid the technical problem that vehicles have nowhere to park and cannot be accurately managed because they enter the parking lot entrance passage or find that there are no parking spaces in the parking lot after entering the parking lot.

[0061] Before monitoring the remaining parking spaces in the parking lot, it is necessary to pre-install detection equipment in the passage for detecting vehicles entering and / or leaving the parking lot. In practical applications, detection equipment can be installed in the entrance passage and / or exit passage to accurately detect whether a vehicle is entering and / or leaving.

[0062] like Figure 1 As shown, to achieve the above purpose, this specific embodiment includes, before executing the method for monitoring remaining parking spaces in a parking lot: pre-setting a detection device in the passage, wherein the detection device is used to detect vehicles entering and / or leaving the parking lot.

[0063] Step S101, when the vehicle enters the entrance channel or the exit channel, the first vehicle information is determined according to the first detection device, and the second vehicle information is determined according to the second detection device. Since the entrance and the exit can both monitor the remaining vehicles in the parking lot by the method in this patent, the application of this method to the exit or the entrance can achieve the effect of improving the monitoring accuracy. Preferably, this method is used at both the exit and the entrance. In addition, the first vehicle information in the present invention is extracted from the image or video taken by the first detection device. The second vehicle information in the present invention is extracted from the image (for example, image or video) taken by the second detection device. The first vehicle information and the second vehicle information have the same information type, and both include at least one of the following: license plate number, license plate type, vehicle type, vehicle brand, and vehicle color; wherein each of the first vehicle information or the second vehicle information corresponds to the credibility of the vehicle information. Conventional image processing methods can be used to obtain the license plate number, license plate type, vehicle type, vehicle brand, and vehicle color according to the image or video, and the present invention does not limit the specific algorithm.

[0064] Step S102: Determine the third vehicle information using the first vehicle information and the second vehicle information. The third vehicle information is one of the first vehicle information or one of the second vehicle information. That is, when the first vehicle information matches the second vehicle information, the third vehicle information is the first vehicle information, and similarly, the second vehicle information. When the first vehicle information is different from the second vehicle information, the implementation method for determining the third vehicle information is: for the same vehicle information type, select the one with higher credibility between the first vehicle information and the second vehicle information as the third vehicle information, see specific embodiment 4 for details.

[0065] Step S103: Determine whether the vehicle enters or exits the parking lot based on the third vehicle information. When the method is used for entrance, the third vehicle information can be used to more accurately determine whether the vehicle enters the parking lot; when the method is used for exit, the third vehicle information can be used to more accurately determine whether the vehicle exits the parking lot, thereby avoiding the technical defect of the prior art that the number of remaining parking spaces is inaccurate due to the inability to accurately determine whether the vehicle enters or exits the parking lot.

[0066] Step S104: If the vehicle enters or exits the parking lot, the remaining parking spaces are monitored.

[0067] In actual applications, there is a case where a vehicle enters the entrance of a parking lot, and the entrance detection device (camera) captures an image of the vehicle entering, but in fact the vehicle does not enter the parking lot, but turns around and leaves the parking lot. Since the entrance camera captures the image of the vehicle, the number of remaining parking spaces is updated, but since the vehicle does not enter the parking lot, the actual number of parking spaces is different from the number of parking spaces counted. In addition, the prior art sets an exit detection device (camera) at the exit, and when the vehicle is at the exit, the image of the vehicle is captured, and the number of parking spaces in the parking lot is increased by 1, but in fact, the driver may not have left the parking lot, but returned to the parking lot. In other words, when the vehicle turns around after the gates at the entrance and exit are opened, the technical problem of inaccurate parking space counting will be caused. The technical means of monitoring the remaining parking spaces by the present invention can achieve the purpose of accurately calculating the remaining parking spaces to achieve monitoring.

[0068] In addition, due to inaccurate camera recognition, vehicle following, and checkpoint-breaking, there is a large deviation between the number of parking space counts and the actual number of remaining vacant parking spaces in the parking lot, which brings inconvenience to the management of the parking lot and to users who need to park.

[0069] In an optional embodiment, the first detection device may be a high-position detection device; the second detection device may be a detection device at the bayonet. The second detection device may also be a detection device after passing through the bayonet or before the bayonet. The technical effect of detection is achieved through the cooperation between the two different detection devices. Specific embodiment 2:

[0071] Taking the parking lot entrance as an example, two detection devices are provided in the second specific embodiment of the present invention. The first detection device can be provided at the entrance passage, and the second detection device can be provided behind the entrance gate.

[0072] Figure 2 FIG. 2 is a schematic diagram of the main process of determining the third vehicle information according to an embodiment of the present invention. Figure 2 As shown, including:

[0073] Step S201: When a vehicle arrives at the entrance of the parking lot, a detection device located at the entrance passage obtains first vehicle information of the vehicle;

[0074] Step S202: After the vehicle passes through the barrier, the second detection device obtains information of the second vehicle entering the parking lot;

[0075] Step S203: When the first vehicle information is the same as the second vehicle information, it means that the vehicle has entered the parking lot, and the same vehicle information is the third vehicle information.

[0076] The above-mentioned technical solution for determining whether a vehicle has entered the parking lot avoids the technical defect of the prior art that when only one detection device is set at the entrance passage, the vehicle turns around at the entrance and does not drive into the parking lot, but the number of parking spaces in the parking lot is calculated. It also avoids the technical defect that when only one detection device is set behind the entrance gate, the detection device fails / failure to clearly obtain vehicle information leads to inaccurate vehicle information. When the first vehicle information is exactly the same as the second vehicle information, the same vehicle information is the third vehicle information, which accurately indicates that the vehicle has entered the parking lot, and the vehicle will not turn around and leave. When the first vehicle information is not exactly the same as the second vehicle information, the third vehicle information is generated according to the algorithm, and the probability of the vehicle entering the parking lot is calculated according to the generated third vehicle information. When the probability exceeds a certain threshold, it is considered that the vehicle has entered the parking lot, indicating that the vehicle has entered the parking lot, and the vehicle turning around and leaving is avoided.

[0077] Similarly, two detection devices can be set at the exit of the parking lot, the first detection device is set in front of the gate, and the second detection device is set at the exit channel. The logic of generating the third vehicle information at the exit is the same as the logic of generating the third vehicle information at the entrance, and will not be repeated. Specific embodiment three:

[0079] Figure 3 FIG. 2 is another schematic diagram of the main process of determining the third vehicle information according to an embodiment of the present invention. Figure 3 As shown, when the vehicle enters an entrance channel or an exit channel, first vehicle information is determined according to the first detection device, and second vehicle information is determined according to the second detection device, including:

[0080] Step S301: When the vehicle enters an entrance channel or an exit channel, the first detection device and the second detection device are triggered to start; the device that triggers the start of the detection device may be a ground sensor coil, a video stream, etc., and the present invention does not limit the method of triggering the start of the detection device.

[0081] Step S302: The first detection device captures a first vehicle image at a first time point; and determines the first vehicle information according to the first vehicle image;

[0082] Step S303: the second detection device captures a second vehicle image at a second time point; and determines the second vehicle information according to the second vehicle image;

[0083] Step S304: setting a time difference between the first time node and the second time node, and generating third vehicle information according to the first vehicle information and the second vehicle information within a preset time difference range.

[0084] In fact, the detection device is not limited to a camera, and can also be a device that can receive signals from a vehicle, such as a radio frequency receiver, NFC, etc. As long as the vehicle information can be obtained, it can be determined as a detection device. When the obtained vehicle information includes a license plate number, it is preferred to use the license plate number for comparison to generate the third vehicle information. Specific embodiment 4:

[0086] In the fourth specific implementation, a high-position detection device and a checkpoint detection device are preset at the entrance and exit of the parking lot, and the high-position detection device and the checkpoint detection device are time synchronized through the "Precision Time Protocol (PTP)". Specifically, the high-position detection device is used to obtain video image information A (i.e., the first vehicle information) within the channel range, and the checkpoint detection device is used to obtain video image information B (i.e., the second vehicle information) of the vehicle closest to the channel entrance in the channel.

[0087] When the owner drives the vehicle into the parking lot entrance passage, the high-position detection device and the checkpoint detection device are triggered. The high-position detection device and the checkpoint detection device obtain the entrance video image information A and the entrance video image information B of the vehicle within the preset time range. The high-position detection device and the checkpoint detection device analyze the entrance video image information A and the entrance video image information B obtained by each of them to obtain vehicle information A and vehicle information B. If the matching results of vehicle information A and B are consistent, the vehicle information is confirmed and recorded, and the number of available parking spaces in the parking lot is reduced by 1.

[0088] Figure 4 FIG. 2 is a schematic diagram of another main process for determining the third vehicle information according to an embodiment of the present invention. Figure 4 As shown, if the matching results of vehicle information A (i.e., the first vehicle information) and B (i.e., the second vehicle information) are inconsistent, the following steps are performed:

[0089] Step S401: The parking lot server extracts the vehicle information with higher credibility from the vehicle information A and B according to the preset configuration rules. This step is used to aggregate and merge the vehicle information A and B to obtain the vehicle information C (i.e., the third vehicle information). (For example, refer to Table 1-1 below)

[0090] Step S402: According to a preset algorithm, the credibility of the vehicle information A and B is integrated to determine the vehicle information C, that is, confirm that the vehicle information C is used to determine whether the corresponding vehicle enters the parking lot;

[0091] Step S403: If the vehicle does not enter the parking lot, the vehicle information C is not recorded;

[0092] Step S404: If the vehicle enters the parking lot, the vehicle information C and the entry time of the vehicle are recorded and stored, and the parking lot server records the number of available parking spaces in the parking lot minus one.

[0093] (Refer to Table 1-1)

[0094]

[0095] Specific embodiment 5:

[0097] In the technical solution of the present invention, when the passage is an entrance passage, it is determined that the vehicle enters the parking lot based on the third vehicle information; when the passage is an exit passage, it is determined that the vehicle exits the parking lot based on the third vehicle information.

[0098] The detection equipment (high position, checkpoint) sends the vehicle information A and vehicle information B to the parking lot server, and the parking lot server matches and compares the vehicle information A and B. Similarly, when a vehicle enters the parking lot exit passage, the high position detection equipment and checkpoint detection equipment of the parking lot exit passage are triggered. The high position detection equipment and checkpoint detection equipment obtain the exit video image information A and exit video image information B of the vehicle within a preset time range. Through the vehicle information A and B, the vehicle information C of the vehicle is confirmed.

[0099] Figure 5 2 is a schematic diagram of the main process of determining whether a vehicle has exited a parking lot based on the third vehicle information at the exit according to an embodiment of the present invention. Figure 4 As shown, when the present invention is applied to an exit, optionally, determining whether the vehicle has exited the parking lot based on the third vehicle information at the exit includes:

[0100] Step S501, calculating the parking fee bill corresponding to the vehicle; opening the exit gate to allow the vehicle to exit according to the parking fee bill; and using the first detection device and the second detection device to determine whether the vehicle has exited the parking lot.

[0101] Step S502: If there is no information requiring payment from the user in the parking fee bill, the exit gate is opened to allow the vehicle to exit;

[0102] Step S503: If the parking fee bill contains information requiring the user to pay, the user is prompted to pay the parking fee according to the parking fee bill; when the user completes paying the parking fee, the exit gate is opened to allow the vehicle to leave.

[0103] According to the third vehicle information determined at the exit, the entry information of the vehicle is found in the parking lot server, and the parking fee bill is calculated.

[0104] If there is fee information in the parking fee bill, the fee information will be displayed to the vehicle user, prompting the vehicle user to pay the parking fee bill.

[0105] If the parking fee bill does not contain any fee information that needs to be paid by the user, the exit channel will open the gate to allow the vehicle to leave.

[0106] Specifically, at the exit, the precise time synchronization protocol (PTP) can also be used to synchronize the time of two or more cameras. When the vehicle information obtained by the detection device is different, the parking lot server confirms whether the timestamps of the first vehicle information and the second vehicle information are consistent or within the running time difference. If so, according to the preset configuration rules, the parts of the vehicle information with higher credibility are extracted from the first vehicle information and the second vehicle information to form the third vehicle information.

[0107] Through the solution, when the two sets of vehicle information cannot match, the parking lot server can obtain the most accurate third vehicle information. Specific embodiment six:

[0109] Figure 6 FIG. 2 is a schematic diagram of another main process for determining whether a vehicle has left a parking lot according to an embodiment of the present invention. Figure 6 As shown, using the first detection device and the second detection device to determine whether the vehicle has left the parking lot includes:

[0110] Step S601, triggering the first detection device and the second detection device to determine the movement trajectory of the vehicle;

[0111] Step S602: if the motion trajectory shows that the vehicle leaves the parking lot, then it is determined that the vehicle leaves the parking lot;

[0112] Step S603: If the movement trajectory shows that the vehicle has not left the parking lot, it is determined that the vehicle has not left the parking lot.

[0113] The gate at the vehicle entrance opens, triggering the monitoring mechanism of the exit channel detection equipment (high position, checkpoint) to confirm the movement trajectory of the vehicle.

[0114] Specifically, if the movement trajectory of the vehicle shows the direction of leaving the parking lot, it is confirmed that the vehicle has left the parking lot, and the vehicle departure information is reported to the parking lot server to confirm that the vehicle has left. If the vehicle leaves the back-up detection area (has not left the parking lot), the vehicle has not left the parking lot information is reported to the parking lot server, and the parking lot server clears the vehicle's departure record and records the vehicle's presence.

[0115] In fact, there are cases where the vehicle moves backward after paying. If the vehicle moves backward after paying, the fee will be calculated according to the payment time on the parking fee bill. If the vehicle leaves the parking lot within the preset time, no additional fee will be calculated; otherwise, additional fees will be required. After obtaining the information of the vehicle leaving the parking lot again, the parking lot server updates the number of available parking spaces in the parking lot +1.

[0116] When it is determined that the vehicle has not incurred parking fees, the server determines that no payment is required and the vehicle does not need to back up after the gate is opened. If the vehicle has not incurred fees and the vehicle backs up after the exit gate is opened, the parking lot server records that the vehicle is still present; the number of available parking spaces in the parking lot remains unchanged.

[0117] The step of determining the motion trajectory of the vehicle includes:

[0118] According to the photos taken by the first detection device within a preset time period, a first movement direction and a first movement speed of the vehicle are calculated; according to the first movement direction and the first movement speed, a first movement vector is constructed.

[0119] The second motion vector is constructed in the same manner as the first motion vector. Specifically, the second motion direction and the second motion speed of the vehicle are calculated based on the photos taken by the second detection device within a preset time period; and the second motion vector is constructed based on the second motion direction and the second motion speed.

[0120] The motion trajectory of the vehicle is simulated and established according to the first motion vector and the second motion vector and the positions of the first detection device and the second detection device.

[0121] In an optional embodiment of the present invention, if the motion trajectory shows that the vehicle has not left the parking lot, after determining that the vehicle has not left the parking lot, the method includes:

[0122] If the vehicle has completed the payment, the parking fee will continue to be calculated based on the time of payment; if the vehicle leaves the parking lot within the preset time period, no payment is required; if the vehicle does not leave the parking lot within the preset time period after the payment is completed, the parking fee bill needs to be calculated;

[0123] If the vehicle has not paid, the bill will be calculated based on the vehicle's entry time. When the vehicle leaves the parking lot again, the parking fee for the vehicle will be calculated based on the vehicle's initial entry time.

[0124] To sum up, by obtaining the vehicle video image information within the preset time range and confirming the vehicle's movement trajectory direction within the preset time range, it is possible to well solve the situation where the vehicle reverses out of the detection area after the exit and entrance gates are lifted, and the parking lot server believes that the vehicle is entering or exiting the lot.

[0125] Optionally, the calculating the parking fee bill corresponding to the vehicle includes:

[0126] searching for the entry information of the vehicle at the entrance according to the third vehicle information determined at the exit;

[0127] The parking fee bill is calculated based on the third vehicle information determined at the exit and the entry information.

[0128] The entry information here may be the third vehicle information generated at the time of entry, or may be the first vehicle information or the second vehicle information generated at the vehicle entry. Specific embodiment seven,

[0130] Figure 7 is a module diagram of a device for monitoring remaining parking spaces in a parking lot according to an embodiment of the present invention. Figure 7 As shown, a device 700 for monitoring remaining parking spaces in a parking lot is provided, comprising: detecting devices are pre-arranged in a passage, the detecting devices are used to detect vehicles entering and / or leaving the parking lot; each group of the detecting devices comprises: a first detecting device and a second detecting device;

[0131] An initial vehicle information determination module 701, configured to determine first vehicle information according to the first detection device and second vehicle information according to the second detection device when the vehicle enters an entry channel or an exit channel;

[0132] A third vehicle information determining module 702, configured to determine third vehicle information using the first vehicle information and the second vehicle information;

[0133] A vehicle entry and exit determination module 703, configured to determine whether the vehicle enters or exits a parking lot based on the third vehicle information;

[0134] The parking space monitoring module 704 is used to monitor the remaining parking spaces if the vehicle enters or exits the parking lot.

[0135] Figure 8 An exemplary system architecture 800 of a method for monitoring remaining parking spaces in a parking lot or an apparatus for monitoring remaining parking spaces in a parking lot to which an embodiment of the present invention may be applied is shown.

[0136] like Figure 8 As shown, system architecture 800 may include terminal devices 801, 802, 803, a network 804, and a server 805. Network 804 is used to provide a medium for communication links between terminal devices 801, 802, 803 and server 805. Network 804 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0137] Users can use terminal devices 801, 802, and 803 to interact with server 805 through network 804 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 801, 802, and 803, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only examples).

[0138] The terminal devices 801 , 802 , and 803 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

[0139] The server 805 may be a server that provides various services, such as a backend management server (only an example) that provides support for shopping websites browsed by users using the terminal devices 801, 802, and 803. The backend management server may analyze and process the received data such as product information query requests, and feed back the processing results (such as target push information, product information - only an example) to the terminal device.

[0140] It should be noted that the method for monitoring remaining parking spaces in a parking lot provided in the embodiment of the present invention is generally executed by the server 805 , and accordingly, the device for monitoring remaining parking spaces in a parking lot is generally disposed in the server 805 .

[0141] It should be understood that Figure 8 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0142] Reference below Fig. 9 , which shows a schematic diagram of the structure of a computer system 900 of a terminal device suitable for implementing an embodiment of the present invention. Fig. 9The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0143] like Fig. 9 As shown, the computer system 900 includes a central processing unit (CPU) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the system 900 are also stored. The CPU 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.

[0144] The following components are connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage section 908 as needed.

[0145] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 909, and / or installed from the removable medium 911. When the computer program is executed by the central processing unit (CPU) 901, the above-mentioned functions defined in the system of the present invention are executed.

[0146] It should be noted that the computer-readable medium shown in the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0147] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0148] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The modules described may also be arranged in a processor. For example, they may be described as follows: a processor includes a sending module, an acquisition unit, a determination module, and a first processing module. The names of these modules do not, in some cases, constitute limitations on the modules themselves. For example, the sending module may also be described as a "module for sending a request for obtaining an image to a connected server."

[0149] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by a device, the device includes:

[0150] When the vehicle enters an entrance channel or an exit channel, first vehicle information is determined according to the first detection device, and second vehicle information is determined according to the second detection device;

[0151] Determine third vehicle information using the first vehicle information and the second vehicle information;

[0152] Based on the third vehicle information, determining whether the vehicle enters or exits a parking lot;

[0153] If the vehicle enters or exits the parking lot, the remaining parking spaces are monitored.

[0154] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for monitoring remaining parking spaces in a parking lot, characterized in that: include: A detection device is pre-arranged in the passage, and the detection device is used to detect vehicles entering and / or leaving the parking lot; Each group of the detection equipment includes: a first detection equipment and a second detection equipment; When the vehicle enters an entrance channel or an exit channel, first vehicle information is determined according to the first detection device, and second vehicle information is determined according to the second detection device; Determine third vehicle information using the first vehicle information and the second vehicle information; Based on the third vehicle information, determining whether the vehicle enters or exits a parking lot; If the vehicle enters or exits the parking lot, the remaining parking spaces are monitored.

2. The method according to claim 1, characterized in that When the vehicle enters an entrance channel or an exit channel, determining first vehicle information according to the first detection device and determining second vehicle information according to the second detection device include: When the vehicle enters an entrance channel or an exit channel, the first detection device and the second detection device are triggered to start; The first detection device captures a first vehicle image at a first time point; and determines the first vehicle information according to the first vehicle image; The second detection device captures a second vehicle image at a second time point; and determines the second vehicle information according to the second vehicle image; The time difference between the first time node and the second time node is within a preset range.

3. The method according to claim 1, characterized in that Determining whether the vehicle has exited a parking lot based on the third vehicle information includes: Calculating a parking fee bill corresponding to the vehicle; According to the parking fee bill, the exit gate is opened to allow vehicles to leave; The first detection device and the second detection device are used to determine whether the vehicle has left the parking lot.

4. The method according to claim 3, characterized in that Determining whether the vehicle has left the parking lot using the first detection device and the second detection device includes: triggering the first detection device and the second detection device to determine the movement trajectory of the vehicle; If the movement trajectory shows that the vehicle leaves the parking lot, it is determined that the vehicle leaves the parking lot; If the movement trajectory shows that the vehicle has not left the parking lot, it is determined that the vehicle has not left the parking lot.

5. The method according to claim 4, characterized in that The triggering of the first detection device and the second detection device to determine the movement trajectory of the vehicle includes: Calculate a first moving direction and a first moving speed of the vehicle according to the photos taken by the first detection device within a preset time period; construct a first moving vector according to the first moving direction and the first moving speed; Calculating a second movement direction and a second movement speed of the vehicle according to the photos taken by the second detection device within a preset time period; constructing a second movement vector according to the second movement direction and the second movement speed; A motion trajectory of the vehicle is established based on the first motion vector and the second motion vector and the positions of the first detection device and the second detection device.

6. The method according to claim 4, characterized in that If the motion trajectory shows that the vehicle has not left the parking lot, then after determining that the vehicle has not left the parking lot, the method includes: If the vehicle has completed the payment, the parking fee will continue to be calculated based on the time of payment; if the vehicle leaves the parking lot within the preset time period, no payment is required; if the vehicle does not leave the parking lot within the preset time period after the payment is completed, the parking fee bill needs to be calculated; If the vehicle has not paid, the bill will be calculated based on the vehicle's entry time. When the vehicle leaves the parking lot again, the parking fee for the vehicle will be calculated based on the vehicle's initial entry time.

7. The method according to any one of claims 1 to 6, characterized in that: The first vehicle information and the second vehicle information each include at least one of the following vehicle information types: license plate number, license plate type, vehicle type, vehicle brand, and vehicle color; wherein each of the first vehicle information or the second vehicle information corresponds to the credibility of the vehicle information; The determining the third vehicle information by using the first vehicle information and the second vehicle information comprises: For the same vehicle information type, one of the first vehicle information and the second vehicle information with a higher credibility is selected as the third vehicle information.

8. A device for monitoring remaining parking spaces in a parking lot, characterized in that: include: A detection device is pre-arranged in the passage, and the detection device is used to detect vehicles entering and / or leaving the parking lot; Each group of the detection equipment includes: a first detection equipment and a second detection equipment; an initial vehicle information determination module, configured to determine first vehicle information according to the first detection device and second vehicle information according to the second detection device when the vehicle enters an entry channel or an exit channel; A third vehicle information determining module, configured to determine third vehicle information using the first vehicle information and the second vehicle information; a vehicle entry and exit determination module, configured to determine whether the vehicle enters or exits a parking lot based on the third vehicle information; The parking space monitoring module is used to monitor the remaining parking spaces if the vehicle enters or exits the parking lot.

9. An electronic device for monitoring remaining parking spaces in a parking lot, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.

10. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.