Cable pipeline intelligent lock opening and closing system and method based on authority information

Through the cable pipeline intelligent lock opening and closing system combining permission information and key information, the problems of extensive permission management and lack of reasonable opening and closing control in the existing technology are solved, and safe and efficient permission management and opening and closing control are achieved.

CN119810954AActive Publication Date: 2025-04-11GUANGZHOU PANYU CABLE WORKS
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202411706442.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-26
Publication Date
2025-04-11
Estimated Expiration
2044-11-26

AI Technical Summary

Technical Problem

In the existing cable pipe intelligent lock management technology, the permission management of the cable pipe intelligent lock opening is relatively extensive, and the lack of reasonable opening and closing control methods leads to insufficient security of permission management.

Method used

By combining permission information and key information, a cable pipe intelligent lock opening and closing system based on permission information is used to detect the insertion of the smart key and receive the permission key information, decrypt the staff number, permission level and pipeline pre-operation content, the matching process determines whether it is turned on, and the smart lock opening time is determined based on the permission level and pipeline pre-operation content, and the smart lock opening time is determined based on the permission level and pipeline pre-operation content, and the turn-on and closing management is carried out.

Benefits of technology

The security and rationality of permission management are achieved, and the opening and closing of the cable pipe intelligent lock is reasonably controlled through permission information to avoid unauthorized access and potential threats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119810954A_ABST
    Figure CN119810954A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a cable pipeline intelligent lock opening and closing system and method based on permission information, and the method comprises the steps: receiving permission key information when detecting that an intelligent key is inserted and a power supply is switched on, decrypting the permission key information according to a preset decryption rule to obtain decryption data, and transmitting the decryption data to a server; the decrypted data comprises a worker work number, a permission level and a pipeline pre-operation content, obtaining stored permission work number information, performing matching processing based on the permission work number information and the worker work number, determining whether to open according to a matching processing result, and when determining that the opening is performed, determining whether the pipeline is opened. And based on the permission level and the pipeline pre-operation content, determining the opening duration of the intelligent lock, opening, when the opening time reaches the opening duration of the intelligent lock, determining the current position of the intelligent lock, and based on the position of the intelligent lock, performing intelligent lock closing management operation. According to the scheme, the safety of authority management can be guaranteed through combination of the authority information and the key information, and opening and closing of the cable pipeline intelligent lock are reasonably controlled in combination with the authority information.
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 management, and in particular, to a cable duct smart lock opening and closing system and method based on authority information. Background Art

[0002] Since the plugging sleeve of the cable duct can be disassembled at will during construction, construction workers can carry out construction at will without planning according to their own convenience, and effective control cannot be carried out. As a result, during the cable laying process, the cables are often installed in the pipes not in the prescribed order, the cable positions of each cable well do not correspond, and the cables are tangled in a disorderly manner. In order to solve the above problems, the intelligent lock of the cable duct came into being. The intelligent lock of the cable duct combines digital encryption, wireless communication and remote management technology to ensure that only authorized personnel can access the cable duct, thereby effectively preventing unauthorized access and potential threats.

[0003] In the relevant cable duct smart lock management solutions, when assigning staff to open the cable duct smart lock, most platforms will determine the staff's permissions accordingly to ensure that only users with corresponding permissions can unlock the lock. This method of permission management for opening cable duct smart locks is relatively extensive and lacks a reasonable method for opening and closing control of cable duct smart locks. Summary of the invention

[0004] The embodiments of the present invention provide a cable duct smart lock opening and closing system and method based on permission information, which solves the problems of relatively extensive permission management for opening the cable duct smart lock and lack of a reasonable method for controlling the opening and closing of the cable duct smart lock in the existing cable duct smart lock management technology. The system can ensure the security of permission management by combining permission information with key information, and reasonably control the opening and closing of the cable duct smart lock in combination with the permission information.

[0005] In a first aspect, an embodiment of the present invention provides a method for opening and closing a cable duct intelligent lock based on authority information, comprising:

[0006] When it is detected that the smart key is inserted and the power is turned on, the authority key information sent by the smart key is received, and the authority key information is decrypted according to the preset decryption rules to obtain decrypted data, wherein the decrypted data includes the staff member's work number, authority level, and pipeline pre-operation content;

[0007] Obtain the stored permission work number information, perform matching processing based on the permission work number information and the staff work number, determine whether to open the lock according to the matching processing result, and if it is determined to open the lock, determine the opening time of the smart lock based on the permission level and the pipeline pre-operation content, and open the lock;

[0008] When the opening time reaches the smart lock opening time length, the current smart lock position is determined, and the smart lock closing management operation is performed based on the smart lock position.

