Cable pipeline intelligent lock opening system and method based on multiple verification

Through multi-level authentication of the cable piping intelligent lock opening process, the problem of low safety in the existing technology is solved, and high safety management of the entire process of cable piping intelligent lock opening is realized.

CN119516644AActive Publication Date: 2025-02-25GUANGZHOU PANYU CABLE WORKS
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411458131.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-18
Publication Date
2025-02-25
Estimated Expiration
2044-10-18

AI Technical Summary

Technical Problem

In the existing cable piping smart lock opening technology, only the authentication function is implemented between the smart key and the cable piping smart lock, which is relatively low in safety.

Method used

By performing multi-level authentication on various devices in the cable piping smart lock opening process, including user terminal devices, smart keys and smart lock management devices, we ensure the secure transmission and use of key data.

Benefits of technology

Improve the safety of the entire process of opening the cable piping intelligent lock, prevent unauthorized opening, and enhance the security of management and control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119516644A_ABST
    Figure CN119516644A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a multi-verification-based intelligent lock unlocking system and method for a cable pipeline, and the method comprises the steps: carrying out the unlocking of an intelligent lock under the condition that user terminal equipment receives secret key data transmitted by intelligent lock management equipment and is connected with an intelligent key; the to-be-checked code sent by the intelligent key and the reserved time period of the to-be-checked code are received, the to-be-checked code is updated every preset period, and the user terminal equipment carries out key identity verification on the intelligent key according to the to-be-checked code and the time period and receives an equipment permission verification result sent by the intelligent key; and under the condition that the key identity verification result and the equipment authority verification result are both passed, the user terminal equipment sends the key data to the intelligent key so as to open the corresponding cable pipeline intelligent lock. According to the scheme, the safety of the whole opening process of the intelligent lock of the cable pipeline can be ensured through multi-stage authentication of each device in the opening link of the intelligent lock of the cable pipeline.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of cable duct smart lock opening, and in particular, to a cable duct smart lock opening system and method based on multiple verifications. Background Art

[0002] The cable duct plugging sleeve can be disassembled at will during construction, and the construction workers can carry out construction without planning according to their own convenience, resulting in the cable pipe being installed not in the prescribed order during the cable laying process, the cable positions of each cable well not corresponding, and the cables being entangled in a disorderly manner. The cable duct smart lock can achieve precise control and safety management of the cable duct through the set permission verification method, greatly improving the safety of the cable duct. The application of the cable duct smart lock is of great significance in improving the safety of the cable duct, facilitating management, and saving energy and reducing emissions.

[0003] Among the relevant cable duct smart lock opening methods, most of them are to issue keys through the cable duct smart lock management platform. After the mobile phone APP receives the issued keys, the staff will transfer the keys in the mobile phone APP to the smart key, so as to open the cable duct smart lock after completing the authentication between the smart key and the cable duct smart lock. This authentication method only realizes the authentication function between the smart key and the cable duct smart lock, and has low security. Summary of the invention

[0004] The embodiments of the present invention provide a cable duct smart lock opening system and method based on multiple verifications, which solves the problem that the existing cable duct smart lock opening technology only realizes the authentication function between the smart key and the cable duct smart lock, resulting in low security. The system and method can ensure the security of the entire process of opening the cable duct smart lock through multi-level authentication of each device in the cable duct smart lock opening link.

[0005] In a first aspect, an embodiment of the present invention provides a method for opening a cable duct smart lock based on multiple verifications, comprising:

[0006] When the user terminal device receives the key data issued by the smart lock management device and establishes a connection with the smart key, the user terminal device receives the code to be verified sent by the smart key and the time period for which the code to be verified is retained, and the code to be verified is updated every preset period;

[0007] The user terminal device performs key identity verification on the smart key according to the code to be verified and the time period, and receives a device authority verification result sent by the smart key;

[0008] When the key identity verification and the device authority verification are both passed, the user terminal device sends the key data to the smart key for opening the corresponding cable duct smart lock.

[0009] Optionally, before the user terminal device receives the issued key data and establishes a connection with the smart key, the process includes:

[0010] The smart lock management device receives the unique identity code sent by the user terminal device, and queries whether the unique identity code exists in the pre-stored code information. If the unique identity code exists, the upper-level code of the unique identity code is determined according to the pre-stored code information, and the pre-stored code information includes the hierarchical relationship between the pre-stored codes;

[0011] The smart lock management device determines whether the key issuance authority verification is passed based on the previous level code. If the key issuance authority verification is passed, key data is generated and sent to the user terminal device.

