Vehicle identification method, device, equipment and storage medium
By acquiring and analyzing the image information of the vehicle and the information of the wireless communication module, and generating identification codes for vehicle identification, the problem of poor lighting or failure of identification in the prior art is solved, the accuracy and reliability of vehicle identification are improved, and the efficiency of parking lot management is promoted.
Patent Information
- Application Number
- CN202510294609.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2045-03-13
AI Technical Summary
The existing automated parking management system relies on license plate recognition technology, and the accuracy rate decreases when the lighting is poor or the license plate is blocked, resulting in the identification failure.
By obtaining the image information of the target vehicle, the module name of the wireless communication module, the name of the target access point and the location code of the parking position, it is determined whether the license plate number can be obtained. If it can be obtained, it will be marked based on the license plate number; if it cannot be obtained, it will be generated based on the module name, access point name and location code to identify.
In the case of poor lighting or the license plate being blocked, ensuring that each target vehicle can be accurately identified, improving the accuracy and reliability of vehicle identification, helping to achieve effective management of parking lots.
Smart Images

Figure CN119811131B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of vehicle identification, and particularly to a vehicle identification method, device, equipment, and storage medium. Background Art
[0002] Traditional parking management methods mostly rely on manual toll collection and vehicle monitoring, which are not only inefficient but also prone to human errors, affecting the operation efficiency of parking lots and the user experience. To solve these problems, automated parking management systems have gradually attracted attention.
[0003] Existing automated parking management systems mainly rely on license plate recognition technology. By collecting the license plate information of vehicles entering the parking lot through cameras and combining it with a database for vehicle identity confirmation and management. Although this method improves the automation level of parking management to a certain extent, the accuracy of license plate recognition decreases in case of poor lighting or blocked license plates, easily resulting in recognition failures. Summary of the Invention
[0004] This application provides a vehicle identification method, device, equipment, and storage medium to solve the problems raised in the above background art.
[0005] In a first aspect, this application provides a vehicle identification method, including:
[0006] Obtaining the image information of the target vehicle, the module name of the wireless communication module on the target vehicle, the target access point name, and the location code of the parking position of the target vehicle; wherein, the target access point name is the name of the wireless access point accessed during the period from when the target vehicle enters the parking lot to when it parks at the parking position, there are multiple wireless access points in the parking lot, and the target access point name includes at least one;
[0007] Judging whether the license plate number of the target vehicle can be obtained through the image information;
[0008] If so, identifying the target vehicle based on the license plate number;
[0009] If not, generating an identification code based on the module name, the target access point name, and the location code, and identifying the target vehicle based on the identification code.
[0010] In a possible implementation, the obtaining the image information of the target vehicle, the module name of the wireless communication module on the target vehicle, the target access point name, and the location code of the parking position of the target vehicle includes:
[0011] In response to the prompt information that the target vehicle enters the parking lot, obtain the module name of the wireless communication module on the target vehicle, and control a preset camera device to capture the target vehicle to obtain the image information; wherein, the image information includes a plurality of image frames, and the camera device includes at least one;
[0012] During the process of the target vehicle driving towards the parking position, when the wireless communication module accesses any one of the wireless access points, determine that the access point name of the wireless access point accessed by the wireless communication module is the target access point name;
[0013] When the target vehicle is parked at the parking position, obtain the position code of the parking position.
[0014] In a possible implementation manner, the image information includes a plurality of image frames, and the determination of whether the license plate number of the target vehicle can be obtained through the image information includes:
[0015] For each of the image frames, based on a preset license plate detection algorithm, detect whether there is a complete license plate area in the image frame;
[0016] If there is no complete license plate area in each of the image frames, determine that the license plate number of the target vehicle cannot be obtained through the image information;
[0017] If there is any one of the image frames with a complete license plate area, determine that the license plate number of the target vehicle can be obtained through the image information.
[0018] In a possible implementation manner, the target access point name is a single character, and the generation of the identification code based on the module name, the target access point name, and the position code includes:
[0019] Based on the sequence of the wireless communication module accessing the wireless access points corresponding to each of the target access point names, arrange each of the target access point names in sequence to obtain a target character sequence;
[0020] Add the target character sequence and the position code to the module name in sequence, and add a separator between the module name and the target character sequence, and add a separator between the target character sequence and the position code to obtain the identification code.
[0021] In a possible implementation manner, the identification of the target vehicle based on the identification code includes:
[0022] Perform encryption processing on the identification code based on the module name;
[0023] Store the encrypted identification code in the database of the wireless communication module.
[0024] In a possible implementation, the encrypting the identification code based on the module name includes:
[0025] Determine whether there are Chinese characters in the module name;
[0026] If there are Chinese characters in the module name, convert the Chinese characters in the module name into corresponding pinyin sequences to obtain a target module name;
[0027] Determine that the value corresponding to the number of the Chinese characters is a first target value, and determine that the value corresponding to the number of characters in the target module name is a second target value;
[0028] Based on the first target value, sequentially extract target characters in the target module name; wherein, the digital attribute of the value corresponding to the sequence of the target characters in the target module name is consistent with the digital attribute of the first target value;
[0029] Obtain a preset coding algorithm matrix; each position of the coding algorithm matrix is provided with a coding algorithm;
[0030] For each of the target characters, based on the value corresponding to the sequence of the target character in the target module name and the second target value, locate the target coding algorithm corresponding to the target character, and perform coding processing on the target character based on the target coding algorithm to obtain a coding sequence corresponding to the target character;
[0031] Construct a blank table; the value corresponding to the number of rows of the blank table is consistent with the value corresponding to the number of the coding sequences, and the value corresponding to the number of columns of the blank table is consistent with the value corresponding to the number of characters in the longest coding sequence;
[0032] Based on the sequence of each target character corresponding to the coding sequence in the target module name, arrange each coding sequence in the blank table sequentially from top to bottom to obtain an intermediate table;
[0033] Count the number of blank cells in the intermediate table, and determine that the units digit of the value corresponding to the number of blank cells in the intermediate table is the target digit;
[0034] Insert the target digit into the blank cells of the intermediate table to obtain a target table, and encrypt the identification code based on the target table.
[0035] In a possible implementation, the method for locating the target encoding algorithm corresponding to the target character based on the value corresponding to the sequence of the target character in the target module name and the second target value includes:
[0036] Determine that the value corresponding to the sequence of the target character in the target module name is the value corresponding to the row where the position of the target encoding algorithm in the encoding algorithm matrix is located, and determine that the sum of the value corresponding to the sequence of the target character in the target module name and the second target value is the value corresponding to the column where the position of the target encoding algorithm in the encoding algorithm matrix is located.
[0037] In a second aspect, the present application provides an identification device for a vehicle, including:
[0038] An acquisition module, configured to acquire image information of a target vehicle, the module name of a wireless communication module on the target vehicle, a target access point name, and a position code of the parking position of the target vehicle; wherein, the target access point name is the name of a wireless access point accessed during the period from when the target vehicle enters the parking lot to when it is parked at the parking position, there are multiple wireless access points in the parking lot, and the target access point name includes at least one;
[0039] A judgment module, configured to judge whether the license plate number of the target vehicle can be obtained through the image information;
[0040] A first identification module, configured to, when the license plate number of the target vehicle can be obtained through the image information, identify the target vehicle based on the license plate number;
[0041] A second identification module, configured to, when the license plate number of the target vehicle cannot be obtained through the image information, generate an identification code based on the module name, the target access point name, and the position code, and identify the target vehicle based on the identification code.
[0042] In a third aspect, the present application provides a terminal device, where the terminal device includes a processor, a memory, and a computer program stored on the memory and executable by the processor. When the computer program is executed by the processor, the vehicle identification method described in any one of the above is implemented.
[0043] In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the vehicle identification method described in any one of the above is implemented.
[0044] The present application provides a method, apparatus, device, and storage medium for vehicle identification. The method includes obtaining image information of a target vehicle, the module name of a wireless communication module on the target vehicle, the target access point name, and the location code of the parking location of the target vehicle. Among them, the target access point name is the name of the wireless access point accessed during the period from when the target vehicle enters the parking lot to when it parks at the parking location. There are multiple wireless access points in the parking lot, and the target access point name includes at least one. Determine whether the license plate number of the target vehicle can be obtained through the image information. If so, identify the target vehicle based on the license plate number. If not, generate an identification code based on the module name, the target access point name, and the location code, and identify the target vehicle based on the identification code. On the one hand, by combining the name of the wireless communication module on the target vehicle, when the license plate information cannot be obtained, a unique identification code is generated using the module name, access point name, and location code, thereby ensuring that each target vehicle can be accurately identified, significantly improving the accuracy and reliability of vehicle identification. On the other hand, through the accurate identification of vehicles, it helps to achieve the effective management of the parking lot. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0046] Figure 1 It is a schematic flowchart of the vehicle identification method provided by the embodiment of the present application;
[0047] Figure 2 It is a schematic block diagram of the structure of the vehicle identification device provided by the embodiment of the present application;
[0048] Figure 3 It is a schematic block diagram of the structure of the terminal device provided by the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0049] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, of the embodiments of the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts fall within the protection scope of the present invention.
[0050] The flowcharts shown in the accompanying drawings are only illustrative examples, not necessarily including all contents and operations / steps, nor necessarily executed in the described order. For example, some operations / steps can be decomposed, combined or partially merged, so the actual execution order may change according to the actual situation.
[0051] It should also be understood that the terms used in the specification of this application are only for the purpose of describing specific embodiments and are not intended to limit this application. As used in the specification of this application and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include the plural forms.
[0052] It should be further understood that the term "and / or" used in the specification of this application and the appended claims refers to any combination and all possible combinations of one or more of the related listed items, and includes these combinations.
[0053] The following will describe in detail some embodiments of this application with reference to the accompanying drawings. Without conflict, the following embodiments and the features in the embodiments can be combined with each other.
[0054] Please refer to Figure 1 , Figure 1 , which is a schematic flowchart of the vehicle identification method provided by the embodiment of this application. As Figure 1 shown, the vehicle identification method provided by the embodiment of this application includes steps S1 to S4.
[0055] Step S1: Obtain the image information of the target vehicle, the module name of the wireless communication module on the target vehicle, the target access point name, and the location code of the parking location of the target vehicle; wherein, the target access point name is the name of the wireless access point accessed during the period from when the target vehicle enters the parking lot to when it parks at the parking location, and there are multiple wireless access points in the parking lot, and the target access point name includes at least one.
[0056] Step S2: Determine whether the license plate number of the target vehicle can be obtained through the image information.
[0057] Step S3: If so, identify the target vehicle based on the license plate number.
[0058] Step S4: If not, generate an identification code based on the module name, the target access point name, and the location code, and identify the target vehicle based on the identification code.
[0059] It should be noted that the execution subject of the embodiment of this application can be a server or a vehicle identification device. The following will take the server as an example for description.
[0060] When the target vehicle enters the parking lot, it is necessary to identify the target vehicle to record the parking duration of the target vehicle in the parking lot, and then calculate the parking fee of the target vehicle in the parking lot. The existing method is to collect the license plate information of the target vehicle through a camera and identify the target vehicle through the license plate information. However, the accuracy of license plate recognition decreases in case of poor lighting or blocked license plate, which easily leads to recognition failure. In order to accurately identify the target vehicle in case of poor lighting or blocked license plate, the embodiments of the present application provide the method of steps S1 to S4 above.
[0061] In this embodiment, a plurality of wireless access points are evenly arranged in the parking lot. The wireless access points are used to communicate with the wireless communication module in the target vehicle. When the target vehicle drives into the parking lot, for any one of the wireless access points, when the target vehicle drives into the radiation range of the wireless access point, the wireless communication module on the target vehicle accesses the wireless access point. When the target vehicle leaves the wireless access point, the wireless communication module on the target vehicle disconnects from the wireless access point. There is a geomagnetic ring sensor in the area about to enter the parking lot. There is a geomagnetic ring sensor at the parking position
[0062] In this embodiment, step S1 specifically includes the following steps:
[0063] Respond to the prompt information that the target vehicle drives into the parking lot, obtain the module name of the wireless communication module on the target vehicle, and control a preset camera device to take a picture of the target vehicle to obtain the image information; wherein, the image information includes a plurality of image frames, and the camera device includes at least one; specifically, when the geomagnetic ring sensor in the area about to enter the parking lot detects that the target vehicle drives into the parking lot, it sends the information that the target vehicle drives into the parking lot to the server. After receiving the information that the target vehicle drives into the parking lot, the server obtains the module name of the wireless communication module on the target vehicle, and controls a preset camera device to take a picture of the target vehicle to obtain the image information;
[0064] During the process of the target vehicle driving towards the parking position, when the wireless communication module accesses any one of the wireless access points, determine that the access point name of the wireless access point accessed by the wireless communication module is the target access point name;
[0065] When the target vehicle is parked at the parking position, obtain the position code of the parking position; specifically, after the geomagnetic ring sensor at the parking position detects that the target vehicle is parked at the parking position, the server obtains the position code of the parking position.
[0066] In this embodiment, step S2 specifically includes the following steps:
[0067] For each of the image frames, detecting whether there is a complete license plate area in the image frame based on a preset license plate detection algorithm; wherein the license plate detection algorithm is a detection algorithm pre-designed based on an edge detection algorithm and a morphological transformation algorithm;
[0068] If no complete license plate area exists in each of the image frames, it is determined that the license plate number of the target vehicle cannot be obtained through the image information;
[0069] If any of the image frames has a complete license plate area, it is determined that the license plate number of the target vehicle can be obtained through the image information.
[0070] In this embodiment, step S3 specifically includes the following steps:
[0071] The license plate number is stored as the identification code of the target vehicle in the database of the wireless communication module and the database of the server, and the storage time information of the identification code is recorded.
[0072] In this embodiment, step S4 specifically includes the following steps:
[0073] Arranging the target access point names in sequence based on the order in which the wireless communication module accesses the wireless access points corresponding to the target access point names to obtain a target character sequence;
[0074] The target character sequence and the position code are sequentially added after the module name, and a separator is added between the module name and the target character sequence, and a separator is added between the target character sequence and the position code, to obtain the identification code;
[0075] The identification code is stored in the database of the wireless communication module and the database of the server, and the storage time information of the identification code is recorded.
[0076] It should be noted that, in this embodiment, when the target vehicle leaves the parking place, the identification code is obtained from the database of the wireless communication module, and the parking time of the target vehicle in the parking place is determined by the storage time information of the identification code and the time information when the target vehicle leaves the parking place.
[0077] The method provided in this embodiment, on the one hand, by combining the name of the wireless communication module on the target vehicle, when the license plate information cannot be obtained, a unique identification code is generated using the module name, access point name, and location code, thereby ensuring that each target vehicle can be accurately identified, significantly improving the accuracy and reliability of vehicle identification. On the other hand, through the accurate identification of vehicles, it helps to achieve the effective management of parking lots.
[0078] In one embodiment, the identifying the target vehicle based on the identification code includes the following steps:
[0079] Encrypt the identification code based on the module name;
[0080] Store the encrypted identification code in the database of the wireless communication module.
[0081] It should be noted that in this embodiment, the encrypted identification code also needs to be stored in the database of the server.
[0082] In this embodiment, the encrypting the identification code based on the module name includes the following steps:
[0083] Determine whether there are Chinese characters in the module name;
[0084] If there are Chinese characters in the module name, convert the Chinese characters in the module name into the corresponding pinyin sequence to obtain the target module name;
[0085] Determine that the value corresponding to the number of the Chinese characters is the first target value, and determine that the value corresponding to the number of characters in the target module name is the second target value;
[0086] Sequentially extract target characters from the target module name based on the first target value; wherein, the digital attribute of the sequence of the target characters in the target module name is consistent with the digital attribute of the first target value;
[0087] Obtain a preset coding algorithm matrix; each position of the coding algorithm matrix is provided with a coding algorithm;
[0088] For each of the target characters, based on the value corresponding to the sequence of the target character in the target module name and the second target value, locate the target encoding algorithm corresponding to the target character, and perform encoding processing on the target character based on the target encoding algorithm to obtain the encoding sequence corresponding to the target character; specifically, determine that the value corresponding to the sequence of the target character in the target module name is the value corresponding to the row corresponding to the position of the target encoding algorithm in the encoding algorithm matrix, and determine that the sum of the value corresponding to the sequence of the target character in the target module name and the second target value is the value corresponding to the column corresponding to the position of the target encoding algorithm in the encoding algorithm matrix;
[0089] Construct a blank table; the value corresponding to the number of rows of the blank table is the same as the value corresponding to the number of encoding sequences, and the value corresponding to the number of columns of the blank table is the same as the value corresponding to the number of characters in the longest encoding sequence;
[0090] Based on the sequence of the target characters corresponding to each of the encoding sequences in the target module name, arrange each of the encoding sequences in the blank table sequentially from top to bottom to obtain an intermediate table;
[0091] Count the number of blank cells in the intermediate table, and determine that the units digit of the value corresponding to the number of blank cells in the intermediate table is the target digit;
[0092] Insert the target digit into the blank cells of the intermediate table to obtain a target table, and perform encryption processing on the identification code based on the target table.
[0093] In this embodiment, after determining whether there are Chinese characters in the module name, the method further includes the following steps:
[0094] If there are no Chinese characters in the module name;
[0095] Determine that the value corresponding to the number of target access point names is the first target value, and determine that the value corresponding to the number of characters in the module name is the second target value;
[0096] Sequentially extract target characters from the module name based on the first target value; wherein, the digital attribute of the value corresponding to the sequence of the target character in the module name is the same as the digital attribute of the first target value;
[0097] Obtain a preset encoding algorithm matrix; each position of the encoding algorithm matrix is provided with an encoding algorithm;
[0098] For each of the target characters, based on the value corresponding to the sequence of the target character in the module name and the second target value, locate the target encoding algorithm corresponding to the target character, and perform encoding processing on the target character based on the target encoding algorithm to obtain the encoding sequence corresponding to the target character; specifically, determine that the value corresponding to the sequence of the target character in the module name is the value corresponding to the row corresponding to the position of the target encoding algorithm in the encoding algorithm matrix, and determine that the sum of the value corresponding to the sequence of the target character in the module name and the second target value is the value corresponding to the column corresponding to the position of the target encoding algorithm in the encoding algorithm matrix;
[0099] Construct a blank table; the value corresponding to the number of rows of the blank table is the same as the value corresponding to the number of encoding sequences, and the value corresponding to the number of columns of the blank table is the same as the value corresponding to the number of characters in the longest encoding sequence;
[0100] Based on the sequences of the target characters corresponding to the respective encoding sequences in the module name, arrange the respective encoding sequences in the blank table in sequence from top to bottom to obtain an intermediate table;
[0101] Count the number of blank cells in the intermediate table, and determine that the units digit of the value corresponding to the number of blank cells in the intermediate table is the target digit;
[0102] Insert the target digit into the blank cells of the intermediate table to obtain a target table, and perform encryption processing on the identification code based on the target table.
[0103] The method provided in this embodiment can prevent the identification code from being tampered with by unauthorized personnel, ensure the validity of the identification code, and thus improve the effectiveness of the automated management of the parking lot.
[0104] Please refer to Figure 2 , Figure 2 which is a schematic block diagram of the structure of the vehicle identification device 100 provided in an embodiment of the present application. As Figure 2 shown, the vehicle identification device 100 provided in an embodiment of the present application includes:
[0105] An acquisition module 110, configured to acquire image information of a target vehicle, a module name of a wireless communication module on the target vehicle, a target access point name, and a position code of the parking position of the target vehicle; wherein, the target access point name is the name of the wireless access point accessed during the period when the target vehicle drives into the parking lot and parks at the parking position, there are multiple wireless access points in the parking lot, and the target access point name includes at least one.
[0106] A determination module 120, configured to determine whether the license plate number of the target vehicle can be obtained through the image information.
[0107] A first identification module 130, configured to, when the license plate number of the target vehicle can be obtained through the image information, identify the target vehicle based on the license plate number.
[0108] A second identification module 140, configured to, when the license plate number of the target vehicle cannot be obtained through the image information, generate an identification code based on the module name, the target access point name, and the location code, and identify the target vehicle based on the identification code.
[0109] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described device and each module can refer to the processes in the embodiments of the vehicle identification method described above, and will not be elaborated here.
[0110] The vehicle identification device 100 provided in the above embodiment can be implemented in the form of a computer program, and the computer program can run on a terminal device 200 as shown in Figure 3 the following.
[0111] Please refer to Figure 3 , Figure 3 , which is a schematic block diagram of the structure of the terminal device 200 provided in the embodiment of the present application. The terminal device 200 includes a processor 201 and a memory 202. The processor 201 and the memory 202 are connected through a system bus 203. Among them, the memory 202 may include a non-volatile storage medium and an internal memory.
[0112] The non-volatile storage medium can store a computer program. The computer program includes program instructions. When the program instructions are executed by the processor 201, the processor 201 can be caused to execute any of the above vehicle identification methods.
[0113] The processor 201 is configured to provide computing and control capabilities to support the operation of the entire terminal device 200.
[0114] The internal memory provides an environment for the operation of the computer program in the non-volatile storage medium. When the computer program is executed by the processor 201, the processor 201 can be caused to execute any of the above vehicle identification methods.
[0115] Those skilled in the art can understand that Figure 3 the structure shown in is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the terminal device 200 involved in the solution of the present application. The specific terminal device 200 may include more or fewer components than those shown in the figure, or combine some components, or have different component arrangements.
[0116] It should be understood that the processor 201 can be a central processing unit (CPU), and the processor 201 can also be other general-purpose processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.
[0117] Among them, in some embodiments, the processor 201 is used to run a computer program stored in the memory to implement the following steps:
[0118] Obtain the image information of the target vehicle, the module name of the wireless communication module on the target vehicle, the target access point name, and the location code of the parking position of the target vehicle; wherein, the target access point name is the name of the wireless access point accessed during the period from when the target vehicle enters the parking lot to when it parks at the parking position, and there are multiple wireless access points in the parking lot, and the target access point name includes at least one;
[0119] Judge whether the license plate number of the target vehicle can be obtained through the image information;
[0120] If so, identify the target vehicle based on the license plate number;
[0121] If not, generate an identification code based on the module name, the target access point name, and the location code, and identify the target vehicle based on the identification code.
[0122] It should be noted that those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described terminal device 200 can refer to the corresponding process of the foregoing vehicle identification method, which will not be elaborated herein.
[0123] The embodiment of the present application further provides a computer-readable storage medium, and the computer-readable storage medium stores a computer program, and when the computer program is executed by one or more processors, the one or more processors are caused to implement the vehicle identification method provided by the embodiment of the present application.
[0124] Among them, the computer-readable storage medium may be an internal storage unit of the terminal device 200 in the foregoing embodiment, such as the hard disk or memory of the terminal device 200. The computer-readable storage medium may also be an external storage device of the terminal device 200, such as a plug-in hard disk equipped with the terminal device 200, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc.
[0125] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of various equivalent modifications or replacements, and these modifications or replacements should all be covered within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A vehicle identification method, characterized in that: include: Acquire image information of a target vehicle, a module name of a wireless communication module on the target vehicle, a target access point name, and a position code of a parking position of the target vehicle; wherein the target access point name is a name of a wireless access point accessed by the target vehicle during a period from when the target vehicle enters a parking space to when the target vehicle is parked at the parking position, and the parking space is provided with a plurality of wireless access points, and the target access point name includes at least one; Determining whether the license plate number of the target vehicle can be obtained through the image information; If so, identifying the target vehicle based on the license plate number; If not, generating an identification code based on the module name, the target access point name and the location code, and identifying the target vehicle based on the identification code; Wherein, the identifying the target vehicle based on the identification code includes: Determine whether the module name contains Chinese characters; If the module name contains Chinese characters, convert the Chinese characters in the module name into corresponding pinyin sequences to obtain the target module name; Determine the value corresponding to the number of Chinese characters as a first target value, and determine the value corresponding to the number of characters in the target module name as a second target value; Extract target characters in sequence in the target module name based on the first target value; wherein the numerical attribute of the numerical value corresponding to the sequence of the target characters in the target module name is consistent with the numerical attribute of the first target value; Obtaining a preset coding algorithm matrix; each position of the coding algorithm matrix is provided with a coding algorithm; For each of the target characters, locate the target encoding algorithm corresponding to the target character based on the numerical value corresponding to the sequence of the target character in the target module name and the second target numerical value, and encode the target character based on the target encoding algorithm to obtain the encoding sequence corresponding to the target character; Constructing a blank table; the value corresponding to the number of rows in the blank table is consistent with the value corresponding to the number of the coding sequences, and the value corresponding to the number of columns in the blank table is consistent with the value corresponding to the number of characters in the longest coding sequence; Arrange the encoding sequences in the blank table from top to bottom in order based on the sequence of the target characters corresponding to the encoding sequences in the target module name to obtain an intermediate table; Counting the number of blank cells in the intermediate table, and determining the unit digit of the value corresponding to the number of blank cells in the intermediate table as the target number; Inserting the target number into a blank cell of the intermediate table to obtain a target table, and encrypting the identification code based on the target table; The encrypted identification code is stored in the database of the wireless communication module.
2. The vehicle identification method according to claim 1, characterized in that: The step of acquiring the image information of the target vehicle, the module name of the wireless communication module on the target vehicle, the target access point name, and the position code of the parking position of the target vehicle includes: In response to the prompt information that the target vehicle enters the parking place, the module name of the wireless communication module on the target vehicle is obtained, and a preset camera device is controlled to shoot the target vehicle to obtain the image information; wherein the image information includes a plurality of image frames, and the camera device includes at least one; In the process of the target vehicle driving toward the parking position, when the wireless communication module accesses any of the wireless access points, determining the access point name of the wireless access point accessed by the wireless communication module as the target access point name; When the target vehicle is parked at the parking position, a position code of the parking position is acquired.
3. The vehicle identification method according to claim 1, characterized in that: The image information includes a plurality of image frames, and the determining whether the license plate number of the target vehicle can be obtained through the image information includes: For each of the image frames, detecting whether there is a complete license plate area in the image frame based on a preset license plate detection algorithm; If no complete license plate area exists in each of the image frames, it is determined that the license plate number of the target vehicle cannot be obtained through the image information; If any of the image frames has a complete license plate area, it is determined that the license plate number of the target vehicle can be obtained through the image information.
4. The vehicle identification method according to claim 1, characterized in that: The target access point name is a single character, and the generating of the identification code based on the module name, the target access point name and the location code includes: Arranging the target access point names in sequence based on the order in which the wireless communication module accesses the wireless access points corresponding to the target access point names to obtain a target character sequence; The target character sequence and the position code are sequentially added after the module name, and a separator is added between the module name and the target character sequence, and a separator is added between the target character sequence and the position code to obtain the identification code.
5. The vehicle identification method according to claim 1, characterized in that: The target encoding algorithm corresponding to the target character is located based on the numerical value corresponding to the sequence of the target character in the target module name and the second target numerical value, including: Determine that the numerical value corresponding to the sequence of the target characters in the target module name is the numerical value corresponding to the row corresponding to the position of the target encoding algorithm in the encoding algorithm matrix, and determine that the sum of the numerical value corresponding to the sequence of the target characters in the target module name and the second target numerical value is the numerical value corresponding to the column corresponding to the position of the target encoding algorithm in the encoding algorithm matrix.
6. A vehicle identification device, characterized in that: include: An acquisition module is used to acquire image information of a target vehicle, a module name of a wireless communication module on the target vehicle, a target access point name, and a position code of a parking position of the target vehicle; wherein the target access point name is a name of a wireless access point accessed by the target vehicle during a period from when the target vehicle enters a parking space to when the target vehicle is parked at the parking position, and the parking space is provided with a plurality of wireless access points, and the target access point name includes at least one; A judgment module, used to judge whether the license plate number of the target vehicle can be obtained through the image information; A first identification module, configured to identify the target vehicle based on the license plate number if the license plate number of the target vehicle can be obtained through the image information; a second identification module, configured to generate an identification code based on the module name, the target access point name and the location code if the license plate number of the target vehicle cannot be obtained through the image information, and to identify the target vehicle based on the identification code; Wherein, the identifying the target vehicle based on the identification code includes: Determine whether the module name contains Chinese characters; If the module name contains Chinese characters, convert the Chinese characters in the module name into corresponding pinyin sequences to obtain the target module name; Determine the value corresponding to the number of Chinese characters as a first target value, and determine the value corresponding to the number of characters in the target module name as a second target value; Extract target characters in sequence in the target module name based on the first target value; wherein the numerical attribute of the numerical value corresponding to the sequence of the target characters in the target module name is consistent with the numerical attribute of the first target value; Obtaining a preset coding algorithm matrix; each position of the coding algorithm matrix is provided with a coding algorithm; For each of the target characters, locate the target encoding algorithm corresponding to the target character based on the numerical value corresponding to the sequence of the target character in the target module name and the second target numerical value, and encode the target character based on the target encoding algorithm to obtain the encoding sequence corresponding to the target character; Constructing a blank table; the value corresponding to the number of rows in the blank table is consistent with the value corresponding to the number of the coding sequences, and the value corresponding to the number of columns in the blank table is consistent with the value corresponding to the number of characters in the longest coding sequence; Arrange the encoding sequences in the blank table from top to bottom in order based on the sequence of the target characters corresponding to the encoding sequences in the target module name to obtain an intermediate table; Counting the number of blank cells in the intermediate table, and determining the unit digit of the value corresponding to the number of blank cells in the intermediate table as the target number; Inserting the target number into a blank cell of the intermediate table to obtain a target table, and encrypting the identification code based on the target table; The encrypted identification code is stored in the database of the wireless communication module.
7. A terminal device, characterized in that: The terminal device includes a processor, a memory, and a computer program stored in the memory and executable by the processor, wherein when the computer program is executed by the processor, the vehicle identification method according to any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the vehicle identification method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Intelligent navigation system, intelligent terminal and intelligent navigation method for parking lot
CN111754801A
Underground parking lot system based on multifunctional ad hoc network
CN113963567A