[0009] Optionally, the authority key information includes three different codes to be decrypted, and decrypting the authority key information according to a preset decryption rule to obtain decrypted data includes:

[0010] Identify the encoding formats of three different codes to be decrypted in the authority key information, and determine the classification of the codes to be decrypted according to the identification results, wherein the classification includes work number classification, authority level classification, and operation content classification;

[0011] The corresponding decrypted contents of the codes to be decrypted are determined based on the classification, and the three different decrypted contents of the codes to be decrypted are determined as the decrypted data of the authority key information.

[0012] Optionally, the determining the corresponding decrypted content to be decrypted based on the classification includes:

[0013] Determine the partial code to be decrypted of the corresponding code to be decrypted according to the classification, obtain the stored preset decryption comparison table associated with the classification, and query the preset decryption comparison table according to the partial code to be decrypted to obtain the corresponding partial code decryption content;

[0014] In the case that there are multiple partial codes to be decrypted, the decrypted contents of the partial codes to be decrypted are combined to obtain the decrypted contents of the code to be decrypted.

[0015] Optionally, determining the smart lock opening time based on the permission level and the pipeline pre-operation content includes:

[0016] According to the authority level, the preset smart lock opening time determination range mapping table is queried to obtain the corresponding smart lock opening time determination range, and the smart lock opening time is determined according to the pipeline pre-operation content and the smart lock opening time determination range.

[0017] Optionally, the step of determining the smart lock opening duration according to the pipeline pre-operation content and the smart lock opening duration determination range includes:

[0018] Detect the operation complexity of the pipeline pre-operation content, determine the duration selection position of the smart lock opening duration determination range according to the operation complexity, and determine the value corresponding to the duration selection position as the smart lock opening duration.

[0019] Optionally, the performing a smart lock closing management operation based on the smart lock position includes:

[0020] When the smart lock is in the closed position, the open state is automatically closed;

[0021] When the smart lock is in a non-closed position, a closing prompt sound warning is given, and the opening and closing status is detected in real time, and corresponding management operations are performed based on the opening and closing status and the current detection time.

[0022] Optionally, the performing corresponding management operations based on the open / closed state and the current detection time includes:

[0023] When the detection time is within the preset time and the opening and closing state is the closed state, stopping the closing prompt sound warning;

[0024] When the detection time reaches the preset time and the opening and closing state is the open state, the smart lock opening violation information is uploaded to the management device to prompt the management personnel to perform corresponding management operations.

[0025] In a second aspect, an embodiment of the present invention further provides a cable duct intelligent lock opening and closing system based on authority information, comprising:

[0026] An information receiving module, used to receive the authority key information sent by the smart key when it is detected that the smart key is inserted and the power is turned on;

[0027] A decryption module, used to decrypt the authority key information according to a preset decryption rule to obtain decrypted data, wherein the decrypted data includes the staff member's work number, authority level, and pipeline pre-operation content;

[0028] An opening judgment module is used to obtain the stored permission work number information, perform matching processing based on the permission work number information and the staff member work number, and determine whether to open it according to the matching processing result;

[0029] An opening management module, for determining the opening time of the smart lock based on the permission level and the pipeline pre-operation content, and opening the smart lock when it is determined to be opened;

[0030] The closing management module is used to determine the current smart lock position when the opening time reaches the opening time of the smart lock, and perform the smart lock closing management operation based on the smart lock position.

[0031] In a third aspect, an embodiment of the present invention further provides a cable duct intelligent lock opening and closing device based on authority information, the device comprising:

[0032] one or more processors;

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

[0034] 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 and closing method based on authority information described in an embodiment of the present invention.

[0035] 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 and closing method based on authority information described in an embodiment of the present invention.

[0036] In an embodiment of the present invention, when it is detected that the smart key is inserted and the power is turned on, the authority key information sent by the smart key is received, and the authority key information is decrypted according to the preset decryption rules to obtain decrypted data, the decrypted data including the staff member's work number, authority level and pipeline pre-operation content, the stored authority number information is obtained, matching processing is performed based on the authority number information and the staff member's work number, and it is determined whether to open the lock according to the matching processing result. If it is determined to open the lock, the opening time of the smart lock is determined based on the staff member's authority level and the pipeline pre-operation content, and the lock is opened. If the opening time reaches the opening time of the smart lock, the current position of the smart lock is determined, and the smart lock closing management operation is performed based on the position of the smart lock. This solution solves the problem that the authority management for opening the cable pipeline smart lock in the existing cable pipeline smart lock management technology is relatively extensive, and there is a lack of a reasonable method for opening and closing the cable pipeline smart lock. It can ensure the security of authority management by combining authority information with key information, and reasonably control the opening and closing of the cable pipeline smart lock in combination with the authority information. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 A flowchart of a cable duct intelligent lock opening and closing method based on authority information provided by an embodiment of the present invention;

