Permission adaptation methods and devices, storage media, electronic devices

Through the intelligent door lock permission adaptation method, unlocking permissions are determined based on work order information and status, which solves the problem of low management efficiency of traditional ODN outdoor optical distribution box, and improves operation and maintenance efficiency and service quality.

CN115273284BActive Publication Date: 2025-02-18CHINA TELECOM CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210894133.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-27
Publication Date
2025-02-18
Estimated Expiration
2042-07-27

AI Technical Summary

Technical Problem

The mechanical lock management method of traditional ODN outdoor optical wiring boxes is not effective enough, resulting in low operation and maintenance efficiency and poor maintenance quality, affecting facility safety and user broadband service quality.

Method used

By obtaining work order information and work order status, determine the unlocking permissions of smart door locks and unlock according to the permissions, avoiding the cumbersome permission application process and abuse of lock-opening permissions.

Benefits of technology

It has improved the intelligent management and control processes such as management, operation and maintenance and construction of ODN outdoor passive box facilities, shortened the management and maintenance time, improved the operation and maintenance efficiency, and improved the user's broadband service activation and service quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115273284B_ABST
    Figure CN115273284B_ABST
Patent Text Reader

Abstract

The present disclosure belongs to the field of network security technology, and relates to a permission adaptation method and device, a storage medium, and an electronic device. The method includes: obtaining work order information and work order status, the work order status includes work order effectiveness, work order change, and work order expiration; determining the unlocking authority of the smart door lock in the work order information according to the work order information and the work order status; unlocking the smart door lock according to the unlocking authority. The present disclosure determines the unlocking authority of the corresponding smart door lock according to the work order information and the work order status to unlock the door, avoiding the cumbersome permission application process and the abuse of unlocking authority, ensuring the security of the ODN outdoor passive box facilities, optical fiber cables, and the communication services they carry, while optimizing the management, operation, maintenance, and construction of the ODN outdoor passive box facilities. Intelligent management and control processes, greatly shortening the management and maintenance time, improving the operation and maintenance efficiency, and also speeding up the user's broadband service activation and optimizing the service quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of network security technology, and in particular to a permission adaptation method and apparatus, a computer-readable storage medium, and an electronic device. Background Art

[0002] The outdoor optical distribution boxes of traditional ODN (Optical Distribution Network) use ordinary mechanical locks to achieve security, but lack effective management methods.

[0003] Operators use mechanical keys to open the locks at will. The management and maintenance efficiency of ODN passive optical distribution facilities is greatly affected by human factors and is usually uncontrollable. When problems occur, it is difficult to find the cause, and operation and maintenance management must also carry out cumbersome permission applications and audits, which affects operation and maintenance efficiency and poor maintenance quality, ultimately affecting the safety of the facilities and the quality of broadband services for users, and damaging the image of operators.

[0004] In view of this, there is an urgent need in the art to develop a new permission adaptation method and device.

[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0006] The purpose of the present disclosure is to provide a permission adaptation method, a permission adaptation device, a computer-readable storage medium and an electronic device, thereby overcoming the technical problems of poor security and poor service quality caused by the limitations of related technologies at least to a certain extent.

[0007] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0008] According to a first aspect of an embodiment of the present invention, a permission adaptation method is provided, the method comprising:

[0009] Obtain work order information and work order status, where the work order status includes work order effectiveness, work order change, and work order expiration;

[0010] Determine the unlocking authority of the smart door lock in the work order information according to the work order information and the work order status;

[0011] Unlock the smart door lock according to the unlocking authority.

[0012] In an exemplary embodiment of the present invention, determining the unlocking authority of the smart door lock in the work order information according to the work order information and the work order status includes:

[0013] When the work order status is that the work order is effective, matching the corresponding operation account and smart door lock according to the work order information;

[0014] Acquire alarm information corresponding to the smart door lock, and determine the unlocking authority of the smart door lock according to the operation account and the alarm information.

[0015] In an exemplary embodiment of the present invention, the warning information includes: low battery warning information and door lock control abnormality information.

[0016] In an exemplary embodiment of the present invention, the operation account includes: an application account and a system account;

[0017] The unlocking authority includes: background unlocking authority, application unlocking authority and emergency unlocking authority;

[0018] The background unlocking authority matches the application account and the system account, the application unlocking authority matches the application account, and the emergency unlocking authority matches the application account.