[0012] Optionally, the smart lock management device determines whether the key issuance authority verification is passed based on the upper-level code, including:

[0013] The intelligent management device obtains the cable duct operation data uploaded by the user terminal device corresponding to the stored upper-level code, and determines that the key issuance authority verification has passed when the cable duct operation data indicates that the operation task has been completed; and determines that the key issuance authority verification has failed when the cable duct operation data indicates that the operation task has not been completed.

[0014] Optionally, the user terminal device performs key identity verification on the smart key according to the code to be verified and the time period, including:

[0015] The user terminal device generates a comparison verification code according to the time period and a preset comparison verification code generation rule, and determines that the key identity authentication is passed when the comparison verification code is the same as the code to be verified.

[0016] Optionally, the user terminal device generates a comparison verification code according to the time period and a preset comparison verification code generation rule, including:

[0017] The user terminal device calculates the timestamps corresponding to the front end time point and the back end time point of the time period, and integrates the value of the post-preset digits of the timestamp of the front end time point with the value of the post-preset digits of the timestamp of the back end time point to obtain a comparison check code.

[0018] Optionally, the code to be verified is updated every preset period, including:

[0019] The smart key determines the time period of the cycle corresponding to the next preset cycle at the end of the current preset cycle, generates a new code to be verified according to the time period of the cycle and the preset code to be verified generation rule, and updates the code to be verified corresponding to the current preset cycle to the new code to be verified, and the preset code to be verified generation rule has the same logic as the preset comparison verification code generation rule.

[0020] Optionally, before receiving the device authority verification result sent by the smart key, the method further includes:

[0021] The smart key receives the unique identity code sent by the user terminal device, compares the unique identity code with the pre-stored comparison code, and determines the current time if the comparison is successful;

[0022] The smart key compares the time with a plurality of pre-stored available time periods, and determines that the device authority verification result is verification passed if there is an available time period within which the time falls.

[0023] In a second aspect, an embodiment of the present invention further provides a cable duct intelligent lock opening system based on multiple verifications, comprising:

[0024] An acquisition module, configured to receive the code to be verified sent by the smart key and the time period for which the code to be verified is retained when the user terminal device receives the key data issued by the smart lock management device and establishes a connection with the smart key, and the code to be verified is updated every preset period;

[0025] A key identity authentication module, used for the user terminal device to perform key identity authentication on the smart key according to the code to be verified and the time period;

[0026] A receiving module, used to receive the device authority verification result sent by the smart key;

[0027] The key sending module is used for, when the key identity verification and the device authority verification results are both passed, the user terminal device sends the key data to the smart key for opening the corresponding cable duct smart lock.

[0028] In a third aspect, an embodiment of the present invention further provides a cable duct smart lock opening device based on multiple verifications, the device comprising:

[0029] one or more processors;

[0030] a storage device for storing one or more programs,

[0031] When the one or more programs are executed by the one or more processors, the one or more processors implement the cable duct smart lock opening method based on multiple verifications described in an embodiment of the present invention.

[0032] In a fourth aspect, an embodiment of the present invention further provides a storage medium storing computer executable instructions, which, when executed by a computer processor, are used to execute the cable duct smart lock opening method based on multiple verifications described in an embodiment of the present invention.

[0033] In the embodiment of the present invention, when the user terminal device receives the key data sent by the smart lock management device and establishes a connection with the smart key, the verification code and the time period for which the verification code is retained sent by the smart key are received. The verification code is updated every preset period. The user terminal device performs key identity verification on the smart key according to the verification code and the time period for which the verification code is retained, and receives the device authority verification result sent by the smart key. When both the key identity verification and the device authority verification results are passed, the user terminal device sends the key data to the smart key for opening the corresponding cable duct smart lock. This solution solves the problem of low security in that only the authentication function is implemented between the smart key and the cable duct smart lock in the existing cable duct smart lock opening technology by multi-level authentication of each device in the cable duct smart lock opening link, and can ensure the security of the entire process of cable duct smart lock opening. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A flowchart of a cable duct smart lock opening method based on multiple verifications provided by an embodiment of the present invention;

[0035] Figure 2 A flowchart of another method for opening a cable duct smart lock based on multiple verifications provided by an embodiment of the present invention;

[0036] Figure 3 A flowchart of another method for opening a cable duct smart lock based on multiple verifications provided by an embodiment of the present invention;

[0037] Figure 4 A flowchart of another method for opening a cable duct smart lock based on multiple verifications provided by an embodiment of the present invention;

