Vehicle access control method and device based on identification resolution

By generating and parsing vehicle and driver identification codes, the problem of not being able to identify whether the person inside the vehicle is a resident in the existing technology has been solved, enabling precise control of vehicle entry and exit in the community and improving the security of security management.

CN114529430BActive Publication Date: 2025-10-28浪潮工业互联网股份有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210071903.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-21
Publication Date
2025-10-28
Estimated Expiration
2042-01-21

AI Technical Summary

Technical Problem

Current technology can only identify license plate numbers and cannot guarantee whether the person inside the vehicle is a resident, resulting in a loophole in the community's security management.

Method used

By generating identification codes for vehicles and drivers and storing them on the blockchain, the binding relationship between vehicles and drivers can be determined by parsing the identification codes, thereby enabling precise control over vehicles entering and leaving the community.

Benefits of technology

It improves the accuracy of vehicle recognition, reduces the probability of dangerous accidents in the community, and enhances security capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114529430B_ABST
    Figure CN114529430B_ABST
Patent Text Reader

Abstract

This application discloses a vehicle access control method and device based on identifier resolution. Based on vehicle information within a residential area, a first identifier code is generated corresponding to one or more driver information entries for each vehicle. Based on driver information within the residential area, a second identifier code is generated corresponding to one or more vehicle information entries for each driver. A vehicle analysis model is constructed based on the first identifier code, and a personnel analysis model is constructed based on the second identifier code. A current vehicle image is input into the vehicle analysis model to obtain a third identifier code, and a current driver image is input into the personnel analysis model to obtain a fourth identifier code. The third and fourth identifier codes are parsed, and driver and vehicle information are determined based on the parsing results. When a binding relationship exists between driver and vehicle information, the current vehicle is allowed to enter or exit the residential area. This method improves the security management capabilities of the residential area.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of industrial internet identification technology, and in particular to a vehicle entry and exit control method and device based on identification resolution. Background Technology

[0002] To build a better community, security management is a crucial aspect. Furthermore, with the development of information technology, most communities have installed vehicle recognition devices to identify vehicles entering and exiting the community, preventing unauthorized vehicles from entering and causing security risks.

[0003] In existing technologies, residential communities use license plate recognition systems and gate barriers in conjunction to effectively manage vehicle access. Typically, the license plate recognition system collects and identifies vehicle license plate numbers, then compares the identified numbers with pre-stored license plate numbers of community residents. If the license plate number identified by the system is found in the internet database, the gate barrier is opened.

[0004] However, the existing technologies mentioned above can only identify license plate numbers and cannot guarantee whether the person inside the vehicle is a resident. Therefore, there are still management loopholes in the security management of the community. Summary of the Invention

[0005] This application provides a vehicle access control method and device based on identifier resolution to solve the following technical problem: the existing technology only identifies the license plate number and cannot guarantee whether the person in the vehicle is a resident, so there are still loopholes in community security management.

[0006] The embodiments of this application adopt the following technical solutions:

[0007] This application provides a vehicle access control method based on identifier resolution. It includes: generating a first identifier code for each vehicle based on vehicle information and one or more driver information corresponding to each vehicle within a residential area; generating a second identifier code for each driver based on driver information and one or more vehicle information corresponding to each driver within the residential area, and storing the first and second identifier codes in a blockchain; constructing a vehicle analysis model based on the first identifier code and a personnel analysis model based on the second identifier code; inputting a current vehicle image into the vehicle analysis model to obtain a third identifier code for the current vehicle, and inputting a current driver image into the personnel analysis model to obtain a fourth identifier code; parsing the third and fourth identifier codes through a secondary node to determine the driver information corresponding to the third identifier code and the vehicle information corresponding to the fourth identifier code in the blockchain based on the parsing results; and allowing the current vehicle to enter or exit the residential area if a binding relationship exists between the driver information corresponding to the third identifier code and the vehicle information corresponding to the fourth identifier code.

[0008] This application embodiment, by acquiring information about each vehicle within the community and the information of its corresponding driver, can establish a correspondence between each vehicle and one or more of its drivers. Furthermore, by acquiring information about each driver within the community and the information of the vehicle corresponding to each driver, this application can establish a correspondence between each driver and one or more of their corresponding vehicles. Through the third identifier code corresponding to the current vehicle and the fourth identifier code corresponding to the driver, the driver information corresponding to the third identifier code and the vehicle information corresponding to the fourth identifier code can be determined in the blockchain. Therefore, based on the binding relationship between vehicle information and driver information, it can be determined whether the vehicles and drivers entering and leaving the community meet the requirements, thereby controlling vehicles within the community and reducing the probability of dangerous accidents.