[0038] Figure 2 A flowchart of another method for opening and closing a cable duct intelligent lock based on authority information provided by an embodiment of the present invention;

[0039] Figure 3 A flowchart of another method for opening and closing a cable duct intelligent lock based on authority information provided by an embodiment of the present invention;

[0040] Figure 4 A flowchart of another method for opening and closing a cable duct intelligent lock based on authority information provided by an embodiment of the present invention;

[0041] Figure 5 A module structure block diagram of a cable duct intelligent lock opening and closing system based on authority information provided by an embodiment of the present invention;

[0042] Figure 6A schematic structural diagram of a cable duct intelligent lock opening and closing device based on authority information provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0043] 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.

[0044] 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.

[0045] The cable duct smart lock opening and closing method based on permission information provided in the embodiment of the present application can be applied to the opening and closing management scenario of the cable duct smart lock. The cable duct smart lock opening and closing method based on permission information 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.

[0046] Figure 1 A flowchart of a cable duct intelligent lock opening and closing method based on authority information provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, specifically including:

[0047] Step S101, when it is detected that the smart key is inserted and the power is turned on, receiving the authority key information sent by the smart key, decrypting the authority key information according to the preset decryption rules to obtain decrypted data, and the decrypted data includes the staff member's work number, authority level and pipeline pre-operation content.

[0048] Among them, the smart key is used to represent a convenient unlocking tool designed for a passive electronic lock body rotary lock. The smart key can be used to power the cable duct smart lock and transmit information. The authority key information can be key information including user authority information. The preset decryption rule is used to represent the pre-set method for decrypting the authority key information. The staff member's work number is used to represent the unique number representing the staff member's identity. The authority level can be the authority level of the staff member to operate the cable duct smart lock. The pipeline pre-operation content can be the operation content that the staff member is ready to perform in the cable duct corresponding to the cable duct smart lock. In one embodiment, after the smart key is inserted into the cable duct smart lock, the cable duct smart lock is powered and the authority key information is transmitted. When the cable duct smart lock detects that the smart key is inserted and the power is turned on, it receives the authority key information sent by the smart key, and inputs the authority key information into the trained decryption model to obtain the corresponding decrypted data, and the decrypted data includes the staff member's work number, the authority level, and the pipeline pre-operation content. Optionally, the authority key information includes three different codes to be decrypted. A decryption method may be to identify the encoding formats of the three different codes to be decrypted in the authority key information, determine the classification of the codes to be decrypted based on the identification result, the classification includes work number classification, authority level classification and operation content classification, determine the decrypted content of the corresponding codes to be decrypted based on the classification, and determine the decrypted content of the three different codes to be decrypted as the decrypted data of the authority key information. Decrypting each code separately by different classifications of each code in the authority key information can improve the confidentiality of the authority information to ensure the security of opening the cable duct smart lock.

[0049] Step S102, obtain the stored authority work number information, perform matching processing based on the authority work number information and the staff work number, determine whether to open it according to the matching processing result, and if it is determined to open it, determine the opening time of the smart lock based on the authority level and the pipeline pre-operation content, and open it.

[0050] Among them, the permission work number information is used to characterize the work number information of the staff who has the permission to open the cable duct smart lock. The permission work number information can be used to determine whether the staff in the decrypted data has the permission to open the cable duct smart lock to determine whether to open the cable duct smart lock. The smart lock opening time is used to characterize the length of time that the cable duct smart lock is allowed to be opened. In one embodiment, the staff work number in the decrypted data is matched with each permission work number in the permission work number information. If there is a successfully matched permission work number, it is determined to be opened, otherwise, it is determined not to be opened. An exemplary example can be that the permission work number information contains permission work number 1, permission work number 2, permission work number 3 and permission work number 4, which are 133456, 122345, 123456, and 134245 respectively. The staff work number in the decrypted data is 122345. The staff work number in the decrypted data successfully matches the work number 2 in the permission work number information, and the cable duct smart lock is determined to be opened.

[0051] In one embodiment, when it is determined to open, the preset time comparison table is queried according to the pipeline pre-operation content in the decrypted data to obtain the opening time to be adjusted, the adjustment coefficient corresponding to the authority level in the decrypted data is determined, and the opening time to be adjusted is adjusted according to the adjustment coefficient to obtain the smart lock opening time. Optionally, a method for determining the opening time of a smart lock may be to query a preset smart lock opening time determination range mapping table according to the authority level in the decrypted data to obtain the corresponding smart lock opening time determination range, and determine the smart lock opening time according to the pipeline pre-operation content in the decrypted data and the smart lock opening time determination range. By determining the determination range of the opening time by the authority level, and then determining the final opening time within the determination range according to the pipeline pre-operation content, the opening time of the cable pipeline smart lock can be reasonably controlled in combination with the authority information.

