Entrance and exit management system and method based on two-dimensional code and real name authentication
By using technical means of using QR code and real-name authentication combined with deep reinforcement learning model in the entrance and exit management system, the problem of insufficient authority control in traditional technologies is solved, and efficient, safe and refined management of entrance and exit management is achieved.
Patent Information
- Application Number
- CN202510020288.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-02-14
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Traditional QR code technology has insufficient permission security level, resulting in the inability to effectively control the scope of visitor permissions, causing entrance and exit security issues and data leakage, and causing significant losses to the enterprise.
Adopt the entrance and exit management system based on QR code and real-name authentication, set the verification content of the QR code identity authentication level through the three-level authentication mode, combine the deep reinforcement learning model to establish the automatic entrance and exit access data sorting model, calculate the entrance and exit access security evaluation coefficient, and Receive and store access information through the human-computer interactive platform, perform early warning processing and information reading optimization.
Effectively manage entrance and exit permissions, reduce human intervention, improve the security factor and management efficiency of entrance and exit access authentication, realize refined management of permissions, and reduce the risks of misoperation and data leakage.
Smart Images

Figure CN119445710A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of entrance and exit management, and in particular to an entrance and exit management system and method based on QR code and real-name authentication. Background Art
[0002] With the development of the information age, mobile phones have become an indispensable part of the work and life of the general public, which has greatly promoted the development and popularization of QR code and real-name authentication technology. More and more industries are applying QR code and real-name authentication technology to the management of personnel and entrances and exits. The use of QR code technology and real-name authentication technology allows administrators to assign permissions to different users according to their needs, ensuring access and operations within their authority, which can effectively reduce human intervention and improve management efficiency. At the same time, through digital information records, visitor information can be obtained more conveniently, increasing the convenience of entrance and exit management. Therefore, with the rapid popularization of QR code technology and real-name authentication, improving the way of fine-grained management of permissions by QR code and real-name authentication technology can effectively avoid misoperation and data leakage, and provide enterprises with safer and more convenient protection, which is of great significance.
[0003] Traditional QR code technology still has shortcomings in the security level of permissions. It is more used in personnel registration and real-name authentication. It lacks corresponding permission management technology, which can easily lead to the inability to effectively control the scope of visitor permissions, causing entrance and exit security problems due to excessive open permissions, and even leading to data leakage, causing significant losses to the company. Summary of the invention
[0004] In order to solve the above technical problems, an entrance and exit management system and method based on QR code and real-name authentication is provided. This technical solution solves the problem that the lack of corresponding authority management technology proposed in the above background technology may easily lead to the inability to effectively control the scope of visitor authority, causing entrance and exit security problems due to excessive openness of authority, and even leading to data leakage, causing significant losses to the company.
[0005] In order to achieve the above purpose, the technical solution adopted by the present invention is: An entrance and exit management method based on QR code and real-name authentication, characterized by comprising: According to the access rights of the entrance and exit, set the verification content of the QR code identity authentication level according to the three-level authentication model; According to the verification content of the QR code identity authentication level, set the QR code identity authentication level serial number; Based on the deep reinforcement learning model, an automatic organization model for entrance and exit access data is established to classify and organize entrance and exit access data; According to the data sorting results of the entrance and exit access data automatic sorting model, establish the entrance and exit access security assessment coefficient, and identify whether to simplify the reading of the QR code data; Establish a human-computer interaction platform to receive and store access information of entrances and exits, and process it according to the early warning information; The method of establishing an entrance access security assessment coefficient based on the data sorting result of the entrance access data automatic sorting model and determining whether to simplify the reading of the QR code data specifically includes: According to the data sorting result of the entrance and exit access data automatic sorting model, the entrance and exit access history data with the same QR code identity authentication level serial number is obtained; Count and obtain the number of visits and abnormal information during authentication of visitors with the same QR code identity authentication level serial number; According to the number of entrance and exit accesses and abnormal information during authentication, establish the entrance and exit access security assessment coefficient; Based on big data analysis, set the threshold of entrance and exit access security assessment coefficient; Determine whether the current entrance and exit access security assessment coefficient value is greater than the threshold. If so, mark the visitor as a safe visitor and can safely access the current entrance and exit, and simplify the information reading of the second reading information level. In the future, mainly read the facial image information of the third reading information level for comparison and identification. If not, continue to remain unchanged.
[0006] Preferably, the verification content of setting the QR code identity authentication level according to the access rights of the entrance and exit and in accordance with the three-level authentication mode specifically includes: According to the access rights of the entrances and exits, access level intervals are set, and different access level intervals are classified and summarized into the three-level authentication model according to the three-level authentication model; According to the three-level authentication model, set the verification content of the QR code identity authentication level; The three-level authentication model specifically includes: Basic authentication, suitable for entrance and exit management that only requires simple registration; Medium authentication, suitable for work, living areas or entrance and exit management with lower authority; Advanced authentication, suitable for confidentiality or more important access management; Among them, the access rights of the three-level authentication mode are gradually increased in the order of basic-intermediate-advanced. The superior can directly access the subordinate, but the subordinate cannot directly access the superior; The verification content of setting the QR code identity authentication level specifically includes: For basic authentication mode access, a temporary QR code ID card is generated by software to register the visitor's entry and exit information and simple identity information; For medium authentication mode access, the QR code ID card needs to record the visitor's basic identity information and image information, and further authenticate the QR code information through face recognition technology; For access in advanced authentication mode, set up a QR code entry with confidentiality and security performance to record the visitor's detailed identity information, and further authenticate the QR code information through face recognition technology and fingerprint authentication; The method of setting up two-dimensional code entries with confidentiality and security performance is a method of encrypting the entries in a random order and maintaining confidentiality through a unique decoding method.
[0007] Preferably, the setting of the QR code identity authentication level serial number according to the verification content of the QR code identity authentication level specifically includes: Set the priority of QR code information reading according to the verification content of the QR code identity authentication level; Set the QR code identity authentication level serial number as the first reading information level, the visitor's identity text information as the second reading information level, and the visitor's picture information as the third reading information level; The format of the QR code identity authentication level serial number is: authentication mode sequence + QR code generation date sequence + QR code sorting sequence + the last four digits of the ID card sequence; The specific process of the priority of the two-dimensional code information reading is as follows: The first read information level is read first, and the following determination is made by identifying the three-level authentication mode of the first read information level: When the basic authentication mode is read, determine whether the current permission meets the permission of the basic authentication mode. If yes, allow the visitor to enter; if not, prohibit the visitor from entering and give prompts and warnings; When the reading is the medium authentication mode, the basic identity information of the visitor at the second reading information level and the facial image information at the third reading information level are read, and it is determined whether the current authority is lower than or meets the authority of the medium authentication mode. If so, the visitor is allowed to enter; if not, the visitor is prohibited from entering and a prompt and warning are given; When the reading is advanced authentication mode, the QR code entry information of the second reading information level and the facial image information of the third reading information level are read, the QR code entry information is restored by decoding, and it is determined whether the current authority is lower than or consistent with the authority of the advanced authentication mode. If so, the visitor is allowed to enter, if not, the visitor is prohibited from entering, and prompts and warnings are given.
[0008] Preferably, the establishment of an automatic entrance and exit access data sorting model based on the deep reinforcement learning model for classifying and sorting the entrance and exit access data specifically includes: Extract the QR code identity authentication level serial number feature, and establish the environment state sequence of entrance and exit access according to the QR code identity authentication level serial number feature; Establish an action sequence for entrance and exit access based on the classification and sorting actions corresponding to the QR code identity authentication level serial number; According to the visitor history data under the three-level authentication mode, the environmental state sequence probability matrix of the entrance and exit access and the action sequence probability matrix of the entrance and exit access are calculated respectively; Based on the Markov chain algorithm, the probability matrix of the environment state sequence of the entrance access, the probability matrix of the action sequence of the entrance access, and the deep reinforcement learning probability trajectory between the reward values are analyzed, and the state probability value at the future moment is confirmed; According to the deep reinforcement learning probability trajectory, calculate the cumulative reward feedback value corresponding to completing a classification decision; Based on the Bellman equation, an automatic arrangement model for entrance and exit access data is established according to the probability matrix of the environmental state sequence of the entrance and exit access, the probability matrix of the action sequence of the entrance and exit access, and the accumulated reward feedback value. According to the entrance and exit access data automatic sorting model, the received entrance and exit access data is automatically classified and sorted in real time; the Markov chain algorithm is: in, is the probability matrix of the environment state sequence accessed by the entrance and exit In the state The state probability, is the future probability matrix of the environmental state sequence accessed by the entrance and exit status, is the current probability matrix of the environmental state sequence accessed by the entrance and exit status; The cumulative reward feedback value expression corresponding to completing a classification decision is: in, To complete a classification decision The cumulative reward feedback value corresponding to each state is: is the discount factor for the future impact on the present, To complete a classification decision The reward feedback value corresponding to each state; The Bellman equation is expressed as: In the formula, To select The state value function value of the environment state under the entrance and exit access, For the Select the first entry and exit access environment The probability of the action of accessing an entrance and exit, For the The environmental status of the entrance and exit access and the selection of the The probability of the feedback reward value under the action of accessing the entrance and exit, is the reward feedback value of the corresponding state when completing a classification decision. For the Select the first entry and exit access environment The next state value function value of the action accessed by the entrance and exit, To select The next state value function value under the environment state visited by the entrance and exit.
[0009] Preferably, the entrance and exit access security assessment coefficient expression is: In the formula, is the entrance and exit access security assessment factor, is the number of identity authentication level serial numbers with the same QR code, For the The number of abnormal prompts when accessing the entrance and exit, is the abnormal prompt fitting weight. In the formula, is the entrance and exit access security assessment factor, is the number of identity authentication level serial numbers with the same QR code, For the The number of abnormal prompts when accessing the entrance and exit, Fit weights for anomaly hints.
[0010] Preferably, the establishment of a human-computer interaction platform for receiving and storing access information of entrances and exits and processing according to the warning information specifically includes: Use Internet of Things technology to establish a human-computer interaction platform; Based on the human-computer interaction platform, the access information of the entrances and exits is received and stored, and the access information of each entrance and exit can be actively retrieved through the human-computer interaction platform; Based on the human-computer interaction platform, it is used to build the operating environment of the entrance and exit access data automatic sorting model and the storage of entrance and exit access data; Based on the human-computer interaction platform, it is used to build a computing environment for data update and iteration of the entrance and exit access security assessment coefficient, ensuring timely identification and simplifying the reading of QR code data; Based on the visual interface of the human-computer interaction platform, abnormal information on access to each entrance and exit is displayed in real time through dialog boxes, and alarm warnings are issued through colored indicator lights and speakers.
[0011] Furthermore, this solution proposes an entrance and exit management system based on QR code and real-name authentication, which is used to implement the entrance and exit management method based on QR code and real-name authentication as described above, including: An authentication mode module, which is used to set the verification content of the QR code identity authentication level according to the access rights of the entrance and exit and in accordance with the three-level authentication mode; A classification and optimization module, wherein the classification and optimization module is used to set a QR code identity authentication level serial number according to the verification content of the QR code identity authentication level; establish an automatic sorting model for entrance and exit access data according to a deep reinforcement learning model, which is used to classify and sort the entrance and exit access data; establish an entrance and exit access security assessment coefficient according to the data sorting results of the automatic sorting model for entrance and exit access data, and determine whether to simplify the reading of the QR code data; A human-computer interaction module is used to establish a human-computer interaction platform, to receive and store access information of entrances and exits, and to process according to the early warning information.
[0012] Preferably, the classification and optimization module specifically includes: A read priority unit, the read priority unit is used to set the QR code identity authentication level sequence number according to the verification content of the QR code identity authentication level; A data classification unit, the data classification unit is used to establish an automatic sorting model for entrance and exit access data according to a deep reinforcement learning model, and is used to classify and sort the entrance and exit access data; An evaluation and optimization unit is used to establish an entrance and exit access security evaluation coefficient based on the data sorting results of the entrance and exit access data automatic sorting model, and to determine whether to simplify the reading of the two-dimensional code data.
[0013] Compared with the prior art, the present invention has the following beneficial effects: By setting a three-level authentication mode according to the access rights of the entrances and exits, managing the permission settings for different visitor needs, and setting the priority of QR code information reading through the QR code identity authentication level serial number, and judging the access rights to the entrances and exits based on the read QR code information, it is identified whether the visitor meets the current permissions, thereby effectively managing the entrances and exits. Secondly, based on the deep reinforcement learning model, an automatic sorting model for entrance and exit access data is established, and through this model, the received entrance and exit access data is automatically classified and sorted in real time, thereby improving the updating and sorting efficiency of the entrance and exit access data. Finally, by establishing an entrance and exit access security assessment coefficient, for visitors with a large number of visits and a higher security factor, the content of QR code information reading is simplified, effectively improving the efficiency of QR code recognition and reducing the waiting time for visitors to enter, and reducing the congestion at the entrances and exits, so that this solution can effectively reduce human intervention, improve the security factor and management efficiency of entrance and exit access authentication, and achieve the purpose of refined management of permissions. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 A flow chart of an entrance and exit management method based on QR code and real-name authentication of the present invention; Figure 2 A flowchart of setting a QR code identity authentication level sequence number for the verification content according to the QR code identity authentication level of the present invention; Figure 3 According to the deep reinforcement learning model of the present invention, an automatic sorting model for entrance and exit access data is established, which is used to classify and sort the flow chart of entrance and exit access data; Figure 4 According to the data sorting result of the entrance and exit access data automatic sorting model of the present invention, an entrance and exit access security assessment coefficient is established, and a flow chart for determining whether to simplify the reading of the two-dimensional code data is determined. DETAILED DESCRIPTION
[0015] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art may think of other obvious variations.
[0016] Reference Figure 1 As shown, an entrance and exit management method based on QR code and real-name authentication includes: According to the access rights of the entrance and exit, set the verification content of the QR code identity authentication level according to the three-level authentication model; According to the verification content of the QR code identity authentication level, set the QR code identity authentication level serial number; Based on the deep reinforcement learning model, an automatic organization model for entrance and exit access data is established to classify and organize entrance and exit access data; According to the data sorting results of the entrance and exit access data automatic sorting model, establish the entrance and exit access security assessment coefficient, and identify whether to simplify the reading of the QR code data; Establish a human-computer interaction platform to receive and store access information of entrances and exits, and process it according to the early warning information.
[0017] It can be explained that this scheme sets a three-level authentication mode according to the access rights of the entrances and exits, manages the permission settings for different visitor needs, and sets the priority of QR code information reading through the QR code identity authentication level serial number, and judges the access rights to the entrances and exits based on the read QR code information to identify whether the visitor meets the current rights, thereby effectively managing the entrances and exits. Secondly, based on the deep reinforcement learning model, an automatic sorting model for entrance and exit access data is established, and through this model, the received entrance and exit access data is automatically classified and sorted in real time, thereby improving the updating and sorting efficiency of the entrance and exit access data. Finally, by establishing an entrance and exit access security assessment coefficient, the content of QR code information reading is simplified for visitors with a large number of visits and a higher security factor, effectively improving the efficiency of QR code recognition and the waiting time for fewer visitors to enter, and reducing the congestion at the entrances and exits, so that this scheme can effectively reduce human intervention, improve the security factor and management efficiency of entrance and exit access authentication, and achieve the purpose of refined management of permissions.
[0018] Reference Figure 2 As shown, the setting of the QR code identity authentication level serial number according to the verification content of the QR code identity authentication level specifically includes: Set the priority of QR code information reading according to the verification content of the QR code identity authentication level; Set the QR code identity authentication level serial number as the first reading information level, the visitor's identity text information as the second reading information level, and the visitor's picture information as the third reading information level; The format of the QR code identity authentication level serial number is: authentication mode sequence + QR code generation date sequence + QR code sorting sequence + the last four digits of the ID card sequence; The specific process of the priority of the two-dimensional code information reading is as follows: The first read information level is read first, and the following determination is made by identifying the three-level authentication mode of the first read information level: When the basic authentication mode is read, determine whether the current permission meets the permission of the basic authentication mode. If yes, allow the visitor to enter; if not, prohibit the visitor from entering and give prompts and warnings; When the reading is the medium authentication mode, the basic identity information of the visitor at the second reading information level and the facial image information at the third reading information level are read, and it is determined whether the current authority is lower than or meets the authority of the medium authentication mode. If so, the visitor is allowed to enter; if not, the visitor is prohibited from entering and a prompt and warning are given; When the reading is advanced authentication mode, the QR code entry information of the second reading information level and the facial image information of the third reading information level are read, the QR code entry information is restored by decoding, and it is determined whether the current authority is lower than or consistent with the authority of the advanced authentication mode. If so, the visitor is allowed to enter, if not, the visitor is prohibited from entering, and prompts and warnings are given.
[0019] It can be explained that while storing a large amount of information, the QR code will increase the time it takes for the device to read the information. At the same time, the low security of basic QR code technology can easily lead to information theft or misuse. This solution identifies the QR code identity authentication level serial number, sets the first reading information level information, the second reading information level information and the third reading information level information, and gradually collects and obtains the data in the QR code, and further verifies the permission settings through other authentication methods, thereby effectively reducing the device's reading time for the QR code information and improving the security of QR code permission management.
[0020] Reference Figure 3 As shown, the automatic sorting model for entrance and exit access data is established based on the deep reinforcement learning model, which is used to classify and sort the entrance and exit access data, and specifically includes: Extract the QR code identity authentication level serial number feature, and establish the environment state sequence of entrance and exit access according to the QR code identity authentication level serial number feature; Establish an action sequence for entrance and exit access based on the classification and sorting actions corresponding to the QR code identity authentication level serial number; According to the visitor history data under the three-level authentication mode, the environmental state sequence probability matrix of the entrance and exit access and the action sequence probability matrix of the entrance and exit access are calculated respectively; Based on the Markov chain algorithm, the probability matrix of the environment state sequence of the entrance access, the probability matrix of the action sequence of the entrance access, and the deep reinforcement learning probability trajectory between the reward values are analyzed, and the state probability value at the future moment is confirmed; According to the deep reinforcement learning probability trajectory, calculate the cumulative reward feedback value corresponding to completing a classification decision; Based on the Bellman equation, an automatic arrangement model for entrance and exit access data is established according to the probability matrix of the environmental state sequence of the entrance and exit access, the probability matrix of the action sequence of the entrance and exit access, and the accumulated reward feedback value. According to the entrance and exit access data automatic sorting model, the received entrance and exit access data is automatically classified and sorted in real time; the Markov chain algorithm is: in, is the probability matrix of the environment state sequence accessed by the entrance and exit In the state The state probability, is the future probability matrix of the environmental state sequence accessed by the entrance and exit status, is the current probability matrix of the environmental state sequence accessed by the entrance and exit status; The cumulative reward feedback value expression corresponding to completing a classification decision is: in, To complete a classification decision The cumulative reward feedback value corresponding to each state is: is the discount factor for the future impact on the present, To complete a classification decision The reward feedback value corresponding to each state; The Bellman equation is expressed as: In the formula, To select The state value function value of the environment state under the entrance and exit access, For the Select the first entry and exit access environment The probability of the action of accessing an entrance and exit, For the The environmental status of the entrance and exit access and the selection of the The probability of the feedback reward value under the action of accessing the entrance and exit, is the reward feedback value of the corresponding state when completing a classification decision. For the Select the first entry and exit access environment The next state value function value of the action accessed by the entrance and exit, To select The next state value function value under the environment state visited by the entrance and exit.
[0021] It can be explained that based on the security of entrance and exit management and the purpose of refined permission management, human participation and operation should be reduced. This solution builds an automatic organization model environment for entrance and exit access data based on the knowledge of deep reinforcement learning models, and establishes corresponding input matrices and reward feedback values. Through learning and training of this model, the received entrance and exit access data can be automatically classified and organized in real time, thereby improving the updating and organization efficiency of entrance and exit access data, reducing the impact of human intervention, and improving the security of entrance and exit management.
[0022] Reference Figure 4 As shown, the data sorting result of the entrance and exit access data automatic sorting model is used to establish the entrance and exit access security assessment coefficient, and to determine whether to simplify the reading of the two-dimensional code data, specifically including: According to the data sorting result of the entrance and exit access data automatic sorting model, the entrance and exit access history data with the same QR code identity authentication level serial number is obtained; Count and obtain the number of visits and abnormal information during authentication of visitors with the same QR code identity authentication level serial number; According to the number of entrance and exit accesses and abnormal information during authentication, establish the entrance and exit access security assessment coefficient; Based on big data analysis, set the threshold of entrance and exit access security assessment coefficient; Determine whether the current entrance and exit access security assessment coefficient value is greater than the threshold. If so, mark the visitor as a safe visitor and allow safe access to the current entrance and exit, and simplify the information reading of the second reading information level. In the future, mainly read the facial image information of the third reading information level for comparison and identification. If not, continue to remain unchanged; The entrance and exit access security assessment coefficient expression is: In the formula, is the entrance and exit access security assessment factor, is the number of identity authentication level serial numbers with the same QR code, For the The number of abnormal prompts when accessing the entrance and exit, Fit weights for anomaly hints.
[0023] It can be explained that for visitors who frequently enter and exit and have a high security factor, the reading of the QR code information can be simplified, and the reading time of the device for the QR code information can be further optimized, thereby improving the device's authentication efficiency for visitors. This solution establishes an entrance and exit access security assessment coefficient based on the number of visits and the results of the three-level authentication model. By determining the relationship between the current entrance and exit access security assessment coefficient value and the threshold, it is possible to determine whether to simplify the visitor's authentication information, thereby achieving the purpose of optimizing the device's reading time for the QR code information. Secondly, the decision tree model can effectively update and classify visitor data in real time, improving the system's data sorting capabilities. Among them, for formula It is a variation of the formula for finding the RMS value. It can reflect the degree of abnormal prompts during entrance access, thereby improving the accuracy of the entrance access security assessment coefficient. The RMS value expression is: Further, based on the same inventive concept as the above-mentioned entrance and exit management method based on QR code and real-name authentication, this solution proposes an entrance and exit management system based on QR code and real-name authentication, including: An authentication mode module, which is used to set the verification content of the QR code identity authentication level according to the access rights of the entrance and exit and in accordance with the three-level authentication mode; A classification and optimization module, wherein the classification and optimization module is used to set a QR code identity authentication level serial number according to the verification content of the QR code identity authentication level; establish an automatic sorting model for entrance and exit access data according to a deep reinforcement learning model, which is used to classify and sort the entrance and exit access data; establish an entrance and exit access security assessment coefficient according to the data sorting results of the automatic sorting model for entrance and exit access data, and determine whether to simplify the reading of the QR code data; A human-computer interaction module, which is used to establish a human-computer interaction platform, receive and store access information of entrances and exits, and process it according to the warning information; The classification and optimization modules specifically include: A read priority unit, the read priority unit is used to set the QR code identity authentication level sequence number according to the verification content of the QR code identity authentication level; A data classification unit, the data classification unit is used to establish an automatic sorting model for entrance and exit access data according to a deep reinforcement learning model, and is used to classify and sort the entrance and exit access data; An evaluation and optimization unit is used to establish an entrance and exit access security evaluation coefficient based on the data sorting results of the entrance and exit access data automatic sorting model, and to determine whether to simplify the reading of the two-dimensional code data.
[0024] In summary, the advantages of the present invention are: by setting a three-level authentication mode according to the access rights of the entrances and exits, managing the permission settings required by different visitors, and setting the priority of QR code information reading through the QR code identity authentication level serial number, and judging the access rights to the entrances and exits based on the read QR code information, identifying whether the visitor meets the current rights, thereby effectively managing the entrances and exits, secondly, according to the deep reinforcement learning model, an automatic sorting model for entrance and exit access data is established, and through the model, the received entrance and exit access data is automatically classified and sorted in real time, thereby improving the updating and sorting efficiency of the entrance and exit access data, and finally, by establishing an entrance and exit access security assessment coefficient, for visitors with a large number of visits and a higher security factor, the content of QR code information reading is simplified, the efficiency of QR code recognition and the waiting time for fewer visitors to enter are effectively improved, and the congestion of the entrances and exits is reduced, so that the present scheme can effectively reduce human intervention, improve the security factor and management efficiency of entrance and exit access authentication, and achieve the purpose of refined management of permissions.
[0025] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The above embodiments and descriptions only describe the principles of the present invention. The present invention may be subject to various changes and improvements without departing from the spirit and scope of the present invention. These changes and improvements fall within the scope of the present invention. The scope of protection claimed by the present invention is defined by the attached claims and their equivalents.
Claims
1. An entrance and exit management method based on QR code and real-name authentication, characterized in that: include: According to the access rights of the entrance and exit, set the verification content of the QR code identity authentication level according to the three-level authentication model; According to the verification content of the QR code identity authentication level, set the QR code identity authentication level serial number; Based on the deep reinforcement learning model, an automatic organization model for entrance and exit access data is established to classify and organize entrance and exit access data; According to the data sorting results of the entrance and exit access data automatic sorting model, establish the entrance and exit access security assessment coefficient, and identify whether to simplify the reading of the QR code data; Establish a human-computer interaction platform to receive and store access information of entrances and exits, and process it according to the early warning information; The method of establishing an entrance access security assessment coefficient based on the data sorting result of the entrance access data automatic sorting model and determining whether to simplify the reading of the QR code data specifically includes: According to the data sorting result of the entrance and exit access data automatic sorting model, the entrance and exit access history data with the same QR code identity authentication level serial number is obtained; Count and obtain the number of visits and abnormal information during authentication of visitors with the same QR code identity authentication level serial number; According to the number of entrance and exit accesses and abnormal information during authentication, establish the entrance and exit access security assessment coefficient; Based on big data analysis, set the threshold of entrance and exit access security assessment coefficient; Determine whether the current entrance and exit access security assessment coefficient value is greater than the threshold. If so, mark the visitor as a safe visitor and can safely access the current entrance and exit, and simplify the information reading of the second reading information level. In the future, mainly read the facial image information of the third reading information level for comparison and identification. If not, continue to remain unchanged.
2. According to claim 1, a method for entrance and exit management based on QR code and real-name authentication is characterized in that: According to the access rights of the entrance and exit, according to the three-level authentication mode, the verification content of the QR code identity authentication level is set specifically including: According to the access rights of the entrances and exits, access level intervals are set, and different access level intervals are classified and summarized into the three-level authentication model according to the three-level authentication model; According to the three-level authentication model, set the verification content of the QR code identity authentication level; The three-level authentication model specifically includes: Basic authentication, suitable for entrance and exit management that only requires simple registration; Medium authentication, suitable for work, living areas or entrance and exit management with lower authority; Advanced authentication, suitable for confidentiality or more important access management; Among them, the access rights of the three-level authentication mode are gradually increased in the order of basic-intermediate-advanced. The superior can directly access the subordinate, but the subordinate cannot directly access the superior; The verification content of setting the QR code identity authentication level specifically includes: For basic authentication mode access, a temporary QR code ID card is generated by software to register the visitor's entry and exit information and simple identity information; For medium authentication mode access, the QR code ID card needs to record the visitor's basic identity information and image information, and further authenticate the QR code information through face recognition technology; For access in advanced authentication mode, set up a QR code entry with confidentiality and security performance to record the visitor's detailed identity information, and further authenticate the QR code information through face recognition technology and fingerprint authentication; The method of setting up two-dimensional code entries with confidentiality and security performance is a method of encrypting the entries in a random order and maintaining confidentiality through a unique decoding method.
3. The entrance and exit management method based on QR code and real-name authentication according to claim 2 is characterized in that: The setting of the QR code identity authentication level serial number according to the verification content of the QR code identity authentication level specifically includes: Set the priority of QR code information reading according to the verification content of the QR code identity authentication level; Set the QR code identity authentication level serial number as the first reading information level, the visitor's identity text information as the second reading information level, and the visitor's picture information as the third reading information level; The format of the QR code identity authentication level serial number is: authentication mode sequence + QR code generation date sequence + QR code sorting sequence + the last four digits of the ID card sequence; The specific process of the priority of the two-dimensional code information reading is as follows: The first read information level is read first, and the following determination is made by identifying the three-level authentication mode of the first read information level: When the basic authentication mode is read, determine whether the current permission meets the permission of the basic authentication mode. If yes, allow the visitor to enter; if not, prohibit the visitor from entering and give prompts and warnings; When the reading is the medium authentication mode, the basic identity information of the visitor at the second reading information level and the facial image information at the third reading information level are read, and it is determined whether the current authority is lower than or meets the authority of the medium authentication mode. If so, the visitor is allowed to enter; if not, the visitor is prohibited from entering and a prompt and warning are given; When the reading is advanced authentication mode, the QR code entry information of the second reading information level and the facial image information of the third reading information level are read, the QR code entry information is restored by decoding, and it is determined whether the current authority is lower than or consistent with the authority of the advanced authentication mode. If so, the visitor is allowed to enter, if not, the visitor is prohibited from entering, and prompts and warnings are given.
4. The entrance and exit management method based on QR code and real-name authentication according to claim 3 is characterized in that: The automatic arrangement model of entrance and exit access data is established according to the deep reinforcement learning model, and is used to classify and arrange the entrance and exit access data, which specifically includes: Extract the QR code identity authentication level serial number feature, and establish the environment state sequence of entrance and exit access according to the QR code identity authentication level serial number feature; Establish an action sequence for entrance and exit access based on the classification and sorting actions corresponding to the QR code identity authentication level serial number; According to the visitor history data under the three-level authentication mode, the environmental state sequence probability matrix of the entrance and exit access and the action sequence probability matrix of the entrance and exit access are calculated respectively; Based on the Markov chain algorithm, the probability matrix of the environment state sequence of the entrance access, the probability matrix of the action sequence of the entrance access, and the deep reinforcement learning probability trajectory between the reward values are analyzed, and the state probability value at the future moment is confirmed; According to the deep reinforcement learning probability trajectory, calculate the cumulative reward feedback value corresponding to completing a classification decision; Based on the Bellman equation, an automatic arrangement model for entrance and exit access data is established according to the probability matrix of the environmental state sequence of the entrance and exit access, the probability matrix of the action sequence of the entrance and exit access, and the accumulated reward feedback value. According to the automatic sorting model of entrance and exit access data, the received entrance and exit access data is automatically classified and sorted in real time; The Markov chain algorithm is: in, is the probability matrix of the environment state sequence accessed by the entrance and exit In the state The state probability, is the future probability matrix of the environmental state sequence accessed by the entrance and exit status, is the current probability matrix of the environmental state sequence accessed by the entrance and exit status; The cumulative reward feedback value expression corresponding to completing a classification decision is: in, To complete a classification decision The cumulative reward feedback value corresponding to each state is: is the discount factor for the future impact on the present, To complete a classification decision The reward feedback value corresponding to each state; The Bellman equation is expressed as: In the formula, To select The state value function value of the environment state under the entrance and exit access, For the Select the first entry and exit access environment The probability of the action of accessing an entrance and exit, For the The environmental status of the entrance and exit access and the selection of the The probability of the feedback reward value under the action of accessing the entrance and exit, is the reward feedback value of the corresponding state when completing a classification decision. For the Select the first entry and exit access environment The next state value function value of the action accessed by the entrance and exit, To select The next state value function value under the environment state visited by the entrance and exit.
5. The entrance and exit management method based on QR code and real-name authentication according to claim 4 is characterized in that: The entrance and exit access security assessment coefficient expression is: In the formula, is the entrance and exit access security assessment factor, is the number of identity authentication level serial numbers with the same QR code, For the The number of abnormal prompts when accessing the entrance and exit, Fit weights for anomaly hints.
6. The entrance and exit management method based on QR code and real-name authentication according to claim 5, characterized in that: The establishment of a human-computer interaction platform for receiving and storing access information of entrances and exits and processing according to the early warning information specifically includes: Use Internet of Things technology to establish a human-computer interaction platform; Based on the human-computer interaction platform, the access information of the entrances and exits is received and stored, and the access information of each entrance and exit can be actively retrieved through the human-computer interaction platform; Based on the human-computer interaction platform, it is used to build the operating environment of the entrance and exit access data automatic sorting model and the storage of entrance and exit access data; Based on the human-computer interaction platform, it is used to build a computing environment for data update and iteration of the entrance and exit access security assessment coefficient, ensuring timely identification and simplifying the reading of QR code data; Based on the visual interface of the human-computer interaction platform, abnormal information on access to each entrance and exit is displayed in real time through dialog boxes, and alarm warnings are issued through colored indicator lights and speakers.
7. An entrance and exit management system based on QR code and real-name authentication, characterized in that: The method for implementing the entrance and exit management method based on QR code and real-name authentication as claimed in any one of claims 1 to 6 comprises: An authentication mode module, which is used to set the verification content of the QR code identity authentication level according to the access rights of the entrance and exit and in accordance with the three-level authentication mode; A classification and optimization module, wherein the classification and optimization module is used to set a QR code identity authentication level serial number according to the verification content of the QR code identity authentication level; establish an automatic sorting model for entrance and exit access data according to a deep reinforcement learning model, which is used to classify and sort the entrance and exit access data; establish an entrance and exit access security assessment coefficient according to the data sorting results of the automatic sorting model for entrance and exit access data, and determine whether to simplify the reading of the QR code data; A human-computer interaction module is used to establish a human-computer interaction platform, to receive and store access information of entrances and exits, and to process according to the early warning information.
8. The entrance and exit management system based on QR code and real-name authentication according to claim 7, characterized in that: The classification and optimization module specifically includes: A read priority unit, the read priority unit is used to set the QR code identity authentication level serial number according to the verification content of the QR code identity authentication level; A data classification unit, the data classification unit is used to establish an automatic sorting model for entrance and exit access data according to a deep reinforcement learning model, and is used to classify and sort the entrance and exit access data; An evaluation and optimization unit is used to establish an entrance and exit access security evaluation coefficient based on the data sorting results of the entrance and exit access data automatic sorting model, and to determine whether to simplify the reading of the two-dimensional code data.