[0009] In one implementation of this application, a first identification code is generated for each vehicle based on the vehicle information corresponding to each vehicle in the community and the driver information corresponding to each vehicle in the community. Specifically, this includes: obtaining the vehicle model and license plate number corresponding to each vehicle in the community, and obtaining the name and ID card number corresponding to each driver in the community; obtaining the string corresponding to the preset character positions of the ID card number, determining the letter string corresponding to the name and the number symbol corresponding to the vehicle model according to the preset identification code template; combining the name string and ID card number string corresponding to one or more drivers to obtain the driver identity string corresponding to the current vehicle; and generating the first identification code corresponding to each vehicle based on the number symbol corresponding to the vehicle model, the license plate number, and the driver identity string corresponding to the current vehicle.

[0010] In one implementation of this application, a second identification code is generated for each driver based on the obtained driver information within the community and one or more vehicle information corresponding to each driver. Specifically, this includes: obtaining the name and ID number corresponding to each driver information within the community, and obtaining the vehicle model and license plate number of one or more vehicles corresponding to each driver information within the community; determining the letter string corresponding to the name and the numerical symbol corresponding to the vehicle model based on a preset identification code template; combining the license plate number and the numerical symbol corresponding to the vehicle model of one or more vehicles to obtain the vehicle information string corresponding to the current driver; and generating a second identification code for each driver based on the letter string corresponding to the name, the ID number, and the vehicle information string corresponding to the current driver.

[0011] In one implementation of this application, before storing the first and second identifiers in the blockchain, the method further includes: sending an identifier registration request to a secondary node; wherein the identifier registration request includes a first identifier to be registered, a second identifier to be registered, the cell number corresponding to the current cell, and the private key signature of the secondary node; the secondary node verifies the private key signature in the identifier registration request based on a pre-stored public key; after successful verification, the secondary node uses the cell number corresponding to the current cell as a prefix code and the current registration time as a suffix code to re-encode the first and second identifiers to be registered based on the prefix and suffix codes; the re-encoded first and second identifiers are uploaded to a primary node for verification, and upon receiving the verification pass information, the registration of the first and second identifiers is completed; wherein the primary node is the top-level identifier resolution service node in the current region.

[0012] In this embodiment, the secondary node verifies the private key signature in the identifier registration request based on the pre-stored public key, thereby detecting the information that needs to be verified and reducing the probability of parsing risky information. Secondly, this embodiment ensures the uniqueness of the identifier by assigning prefix and suffix values ​​to the first identifier and the second identifier to be registered, respectively, through the secondary node, thus improving the accuracy of obtaining corresponding vehicle or driver information through the identifier.

[0013] In one implementation of this application, a secondary node parses the third and fourth identifier codes respectively to determine the driver information corresponding to the third identifier code and the vehicle information corresponding to the fourth identifier code in the blockchain based on the parsing results. Specifically, this includes: receiving a parsing request for the third identifier code through a secondary node, determining the hash value corresponding to the third identifier code through the secondary node, and determining the driver information corresponding to the hash value in the blockchain; and receiving a parsing request for the fourth identifier code through a second node, determining the hash value corresponding to the fourth identifier code through the second node, and determining the vehicle information corresponding to the hash value in the blockchain.

[0014] In one implementation of this application, when there is a binding relationship between the driver information corresponding to the third identifier and the vehicle information corresponding to the fourth identifier, allowing the current vehicle to enter and exit the community specifically includes: comparing the driver information corresponding to the third identifier with the driver information corresponding to the current vehicle; and comparing the vehicle information corresponding to the fourth identifier with the current vehicle information; if the driver information corresponding to the current vehicle exists in both the driver information corresponding to the third identifier and the vehicle information corresponding to the fourth identifier, determining that there is a binding relationship between the driver information corresponding to the third identifier and the vehicle information corresponding to the fourth identifier; recording the driver information corresponding to the third identifier and the vehicle information corresponding to the fourth identifier, and allowing the current vehicle to enter and exit the community.

[0015] This application embodiment only allows a vehicle to enter or exit the residential community when a binding relationship exists between the driver information corresponding to the third identification code and the vehicle information corresponding to the fourth identification code. This ensures that the driver in the vehicle is a resident of the community, improves the accuracy of vehicle identification, and thus strengthens the community's security capabilities.

[0016] In one implementation of this application, before allowing the current vehicle to enter or exit the community, the method further includes: when the driver's face is partially obscured, searching in the pre-stored community personnel database for multiple pre-stored facial images with a similarity value greater than a preset value to the currently partially obscured image; sequentially inputting the multiple pre-stored facial images into the personnel analysis model to obtain the fourth identification code corresponding to each of the multiple pre-stored facial images; parsing the fourth identification code corresponding to each of the multiple pre-stored facial images through a second node to determine multiple vehicle information in the blockchain based on the parsed information; comparing the current vehicle information with the multiple vehicle information, and allowing the current vehicle to enter or exit the community if the current vehicle information exists among the multiple vehicle information.