[0052] Step S103: When the opening time reaches the opening time of the smart lock, determine the current smart lock position, and perform smart lock closing management operations based on the smart lock position.

[0053] Among them, the smart lock position can be the position of the cable duct smart lock. The smart lock position can be used to perform corresponding closing management operations on the cable duct smart lock. In one embodiment, when the opening time reaches the opening time of the smart lock, when the smart lock position is in a closed position, the opening state is automatically closed, and when the smart lock position is in a non-closed position, a closing warning is issued until it is closed. Optionally, a smart lock closing management method can be that when the smart lock position is in a closed position, the opening state is automatically closed, and when the smart lock position is in a non-closed position, a closing prompt sound warning is issued, and the opening and closing state is detected in real time, and corresponding management operations are performed based on the opening and closing state and the current detection time. By performing corresponding closing management operations according to the location of the cable duct smart lock, the closing of the cable duct smart lock can be reasonably controlled.

[0054] As can be seen from the above, when it is detected that the smart key is inserted and the power is turned on, the authority key information sent by the smart key is received, and the authority key information is decrypted according to the preset decryption rules to obtain the decrypted data, which includes the staff member's work number, authority level and pipeline pre-operation content, and the stored authority number information is obtained. Matching processing is performed based on the authority number information and the staff member's work number, and it is determined whether to open it according to the matching processing result. If it is determined to open it, the opening time of the smart lock is determined based on the staff member's authority level and the pipeline pre-operation content, and it is opened. When the opening time reaches the opening time of the smart lock, the current smart lock position is determined, and the smart lock closing management operation is performed based on the smart lock position. This solution solves the problem that the authority management for the opening of the cable pipeline smart lock in the existing cable pipeline smart lock management technology is relatively extensive, and there is a lack of reasonable methods for the opening and closing control of the cable pipeline smart lock. It can ensure the security of authority management through the combination of authority information and key information, and reasonably control the opening and closing of the cable pipeline smart lock in combination with the authority information.

[0055] Figure 2 A flowchart of another method for opening and closing a cable duct intelligent lock based on authority information provided by an embodiment of the present invention provides a specific method for decrypting an optional authority key information, such as Figure 2 As shown, specifically including:

[0056] Step S201: When it is detected that the smart key is inserted and the power is turned on, the authority key information sent by the smart key is received, and the encoding formats of three different codes to be decrypted in the authority key information are identified, and the classification of the codes to be decrypted is determined according to the identification results, and the classification includes work number classification, authority level classification and operation content classification.

[0057] Among them, the authority key information includes three different codes to be decrypted, and the codes to be decrypted are used to represent the codes waiting for decryption processing. The coding format can be the content form of the code to be decrypted. The classification of the corresponding code to be decrypted can be determined using the coding format. An exemplary example can be that the code to be decrypted 1 in the authority key information is AECDFG, the code to be decrypted 2 is afo, and the code to be decrypted 3 is operate1. It is identified that the coding format of the code to be decrypted 1 is an uppercase letter combination format, the coding format of the code to be decrypted 2 is a lowercase letter combination format, and the coding format of the code to be decrypted 3 is a lowercase letter and number combination format. The classification associated with the uppercase letter combination format recorded in the storage module is the work number classification, the classification associated with the lowercase letter combination format is the authority level classification, and the classification associated with the lowercase letter and number combination format is the operation content classification, that is, the classification of the code to be decrypted 1 is the work number classification, the classification of the code to be decrypted 2 is the authority level classification, and the classification of the code to be decrypted 3 is the operation content classification.

[0058] Step S202: Determine the corresponding decrypted content of the code to be decrypted based on the classification, and determine the three different decrypted contents of the code to be decrypted as the decrypted data of the authority key information, wherein the decrypted data includes the staff member's work number, authority level, and pipeline pre-operation content.