[0038] Figure 5 A module structure block diagram of a cable duct intelligent lock opening system based on multiple verifications provided by an embodiment of the present invention;

[0039] Figure 6 A schematic structural diagram of a cable duct smart lock opening device based on multiple verifications provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0040] The embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the embodiments of the present invention, rather than to limit the embodiments of the present invention. It is also necessary to explain that, for ease of description, only parts related to the embodiments of the present invention are shown in the accompanying drawings, rather than all structures.

[0041] The terms "first", "second", etc. in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and or or" in the specification and claims represents at least one of the connected objects, and the character "or" generally indicates that the objects associated before and after are in an "or" relationship.

[0042] The cable duct smart lock opening method based on multiple verifications provided in the embodiment of the present application can be applied to the verification scenario in the process of opening the cable duct smart lock. The cable duct smart lock opening method based on multiple verifications provided in the embodiment of the present application, the execution subject of each step can be a computer device, which refers to any electronic device with data calculation, processing and storage capabilities, such as mobile phones, PCs (Personal Computers), tablet computers and other terminal devices, and can also be servers and other devices, which are not limited in the embodiment of the present application.

[0043] Figure 1 A flowchart of a cable duct smart lock opening method based on multiple verifications provided by an embodiment of the present invention, such as Figure 1 As shown, specifically including:

[0044] Step S101: When the user terminal device receives the key data issued by the smart lock management device and establishes a connection with the smart key, it receives the code to be verified sent by the smart key and the time period for retaining the code to be verified. The code to be verified is updated every preset period.

[0045] Among them, the user terminal device can be a terminal device specially used by the user to open the cable duct smart lock, and its relevant information can be entered into the smart lock management device before the user terminal device is put into use. The smart lock management device can be a management layer device used to manage each cable duct smart lock, and the smart lock management device can be used to determine whether to send key data to the user terminal device. The key data is used to represent the encrypted data verified when the cable duct smart lock is opened. The smart key is used to represent the key used to open the cable duct smart lock. The smart key is not only used to open the cable duct smart lock, but also has the function of powering the cable duct smart lock and transmitting data. The smart key can connect to the user terminal device and transmit data through Bluetooth technology. The code to be verified can be a combination of numbers or a character string or a combination of characters and numbers waiting to be confirmed whether it is correct. The code to be verified is updated every preset period, and the retention time of each code to be verified is one period.

[0046] Optionally, before the user terminal device receives the issued key data and establishes a connection with the smart key, the smart lock management device receives the unique identity code sent by the user terminal device, and queries whether the unique identity code exists in the pre-stored code information. If the unique identity code exists, the upper level code of the unique identity code is determined according to the pre-stored code information. The pre-stored code information includes the hierarchical relationship between each pre-stored code. The smart lock management device determines whether the key issuance authority verification is passed based on the upper level code of the unique identity code. If the key issuance authority verification is passed, the key data is generated and sent to the user terminal device. By verifying the key issuance authority of the user terminal device, the security of key issuance can be improved, thereby improving the security of opening the cable duct smart lock.

[0047] Step S102: the user terminal device performs key identity verification on the smart key according to the code to be verified and the time period, and receives a device authority verification result sent by the smart key.

[0048] Among them, key identity authentication is used to represent the user terminal device to verify the identity of the smart key. The device permission verification result is used to represent the result of the permission verification of the user terminal device by the smart key. In one embodiment, after the user terminal device receives the code to be verified and the time period for which the code to be verified is retained sent by the smart key, the user terminal device inputs the time period for which the code to be verified is retained into the trained comparison verification code generation model to obtain the comparison verification code. When the comparison verification code is the same as the code to be verified, it is determined that the key identity authentication is passed, and the device permission verification result sent by the smart key is received. Optionally, a key identity authentication method can be that the user terminal device generates a comparison verification code according to the time period for which the code to be verified is retained and a preset comparison verification code generation rule. When the comparison verification code is the same as the code to be verified, it is determined that the key identity authentication is passed. By authenticating the smart key, the security of the key data transmitted from the user terminal device to the smart key can be ensured, and the key data can be prevented from being stolen by unauthorized persons.

[0049] Optionally, before receiving the device authority verification result sent by the smart key, the smart key receives the unique identity code sent by the user terminal device, compares the unique identity code with the pre-stored comparison code, and determines the current time if the comparison is successful. The smart key compares the current time with multiple pre-stored available time periods, and determines that the device authority verification result is passed if there is an available time period that the current time falls into. By performing authority verification of the smart key on the user terminal device, the security of the user terminal device that transmits the key can be guaranteed.

