FTU data processing method, system and device based on Beidou No.3 short message communication and medium

By splitting and reassembling the monitoring and control data of the FTU, the problems of data congestion and loss in the short message communication of Beidou-3 were solved, realizing real-time monitoring of the FTU by the distribution network automation master station and ensuring the integrity and accuracy of data transmission.

CN121887897APending Publication Date: 2026-04-17GUIZHOU POWER GRID CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GUIZHOU POWER GRID CO LTD
Filing Date
2025-12-30
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

When the FTU communicates via BeiDou-3 short message, the fixed time interval between incoming messages causes data congestion and loss, which cannot meet the real-time monitoring requirements of the distribution network automation master station for the FTU.

Method used

Monitoring and control data is collected at set time intervals. After data parsing and protocol conversion, the data is split and spliced ​​according to the relationship between the data volume and the upper limit of the Beidou card data length. Private protocol information is added, and the split and spliced ​​frame restoration is performed at the main station to ensure the integrity and restoreability of the data.

Benefits of technology

It achieves the avoidance of data congestion and loss in BeiDou-3 short message communication, ensures real-time monitoring of FTU by the distribution network automation master station, makes full use of the data transmission capacity of BeiDou card, and improves the integrity and accuracy of data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121887897A_ABST
    Figure CN121887897A_ABST
Patent Text Reader

Abstract

The invention discloses an FTU (Feeder Terminal Unit) data processing method, system and device based on Beidou No.3 short message communication and a medium, and the method comprises the following steps: collecting monitoring control data of power distribution equipment according to a set time interval, and sending the monitoring control data for data analysis and data protocol conversion to obtain converted data; performing frame splitting and splicing processing on the converted data to obtain intermediate data; adding private protocol information to the intermediate data, generating to-be-sent data, and sending the to-be-sent data to a master station end; and performing data analysis and data protocol conversion on the received to-be-sent data, and performing frame splitting and splicing reduction processing on the to-be-sent data according to the private protocol information to obtain reduced data. According to the method, the problems of data congestion and data loss caused by fixed inbound time interval when the FTU communicates through the Beidou No.3 short message are solved, and the FTU is monitored in real time by the automatic master station of the power distribution network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power distribution automation technology, and in particular to an FTU data processing method, system, device and medium based on BeiDou-3 short message communication. Background Technology

[0002] FTU, or Distribution Automated Transmission Unit, is a switch monitoring device installed next to the feeder switch. It features telemetry, remote signaling, remote control, remote adjustment, and fault detection functions. It communicates with the distribution automation master station, providing information on the distribution system's operating status, various parameters, and monitoring and control requirements. It executes commands issued by the master station to adjust and control the distribution equipment, enabling functions such as fault location, fault isolation, and rapid power restoration to non-faulty areas. Currently, FTUs primarily communicate with the distribution automation master station via remote communication modules, mostly using mobile communication channels. Effective communication is possible in areas with mobile network coverage, but in remote areas without signal, FTUs need to use BeiDou-3 short message communication to exchange data with the distribution automation master station.

[0003] However, the data volume transmitted between the FTU and the distribution network automation master station is large, and the real-time requirements are strong. The BeiDou-3 short message equipment reports data at fixed intervals; that is, after one data upload is completed, a 60-second wait is required before the next frame can be uploaded. When the FTU needs to upload multiple frames within an inbound time interval, data congestion occurs, preventing the distribution network automation master station from receiving timely responses from the FTU or resulting in data loss. This fails to meet the distribution network automation master station's real-time monitoring requirements for the FTU. Summary of the Invention

[0004] In view of the aforementioned existing problems, the present invention is proposed.

[0005] Therefore, this invention provides an FTU data processing method, system, device, and medium based on BeiDou-3 short message communication to solve the problem in the prior art where, when FTUs communicate via BeiDou-3 short message communication, data congestion and data loss occur due to the fixed inbound time interval, and the distribution network automation master station cannot monitor FTUs in real time.

[0006] To solve the above-mentioned technical problems, the present invention provides the following technical solution: In a first aspect, the present invention provides an FTU data processing method based on BeiDou-3 short message communication, comprising the following steps: collecting monitoring and control data of power distribution equipment at set time intervals, and sending the monitoring and control data for data parsing and data protocol conversion to obtain converted data; obtaining intermediate data by splitting and assembling the converted data into frames; adding private protocol information to the intermediate data to generate data to be sent, and sending the data to be sent to the master station; parsing and converting the received data to be sent into data, and performing frame splitting and reconstruction processing on the data to be sent according to the private protocol information to obtain restored data; classifying and storing the restored data according to data categories, and performing corresponding processing according to the instruction type of the master station server.

[0007] As a preferred embodiment of the FTU data processing method based on BeiDou-3 short message communication described in this invention, the step of obtaining intermediate data includes: determining whether the data volume of the converted data reaches the upper limit of the data length of the BeiDou card of the BeiDou-3 short message terminal; when the data volume of the converted data does not reach the upper limit of the data length, the converted data is subjected to frame splicing processing, splicing multiple frames of converted data into one long frame, and outputting the long frame as intermediate data; when the data volume of the converted data exceeds the upper limit of the data length, the converted data is subjected to frame splitting processing, splitting the converted data into multiple short frames, and outputting the short frames as intermediate data.

[0008] The beneficial effects of this preferred technical solution are as follows: by judging the relationship between the amount of data after conversion and the upper limit of the data length of the Beidou card, it is determined whether to use frame splicing or frame splitting processing, which realizes targeted processing for different data volume situations and avoids data congestion and loss.