[0017] In one implementation of this application, storing the first identifier and the second identifier in the blockchain specifically includes: performing a hash calculation on the first identifier to obtain a first hash value, and performing a hash calculation on the second identifier to obtain a second hash value; storing the first hash value, one or more driver information corresponding to the first hash value, and the current cell code in the blockchain; and storing the second hash value, one or more vehicle information corresponding to the second hash value, and the current cell code in the blockchain; wherein, based on different cell codes, the stored information is divided into multiple different storage blocks, so that the multiple different storage blocks are stored in the blockchain respectively.

[0018] In one implementation of this application, a vehicle analysis model is constructed based on a first identifier code, and a personnel analysis model is constructed based on a second identifier code. Specifically, this includes: using an image of each vehicle in the current cell as input, and using the first identifier code corresponding to each vehicle and the information of each vehicle as output, training a first neural network model to obtain a vehicle analysis model; wherein the vehicle information includes at least the license plate number and vehicle model. Additionally, a personnel analysis model is constructed by using an image of each driver in the current cell as input, and using the second identifier code corresponding to each driver's image and the information of each driver as output, training a second neural network model to obtain a personnel analysis model; wherein the driver information includes at least the driver's name and ID card number.

[0019] This application provides a vehicle access control device based on identifier resolution, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to: generate a first identifier code corresponding to each vehicle based on the acquired vehicle information corresponding to each vehicle in the cell and one or more driver information corresponding to each vehicle in the cell; generate a second identifier code corresponding to each driver based on the acquired driver information in the cell and one or more vehicle information corresponding to each driver in the cell, and store the first identifier code and the second identifier code in a blockchain; construct a vehicle analysis model based on the first identifier code and a personnel analysis model based on the second identifier code; input the current vehicle image into the vehicle analysis model to obtain a third identifier code corresponding to the current vehicle, and input the current vehicle driver image into the personnel analysis model to obtain a fourth identifier code; parse the third identifier code and the fourth identifier code respectively through a secondary node, so as to determine the driver information corresponding to the third identifier code and the vehicle information corresponding to the fourth identifier code in the blockchain according to the parsing results; and allow the current vehicle to enter or exit the cell when there is a binding relationship between the driver information corresponding to the third identifier code and the vehicle information corresponding to the fourth identifier code.

[0020] The above-mentioned at least one technical solution adopted in this application embodiment can achieve the following beneficial effects: By obtaining information about each vehicle in the community and the information of the driver corresponding to each vehicle, this application embodiment can establish a correspondence between each vehicle and one or more corresponding drivers. Furthermore, by obtaining information about each driver in the community and the information of the vehicle corresponding to each driver, this application can establish a correspondence between each driver and one or more corresponding vehicles. Through the third identifier code corresponding to the current vehicle and the fourth identifier code corresponding to the driver, the driver information corresponding to the third identifier code and the vehicle information corresponding to the fourth identifier code can be determined in the blockchain. Therefore, based on the binding relationship between vehicle information and driver information, it can be determined whether the vehicles and drivers entering and leaving the community meet the requirements, thereby controlling the vehicles in the community and reducing the probability of dangerous accidents in the community. Attached Figure Description

[0021] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort. In the drawings:

[0022] Figure 1 A flowchart of a vehicle entry and exit control method based on identifier resolution is provided in an embodiment of this application;

[0023] Figure 2 This is a schematic diagram of a vehicle entry and exit control device based on identifier resolution, provided as an embodiment of this application. Detailed Implementation

[0024] This application provides a vehicle entry and exit control method and device based on identifier resolution.

[0025] To enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this specification, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of this application.

[0026] To build a better community, security management is a crucial aspect. Furthermore, with the development of information technology, most communities have installed vehicle recognition devices to identify vehicles entering and exiting the community, preventing unauthorized vehicles from entering and causing security risks.

[0027] In existing technologies, residential communities use license plate recognition systems and gate barriers in conjunction to effectively manage vehicle access. Typically, the license plate recognition system collects and identifies vehicle license plate numbers, then compares the identified numbers with pre-stored license plate numbers of community residents. If the license plate number identified by the system is found in the internet database, the gate barrier is opened.

[0028] However, the existing technologies mentioned above can only identify license plate numbers and cannot guarantee whether the person inside the vehicle is a resident. Therefore, there are still management loopholes in the security management of the community.

