Power equipment integrated simulation platform architecture and authority management method, device and computer equipment

By generating role information in the integrated simulation platform of power equipment and establishing an association between accounts and roles, setting up roles and user accounts independently, and using time authorization to control account usage time, the problem of low efficiency in traditional permission management is solved, and management efficiency and security are improved.

CN119622681BActive Publication Date: 2025-08-22ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510164936.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-02-14
Publication Date
2025-08-22
Estimated Expiration
2045-02-14

AI Technical Summary

Technical Problem

Account permission management in traditional power equipment integrated simulation platforms is inefficient, especially when the number of employees in the enterprise is large, it takes a lot of time for administrators to allocate permissions to each account, resulting in inefficient management.

Method used

By generating role information based on the module authorization encoding and time authorization information of the functional modules in the power equipment integration simulation platform, role information is generated, and the relationship between account information and role information is established, role and user accounts are set independently, and account time authorization information is used to control account usage time, and permission management efficiency is improved.

Benefits of technology

It avoids the redundant work of repeatedly creating accounts with the same permissions, and improves the permission management efficiency and the operation security of the integrated simulation platform of power equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119622681B_ABST
    Figure CN119622681B_ABST
Patent Text Reader

Abstract

The present application relates to an architecture and permission management method, device, computer equipment, storage medium and computer program product for an integrated simulation platform for electric power equipment. The method comprises: obtaining role information of the integrated simulation platform for electric power equipment based on module authorization codes and time authorization information of functional modules in the integrated simulation platform for electric power equipment; the module authorization code is used to indicate the target functional module for which the role information has management authority; the time authorization information is used to indicate the duration of use of the management authority for the target functional module; the role information is used to characterize the permission information for the integrated simulation platform for electric power equipment; obtaining account information created for the integrated simulation platform for electric power equipment; establishing an association relationship between the account information and the role information so that the account information manages the integrated simulation platform for electric power equipment based on the permission information corresponding to the role information. The adoption of this method can improve the efficiency of the architecture and permission management of the integrated simulation platform for electric power equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electric power technology, and in particular to an integrated simulation platform architecture for electric power equipment and a method, device, computer equipment, storage medium, and computer program product for authority management. Background Art

[0002] Power equipment simulation involves multiple software programs. To facilitate the use, scheduling, and management of software, power-specific knowledge bases, and standard libraries, an integrated power equipment simulation platform can be used to integrate various functional modules. However, enterprises often have multiple departments and employees, and each department has different requirements for software data. To ensure smooth cross-departmental collaboration, manage the copyright and permissions of multiple software programs, and maintain the security of sensitive information, the scheduling and use of multiple software programs and knowledge information requires management by users at different levels.

[0003] Traditionally, administrators have been assigning permissions to individual accounts to implement permission control for different accounts. However, setting permissions for each account is time-consuming, especially when a company has a large number of employee accounts, which reduces account management efficiency. Summary of the Invention

[0004] Based on this, it is necessary to provide an integrated simulation platform architecture for electric power equipment and a permission management method, device, computer equipment, computer-readable storage medium and computer program product that can improve account management efficiency in response to the above technical problems.

[0005] In a first aspect, the present application provides an integrated simulation platform architecture and a rights management method for power equipment. The method includes:

[0006] According to the module authorization code and time authorization information of the functional module in the power equipment integrated simulation platform, the role information of the power equipment integrated simulation platform is obtained; the module authorization code is used to indicate the target functional module for which the role information has management authority; the time authorization information is used to indicate the usage duration of the management authority for the target functional module; the role information is used to represent the authority information for the power equipment integrated simulation platform;

[0007] Obtaining account information created for the power equipment integrated simulation platform;

[0008] An association relationship is established between the account information and the role information so that the account information manages the power equipment integrated simulation platform based on the authority information corresponding to the role information.

[0009] In one embodiment, each of the functional modules includes a plurality of sub-functional modules;

[0010] Before obtaining the role information of the power equipment integrated simulation platform according to the module authorization code and time authorization information of the functional module in the power equipment integrated simulation platform, the method further includes:

[0011] Determining a target sub-functional module to which management authority is granted from the plurality of sub-functional modules;

[0012] The module authorization code is obtained according to the identifier of the target functional module corresponding to the target sub-functional module, the identifier of the target sub-functional module and the sequence code; the sequence code is used to represent the sequence information of the target sub-functional module performing the management authority granting operation.

[0013] In one embodiment, obtaining the role information of the power equipment integrated simulation platform according to the module authorization code and time authorization information of the functional module in the power equipment integrated simulation platform includes:

[0014] Determine a first role field according to the module authorization code;

[0015] Determine a second role field according to the time authorization information;

[0016] Determine the third role field based on the account generation information; the account generation information is used to indicate whether the user has the authority to generate a subordinate account;

[0017] Determining a fourth role field based on read authorization information; the read authorization information is used to control whether the subordinate account has permission to read and write data on the power equipment integrated simulation platform;

[0018] The role information of the power equipment integrated simulation platform is constructed according to the first role field, the second role field, the third role field and the fourth role field.

[0019] In one embodiment, the method further comprises:

[0020] In response to an account generation request triggered by the account information, obtaining account generation information corresponding to the account information;

[0021] If the account generation information indicates that the user has the authority to generate a subordinate account, target subordinate account information corresponding to the account information is generated according to the role information corresponding to the account information.

[0022] In one embodiment, the account information manages the power equipment integrated simulation platform based on the permission information corresponding to the role information, including:

[0023] In response to a login request triggered by the account information for the power equipment integrated simulation platform, obtaining a current login time corresponding to the login request;

[0024] Determine whether to approve the login request based on the current login time and the historical login time and first login time of the account information;

[0025] If the account information successfully logs into the power equipment integrated simulation platform, obtaining the role information corresponding to the account information;

[0026] The power equipment integrated simulation platform is managed according to the module authorization code in the role information.

[0027] In one embodiment, managing the power equipment integrated simulation platform according to the module authorization code in the role information includes:

[0028] In response to a request operation of the account information on a triggered function module in the electric power equipment integrated simulation platform, obtaining coding information of the triggered function module;

[0029] According to the coding information and the module authorization code, it is determined whether to jump to the triggered function module so that the account information can manage the triggered function module.

[0030] In a second aspect, the present application also provides an integrated simulation platform architecture and a rights management device for power equipment. The device includes:

[0031] A role creation module is configured to obtain role information of the power equipment integrated simulation platform based on the module authorization code and time authorization information of the functional module in the power equipment integrated simulation platform; the module authorization code is used to indicate the target functional module for which the role information has management authority; the time authorization information is used to indicate the usage duration of the management authority for the target functional module; and the role information is used to represent the authority information for the power equipment integrated simulation platform;

[0032] An account creation module, configured to obtain account information created for the power equipment integrated simulation platform;

[0033] The authorization management module is used to establish an association relationship between the account information and the role information so that the account information manages the power equipment integrated simulation platform based on the authority information corresponding to the role information.

[0034] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are performed:

[0035] According to the module authorization code and time authorization information of the functional module in the power equipment integrated simulation platform, the role information of the power equipment integrated simulation platform is obtained; the module authorization code is used to indicate the target functional module for which the role information has management authority; the time authorization information is used to indicate the usage duration of the management authority for the target functional module; the role information is used to represent the authority information for the power equipment integrated simulation platform;

[0036] Obtaining account information created for the power equipment integrated simulation platform;

[0037] An association relationship is established between the account information and the role information so that the account information manages the power equipment integrated simulation platform based on the authority information corresponding to the role information.

[0038] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the following steps:

[0039] According to the module authorization code and time authorization information of the functional module in the power equipment integrated simulation platform, the role information of the power equipment integrated simulation platform is obtained; the module authorization code is used to indicate the target functional module for which the role information has management authority; the time authorization information is used to indicate the usage duration of the management authority for the target functional module; the role information is used to represent the authority information for the power equipment integrated simulation platform;

[0040] Obtaining account information created for the power equipment integrated simulation platform;

[0041] An association relationship is established between the account information and the role information so that the account information manages the power equipment integrated simulation platform based on the authority information corresponding to the role information.

[0042] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the following steps:

[0043] According to the module authorization code and time authorization information of the functional module in the power equipment integrated simulation platform, the role information of the power equipment integrated simulation platform is obtained; the module authorization code is used to indicate the target functional module for which the role information has management authority; the time authorization information is used to indicate the usage duration of the management authority for the target functional module; the role information is used to represent the authority information for the power equipment integrated simulation platform;

[0044] Obtaining account information created for the power equipment integrated simulation platform;

[0045] An association relationship is established between the account information and the role information so that the account information manages the power equipment integrated simulation platform based on the authority information corresponding to the role information.