[0059] Among them, the decrypted content is used to represent the plaintext content obtained after the code to be decrypted is decrypted. Optionally, a method for determining the decrypted content may be to determine the partial code to be decrypted of the corresponding code to be decrypted according to the classification, obtain the preset decryption comparison table associated with the classification, query the preset decryption comparison table according to the partial code to be decrypted to obtain the corresponding partial code decryption content, and in the case where there are multiple partial codes to be decrypted, combine the partial code decryption contents of each partial code to be decrypted to obtain the decrypted content of the code to be decrypted. An illustrative example may be that the partial code to be decrypted corresponding to the work number classification is each character in the code to be decrypted, the part to be decrypted corresponding to the authority level classification and the operation content classification is the entire code to be decrypted, the code to be decrypted 1 is AECDFG, and the classification is the work number classification, then the partial codes to be decrypted of the code to be decrypted 1 are A, E, C, D, F, G respectively, and the preset decryption comparison table corresponding to the work number classification is as shown in the following table:

[0060]

[0061]

[0062] The above preset decryption comparison table describes the association between the partial codes to be decrypted and the decrypted contents of the partial codes of the work number classification. The above preset decryption comparison table is queried to obtain the partial code contents corresponding to the partial codes to be decrypted of the code 1 to be decrypted, which are 1, 5, 3, 4, 6, and 7 in sequence, that is, the decrypted content of the code 1 to be decrypted is 153467. In another embodiment, the preset decryption comparison table associated with each classification is obtained, and the decrypted content is obtained by querying the corresponding preset decryption comparison table according to the code to be decrypted.

[0063] Step S203, obtain the stored authority work number information, perform matching processing based on the authority work number information and the staff work number, determine whether to open it according to the matching processing result, and if it is determined to open it, determine the opening time of the smart lock based on the authority level and the pipeline pre-operation content, and open it.

[0064] Step S204: When the opening time reaches the opening time of the smart lock, determine the current smart lock position, and perform smart lock closing management operations based on the smart lock position.

[0065] As can be seen from the above, the encoding formats of the three different codes to be decrypted in the authority key information are identified, and the classification of the codes to be decrypted is determined according to the identification results. The classification includes work number classification, authority level classification, and operation content classification. The decrypted content of the corresponding codes to be decrypted is determined based on the classification, and the decrypted content of the three different codes to be decrypted is determined as the decrypted data of the authority key information. This scheme decrypts each code separately through different classifications of each code in the authority key information, which can improve the confidentiality of the authority information to ensure the security of opening the cable duct smart lock.

[0066] Figure 3 A flowchart of another method for opening and closing a cable duct smart lock based on authority information provided by an embodiment of the present invention provides an optional specific method for determining the opening time of the smart lock, such as Figure 3 As shown, specifically including:

[0067] Step S301: When it is detected that the smart key is inserted and the power is turned on, the authority key information sent by the smart key is received, and the authority key information is decrypted according to the preset decryption rules to obtain decrypted data, wherein the decrypted data includes the staff member's work number, authority level, and pipeline pre-operation content.

[0068] Step S302: Obtain the stored permission work number information, perform matching processing based on the permission work number information and the staff member work number, and determine whether to enable it according to the matching processing result.

[0069] Step S303: When it is determined to be turned on, query the preset smart lock opening time determination range mapping table according to the authority level to obtain the corresponding smart lock opening time determination range, determine the smart lock opening time according to the pipeline pre-operation content and the smart lock opening time determination range, and turn it on.

[0070] Among them, the preset smart lock opening time determination range mapping table is used to characterize the mapping relationship between the preset permission level and the smart lock opening time determination range. The smart lock opening time determination range can be a selection range of the length of time the cable pipeline smart lock is opened, and the smart lock opening time can be determined within the smart lock opening time determination range. Optionally, a method for determining the smart lock opening time can be to detect the complexity of the operation of the pipeline pre-operation content, determine the time selection position of the smart lock opening time determination range according to the operation complexity, and determine the value corresponding to the time selection position as the smart lock opening time. An exemplary example may be that the authority level in the decrypted data is level 2, the pipeline pre-operation content is cable threading, the smart lock opening time determination range corresponding to the level 2 authority level in the preset smart lock opening time determination range mapping table is [60min, 120min], and the operation complexity corresponding to cable threading is 60%, then the 60% position from the front to the back of the smart lock opening time determination range is determined as the time selection position, and the value corresponding to the 60% position from the front to the back of [60min, 120min] is 96 minutes, that is, the smart lock opening time is 96 minutes. In another embodiment, the preset score corresponding to the pipeline pre-operation content is queried, and the value of the position corresponding to the preset score in the smart lock opening time determination range is determined as the smart lock opening time.

[0071] Step S304: When the opening time reaches the opening time of the smart lock, determine the current smart lock position, and perform smart lock closing management operations based on the smart lock position.

[0072] From the above, it can be seen that the preset smart lock opening time determination range mapping table is queried according to the authority level in the decrypted data to obtain the corresponding smart lock opening time determination range, and the smart lock opening time is determined according to the pipeline pre-operation content in the decrypted data and the smart lock opening time determination range. This solution determines the determination range of the opening time by the authority level, and then determines the final opening time within the determination range according to the pipeline pre-operation content, which can reasonably control the opening time of the cable pipeline smart lock in combination with the authority information.

