Power system relay protection professional learning resource calling method and device with high network security

By relay protection for power system in the power system, and using encryption algorithms and permission matching mechanisms, the problem of low data security of class members' learning auxiliary devices is solved, and high network security of learning and testing functions is achieved and data integrity.

CN118916896APending Publication Date: 2024-11-08GUANGZHOU POWER SUPPLY BUREAU GUANGDONG POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411104747.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In the power system, class members lack effective methods to learn professional knowledge and improve their skills. The existing learning auxiliary devices have the problem of low data security, making it difficult to ensure the safety of learning and testing functions.

Method used

Provide a professional learning resource relay protection method for power system with high network security. By obtaining pre-configured file resources, matching permission information based on account information, using encryption algorithms to encrypt and decrypt file resources to realize the encryption offline interface Synchronize to ensure refined control and personalized demand services for different account groups, and ensure the security and integrity of system data.

Benefits of technology

By setting security levels and assigning permissions for different file resources, the security guarantee of learning and testing functions is achieved, ensuring the security of data during the synchronization process, and improving the security and efficiency of learning auxiliary devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118916896A_ABST
    Figure CN118916896A_ABST
Patent Text Reader

Abstract

The invention relates to a high-network-security power system relay protection professional learning resource calling method and device, computer equipment, a readable storage medium and a computer program product, and relates to the technical field of power systems. The method comprises the following steps: acquiring a pre-configured file resource; in response to a file resource calling request of a target account, account information, carried in the calling request, of the target account is obtained, and permission information corresponding to the account information is obtained through matching; and taking the security level identifier matched with the permission information as a target identifier, and calling a target resource conforming to the target identifier from pre-configured file resources. By adopting the method, the safety of the learning auxiliary device in the process of providing learning and testing functions can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power systems, and in particular to a method, device, computer equipment, computer-readable storage medium and computer program product for retrieving professional learning resources for power system relay protection with high network security. Background Art

[0002] In the power system, the relay protection automation team is the key to maintaining the normal operation of the power grid. Its skill level directly affects the effectiveness of operation and maintenance. The professional technical threshold is high, and the relay protection project also puts forward higher requirements on many aspects such as on-site work quality and rationalization of labor.

[0003] However, the current team members lack effective methods for self-improvement of skills, and it is difficult for them to use their spare time to learn professional knowledge and improve their skills. With the current learning assistance devices, when employees need to learn the knowledge and skills of relay protection, they need to organize and download learning materials by themselves. The data security requirements of relay protection data files are high. Therefore, the current learning assistance devices have the problem of low security. Summary of the invention

[0004] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for retrieving professional learning resources for power system relay protection with high network security, which can ensure the safety of learning auxiliary devices in the process of providing learning and testing functions, in response to the above-mentioned technical problems.

[0005] In a first aspect, the present application provides a method for retrieving learning resources for power system relay protection with high network security. The method comprises:

[0006] Acquire preconfigured file resources; the file resources include knowledge files and test question files of relay protection in power system, each of the file resources carries a security level identifier, and the security level identifier is used to characterize the level of data security requirements of the file resources;

[0007] In response to a request for accessing the file resource from a target account, obtaining account information of the target account carried in the access request, and matching and obtaining permission information corresponding to the account information; the target account is an account with a file resource access requirement, and the permission information is used to describe the types of file resources that the target account is allowed to access;

[0008] The security level identifier that matches the permission information is used as the target identifier, and the target resource that matches the target identifier is retrieved from the preconfigured file resources; the target resource is used for the target account to consult the knowledge file, or to perform a test based on the test question file.

[0009] In one embodiment, before the step of obtaining the account information of the target account carried in the call request, the method further includes:

[0010] Encrypting the preconfigured file resource based on a preset encryption algorithm to obtain an encrypted file resource;

[0011] The encrypted file resources are synchronized to the account terminals corresponding to the target accounts, so that the target accounts can use the account terminals to retrieve the target resources.