[0009] As a preferred embodiment of the FTU data processing method based on BeiDou-3 short message communication described in this invention, the step of performing frame stitching processing on the converted data includes: detecting whether there are multiple frames of converted data to be sent within the BeiDou-3 short message inbound time interval; when there are multiple frames of converted data to be sent, stitching the multiple frames of converted data sequentially according to the receiving order until the amount of stitched data reaches the upper limit of the data length or there is no converted data to be sent; and outputting the stitched data as a long frame of data.

[0010] As a preferred embodiment of the FTU data processing method based on BeiDou-3 short message communication described in this invention, the step of performing frame splitting processing on the converted data includes: calculating the ratio of the data volume of the converted data to the upper limit of the data length to determine the number of frames to be split; dividing the converted data into segments according to the upper limit of the data length, with each segment serving as a short frame; determining whether the data volume of the last short frame is less than the upper limit of the data length, and if it is less than the upper limit of the data length, then performing frame splicing processing on the last short frame and other converted data to be sent.

[0011] As a preferred embodiment of the FTU data processing method based on BeiDou-3 short message communication described in this invention, the step of adding private protocol information to the intermediate data includes: adding frame-joining private protocol information to the long frame data after frame-joining processing, wherein the frame-joining private protocol information includes the frame-joining protocol header PIN, the number of frames joined, the length of each frame, and the frame identifier; and adding frame-splitting private protocol information to the short frame data after frame-splitting processing, wherein the frame-splitting private protocol information includes the frame-splitting protocol header CHAI, the number of segments split, the length of the data before splitting, and the length of the data after splitting.

[0012] The beneficial effects of this preferred technical solution are as follows: by defining the frame header PIN of the frame splicing protocol and the frame header CHAI of the frame splitting protocol, as well as the corresponding parameter information such as the number of frames and the data length, a clear parsing basis is provided for the main station to restore the data, ensuring the integrity and reproducibility of the data.

[0013] As a preferred embodiment of the FTU data processing method based on BeiDou-3 short message communication described in this invention, the step of performing frame splitting and reconstruction processing on the data to be transmitted according to the private protocol information includes: parsing the private protocol information in the data to be transmitted and identifying the protocol frame header type in the private protocol information; if the protocol frame header type is a frame splicing protocol frame header PIN, then the long frame data is split and reconstructed into multiple independent monitoring and control data frames according to the number of spliced ​​frames and the length of each frame, and the obtained monitoring and control data is output as the reconstructed data; if the protocol frame header type is a frame splitting protocol frame header CHAI, then multiple short frame data frames are spliced ​​and reconstructed into complete monitoring and control data according to the number of split segments and the length of the data before splitting, and the obtained monitoring and control data is output as the reconstructed data.

[0014] The beneficial effects of this preferred technical solution are as follows: by identifying the protocol frame header type in the private protocol information, the frame-assembled data and the frame-decomposed data are restored accordingly, ensuring that the master station can accurately restore the original monitoring and control data.

[0015] As a preferred embodiment of the FTU data processing method based on BeiDou-3 short message communication described in this invention, the step of processing the data according to the instruction type of the master station server includes: identifying the data category of the restored data to determine the data category of the restored data, wherein the data category includes telemetry data, teleindication data, and remote control data; storing the restored data identified as telemetry data in a telemetry data storage device, and storing the restored data identified as teleindication data in a teleindication data storage device; receiving an instruction sent by the master station server and identifying the instruction type of the instruction; if the instruction type is a telemetry instruction or a teleindication instruction, querying the latest stored restored data from the telemetry data storage device or the teleindication data storage device, and sending the queried restored data to the master station server; if the instruction type is a remote control instruction, converting the remote control instruction according to the data protocol, parsing the data, and forwarding it to the FTU device for execution.

[0016] Secondly, the present invention provides an FTU data processing system based on BeiDou-3 short message communication, comprising: an FTU device for collecting monitoring and control data of power distribution equipment at set time intervals. The station-side data processing module is used to receive the monitoring and control data, perform data parsing and data protocol conversion to obtain converted data, and perform frame splitting and splicing processing on the converted data to obtain intermediate data. The slave station Beidou-3 short message terminal is used to send the data to be sent to the master station via Beidou satellite, and to receive remote control commands sent by the master station and forward them to the slave station data processing module. The master station Beidou-3 short message terminal is used to receive data to be sent from the slave station and forward it to the master station data processing module, as well as to send remote control commands to the slave station via Beidou satellite; The main station data processing module is used to parse and convert the received data to be sent, and to perform frame decomposition and reconstruction based on the private protocol information to obtain the restored data.

[0017] Thirdly, the present invention provides an electronic device, comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, they implement the steps of the FTU data processing method based on BeiDou-3 short message communication.

[0018] Fourthly, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the FTU data processing method based on BeiDou-3 short message communication.

[0019] Compared with the prior art, the beneficial effects of the present invention are as follows: By splitting and splicing the FTU monitoring and control data, multiple frames of data are spliced ​​into a single long frame of data for transmission within the BeiDou-3 short message inbound time interval, or data exceeding the BeiDou card data length limit is split into multiple short frames of data and the last frame that does not exceed the limit is spliced. This reduces the transmission frequency of the BeiDou-3 short message terminal, makes full use of the BeiDou card's data transmission capacity, and thus solves the data congestion and data loss problems caused by the fixed inbound time interval when the FTU communicates via BeiDou-3 short messages, realizing real-time monitoring of the FTU by the distribution network automation master station.