[0019] In an exemplary embodiment of the present invention, determining the unlocking authority of the smart door lock according to the operation account and the alarm information includes:

[0020] When the operating account is the system account and there is no alarm information, determining that the unlocking authority of the smart door lock is the background unlocking authority;

[0021] When the operation account is the application account and there is no alarm information, determining that the unlocking authority of the smart door lock is the background unlocking authority and the application unlocking authority;

[0022] When the operating account is the system account and there is the alarm information, determining that the unlocking authority of the smart door lock is the background unlocking authority, the application unlocking authority and the emergency unlocking authority;

[0023] When the operating account is the application account and there is the alarm information, it is determined that the unlocking authority of the smart door lock is the background unlocking authority, the application unlocking authority and the emergency unlocking authority.

[0024] In an exemplary embodiment of the present invention, determining the unlocking authority of the smart door lock in the work order information according to the work order information and the work order status includes:

[0025] When the work order status is the work order change, matching the corresponding last operation account, current operation account, and smart door lock according to the work order information;

[0026] The unlocking authority of the last operating account for the smart door lock is canceled, and the unlocking authority of the current operating account for the smart door lock is determined.

[0027] In an exemplary embodiment of the present invention, after obtaining the work order information and the work order status, the method further includes:

[0028] When the work order status is that the work order is invalid, matching the corresponding operation account and smart door lock according to the work order information;

[0029] Cancel the unlocking authority of the operating account to the smart door lock.

[0030] According to a second aspect of an embodiment of the present invention, a rights adaptation device is provided, including:

[0031] An information acquisition module is configured to acquire work order information and work order status, wherein the work order status includes work order validity, work order change, and work order expiration;

[0032] An authority determination module, configured to determine the unlocking authority of the smart door lock in the work order information according to the work order information and the work order status;

[0033] The door lock unlocking module is configured to unlock the smart door lock according to the unlocking authority.

[0034] According to a third aspect of an embodiment of the present invention, there is provided an electronic device, comprising: a processor and a memory; wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the permission adaptation method in any of the above exemplary embodiments is implemented.

[0035] According to a fourth aspect of an embodiment of the present invention, there is provided a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the permission adaptation method in any of the above exemplary embodiments is implemented.

[0036] It can be seen from the above technical solutions that the permission adaptation method, permission adaptation device, computer storage medium and electronic device in the exemplary embodiments of the present disclosure have at least the following advantages and positive effects:

[0037] In the method and device provided in the exemplary embodiments of the present disclosure, the unlocking authority of the corresponding smart door lock is determined according to the work order information and the work order status for unlocking, thereby avoiding the cumbersome authority application process and the abuse of unlocking authority, ensuring the security of the ODN outdoor passive box facilities, optical fiber cables and the communication services they carry, while optimizing the intelligent management and control processes such as the management, operation and maintenance, and construction of the ODN outdoor passive box facilities, greatly shortening the management and maintenance time, improving the operation and maintenance efficiency, and accelerating the activation of users' broadband services, thereby improving the service quality.

[0038] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0040] Figure 1 A schematic diagram schematically illustrates a flow chart of a method for rights adaptation in an exemplary embodiment of the present disclosure;

[0041] Figure 2 A schematic diagram schematically illustrates a flow chart of a method for determining unlocking authority of a smart door lock in an exemplary embodiment of the present disclosure;

[0042] Figure 3 A schematic diagram schematically illustrates a flow chart of a method for further determining the unlocking authority of a smart door lock in an exemplary embodiment of the present disclosure;

[0043] Figure 4 A flowchart schematically illustrates another method for determining the unlocking authority of a smart door lock in an exemplary embodiment of the present disclosure;

[0044] Figure 5 A flowchart schematically illustrating a method for canceling unlocking authority in an exemplary embodiment of the present disclosure;

[0045] Figure 6 A schematic diagram schematically illustrates the architecture of a permission adaptation system in an application scenario in an exemplary embodiment of the present disclosure;

[0046] Figure 7 A schematic diagram schematically illustrates a flow chart of a permission adaptation method in an application scenario in an exemplary embodiment of the present disclosure;

[0047] Figure 8A schematic diagram schematically shows the structure of a permission adaptation device in an exemplary embodiment of the present disclosure;

[0048] Fig. 9 The present invention schematically illustrates an electronic device for implementing a permission adaptation method in an exemplary embodiment of the present disclosure;

