Disclosure of Invention
The invention aims to provide a new energy consumption capability assessment system and an assessment method, which aim to solve the problems that in the prior art, data transmitted for assessing new energy consumption capability is safely transmitted in a form of a secret key and a fixed port, and then assessment of new energy consumption capability is not completed once, and is a long-term process, and because the new energy consumption capability is required to be accurately assessed, the acquired data volume is often large, the acquired data volume is transmitted for a plurality of times based on the larger data volume, the transmission process of the acquired data volume is encrypted by the secret key and the transmission of the acquired data volume is carried out by the fixed port, and leakage and cracking risks are caused under the condition of a plurality of times of use, so the data transmitted is extremely unsafe.
The aim of the invention can be achieved by the following technical scheme:
new energy consumption ability evaluation system includes:
The system comprises a consumption data acquisition module, a storage module and a storage module, wherein the consumption data acquisition module comprises a consumption data acquisition unit and an encryption communication unit;
The consumption data acquisition unit is used for generating evaluation data according to evaluation reference data, wherein the evaluation reference data refer to data used for performing new energy consumption evaluation, and the evaluation reference data are acquired from a plurality of data sources in a target area every other evaluation period and are generated according to the evaluation reference data;
The encryption communication unit is used for screening out high-frequency words with the occurrence frequency of P2 times or more from the evaluation data and obtaining mapping numbers of the corresponding high-frequency words;
Based on all the screened high-frequency words, intercepting a plurality of groups of intercepted data corresponding to the screened high-frequency words from the evaluation data of the current evaluation period, performing AND operation on the plurality of groups of intercepted data corresponding to different high-frequency words by using the corresponding mapping numbers to obtain replacement data of the plurality of groups of intercepted data, and splicing the replacement data according to the data before interception to obtain the evaluation data of the current evaluation period, wherein P2 is a preset occurrence frequency threshold value.
The system comprises a target area, a cloud evaluation module, a storage module and a storage module, wherein the cloud evaluation module is used for evaluating and optimizing new energy consumption capacity of the target area, the cloud evaluation module comprises a decryption communication unit and an evaluation and optimization unit, a data entry mapping table is stored in the encryption communication unit, the decryption communication unit is used for restoring the received evaluation encryption data of the current evaluation period to obtain evaluation restoring data of the current evaluation period, the evaluation and optimization unit is used for inputting the evaluation restoring data into an evaluation model stored in the evaluation and optimization unit to obtain a consumption capacity evaluation result of the current evaluation period of the target area, and the consumption data acquisition module is used for storing and displaying the evaluation restoring data.
Further, the encryption communication unit generates the evaluation encryption data of the current evaluation period, specifically as follows:
S11, traversing all characters in evaluation data of a current evaluation period based on all high-frequency words in a data entry mapping table, and finding out all high-frequency words with occurrence times of at least P2 times, wherein P2 is a preset occurrence times threshold;
S12, traversing each character in the evaluation data of the current evaluation period in sequence from left to right, and intercepting a plurality of groups of intercepted data of all high-frequency words according to a certain interception rule;
S13, marking multiple groups of intercepted data of all high-frequency words as A1, A2, aa and a more than or equal to 1 according to the sequence of the intercepted data of all high-frequency words in the evaluation data of the current evaluation period before intercepting;
s14, obtaining a high-frequency word B1 contained in the A1 and a mapping number C1 in a sequence number field in a data entry mapping table corresponding to the high-frequency word B1, performing binary conversion on data except the high-frequency word B1 in the A1, and recalibrating the converted data into binary conversion data of the A1;
binary conversion is carried out on the high-frequency word B1, and the converted data are recalibrated into binary phase data of A1;
Performing 8-bit binary conversion on the mapping digit C1 corresponding to the high-frequency word B1 in the sequence number field in the data entry mapping table, and recalibrating the converted data into alternative binary data of A1;
Performing AND operation on the binary phase data of A1 and the binary conversion data of A1, wherein the obtained data is calibrated to be phase-phase result data of A1;
s15, replacing and obtaining the terminal replacement data of the A1 according to a certain replacement rule;
And S16, according to S14 to S15, sequentially calculating and obtaining the terminal replacement data of A1, A2, the first and the second, and splicing the terminal replacement data according to the sequence of A1, A2, the first and the second, so as to generate the evaluation encryption data of the current evaluation period.
The new energy consumption capability assessment method comprises the following steps:
The method comprises the steps that firstly, a consumption data acquisition unit acquires evaluation reference data for new energy consumption evaluation from a plurality of data sources in a target area every other evaluation period, generates evaluation data of a current evaluation period according to the evaluation reference data, and transmits the evaluation data to an encryption communication unit, wherein the interval duration of one evaluation period is P1, and the P1 is a preset duration threshold;
The decryption communication unit receives the transmitted evaluation data of the current evaluation period, traverses all characters in a data entry mapping table based on all high-frequency words in the data entry mapping table, finds out all high-frequency words with occurrence times of at least P2 times, refers to the data entry mapping table, finds out mapping numbers corresponding to the high-frequency words, encrypts the evaluation data of the current evaluation period by using the mapping numbers to generate evaluation encryption data of the current evaluation period, and transmits the evaluation encryption data to the decryption communication unit, wherein the P2 is a preset occurrence times threshold value, the data entry mapping table comprises entry fields and sequence number fields, a plurality of high-frequency words are stored in the entry fields, and the mapping numbers are stored in the sequence number fields;
Step three, the encryption communication unit traverses the evaluation encryption data of the current evaluation period after receiving the evaluation encryption data, finds out all high-frequency words contained in the evaluation encryption data of the current evaluation period according to the mapping numbers corresponding to all high-frequency words stored in the data entry mapping table, decrypts the evaluation encryption data of the current evaluation period according to all the found high-frequency words to obtain evaluation restoration data of the current evaluation period, and transmits the evaluation restoration data to the evaluation optimization unit;
The evaluation optimization unit firstly takes the received evaluation restoration data of the current evaluation period as training data to backup, then inputs the training data into an evaluation model to obtain a digestion capability evaluation result of the current evaluation period of the target area, and transmits the digestion capability evaluation result to the digestion data acquisition module;
And fifthly, storing and displaying the received evaluation result of the digestion capability of the current evaluation period of the target area by the digestion data acquisition module.
The invention has the beneficial effects that:
According to the invention, the absorption data acquisition unit is arranged to acquire evaluation reference data for carrying out new energy absorption evaluation from a plurality of data sources in a target area every other evaluation period and generate evaluation data of a current evaluation period, the encryption communication unit intercepts a plurality of groups of intercepted data corresponding to all high-frequency words according to the high-frequency words contained in the evaluation data of the current evaluation period, respectively binary converts and calculates the intercepted data, so that the plurality of groups of final result data contain characteristics of the plurality of high-frequency words, the plurality of groups of final result data are subjected to consistent replacement with the high-frequency words corresponding to the final result data, and character strings consistent with the plurality of characters in the binary-converted high-frequency words are replaced by the high-frequency words, so that on one hand, the evaluation data can have great deviation of result data in the groups due to different types and numbers of the high-frequency words in each evaluation period, the transmission safety of the evaluation data is ensured, on the other hand, the evaluation data are subjected to relevant high-frequency word replacement, the transmitted evaluation data are further compressed, the time of transmission of the valley data in a network is shortened, and the safety of the new energy absorption evaluation data is ensured.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
As shown in fig. 1, the new energy consumption capability evaluation system and the new energy consumption capability evaluation method comprise a consumption data acquisition module and a cloud evaluation module;
The consumption data acquisition module is used for periodically acquiring evaluation reference data for performing new energy consumption evaluation from a plurality of data sources in a target area, wherein the target area can be a city or a specific area, the plurality of data sources in the target area comprise a power station, an electric power department and an energy research institution, and the evaluation reference data comprise new energy capacity data, new energy generating capacity data, electric power system data, electric power consumption data, energy storage facility data and energy market data;
The new energy capacity data comprise power generation installed capacity and power generation capacity of solar photovoltaic power generation and wind power generation, the new energy power generation data comprise actual power generation and predicted power generation data which can be used for evaluating actual consumption conditions and future potential of new energy, the power system data comprise related information such as transmission capacity and stability of a power grid, the data can help evaluate access capacity of the new energy and influence on the stability of a power system, the energy storage facility data comprise related information such as installed capacity and energy storage capacity of various energy storage devices, the energy storage facility can help balance uncertainty of the new energy and improve flexibility of the power system, and the energy market data comprise related data such as price fluctuation, supply-demand relation, policy support and the like of a power market, and the data can be used for evaluating economic feasibility and market prospect of the new energy;
the consumption data acquisition module comprises a consumption data acquisition unit and an encryption communication unit, wherein the consumption data acquisition unit acquires evaluation reference data for new energy consumption evaluation from a plurality of data sources in a target area every other evaluation period, generates evaluation data of a current evaluation period according to the evaluation reference data, and transmits the evaluation data to the encryption communication unit, the interval duration of one evaluation period is P1, and the P1 is a preset duration threshold;
The encryption communication unit is pre-stored with a data entry mapping table, wherein the data entry mapping table comprises an entry field and a sequence number field, a plurality of high-frequency words are stored in the entry field, mapping numbers are stored in the sequence number field, the fact that the mapping numbers in the sequence number field are not repeated, and the high-frequency words in the entry field correspond to the mapping numbers in the sequence number field one by one;
The encryption communication unit receives the evaluation data of the current evaluation period transmitted by the consumption data acquisition unit, generates evaluation encryption data of the current evaluation period according to a certain encryption communication rule, and transmits the evaluation encryption data to the cloud evaluation module, wherein the encryption communication rule is specifically as follows:
S11, traversing all characters in evaluation data of a current evaluation period based on all high-frequency words in a data entry mapping table, and finding out all high-frequency words with occurrence times of at least P2 times, wherein P2 is a preset occurrence times threshold;
S12, sequentially traversing each character in the evaluation data of the current evaluation period according to the sequence from left to right, and intercepting a plurality of groups of intercepted data of all high-frequency words according to a certain interception rule, wherein the specific interception rule is as follows:
S121, when traversing to a first high-frequency word, intercepting all characters in front of the high-frequency word to contain the high-frequency word, and taking the characters as a group of intercepted data of the high-frequency word;
s122, when traversing to the second high-frequency word, intercepting all characters from the first high-frequency word to the front of the second high-frequency word, and taking the characters as a group of intercepted data of the second high-frequency word, wherein the intercepted data comprises the second high-frequency word which does not comprise the first high-frequency word;
s123, according to the steps S121 to S122, intercepting a plurality of groups of intercepted data of all high-frequency words, wherein when traversing to the last high-frequency word, if characters are arranged behind the last high-frequency word, intercepting the characters after the last high-frequency word, and calibrating the characters as intercepted data of the last high-frequency word;
S13, marking multiple groups of intercepted data of all high-frequency words as A1, A2, aa and a more than or equal to 1 according to the sequence of the intercepted data of all high-frequency words in the evaluation data of the current evaluation period before intercepting;
s14, obtaining a high-frequency word B1 contained in the A1 and a mapping number C1 in a sequence number field in a data entry mapping table corresponding to the high-frequency word B1, performing binary conversion on data except the high-frequency word B1 in the A1, and recalibrating the converted data into binary conversion data of the A1;
binary conversion is carried out on the high-frequency word B1, and the converted data are recalibrated into binary phase data of A1;
Performing 8-bit binary conversion on the mapping digit C1 corresponding to the high-frequency word B1 in the sequence number field in the data entry mapping table, and recalibrating the converted data into alternative binary data of A1;
Performing AND operation on the binary phase data of A1 and the binary conversion data of A1, wherein the obtained data is calibrated to be phase-phase result data of A1;
s15, replacing and acquiring the terminal replacement data of the A1 according to a certain replacement rule, wherein the terminal replacement data are specifically as follows:
S151, sequentially splicing the mapping number C1, the mapping numbers 8, 7, 6 and the P3 to generate a first, a second, an 8-P3 replacement character string of A1, wherein the P3 is a preset replacement character number threshold;
S152, according to the sequence from left to right, cutting out a plurality of groups of character strings consistent with the replacement binary data of A1 from the binary phase of A1, and replacing the plurality of groups of character strings with the first replacement character string of A1 in the binary phase of A1 to obtain primary replacement data of A1;
S153, intercepting a plurality of groups of character strings consistent with the first 7 characters of A1 from the primary replacement data of A1 according to the sequence from left to right, and replacing the plurality of groups of character strings with the second replacement character string of A1 from the primary replacement data of A1 to obtain the secondary replacement data of A1;
S154, according to S151 to S153, sequentially replacing the first, second, & gt and 8-P3 replacement character strings of A1 to the first, second, & gt and 1+8-P3 replacement data of A1 to obtain 8-P3 replacement data of A1, and recalibrating the 8-P3 replacement data to be terminal replacement data of A1;
S16, according to S14 to S15, sequentially calculating and obtaining terminal replacement data of A1, A2, the first and the second, and splicing the terminal replacement data according to the sequence of A1, A2, the first and the second, so as to generate evaluation encryption data of a current evaluation period;
The cloud evaluation module is used for evaluating new energy consumption capacity of the target area and comprises a decryption communication unit and an evaluation optimization unit;
The cloud evaluation module receives evaluation encryption data of a current evaluation period transmitted by the encryption communication unit and transmits the evaluation encryption data to the decryption communication unit, a data entry mapping table is stored in the decryption communication unit, and the data entry mapping table in the decryption communication unit and the data stored in the data entry mapping table in the encryption communication unit are identical;
The decryption communication unit receives the evaluation encryption data of the current evaluation period transmitted by the cloud evaluation module, traverses the evaluation encryption data, finds out all high-frequency words contained in the evaluation encryption data of the current evaluation period according to the mapping numbers corresponding to all high-frequency words stored in the data entry mapping table, decrypts the evaluation encryption data of the current evaluation period according to all the found high-frequency words to obtain evaluation restoration data of the current evaluation period, and transmits the evaluation restoration data to the evaluation optimization unit;
The evaluation optimizing unit is used for receiving evaluation restoration data of the current evaluation period transmitted by the decryption communication unit and backing up the evaluation restoration data as training data, so as to optimize and update model parameters of the evaluation model;
Then, the evaluation reduction data of the current evaluation period are input into an evaluation model to evaluate the new energy consumption capability of the target area, so that a consumption capability evaluation result of the current evaluation period is obtained, the evaluation optimization unit transmits the consumption capability evaluation result of the current evaluation period to a consumption data acquisition module, and the consumption data acquisition module stores the consumption capability evaluation result and provides management staff with subsequent checking and new energy consumption capability analysis;
In the description of the present specification, the descriptions of the terms "one embodiment," "example," "specific example," and the like, mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing is merely illustrative and explanatory of the invention, as various modifications and additions may be made to the particular embodiments described, or in a similar manner, by those skilled in the art, without departing from the scope of the invention or exceeding the scope of the invention as defined in the claims.
The foregoing describes one embodiment of the present invention in detail, but the description is only a preferred embodiment of the present invention and should not be construed as limiting the scope of the invention. All equivalent changes and modifications within the scope of the present invention are intended to be covered by the present invention.