[0020] This invention defines private protocol information, including the framing protocol header PIN and the deframing protocol header CHAI, and adds parameters such as the number of frames and data length to the data after framing and deframing. This enables the master station to accurately identify the data processing method based on the protocol header type and perform corresponding framing and deframing restoration, thereby ensuring the integrity and accuracy of data transmission. At the same time, by classifying and storing the restored data according to telemetry data, remote signaling data, and remote control data, the response efficiency of the master station to different types of commands is improved, meeting the communication needs of power distribution automation systems in remote areas without signal coverage. Attached Figure Description

[0021] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the following description of the embodiments will be briefly introduced. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0022] Figure 1 This is a schematic diagram of the overall process of the FTU data processing method based on BeiDou-3 short message communication according to an embodiment of the present invention.

[0023] Figure 2 This is a schematic diagram illustrating data congestion in an embodiment of the FTU data processing method based on BeiDou-3 short message communication according to an embodiment of the present invention.

[0024] Figure 3 This is a schematic diagram of the state after frame splitting and splicing in the FTU data processing method based on BeiDou-3 short message communication according to an embodiment of the present invention.

[0025] Figure 4 This is a schematic diagram of data frame splitting for an embodiment of the FTU data processing method based on BeiDou-3 short message communication according to the present invention. Detailed Implementation

[0026] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present invention.

[0027] Example 1, referring to Figure 1 As an embodiment of the present invention, an FTU data processing method based on BeiDou-3 short message communication is provided, comprising the following steps: S100. Collect monitoring and control data of the power distribution equipment at a set time interval, and send the monitoring and control data for data parsing and data protocol conversion to obtain the converted data.

[0028] S200: Intermediate data is obtained by splitting and assembling the converted data into frames.

[0029] S300: Add private protocol information to the intermediate data to generate data to be sent, and send the data to be sent to the main station.

[0030] S400: Perform data parsing and data protocol conversion on the received data to be sent, and perform frame decomposition and reconstruction processing on the data to be sent according to the private protocol information to obtain the restored data.

[0031] S500. The restored data is classified and stored according to data category, and processed accordingly according to the instruction type of the main station server.

[0032] It should be noted that FTU, or Distribution Automated Transmission Unit, is a switch monitoring device installed next to the feeder switch. It has telemetry, remote signaling, remote control, remote adjustment, and fault detection functions. It communicates with the distribution automation master station, providing information on the distribution system's operating status, various parameters, and monitoring and control requirements. Currently, FTUs primarily communicate with the distribution automation master station via mobile communication channels. However, in remote areas without signal coverage, data exchange requires the use of BeiDou-3 short message communication. However, the data volume transmitted between the FTU and the distribution automation master station is large, and real-time requirements are high. The BeiDou-3 short message communication device has a fixed data reporting interval of 60 seconds; that is, after one data upload is completed, a 60-second wait is required before the next frame can be uploaded. When the FTU needs to upload multiple frames within a single inbound time interval, data congestion occurs, preventing the distribution automation master station from receiving timely responses from the FTU or resulting in data loss, thus failing to meet the distribution automation master station's real-time monitoring requirements for the FTU.

[0033] Therefore, to address the aforementioned data congestion and data loss issues, steps S100-S500 are used to parse and convert the monitoring and control data collected by the FTU. Based on the relationship between the data volume and the upper limit of the BeiDou card's data length, the data is split and spliced ​​into a single long frame or data exceeding the upper limit is split into multiple short frames. Private protocol information, including protocol headers, frame counts, and data lengths, is added to reduce the transmission frequency of the BeiDou-3 short message terminal and fully utilize the BeiDou card's data transmission capacity. The master station then performs frame reconstruction based on the private protocol information, classifying and storing the reconstructed data according to telemetry, remote signaling, and remote control data. The data is then processed according to the command type to achieve real-time monitoring of the FTU by the distribution network automation master station.

[0034] Example 2, refer to Figures 1-4 As an embodiment of the present invention, based on the above embodiment, an FTU data processing method based on BeiDou-3 short message communication is provided.

[0035] In this embodiment of the application, S100 collects monitoring and control data of the power distribution equipment at a set time interval, and sends the monitoring and control data for data parsing and data protocol conversion to obtain the converted data.

[0036] In this embodiment, the slave-side FTU device collects data from the power distribution equipment at preset time intervals (e.g., 5 seconds or 10 seconds), acquiring monitoring and control data including voltage, current, power, switch status, and fault signals. The FTU device sends the collected monitoring and control data to the slave-side data processing module via a data interface. The data processing module parses the received monitoring and control data, extracts valid data fields, and performs data protocol conversion according to the BeiDou-3 short message communication protocol, converting the original monitoring and control data into converted data that conforms to the BeiDou-3 short message transmission format requirements.

[0037] Reference Figure 2 and Figure 3 As shown in the embodiment of this application, S200 obtains intermediate data by splitting and assembling the converted data into frames.

[0038] The steps for obtaining intermediate data include A1 to A3: A1. Determine whether the amount of data after conversion reaches the upper limit of the data length of the Beidou card of the Beidou-3 short message terminal.

[0039] The maximum data length of the Beidou card in the Beidou-3 short message terminal is 1000 Chinese characters, or 14000 bits, or 1750 bytes. When the slave data processing module receives the converted data, it first calculates the size of the converted data and compares it with the maximum data length of the Beidou card. Based on the comparison result, it determines whether to use frame splicing or frame splitting for subsequent processing.

