Electric power data analysis method based on intelligent label
Through intelligent tag library and word frequency analysis, the problem of inefficiency caused by too much information in power operation reports is solved, key content can be quickly extracted, and work efficiency is improved.
Patent Information
- Application Number
- CN202411259419.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-10
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Power operation reports contain a large amount of information, making it difficult for users to extract important information in a short period of time, reducing work efficiency.
The power data analysis method based on smart tags is used to generate a smart power tag library, determine key analysis segments and analysis results, and fill the tag library with word frequencies and synonyms to ensure a sufficient number of samples and improve the accuracy of analysis.
It effectively improves users' reading efficiency and work efficiency when reading power operation reports, ensuring the accuracy and representativeness of key content extracted.
Smart Images

Figure CN118780503A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power data analysis, and in particular relates to a power data analysis method based on smart tags. Background Art
[0002] Due to the complex investment environment, high technical content, wide coverage and large amount of funds, power engineering projects need to draw power operation reports in a timely manner to summarize power data. The annual operation mode report corresponding to the power data is a guiding technical document for power grid dispatching, power grid construction and power grid production management. It determines the general principles of power system operation, construction and production this year, and provides a decision-making basis for the power grid's electricity plan, equipment maintenance, power grid construction and dispatching operation this year. A scientific and reasonable annual operation mode report is an important guarantee for the safe and stable operation of the power grid. The drawn power operation report contains a lot of information. When reading the power operation report, users cannot obtain important information in the power operation report in a short time, which reduces the efficiency of users extracting important power data, thereby reducing work efficiency. Summary of the invention
[0003] In order to solve the above problems, the present invention proposes a power data analysis method based on smart tags.
[0004] The technical solution of the present invention is: a power data analysis method based on smart tags comprises the following steps:
[0005] S1. Obtain a power operation report and generate a smart power tag library based on the power operation report;
[0006] S2. Determine the key analysis segments of the power operation report based on the intelligent power tag library;
[0007] S3. Determine the analysis results of the power operation report based on the key analysis segments of the power operation report.
[0008] Furthermore, S1 includes the following sub-steps:
[0009] S11. Determine the minimum number of tags in the intelligent power tag library according to the number of paragraphs and words in the power operation report;
[0010] S12, parsing the power operation report to generate an initial power label library;
[0011] S13, judging whether the actual tag quantity of the initial power tag library is greater than or equal to the minimum tag quantity, if so, taking the initial power tag library as the intelligent power tag library, otherwise, proceeding to S14;
[0012] S14, in the initial power label library, all words are arranged in descending order according to the frequency of words in the power operation report, and the synonyms of each word are determined in turn according to the arrangement order, and then enter S15;
[0013] S15. Fill the synonyms of each word into the initial power label library in descending order of word frequency until the actual label quantity of the initial power label library is equal to the minimum label quantity, thereby generating a smart power label library.
[0014] The beneficial effect of the above further scheme is: in the present invention, the power operation report contains more content, so the number of tags contained in the smart power tag library needs to be limited. If the number of tags is too low and the sample size is insufficient, the smart power tag library is not representative, and the key analysis segments used to extract are not accurate enough. Therefore, the present invention limits the final tag quantity according to the number of paragraphs and words in the power operation report itself. When the actual number of tags in the initial power tag library is insufficient, synonyms are used to fill it to ensure that the number of samples in the smart power tag library is sufficient, which can effectively improve the accuracy of the key analysis segments. In S14, the synonyms of each word can be determined by existing algorithms (such as word2vector).
[0015] Furthermore, in S11, the calculation formula for the minimum tag quantity n of the smart power tag library is:
[0016] ; In the formula, Indicates the number of paragraphs in the power operation report. Indicates the number of words in the power operation report, Indicates maximum value operation.
[0017] Furthermore, S12 includes the following sub-steps:
[0018] S121, removing all stop words in the power operation report, and taking the word with the highest frequency in each paragraph of the power operation report as a priori word sequence;
[0019] S122, constructing a parsing model for the power operation report, inputting each paragraph into the parsing model, and obtaining a parsing value for each paragraph;
[0020] S123, generating a parsing matrix of the power operation report according to the prior word sequence and the parsing value of each paragraph;
[0021] S124. All words whose word vector values are greater than the maximum eigenvalue of the parsing matrix are used as a smart power tag library.
[0022] Further, in S122, the expression of analytical model A is:
[0023] ; In the formula, Indicates the first The word vector of each word, Indicates the total number of words in the paragraph, represents the maximum value operation, Represents the minimum operation.
[0024] Furthermore, in S123, the calculation formula of the analytical matrix Z of the power operation report is:
[0025] ; In the formula, In the formula, Represents the word vector value of the word belonging to the first paragraph in the prior word sequence, Indicates that the prior word sequence belongs to The word vector value of the words in the paragraph, Represents the parsed value of the first paragraph, Indicates The parsed value of a paragraph.
[0026] Furthermore, S2 includes the following sub-steps:
[0027] S21, determining the tag support between each paragraph in the power operation report and the intelligent power tag library;
[0028] S22. Determine the key analysis segments of the power operation report according to the tag support between each paragraph and the intelligent power tag library.
[0029] The beneficial effect of the above further scheme is: in the present invention, each paragraph of the power operation report is matched with the smart power tag library, and the paragraphs with a high degree of word overlap with the smart power tag library are used as key analysis segments, which facilitates the subsequent extraction of keywords of the key analysis segments.
[0030] Furthermore, in S21, the tag support S between the kth paragraph and the smart power tag library is k The calculation formula is:
[0031] ; In the formula, Indicates the first The word in The number of times a paragraph appears, Indicates The number of words in a paragraph, Indicates the number of words in the smart power tag library.
[0032] Further, S22 includes the following sub-steps:
[0033] S221, performing a rounding operation on all label supports to obtain a number of label support integers;
[0034] S222. All paragraphs whose tag support integer is greater than or equal to 1 are taken as key analysis segments.
[0035] Furthermore, in S3, the keywords of each paragraph contained in the key analysis segment are used as the analysis result of the power operation report.
[0036] The beneficial effects of the present invention are as follows: in the present invention, an intelligent power label library is constructed for the drawn power operation report, the intelligent power label library contains many relatively important contents, and the label quantity of the intelligent power label library is limited, which effectively avoids the situation that the intelligent power label library is not representative due to the low sample size; in addition, the present invention uses the intelligent power label library to match each paragraph of the power operation report, effectively screens the key analysis segments, and uses the keywords of the key analysis segments as the final analysis results, so that users can quickly and timely grab the key content to read when obtaining the power operation report, thereby improving reading efficiency and work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 The flowchart of the power data analysis method based on smart tags. DETAILED DESCRIPTION
[0038] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings.
[0039] like Figure 1 As shown, the present invention provides a power data analysis method based on smart tags, comprising the following steps:
[0040] S1. Obtain a power operation report and generate a smart power tag library based on the power operation report;
[0041] S2. Determine the key analysis segments of the power operation report based on the intelligent power tag library;
[0042] S3. Determine the analysis results of the power operation report based on the key analysis segments of the power operation report.
[0043] In this embodiment of the present invention, S1 includes the following sub-steps:
[0044] S11. Determine the minimum number of tags in the intelligent power tag library according to the number of paragraphs and words in the power operation report;
[0045] S12, parsing the power operation report to generate an initial power label library;
[0046] S13, judging whether the actual tag quantity of the initial power tag library is greater than or equal to the minimum tag quantity, if so, taking the initial power tag library as the intelligent power tag library, otherwise, proceeding to S14;
[0047] S14, in the initial power label library, all words are arranged in descending order according to the frequency of words in the power operation report, and the synonyms of each word are determined in turn according to the arrangement order, and then enter S15;
[0048] S15. Fill the synonyms of each word into the initial power label library in descending order of word frequency until the actual label quantity of the initial power label library is equal to the minimum label quantity, thereby generating a smart power label library.
[0049] In the present invention, the power operation report contains a lot of content, so the number of tags contained in the smart power tag library needs to be limited. If the number of tags is too low and the sample size is insufficient, the smart power tag library will not be representative, and the key analysis segments extracted will not be accurate enough. Therefore, the present invention limits the final tag quantity according to the number of paragraphs and words in the power operation report itself. When the actual number of tags in the initial power tag library is insufficient, synonyms are used to fill it to ensure that the number of samples in the smart power tag library is sufficient, which can effectively improve the accuracy of the key analysis segments. In S14, the synonyms of each word can be determined by existing algorithms (such as word2vector).
[0050] In the embodiment of the present invention, in S11, the calculation formula of the minimum tag quantity n of the smart power tag library is:
[0051] ; In the formula, Indicates the number of paragraphs in the power operation report. Indicates the number of words in the power operation report, Indicates the maximum value operation.
[0052] In this embodiment of the present invention, S12 includes the following sub-steps:
[0053] S121, removing all stop words in the power operation report, and taking the word with the highest frequency in each paragraph of the power operation report as a priori word sequence;
[0054] S122, constructing a parsing model for the power operation report, inputting each paragraph into the parsing model, and obtaining a parsing value for each paragraph;
[0055] S123, generating a parsing matrix of the power operation report according to the prior word sequence and the parsing value of each paragraph;
[0056] S124. All words whose word vector values are greater than the maximum eigenvalue of the parsing matrix are used as a smart power tag library.
[0057] In the embodiment of the present invention, in S122, the expression of the analytical model A is:
[0058] ; In the formula, Indicates the first The word vector of each word, Indicates the total number of words in the paragraph, represents the maximum value operation, Represents the minimum operation.
[0059] In the embodiment of the present invention, in S123, the calculation formula of the analytical matrix Z of the power operation report is:
[0060] ; In the formula, Represents the word vector value of the word belonging to the first paragraph in the prior word sequence, Indicates that the prior word sequence belongs to The word vector value of the words in the paragraph, Represents the parsed value of the first paragraph, Indicates The parsed value of a paragraph.
[0061] In this embodiment of the present invention, S2 includes the following sub-steps:
[0062] S21, determining the tag support between each paragraph in the power operation report and the intelligent power tag library;
[0063] S22. Determine the key analysis segments of the power operation report according to the tag support between each paragraph and the intelligent power tag library.
[0064] In the present invention, each paragraph of the power operation report is matched with the intelligent power tag library, and the paragraphs with a high degree of word overlap with the intelligent power tag library are used as key analysis segments, so as to facilitate the subsequent extraction of keywords of the key analysis segments.
[0065] In the embodiment of the present invention, in S21, the tag support S between the kth paragraph and the smart power tag library k The calculation formula is:
[0066] ; In the formula, Indicates the first The word in The number of times a paragraph appears, Indicates The number of words in a paragraph, Indicates the number of words in the smart power tag library.
[0067] In this embodiment of the present invention, S22 includes the following sub-steps:
[0068] S221, performing a rounding operation on all label supports to obtain a number of label support integers;
[0069] S222. All paragraphs whose tag support integer is greater than or equal to 1 are taken as key analysis segments.
[0070] In the embodiment of the present invention, in S3, the keywords of each paragraph contained in the key analysis segment are used as the analysis result of the power operation report.
[0071] Those skilled in the art will appreciate that the embodiments described herein are intended to help readers understand the principles of the present invention, and should be understood that the protection scope of the present invention is not limited to such specific statements and embodiments. Those skilled in the art can make various other specific variations and combinations that do not deviate from the essence of the present invention based on the technical revelations disclosed by the present invention, and these variations and combinations are still within the protection scope of the present invention.
Claims
1. A power data analysis method based on smart tags, characterized in that: The following steps are involved: S1. Obtain a power operation report and generate a smart power tag library based on the power operation report; S2. Determine the key analysis segments of the power operation report based on the intelligent power tag library; S3. Determine the analysis results of the power operation report based on the key analysis segments of the power operation report.
2. The power data analysis method based on smart tags according to claim 1 is characterized in that: The S1 comprises the following sub-steps: S11. Determine the minimum number of tags in the intelligent power tag library according to the number of paragraphs and words in the power operation report; S12, parsing the power operation report to generate an initial power label library; S13, judging whether the actual tag quantity of the initial power tag library is greater than or equal to the minimum tag quantity, if so, taking the initial power tag library as the intelligent power tag library, otherwise, proceeding to S14; S14, in the initial power label library, all words are arranged in descending order according to the frequency of words in the power operation report, and the synonyms of each word are determined in turn according to the arrangement order, and then enter S15; S15. Fill the synonyms of each word into the initial power label library in descending order of word frequency until the actual label quantity of the initial power label library is equal to the minimum label quantity, thereby generating a smart power label library.
3. The power data analysis method based on smart tags according to claim 2 is characterized in that: In S11, the calculation formula for the minimum tag quantity n of the smart power tag library is: ; In the formula, Indicates the number of paragraphs in the power operation report. Indicates the number of words in the power operation report, Indicates the maximum value operation.
4. The power data analysis method based on smart tags according to claim 2 is characterized in that: The S12 comprises the following sub-steps: S121, removing all stop words in the power operation report, and taking the word with the highest frequency in each paragraph of the power operation report as a priori word sequence; S122, constructing a parsing model for the power operation report, inputting each paragraph into the parsing model, and obtaining a parsing value for each paragraph; S123, generating a parsing matrix of the power operation report according to the prior word sequence and the parsing value of each paragraph; S124. All words whose word vector values are greater than the maximum eigenvalue of the parsing matrix are used as a smart power tag library.
5. The power data analysis method based on smart tags according to claim 4 is characterized in that: In S122, the expression of analytical model A is: ; In the formula, Indicates the first The word vector of each word, Indicates the total number of words in the paragraph, represents the maximum value operation, Represents the minimum operation.
6. The power data analysis method based on smart tags according to claim 4 is characterized in that: In S123, the calculation formula of the analytical matrix Z of the power operation report is: ; In the formula, Represents the word vector value of the word belonging to the first paragraph in the prior word sequence, Indicates the first word in the prior word sequence The word vector value of the words in the paragraph, Represents the parsed value of the first paragraph, Indicates The parsed value of a paragraph.
7. The power data analysis method based on smart tags according to claim 1 is characterized in that: The S2 comprises the following sub-steps: S21, determining the tag support between each paragraph in the power operation report and the intelligent power tag library; S22. Determine the key analysis segments of the power operation report according to the tag support between each paragraph and the intelligent power tag library.
8. The power data analysis method based on smart tags according to claim 7 is characterized in that: In S21, the tag support S between the kth paragraph and the smart power tag library k The calculation formula is: ; In the formula, Indicates the first The word in The number of times a paragraph appears, Indicates The number of words in a paragraph, Indicates the number of words in the smart power tag library.
9. The power data analysis method based on smart tags according to claim 7 is characterized in that: The S22 comprises the following sub-steps: S221, performing a rounding operation on all label supports to obtain a number of label support integers; S222. All paragraphs whose tag support integer is greater than or equal to 1 are taken as key analysis segments.
10. The power data analysis method based on smart tags according to claim 1, characterized in that: In S3, the keywords of each paragraph contained in the key analysis segment are used as the analysis result of the power operation report.
Citation Information
Patent Citations
Voice lexicon screening method
CN102760436A
Text characteristic modeling method and device for network security reports
CN107368592A
A method and storage medium for extracting abstracts based on feature keywords of electric power industry
CN109522402A
Data processing method and device
CN111611390A
Near-synonym lexicon construction method and system, electronic device and computer readable medium
CN115392225A
