Room patrol control method and system based on two-dimensional code unlocking
Through QR code unlocking technology, the problem of identity verification convenience and security of smart door locks during school dormitory patrols is solved, and convenient and safe patrol control is realized, which is suitable for environments where personnel are frequently changed.
Patent Information
- Application Number
- CN202410743291.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-05-30
- Filing Date
- 2024-06-08
- Publication Date
- 2024-09-06
AI Technical Summary
During the room patrol process of smart door locks in school dormitories, existing identity verification methods (such as passwords or biometric information) have convenience and security issues, especially during frequent personnel changes and patrol operations, making identity verification troublesome and Not safe.
Adopting a QR code-based room patrol control method, through the interaction between the server and the mobile terminal, the room unlocking authorization of the patrol personnel is constructed in advance, and the lock is unlocked by scanning the QR code information, realizing the convenience and security of identity verification. .
It greatly improves the convenience and security of identity verification for patrol personnel, ensures the smooth execution of the patrol process, and generates patrol records to help the school better manage security issues in the dormitory.
Smart Images

Figure CN118609244A
Abstract
Description
Technical Field
[0001] The invention relates to a security verification-based unlocking technology for an intelligent lock. Background Art
[0002] A smart lock is an electronic lock with a processor, which controls the unlocking and locking of the lock by executing a computer program through the processor. The security verification of unlocking the lock is achieved by the processor executing a computer program. There are many ways to verify the identity security of unlocking existing smart door locks, such as through passwords or through biometric information. When using passwords for identity authentication, there are problems such as possible password leakage and the inconvenience of password input. When using biometric information for identity authentication, there are the troubles of entering and saving biometric information. In particular, biometric information is a personal privacy, and there may be security issues of biometric information leakage when it is stored in the lock. In addition, there are also problems with the use of biometric information. For example, in the fingerprint mode, it may not be usable if the finger is worn, stained, or the weather is cold.
[0003] When smart door locks are installed in each room of a school dormitory, there are great security issues when using biometric information to unlock or password to unlock. This is because each room in a school dormitory needs to accommodate multiple people, and the students living in the room need to be changed frequently due to semester adjustments, graduation of old students, and enrollment of new students. Entering biometric information into the lock will become a huge workload. On the other hand, school dormitories also have the problem of dormitory management or security guards patrolling the rooms. When patrolling, it is not very suitable to use biometric information to unlock or password to unlock. Summary of the invention
[0004] Problems to be solved by the present invention include: problems such as the convenience of identity verification of patrol personnel when the smart door lock is unlocked during room patrol and security control of the patrol personnel's identity.
[0005] To solve the above problems, the solution adopted by the present invention is as follows: According to a room patrol control method based on QR code unlocking of the present invention, the method comprises the following steps: The server receives a room patrol plan; the room patrol plan includes: patrol time, patrol personnel and patrol route; the patrol route is composed of several rooms arranged in sequence; the patrol time at least includes the patrol start time; After establishing a secure connection with the mobile terminal through user identity authentication of the patrol personnel through interaction with the mobile terminal, the server matches the patrol personnel in the room patrol plan with the patrol personnel corresponding to the mobile terminal user; if the patrol personnel corresponding to the mobile terminal user has a corresponding room patrol plan, the corresponding room patrol plan is dispatched to the corresponding mobile terminal; The server tracks the patrol time of the room patrol plan. Before the allowed time preset at the patrol start time, the server constructs the room unlocking authorization of the patrol personnel in advance for the first room of the patrol route of the corresponding room patrol plan and sends it to the lock; After receiving the room patrol plan, the mobile terminal displays the room patrol plan on the screen according to the received user operation; when the current time enters the patrol time range, the mobile terminal receives the user's room patrol instruction in the room patrol sequence determined by the patrol route of the room patrol plan displayed on the screen; when receiving the room patrol instruction, the mobile terminal sends a room patrol request corresponding to the room patrol instruction to the server; When the server receives a room patrol request, it matches the corresponding room unlocking authorization; if the corresponding room unlocking authorization exists, it generates the corresponding lock unlocking QR code information according to the room unlocking authorization and returns it to the mobile terminal; After the mobile terminal receives the unlocking QR code information of the corresponding room's lock, it is displayed in the form of a picture on the screen; After the lock receives the room unlocking authorization, it is saved in the authorization queue; After scanning the QR code image displayed by the lock unlocking QR code information, the lock extracts the lock unlocking QR code information from the QR code image, compares the lock unlocking QR code information with the room unlocking authorization in the authorization queue, and if there is a room unlocking authorization in the authorization queue that matches the lock unlocking QR code information, the unlocking action is performed; The room unlocking authorization at least includes an authorization period and an unlocking authorization code; the lock unlocking QR code information at least includes an unlocking authorization code.
[0006] Further, according to the room patrol control method based on QR code unlocking of the present invention, the method also includes the following steps: The server manages the room unlocking authorization according to the authorization period. If the current time exceeds the authorization period of the room unlocking authorization, the corresponding room unlocking authorization will be deleted.
[0007] Further, according to the room patrol control method based on QR code unlocking of the present invention, the method also includes: After receiving the room patrol request and generating the lock unlocking QR code information, the server constructs the room unlocking authorization for the patrol personnel for the next room on the patrol route in the room patrol plan and sends it to the lock.
[0008] Further, according to the room patrol control method based on QR code unlocking of the present invention, the method also includes the following steps: The server receives the room authorization personnel configuration, and builds room unlocking authorization for each authorized person in the room according to the room authorization personnel configuration and sends it to the lock; After receiving the room unlocking request sent by the mobile terminal, if the mobile terminal user and the authorizer in the room unlocking authorization match, the server generates the corresponding lock unlocking QR code information and returns it to the mobile terminal; Further, according to a room patrol control method based on QR code unlocking of the present invention, the room unlocking authorization includes a patrol plan identification code; the method further includes the following steps: After the lock is matched to the corresponding room unlocking authorization, if the patrol plan identification code in the room unlocking authorization is not empty, the room patrol unlocking record is returned to the server; The server generates a patrol log after receiving the room patrol unlocking record.
[0009] According to a room patrol control system based on QR code unlocking of the present invention, the system comprises a server, a mobile terminal and a lock; the server comprises the following modules: The module is used to: receive a room patrol plan; the room patrol plan includes: patrol time, patrol personnel and patrol route; the patrol route is composed of several rooms arranged in sequence; the patrol time at least includes the patrol start time; The module is used to: after establishing a secure connection with the mobile terminal through interaction with the mobile terminal to authenticate the user identity of the patrol personnel, match the patrol personnel in the room patrol plan with the patrol personnel corresponding to the mobile terminal user; if the patrol personnel corresponding to the mobile terminal user has a corresponding room patrol plan, the corresponding room patrol plan is dispatched to the corresponding mobile terminal; A module, used for: tracking the patrol time of the room patrol plan, and before the pre-set allowed time of the patrol start time, the server constructs the room unlocking authorization of the patrol personnel in advance for the first room of the patrol route of the corresponding room patrol plan and sends it to the lock; The module is used to: when receiving a room patrol request, match the corresponding room unlocking authorization; if the corresponding room unlocking authorization exists, generate the corresponding lock unlocking QR code information according to the room unlocking authorization and return it to the mobile terminal; The mobile terminal includes the following modules: The module is used to: after receiving the room patrol plan, display the room patrol plan on the screen according to the received user operation; when the current time enters the patrol time range, receive the user's room patrol instruction according to the room patrol sequence determined by the patrol route of the room patrol plan displayed on the screen; when receiving the room patrol instruction, send the room patrol request corresponding to the room patrol instruction to the server; The module is used to: after receiving the lock unlocking QR code information of the corresponding room, display it in the form of a picture on the screen; The lock comprises the following modules: Module, used to: save the room unlocking authorization to the authorization queue after receiving it; A module is used to: after scanning the QR code image displayed by the lock unlocking QR code information, extract the lock unlocking QR code information from the QR code image, compare the lock unlocking QR code information with the room unlocking authorization in the authorization queue, and if there is a room unlocking authorization in the authorization queue that matches the lock unlocking QR code information, then perform the unlocking action; The room unlocking authorization at least includes an authorization period and an unlocking authorization code; the lock unlocking QR code information at least includes an unlocking authorization code.
[0010] Further, according to the room patrol control system based on QR code unlocking of the present invention, the server also includes the following modules: The module is used to manage the room unlocking authorization according to the authorization period. If the current time exceeds the authorization period of the room unlocking authorization, the corresponding room unlocking authorization is deleted.
[0011] Further, according to the room patrol control system based on QR code unlocking of the present invention, the server also includes the following modules: The module is used to generate a lock unlocking QR code information after receiving a room patrol request, and then construct a room unlocking authorization for the patrol personnel for the next room on the patrol route in the room patrol plan and send it to the lock.
[0012] Further, according to the room patrol control system based on QR code unlocking of the present invention, the server also includes the following modules: A module is used to: receive the room authorization personnel configuration, and construct room unlocking authorization for each authorized person in the room according to the room authorization personnel configuration and send it to the lock; The module is used to: after receiving the room unlocking request sent by the mobile terminal, if the mobile terminal user and the authorizer in the room unlocking authorization match, generate the corresponding lock unlocking QR code information and return it to the mobile terminal; Further, according to the room patrol control system based on QR code unlocking of the present invention, the room unlocking authorization includes a patrol plan identification code; the lock also includes the following modules: The module is used to return the room patrol unlocking record to the server after matching the corresponding room unlocking authorization and if the patrol plan identification code in the room unlocking authorization is not empty; The server also includes the following modules: The module is used to generate a patrol log after receiving the room patrol unlocking record.
[0013] The technical effects of the present invention are as follows:
[0014] The present invention transfers the identity authentication of patrol personnel by the lock to the identity authentication of mobile terminal users by the server through the interaction between the mobile terminal, the server and the lock, using the QR code as the medium, thereby greatly enhancing the convenience of identity authentication and also greatly improving security.
[0015] The present invention gradually generates room unlocking authorization according to the patrol route of the patrol plan, which not only controls the patrol process so that the patrol plan can be effectively executed, but also can generate patrol records. Therefore, when the method is applied in schools, the schools can better grasp the life safety of students in school dormitories and other issues. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 It is a timing diagram of the interaction between the roles in the embodiment of the present invention.
[0017] Figure 2 It is a schematic diagram of the structure of a dormitory door lock control system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0018] The present invention is further described in detail below with reference to the accompanying drawings.
[0019] Figure 2An example of a dormitory door lock control system is provided, including a server 100, a mobile terminal 200, and a door lock 300 of a dormitory room. The mobile terminal 200 and the door lock 300 are connected to the server 100 via a network. The door lock 300 here is the lock referred to in the present invention. The server 100, the mobile terminal 200, and the door lock 300 are all von Neumann computing devices, including a processor, a memory, and a communication unit. The memory and the communication unit are connected to the processor. The memory is used to store a computer program instruction set and data, and is usually a non-volatile storage medium that is not lost after power failure, including but not limited to a disk, a tape, a flash memory, etc. The processor is a general-purpose computer processor that can execute computer program instructions. When the computer program instruction set stored in the memory is loaded and executed by the processor, the computing device can realize the corresponding function. Specifically, with respect to the server 100, the mobile terminal 200, and the door lock 300 in this embodiment, the server 100, the mobile terminal 200, and the door lock 300 implement the room patrol control method based on QR code unlocking referred to in the present invention by executing the computer program instruction set. The server 100 can be implemented by a single computing device, or a cluster composed of several computing devices, or a cloud service. In the present embodiment, the mobile terminal 200 is usually a smart phone or a PDA held by the patrol personnel. In addition to the processor, memory and communication unit, it also includes a screen for interacting with the user and connecting to the processor, and a component for receiving user operations and connecting to the processor. The component for receiving user operations is usually a touch screen integrated with the screen. In addition to the processor, memory and communication unit, the door lock 300 also includes a control panel and an electronic lock core connected to the processor. In the door lock 300, the processor interacts with the user by executing a computer program instruction set with the help of the control panel. In the present embodiment, the control panel of the door lock 300 is equipped with at least a camera for scanning a QR code image and connecting to the processor. The electronic lock core can accept the unlocking and locking instructions issued by the processor, and perform corresponding unlocking and locking actions after receiving the unlocking and locking instructions.
[0020] The room patrol control method of the present invention is an interactive process of the server 100, the mobile terminal 200 and the door lock 300 implemented by executing a computer program instruction set. The room patrol control method is based on QR code unlocking.
[0021] Specifically, if a student is arranged to stay in a dormitory room, the administrator inputs the check-in configuration between the student and the dormitory room into the server 100. After receiving the check-in configuration, the server 100 constructs the room unlocking authorization for the corresponding student of the dormitory room door lock 300. The server 100 saves the room unlocking authorization and sends it to the door lock 300 of the corresponding room. The door lock 300 saves it after receiving the room unlocking authorization. The room unlocking authorization saved in the door lock 300 usually includes at least the authorizer, the unlocking authorization code and the authorization period. In addition to the authorizer, the unlocking authorization code and the authorization period, the room unlocking authorization saved in the server 100 usually also includes information such as the room number and the lock identification code. The authorizer is usually represented by a user identification code. Specifically in this embodiment, the user is a student and the authorizer is represented by a student number. The unlocking authorization code is usually a random string. The authorization period is the time validity period of the room unlocking authorization. If the current time exceeds the time range of the authorization period, the room unlocking authorization automatically expires. To prevent invalid room unlocking authorization from occupying storage space, the server 100 and the door lock 300 will manage the room unlocking authorization according to the authorization period. If the current time exceeds the authorization period of the room unlocking authorization, the corresponding room unlocking authorization will be deleted, thereby reducing the storage space of the room unlocking authorization and avoiding the waste of processor computing resources caused by querying the room unlocking authorization.
[0022] When a student needs to enter the assigned dormitory room, the student logs in and connects to the server 100 through his / her handheld mobile terminal 200. After the server 100 authenticates the student's identity, it finds the corresponding room unlocking authorization based on the matching relationship between the student ID and the authorizer, and then generates the lock unlocking QR code information based on the room unlocking authorization and returns it to the mobile terminal 200 held by the student.
[0023] When unlocking, according to the student's operation, the mobile terminal 200 displays the received lock unlocking QR code information in the form of a QR code image through the screen. The student only needs to point the screen of the mobile terminal 200 displaying the lock unlocking QR code information in the form of a QR code image at the camera of the dormitory room door lock 300 where he is staying. The dormitory room door lock 300 scans the QR code image through the camera, and extracts the corresponding lock unlocking QR code information based on the analysis of the QR code image, and then compares whether the lock unlocking QR code information matches the room unlocking authorization saved by the door lock 300. If there is a matching room unlocking authorization, an unlocking instruction is sent to the electronic lock core to execute the unlocking action. The lock unlocking QR code information usually includes an unlocking authorization code, and may also include the digital signature of the authorizer and the server under permitted conditions. The matching of the lock unlocking QR code information and the room unlocking authorization is achieved by comparing the unlocking authorization code, or further matching the authorizer and the digital signature.
[0024] It should be noted that the above check-in configuration is also the room authorization personnel configuration mentioned above. Students are the authorized personnel of the room. The above-mentioned matching relationship between the student number and the authorized person is used to find the corresponding room unlocking authorization, that is, the mobile terminal user mentioned above matches the authorized person in the room unlocking authorization.
[0025] In addition, since the door lock 300 usually stores multiple room unlocking authorizations, multiple room unlocking authorizations form an authorization queue or an authorization array. That is, the door lock 300 stores the room unlocking authorization in the authorization queue after receiving it. The above-mentioned comparison of whether the lock unlocking QR code information matches the room unlocking authorization stored in the door lock 300 is the aforementioned comparison of the lock unlocking QR code information with the room unlocking authorization in the authorization queue.
[0026] When the above-mentioned two-dimensional code unlocking process is applied to the room patrol control method of the present invention, the interaction process between the server 100, the mobile terminal 200 and the door lock 300 is as follows: Figure 1 The example includes a patrol plan configuration step, a patrol plan distribution step, and a patrol plan execution step.
[0027] The patrol plan configuration step, that is, the server receives the room patrol plan. The room patrol plan includes: a patrol plan identification code, a patrol time, patrol personnel, and a patrol route. The patrol route is composed of several rooms arranged in sequence. The patrol time usually includes a patrol start time and a patrol end time. The patrol personnel can be a user name or a user ID. The room patrol plan comes from the user configuration, especially from the management personnel configuration. After the management personnel edits the room patrol plan through the client, it is uploaded to the server through the network. For the present invention, the room patrol plan is the input of the present invention, and the client editing of the room patrol plan is not within the scope of the present invention and need not be elaborated.
[0028] The patrol plan distribution step, that is, the server matches the patrol personnel of the room patrol plan and the patrol personnel corresponding to the mobile terminal user; if the patrol personnel corresponding to the mobile terminal user has a corresponding room patrol plan, the corresponding room patrol plan is distributed to the corresponding mobile terminal; after the mobile terminal receives the room patrol plan, it displays the room patrol plan on the screen according to the received user operation. The patrol personnel here are usually dormitory management personnel in this embodiment, and can also be security personnel. It should be pointed out that the distribution of the patrol plan requires the mobile terminal to authenticate and establish a secure connection with the server. As a user of the server, the process of the patrol personnel's mobile terminal authenticating and establishing a secure connection with the server does not necessarily need to be performed after the server receives the room patrol plan, and it may also be performed before the server receives the room patrol plan. In a more specific implementation, when the server receives the room patrol plan, the server sends a notification that the room patrol plan needs to be executed to the mobile terminal of the patrol personnel according to the patrol personnel of the room patrol plan. When the patrol personnel sees the notification displayed on the mobile terminal screen lock, they log in and connect to the server to download the room patrol plan, and then display it. The received user operation here generally refers to an instruction for browsing the room patrol plan input by the user through the mobile terminal.
[0029] The patrol plan execution step is that the patrol personnel patrol the room according to the room patrol plan. Specifically in this embodiment, the patrol personnel open the dormitory room and enter according to the arrangement of the room patrol plan to check the activities of the students in the dormitory. In the present invention, the execution of the patrol plan is carried out step by step according to the patrol route determined by the room patrol plan. Specifically, the following steps are included: The server tracks the room patrol plan. The server tracks the patrol time of the room patrol plan. Before the pre-set allowed time of the patrol start time, the server builds the room unlocking authorization for the patrol personnel for the first room of the patrol route of the corresponding room patrol plan in advance and sends it to the lock. For example, if the patrol start time of a room patrol plan is 1 a.m., the server will build the room unlocking authorization for the patrol personnel for the first room of the patrol route 15 minutes before 1 a.m., that is, at 0:45 a.m., and save it and send it to the door lock 300 of the first room. In the room unlocking authorization for the patrol personnel, the authorizer is the patrol personnel or the patrol personnel identification code.
[0030] The patrol personnel's patrol route step-by-step request steps. When the current time reaches the patrol start time, the patrol personnel perform the patrol room confirmation operation in the room determined by the patrol order of the room patrol plan patrol route displayed on the screen of the mobile terminal 200, and the patrol room confirmation operation input by the patrol personnel corresponds to the mobile terminal 200 receiving the user's room patrol instruction. Specifically in actual applications, the mobile terminal 200 is usually a smart phone held by the patrol personnel, and the above-mentioned corresponding functions are implemented through a specific application or a browser web page or a third-party platform application on the mobile phone. The third-party platform application includes small programs on third-party platforms such as WeChat, DingTalk, and Alipay. When the current time reaches the patrol start time, the mobile terminal 200 prompts the user through the screen that it is time to execute the room patrol plan, and then the user enters the room patrol plan display page of the corresponding application of the mobile terminal 200 through operation. The room patrol plan display page displays the rooms arranged by the patrol route, and displays which rooms have been patrolled, which rooms are to be patrolled, and the rooms currently to be patrolled. When the user clicks on the current room to be patrolled on the screen, it is the patrol room confirmation operation entered by the aforementioned patrol personnel. When the mobile terminal 200 receives the room patrol instruction, it sends a room patrol request corresponding to the room patrol instruction to the server. The room patrol request at least includes the patrol personnel and the room number of the patrolled room.
[0031] The server request response step, that is, when the server 100 receives the room patrol request, it matches the corresponding room unlocking authorization; if the corresponding room unlocking authorization exists, it generates the corresponding lock unlocking QR code information according to the room unlocking authorization and returns it to the mobile terminal. The room patrol request matches the corresponding room unlocking authorization by comparing the patrol personnel in the room patrol request, the room number of the patrolled room, and the authorized person and room number in the room unlocking authorization.
[0032] In another optional implementation, the room patrol request also includes a patrol plan identification code. When the server 100 receives the room patrol request, it finds the corresponding room patrol plan according to the patrol plan identification code, finds the patrol room according to the patrol route of the room patrol plan, and determines whether the patrol room is the current room to be patrolled in sequence. If it is the current room to be patrolled, the corresponding room unlocking authorization code is matched, otherwise failure is returned.
[0033] In addition, in this embodiment, in order to achieve the aforementioned effect of the patrol route being carried out step by step, after receiving the room patrol request and generating the lock unlocking QR code information, the server 100 constructs the room unlocking authorization for the next room on the patrol route in the room patrol plan and sends it to the lock. For example, in the patrol route, the room patrol sequence is as follows: 501, 502, 503, .... If the room number in the room patrol request is 502, then after the patrol personnel returns the lock unlocking QR code information for patrolling room 502, they construct the corresponding room unlocking authorization for room 503, and after maintaining the room unlocking authorization, send it to the door lock 300 of room 503.
[0034] When the mobile terminal 200 receives the returned lock unlocking QR code information, it is displayed on the screen in the form of a QR code image. Therefore, after the camera on the door lock 300 scans the QR code image displayed by the lock unlocking QR code information, the lock unlocking QR code information is extracted from the QR code image, and then the lock unlocking QR code information is compared with the room unlocking authorization. If there is a matching room unlocking authorization, the unlocking action is performed.
[0035] Considering that the patrol personnel's mobile terminal 200 submits a room patrol request and obtains the lock unlocking QR code information, it does not mean that the patrol personnel has actually executed the patrol plan. Therefore, in this embodiment, in order to realize the monitoring of the execution of the patrol plan, the room unlocking authorization further includes a patrol plan identification code. In the room unlocking authorization, if the patrol plan identification code is empty, it means that the room unlocking authorization is the unlocking authorization of the room door lock 300 for the students staying in the room, otherwise it corresponds to the responsive patrol plan. After the door lock 300 matches the corresponding room unlocking authorization, if the patrol plan identification code in the room unlocking authorization is not empty, the room patrol unlocking record is returned to the server 100. The room patrol unlocking record includes the patrol plan identification code.
[0036] After receiving the room patrol unlocking record, the server 100 generates a corresponding patrol log according to the patrol plan determined by the patrol plan identification code in the room patrol unlocking record.
[0037] In addition, it should be pointed out that the room patrol control system based on QR code unlocking referred to in the present invention is composed of a virtual device implemented by a server 100, a mobile terminal 200 and a door lock 300 by executing a computer program instruction set, and its corresponding modules correspond one-to-one to the steps in the method and will not be repeated.
Claims
1. A room patrol control method based on QR code unlocking, characterized in that: The method comprises the following steps: The server receives a room patrol plan; the room patrol plan includes: patrol time, patrol personnel and patrol route; the patrol route is composed of several rooms arranged in sequence; the patrol time at least includes the patrol start time; After establishing a secure connection with the mobile terminal through user identity authentication of the patrol personnel through interaction with the mobile terminal, the server matches the patrol personnel in the room patrol plan with the patrol personnel corresponding to the mobile terminal user; if the patrol personnel corresponding to the mobile terminal user has a corresponding room patrol plan, the corresponding room patrol plan is dispatched to the corresponding mobile terminal; The server tracks the patrol time of the room patrol plan. Before the allowed time preset at the patrol start time, the server constructs the room unlocking authorization of the patrol personnel in advance for the first room of the patrol route of the corresponding room patrol plan and sends it to the lock; After receiving the room patrol plan, the mobile terminal displays the room patrol plan on the screen according to the received user operation; when the current time enters the patrol time range, the mobile terminal receives the user's room patrol instruction in the room patrol sequence determined by the patrol route of the room patrol plan displayed on the screen; when receiving the room patrol instruction, the mobile terminal sends a room patrol request corresponding to the room patrol instruction to the server; When the server receives a room patrol request, it matches the corresponding room unlocking authorization; if the corresponding room unlocking authorization exists, it generates the corresponding lock unlocking QR code information according to the room unlocking authorization and returns it to the mobile terminal; After the mobile terminal receives the unlocking QR code information of the corresponding room's lock, it is displayed in the form of a picture on the screen; After the lock receives the room unlocking authorization, it is saved in the authorization queue; After scanning the QR code image displayed by the lock unlocking QR code information, the lock extracts the lock unlocking QR code information from the QR code image, compares the lock unlocking QR code information with the room unlocking authorization in the authorization queue, and if there is a room unlocking authorization in the authorization queue that matches the lock unlocking QR code information, the unlocking action is performed; The room unlocking authorization at least includes an authorization period and an unlocking authorization code; the lock unlocking QR code information at least includes an unlocking authorization code.
2. The room patrol control method based on QR code unlocking according to claim 1 is characterized in that: The method further comprises the steps of: The server manages the room unlocking authorization according to the authorization period. If the current time exceeds the authorization period of the room unlocking authorization, the corresponding room unlocking authorization will be deleted.
3. The room patrol control method based on QR code unlocking according to claim 1 or 2, characterized in that: The method further includes: After receiving the room patrol request and generating the lock unlocking QR code information, the server constructs the room unlocking authorization for the patrol personnel for the next room on the patrol route in the room patrol plan and sends it to the lock.
4. The room patrol control method based on QR code unlocking according to claim 1 or 2, characterized in that: The method further comprises the steps of: The server receives the room authorization personnel configuration, and builds room unlocking authorization for each authorized person in the room according to the room authorization personnel configuration and sends it to the lock; After receiving the room unlocking request sent by the mobile terminal, if the mobile terminal user matches the authorizer in the room unlocking authorization, the server generates the corresponding lock unlocking QR code information and returns it to the mobile terminal.
5. The room patrol control method based on QR code unlocking according to claim 4 is characterized in that: The room unlocking authorization includes a patrol plan identification code; the method further includes the following steps: After the lock is matched to the corresponding room unlocking authorization, if the patrol plan identification code in the room unlocking authorization is not empty, the room patrol unlocking record is returned to the server; The server generates a patrol log after receiving the room patrol unlocking record.
6. A room patrol control system based on QR code unlocking, characterized in that: The system includes a server, a mobile terminal and a lock; the server includes the following modules: The module is used to: receive a room patrol plan; the room patrol plan includes: patrol time, patrol personnel and patrol route; the patrol route is composed of several rooms arranged in sequence; the patrol time at least includes the patrol start time; The module is used to: after establishing a secure connection with the mobile terminal through interaction with the mobile terminal to authenticate the user identity of the patrol personnel, match the patrol personnel in the room patrol plan with the patrol personnel corresponding to the mobile terminal user; if the patrol personnel corresponding to the mobile terminal user has a corresponding room patrol plan, the corresponding room patrol plan is dispatched to the corresponding mobile terminal; A module, used for: tracking the patrol time of the room patrol plan, and before the pre-set allowed time of the patrol start time, the server constructs the room unlocking authorization of the patrol personnel in advance for the first room of the patrol route of the corresponding room patrol plan and sends it to the lock; The module is used to: when receiving a room patrol request, match the corresponding room unlocking authorization; if the corresponding room unlocking authorization exists, generate the corresponding lock unlocking QR code information according to the room unlocking authorization and return it to the mobile terminal; The mobile terminal includes the following modules: The module is used to: after receiving the room patrol plan, display the room patrol plan on the screen according to the received user operation; when the current time enters the patrol time range, receive the user's room patrol instruction according to the room patrol sequence determined by the patrol route of the room patrol plan displayed on the screen; when receiving the room patrol instruction, send the room patrol request corresponding to the room patrol instruction to the server; The module is used to: after receiving the lock unlocking QR code information of the corresponding room, display it in the form of a picture on the screen; The lock comprises the following modules: Module, used to: save the room unlocking authorization to the authorization queue after receiving it; A module is used to: after scanning the QR code image displayed by the lock unlocking QR code information, extract the lock unlocking QR code information from the QR code image, compare the lock unlocking QR code information with the room unlocking authorization in the authorization queue, and if there is a room unlocking authorization in the authorization queue that matches the lock unlocking QR code information, then perform the unlocking action; The room unlocking authorization at least includes an authorization period and an unlocking authorization code; the lock unlocking QR code information at least includes an unlocking authorization code.
7. The room patrol control system based on QR code unlocking according to claim 6 is characterized in that: The server also includes the following modules: The module is used to manage the room unlocking authorization according to the authorization period. If the current time exceeds the authorization period of the room unlocking authorization, the corresponding room unlocking authorization is deleted.
8. The room patrol control system based on QR code unlocking according to claim 6 or 7, characterized in that: The server also includes the following modules: The module is used to generate a lock unlocking QR code information after receiving a room patrol request, and then construct a room unlocking authorization for the patrol personnel for the next room on the patrol route in the room patrol plan and send it to the lock.
9. The room patrol control system based on QR code unlocking according to claim 6 or 7, characterized in that: The server also includes the following modules: A module is used to: receive the room authorization personnel configuration, and construct room unlocking authorization for each authorized person in the room according to the room authorization personnel configuration and send it to the lock; The module is used for: after receiving a room unlocking request sent by a mobile terminal, if the mobile terminal user matches the authorizer in the room unlocking authorization, generating corresponding lock unlocking QR code information and returning it to the mobile terminal.
10. The room patrol control system based on QR code unlocking according to claim 9 is characterized in that: The room unlocking authorization includes the patrol plan identification code; the lock also includes the following modules: The module is used to return the room patrol unlocking record to the server after matching the corresponding room unlocking authorization and if the patrol plan identification code in the room unlocking authorization is not empty; The server also includes the following modules: The module is used to generate a patrol log after receiving the room patrol unlocking record.
Citation Information
Patent Citations
Intelligent-mobile-terminal-based communication line inspection system
CN105989443A
Intelligent night patrol method
CN107633567A
Intelligent unlocking system based on railway electronic ticket
CN113393600A
Intelligent electric lock switch management system, method and equipment and storage medium
CN117935405A