[0012] In one of the embodiments, encrypting the preconfigured file resource based on a preset encryption algorithm to obtain the encrypted file resource includes:

[0013] Encrypt the preconfigured file resource according to a first encryption algorithm to obtain a first encrypted file;

[0014] Adding a preset length and timestamp obfuscated data to the first encrypted file, and encrypting the first encrypted file after the addition according to a second encryption algorithm to obtain a second encrypted file;

[0015] The second encrypted file is divided, the divided second encrypted files are reordered and spliced ​​according to a preset order, and the spliced ​​second encrypted file is encrypted according to a third encryption algorithm to obtain the encrypted file resource.

[0016] In one of the embodiments, the step of retrieving a target resource that matches the target identifier from the preconfigured file resource includes:

[0017] Acquire the encrypted file resource that matches the target identifier;

[0018] Decrypting the encrypted file resource based on the first encryption algorithm, the second encryption algorithm, and the third encryption algorithm to obtain a decrypted file resource;

[0019] The target resource is retrieved from the decrypted file resource.

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

[0021] In response to an account creation request of an account to be created, obtaining account information of the account to be created;

[0022] Matching and obtaining the role information corresponding to the account information of the account to be created from at least one preset role information; each role information has the authority information corresponding to the role;

[0023] The permission information corresponding to the role is bound to the account to be created, and the target account is created.

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

[0025] In response to a test task for a set of accounts to be tested, obtaining an account identifier corresponding to each account to be tested input by a test issuing account;

[0026] Determining account members in the set of accounts to be tested according to account identifiers corresponding to the accounts to be tested;

[0027] The test question file in the preconfigured file resource is retrieved as the target resource for the account members in the to-be-tested account set to perform the test.

[0028] In a second aspect, the present application also provides a highly network-safe power system relay protection professional learning resource retrieval device. The device comprises:

[0029] A file resource acquisition module, used to acquire pre-configured file resources; the file resources include knowledge files and test question files of relay protection in power systems, each of which carries a security level identifier, which is used to characterize the level of data security requirements of the file resources;

[0030] a permission information matching module, configured to, in response to a target account's request for accessing the file resource, obtain the target account's account information carried in the access request, and match the permission information corresponding to the account information; the target account is an account with a file resource access requirement, and the permission information is used to describe the types of file resources that the target account is allowed to access;

[0031] A target resource retrieval module is used to use the security level identifier that matches the permission information as a target identifier, and retrieve target resources that match the target identifier from the preconfigured file resources; the target resources are used for the target account to consult the knowledge file, or to perform tests based on the test question file.

[0032] In a third aspect, the present application further provides a computer device. The computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0033] Acquire preconfigured file resources; the file resources include knowledge files and test question files of relay protection in power system, each of the file resources carries a security level identifier, and the security level identifier is used to characterize the level of data security requirements of the file resources;

[0034] In response to a request for accessing the file resource from a target account, obtaining account information of the target account carried in the access request, and matching and obtaining permission information corresponding to the account information; the target account is an account with a file resource access requirement, and the permission information is used to describe the types of file resources that the target account is allowed to access;

[0035] The security level identifier that matches the permission information is used as the target identifier, and the target resource that matches the target identifier is retrieved from the preconfigured file resources; the target resource is used for the target account to consult the knowledge file, or to perform a test based on the test question file.

[0036] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0037] Acquire preconfigured file resources; the file resources include knowledge files and test question files of relay protection in power system, each of the file resources carries a security level identifier, and the security level identifier is used to characterize the level of data security requirements of the file resources;

[0038] In response to a request for accessing the file resource from a target account, obtaining account information of the target account carried in the access request, and matching and obtaining permission information corresponding to the account information; the target account is an account with a file resource access requirement, and the permission information is used to describe the types of file resources that the target account is allowed to access;

[0039] The security level identifier that matches the permission information is used as the target identifier, and the target resource that matches the target identifier is retrieved from the preconfigured file resources; the target resource is used for the target account to consult the knowledge file, or to perform a test based on the test question file.