[0029] To address the aforementioned issues, this application provides a vehicle access control method based on identifier resolution. By acquiring information about each vehicle within the community and the corresponding driver information, a correspondence can be established between each vehicle and one or more of its corresponding drivers. Furthermore, by acquiring information about each driver within the community and the corresponding vehicle information, a correspondence can be established between each driver and one or more of their corresponding vehicles. Using a third identifier code corresponding to the current vehicle and a fourth identifier code corresponding to the driver, the driver information corresponding to the third identifier code and the vehicle information corresponding to the fourth identifier code can be determined in the blockchain. Therefore, based on the binding relationship between vehicle information and driver information, it can be determined whether the vehicles and drivers entering and exiting the community meet the requirements, thereby controlling vehicles within the community and reducing the probability of dangerous accidents.

[0030] The technical solutions proposed in the embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0031] Figure 1 This is a flowchart illustrating a vehicle entry / exit control method based on identifier resolution, provided as an embodiment of this application. Figure 1 As shown, the vehicle entry and exit control method based on identifier resolution includes the following steps:

[0032] S101. The vehicle entry and exit control equipment generates a first identification code corresponding to each vehicle based on the vehicle information corresponding to each vehicle in the community and one or more driver information corresponding to each vehicle in the community.

[0033] In one embodiment of this application, the vehicle model and license plate number corresponding to each vehicle in the community are obtained, as well as the name and ID card number of one or more drivers corresponding to each vehicle in the community. The string corresponding to a preset character position of the ID card number is obtained. Based on a preset identification code template, the letter string corresponding to the name and the numeric symbol corresponding to the vehicle model are determined. The name string and ID card number string corresponding to one or more drivers are combined to obtain the driver identity string corresponding to the current vehicle. Based on the numeric symbol corresponding to the vehicle model, the license plate number, and the driver identity string corresponding to the current vehicle, a first identification code corresponding to each vehicle is generated.

[0034] Specifically, the number of vehicles owned by each household in the community varies. For example, some households own one vehicle, while others own two or more. Therefore, not every vehicle corresponds to a fixed driver, nor can one driver be assigned to only one vehicle. The first step is to obtain the vehicle model and license plate number for each vehicle in the community to determine the vehicle information. Secondly, the next step is to obtain information on one or more drivers associated with each vehicle. For example, if a household owns one vehicle and two people in that household have driver's licenses, then that household's vehicle corresponds to two drivers. This requires obtaining the name and ID number of each driver.

[0035] Furthermore, since ID card numbers have a long length, only a portion of the characters can be selected. For example, the string representing the birth date can be selected from the middle of the ID card number, along with the last four characters, to form the corresponding string. Next, using a preset identification code template, the obtained driver's name is converted into a corresponding pinyin string, and the obtained vehicle model is converted into a corresponding numeric string. The pinyin string for each driver is then sequentially combined with the ID card number string to obtain the driver's identity string for the current vehicle. For example, if the current vehicle has two drivers, the pinyin string of the first driver, the ID card number string, and then the pinyin string and ID card number string of the second driver are combined sequentially to obtain the driver's identity string for the current vehicle.

[0036] Furthermore, the first identification code corresponding to the current vehicle is obtained by combining the numerical string corresponding to the current vehicle model, the license plate number, and the driver's identity string corresponding to the current vehicle in that order.

[0037] S102. The vehicle entry and exit control device generates a second identification code corresponding to each driver based on the information of each driver in the community and one or more vehicle information corresponding to each driver in the community, and stores the first identification code and the second identification code in the blockchain.

[0038] In one embodiment of this application, the name and ID number corresponding to each driver's information within the community are obtained, as well as the vehicle model and license plate number of one or more vehicles corresponding to each driver's information within the community. Based on a preset identification code template, the letter string corresponding to the name and the numerical symbol corresponding to the vehicle model are determined. The license plate number corresponding to one or more vehicles and the numerical symbol corresponding to the vehicle model are combined to obtain the vehicle information string corresponding to the current driver. Based on the letter string corresponding to the name, the ID number, and the vehicle information string corresponding to the current driver, a second identification code corresponding to each driver is generated.

[0039] Specifically, there are situations within the community where one household owns multiple vehicles. For example, if a household has three vehicles, any member of that household with a driver's license can drive any of those three vehicles. Therefore, it is necessary to obtain the name and ID number of each driver within the community, as well as the vehicle model and license plate number of one or more vehicles associated with each driver. For instance, if a household has three vehicles, each licensed driver within that household corresponds to the vehicle model and license plate number of those three vehicles.