[0049] Fig.10 The present invention schematically illustrates a computer-readable storage medium for implementing a rights adaptation method in an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0050] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0051] The terms "a", "an", "the" and "said" are used in this specification to indicate the presence of one or more elements / components / etc.; the terms "including" and "having" are used to express an open-ended inclusion and mean that additional elements / components / etc. may exist in addition to the listed elements / components / etc.; the terms "first" and "second" etc. are used only as labels and are not intended to limit the quantity of their objects.

[0052] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings represent the same or similar parts, and their repeated descriptions will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities.

[0053] In view of the problems existing in the related technologies, the present disclosure proposes a permission adaptation method. Figure 1 A flowchart of the permission adaptation method is shown, such as Figure 1 As shown, the permission adaptation method includes at least the following steps:

[0054] Step S110: Obtain work order information and work order status, where the work order status includes work order effectiveness, work order change, and work order expiration.

[0055] Step S120. Determine the unlocking authority of the smart door lock in the work order information according to the work order information and the work order status.

[0056] Step S130: Unlock the smart door lock according to the unlocking authority.

[0057] In an exemplary embodiment of the present disclosure, the unlocking authority of the corresponding smart door lock is determined according to the work order information and the work order status for unlocking, thereby avoiding the cumbersome authority application process and the abuse of unlocking authority, ensuring the security of the ODN outdoor passive box facilities, optical fiber cables and the communication services they carry, while optimizing the intelligent management and control processes such as the management, operation and maintenance, and construction of the ODN outdoor passive box facilities, greatly shortening the management and maintenance time, improving the operation and maintenance efficiency, and accelerating the activation of users' broadband services, thereby improving the service quality.

[0058] The following is a detailed description of each step of the permission adaptation method.

[0059] In step S110, the work order information and work order status are obtained, and the work order status includes work order effectiveness, work order change and work order expiration.

[0060] In an exemplary embodiment of the present disclosure, the work order information may include the ID (Identity) of the optical distribution facility smart door lock, operator information, and corresponding operation account information, etc., which is not particularly limited in this exemplary embodiment.

[0061] Among them, the effectiveness of a work order can be while it is being processed; the expiration of a work order can be when the work order is completed, withdrawn, or returned; and the change of a work order can be when the operator changes due to the work order transfer.

[0062] In step S120, the unlocking authority of the smart door lock in the work order information is determined according to the work order information and the work order status.

[0063] In an exemplary embodiment of the present disclosure, after the work order information and the work order status are acquired, the unlocking authority of the corresponding smart door lock can be determined according to the work order information and the work order status.

[0064] In an alternative embodiment, Figure 2 A flow chart of a method for determining the unlocking authority of a smart door lock is shown, Figure 2 As shown, the method may include at least the following steps: In step S210, when the work order status is that the work order is effective, the corresponding operation account and smart door lock are matched according to the work order information.

[0065] When the work order status is that the work order is effective, the operation account corresponding to the operator's name in the work order information can be obtained, and the operation account and the smart door lock ID information of the work order information are further matched to determine the smart door lock.

[0066] In step S220, the alarm information corresponding to the smart door lock is obtained, and the unlocking authority of the smart door lock is determined according to the operating account and the alarm information.

[0067] In an optional embodiment, the warning information includes: low battery warning information and door lock control abnormality information.

[0068] Among them, the low-battery warning information may be information indicating that the battery of the smart door lock is too low; the door lock control abnormality information may be information indicating that the smart door lock control module is abnormal or other communication abnormalities are abnormal.

[0069] In an optional embodiment, the operating account includes: an application account and a system account; the unlocking authority includes: background unlocking authority, application unlocking authority and emergency unlocking authority; the background unlocking authority matches the application account and the system account, the application unlocking authority matches the application account, and the emergency unlocking authority matches the application account.

[0070] Among them, the application account can be an account logged in through an APP (Application), and the system account can be an account logged in through a PC (Personal Computer) via the web (World Wide Web), but is not limited to the web.

[0071] The background unlocking permission can remotely open the smart door lock, and the permission can match the system account and the application account; the application unlocking permission can use Bluetooth to open the smart door lock, and the permission only matches the application account; the emergency unlocking permission can use the Bluetooth authorized electronic key to open the smart door lock, and the permission only matches the application account.

[0072] In an alternative embodiment, Figure 3 A flow chart of a method for further determining the unlocking authority of a smart door lock is shown, such as Figure 3 As shown, the method may at least include the following steps: In step S310, when the operating account is a system account and there is no alarm information, it is determined that the unlocking authority of the smart door lock is the background unlocking authority.

