Processing method and device of data for power equipment simulation, equipment and storage medium

By assuming the simulation data with the database module in power equipment simulation and determining access permissions based on the device and account information, the problems of data access security and flexibility in the prior art are solved, and efficient unified management and secure access of data are achieved.

CN119961985AActive Publication Date: 2025-05-09ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510453392.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-11
Publication Date
2025-05-09
Estimated Expiration
2045-04-11

AI Technical Summary

Technical Problem

The prior art is difficult to effectively ensure the access security and flexibility of simulation data in power equipment simulation.

Method used

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 data information.

Benefits of technology

It realizes unified storage and control of simulation data of power equipment, improves data acquisition efficiency, realizes data classification management and access rights settings for different users, and enhances data security and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119961985A_ABST
    Figure CN119961985A_ABST
Patent Text Reader

Abstract

The invention relates to a processing method and device of data for power equipment simulation, equipment and a storage medium. The method comprises the steps that according to the incidence relation between power equipment simulation data and data modules in a simulation database, the power equipment simulation data and module identification codes of the associated data modules are stored in the simulation database in an associated mode; responding to the access operation, and obtaining activation permission information according to the equipment identifier and the access configuration information; if the activation permission information indicates that the simulation database can be activated, a display login interface is used; obtaining account information in response to the account login operation; determining a module authorization range according to the account information and the account authority information, and obtaining module information of each authorization data module in the module authorization range and data information of power equipment simulation data associated with each authorization data module; and displaying an operation interface of the simulation database. By adopting the method, the safety and the flexibility of accessing the simulation data can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, device, computer equipment, computer-readable storage medium and computer program product for processing data for power equipment simulation. Background Art

[0002] As the complexity and scale of power systems grow, the types of simulation data involved in power simulation are also increasing. In the simulation of power equipment, it is usually necessary to access various types of simulation data such as geometry, materials, models, standards, etc., some of which are highly confidential. 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 various types of simulation data. Summary of the invention

[0003] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for processing data for power equipment simulation in order to solve the above technical problems.

[0004] In a first aspect, the present application provides a method for processing data for power equipment simulation, comprising:

[0005] 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;

[0006] In response to an access operation to the simulation database, obtaining activation permission information of the simulation database 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 for use, displaying a login interface of the simulation database;

[0008] In response to an account login operation based on the login interface, acquiring account information of an access account;

[0009] 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;

[0010] 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.

[0011] In one of the embodiments, the data in the simulation database is data that has been symmetrically encrypted using a key; the key is obtained based on the device identification; 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, it includes: obtaining the key based on the device identification; using the key, decrypting the data in the simulation database to obtain decrypted data.

[0012] In one embodiment, 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 introduction information; the operation interface for displaying the simulation database includes: determining the first-level module in each authorized data module and determining the second-level module subordinate to each first-level module according to the module level and the module affiliation information of each authorized data module; displaying a module identification list in a tree structure in the module tree area according to the module identification 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 the selection operation of the module identification of the second-level module in the module identification list, displaying the data identification list of each power equipment simulation data associated with the second-level module in the content tree area; in response to the selection operation of the data identification in the data identification list in the content tree area, displaying the data introduction information of the power equipment simulation data corresponding to the data identification in the content introduction area.

[0013] In one of the embodiments, 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, including: 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, 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, obtaining activation permission information indicating that the simulation database can be activated for use.

[0014] In one of the embodiments, the response to the access operation to the simulation database, reading the access configuration information of the simulation database, and obtaining the device identification also includes: if the access configuration information does not exist, or the access configuration information does not include the activation code, then 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 activation account; obtaining application information based on the account name, the account password, the organization name and the device identification; generating an application code based on the application information, and sending the application code to the authorization party of the simulation database; receiving the authorization code from the authorization party; the authorization code is obtained after the authorization party authorizes the activation account based on the application code; when verifying that the authorization code matches the device identification, obtaining activation permission information indicating that the simulation database can be activated for use; 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, determining the module authorization scope of the access account based on the account information and the account permission information stored in the simulation database includes: querying the account permission information based on 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 based on the initial module authorization scope of the simulation database; wherein, the account level corresponding to the activated account that first activates 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 based on the associated role information contained in the account permission information; obtaining the module authorization scope of the access account based on 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 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 second-level account and a common account; obtaining second permission setting information provided by a second access account; the account level of the second access account is a second-level account; if the second permission setting information includes second role setting information, setting the second permission role according to the second role setting information, and setting 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, setting the second account according to the second account setting information, and setting the second account level and the associated second permission role corresponding to each second account; the second account level includes a common account.

[0017] In a second aspect, the present application also provides a device for processing data for power equipment simulation, comprising:

[0018] 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;

[0019] An activation module, configured to obtain activation authority information of the simulation database in response to an access operation to the simulation database according to a device identifier and access configuration information of the simulation database;

[0020] 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;

[0021] 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;

[0022] 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;

