A parking space state detection method, system, server and storage medium
By receiving information from the vehicle terminal and using image recognition technology to determine the parking space status, the problem of excessive server computing resource consumption in existing technologies has been solved, resulting in faster parking space status recognition and higher system reliability.
Patent Information
- Application Number
- CN202210979423.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-16
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2042-08-16
AI Technical Summary
The servers of existing parking management systems need to process images continuously, resulting in excessive consumption of computing resources and low computing efficiency.
By receiving parking space information and license plate numbers sent by the vehicle terminal, image recognition technology is used to determine whether the parking space is occupied, reducing the need for continuous image processing and performing image recognition only under specific conditions to determine the parking space status.
It saves computing resources, improves the speed of parking space status recognition, and enhances the reliability and user satisfaction of the parking management system.
Smart Images

Figure CN115410382B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of parking, in particular to a parking space state detection method and system, a server and a storage medium. BACKGROUND
[0002] With the development and application of security monitoring technology in the parking lot industry, new parking lot management systems have been widely accepted and used in the market.
[0003] Generally, the parking lot management system will collect images of parking spaces and identify license plates in the collected images, determine the parking space as an occupied state or an idle state according to the identification result of the license plate, and indicate the parking space state through an indicator light to guide the vehicle owner to park.
[0004] However, the monitoring equipment of the parking lot management system performs real-time monitoring, and the server needs to continuously process images to determine the parking space state, which occupies a large amount of computing resources and causes slow server computing efficiency. SUMMARY
[0005] Therefore, the present application provides a parking space state detection method, system, server and storage medium.
[0006] The present application provides the following technical solutions:
[0007] In a first aspect, the present application provides a parking space state detection method, which comprises:
[0008] receiving parking information sent by a vehicle terminal, wherein the parking information comprises the number of a first parking space and a first license plate number;
[0009] acquiring an image of the first parking space according to the number of the first parking space;
[0010] determining whether the first parking space is occupied by a vehicle with the first license plate number according to the image of the first parking space;
[0011] if the first parking space is determined to be occupied by the vehicle with the first license plate number according to the image of the first parking space, determining that the state of the first parking space is an occupied state.
[0012] Further, the determination of whether the first parking space is occupied by the vehicle with the first license plate number according to the image of the first parking space comprises:
[0013] identifying the image of the first parking space to determine whether there is a reference image;
[0014] when there is no reference image, identifying the license plate number according to the image of the first parking space to obtain a second license plate number;
[0015] determining whether the second license plate number is same as the first license plate number;
[0016] when the second license plate number is same as the first license plate number, determining that the first parking space is occupied by a vehicle with the first license plate number.
[0017] Further, the parking space state detection method further comprises:
[0018] receiving the information of driving out of the second parking space sent by the vehicle terminal, wherein the information of driving out of the parking space comprises the number of the second parking space and a third license plate number;
[0019] acquiring the image of the second parking space;
[0020] identifying the image of the second parking space and determining whether there is a reference image;
[0021] if there is a reference image, determining that the state of the second parking space is changed from the occupied state to the idle state.
[0022] Further, the parking space state detection method further comprises:
[0023] identifying the image of the first parking space and determining whether there is a reference image;
[0024] when there is no reference image, determining that the state of the first parking space is the occupied state.
[0025] In a second aspect, the present application further provides a parking space state detection system, which comprises:
[0026] a first information receiving module, configured to receive the information of parking into the first parking space sent by the vehicle terminal, wherein the information of parking into the first parking space comprises the number of the first parking space and a first license plate number;
[0027] a first image acquiring module, configured to acquire the image of the first parking space according to the number of the first parking space;
[0028] a first determining module, configured to determine whether the first parking space is occupied by a vehicle with the first license plate number according to the image of the first parking space;
[0029] a first determining module, configured to determine that the state of the first parking space is the occupied state if the first parking space is occupied by a vehicle with the first license plate number according to the image of the first parking space.
[0030] Further, the first determining module comprises:
[0031] an identifying and determining unit, configured to identify the image of the first parking space and determine whether there is a reference image.
[0032] The license plate recognition unit is configured to recognize a second license plate number from the image of the first parking space when there is no reference image.
[0033] The license plate judging unit is configured to judge whether the second license plate number is the same as the first license plate number.
[0034] The determining unit is configured to determine that the first parking space is occupied by a vehicle with the first license plate number when the second license plate number is the same as the first license plate number.
[0035] Further, the system further comprises:
[0036] The second information receiving module is configured to receive the information about leaving the second parking space sent by the vehicle terminal, wherein the information about leaving the parking space comprises the number of the second parking space and a third license plate number.
[0037] The second image obtaining module is configured to obtain an image of the second parking space.
[0038] The second judging module is configured to recognize the image of the second parking space and judge whether there is a reference image.
[0039] The second determining module is configured to determine that the state of the second parking space is changed from the occupied state to the idle state if there is a reference image.
[0040] Further, the system further comprises:
[0041] The third judging module is configured to recognize the image of the first parking space and judge whether there is a reference image.
[0042] The third determining module is configured to determine that the state of the first parking space is the occupied state when there is no reference image.
[0043] In a third aspect, the present application further provides a server, comprising a memory configured to store a computer executable program, and a processor configured to execute the executable program to realize the parking space state detection method as described above.
[0044] In a fourth aspect, the present application further provides a computer readable storage medium configured to store a computer executable program, wherein the computer executable program is executed by a processor to realize the parking space state detection method as described above.
[0045] The parking space state detection method, system, server and storage medium. The parking space state detection method comprises the following steps: receiving first parking space information sent by a vehicle terminal, wherein the first parking space information comprises a first parking space number and a first license plate number; acquiring an image of the first parking space according to the first parking space number; judging whether the first parking space is occupied by a vehicle with the first license plate number according to the image of the first parking space; and determining that the state of the first parking space is an occupied state if the first parking space is occupied by the vehicle with the first license plate number according to the image of the first parking space. The method does not need to continuously process pictures, thereby saving computing resources and improving the speed of parking space state recognition, and further improving the reliability of the parking lot management system and user satisfaction. BRIEF DESCRIPTION OF DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained without creative labor based on these drawings.
[0047] In the above embodiments or prior art, the following technical terms are used:
[0048] Figure 1 The step flowchart of the parking space state detection method provided by the embodiments of the present application is shown in the figure.
[0049] Figure 2 The sub-step flowchart of step S103 of the parking space state detection method provided by the embodiments of the present application is shown in the figure.
[0050] Figure 3 The second embodiment flowchart of the parking space state detection method provided by the embodiments of the present application is shown in the figure.
[0051] Figure 4 The third embodiment flowchart of the parking space state detection method provided by the embodiments of the present application is shown in the figure.
[0052] Figure 5 The first internal structure diagram of the parking space state detection system provided by the embodiments of the present application is shown in the figure.
[0053] Figure 6 The internal structure diagram of the first judging module provided by the embodiments of the present application is shown in the figure.
[0054] Figure 7 The second internal structure diagram of the parking space state detection system provided by the embodiments of the present application is shown in the figure.
[0055] Figure 8 The internal structure diagram of the server provided by the embodiments of the present application is shown in the figure. DETAILED DESCRIPTION
[0056] It should be understood that the specific embodiments described herein are merely exemplary and do not limit the application.
[0057] The technical solutions in the embodiments of the present application will be apparently and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all the other embodiments obtained by a person of ordinary skill in the art without any creative work, fall within the scope of protection of the present application.
[0058] It should be noted that the terms “include”, “contain” and “have” and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover the inclusion rather than the exclusion. For example, a process, method, terminal, product or device including a series of steps or units is not limited to the listed steps or units, but optionally further includes steps or units not listed, or optionally further includes other steps or units inherent to the process, method, product or device. In the claims, specification and drawings of the present application, the relationship terms such as “first” and “second” and the like are only used to distinguish one entity / operation / object from another entity / operation / object, and do not necessarily require or imply any actual relationship or sequence between the entities / operations / objects.
[0059] Reference herein to “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase that the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily mutually exclusive of other embodiments. It is explicitly contemplated that embodiments described herein can be combined with other embodiments.
[0060] Reference should be made to Figure 1 which is a schematic flow diagram of the steps of the parking space state detection method provided by the embodiments of the present application.
[0061] In step S101, the parking-in first parking space information sent by the vehicle-mounted terminal is received, wherein the parking-in first parking space information comprises the number of the first parking space and the first license plate number. Specifically, the vehicle-mounted terminal can be a smartphone of the vehicle owner, a vehicle-mounted computer, etc. For example, when the vehicle-mounted terminal is a vehicle-mounted computer, the intelligent connected vehicle is equipped with advanced vehicle-mounted sensors, controllers, actuators and other devices, and combines modern communication and network technologies to realize intelligent information exchange and sharing between the vehicle and people, roads, back-end systems, etc., and to achieve safe, comfortable, energy-saving and efficient driving. When the intelligent connected vehicle parks in a parking space, the vehicle-mounted computer can obtain the number of the parking space through the vehicle-mounted camera. The number of the parking space is pre-set on the parking space and can be a number or a two-dimensional code engraved on the parking space. The vehicle-mounted computer sends the parking-in first parking space information to the parking space state detection system through a wireless network. Alternatively, for example, when the vehicle-mounted terminal is a smartphone of the vehicle owner, the vehicle owner can use the smartphone to scan the two-dimensional code of the parking space to obtain the number of the parking space when the vehicle is parked in the parking space. The smartphone sends the parking-in first parking space information to the parking space state detection system to obtain the number of the parking space, which also helps the vehicle owner to quickly find the parking space.
[0062] In step S102, the image of the first parking space is obtained according to the number of the first parking space. Specifically, the parking space state detection system comprises a plurality of cameras, which are arranged above the front of the parking space. The parking situation can be monitored in real time.
[0063] In step S103, it is determined whether the first parking space is occupied by a vehicle with the first license plate number according to the image of the first parking space.
[0064] In step S104, if it is determined that the first parking space is occupied by a vehicle with the first license plate number according to the image of the first parking space, it is determined that the state of the first parking space is an occupied state.
[0065] Please refer to Figure 2 which is a sub-step flowchart of step S103 of the parking space state detection method provided by the embodiment of the present application.
[0066] In step S1031, the image of the first parking space is recognized to determine whether there is a reference image.
[0067] In step S1032, when there is no reference image, the license plate number is recognized according to the image of the first parking space to obtain a second license plate number.
[0068] In step S1033, it is determined whether the second license plate number is the same as the first license plate number.
[0069] In step S1034, when the second license plate number is the same as the first license plate number, it is determined that the first parking space is occupied by a vehicle with the first license plate number.
[0070] Please refer to Figure 3 FIG. 3 is a flow diagram of a second embodiment of a parking space state detection method provided by the present application.
[0071] In step S201, the information of driving out of the second parking space sent by the vehicle terminal is received, wherein the information of driving out of the parking space includes the number of the second parking space and the third license plate number.
[0072] In step S202, the image of the second parking space is acquired.
[0073] In step S203, the image of the second parking space is recognized to determine whether there is a reference image.
[0074] In step S204, if there is a reference image, it is determined that the state of the second parking space is changed from the occupied state to the idle state.
[0075] Please refer to Figure 4 FIG. 4 is a flow diagram of a third embodiment of a parking space state detection method provided by the present application.
[0076] In step 301, the image of the first parking space is recognized to determine whether there is a reference image.
[0077] In step 302, when there is no reference image, it is determined that the state of the first parking space is the occupied state.
[0078] Please refer to Figure 5 FIG. 1 is a first internal structure diagram of a parking space state detection system provided by an embodiment of the present application. The parking space state detection system 1 includes:
[0079] The first information receiving module 101 is configured to receive the information of parking into the first parking space sent by the vehicle terminal, wherein the information of parking into the first parking space includes the number of the first parking space and the first license plate number.
[0080] The first image acquiring module 102 is configured to acquire the image of the first parking space according to the number of the first parking space.
[0081] The first judging module 103 is configured to determine whether the first parking space is occupied by the vehicle with the first license plate number according to the image of the first parking space.
[0082] The first determining module 104 is configured to determine that the state of the first parking space is the occupied state if the first parking space is occupied by the vehicle with the first license plate number according to the image of the first parking space.
[0083] Please refer to Figure 6It is the internal structure diagram of the first judging module provided by the embodiment of the application. The first judging module 103 comprises:
[0084] The identification judging unit 1031 is configured to identify the image of the first parking space and determine whether the reference image exists.
[0085] The license plate recognizing unit 1032 is configured to identify the license plate number according to the image of the first parking space when the reference image does not exist, and obtain a second license plate number.
[0086] The license plate judging unit 1033 is configured to determine whether the second license plate number is the same as the first license plate number.
[0087] The determining unit 1034 is configured to determine that the first parking space is occupied by the vehicle with the first license plate number when the second license plate number is the same as the first license plate number.
[0088] Please refer to Figure 7 It is the second internal structure diagram of the parking space state detection system provided by the embodiment of the application. The parking space state detection system 1 comprises:
[0089] The second information receiving module 201 is configured to receive the driving-out second parking space information sent by the vehicle terminal, wherein the driving-out parking space information comprises the number of the second parking space and a third license plate number.
[0090] The second image obtaining module 202 is configured to obtain the image of the second parking space.
[0091] The second judging module 203 is configured to identify the image of the second parking space and determine whether the reference image exists.
[0092] The second determining module 204 is configured to determine that the state of the second parking space is changed from the occupied state to the idle state if the reference image exists.
[0093] Please refer to Figure 8 It is the internal structure diagram of the server provided by the embodiment of the application. The server comprises a memory 1002 and a processor 1001. The memory 1002 is configured to store a computer executable program, and the processor 1001 is configured to execute the executable program to implement the parking space state detection method provided by the above embodiment.
[0094] In some embodiments, the processor 1001 can be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip, configured to run the computer executable program stored in the memory 1002. Specifically, the processor 1001 executes the executable program to implement the above parking space state detection method.
[0095] The memory 1002 includes at least one type of readable storage medium, including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. The memory 1002 can be an internal storage unit of the server, such as a hard disk of the server, in some embodiments. The memory 1002 can also be an external server storage device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the server, in other embodiments. Further, the memory 1002 can include both the internal storage unit of the server and the external storage device. The memory 1002 can be used not only to store application software and various data installed on the server, but also to temporarily store data that has been output or will be output.
[0096] The server further includes a bus 1003. The bus 1003 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 In the server, only one thick line is used to represent the bus, but this does not mean that there is only one bus or only one type of bus.
[0097] Further, the server can further include a display component 1004. The display component 1004 can be an LED display, a liquid crystal display, a touch liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, etc. The display component 1004 can also be appropriately referred to as a display device or a display unit, and the information processed in the server and the user interface for display visualization.
[0098] Further, the server can further include a communication component 1005. The communication component 1005 can optionally include a wired communication component and / or a wireless communication component (such as a WI-FI communication component, a Bluetooth communication component, etc.), and a communication connection is usually established between the server and other computer devices.
[0099] Figure 8 Only some components and the implementation of the server are shown, and those skilled in the art can understand that, Figure 8The illustrated structure does not constitute a limitation on the server, and can include fewer or more components than shown, or combine certain components, or arrange the components differently.
[0100] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. The simulation computer device can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that the computer can store or be integrated into a server, data center, etc. data storage device containing one or more available media sets. The available media can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)), etc.
[0101] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
[0102] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the system embodiments described above are only schematic, for example, the division of the unit is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed each other can be indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0103] The unit described as a separate component can or can not be physically separated, and the component displayed as a unit can or can not be a physical unit, that is, it can be located in one place, or it can be distributed to a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiments of the present application.
[0104] In addition, each of the functional units in the embodiments of the present application can be integrated in one processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The integrated unit can be implemented in the form of hardware, or in the form of a software functional unit.
[0105] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on such an understanding, the technical solutions of the present application, essentially or in part, or all or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes several instructions for causing an emulation computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in the embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk, or an optical disk, and various other media that can store program codes.
[0106] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation based on the content of the specification and drawings, or direct or indirect application in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A method for detecting the status of a parking space, characterized in that, The parking space status detection method includes: Receive information from the vehicle terminal indicating that the vehicle has entered the first parking space, wherein the information includes the number of the first parking space and the first license plate number; Obtain the image of the first parking space based on its number; Determining whether the first parking space is occupied by a vehicle with the same license plate number based on the image of the first parking space involves: Identify the image of the first parking space and determine if a reference image exists; When there is no reference image, the status of the first parking space is determined to be occupied, or the license plate number is identified based on the image of the first parking space to obtain the second license plate number; Determine whether the second license plate number is the same as the first license plate number; when the second license plate number is the same as the first license plate number, determine that the first parking space is occupied by the vehicle with the first license plate number; If, based on the image of the first parking space, it is determined that the first parking space is occupied by a vehicle with the license plate number of the first license plate, then the status of the first parking space is determined to be occupied.
2. The parking space status detection method as described in claim 1, characterized in that, The parking space status detection method also includes: The vehicle receives information from the vehicle terminal indicating that it has exited the second parking space, wherein the exit parking space information includes the number of the second parking space and the third license plate number. Acquire an image of the second parking space; Identify the image of the second parking space and determine if a reference image exists; If a reference image exists, determine that the status of the second parking space is changed from occupied to vacant.
3. A parking space status detection system, characterized in that, The system includes: The first information receiving module is used to receive parking information of the first parking space sent by the vehicle terminal, wherein the parking information of the first parking space includes the number of the first parking space and the first license plate number. The first image acquisition module is used to acquire an image of the first parking space according to the number of the first parking space; The first judgment module is used to determine whether the first parking space is occupied by a vehicle with the license plate number of the first license plate based on the image of the first parking space; The first determining module is used to determine the state of the first parking space as occupied if it is determined from the image of the first parking space that the first parking space is occupied by a vehicle with the license plate number of the first license plate. The first judgment module includes: The identification and judgment unit is used to identify the image of the first parking space and determine whether a reference image exists. The license plate recognition unit is used to identify the license plate number based on the image of the first parking space when no reference image is available, and obtain the second license plate number. The license plate determination unit determines whether the second license plate number is the same as the first license plate number; the determination unit is used to determine that the first parking space is occupied by the vehicle with the first license plate number when the second license plate number is the same as the first license plate number. The system also includes: The third judgment module is used to identify the image of the first parking space and determine whether a reference image exists. The third determining module is used to determine that the first parking space is occupied when there is no reference image.
4. The parking space status detection system as described in claim 3, characterized in that, The system also includes: The second information receiving module is used to receive the exit information of the second parking space sent by the vehicle terminal, wherein the exit information includes the number of the second parking space and the third license plate number. The second image acquisition module is used to acquire images of the second parking space; The second judgment module is used to identify the image of the second parking space and determine whether a reference image exists. The second determining module is used to determine, if a reference image exists, the status of the second parking space to change from occupied to vacant.
5. A server, characterized in that, The server includes: a memory for storing a computer-executable program; and a processor for executing the executable program to implement the parking space status detection method as described in any one of claims 1 to 2.
6. A computer-readable storage medium, characterized in that, The storage medium is used to store a computer-executable program, which is executed by a processor to implement the parking space status detection method as described in any one of claims 1 to 2.
Citation Information
Patent Citations
Carport occupation monitoring and warning method
CN104112369A
Unattended operation on-street parking charge system and method based on camera and flashlight
CN109509265A
Parking space state detection method, device and equipment, and storage medium
CN112991807A
Parking space occupation state detection method, server and computer readable storage medium
CN112991811A