[0040] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the following steps are implemented:

[0041] Acquire preconfigured file resources; the file resources include knowledge files and test question files of relay protection in power system, each of the file resources carries a security level identifier, and the security level identifier is used to characterize the level of data security requirements of the file resources;

[0042] In response to a request for accessing the file resource from a target account, obtaining account information of the target account carried in the access request, and matching and obtaining permission information corresponding to the account information; the target account is an account with a file resource access requirement, and the permission information is used to describe the types of file resources that the target account is allowed to access;

[0043] The security level identifier that matches the permission information is used as the target identifier, and the target resource that matches the target identifier is retrieved from the preconfigured file resources; the target resource is used for the target account to consult the knowledge file, or to perform a test based on the test question file.

[0044] The above-mentioned high-network security method, device, computer equipment, storage medium and computer program product for retrieving learning resources for the power system relay protection profession first obtains the pre-configured file resources, then responds to the target account's request for retrieving the file resources, obtains the account information of the target account carried in the retrieval request, matches the permission information corresponding to the account information, and finally uses the security level identifier matching the permission information as the target identifier to retrieve the target resource that meets the target identifier from the pre-configured file resources; by setting different security levels for different file resources, assigning different permissions to different accounts, and matching permissions and security levels, the permission allocation for each account is completed, and refined control and personalized demand services for different account groups are realized, thereby ensuring the security and integrity of system data and ensuring the security of the learning assistance device in the process of providing learning and testing functions. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0046] FIG1 is an application environment diagram of a method for retrieving learning resources for power system relay protection with high network security in one embodiment;

[0047] Figure 2 A flowchart of a method for retrieving professional learning resources for power system relay protection with high network security in one embodiment;

[0048] Figure 3 A flowchart of a method for retrieving professional learning resources for power system relay protection with high network security in another embodiment;

[0049] Figure 4It is a structural block diagram of a device for retrieving professional learning resources for power system relay protection with high network security in one embodiment;

[0050] FIG5 is a diagram showing the internal structure of a computer device in one embodiment;

[0051] FIG. 6 is a diagram showing the internal structure of a computer device in another embodiment. DETAILED DESCRIPTION

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

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

[0054] The method for retrieving learning resources for power system relay protection with high network security provided in the embodiment of the present application can be applied in the application environment shown in FIG1 . The terminal 102 communicates with the server 104 through the network.

[0055] The terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. The IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. The portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. The server 104 may be implemented as an independent server or a server cluster consisting of multiple servers.

[0056] In one embodiment, Figure 2 As shown, a method for retrieving learning resources for power system relay protection with high network security is provided, and the method is applied to the terminal 102 in FIG. 1 as an example for explanation, including the following steps:

[0057] S201: Acquire pre-configured file resources.

[0058] Among them, the file resources include knowledge files and test question files of relay protection major in power system. Specifically, the knowledge files can be video teaching files, electronic book files, etc. for relay protection major, and the test question files can be test question and answer analysis files for relay protection major.

[0059] Among them, each file resource carries a security level identifier, which is used to represent the level of data security requirements of the file resource.

[0060] S202, in response to a request for a file resource to be retrieved by a target account, the account information of the target account carried in the request is obtained, and permission information corresponding to the account information is obtained by matching.

[0061] The target account is an account that has a demand for file resource retrieval, for example, an account corresponding to an employee who is to learn professional knowledge of relay protection, or an account corresponding to an employee who is to participate in professional testing of relay protection.

[0062] The retrieval request may be a request instruction sent by the target account to the server, and the request instruction carries account information, such as an account ID, which is used to indicate the identity of the account. In addition, the account information may also include name, mobile phone number, account number, password, associated role ID, initial points, etc.

[0063] The permission information is used to describe the types of file resources that the target account is allowed to access. For example, the permission information may include a unique identifier, a unique representation of a role, a function menu ID, and a data group identifier.