[0046] The above-mentioned power equipment integrated simulation platform architecture and permission management method, device, computer equipment, storage medium and computer program product obtain the role information of the power equipment integrated simulation platform based on the module authorization code and time authorization information of the functional module in the power equipment integrated simulation platform; the module authorization code is used to indicate the target functional module for which the role information has management authority; the time authorization information is used to indicate the usage duration of the management authority for the target functional module; the role information is used to represent the permission information for the power equipment integrated simulation platform; the account information created for the power equipment integrated simulation platform is obtained; and an association relationship between the account information and the role information is established so that the account information manages the power equipment integrated simulation platform based on the permission information corresponding to the role information. By adopting this method, by independently setting the role and user account, the redundant work of repeatedly creating accounts with the same permissions is avoided. The time authorization information can also be used to control the usage time limit of the account, which greatly improves the permission management efficiency of the power equipment integrated simulation platform and also improves the operational security of the power equipment integrated simulation platform. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 A diagram of an application environment for an integrated simulation platform architecture and a rights management method for power equipment in one embodiment;

[0048] Figure 2 A schematic diagram of a flow chart of an integrated simulation platform architecture and a method for managing rights for power equipment in one embodiment;

[0049] Figure 3 A schematic diagram of a flow chart of an integrated simulation platform architecture and a method for managing rights for power equipment in another embodiment;

[0050] Figure 4 A structural block diagram of an integrated simulation platform architecture and a rights management device for power equipment in one embodiment;

[0051] Figure 5 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0052] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0053] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0054] In traditional technologies, administrators are required to assign corresponding permissions to each account. For example, one thousand accounts may require one thousand permissions, and two thousand accounts may require two thousand permissions. The more accounts required, the more times permissions need to be assigned, which in turn consumes more computer resources and processing time, resulting in low efficiency in the architecture and permissions management of the power equipment integrated simulation platform. To address this issue, this embodiment provides a secure and fast power equipment integrated simulation platform architecture and permissions management method.

[0055] In one embodiment, Figure 1 As shown, an integrated simulation platform architecture and permission management method for power equipment are provided. This embodiment uses the method applied to a computer device as an example. It can be understood that the computer device can also be a terminal, a server, or a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. The computer device is also equipped with an integrated simulation platform for power equipment. The terminal 101 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices, and portable wearable devices; the server 102 can be implemented as an independent server or a server cluster consisting of multiple servers. In this embodiment, the method includes the following steps:

[0056] Step S101, obtain the role information of the power equipment integrated simulation platform according to the module authorization code and time authorization information of the functional module in the power equipment integrated simulation platform; the module authorization code is used to indicate the target functional module for which the role information has management authority; the time authorization information is used to indicate the usage duration of the management authority over the target functional module; the role information is used to represent the authority information of the power equipment integrated simulation platform.

[0057] Among them, the power equipment integrated simulation platform refers to a platform that integrates multiple power equipment simulation software, which is used to integrate, dispatch and manage different power equipment simulation software.

[0058] Specifically, the module authorization code can be obtained by first identifying the target functional module in the power equipment integrated simulation platform to which management permissions are to be granted. The time authorization information can then be obtained by determining the duration of the management permissions. A role can then be created, and the module authorization code and time authorization information can be stored in the data storage area corresponding to the role, ultimately obtaining the corresponding role information. Subsequently, the data storage area corresponding to the role information can be browsed to understand the permissions that role possesses in the power equipment integrated simulation platform.

[0059] Step S102: Acquire account information created for the power equipment integrated simulation platform.

[0060] Specifically, users can create their own account information for the power equipment integrated simulation platform, or administrators or senior accounts can create account information and then assign it to users. Users can set the username and password in the account information.

[0061] Step S103 : establishing an association relationship between the account information and the role information so that the account information manages the power equipment integrated simulation platform based on the authority information corresponding to the role information.

[0062] Specifically, the server of the power equipment integrated simulation platform can point the user's account information to the created role information based on the permissions, position and other information of the account information, that is, establish an association relationship between the account information and the role information. It should be noted that the relationship between role information and account information is one-to-many, that is, one role information can be bound to multiple account information, but each account information has only one unique corresponding role information. After the account information logs in to the power equipment integrated simulation platform, the permission information in the data storage area of ​​the role information associated with it can be obtained, that is, the permission to use the functional modules of the power equipment integrated simulation platform is managed by building an association between the account information and the role information.