[0023] 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.

[0024] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein 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 and the module identification code of the associated data module are associated and stored in the simulation database;

[0026] In response to an access operation to the simulation database, obtaining activation permission information of the simulation database according to a device identifier and access configuration information of the simulation database;

[0027] If the activation permission information indicates that the simulation database can be activated for use, displaying a login interface of the simulation database;

[0028] In response to an account login operation based on the login interface, acquiring account information of an access account;

[0029] 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;

[0030] 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.

[0031] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein 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 and the module identification code of the associated data module are associated and stored in the simulation database;

[0033] In response to an access operation to the simulation database, obtaining activation permission information of the simulation database according to a device identifier and access configuration information of the simulation database;

[0034] If the activation permission information indicates that the simulation database can be activated for use, displaying a login interface of the simulation database;

[0035] In response to an account login operation based on the login interface, acquiring account information of an access account;

[0036] 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;

[0037] 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.

[0038] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[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 and the module identification code of the associated data module are associated and stored in the simulation database;

[0040] In response to an access operation to the simulation database, obtaining activation permission information of the simulation database according to a device identifier and access configuration information of the simulation database;

[0041] If the activation permission information indicates that the simulation database can be activated for use, displaying a login interface of the simulation database;

[0042] In response to an account login operation based on the login interface, acquiring account information of an access account;

[0043] 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;

[0044] 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.

[0045] The above-mentioned processing method, device, computer equipment, computer-readable storage medium and computer program product for power equipment simulation data associate the power equipment simulation data with the module identification code of the associated data module and store it in the simulation database according to the association relationship between the power equipment simulation data and the data module in the simulation database, and in response to the access operation to the simulation database, obtain the activation permission information of the simulation database according to the device identification and the access configuration information of the simulation database, wherein if the activation permission information indicates that the simulation database can be activated for use, the login interface of the simulation database is displayed, and then the account information of the access account is obtained in response to the account login operation based on the login interface, and then the module authorization scope of the access account is determined according to the account information and the account permission information stored in the simulation database, and the module information of each authorized data module within the module authorization scope and the data information of the power equipment simulation data associated with the module identification code of each authorized data module are obtained from the simulation database, and then the operation interface of the simulation database is displayed, which is used to display the module information of each authorized data module and the data information of the associated power equipment simulation data.

[0046] The scheme can improve the efficiency of users in obtaining data by using a unified management framework to uniformly store and control various types of power equipment simulation data. At the same time, the scheme associates the power equipment simulation data with the data module in the simulation database, so that the power equipment simulation data can be classified and managed in a modular way, and the corresponding module authorization range can be set for different access accounts to achieve efficient setting of data access rights for different users. Moreover, in the scheme, when a user needs to use the simulation database, first determine whether the device has the activation authority of the simulation database according to the device identification and the access configuration information of the simulation database, and then obtain the corresponding module information and the data information of the associated power equipment simulation data according to the module authorization range of the access account used by the user after determining that the device has the activation authority, and display it through the operation interface of the simulation database, so that the device and the account can be verified during the access process of the power equipment simulation data, and the data isolation between different devices and different access accounts of the same device can be achieved, so as to improve the flexibility and security of access to 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 related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0048] Figure 1 A schematic diagram of a process flow of a method for processing data for power equipment simulation in one embodiment;

[0049] Figure 2 A schematic diagram of data writing and reading of a simulation database in one embodiment;

[0050] Figure 3 A schematic diagram showing a flow chart of an operation interface of a simulation database in one embodiment;

[0051] Figure 4 A schematic diagram of an operation interface of a simulation database in an embodiment;

[0052] Figure 5 A schematic diagram of a process for obtaining activation authority information of a simulation database in one embodiment;

[0053] Figure 6 A schematic diagram of a flow chart of obtaining activation authority information of a simulation database in another embodiment;

[0054] Figure 7 A schematic diagram of an initial activation interface of a simulation database in one embodiment;

[0055] Figure 8 A schematic diagram of a process in which an authorizing party authorizes an activated account and obtains an authorization code in one embodiment;

[0056] Fig. 9 A schematic diagram of a flow chart for determining a module authorization scope for accessing an account in one embodiment;

[0057] Fig.10 A schematic diagram of a process for setting sub-accounts and permission roles in one embodiment;

[0058] Fig.11 A schematic diagram of access account relationships at various account levels in one embodiment;

[0059] Fig.12 A schematic diagram of the architecture of a system for processing data for power equipment simulation in one embodiment;

[0060] Fig.13A structural block diagram of a device for processing data for power equipment simulation in one embodiment;

[0061] Fig.14 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0062] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0063] In one embodiment, Figure 1 As shown, a method for processing data for power equipment simulation is provided. This embodiment takes the method applied to a terminal as an example. It can be understood that the 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 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.