[0073] Figure 4 A flowchart of another method for opening and closing a cable duct smart lock based on authority information provided by an embodiment of the present invention provides an optional specific method for performing a smart lock closing management operation, such as Figure 4 As shown, specifically including:

[0074] Step S401: When it is detected that the smart key is inserted and the power is turned on, the authority key information sent by the smart key is received, and the authority key information is decrypted according to the preset decryption rules to obtain decrypted data, wherein the decrypted data includes the staff member's work number, authority level, and pipeline pre-operation content.

[0075] Step S402, obtain the stored permission work number information, perform matching processing based on the permission work number information and the staff work number, determine whether to open it according to the matching processing result, and if it is determined to open it, determine the opening time of the smart lock based on the permission level and the pipeline pre-operation content, and open it.

[0076] Step S403: When the opening time reaches the opening time of the smart lock, determine the current smart lock position, and automatically close the opening state when the smart lock position is in a closed position; when the smart lock position is in a non-closed position, issue a closing prompt sound warning, and detect the opening and closing state in real time, and perform corresponding management operations based on the opening and closing state and the current detection time.

[0077] Among them, the closed position can be the groove position corresponding to the lock core. The non-closed position can be the groove position corresponding to the non-lock core. The detection time can be the length of the current time from the start of the opening and closing state detection. When the smart lock position is the closed position, the open state is automatically closed. When the smart lock position is the non-closed position, a closing prompt sound warning is performed, and the opening and closing state is detected in real time, and corresponding management operations are performed based on the detected opening and closing state and the current detection time. Optionally, when the detection time is within the preset time and the opening and closing state is the closed state, the closing prompt sound warning is stopped. When the detection time reaches the preset time and the opening and closing state is the open state, the smart lock opening violation information is uploaded to the management device to prompt the management personnel to perform corresponding management operations. An exemplary example can be that the preset time is 3 minutes, the current detection time is 3 minutes, and the opening and closing state is the open state, that is, after the preset time is reached, the cable duct smart lock is still not closed, and the cable duct smart lock determines the stored identity information and the staff number as the smart lock opening violation information and uploads it to the management device. After receiving the smart lock opening violation information, the management device performs a corresponding alarm. In another embodiment, when the detection time is within the preset time and the opening and closing state is in the open state, the difference between the detection time and the preset time is calculated and determined as the countdown time, and the countdown time is highlighted in the display area. When the detection time reaches the preset time and the opening and closing state is in the open state, the smart lock opening violation information is uploaded to the management device.

[0078] From the above, it can be seen that after the opening time reaches the opening time of the smart lock, when the smart lock is in the closed position, the opening state is automatically closed, and when the smart lock is in the non-closed position, a closing prompt sound warning is issued, and the opening and closing state is detected in real time, and corresponding management operations are performed based on the opening and closing state and the current detection time. This solution performs corresponding closing management operations according to the location of the cable duct smart lock, and can reasonably control the closing of the cable duct smart lock.

[0079] Figure 5 This is a module structure diagram of a cable duct intelligent lock opening and closing system based on authority information provided by an embodiment of the present invention. The system is used to execute the cable duct intelligent lock opening and closing method based on authority information 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:

[0080] The information receiving module 101 is used to receive the authority key information sent by the smart key when it is detected that the smart key is inserted and the power is turned on;

[0081] A decryption module 102, configured to decrypt the authority key information according to a preset decryption rule to obtain decrypted data, wherein the decrypted data includes the staff member's work number, authority level, and pipeline pre-operation content;

[0082] The opening judgment module 103 is used to obtain the stored permission work number information, perform matching processing based on the permission work number information and the staff member work number, and determine whether to open it according to the matching processing result;

[0083] The opening management module 104 is used to determine the opening time of the smart lock based on the permission level and the pipeline pre-operation content, and open it when it is determined to open it;

[0084] The closing management module 105 is used to determine the current smart lock position when the opening time reaches the smart lock opening time, and perform the smart lock closing management operation based on the smart lock position.