[0073] When there is no alarm, the account is a system account, which authorizes the background unlocking permission and provides feedback.

[0074] In step S320, when the operating account is an application account and there is no alarm information, it is determined that the unlocking authority of the smart door lock is the background unlocking authority and the application unlocking authority.

[0075] When there is no alarm, the account is the application account, authorizing the background unlocking permission and the application unlocking permission, and providing feedback.

[0076] In step S330, when the operating account is a system account and there is alarm information, the unlocking authority of the smart door lock is determined to be background unlocking authority, application unlocking authority and emergency unlocking authority.

[0077] When there is an alarm, the account is a system account. The corresponding application account is added to the system account to authorize all unlocking permissions including emergency unlocking permissions, and feedback is provided.

[0078] In step S340, when the operating account is an application account and there is alarm information, the unlocking authority of the smart door lock is determined to be background unlocking authority, application unlocking authority and emergency unlocking authority.

[0079] When there is an alarm, the account is the application account, all unlocking permissions including emergency unlocking permissions are authorized, and feedback is provided.

[0080] In this exemplary embodiment, the unlocking authority of the smart door lock is determined based on the operating account and alarm information. When the work order takes effect, the unlocking authority of the account also takes effect immediately, avoiding the cumbersome permission application process and the situation of using electronic keys to unlock the door at will, thereby improving the security of the smart door lock.

[0081] In an alternative embodiment, Figure 4 A flow chart of another method for determining the unlocking authority of a smart door lock is shown. Figure 4 As shown, the method may include at least the following steps: In step S410, when the work order status is a work order change, the corresponding previous operation account, current operation account, and smart door lock are matched according to the work order information.

[0082] When the work order status is work order change, the previous operation account corresponding to the name of the previous operator in the work order information and the current operation account corresponding to the name of the transferred operator can be obtained, and the current operation account and the smart door lock ID information of the work order information can be further matched to determine the smart door lock.

[0083] In step S420, the unlocking authority of the previous operating account to the smart door lock is canceled, and the unlocking authority of the current operating account to the smart door lock is determined.

[0084] After determining the previous operating account and the current operating account, the unlocking authority of the previous operating account of the original operator can be cancelled, and the current operating account of the changed operator can be authorized to transfer the unlocking authority of the smart door lock and provide feedback.

[0085] When determining the unlocking authority of the current operating account for the smart door lock, you can follow Figure 3 The method shown is determined and will not be repeated here.

[0086] In this exemplary embodiment, when the work order is changed, the unlocking authority of the corresponding account can be automatically canceled and changed, which is closely matched with the work order status and information, thereby improving the real-time nature of the unlocking authority change and the security of the smart door lock.

[0087] In an alternative embodiment, Figure 5 A flow chart of a method for cancelling unlocking authority is shown, such as Figure 5 As shown, the method may include at least the following steps: In step S510, when the work order status is that the work order is invalid, the corresponding operation account and smart door lock are matched according to the work order information.

[0088] When the work order status is invalid, the operation account corresponding to the operator's name in the work order information can also be obtained, and the operation account and the smart door lock ID information of the work order information are further matched to determine the smart door lock.

[0089] In step S520, the unlocking authority of the operating account to the smart door lock is revoked.

[0090] After the operating account and the smart door lock are determined, the unlocking authority of the original operator's operating account for the smart door lock can be revoked and feedback can be provided.

[0091] In this exemplary embodiment, when a work order expires, the unlocking authority of the corresponding account can be automatically canceled, which is closely aligned with the work order status and information, thereby improving the real-time cancellation of the unlocking authority and the security of the smart door lock.

[0092] In step S130, the smart door lock is unlocked according to the unlocking authority.

[0093] After the unlocking authority is determined, the unlocking authority can be sent to unlock the smart door lock.

[0094] The following is a detailed description of the permission adaptation method in the embodiment of the present disclosure in conjunction with an application scenario.

[0095] Figure 6 The schematic diagram of the architecture of the permission adaptation system in the application scenario is shown as follows: Figure 6 As shown, the permission adaptation system includes an access control management module 610, a mobile application 620, an electronic key 630 and an outdoor optical wiring facility 640.