[0040] A2. When the amount of data after conversion does not reach the upper limit of data length, the converted data is spliced ​​into a single long frame, and the long frame is output as intermediate data.

[0041] The steps for performing frame stitching on the converted data include A2.1 to S2.3: A2.1 During the BeiDou-3 short message inbound time interval, detect whether there is data to be sent after multiple frame conversions.

[0042] The inbound message interval for the BeiDou-3 short message terminal is fixed at 60 seconds, meaning that after completing one data transmission, it is necessary to wait 60 seconds before the next data transmission can proceed. At the beginning of each inbound message interval, the slave-side data processing module checks whether there are multiple frames of converted data waiting to be transmitted in the data buffer. If there are two or more frames of converted data in the buffer, it is determined that there are multiple frames of converted data waiting to be transmitted.

[0043] A2.2 When there are multiple frames of converted data to be sent, the multiple frames of converted data are concatenated sequentially according to the receiving order until the amount of concatenated data reaches the upper limit of the data length or there is no converted data to be sent.

[0044] In an optional implementation, the splicing operation in step A2.2 can also be performed using a priority sorting method. For multiple frames of converted data existing in the buffer, priorities are set according to data type; for example, remote control data has the highest priority, followed by remote signaling data, and telemetry data has the lowest priority. During splicing, high-priority converted data is spliced ​​first to ensure that important data can be sent out within the current inbound cycle.

[0045] The data processing module at the station end follows the order in which the converted data enters the buffer. It uses the first frame of converted data as the starting frame for concatenation, and then concatenates subsequent converted data after the starting frame. Before each concatenation, it calculates the sum of the currently concatenated data and the data to be concatenated. If this sum does not exceed the data length limit, concatenation continues; if the sum exceeds the data length limit or there is no more converted data to be sent in the buffer, the concatenation operation stops.

[0046] A2.3 Output the spliced ​​data as a single long frame.

[0047] Specifically, the data processing module at the station end outputs the data after the splicing operation as a long frame, which contains all the content of the original converted data from multiple frames. This long frame is then used as intermediate data in the subsequent private protocol information addition step.

[0048] A3. When the amount of data after conversion exceeds the upper limit of data length, the converted data is split into multiple short frames, and the short frames are output as intermediate data.

[0049] The steps for performing frame splitting on the converted data include A3.1 to A3.3: A3.1 Calculate the ratio of the converted data volume to the upper limit of the data length to determine the number of frames that need to be split.

[0050] Specifically, the system obtains the data volume D of the current converted data and the upper limit L of the Beidou card's data length from the station-side data processing module, calculates the ratio N = D / L, and rounds this ratio up to obtain the number of frames to be split. For example, if the converted data volume is 4500 bytes and the upper limit of the data length is 1750 bytes, then the calculated number of frames to be split is 3.

[0051] A3.2. Divide the converted data into segments according to the upper limit of the data length, and each segment of data is taken as a short frame of data.

[0052] Starting from the beginning of the converted data, the data processing module at the station end segments the data sequentially according to the upper limit of the data length. The first segment, from byte 1 to byte 1750, is the first short frame; the second segment, from byte 1751 to byte 3500, is the second short frame; and so on, until all the converted data is segmented.

[0053] A3.3 Determine whether the data size of the last short frame is less than the upper limit of the data length. If it is less than the upper limit of the data length, then perform frame splicing processing on the last short frame and other converted data to be sent.

[0054] Specifically, after completing the segmentation operation, the data processing module at the station end checks whether the data size of the last short frame is less than the upper limit of data length. If the data size of the last short frame is less than the upper limit of data length, it checks whether there is other converted data to be sent in the buffer. If so, the last short frame is combined with other converted data to be sent according to step A2.2 to fully utilize the data transmission capacity of the Beidou card and improve data transmission efficiency.

[0055] like Figure 4As shown, FTU data frame 1 exceeded the maximum data length for transmission by the BeiDou card, so it was split into FTU data frames 1-1, 1-2, and 1-3. FTU data frames 1-1 and 1-2 represent the maximum data length for the BeiDou card. FTU data frame 3, with its smaller data volume, was combined with FTU data frame 2 to form a single frame for transmission. During the frame splitting process, a private protocol frame header (CHAI) was added, along with parameters such as the number of segments split, the data length before and after splitting, etc. The private protocol PIN includes the frame header, the number of frames combined, the data length of each frame, and an identifier.

[0056] In an optional implementation, the frame stitching process in step A3.3 can also set a data waiting time threshold. When the data volume of the last short frame is less than the upper limit of data length, the data processing module at the station starts a waiting timer. If new converted data enters the buffer within the waiting time threshold (e.g., 30 seconds), frame stitching is performed. If no new data is added after the waiting time exceeds the threshold, the last short frame is directly output as intermediate data to avoid delaying data transmission due to waiting for frame stitching.

[0057] In this embodiment of the application, S300 adds private protocol information to the intermediate data, generates data to be sent, and sends the data to be sent to the main station.

[0058] Specifically, after the slave station's data processing module completes the frame splicing process to obtain intermediate data, it adds corresponding private protocol information based on the source type of the intermediate data (frame splicing or frame splitting). This enables the master station to accurately reconstruct the original monitoring and control data based on the private protocol information. The data with the added private protocol information is then sent as data to be transmitted via the BeiDou-3 short message terminal at the slave station to the BeiDou-3 short message terminal at the master station through the BeiDou satellite.

