Temporary unlocking method and device of intelligent lock, computer equipment and storage medium
The temporary unlocking method of the smart lock solves the problem of low efficiency in obtaining the unlocking code when the smart lock needs to be opened. It provides automatic or manual unlocking options to ensure that emergency repair personnel can enter the power cabinet in time, improving the reliability and safety management of power supply. .
Patent Information
- Application Number
- CN202410828443.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-06-25
AI Technical Summary
The smart lock has low efficiency in obtaining the unlocking code when it needs to be opened, especially when the Bluetooth connection fails, causing the repair personnel to be unable to open the power cabinet in time, affecting the reliability of the power supply.
Provide a temporary unlocking method for smart locks. Enter the account login request through the front-end page. After success, the fault repair page function options and jump control identification will be sent. The operation request will be received and a temporary unlocking code will be generated to ensure that authorized personnel can obtain the unlocking code. Support automatic Or manually unlock the door to ensure that repair personnel can enter the power cabinet in time.
It improves the efficiency of unlocking code acquisition, enhances the safety management of power cabinets, reduces delays caused by key issues, and ensures the reliability of power supply in emergencies. It manages multi-vendor smart lock equipment through a centralized and unified management and control system, reducing due to human error.
Smart Images

Figure CN118629110A
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart locks, and in particular to a method, device, computer equipment, computer-readable storage medium and computer program product for temporarily unlocking a smart lock. Background Art
[0002] With the rapid development of smart grids, power cabinets are an important part of the power grid, and their safety and reliability are crucial to ensuring power supply. Traditional power cabinet lock control systems mostly rely on physical keys, which have problems such as inconvenient management, great safety hazards, and difficulty in real-time monitoring. In order to improve the safety management level of power cabinets, it is particularly important to adopt modern intelligent lock control systems. The intelligent lock service management and control application system realizes centralized and unified management of smart lock equipment from multiple manufacturers. The smart key allocation adopts the "real-name system" management method, and the relevant cabinets are opened according to the work order, power room, and area according to the maintenance personnel's work order tasks. Improve the safety and reliability of on-site operations and enhance the refinement and intelligence level of distribution network operation and maintenance.
[0003] Currently, the smart key needs to be connected to the mobile phone's Bluetooth to obtain the unlocking code. Due to different Bluetooth versions or different mobile phone types, the unlocking code may fail to be obtained, resulting in the emergency repair personnel being unable to unlock the door for emergency repair after arriving at the scene.
[0004] Therefore, there is an urgent need for a smart lock temporary unlocking method, device, computer equipment, computer readable storage medium and computer program product that can improve the efficiency of obtaining the unlocking code when the smart lock needs to be opened. Summary of the invention
[0005] Based on this, it is necessary to provide a smart lock temporary unlocking method, device, computer equipment, computer readable storage medium and computer program product that can improve the efficiency of obtaining unlocking codes when the smart lock needs to be opened to address the above technical problems.
[0006] In a first aspect, the present application provides a method for temporarily unlocking a smart lock, comprising:
[0007] Get the account login request based on the front-end page input;
[0008] When the account login is successful, a first page response message is sent, wherein the first page response message includes at least one function option identifier and a corresponding jump control identifier of the fault repair page;
[0009] Receiving an operation request returned based on the jump control identifier;
[0010] In response to the operation request, sending a second page response message, wherein the second page response message includes an information filling link of a target lock control page for temporarily verifying the authority;
[0011] Receiving a request for obtaining a temporary unlocking code returned by the link filled in based on the information;
[0012] When the temporary unlocking code acquisition request is verified, a corresponding temporary unlocking code is generated and returned.
[0013] In one embodiment, the function option identifier includes a work order list option identifier; and receiving an operation request returned based on the jump control identifier includes:
[0014] Receive requests for filling out business work orders;
[0015] In the case where the filling operation request is verified to be successful, a third page response message is sent, wherein the third page response message includes an embedded sub-identifier of the jump control identifier corresponding to the work order list option identifier;
[0016] An operation request is received based on the returned embedded sub-identification.
[0017] In one of the embodiments, the function option identifier includes a temporary unlocking option identifier.
[0018] In one embodiment, the process of determining the information filling link includes:
[0019] Obtain historical communication connection records between the electronic key and the device;
[0020] According to the historical communication connection record, a corresponding information filling link is determined.
[0021] In one embodiment, determining the corresponding information filling link according to the historical communication connection record includes:
[0022] When it is determined that a communication connection relationship exists between the electronic key and the device based on the historical communication connection record, the page filling items corresponding to the information filling link include the door lock number, unlocking reason, authorization duration and an automatic unlocking confirmation button. The automatic unlocking confirmation button is used to indicate that an automatic unlocking operation is performed after actively obtaining the corresponding temporary unlocking code through the electronic key.
[0023] In one embodiment, determining the corresponding information filling link according to the historical connection record includes:
[0024] When it is determined based on the historical communication connection record that there is no communication connection relationship between the electronic key and the device, the page filling items corresponding to the information filling link include the key number, door lock number, unlocking reason, authorization duration and a manual unlocking confirmation identification button. The manual unlocking confirmation identification button is used to indicate that a temporary unlocking code is passively input into the unlocking code input panel of the electronic key, and a manual unlocking operation is performed.
[0025] In a second aspect, the present application also provides a smart lock temporary unlocking device, comprising:
[0026] The acquisition module is used to obtain the account login request based on the input of the front-end page;
[0027] A sending module, used for sending a first page response message when the account login is successful, wherein the first page response message includes at least one function option identifier and a corresponding jump control identifier of the fault repair page;
[0028] The acquisition module is further used to receive an operation request returned based on the jump control identifier;
[0029] The sending module is further used to send a second page response information in response to the operation request, wherein the second page response information includes an information filling link of a target lock control page for temporarily verifying the authority;
[0030] The acquisition module is further used to receive a temporary unlocking code acquisition request returned based on the information filling link;
[0031] The sending module is further configured to generate and return a corresponding temporary unlocking code when the temporary unlocking code acquisition request is verified successfully.
[0032] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0033] Get the account login request based on the front-end page input;
[0034] When the account login is successful, a first page response message is sent, wherein the first page response message includes at least one function option identifier and a corresponding jump control identifier of the fault repair page;
[0035] Receiving an operation request returned based on the jump control identifier;
[0036] In response to the operation request, sending a second page response message, wherein the second page response message includes an information filling link of a target lock control page for temporarily verifying the authority;
[0037] Receiving a request for obtaining a temporary unlocking code returned by the link filled in based on the information;
[0038] When the temporary unlocking code acquisition request is verified, a corresponding temporary unlocking code is generated and returned.
[0039] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0040] Get the account login request based on the front-end page input;
[0041] When the account login is successful, a first page response message is sent, wherein the first page response message includes at least one function option identifier and a corresponding jump control identifier of the fault repair page;
[0042] Receiving an operation request returned based on the jump control identifier;
[0043] In response to the operation request, sending a second page response message, wherein the second page response message includes an information filling link of a target lock control page for temporarily verifying the authority;
[0044] Receiving a request for obtaining a temporary unlocking code returned by the link filled in based on the information;
[0045] When the temporary unlocking code acquisition request is verified, a corresponding temporary unlocking code is generated and returned.
[0046] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0047] Get the account login request based on the front-end page input;
[0048] When the account login is successful, a first page response message is sent, wherein the first page response message includes at least one function option identifier and a corresponding jump control identifier of the fault repair page;
[0049] Receiving an operation request returned based on the jump control identifier;
[0050] In response to the operation request, sending a second page response message, wherein the second page response message includes an information filling link of a target lock control page for temporarily verifying the authority;
[0051] Receiving a request for obtaining a temporary unlocking code returned by the link filled in based on the information;
[0052] When the temporary unlocking code acquisition request is verified, a corresponding temporary unlocking code is generated and returned.
[0053] The above-mentioned smart lock temporary unlocking method, device, computer equipment, computer-readable storage medium and computer program product manage smart keys by real-name system, ensuring that only authorized maintenance personnel can obtain unlocking codes, thereby enhancing the safety management of power cabinets. In the traditional physical key management method, keys may be lost or abused. The smart lock control system can quickly respond to emergency repair needs by electronically allocating unlocking codes and reduce delays caused by key problems. The smart lock control system can monitor the status of the lock in real time to ensure that the power cabinet can be quickly opened for emergency repairs in an emergency, thereby improving the reliability of power supply. In response to the problem that the Bluetooth connection may fail, the method provides an alternative unlocking code acquisition method, which can ensure that the emergency repair personnel can obtain the unlocking code in time even if the Bluetooth connection fails. Through a centralized and unified management and control system, smart lock devices from multiple manufacturers can be managed more effectively, and unified scheduling and monitoring of different lock control devices can be achieved. The smart lock control system can allocate corresponding unlocking permissions according to the specific conditions of the work order task, power room and area, and support the refined management of distribution network operation and maintenance. In the case of emergency repairs, this method can quickly generate temporary unlocking codes to ensure that repair personnel can enter the power cabinet in time to perform necessary operations. Automated unlocking code generation and distribution reduces the possibility of human error and improves the accuracy of the entire unlocking process. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0055] FIG1 is a diagram showing an application environment of a method for temporarily unlocking a smart lock in one embodiment;
[0056] FIG2 is a schematic diagram of a flow chart of a method for temporarily unlocking a smart lock in one embodiment;
[0057] FIG3 is a schematic diagram of a flow chart of a method for temporarily unlocking a smart lock in another embodiment;
[0058] FIG4 is a diagram of an account login page of a smart lock temporary unlocking device in one embodiment;
[0059] FIG5 is a diagram of a fault repair page of a temporary unlocking device for a smart lock in one embodiment;
[0060] FIG6 is a diagram of a filling page for processing a work order for a temporary unlocking device for a smart lock in one embodiment;
[0061] FIG7 is a lock control page diagram of a temporary unlocking device for a smart lock in one embodiment;
[0062] FIG8 is a structural block diagram of a temporary unlocking device for a smart lock in one embodiment;
[0063] FIG. 9 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0064] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0065] The smart lock temporary unlocking method provided in the embodiment of the present application can be applied in the application environment shown in FIG1 . The terminal 102 communicates with the server 104 through a network. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers.
[0066] The server obtains an account login request based on the input of the front-end page; if the account login is successful, the server sends a first page response message, the first page response message includes at least one function option identifier of the fault repair page and a corresponding jump control identifier; receives an operation request returned based on the jump control identifier; in response to the operation request, sends a second page response message, the second page response message includes an information filling link of the target lock control page for temporary verification of authority; receives a temporary unlocking code acquisition request returned based on the information filling link; if the temporary unlocking code acquisition request is verified, generates a corresponding temporary unlocking code and returns it.
[0067] The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices may be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The server 104 may be an independent physical server, a server cluster or distributed system consisting of multiple physical servers, or a cloud server that provides cloud computing services.
[0068] In an exemplary embodiment, as shown in FIG2 , a method for temporarily unlocking a smart lock is provided, and the method is described by taking the application of the method to the server in FIG1 as an example, and includes the following steps S202 to S212. Among them:
[0069] Step S202, obtaining an account login request based on the input on the front-end page.
[0070] Specifically, the front-end page refers to the interface where users interact with the server, such as a web page or mobile application interface. On this interface, users can enter information through controls such as input boxes. Users enter their account information, such as username and password, on the front-end page and then submit the login request. This request is the first step for users to enter the server for further operations. The server needs to be able to receive the login request submitted by the user. This usually involves the front-end page sending data to the back-end server, which receives and processes the data. The server needs to verify the correctness of the input information to ensure that only legitimate users can log in.
[0071] The purpose of this step is to verify the user's identity and ensure that they have access to the smart lock's unlocking function. This is part of the security measures to prevent unauthorized access.
[0072] Step S204: When the account login is successful, a first page response message is sent, where the first page response message includes at least one function option identifier and a corresponding jump control identifier of the fault repair page.
[0073] Specifically, after the account login is successful, the server needs to send the first page response information to the user, which is usually displayed through the front-end page.
[0074] Among them, the fault repair page refers to a specific page inside the server, which is specifically used to handle fault repair tasks related to the power cabinet. After the user logs in successfully, the server may guide the device to display this page. On the fault repair page, multiple function options will be displayed, and each option has an identifier. These identifiers may be buttons, links, or menu items, and users can click on these identifiers to select the operations they want to perform. In addition to the function options, there will be jump controls on the page, which allow users to navigate between different pages or functions. Each jump control also has an identifier to help the system identify the page or function that the user wants to jump to.
[0075] The purpose of this step is to provide users with a clear operation interface, so that they know what operations they can perform after a successful login and can easily navigate between different parts of the server.
[0076] Step S206: receiving an operation request returned based on the jump control identifier.
[0077] Step S208, in response to the operation request, sending a second page response message, the second page response message including an information filling link of a target lock control page for temporarily verifying the authority.
[0078] Specifically, after the user issues an action request by clicking a jump control (such as a button or link), the server needs to receive the request. This usually means that the user's front-end interface sends a signal to the server that the user wants to perform a specific action. After the server receives the action request, it needs to respond to it. This usually involves the server processing the request and deciding the next action based on the type of request. In response to the user's action request, the server will send a second page response information to the user. This response may include loading a new page, or displaying new information or controls on the current page.
[0079] In some cases, users may need temporary access to certain functions or data. The server needs to verify whether the user has the right to such temporary access. This may involve checking the user's role, permissions, or specific task authorization. The target lock control page refers to the specific page that the user needs to access, which is related to the control of the smart lock. For example, it may be a page that allows the user to enter an unlock code or perform other lock control operations. In order to perform temporary permission verification, the server may provide a link or form, and the user needs to fill in the necessary information through this link. This information may include the user's identity information, task details, or other verification data.
[0080] In this way, the server can provide users with temporary access rights without violating security policies. This increases the flexibility of the server while ensuring that only the right users can access specific functions when needed.
[0081] Step S210: receiving a temporary unlocking code acquisition request returned based on the information filling link.
[0082] Specifically, after the user fills in the required information in the information filling link and submits it, this operation will generate a request and send it back to the server. This request contains all the information filled in by the user and the request to obtain a temporary unlocking code. The server receives the temporary unlocking code acquisition request submitted by the user. This request is that the user hopes that the server can provide a temporary unlocking code so that the smart lock can be opened in a short time.
[0083] The purpose of this step is to provide a secure way for users to obtain a temporary unlock code when needed, while ensuring the security and controllability of the entire process.
[0084] Step S212: if the temporary unlocking code acquisition request is verified, generate a corresponding temporary unlocking code and return.
[0085] Specifically, before the user submits a request, the server may need to perform a series of verification steps to ensure the legitimacy and security of the request. This may include checking the user's identity, permissions, and whether the unlock code they request complies with the security policy. If the user's request is verified, the server will generate a temporary unlock code. This unlock code usually has a time limit or a limit on the number of uses to ensure that it will not be valid for a long time, thereby reducing security risks. Once the temporary unlock code is generated, the server will return the code to the user. The user can use this code to temporarily open the smart lock.
[0086] In the above-mentioned smart lock temporary unlocking method, the smart key is managed by real-name system to ensure that only authorized maintenance personnel can obtain the unlocking code, thereby enhancing the safety management of the power cabinet. In the traditional physical key management method, the key may be lost or abused. The smart lock control server can quickly respond to emergency repair needs by electronically allocating unlocking codes and reduce delays caused by key problems. The smart lock control server can monitor the status of the lock in real time to ensure that the power cabinet can be quickly opened for emergency repairs in an emergency, thereby improving the reliability of power supply. In response to the problem that the Bluetooth connection may fail, the method provides an alternative unlocking code acquisition method, which can ensure that the repair personnel can obtain the unlocking code in time even if the Bluetooth connection fails. Through a centralized and unified management and control server, smart lock devices from multiple manufacturers can be managed more effectively, and unified scheduling and monitoring of different lock control devices can be achieved. The smart lock control server can allocate corresponding unlocking permissions according to the specific conditions of the work order task, power room and area, and support the refined management of distribution network operation and maintenance. In the case of emergency repair, the method can quickly generate a temporary unlocking code to ensure that the repair personnel can enter the power cabinet in time to perform necessary operations. Automated unlocking code generation and distribution reduces the possibility of human error and improves the accuracy of the entire unlocking process.
[0087] In an exemplary embodiment, as shown in FIG3 , the function option identifier includes a work order list option identifier; receiving an operation request returned based on the jump control identifier includes:
[0088] Step S302, receiving a request for filling in a business work order;
[0089] Step S304: When the filling operation request is verified to be successful, a third page response message is sent, wherein the third page response message includes an embedded sub-identifier of a jump control identifier corresponding to the work order list option identifier;
[0090] Step S306: receiving an operation request returned based on the embedded sub-identifier.
[0091] Specifically, the function option identifier refers to the function options displayed on the user interface for the user to select, and each option has a unique identifier for the server to identify the operation that the user wants to perform.
[0092] In particular, the function option identifier here includes the work order list option, which is the part of the interface where the user can view or manage work orders. The server receives an operation request issued by the user based on the jump control identifier. For example, if the user clicks a button to fill out or view a work order, this click action generates an operation request. One of the operation requests that the user may issue is a request to fill out a business work order. This usually means that the user needs to enter or update information related to the work order. After the user submits a request to fill out a work order, the server needs to verify the validity of the request, which may include checking whether the user has the authority to fill out the work order and whether the submitted information meets the requirements.
[0093] If the filling operation request is verified, the server will send the third page response information to the user. This may include new page content or an update of the current page. The third page response information may contain a further subdivision of the work order list option identifier, that is, an embedded sub-identifier of the jump control identifier.
[0094] The user can perform further operations based on these embedded sub-identifiers, such as selecting to view a specific type of work order, or allowing the user to enter the lock control page on the filling page of the business work order. The server receives the operation request returned based on the embedded sub-identifier.
[0095] It should be noted that the user may also access the lock control page during the process of filling out a work order, and the verification result of filling out the work order may not be related to the user's permission to access the lock control page.
[0096] In this embodiment, by providing clear function options and sub-identifications, the user experience can be improved, allowing users to intuitively find and perform the operations they need. A user-friendly interface is provided, allowing users to operate according to their needs while ensuring the safety and effectiveness of the operation.
[0097] In an exemplary embodiment, the function option identifier includes a temporary unlock option identifier.
[0098] Specifically, in the device user interface, there are usually multiple function options for the user to choose, such as unlocking, checking status, modifying settings, etc. Each function option has a function option identifier, which is used by the server to identify which function the user has selected.
[0099] Among them, the temporary unlocking option identifier is one of the function option identifiers, which is especially used in scenarios where users need to temporarily open the smart lock. This identifier represents a specific operation option on the user interface, allowing users to directly request temporary unlocking. When the user selects this temporary unlocking option, the server will provide a way, usually by jumping to the lock control page, so that the user can directly perform the unlocking operation. This page may contain a form for entering the unlocking code, a QR code scanner, or other unlocking mechanisms.
[0100] In this embodiment, by providing an obvious temporary unlocking option on the interface, the user experience can be improved, allowing the user to intuitively find and use the unlocking function, allowing the user to quickly access the unlocking function in an emergency.
[0101] In an exemplary embodiment, the process of determining the information filling link includes:
[0102] Obtain historical communication connection records between the electronic key and the device;
[0103] According to the historical communication connection records, determine the corresponding information and fill in the link.
[0104] Specifically, the server first needs to collect and analyze the records of past communications between the electronic key (smart key) and the user's device (such as a mobile phone or tablet). This may include information such as the frequency, time, duration, successful and failed attempts of the connection. By analyzing this historical data, the server can identify communication patterns, preferred communication protocols, and possible compatibility issues. For example, the server may find that a certain device has a higher connection success rate with the electronic key within a specific time period, or that a certain device has a more stable connection when using a specific communication protocol.
[0105] When there has been a communication connection between the electronic key and the device, the content to be filled in the information filling link should be different from the content to be filled in when there has not been a communication connection.
[0106] In this embodiment, by analyzing the historical communication connection records between electronic devices, different information filling links can be pushed to achieve intelligent and personalized verification.
[0107] In an exemplary embodiment, determining a corresponding information filling link according to a historical communication connection record includes:
[0108] When it is determined that there is a communication connection relationship between the electronic key and the device based on the historical communication connection records, the corresponding page filling items of the information filling link include the door lock number, unlocking reason, authorization duration and the automatic unlocking confirmation button. The automatic unlocking confirmation button is used to indicate that the automatic unlocking operation is performed after the corresponding temporary unlocking code is actively obtained through the electronic key.
[0109] Specifically, the server confirms that there is a stable communication connection relationship between the electronic key and the user device by analyzing the historical communication connection records. In this case, the page accessed by the user through the information filling link includes the following filling items:
[0110] Door lock number: Identifies the smart lock that needs to be unlocked.
[0111] Unlock reason: The specific reason why the user requests to unlock the door.
[0112] Authorization duration: The validity period of the temporary unlocking code.
[0113] Automatic unlocking confirmation identification button: The user can click this button to authorize the server to automatically perform the unlocking operation after the electronic key obtains the temporary unlocking code.
[0114] In an exemplary embodiment, determining a corresponding information filling link according to the historical connection record includes:
[0115] When it is determined that there is no communication connection relationship between the electronic key and the device based on the historical communication connection records, the corresponding page filling items of the information filling link include the key number, door lock number, unlocking reason, authorization time and manual unlocking confirmation button. The manual unlocking confirmation button is used to indicate that the temporary unlocking code is passively input into the unlocking code input panel of the electronic key and perform a manual unlocking operation.
[0116] Specifically, the server analyzes the historical communication connection records and finds that there is no stable communication connection relationship between the electronic key and the user device. In this case, the page accessed by the user through the information filling link includes the following filling items:
[0117] Key Number: A number identifying the electronic key that may be used to identify the key without direct communication.
[0118] Door lock number: Identifies the smart lock that needs to be unlocked.
[0119] Unlock reason: The specific reason why the user requests to unlock the door.
[0120] Authorization duration: The validity period of the temporary unlocking code.
[0121] Manual unlock confirmation identification button: The user can click this button to instruct the server to generate a temporary unlock code, and then the user needs to manually enter the unlock code into the unlock code input panel of the electronic key to perform the manual unlock operation.
[0122] Common points: Regardless of whether there is a communication connection, the user needs to provide the door lock number, unlocking reason and authorization duration, all of which are to ensure the security and accuracy of the unlocking request.
[0123] difference:
[0124] 1. In the presence of a communication connection, an automatic unlocking option may be provided, which generally relies on the direct communication capability between the electronic key and the user device.
[0125] 2. In the absence of a communication connection, the user needs to manually enter the unlocking code, which may be because the communication capability between the electronic key and the user device is limited or non-existent.
[0126] In this embodiment, through these two embodiments, the server flexibly adjusts the user operation process according to different communication situations to ensure that the unlocking process is both safe and convenient.
[0127] In an exemplary embodiment, before obtaining an account login request based on a front-end page, it also includes: developing the front-end page; the development method of the front-end page includes a Vue progressive framework, and the Vue progressive framework is used to encapsulate a hypertext markup template, a cascading style sheet template, and a client script template as a template component.
[0128] In an exemplary embodiment, the Vue progressive framework is used to initialize the front-end page, the hypertext markup template is converted into a virtual document object model, and the front-end page is partially rendered through the virtual document object model.
[0129] In an exemplary embodiment, when there is change data in the template component, the Vue progressive framework is used to render the virtual document object model according to the change data; the minimum update range of the front-end page is obtained according to the difference between the virtual document object models before and after rendering; and the front-end page is partially rendered through the real document object model according to the minimum update range.
[0130] In an exemplary embodiment, the Model-View-ViewModel (MVVM) pattern is used to bidirectionally link the view layer and the business logic layer in the Vue progressive framework, and to bidirectionally link the data layer and the business logic layer in the Vue progressive framework.
[0131] In an exemplary embodiment, the life cycle steps of the Vue progressive framework include a creation step, a mounting step, an update step, and a destruction step; and the corresponding hook functions and execution periods in the life cycle steps are determined according to the change data.
[0132] The most detailed embodiment of this application is:
[0133] FIG4 is a diagram of an account login page, where a user logs in account information on the application front-end interface of the device shown in FIG4 .
[0134] After the account login is successful, the device enters the fault repair page. Figure 5 is a diagram of the fault repair page. The page contains multiple function option icons, including an order list icon, a station room query icon, and a temporary unlocking icon. The unlocking solution of this application mainly selects the two function entrances of the order list and temporary unlocking.
[0135] When the user clicks to select the order list logo, it will jump to the page shown in Figure 6, which is a filling page for work order processing. In Figure 6, the user can fill in the fault location, person reporting the fault, fault time, reporting time, etc. of the work order. There is also an embedded sub-logo of the function option logo (i.e., the electronic lock control logo) on the page of Figure 6.
[0136] Figure 7 is a lock control page. Users can jump to the page shown in Figure 7 by clicking on the temporary unlocking logo or the electronic lock control logo. Figure 7 has two functions: automatic unlocking and manual unlocking. Users can choose different unlocking methods according to their needs. When the device and the electronic key have established a communication connection, you only need to fill in the door lock number, unlocking reason and authorization time information, and then click "Automatic Unlocking" to enable the electronic key to actively obtain the temporary unlocking code in the background and unlock the smart lock with one click. When the device and the electronic key have not established a communication connection, you need to fill in the key code, door lock number, unlocking reason and authorization time information, and then click "Manual Unlocking". The temporary unlocking code will be displayed on the page. The user can manually enter the temporary unlocking code into the unlocking code input panel of the electronic key to unlock the smart lock.
[0137] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0138] Based on the same inventive concept, the embodiment of the present application also provides a smart lock temporary unlocking device for implementing the smart lock temporary unlocking method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more smart lock temporary unlocking devices provided below can refer to the limitations of the smart lock temporary unlocking method above, and will not be repeated here.
[0139] In an exemplary embodiment, as shown in FIG8 , a smart lock temporary unlocking device is provided, including: an acquisition module 802 for acquiring an account login request based on a front-end page input;
[0140] The sending module 804 is used to send a first page response message when the account login is successful, wherein the first page response message includes at least one function option identifier and a corresponding jump control identifier of the fault repair page;
[0141] The acquisition module 802 is further used to receive an operation request returned based on the jump control identifier;
[0142] The sending module 804 is further used to send a second page response message in response to the operation request, where the second page response message includes an information filling link for a target lock control page for temporary verification of authority;
[0143] The acquisition module 802 is further used to receive a temporary unlocking code acquisition request returned based on the information filling link;
[0144] The sending module 804 is further configured to generate and return a corresponding temporary unlocking code when the temporary unlocking code acquisition request is verified successfully.
[0145] In an exemplary embodiment, the function option identifier includes a work order list option identifier; the acquisition module 802 is further used to receive a filling operation request for a business work order;
[0146] The sending module 804 is further used to send a third page response message when the filling operation request is verified to be successful, wherein the third page response message includes an embedded sub-identifier of the jump control identifier corresponding to the work order list option identifier;
[0147] The acquisition module 802 is further configured to receive an operation request returned based on the embedded sub-identifier.
[0148] In an exemplary embodiment, the function option identifier includes a temporary unlock option identifier.
[0149] In an exemplary embodiment, the acquisition module 802 is further used to acquire the historical communication connection record between the electronic key and the device; the processing module is used to determine the corresponding information filling link according to the historical communication connection record.
[0150] In an exemplary embodiment, when it is determined that a communication connection relationship exists between the electronic key and the device based on historical communication connection records, the page filling items corresponding to the information filling link include the door lock number, unlocking reason, authorization duration and an automatic unlocking confirmation button. The automatic unlocking confirmation button is used to indicate that an automatic unlocking operation is performed after actively obtaining the corresponding temporary unlocking code through the electronic key.
[0151] In an exemplary embodiment, when it is determined that there is no communication connection relationship between the electronic key and the device based on the historical communication connection record, the page filling items corresponding to the information filling link include the key number, door lock number, unlocking reason, authorization time and a confirmation identification button for manual unlocking. The confirmation identification button for manual unlocking is used to indicate that the temporary unlocking code is passively input into the unlocking code input panel of the electronic key, and a manual unlocking operation is performed.
[0152] Each module in the above-mentioned smart lock temporary unlocking device can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0153] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG9. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store account data, login history data, etc. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a temporary unlocking method of a smart lock is implemented.
[0154] Those skilled in the art will understand that the structure shown in FIG. 9 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0155] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0156] Get the account login request based on the front-end page input;
[0157] When the account login is successful, a first page response message is sent, wherein the first page response message includes at least one function option identifier of the fault repair page and a corresponding jump control identifier;
[0158] Receive an operation request returned based on the jump control identifier;
[0159] In response to the operation request, sending a second page response message, the second page response message including an information filling link of a target lock control page for temporarily verifying the authority;
[0160] Receive a request for obtaining a temporary unlock code based on the information filled in link;
[0161] When the temporary unlocking code acquisition request is verified, a corresponding temporary unlocking code is generated and returned.
[0162] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0163] The function option identifier includes a work order list option identifier;
[0164] Receive requests for filling out business work orders;
[0165] When the filling operation request is verified to be successful, a third page response message is sent, wherein the third page response message includes an embedded sub-identifier of a jump control identifier corresponding to the work order list option identifier;
[0166] Receives an action request based on the returned embedded sub-ID.
[0167] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0168] The function option identification includes a temporary unlocking option identification.
[0169] In one embodiment, when the processor executes the computer program, the following steps are also implemented:
[0170] Obtain historical communication connection records between the electronic key and the device;
[0171] According to the historical communication connection records, determine the corresponding information and fill in the link.
[0172] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0173] When it is determined that there is a communication connection relationship between the electronic key and the device based on the historical communication connection records, the corresponding page filling items of the information filling link include the door lock number, unlocking reason, authorization duration and the automatic unlocking confirmation button. The automatic unlocking confirmation button is used to indicate that the automatic unlocking operation is performed after the corresponding temporary unlocking code is actively obtained through the electronic key.
[0174] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0175] When it is determined that there is no communication connection relationship between the electronic key and the device based on the historical communication connection records, the corresponding page filling items of the information filling link include the key number, door lock number, unlocking reason, authorization time and manual unlocking confirmation button. The manual unlocking confirmation button is used to indicate that the temporary unlocking code is passively input into the unlocking code input panel of the electronic key and perform a manual unlocking operation.
[0176] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0177] Get the account login request based on the front-end page input;
[0178] When the account login is successful, a first page response message is sent, wherein the first page response message includes at least one function option identifier of the fault repair page and a corresponding jump control identifier;
[0179] Receive an operation request returned based on the jump control identifier;
[0180] In response to the operation request, sending a second page response message, the second page response message including an information filling link of a target lock control page for temporarily verifying the authority;
[0181] Receive a request for obtaining a temporary unlock code based on the information filled in link;
[0182] When the temporary unlocking code acquisition request is verified, a corresponding temporary unlocking code is generated and returned.
[0183] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0184] The function option identifier includes a work order list option identifier;
[0185] Receive requests for filling out business work orders;
[0186] When the filling operation request is verified to be successful, a third page response message is sent, wherein the third page response message includes an embedded sub-identifier of a jump control identifier corresponding to the work order list option identifier;
[0187] Receives an action request based on the returned embedded sub-ID.
[0188] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0189] The function option identification includes a temporary unlocking option identification.
[0190] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0191] Obtain historical communication connection records between the electronic key and the device;
[0192] According to the historical communication connection records, determine the corresponding information and fill in the link.
[0193] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0194] When it is determined that there is a communication connection relationship between the electronic key and the device based on the historical communication connection records, the corresponding page filling items of the information filling link include the door lock number, unlocking reason, authorization duration and the automatic unlocking confirmation button. The automatic unlocking confirmation button is used to indicate that the automatic unlocking operation is performed after the corresponding temporary unlocking code is actively obtained through the electronic key.
[0195] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0196] When it is determined that there is no communication connection relationship between the electronic key and the device based on the historical communication connection records, the corresponding page filling items of the information filling link include the key number, door lock number, unlocking reason, authorization time and manual unlocking confirmation button. The manual unlocking confirmation button is used to indicate that the temporary unlocking code is passively input into the unlocking code input panel of the electronic key and perform a manual unlocking operation.
[0197] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0198] Get the account login request based on the front-end page input;
[0199] When the account login is successful, a first page response message is sent, wherein the first page response message includes at least one function option identifier of the fault repair page and a corresponding jump control identifier;
[0200] Receive an operation request returned based on the jump control identifier;
[0201] In response to the operation request, sending a second page response message, the second page response message including an information filling link of a target lock control page for temporarily verifying the authority;
[0202] Receive a request for obtaining a temporary unlock code based on the information filled in link;
[0203] When the temporary unlocking code acquisition request is verified, a corresponding temporary unlocking code is generated and returned.
[0204] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0205] The function option identifier includes a work order list option identifier;
[0206] Receive requests for filling out business work orders;
[0207] When the filling operation request is verified to be successful, a third page response message is sent, wherein the third page response message includes an embedded sub-identifier of a jump control identifier corresponding to the work order list option identifier;
[0208] Receives an action request based on the returned embedded sub-ID.
[0209] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0210] The function option identification includes a temporary unlocking option identification.
[0211] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0212] Obtain historical communication connection records between the electronic key and the device;
[0213] According to the historical communication connection records, determine the corresponding information and fill in the link.
[0214] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0215] When it is determined that there is a communication connection relationship between the electronic key and the device based on the historical communication connection records, the corresponding page filling items of the information filling link include the door lock number, unlocking reason, authorization duration and the automatic unlocking confirmation button. The automatic unlocking confirmation button is used to indicate that the automatic unlocking operation is performed after the corresponding temporary unlocking code is actively obtained through the electronic key.
[0216] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:
[0217] When it is determined that there is no communication connection relationship between the electronic key and the device based on the historical communication connection records, the corresponding page filling items of the information filling link include the key number, door lock number, unlocking reason, authorization time and manual unlocking confirmation button. The manual unlocking confirmation button is used to indicate that the temporary unlocking code is passively input into the unlocking code input panel of the electronic key and perform a manual unlocking operation.
[0218] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0219] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0220] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0221] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A system unlocking method, characterized in that: The method comprises: Get the account login request based on the front-end page input; When the account login is successful, a first page response message is sent, wherein the first page response message includes at least one function option identifier and a corresponding jump control identifier of the fault repair page; Receiving an operation request returned based on the jump control identifier; In response to the operation request, sending a second page response message, wherein the second page response message includes an information filling link of a target lock control page for temporarily verifying the authority; Receiving a request for obtaining a temporary unlocking code returned by the link filled in based on the information; When the temporary unlocking code acquisition request is verified, a corresponding temporary unlocking code is generated and returned.
2. The method according to claim 1, characterized in that The function option identifier includes a work order list option identifier; and the receiving an operation request returned based on the jump control identifier includes: Receive requests for filling out business work orders; In the case where the filling operation request is verified to be successful, a third page response message is sent, wherein the third page response message includes an embedded sub-identifier of the jump control identifier corresponding to the work order list option identifier; An operation request is received based on the returned embedded sub-identification.
3. The method according to claim 1, characterized in that The function option identifier includes a temporary unlocking option identifier.
4. The method according to claim 1, characterized in that: The process of determining the information filling link includes: Obtain historical communication connection records between the electronic key and the device; According to the historical communication connection record, a corresponding information filling link is determined.
5. The method according to claim 4, characterized in that The step of determining the corresponding information filling link according to the historical communication connection record includes: When it is determined that a communication connection relationship exists between the electronic key and the device based on the historical communication connection record, the page filling items corresponding to the information filling link include the door lock number, unlocking reason, authorization duration and an automatic unlocking confirmation button. The automatic unlocking confirmation button is used to indicate that an automatic unlocking operation is performed after actively obtaining the corresponding temporary unlocking code through the electronic key.
6. The method according to claim 4, characterized in that Determining the corresponding information filling link according to the historical connection record includes: When it is determined based on the historical communication connection record that there is no communication connection relationship between the electronic key and the device, the page filling items corresponding to the information filling link include the key number, door lock number, unlocking reason, authorization duration and a manual unlocking confirmation identification button. The manual unlocking confirmation identification button is used to indicate that a temporary unlocking code is passively input into the unlocking code input panel of the electronic key, and a manual unlocking operation is performed.
7. A temporary unlocking device for a smart lock, characterized in that: The device comprises: The acquisition module is used to obtain the account login request based on the input of the front-end page; A sending module, used for sending a first page response message when the account login is successful, wherein the first page response message includes at least one function option identifier and a corresponding jump control identifier of the fault repair page; The acquisition module is further used to receive an operation request returned based on the jump control identifier; The sending module is further used to send a second page response information in response to the operation request, wherein the second page response information includes an information filling link of a target lock control page for temporarily verifying the authority; The acquisition module is further used to receive a temporary unlocking code acquisition request returned based on the information filling link; The sending module is further configured to generate and return a corresponding temporary unlocking code when the temporary unlocking code acquisition request is verified successfully.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Intelligent lock system and unlocking method of intelligent lock
CN107313660A
Intelligent passive wireless electronic lock control system and realization method thereof
CN109840976A
Application method of intelligent lock in operation and maintenance of power system
CN110415413A
Management system and method for intelligent lock of power supply equipment
CN114267103A
Intelligent lock management system and use method
CN115822384A