[0064] S203: Use the security level identifier that matches the permission information as the target identifier, and retrieve a target resource that matches the target identifier from pre-configured file resources.

[0065] Among them, the target identifier is the security level identifier that matches the permission information, the target resource is the resource determined to be retrieved, and the target resource is used for the target account to consult the knowledge file or to perform tests according to the test question file.

[0066] In the above-mentioned high-network security method for retrieving learning resources for the power system relay protection profession, the pre-configured file resources are first obtained, and then the target account's request for retrieving the file resources is responded to, the account information of the target account carried in the retrieving request is obtained, and the permission information corresponding to the account information is matched, and finally the security level identifier matching the permission information is used as the target identifier, and the target resource that meets the target identifier is retrieved from the pre-configured file resources; by setting different security levels for different file resources, assigning different permissions to different accounts, and matching permissions and security levels, the permission allocation for each account is completed, and refined control and personalized demand services for different account groups are realized, thereby ensuring the security and integrity of system data and ensuring the security of the learning assistance device in the process of providing learning and testing functions.

[0067] In one embodiment, before the step of obtaining the account information of the target account carried in the retrieval request, the method also includes: encrypting the preconfigured file resources based on a preset encryption algorithm to obtain encrypted file resources; synchronizing the encrypted file resources to the account terminal corresponding to each target account, so that the target account can use the account terminal to retrieve the target resource.

[0068] Among them, the preset encryption algorithm can be a national secret algorithm, such as SM2, SM3, SM4, etc.

[0069] The account terminal corresponding to each target account refers to the terminal used by each account, and the terminal can realize communication with the server to retrieve the resource files in the server.

[0070] Exemplarily, the front and back ends of the device share a public key, and each terminal stores its own different private key. Before synchronizing data, the back end needs to encrypt using the public key, and then the terminal uses the private key to decrypt after receiving the encrypted file.

[0071] In this embodiment, the preconfigured file resources are first encrypted based on a preset encryption algorithm to obtain encrypted file resources, and then the encrypted file resources are synchronized to the account terminal corresponding to each target account, so that the target account can use the account terminal to retrieve the target resource, thereby realizing encrypted offline interface synchronization and ensuring the security of file resources during the data synchronization process.

[0072] In one embodiment, a preconfigured file resource is encrypted based on a preset encryption algorithm to obtain an encrypted file resource, including: encrypting the preconfigured file resource according to a first encryption algorithm to obtain a first encrypted file; adding preset length timestamp obfuscation data to the first encrypted file, encrypting the added first encrypted file according to a second encryption algorithm to obtain a second encrypted file; splitting the second encrypted file, reordering and splicing the split second encrypted files in a preset order, and encrypting the spliced ​​second encrypted file according to a third encryption algorithm to obtain an encrypted file resource.

[0073] The first encryption algorithm may be SM4, the second encryption algorithm may be SM3, and the third encryption algorithm may be SM2. The length timestamp obfuscation data is added to the file to enhance the confusion of the file to improve data security, and the preset order may be a set arrangement order, such as reverse order.

[0074] Exemplarily, the content to be encrypted is encrypted using SM4 to obtain "SM4 (content to be encrypted)", and then the preset length timestamp obfuscation data is added to obtain "SM4 (content to be encrypted) + 10-bit length timestamp obfuscation", and encrypted using SM3 to obtain "SM3 (SM4 (content to be encrypted) + 10-bit length timestamp obfuscation)", which is evenly divided into 4 equal parts and spliced ​​in reverse order, and then encrypted again using SM2 to obtain the final encrypted file resource.

[0075] In this embodiment, the preconfigured file resources are first encrypted according to a first encryption algorithm to obtain a first encrypted file, and then a preset length timestamp obfuscation data is added to the first encrypted file, and the added first encrypted file is encrypted according to a second encryption algorithm to obtain a second encrypted file, and finally the second encrypted file is segmented, and the segmented second encrypted files are reordered and spliced ​​according to a preset order, and the spliced ​​second encrypted file is encrypted according to a third encryption algorithm to obtain an encrypted file resource; the file resources are encrypted multiple times by using multiple encryption algorithms, splicing content is added during the encryption process, and the encrypted content is segmented, sorted and spliced, so as to increase the confusion of the encrypted file, thereby improving the security of the file resources.