[0059] The steps for adding private protocol information to the intermediate data include B1~B2: B1. Add frame stitching private protocol information to the long frame data after frame stitching. The frame stitching private protocol information includes the frame stitching protocol header PIN, the number of frames, the length of each frame, and the frame identifier.

[0060] The slave station's data processing module adds private frame-by-frame protocol information to the long frame data after frame-by-frame processing. This private frame-by-frame protocol information is located at the header of the long frame data. The frame header PIN is a fixed identifier character used to identify that the frame data is frame-by-frame data. The master station can determine that splitting and restoration processing is required by recognizing this frame header. The number of frames recorded records the number of original converted data frames contained in the current long frame data. For example, when 3 frames of converted data are spliced ​​into one long frame data, the number of frames is recorded as 3. The length of each frame data records the number of bytes of each frame of original converted data, arranged in the splicing order. For example, if the first frame data length is 500 bytes, the second frame data length is 600 bytes, and the third frame data length is 400 bytes, then the length of each frame data is recorded as "500, 600, 400". The frame identifier is used to identify the sequence number and source FTU device number of each frame of original converted data, which facilitates data traceability and verification by the master station.

[0061] In an optional implementation, the frame-combining private protocol information in step B1 can also include a checksum field. The slave station's data processing module calculates a CRC checksum for each frame of the original converted data in the long frame data and adds the checksums of each frame sequentially to the frame-combining private protocol information. After the master station performs the splitting and restoration process, it recalculates the CRC checksum for each restored frame of monitoring and control data and compares it with the checksum recorded in the frame-combining private protocol information to verify the integrity and accuracy of the data transmission.

[0062] B2. Add frame splitting private protocol information to the short frame data after frame splitting. The frame splitting private protocol information includes the frame splitting protocol header CHAI, the number of segments split, the data length before splitting, and the data length after splitting.

[0063] Specifically, the slave station's data processing module adds private frame splitting protocol information to each short frame of data after frame splitting. This private frame splitting protocol information is located at the header of each short frame of data. The frame splitting protocol header CHAI is a fixed identifier character used to identify that the data frame is split. The master station can determine that splicing and restoration processing is required by recognizing this header. The number of segments recorded records the total number of short frames into which the original converted data is split. For example, when one frame of converted data is split into 3 short frames, the number of segments is recorded as 3. The data length before splitting records the total number of bytes in the original converted data, used by the master station to verify the data length after splicing and restoration. The data length after splitting records the number of bytes in the current short frame data and the segment number of the short frame data in the original data. For example, if the data length of the second short frame data is 1750 bytes, the data length after splitting is recorded as "2 / 3, 1750", indicating that the short frame data is the second of 3 segments and the data length is 1750 bytes.

[0064] In an optional implementation, the frame splitting private protocol information in step B2 can also include a timestamp field. When the slave data processing module performs frame splitting on the converted data, it records the timestamp of the frame splitting operation and adds this timestamp to the frame splitting private protocol information of each short frame. After receiving multiple short frame data, the master station determines whether each short frame data belongs to the same frame splitting operation based on the timestamp field, avoiding incorrect splicing of short frame data from different batches.

[0065] In another optional implementation, step B2 can also include a short frame data transmission order control mechanism. The slave station data processing module sequentially sends each short frame data to the BeiDou-3 short message terminal according to its segment number. After each short frame data is sent, a 60-second inbound interval is waited before sending the next short frame data. The master station sorts the received short frame data according to the segment number in the frame splitting private protocol information to ensure that the splicing and reconstruction are performed in the correct order.

[0066] In this embodiment of the application, S400 performs data parsing and data protocol conversion on the received data to be sent, and performs frame decomposition and reconstruction processing on the data to be sent according to the private protocol information to obtain the restored data.

[0067] After receiving the data to be transmitted from the slave station via BeiDou satellite, the BeiDou-3 short message terminal at the master station forwards the data to the master station's data processing module. The master station's data processing module parses the received data, extracts valid fields, and performs data protocol conversion according to the data protocol of the distribution network automation master station. After completing data parsing and data protocol conversion, the master station's data processing module performs frame decomposition and reconstruction based on the proprietary protocol information carried in the data to restore the original monitoring and control data.

[0068] The steps of reassembling and restoring the data to be sent according to the private protocol information include C1 to C3: C1. Parse the private protocol information in the data to be sent and identify the protocol frame header type in the private protocol information.

[0069] Specifically, after receiving the data to be sent, the master station's data processing module first reads the private protocol information in the header of the data and extracts the protocol frame header field from it. The master station's data processing module then matches the extracted protocol frame header field with a preset frame header identifier. If the protocol frame header field matches the framing protocol frame header PIN, the data to be sent is determined to be a long frame that has undergone framing; if the protocol frame header field matches the deframing protocol frame header CHAI, the data to be sent is determined to be a short frame that has undergone deframing. Based on the identified protocol frame header type, the master station's data processing module selects the corresponding restoration processing method.

[0070] In an optional implementation, a frame header verification mechanism can be added to step C1. After extracting the protocol frame header fields, the master station data processing module first verifies the validity of the protocol frame header fields to determine whether they are preset PIN or CHAI identifiers. If the protocol frame header fields do not match either PIN or CHAI, the private protocol information of the data to be sent is determined to be abnormal. The master station data processing module marks the data to be sent as abnormal data and stores it in the abnormal data buffer, while simultaneously sending a data retransmission request to the slave station.