[0063] In the above-mentioned power equipment integrated simulation platform architecture and permission management method, the role information of the power equipment integrated simulation platform is obtained based on the module authorization code and time authorization information of the functional module in the power equipment integrated simulation platform; the module authorization code is used to indicate the target functional module for which the role information has management authority; the time authorization information is used to indicate the usage duration of the management authority for the target functional module; the role information is used to represent the permission information for the power equipment integrated simulation platform; the account information created for the power equipment integrated simulation platform is obtained; and an association relationship between the account information and the role information is established so that the account information manages the power equipment integrated simulation platform based on the permission information corresponding to the role information. By adopting this method, by setting the role and user account separately, the redundant work of repeatedly creating accounts with the same permissions is avoided, and the time authorization information can also be used to control the usage time limit of the account, which greatly improves the permission management efficiency of the power equipment integrated simulation platform and also improves the operational security of the power equipment integrated simulation platform.

[0064] In one embodiment, each functional module includes multiple sub-functional modules. Figure 2 As shown, in the above step S101, before obtaining the role information of the power equipment integrated simulation platform according to the module authorization code and time authorization information of the functional module in the power equipment integrated simulation platform, the following is further included:

[0065] Step S201 : determining a target sub-functional module to which management authority is granted from a plurality of sub-functional modules.

[0066] The integrated simulation platform for power equipment includes at least one functional module, which may include six functional modules: authority management, simulation software scheduling, digital twin support software, simulation database, equipment simulation standards, and simulation software evaluation.

[0067] Each functional module can also include one or more sub-functional modules. For example, simulation scheduling software includes TRSim (a specialized simulation computing software developed for the multi-physics field computing needs of high-voltage power equipment), COMSOL (a multi-physics field simulation software), ANSYS (a large-scale general-purpose finite element analysis software), etc.; digital twin support software includes order reduction software and fast visualization software; simulation databases include knowledge bases (theory, algorithm data, and help documents), geometric model libraries, material parameter libraries, and equipment operating condition libraries.

[0068] Specifically, in the process of creating role information, you can first set which functional modules you want to grant permissions to the role information, or grant permissions to some sub-functional modules in the functional module, and set the sub-functional module you want to grant role permissions to as the target sub-functional module.

[0069] Step S202 , obtaining a module authorization code according to the target functional module identifier, the target subfunctional module identifier and the sequence code corresponding to the target subfunctional module; the sequence code is used to represent the sequence information of the target subfunctional module performing the management authority granting operation.

[0070] Specifically, the module authorization code is composed of four digits: the first digit is the function module code, that is, the identifier of the target function module; the second digit is the submodule code, that is, the identifier of the target subfunction module; the third and fourth digits are the sequential codes of the module authorization.

[0071] In practical applications, adding sequential coding to module authorization codes can, on the one hand, improve the readability of module authorization codes, helping the backend to more clearly identify and process module authorization codes for different roles, making each module authorization code unique. Furthermore, it can provide a clear coding sequence between module authorization codes, effectively reducing code lookup time and making the power equipment integrated simulation platform more efficient when processing module authorization codes.

[0072] The identifier of the target functional module can be in the form of numbers, letters, etc. For example, the identifier of simulation software scheduling can be "1", the identifier of digital twin support software can be "2", the identifier of simulation database can be "3", the identifier of equipment simulation standard can be "4", and the identifier of simulation software evaluation can be "5".

[0073] In this embodiment, the target sub-function module to which management authority is granted is determined from multiple sub-function modules, and then the module authorization code is obtained based on the identifier of the target function module corresponding to the target sub-function module, the identifier of the target sub-function module and the sequence code, thereby achieving the reasonable acquisition of the module authorization code of the authorized target sub-function module, so that the account information with the module authorization code in the subsequent steps can use and manage the corresponding target sub-function module.

[0074] In one embodiment, the above step S101 obtains the role information of the power equipment integrated simulation platform based on the module authorization code and time authorization information of the functional module in the power equipment integrated simulation platform, which specifically includes the following contents: determining the first role field based on the module authorization code; determining the second role field based on the time authorization information; determining the third role field based on the account generation information; the account generation information is used to characterize whether the authority to generate a subordinate account is available; determining the fourth role field based on the read authorization information; the read authorization information is used to control whether the subordinate account has the authority to read and write data of the power equipment integrated simulation platform; constructing the role information of the power equipment integrated simulation platform based on the first role field, the second role field, the third role field and the fourth role field.

[0075] Specifically, a data storage area can be allocated for the created role information, and four role fields can be set in the data storage area. The first role field records the module authorization code; the second role field records the inter-authorization information; the third role field records the account generation information, which is used to control whether the account information can generate the next-level account; and the fourth role field records the read authorization information, which is used to control whether the next-level account has the right to read and write data (such as knowledge information in the knowledge library) of the power equipment integrated simulation platform. Finally, the role information is created.