[0050] Step S103: When the key identity verification and the device authority verification are both passed, the user terminal device sends the key data to the smart key for opening the corresponding cable duct smart lock.

[0051] Among them, after the user terminal device performs key identity authentication and receives the device authority verification result sent by the smart key, the key identity authentication result and the device authority verification result are detected. If the key identity authentication and the device authority verification results are both passed, the user terminal device sends the key data to the smart key. In one embodiment, after the cable duct smart lock determines that the smart key is inserted, it receives the key data transmitted by the smart key, and the cable duct smart lock performs verification processing based on the key data. If the verification passes, the cable duct smart lock automatically opens. Through multi-level authentication of each device in the cable duct smart lock opening link, the security of the entire process of opening the cable duct smart lock can be guaranteed.

[0052] From the above, it can be seen that when the user terminal device receives the key data sent by the smart lock management device and establishes a connection with the smart key, it receives the verification code sent by the smart key and the time period for which the verification code is retained. The verification code is updated every preset period. The user terminal device performs key identity authentication on the smart key according to the verification code and the time period for which the verification code is retained, and receives the device authority verification result sent by the smart key. When the key identity authentication and device authority verification results are both passed, the user terminal device sends the key data to the smart key for opening the corresponding cable duct smart lock. This solution solves the problem of low security in that the authentication function is only implemented between the smart key and the cable duct smart lock in the existing cable duct smart lock opening technology through multi-level authentication of each device in the cable duct smart lock opening link, and can ensure the security of the entire process of cable duct smart lock opening.

[0053] Figure 2 A flowchart of another method for opening a cable duct smart lock based on multiple verifications provided by an embodiment of the present invention provides a specific method for sending optional key data, such as Figure 2 As shown, specifically including:

[0054] Step S201, the smart lock management device receives the unique identity code sent by the user terminal device, and queries whether the unique identity code exists in the pre-stored coding information. If the unique identity code exists, the upper-level code of the unique identity code is determined according to the pre-stored coding information, and the pre-stored coding information includes the hierarchical relationship between each pre-stored code.

[0055] Among them, the unique identity code is used to represent the unique code representing the identity of the user terminal device, which can be a string or a combination of numbers or a combination of characters and numbers, and is unique. The pre-stored code is used to represent the unique identity code of each user terminal device pre-stored by the smart lock management device, and the pre-stored code information can be the relevant information of the unique identity code of each user terminal device pre-stored by the smart lock management device. The previous level code can be a unique identity code arranged before the unique identity code of the current user terminal device, and the order of the user terminal device corresponding to the previous level code to perform cable duct operations is arranged before the current user terminal device. An exemplary example can be that the unique identity code b sent by the user terminal device received by the smart lock management device is 005, and the pre-stored codes in the pre-stored code information are arranged in descending order of hierarchy as 001, 002, 003, 004, 005, and 006. The unique identity code of user terminal device b exists in the pre-stored code information, and the previous level code of the unique identity code is 004.

[0056] Step S202: The smart lock management device determines whether the key issuance authority verification is passed based on the previous level code. If the key issuance authority verification is passed, key data is generated and sent to the user terminal device.

[0057] Among them, after determining the previous level code of the unique identity code of the user terminal device, the smart lock management device determines whether the key issuance authority verification is passed based on the previous level code of the unique identity code of the user terminal device. If the key issuance authority verification is passed, the key data is generated and sent to the user terminal device. Optionally, a method of verifying the key issuance authority may be that the smart management device obtains the cable duct operation data uploaded by the user terminal device corresponding to the previous level code of the unique identity code of the user terminal device stored, and if the cable duct operation data indicates that the operation task has been completed, it is determined that the key issuance authority verification has passed, and if the cable duct operation data indicates that the operation task has not been completed, it is determined that the key issuance authority verification has not passed. An exemplary example may be that the unique identity code of the current user terminal device b is 005, and the previous level code is 004. The smart management device obtains the cable duct operation data uploaded by the user terminal device a corresponding to the stored 004, and the operation task has been completed, then it is determined that the key issuance authority verification has passed. In another embodiment, the intelligent management device obtains the cable duct smart lock status record data uploaded by the user terminal device corresponding to the upper-level code of the stored unique identity code of the user terminal device, and determines whether the corresponding cable duct smart lock is opened and closed within a preset time based on the smart lock status record data. If so, it is determined that the key issuance authority verification has passed; if not, it is determined that the key issuance authority verification has failed.