[0071] C2. If the protocol frame header type is a frame-joined protocol frame header PIN, then the long frame data is split and restored into multiple independent monitoring and control data frames based on the number of frames joined and the length of each frame. Specifically, when the master station data processing module identifies the protocol frame header type as a frame-joined protocol frame header PIN, it continues to extract the number of frames joined and the length of each frame from the private protocol information. The master station data processing module determines the number of monitoring and control data frames to be split and restored based on the number of frames joined. For example, if the number of frames joined is 3, it means that the current long frame data contains 3 independent monitoring and control data frames. The master station data processing module, based on the length of each frame recorded in the length of each frame field, starts from the beginning of the data area of ​​the long frame data and sequentially segments the data according to the length of each frame. For example, if the length of each data frame is recorded as "500, 600, 400", then the master station's data processing module will extract bytes 1 to 500 from the beginning of the data area as the first frame of monitoring and control data, bytes 501 to 1100 as the second frame, and bytes 1101 to 1500 as the third frame. After extraction, the master station's data processing module will output the obtained multiple independent frames of monitoring and control data as the restored data.

[0072] C3. If the protocol frame header type is a split frame protocol header CHAI, then according to the number of segments split and the length of the data before splitting, the multi-frame short frame data is spliced ​​together to restore the complete monitoring and control data, and the obtained monitoring and control data is output as the restored data.

[0073] Specifically, when the master station data processing module identifies the protocol frame header type as CHAI (Frame Splitting Protocol Header), it continues to extract the number of segments, the data length before splitting, and the data length after splitting fields from the private protocol information. The master station data processing module determines the total number of short frame data that needs to be received and spliced ​​based on the number of segments. For example, if the number of segments is 3, it means that 3 short frame data frames need to be received to splice and restore complete monitoring and control data. The master station data processing module stores each received short frame data frame in the splicing buffer according to the segment number recorded in the data length field after splitting, in ascending order of segment number. When the number of short frame data frames in the splicing buffer reaches the number of segments, the master station data processing module splices the data area contents of each short frame data frame sequentially according to the ascending segment number to form complete monitoring and control data. After the splicing is completed, the main station's data processing module compares and verifies the length of the spliced ​​data with the length of the data before splitting. If the two are equal, the splicing and restoration are determined to be successful, and the obtained complete monitoring and control data is output as the restored data. If the two are not equal, the splicing and restoration are determined to be unsuccessful, and a data retransmission request is sent to the slave station.

[0074] In this embodiment of the application, S500 classifies and stores the restored data according to data categories, and performs corresponding processing according to the instruction type of the main station server.

[0075] The steps for processing according to the instruction type of the main station server include D1~D5: D1. Perform data category identification on the restored data to determine the data category of the restored data, which includes telemetry data, remote signaling data, and remote control data.

[0076] Specifically, the master station data processing module parses the restored data and extracts the data type identifier field. The master station data processing module then matches the extracted data type identifier field with preset data category identifiers to determine the data category of the restored data. Telemetry data consists of analog data collected by the FTU device, including measured values ​​of electrical parameters such as voltage, current, power, and power factor; telesignaling data consists of switch data collected by the FTU device, including status information such as switch status, protection action signals, and alarm signals; remote control data consists of control command response data that the FTU device needs to execute, including feedback information such as switch opening / closing operation confirmation and parameter setting confirmation.

[0077] D2. Store the restored data identified as telemetry data in the telemetry data storage device, and store the restored data identified as remote signaling data in the remote signaling data storage device.

[0078] Specifically, the master station data processing module categorizes and stores the restored data into corresponding data storage devices according to the data categories determined in step D1. For restored data identified as telemetry data, the master station data processing module stores it in the telemetry data storage device. The telemetry data storage device is indexed according to the FTU device number and data acquisition time, facilitating quick retrieval of the latest or historical telemetry data for a specific FTU device. For restored data identified as remote signaling data, the master station data processing module stores it in the remote signaling data storage device. The remote signaling data storage device is also indexed according to the FTU device number and data acquisition time, and important events such as switch status changes and protection actions are marked to facilitate event tracing and fault analysis.

[0079] In an optional implementation, step D2 may also include a data storage capacity management mechanism. When the storage capacity of the telemetry data storage device or the teleindication data storage device reaches a preset threshold (e.g., 80%), the main station data processing module initiates a data archiving operation, transferring historical data that has been stored for more than a set period (e.g., 30 days) to the archive storage device, freeing up main storage space, and ensuring that new data can be stored normally.

[0080] D3. Receive instructions sent by the main station server and identify the instruction type of the instructions.

[0081] The master station data processing module maintains a communication connection with the master station server through a data interface, receiving various instructions sent by the master station server in real time. The master station data processing module parses the received instructions, extracts the instruction type identifier field, and matches the extracted instruction type identifier field with preset instruction type identifiers to determine the instruction type. Instruction types include three types: telemetry instructions, remote signaling instructions, and remote control instructions. Telemetry instructions are used to query the measured electrical parameters of the FTU equipment; remote signaling instructions are used to query the switch status and alarm information of the FTU equipment; and remote control instructions are used to issue control commands to the FTU equipment to perform switch opening and closing operations or parameter settings, etc.

[0082] D4. If the instruction type is a telemetry instruction or a remote signaling instruction, then query the latest stored restored data from the telemetry data storage or the remote signaling data storage, and send the queried restored data to the main station server.