[0076] In one embodiment, a target resource that matches a target identifier is retrieved from preconfigured file resources, including: obtaining an encrypted file resource that matches the target identifier; decrypting the encrypted file resource based on a first encryption algorithm, a second encryption algorithm, and a third encryption algorithm to obtain a decrypted file resource; and retrieving the target resource from the decrypted file resource.

[0077] Among them, the first encryption algorithm may be SM4, the second encryption algorithm may be SM3, and the third encryption algorithm may be SM2.

[0078] Exemplarily, after the encrypted content is transmitted to the terminal, the terminal needs to use the private key to perform SM2 decryption, then divide the decrypted content into 4 parts for inverted processing, and then use SM3 and SM4 methods to decrypt them in sequence.

[0079] In this embodiment, an encrypted file resource that matches the target identifier is first obtained, and then the encrypted file resource is decrypted based on the first encryption algorithm, the second encryption algorithm, and the third encryption algorithm to obtain a decrypted file resource. Finally, the target resource is retrieved from the decrypted file resource, and the file resource is decrypted by using multiple encryption algorithms. The spliced ​​content is removed during the decryption process, and the file resource is restored through the inverse process of segmentation, sorting, and splicing, thereby improving the security of the file resource.

[0080] In one embodiment, the method further includes: in response to an account creation request of the account to be created, obtaining account information of the account to be created; matching role information corresponding to the account information of the account to be created from at least one preset role information; binding permission information corresponding to the role to the account to be created, and creating a target account.

[0081] The account creation request may be a request instruction issued by an administrator account to start a creation task.

[0082] The role information may be preset in the system. For example, two roles may be set, a manager role and an employee role. Each role information has permission information corresponding to the role. Generally, the security level corresponding to the permission information of the manager role is higher than that of the employee role.

[0083] Exemplarily, a selection is made from preset roles, and after the selection is completed, an account is created according to the role, and the permissions corresponding to the role are bound to the account, thereby achieving account creation.

[0084] In this embodiment, firstly, in response to an account creation request of an account to be created, account information of the account to be created is obtained, then, from at least one preset role information, role information corresponding to the account information of the account to be created is matched, and finally, permission information corresponding to the role is bound to the account to be created to create a target account; by presetting the role information, it is possible to complete the creation of an account simply by selecting the binding, thereby improving the efficiency of account creation.

[0085] In one embodiment, the method further includes: in response to a test task for the account set to be tested, obtaining the account identifiers corresponding to each account to be tested input by the test issuing account; determining the account members in the account set to be tested according to the account identifiers corresponding to each account to be tested; and retrieving a test question file in a preconfigured file resource as a target resource for testing the account members in the account set to be tested.

[0086] The account set to be tested refers to the collection of accounts to be tested by the test questions, for example, the accounts of employees of a department, wherein each account to be tested is an account member.

[0087] In this embodiment, the account identifiers of each account are grouped and added to determine each member of the account set to be tested, and then the test question file for each member of the account set to be tested is released, thereby improving the efficiency of testing the target account.

[0088] In another embodiment, Figure 3 As shown, a method for retrieving learning resources for power system relay protection major with high network security is provided, comprising the following steps:

[0089] S301: Encrypt a preconfigured file resource according to a first encryption algorithm to obtain a first encrypted file.

[0090] S302, adding a preset length and timestamp obfuscated data to the first encrypted file, and encrypting the added first encrypted file according to a second encryption algorithm to obtain a second encrypted file.

[0091] S303, split the second encrypted file, reorder and splice the split second encrypted files according to a preset order, encrypt the spliced ​​second encrypted file according to a third encryption algorithm, and obtain an encrypted file resource.

[0092] S304, obtaining the encrypted file resource that matches the target identifier.