[0058] Step S203: When the user terminal device receives the key data sent by the smart lock management device and establishes a connection with the smart key, it receives the code to be verified sent by the smart key and the time period for retaining the code to be verified. The code to be verified is updated every preset period.

[0059] Step S204: the user terminal device performs key identity verification on the smart key according to the code to be verified and the time period, and receives a device authority verification result sent by the smart key.

[0060] Step S205: When the key identity verification and the device authority verification are both passed, the user terminal device sends the key data to the smart key for opening the corresponding cable duct smart lock.

[0061] From the above, it can be seen that before the user terminal device receives the issued key data and establishes a connection with the smart key, the smart lock management device receives the unique identity code sent by the user terminal device, and queries whether the unique identity code exists in the pre-stored code information. If the unique identity code exists, the upper level code of the unique identity code is determined according to the pre-stored code information. The pre-stored code information includes the hierarchical relationship between each pre-stored code. The smart lock management device determines whether the key issuance authority verification is passed based on the upper level code of the unique identity code. If the key issuance authority verification is passed, the key data is generated and sent to the user terminal device. This solution can improve the security of key issuance by verifying the key issuance authority of the user terminal device, thereby improving the security of opening the cable duct smart lock.

[0062] Figure 3 A flowchart of another method for opening a cable duct smart lock based on multiple verifications provided by an embodiment of the present invention provides a specific method for optional key identity verification, such as Figure 2 As shown, specifically including:

[0063] Step S301: When the user terminal device receives the key data issued by the smart lock management device and establishes a connection with the smart key, it receives the code to be verified sent by the smart key and the time period for retaining the code to be verified. The code to be verified is updated every preset period.

[0064] Step S302, the user terminal device generates a comparison verification code according to the time period and a preset comparison verification code generation rule, and when the comparison verification code is the same as the code to be verified, determines that the key identity authentication is passed, and receives the device authority verification result sent by the smart key.

[0065] Among them, the preset comparison verification code generation rule may be a preset method for generating a comparison verification code, and the comparison verification code is used to represent the same type of data to be compared with the code to be verified. A key identity authentication method may be: the user terminal device generates a comparison verification code according to the time period for which the code to be verified is retained and the preset comparison verification code generation rule, and when the comparison verification code is the same as the code to be verified, it is determined that the key identity authentication is passed. Optionally, a method for generating a comparison verification code may be that the user terminal device calculates the timestamps corresponding to the front end time point and the back end time point of the time period for which the code to be verified is retained, and integrates the value of the number of digits after the timestamp of the front end time point with the value of the number of digits after the timestamp of the back end time point to obtain the comparison verification code. An exemplary example may be that the code to be verified is 0566, the number of digits to be preset is two, the time period for which the code to be verified is retained is from 12:05 on January 1, 2024 to 12:06 on January 1, 2024, the timestamp of the front-end time point is 1672507505, the timestamp of the back-end time point is 1672507566, the last two digits of the timestamp of the front-end time point are 05, and the last two digits of the timestamp of the back-end time point are 66, and the comparison verification code obtained by integration is 0566, which is the same as the code to be verified, and it is determined that the key identity verification is passed. In another embodiment, the user terminal device determines the front-end time point and the back-end time point of the time period for which the code to be verified is retained, and substitutes the front-end time point and the back-end time point into the trained comparison verification code generation model to obtain the comparison verification code.

[0066] Optionally, at the end of the current preset cycle, the smart key determines the time period of the cycle corresponding to the next preset cycle, generates a new code to be verified according to the time period of the cycle and the preset code to be verified generation rule, and updates the code to be verified corresponding to the current preset cycle to the new code to be verified, and the preset code to be verified generation rule has the same logic as the preset comparison verification code generation rule. An exemplary example may be that the preset comparison verification code generation rule is that the user terminal device calculates the front end time point and the timestamp corresponding to the back end time point of the time period in which the code to be verified is retained, and the value of the number of digits after the preset digit of the timestamp of the front end time point is integrated with the value of the number of digits after the preset digit of the timestamp of the back end time point to obtain the comparison verification code, then the preset code to be verified generation rule with the same logic is that the smart key calculates the front end time point and the timestamp corresponding to the back end time point of the time period corresponding to the next preset cycle of the current preset cycle, and integrates the value of the number of digits after the preset digit of the timestamp of the front end time point with the value of the number of digits after the preset digit of the timestamp of the back end time point to obtain the code to be verified, wherein the time period in which the code to be verified is retained is the same as the time period in which the cycle corresponding to the next preset cycle of the current preset cycle is retained.

