Search

CN-121980579-A - User authority management method, device, electronic equipment and storage medium

CN121980579ACN 121980579 ACN121980579 ACN 121980579ACN-121980579-A

Abstract

The application provides a user authority management method, a device, an electronic device and a storage medium, wherein the method comprises the steps of determining user information of a target user, and equipment information and use state information of the equipment; determining target adaptation degree information of a target user and equipment according to the user information, the equipment information and the use state information of the equipment; and determining target user permission information of the target user for the equipment according to the target adaptation degree information. Compared with manual distribution, the authority management method can automatically generate the user authority, and greatly reduces the complexity of manual management. The application not only allocates the rights based on the roles of the users, but also determines the rights based on the user information, the equipment information, the using state information of the equipment and the like, thereby realizing the rights management of the users more intelligently and more finely.

Inventors

  • ZHANG WEIJIAN
  • TANG JIE
  • CHEN DAOYUAN
  • LI YU
  • FENG YANG

Assignees

  • 珠海格力电器股份有限公司
  • 珠海联云科技有限公司

Dates

Publication Date
20260505
Application Date
20251219

Claims (12)

  1. 1. A method for managing user rights, the method comprising: Determining user information of a target user, and equipment information and use state information of equipment; determining target fitness information of the target user and the equipment according to the user information, the equipment information of the equipment and the use state information; And determining target user permission information of the target user for the equipment according to the target adaptation degree information.
  2. 2. The method of claim 1, wherein the user information includes a list of allowed areas, and wherein the determining the target user's target fitness information with the device based on the user information, and the device information and the usage status information of the device includes: determining an equipment area to which the equipment belongs, and judging whether the allowed area list comprises the equipment area or not; when the allowed area list includes the device area, the target fitness information is determined according to the user information, the device information of the device and the use state information.
  3. 3. The method of claim 1, wherein the user information comprises a trust base, and wherein the determining the target user's target fitness information with the device based on the user information, and the device information and the usage status information of the device comprises: Determining the security level, privacy level and function value of the equipment according to the equipment information; And determining target fitness information of the target user and the equipment according to the user information, the use state information, the security level, the privacy level and the function value.
  4. 4. A method according to claim 3, wherein said determining target fitness information of the target user with the device based on the user information, the usage status information, and the security level, privacy level, and function value comprises: Calculating target security scores of the target user and the equipment according to the trust base score and the security level; calculating target privacy scores of the target user and the equipment according to the trust base score and the privacy grade; Calculating the equipment function score of the equipment according to the function value and the use state information of the equipment; And determining the target fitness information according to the target security score, the target privacy score and the equipment function score.
  5. 5. The method according to any one of claims 1-4, wherein determining target user rights information for the target user for the device based on the target fitness information comprises: determining a target authority level to which the target adaptation degree information belongs; and determining the target user permission information according to the permission operation permission of the equipment under the target permission level.
  6. 6. The method according to claim 5, wherein the target user permission information includes an operation permission of the target user for a target scene to which the device belongs, and the determining the target user permission information according to the allowable operation permission of the device under the target permission level includes: determining a target authority level to which the target adaptation degree information belongs, and determining an allowable operation authority of the equipment under the target authority level; And determining the target user permission information according to the permission operation permission of the target equipment associated with the target scene.
  7. 7. The method according to claim 1, wherein the method further comprises: detecting whether a permission adjustment event is triggered; and when the permission adjustment event is triggered, adjusting the target user permission information.
  8. 8. The method of claim 7, wherein the rights adjustment event comprises an upgrade event and a downgrade event; The escalation event includes at least one of the following events: the historical execution mode of the device is matched with the operation behavior of the target user aiming at the device; The operation behavior of the target user aiming at the equipment is matched with the scene to which the equipment belongs; the target user does not have conflict operation; the degradation event includes at least one of the following events: The target user has conflict operation; the target user has permission heuristic behavior.
  9. 9. The method according to claim 1, wherein the method further comprises: determining usage habit data and preference data of the target user for the device; and generating a target scene according to the using habit data and the preference data.
  10. 10. A user rights management apparatus, the apparatus comprising: A first determining module, configured to determine user information of a target user, and device information and usage status information of a device; the second determining module is used for determining target fitness information of the target user and the equipment according to the user information, the equipment information of the equipment and the use state information; And the right management module is used for determining the right information of the target user for the equipment according to the target adaptation degree information.
  11. 11. An electronic device comprising a processor, a memory and a computer program stored on the memory and capable of running on the processor, which computer program, when executed by the processor, implements a method of managing user rights according to any of claims 1 to 9.
  12. 12. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements a method of managing user rights according to any of claims 1 to 9.

Description

User authority management method, device, electronic equipment and storage medium Technical Field The application belongs to the technical field of authority management, and particularly relates to a user authority management method, a user authority management device, electronic equipment and a storage medium. Background In the related art, smart home systems generally employ a Role-based access control (RBAC, role-Based Access Control) model to manage user rights. By defining different roles (e.g., administrator, resident, visitor, etc.), and assigning each role a corresponding right, the system can automatically grant or restrict access to smart home devices and functions based on the user's role. However, different users of the same role may need to grant different rights or limit access to parts of smart home devices and functions, and if the user rights are managed simply based on the role, it is difficult to achieve fine rights management. Disclosure of Invention In view of the above problems, a method, an apparatus, an electronic device, and a storage medium for managing user rights are proposed that overcome or at least partially solve the above problems, including: a method of managing user rights, the method comprising: Determining user information of a target user, and equipment information and use state information of equipment; determining target fitness information of the target user and the equipment according to the user information, the equipment information of the equipment and the use state information; And determining target user permission information of the target user for the equipment according to the target adaptation degree information. In some embodiments, the user information includes a permitted area list, and the determining the target fitness information of the target user and the device according to the user information, the device information of the device, and the usage state information includes: determining an equipment area to which the equipment belongs, and judging whether the allowed area list comprises the equipment area or not; when the allowed area list includes the device area, the target fitness information is determined according to the user information, the device information of the device and the use state information. In some embodiments, the user information includes a trust base, and determining the target fitness information of the target user and the device according to the user information, the device information of the device, and the usage state information includes: Determining the security level, privacy level and function value of the equipment according to the equipment information; And determining target fitness information of the target user and the equipment according to the user information, the use state information, the security level, the privacy level and the function value. In some embodiments, the determining the target fitness information of the target user and the device according to the user information, the usage state information, and the security level, privacy level, and function value includes: Calculating target security scores of the target user and the equipment according to the trust base score and the security level; calculating target privacy scores of the target user and the equipment according to the trust base score and the privacy grade; Calculating the equipment function score of the equipment according to the function value and the use state information of the equipment; And determining the target fitness information according to the target security score, the target privacy score and the equipment function score. In some embodiments, the determining, according to the target fitness information, target user permission information of the target user for the device includes: determining a target authority level to which the target adaptation degree information belongs; and determining the target user permission information according to the permission operation permission of the equipment under the target permission level. In some embodiments, the target user permission information includes an operation permission of the target user for a target scene to which the device belongs, and determining the target user permission information according to an allowed operation permission of the device under the target permission level includes: determining a target authority level to which the target adaptation degree information belongs, and determining an allowable operation authority of the equipment under the target authority level; And determining the target user permission information according to the permission operation permission of the target equipment associated with the target scene. In some embodiments, the method further comprises: detecting whether a permission adjustment event is triggered; and when the permission adjustment event is triggered, adjusting the target user permission information. In some embodiments,