[0076] In this embodiment, the role field is constructed through module authorization code, time authorization information, account generation information and reading authorization information to generate role information, and the creation process of role information and account information is separated. The redundant work of repeatedly creating roles with the same permissions can be avoided, which greatly improves the efficiency of permission allocation and management.

[0077] In one embodiment, the above-mentioned power equipment integrated simulation platform architecture and authority management method also includes: in response to an account generation request triggered by account information, obtaining account generation information corresponding to the account information; if the account generation information indicates that the authority to generate a subordinate account is possessed, then generating target subordinate account information corresponding to the account information based on the role information corresponding to the account information.

[0078] Specifically, when a user installs the power equipment integrated simulation platform on a terminal or server, the supplier provides the user with account information; wherein, the account information may include a first-level administrator account and password, as well as a one-to-one authorization management file, locking the physical IP address, authorization time, and authorization function module (and authorization sub-function module). If the account generation information indicates that it has the authority to generate a lower-level account, then according to the role information corresponding to the account information, the target lower-level account information corresponding to the account information is generated. For example, a first-level administrator account (belonging to a first-level account) has the authority to create a second-level administrator account (belonging to a second-level account) and a user account (belonging to a third-level account) locally, and a second-level administrator account has the authority to create a user account. A first-level account can modify all second-level accounts it directly creates. A first-level account cannot directly change a third-level account created by a second-level account and can only read the information of a third-level account. A second-level account can only read and write the third-level accounts it created.

[0079] In this embodiment, if the account information has the authority to generate subordinate accounts, the account generation information in the role information corresponding to the account information can be used to determine what level of subordinate accounts the account information can generate, and then generate the target subordinate account information corresponding to the account information, thereby realizing the generation and management of subordinate accounts, managing accounts in different levels, and improving the security of account information.

[0080] In one embodiment, in the above step S103, the account information manages the power equipment integrated simulation platform based on the permission information corresponding to the role information, which specifically includes the following contents: in response to the login request triggered by the account information for the power equipment integrated simulation platform, the current login time corresponding to the login request is obtained; based on the current login time and the historical login time and first login time of the account information, it is determined whether the login request is approved; if the account information successfully logs in to the power equipment integrated simulation platform, the role information corresponding to the account information is obtained; and the power equipment integrated simulation platform is managed according to the permission information corresponding to the role information.

[0081] The historical login time refers to the time information (such as a timestamp) of each time the account information logs into the power equipment integrated simulation platform. For example, the historical login time includes the time when the account information first logs into the power equipment integrated simulation platform, i.e., the first login time.

[0082] Specifically, when the account information logs into the power equipment integrated simulation platform for the first time, the first login time of the account information is recorded in the background. After that, each time the account information logs into the power equipment integrated simulation platform, the login time of each account information is recorded in the background to obtain the historical login time. When the account information logs into the power equipment integrated simulation platform, the background obtains the current login time of the account information; wherein, the current login time is used to represent the time when the account information currently initiates the login request, and does not mean that the account information has successfully logged into the power equipment integrated simulation platform. Then, the background filters out the previous login time corresponding to the current login time from the historical login time, and compares the current login time with the previous login time.

[0083] Furthermore, if the current login time is detected to be before the last login time, the stored time information is considered to have been tampered with, and the account information is not allowed to access the software. If the current login time is detected to be after the last login time, the current login time is stored, and then the cumulative time between the current login time and the first login time is determined. If the cumulative time exceeds the authorized usage time represented by the time authorization information in the role information corresponding to the account information, the account information is not allowed to log in to the power equipment integrated simulation platform. If it does not exceed, the account information is allowed to log in to the power equipment integrated simulation platform.

[0084] In this embodiment, by comparing the current login time of the account information with the last login time, it is possible to detect whether the running time of the account information has been tampered with, and then decide whether to agree to the login behavior of the account information, thereby ensuring that the time information of the power equipment integrated simulation platform is reliable and valid, and improving the security of the time data of the power equipment integrated simulation platform. It also determines whether the account information currently still has login authority by judging whether the cumulative time exceeds the authorized usage time represented by the time authorization information, thereby further improving the reliability of authority management.

[0085] In one embodiment, the power equipment integrated simulation platform is managed according to the module authorization code in the role information, including: obtaining the coding information of the triggered functional module in response to the request operation of the account information on the triggered functional module in the power equipment integrated simulation platform; judging whether to jump to the triggered functional module according to the coding information and the module authorization code, so that the account information can manage the triggered functional module.

