An intelligent method and system for electricity inspection
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-12
- Publication Date
- 2026-08-14
AI Technical Summary
为了全面且深入地开展用电检查工作,精准地掌握用户的用电行为特征并进行有效的分析评估,获取用户详细而准确的电力数据成为了首要任务,然而,尽管电力数据在用电检查工作中的重要性日益凸显,但现有技术在电力数据的传输环节却面临着严峻的安全挑战;
本发明通过周期性对目标区域内若干用电用户的用电数据进行采集,用电数据传输管理端对用电数据进行加工转换得到用电管理数据,其中在生成用电管理数据的过程中基于由用电管理数据得到的每一个加工数组,对加工数组的对应位置的容错数组进行非数字判定,基于判定结果确定填充的字符位置和数量,通过此种方式使每个加工数组的容错序列的长度动态变化,基于这些不等长的容错序列,用电管理数据便被赋予了高容错性的显著优势,能够有效应对数据传输过程中数据泄露的问题,极大地提高了整个用电数据传输的安全性与可靠性,保障了用电数据在后续分析、决策以及其他相关应用环节中的准确性与有效性,同时也避免了使用密钥带来的密钥泄露风险。
Smart Images

Figure CN122570474A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electricity inspection technology, specifically to an intelligent electricity inspection method and system. Background Technology
[0002] In today's highly intelligent and information-based era, the power industry is undergoing profound changes and development. As a key link in the operation and management of the power system, electricity inspection plays a vital role in ensuring the stability and reliability of power supply and optimizing the rational allocation of power resources. In order to conduct comprehensive and in-depth electricity inspections, accurately grasp the characteristics of users' electricity consumption behavior and conduct effective analysis and evaluation, obtaining detailed and accurate electricity data from users has become the primary task. However, although the importance of electricity data in electricity inspections is becoming increasingly prominent, existing technologies face severe security challenges in the transmission of electricity data. With the rapid development of information technology, the network environment has become increasingly complex. Currently, the encryption technology used in many power data transmission systems is relatively weak or has obvious security vulnerabilities. Some systems still rely on relatively outdated encryption algorithms, which have significant deficiencies in key management. The generation, distribution and storage of keys lack sufficient security guarantees and are prone to leakage. Once the keys are leaked, the power data will be completely exposed to attackers, and the privacy of users' electricity information will not be effectively protected. To address the above problems, this invention proposes a solution. Summary of the Invention
[0003] The purpose of this invention is to provide an intelligent electricity inspection method and system to solve the problems mentioned in the background art.
[0004] To achieve the above objectives, the present invention provides the following technical solution: An intelligent electricity consumption inspection method includes the following steps: Step 1: After receiving the electricity consumption data of all electricity users in the target area, the electricity data transmission management terminal performs binary conversion on the electricity consumption data to obtain the electricity processing data in the target area; Step 2: Based on the power consumption processing data, generate periodic target area power consumption management data according to preset generation rules, and transmit the power consumption management data to the remote power consumption inspection platform; Step 3: After receiving the electricity management data of the target area, the remote electricity inspection platform restores the electricity management data to obtain the electricity data of all users in the target area and stores the electricity data.
[0005] Furthermore, before proceeding to step one, the following steps are also required: The electricity data acquisition terminal collects electricity data from several electricity users within the target area. The electricity data includes active power, voltage, current, active power, reactive power, apparent power, and electricity usage time records.
[0006] Furthermore, in step two, the rules for generating electricity management data for periodic target areas are as follows: S11: Several processing arrays can be obtained by taking every 16 characters in the electrical processing data as a processing array in the order from left to right. According to the position of each processing array in the electrical processing data, all the obtained processing arrays are marked as A1, A2, ..., Aa, where a≥1; S12: By dividing the processing array A1 into four fault-tolerant arrays by each group of four characters from left to right, four fault-tolerant arrays are obtained. These four fault-tolerant arrays are then labeled B1, B2, B3, and B4 from left to right according to their position within the processing array A1. S13: Generate the fault-tolerant sequence of processing array A1 according to the preset first generation rule; S14: Following steps S11 to S13, obtain the fault-tolerant sequences of processing arrays A2, A3, ..., Aa in sequence. Then, concatenate the fault-tolerant sequences of A1, A2, ..., Aa in the order of processing arrays A1, A2, ..., Aa to obtain the power management data of the target area.
[0007] An intelligent electricity inspection system includes: The electricity data acquisition terminal is used to periodically collect electricity data from several electricity users in the target area. The electricity data includes active power, voltage, current, active power, reactive power, apparent power, and electricity consumption time records. The electricity data transmission management terminal is used to convert the electricity consumption data of all electricity users in the target area into binary data to obtain the electricity processing data in the target area. The power data transmission management terminal is also used to generate periodic target area power management data according to the power processing data based on the preset generation rules. The remote electricity consumption inspection platform is used to restore the electricity consumption management data of all users in the target area after receiving the electricity consumption management data of the target area, and to store the electricity consumption data.
[0008] This invention provides an intelligent method and system for electricity consumption inspection. Compared with the prior art, it has the following advantages: This invention periodically collects electricity consumption data from several electricity users within a target area. The electricity data transmission management terminal processes and transforms this data to obtain electricity management data. During the generation of electricity management data, for each processed array derived from the electricity management data, a non-numeric determination is performed on the corresponding fault-tolerant array. Based on the determination result, the position and number of characters to be filled are determined. This method dynamically changes the length of the fault-tolerant sequence in each processed array. Based on these unequal-length fault-tolerant sequences, the electricity management data is endowed with a significant advantage of high fault tolerance, effectively addressing the problem of data leakage during data transmission. This greatly improves the security and reliability of the entire electricity data transmission, ensuring the accuracy and effectiveness of the electricity data in subsequent analysis, decision-making, and other related applications. It also avoids the risk of key leakage associated with the use of keys. Attached Figure Description
[0009] Figure 1 This is a flowchart of the method of the present invention; Figure 2 This is a system block diagram of the present invention. Detailed Implementation
[0010] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0011] Please see Figure 1 , Figure 2 This application provides an intelligent electricity consumption inspection method and system, including an electricity consumption data acquisition terminal, an electricity consumption data transmission management terminal, and a remote electricity consumption inspection platform; The electricity data acquisition terminal is used to periodically collect electricity data of several electricity users in the target area. The electricity data includes active power, voltage, current, active power, reactive power, apparent power, and electricity time records. The electricity time records include, but are not limited to, recording the start time, stop time, and duration of electricity use for different time periods of the electricity users. The electricity data acquisition terminal periodically collects the electricity data of all electricity users in the target area and transmits it to the electricity data transmission management terminal. The electricity data transmission management terminal is used to transmit and manage the electricity consumption data of all electricity users within the target area. After periodically receiving the electricity consumption data of all electricity users within the target area, the terminal first performs binary conversion on the electricity consumption data to obtain electricity processing data for the target area. Then, according to a preset generation rule, it generates periodic electricity management data for the target area based on the electricity processing data. The generation rule is as follows: S11: Several processing arrays can be obtained by taking every 16 characters in the electrical processing data as a processing array in the order from left to right. According to the position of each processing array in the electrical processing data, all the obtained processing arrays are marked as A1, A2, ..., Aa, where a≥1; S12: By dividing the processing array A1 into four fault-tolerant arrays by each group of four characters from left to right, four fault-tolerant arrays are obtained. These four fault-tolerant arrays are then labeled B1, B2, B3, and B4 from left to right according to their position within the processing array A1. S13: Generate the fault-tolerant sequence of the processing array A1 according to the preset first generation rule, which is as follows: S131: Extract the fault-tolerant array with index P1 from the fault-tolerant arrays B1, B2, B3 and B4, and obtain the hexadecimal number C1 of the fault-tolerant array, where P1 is a preset selected fault-tolerant index, and the value of P1 is randomly selected from the numbers 2 and 3. In this application, the value of P1 is 2. S132: Determine if C1 is a number. If C1 is a number, fill in the fault-tolerant array BP1 with the filling sequence according to the preset filling rules. The filling rules are as follows: SS11: Obtain the decimal numbers of the fault-tolerant arrays marked with subscripts P1-1 and P1+1 in the fault-tolerant arrays B1, B2, B3 and B4 respectively, which are marked as D1 and D2 respectively; SS12: Compare the size of D1 and D2. If D1 ≥ D2, then the filling direction of the fault-tolerant array BP1 is determined to be pre-order filling, otherwise it is post-order filling. SS13: If the filling direction of the fault-tolerant array BP1 is pre-order filling, then the filled array, scalar feature, and direction feature of the fault-tolerant array BP1 are obtained according to the preset pre-order filling rules. The pre-order filling rules are as follows: SS21: Label all the characters that make up the fault-tolerant array BP1 as D1, D2, D3, and D4 in order from right to left; SS22: First, use the quantity 1 as the padding scalar of the fault tolerance array BP1. Then, concatenate the padding character with D1, D2, and D3 in the order of padding character, D1, D2, and D3 to obtain the pre-padding array E1 of the fault tolerance array BP1. SS23: Obtain the hexadecimal number F1 of the pre-padding array E1, perform a number determination on the hexadecimal number F1, if the hexadecimal number F1 is not a number, that is, the hexadecimal number F1 is an uppercase English letter, then re-mark the pre-padding array E1 as the padding array of the fault tolerance array BP1, and according to the padding scalar, use the string 01 as the scalar feature of the fault tolerance array BP1, and according to the padding direction of the fault tolerance array BP1 as pre-order padding, use the string 01 as the directional feature of the fault tolerance array BP1. In this application, the padding character is 1; If the hexadecimal number F1 is a number, then the quantity 2, 3, 4 are used as the filling scalar of the fault tolerance array BP1 in the order of quantity 2, 3, 4. When each quantity is used as the filling scalar of the fault tolerance array BP1, the pre-filled array of the fault tolerance array BP1 is obtained by concatenating the numbers. The hexadecimal number of the pre-filled array is judged, and the filling array, scalar characteristics and direction characteristics of the fault tolerance array BP1 are obtained according to the judgment result. SS24: Concatenate the directional features, scalar features, and filling array of the fault-tolerant array BP1 in the order of directional features, scalar features, and filling array to obtain the filling sequence of the fault-tolerant array BP1; SS14: If the filling direction of the fault-tolerant array BP1 is post-order filling, then the filling sequence of the fault-tolerant array BP1 is obtained according to the preset post-order filling rules, which are as follows: SS31: Label all the characters that make up the fault-tolerant array BP1 as G1, G2, G3, G4 in order from left to right; SS32: First, use the quantity 1 as the padding scalar of the fault tolerance array BP1. Then, concatenate the padding character with G1, G2, and G3 in the order of padding character, G1, G2, and G3 to obtain the pre-padding array H1 of the fault tolerance array BP1. SS33: Obtain the hexadecimal number I1 of the pre-padding array H1, perform a number determination on the hexadecimal number I1. If the hexadecimal number I1 is not a number, that is, the hexadecimal number I1 is an uppercase English letter, then re-mark the pre-padding array H1 as the padding array of the fault tolerance array BP1, and according to the padding scalar, take the string 01 as the scalar feature of the fault tolerance array BP1. According to the padding direction of the fault tolerance array BP1 as subsequent padding, randomly select a string from the strings 10 and 11 as the directional feature of the fault tolerance array BP1. If the hexadecimal number I1 is a number, then the quantity 2 and 3 are used as the filling scalar of the fault tolerance array BP1 in the order of quantity 2 and 3. When each quantity is used as the filling scalar of the fault tolerance array BP1, the pre-filled array of the fault tolerance array BP1 is obtained by concatenating the numbers. The hexadecimal number of the pre-filled array is judged. Based on the judgment result, the filling array, scalar characteristics and direction characteristics of the fault tolerance array BP1 are obtained. SS34: Concatenate the directional features, scalar features, and filling array of the fault-tolerant array BP1 in the order of directional features, scalar features, and filling array to obtain the filling sequence of the fault-tolerant array BP1; S133: If C1 is not a number, then the string 00 is used as the array feature of the fault-tolerant array BP1, and the fault-tolerant array BP1 itself is used as the filling array of the fault-tolerant array BP1. The array feature and the filling array of the fault-tolerant array BP1 are concatenated in the order of array feature and filling array to obtain the filling sequence of the fault-tolerant array BP1. S134: Following the order of fault-tolerant arrays B1, B2, B3 and B4, the filling sequence of fault-tolerant array BP1 and the remaining fault-tolerant arrays are concatenated to obtain the fault-tolerant sequence of processing array A1. S14: Following steps S11 to S13, obtain the fault-tolerant sequences of processing arrays A2, A3, ..., Aa in sequence. Then, concatenate the fault-tolerant sequences of A1, A2, ..., Aa in the order of processing arrays A1, A2, ..., Aa to obtain the power management data of the target area. The electricity data transmission management terminal transmits the generated periodic target area's electricity management data to the remote electricity inspection platform; The remote electricity consumption inspection platform is used to receive periodic electricity consumption management data of a target area at a remote location. After receiving the electricity consumption management data of the target area, the platform is also used to restore the electricity consumption management data to obtain the electricity consumption data of all users in the target area, and store the electricity consumption data to facilitate remote inspection of user electricity consumption.
[0012] Some of the data in the above formulas are numerical calculations with dimensions removed, and the contents not described in detail in this specification are all prior art known to those skilled in the art.
[0013] The above embodiments are only used to illustrate the technical methods of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical methods of the present invention without departing from the spirit and scope of the technical methods of the present invention.
Claims
1. An intelligent method for inspecting electricity usage, characterized in that, Includes the following steps: Step 1: After receiving the electricity consumption data of all electricity users in the target area, the electricity data transmission management terminal performs binary conversion on the electricity consumption data to obtain the electricity processing data in the target area; Step 2: Based on the power consumption processing data, generate periodic target area power consumption management data according to preset generation rules, and transmit the power consumption management data to the remote power consumption inspection platform; Step 3: After receiving the electricity management data of the target area, the remote electricity inspection platform restores the electricity management data to obtain the electricity data of all users in the target area and stores the electricity data.
2. The intelligent electricity consumption inspection method according to claim 1, characterized in that, Before proceeding to step one, the following steps are also required: The electricity data acquisition terminal collects electricity data from several electricity users within the target area. The electricity data includes active power, voltage, current, active power, reactive power, apparent power, and electricity usage time records.
3. The intelligent electricity consumption inspection method according to claim 1, characterized in that, In step two, the rules for generating electricity management data for periodic target areas are as follows: S11: Several processing arrays can be obtained by taking every 16 characters in the electrical processing data as a processing array in the order from left to right. According to the position of each processing array in the electrical processing data, all the obtained processing arrays are marked as A1, A2, ..., Aa, where a≥1; S12: By dividing the processing array A1 into four fault-tolerant arrays by each group of four characters from left to right, four fault-tolerant arrays are obtained. These four fault-tolerant arrays are then labeled B1, B2, B3, and B4 from left to right according to their position within the processing array A1. S13: Generate the fault-tolerant sequence of processing array A1 according to the preset first generation rule; S14: Following steps S11 to S13, obtain the fault-tolerant sequences of processing arrays A2, A3, ..., Aa in sequence. Then, concatenate the fault-tolerant sequences of A1, A2, ..., Aa in the order of processing arrays A1, A2, ..., Aa to obtain the power management data of the target area.
4. The intelligent electricity consumption inspection method according to claim 3, characterized in that, S13, the first generation rule for generating the fault-tolerant sequence of the processing array A1 is as follows: S131: Extract the fault-tolerant array with index P1 from the fault-tolerant arrays B1, B2, B3 and B4, and obtain the hexadecimal number C1 of the fault-tolerant array, where P1 is the preset selected fault-tolerant index; S132: Determine if C1 is a number. If C1 is a number, fill in the fault-tolerant array BP1 with the filling sequence according to the preset filling rules. S133: If C1 is not a number, then the string 00 is used as the array feature of the fault-tolerant array BP1, and the fault-tolerant array BP1 itself is used as the filling array of the fault-tolerant array BP1. The array feature and the filling array of the fault-tolerant array BP1 are concatenated in the order of array feature and filling array to obtain the filling sequence of the fault-tolerant array BP1. S134: Following the order of fault-tolerant arrays B1, B2, B3 and B4, the filling sequence of fault-tolerant array BP1 and the remaining fault-tolerant arrays are concatenated to obtain the fault-tolerant sequence of processing array A1.
5. The intelligent electricity consumption inspection method according to claim 4, characterized in that, S132, the filling rules for filling the filling sequence of the fault-tolerant array BP1 are as follows: SS11: Obtain the decimal numbers of the fault-tolerant arrays marked with subscripts P1-1 and P1+1 in the fault-tolerant arrays B1, B2, B3 and B4 respectively, which are marked as D1 and D2 respectively; SS12: Compare the size of D1 and D2. If D1 ≥ D2, then the filling direction of the fault-tolerant array BP1 is determined to be pre-order filling, otherwise it is post-order filling. SS13: If the filling direction of the fault-tolerant array BP1 is pre-order filling, then the filling array, scalar feature and direction feature of the fault-tolerant array BP1 are obtained by filling according to the preset pre-order filling rules; SS14: If the filling direction of the fault-tolerant array BP1 is subsequent filling, then the filling sequence of the fault-tolerant array BP1 is obtained by filling according to the preset subsequent filling rules.
6. The intelligent electricity consumption inspection method according to claim 5, characterized in that, SS13, the preorder filling rules for the filling array, scalar features, and directional features of the fault-tolerant array BP1 are as follows: SS21: Label all the characters that make up the fault-tolerant array BP1 as D1, D2, D3, and D4 in order from right to left; SS22: First, use the quantity 1 as the padding scalar of the fault tolerance array BP1. Then, concatenate the padding character with D1, D2, and D3 in the order of padding character, D1, D2, and D3 to obtain the pre-padding array E1 of the fault tolerance array BP1. SS23: Obtain the hexadecimal number F1 of the pre-padding array E1, perform a number determination on the hexadecimal number F1, and if the hexadecimal number F1 is not a number, then re-mark the pre-padding array E1 as the padding array of the fault tolerance array BP1, and according to the padding scalar, use the string 01 as the scalar feature of the fault tolerance array BP1, and according to the padding direction of the fault tolerance array BP1 as the pre-order padding, use the string 01 as the directional feature of the fault tolerance array BP1, and the padding character is 1; If the hexadecimal number F1 is a number, then the quantity 2, 3, 4 are used as the filling scalar of the fault tolerance array BP1 in the order of quantity 2, 3, 4. When each quantity is used as the filling scalar of the fault tolerance array BP1, the pre-filled array of the fault tolerance array BP1 is obtained by concatenating the numbers. The hexadecimal number of the pre-filled array is judged, and the filling array, scalar characteristics and direction characteristics of the fault tolerance array BP1 are obtained according to the judgment result. SS24: Concatenate the directional features, scalar features, and filling array of the fault-tolerant array BP1 in the order of directional features, scalar features, and filling array to obtain the filling sequence of the fault-tolerant array BP1.
7. The intelligent electricity consumption inspection method according to claim 5, characterized in that, SS14, the following are the rules for the subsequent filling of the filling sequence to obtain the fault-tolerant array BP1: SS31: Mark all the characters that make up the fault-tolerant array BP1 as G1, G2, G3, G4 in order from left to right; SS32: First, use the quantity 1 as the padding scalar of the fault tolerance array BP1. Then, concatenate the padding character with G1, G2, and G3 in the order of padding character, G1, G2, and G3 to obtain the pre-padding array H1 of the fault tolerance array BP1. SS33: Obtain the hexadecimal number I1 of the pre-padding array H1, perform a number determination on the hexadecimal number I1. If the hexadecimal number I1 is not a number, that is, the hexadecimal number I1 is an uppercase English letter, then re-mark the pre-padding array H1 as the padding array of the fault tolerance array BP1, and according to the padding scalar, take the string 01 as the scalar feature of the fault tolerance array BP1. According to the padding direction of the fault tolerance array BP1 as subsequent padding, randomly select a string from the strings 10 and 11 as the directional feature of the fault tolerance array BP1. If the hexadecimal number I1 is a number, then the quantity 2 and 3 are used as the filling scalar of the fault tolerance array BP1 in the order of quantity 2 and 3. When each quantity is used as the filling scalar of the fault tolerance array BP1, the pre-filled array of the fault tolerance array BP1 is obtained by concatenating the numbers. The hexadecimal number of the pre-filled array is judged. Based on the judgment result, the filling array, scalar characteristics and direction characteristics of the fault tolerance array BP1 are obtained. SS34: The directional features, scalar features, and filling array of the fault-tolerant array BP1 are concatenated in the order of directional features, scalar features, and filling array to obtain the filling sequence of the fault-tolerant array BP1.
8. An intelligent electricity consumption inspection system, characterized in that, include: The electricity data acquisition terminal is used to periodically collect electricity data from several electricity users in the target area. The electricity data includes active power, voltage, current, active power, reactive power, apparent power, and electricity consumption time records. The electricity data transmission management terminal is used to convert the electricity consumption data of all electricity users in the target area into binary data to obtain the electricity processing data in the target area. The power data transmission management terminal is also used to generate periodic target area power management data according to the power processing data based on the preset generation rules. The remote electricity consumption inspection platform is used to restore the electricity consumption management data of all users in the target area after receiving the electricity consumption management data of the target area, and to store the electricity consumption data.