[0040] Furthermore, based on the preset identification code template, the obtained driver's name is converted into a corresponding letter string, and the obtained vehicle model is converted into a corresponding number symbol. Assuming that one driver corresponds to two vehicles, the vehicle information string corresponding to the driver is obtained by combining the number symbols corresponding to the license plate number and vehicle model of the first vehicle in the order of the license plate number and vehicle model of the second vehicle.

[0041] Furthermore, the strings are combined according to the order of the letter string corresponding to the driver's name, the ID card number, and the vehicle information string corresponding to the current driver to generate a second identification code for each driver.

[0042] In one embodiment of this application, an identifier registration request is sent to a secondary node. The identifier registration request includes a first identifier to be registered, a second identifier to be registered, the cell number corresponding to the current cell, and the private key signature of the secondary node. The secondary node verifies the private key signature in the identifier registration request using a pre-stored public key. After successful verification, the secondary node uses the cell number corresponding to the current cell as a prefix code and the current registration time as a suffix code to re-encode the first and second identifiers to be registered. The re-encoded first and second identifiers are uploaded to the primary node for verification, and upon receiving successful verification information, the registration of the first and second identifiers is completed. The primary node is the top-level identifier resolution service node in the current area.

[0043] Specifically, to ensure the uniqueness of the first and second identifiers, they need to be reviewed and registered. A registration request is sent to the secondary node. The secondary node verifies the registration request based on the received private key signature. After successful verification, the received first and second identifiers to be registered are prefixed and suffixed. The cell code corresponding to the current cell can be used as the prefix, and the current registration time as the suffix, thus re-encoding the first and second identifiers to ensure the uniqueness of each identifier. The secondary node uploads the re-encoded identifiers to the primary node, i.e., the national node. The primary node verifies the re-encoded identifiers to determine if the format and uniqueness requirements are met. Upon successful verification, the primary node sends a verification pass message to the secondary node, which completes the identifier registration and saves the identifier to the blockchain.

[0044] In one embodiment of this application, a first identifier is hashed to obtain a first hash value, and a second identifier is hashed to obtain a second hash value. The first hash value, along with one or more driver information corresponding to the first hash value, and the current cell code are stored in the blockchain; and the second hash value, along with one or more vehicle information corresponding to the second hash value, and the current cell code, are stored in the blockchain. Specifically, based on different cell codes, the stored information is divided into multiple different storage blocks, and these multiple different storage blocks are stored separately in the blockchain.

[0045] Specifically, when uploading the first and second identifiers to the blockchain for storage, hash encryption is required to ensure data security and reduce the risk of information leakage. Further, the first identifier is hashed to obtain a first hash value, and the driver information, current cell code, and first hash value corresponding to the first identifier are stored on the blockchain. Similarly, the second identifier is hashed, and the vehicle information, current cell code, and second hash value corresponding to the second identifier are stored on the blockchain. Based on different cell codes, information belonging to the same cell can be stored in the same storage block, thereby reducing the difficulty of information retrieval.

[0046] S103. The vehicle entry and exit control equipment constructs a vehicle analysis model based on the first identification code and a personnel analysis model based on the second identification code.

[0047] In one embodiment of this application, images of each vehicle and each driver within the community are pre-collected. The pre-collected images, along with the acquired vehicle and driver information, are used to train a neural network model to obtain a vehicle analysis model and a personnel analysis model.

[0048] Specifically, the first neural network model is trained using an image of each vehicle within the current community as input, and the first identifier code corresponding to each vehicle and the vehicle's information as output, to obtain a vehicle analysis model. The vehicle information includes at least the license plate number and vehicle model. Similarly, the second neural network model is trained using an image of each driver within the current community as input, and the second identifier code corresponding to each driver's image and the driver's information as output, to obtain a personnel analysis model. The driver's information includes at least the driver's name and ID number.

[0049] S104. The vehicle entry and exit control device inputs the current vehicle image into the vehicle analysis model to obtain the third identification code corresponding to the current vehicle, and inputs the driver image corresponding to the current vehicle into the personnel analysis model to obtain the fourth identification code.

[0050] In one embodiment of this application, when a vehicle needs to enter or exit the current community, the monitoring device installed at the entrance of the community captures images of the current vehicle and the driver inside the vehicle.

[0051] Furthermore, the captured vehicle images are input into the vehicle analysis model. If the vehicle belongs to a resident of the community, the vehicle analysis model outputs the third identification code corresponding to the current vehicle, as well as the vehicle's information, such as the license plate number and vehicle model. The captured driver images are input into the personnel analysis model. If the driver belongs to a resident of the community, the personnel analysis model outputs the fourth identification code corresponding to the current driver, as well as the driver's information, such as the driver's name and ID number.

