Metering detection data digital interaction method and system
By constructing and dynamically updating the benchmark conversion sequence, the metering and detection data of power equipment is converted and processed, the problem of key security risks in the data transmission of power equipment is solved, and dynamic security guarantee and flexibility of data transmission is achieved.
Patent Information
- Application Number
- CN202510287951.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-12
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2045-03-12
AI Technical Summary
The prior art poses a security risk in the transmission of power equipment metrology and detection data. After the key is stolen or cracked, the security line of data transmission will collapse, and the fixed key mechanism lacks flexibility and dynamic adaptability.
By constructing a benchmark conversion sequence, converting the metrologically collected data to generate a metrologically converted sequence, and dynamically update the benchmark conversion sequence with operations, ensuring the dynamicity and complexity of each set of mapped sequences, thereby ensuring the security of data transmission.
It realizes dynamic security guarantee during the transmission of power equipment metering and detection data, avoids security threats caused by key leakage and cracking, and ensures the security and flexibility of data transmission.
Smart Images

Figure CN120162760A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of metering interaction, and particularly relates to a method and system for digital interaction of metering detection data. Background Art
[0002] With the rapid development of the intelligence and digitalization of the power system, the metering detection data of power equipment plays a crucial role in the operation, management, and maintenance of the power system. These metering detection data contain key parameter information such as the voltage, current, and power of power equipment, and are of indispensable significance for evaluating the operation status of power equipment, achieving precise power allocation, and fault diagnosis, etc.; In the current power technology field, in order to achieve more efficient management and monitoring of power equipment, it is often necessary to transmit metering detection data to the cloud for storage and analysis. However, the data faces many security risks during the transmission process from the power equipment side to the cloud; Currently, a common way to ensure the security of metering detection data transmission is to use key technology. By encrypting the metering detection data with a key, only the receiving party (such as a cloud server, etc.) with the correct key can decrypt and read the data. This method can prevent the data from being obtained and tampered with by unauthorized third parties to a certain extent; However, relying solely on keys to ensure the security of the power equipment metering detection data transmission process has obvious limitations. On the one hand, the keys themselves are at risk of being stolen or cracked. With the continuous development of computer technology, hacker attack means are becoming increasingly sophisticated. Once the key is leaked, the entire data transmission security defense line will collapse instantly. Malicious attackers can easily decrypt and obtain the sensitive metering detection data of power equipment, which may lead to the leakage of the operation information of the power system and pose a serious threat to the stable operation of the power system; On the other hand, the fixed key mechanism lacks flexibility and dynamic adaptability. During the long-term data transmission process, if the same key is used all the time, attackers will have more time and opportunities to analyze and crack the key. Once the key of a certain device is cracked, it may affect the data security of the entire system; To solve the above problems, the present invention proposes a solution. Summary of the Invention
[0003] The purpose of the present invention is to provide a method and system for digital interaction of metering detection data, aiming to solve the problems raised in the above background art; The purpose of the present invention can be achieved by the following technical solutions: A method for digital interaction of metering detection data includes the following steps: Step 1: After the metering interaction module receives the metering acquisition data of the target power device at the current moment transmitted, it constructs a reference conversion sequence at the current moment according to a preset construction rule; Step 2: According to the reference conversion sequence at the current moment, the metering acquisition data of the target power device at the current moment is converted according to a preset conversion generation rule to generate a metering conversion sequence at the current moment, and the metering conversion sequence is transmitted to the remote receiving module; Step 3: After the remote receiving module receives the transmitted metering conversion sequence, it restores it to obtain the metering acquisition data of the target power device at the current moment, and stores the metering acquisition data.
[0004] Further, the construction rule of the reference conversion sequence at the current moment is as follows: S11: In the order from left to right, each character in the four-bit binary number 0000 that constitutes the digital character 0 is sequentially marked as A1, A2, A3, and A4; S12: In the order of characters A1, A2, A3, and A4, A1 and A2, A2 and A3, and A3 and A4 are sequentially spliced to obtain 3 groups of feature combinations, and then the obtained 3 groups of feature combinations are de-duplicated, and the remaining several groups of feature combinations after de-duplication are re-calibrated as the standard combination of character 0; S13: All standard combinations of characters 1, 2,..., 15 are obtained in sequence according to S11 to S12; S14: Generate the first interaction list C1, the second interaction list C2, and the third interaction list C3 at the current moment according to a preset generation step: S15: Extract all elements in the first interaction list C1 in ascending order of the index, and splice all the extracted elements in the order of element extraction to obtain the element sequence of the first interaction list C1. Similarly, the element sequences of the second interaction list C2 and C3 are obtained in sequence; S16: Splice the element sequences of the first interaction list C1, C2, and C3 in the order of C1, C2, and C3 to obtain the reference conversion sequence at the current moment.
[0005] Further, in S14, the generation steps for generating the first interaction list C1, the second interaction list C2, and the third interaction list C3 at the current moment are as follows: S141: Create the first interaction list B1, the second interaction list B2, and the third interaction list B3 at the current moment; S142: If the number of standard combinations of character 0 obtained after de-duplication in S12 is 1, add the standard combination of character 0 to the first interaction list B1; If the number of standard combinations of character 0 obtained after duplicate removal in S12 is 2, then all the standard combinations of character 0 are added to the second interaction list B2. When adding all the standard combinations of character 0 to the second interaction list B2, they are added to the second interaction list B2 in the order of the splicing sequence of each standard combination. If the number of standard combinations of character 0 obtained after duplicate removal in S12 is 3, then all the standard combinations of character 0 are added to the third interaction list B3. When adding all the standard combinations of character 0 to the third interaction list B3, they are added to the third interaction list B3 in the order of the splicing sequence of each standard combination. S143: Determine whether the number of standard combinations of characters 1, 2,..., 15 obtained after duplicate removal is 1, 2, or 3 in sequence according to S142. According to the determination result, all the standard combinations of the corresponding characters are added to the corresponding interaction lists, and after all the standard combinations of character 15 are added, the final first interaction list, second interaction list, and third interaction list are obtained, and are correspondingly re-labeled as C1, C2, and C3.
[0006] Furthermore, the metering interaction module transmits the metering conversion sequence at the current moment to the remote receiving module, and deletes the reference conversion sequence at the current moment after the transmission is completed.
[0007] A metering detection data digital interaction system, comprising: A metering acquisition module, configured to acquire detection data of several metering parameters of a target power device in real time; A metering interaction module, configured to construct a real-time reference conversion sequence after receiving the real-time metering acquisition data of the target power device, and convert the real-time metering acquisition data of the target power device according to the constructed real-time reference conversion sequence and a preset conversion rule to generate a real-time metering conversion sequence; A remote receiving module, configured to receive, restore, and store the real-time metering conversion sequence.
[0008] The beneficial effects of the present invention: After obtaining the metering and acquisition data of the target power equipment, the present invention first constructs a reference conversion sequence for conversion, and then performs conversion processing on the real-time metering and acquisition data according to the reference conversion sequence. The construction of the reference conversion sequence is based on the character composition type of the four-bit binary numbers of the digital characters 0 to 15. In the conversion processing stage, according to the frequency of different two-bit binary numbers in each mapping sequence, the character type to be removed from the reference conversion sequence is determined, so as to obtain a new reference conversion sequence. Every time a new reference conversion sequence is obtained, it is subjected to an AND operation with the mapping sequence to obtain the corresponding transformation sequence. Through this approach, the dynamics and complexity of each group of mapping sequences are ensured, so that the reference conversion sequence for performing the AND operation with each group of mapping sequences is in a dynamic change, further ensuring the security of the metering detection data during the transmission process; After the present invention completes the transmission of the metering detection data, the metering interaction module will delete the real-time reference conversion sequence, so as to ensure the security of the transmission of the metering detection data. Brief Description of the Drawings
[0009] The present invention will be further described below with reference to the accompanying drawings.
[0010] Figure 1 is the flowchart of the method of the present invention. Detailed Embodiments
[0011] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0012] As Figure 1 shown, a digital interaction method and system for metering detection data includes a metering acquisition module, a metering interaction module, and a remote receiving module; The metering acquisition module is used to collect in real time the detection data of several metering parameters of the target power equipment, where the metering parameters include voltage, current, resistance, power, load loss, and no-load loss. In this application, the target power equipment is a transformer; The metering acquisition module collects in real time the detection data of several metering parameters of the target power equipment and generates the metering acquisition data of the target power equipment in real time, and transmits the metering acquisition data to the metering interaction module; The metering interaction module is used to construct a real-time reference conversion sequence after receiving the metering acquisition data of the target power device in real time, and convert the metering acquisition data of the target power device in real time according to the constructed real-time reference conversion sequence and the preset conversion rules to generate a real-time metering conversion sequence; Taking the metering acquisition data of the target power device at the current moment received by the metering interaction module as an example, after receiving the metering acquisition data of the target power device transmitted at the current moment, the metering interaction module first constructs the reference conversion sequence at the current moment according to the preset construction rules. The construction rules are as follows: S11: In the order from left to right, each character in the four-bit binary number 0000 that constitutes the digital character 0 is marked as A1, A2, A3, and A4 in turn; S12: In the order of characters A1, A2, A3, and A4, A1 and A2, A2 and A3, and A3 and A4 are spliced in turn to obtain 3 groups of feature combinations, and then the de-duplication operation is performed on the obtained 3 groups of feature combinations. The remaining several groups of feature combinations after de-duplication are re-labeled as the standard combination of character 0; S13: All standard combinations of characters 1, 2,..., 15 are obtained in turn according to S11 to S12; S14: Generate the first interaction list C1, the second interaction list C2, and the third interaction list C3 at the current moment according to the preset generation steps. The generation steps are as follows: S141: Create the first interaction list B1, the second interaction list B2, and the third interaction list B3 at the current moment; S142: If the number of standard combinations of character 0 obtained after de-duplication in S12 is 1, add the standard combination of character 0 to the first interaction list B1; If the number of standard combinations of character 0 obtained after de-duplication in S12 is 2, add all standard combinations of character 0 to the second interaction list B2. When adding all standard combinations of character 0 to the second interaction list B2, they are added to the second interaction list B2 in the order of the splicing sequence of each standard combination; If the number of standard combinations of character 0 obtained after de-duplication in S12 is 3, add all standard combinations of character 0 to the third interaction list B3. When adding all standard combinations of character 0 to the third interaction list B3, they are added to the third interaction list B3 in the order of the splicing sequence of each standard combination; S143: Determine whether the number of standard combinations of characters 1, 2, ..., 15 obtained after deduplication is 1, 2, or 3 in sequence according to S142. Add all the standard combinations of the corresponding characters to the corresponding interaction lists according to the determination results. After all the standard combinations of character 15 are added, obtain the final first interaction list, second interaction list, and third interaction list, which are correspondingly relabeled as C1, C2, and C3; S15: Extract all the elements in the first interaction list C1 in ascending order of the index, and splice all the extracted elements in the order of extraction to obtain the element sequence of the first interaction list C1. Similarly, obtain the element sequences of the second interaction list C2 and C3 in sequence; S16: Splice the element sequences of the first interaction lists C1, C2, and C3 in the order of C1, C2, and C3 to obtain the benchmark conversion sequence at the current moment; Then, the metering interaction module performs a security conversion on the metering acquisition data of the target power device received at the current moment according to the benchmark conversion sequence at the current moment according to a preset conversion rule. The conversion rule is as follows: S21: Perform a binary conversion on the metering acquisition data of the target power device received at the current moment, and calibrate the converted data as the data to be converted; S22: Specify the cutting step size as 4, and cut the data to be converted in the order from left to right. During the cutting process, every four characters are used as a group to map an array to obtain several mapped arrays. Mark all the obtained groups of mapped arrays as D1, D2, ..., Dd in sequence from left to right according to the position of each group of mapped arrays in the data to be converted before cutting, where d ≥ 1; S23: Extract all the mapped arrays with subscripts less than or equal to P1 from the mapped arrays D1, D2, ..., Dd, and splice all the extracted mapped arrays in ascending order of the subscript to obtain the mapped sequence E1, where P1 is the preset extraction standard quantity group; S24: Perform an AND operation on the mapped sequence E1 and the benchmark conversion sequence at the current moment to obtain the transformation sequence of the mapped sequence E1; S25: Select a two-bit binary number from the two-bit binary numbers 00, 01, 10, and 11 as the update base array of the mapped sequence E1 according to a preset selection rule. The selection steps are as follows: S251: Take every two characters in the mapped sequence E1 as a group in the order from left to right to update the base array to obtain several groups of updated base arrays; S252: Count the number of updated base arrays that are consistent with the two-bit binary number 00 among all the groups of updated base arrays obtained in S251, and calibrate it as the frequency quantity F1 of the two-bit binary number 00; S253; sequentially obtain the frequency quantities F2, F3, and F4 of the two - bit binary numbers 01, 10, and 11 according to S252; S254: Select the two - bit binary number corresponding to the frequency quantity with the largest value from the frequency quantities F1, F2, F3, and F4 as the updated base array of the mapping sequence E1; S26: Eliminate two characters from the reference conversion sequence at the current moment according to a preset elimination and update rule to obtain the new reference conversion sequence at the current moment. The elimination and update rule is as follows: S261: Mark the two characters constituting the updated base array of the mapping sequence E1 as H1 and H2 respectively in the order from left to right; S262: Sequentially eliminate the first character that is consistent with the characters H1 and H2 from all the characters constituting the reference conversion sequence at the current moment in the order from left to right, and then use the converted sequence after elimination as the new reference conversion sequence at the current moment. It should be noted here that if the total number of characters constituting the new reference conversion sequence at the current moment is less than or equal to 2, then use the reference conversion sequence at the current moment obtained in S16 as the new reference conversion sequence at the current moment; S27: According to steps S23 to S25, extract all the group mapping arrays with subscripts less than or equal to 2P1 from all the remaining group mapping arrays after extraction in S23, and then obtain the mapping sequence E2; Perform an AND operation on the mapping sequence E2 and the new reference conversion sequence at the current moment to obtain the transformed sequence of the mapping sequence E2; S28: According to S23 to S26, obtain several groups of mapping sequences from all the remaining group mapping arrays after extraction. Mark all the groups of mapping sequences as E3, E4,..., Ee in the order of their generation, e≥1. According to S27, after obtaining each group of mapping sequences, a new reference conversion sequence at the current moment will be obtained according to S26, and at the same time, the reference conversion sequence corresponding to the mapping sequence will be obtained; It should be noted here that the generation of each mapping sequence is based on all the remaining group mapping arrays after the generation of the previous mapping sequence. For example, the generation of the mapping sequence E3 is to extract the mapping arrays with subscripts less than or equal to 3P1 from all the unextracted remaining group mapping arrays after the generation of the mapping sequence E2; It should be noted here that if the number of remaining mapping arrays is less than P1 during the process of extracting P1 mapping arrays from the mapping arrays D1, D2,..., Dd, then a group of mapping sequences will also be obtained according to all the remaining group mapping arrays; S29: Concatenate the reference conversion sequences of the mapping sequences E1, E2, ..., Ee in the order of the mapping sequences E1, E2, ..., Ee to obtain the measurement conversion sequence at the current moment; The measurement interaction module transmits the measurement conversion sequence at the current moment to the remote receiving module, and deletes the reference conversion sequence at the current moment after the transmission is completed; The remote receiving module is used to securely store the detection data of several measurement parameters of the target power device remotely. After receiving the measurement conversion sequence at the current moment transmitted, the remote receiving module first constructs the reference conversion sequence at the current moment according to the same construction rule, and then restores the received measurement conversion sequence at the current moment according to the reference conversion sequence at the current moment to obtain the measurement acquisition data of the target power device at the current moment, and stores the measurement acquisition data.
[0013] In the description of the specification, the description with reference to terms such as "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.
[0014] The above content is only an example and illustration of the present invention. Those skilled in the art of this technology can make various modifications or supplements to the described specific embodiments or use similar methods to replace them, as long as they do not deviate from the invention or exceed the scope defined by the claims of the present invention, they should all fall within the protection scope of the present invention.
[0015] The above has described a detailed description of an embodiment of the present invention, but the above content is only the preferred embodiment of the present invention and cannot be considered as being used to limit the scope of implementation of the present invention. All equal changes and improvements made according to the scope of the application of the present invention should still fall within the scope covered by the patent of the present invention.
Claims
1. A digital interactive method for measurement and detection data, characterized in that: The following steps are involved: Step 1: After receiving the metering data of the target power equipment at the current moment, the metering interaction module constructs the reference conversion sequence at the current moment according to the preset construction rules; Step 2: converting the metering data of the target power equipment at the current moment according to the preset conversion generation rule according to the current reference conversion sequence to generate the metering conversion sequence at the current moment, and transmitting the metering conversion sequence to the remote receiving module; Step 3: After receiving the transmitted metering conversion sequence, the remote receiving module restores it to obtain metering acquisition data of the target power equipment at the current moment, and stores the metering acquisition data.
2. A digital interactive method for measurement and detection data according to claim 1, characterized in that: The construction rules of the current benchmark conversion sequence are as follows: S11: from left to right, mark each character of the four-bit binary number 0000 constituting the digital character 0 as A1, A2, A3, A4 in sequence; S12: in the order of characters A1, A2, A3, and A4, A1 and A2, A2 and A3, and A3 and A4 are concatenated in turn to obtain three sets of feature combinations, and then the obtained three sets of feature combinations are deduplicated, and the remaining sets of feature combinations after deduplication are recalibrated as standard combinations of character 0; S13: Obtain all standard combinations of characters 1, 2, ..., 15 in sequence according to S11 to S12; S14: Generate the first interaction list C1, the second interaction list C2 and the third interaction list C3 at the current moment according to the preset generation steps: S15: extract all elements of the first interaction list C1 in ascending order of index, and concatenate all extracted elements in the order of element extraction to obtain the element sequence of the first interaction list C1, and similarly obtain the element sequences of the second interaction lists C2 and C3 in sequence; S16: splicing the element sequences of the first interaction lists C1, C2 and C3 in the order of C1, C2, C3 to obtain a reference conversion sequence at the current moment.
3. A digital interactive method for measurement and detection data according to claim 2, characterized in that: In S14, the steps for generating the first interaction list C1, the second interaction list C2 and the third interaction list C3 at the current moment are as follows: S141: creating a first interaction list B1, a second interaction list B2 and a third interaction list B3 at the current moment; S142: If the number of standard combinations of character 0 obtained after deduplication in S12 is 1, add the standard combinations of character 0 to the first interaction list B1; If the number of standard combinations of character 0 obtained after deduplication in S12 is 2, all standard combinations of character 0 are added to the second interactive list B2, wherein all standard combinations of character 0 are added to the second interactive list B2 in the order in which each standard combination is concatenated; If the number of standard combinations of character 0 obtained after deduplication in S12 is 3, all standard combinations of character 0 are added to the third interactive list B3, wherein all standard combinations of character 0 are added to the third interactive list B3 in the order in which each standard combination is concatenated; S143: According to S142, determine whether the number of standard combinations of characters 1, 2, ..., 15 obtained after deduplication is 1, 2, or 3, and add all standard combinations of corresponding characters to the corresponding interaction lists according to the determination results. After all standard combinations of character 15 are added, the final first interaction list, second interaction list, and third interaction list are obtained, which are re-marked as C1, C2, and C3 respectively.
4. A digital interactive method for measurement and detection data according to claim 1, characterized in that: The conversion generation rules for generating the measurement conversion sequence at the current moment are as follows: S21: performing binary conversion on the metering data collected by the target power equipment received at the current moment, and marking the data obtained after the conversion as data to be converted; S22: Specify a cutting step length of 4, cut the data to be converted in order from left to right, and in the cutting process, take four characters as a group of mapping arrays to obtain a number of mapping arrays. According to the position of each group of mapping arrays in the data to be converted before cutting, mark all the obtained group mapping arrays as D1, D2, ..., Dd from left to right, where d≥1; S23: extracting all mapping arrays with subscripts less than or equal to P1 from the mapping arrays D1, D2, ..., Dd, and concatenating all the extracted mapping arrays in ascending order of subscripts to obtain a mapping sequence E1, where P1 is a preset extraction standard quantity group; S24: performing an AND operation on the mapping sequence E1 and the reference conversion sequence at the current moment to obtain a transformation sequence of the mapping sequence E1; S25: selecting a two-digit binary number from the two-digit binary numbers 00, 01, 10, and 11 as an updated binary array of the mapping sequence E1 according to a preset selection rule; S26: According to a preset elimination update rule, two characters are eliminated from the current reference conversion sequence to obtain a new reference conversion sequence at the current moment. The elimination update rule is as follows: S27: According to steps S23 to S25, all group mapping arrays with subscripts less than or equal to 2P1 are extracted from all group mapping arrays remaining after extraction in S23, thereby obtaining a mapping sequence E2; Perform an AND operation on the mapping sequence E2 and the new reference conversion sequence at the current moment to obtain a transformation sequence of the mapping sequence E2; S28: According to S23 to S26, several groups of mapping sequences are obtained according to all the group mapping arrays remaining after extraction, and all the group mapping sequences are marked as E3, E4, ..., Ee in the order in which each group of mapping sequences is obtained, e ≥ 1, and according to S27, after each group of mapping sequences is obtained, a group of new reference conversion sequences at the current moment are obtained according to S26, and the reference conversion sequence of the corresponding mapping sequence is obtained at the same time; S29: In the order of mapping sequences E1, E2, ..., Ee, the reference conversion sequences of mapping sequences E1, E2, ..., Ee are concatenated to obtain the measurement conversion sequence at the current moment.
5. A digital interactive method for measurement and detection data according to claim 4, characterized in that: S25, the selection rule of the updated binary array of the mapping sequence E1 is selected as follows: S251: taking every two characters in the mapping sequence E1 as a group of update reference arrays from left to right to obtain a plurality of groups of update reference arrays; S252: Count the number of update reference arrays consistent with the two-digit binary number 00 in all the group update reference arrays obtained in S251, and mark them as the frequency amount F1 of the two-digit binary number 00; S253; according to S252, the frequency quantities F2, F3 and F4 of the two binary numbers 01, 10 and 11 are obtained in sequence; S254: Select two binary numbers corresponding to the frequency quantity with the largest value from the frequency quantities F1, F2, F3, and F4 as the updated binary array of the mapping sequence E1.
6. A digital interactive method for measurement and detection data according to claim 4, characterized in that: S26, the elimination update rule of the new benchmark conversion sequence at the current moment is obtained as follows: S261: Mark two characters constituting the updated binary array of the mapping sequence E1 as H1 and H2 respectively from left to right; S262: In order from left to right, the first character that is consistent with the characters H1 and H2 is removed from all the characters in the reference conversion sequence at the current moment, and then the conversion sequence after the removal is used as a new reference conversion sequence at the current moment.
7. A digital interactive method for measurement and detection data according to claim 1, characterized in that: The metering interaction module transmits the metering conversion sequence at the current moment to the remote receiving module, and deletes the reference conversion sequence at the current moment after the transmission is completed.
8. A digital interactive system for measurement and detection data, characterized in that: include: The metering acquisition module is used to collect the detection data of several metering parameters of the target power equipment in real time; The metering interaction module is used to construct a real-time reference conversion sequence after receiving the metering collection data of the real-time target power equipment, and convert the metering collection data of the real-time target power equipment according to the constructed real-time reference conversion sequence and the preset conversion rules to generate a real-time metering conversion sequence; The remote receiving module is used to receive, restore and store the real-time measurement conversion sequence.
Citation Information
Patent Citations
Storage optimization method and system for multi-source data fusion
CN118520147A
Holography data encoding / decoding method
KR1020050099817A
DNA encoding method and apparatus, DNA decoding method and apparatus, terminal device, and medium
WO2023173837A1