[0067] Step S303: When the key identity verification and the device authority verification are both passed, the user terminal device sends the key data to the smart key for opening the corresponding cable duct smart lock.

[0068] As can be seen from the above, the user terminal device generates a comparison verification code according to the time period for which the verification code is retained and the preset comparison verification code generation rules. When the comparison verification code is the same as the verification code, it is determined that the key identity authentication has passed. This solution can ensure the security of key data transmitted from the user terminal device to the smart key by authenticating the smart key, and prevent unauthorized people from stealing the key data.

[0069] Figure 4 A flowchart of another method for opening a cable duct smart lock based on multiple verifications provided by an embodiment of the present invention provides an optional specific method for determining the device authority verification result, such as Figure 2 As shown, specifically including:

[0070] Step S401: When the user terminal device receives the key data sent by the smart lock management device and establishes a connection with the smart key, it receives the code to be verified sent by the smart key and the time period for retaining the code to be verified. The code to be verified is updated every preset period.

[0071] Step S402: The user terminal device performs key identity verification on the smart key according to the code to be verified and the time period.

[0072] Step S403, the smart key receives the unique identity code sent by the user terminal device, compares the unique identity code with the pre-stored comparison code, and if the comparison is successful, determines the current time, and the smart key compares the time with multiple pre-stored available time periods, and if there is an available time period within which the time falls, determines that the device authority verification result is verified passed.

[0073] Among them, the pre-stored comparison code can be a pre-stored code for comparison with the unique identity code of the connected user terminal device, and the pre-stored comparison code can be a code with permission to transmit data with the smart key. The available time period can be a time period in which the smart key can be used to open the cable duct smart lock. An exemplary example can be that the pre-stored comparison code in the smart key is 005, and the pre-stored multiple available time periods are 9 o'clock to 12 o'clock, 1 o'clock to 5 o'clock, and 7 o'clock to 9 o'clock. The unique identity code received from the user terminal device is also 005. The comparison is successful. The current time is 10 o'clock. Within the available time from 9 o'clock to 12 o'clock, the device permission verification result is determined to be verified. In another embodiment, the smart key receives the unique identity code sent by the user terminal device, compares the unique identity code with the pre-stored comparison code, and if the comparison is successful, the device permission verification result is determined to be verified.

[0074] Step S404, the user terminal device receives the device authority verification result sent by the smart key. If the key identity authentication and the device authority verification results are both passed, the user terminal device sends the key data to the smart key for opening the corresponding cable duct smart lock.

[0075] As can be seen from the above, before the user terminal device receives the device authority verification result sent by the smart key, the smart key receives the unique identity code sent by the user terminal device, compares the unique identity code with the pre-stored comparison code, and determines the current time if the comparison is successful. The smart key compares the current time with multiple pre-stored available time periods, and determines that the device authority verification result is verification passed if there is an available time period that the current time falls into. This solution can ensure the security of the user terminal device that transmits the key by performing authority verification of the smart key on the user terminal device.

[0076] Figure 5 The module structure block diagram of a cable duct smart lock opening system based on multiple verifications provided by an embodiment of the present invention is used to execute the cable duct smart lock opening method based on multiple verifications provided by the above embodiment, and has the corresponding functional modules and beneficial effects of the execution method. Figure 5 As shown, the system specifically includes:

[0077] The acquisition module 101 is used to receive the code to be verified sent by the smart key and the time period for retaining the code to be verified when the user terminal device receives the key data issued by the smart lock management device and establishes a connection with the smart key. The code to be verified is updated every preset period;

[0078] A key identity authentication module 102, configured for the user terminal device to perform key identity authentication on the smart key according to the code to be verified and the time period;

[0079] A receiving module 103, used to receive the device authority verification result sent by the smart key;

[0080] The key sending module 104 is used for, when the key identity verification and the device authority verification results are both passed, the user terminal device sends the key data to the smart key for opening the corresponding cable duct smart lock.

[0081] It can be seen from the above scheme that when the user terminal device receives the key data sent by the smart lock management device and establishes a connection with the smart key, it receives the verification code sent by the smart key and the time period for which the verification code is retained. The verification code is updated every preset period. The user terminal device performs key identity authentication on the smart key according to the verification code and the time period for which the verification code is retained, and receives the device authority verification result sent by the smart key. When both the key identity authentication and the device authority verification results are passed, the user terminal device sends the key data to the smart key for opening the corresponding cable duct smart lock. This scheme solves the problem of low security in that only the authentication function is implemented between the smart key and the cable duct smart lock in the existing cable duct smart lock opening technology through multi-level authentication of each device in the cable duct smart lock opening link, and can ensure the security of the entire process of cable duct smart lock opening.