[0052] S105. The third and fourth identifier codes are parsed by the secondary node respectively, so as to determine the driver information corresponding to the third identifier code and the vehicle information corresponding to the fourth identifier code in the blockchain according to the parsing results.

[0053] In one embodiment of this application, a parsing request corresponding to a third identifier is received by a secondary node, the hash value corresponding to the third identifier is determined by the secondary node, and the driver information corresponding to the hash value is determined in the blockchain. Similarly, a parsing request corresponding to a fourth identifier is received by a second node, the hash value corresponding to the fourth identifier is determined by the second node, and the vehicle information corresponding to the hash value is determined in the blockchain.

[0054] Specifically, after receiving a parsing request corresponding to the third identifier, the secondary node determines the corresponding hash value based on the third identifier. At this point, the driver information and the corresponding identifier have been saved to the blockchain, and the driver information corresponding to that hash value can be found in the blockchain. Furthermore, after receiving a parsing request corresponding to the fourth identifier, the secondary node determines the corresponding hash value based on the fourth identifier. At this point, the vehicle information and the corresponding identifier have been saved to the blockchain. The vehicle information corresponding to that hash value can be found in the blockchain.

[0055] S106. If there is a binding relationship between the driver information corresponding to the third identification code and the vehicle information corresponding to the fourth identification code, the current vehicle is allowed to enter and exit the community.

[0056] In one embodiment of this application, the driver information corresponding to the third identifier is compared with the driver information corresponding to the current vehicle. The vehicle information corresponding to the fourth identifier is also compared with the current vehicle information. If the driver information corresponding to the current vehicle exists in both the driver information corresponding to the third identifier and the vehicle information corresponding to the fourth identifier, a binding relationship is determined between them. The driver information corresponding to the third identifier and the vehicle information corresponding to the fourth identifier are then recorded, and the current vehicle is allowed to enter and exit the community.

[0057] Specifically, after finding the driver information corresponding to the third identifier in the blockchain, it is compared with the currently obtained driver information. If the current driver's information exists in the driver information corresponding to the third identifier, it means the current driver is a resident of this community. Next, after finding the vehicle information corresponding to the fourth identifier in the blockchain, it is compared with the currently obtained vehicle information. If the current vehicle's information exists in the vehicle information corresponding to the fourth identifier, it means the current vehicle belongs to a resident of this community. At this point, since both the current driver and the current vehicle belong to a resident of this community, it indicates a binding relationship between the driver information corresponding to the third identifier and the vehicle information corresponding to the fourth identifier. The current vehicle information and the current driver information are recorded, and the current vehicle is allowed to enter and exit the community.

[0058] In one embodiment of this application, when the driver's face is partially obscured, multiple pre-stored facial images with a similarity value greater than a preset value to the currently partially obscured image are searched in the pre-stored cell personnel database. These multiple pre-stored facial images are sequentially input into the personnel analysis model to obtain a fourth identifier code corresponding to each pre-stored facial image. A second node parses the fourth identifier codes corresponding to each of the multiple pre-stored facial images to determine multiple vehicle information entries in the blockchain based on the parsed information. The current vehicle information is compared with the multiple vehicle information entries, and if the current vehicle information exists among the multiple vehicle information entries, the current vehicle is allowed to enter or exit the cell.

[0059] Specifically, when a driver's face is partially obscured, such as when the driver is wearing a mask, hat, or scarf, the partially obscured image can be compared with pre-stored images of drivers within the community, and images with higher similarity values ​​can be identified. For example, images with a similarity value greater than a preset value of 85% can be identified. These selected images with higher similarity values ​​are then input into a personnel analysis model to obtain a corresponding fourth identifier. Each fourth identifier is parsed, and the corresponding vehicle information is searched in the blockchain based on the parsing results. If the current vehicle's information is found in the vehicle information corresponding to any given fourth identifier, it indicates that the current driver is a resident of the community, and the vehicle is allowed to enter and exit the community.

[0060] Furthermore, if the driver's face is completely obscured, an alarm will be triggered, and the vehicle will be intercepted.

[0061] Figure 2 This is a schematic diagram of a vehicle access control device based on identifier resolution, provided as an embodiment of this application. Figure 2 As shown, the vehicle access control device based on identifier resolution includes:

[0062] At least one processor; and,

[0063] A memory communicatively connected to the at least one processor; wherein,

[0064] The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to:

[0065] Based on the vehicle information corresponding to each vehicle in the community, and one or more driver information corresponding to each vehicle in the community, a first identification code corresponding to each vehicle is generated.

[0066] Based on the information of each driver in the community and the information of one or more vehicles corresponding to each driver in the community, a second identification code is generated for each driver, and the first identification code and the second identification code are stored in the blockchain.