[0065] Among them, the 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, which can be used to classify, display and operate the 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, module internal 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 can include a primary module and a secondary module, wherein the module information of the secondary module can be subordinate to the primary module, and its module subordination can be confirmed by the module identification code of the primary module to which it is subordinate. Exemplarily, the internal label of the module can be a classification label set by the user for the power equipment simulation book data associated with the data module, which is an addable and reducible item.

[0066] Optionally, the data modules of the simulation database can be classified into general file management modules and special parameter management modules, etc., wherein the general file management module can manage data in the form of files, read the entire file into the database in binary format, and store it; the special parameter management module can define parameter table entries for special fields, such as a material parameter table containing specified material properties, etc., and add and save power equipment simulation data in the form of database data entries.

[0067] The power equipment simulation data may be data used for power equipment simulation calculations, i.e., data for power equipment simulation, which may include simulation data files and simulation data parameters of power equipment, such as model files, simulation software corresponding to the models, material libraries, criterion libraries, etc. According to the types and functions of various power equipment simulation data, the association relationship between each type of power equipment simulation data and the data module may be preset. One type of power equipment simulation data may be associated with one data module, and one data module may be associated with multiple types of power equipment simulation data.

[0068] In this step, when importing power equipment simulation data into the simulation database, the module identification code of the associated data module of the power equipment simulation data can be obtained based on the association relationship between the power equipment simulation data and the data module, and then the power equipment simulation data and the module identification code can be associated and stored in the simulation database.

[0069] Step S102, in response to the access operation to the simulation database, obtaining activation authority information of the simulation database according to the device identification and the access configuration information of the simulation database.

[0070] When a user needs to access the simulation database, the terminal can obtain its own device identification and simulation database access configuration information in response to the user's access operation to the simulation database, and obtain activation authority information of the terminal to the simulation database based on this information.

[0071] Exemplarily, the device identification may include, but is not limited to, the Internet Protocol address of the terminal, etc. Exemplarily, the access configuration information of the simulation database may include the device identification of the authorized terminal, the authorization duration of the simulation database, etc. In this step, it is possible to determine whether the device identification of the terminal is consistent with the device identification of the authorized terminal contained in the access configuration information based on the access configuration information of the simulation database, and to determine whether the terminal's use time of the simulation database exceeds the authorized duration, and obtain the activation permission information of the simulation database based on the result. Exemplarily, if the device identification is consistent and the use time does not exceed the authorized duration, the activation permission information indicating that the simulation database can be activated for use can be obtained; if the device identification is inconsistent, or the use time exceeds the authorized duration, the activation permission information indicating that the simulation database cannot be activated for use can be obtained.

[0072] Step S103: If the activation authority information indicates that the simulation database can be activated for use, a login interface of the simulation database is displayed.

[0073] Wherein, when the activation permission information indicates that the simulation database can be activated for use, the terminal can display a login interface of the simulation database. Exemplarily, the login interface of the simulation database can include interactive controls such as an input box, and the user can enter information such as the account name and password of the access account through interaction with the login interface to perform an account login operation.

[0074] Step S104, in response to the account login operation based on the login interface, obtaining the account information of the access account.

[0075] When the user performs an account login operation by interacting with the login interface, the terminal can obtain the account information of the access account used by the user to log in. Exemplarily, the account information may include the account name, account password, etc. of the access account.

[0076] Step S105, determining the module authorization scope of the access account according to the account information and the account authority information stored in the simulation database, obtaining 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] Wherein, the account permission information stored in the simulation database may include permission information corresponding to one or more access accounts. Exemplarily, the permission information of the access account may include information such as account level and module authorization scope. Wherein, the module authorization scope of the access account may 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 may be used to indicate the data modules that the access account can access. The module operation permission information may be used to indicate the data modules that the access account can add, edit, delete, etc.

[0078] In this step, the terminal can obtain the permission information corresponding to 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. Then, the terminal can obtain the corresponding module authorization information in the simulation database for each authorized data module within the module authorization scope, and obtain the data information of the power equipment simulation data stored in association with the module identification code in the simulation database according to the module identification code corresponding to the authorized data module. Optionally, the data information of the power equipment simulation data may include brief information of the power equipment simulation data, etc.

[0079] Step S106, displaying the operation interface of the simulation database.

[0080] 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-mentioned method for processing data for power equipment simulation, by using a unified management framework to uniformly store and control various types of power equipment simulation data, the efficiency of users in obtaining data can be improved. At the same time, in the scheme, the power equipment simulation data is associated with the data module in the simulation database, so that the power equipment simulation data can be classified and managed in a modular manner, and the corresponding module authorization range can be set for different access accounts to achieve efficient setting of data access rights for different users. Moreover, in the scheme, when the user needs to use the simulation database, first determine whether the device has the activation authority of the simulation database according to the device identification and the access configuration information of the simulation database, and then determine that the device has the activation authority, and then obtain the corresponding module information and the data information of the associated power equipment simulation data according to the module authorization range of the access account used by the user, and display it through the operation interface of the simulation database, so that the device and the account can be verified during the access process of the power equipment simulation data, and the data isolation between different devices and different access accounts of the same device can be achieved, so as to improve the flexibility and security of access to the 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 based on a 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, it may include: obtaining the key based on the device identifier; using the key to decrypt the data in the simulation database to obtain decrypted data.

