Electric charge income prediction method based on big data model
By dividing the associated acquisition transmitters into one category and constructing a data table, the problem of data anomalies caused by environmental changes and data transmission path interference in electricity revenue prediction is solved, and accurate prediction of electricity revenue and user electricity demand are achieved. accurate understanding.
Patent Information
- Application Number
- CN202410820471.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing technology, electricity revenue prediction is due to environmental changes in collecting electricity data and interference from multiple data transmission paths, resulting in data anomalies, irregularities, and missing data, resulting in electricity revenue prediction deviations and making it impossible to achieve accurate predictions.
By dividing the terminal collection transmitters associated with electricity data, electricity price information, user types, weather conditions, economic environment, policy factors and market competition factors into one category, connect the same information receiving end, and build a transmitter data table and information detection tables to achieve data synchronization and analysis to ensure the accuracy and stability of data transmission.
It greatly reduces the interference fluctuation of the collection transmitter caused by environmental changes and multiple data transmission channels, improves the accuracy and stability of data transmission, improves the accuracy of electricity revenue prediction, and achieves the final accurate prediction, which can be more accurate. Accurately understand users’ electricity needs and habits and provide personalized services.
Smart Images

Figure CN118735581A_ABST
Abstract
Description
Technical Field
[0001] The present invention discloses an electricity fee income prediction method based on a big data model, and specifically relates to the field of big data model processing. Background Art
[0002] Accurate prediction of electricity bill inflow is of vital importance in the current context. Accurate prediction of electricity bill inflow can provide strong economic decision-making support for the State Grid. The State Grid can plan its investment, operation and maintenance activities based on the prediction results, thereby optimizing resource allocation and improving operational efficiency. Electricity bill income is one of the main sources of income for the State Grid. Through accurate prediction, it can more effectively manage its financial risks, such as cash flow forecasting, bad debt risk, etc., so as to make more informed decisions.
[0003] Since the collected electricity data is based on different environmental changes, and multiple data transmission channels will also cause the collection transmitter to be subject to corresponding interference fluctuations, resulting in a series of problems such as anomalies in the data transmission of the collection transmitter, including the middle of the data channel, abnormal data, and missing data, which will lead to serious deviations in the electricity bill revenue forecast and make it impossible to achieve the final accurate forecast.
[0004] Therefore, the present invention proposes a method for predicting electricity bill revenue based on a big data model. Summary of the invention
[0005] In order to solve the deficiencies in the prior art, the present invention provides an electricity bill revenue prediction and processing method which divides terminal collection transmitters associated with electricity quantity data, electricity price information, user type, weather conditions, economic environment, policy factors, technological progress, and market competition factors into one category according to the properties of similar transmitters, and connects transmitters with the same properties to the same information receiving terminal to achieve accurate prediction of monthly electricity bill revenue.
[0006] The present invention adopts the following technical solution.
[0007] The present invention provides a method for predicting electricity fee income based on a big data model, comprising the following steps:
[0008] S1: Before executing data prediction, terminal collection transmitters associated with power data, electricity price information, user type, weather conditions, economic environment, policy factors, technological progress, and market competition factors are divided into one category according to similar transmitter properties. Transmitters with the same properties are connected to the same information receiving end, and transmitter data table C and information detection table X are constructed respectively;
[0009] S2: Each transmitter sends data information to the information receiving end synchronously and uninterruptedly, and the information receiving end analyzes and calculates the received data information to obtain 17+N bits of binary data;
[0010] S3: Each transmitter sends the monitoring information to the information receiving end synchronously and uninterruptedly, and the information receiving end analyzes the received monitoring information at the same time;
[0011] S4: The information analysis end receives the information from the information receiving end and analyzes the received information;
[0012] S5: The information analysis end synchronously detects the signal data receiving status and performs analysis and calculation.
[0013] In a further preferred embodiment of the present invention, step S1 specifically comprises:
[0014] The table C registers the relevant data of each terminal acquisition transmitter. One acquisition transmitter data information corresponds to a row of information in table C, including: acquisition transmitter number, corresponding information receiving end, information bit number, minimum accuracy. The acquisition transmitter number only represents the associated acquisition transmitter. Different acquisition transmitter numbers represent different transmitters. The corresponding integer is selected in table C for recording, and the value selection must be ≥128; the corresponding information receiving end includes the number of the information receiving end that receives the monitoring information sent by the acquisition transmitter. The number of the information receiving end is unique and is also recorded in table C using an integer; the information bit number includes the number of bits in binary representation of the monitoring value sent by the acquisition transmitter; the minimum accuracy represents the minimum error allowed for the monitoring information of the acquisition transmitter, expressed in f loat shape is recorded in Table C; the table X synchronously records the status of the information analysis end for the monitoring values transmitted by the collection transmitter. The information collection related status of a collection transmitter is recorded in a row of data in Table X, including: the collection transmitter number, the counter value, the counter refers to the counter into which the data is transmitted, the counter value is the row number of the data collected by the collection transmitter, and 1 is taken as the current original value. From the start of the collection transmitter, when the transmitter is transmitted with data once, the counter value is added to the current value by one. At the same time, the maximum upper limit of the counter value is 256. If the counter value is >256, it is necessary to start counting from the original value 1 again. All the counters corresponding to the received data of all transmitters are recorded in Table X, and the counters corresponding to abnormal and missing errors are not included in the table.
[0015] In a further preferred embodiment of the present invention, step S2 specifically comprises:
[0016] Each transmitter sends data information to the information receiving end synchronously and uninterruptedly. The information receiving end analyzes and calculates the received data information at the same time to obtain 17+N bits of binary data. The value of the letter N represents the number of bits of the monitoring value converted into binary. The value of N is determined by the collected information data; the binary data bits are divided, 1 to 8 bits are the number of the acquisition transmitter; 9 to 16 bits are the counter value; the 17th bit is represented as the positive and negative mark bit, that is, the sign of the monitoring value, the bit value is 0 for positive numbers and 1 for negative numbers; the remaining 18 to 17+N bits are used to store the monitoring values corresponding to the data collected by the transmitter; the information receiving end stores the information that has been processed accordingly. In each transmitter, the number of information items that the information receiving end can save is ≤256. If the number of information items saved by the information receiving end exceeds the upper limit of 256, the information data with the same counter value will be reloaded and copied starting from the 257th data updated at the most recent time point.
[0017] In a further preferred embodiment of the present invention, step S3 specifically comprises:
[0018] Each transmitter sends the monitoring information to the information receiving end synchronously and uninterruptedly. The information receiving end analyzes the received monitoring information at the same time, and performs splicing and grouping of all the collected transmitter data that have been processed and analyzed, including: information physical quantity 1, information physical quantity 2, ..., information physical quantity n, calibration bit, the calibration bit, whose capacity is one bit, verifies the accuracy of the information received by the information analysis end; the information receiving end sends the spliced data to the information analysis end through the data path A based on the frequency H Hz, specifically including H Hz, that is, the number of times data is transmitted outward in 1 second is H times, and the value of H is usually determined by the highest frequency value among information physical quantity 1, information physical quantity 2, ..., information physical quantity n. When the information receiving end transmits the information, the corresponding bit without the latest signal data input will be set to 0.
[0019] In a further preferred embodiment of the present invention, step S4 specifically comprises:
[0020] All information analysis terminals receive information from information receiving terminals. The information from information receiving terminals is sent to information analysis terminals through data path 1. Information analysis terminals further analyze the received information:
[0021] S4-1: After the information analysis end receives data in real time, it will verify whether the information data received by the information analysis end is accurate based on the even parity method. If the data is abnormal, an error will be reported and related calculations will be suspended; if the data is normal and accurate, the next calculation will be performed;
[0022] S4-2: Divide and interpret the acquisition transmitter number, and use integers to represent the 1 to 8 bits to get the acquisition transmitter number. Compare the acquired acquisition transmitter number with the data in Table C. This step obtains the number of information bits and the minimum accuracy that the transmitter matches, represented by the letters n and w.
[0023] S4-3: Analyze and interpret the counter, and the 9th to 16th bits are also represented by integers to obtain the value of the counter, represented by the letter s1. In Table X, according to the number of the acquisition transmitter obtained in the previous step, search for the highest counter value in the corresponding transmitter that has received data, represented by the letter α, and then perform rounding operation, β = [α / 256], that is, β is the calculated value of the integer part of α / 256, and the final value of the counter is s2 = s1 + 265 × β. At the same time, the counter value s2 of the corresponding transmitter is added to the table in Table X;
[0024] S4-4: Analyze the monitoring value in detail. The remaining 18 to 17+N binary numbers are represented by integers as data γ. Then the monitoring value h is the product of the integer γ and the minimum accuracy w. Note that h = γ × w. If the value of the 17th bit is 1, then the monitoring value h = -1 × γ × w. At the same time, the calculated monitoring value h is synchronously updated and sent to the detection platform.
[0025] S4-5: According to the steps S4-2 to S4-4, the calculation is continued from the 18+Nth bit. When the 18+Nth bit has a zero value, the calculation is continued from the 19+Nth bit, the 20+Nth bit, ..., until a bit that is not 0 appears, and then the corresponding calculation is restarted.
[0026] In a further preferred embodiment of the present invention, step S5 specifically comprises:
[0027] The information analysis end synchronously detects the signal data reception status and performs analysis and calculation. If it encounters information that is not received in time, it takes the following processing steps:
[0028] S5-1: After each update of Table X, all the information in Table X will be queried to detect whether the table has received data information with abnormal reception. The data traversal method is adopted: first, traverse each data in Table X, and use the number of the acquisition transmitter as a node to identify the status of the corresponding data path 2 and data path 3 of the transmitter. If it is determined to be in use, the corresponding calculation will be suspended; if it is determined to be not in use, then the next step of calculation can be performed, and the highest counter value in the received data of the transmitter is found, and it is represented by S3. Secondly, all integers are selected in the row of the transmitter in the table. The integers are included in the integer point interval from 0 to the highest counter value s3. Select all the integers that have not been stored in Table X. This integer collection is represented by Z, Z = (Z1, Z2, ..., Zt) where all elements in Z are positive integers;
[0029] S5-2: The information analysis terminal performs operations on all positive integer elements in set Z to obtain 8×(t+1) bits of binary data, where t represents the number of all positive integer elements in set Z, bits 1 to 8 are the serial numbers of the acquisition transmitters, and eight bits from the 9th bit are grouped together and correspond to an element in set Z until every element in set Z is covered;
[0030] S5-3: The information analysis end transmits the corresponding converted binary data to the information receiving end associated with the transmitter via data path 2. The information receiving end performs an analysis operation on the transmitted information. At the same time, based on the acquisition transmitter number and the counter value obtained by the analysis, the corresponding storage data is screened in the data saved in the relevant information receiving end. The screened storage data is represented in binary. At the same time, all the screened storage data matching the requirements are grouped and spliced. The specific form of each group splicing is: the information of counter 1, ..., the information of counter 2, and the calibration bit. The information receiving end sends the grouped and spliced data to the information analysis end via data path 3 according to certain groups. If the storage data consistent with the condition requirements are screened out, the group calculation is implemented: assuming that v1 is the number of storage data consistent with the condition requirements, the maximum number of storage data sent by the information receiving end via data path 3 is recorded as v2, and the frequency of group sending is recorded as v3, that is, v3 = [v1 / v2] + 1, [v1 / v2] takes the integer block of the value of v1 / v2;
[0031] S5-4: The information receiving end sends data to the information analyzing end via the data path 3. The information analyzing end receives all the data sent by the information receiving end. The information analyzing end analyzes and calculates the data sent by the information receiving end according to the processing and calculation method of S4.
[0032] According to a further preferred embodiment of the present invention, the transmitter properties include the frequency of information collection by the transmitter, the type of data collected and the transmission method.
[0033] A further preferred embodiment of the present invention is that the data path 2 and the data path 3 include two situations: non-use and use. The information analysis end sends data via the data path 2 and ends at the moment when the relevant data is received via the data path 3. During this time span, the data path 2 and the data path 3 are both in use. After the information analysis end receives the relevant data via the data path 3, the use status of the data path 2 and the data path 3 ends and is changed to non-use, waiting for the next information to be transmitted.
[0034] The beneficial effect of the present invention is that, compared with the prior art, the present invention can greatly reduce the probability of interference fluctuations in the collection transmitter caused by environmental changes and multiple data transmission paths, thereby ensuring the correctness and stability of data transmission, avoiding a series of problems such as abnormal data and missing data, improving the accuracy of electricity revenue forecasts, and achieving the final accurate forecast. Relevant personnel can plan investment, operation and maintenance activities based on accurate forecast results, thereby optimizing resource allocation and improving operating efficiency, and can more accurately understand users' electricity demand and habits, thereby providing more accurate and personalized services, which can not only improve customer satisfaction, but also promote long-term development. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 A working diagram of an electricity revenue prediction method based on a big data model;
[0036] Figure 2 This is a module diagram of an electricity bill revenue prediction method based on a big data model. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical scheme and advantages of the present invention clearer, the technical scheme of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. The embodiments described in this application are only part of the embodiments of the present invention, not all of them. Based on the spirit of the present invention, other embodiments obtained by ordinary technicians in this field without creative work are all within the scope of protection of the present invention.
[0038] The present invention provides an electricity fee income prediction method based on a big data model, wherein a data acquisition transmitter acquires data synchronously and continuously and sends relevant monitoring information to an information receiving end, and at the same time, an information analysis end is connected to the information receiving end, and the information receiving end analyzes and processes the transmitted monitoring information, and sends the processed monitoring information to the information analysis end through a data path; the function of the information analysis end includes receiving information transmitted from all information receiving ends, and checking in real time whether the corresponding data information is missing or abnormal, and at the same time, transmitting the data information to a detection platform, and the detection platform promptly parses and represents the transmitted data information; the function of the data path includes constructing data interaction between the information analysis end and the information receiving end, and the information analysis end realizes information interaction and transmission with all information receiving ends through the data path, and at the same time, the information analysis end Three communication channels will be established with each information receiving end. The data channel 1 includes the information receiving end synchronously sending the latest updated information collected by the transmitter to the information analysis end. The data channel 2 includes the information analysis end sending the relevant resend request to the information receiving end. The channel 3 includes the information receiving end sending the resend information to the information analysis end after receiving the request. Data channel 2 and data channel 3 include two situations: non-use and use. The information analysis end sends data through data channel 2 and ends when the relevant data is received through data channel 3. During this time span, data channel 2 and data channel 3 are both in use. After the information analysis end receives the relevant data through data channel 3, the use status of data channel 2 and data channel 3 ends and changes to non-use, waiting for the next information to be transmitted.
[0039] refer to Figure 1 and Figure 2 The present invention provides a method for predicting electricity fee income based on a big data model, comprising the following steps:
[0040] S1: Before executing data prediction, the terminal collection transmitters associated with the electricity data, electricity price information, user type, weather conditions, economic environment, policy factors, technological progress, and market competition factors are divided into a category according to the properties of similar transmitters. Transmitters with the same properties are connected to the same information receiving end, and transmitter data table C and information detection table X are constructed respectively; the table C registers the relevant data of each terminal collection transmitter, and one collection transmitter data information corresponds to a row of information in table C, including: collection transmitter number, corresponding information receiving end, information bit number, minimum accuracy, the collection transmitter number only represents the associated collection transmitter, different collection transmitter numbers represent different transmitters, and the corresponding integer is selected in table C for recording, and the value selection must be ≥128; the corresponding information receiving end includes the number of the information receiving end that receives the monitoring information sent by the collection transmitter, the number of the information receiving end is unique, and an integer is also selected for recording in table C; the number of information bits Including the number of bits represented by binary number for the monitoring value sent by the acquisition transmitter; the minimum accuracy represents the minimum error allowed for the monitoring information of the acquisition transmitter, which is recorded in float form in Table C; the table X synchronously records the status of the monitoring value transmitted by the acquisition transmitter by the information analysis end. The information collection related status of a collection transmitter is recorded in a row of data in Table X, including: the acquisition transmitter number and the counter value. The counter refers to the counter of the transmitted data, and the counter value is the row number of the data collected by the acquisition transmitter. 1 is taken as the current original value. From the start of the acquisition transmitter, when the transmitter is transmitted with data once, the counter value is added to the current value by one. At the same time, the maximum upper limit of the counter value is 256. If the counter value is >256, it is necessary to start counting again from the original value 1. All counters corresponding to the received data of all transmitters are recorded in Table X, and the counters corresponding to abnormal and missing errors are not included in the table.
[0041] Embodiment 1 of the present invention provides an electricity fee income prediction method based on a big data model, taking two collection transmitters, named transmitter No. 1 and transmitter No. 2, transmitter No. 1 is used to collect the electricity price factor corresponding to the electricity factor of a household, and transmitter No. 2 is used to collect the current electricity usage. Transmitter No. 1 and transmitter No. 2 are simultaneously associated with information receiving terminal No. 3, and the relevant information of transmitter No. 1 is recorded in Table C according to the format: the collection transmitter number represented by the integer 145, the integer 6 represents the corresponding information receiving terminal number is 6, the number of this information bits is 10 bits, and the minimum accuracy is 0.1 gross / kW·h; similarly, transmitter No. 2 records the information in Table C according to the corresponding format: the collection transmitter number No. 2 is 146, the integer 6 represents the corresponding information receiving terminal number is 6, the number of this information bits is 13 bits, and the minimum accuracy is 1kW·h.
[0042] S2: Each transmitter sends data information to the information receiving end synchronously and uninterruptedly. The information receiving end analyzes and calculates the received data information at the same time to obtain 17+N bits of binary data. The value of the letter N represents the number of bits of the monitoring value converted into binary. The value of N is determined by the collected information data; the binary data bits are divided, 1 to 8 bits are the number of the acquisition transmitter; 9 to 16 bits are the counter value; the 17th bit is represented as the positive and negative mark bit, that is, the sign of the monitoring value, the bit value is 0 for positive numbers and 1 for negative numbers; the remaining 18 to 17+N bits are used to store the monitoring values corresponding to the data collected by the transmitter; the information receiving end stores the information that has been processed accordingly. In each transmitter, the number of information items that the information receiving end can save is ≤256. If the number of information items saved by the information receiving end exceeds the upper limit of 256, the information data with the same counter value will be reloaded and copied starting from the 257th data updated at the most recent time point.
[0043] Embodiment 2 of the present invention provides a method for predicting electricity bill income based on a big data model. Transmitter No. 1 collects a household's electricity factor corresponding to an electricity price factor of 10mao / kW·h. Transmitter No. 2 collects the current electricity usage of 50kW·h. Information receiving end No. 3 analyzes the signal data transmitted by transmitter No. 1 to obtain binary data with 27 bits of information, which is 100100011000001000001100100. Bits 1 to 8 are 10010001, that is, transmitter No. 1 ... The transmitter number, here continuing the embodiment 1, 10010001 is represented by an integer as 145, that is, the transmitter number registered in Table C is 145; 10000010 occupies 9 to 16 bits as the counter value, 10000010 is represented by an integer as 130, representing the 130th information data collected by transmitter No. 1; the 17th bit is represented as a positive and negative mark bit, and the current value is 0; 0001100100 occupies the 18th to 27th bits to record the corresponding data collected by transmitter No. 1 The monitoring value corresponds to an electric value of 10. By expressing the result of 10 / 0.1 in binary, the minimum accuracy recorded in Table C is 0.1. The No. 3 information receiving end analyzes and calculates the data collected by the No. 2 transmitter, and can obtain binary data with an information bit number of 30 bits, which is 100100101101110000000000110010. The 1st to 8th bit is 10010010, which is the No. 2 collection transmitter number. Here, 100100 in Example 1 is continued. 10 is represented by an integer as 146, that is, the transmitter number registered in Table C is 146; 11011100 occupies 9 to 16 bits as the counter value, 11011100 is represented by an integer as 220, representing the 220th information data collected by transmitter No. 2; the 17th bit is represented as the positive and negative mark bit, and the current value is 0; 0000000110010 occupies the 18th to 30th bits to record the monitoring values corresponding to the data collected by transmitter No. 2, and the corresponding collected power value is 50.
[0044] S3: Each transmitter sends the monitoring information to the information receiving end synchronously and uninterruptedly. The information receiving end analyzes the received monitoring information at the same time, and performs splicing and grouping of all the collected transmitter data that have been processed and analyzed, including: information physical quantity 1, information physical quantity 2, ..., information physical quantity n, calibration bit, the calibration bit, whose capacity is one bit, verifies the accuracy of the information received by the information analysis end; the information receiving end sends the spliced data to the information analysis end through the data path A based on the frequency H Hz, specifically including H Hz, that is, the number of times data is transmitted outward in 1 second is H times, and the value of H is usually determined by the highest frequency value among information physical quantity 1, information physical quantity 2, ..., information physical quantity n. When the information receiving end transmits the information, the corresponding bit without the latest signal data input will be set to 0.
[0045] Embodiment 3 of the present invention provides an electricity fee income prediction method based on a big data model, and information receiving end No. 3 performs the following splicing and grouping on the information data of transmitter No. 1 and transmitter No. 2: 1001000110000010000011001001001001011011100000000001100101, specifically, bits 1 to 27 are the 130th information data collected by transmitter No. 1, and the corresponding collected electricity value is 10, bits 28 to 57 are the 220th information data collected by transmitter No. 2, and the corresponding collected electricity value is 50. The calibration bit occupies the last bit, and the parity check method is adopted. This implementation adopts the even check, and the calibration bit is set to 1 based on ensuring that the number of occurrences of 1 in the queue composed of information data is an even number.
[0046] S4: All information analysis terminals receive information from the information receiving terminal. The information from the information receiving terminal is sent to the information analysis terminal through data path 1. The information analysis terminal further analyzes the received information:
[0047] S4-1: After the information analysis end receives data in real time, it will verify whether the information data received by the information analysis end is accurate based on the even parity method. If the data is abnormal, an error will be reported and related calculations will be suspended; if the data is normal and accurate, the next calculation will be performed;
[0048] S4-2: Divide and interpret the acquisition transmitter number, and use integers to represent the 1 to 8 bits to get the acquisition transmitter number. Compare the acquired acquisition transmitter number with the data in Table C. This step obtains the number of information bits and the minimum accuracy that the transmitter matches, represented by the letters n and w.
[0049] S4-3: Analyze and interpret the counter, and the 9th to 16th bits are also represented by integers to obtain the value of the counter, represented by the letter s1. In Table X, according to the number of the acquisition transmitter obtained in the previous step, search for the highest counter value in the corresponding transmitter that has received data, represented by the letter α, and then perform rounding operation, β = [α / 256], that is, β is the calculated value of the integer part of α / 256, and the final value of the counter is s2 = s1 + 265 × β. At the same time, the counter value s2 of the corresponding transmitter is added to the table in Table X;
[0050] S4-4: Analyze the monitoring value in detail. The remaining 18 to 17+N binary numbers are represented by integers as data γ. Then the monitoring value h is the product of the integer γ and the minimum accuracy w. Note that h = γ × w. If the value of the 17th bit is 1, then the monitoring value h = -1 × γ × w. At the same time, the calculated monitoring value h is synchronously updated and sent to the detection platform.
[0051] S4-5: According to the steps S4-2 to S4-4, the calculation is continued from the 18+Nth bit. When the 18+Nth bit has a zero value, the calculation is continued from the 19+Nth bit, the 20+Nth bit, ..., until a bit that is not 0 appears, and then the corresponding calculation is restarted.
[0052] Embodiment 4 of the present invention provides a method for predicting electricity fee income based on a big data model. The information analysis terminal receives information transmitted by the information receiving terminal No. 3.
[0053] 1001000110000010000011001001001001011011100000000001100101. After receiving the information, the number of 1s in the received information data is first checked according to the even parity method stipulated by both parties. If the number of 1s in this queue is an even number, it means that the transmission between the two parties is normal and the information data is intact. Then, based on the correct verification, the information analysis end performs the next operation on the received information. 1 to 8 bits 10010001 is represented by an integer of 145, and 145 is the number of transmitter No. 1. The obtained acquisition transmitter number 145 is used to search Table C to find that the number of bits of the information is 10 and the minimum accuracy is 0.1. At the same time, the obtained acquisition transmitter number is used again in Table X to search for the corresponding transmitter that has received data. The highest counter value in the transmitter is tentatively set to be 155; 9 to 16 bits 10000010 is represented by an integer of 130, which is the counter value, and then the rounding operation is performed: [155 / 256] = 0, the final counter value is 130+256×0=130, and the corresponding latest counter value 130 of transmitter No. 1 is added to the table in Table X; 0001100100 occupies 18 to 27 bits (calculated by 17+10), which is represented by an integer of 100, then the monitoring information data of transmitter No. 1 is the product of 100 and the minimum accuracy 0.1, that is, 100×0.1=10; repeat the above steps, and from the 28th bit, the corresponding data of transmitter No. 2 can also be analyzed.
[0054] S5: The information analysis terminal synchronously detects the signal data reception status and performs analysis and calculation. If it encounters information that is not received in time, it takes the following processing steps:
[0055] S5-1: After each update of Table X, all the information in Table X will be queried to detect whether the table has received data information with abnormal reception. The data traversal method is adopted: first, traverse each data in Table X, and use the number of the acquisition transmitter as a node to identify the status of the corresponding data path 2 and data path 3 of the transmitter. If it is determined to be in use, the corresponding calculation will be suspended; if it is determined to be not in use, then the next step of calculation can be performed, and the highest counter value in the received data of the transmitter is found, and it is represented by S3. Secondly, all integers are selected in the row of the transmitter in the table. The integers are included in the integer point interval from 0 to the highest counter value s3. Select all the integers that have not been stored in Table X. This integer collection is represented by Z, Z = (Z1, Z2, ..., Zt) where all elements in Z are positive integers;
[0056] S5-2: The information analysis terminal performs operations on all positive integer elements in set Z to obtain 8×(t+1) bits of binary data, where t represents the number of all positive integer elements in set Z, bits 1 to 8 are the serial numbers of the acquisition transmitters, and eight bits from the 9th bit are grouped together and correspond to an element in set Z until every element in set Z is covered;
[0057] S5-3: The information analysis end transmits the corresponding converted binary data to the information receiving end associated with the transmitter via data path 2. The information receiving end performs an analysis operation on the transmitted information. At the same time, based on the acquisition transmitter number and the counter value obtained by the analysis, the corresponding storage data is screened in the data saved in the relevant information receiving end. The screened storage data is represented in binary. At the same time, all the screened storage data matching the requirements are grouped and spliced. The specific form of each group splicing is: the information of counter 1, ..., the information of counter 2, and the calibration bit. The information receiving end sends the grouped and spliced data to the information analysis end via data path 3 according to certain groups. If the storage data consistent with the condition requirements are screened out, the group calculation is implemented: assuming that v1 is the number of storage data consistent with the condition requirements, the maximum number of storage data sent by the information receiving end via data path 3 is recorded as v2, and the frequency of group sending is recorded as v3, that is, v3 = [v1 / v2] + 1, [v1 / v2] takes the integer block of the value of v1 / v2;
[0058] S5-4: The information receiving end sends data to the information analyzing end via the data path 3. The information analyzing end receives all the data sent by the information receiving end. The information analyzing end analyzes and calculates the data sent by the information receiving end according to the processing and calculation method of S4.
[0059] Embodiment 5 of the present invention provides a method for predicting electricity bill income based on a big data model. The information analysis end analyzes and calculates the information transmitted by the No. 3 information receiving end. The corresponding latest value of the No. 1 transmitter counter obtained by Embodiment 4 is 130. The information analysis end queries all the information in Table X. The No. 1 transmitter can find the No. 3 information receiving end connected to it, and then the status of the data path 2 and the data path 3 associated with the No. 3 information receiving end can be determined. It is determined that both are not in use, and then the next step of calculation can be performed. The counter value in the received data of the transmitter is found to have the highest counter value of the above-mentioned saved value 130, and then an integer is selected in Table X, requiring the integer to be included in the integer point interval (0,130). Select all the integer collections that have not been stored in Table X. If the collection that meets the requirements is (12 8,129), then the implied information is that the 128 and 129 data information of transmitter No. 1 are abnormally received by the information analysis end. The information analysis end converts the above-mentioned set into binary 100100011000000010000001, 1 to 8 bits 11000110 is represented by an integer as 145, 145 is the number of transmitter No. 1, 9 to 16 bits 10000000 is represented by an integer as 128, and 17 to 24 bits 10000001 is represented by an integer as 129; the information analysis end transmits the information 100100011000000010000001 to the information receiving end No. 3 via data path 2, and performs corresponding calculation operations. At the same time, the information that is missing or needs to be resent needs to be transmitted to the information analysis end via data path 3, and relevant processing is performed again to ensure the accuracy of the final data.
[0060] The beneficial effect of the present invention is that, compared with the prior art, the present invention can greatly reduce the probability of interference fluctuations in the collection transmitter caused by environmental changes and multiple data transmission paths, thereby ensuring the correctness and stability of data transmission, avoiding a series of problems such as abnormal data and missing data, improving the accuracy of electricity revenue forecasts, and achieving the final accurate forecast. Relevant personnel can plan investment, operation and maintenance activities based on accurate forecast results, thereby optimizing resource allocation and improving operating efficiency, and can more accurately understand users' electricity demand and habits, thereby providing more accurate and personalized services, which can not only improve customer satisfaction, but also promote long-term development.
[0061] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents, and any modifications or equivalent replacements that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for predicting electricity bill revenue based on big data model, It is characterized in that The following steps are involved: S1: Before executing data prediction, terminal collection transmitters associated with various variable factors are divided into one category according to similar transmitter properties. Transmitters with the same properties are connected to the same information receiving end, and transmitter data table C and information detection table X are constructed respectively; S2: Each transmitter sends data information to the information receiving end synchronously and uninterruptedly, and the information receiving end analyzes and calculates the received data information to obtain 17+N bits of binary data; S3: Each transmitter sends the monitoring information to the information receiving end synchronously and uninterruptedly, and the information receiving end analyzes the received monitoring information at the same time; S4: The information analysis end receives the information from the information receiving end and analyzes the received information; S5: The information analysis end synchronously detects the signal data receiving status and performs analysis and calculation.
2. According to the method for predicting electricity fee income based on big data model in claim 1, It is characterized in that The step S1 further comprises: The variable factors include electricity data, electricity price information, user type, weather conditions, economic environment, policy factors, technological progress, and market competition factors; The table C registers the relevant data of each terminal acquisition transmitter. One acquisition transmitter data information corresponds to a row of information in table C, including: acquisition transmitter number, corresponding information receiving end, information bit number, minimum accuracy. The acquisition transmitter number only represents the associated acquisition transmitter. Different acquisition transmitter numbers represent different transmitters. The corresponding integer is selected in table C for recording, and the value selection must be ≥128; the corresponding information receiving end includes the number of the information receiving end that receives the monitoring information sent by the acquisition transmitter. The number of the information receiving end is unique and is also recorded in table C using an integer; the number of information bits includes the number of bits in binary representation of the monitoring value sent by the acquisition transmitter; the minimum accuracy represents the minimum error allowed for the monitoring information of the acquisition transmitter, and is recorded in float form in table C; The table X synchronously records the status of the monitoring values transmitted by the collection transmitter by the information analysis end. The information collection status of a collection transmitter is recorded in a row of data in Table X, including: the collection transmitter number and the counter value. The counter refers to the counter into which the data is transmitted. The counter value is the row number of the data collected by the collection transmitter. 1 is taken as the current original value. From the start of the collection transmitter, when the transmitter is transmitted with data once, the counter value is added to the current value by one. At the same time, the maximum upper limit of the counter value is 256. If the counter value is >256, it is necessary to start counting again from the original value 1. All the counters corresponding to the received data of all transmitters are recorded in Table X. The counters corresponding to abnormal, missing or erroneous data are not included in the table.
3. According to the method for predicting electricity fee income based on big data model in claim 1, It is characterized in that The step S2 further comprises: Each transmitter sends data information to the information receiving end synchronously and uninterruptedly. The information receiving end analyzes and calculates the received data information at the same time to obtain 17+N bits of binary data. The value of the letter N represents the number of bits of the monitoring value converted into binary. The value of N is determined by the collected information data; the binary data bits are divided, 1 to 8 bits are the number of the acquisition transmitter; 9 to 16 bits are the counter value; the 17th bit is represented as the positive and negative mark bit, that is, the sign of the monitoring value, the bit value is 0 for positive numbers and 1 for negative numbers; the remaining 18 to 17+N bits are used to store the monitoring values corresponding to the data collected by the transmitter; the information receiving end stores the information that has been processed accordingly. In each transmitter, the number of information items that the information receiving end can save is ≤256. If the number of information items saved by the information receiving end exceeds the upper limit of 256, the information data with the same counter value will be reloaded and copied starting from the 257th data updated at the most recent time point.
4. According to the method for predicting electricity fee income based on big data model in claim 1, It is characterized in that The step S3 further comprises: S3: Each transmitter sends the monitoring information to the information receiving end synchronously and uninterruptedly. The information receiving end analyzes the received monitoring information at the same time, and performs splicing and grouping of all the collected transmitter data that have been processed and analyzed, including: information physical quantity 1, information physical quantity 2, ..., information physical quantity n, calibration bit, the calibration bit, whose capacity is one bit, verifies the accuracy of the information received by the information analysis end; the information receiving end sends the spliced data to the information analysis end through the data path A based on the frequency H Hz, specifically including H Hz, that is, the number of times data is transmitted outward in 1 second is H times, and the value of H is usually determined by the highest frequency value among information physical quantity 1, information physical quantity 2, ..., information physical quantity n. When the information receiving end transmits the information, the corresponding bit without the latest signal data input will be set to 0.
5. The method for predicting electricity fee income based on a big data model according to claim 1, It is characterized in that The step S4 further comprises: All information analysis terminals receive information from information receiving terminals. The information from information receiving terminals is sent to information analysis terminals through data path 1. Information analysis terminals further analyze the received information: S4-1: After the information analysis end receives data in real time, it will verify whether the information data received by the information analysis end is accurate based on the even parity method. If the data is abnormal, an error will be reported and related calculations will be suspended; if the data is normal and accurate, the next calculation will be performed; S4-2: Divide and interpret the acquisition transmitter number, and use integers to represent the 1 to 8 bits to get the acquisition transmitter number. Compare the acquired acquisition transmitter number with the data in Table C. This step obtains the number of information bits and the minimum accuracy that the transmitter matches, represented by the letters n and w. S4-3: Analyze and interpret the counter, and the 9th to 16th bits are also represented by integers to obtain the value of the counter, represented by the letter s1. In Table X, according to the number of the acquisition transmitter obtained in the previous step, search for the highest counter value in the corresponding transmitter that has received data, represented by the letter α, and then perform rounding operation, β = [α / 256], that is, β is the calculated value of the integer part of α / 256, and the final value of the counter is s2 = s1 + 265 × β. At the same time, the counter value s2 of the corresponding transmitter is added to the table in Table X; S4-4: Analyze the monitoring value in detail. The remaining 18 to 17+N binary numbers are represented by integers as data γ. Then the monitoring value h is the product of the integer γ and the minimum accuracy w. Note that h = γ × w. If the value of the 17th bit is 1, then the monitoring value h = -1 × γ × w. At the same time, the calculated monitoring value h is synchronously updated and sent to the detection platform. S4-5: According to the steps S4-2 to S4-4, the calculation is continued from the 18+Nth bit. When the 18+Nth bit has a zero value, the calculation is continued from the 19+Nth bit, the 20+Nth bit, ..., until a bit that is not 0 appears, and then the corresponding calculation is restarted.
6. The method for predicting electricity fee income based on a big data model according to claim 1, It is characterized in that The step S5 further comprises: The information analysis end synchronously detects the signal data reception status and performs analysis and calculation. If it encounters information that is not received in time, it takes the following processing steps: S5-1: After each update of Table X, all the information in Table X will be queried to detect whether the table has received data information with abnormal reception. The data traversal method is adopted: first, traverse each data in Table X, and use the number of the acquisition transmitter as a node to identify the status of the corresponding data path 2 and data path 3 of the transmitter. If it is determined to be in use, the corresponding calculation will be suspended; if it is determined to be not in use, then the next step of calculation can be performed, and the highest counter value in the received data of the transmitter is found, and it is represented by S3. Secondly, all integers are selected in the row of the transmitter in the table. The integers are included in the integer point interval from 0 to the highest counter value s3. Select all the integers that have not been stored in Table X. This integer collection is represented by Z, Z = (Z1, Z2, ..., Zt) where all elements in Z are positive integers; S5-2: The information analysis terminal performs operations on all positive integer elements in set Z to obtain 8×(t+1) bits of binary data, where t represents the number of all positive integer elements in set Z, bits 1 to 8 are the serial numbers of the acquisition transmitters, and eight bits from the 9th bit are grouped together and correspond to an element in set Z until every element in set Z is covered; S5-3: The information analysis end transmits the corresponding converted binary data to the information receiving end associated with the transmitter via data path 2. The information receiving end performs an analysis operation on the transmitted information. At the same time, based on the acquisition transmitter number and the counter value obtained by the analysis, the corresponding storage data is screened in the data saved in the relevant information receiving end. The screened storage data is represented in binary. At the same time, all the screened storage data matching the requirements are grouped and spliced. The specific form of each group splicing is: the information of counter 1, ..., the information of counter 2, and the calibration bit. The information receiving end sends the grouped and spliced data to the information analysis end via data path 3 according to certain groups. If the storage data consistent with the condition requirements are screened out, the group calculation is implemented: assuming that v1 is the number of storage data consistent with the condition requirements, the maximum number of storage data sent by the information receiving end via data path 3 is recorded as v2, and the frequency of group sending is recorded as v3, that is, v3 = [v1 / v2] + 1, [v1 / v2] takes the integer block of the value of v1 / v2; S5-4: The information receiving end sends data to the information analyzing end via the data path 3. The information analyzing end receives all the data sent by the information receiving end. The information analyzing end analyzes and calculates the data sent by the information receiving end according to the processing and calculation method of S4.
7. The method for predicting electricity fee income based on a big data model according to claim 5, Features: The transmitter synchronously and uninterruptedly sends the relevant monitoring information to the information receiving end, and the information receiving end analyzes and processes the transmitted monitoring information, and sends the processed monitoring information to the information analysis end through the data path; the function of the information analysis end includes receiving all information transmitted from the information receiving end, and checking in real time whether the corresponding data information is missing or abnormal, and at the same time, the data information will be transmitted to the detection platform, and the detection platform will promptly parse and represent the transmitted data information.
8. The method for predicting electricity fee income based on a big data model according to claim 6, Features: The function of the data path includes building data interaction between the information analysis end and the information receiving end. The information analysis end realizes information interaction and transmission with all information receiving ends through the data path. At the same time, the information analysis end and each information receiving end will build three communication channels. The data path 1 includes the information receiving end synchronously sending the latest updated information collected by the transmitter to the information analysis end, the data path 2 includes the information analysis end sending the relevant retransmission request to the information receiving end, and the channel 3 includes the information receiving end sending the retransmission information to the information analysis end after receiving the request.
9. The method for predicting electricity fee income based on a big data model according to claim 1, Features: The transmitter properties include the frequency at which the transmitter collects information, the type of data collected, and the transmission method.
10. The method for predicting electricity fee income based on a big data model according to claim 6, Features: The data path 2 and data path 3 include two situations: non-use and use. The information analysis end sends data through data path 2 and ends when the relevant data is received through data path 3. During this time span, both data path 2 and data path 3 are in use. After the information analysis end receives relevant data through data path 3, the use status of data path 2 and data path 3 ends and changes to non-use, waiting for the next information to be transmitted.