[0096] The access control management module 610 implements the management of the intelligent door lock of the optical wiring facility, mainly including the implementation of facility management, operation account management, various work order functions, unlocking functions, etc. Moreover, the access control management module 610 is implemented by software.

[0097] The access control management module 610 further includes an account management module 611 , a permission adaptation module 612 , a work order change analysis module 613 , an alarm module 614 and a background unlocking module 615 .

[0098] Specifically, the account management module 611 uniformly manages accounts related to the operation of the optical wiring facility intelligent door lock, including system accounts logged in through PC computers and application accounts logged in through APPs. The account management module 611 obtains the account unlocking authority information from the authority adaptation module 612. When an authorized account logs in, the account management module 611 sends the account unlocking authority related information to the background unlocking module 615, or the application unlocking module 621, or the authorization transfer module 622 to unlock the intelligent door lock.

[0099] The authority adaptation module 612 can analyze the work order and alarm situation, so as to intelligently match, authorize or cancel the account's unlocking authority for the target smart door lock, and return the result to the account management module 611.

[0100] In addition, the authority adaptation module 612 divides different unlocking permissions according to different unlocking modes, and matches the system account and the application account. When the account is logged in, the target smart door lock is opened in a specific unlocking mode according to the unlocking permission.

[0101] The work order change analysis module 613 obtains the work order generated from the OSS (Operation Support Systems) or the door lock management module. When the work order is generated or the status changes, the work order information and the work order status are synchronously sent to the authority adaptation module 612.

[0102] Among them, the work order information may include the ID of the smart door lock of the optical distribution facility, the information of the operator, and the corresponding operation account information; the work order can be effective when it is in processing; the work order can be invalid when it is completed, withdrawn, or returned; the work order change can be when the operator changes when the work order is transferred.

[0103] The alarm module 614 provides relevant alarm information to the authority adaptation module 612. If an alarm such as low power of the smart door lock or abnormal door lock control occurs, it can be used as a prerequisite for authorizing the electronic key emergency unlocking authority.

[0104] After the permission adaptation is authorized, unlocking is achieved through the background unlocking module 615, or the application unlocking module 621, or the authorization transfer module 622.

[0105] The background unlocking module 615 can be an account with unlocking authority, including a system account and an application account. After logging in, the background unlocking module 615 obtains the account unlocking authority information from the account management module 611 and remotely opens the smart door lock through the wireless network.

[0106] The mobile application 620 implements management and operation functions for the intelligent door lock of the optical wiring facility through the APP.

[0107] The mobile application 620 includes an application unlocking module 621 and an authorization transfer module 622. The application unlocking module 621 and the authorization transfer module 622 are also implemented by software.

[0108] The application unlocking module 621 can be an application account with unlocking authority to log in to the APP. The account management module 611 sends the account unlocking authority information to the application unlocking module 621, accesses the background unlocking module 615 through the wireless network for remote unlocking, or uses the terminal Bluetooth to open the smart door lock in a short distance.

[0109] The authorization transfer module 622 can be an account login APP with emergency unlocking authority. After obtaining the account unlocking authority information from the account management module 611, the authorization is transferred to the electronic key 630 via Bluetooth, and the electronic key 630 is used to open the optical distribution facility door lock.

[0110] In an emergency, the electronic key 630 APP transfers the unlocking authority to the electronic key to open the smart door lock.

[0111] The outdoor optical distribution facility 640 includes a smart door lock, which is installed on the ODN outdoor optical distribution facility and is implemented by hardware and software to achieve management and security of the optical distribution facility.

[0112] Figure 7 A flowchart of the permission adaptation method in an application scenario is shown, such as Figure 7 As shown, in step S710, the work order change analysis module obtains the work order and its status from the OSS or the door lock management module.

[0113] The work order information may include the ID of the optical distribution facility smart door lock, the operator's information, and the corresponding operation account information, etc., which is not particularly limited in this exemplary embodiment.

[0114] Among them, the effectiveness of a work order can be while it is being processed; the expiration of a work order can be when the work order is completed, withdrawn, or returned; and the change of a work order can be when the operator changes due to the work order transfer.

[0115] In step S720, the authority adaptation module obtains the work order information from the work order change analysis module, and matches the work order operator account and door lock information in conjunction with the account management module.

[0116] When the work order status is that the work order is effective, the operation account corresponding to the operator's name in the work order information can be obtained, and the operation account and the smart door lock ID information of the work order information are further matched to determine the smart door lock.