[0083] The data stored in the simulation database may be data encrypted using a symmetric encryption algorithm, and the key used may be obtained by processing according to a specific algorithm based on the device identification stored in the access configuration information of the simulation database. After the activation permission information indicates that the simulation database can be activated for use, the terminal may process according to the same specific algorithm based on its device identification to obtain the key, and then the encrypted data in the simulation database may be decrypted using the key, thereby obtaining the decrypted data for subsequent display.

[0084] For example, Figure 2As shown, the user can use an external file to write data to the simulation database, or add parameters to the predefined table in the simulation database through the interface. When the user imports an external file, the external file can be encrypted using a key to obtain binary encrypted data, and 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, and then written into the simulation database. When the user accesses the simulation database, after the activation permission information obtained 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, and then these data can be visualized 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 a simulation database, so that when the data is used, the key needs to be used to decrypt and read the data. This 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 are invisible to each other, which is beneficial to improving data security.

[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 module identification, module level, and module affiliation information; and the data information may include data identification and data introduction information. Figure 3 As shown, the operation interface of the simulation database is displayed, which may include:

[0087] Step S301, determining the primary modules in each authorization data module and the secondary modules subordinate to each primary module according to the module level and module subordinate relationship information of each authorization data module.

[0088] The module information of the data module includes module identification, module level, and module affiliation information. The module identification may include the module name and module icon of the data module, the module level may include primary module and secondary module, and the module affiliation information may be used to indicate the primary module to which each secondary module is subordinate.

[0089] In this step, based on the module level and module subordination information of each authorization data module corresponding to the access account, the first-level modules and second-level modules in each authorization data module can be determined respectively, and the first-level modules to which each second-level module belongs can be obtained based on the module subordination information corresponding to each second-level module, that is, the second-level modules subordinate to each first-level module can be confirmed.

[0090] Step S302: display a module identification list in a tree structure in the module tree area according to the module identification of each first-level module and each second-level module.

[0091] Among them, Figure 4 As shown, the operation interface may be provided with a module tree area, a content tree area, a content introduction area, and may also be provided with a menu bar. Among them, the module tree area may be used to display the module information of each authorized data module corresponding to the access account.

[0092] For example, Figure 4 As shown, a module identification list with a tree structure can be displayed in the module tree area of ​​the operation interface. The module identification list can include module identifications of multiple first-level modules (including module names, module icons), as well as module identifications of second-level modules displayed as child nodes of subordinate first-level modules.

[0093] Step S303 , in response to the selection operation of the module identifier of the secondary module in the module identifier list, a data identifier list of each power equipment simulation data associated with the secondary module is displayed in the content tree area.

[0094] The user can select the corresponding secondary module by clicking on the module identifier of the secondary module in the module identifier list. Figure 4 As shown, the terminal can display a data identification list of each power equipment simulation data associated with the secondary module selected by the user in the content tree area of ​​the operation interface. The data identification list may include the name and icon of the power equipment simulation data. If the access account used by the user has the module operation authority for the corresponding secondary module, the user can perform a first interactive operation in the content tree area to add, edit or delete the power equipment simulation data.

[0095] Alternatively, if Figure 4 As shown, the content tree area can support the display of classification labels corresponding to each power equipment simulation data. The user can perform a second interactive operation with the content tree area to add, delete or modify the classification label of the corresponding secondary module, and can move the power equipment simulation data corresponding to the secondary module to the corresponding classification label for display.

[0096] Optionally, the content tree area may also be provided with a search box, through which the user may search for data identifiers or data profile information of each power equipment simulation data associated with the secondary module.

[0097] Step S304 , in response to a selection operation on a data identifier in the data identifier list in the content tree area, displaying data brief introduction information of the power equipment simulation data corresponding to the data identifier in the content brief introduction area.

[0098] The user can select the corresponding power equipment simulation data by clicking on the data identifier of the power equipment simulation data in the data identifier list. Figure 4 As shown, the terminal can display the data brief introduction information of the power equipment simulation data selected by the user in the content brief introduction area of ​​the operation interface. The data brief introduction information may include brief introduction pictures and brief introduction texts of the power equipment simulation data.

[0099] In this embodiment, by partitioning and displaying the contents of data modules and power simulation data in the operation interface of the simulation database, and being able to display corresponding contents in response to the interaction between the user and the operation interface, the usability of the simulation database is improved.

[0100] In an exemplary embodiment, Figure 5 As shown, 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, which may include:

[0101] Step S501, in response to an access operation to a simulation database, read access configuration information of the simulation database and obtain a device identification.

[0102] In response to the user's access operation to the simulation database, the terminal may attempt to read the access configuration information of the simulation database and obtain its own device identification. Exemplarily, the device identification of the terminal may include the network address of the terminal.

[0103] Step S502: If the access configuration information exists and contains an activation code, verify whether the activation code matches the device identification.

[0104] When the terminal successfully reads the access configuration information (i.e., the access configuration information exists), it can further determine whether the access configuration information contains an activation code. The activation code can be generated by the authorized party of the simulation database according to the device identification of the terminal when the user accesses the simulation database for the first time through the terminal. In this step, the terminal can obtain the activation code from the access configuration information and verify whether its own device identification matches the activation code.

[0105] Step S503: If a match is found, it is determined 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 included in the access configuration information.

[0106] If the device identification of the terminal matches the activation code, the authorization duration and the first activation time contained in the access configuration information can be further obtained, and the usage duration of the simulation database can be obtained according to the interval between the current time and the first activation time. Then, it can be determined whether the usage duration exceeds the authorization duration.

[0107] Step S504: If the usage duration does not exceed the authorized duration, activation authority information indicating that the simulation database can be activated for use is obtained.

[0108] Wherein, when it is determined that the usage duration does not exceed the authorized duration, activation authority information of the simulation database can be obtained, and the activation authority information can be used to indicate that the simulation database can be activated for use.

[0109] It is understandable that after reading the access configuration information, if the activation code contained in the access configuration information does not match the device identification of the terminal, or if it is determined that the usage time of the simulation database exceeds the authorized time, activation permission information indicating that the simulation database cannot be activated for use can be obtained.

[0110] In this embodiment, by verifying whether the activation code matches the device identification and whether the usage time exceeds the authorized time when the user accesses the simulation database, it can be ensured that the content in the simulation database is not used by other devices, and the situation where 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, Figure 6 As shown, 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 following may also be included:

[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] When trying to read the access configuration information of the simulation database, if the access configuration information does not exist, or if the access configuration information exists but does not contain the activation code, the first activation process can be entered. The terminal can display the first activation interface of the simulation database for the user to activate the simulation database for the first time. For example, the first activation interface can be as follows: Figure 7 As shown, an input box for inputting application information, an interactive control for generating and displaying an application code, and an interactive control for authorization verification may 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 organization name of the activated account are obtained.

[0115] The user can perform application information configuration operations by interacting with the first activation interface. Figure 7 Taking the first activation interface shown as an example, the user can enter the organization name in the organization name input box, the account name in the account name input box, and the account password in the account password input box, so that the terminal can obtain the account name, account password and organization name of the access account (i.e., activation account) used by the user for the first activation through this interface.

[0116] Step S603, obtaining application information according to the account name, account password, organization name and device identification.

[0117] The terminal may obtain application information for the first activation of the simulation database according to the account name, account password, organization name, and its own device identification of the activated account.

[0118] Step S604: Generate an application code based on the application information, and send the application code to the authorizer of the simulation database.

[0119] The terminal can generate an application code based on the application information obtained above. Figure 7 Taking the first activation interface shown as an example, the user can click the "Generate Application Code" button in the interface to trigger the terminal to generate an application code according to the application information, and display the application code in the application code display box in the interface.

[0120] After obtaining the application code, the terminal can send the application code to the authorization party of the simulation database. Exemplarily, the authorization party of the simulation database can be configured on a server, and the terminal can send the application code to the authorization party through a network.

[0121] Step S605: receiving an authorization code from an authorizing party.

[0122] After receiving the application code from the terminal, the authorizer of the simulation database can authorize the activated account according to the application code and obtain the authorization code of the activated account, and then send the authorization code to the terminal. In this step, the terminal can receive the authorization code sent by the authorizer.

[0123] For example, the process of the authorizer authorizing the activation of the account and obtaining the authorization code can be as follows: Figure 8 As shown. Among them, the authorized party receives the Figure 8 After obtaining the application code represented as "Simulation Database Software" in the application code, the application code can be parsed to obtain the device identification including the terminal ( Figure 8 The computer IP address of the activated account, the account name, password, and organization name ( Figure 8The authorized party can then perform permission configuration operations on the activated account to obtain 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 may be used to indicate the maximum number of sub-accounts that the activated account can create. Subsequently, the authorized party may obtain the authorization code information based on the application information and authorization information obtained previously, generate an authorization code using the authorization code information, and send the authorization code to the terminal. Optionally, the authorization code may be generated by encrypting the authorization code information using an encryption algorithm, and the key used may be held by both the authorized party and the terminal. Optionally, the authorization code information may include the device identification 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 Then, the authorizer can record the authorization information of the authorization, including the device identification of the terminal, the name of the organization that activated the account, the account name, the account password, the number of sub-accounts, the authorization duration, the module authorization scope, as well as the authorization code, the creation time, the update time, the remarks, etc. Among them, the authorizer can use the authorization module database to store the authorization information, and display the rest of the application and configuration information with the device identification as the distinguishing mark, and can freely add remarks.

[0124] Step S606, when the verification authorization code matches the device identification, activation authority information indicating that the simulation database can be activated for use is obtained.

[0125] After receiving the authorization code from the authorizer, the terminal can parse it and obtain the device identification contained therein. Then, it can verify whether the device identification is consistent with its own device identification. If the verification is consistent, it can be confirmed that the authorization code matches the device identification, and activation permission information indicating that the simulation database can be activated for use can be obtained. For example, Figure 7 Taking the first activation interface shown as an example, the user can click the "Authorization Verification" button in the interface to trigger the terminal to parse and verify the authorization code.

[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] 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 obtained by parsing 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 the activation code, the first activation interface is displayed to the user, and after the user performs the application information configuration operation, the application code is generated according to the application information and sent to the authorization party, so that the authorization party can authorize the activation account according to the application code and generate an authorization code bound to the device identification, and then the terminal can use it to activate the simulation database after receiving the authorization code. This solution is conducive to further improving the security of access to the simulation database.

[0129] In an exemplary embodiment, Fig. 9 As shown, the module authorization scope for accessing the account is determined based on the account information and the account authority information stored in the simulation database, which may include:

[0130] Step S901, querying the account authority information according to the account information, and obtaining the account level of the access account.

[0131] Step S902: 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. The account level corresponding to the activation account that activates the simulation database for the first time is a first-level account.

[0132] Step S903: If the account level is not a first-level account, the associated permission role for accessing the account is determined according to the associated role information included in the account permission information.

[0133] Step S904, obtaining the module authorization scope of the access account according to the role authorization scope of the associated authority role, wherein the role authorization scope is not greater than the initial module authorization scope.

[0134] Specifically, in this embodiment, a hierarchical account-role-authority model can be used to manage the permissions of each access account. Exemplarily, the levels of access accounts can be divided into primary accounts, secondary accounts, and ordinary accounts. Among them, the primary account can be an activation account bound to the activation code of the simulation database, and the secondary account and the ordinary account can be sub-accounts created by the user of the primary account. Among them, the role can be a permission-associated subject. After creating different roles and assigning different permission ranges to them, the role information associated with the access account can be adjusted to grant the account the union of the permissions possessed by these roles.

[0135] Based on this, in this embodiment, in step S901, the corresponding account authority information can be queried based on the account information of the access account, and the account level of the access account can be obtained. The account authority information can include the account level of the access account, associated role information, etc.

[0136] If the account level is a first-level account, step S902 may be performed to obtain the module authorization scope of the access account according to the initial module authorization scope of the simulation database, wherein the initial module authorization scope of the simulation database may be the module authorization scope set by the authorization party of the simulation database for the activation account.

[0137] Wherein, when the account level is not a first-level account, step S903 may be executed to determine the corresponding associated permission role according to the associated role information contained in the account permission information of the access account. Wherein, an access account may have one or more associated permission roles. Then, step S904 may be executed to obtain the corresponding role authorization scope for each associated permission role of the access account, respectively, where the role authorization scope may be used to indicate the data module that the role can access or operate. Wherein, by merging the role authorization scope corresponding to each associated permission role of the access account, the module authorization scope of the access account may be obtained.

[0138] In this embodiment, by utilizing a hierarchical account-role-authority model to manage the permissions of each access account, hierarchical management of access rights and operation permissions of each data module in the simulation database can be achieved, and the flexibility of permission settings for different access accounts can be improved.

[0139] In an exemplary embodiment, Fig.10 As shown, the method may also include:

[0140] Step S1001: Acquire first permission setting information provided by a first access account, wherein the account level of the first access account is a first-level account.

[0141] Step S1002: If the first permission setting information includes first role setting information, the first permission roles are set according to the first role setting information, and the first role authorization scope of each first permission role is set.

[0142] Step S1003: If the first permission setting information includes first account setting information, the first accounts are set according to the first account setting information, and the first account level and the associated first permission role corresponding to each first account are set. The first account level may include a secondary account and a common account.

[0143] Step S1004: Acquire second permission setting information provided by a second access account, wherein the account level of the second access account may be a secondary account.

[0144] Step S1005: 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, wherein 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 account according to the second account setting information, and set the second account level and the associated second permission role corresponding to each second account. The second account level may include a common account.

[0146] Specifically, in this embodiment, the access accounts of the simulation database can be divided into primary accounts, secondary accounts and ordinary accounts according to their levels. Fig.11 As shown in the figure, a primary account can create a secondary account or a common account and store the corresponding account information in the simulation database, and a secondary account can create a common account and store the corresponding account information in the simulation database. At the same time, primary and secondary accounts can also create various permission roles and assign them to the sub-accounts they create.

[0147] Optionally, when the user uses a first access account whose account level is a first-level account, in step S1001, the terminal may obtain the first permission setting information provided by the user, which may be used to set the subaccount of the first access account and / or the permission role. Wherein, when the first permission setting information contains one or more first role setting information, step S1002 may be performed. Exemplarily, the first role setting information may include the name of the first role, the authorization scope of the first role, etc. In step S1002, the corresponding first permission role and the corresponding first role authorization scope may be set respectively according to the first role setting information in the first permission setting information. Wherein, 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. Wherein, when the first permission setting information contains one or more first account setting information, step S1003 may be performed. Exemplarily, the first account setting information may include information such as the name of the first account, the level of the first account, and the first permission role associated with the first account. In step S1003, the corresponding first account and its corresponding first account level and associated first permission role can be set respectively according to the first account setting information in the first account setting information. The first account level can be a secondary account or a common account, the first permission role can be created by the first access account, and the first account can correspond to one or more first permission roles.

[0148] Optionally, when the user uses a second access account whose account level is a secondary account, in step S1004, the terminal may obtain the second permission setting information provided by the user, which may be used to set the subaccount of the second access account and / or the permission role. Wherein, when the second permission setting information contains one or more second role setting information, step S1005 may be performed. Exemplarily, the second role setting information may include a second role name, a second role authorization scope, etc. In step S1005, the corresponding second permission role and its corresponding second role authorization scope may be set respectively according to each item of second role setting information in the second permission setting information. Wherein, 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. Wherein, when the second permission setting information contains one or more second account setting information, step S1006 may be performed. Exemplarily, the second account setting information may include information such as the second account name and the second permission role associated with the second account. In step S1003, the corresponding second account and its corresponding second account level and associated second permission role can be set according to each item of second account setting information in the second account setting information. The second account level can be a common account, the second permission role can be a permission role created by the second access account, and one second account can correspond to one or more second permission roles.

[0149] Optionally, when a user uses an access account with an account level of a common account, the account does not have account editing authority, but can only access or operate the power equipment simulation data corresponding to each data module within the role authorization scope of its associated authority role.

[0150] Optionally, a first-level account can view or edit the first permission roles and first accounts it created, and view the second permission roles and second accounts created by the second-level accounts it created, but cannot edit the second permission roles and second accounts; a second-level account can view or edit the second permission roles and second accounts it created.

[0151] It is understandable that the setting of permission roles or sub-accounts in this embodiment may include but is not limited to creation, editing or deletion.

[0152] In this embodiment, a first-level account can set up a second-level account and a general account, as well as set a first permission role, while a second-level account can set up a general account and set a second permission role, so that users of the simulation database can distribute module access and operation permissions to subordinate users within the scope of their own permissions, which is conducive to improving the flexibility of permission settings for the simulation database.

[0153] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, 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, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0154] Based on the same inventive concept, the embodiment of the present application also provides a system for processing data for power equipment simulation for implementing the above-mentioned method for processing data for power equipment simulation. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the one or more embodiments of the system for processing data for power equipment simulation provided below can refer to the limitations of the method for processing data for power equipment simulation in the above text, and will not be repeated here.

[0155] In an exemplary embodiment, Fig.12 As shown, a processing system for power equipment simulation data is provided, including an authorization unit and a simulation database unit. The authorization unit can be configured on a server, the simulation database unit can be configured on a terminal, and the simulation database unit can include a simulation database, a user interface module, and an authority control module.

[0156] The simulation database may be used to store module information of a data module, power equipment simulation data, and user data. Optionally, the power equipment simulation data may be stored in association with a module identification code of an associated data module. Optionally, the user data may include access configuration information and account authority information. Optionally, the data in the simulation database may be data written after symmetric encryption using a key, which may be decrypted and read using a key.

[0157] The user interface module may be used to display a login interface, an operation interface, an initial activation interface, etc. of the simulation database. Optionally, the operation interface may display and operate the power equipment simulation data by module classification.

[0158] Among them, the permission control module can be used to control the reading and writing and other operation permissions of various types of data in the operation interface according to the account permission information of the access account.

[0159] The authority control module can also be used to verify the activation authority of the simulation database and obtain activation authority information, and 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] The authorization unit may be used to receive and parse the application code, and then obtain the authorization code after authorizing the activated account according to the application information, and then send it to the simulation database unit.

[0161] The authority control module may also be used to receive an 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 set permission roles or sub-accounts according to the permission setting information provided by the access account of the first-level account or the second-level account at the account level.

[0163] Based on the same inventive concept, the embodiment of the present application also provides a device for processing data for power equipment simulation for implementing the method for processing data for power equipment simulation involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more devices for processing data for power equipment simulation provided below can refer to the limitations of the method for processing data for power equipment simulation above, and will not be repeated here.

[0164] In an exemplary embodiment, Fig.13 As shown, a device 1300 for processing data for power equipment simulation is provided, comprising:

[0165] The storage module 1301 is used to associate the power equipment simulation data with the module identification code of the associated data module and store it 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 activation permission information of the simulation database according to a device identifier and access configuration information of the simulation database in response to an access operation to the simulation database;

[0167] A first display module 1303 is used to display a login interface of the simulation database if the activation authority information indicates that the simulation database can be activated for use;

[0168] A first acquisition module 1304, configured to acquire account information of an access account in response to an account login operation based on the login interface;

[0169] The second acquisition module 1305 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 obtain the module information of each authorized data module within the module authorization scope and the data information of the power equipment simulation data associated with the module identification code of each authorized data module from the simulation database;

[0170] The second display module 1306 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.

[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 based on the device identification; the device also includes: a key acquisition module, used to obtain the key based on the device identification; a decryption module, used 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 introduction area; the module information includes a module identifier, a module level, and module affiliation information; the data information includes a data identifier and a data introduction information; a second display module 1306 is used to: determine the first-level module in each of the authorized data modules and the second-level module subordinate to each of the first-level modules according to the module level and the module affiliation information of each of the authorized data modules; display a module identifier list in a tree structure in the module tree area according to the module identifiers of each of the first-level modules and each of the second-level modules; 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 identifier of the second-level module in the module identifier list, display a data identifier list of each of the power equipment simulation data associated with the second-level 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, display the data introduction information of the power equipment simulation data corresponding to the data identifier in the content introduction area.

[0173] In an exemplary embodiment, the activation module 1302 is used to: in response to an access operation to the simulation database, read the access configuration information of the simulation database and obtain a device identification; if the access configuration information exists and contains an activation code, verify whether the activation code matches the device identification; if they match, determine whether the usage time of the simulation database exceeds the authorization time based on the current time and the authorization time and first activation time contained in the access configuration information; if the usage time does not exceed the authorization time, obtain activation permission information indicating that the simulation database can be activated for use.

[0174] In an exemplary embodiment, the activation module 1302 is used to: display a first activation interface if the access configuration information does not exist, or the access configuration information does not include the activation code; obtain the account name, account password, and organization name of the activation account in response to the application information configuration operation based on the first activation interface; obtain application information based on the account name, the account password, the organization name, and the device identification; generate an application code based on the application information, and send the application code to the authorization party of the simulation database; receive an authorization code from the authorization party; the authorization code is obtained after the authorization party authorizes the activation account based on the application code; when verifying that the authorization code matches the device identification, obtain activation permission information indicating that the simulation database can be activated for use; 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 used to: query the account authority information according to the account information to obtain the account level of the access account; if the account level is a first-level account, then obtain 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 activated account that first activates the simulation database is the first-level account; if the account level is not the first-level account, then determine the associated authority role of the access account according to the associated role information contained in the account authority information; obtain the module authorization scope of the access account according to the role authorization scope of the associated authority role; the role authorization scope is not greater than the initial module authorization scope.

[0176] In an exemplary embodiment, the device also includes: a third acquisition module, used 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, used to set a first permission role according to the first role setting information if the first permission setting information contains first role setting information, and set the first role authorization scope of each first permission role; the first role authorization scope is not greater than the initial module authorization scope; a first account setting module, used to set a first account according to the first account setting information if the first permission setting information contains first account setting information, and set the first account level and the associated first permission role corresponding to each first account; the first account level includes a second-level account and a general account. account; a fourth acquisition module, used to obtain second permission setting information provided by a second access account; the account level of the second access account is a secondary account; a second role setting module, used to set the second permission role according to the second role setting information if the second permission setting information contains 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; a second account setting module, used to set the second account according to the second account setting information if the second permission setting information contains second account setting information, and set the second account level corresponding to each second account and the associated second permission role; the second account level includes a common account.

[0177] Each module in the above-mentioned processing device for power equipment simulation data can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.

[0178] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.14As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. 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. 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 an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a method for processing data for power equipment simulation is realized. 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, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

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

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

[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 a processor, the steps in the above-mentioned method embodiments are implemented.

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

[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 used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0184] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile 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), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

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

[0186] The above embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. 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 an access operation to the simulation database, obtaining activation permission information of the simulation database according to a device identifier and access configuration information of the simulation database; 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: The step of obtaining activation permission 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 includes: In response to an access operation to the simulation database, reading access configuration information of the simulation database to obtain a device identification; If the access configuration information exists and contains an activation code, verifying whether the activation code matches the device identifier; 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 included in the access configuration information; If the usage duration does not exceed the authorization duration, activation authority information indicating that the simulation database can be activated for use is obtained.

5. The method according to claim 4, characterized in that After the access configuration information of the simulation database is read in response to the access operation to the simulation database and the device identification is obtained, 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.

6. 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.

7. The method according to claim 6, 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.

8. 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, configured to obtain activation authority information of the simulation database in response to an access operation to the simulation database according to a device identifier and access configuration information of the simulation database; 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.

9. 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 7 are implemented.

10. 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 7 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

  • AU2012100567A4