[0082] In a possible embodiment, a key delivery verification module is further included, which is specifically used to:

[0083] The smart lock management device receives the unique identity code sent by the user terminal device, and queries whether the unique identity code exists in the pre-stored code information. If the unique identity code exists, the upper-level code of the unique identity code is determined according to the pre-stored code information, and the pre-stored code information includes the hierarchical relationship between the pre-stored codes;

[0084] The smart lock management device determines whether the key issuance authority verification is passed based on the previous level code. If the key issuance authority verification is passed, key data is generated and sent to the user terminal device.

[0085] In a possible embodiment, the key delivery verification module is further used to:

[0086] The intelligent management device obtains the cable duct operation data uploaded by the user terminal device corresponding to the stored upper-level code, and determines that the key issuance authority verification has passed when the cable duct operation data indicates that the operation task has been completed; and determines that the key issuance authority verification has failed when the cable duct operation data indicates that the operation task has not been completed.

[0087] In a possible embodiment, the key identity verification module 102 is specifically used for:

[0088] The user terminal device generates a comparison verification code according to the time period and a preset comparison verification code generation rule, and determines that the key identity authentication is passed when the comparison verification code is the same as the code to be verified.

[0089] In a possible embodiment, the key identity verification module 102 is further used for:

[0090] The user terminal device calculates the timestamps corresponding to the front end time point and the back end time point of the time period, and integrates the value of the post-preset digits of the timestamp of the front end time point with the value of the post-preset digits of the timestamp of the back end time point to obtain a comparison check code.

[0091] In a possible embodiment, a verification code updating module is further included, which is specifically used to:

[0092] The smart key determines the time period of the cycle corresponding to the next preset cycle at the end of the current preset cycle, generates a new code to be verified according to the time period of the cycle and the preset code to be verified generation rule, and updates the code to be verified corresponding to the current preset cycle to the new code to be verified, and the preset code to be verified generation rule has the same logic as the preset comparison verification code generation rule.

[0093] In a possible embodiment, a device permission verification module is further included, which is specifically used to:

[0094] The smart key receives the unique identity code sent by the user terminal device, compares the unique identity code with the pre-stored comparison code, and determines the current time if the comparison is successful;

[0095] The smart key compares the time with a plurality of pre-stored available time periods, and determines that the device authority verification result is verification passed if there is an available time period within which the time falls.

[0096] Figure 6 A schematic diagram of a cable duct intelligent lock opening device based on multiple verifications provided by an embodiment of the present invention is shown in FIG. Figure 6As shown, the device includes a processor 201, a memory 202, an input device 203 and an output device 204; the number of processors 201 in the device can be one or more. Figure 6 A processor 201 is taken as an example; the processor 201, memory 202, input device 203 and output device 204 in the device can be connected by a bus or other means. Figure 6 In the example, the bus connection is used. The memory 202, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions or modules corresponding to the cable duct smart lock opening method based on multiple verifications in the embodiment of the present invention. The processor 201 executes various functional applications and data processing of the device by running the software programs, instructions and modules stored in the memory 202, that is, realizes the above-mentioned cable duct smart lock opening method based on multiple verifications. The input device 203 can be used to receive input digital or character information, and generate key signal input related to user settings and function control of the device. The output device 204 may include a display device such as a display screen.

[0097] An embodiment of the present invention further provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to execute a cable duct smart lock opening method based on multiple verifications when executed by a computer processor, the method comprising:

[0098] When the user terminal device receives the key data issued by the smart lock management device and establishes a connection with the smart key, the user terminal device receives the code to be verified sent by the smart key and the time period for which the code to be verified is retained, and the code to be verified is updated every preset period;

[0099] The user terminal device performs key identity verification on the smart key according to the code to be verified and the time period, and receives a device authority verification result sent by the smart key;

[0100] When the key identity verification and the device authority verification are both passed, the user terminal device sends the key data to the smart key for opening the corresponding cable duct smart lock.

[0101] It is worth noting that in the above-mentioned embodiment of the cable duct intelligent lock opening method system based on multiple verifications, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention.

[0102] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the embodiments of the present invention are not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention are described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.

Claims

