Intelligent access control security management method and system
Through the generalization of the card swiping behavior characteristics of smart door locks and smart access control cards and the update of genetic algorithms, difficult verification codes are generated, which solves the problem of easy cracking of verification codes in existing access control systems and improves the security of access control management.
Patent Information
- Application Number
- CN202410315358.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-19
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-03-19
AI Technical Summary
The verification code generation method in the existing access control system is too simple and easy to be cracked, and the storage method is fixed, which poses security risks.
Smart door locks and smart access cards are used to collect card swiping behavior fusion features respectively. Through multiple feature generalizations and genetic algorithm updates, a difficult verification code is generated. The third-party terminal evaluates and selects mutation features to build a final verification code to improve Crack difficulty.
The security of access control management is improved. Even if the access control card is copied, it is not easy to be cracked, which enhances the security of the access control system.
Smart Images

Figure CN118212718B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of access control security management, and in particular to an intelligent access control security management method and system. Background Art
[0002] At present, most of the access control systems use access cards to unlock the door locks. Since the unlocking key in the access card can be easily cracked and copied by criminals, it will cause security risks to access control management.
[0003] At present, in order to reduce the potential safety hazards of access control management, the access card and the door lock are stored in the same storage area and store the same verification code. Each time the user uses the access card to unlock the door lock, the corresponding verification code is incremented synchronously (such as 0001 incremented to 0002). When the access card is used to unlock the door lock next time, the door lock card identifies whether the verification code stored in the access card is consistent with the verification code in the door lock. If they are consistent, the key in the access card is verified to be consistent with the key in the door lock. If they are consistent, the unlocking operation is performed. Even if the criminals copy additional access cards, the door lock cannot be unlocked because the verification code in the copied access card does not increase.
[0004] However, the above verification code generation method is too simple and easy to be cracked. Moreover, the storage method of the verification code is fixed and single and easy to be stolen, so there are still security risks in access control management. Summary of the invention
[0005] The present application provides an intelligent access control security management method and system, which is used to solve the problem that the verification code generation method in the prior art is too simple and easy to be cracked. Furthermore, the storage method of the verification code is fixed and single, which is easy to be stolen, and there are still security risks in access control management.
[0006] In the first aspect, the present application provides a smart access control security management method, which is applied to an access control system consisting of a smart door lock and a smart access control card. The method provided by the present application includes:
[0007] When the smart door lock and the smart access card detect the card swiping behavior, they respectively collect the actual card swiping behavior fusion features of the smart access card, wherein the actual card swiping behavior fusion features at least include the identity of the smart access card, the card swiping time, and the number of card swiping times within a preset time period;
[0008] The smart door lock and the smart access card respectively perform multiple feature generalizations on the fusion features of the actual card swiping behavior to obtain a first generalized feature set of the card swiping behavior consisting of multiple generalized features of the card swiping behavior;
[0009] The smart door lock and the smart access card respectively update the Nth generalized feature set for the Nth time according to the genetic algorithm to obtain the Nth group of sub-card swiping behavior generalized feature set, wherein the Nth generalized feature set is used as the seed pool of the genetic algorithm, the preset crossover rule is used as the crossover operation of the genetic algorithm, and the Nth group of sub-card swiping behavior generalized feature set is used as the sub-base of the genetic algorithm;
[0010] The smart door lock and the smart access card respectively receive the Nth quality of the Nth group of sub-card swiping behavior generalized feature sets sent by the third-party terminal after evaluating them, wherein the Nth quality of the sub-card swiping behavior generalized feature set is the fitness of the sub-base of the genetic algorithm, and the Nth quality of the sub-card swiping behavior generalized feature set is: when the third-party terminal constructs the sub-card swiping behavior generalized feature set as the verification code for unlocking the smart access card and the smart door lock, the quality of the difficulty of cracking the verification code evaluated by the third party, wherein the difficulty of cracking the verification code is positively correlated with the quality, N is an integer greater than 1 and the initial value of N is 2;
[0011] When the difference between the Nth quality and the N-1th quality obtained in the previous round for the smart door lock and the smart access control card is greater than the set quality difference threshold, the Nth variant sub-card swiping behavior generalized feature set with a quality greater than the set quality threshold is selected from the Nth group of sub-card swiping behavior generalized feature sets;
[0012] The smart door lock and the smart access card respectively generalize the features of the generalized feature set of the Nth variant sub-card swiping behavior, add 1 to the value of N, obtain the updated Nth generalized feature set, and return to execute the step of updating the Nth generalized feature set for the Nth time according to the genetic algorithm to obtain the Nth group of sub-card swiping behavior generalized feature set, until the difference between the Nth quality and the N-1th quality obtained in the previous round is less than or equal to the set quality difference threshold;
[0013] The smart door lock and the smart access card respectively construct the final verification code for unlocking the smart access card and the smart door lock based on the generalized feature set of the Nth group of sub-card swiping behaviors obtained in the end;
[0014] When the smart door lock detects that the final verification code most recently transmitted by the smart access control card is consistent with the latest final verification code obtained, it obtains the key from the smart access control card;
[0015] When the key obtained is consistent with the stored key, the smart door lock performs the unlocking operation.
[0016] In a second aspect, the present application also provides an intelligent access control security management system, which is configured in an access control system consisting of an intelligent door lock and an intelligent access control card, and the system includes:
[0017] A feature collection unit is used to collect the actual card swiping behavior fusion features of the smart access control card when the card swiping behavior is detected, wherein the actual card swiping behavior fusion features at least include the identity of the smart access control card, the card swiping time, and the number of card swiping times within a preset time period;
[0018] A feature generalization unit, used for performing multiple feature generalizations on the actual card swiping behavior fusion feature to obtain a first generalized feature set of the card swiping behavior consisting of multiple generalized features of the card swiping behavior;
[0019] The feature updating unit is used to perform an Nth update on the Nth generalized feature set according to the genetic algorithm to obtain an Nth group of sub-card swiping behavior generalized feature set, wherein the Nth generalized feature set is used as a seed pool of the genetic algorithm, a preset crossover rule is used as a crossover operation of the genetic algorithm, and the Nth group of sub-card swiping behavior generalized feature set is used as a sub-base of the genetic algorithm;
[0020] A data receiving unit is used to receive the Nth quality of the Nth group of sub-card swiping behavior generalized feature sets sent by a third-party terminal after evaluating them, wherein the Nth quality of the sub-card swiping behavior generalized feature set is the fitness of the sub-base of the genetic algorithm, and the Nth quality of the sub-card swiping behavior generalized feature set is: when the third-party terminal constructs the sub-card swiping behavior generalized feature set as a verification code for unlocking a smart access card and a smart door lock, the quality of the difficulty of cracking the verification code evaluated by the third party, wherein the difficulty of cracking the verification code is positively correlated with the quality, and N is an integer greater than 1 and the initial value of N is 2;
[0021] The feature selection unit is used to select the Nth variant sub-card swiping behavior generalized feature set whose quality is greater than the set quality threshold from the Nth group of sub-card swiping behavior generalized feature sets when the difference between the Nth quality and the N-1th quality obtained in the previous round is greater than the set quality difference threshold;
[0022] The feature updating unit is further used to perform feature generalization on the generalized feature set of the N-th variant sub-card swiping behavior, add 1 to the value of N to obtain the updated N-th generalized feature set, and return to execute the step of performing the N-th update on the N-th generalized feature set according to the genetic algorithm to obtain the N-th group of sub-card swiping behavior generalized feature sets, until the difference between the N-th quality and the N-1-th quality obtained in the previous round is less than or equal to the set quality difference threshold;
[0023] A data construction unit, used to construct a final verification code for unlocking a smart access card and a smart door lock based on the generalized feature set of the Nth group of sub-card swiping behaviors finally obtained;
[0024] A key acquisition unit, used to acquire a key from the smart access control card when detecting that the final verification code most recently transmitted by the smart access control card is consistent with the final verification code most recently obtained;
[0025] The access control unlocking unit is used to perform an unlocking operation when the acquired key is consistent with the stored key.
[0026] The present application provides a smart access control security management method and system, in which the smart door lock and the smart access control card respectively perform multiple feature generalizations on the actual card swiping behavior fusion features to obtain the first generalized feature set of the card swiping behavior consisting of multiple card swiping behavior generalized features. In this way, the card swiping behavior fusion features included in the obtained first generalized feature set are richer and more complete. Then, the Nth generalized feature set is updated for the Nth time according to the genetic algorithm to obtain the Nth group of sub-card swiping behavior generalized feature set, wherein the Nth generalized feature set is used as the seed pool of the genetic algorithm, the preset crossover rule is used as the crossover operation of the genetic algorithm, and the Nth group of sub-card swiping behavior generalized feature set is used as the sub-base of the genetic algorithm. It can be understood that the Nth group of sub-card swiping behavior generalized feature set obtained by the genetic algorithm has low regularity and is not easy to be cracked.
[0027] Furthermore, the smart door lock and the smart access control card respectively receive the Nth quality after evaluating the Nth group of sub-card swiping behavior generalized feature sets sent by the third-party terminal, wherein the Nth quality of the sub-card swiping behavior generalized feature set is the fitness of the sub-base of the genetic algorithm, and the Nth quality of the sub-card swiping behavior generalized feature set is: when the third-party terminal constructs the sub-card swiping behavior generalized feature set as a verification code for unlocking the smart access control card and the smart door lock, the third-party terminal evaluates the difficulty of cracking the verification code, wherein the difficulty of cracking the verification code is positively correlated with the quality, N is an integer greater than 1 and the initial value of N is 2; when the difference between the Nth quality and the N-1th quality obtained in the previous round is greater than the set quality difference threshold, the Nth quality of the sub-card swiping behavior generalized feature set is selected from the Nth group of sub-card swiping behaviors. From the generalized feature set of card swiping behavior, select the Nth variant sub-card swiping behavior generalized feature set whose quality is greater than the set quality threshold; perform feature generalization on the Nth variant sub-card swiping behavior generalized feature set respectively, add 1 to the value of N, and obtain the updated Nth generalized feature set, and return to execute the step of performing the Nth update on the Nth generalized feature set according to the genetic algorithm to obtain the Nth group of sub-card swiping behavior generalized feature set, until the difference between the Nth quality and the N-1th quality obtained in the previous round is less than or equal to the set quality difference threshold; based on the final Nth group of sub-card swiping behavior generalized feature set, construct the final verification code for unlocking the smart access card and the smart door lock. It can be understood that the final verification code obtained is difficult to crack;
[0028] When the smart door lock detects that the final verification code transmitted by the smart access card is consistent with the final verification code obtained, it obtains the key from the smart access card; when the obtained key is consistent with the stored key, the smart door lock performs the unlocking operation. In this way, since the final verification code obtained is difficult to crack, even if the smart access card is copied, it is not easy to obtain the verification code with high cracking difficulty. Therefore, illegal personnel cannot use the copied smart access card to unlock the smart door lock, which improves the security of access control management. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0030] Figure 1 A flowchart of an intelligent access control security management method provided in an embodiment of the present application;
[0031] Figure 2 A functional module block diagram of an intelligent access control security management system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments made by ordinary technicians in this field under the enlightenment of the embodiments belong to the scope of protection of the present application.
[0033] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] See also Figure 1The embodiment of the present application provides a smart access control security management method, which is applied to an access control system composed of a smart door lock and a smart access control card. The method includes:
[0035] S101: When the smart door lock and the smart access control card detect the card swiping behavior, they respectively collect the actual card swiping behavior fusion features of the smart access control card, wherein the actual card swiping behavior fusion features at least include the identity identification of the smart access control card, the card swiping time, and the number of card swiping times within a preset time period.
[0036] Among them, the identity identification of the smart access control card can be the ID number of the smart access control card, the user's registered account or the user's registered ID number, etc. The number of card swipes within the preset time period can be the number of card swipes within a week, the number of card swipes within 15 days, etc., which is not limited here.
[0037] S102: The smart door lock and the smart access control card respectively perform multiple feature generalizations on the actual card swiping behavior fusion features to obtain a first generalized feature set of the card swiping behavior consisting of multiple generalized features of the card swiping behavior.
[0038] For example, the ID number of the smart access control card can be generalized to the user's ID number, the user's fingerprint feature, the user's face feature, etc., without limitation here; the number of card swipes within a week can be generalized to the number of card swipes within a month, the card swipe frequency within a week, etc., without limitation here. In this way, the diversity and completeness of the fusion features of the card swipe behavior can be enriched.
[0039] S103: The smart door lock and the smart access card respectively update the Nth generalized feature set for the Nth time according to the genetic algorithm to obtain the Nth group of sub-card swiping behavior generalized feature set, wherein the Nth generalized feature set is used as the seed pool of the genetic algorithm, the preset crossover rule is used as the crossover operation of the genetic algorithm, and the Nth group of sub-card swiping behavior generalized feature set is used as the sub-base of the genetic algorithm.
[0040] Understandably, the generalized feature set of the Nth group of sub-card swiping behaviors obtained by the genetic algorithm has low regularity and is not easily cracked.
[0041] S104: the smart door lock and the smart access control card respectively receive the Nth quality of the Nth group of sub-card swiping behavior generalized feature sets sent by the third-party terminal, wherein the Nth quality of the sub-card swiping behavior generalized feature set is the fitness of the sub-base of the genetic algorithm, and the Nth quality of the sub-card swiping behavior generalized feature set is: when the third-party terminal constructs the sub-card swiping behavior generalized feature set as the verification code for unlocking the smart access control card and the smart door lock, the quality of the difficulty of cracking the verification code evaluated by the third party, wherein the difficulty of cracking the verification code is positively correlated with the quality, N is an integer greater than 1 and the initial value of N is 2;
[0042] S105: The smart door lock and the smart access card respectively determine whether the difference between the Nth quality and the N-1th quality obtained in the previous round is greater than the set quality difference threshold. If yes, execute S106; if not, execute S108.
[0043] S106: Selecting an Nth variant sub-card swiping behavior generalized feature set whose quality is greater than a set quality threshold from the Nth sub-card swiping behavior generalized feature set.
[0044] It can be understood that the generalized feature set of the Nth variant card swiping behavior whose quality is greater than the set quality threshold is not easy to be cracked.
[0045] S107: The smart door lock and the smart access control card respectively generalize the feature set of the Nth variant sub-card swiping behavior, add 1 to the value of N, obtain an updated Nth generalized feature set, and return to execute 103.
[0046] S108: The smart door lock and the smart access control card respectively construct the final verification code for unlocking the smart access control card and the smart door lock based on the Nth group of sub-card swiping behavior generalized feature sets finally obtained.
[0047] Understandably, the final verification code obtained is difficult to crack.
[0048] S109: When the smart door lock detects that the final verification code most recently transmitted by the smart access control card is consistent with the final verification code most recently obtained, the smart door lock obtains the key from the smart access control card.
[0049] It is understandable that, since both the smart door lock and the smart access card obtain the final verification code in steps S101-S108, under normal circumstances, the final verification codes obtained by the two should be the same. In this way, the key can be obtained. Furthermore, since the final verification code obtained is difficult to crack, the security of the key is also high.
[0050] S110: When the acquired key is consistent with the stored key, the smart door lock performs an unlocking operation.
[0051] In summary, the embodiment of the present application provides a smart access control security management method, in which the smart door lock and the smart access control card respectively perform multiple feature generalizations on the actual card swiping behavior fusion features to obtain the first generalized feature set of the card swiping behavior consisting of multiple card swiping behavior generalized features. In this way, the card swiping behavior fusion features included in the obtained first generalized feature set are richer and more complete. Then, the Nth generalized feature set is updated for the Nth time according to the genetic algorithm to obtain the Nth group of sub-card swiping behavior generalized feature sets, wherein the Nth generalized feature set is used as the seed pool of the genetic algorithm, the preset crossover rule is used as the crossover operation of the genetic algorithm, and the Nth group of sub-card swiping behavior generalized feature sets is used as the sub-base of the genetic algorithm. It can be understood that the Nth group of sub-card swiping behavior generalized feature sets obtained by the genetic algorithm have low regularity and are not easy to be cracked.
[0052] Furthermore, the smart door lock and the smart access control card respectively receive the Nth quality after evaluating the Nth group of sub-card swiping behavior generalized feature sets sent by the third-party terminal, wherein the Nth quality of the sub-card swiping behavior generalized feature set is the fitness of the sub-base of the genetic algorithm, and the Nth quality of the sub-card swiping behavior generalized feature set is: when the third-party terminal constructs the sub-card swiping behavior generalized feature set as a verification code for unlocking the smart access control card and the smart door lock, the third-party terminal evaluates the difficulty of cracking the verification code, wherein the difficulty of cracking the verification code is positively correlated with the quality, N is an integer greater than 1 and the initial value of N is 2; when the difference between the Nth quality and the N-1th quality obtained in the previous round is greater than the set quality difference threshold, the Nth quality of the sub-card swiping behavior generalized feature set is selected from the Nth group of sub-card swiping behaviors. From the generalized feature set of card swiping behavior, select the Nth variant sub-card swiping behavior generalized feature set whose quality is greater than the set quality threshold; perform feature generalization on the Nth variant sub-card swiping behavior generalized feature set respectively, add 1 to the value of N to obtain the updated Nth generalized feature set, and return to execute the step of performing the Nth update on the Nth generalized feature set according to the genetic algorithm to obtain the Nth group of sub-card swiping behavior generalized feature sets, until the difference between the Nth quality and the N-1th quality obtained in the previous round is less than or equal to the set quality difference threshold; based on the final Nth group of sub-card swiping behavior generalized feature set, construct the final verification code for unlocking the smart access card and the smart door lock. It can be understood that the final verification code obtained is difficult to crack.
[0053] When the smart door lock detects that the final verification code transmitted by the smart access card is consistent with the final verification code obtained, it obtains the key from the smart access card; when the obtained key is consistent with the stored key, the smart door lock performs the unlocking operation. In this way, since the final verification code obtained is difficult to crack, even if the smart access card is copied, it is not easy to obtain the verification code with high cracking difficulty. Therefore, illegal personnel cannot use the copied smart access card to unlock the smart door lock, which improves the security of access control management.
[0054] In some embodiments, the smart door lock and the smart access card each include X storage areas, where X is an integer greater than 1. After S110, the method provided in the embodiment of the present application may further include:
[0055] Step 1: The smart door lock and the smart access card divide the key into Y sub-key data respectively, where Y is an integer greater than 1 and X is greater than Y.
[0056] Step 2: The smart door lock and the smart access card encrypt each subkey data based on the final verification code.
[0057] It is understandable that, since the final verification code is difficult to crack, the difficulty of stealing each sub-key data encrypted based on the final verification code is also high.
[0058] Step 3: The smart door lock and the smart access card respectively input the storage addresses of the Y storage areas for storing the Y encrypted sub-key data last time into the pre-trained neural network model to determine the new Y storage areas for storing the Y encrypted sub-key data this time and the difficulty of copying the encrypted Y sub-key data when stored in the new Y storage areas is the highest, wherein the neural network model is trained using the storage addresses of the Y storage areas for the Y sub-key data encrypted last time in history, the new Y storage areas for storing the Y sub-key data encrypted next time in history, and the difficulty of copying the Y sub-key data encrypted last time stored in the Y storage areas adjacent to the previous time in history as the training sample set.
[0059] In this way, each encrypted sub-key data can be stored in different storage areas in a dispersed manner, and the different storage areas are determined by the above-mentioned pre-trained neural network model, which can make the key cracking very difficult.
[0060] Specifically, the smart door lock and the smart access control card can respectively calculate the similarity between the storage addresses of the Y storage areas of the Y subkey data stored and encrypted last time and the storage addresses of the new Y storage areas of the Y subkey data stored and encrypted this time. For example, the smart door lock and the smart access control card respectively map the storage addresses of the Y storage areas of the Y subkey data stored and encrypted last time to the first spatial feature vector, and map the storage addresses of the new Y storage areas of the Y subkey data stored and encrypted this time to the second spatial feature vector; the smart door lock and the smart access control card respectively use the distance between the first spatial feature vector and the second spatial feature vector as the similarity between the storage addresses of the Y storage areas of the Y subkey data stored and encrypted last time and the storage addresses of the new Y storage areas of the Y subkey data stored and encrypted this time. Furthermore, the smart door lock and the smart access control card respectively select a group of the Y new storage areas of the Y subkey data stored and encrypted this time with the lowest similarity as the new Y storage areas corresponding to the Y subkey data stored and encrypted this time. In this way, the difficulty of cracking the key can be further increased.
[0061] Step 4: The smart door lock and the smart access card respectively store the encrypted Y sub-key data in Y storage areas determined among the X storage areas, and the Y sub-key data are used to restore the corresponding key based on a preset restoration algorithm.
[0062] The next time the key is needed, the final verification code can be used to decrypt the Y sub-key data, and the Y sub-key data can be restored to the key based on the preset restoration algorithm to unlock the door.
[0063] See also Figure 2 The embodiment of the present application provides an intelligent access control security management system 200, which is configured in the access control system 200 composed of a smart door lock and a smart access control card. It should be noted that the basic principle and technical effect of the intelligent access control security management system 200 provided in the embodiment of the present application are the same as those in the above embodiment. For the sake of brief description, the parts not mentioned in the embodiment of the present application can refer to the corresponding contents in the above embodiment. The system 200 provided in the embodiment of the present application includes:
[0064] The feature collection unit 201 is used to collect the actual card swiping behavior fusion features of the smart access control card when the card swiping behavior is detected, wherein the actual card swiping behavior fusion features at least include the identity of the smart access control card, the card swiping time, and the number of card swiping times within a preset time period;
[0065] A feature generalization unit 202 is used to perform multiple feature generalizations on the actual card swiping behavior fusion feature to obtain a first generalized feature set of the card swiping behavior consisting of multiple generalized features of the card swiping behavior;
[0066] The feature updating unit 203 is used to perform an Nth update on the Nth generalized feature set according to the genetic algorithm to obtain an Nth group of sub-card swiping behavior generalized feature sets, wherein the Nth generalized feature set is used as a seed pool of the genetic algorithm, a preset crossover rule is used as a crossover operation of the genetic algorithm, and the Nth group of sub-card swiping behavior generalized feature sets is used as a sub-base of the genetic algorithm;
[0067] The data receiving unit 204 is used to receive the Nth quality of the Nth group of sub-card swiping behavior generalized feature sets sent by the third-party terminal after evaluating them, wherein the Nth quality of the sub-card swiping behavior generalized feature sets is the fitness of the sub-base of the genetic algorithm, and the Nth quality of the sub-card swiping behavior generalized feature sets is: when the third-party terminal constructs the sub-card swiping behavior generalized feature sets as the verification code for unlocking the smart access card and the smart door lock, the quality of the difficulty of cracking the verification code evaluated by the third party, wherein the difficulty of cracking the verification code is positively correlated with the quality, and N is an integer greater than 1 and the initial value of N is 2;
[0068] The feature selection unit 205 is used to select the Nth variant sub-card swiping behavior generalized feature set whose quality is greater than the set quality threshold from the Nth group of sub-card swiping behavior generalized feature sets when the difference between the Nth quality and the N-1th quality obtained in the previous round is greater than the set quality difference threshold;
[0069] The feature updating unit 203 is further used to perform feature generalization on the generalized feature set of the Nth variant sub-card swiping behavior, add 1 to the value of N to obtain the updated Nth generalized feature set, and return to execute the step of performing the Nth update on the Nth generalized feature set according to the genetic algorithm to obtain the Nth group of sub-card swiping behavior generalized feature sets, until the difference between the Nth quality and the N-1th quality obtained in the previous round is less than or equal to the set quality difference threshold;
[0070] The data construction unit 206 is used to construct the final verification code for unlocking the smart access card and the smart door lock based on the Nth group of sub-card swiping behavior generalized feature sets finally obtained;
[0071] The key acquisition unit 207 is used to acquire the key from the smart access control card when it is detected that the final verification code most recently transmitted by the smart access control card is consistent with the final verification code most recently obtained;
[0072] The door unlocking unit 208 is used to perform an unlocking operation when the acquired key is consistent with the stored key.
[0073] In some embodiments, the smart door lock and the smart access card each include X storage areas, where X is an integer greater than 1. After performing the unlocking operation, the system 200 further includes:
[0074] A data division unit, used for dividing the key into Y sub-key data, where Y is an integer greater than 1, and X is greater than Y;
[0075] A data encryption unit, used for encrypting each subkey data based on the final verification code;
[0076] The data storage unit is used to store the encrypted Y sub-key data in Y storage areas determined among the X storage areas, and the Y sub-key data are used to restore the corresponding key based on a preset restoration algorithm.
[0077] In some implementations, before the smart door lock and the smart access card respectively store the encrypted Y subkey data in the Y storage areas determined in the X storage areas, the system 200 further includes:
[0078] A storage area determination unit is used to input the storage addresses of the Y storage areas that stored the Y subkey data encrypted last time into a pre-trained neural network model to determine the new Y storage areas that store the Y subkey data encrypted this time, and the difficulty of copying the encrypted Y subkey data when stored in the new Y storage areas is the highest, wherein the neural network model is trained using the storage addresses of the Y storage areas that encrypted the Y subkey data last time in history, the new Y storage areas that stored the Y subkey data encrypted next time in history, and the difficulty of copying the Y subkey data encrypted last time when stored in the Y storage areas that are adjacent to the previous time in history as a training sample set.
[0079] In some implementations, the determined new Y storage areas for storing the encrypted Y subkey data include multiple groups, and the system 200 further includes:
[0080] A similarity calculation unit, used to calculate the similarity between the storage addresses of the Y storage areas storing the Y subkey data encrypted last time and the storage addresses of the new Y storage areas storing the Y subkey data encrypted this time;
[0081] The storage area determination unit is specifically used to select a group of Y new storage areas for the Y subkey data stored and encrypted this time with the lowest similarity as the finally determined new Y storage areas corresponding to the Y subkey data stored and encrypted this time.
[0082] In some implementations, the smart door lock and the smart access control card respectively calculate the similarity between the storage addresses of the Y storage areas that stored the Y subkey data encrypted last time and the storage addresses of the new Y storage areas that store the Y subkey data encrypted this time, including:
[0083] The similarity calculation unit is specifically used to map the storage addresses of the Y storage areas for storing the Y subkey data encrypted last time to the first space feature vector, and map the storage addresses of the new Y storage areas for storing the Y subkey data encrypted this time to the second space feature vector; and use the distance between the first space feature vector and the second space feature vector as the similarity between the storage addresses of the Y storage areas for storing the Y subkey data encrypted last time and the storage addresses of the new Y storage areas for storing the Y subkey data encrypted this time.
[0084] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. An intelligent access control security management method, characterized in that: Applied to an access control system consisting of a smart door lock and a smart access control card, the method comprises: When the smart door lock and the smart access control card detect the card swiping behavior, respectively, they collect the actual card swiping behavior fusion features of the smart access control card, wherein the actual card swiping behavior fusion features at least include the identity of the smart access control card, the card swiping time, and the number of card swiping times within a preset time period; The smart door lock and the smart access control card respectively perform multiple feature generalizations on the actual card swiping behavior fusion feature to obtain a first generalized feature set of the card swiping behavior consisting of multiple generalized features of the card swiping behavior; The smart door lock and the smart access card respectively update the Nth generalized feature set for the Nth time according to the genetic algorithm to obtain the Nth group of sub-card swiping behavior generalized feature set, wherein the Nth generalized feature set is used as the seed pool of the genetic algorithm, the preset crossover rule is used as the crossover operation of the genetic algorithm, and the Nth group of sub-card swiping behavior generalized feature set is used as the sub-base of the genetic algorithm; The smart door lock and the smart access control card respectively receive the Nth quality of the Nth group of sub-card swiping behavior generalized feature sets sent by the third-party terminal after evaluating them, wherein the Nth quality of the sub-card swiping behavior generalized feature set is the fitness of the sub-base of the genetic algorithm, and the Nth quality of the sub-card swiping behavior generalized feature set is: when the third-party terminal constructs the sub-card swiping behavior generalized feature set as the verification code for unlocking the smart access control card and the smart door lock, the quality of the difficulty of cracking the verification code evaluated by the third party, wherein the difficulty of cracking the verification code is positively correlated with the quality, N is an integer greater than 1 and the initial value of N is 2; When the difference between the Nth quality and the N-1th quality obtained in the previous round is greater than a set quality difference threshold, the smart door lock and the smart access control card respectively select an Nth variant sub-card swiping behavior generalized feature set whose quality is greater than a set quality threshold from the Nth group of sub-card swiping behavior generalized feature sets; The smart door lock and the smart access card respectively perform feature generalization on the Nth variant sub-card swiping behavior generalized feature set, add 1 to the value of N, obtain an updated Nth generalized feature set, and return to execute the step of performing an Nth update on the Nth generalized feature set according to the genetic algorithm to obtain an Nth group of sub-card swiping behavior generalized feature sets, until the difference between the Nth quality and the N-1th quality obtained in the previous round is less than or equal to a set quality difference threshold; The smart door lock and the smart access control card respectively construct the final verification code for unlocking the smart access control card and the smart door lock based on the Nth group of sub-card swiping behavior generalized feature sets finally obtained; When the smart door lock detects that the final verification code most recently transmitted by the smart access control card is consistent with the latest final verification code obtained, the smart door lock obtains the key from the smart access control card; The smart door lock performs an unlocking operation when the acquired key is consistent with the stored key.
2. The method according to claim 1, characterized in that The smart door lock and the smart access control card each include X storage areas, where X is an integer greater than 1. After performing the unlocking operation, the method further includes: The smart door lock and the smart access control card respectively divide the key into Y sub-key data, where Y is an integer greater than 1, and X is greater than Y; The smart door lock and the smart access card encrypt each subkey data based on the final verification code respectively; The smart door lock and the smart access control card respectively store the encrypted Y sub-key data in Y storage areas determined among the X storage areas, and the Y sub-key data are used to restore the corresponding key based on a preset restoration algorithm.
3. The method according to claim 2, characterized in that Before the smart door lock and the smart access control card respectively store the encrypted Y subkey data in the Y storage areas determined in the X storage areas, the method further includes: The smart door lock and the smart access card respectively input the storage addresses of the Y storage areas where the Y sub-key data were encrypted last time into the pre-trained neural network model to determine the new Y storage areas where the Y sub-key data are encrypted this time and the difficulty of copying the encrypted Y sub-key data when stored in the new Y storage areas is the highest, wherein the neural network model is trained using the storage addresses of the Y storage areas where the Y sub-key data were encrypted last time, the new Y storage areas where the Y sub-key data were encrypted next time adjacent to the previous time in history, and the difficulty of copying the Y sub-key data encrypted last time when stored in the Y storage areas adjacent to the previous time in history as the training sample set.
4. The method according to claim 3, characterized in that The determined new Y storage areas for storing the encrypted Y subkey data this time include a plurality of groups, and the method further includes: The smart door lock and the smart access control card respectively calculate the similarity between the storage addresses of the Y storage areas storing the Y subkey data encrypted last time and the storage addresses of the new Y storage areas storing the Y subkey data encrypted this time; The smart door lock and the smart access control card respectively select a group of Y new storage areas for storing the encrypted Y subkey data this time with the lowest similarity, which are the new Y storage areas corresponding to the Y subkey data stored and encrypted this time that are finally determined.
5. The method according to claim 4, characterized in that The smart door lock and the smart access control card respectively calculate the similarity between the storage addresses of the Y storage areas storing the Y subkey data encrypted last time and the storage addresses of the new Y storage areas storing the Y subkey data encrypted this time, including: The smart door lock and the smart access card respectively map the storage addresses of the Y storage areas storing the Y subkey data encrypted last time to the first spatial feature vector, and map the storage addresses of the new Y storage areas storing the Y subkey data encrypted this time to the second spatial feature vector; The smart door lock and the smart access control card respectively use the distance between the first spatial feature vector and the second spatial feature vector as the similarity between the storage addresses of the Y storage areas where the Y sub-key data were encrypted last stored and the storage addresses of the new Y storage areas where the Y sub-key data are encrypted this time.
6. An intelligent access control security management system, characterized in that: An access control system composed of a smart door lock and a smart access control card, the system comprising: A feature collection unit is used to collect the actual card swiping behavior fusion features of the smart access control card when the card swiping behavior is detected, wherein the actual card swiping behavior fusion features at least include the identity of the smart access control card, the card swiping time, and the number of card swiping times within a preset time period; A feature generalization unit, used for performing multiple feature generalizations on the actual card swiping behavior fusion feature to obtain a first generalized feature set of the card swiping behavior consisting of multiple card swiping behavior generalized features; A feature updating unit, configured to perform an Nth update on the Nth generalized feature set according to a genetic algorithm to obtain an Nth group of sub-card swiping behavior generalized feature sets, wherein the Nth generalized feature set is used as a seed pool of the genetic algorithm, a preset crossover rule is used as a crossover operation of the genetic algorithm, and the Nth group of sub-card swiping behavior generalized feature sets is used as a sub-base of the genetic algorithm; a data receiving unit, configured to receive an Nth quality of the Nth group of sub-card swiping behavior generalized feature sets sent by a third-party terminal after evaluating the Nth group of sub-card swiping behavior generalized feature sets, wherein the Nth quality of the sub-card swiping behavior generalized feature sets is the fitness of the sub-base of the genetic algorithm, and the Nth quality of the sub-card swiping behavior generalized feature sets is: when the third-party terminal constructs the sub-card swiping behavior generalized feature sets as the verification code for unlocking the smart access card and the smart door lock, the quality of the difficulty of cracking the verification code evaluated by the third party, wherein the difficulty of cracking the verification code is positively correlated with the quality, N is an integer greater than 1 and the initial value of N is 2; A feature selection unit, configured to select, from the Nth group of sub-card swiping behavior generalized feature sets, an Nth variant sub-card swiping behavior generalized feature set having a quality greater than a set quality threshold when the difference between the Nth quality and the N-1th quality obtained in the previous round is greater than a set quality difference threshold; The feature updating unit is further used to perform feature generalization on the Nth variant sub-card swiping behavior generalized feature set, add 1 to the value of N to obtain an updated Nth generalized feature set, and return to execute the step of performing an Nth update on the Nth generalized feature set according to the genetic algorithm to obtain an Nth group of sub-card swiping behavior generalized feature sets, until the difference between the Nth quality and the N-1th quality obtained in the previous round is less than or equal to a set quality difference threshold; A data construction unit, used to construct a final verification code for unlocking the smart access card and the smart door lock based on the Nth group of sub-card swiping behavior generalized feature sets finally obtained; A key acquisition unit, configured to acquire a key from the smart access control card when detecting that the final verification code most recently transmitted by the smart access control card is consistent with the final verification code most recently obtained; The access control unlocking unit is used to perform an unlocking operation when the acquired key is consistent with the stored key.
7. The system according to claim 6, characterized in that The smart door lock and the smart access control card each include X storage areas, where X is an integer greater than 1. After the unlocking operation is performed, the system further includes: A data division unit, used for dividing the key into Y subkey data, wherein Y is an integer greater than 1, and X is greater than Y; A data encryption unit, used for encrypting each of the subkey data based on the final verification code; The data storage unit is used to store the encrypted Y sub-key data in Y storage areas determined among the X storage areas, wherein the Y sub-key data are used to restore the corresponding key based on a preset restoration algorithm.
8. The system according to claim 7, characterized in that Before the smart door lock and the smart access control card respectively store the encrypted Y subkey data in the Y storage areas determined in the X storage areas, the system further includes: A storage area determination unit is used to input the storage addresses of the Y storage areas that stored the Y subkey data encrypted last time into a pre-trained neural network model to determine the new Y storage areas that store the Y subkey data encrypted this time, and the difficulty of copying the encrypted Y subkey data stored in the new Y storage areas is the highest, wherein the neural network model is trained using the storage addresses of the Y storage areas that encrypted the Y subkey data last time in history, the new Y storage areas that stored the Y subkey data encrypted next time in history, and the difficulty of copying the Y subkey data encrypted last time stored in the Y storage areas that are adjacent to the previous time in history as a training sample set.
9. The system according to claim 8, characterized in that The determined new Y storage areas for storing the encrypted Y subkey data this time include a plurality of groups, and the system further includes: A similarity calculation unit, used to calculate the similarity between the storage addresses of the Y storage areas storing the Y subkey data encrypted last time and the storage addresses of the new Y storage areas storing the Y subkey data encrypted this time; The storage area determination unit is specifically used to select a group of Y new storage areas for storing and encrypting the Y subkey data this time with the lowest similarity as the finally determined new Y storage areas corresponding to the Y subkey data for storing and encrypting this time.
10. The system according to claim 9, characterized in that The smart door lock and the smart access control card respectively calculate the similarity between the storage addresses of the Y storage areas storing the Y subkey data encrypted last time and the storage addresses of the new Y storage areas storing the Y subkey data encrypted this time, including: The similarity calculation unit is specifically used to map the storage addresses of the Y storage areas that stored the Y subkey data encrypted last time to the first spatial feature vector, and map the storage addresses of the new Y storage areas that store the Y subkey data encrypted this time to the second spatial feature vector; and use the distance between the first spatial feature vector and the second spatial feature vector as the similarity between the storage addresses of the Y storage areas that stored the Y subkey data encrypted last time and the storage addresses of the new Y storage areas that store the Y subkey data encrypted this time.