[0085] It can be seen from the above scheme that when it is detected that the smart key is inserted and the power is turned on, the authority key information sent by the smart key is received, and the authority key information is decrypted according to the preset decryption rules to obtain the decrypted data, which includes the staff member's work number, authority level and pipeline pre-operation content, and the stored authority number information is obtained. Matching processing is performed based on the authority number information and the staff member's work number, and it is determined whether to open it according to the matching processing result. If it is determined to open it, the opening time of the smart lock is determined based on the staff member's authority level and the pipeline pre-operation content, and it is opened. When the opening time reaches the opening time of the smart lock, the current position of the smart lock is determined, and the smart lock closing management operation is performed based on the position of the smart lock. This scheme solves the problem that the authority management for the opening of the cable pipeline smart lock in the existing cable pipeline smart lock management technology is relatively extensive, and there is a lack of reasonable methods for the opening and closing control of the cable pipeline smart lock. It can ensure the security of authority management through the combination of authority information and key information, and reasonably control the opening and closing of the cable pipeline smart lock in combination with the authority information.

[0086] In a possible embodiment, the decryption module 102 is specifically used for:

[0087] Identify the encoding formats of three different codes to be decrypted in the authority key information, and determine the classification of the codes to be decrypted according to the identification results, wherein the classification includes work number classification, authority level classification, and operation content classification;

[0088] The corresponding decrypted contents of the codes to be decrypted are determined based on the classification, and the three different decrypted contents of the codes to be decrypted are determined as the decrypted data of the authority key information.

[0089] In a possible embodiment, the decryption module 102 is further configured to:

[0090] Determine the partial code to be decrypted of the corresponding code to be decrypted according to the classification, obtain the stored preset decryption comparison table associated with the classification, and query the preset decryption comparison table according to the partial code to be decrypted to obtain the corresponding partial code decryption content;

[0091] In the case that there are multiple partial codes to be decrypted, the decrypted contents of the partial codes to be decrypted are combined to obtain the decrypted contents of the code to be decrypted.

[0092] In a possible embodiment, the startup management module 104 is specifically used to:

[0093] According to the authority level, the preset smart lock opening time determination range mapping table is queried to obtain the corresponding smart lock opening time determination range, and the smart lock opening time is determined according to the pipeline pre-operation content and the smart lock opening time determination range.

[0094] In a possible embodiment, the startup management module 104 is further used to:

[0095] Detect the operation complexity of the pipeline pre-operation content, determine the duration selection position of the smart lock opening duration determination range according to the operation complexity, and determine the value corresponding to the duration selection position as the smart lock opening duration.

[0096] In a possible embodiment, the shutdown management module 105 is specifically configured to:

[0097] When the smart lock is in the closed position, the open state is automatically closed;

[0098] When the smart lock is in a non-closed position, a closing prompt sound warning is given, and the opening and closing status is detected in real time, and corresponding management operations are performed based on the opening and closing status and the current detection time.

[0099] In a possible embodiment, the shutdown management module 105 is further configured to:

[0100] When the detection time is within the preset time and the opening and closing state is the closed state, stopping the closing prompt sound warning;

[0101] When the detection time reaches the preset time and the opening and closing state is the open state, the smart lock opening violation information is uploaded to the management device to prompt the management personnel to perform corresponding management operations.

[0102] Figure 6 A schematic diagram of a cable duct intelligent lock opening and closing device based on authority information provided by an embodiment of the present invention is shown in FIG. Figure 6 As 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 6The example of connection via a bus is taken. 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 intelligent lock opening and closing method based on permission information 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 intelligent lock opening and closing method based on permission information. 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.

[0103] The embodiment of the present invention further provides a storage medium containing computer executable instructions, wherein the computer executable instructions are used to execute a method for opening and closing a cable duct intelligent lock based on authority information when executed by a computer processor, the method comprising:

[0104] When it is detected that the smart key is inserted and the power is turned on, the authority key information sent by the smart key is received, and the authority key information is decrypted according to the preset decryption rules to obtain decrypted data, wherein the decrypted data includes the staff member's work number, authority level, and pipeline pre-operation content;

[0105] Obtain the stored permission work number information, perform matching processing based on the permission work number information and the staff work number, determine whether to open the lock according to the matching processing result, and if it is determined to open the lock, determine the opening time of the smart lock based on the permission level and the pipeline pre-operation content, and open the lock;

[0106] When the opening time reaches the smart lock opening time length, the current smart lock position is determined, and the smart lock closing management operation is performed based on the smart lock position.

[0107] It is worth noting that in the embodiment of the cable duct intelligent lock opening and closing method system based on authority information, the various units and modules included are only divided according to functional logic, but are not limited to the above 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.

[0108] 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 and closing method based on authority information, applied to a cable duct smart lock, characterized in that: include: When it is detected that the smart key is inserted and the power is turned on, the authority key information sent by the smart key is received, and the authority key information is decrypted according to the preset decryption rules to obtain decrypted data, wherein the decrypted data includes the staff member's work number, authority level, and pipeline pre-operation content; Obtain the stored permission work number information, perform matching processing based on the permission work number information and the staff work number, determine whether to open the lock according to the matching processing result, and if it is determined to open the lock, determine the opening time of the smart lock based on the permission level and the pipeline pre-operation content, and open the lock; When the opening time reaches the smart lock opening time length, the current smart lock position is determined, and the smart lock closing management operation is performed based on the smart lock position.