[0083] Specifically, when the master station data processing module identifies the command type as a telemetry command, it extracts the target FTU device number and the query data item field from the telemetry command. The master station data processing module then performs an index query in the telemetry data storage based on the target FTU device number to obtain the latest stored telemetry data for that FTU device. If the query data item field specifies specific electrical parameters (e.g., A-phase voltage, B-phase current, etc.), the master station data processing module extracts the corresponding parameter values ​​from the telemetry data; if the query data item field is empty or a full query identifier, it returns all telemetry data for that FTU device. The master station data processing module then encapsulates the retrieved telemetry data according to the master station server's data format requirements and sends it to the master station server.

[0084] When the master station's data processing module identifies the command type as a remote signaling command, it extracts the target FTU device number and the query data item field from the command. The master station's data processing module then performs an index query in the remote signaling data storage based on the target FTU device number to retrieve the latest stored remote signaling data for that FTU device. Finally, the master station's data processing module encapsulates the retrieved remote signaling data according to the master station server's data format requirements and sends it to the master station server.

[0085] In an optional implementation, step D4 can also support batch query functionality. When the target FTU device number field in the telemetry command or teleindication command contains multiple device numbers or a range of device numbers, the master station data processing module sequentially queries the latest data of each FTU device from the corresponding data storage, summarizes the query results, and sends them to the master station server in a unified manner, thereby improving the efficiency of batch data query.

[0086] D5. If the instruction type is a remote control instruction, the remote control instruction will be converted to a data protocol, parsed, and then forwarded to the FTU device for execution.

[0087] When the master station's data processing module identifies the instruction type as a remote control instruction, it extracts the target FTU device number, controlled object, and control command fields from the instruction. The master station's data processing module performs data protocol conversion on the remote control instruction, transforming the instruction format from the master station server into a data format conforming to the BeiDou-3 short message transmission format requirements. After conversion, the master station's data processing module sends the remote control instruction to the master station's BeiDou-3 short message terminal, which then transmits the instruction via BeiDou satellite to the slave station's BeiDou-3 short message terminal. Upon receiving the remote control instruction, the slave station's BeiDou-3 short message terminal forwards it to the slave station's data processing module. The slave station's data processing module parses the remote control instruction, extracting the controlled object and control command fields, and forwards the parsed instruction to the corresponding FTU device through the data interface. Upon receiving the remote control instruction, the FTU device executes the corresponding control operations according to the control command, such as switch opening, switch closing, and parameter setting, and reports the execution result as remote control response data to the distribution network automation master station.

[0088] In summary, by splitting and splicing the FTU monitoring and control data, multiple frames of data are spliced ​​into a single long frame for transmission within the BeiDou-3 short message inbound interval. Alternatively, data exceeding the BeiDou card's data length limit can be split into multiple short frames, and the last frame not exceeding the limit can be spliced. This reduces the transmission frequency of the BeiDou-3 short message terminal, fully utilizes the BeiDou card's data transmission capacity, and solves the data congestion and data loss problems caused by the fixed inbound interval when the FTU communicates via BeiDou-3 short messages. This enables real-time monitoring of the FTU by the distribution network automation master station.

[0089] This invention defines private protocol information, including the framing protocol header PIN and the deframing protocol header CHAI, and adds parameters such as the number of frames and data length to the data after framing and deframing. This enables the master station to accurately identify the data processing method based on the protocol header type and perform corresponding framing and deframing restoration, thereby ensuring the integrity and accuracy of data transmission. At the same time, by classifying and storing the restored data according to telemetry data, remote signaling data, and remote control data, the response efficiency of the master station to different types of commands is improved, meeting the communication needs of power distribution automation systems in remote areas without signal coverage.

[0090] Example 3 illustrates an FTU data processing method based on BeiDou-3 short message communication. It should be noted that the technical solution of this system for FTU data processing based on BeiDou-3 short message communication is based on the same concept as the aforementioned FTU data processing method based on BeiDou-3 short message communication. Details not described in detail in this example can be found in the description of the aforementioned FTU data processing method based on BeiDou-3 short message communication.

[0091] This embodiment also provides an FTU data processing system based on BeiDou-3 short message communication, including: FTU devices are used to collect monitoring and control data from power distribution equipment at set time intervals. The station-side data processing module is used to receive the monitoring and control data, perform data parsing and data protocol conversion to obtain converted data, and perform frame splitting and splicing processing on the converted data to obtain intermediate data. The slave station Beidou-3 short message terminal is used to send the data to be sent to the master station via Beidou satellite, and to receive remote control commands sent by the master station and forward them to the slave station data processing module. The master station Beidou-3 short message terminal is used to receive data to be sent from the slave station and forward it to the master station data processing module, as well as to send remote control commands to the slave station via Beidou satellite; The main station data processing module is used to parse and convert the received data to be sent, and to perform frame decomposition and reconstruction based on the private protocol information to obtain the restored data.

[0092] This embodiment also provides an electronic device applicable to FTU data processing based on BeiDou-3 short message communication, comprising: a memory and a processor; the memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions to implement the FTU data processing method based on BeiDou-3 short message communication as proposed in the above embodiment.

[0093] This embodiment also provides a storage medium on which a computer program is stored. When the program is executed by a processor, it implements the FTU data processing method based on BeiDou-3 short message communication as proposed in the above embodiment.

[0094] The storage medium proposed in this embodiment and the FTU data processing method based on BeiDou-3 short message communication proposed in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.