[0117] In step S730, in conjunction with the alarm module, determine whether the smart door lock has a low battery alarm or a door lock control abnormality alarm.

[0118] Obtain the alarm information corresponding to the smart door lock, and determine the unlocking authority of the smart door lock based on the operating account and the alarm information.

[0119] Among them, the low-battery warning information may be information indicating that the battery of the smart door lock is too low; the door lock control abnormality information may be information indicating that the smart door lock control module is abnormal or other communication abnormalities are abnormal.

[0120] Specifically, the operating accounts include: application accounts and system accounts; the unlocking permissions include: background unlocking permissions, application unlocking permissions and emergency unlocking permissions; the background unlocking permissions match the application account and the system account, the application unlocking permissions match the application account, and the emergency unlocking permissions match the application account.

[0121] Among them, the application account can be an account logged in through the APP, and the system account can be an account logged in through a PC.

[0122] The background unlocking permission can remotely open the smart door lock, and the permission can match the system account and the application account; the application unlocking permission can use Bluetooth to open the smart door lock, and the permission only matches the application account; the emergency unlocking permission can use the Bluetooth authorized electronic key to open the smart door lock, and the permission only matches the application account.

[0123] In step S740, the account is a system account, and the background unlocking authority is authorized, and the result is fed back to the account management module.

[0124] When there is no alarm, the account is a system account, which authorizes the background unlocking permission and provides feedback.

[0125] In step S750, the account is an APP account, and the background unlocking authority and the application unlocking authority are authorized, and the result is fed back to the account management module.

[0126] When there is no alarm, the account is the application account, authorizing the background unlocking permission and the application unlocking permission, and providing feedback.

[0127] In step S760, the account is a system account, which is added as an APP account, and all unlocking permissions including emergency unlocking permissions are authorized, and the result is fed back to the account management module.

[0128] When there is an alarm, the account is a system account. The corresponding application account is added to the system account to authorize all unlocking permissions including emergency unlocking permissions, and feedback is provided.

[0129] In step S770, the account is an APP account, and all unlocking permissions including emergency unlocking permissions are authorized, and the result is fed back to the account management module.

[0130] When there is an alarm, the account is the application account, all unlocking permissions including emergency unlocking permissions are authorized, and feedback is provided.

[0131] In step S780, the authority adaptation module obtains the work order information from the work order change analysis module, cancels the original operator account unlocking authority, authorizes the changed operator account to unlock the work order door lock, and feeds back the result to the account management module.

[0132] When the work order status is work order change, the previous operation account corresponding to the name of the previous operator in the work order information and the current operation account corresponding to the name of the transferred operator can be obtained, and the current operation account and the smart door lock ID information of the work order information can be further matched to determine the smart door lock.

[0133] After determining the previous operating account and the current operating account, the unlocking authority of the previous operating account of the original operator can be cancelled, and the current operating account of the changed operator can be authorized to transfer the unlocking authority of the smart door lock and provide feedback.

[0134] In step S790, the authority adaptation module obtains the work order information from the work order change analysis module, cancels the original operator account unlocking authority, and feeds back the result to the account management module.

[0135] When the work order status is invalid, the operation account corresponding to the operator's name in the work order information can also be obtained, and the operation account and the smart door lock ID information of the work order information are further matched to determine the smart door lock.

[0136] After the operating account and the smart door lock are determined, the unlocking authority of the original operator's operating account for the smart door lock can be revoked and feedback can be provided.

[0137] After an account with matching authorization logs in, the account management module sends the account unlocking authority related information to the background unlocking module, or the application unlocking module, or the authorization transfer module to unlock the smart door lock.

[0138] In summary, when the work order status is valid, the account corresponding to the operator name of the work order is obtained through the account management module, and it is matched with the smart door lock ID information in the work order, and the account is assigned the corresponding unlocking authority for the door lock.

[0139] When the work order status is invalid, the account's unlocking permission for the door lock is revoked.

[0140] When the operator in the work order is changed, the original account's unlocking authority to the door lock is cancelled, and the changed operator account is authorized to unlock the door lock.

[0141] The system account or application account is adapted to different unlocking permissions. However, emergency unlocking permissions are only authorized under specific alarm conditions. The permission adaptation module obtains the alarm-related conditions of the smart door lock from the alarm module. Emergency unlocking permissions are only authorized when there are relevant alarms such as the smart door lock being out of control or low battery, limiting random unlocking.