[0086] Among them, each sub-function module of the function module has an independent authorization code.

[0087] Specifically, after logging into the power equipment integrated simulation platform with account information, you can choose to trigger any functional module in the power equipment integrated simulation platform. The backend will then obtain the coding information of the triggered functional module, access the data storage area of ​​the role information corresponding to the account information, and then traverse the module authorization codes in the data storage area. If the coding information of the triggered functional module is found in the module authorization code in the data storage area, the account information is allowed to use and manage the triggered functional module. Otherwise, the account information is not allowed to use and manage the triggered functional module.

[0088] Furthermore, if the account information is allowed to use and manage the triggered functional module, it can also automatically traverse the registry to search for software modules under the simulation software scheduling and digital twin support software, point to the registry main key HKEY_LOCAL_MECHINE through a pointer, and search for the required application registry path subkey according to the corresponding software registry name, obtain the key value information of the registry, thereby determining the path where the software is located, thereby associating the corresponding software, and directly opening the application corresponding to the triggered functional module in the power equipment integrated simulation platform.

[0089] In this embodiment, by comparing the coding information and the module authorization code, it is possible to determine whether the account information has the authority to use and manage the triggered functional modules, thereby actively providing the corresponding application program, thereby improving the program operation efficiency of the power equipment integrated simulation platform while also improving the operation security of the power equipment integrated simulation platform.

[0090] In one embodiment, Figure 3 As shown, another power equipment integrated simulation platform architecture and authority management method is provided, including the following steps:

[0091] Step S301: Determine the first role field according to the module authorization code.

[0092] Step S302: Determine the second role field according to the time authorization information.

[0093] Step S303: Determine the third role field based on the account generation information; the account generation information is used to indicate whether the user has the authority to generate a subordinate account.

[0094] Step S304: determining the fourth role field based on the read authorization information; the read authorization information is used to control whether the subordinate account has the authority to read and write data on the power equipment integrated simulation platform.

[0095] Step S305 : constructing role information of the power equipment integrated simulation platform according to the first role field, the second role field, the third role field, and the fourth role field.

[0096] Step S306: Acquire account information created for the power equipment integrated simulation platform.

[0097] Step S307 : establishing an association relationship between the account information and the role information so that the account information manages the power equipment integrated simulation platform based on the authority information corresponding to the role information.

[0098] The above-mentioned power equipment integrated simulation platform architecture and permission management method can achieve the following beneficial effects: by setting roles and user accounts separately, the redundant work of repeatedly creating accounts with the same permissions is avoided, and the account usage time limit can be controlled through time authorization information, which greatly improves the permission management efficiency of the power equipment integrated simulation platform and also improves the operational security of the power equipment integrated simulation platform.

[0099] In order to more clearly illustrate the power equipment integrated simulation platform architecture and permission management method provided by the embodiment of the present disclosure, the above-mentioned power equipment integrated simulation platform architecture and permission management method are specifically described below with a specific embodiment. Another power equipment integrated simulation platform architecture and permission management method is provided. In this embodiment: (1) by setting and identifying timestamps, the account usage time limit can be effectively controlled to avoid tampering with the computer system time; (2) the role and user accounts are set separately, which also avoids the tediousness and inconvenience caused by repeatedly creating accounts with the same permissions (the number of software and knowledge information is large, and it takes a long time and is inefficient to check each account separately, which is not conducive to the top-level management of the enterprise); (3) the coding authorization management method is conducive to the classification management of knowledge information and key information in the power equipment integrated simulation platform, thereby improving the program operation efficiency of the power equipment integrated simulation platform.

[0100] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0101] Based on the same inventive concept, the embodiments of the present application also provide an electric power equipment integrated simulation platform architecture and permission management device for implementing the above-mentioned electric power equipment integrated simulation platform architecture and permission management method. The implementation solution provided by the device is similar to the implementation solution described in the above-mentioned method. Therefore, the specific limitations in one or more embodiments of the electric power equipment integrated simulation platform architecture and permission management device provided below can be found in the above-mentioned limitations on the electric power equipment integrated simulation platform architecture and permission management method, and will not be repeated here.

[0102] In one embodiment, Figure 4 As shown, a power equipment integrated simulation platform architecture and authority management device 400 is provided, including: a role creation module 401, an account creation module 402 and an authorization management module 403, wherein:

[0103] The role creation module 401 is used to obtain the role information of the power equipment integrated simulation platform based on the module authorization code and time authorization information of the functional module in the power equipment integrated simulation platform; the module authorization code is used to indicate the target functional module for which the role information has management authority; the time authorization information is used to indicate the duration of use of the management authority over the target functional module; the role information is used to represent the authority information of the power equipment integrated simulation platform.

[0104] The account creation module 402 is used to obtain account information created for the power equipment integrated simulation platform.

[0105] The authorization management module 403 is used to establish an association relationship between the account information and the role information so that the account information can manage the power equipment integrated simulation platform based on the authority information corresponding to the role information.

[0106] In one embodiment, each functional module includes multiple sub-functional modules. The power equipment integrated simulation platform architecture and authority management device 400 further includes a code acquisition module for determining a target sub-functional module to be granted management authority from the multiple sub-functional modules; obtaining a module authorization code based on the target functional module identifier corresponding to the target sub-functional module, the target sub-functional module identifier, and a sequence code; the sequence code is used to represent the sequence information of the target sub-functional module performing the management authority granting operation.

[0107] In one embodiment, the role creation module 401 is further configured to determine the first role field according to the module authorization code;

[0108] The second role field is determined based on the time authorization information; the third role field is determined based on the account generation information; the account generation information is used to indicate whether the user has the authority to generate a subordinate account; the fourth role field is determined based on the read authorization information; the read authorization information is used to control whether the subordinate account has the authority to read and write data of the power equipment integrated simulation platform; the role information of the power equipment integrated simulation platform is constructed based on the first role field, the second role field, the third role field and the fourth role field.

[0109] In one embodiment, the power equipment integrated simulation platform architecture and authority management device 400 also includes a subordinate account generation module, which is used to respond to an account generation request triggered by account information and obtain account generation information corresponding to the account information; if the account generation information indicates that the authority to generate a subordinate account is possessed, then the target subordinate account information corresponding to the account information is generated according to the role information corresponding to the account information.

[0110] In one embodiment, the authorization management module 403 is also used to respond to a login request triggered by account information for the power equipment integrated simulation platform, obtain the current login time corresponding to the login request; determine whether to agree to the login request based on the current login time and the historical login time and first login time of the account information; if the account information successfully logs in to the power equipment integrated simulation platform, obtain the role information corresponding to the account information; and manage the power equipment integrated simulation platform based on the module authorization code in the role information.

[0111] In one embodiment, the power equipment integrated simulation platform architecture and authority management device 400 also includes a function jump module, which is used to respond to the request operation of the account information on the triggered function module in the power equipment integrated simulation platform, and obtain the coding information of the triggered function module; based on the coding information and the module authorization code, it is determined whether to jump to the triggered function module so that the account information can manage the triggered function module.

[0112] Each module in the aforementioned integrated power equipment simulation platform architecture and rights management device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in hardware form, or can be stored in a computer device memory in software form, so that the processor can call and execute the corresponding operations of each module.

[0113] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, abbreviated as I / O) and a communication interface. The processor, memory and input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The database of the computer device is used to store data such as module authorization codes and time authorization information. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, an integrated simulation platform architecture and a permission management method for power equipment are realized.

[0114] Those skilled in the art will understand that Figure 5The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0115] In one embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.

[0116] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0117] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0118] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the above-mentioned embodiments. In particular, any reference to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), data processing logic devices based on quantum computing, and the like.

[0119] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0120] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A method for managing the authority of an integrated simulation platform architecture for power equipment, characterized in that: The method comprises: The identifier of the target functional module corresponding to the target sub-functional module to which the power equipment integrated simulation platform grants management authority is set as the first code, the identifier of the target sub-functional module is set as the second code, and the sequence code is set as the third and fourth codes to obtain a module authorization code; the sequence code is used to represent the coding order of the module authorization code to reduce the search time of the module authorization code; According to the module authorization code and time authorization information, the role information of the electric power equipment integrated simulation platform is obtained; the module authorization code is used to indicate the target functional module for which the role information has management authority; the time authorization information is used to indicate the usage duration of the management authority for the target functional module; the role information is used to represent the authority information for the electric power equipment integrated simulation platform; Obtaining account information created for the power equipment integrated simulation platform; Establishing an association relationship between the account information and the role information so that the account information manages the power equipment integrated simulation platform based on the authority information corresponding to the role information; The managing the power equipment integrated simulation platform based on the authority information corresponding to the role information includes: In response to a request operation of the account information on a triggered function module in the electric power equipment integrated simulation platform, obtaining coding information of the triggered function module; If the code information is found in the module authorization code in the data storage area of ​​the role information corresponding to the account information, the account information is allowed to use and manage the function module; According to the registry name, searching for the path subkey of the registry of the application corresponding to the functional module, and obtaining the key value information of the registry of the application; According to the key value information, the path where the application is located is obtained; through the path, the application is opened in the power equipment integrated simulation platform.