[0095] Based on the above description of the implementation methods, those skilled in the art can clearly understand that the present invention can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of the various embodiments of the present invention.

[0096] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not 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 solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all such modifications or substitutions should be covered within the scope of the claims of the present invention.

Claims

1. A data processing method for FTU based on Beidou-3 short message communication, characterized in that, Includes the following steps: Monitoring and control data of power distribution equipment are collected at set time intervals, and the monitoring and control data is sent for data parsing and data protocol conversion to obtain converted data; Intermediate data is obtained by splitting and assembling the converted data into frames. Private protocol information is added to the intermediate data to generate data to be sent, and the data to be sent is sent to the main station. The received data to be sent is parsed and converted according to the data protocol. The data to be sent is then split and reassembled according to the private protocol information to obtain the restored data. The restored data is categorized and stored according to data type, and then processed accordingly based on the instruction type of the main station server. 2.The FTU data processing method based on the Beidou-3 short message communication of claim 1, wherein, The steps to obtain intermediate data include: Determine whether the amount of data after conversion has reached the upper limit of the data length of the Beidou card in the Beidou-3 short message terminal; When the amount of data after conversion does not reach the upper limit of data length, the converted data is processed by frame stitching, and multiple frames of converted data are stitched together into a long frame of data, and the long frame of data is output as intermediate data. When the amount of data in the converted data exceeds the upper limit of the data length, the converted data is split into multiple short frames, and the short frames are output as intermediate data. 3.The FTU data processing method based on the Beidou-3 short message communication of claim 2, wherein, The steps for performing frame stitching on the converted data include: During the BeiDou-3 short message inbound time interval, detect whether there is data to be sent after multiple frame conversions; When there are multiple frames of converted data to be sent, the multiple frames of converted data are concatenated in the order of receipt until the amount of concatenated data reaches the upper limit of the data length or there is no converted data to be sent. The stitched data is output as a single long frame. 4.The FTU data processing method based on the Beidou-3 short message communication of claim 3, wherein, The steps for performing frame splitting on the converted data include: Calculate the ratio of the converted data volume to the upper limit of the data length to determine the number of frames that need to be split. The converted data is segmented according to the upper limit of data length, and each segment is taken as a short frame of data. Determine whether the data size of the last short frame is less than the upper limit of the data length. If it is less than the upper limit of the data length, then perform frame splicing processing on the last short frame and other converted data to be sent. 5.The FTU data processing method based on the Beidou-3 short message communication of claim 4, wherein, The steps for adding private protocol information to the intermediate data include: Add private frame stitching protocol information to the long frame data after frame stitching. The private frame stitching protocol information includes the frame stitching protocol header PIN, the number of frames, the length of each frame, and the frame identifier. Add frame splitting private protocol information to the short frame data after frame splitting. The frame splitting private protocol information includes the frame splitting protocol header CHAI, the number of segments split, the data length before splitting, and the data length after splitting. 6.The FTU data processing method based on the Beidou-3 short message communication of claim 5, wherein, The steps of reassembling and restoring the data to be sent based on the private protocol information include: Parse the private protocol information in the data to be sent, and identify the protocol frame header type in the private protocol information; If the protocol frame header type is a frame-joining protocol frame header PIN, then the long frame data is split and restored into multiple independent monitoring and control data according to the number of frames and the length of each frame data, and the obtained monitoring and control data is output as the restored data. If the protocol frame header type is a split frame protocol header CHAI, then the multi-frame short frame data is spliced ​​together to restore the complete monitoring and control data according to the number of segments split and the length of the data before splitting, and the obtained monitoring and control data is output as the restored data. 7.The FTU data processing method based on the Beidou-3 short message communication of claim 6, wherein, The steps for processing the corresponding instructions based on the type of instruction from the main server include: The restored data is subjected to data category identification to determine the data category of the restored data, which includes telemetry data, remote signaling data and remote control data; The restored data identified as telemetry data is stored in the telemetry data storage, and the restored data identified as remote signaling data is stored in the remote signaling data storage. Receive instructions sent by the main station server and identify the instruction type of the instructions; If the instruction type is a telemetry instruction or a remote signaling instruction, then the latest stored restored data is retrieved from the telemetry data storage or the remote signaling data storage, and the retrieved restored data is sent to the main station server. If the instruction type is a remote control instruction, then the remote control instruction will be converted to a data protocol, parsed, and forwarded to the FTU device for execution.

8. An FTU data processing system based on BeiDou-3 short message communication, employing the method described in any one of claims 1-7, characterized in that, include: FTU devices are used to collect monitoring and control data from power distribution equipment at set time intervals. The station-side data processing module is used to receive the monitoring and control data, perform data parsing and data protocol conversion to obtain converted data, and perform frame splitting and splicing processing on the converted data to obtain intermediate data. The slave station Beidou-3 short message terminal is used to send the data to be sent to the master station via Beidou satellite, and to receive remote control commands sent by the master station and forward them to the slave station data processing module. The master station Beidou-3 short message terminal is used to receive data to be sent from the slave station and forward it to the master station data processing module, as well as to send remote control commands to the slave station via Beidou satellite; The main station data processing module is used to parse and convert the received data to be sent, and to perform frame decomposition and reconstruction based on the private protocol information to obtain the restored data.

9. An electronic device, comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, they implement the steps of the FTU data processing method based on BeiDou-3 short message communication as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the FTU data processing method based on BeiDou-3 short message communication as described in any one of claims 1 to 7.