[0142] The permission adaptation method in this application scenario determines the unlocking permission of the corresponding smart door lock according to the work order information and work order status for unlocking, avoiding the cumbersome permission application process and the abuse of unlocking permission. It ensures the security of ODN outdoor passive box facilities, optical fiber cables and the communication services they carry, while optimizing the intelligent management and control processes such as management, operation and maintenance, and construction of ODN outdoor passive box facilities, greatly shortening the management and maintenance time, improving operation and maintenance efficiency, and accelerating the activation of users' broadband services.

[0143] Figure 8 A schematic diagram of the structure of the authority adaptation device is shown in FIG. Figure 8 As shown, the authority adaptation device 800 may include: an information acquisition module 810, an authority determination module 820 and a door lock unlocking module 830. Among them:

[0144] The information acquisition module 810 is configured to acquire work order information and work order status, wherein the work order status includes work order validity, work order change, and work order expiration;

[0145] The authority determination module 820 is configured to determine the unlocking authority of the smart door lock in the work order information according to the work order information and the work order status;

[0146] The door lock unlocking module 830 is configured to unlock the smart door lock according to the unlocking authority.

[0147] In an exemplary embodiment of the present invention, determining the unlocking authority of the smart door lock in the work order information according to the work order information and the work order status includes:

[0148] When the work order status is that the work order is effective, matching the corresponding operation account and smart door lock according to the work order information;

[0149] Acquire alarm information corresponding to the smart door lock, and determine the unlocking authority of the smart door lock according to the operation account and the alarm information.

[0150] In an exemplary embodiment of the present invention, the warning information includes: low battery warning information and door lock control abnormality information.

[0151] In an exemplary embodiment of the present invention, the operation account includes: an application account and a system account;

[0152] The unlocking authority includes: background unlocking authority, application unlocking authority and emergency unlocking authority;

[0153] The background unlocking authority matches the application account and the system account, the application unlocking authority matches the application account, and the emergency unlocking authority matches the application account.

[0154] In an exemplary embodiment of the present invention, determining the unlocking authority of the smart door lock according to the operation account and the alarm information includes:

[0155] When the operating account is the system account and there is no alarm information, determining that the unlocking authority of the smart door lock is the background unlocking authority;

[0156] When the operation account is the application account and there is no alarm information, determining that the unlocking authority of the smart door lock is the background unlocking authority and the application unlocking authority;

[0157] When the operating account is the system account and there is the alarm information, determining that the unlocking authority of the smart door lock is the background unlocking authority, the application unlocking authority and the emergency unlocking authority;

[0158] When the operating account is the application account and there is the alarm information, it is determined that the unlocking authority of the smart door lock is the background unlocking authority, the application unlocking authority and the emergency unlocking authority.

[0159] In an exemplary embodiment of the present invention, determining the unlocking authority of the smart door lock in the work order information according to the work order information and the work order status includes:

[0160] When the work order status is the work order change, matching the corresponding last operation account, current operation account, and smart door lock according to the work order information;

[0161] The unlocking authority of the last operating account for the smart door lock is canceled, and the unlocking authority of the current operating account for the smart door lock is determined.

[0162] In an exemplary embodiment of the present invention, after obtaining the work order information and the work order status, the method further includes:

[0163] When the work order status is that the work order is invalid, matching the corresponding operation account and smart door lock according to the work order information;

[0164] Cancel the unlocking authority of the operating account to the smart door lock.

[0165] The specific details of the above-mentioned permission adaptation device 800 have been described in detail in the corresponding permission adaptation method, so they are not repeated here.

[0166] It should be noted that although several modules or units of the rights adaptation device 800 are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be concretized in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be concretized.

[0167] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0168] Refer to the following Fig. 9 An electronic device 900 according to such an embodiment of the present invention will be described. Fig. 9 The electronic device 900 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0169] like Fig. 9 As shown, the electronic device 900 is in the form of a general computing device. The components of the electronic device 900 may include, but are not limited to: the at least one processing unit 910, the at least one storage unit 920, a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910), and a display unit 940.

[0170] The storage unit stores program codes, which can be executed by the processing unit 910, so that the processing unit 910 executes the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification.

[0171] The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 921 and / or a cache memory unit 922 , and may further include a read-only memory unit (ROM) 923 .

[0172] The storage unit 920 may also include a program / utility 924 having a set (at least one) of program modules 925, such program modules 925 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0173] Bus 930 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.