[0067] A vehicle analysis model is constructed based on the first identification code, and a personnel analysis model is constructed based on the second identification code;

[0068] Input the current vehicle image into the vehicle analysis model to obtain the third identification code corresponding to the current vehicle, and input the driver image corresponding to the current vehicle into the personnel analysis model to obtain the fourth identification code;

[0069] The third and fourth identifiers are parsed by the secondary node, and the driver information corresponding to the third identifier and the vehicle information corresponding to the fourth identifier are determined in the blockchain based on the parsing results.

[0070] If there is a binding relationship between the driver information corresponding to the third identification code and the vehicle information corresponding to the fourth identification code, the current vehicle is allowed to enter and exit the community.

[0071] The various embodiments in this application are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the embodiments of apparatus, devices, and non-volatile computer storage media are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

[0072] The foregoing has described specific embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired results. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0073] The above description is merely an embodiment of this application and is not intended to limit this application. For those skilled in the art, various modifications and variations can be made to the embodiments of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principle of the embodiments of this application should be included within the scope of the claims of this application.

Claims

1. A vehicle entry and exit control method based on identifier resolution, characterized in that, The method includes: Based on the vehicle information corresponding to each vehicle in the community, and one or more driver information corresponding to each vehicle in the community, a first identification code corresponding to each vehicle is generated. Based on the information of each driver in the community and the information of one or more vehicles corresponding to each driver in the community, a second identification code is generated for each driver, and the first identification code and the second identification code are stored in the blockchain. A vehicle analysis model is constructed based on the first identification code, and a personnel analysis model is constructed based on the second identification code; Input the current vehicle image into the vehicle analysis model to obtain the third identification code corresponding to the current vehicle, and input the driver image corresponding to the current vehicle into the personnel analysis model to obtain the fourth identification code; The third and fourth identifiers are parsed by the secondary node, and the driver information corresponding to the third identifier and the vehicle information corresponding to the fourth identifier are determined in the blockchain based on the parsing results. If there is a binding relationship between the driver information corresponding to the third identification code and the vehicle information corresponding to the fourth identification code, the current vehicle is allowed to enter and exit the community.

2. The vehicle entry and exit control method based on identifier resolution according to claim 1, characterized in that, The step of generating a first identification code for each vehicle based on the obtained vehicle information for each vehicle in the community and one or more driver information corresponding to each vehicle in the community specifically includes: Obtain the vehicle model and license plate number of each vehicle in the community, as well as the name and ID number of one or more drivers corresponding to each vehicle in the community; Obtain the string corresponding to the preset character position of the ID card number, and determine the letter string corresponding to the name and the number symbol corresponding to the vehicle model according to the preset identification code template; The name string and ID number string corresponding to the one or more drivers are combined to obtain the driver identity string corresponding to the current vehicle; Based on the numerical symbol corresponding to the vehicle model, the license plate number, and the driver's identity string corresponding to the current vehicle, a first identification code is generated for each vehicle.

3. The vehicle entry and exit control method based on identifier resolution according to claim 1, characterized in that, The step of generating a second identifier code for each driver based on the acquired driver information within the community and one or more vehicle information corresponding to each driver within the community specifically includes: Obtain the name and ID number corresponding to each driver information in the community, and obtain the vehicle model and license plate number of one or more vehicles corresponding to each driver information in the community; Based on the preset identification code template, determine the letter string corresponding to the name and the number symbol corresponding to the vehicle model; The license plate number corresponding to the one or more vehicles is combined with the numerical symbols corresponding to the vehicle model to obtain the vehicle information string corresponding to the current driver; Based on the letter string corresponding to the name and the ID card number, as well as the vehicle information string corresponding to the current driver, a second identification code is generated for each driver.

4. The vehicle entry and exit control method based on identifier resolution according to claim 1, characterized in that, Before storing the first identifier and the second identifier in the blockchain, the method further includes: Send an identifier registration request to the secondary node; wherein, the identifier registration request includes a first identifier to be registered, a second identifier to be registered, the cell number corresponding to the current cell, and the private key signature of the secondary node; The secondary node verifies the private key signature in the identification code registration request based on the pre-stored public key; After successful verification, the secondary node uses the cell number corresponding to the current cell as the prefix code and the current registration time as the suffix code to re-encode the first identifier code and the second identifier code to be registered based on the prefix code and the suffix code. The first and second identifier codes obtained after re-encoding are uploaded to the primary node for verification, and the registration of the first and second identifier codes is completed after receiving the verification pass information; wherein, the primary node is the top-level identifier resolution service node in the current region.