[0093] S305: Decrypt the encrypted file resource based on the first encryption algorithm, the second encryption algorithm, and the third encryption algorithm to obtain a decrypted file resource.

[0094] S306, obtaining the target resource from the decrypted file resource.

[0095] It should be noted that the specific limitations of the above steps can be found in the specific limitations of a method for retrieving learning resources for a professional relay protection for power systems with high network security, which will not be repeated here.

[0096] In one embodiment, the relay protection automation team in the power system is the key to maintaining the normal operation of the power grid, and its skill level directly affects the effectiveness of operation and maintenance work. The professional technical threshold is high, and the relay protection project also puts forward higher requirements on the quality of on-site work and rationalization of labor. However, the current team members lack effective methods for self-improvement of skills, and it is difficult to use their spare time to learn professional knowledge and improve their skills.

[0097] In other embodiments, the learning assistance device focuses more on the hardware development or improvement of the device itself, the learning assistance software has general functions, all content is connected online, there is no complete management system, and there is a lack of learning content related to relay protection professional knowledge.

[0098] Based on this, the present application provides a method for retrieving learning resources for the power system relay protection profession with high network security. The following describes in detail the method for retrieving learning resources for the power system relay protection profession with high network security with a specific embodiment. It is worth understanding that the following description is only an exemplary description and not a specific limitation to the application.

[0099] The method for retrieving learning resources for power system relay protection major with high network security provided by this application is applicable to a power system relay protection automation learning evaluation auxiliary device with high network security. It adopts the offline security mode of test questions to ensure the security of test questions and the user's test experience, involving multiple links of system engineering. The test question content is synchronized to the device through the SM2, SM3, and SM4 national secret encryption offline interfaces to realize the local offline test question function.

[0100] The highly secure learning resource retrieval method for power system relay protection provided in this application has the following three innovations in its solution ideas: (1) establishing an encryption authorization mechanism, (2) realizing encryption offline interface synchronization, and (3) completing the local test question practice function.

[0101] Among them, the encryption method specifically includes: the front and back ends of the device share the public key, and each saves its own different private key. The content to be encrypted is divided into 4 parts evenly using SM3 (SM4 (content to be encrypted) + 10-bit timestamp confusion), spliced ​​in reverse order, and then encrypted again through SM2.

[0102] In addition, after the encrypted content is transmitted to the terminal, the terminal needs to use the private key for SM2 decryption, then divide the decrypted content into 4 parts for inverted processing, and then use SM3 and SM4 methods to decrypt them in sequence.

[0103] It should be noted that the secure encryption and decryption processing method provided in this application can improve encryption security by changing the encryption order, splitting and reversing equal parts, and fixed-length obfuscated character strings according to actual needs.

[0104] Among them, in terms of realizing encrypted offline interface synchronization, this application is equipped with a management machine (also known as a server), a terminal and an encryption module. After the encryption module encrypts the data, the encrypted data is synchronized through the intranet and synchronized to the terminals used by each employee. In addition, it should be noted that each terminal can have the function of Internet communication, and the Internet communication function can only be used for account login operations, thereby avoiding the terminal from leaking the file resources involved in this application through the Internet communication function, and ensuring the security of the data.

[0105] The high-security learning resource retrieval method for power system relay protection provided by this application adopts a hierarchical authorization and multi-user collaborative management mechanism. Specifically, the account-related information involved includes role information, authority information, and account information, wherein the role information includes: unique identification, role number, role name, and role description; the authority information includes: unique identification, role unique representation, function menu ID, and data grouping identification; the account information includes: unique identification, name, mobile phone number, account number, password, associated role identification, and initial points.

[0106] The authorization process of roles and accounts includes at least two stages: role creation and account authorization. In the role creation stage, different roles need to be set up in advance and role permissions need to be configured for different roles, so that role creation can be selected from preset roles. After the selection is completed, an account is created based on the role, and the permissions corresponding to the role are bound to the account, thereby realizing account creation.

