Vehicle entry management method, device, computer equipment and storage medium
By using warehousing cameras and sensors in the parking lot to monitor and manage vehicles in real time, the problem of low vehicle management efficiency in the existing technology is solved, rapid positioning and automatic monitoring of vehicles are achieved, and management efficiency is improved.
Patent Information
- Application Number
- CN202210736878.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-27
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-06-27
AI Technical Summary
The existing intelligent vehicle management system cannot monitor and manage vehicle status in real time, resulting in low vehicle management efficiency, especially in large underground parking lots where parking chaos is serious.
By deploying warehousing cameras and sensors in the parking lot, vehicle image information and registration information are collected, parking spaces are allocated using preset rules, images and sensor information are compared in real time, and the vehicle management database is updated to confirm the vehicle warehousing status.
It achieves rapid positioning and automatic monitoring of vehicles, reduces the need for manual monitoring, avoids parking chaos, and improves vehicle management efficiency.
Smart Images

Figure CN115063746B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to a vehicle entry management method, device, computer equipment and storage medium. Background Art
[0002] With the increase of auto financing loans, there are more and more cases of loan collection. Customers who fail to repay on time need to have their vehicles seized. With the increase of seized vehicles, intelligent management of vehicles is becoming more and more important. At present, large parking lots, especially underground parking lots, have a few hundred parking spaces and up to thousands of parking spaces, and have multiple entrances and exits. The Internet of Things technology used in the intelligent vehicle management system launched in the existing market is mainly for reading and writing RFID electronic tags installed on internal vehicles, and using automobile communication ports, entrance and exit intelligent controllers, etc. for intelligent control. However, inside the parking lot, the staff cannot monitor and manage the vehicles in real time, nor can they get the status of the vehicles in time, resulting in chaotic vehicle management, resulting in low vehicle management efficiency. Summary of the invention
[0003] Based on this, it is necessary to provide a vehicle entry management method, device, computer equipment and storage medium to address the above technical issues, so as to solve the problem of low vehicle management efficiency.
[0004] In a first aspect, a vehicle entry management method is provided.
[0005] When receiving a parking entry request for a target vehicle, starting a parking entry camera in a target parking lot to capture an image of the target vehicle to obtain first image information, associating the first image information with registration information of the target vehicle obtained in advance to obtain associated data and uploading the associated data to a vehicle management database;
[0006] According to the associated data and the pre-established allocation rules, the target vehicle is allocated a corresponding target parking area, the positions of all unoccupied parking spaces in the target parking area are obtained, and the position of any unoccupied parking space is determined as the target position;
[0007] According to the target position, determine a corresponding target camera and a target sensor, start the target camera and the target sensor, and collect and obtain second image information and sensing information;
[0008] The first image information is compared with the second image information to obtain a comparison result, and when the comparison result satisfies a first preset condition and the sensing information satisfies a second preset condition, the state of the associated data in the vehicle management database is updated.
[0009] In a second aspect, a vehicle entry management device is provided.
[0010] The associated data module is used for, upon receiving a parking entry request for a target vehicle, starting a parking entry camera in a target parking lot to capture an image of the target vehicle, obtaining first image information, associating the first image information with registration information of the target vehicle obtained in advance, obtaining associated data, and uploading the associated data to a vehicle management database;
[0011] An allocation module is used to allocate a corresponding target parking area to the target vehicle according to a pre-established allocation rule, obtain the positions of all unoccupied parking spaces in the target parking area, and determine the position of any unoccupied parking space as a target position;
[0012] A collection module, used for determining a corresponding target camera and a target sensor according to the target position, starting the target camera and the target sensor, and collecting and obtaining second image information and sensing information;
[0013] An updating module is used to compare the first image information with the second image information to obtain a comparison result. When the comparison result satisfies a first preset condition and the sensing information satisfies a second preset condition, the status of the associated data in the vehicle management database is updated to a storage status.
[0014] In a third aspect, an embodiment of the present invention provides a computer device, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the vehicle entry management method as described in the first aspect when executing the computer program.
[0015] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the vehicle entry management method as described in the first aspect is implemented.
[0016] Compared with the prior art, the present invention has the following beneficial effects:
[0017] The present invention provides a vehicle entry management method. When an entry request for a target vehicle is received, an entry camera in a target parking lot is started to collect images of the target vehicle to obtain first image information, the first image information is associated with registration information of the target vehicle obtained in advance, associated data is obtained and the associated data is uploaded to a vehicle management database; according to the associated data and a pre-established allocation rule, a corresponding target parking area is allocated to the target vehicle, the positions of all unoccupied parking spaces in the target parking area are obtained, and the position of any unoccupied parking space is determined as a target position; according to the target position, a corresponding target camera and a target sensor are determined, the target camera and the target sensor are started, and second image information and sensing information are collected; the first image information is compared with the second image information to obtain a comparison result, and when the comparison result meets a first preset condition and the sensing information meets a second preset condition, the state of the associated data in the vehicle management database is updated to an entry state. The present invention allocates a corresponding parking area to a target vehicle through associated data of the target vehicle, so that the target vehicle can quickly find the target position, and simultaneously turns on a target camera and a target sensor at the target position, automatically monitoring whether the vehicle at the target position is the target vehicle, and can obtain the status of the target vehicle in time, thereby reducing manual monitoring of the vehicle, avoiding parking chaos, reducing the difficulty of vehicle management, and thus improving the efficiency of vehicle management. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0019] Figure 1 This is a schematic diagram of an application environment of a vehicle entry management method provided by an embodiment of the present invention;
[0020] Figure 2 It is a flow chart of a vehicle entry management method provided by an embodiment of the present invention;
[0021] Figure 3 It is a flow chart of a vehicle entry management method provided by an embodiment of the present invention;
[0022] Figure 4 It is a structural schematic diagram of a vehicle entry management device provided by an embodiment of the present invention;
[0023] Figure 5 It is a structural schematic diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0024] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0026] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0027] As used in the present specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]", depending on the context.
[0028] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0029] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0030] It should be understood that the order of execution of the steps in the following embodiments does not imply a precedence of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0031] In order to illustrate the technical solution of the present invention, specific embodiments are provided below for illustration.
[0032] A vehicle entry management method provided by an embodiment of the present invention can be applied in Figure 1 In the application environment, the client communicates with the server. The client includes but is not limited to a PDA, a desktop computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA) and other computer devices. The server can be implemented by an independent server or a server cluster composed of multiple servers.
[0033] See also Figure 2 , is a flow chart of a vehicle entry management method provided by an embodiment of the present invention. The vehicle entry management method can be applied to Figure 1 The server in the above-mentioned server connects to the corresponding client and provides vehicle entry management services for the client. Figure 2 As shown, the vehicle entry management method may include the following steps:
[0034] S201: When receiving a parking entry request for a target vehicle, start the parking entry camera in the target parking lot to capture an image of the target vehicle to obtain first image information, associate the first image information with the registration information of the target vehicle obtained in advance, obtain associated data, and upload the associated data to the vehicle management database.
[0035] In step S201, when the target vehicle needs to be put into storage, the target vehicle is analyzed, the target parking lot corresponding to the target vehicle is determined, and a storage request is sent to the target parking lot. When the target parking lot receives the storage request sent by the target vehicle, the corresponding storage camera is started to collect the first image information of the target vehicle, wherein the first image information includes the color information, license plate information and frame information of the target vehicle, and the registration information of the target vehicle includes the vehicle brand, vehicle model, frame number and other information. The first image information is associated with the registered information to obtain the vehicle brand, vehicle model, frame number and other associated information corresponding to the target vehicle, and the associated data is uploaded to the vehicle management database for management. The vehicle management database is used to store the associated data of all vehicles entering the target parking lot.
[0036] In this embodiment, the seized vehicles are managed for entry into the warehouse. The target vehicle is the seized vehicle to be entered into the warehouse. The target vehicle needs to be registered before entering the warehouse to obtain the vehicle brand, vehicle model, license plate number, frame number and engine number of the target vehicle. If the vehicle is seized in a different place, the level of departure, the location of the seizure, the seizure period and the source of the seizure are also required.
[0037] When the target vehicle sends an entry request to the target parking lot, the entry camera collects the first image information of the target vehicle. When collecting the first image information of the target vehicle, a total of 27 images of the target vehicle in three dimensions are taken, and the collected first image information is associated with the registered information to obtain the associated data of the target vehicle, and the associated data is uploaded to the vehicle management database.
[0038] It should be noted that when the entry camera collects the first image information of the target vehicle, the server controls the input camera to operate, and controls the entry camera to zoom in and focus. The control of the entry camera is an important function in the vehicle management system, which needs to be implemented with the help of serial port programming. The server sends the corresponding control instructions through the serial port, and the decoder parses the instructions to obtain the address of the operation object and the operation action to connect and disconnect the corresponding line through the relay, so that the corresponding motor can run or stop to achieve the purpose of control.
[0039] In this embodiment, the warehousing camera uses the CMOS camera OV7670, which is a CMOS image sensor produced by Omni Vision of the United States. It has the characteristics of small size and low operating voltage, and has all the functions of a single-chip VGA camera and an image processor. The VGA image of this product reaches up to 30 frames per second. The user can control the image quality, data format and transmission method of this product. When operating the camera control bus, image data of different resolutions can be output; and programming the camera control bus interface can complete image processing functions such as gamma curve, white balance, brightness, and chromaticity.
[0040] S202: According to the associated data and the pre-established allocation rules, a corresponding target parking area is allocated to the target vehicle, positions of all unoccupied parking spaces in the target parking area are obtained, and the position of any unoccupied parking space is determined as the target position.
[0041] In step S202, after the entry camera completes capturing the first image, the target vehicle is released to enter the target parking lot, and a target parking area is allocated to the target vehicle according to a pre-established allocation rule. The position of unoccupied parking spaces is obtained in the target area, and one of the unoccupied parking spaces is selected as the target position of the target vehicle.
[0042] In this embodiment, the seized vehicles are managed for entry into the warehouse. According to the associated data of the vehicles to be entered into the warehouse, the target parking lot is divided into different areas, and different allocation rules are set for each area. For example, according to the model information of the seized vehicles, the target parking lot is divided into different areas, and each area is used to park the seized vehicles of the corresponding models. It is also possible to divide the target parking lot into different areas according to the source of the vehicles, and each area is used to park the seized vehicles of the corresponding sources, such as mortgaged vehicles, illegal vehicles, etc., and multiple conditions can also be set for each area as allocation rules. The allocation rules established for different parking lots can be determined according to the specific circumstances. When the target vehicle meets the allocation rules of a certain area, the area is the target parking area corresponding to the target vehicle.
[0043] It should be noted that when dividing the target parking lot into areas, one area is selected from the different areas as a temporary parking area to receive unregistered vehicles, or as a spare parking area to receive the remaining vehicles in each area.
[0044] After the target vehicle is assigned to the target area, the remaining unoccupied parking spaces in the target area are detected. When the number of unoccupied parking spaces is greater than 0, one of the parking spaces is randomly selected as the target parking position. When the number of unoccupied parking spaces is equal to 0, the target vehicle is assigned to the temporary parking area.
[0045] Optionally, according to the associated data and a pre-established allocation rule, the target vehicle is allocated a corresponding target parking area, including:
[0046] Divide the target parking lot into different parking areas and set corresponding parking conditions for each parking area;
[0047] The associated data is matched with the parking condition corresponding to each parking area, and the parking area corresponding to the parking condition satisfied by the associated data is determined as the target parking area.
[0048] In this embodiment, when dividing the area according to the map of the target parking lot, different areas can be divided according to the lines connecting the fixed points in the parking spaces in the target parking lot, and multiple parking space vertices are converted into a search of a small number of key vertices according to the parking lot map, where the key points are the parking space vertices that must be passed in the path planning in the target parking lot. The target parking lot is divided into different areas according to the key vertices. Corresponding parking conditions are set for each area, where the parking conditions can be the type of vehicle, the model of the vehicle, the source of the vehicle, etc.
[0049] The associated data of the target vehicle is matched with the parking conditions in each area of the target parking lot. During the matching, the keyword associated with the parking conditions in each area of the target parking lot can be obtained from the associated data through the keyword matching method. The keywords are matched with the parking conditions in each area through the natural language algorithm. The target parking area is obtained according to the matching results.
[0050] It should be noted that when the associated data is matched with the parking conditions corresponding to each parking area by keywords, the keyword matching model is used for matching. First, the keyword matching model is trained. When training the keyword matching model, a word sample pair is obtained. The word sample pair includes a first word sample and a second word sample, and the word sample pair carries a sample pair label. The sample pair label is used to identify whether the first word sample and the second word sample are the same, that is, whether the two word samples are words corresponding to the same keyword. The sample pair label is 1, indicating that the two word samples are the same; the sample pair label is 0, indicating that the two word samples are different. Then, the first sample vector of the first word sample and the second sample vector of the second word sample are obtained through the fully connected layer of the keyword matching model; and the loss value of the keyword matching model is calculated according to the similarity between the first sample vector and the second sample vector, and the sample pair label; then, according to the loss value of the keyword matching model, the keyword model is trained until the training stop condition is reached, and the trained keyword matching model is obtained. The model can be a convolutional neural network, and the keyword matching model can include an input layer, multiple convolutional layers, multiple pooling layers, and a fully connected layer. A sample pair-based loss function is introduced, which enables the keyword matching model to have the ability to accurately extract word information.
[0051] S203: Determine a corresponding target camera and a target sensor according to the target position, start the target camera and the target sensor, and collect the second image information and sensing information.
[0052] In step S203, when the target vehicle enters the target parking lot, the target camera and the target sensor in the target parking lot are started according to the assigned target position, and the target camera shoots the target, and the target sensor is used to output a corresponding signal, wherein the target sensor is a sensor that can output a signal, such as a pressure sensor or an infrared sensor, etc. The target camera and the target sensor are started to collect the second image information and sensing information about the target vehicle. The second image information corresponds to the first image information, and also includes information of the photographed object, license plate information, frame information, etc.
[0053] In this embodiment, the cameras in the target parking lot are numbered, and the location information of each camera is obtained in the map of the target parking lot. The map information in the target parking lot can use the AutoNavi map positioning system to understand the latitude and longitude of the current location, location information, etc. AutoNavi map provides developers with a map application interface, which can be obtained by calling the application program interface when writing a program, and the relevant functions of AutoNavi map can be called in the system to provide basic location information for each camera. Applying the functions provided by AutoNavi map to the system will reduce a lot of development work.
[0054] A camera database is established, which includes camera model information, location information, shooting range and other information. According to the target position of the target vehicle in the target parking lot, the target camera corresponding to the target position is obtained from the established camera database, the target camera is turned on, and the second image information of the target vehicle is collected.
[0055] Sensors are arranged in the target parking lot. The sensors can be any sensors that output signals. When receiving the corresponding sensing information, they are transmitted through the wireless network and remotely controlled. The corresponding sensors serve as the terminal nodes that generate the sensing signals, and the terminal node location information is obtained through the high-level map. According to the target position of the target vehicle in the target parking lot, the target sensor is turned on.
[0056] The sensor in this embodiment is an ultrasonic sensor HC-SR04. The HC-SR04 ultrasonic sensor of the terminal node collects the parking space information of the target position and uploads it to the router node through the ZigBee wireless network. The routing node is responsible for receiving, summarizing, storing and forwarding the information as the relay station of the information, and transmits the packaged parking space information to the coordinator node. The coordinator uses the TCP / IP (Transmission Control Protocol / Internet Protocol) protocol to establish a remote connection with the server waiting for connection through the GPRS (General packet radio service) network. Because the propagation of ultrasonic waves has good directionality, and the energy of ultrasonic waves is slowly weakened during the propagation process, it is increasingly used in the detection of parking space usage. Ultrasonic detection of parking space usage is mainly based on the time difference formed by ultrasonic emission and reception to determine whether there is a car in the parking space. The ultrasonic detector placed in front of or above the parking space transmits and receives ultrasonic waves. After receiving the reflected wave of the ultrasonic wave, the detector calculates the time difference to determine whether there is a car in the parking space.
[0057] Optionally, according to the target position, determining a corresponding target camera and a target sensor, starting the target camera and the target sensor, and acquiring the second image information and sensing information includes:
[0058] When the target camera is started, real-time sequence images are obtained through the target camera;
[0059] Obtaining second image information from the sequence of images according to the difference between adjacent images in the sequence of images and a preset difference threshold;
[0060] When continuous signals transmitted by the target sensor are received, sensing information is collected.
[0061] In this embodiment, when the target camera is turned on, the target camera will obtain real-time sequence images. Since the target vehicle will not reach the target position in time after entering the target parking lot, the target camera will obtain some invalid images before collecting the second image information. The invalid images are extracted from the sequence images to obtain the corresponding second image information.
[0062] Whether to start collecting the second image information is determined based on the difference between adjacent images in the obtained series of images. When the difference between the sequence images is less than the preset difference threshold, it is considered that the vehicle at the target position has completed parking, and the corresponding second image information is collected. The difference between adjacent images can be determined by the size of the optical flow between adjacent images. When the vehicle at the target position has completed parking, the optical flow value between adjacent images obtained by the target camera is small, and an optical flow threshold can be set. When the optical flow values between consecutive adjacent images are all less than the corresponding optical flow threshold, the second image information is collected.
[0063] It should be noted that the difference between adjacent images can also be determined by the difference in pixel grayscale images. According to the grayscale values between adjacent images, the pixel value difference of the corresponding grid positions in the adjacent images is calculated, and the corresponding pixel threshold is set. When the pixel values between consecutive adjacent images are all less than the pixel threshold, the second image information is collected.
[0064] In the target sensor, when the sensing signal received from the target sensor output is a continuous signal, the corresponding sensing information is collected. After the target sensor sends the sensing signal, when it encounters a vehicle, it returns a signal. The target sensor receives the returned signal. When receiving the sent signal, it detects vehicle information. The target sensor outputs the corresponding signal to the remote end. When the output is a stable signal, the sensing information is collected.
[0065] S204: Compare the first image information with the second image information to obtain a comparison result, and when the comparison result satisfies a first preset condition and the sensing information satisfies a second preset condition, update the state of the associated data in the vehicle management database.
[0066] In step S204, the images in the first image information and the second image information are compared through image recognition technology. When the comparison result meets the first preset condition and the sensing information meets the second preset condition, the vehicle at the target position is considered to be the target vehicle. When the target vehicle completes parking at the target position, the storage status of the target vehicle is updated, and the target position is marked as existing vehicle information, and the storage status of the target vehicle corresponding to the associated data in the vehicle management database is updated.
[0067] In this embodiment, the first image information is compared with the second image information. When the comparison result meets the first preset condition, it is determined whether the sensing information meets the second preset condition. When the second preset condition is met, the status of the associated data is updated in the vehicle management database. When updating, different statuses can be represented by different identifiers. When the identifier is 0, it indicates that the target vehicle has not completed the storage. When the identifier is 1, it indicates that the target vehicle has completed the storage.
[0068] Optionally, the first image information and the second image information are compared to obtain a comparison result, and when the comparison result satisfies a first preset condition and the sensing information satisfies a second preset condition, the state of the associated data in the vehicle management database is updated to a storage state, including:
[0069] Respectively extracting first license plate information from the first image information and second license plate information from the second image information, comparing the first license plate information with the second license plate information, and obtaining a first comparison difference value;
[0070] When the first comparison difference value is less than the first threshold, comparing the RGB information in the first image information and the second image information to obtain a second comparison difference value;
[0071] When the second comparison difference value is less than the second threshold, comparing the difference value of the area ratio of the connected regions in the first image information and the second image information to obtain a third comparison difference value;
[0072] When the third comparison difference value is less than the third threshold value, and the sensing information satisfies the second preset condition, the state of the associated data in the vehicle management database is updated to the storage state.
[0073] In this embodiment, when the second image information is collected, it is determined whether the vehicle at the target position is the target vehicle by comparing the first image information with the second image information in the vehicle management database. It is determined whether the comparison result meets the first preset condition. The first preset condition in this embodiment includes a first threshold, a second threshold, and a third threshold.
[0074] First, compare the license plate information in the first image information with the second image information, locate the license plate in the first image information and the second image information, use the color attribute of the license plate to locate the license plate, take the blue license plate as the object, analyze the location of the blue license plate in the LAB color space, the B channel in the LAB color space represents the change from blue to yellow, so the image is mapped from RGB mode to LAB mode, and the characteristics of the B channel are used to find the range of the license plate. After obtaining the position of the license plate, extract the region of interest, process the region of interest, extract the characters in the region of interest, and finally recognize the characters, obtain the first license plate information and the second license plate information, compare the first license plate information and the second license plate information, and obtain the first comparison result.
[0075] When the first comparison result is less than the set first threshold, the RGB information in the first image information and the second image information are compared, and the color information in the three RGB channels is compared respectively. When the comparison is performed, the corresponding grid pixel values in each channel can be compared to obtain a second comparison result, and determine whether the second comparison result is less than the set second threshold. The GB value in each grid can also be normalized to obtain three normalized data in each grid, and the three normalized data are added to obtain the sum data of each grid data, and the difference between the sum values of each grid data is compared to obtain a second comparison result, and determine whether the second comparison result is less than the set second threshold.
[0076] When the second comparison result is less than the second threshold, further compare whether the sizes of the vehicle outlines in the first image information and the second image information are the same, determine whether the sizes of the vehicle outlines are the same by the area ratio of the connected areas in the first graphic information and the second image information, extract the area of the connected areas in the first image information and the second image information, calculate the difference in the area ratio of the connected areas, and obtain the third comparison result.
[0077] When the third comparison result is less than the third threshold, the sensing information is judged, and a second preset condition is set to determine whether the sensing information meets the second preset condition. The second preset condition is a fourth threshold interval. When the signal strength of the sensing information is within the threshold interval, it is considered that the sensing information meets the second preset condition.
[0078] Update the target vehicle status of the associated data in the vehicle management database to complete the storage.
[0079] Optionally, after the vehicle is put into storage, it also includes:
[0080] The timer is started to time the target vehicle, and when the difference between the entry time of the target vehicle and the preset parking time is greater than a fifth threshold, an early warning message is sent.
[0081] In this embodiment, the target vehicle is monitored in real time. When the target vehicle completes parking at the target location, the target camera and the target sensor continue to collect the second image information and sensing information to obtain the real-time information of the target vehicle, and start the timer to perform timing processing on the target vehicle to obtain the parking time of the target vehicle in the target parking lot. A fifth threshold is set. When the difference between the parking time of the target vehicle and the preset parking time is greater than the fifth threshold, the corresponding terminal sends an early warning message.
[0082] It should be noted that after the warning information is sent, if the warning information is not lifted, a time period threshold is set, and the warning information is sent once every time period threshold.
[0083] The present invention provides a vehicle entry management method. When an entry request for a target vehicle is received, an entry camera in a target parking lot is started to collect images of the target vehicle to obtain first image information, the first image information is associated with registration information of the target vehicle obtained in advance, associated data is obtained and the associated data is uploaded to a vehicle management database; according to the associated data and a pre-established allocation rule, a corresponding target parking area is allocated to the target vehicle, the positions of all unoccupied parking spaces in the target parking area are obtained, and the position of any unoccupied parking space is determined as a target position; according to the target position, a corresponding target camera and a target sensor are determined, the target camera and the target sensor are started, and second image information and sensing information are collected; the first image information is compared with the second image information to obtain a comparison result, and when the comparison result meets a first preset condition and the sensing information meets a second preset condition, the state of the associated data in the vehicle management database is updated to an entry state. The present invention allocates a corresponding parking area to a target vehicle through associated data of the target vehicle, so that the target vehicle can quickly find the target position, and simultaneously turns on a target camera and a target sensor at the target position, automatically monitoring whether the vehicle at the target position is the target vehicle, and can obtain the status of the target vehicle in time, thereby reducing manual monitoring of the vehicle, avoiding parking chaos, reducing the difficulty of vehicle management, and thus improving the efficiency of vehicle management.
[0084] See also Figure 3 , is a flow chart of a vehicle entry management method provided by an embodiment of the present invention. As shown in the figure, the vehicle entry management method may include the following steps:
[0085] S301: When receiving a parking entry request for a target vehicle, start the parking entry camera in the target parking lot to capture an image of the target vehicle to obtain first image information, associate the first image information with the registration information of the target vehicle obtained in advance, obtain associated data, and upload the associated data to the vehicle management database.
[0086] Among them, the content of the above-mentioned step S301 is the same as that of the above-mentioned step S201, and the description of the above-mentioned step S201 can be referred to, and will not be repeated here.
[0087] S302: extracting the location information of the target vehicle and the source information of the target vehicle in the storage entry request;
[0088] S303: determining a target parking lot from a pre-built parking lot database based on the location information of the target vehicle and the source information of the target vehicle;
[0089] S304: When the target parking lot detects the target vehicle, determining the parking entry position of the target parking lot corresponding to the target vehicle;
[0090] S305: Determine the corresponding storage camera according to the storage location.
[0091] In this embodiment, when the target vehicle needs to be managed in the warehouse, the warehouse management personnel upload the source information and location information of the target vehicle. The vehicle management database allocates the target parking lot to the target vehicle based on the location information and source information of the target vehicle. Among them, the location information of the target vehicle can be obtained through the positioning system to obtain the real-time location information of the target vehicle and the source information of the target vehicle, including pledged vehicles, confiscated vehicles, illegal vehicles, etc.
[0092] The pre-established parking lot database includes the locations of all managed parking lots, the sizes of parking lots, the management types of parking lots, etc. The parking lot that best matches the target vehicle and is closest is selected from the pre-established parking lot database to obtain the target parking lot.
[0093] When the target vehicle arrives at the target parking lot area, according to the pressure sensor installed in the target parking lot, when a vehicle passes by the pressure sensor, the pressure sensor generates a corresponding signal, and the target parking lot detects the target vehicle that is about to enter the parking lot. When the target parking lot detects the target vehicle, the parking entry camera at the corresponding position is activated.
[0094] S306: allocating a corresponding target parking area to the target vehicle according to the associated data and the pre-established allocation rule, obtaining the positions of all unoccupied parking spaces in the target parking area, and determining the position of any unoccupied parking space as the target position;
[0095] S307: determining a corresponding target camera and a target sensor according to the target position, starting the target camera and the target sensor, and acquiring second image information and sensing information;
[0096] S308: Compare the first image information with the second image information to obtain a comparison result, and when the comparison result satisfies a first preset condition and the sensing information satisfies a second preset condition, update the state of the associated data in the vehicle management database.
[0097] Among them, the above steps S306 to S308 are the same as the above steps S202 to S204, and the description of the above steps S202 to S204 may be referred to, and will not be repeated here.
[0098] The present invention automatically allocates corresponding target parking lots to target vehicles to be parked, provides the most suitable target parking lots for target vehicles, improves the orderliness of vehicle management, reduces manual operations, and improves the efficiency of vehicle management.
[0099] See also Figure 4 , Figure 4 Schematic diagram of the structure of a vehicle entry management device provided by an embodiment of the present invention. In this embodiment, the mobile terminal includes various units for executing Figures 2 to 3 For details, please refer to the steps in the corresponding embodiment. Figures 2 to 3 as well as Figures 2 to 3 For the convenience of explanation, only the parts related to this embodiment are shown. Figure 4 The vehicle entry management device 40 includes: an associated data module 41, an allocation module 42, a sending module 43, and an updating module 44, wherein:
[0100] The associated data module 41 is used for, when receiving a parking entry request for a target vehicle, starting the parking entry camera in the target parking lot to collect an image of the target vehicle, obtaining first image information, associating the first image information with the registration information of the target vehicle obtained in advance, obtaining associated data, and uploading the associated data to the vehicle management database;
[0101] An allocation module 42 is used to allocate a corresponding target parking area to a target vehicle according to a pre-established allocation rule, obtain the positions of all unoccupied parking spaces in the target parking area, and determine the position of any unoccupied parking space as a target position;
[0102] The acquisition module 43 is used to determine the corresponding target camera and target sensor according to the target position, start the target camera and target sensor, and acquire the second image information and sensing information;
[0103] The updating module 44 is used to compare the first image information with the second image information to obtain a comparison result, and when the comparison result meets the first preset condition and the sensing information meets the second preset condition, update the state of the associated data in the vehicle management database.
[0104] Optionally, the above-mentioned associated data module 41 includes:
[0105] A setting unit, used to divide the target parking lot into different parking areas and set a corresponding name for each parking area;
[0106] The matching unit is used to perform keyword matching between the associated data and the name corresponding to each parking area, and determine that the parking area corresponding to the parking condition satisfied by the associated data is the target parking area.
[0107] Optionally, the acquisition module 43 includes:
[0108] A starting unit, used for obtaining real-time sequence images through the target camera when the target camera is started;
[0109] A second image information obtaining unit is used to obtain second image information from the sequence of images according to the difference between adjacent images in the sequence of images and a preset difference threshold;
[0110] The sensing information acquisition unit is used to acquire sensing information when receiving a continuous signal transmitted by a target sensor.
[0111] Optionally, the updating module 44 includes:
[0112] A first comparison difference value unit is used to extract the first license plate information in the first image information and the second license plate information in the second image information, respectively, and compare the first license plate information with the second license plate information to obtain a first comparison difference value;
[0113] A second comparison difference value unit, configured to compare the RGB information in the first image information and the second image information to obtain a second comparison difference value when the first comparison difference value is less than the first threshold;
[0114] A third comparison difference value unit is used to compare the difference value of the area ratio of the connected regions in the first image information and the second image information to obtain a third comparison difference value when the second comparison difference value is less than the second threshold value;
[0115] The second preset condition unit is used to update the state of the associated data in the vehicle management database to the storage state when the third comparison difference value is less than the third threshold value and the sensing information meets the second preset condition.
[0116] Optionally, the vehicle entry management device 40 further includes:
[0117] An extraction module, used to extract the location information of the target vehicle and the source information of the target vehicle in the storage request;
[0118] The determination module is used to determine the target parking lot from a pre-built parking lot database based on the location information of the target vehicle and the source information of the target vehicle.
[0119] A module for determining a parking position, for determining a parking position of a target parking lot corresponding to the target vehicle when the target parking lot detects the target vehicle;
[0120] The module for determining the incoming camera is used to determine the corresponding incoming camera according to the incoming location.
[0121] It should be noted that the information interaction, execution process and other contents between the above-mentioned units are based on the same concept as the embodiment of the method of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0122] Figure 5 Schematic diagram of the structure of a computer device provided by an embodiment of the present invention. Figure 5 As shown, the computer device of this embodiment includes: at least one processor ( Figure 5 Only one is shown), a memory, and a computer program stored in the memory and executable on at least one processor, and when the processor executes the computer program, the steps in any of the above-mentioned vehicle entry management method embodiments are implemented.
[0123] The computer device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that Figure 5 This is merely an example of a computer device and does not constitute a limitation on the computer device. The computer device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. For example, it may also include a network interface, a display screen, and an input device.
[0124] The processor may be a CPU, or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0125] The memory includes a readable storage medium, an internal memory, etc., wherein the internal memory may be the memory of a computer device, and the internal memory provides an environment for the operation of an operating system and computer-readable instructions in the readable storage medium. The readable storage medium may be a hard disk of a computer device, and in other embodiments may also be an external storage device of a computer device, for example, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on a computer device. Further, the memory may also include both an internal storage unit of a computer device and an external storage device. The memory is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as program codes of computer programs, etc. The memory may also be used to temporarily store data that has been output or is to be output.
[0126] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the above-mentioned method embodiment, which will not be repeated here. If 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 understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiment can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying computer program code, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0127] The present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by a computer program product. When the computer program product runs on a computer device, the computer device can implement the steps in the above-mentioned method embodiment when executing.
[0128] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0129] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0130] In the embodiments provided by the present invention, it should be understood that the disclosed devices / computer equipment and methods can be implemented in other ways. For example, the device / computer equipment embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0131] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0132] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A vehicle entry management method, characterized in that: include: When receiving a parking entry request for a target vehicle, starting a parking entry camera in a target parking lot to capture an image of the target vehicle to obtain first image information, associating the first image information with registration information of the target vehicle obtained in advance to obtain associated data and uploading the associated data to a vehicle management database; According to the associated data and the pre-established allocation rules, the target vehicle is allocated a corresponding target parking area, the positions of all unoccupied parking spaces in the target parking area are obtained, and the position of any unoccupied parking space is determined as the target position; According to the target position, determine a corresponding target camera and a target sensor, start the target camera and the target sensor, and collect and obtain second image information and sensing information; Comparing the first image information with the second image information to obtain a comparison result, and when the comparison result satisfies a first preset condition and the sensing information satisfies a second preset condition, updating the state of the associated data in the vehicle management database; The step of allocating a corresponding target parking area to the target vehicle according to the associated data and a pre-established allocation rule includes: Divide the target parking lot into different parking areas, and set corresponding parking conditions for each parking area; the parking conditions are the type of the vehicle, the model of the vehicle, and the source of the vehicle; Keywords associated with the parking conditions of each area in the target parking lot are obtained from the associated data, and the keywords are matched with the parking conditions in each area through a natural language algorithm. According to the matching results, the target parking area is obtained.
2. The method according to claim 1, characterized in that Before starting the parking camera in the target parking lot to collect images of the target vehicle, the method further includes: Extracting the location information of the target vehicle and the source information of the target vehicle in the storage entry request; Based on the location information of the target vehicle and the source information of the target vehicle, a target parking lot is determined from a pre-constructed parking lot database.
3. The method according to claim 1, characterized in that Before starting the parking camera in the target parking lot to collect images of the target vehicle, the method further includes: When the target parking lot detects the target vehicle, determining the entry position of the target parking lot corresponding to the target vehicle; A corresponding storage camera is determined according to the storage location.
4. The method according to claim 1, characterized in that The step of determining a corresponding target camera and a target sensor according to the target position, starting the target camera and the target sensor, and acquiring second image information and sensing information includes: When the target camera is started, a real-time sequence image is obtained through the target camera; Obtaining second image information from the sequence of images according to a difference between adjacent images in the sequence of images and a preset difference threshold; When the continuous signal output by the target sensor is received, the sensing information is collected.
5. The method according to claim 1, characterized in that The comparing the first image information with the second image information to obtain a comparison result, and when the comparison result satisfies a first preset condition and the sensing information satisfies a second preset condition, updating the state of the associated data in the vehicle management database to a storage state, includes: Respectively extracting first license plate information from the first image information and second license plate information from the second image information, comparing the first license plate information with the second license plate information, and obtaining a first comparison difference value; When the first comparison difference value is less than a first threshold, comparing the RGB information in the first image information and the second image information to obtain a second comparison difference value; When the second comparison difference value is less than a second threshold, comparing the difference value of the connected region area in the first image information and the second image information to obtain a third comparison difference value; When the third comparison difference value is less than a third threshold value, and the sensing information satisfies a second preset condition, the state of the associated data in the vehicle management database is updated to a storage state.
6. The method according to any one of claims 1 to 5, characterized in that The first image information is compared with the second image information to obtain a comparison result, and when the comparison result satisfies a first preset condition and the sensing information satisfies a second preset condition, after the state of the associated data in the vehicle management database is updated to a storage state, the method further includes: A timer is started to time the target vehicle, and when the difference between the storage time of the target vehicle and the preset parking time is greater than a fifth threshold, an early warning message is sent.
7. A vehicle entry management device, characterized in that: The device comprises: The associated data module is used for, upon receiving a parking entry request for a target vehicle, starting a parking entry camera in a target parking lot to capture an image of the target vehicle, obtaining first image information, associating the first image information with registration information of the target vehicle obtained in advance, obtaining associated data, and uploading the associated data to a vehicle management database; An allocation module is used to allocate a corresponding target parking area to the target vehicle according to a pre-established allocation rule, obtain the positions of all unoccupied parking spaces in the target parking area, and determine the position of any unoccupied parking space as a target position; A collection module, used for determining a corresponding target camera and a target sensor according to the target position, starting the target camera and the target sensor, and collecting and obtaining second image information and sensing information; An updating module, configured to compare the first image information with the second image information to obtain a comparison result, and when the comparison result satisfies a first preset condition and the sensing information satisfies a second preset condition, update the state of the associated data in the vehicle management database; The step of allocating a corresponding target parking area to the target vehicle according to the associated data and a pre-established allocation rule includes: Divide the target parking lot into different parking areas, and set corresponding parking conditions for each parking area; the parking conditions are the type of the vehicle, the model of the vehicle, and the source of the vehicle; Keywords associated with the parking conditions of each area in the target parking lot are obtained from the associated data, and the keywords are matched with the parking conditions in each area through a natural language algorithm. According to the matching results, the target parking area is obtained.
8. A terminal device, characterized in that: The terminal device includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the vehicle entry management method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the vehicle entry management method according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Parking information processing method and device thereof, computer device and readable storage medium
CN107610516A
Parking space reservation method and system, mobile terminal and storage medium
CN110880249A
Garage management system and vehicle in-out management method
CN111613089A
Vehicle parking state detection method, device and equipment
CN112908017A