2. The method according to claim 1, characterized in that Each of the functional modules includes a plurality of sub-functional modules; Before obtaining the role information of the power equipment integrated simulation platform according to the module authorization code and the time authorization information, the method further includes: Determining a target sub-functional module to which management authority is granted from the plurality of sub-functional modules; The module authorization code is obtained according to the identifier of the target functional module corresponding to the target sub-functional module, the identifier of the target sub-functional module and the sequence code; the sequence code is used to represent the sequence information of the target sub-functional module performing the management authority granting operation.

3. The method according to claim 2, characterized in that The obtaining of the role information of the power equipment integrated simulation platform according to the module authorization code and the time authorization information includes: Determine a first role field according to the module authorization code; Determine a second role field according to the time authorization information; Determine the third role field based on the account generation information; the account generation information is used to indicate whether the user has the authority to generate a subordinate account; Determining a fourth role field based on read authorization information; the read authorization information is used to control whether the subordinate account has permission to read and write data on the power equipment integrated simulation platform; The role information of the power equipment integrated simulation platform is constructed according to the first role field, the second role field, the third role field and the fourth role field.

4. The method according to claim 1, wherein The method further comprises: In response to an account generation request triggered by the account information, obtaining account generation information corresponding to the account information; If the account generation information indicates that the user has the authority to generate a subordinate account, target subordinate account information corresponding to the account information is generated according to the role information corresponding to the account information.

5. The method according to claim 1, wherein The account information manages the power equipment integrated simulation platform based on the authority information corresponding to the role information, including: In response to a login request triggered by the account information for the power equipment integrated simulation platform, obtaining a current login time corresponding to the login request; Determine whether to approve the login request based on the current login time and the historical login time and first login time of the account information; If the account information successfully logs into the power equipment integrated simulation platform, obtaining the role information corresponding to the account information; The power equipment integrated simulation platform is managed according to the module authorization code in the role information.

6. The method according to claim 5, characterized in that Managing the power equipment integrated simulation platform according to the module authorization code in the role information includes: In response to a request operation of the account information on a triggered function module in the electric power equipment integrated simulation platform, obtaining coding information of the triggered function module; According to the coding information and the module authorization code, it is determined whether to jump to the triggered function module so that the account information can manage the triggered function module.

7. A rights management device for an integrated simulation platform architecture of electric power equipment, characterized in that: The device comprises: A code acquisition module is configured to obtain a module authorization code by setting the identifier of the target functional module corresponding to the target subfunctional module to which the power equipment integrated simulation platform grants management authority as the first code, setting the identifier of the target subfunctional module as the second code, and setting the sequence code as the third and fourth codes; the sequence code is used to represent the coding order of the module authorization code to reduce the search time for the module authorization code; A role creation module is configured to obtain role information of the power equipment integrated simulation platform based on the module authorization code and time authorization information of the functional module in the power equipment integrated simulation platform; the module authorization code is used to indicate the target functional module for which the role information has management authority; the time authorization information is used to indicate the usage duration of the management authority for the target functional module; and the role information is used to represent the authority information for the power equipment integrated simulation platform; An account creation module, configured to obtain account information created for the power equipment integrated simulation platform; an authorization management module, configured to establish an association relationship between the account information and the role information, so that the account information manages the power equipment integrated simulation platform based on the authority information corresponding to the role information; The authorization management module is also used to respond to the request operation of the account information on the functional module triggered in the power equipment integrated simulation platform, and obtain the coding information of the triggered functional module; if the coding information is queried in the module authorization code in the data storage area of ​​the role information corresponding to the account information, the account information is allowed to use and manage the functional module; according to the registry name, the path subkey of the registry of the application corresponding to the functional module is searched to obtain the key value information of the registry of the application; according to the key value information, the path of the application is obtained; and through the path, the application is opened in the power equipment integrated simulation platform.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Code setting method and device

    CN107707552A

  • Method and system for realizing menu permission of background management system

    CN112346624A

  • Authority management method and device, equipment and storage medium

    CN113420329A

  • User permission management method and device, equipment and medium

    CN114385999A

  • Authority control method and device, storage medium and program product

    CN116938493A