[0107] The highly network-secure method for retrieving learning resources for the power system relay protection profession provided in this application sets up an offline encryption and synchronization mechanism for materials and test questions, ensuring the security of the file resource content; and is equipped with a complete management mechanism to achieve refined control and personalized demand services for different account groups, ensuring the security and integrity of system data, forming a set of learning evaluation auxiliary devices tailored for grassroots professional teams.

[0108] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0109] Based on the same inventive concept, the embodiment of the present application also provides a device for retrieving professional learning resources for electric power system relay protection with high network security, which is used to implement the above-mentioned method for retrieving professional learning resources for electric power system relay protection with high network security. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in the embodiments of one or more devices for retrieving professional learning resources for electric power system relay protection with high network security provided below can refer to the limitations of the method for retrieving professional learning resources for electric power system relay protection with high network security in the above text, and will not be repeated here.

[0110] In one embodiment, Figure 4 As shown, a highly secure power system relay protection professional learning resource retrieval device is provided, comprising: a file resource acquisition module 401, an authority information matching module 402, and a target resource retrieval module 403, wherein:

[0111] The file resource acquisition module 401 is used to acquire pre-configured file resources; the file resources include knowledge files and test question files of relay protection in power systems, and each file resource carries a security level identifier, which is used to indicate the level of data security requirements of the file resource;

[0112] The permission information matching module 402 is used to respond to the target account's request for retrieving file resources, obtain the target account's account information carried in the request, and match the account information to obtain the permission information corresponding to the account information; the target account is an account with a file resource retrieving requirement, and the permission information is used to describe the types of file resources that the target account is allowed to retrieve;

[0113] The target resource retrieval module 403 is used to use the security level identifier that matches the permission information as the target identifier, and retrieve the target resource that matches the target identifier from the pre-configured file resources; the target resource is used for the target account to consult the knowledge file, or to perform tests based on the test question file.

[0114] In one embodiment, the device is used to: encrypt preconfigured file resources based on a preset encryption algorithm to obtain encrypted file resources; synchronize the encrypted file resources to the account terminal corresponding to each target account, so that the target account can use the account terminal to retrieve the target resource.

[0115] In one embodiment, the device is used to: encrypt a preconfigured file resource according to a first encryption algorithm to obtain a first encrypted file; add preset length timestamp obfuscation data to the first encrypted file, encrypt the added first encrypted file according to a second encryption algorithm to obtain a second encrypted file; split the second encrypted file, reorder and splice the split second encrypted files in a preset order, and encrypt the spliced ​​second encrypted file according to a third encryption algorithm to obtain an encrypted file resource.

[0116] In one embodiment, the device is used to: obtain an encrypted file resource that matches a target identifier; decrypt the encrypted file resource based on a first encryption algorithm, a second encryption algorithm, and a third encryption algorithm to obtain a decrypted file resource; and retrieve the target resource from the decrypted file resource.

[0117] In one embodiment, the device is used to: in response to an account creation request of an account to be created, obtain account information of the account to be created; match and obtain role information corresponding to the account information of the account to be created from at least one preset role information; each role information has permission information corresponding to the role; bind the permission information corresponding to the role to the account to be created, and create a target account.

[0118] In one embodiment, the device is used to: in response to a test task for a set of accounts to be tested, obtain the account identifiers corresponding to each account to be tested input by the test issuing account; determine the account members in the set of accounts to be tested based on the account identifiers corresponding to each account to be tested; and retrieve the test question file in the preconfigured file resources as the target resource for the account members in the set of accounts to be tested to perform the test.

[0119] Each module in the above-mentioned high-security power system relay protection professional learning resource retrieval device can be fully or partially implemented by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the corresponding operations of the above modules.

[0120] In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG5. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for retrieving learning resources for power system relay protection with high network security is realized.

[0121] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG6. 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 via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via 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 may be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for retrieving learning resources for power system relay protection major with high network security is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device.