2. The cable duct intelligent lock opening and closing method based on authority information according to claim 1 is characterized in that: The authority key information includes three different codes to be decrypted, and the decrypting of the authority key information according to a preset decryption rule to obtain decrypted data includes: Identify the encoding formats of three different codes to be decrypted in the authority key information, and determine the classification of the codes to be decrypted according to the identification results, wherein the classification includes work number classification, authority level classification, and operation content classification; The corresponding decrypted contents of the codes to be decrypted are determined based on the classification, and the three different decrypted contents of the codes to be decrypted are determined as the decrypted data of the authority key information.

3. The cable duct intelligent lock opening and closing method based on authority information according to claim 2 is characterized in that: The step of determining the corresponding decrypted content to be decrypted based on the classification includes: Determine the partial code to be decrypted of the corresponding code to be decrypted according to the classification, obtain the stored preset decryption comparison table associated with the classification, and query the preset decryption comparison table according to the partial code to be decrypted to obtain the corresponding partial code decryption content; In the case that there are multiple partial codes to be decrypted, the decrypted contents of the partial codes to be decrypted are combined to obtain the decrypted contents of the code to be decrypted.

4. The cable duct intelligent lock opening and closing method based on authority information according to any one of claims 1 to 3, characterized in that: The determining of the smart lock opening time based on the permission level and the pipeline pre-operation content includes: According to the authority level, the preset smart lock opening time determination range mapping table is queried to obtain the corresponding smart lock opening time determination range, and the smart lock opening time is determined according to the pipeline pre-operation content and the smart lock opening time determination range.

5. The cable duct intelligent lock opening and closing method based on authority information according to claim 4 is characterized in that: The step of determining the smart lock opening duration according to the pipeline pre-operation content and the smart lock opening duration determination range includes: Detect the operation complexity of the pipeline pre-operation content, determine the duration selection position of the smart lock opening duration determination range according to the operation complexity, and determine the value corresponding to the duration selection position as the smart lock opening duration.

6. The method for opening and closing a cable duct intelligent lock based on authority information according to any one of claims 1 to 3, characterized in that: The smart lock closing management operation based on the smart lock position includes: When the smart lock is in the closed position, the open state is automatically closed; When the smart lock is in a non-closed position, a closing prompt sound warning is given, and the opening and closing status is detected in real time, and corresponding management operations are performed based on the opening and closing status and the current detection time.

7. The method for opening and closing a cable duct intelligent lock based on authority information according to claim 6, characterized in that: The corresponding management operation based on the open / closed state and the current detection time includes: When the detection time is within the preset time and the opening and closing state is the closed state, stopping the closing prompt sound warning; When the detection time reaches the preset time and the opening and closing state is the open state, the smart lock opening violation information is uploaded to the management device to prompt the management personnel to perform corresponding management operations.

8. The cable duct intelligent lock opening and closing system based on authority information is characterized in that: include: An information receiving module, used to receive the authority key information sent by the smart key when it is detected that the smart key is inserted and the power is turned on; A decryption module, used to decrypt the authority key information according to a preset decryption rule to obtain decrypted data, wherein the decrypted data includes the staff member's work number, authority level, and pipeline pre-operation content; An opening judgment module is used to obtain the stored permission work number information, perform matching processing based on the permission work number information and the staff member work number, and determine whether to open it according to the matching processing result; An opening management module, for determining the opening time of the smart lock based on the permission level and the pipeline pre-operation content, and opening the smart lock when it is determined to be opened; The closing management module is used to determine the current smart lock position when the opening time reaches the opening time of the smart lock, and perform the smart lock closing management operation based on the smart lock position.

9. A cable duct intelligent lock opening and closing device based on authority information, 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 intelligent lock opening and closing method based on authority information 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 intelligent lock opening and closing method based on authority information as described in any one of claims 1 to 7 when executed by a computer processor.

Citation Information

Patent Citations

  • Offline intelligent lock monitoring system

    CN105447936A

  • Five-prevention smart lock authorization verification method for distribution network outdoor device

    CN107680212A

  • Control method of smart lock, mobile terminal, and readable storage medium

    CN109712293A

  • Control method of entrance access control lock, device, system and indoor unit

    CN110517373A

  • Locking control method, system and device for intelligent well cover and storage medium

    CN113936360A