[0174] The electronic device 900 may also communicate with one or more external devices 1100 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 900, and / or may communicate with any device that enables the electronic device 900 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 950. Furthermore, the electronic device 900 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 960. As shown, the network adapter 960 communicates with other modules of the electronic device 900 via a bus 930. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0175] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.

[0176] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible embodiments, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to perform the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0177] refer to Fig.10As shown, a program product 1000 for implementing the above method according to an embodiment of the present invention is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a terminal device, such as a personal computer. However, the program product of the present invention is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0178] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0179] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0180] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0181] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0182] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

Claims

1. A permission adaptation method, characterized in that: The method comprises: Obtain work order information and work order status, where the work order status includes work order effectiveness, work order change, and work order expiration; Determine the unlocking authority of the smart door lock in the work order information according to the work order information and the work order status; Unlocking the smart door lock according to the unlocking authority; Among them, the unlocking authority includes background unlocking authority, application unlocking authority and emergency unlocking authority, and the unlocking authority of the smart door lock in the work order information is determined according to the work order information and the work order status, including: when the work order status is that the work order is effective, matching the corresponding operation account and the smart door lock according to the work order information; obtaining the alarm information corresponding to the smart door lock, and determining the unlocking authority of the smart door lock according to the operation account and the alarm information; when the work order status is that the work order is changed, matching the corresponding previous operation account, the current operation account, and the smart door lock according to the work order information; canceling the unlocking authority of the previous operation account to the smart door lock, and determining the unlocking authority of the current operation account to the smart door lock.

2. The permission adaptation method according to claim 1, characterized in that: The warning information includes: low battery warning information and door lock control abnormality information.

3. The permission adaptation method according to claim 1, characterized in that: The operation account includes: application account and system account; The background unlocking authority matches the application account and the system account, the application unlocking authority matches the application account, and the emergency unlocking authority matches the application account.

4. The permission adaptation method according to claim 3, characterized in that: The determining the unlocking authority of the smart door lock according to the operating account and the alarm information includes: When the operating account is the system account and there is no alarm information, determining that the unlocking authority of the smart door lock is the background unlocking authority; When the operation account is the application account and there is no alarm information, determining that the unlocking authority of the smart door lock is the background unlocking authority and the application unlocking authority; When the operating account is the system account and there is the alarm information, determining that the unlocking authority of the smart door lock is the background unlocking authority, the application unlocking authority and the emergency unlocking authority; When the operating account is the application account and there is the alarm information, it is determined that the unlocking authority of the smart door lock is the background unlocking authority, the application unlocking authority and the emergency unlocking authority.

5. The permission adaptation method according to claim 1, characterized in that: After obtaining the work order information and the work order status, the method further includes: When the work order status is that the work order is invalid, matching the corresponding operation account and smart door lock according to the work order information; Cancel the unlocking authority of the operating account to the smart door lock.

6. A rights adaptation device, characterized in that: include: An information acquisition module is configured to acquire work order information and work order status, wherein the work order status includes work order validity, work order change, and work order expiration; An authority determination module, configured to determine the unlocking authority of the smart door lock in the work order information according to the work order information and the work order status; A door lock unlocking module, configured to unlock the smart door lock according to the unlocking authority; Among them, the unlocking authority includes background unlocking authority, application unlocking authority and emergency unlocking authority, and the determining of the unlocking authority of the smart door lock in the work order information according to the work order information and the work order status includes: when the work order status is that the work order is effective, matching the corresponding operation account and the smart door lock according to the work order information; obtaining the alarm information corresponding to the smart door lock, and determining the unlocking authority of the smart door lock according to the operation account and the alarm information; when the work order status is that the work order is changed, matching the corresponding previous operation account, the current operation account, and the smart door lock according to the work order information; canceling the unlocking authority of the previous operation account to the smart door lock, and determining the unlocking authority of the current operation account to the smart door lock.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the permission adaptation method described in any one of claims 1 to 5 is implemented.

8. An electronic device, characterized in that: include: processor; A memory, configured to store executable instructions of the processor; The processor is configured to execute the permission adaptation method described in any one of claims 1 to 5 by executing the executable instructions.

Citation Information

Patent Citations

  • Intelligent access control management system based on base station

    CN107240179A

  • Outdoor equipment monitoring system based on NB-IOT, and door opening method

    CN109830007A

  • Intelligent lock control system of transformer substation

    CN114550353A