[0122] Those skilled in the art will understand that the structures shown in FIGS. 5 and 6 are merely block diagrams of partial structures related to the scheme of the present application, and do not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than those shown in the figures, or combine certain components, or have a different arrangement of components.

[0123] In one embodiment, a computer device includes a memory and a processor. The memory stores a computer program. When the processor executes the computer program, the steps in the above method embodiments are implemented.

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

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

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

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

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

Claims

1. A method for retrieving learning resources for power system relay protection major with high network security, characterized in that: The method comprises: Acquire preconfigured file resources; the file resources include knowledge files and test question files of relay protection in power system, each of the file resources carries a security level identifier, and the security level identifier is used to characterize the level of data security requirements of the file resources; In response to a request for accessing the file resource from a target account, obtaining account information of the target account carried in the access request, and matching and obtaining permission information corresponding to the account information; the target account is an account with a file resource access requirement, and the permission information is used to describe the types of file resources that the target account is allowed to access; The security level identifier that matches the permission information is used as the target identifier, and the target resource that matches the target identifier is retrieved from the preconfigured file resources; the target resource is used for the target account to consult the knowledge file, or to perform a test based on the test question file.

2. The method according to claim 1, characterized in that: Before the step of obtaining the account information of the target account carried in the call request, the method further includes: Encrypting the preconfigured file resource based on a preset encryption algorithm to obtain an encrypted file resource; The encrypted file resources are synchronized to the account terminals corresponding to the target accounts, so that the target accounts can use the account terminals to retrieve the target resources.

3. The method according to claim 2, characterized in that The step of encrypting the preconfigured file resource based on a preset encryption algorithm to obtain the encrypted file resource includes: Encrypt the preconfigured file resource according to a first encryption algorithm to obtain a first encrypted file; Adding a preset length and timestamp obfuscated data to the first encrypted file, and encrypting the first encrypted file after the addition according to a second encryption algorithm to obtain a second encrypted file; The second encrypted file is divided, the divided second encrypted files are reordered and spliced ​​according to a preset order, and the spliced ​​second encrypted file is encrypted according to a third encryption algorithm to obtain the encrypted file resource.

4. The method according to claim 3, characterized in that The step of retrieving a target resource that matches the target identifier from the preconfigured file resource includes: Acquire the encrypted file resource that matches the target identifier; Decrypting the encrypted file resource based on the first encryption algorithm, the second encryption algorithm, and the third encryption algorithm to obtain a decrypted file resource; The target resource is retrieved from the decrypted file resource.

5. The method according to claim 1, characterized in that The method further comprises: In response to an account creation request of an account to be created, obtaining account information of the account to be created; Matching and obtaining the role information corresponding to the account information of the account to be created from at least one preset role information; each role information has the authority information corresponding to the role; The permission information corresponding to the role is bound to the account to be created, and the target account is created.

6. The method according to claim 1, characterized in that The method further comprises: In response to a test task for a set of accounts to be tested, obtaining an account identifier corresponding to each account to be tested input by a test issuing account; Determining account members in the set of accounts to be tested according to account identifiers corresponding to the accounts to be tested; The test question file in the preconfigured file resource is retrieved as the target resource for the account members in the to-be-tested account set to perform the test.

7. A highly secure power system relay protection professional learning resource retrieval device, characterized in that: The device comprises: A file resource acquisition module, used to acquire pre-configured file resources; the file resources include knowledge files and test question files of relay protection in power systems, each of which carries a security level identifier, which is used to characterize the level of data security requirements of the file resources; a permission information matching module, configured to, in response to a target account's request for accessing the file resource, obtain the target account's account information carried in the access request, and match the permission information corresponding to the account information; the target account is an account with a file resource access requirement, and the permission information is used to describe the types of file resources that the target account is allowed to access; A target resource retrieval module is used to use the security level identifier that matches the permission information as a target identifier, and retrieve target resources that match the target identifier from the preconfigured file resources; the target resources are used for the target account to consult the knowledge file, or to perform tests based on the test question file.

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

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

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