Power equipment integrated simulation platform architecture, authority management method and device and computer equipment
The integrated simulation platform architecture addresses inefficiencies in traditional permission management by using module authorization codes and time-based access to streamline account-role associations, enhancing both efficiency and security in managing user permissions within the power equipment simulation platform.
Patent Information
- Application Number
- CN202510164936.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-14
- Publication Date
- 2025-03-14
- Estimated Expiration
- 2045-02-14
AI Technical Summary
In the context of power equipment simulation, traditional methods for managing user permissions are inefficient, particularly in large enterprises with multiple departments and users, as they require extensive manual allocation of permissions for each account, leading to low management efficiency and potential security risks.
The proposed solution involves creating an integrated simulation platform architecture that uses module authorization codes and time authorization information to derive role information, allowing for the association of account information with role-based permissions, thereby streamlining permission management by avoiding redundant account creation and enabling time-limited access.
This approach significantly enhances the efficiency and security of permission management by decoupling roles and user accounts, reducing redundant work and improving the overall security and efficiency of the power equipment simulation platform.
Smart Images

Figure CN119622681A_ABST
Abstract
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 a variety of software. To facilitate the use, scheduling and management of software and power-specific knowledge bases, standard libraries, etc., the power equipment integrated simulation platform can be used to integrate various functional modules. However, enterprises often have multiple departments and multiple employees, and different departments have different needs for software data. In order to ensure the smooth implementation of cross-departmental collaboration, the concurrent number of multiple software copyrights and permissions, and the security of sensitive information, the scheduling and use of multiple software and knowledge information requires management by users of different levels.
[0003] In traditional technology, administrators often assign permissions to each account to implement permission control for different accounts. However, if permissions need to be set for each account, it will take a lot of time, especially when there are many employee accounts in the company, the account management efficiency will be even lower. Summary of the invention
[0004] Based on this, it is necessary to provide an integrated simulation platform architecture for electric power equipment and a 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 permission management method for power equipment. The method comprises:
[0006] According to the module authorization code and time authorization information of the functional module in the electric power equipment integrated simulation platform, 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 of the target functional module; the role information is used to represent the authority information of the electric power equipment integrated simulation platform;
[0007] Obtaining account information created for the electric 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 of the embodiments, each of the functional modules includes a plurality of sub-functional modules;
[0010] Before obtaining the role information of the electric power equipment integrated simulation platform according to the module authorization code and time authorization information of the functional module in the electric power equipment integrated simulation platform, the method further includes:
[0011] Determining, from the plurality of sub-functional modules, a target sub-functional module to which management authority is granted;
[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, 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, including:
[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 according to the account generation information; the account generation information is used to indicate whether the user has the authority to generate a subordinate account;
[0017] Determine the fourth role field according to 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;
[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 electric 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 electric 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 the request operation of the account information on the triggered function module in the electric power equipment integrated simulation platform, obtaining the 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, used to obtain the role information of the electric power equipment integrated simulation platform according to the module authorization code and time authorization information of the functional module in the electric 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 authority information for the electric power equipment integrated simulation platform;
[0032] An account creation module, used 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, the memory stores a computer program, and the processor implements the following steps when executing the computer program:
[0035] According to the module authorization code and time authorization information of the functional module in the electric power equipment integrated simulation platform, 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 of the target functional module; the role information is used to represent the authority information of the electric power equipment integrated simulation platform;
[0036] Obtaining account information created for the electric 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. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
[0039] According to the module authorization code and time authorization information of the functional module in the electric power equipment integrated simulation platform, 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 of the target functional module; the role information is used to represent the authority information of the electric power equipment integrated simulation platform;
[0040] Obtaining account information created for the electric 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, and when the computer program is executed by a processor, the following steps are implemented:
[0043] According to the module authorization code and time authorization information of the functional module in the electric power equipment integrated simulation platform, 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 of the target functional module; the role information is used to represent the authority information of the electric power equipment integrated simulation platform;
[0044] Obtaining account information created for the electric 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 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 use time of the management authority of the target functional module; the role information is used to characterize the permission information of the power equipment integrated simulation platform; obtain the account information created for the power equipment integrated simulation platform; establish the 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 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 authority is avoided, and the time limit of the account can be controlled by the time authorization information, which greatly improves the permission management efficiency of the power equipment integrated simulation platform and also improves the operation security of the power equipment integrated simulation platform. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is an application environment diagram of an integrated simulation platform architecture and a permission management method for electric 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 It is a structural block diagram of an integrated simulation platform architecture and a rights management device for electric power equipment in one embodiment;
[0051] Figure 5 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present 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 technology, administrators are required to assign corresponding permissions to each account. For example, one thousand accounts may need to be assigned permissions a thousand times, and two thousand accounts may need to be assigned permissions two thousand times. The more accounts are required, the more times permissions need to be assigned, and the more computer resources and processing time are required, resulting in low efficiency in the architecture and permission management of the power equipment integrated simulation platform. This problem has not been solved. This embodiment provides a safe and fast power equipment integrated simulation platform architecture and permission management method.
[0055] In one embodiment, Figure 1 As shown, an architecture of an integrated simulation platform for electric power equipment and a method for authority management are provided. This embodiment takes the method applied to a computer device as an example for illustration. It is understandable that the computer device may 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. Among them, the computer device is also equipped with an integrated simulation platform for electric power equipment. Among them, the terminal 101 may 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 may be implemented with an independent server or a server cluster consisting of multiple servers. In this embodiment, the method includes the following steps:
[0056] Step S101, obtaining the role information of the electric power equipment integrated simulation platform according to the module authorization code and time authorization information of the functional module in the electric 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 characterize the authority information for the electric 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 determining the target functional module in the power equipment integrated simulation platform that needs to be granted management authority, and the time authorization information can be obtained by determining the usage duration of its management authority. Then, a role is created, and the module authorization code and time authorization information are stored in the data storage area corresponding to the role, and finally the corresponding role information is obtained. Later, the data storage area corresponding to the role information can be browsed to understand the authority information that this role has in the power equipment integrated simulation platform.
[0059] Step S102, obtaining account information created for the electric power equipment integrated simulation platform.
[0060] Specifically, users can create account information for the power equipment integrated simulation platform on their own, or managers or senior accounts can create account information and then assign it to users. Users can set the user name 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 electric 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 electric 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 electric power equipment integrated simulation platform is managed by building an association between the account information and the role information.
[0063] In the above-mentioned electric power equipment integrated simulation platform architecture and permission management method, the role information of the electric power equipment integrated simulation platform is obtained according to the module authorization code and time authorization information of the functional module in the electric 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 to the target functional module; the role information is used to characterize the permission information to the electric power equipment integrated simulation platform; the account information created for the electric power equipment integrated simulation platform is obtained; and the association relationship between the account information and the role information is established so that the account information manages the electric power equipment integrated simulation platform based on the permission information corresponding to the role information. By adopting this method, the redundant work of repeatedly creating accounts with the same authority is avoided by setting the role and user account separately, and the time limit of the account can be controlled by the time authorization information, which greatly improves the permission management efficiency of the electric power equipment integrated simulation platform and also improves the operation security of the electric power equipment integrated simulation platform.
[0064] In one embodiment, each functional module includes a plurality of 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, it also includes:
[0065] Step S201: determining a target sub-functional module to be granted management authority from among 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 special simulation computing software developed for multi-physics field computing needs of high-voltage power equipment), COMSOL (a multi-physics field simulation software), ANSYS (a large-scale general finite element analysis software), etc.; digital twin support software includes order reduction software, fast visualization software, etc.; simulation database includes knowledge library (theory, algorithm data and help documents), geometric model library, material parameter library, equipment condition library, etc.
[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 corresponding to the target sub-functional module, the target sub-functional module identifier 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.
[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 the module authorization code can improve the readability of the module authorization code, help the background to more clearly identify and process the module authorization codes of different roles, and make each module authorization code unique. In addition, it can also provide a clear coding sequence between module authorization codes, which can effectively reduce the code search time and make the power equipment integrated simulation platform more efficient in 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 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 electric power equipment integrated simulation platform according to the module authorization code and time authorization information of the functional module in the electric power equipment integrated simulation platform, which specifically includes the following contents: determining the first role field according to the module authorization code; determining the second role field according to the time authorization information; determining the third role field according to the account generation information; the account generation information is used to characterize whether the authority to generate a subordinate account is possessed; determining the fourth role field according to 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 electric power equipment integrated simulation platform; constructing the role information of the electric power equipment integrated simulation platform according to 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 divided for the created role information, and four role fields can be set in the data storage area. Among them, 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 is allowed to generate the next-level account; the fourth role field records the read authorization information, which is used to control whether the subordinate account has the authority to read and write the data of the power equipment integrated simulation platform (such as the knowledge information in the knowledge library); and 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 repeated, which greatly improves the efficiency of permission allocation and management.
[0077] In one embodiment, the above-mentioned power equipment integrated simulation platform architecture and permission management method also include: 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 according to 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, and 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 subordinate account, then according to the role information corresponding to the account information, the target subordinate 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, but 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 account it created.
[0079] In this embodiment, if the account information has the authority to generate subordinate accounts, it is possible to determine what level of subordinate accounts the account information can generate based on the account generation information in the role information corresponding to the account information, 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 a login request triggered by the account information for the power equipment integrated simulation platform, obtaining the current login time corresponding to the login request; judging 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, obtaining the role information corresponding to the account information; and managing the power equipment integrated simulation platform based on the permission information corresponding to the role information.
[0081] The historical login time refers to the time information (such as timestamp) of the account information logging into the power equipment integrated simulation platform each time. For example, the historical login time includes the time when the account information first logs into the power equipment integrated simulation platform, that is, the first login time.
[0082] Specifically, when the account information logs in to the electric 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 in to the electric 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 in to the electric 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 in to the electric power equipment integrated simulation platform. Then, the background filters out the last login time corresponding to the current login time from the historical login time, and compares the current login time with the last login time.
[0083] Furthermore, if it is detected that the current login time is before the last login time, it is considered that the stored time information has been tampered with, and the account information is not allowed to enter the software. If it is detected that the current login time is after the last login time, the current login time will be stored, and then the cumulative time between the current login time and the first login time will be 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, improving the security of the time data of the power equipment integrated simulation platform, and determining whether the account information currently still has login authority by judging whether the accumulated 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: in response to the request operation of the account information on the functional module triggered in the power equipment integrated simulation platform, the coding information of the triggered functional module is obtained; based on the coding information and the module authorization code, it is determined whether to jump to the triggered functional module 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 the account information logs in to the power equipment integrated simulation platform, you can choose to trigger any function module in the power equipment integrated simulation platform, and then the background will obtain the coding information of the triggered function module, and at the same time access the data storage area of the role information corresponding to the account information, and then traverse the module authorization code in the data storage area. If the coding information of the triggered function module is queried in the module authorization code in the data storage area, the account information is allowed to use and manage the triggered function module, otherwise the account information is not allowed to use and manage the triggered function 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 realizing the direct opening of 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 running efficiency of the power equipment integrated simulation platform while also improving the operating security of the power equipment integrated simulation platform.
[0090] In one embodiment, Figure 3 As shown, another power equipment integrated simulation platform architecture and permission management method is provided, including the following steps:
[0091] Step S301, determining 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, determining the third role field according to 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 according to 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.
[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, obtaining 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 independently, 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 explain 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 the timestamp, 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, and the tediousness and inconvenience caused by repeatedly creating accounts with the same permissions are avoided (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 coded authorization management method is conducive to the classified management of knowledge information and key information in the power equipment integrated simulation platform, and improves 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 above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed 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 part of the steps or stages in other steps.
[0101] Based on the same inventive concept, the embodiment of the present application also provides an electric power equipment integrated simulation platform architecture and permission management device for implementing the electric power equipment integrated simulation platform architecture and permission management method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more embodiments of the electric power equipment integrated simulation platform architecture and permission management device provided below can refer to the limitations of the electric power equipment integrated simulation platform architecture and permission management method above, and will not be repeated here.
[0102] In one embodiment, Figure 4 As shown, a power equipment integrated simulation platform architecture and permission 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 electric power equipment integrated simulation platform according to the module authorization code and time authorization information of the functional module in the electric 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 for the electric 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 also includes a code acquisition module, which is used to determine the target sub-functional module to be granted management authority from multiple sub-functional modules; obtain the module authorization code 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.
[0107] In one embodiment, the role creation module 401 is further used to determine the first role field according to the module authorization code;
[0108] Determine the second role field based on the time authorization information; determine 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; determine 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; construct 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.
[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 permission 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 above-mentioned power equipment integrated simulation platform architecture and authority management device can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[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, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, 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 the computer program in the non-volatile storage medium. The database of the computer device is used to store module authorization codes, time authorization information and other data. 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 implemented.
[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 those shown in the figure, or combine certain components, or have a different arrangement of components.
[0115] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, 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 can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and 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 embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium 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), magnetoresistive 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0119] The technical features of the above embodiments may 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 only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. An integrated simulation platform architecture and authority management method for power equipment, characterized in that: The method comprises: According to the module authorization code and time authorization information of the functional module in the electric power equipment integrated simulation platform, 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 of the target functional module; the role information is used to represent the authority information of the electric power equipment integrated simulation platform; Obtaining account information created for the electric power equipment integrated simulation platform; 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.
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 electric power equipment integrated simulation platform according to the module authorization code and time authorization information of the functional module in the electric power equipment integrated simulation platform, the method further includes: Determining, from the plurality of sub-functional modules, a target sub-functional module to which management authority is granted; The module authorization code is obtained according to 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; the sequence code is used to represent the sequence information of the target sub-function 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 electric power equipment integrated simulation platform according to the module authorization code and time authorization information of the functional module in the electric power equipment integrated simulation platform 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 according to the account generation information; the account generation information is used to indicate whether the user has the authority to generate a subordinate account; Determine the fourth role field according to 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 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, characterized in that: 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, characterized in that 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 electric 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 electric 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 The managing the electric power equipment integrated simulation platform according to the module authorization code in the role information includes: In response to the request operation of the account information on the triggered function module in the electric power equipment integrated simulation platform, obtaining the 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. An integrated simulation platform architecture and authority management device for power equipment, characterized in that: The device comprises: A role creation module, used to obtain the role information of the electric power equipment integrated simulation platform according to the module authorization code and time authorization information of the functional module in the electric 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 authority information for the electric power equipment integrated simulation platform; An account creation module, used to obtain account information created for the power equipment integrated simulation platform; 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.
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
Cited By
Metering equipment management method, computer equipment, storage medium and program product
CN120744984A