Data processing method, device, equipment, and storage medium for power equipment simulation
By assuming the simulation data with the database module in power equipment simulation and managing it according to the device and account permissions, the problems of data access security and flexibility in the prior art are solved, and efficient and secure data management and access are achieved.
Patent Information
- Application Number
- CN202510453392.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-11
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2045-04-11
AI Technical Summary
The prior art is difficult to effectively ensure the access security and flexibility of simulation data in power equipment simulation, especially in terms of high confidentiality and diversity of data.
By correlating and storing the association relationship between the power equipment simulation data and the data module in the simulation database, and obtaining activation permission information based on the device identification and access configuration information, displaying the login interface, obtaining account information, and determining the module authorization scope, thereby displaying the operation interface to display the authorized data module and associated data information.
It realizes unified storage and control of simulation data of power equipment, improves data acquisition efficiency, and realizes data classification and permission settings through modular management, enhancing data security and flexibility.
Smart Images

Figure CN119961985B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data processing, and particularly to a method, device, computer device, computer-readable storage medium, and computer program product for processing data for power equipment simulation. Background Art
[0002] With the growth of the complexity and scale of power systems, the types of simulation data involved in power simulation processes have also increased day by day. In the simulation of power equipment, the access and storage of various types of simulation data such as geometry, materials, models, and standards are usually involved, and some of the simulation data also has a high level of confidentiality. In related technologies, various types of simulation data are usually stored and controlled separately. However, this method is difficult to ensure the security and flexibility of accessing and storing various types of simulation data. Summary of the Invention
[0003] Based on this, it is necessary to provide a method, device, computer device, computer-readable storage medium, and computer program product for processing data for power equipment simulation in view of the above technical problems.
[0004] In a first aspect, the present application provides a method for processing data for power equipment simulation, including:
[0005] According to the association relationship between power equipment simulation data and data modules in a simulation database, the power equipment simulation data is associated and stored in the simulation database with the module identification codes of the associated data modules;
[0006] In response to an access operation on the simulation database, activation permission information of the simulation database is obtained according to a device identifier and access configuration information of the simulation database;
[0007] If the activation permission information indicates that the simulation database can be activated and used, a login interface of the simulation database is displayed;
[0008] In response to an account login operation based on the login interface, account information of the access account is obtained;
[0009] According to the account information and account permission information stored in the simulation database, the module authorization scope of the access account is determined, module information of each authorized data module within the module authorization scope is obtained from the simulation database, and data information of power equipment simulation data associated with the module identification codes of each authorized data module is obtained;
[0010] A operation interface of the simulation database is displayed; the operation interface is used to display the module information of each authorized data module and the data information of the associated power equipment simulation data.
[0011] In one embodiment, the data in the simulation database is the data that has been symmetrically encrypted using a secret key; the secret key is obtained based on the device identifier; after presenting the login interface of the simulation database if the activation permission information indicates that the simulation database can be activated for use, the steps include: obtaining the secret key according to the device identifier; using the secret key to decrypt the data in the simulation database to obtain the decrypted data.
[0012] In one embodiment, the operation interface is provided with a module tree area, a content tree area, and a content summary area; the module information includes a module identifier, a module level, and module subordination relationship information; the data information includes a data identifier and data summary information; presenting the operation interface of the simulation database includes: determining the primary modules in each of the authorized data modules and determining the secondary modules subordinate to each of the primary modules according to the module level and the module subordination relationship information of each of the authorized data modules; presenting a list of module identifiers in a tree structure in the module tree area according to the module identifiers of each of the primary modules and each of the secondary modules; wherein each of the secondary modules is presented as a child node of the subordinate primary module; in response to a selection operation on the module identifier of the secondary module in the list of module identifiers, presenting a list of data identifiers of each of the power equipment simulation data associated with the secondary module in the content tree area; and in response to a selection operation on the data identifier in the list of data identifiers in the content tree area, presenting the data summary information of the power equipment simulation data corresponding to the data identifier in the content summary area.
[0013] In one embodiment, obtaining the activation permission information of the simulation database according to the device identifier and the access configuration information of the simulation database in response to an access operation on the simulation database includes: in response to an access operation on the simulation database, reading the access configuration information of the simulation database to obtain the device identifier; if the access configuration information exists and includes an activation code, verifying whether the activation code matches the device identifier; if they match, determining whether the usage duration of the simulation database exceeds the authorized duration according to the current time, the authorized duration included in the access configuration information, and the first activation time; if the usage duration does not exceed the authorized duration, obtaining the activation permission information indicating that the simulation database can be activated for use.
[0014] In one embodiment, after reading the access configuration information of the simulation database and obtaining the device identifier in response to an access operation on the simulation database, the method further includes: if the access configuration information does not exist, or the access configuration information does not contain the activation code, presenting a first activation interface; in response to an application information configuration operation based on the first activation interface, obtaining the account name, account password, and organization name of the activated account; obtaining application information according to the account name, the account password, the organization name, and the device identifier; generating an application code according to the application information, and sending the application code to the authorizing party of the simulation database; receiving an authorization code from the authorizing party; the authorization code is obtained by the authorizing party after authorizing the activated account according to the application code; in the case where it is verified that the authorization code matches the device identifier, obtaining activation permission information indicating that the simulation database can be activated and used; writing the authorization code as the activation code into the access configuration information, and writing the current time as the first activation time into the access configuration information.
[0015] In one embodiment, the determining the module authorization scope of the access account according to the account information and the account permission information stored in the simulation database includes: querying the account permission information according to the account information to obtain the account level of the access account; if the account level is a first-level account, obtaining the module authorization scope of the access account according to the initial module authorization scope of the simulation database; wherein, the account level corresponding to the activation account for initially activating the simulation database is the first-level account; if the account level is not the first-level account, determining the associated permission role of the access account according to the associated role information included in the account permission information; obtaining the module authorization scope of the access account according to the role authorization scope of the associated permission role; the role authorization scope is not greater than the initial module authorization scope.
[0016] In one embodiment, the method further includes: obtaining first permission setting information provided by a first access account; the account level of the first access account being a first-level account; if the first permission setting information includes first role setting information, setting a first permission role according to the first role setting information, and setting a first role authorization scope for each of the first permission roles; the first role authorization scope being not greater than the initial module authorization scope; if the first permission setting information includes first account setting information, setting a first account according to the first account setting information, and setting a first account level and an associated first permission role for each of the first accounts; the first account level including a second-level account and a general account; obtaining second permission setting information provided by a second access account; the account level of the second access account being a second-level account; if the second permission setting information includes second role setting information, setting a second permission role according to the second role setting information, and setting a second role authorization scope for each of the second permission roles; the second role authorization scope being not greater than the first role authorization scope of the first permission role associated with the second access account; if the second permission setting information includes second account setting information, setting a second account according to the second account setting information, and setting a second account level and an associated second permission role for each of the second accounts; the second account level including a general account.
[0017] In a second aspect, the present application further provides a processing device for data used in power equipment simulation, including:
[0018] A storage module, configured to associate and store the power equipment simulation data with the module identification code of the associated data module in the simulation database according to the association relationship between the power equipment simulation data and the data module in the simulation database;
[0019] An activation module, configured to obtain activation permission information of the simulation database according to the device identification and the access configuration information of the simulation database in response to an access operation on the simulation database;
[0020] A first display module, configured to display a login interface of the simulation database if the activation permission information indicates that the simulation database can be activated and used;
[0021] A first acquisition module, configured to obtain account information of an access account in response to an account login operation based on the login interface;
[0022] A second acquisition module, configured to determine the module authorization scope of the access account according to the account information and the account privilege information stored in the simulation database, and acquire the module information of each authorized data module within the module authorization scope from the simulation database, as well as the data information of the power equipment simulation data associated with the module identification codes of the respective authorized data modules;
[0023] A second display module, configured to display an operation interface of the simulation database; the operation interface is used to display the module information of each of the authorized data modules and the data information of the associated power equipment simulation data.
[0024] In a third aspect, the present application further provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0025] According to the association relationship between the power equipment simulation data and the data modules in the simulation database, the power equipment simulation data is associated and stored in the simulation database with the module identification codes of the associated data modules;
[0026] In response to an access operation on the simulation database, according to the device identifier and the access configuration information of the simulation database, obtain the activation privilege information of the simulation database;
[0027] If the activation privilege information indicates that the simulation database can be activated and used, display the login interface of the simulation database;
[0028] In response to an account login operation based on the login interface, obtain the account information of the access account;
[0029] According to the account information and the account privilege information stored in the simulation database, determine the module authorization scope of the access account, and obtain the module information of each authorized data module within the module authorization scope from the simulation database, as well as the data information of the power equipment simulation data associated with the module identification codes of the respective authorized data modules;
[0030] Display the operation interface of the simulation database; the operation interface is used to display the module information of each of the authorized data modules and the data information of the associated power equipment simulation data.
[0031] In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0032] According to the association relationship between the power equipment simulation data and the data modules in the simulation database, the power equipment simulation data is associated and stored in the simulation database with the module identification codes of the associated data modules;
[0033] In response to an access operation on the simulation database, according to the device identifier and the access configuration information of the simulation database, obtain the activation permission information of the simulation database;
[0034] If the activation permission information indicates that the simulation database can be activated and used, display the login interface of the simulation database;
[0035] In response to an account login operation based on the login interface, obtain the account information of the access account;
[0036] According to the account information and the account permission information stored in the simulation database, determine the module authorization scope of the access account, and obtain the module information of each authorized data module within the module authorization scope from the simulation database, as well as the data information of the power equipment simulation data associated with the module identification codes of each authorized data module;
[0037] Display the operation interface of the simulation database; the operation interface is used to display the module information of each authorized data module and the data information of the associated power equipment simulation data.
[0038] In a fifth aspect, the present application further provides a computer program product, including a computer program, which when executed by a processor implements the following steps:
[0039] According to the association relationship between the power equipment simulation data and the data modules in the simulation database, the power equipment simulation data is associated and stored in the simulation database with the module identification codes of the associated data modules;
[0040] In response to an access operation on the simulation database, according to the device identifier and the access configuration information of the simulation database, obtain the activation permission information of the simulation database;
[0041] If the activation permission information indicates that the simulation database can be activated and used, display the login interface of the simulation database;
[0042] In response to an account login operation based on the login interface, obtain the account information of the access account;
[0043] Determine the module authorization scope of the access account according to the account information and the account privilege information stored in the simulation database, and obtain the module information of each authorized data module within the module authorization scope from the simulation database, as well as the data information of the power equipment simulation data associated with the module identification codes of each authorized data module;
[0044] Display the operation interface of the simulation database; the operation interface is used to display the module information of each authorized data module and the data information of the associated power equipment simulation data.
[0045] For the above data processing method, device, computer device, computer-readable storage medium and computer program product for power equipment simulation, according to the association relationship between the power equipment simulation data and the data module in the simulation database, the power equipment simulation data is associated and stored in the simulation database with the module identification code of the associated data module. In response to an access operation on the simulation database, the activation privilege information of the simulation database is obtained according to the device identifier and the access configuration information of the simulation database. If the activation privilege information indicates that the simulation database can be activated and used, the login interface of the simulation database is displayed. Then, in response to an account login operation based on the login interface, the account information of the access account is obtained. Then, according to the account information and the account privilege information stored in the simulation database, the module authorization scope of the access account is determined, and the module information of each authorized data module within the module authorization scope, as well as the data information of the power equipment simulation data associated with the module identification codes of each authorized data module, are obtained from the simulation database. Then, the operation interface of the simulation database is displayed again. The operation interface is used to display the module information of each authorized data module and the data information of the associated power equipment simulation data.
[0046] This solution can improve the efficiency of users in obtaining data by using a unified management architecture to uniformly store and control various power equipment simulation data. At the same time, in this solution, the power equipment simulation data is associated with the data modules in the simulation database, so that the power equipment simulation data can be classified and managed in a modular way, and the efficient setting of data access permissions for different users can be realized by setting corresponding module authorization scopes for different access accounts. Moreover, in this solution, when a user needs to use the simulation database, first determine whether the device has the activation privilege of the simulation database according to the device identifier and the access configuration information of the simulation database. After determining that the device has the activation privilege, then obtain the corresponding module information and the data information of the associated power equipment simulation data according to the module authorization scope of the access account used by the user and display them through the operation interface of the simulation database. Thus, the device and the account can be verified during the process of accessing the power equipment simulation data, and data isolation between different devices and different access accounts of the same device can be achieved, improving the flexibility and security of accessing and storing the power equipment simulation data. Brief Description of the Drawings
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings required for the description of the embodiments of the present application or the related art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0048] Figure 1 It is a schematic flowchart of a method for processing data for power equipment simulation in an embodiment;
[0049] Figure 2 It is a schematic diagram of data writing and reading in a simulation database in an embodiment;
[0050] Figure 3 It is a schematic flowchart of a process for displaying an operation interface of a simulation database in an embodiment;
[0051] Figure 4 It is a schematic diagram of an operation interface of a simulation database in an embodiment;
[0052] Figure 5 It is a schematic flowchart of a process for obtaining activation permission information of a simulation database in an embodiment;
[0053] Figure 6 It is a schematic flowchart of a process for obtaining activation permission information of a simulation database in another embodiment;
[0054] Figure 7 It is a schematic diagram of a first activation interface of a simulation database in an embodiment;
[0055] Figure 8 It is a schematic flowchart of a process for an authorizing party to authorize an activation account and obtain an authorization code in an embodiment;
[0056] Figure 9 It is a schematic flowchart of a process for determining the authorization scope of an access account module in an embodiment;
[0057] Figure 10 It is a schematic flowchart of a process for setting up sub-accounts and permission roles in an embodiment;
[0058] Figure 11 It is a schematic diagram of the access account relationship at each account level in an embodiment;
[0059] Figure 12 It is a schematic diagram of the architecture of a data processing system for power equipment simulation in an embodiment;
[0060] Figure 13It is a structural block diagram of a processing device for power equipment simulation data in an embodiment;
[0061] Figure 14 It is an internal structure diagram of a computer device in an embodiment. Detailed implementation manners
[0062] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to 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.
[0063] In an embodiment, as Figure 1 shown, a method for processing power equipment simulation data is provided. In this embodiment, an example is given where this method is applied to a terminal. It can be understood that this method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0064] Step S101, according to the association relationship between the power equipment simulation data and the data module in the simulation database, the power equipment simulation data is associated and stored with the module identification code of the associated data module in the simulation database.
[0065] Among them, module information of multiple data modules can be pre-stored in the simulation database. Among them, the module information can be used to define the module attributes and behaviors of the data module, and it can be used for classified display and operation of power equipment simulation data. Exemplarily, the module information may include but is not limited to module identification code, module name, module icon, module category, module level, module subordination relationship, in-module label, etc. Exemplarily, the module category can be used to indicate the display and interaction rule category used for the data module in the operation interface of the simulation database. Exemplarily, the module level of the data module may include a first-level module and a second-level module. Among them, the module information of the second-level module may be subordinate to the first-level module, and its module subordination relationship can be confirmed by the module identification code of its subordinate first-level module. Exemplarily, the in-module label can be a classification label set by the user for the power equipment simulation book data associated with the data module, and it is an item that can be added or decreased.
[0066] Optionally, the data modules in the simulation database can be classified into a general file management module and a dedicated parameter management module, etc. Among them, the general file management module can manage data in the form of files, read the file as a whole in binary format and store it in the database, and the dedicated parameter management module can add and save power equipment simulation data in the form of database data entries for dedicated domain predetermined parameter table entries, such as a material parameter table containing specified material properties, etc.
[0067] Among them, the power equipment simulation data can be the data used for power equipment simulation calculations, that is, the data for power equipment simulation, which can include the simulation data files and simulation data parameters of power equipment, such as model files, simulation software corresponding to the model, material libraries, criterion libraries, etc. Among them, according to the types and functions of various power equipment simulation data, the association relationship between each power equipment simulation data and the data module can be preset. Among them, one power equipment simulation data can be associated with one data module, and one data module can be associated with multiple power equipment simulation data.
[0068] In this step, when importing power equipment simulation data into the simulation database, according to the association relationship between the power equipment simulation data and the data module, the module identification code of the associated data module of the power equipment simulation data can be obtained, and then the power equipment simulation data can be associated and stored in the simulation database with the module identification code.
[0069] Step S102, in response to the access operation on the simulation database, obtain the activation permission information of the simulation database according to the device identifier and the access configuration information of the simulation database.
[0070] Among them, when the user needs to access the simulation database, the terminal, in response to the user's access operation on the simulation database, can obtain the device identifier of the terminal itself and the access configuration information of the simulation database, and obtain the activation permission information of the terminal for the simulation database according to this information.
[0071] Exemplarily, the device identifier can include but is not limited to the Internet protocol address of the terminal, etc. Exemplarily, the access configuration information of the simulation database can include the device identifier of the authorized terminal, the authorized duration of the simulation database, etc. In this step, according to the access configuration information of the simulation database, it can be determined whether the device identifier of the terminal is consistent with the device identifier of the authorized terminal included in the access configuration information, and it can be determined whether the usage time of the terminal for the simulation database exceeds the authorized duration, and the activation permission information of the simulation database can be obtained according to the result. Exemplarily, if the device identifiers are consistent and the usage time does not exceed the authorized duration, the activation permission information indicating that the simulation database can be activated and used can be obtained; if the device identifiers are inconsistent, or the usage time exceeds the authorized duration, the activation permission information indicating that the simulation database cannot be activated and used can be obtained.
[0072] Step S103, if the activation permission information indicates that the simulation database can be activated and used, display the login interface of the simulation database.
[0073] Among them, when the activation permission information indicates that the simulation database can be activated for use, the terminal can display the login interface of the simulation database. Exemplarily, the login interface of the simulation database may include interactive controls such as input boxes. The user can input information such as the account name and account password of the access account through interaction with the login interface to perform the account login operation.
[0074] Step S104, in response to the account login operation based on the login interface, obtain the account information of the access account.
[0075] Among them, when the user performs an account login operation through interaction with the login interface, the terminal can obtain the account information of the access account used by the user for login. Exemplarily, the account information may include the account name, account password, etc. of the access account.
[0076] Step S105, determine the module authorization scope of the access account according to the account information and the account permission information stored in the simulation database, obtain the module information of each authorized data module within the module authorization scope from the simulation database, and the data information of the power equipment simulation data associated with the module identification code of each authorized data module.
[0077] Among them, the account permission information stored in the simulation database may include the permission information corresponding to one or more access accounts. Exemplarily, the permission information of the access account may include information such as the account level and module authorization scope. Among them, the module authorization scope of the access account can be used to indicate the data modules that the access account can access or operate. Exemplarily, the module authorization scope may include module access permission information and module operation permission information. The module access permission information can be used to indicate the data modules that the access account can access, and the module operation permission information can be used to indicate the data modules that the access account can perform operations such as addition, editing, and deletion.
[0078] In this step, the terminal can obtain the corresponding permission information of the access account from the account permission information stored in the simulation database according to the account information of the access account, and obtain the module authorization scope of the access account therefrom. Then, for each authorized data module within the module authorization scope, the terminal can respectively obtain its corresponding module authorization information in the simulation database, and according to the module identification code corresponding to the authorized data module, obtain the data information of the power equipment simulation data associated with the module identification code stored in the simulation database. Optionally, the data information of the power equipment simulation data may include introduction information of the power equipment simulation data, etc.
[0079] Step S106, display the operation interface of the simulation database.
[0080] Among them, the terminal can display the operation interface of the simulation database to the user. The operation interface can be used to display the module information of each authorized data module corresponding to the access account and the data information of the associated power equipment simulation data. The user can access or operate the power equipment simulation data by interacting with the operation interface.
[0081] In the above method for processing power equipment simulation data, by using a unified management architecture to uniformly store and control various types of power equipment simulation data, the efficiency of users obtaining data can be improved. At the same time, in this solution, the power equipment simulation data is associated with the data modules in the simulation database, so that the power equipment simulation data can be classified and managed in a modular manner, and the efficient setting of data access permissions for different users can be achieved by setting the corresponding module authorization scope for different access accounts. Moreover, in this solution, when the user needs to use the simulation database, first determine whether the device has the activation permission of the simulation database according to the device identifier and the access configuration information of the simulation database, and then after determining that the device has the activation permission, obtain the corresponding module information and the data information of the associated power equipment simulation data according to the module authorization scope of the access account used by the user and display them through the operation interface of the simulation database, so that the device and the account can be verified during the process of accessing the power equipment simulation data, and data isolation between different devices and different access accounts of the same device can be achieved, improving the flexibility and security of accessing and storing power equipment simulation data.
[0082] In an exemplary embodiment, the data in the simulation database is data that has been symmetrically encrypted using a key; the key is obtained according to the device identifier; if the activation permission information indicates that the simulation database can be activated and used, after displaying the login interface of the simulation database, it may include: obtaining the key according to the device identifier; using the key to decrypt the data in the simulation database to obtain the decrypted data.
[0083] Among them, the data stored in the simulation database can be data that has been encrypted using a symmetric encryption algorithm, and the key used can be obtained by processing the device identifier stored in the access configuration information of the simulation database according to a specific algorithm. Among them, after the activation permission information indicates that the simulation database can be activated and used, the terminal can process according to its device identifier according to the same specific algorithm to obtain the key, and then can use the key to decrypt the encrypted data in the simulation database, so as to obtain the decrypted data for subsequent display.
[0084] Exemplarily, such as Figure 2As shown, the user can write data into the simulation database using an external file, or add parameters to a predefined table in the simulation database through the interface. Among them, when the user imports an external file, the external file can be encrypted using a key to obtain binary encrypted data, which is then written into the database. For the table data input by the user through the interface, it can also be encrypted using a key to obtain encrypted table data, which is then written into the simulation database. Among them, when the user accesses the simulation database, after the obtained activation permission information indicates that the simulation database can be activated for use, the binary encrypted data can be decrypted and read out from the simulation database to obtain decrypted file data, and the encrypted table data can be decrypted and read out from the simulation database to obtain decrypted table data. Furthermore, these data can be visually displayed through the operation interface of the simulation database.
[0085] In this embodiment, the data is encrypted using a key obtained according to the device representation and then stored in the simulation database. Therefore, when using the data, the key needs to be used to decrypt and read out the data, which can further ensure that database users can only access the power equipment simulation data on the same computer, and the power equipment simulation data between different computers is invisible to each other, which is beneficial to improving the security of the data.
[0086] In an exemplary embodiment, the operation interface may be provided with a module tree area, a content tree area, and a content introduction area; the module information may include a module identifier, a module level, and module subordination relationship information; the data information may include a data identifier and data introduction information. As Figure 3 shown, the operation interface for displaying the simulation database may include:
[0087] Step S301, determine the primary modules in each authorized data module according to the module levels and module subordination relationship information of each authorized data module, and determine the secondary modules subordinate to each primary module.
[0088] Among them, the module information of the data module includes a module identifier, a module level, and module subordination relationship information. Among them, the module identifier may include the module name, module icon, etc. of the data module, the module level may include a primary module and a secondary module, and the module subordination relationship information may be used to indicate the primary module to which each secondary module belongs.
[0089] In this step, according to the module levels and module subordination relationship information of each authorized data module corresponding to the access account, the primary modules and secondary modules in each authorized data module can be determined respectively, and according to the module subordination relationship information corresponding to each secondary module, the primary module to which each secondary module belongs can be obtained, that is, the secondary modules subordinate to each primary module can be confirmed.
[0090] Step S302: According to the module identifiers of each first-level module and each second-level module, display a list of module identifiers in a tree structure in the module tree area.
[0091] Among them, as Figure 4 shown, the operation interface can be provided with a module tree area, a content tree area, a content introduction area, and can also be provided with a menu bar. Among them, the module tree area can be used to display the module information of each authorized data module corresponding to the access account.
[0092] Exemplarily, as Figure 4 shown, a list of module identifiers in a tree structure can be displayed in the module tree area of the operation interface. The list of module identifiers can include the module identifiers (including module names and module icons) of multiple first-level modules, and the module identifiers of second-level modules that are displayed as child nodes of the subordinate first-level modules.
[0093] Step S303: In response to the selection operation on the module identifier of the second-level module in the list of module identifiers, display a list of data identifiers of each power equipment simulation data associated with the second-level module in the content tree area.
[0094] Among them, the user can perform an interaction such as clicking on the module identifier of the second-level module in the list of module identifiers to implement the selection operation of the corresponding second-level module. Among them, in response to the user's selection operation, as Figure 4 shown, the terminal can display a list of data identifiers of each power equipment simulation data associated with the second-level module selected by the user in the content tree area of the operation interface. Among them, the list of data identifiers can include the names and icons of the power equipment simulation data. Among them, if the access account used by the user has the module operation permission for the corresponding second-level module, the user can perform a first interaction operation in the content tree area to add, edit, or delete the power equipment simulation data.
[0095] Optionally, as Figure 4 shown, the content tree area can support displaying classification labels corresponding to each power equipment simulation data. The user can perform a second interaction operation with the content tree area to add, delete, or modify the classification labels of the corresponding second-level module, and can move the power equipment simulation data corresponding to the second-level module to be displayed under the corresponding classification label.
[0096] Optionally, the content tree area can also be provided with a search box. The user can search for the data identifiers or data profile information of each power equipment simulation data associated with the second-level module through this search box.
[0097] Step S304: In response to the selection operation on the data identifier in the list of data identifiers in the content tree area, display the data profile information of the power equipment simulation data corresponding to the data identifier in the content introduction area.
[0098] Among them, the user can perform an interactive operation such as clicking on the data identifier of the power equipment simulation data in the data identifier list to implement the selection operation of the corresponding power equipment simulation data. Among them, in response to the user's selection operation, as Figure 4 shown, the terminal can display the data profile information of the power equipment simulation data selected by the user in the content summary area of the operation interface. Among them, the data profile information can include a profile picture, profile text, etc. of the power equipment simulation data.
[0099] In this embodiment, by partitioning and displaying the content of the data module and the power simulation data in the operation interface of the simulation database, and being able to display the corresponding content in response to the interaction between the user and the operation interface, it is beneficial to improve the usability of the simulation database.
[0100] In an exemplary embodiment, as Figure 5 shown, in response to the access operation to the simulation database, according to the device identifier and the access configuration information of the simulation database, the activation permission information of the simulation database can be obtained, including:
[0101] Step S501, in response to the access operation to the simulation database, read the access configuration information of the simulation database and obtain the device identifier.
[0102] Among them, in response to the user's access operation to the simulation database, the terminal can attempt to read the access configuration information of the simulation database and obtain its own device identifier. Exemplarily, the device identifier of the terminal can include the network address of the terminal, etc.
[0103] Step S502, if the access configuration information exists and contains an activation code, verify whether the activation code matches the device identifier.
[0104] Among them, when the terminal successfully reads the access configuration information (that is, the access configuration information exists), it can further determine whether the access configuration information contains an activation code. Among them, the activation code can be generated by the authorized party of the simulation database according to the device identifier of the terminal when the user first accesses the simulation database through the terminal. In this step, the terminal can obtain the activation code from the access configuration information and verify whether its own device identifier matches the activation code.
[0105] Step S503, if they match, determine whether the usage duration of the simulation database exceeds the authorized duration according to the current time, the authorized duration included in the access configuration information, and the first activation time.
[0106] Among them, if it is verified that the device identifier of the terminal matches the activation code, the authorized duration and the first activation time included in the access configuration information can be further obtained, and the usage duration of the simulation database can be obtained based on the time interval between the current time and the first activation time. Then, it can be determined whether the usage duration exceeds the authorized duration.
[0107] Step S504, if the usage duration does not exceed the authorized duration, the activation permission information indicating that the simulation database can be activated and used is obtained.
[0108] Among them, when it is determined that the usage duration does not exceed the authorized duration, the activation permission information of the simulation database can be obtained, and the activation permission information can be used to indicate that the simulation database can be activated and used.
[0109] It can be understood that after reading the access configuration information, if the activation code included in the access configuration information does not match the device identifier of the terminal, or it is determined that the usage duration of the simulation database exceeds the authorized duration, the activation permission information indicating that the simulation database cannot be activated and used can be obtained.
[0110] In this embodiment, by verifying whether the activation code matches the device identifier and whether the usage duration exceeds the authorized duration respectively when the user accesses the simulation database, it can be ensured that the content in the simulation database cannot be used by other devices, and the situation that the simulation database can still be accessed after the authorization expires can be avoided, which is beneficial to ensuring the data security of the simulation database.
[0111] In an exemplary embodiment, as Figure 6 shown, in response to an access operation on the simulation database, after reading the access configuration information of the simulation database and obtaining the device identifier, it may further include:
[0112] Step S601, if the access configuration information does not exist, or the access configuration information does not include an activation code, the first activation interface is displayed.
[0113] Among them, when attempting to read the access configuration information of the simulation database, if the access configuration information does not exist, or there is access configuration information but it does not include an activation code, the first activation process can be entered. Among them, the terminal can display the first activation interface of the simulation database for the user to perform the first activation of the simulation database. Exemplarily, the first activation interface can be as Figure 7 shown, in which an input box for inputting application information, an interactive control for generating and displaying an application code, and an interactive control for authorization verification can be displayed.
[0114] Step S602, in response to the application information configuration operation based on the first activation interface, the account name, account password, and institution name of the activation account are obtained.
[0115] Among them, the user can perform application information configuration operations through interaction with the first activation interface. Exemplarily, taking the first activation interface shown as Figure 7 an example, the user can enter the institution name in the institution name input box, enter the account name in the account name input box, and enter the account password in the account password input box respectively, so that the terminal can obtain the account name, account password, and institution name of the access account (i.e., the activation account) used by the user for the first activation through this interface.
[0116] Step S603: Obtain application information based on the account name, account password, institution name, and device identifier.
[0117] Among them, the terminal can obtain the application information for the first activation of the simulation database based on the account name, account password, institution name of the activation account, and its own device identifier.
[0118] Step S604: Generate an application code based on the application information and send the application code to the authorized party of the simulation database.
[0119] Among them, the terminal can generate an application code based on the obtained application information. Exemplarily, taking the first activation interface shown as Figure 7 an example, the user can trigger the terminal to generate an application code based on the application information by clicking the "Generate Application Code" button on the interface, and display the application code through the application code display box on the interface.
[0120] Among them, after obtaining the application code, the terminal can send the application code to the authorized party of the simulation database. Exemplarily, the authorized party of the simulation database can be configured on the server, and the terminal can send the application code to the authorized party through the network.
[0121] Step S605: Receive the authorization code from the authorized party.
[0122] Among them, after receiving the application code from the terminal, the authorized party of the simulation database can authorize the activation account based on the application code and obtain the authorization code of the activation account, and then send the authorization code to the terminal. In this step, the terminal can receive the authorization code sent by the authorized party.
[0123] Exemplarily, the process of the authorized party authorizing the activation account and obtaining the authorization code can be as shown in Figure 8 . Among them, after receiving the application code from the terminal ( Figure 8 represented as "simulation database software" in it), the authorized party can parse the application code to obtain the device identifier of the terminal ( Figure 8 represented as "computer IP" in it) and the account name, account password, and institution name of the activation account ( Figure 8The application information (expressed as "primary administrator account name, password, and applying unit name" in [the relevant context]). Then, the authorizing party can perform permission configuration operations on the activated account to obtain the permission information corresponding to the activated account. Optionally, the permission information may include the number of sub-accounts, authorization duration, module authorization scope, etc. The number of sub-accounts can be used to indicate the maximum number of sub-accounts that the activated account can create. Subsequently, the authorizing party can obtain authorization code information based on the previously obtained application information and authorization information, generate an authorization code using the authorization code information, and send the authorization code to the terminal. Optionally, the authorization code can be generated by encrypting the authorization code information using an encryption algorithm, and the key used can be held by both the authorizing party and the terminal. Optionally, the authorization code information may include the device identifier of the terminal, the account name of the activated account, the account password, the number of sub-accounts, the authorization duration, the module authorization scope ( Figure 8 expressed as "authorized module" in [the relevant context]). Then, the authorizing party can record the authorization information for this authorization, including the device identifier of the terminal, the institutional name, account name, account password, number of sub-accounts, authorization duration, module authorization scope of the activated account, as well as the authorization code, creation time, update time, remarks information, etc. Among them, the authorizing party can use the authorized module database to store the authorization information, display the remaining application and configuration information with the device identifier as the distinguishing identifier, and can freely add remarks information.
[0124] Step S606, in the case where the authorization code matches the device identifier, obtain the activation permission information indicating that the simulation database can be activated for use.
[0125] Among them, after the terminal receives the authorization code from the authorizing party, it can parse it and obtain the device identifier contained therein. Then, it can verify whether the device identifier is consistent with its own device identifier. In the case of verification being consistent, it can confirm that the authorization code matches the device identifier and obtain the activation permission information indicating that the simulation database can be activated for use. Exemplarily, taking the first activation interface as shown in Figure 7 as an example, the user can trigger the terminal to parse and verify the authorization code by clicking the "Authorization Verification" button in the interface.
[0126] Step S607, write the authorization code as the activation code into the access configuration information, and write the current time as the first activation time into the access configuration information.
[0127] Among them, after obtaining the activation permission information indicating that the simulation database can be activated for use, the authorization code can be written as the activation code into the access configuration information of the simulation database, and the current time can be written as the first activation time into the access configuration information. Optionally, the authorization duration parsed from the authorization code can also be written into the access configuration information.
[0128] In this embodiment, when the access configuration information does not exist or does not contain an activation code, a first activation interface is presented to the user. After the user performs the application information configuration operation, an application code is generated according to the application information and sent to the authorizing party. Thus, the authorizing party can authorize the activation account according to the application code and generate an authorization code bound to the device identifier. Subsequently, the terminal can use the authorization code to activate the simulation database after receiving it. This solution is beneficial to further improve the security of accessing the simulation database.
[0129] In an exemplary embodiment, as Figure 9 shown, determining the module authorization scope of the access account according to the account information and the account permission information stored in the simulation database may include:
[0130] Step S901, query the account permission information according to the account information to obtain the account level of the access account.
[0131] Step S902, if the account level is a first-level account, obtain the module authorization scope of the access account according to the initial module authorization scope of the simulation database. Among them, the account level corresponding to the activation account for the first activation of the simulation database is a first-level account.
[0132] Step S903, if the account level is not a first-level account, determine the associated permission role of the access account according to the associated role information included in the account permission information.
[0133] Step S904, obtain the module authorization scope of the access account according to the role authorization scope of the associated permission role. Among them, the role authorization scope is not greater than the initial module authorization scope.
[0134] Specifically, in this embodiment, a hierarchical account-role-permission model can be used for the permission management of each access account. Exemplarily, the levels of the access accounts can be divided into first-level accounts, second-level accounts, and ordinary accounts. Among them, the first-level account can be an activation account bound to the activation code of the simulation database, and the second-level account and the ordinary account can be sub-accounts created by the user of the first-level account. Among them, the role can be a permission association entity. After creating different roles and assigning different permission scopes to them, adjusting the role information associated with the access account can union the permissions owned by these roles and assign them to the account.
[0135] Based on this, in this embodiment, in step S901, the corresponding account permission information can be queried according to the account information of the access account first, and the account level of the access account can be obtained. Among them, the account permission information can include the account level of the access account, associated role information, etc.
[0136] Among them, when the account level is a first-level account, step S902 can be executed to obtain the module authorization scope of the access account according to the initial module authorization scope of the simulation database. Among them, the initial module authorization scope of the simulation database can be the module authorization scope set by the authorizer of the simulation database for the activated account.
[0137] Among them, when the account level is not a first-level account, step S903 can be executed to determine its corresponding associated permission role according to the associated role information included in the account permission information of the access account. Among them, an access account can have one or more associated permission roles. Then, step S904 can be executed. For each associated permission role of the access account, obtain its corresponding role authorization scope respectively, where the role authorization scope can be used to indicate the data modules that the role can access or operate. Among them, by merging the role authorization scopes corresponding to each associated permission role of the access account, the module authorization scope of the access account can be obtained.
[0138] In this embodiment, by using the hierarchical account-role-permission model to manage the permissions of each access account, it is possible to achieve hierarchical and classified management of the access permissions and operation permissions of each data module in the simulation database, and improve the flexibility of setting permissions for different access accounts.
[0139] In an exemplary embodiment, as Figure 10 shown, the method may further include:
[0140] Step S1001, obtain the first permission setting information provided by the first access account. Among them, the account level of the first access account is a first-level account.
[0141] Step S1002, if the first permission setting information includes the first role setting information, set the first permission role according to the first role setting information, and set the first role authorization scope of each first permission role.
[0142] Step S1003, if the first permission setting information includes the first account setting information, set the first account according to the first account setting information, and set the first account level and the associated first permission role corresponding to each first account. Among them, the first account level can include a second-level account and a general account.
[0143] Step S1004, obtain the second permission setting information provided by the second access account. Among them, the account level of the second access account can be a second-level account.
[0144] Step S1005: If the second permission setting information includes second role setting information, set the second permission roles according to the second role setting information, and set the second role authorization scopes of the respective second permission roles. Among them, the second role authorization scope is not greater than the first role authorization scope of the first permission role associated with the second access account.
[0145] Step S1006: If the second permission setting information includes second account setting information, set the second accounts according to the second account setting information, and set the second account levels and the associated second permission roles corresponding to the respective second accounts. Among them, the second account levels may include ordinary accounts.
[0146] Specifically, in this embodiment, the access accounts of the simulation database can be classified into first-level accounts, second-level accounts, and ordinary accounts according to their levels. Among them, as Figure 11 shown, a first-level account can create a second-level account or an ordinary account, and store the corresponding account information in the simulation database. A second-level account can create an ordinary account and store the corresponding account information in the simulation database. At the same time, a first-level account and a second-level account can also create various permission roles and assign them to the sub-accounts they create.
[0147] Optionally, when the user uses the first access account with the account level of a first-level account, in step S1001, the terminal can obtain the first permission setting information provided by the user, and this information can be used to set the sub-accounts of the first access account and / or the permission roles. Among them, when the first permission setting information includes one or more first role setting information, step S1002 can be executed. Exemplarily, the first role setting information may include the first role name, the first role authorization scope, etc. In step S1002, the corresponding first permission roles and their corresponding first role authorization scopes can be set respectively according to the respective first role setting information in the first permission setting information. Among them, the first role authorization scope corresponding to each first permission role is not greater than the initial module authorization scope corresponding to the first access account. Among them, when the first permission setting information includes one or more first account setting information, step S1003 can be executed. Exemplarily, the first account setting information may include information such as the first account name, the first account level, and the first permission role associated with the first account. Among them, in step S1003, the corresponding first accounts and their corresponding first account levels and associated first permission roles can be set respectively according to the respective first account setting information in the first account setting information. Among them, the first account level may be a second-level account or an ordinary account, the first permission role may be created by the first access account, and the first account may correspond to one or more first permission roles.
[0148] Optionally, when the user uses a second access account with an account level of a secondary account, in step S1004, the terminal can obtain second permission setting information provided by the user, which can be used to set sub-accounts of the second access account and / or permission roles. Among them, when the second permission setting information includes one or more pieces of second role setting information, step S1005 can be executed. Exemplarily, the second role setting information can include a second role name, a second role authorization scope, etc. In step S1005, corresponding second permission roles and their corresponding second role authorization scopes can be set respectively according to the pieces of second role setting information in the second permission setting information. Among them, the second role authorization scope corresponding to each second permission role is not greater than the first role authorization scope of the first permission role associated with the second access account. Among them, when the second permission setting information includes one or more pieces of second account setting information, step S1006 can be executed. Exemplarily, the second account setting information can include a second account name, a second permission role associated with the second account, and other information. Among them, in step S1003, corresponding second accounts and their corresponding second account levels and associated second permission roles can be set respectively according to the pieces of second account setting information in the second account setting information. Among them, the second account level can be a general account, and the second permission role can be a permission role created by the second access account. One second account can correspond to one or more second permission roles.
[0149] Optionally, when the user uses an access account with an account level of a general account, this account does not have account editing permissions and can only access or operate the power equipment simulation data corresponding to each data module within the role authorization scope of its associated permission role.
[0150] Optionally, a primary account can view or edit each first permission role and first account it creates, and view the second permission roles and second accounts created by the secondary accounts it creates, but cannot edit the second permission roles and second accounts; a secondary account can view or edit each second permission role and second account it creates.
[0151] It can be understood that the setting of permission roles or sub-accounts in this embodiment can include, but is not limited to, creation, editing, deletion, etc.
[0152] In this embodiment, a primary account can set secondary accounts and general accounts, and set first permission roles, while a secondary account can set general accounts and set second permission roles, so that users of the simulation database can distribute module access and operation permissions to lower-level users within the scope permitted by their own permissions, which is beneficial to improving the flexibility of permission setting of the simulation database.
[0153] It should be understood that although the steps in the flowcharts involved in the above embodiments are sequentially shown according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear indication in this article, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0154] Based on the same inventive concept, an embodiment of the present application further provides a processing system for power equipment simulation data for implementing the processing method of power equipment simulation data involved above. The implementation solution provided by this system to solve problems is similar to the implementation solution described in the above method. Therefore, the specific limitations in one or more embodiments of the processing system for power equipment simulation data provided below can refer to the limitations on the processing method of power equipment simulation data in the above text, and will not be elaborated here.
[0155] In an exemplary embodiment, as Figure 12 shown, a processing system for power equipment simulation data is provided, including an authorization unit and a simulation database unit. Among them, the authorization unit can be configured on the server, and the simulation database unit can be configured on the terminal. The simulation database unit can include a simulation database, a user interface module, and a permission control module.
[0156] Among them, the simulation database can be used to store the module information of the data module, power equipment simulation data, and user data. Optionally, the power equipment simulation data can be associated and stored with the module identification code of the associated data module. Optionally, the user data can include access configuration information and account permission information. Optionally, the data in the simulation database can be written after being symmetrically encrypted using a secret key and can be decrypted and read out using the secret key.
[0157] Among them, the user interface module can be used to display the login interface, operation interface, first activation interface, etc. of the simulation database. Optionally, the operation interface can display and operate the power equipment simulation data classified by module.
[0158] Among them, the permission control module can be used to control the read and write operation permissions of various types of data in the operation interface according to the account permission information of the access account.
[0159] Among them, the permission control module can also be used to verify the activation permission of the simulation database and obtain the activation permission information. And it can be used to generate an application code according to the user's application information and send it to the authorization unit during the first activation.
[0160] Among them, the authorization unit can be used to receive and parse the application code, then authorize the activation account according to the application information to obtain the authorization code, and then send it to the simulation database unit.
[0161] Among them, the permission control module can also be used to receive the authorization code from the authorization unit and use the authorization code to complete the first activation of the simulation database.
[0162] Among them, the permission control module can also be used to perform the setting of permission roles or sub-accounts according to the permission setting information provided for the access account whose account level is a first-level account or a second-level account.
[0163] Based on the same inventive concept, an embodiment of the present application also provides a processing device for power equipment simulation data for implementing the processing method of power equipment simulation data involved above. The implementation solutions provided by this device to solve problems are similar to the implementation solutions recorded in the above method. Therefore, the specific limitations in one or more embodiments of the processing device for power equipment simulation data provided below can refer to the limitations on the processing method of power equipment simulation data in the above text, and will not be repeated here.
[0164] In an exemplary embodiment, as Figure 13 shown, a processing device 1300 for power equipment simulation data is provided, including:
[0165] A storage module 1301, configured to associate and store the power equipment simulation data with the module identification code of the associated data module in the simulation database according to the association relationship between the power equipment simulation data and the data module in the simulation database;
[0166] An activation module 1302, configured to obtain the activation permission information of the simulation database according to the device identification and the access configuration information of the simulation database in response to an access operation on the simulation database;
[0167] A first display module 1303, configured to display the login interface of the simulation database if the activation permission information indicates that the simulation database can be activated and used;
[0168] A first acquisition module 1304, configured to acquire the account information of the access account in response to an account login operation based on the login interface;
[0169] A second acquisition module 1305, configured to determine the module authorization scope of the access account according to the account information and the account privilege information stored in the simulation database, obtain the module information of each authorized data module within the module authorization scope from the simulation database, and data information of the power equipment simulation data associated with the module identification codes of each authorized data module;
[0170] A second display module 1306, configured to display an operation interface of the simulation database; the operation interface is used to display the module information of each authorized data module and the data information of the associated power equipment simulation data.
[0171] In an exemplary embodiment, the data in the simulation database is data that has been symmetrically encrypted using a key; the key is obtained according to the device identifier; the apparatus further includes: a key acquisition module, configured to obtain the key according to the device identifier; a decryption module, configured to use the key to decrypt the data in the simulation database to obtain decrypted data.
[0172] In an exemplary embodiment, the operation interface is provided with a module tree area, a content tree area, and a content summary area; the module information includes a module identifier, a module level, and module subordination relationship information; the data information includes a data identifier and data summary information; the second display module 1306 is configured to: determine first-level modules in each authorized data module according to the module level and the module subordination relationship information of each authorized data module, and determine second-level modules subordinate to each first-level module; display a module identifier list in a tree structure in the module tree area according to the module identifiers of each first-level module and each second-level module; wherein, each second-level module is displayed as a child node of the subordinate first-level module; in response to a selection operation on the module identifier of the second-level module in the module identifier list, display a data identifier list of the power equipment simulation data associated with the second-level module in the content tree area; in response to a selection operation on the data identifier in the data identifier list in the content tree area, display the data summary information of the power equipment simulation data corresponding to the data identifier in the content summary area.
[0173] In an exemplary embodiment, the activation module 1302 is configured to: in response to an access operation on the simulation database, read the access configuration information of the simulation database to obtain a device identifier; if the access configuration information exists and contains an activation code, verify whether the activation code matches the device identifier; if they match, determine whether the usage duration of the simulation database exceeds the authorized duration according to the current time, the authorized duration included in the access configuration information, and the first activation time; if the usage duration does not exceed the authorized duration, obtain activation permission information indicating that the simulation database can be activated and used.
[0174] In an exemplary embodiment, the activation module 1302 is configured to: if the access configuration information does not exist, or the access configuration information does not contain the activation code, display a first activation interface; in response to an application information configuration operation based on the first activation interface, obtain the account name, account password, and institution name of the activation account; obtain application information according to the account name, the account password, the institution name, and the device identifier; generate an application code according to the application information, and send the application code to the authorizing party of the simulation database; receive an authorization code from the authorizing party; the authorization code is obtained by the authorizing party after authorizing the activation account according to the application code; in the case where it is verified that the authorization code matches the device identifier, obtain activation permission information indicating that the simulation database can be activated and used; write the authorization code as the activation code into the access configuration information, and write the current time as the first activation time into the access configuration information.
[0175] In an exemplary embodiment, the second acquisition module 1305 is configured to: query the account permission information according to the account information to obtain the account level of the access account; if the account level is a first-level account, obtain the module authorization range of the access account according to the initial module authorization range of the simulation database; wherein, the account level corresponding to the activation account for the first activation of the simulation database is the first-level account; if the account level is not the first-level account, determine the associated permission role of the access account according to the associated role information included in the account permission information; obtain the module authorization range of the access account according to the role authorization range of the associated permission role; the role authorization range is not greater than the initial module authorization range.
[0176] In an exemplary embodiment, the device further includes: a third acquisition module, configured to acquire first permission setting information provided by a first access account; the account level of the first access account is a first-level account; a first role setting module, configured to, if the first permission setting information includes first role setting information, set first permission roles according to the first role setting information, and set a first role authorization scope for each of the first permission roles; the first role authorization scope is not greater than the initial module authorization scope; a first account setting module, configured to, if the first permission setting information includes first account setting information, set a first account according to the first account setting information, and set a first account level and an associated first permission role for each of the first accounts; the first account level includes a second-level account and a common account; a fourth acquisition module, configured to acquire second permission setting information provided by a second access account; the account level of the second access account is a second-level account; a second role setting module, configured to, if the second permission setting information includes second role setting information, set second permission roles according to the second role setting information, and set a second role authorization scope for each of the second permission roles; the second role authorization scope is not greater than the first role authorization scope of the first permission role associated with the second access account; a second account setting module, configured to, if the second permission setting information includes second account setting information, set a second account according to the second account setting information, and set a second account level and an associated second permission role for each of the second accounts; the second account level includes a common account.
[0177] Each module in the above data processing device for power equipment simulation can be implemented in whole or in part by software, hardware, and their combination. The above modules can be embedded in the processor of the computer device in hardware form or be independent of it, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to the above modules.
[0178] In an exemplary embodiment, a computer device is provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 14As shown in the figure. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are 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 and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a method for processing data for power device simulation. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, touchpad, or mouse, etc.
[0179] Those skilled in the art can understand that Figure 14 the structure shown in the figure is only a block diagram of some structures 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 some components, or have different component arrangements.
[0180] In one embodiment, a computer device is further provided, including a memory and a processor. A computer program is stored in the memory, and when the processor executes the computer program, the steps in the above method embodiments are implemented.
[0181] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by the processor, the steps in the above method embodiments are implemented.
[0182] In one embodiment, a computer program product is provided, including a computer program. When the computer program is executed by the processor, the steps in the above method embodiments are implemented.
[0183] 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 for analysis, stored data, displayed data, etc.) involved in this application are all information and data that have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant regulations.
[0184] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing 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 embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in this application can include at least one of non-volatile memory 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. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in this application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., and are not limited thereto. The processors involved in the embodiments provided in this application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, artificial intelligence (AI) processors, etc., and are not limited thereto.
[0185] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, 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, it should be considered as the scope recorded in this application.
[0186] The above embodiments only express several implementation manners of this application, and the description is relatively specific and detailed. However, it should not be construed as a limitation on the patent scope of this application. It should be noted that for those of ordinary skill in the art, without departing from the concept of this application, several deformations and improvements can still be made, and these all belong to the protection scope of this application. Therefore, the protection scope of this application should be subject to the appended claims.
Claims
1. A method for processing data for power equipment simulation, characterized in that: The method comprises: According to the association relationship between the power equipment simulation data and the data modules in the simulation database, the power equipment simulation data and the module identification code of the associated data module are associated and stored in the simulation database; In response to the access operation to the simulation database, activation permission information of the simulation database is obtained according to the device identification and the access configuration information of the simulation database; wherein, in response to the access operation to the simulation database, the access configuration information of the simulation database is read to obtain the device identification; if the access configuration information exists and contains an activation code, then verify whether the activation code matches the device identification; if they match, then determine whether the usage time of the simulation database exceeds the authorization time according to the current time and the authorization time and the first activation time contained in the access configuration information; if the usage time does not exceed the authorization time, then obtain activation permission information indicating that the simulation database can be activated for use; If the activation permission information indicates that the simulation database can be activated for use, displaying a login interface of the simulation database; In response to an account login operation based on the login interface, acquiring account information of an access account; Determine the module authorization scope of the access account according to the account information and the account authority information stored in the simulation database, and obtain module information of each authorized data module within the module authorization scope and data information of the power equipment simulation data associated with the module identification code of each authorized data module from the simulation database; An operation interface for displaying the simulation database; the operation interface is used to display the module information of each authorized data module and the data information of the associated power equipment simulation data.
2. The method according to claim 1, characterized in that The data in the simulation database is data that has been symmetrically encrypted using a key; the key is obtained according to the device identifier; If the activation permission information indicates that the simulation database can be activated for use, then after displaying the login interface of the simulation database, the method further includes: Obtaining the key according to the device identification; The key is used to decrypt the data in the simulation database to obtain decrypted data.
3. The method according to claim 1, characterized in that The operation interface is provided with a module tree area, a content tree area, and a content introduction area; the module information includes module identification, module level, and module affiliation information; The data information includes data identification and data brief introduction information; The operation interface for displaying the simulation database includes: Determine the primary modules in each of the authorization data modules and the secondary modules subordinate to each of the primary modules according to the module level and the module subordination information of each of the authorization data modules; According to the module identifications of each of the first-level modules and each of the second-level modules, a module identification list is displayed in a tree structure in the module tree area; wherein each of the second-level modules is displayed as a child node of the subordinate first-level module; In response to a selection operation of the module identification of the secondary module in the module identification list, displaying a data identification list of each of the power equipment simulation data associated with the secondary module in the content tree area; In response to a selection operation of the data identifier in the data identifier list in the content tree area, the data brief introduction information of the power equipment simulation data corresponding to the data identifier is displayed in the content brief introduction area.
4. The method according to claim 1, characterized in that: In response to the access operation to the simulation database, after reading the access configuration information of the simulation database and obtaining the device identification, the method further includes: If the access configuration information does not exist, or the access configuration information does not include the activation code, displaying the first activation interface; In response to the application information configuration operation based on the first activation interface, obtaining the account name, account password, and organization name of the activated account; Obtaining application information according to the account name, the account password, the organization name and the device identification; Generate an application code according to the application information, and send the application code to an authorized party of the simulation database; Receiving an authorization code from the authorizing party; the authorization code is obtained after the authorizing party authorizes the activation account according to the application code; When verifying that the authorization code matches the device identification, obtaining activation authority information indicating that the simulation database can be activated for use; The authorization code is written into the access configuration information as an activation code, and the current time is written into the access configuration information as a first activation time.
5. The method according to claim 1, characterized in that The determining the module authorization scope of the access account according to the account information and the account authority information stored in the simulation database includes: According to the account information, query the account authority information to obtain the account level of the access account; If the account level is a first-level account, the module authorization scope of the access account is obtained according to the initial module authorization scope of the simulation database; wherein the account level corresponding to the activation account that activates the simulation database for the first time is the first-level account; If the account level is not the first-level account, determining the associated permission role of the access account according to the associated role information included in the account permission information; The module authorization scope of the access account is obtained according to the role authorization scope of the associated authority role; the role authorization scope is not greater than the initial module authorization scope.
6. The method according to claim 5, characterized in that The method further comprises: Acquire first permission setting information provided by a first access account; the account level of the first access account is a first-level account; If the first permission setting information includes first role setting information, setting the first permission role according to the first role setting information, and setting the first role authorization scope of each first permission role; the first role authorization scope is not greater than the initial module authorization scope; If the first permission setting information includes first account setting information, setting the first account according to the first account setting information, and setting the first account level and the associated first permission role corresponding to each first account; the first account level includes a secondary account and a common account; Acquire second permission setting information provided by a second access account; the account level of the second access account is a secondary account; If the second permission setting information includes second role setting information, set the second permission role according to the second role setting information, and set the second role authorization scope of each second permission role; the second role authorization scope is not greater than the first role authorization scope of the first permission role associated with the second access account; If the second permission setting information includes second account setting information, the second account is set according to the second account setting information, and the second account level and the associated second permission role corresponding to each second account are set; the second account level includes a common account.
7. A data processing device for power equipment simulation, characterized in that: The device comprises: A storage module, used for storing the power equipment simulation data in association with the module identification code of the associated data module in the simulation database according to the association relationship between the power equipment simulation data and the data module in the simulation database in the simulation database; An activation module, for obtaining activation authority information of the simulation database according to the device identification and the access configuration information of the simulation database in response to the access operation to the simulation database; wherein, in response to the access operation to the simulation database, the access configuration information of the simulation database is read to obtain the device identification; if the access configuration information exists and contains an activation code, then verifying whether the activation code matches the device identification; if they match, determining whether the usage time of the simulation database exceeds the authorization time according to the current time and the authorization time and the first activation time contained in the access configuration information; if the usage time does not exceed the authorization time, then obtaining activation authority information indicating that the simulation database can be activated for use; A first display module, configured to display a login interface of the simulation database if the activation authority information indicates that the simulation database can be activated for use; A first acquisition module, configured to acquire account information of an access account in response to an account login operation based on the login interface; A second acquisition module is used to determine the module authorization scope of the access account according to the account information and the account authority information stored in the simulation database, and to obtain module information of each authorized data module within the module authorization scope and data information of the power equipment simulation data associated with the module identification code of each authorized data module from the simulation database; The second display module is used to display the operation interface of the simulation database; the operation interface is used to display the module information of each authorized data module and the data information of the associated power equipment simulation data.
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.
Citation Information
Patent Citations
Intelligent system, method and device for efficiently and accurately fusing supply and demand of multiple markets of e-commerce
CN114971756A
Automatic authorization activation method and device for application software and storage medium
CN117421710A