1. A cable duct smart lock opening method based on multiple verifications, characterized in that: include: When the user terminal device receives the key data issued by the smart lock management device and establishes a connection with the smart key, the user terminal device receives the code to be verified sent by the smart key and the time period for which the code to be verified is retained, and the code to be verified is updated every preset period; The user terminal device performs key identity verification on the smart key according to the code to be verified and the time period, and receives a device authority verification result sent by the smart key; When the key identity verification and the device authority verification are both passed, the user terminal device sends the key data to the smart key for opening the corresponding cable duct smart lock.

2. The cable duct smart lock opening method based on multiple verifications according to claim 1 is characterized in that: Before the user terminal device receives the issued key data and establishes a connection with the smart key, it includes: The smart lock management device receives the unique identity code sent by the user terminal device, and queries whether the unique identity code exists in the pre-stored code information. If the unique identity code exists, the upper-level code of the unique identity code is determined according to the pre-stored code information, and the pre-stored code information includes the hierarchical relationship between the pre-stored codes; The smart lock management device determines whether the key issuance authority verification is passed based on the previous level code. If the key issuance authority verification is passed, key data is generated and sent to the user terminal device.

3. The cable duct smart lock opening method based on multiple verifications according to claim 2 is characterized in that: The smart lock management device determines whether the key issuance authority verification is passed based on the upper-level code, including: The intelligent management device obtains the cable duct operation data uploaded by the user terminal device corresponding to the stored upper-level code, and determines that the key issuance authority verification has passed when the cable duct operation data indicates that the operation task has been completed; and determines that the key issuance authority verification has failed when the cable duct operation data indicates that the operation task has not been completed.

4. The cable duct smart lock opening method based on multiple verifications according to any one of claims 1 to 3, characterized in that: The user terminal device performs key identity authentication on the smart key according to the code to be verified and the time period, including: The user terminal device generates a comparison verification code according to the time period and a preset comparison verification code generation rule, and determines that the key identity authentication is passed when the comparison verification code is the same as the code to be verified.

5. The cable duct smart lock opening method based on multiple verifications according to claim 4 is characterized in that: The user terminal device generates a comparison verification code according to the time period and a preset comparison verification code generation rule, including: The user terminal device calculates the timestamps corresponding to the front end time point and the back end time point of the time period, and integrates the value of the post-preset digits of the timestamp of the front end time point with the value of the post-preset digits of the timestamp of the back end time point to obtain a comparison check code.

6. The cable duct smart lock opening method based on multiple verifications according to claim 4 is characterized in that: The code to be checked is updated every preset period, including: The smart key determines the time period of the cycle corresponding to the next preset cycle at the end of the current preset cycle, generates a new code to be verified according to the time period of the cycle and the preset code to be verified generation rule, and updates the code to be verified corresponding to the current preset cycle to the new code to be verified, and the preset code to be verified generation rule has the same logic as the preset comparison verification code generation rule.

7. The cable duct smart lock opening method based on multiple verifications according to any one of claims 1 to 3, characterized in that: Before receiving the device authority verification result sent by the smart key, the method further includes: The smart key receives the unique identity code sent by the user terminal device, compares the unique identity code with the pre-stored comparison code, and determines the current time if the comparison is successful; The smart key compares the time with a plurality of pre-stored available time periods, and determines that the device authority verification result is verification passed if there is an available time period within which the time falls.

8. The cable duct intelligent lock opening system based on multiple verifications is characterized by: include: An acquisition module, configured to receive the code to be verified sent by the smart key and the time period for which the code to be verified is retained when the user terminal device receives the key data issued by the smart lock management device and establishes a connection with the smart key, and the code to be verified is updated every preset period; A key identity authentication module, used for the user terminal device to perform key identity authentication on the smart key according to the code to be verified and the time period; A receiving module, used to receive the device authority verification result sent by the smart key; The key sending module is used for, when the key identity verification and the device authority verification results are both passed, the user terminal device sends the key data to the smart key for opening the corresponding cable duct smart lock.

9. A cable duct smart lock opening device based on multiple verifications, the device comprising: one or more processors; A storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the cable duct smart lock opening method based on multiple verifications as described in any one of claims 1-7.

10. A storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the cable duct smart lock opening method based on multiple verifications as described in any one of claims 1 to 7 when executed by a computer processor.

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

  • Intelligent lock opening method and device, electronic equipment and storage medium

    CN113282944A

  • Intelligent lock management system and use method

    CN115822384A

  • Remote administration of an electronic key to facilitate use by authorized persons

    US20170249794A1