5. The vehicle entry and exit control method based on identifier resolution according to claim 1, characterized in that, The step of parsing the third and fourth identifiers through a secondary node to determine the driver information corresponding to the third identifier and the vehicle information corresponding to the fourth identifier in the blockchain based on the parsing results specifically includes: The secondary node receives the parsing request corresponding to the third identifier, determines the hash value corresponding to the third identifier, and identifies the driver information corresponding to the hash value in the blockchain; and The secondary node receives the parsing request corresponding to the fourth identifier, determines the hash value corresponding to the fourth identifier, and identifies the vehicle information corresponding to the hash value in the blockchain.

6. The vehicle entry and exit control method based on identifier resolution according to claim 1, characterized in that, When there is a binding relationship between the driver information corresponding to the third identifier and the vehicle information corresponding to the fourth identifier, allowing the current vehicle to enter and exit the community specifically includes: The driver information corresponding to the third identification code is compared with the driver information corresponding to the current vehicle; and the vehicle information corresponding to the fourth identification code is compared with the current vehicle information. If the driver information corresponding to the current vehicle exists in the driver information corresponding to the third identification code, and the vehicle information corresponding to the fourth identification code also exists, it is determined that there is a binding relationship between the driver information corresponding to the third identification code and the vehicle information corresponding to the fourth identification code. The driver information corresponding to the third identification code and the vehicle information corresponding to the fourth identification code are recorded, and the current vehicle is allowed to enter and exit the community.

7. The vehicle entry and exit control method based on identifier resolution according to claim 1, characterized in that, Before allowing the current vehicle to enter or exit the community, the method further includes: When the driver's face is partially obscured, search the pre-stored community personnel database for multiple pre-stored facial images with a similarity value greater than a preset value to the current partially obscured image; The multiple pre-stored facial images are sequentially input into the personnel analysis model to obtain the fourth identification code corresponding to each of the multiple pre-stored facial images; The fourth identifier corresponding to each of the multiple pre-stored facial images is parsed by the secondary node, so as to determine multiple vehicle information in the blockchain based on the parsed information; The current vehicle information is compared with the multiple vehicle information sets, and if the current vehicle information is found among the multiple vehicle information sets, the current vehicle is allowed to enter or exit the community.

8. The vehicle entry and exit control method based on identifier resolution according to claim 1, characterized in that, The step of storing the first identifier and the second identifier in the blockchain specifically includes: The first identifier is hashed to obtain a first hash value, and the second identifier is hashed to obtain a second hash value. Store the first hash value, one or more driver information corresponding to the first hash value, and the current cell code in the blockchain; and store the second hash value, one or more vehicle information corresponding to the second hash value, and the current cell code in the blockchain. Specifically, based on different cell codes, the stored information is divided into multiple different storage blocks, and these multiple different storage blocks are stored in the blockchain respectively.

9. The vehicle entry and exit control method based on identifier resolution according to claim 1, characterized in that, The construction of the vehicle analysis model based on the first identifier and the construction of the personnel analysis model based on the second identifier specifically include: The image of each vehicle within the current community is used as input, and the first identifier code corresponding to each vehicle and the information of each vehicle are used as output to train a first neural network model to obtain the vehicle analysis model; wherein, the vehicle information includes at least the license plate number and vehicle model; and The second neural network model is trained by taking the image of each driver in the current community as input, and taking the second identifier code corresponding to each driver's image and the information of each driver as output, so as to obtain the personnel analysis model; wherein, the driver's information includes at least the driver's name and ID card number.

10. A vehicle access control device based on identifier resolution, comprising: At least one processor; as well as, A memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enable the at least one processor to: Based on the vehicle information corresponding to each vehicle in the community, and one or more driver information corresponding to each vehicle in the community, a first identification code corresponding to each vehicle is generated. Based on the information of each driver in the community and the information of one or more vehicles corresponding to each driver in the community, a second identification code is generated for each driver, and the first identification code and the second identification code are stored in the blockchain. A vehicle analysis model is constructed based on the first identification code, and a personnel analysis model is constructed based on the second identification code; Input the current vehicle image into the vehicle analysis model to obtain the third identification code corresponding to the current vehicle, and input the driver image corresponding to the current vehicle into the personnel analysis model to obtain the fourth identification code; The third and fourth identifiers are parsed by the secondary node, and the driver information corresponding to the third identifier and the vehicle information corresponding to the fourth identifier are determined in the blockchain based on the parsing results. If there is a binding relationship between the driver information corresponding to the third identification code and the vehicle information corresponding to the fourth identification code, the current vehicle is allowed to enter and exit the community.

Citation Information

Patent Citations

  • Alliance chain-based industrial internet Handle recognition system analysis and authentication method

    CN113779605A

  • Control method for incoming and outgoing vehicles

    KR100768465B1