A transmission system and method for efficiently compressing a full model file of a substation

By compressing the compression algorithm for the different content information in the substation full model file, the problem of low timeliness and high cost of file transmission of the substation full model file is solved, and efficient data compression and transmission is achieved.

CN118193471BActive Publication Date: 2025-04-29STATE GRID JIANGSU ELECTRIC POWER CO LTD NANTONG POWER SUPPLY BRANCH +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410362072.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-28
Publication Date
2025-04-29
Estimated Expiration
2044-03-28

AI Technical Summary

Technical Problem

The entire model file of the substation is large, resulting in low transmission timeliness and high data transmission costs between the monitoring equipment and the centralized control system.

Method used

The corresponding compression algorithm for different content information in the entire model file of the substation is used for compression, including the processing of general data, non-general data and basic data separately, and the compressed file and auxiliary data are transmitted respectively through the first compression unit, the second compression unit and the third compression unit.

Benefits of technology

Effectively identify and compress redundant data and repetitive patterns in power grid model files, improve compression efficiency, reduce the memory space required for transmission, improve the timeliness of the entire model file transmission of substations, and reduce data transmission costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118193471B_ABST
    Figure CN118193471B_ABST
Patent Text Reader

Abstract

The present invention provides a transmission system and method for efficiently compressing a full model file of a substation, the system comprising a processing module and a control module, the control module being communicatively connected to the processing module; the processing module is used to obtain the full model file of the substation, and compress it using a corresponding compression method according to the content information in the full model file of the substation, to obtain the compressed full model file and auxiliary data, and finally send the compressed full model file and auxiliary data to the control module; the control module is used to decompress the compressed full model file and perform scheduling. The present invention compresses different content information in the full model file of the substation obtained by the monitoring device using a compression algorithm corresponding to the content information, that is, the file format and structure targeted by the compression algorithm are the same as the content information, thereby effectively identifying and compressing redundant data and repeated patterns in the power grid model file, and improving compression efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric power dispatching, and in particular to a transmission system and method for efficiently compressing a full model file of a substation. Background Art

[0002] In the field of power dispatching, the substation is connected to the monitoring equipment through communication. The system integration manufacturer or engineer matches and associates the actual structure of the substation and configures the substation full model file. Then, the substation full model file is sent to the monitoring equipment. The monitoring equipment uses DL / T860 communication messages or internal bus methods to upload to the centralized control system through the CMS gateway, so that the centralized control system can perform power dispatching based on the substation full model file.

[0003] However, the substation full model file is relatively large. Taking a 220kV substation as an example, the size of the substation full model file obtained based on the substation configuration is about 250MB. Due to the large size of the substation full model file, the timeliness of the substation full model file transmission between the monitoring equipment and the centralized control system is low, and the cost of data transmission is high.

[0004] Among them, the invention patent with publication number CN112862910A provides a method for compressing data of a substation three-dimensional model. It discloses the use of K-means algorithm to cluster and reduce the dimension of the substation three-dimensional model, and logically encodes the obtained sub-module files to form a trajectory file, so that mapping encoding can be performed based on the trajectory file to obtain a compressed file. In order to improve the compression accuracy, it does not consider timeliness and transmission costs. The invention patent with publication number CN114253919A is a compression method and system for substation BIM model files, which provides lossless compression of substation BIM model files, with the advantages of high compression rate, low distortion and manually controllable compression rate. However, it is obvious that it only considers the compression quality of a single file, but does not take into account the various compressed file formats in the substation. The invention patent with publication number CN115761158A provides a primary and secondary three-dimensional visualization fusion display method based on the GIM model. Specifically, based on the GIM file format standard, the primary and civil engineering GIM model files are quickly parsed to realize the visualization fusion and display of the primary and secondary system three-dimensional models, and the substation secondary system three-dimensional model files are output in the GIM standard format, thereby realizing the digital transfer of the primary and secondary system three-dimensional model files of the substation. It also only considers specific model files, and does not consider a variety of model file formats. The invention patent with publication number CN117494662A discloses a method for generating a composite information model file suitable for a substation. It first obtains different types of model files, which are classified and stored, but the classification method is based on the classification of attribute information, and uses different levels for classification compression, which solves the problem that the CIM file cannot be completely converted with the SCD file. Based on the above, none of them solves the technical problems that need to be solved as claimed by the present invention. Summary of the invention

[0005] Purpose of the invention: In order to overcome the shortcomings of the prior art, the present invention provides a transmission system for efficiently compressing the full model file of a substation, which solves the problems of low timeliness and high cost of data transmission of the full model file of the substation between the monitoring equipment and the centralized control system in the prior art. The present invention also provides a transmission method for efficiently compressing the full model file of the substation.

[0006] Technical solution: According to a first aspect of the present invention, a transmission system for efficiently compressing a full model file of a substation is provided, the system comprising a processing module and a control module, the control module being communicatively connected with the processing module, the processing module being used to obtain the full model file of the substation, and compressing it using a corresponding compression method according to the content information in the full model file of the substation to obtain the compressed full model file and auxiliary data, and finally sending the compressed full model file and auxiliary data to the control module; the control module being used to decompress the compressed full model file and perform scheduling;

[0007] The processing module traverses the content information in the substation full model file, and if it is general data, it is processed by the first compression unit, otherwise, if it is traversed to non-general data, it is processed by the second compression unit, otherwise, if it is traversed to basic data, it is processed by the third compression unit, until the traversal of the current substation full model file is completed, wherein the general data is the same data information that exists in each substation full model file, the non-general data is the data information that is not all the same in different substation full model files, and the basic data is the basic information representing the substation full model file.

[0008] Further, including:

[0009] The non-common data includes multiple nodes, a set of nodes with completely identical data under the same node name is recorded as a first node set, and a set of nodes with non-completely identical data under the same node name is recorded as a second node set.

[0010] The second compression unit comprises:

[0011] Traversing each node in the first node set, converting the repeated content in the current first node into special characters, wherein the special characters are the repeated content under the first node in a distinguishable character representation form;

[0012] Traversing each node name in the second node set, configuring a replacement symbol for the current node according to the different contents corresponding thereto, until all second nodes are configured with replacement symbols, wherein the replacement symbol is a distinguishable character representation of second nodes with the same name but different contents, and corresponds to a specific symbol conversion relationship;

[0013] All special characters in the first node set and all replacement symbols in the second node set are compressed to obtain a second compressed file.

[0014] Further, including:

[0015] The second compression unit comprises:

[0016] Traversing each node in the first node set, converting repeated content in the current first node into special characters, compressing all special characters to form a first node compressed file, wherein the special characters are repeated content under the first node in a distinguishable character representation form;

[0017] Traversing each node name in the second node set, configuring a replacement symbol for the current node according to the different contents corresponding thereto, until all second nodes are configured with replacement symbols, and compressing all replacement symbols to form a second node compressed file, wherein the replacement symbol is a distinguishable character representation of second nodes with the same name but different contents, and corresponds to a specific symbol conversion relationship;

[0018] The first node compressed file and the second node compressed file are merged to obtain a second compressed file.

[0019] Further, including:

[0020] The second compression unit further comprises:

[0021] A common phrase dictionary is established using the first node and the corresponding special character, and the common phrase dictionary is used as auxiliary data; the key in the common phrase dictionary is the first node, and the value in the common phrase dictionary is the special character corresponding to the first node.

[0022] Further, including:

[0023] The control module is also used for:

[0024] When there is no file transfer task, automatically parse the auxiliary data stored locally;

[0025] Before performing the file transfer task, determining whether the version of the auxiliary data stored locally is the same as the version of the auxiliary data in the processing module;

[0026] If they are the same, a first instruction indicating that only the compressed full model file is transmitted is sent to the processing module; if they are different, a second instruction indicating that the compressed full model file and auxiliary data are transmitted simultaneously is sent to the substation.

[0027] Further, including:

[0028] The control module includes:

[0029] A first decompression unit, used to decompress the first compressed file and the third compressed file to obtain a corresponding first decompressed file and a third decompressed file respectively;

[0030] A second decompression unit is used to decompress the data under the first node of the common phrase dictionary, and decompress the data under the second node using the symbol conversion relationship to obtain a second decompressed file;

[0031] The splicing unit is used to splice the contents of the first decompressed file, the second decompressed file and the third decompressed file to obtain a complete model file of the substation.

[0032] Further, including:

[0033] The sending of the compressed full model file and auxiliary data to the control module comprises:

[0034] Determine current network data flow information between the processing module and the control system;

[0035] Determining a target transmission mode corresponding to the network data flow information based on a preset correspondence between the network data flow information and the network data flow transmission mode;

[0036] The compressed full model file is sent to the control system through the target transmission mode.

[0037] Further, including:

[0038] The network data stream transmission mode includes at least one of the following transmission modes: UDP transmission mode, TCP transmission mode, HTTPS transmission mode, FTP transmission mode, QUIC transmission mode and WebSocket transmission mode.

[0039] Further, including:

[0040] The compression algorithm adopted by the first compression unit is LZ77 algorithm or Huffman coding, and the compression algorithm adopted by the third compression unit is a lossy compression algorithm.

[0041] On the other hand, the present invention also provides a method for efficiently compressing and transmitting a full model file of a substation, the method comprising the following steps:

[0042] S1 processing module obtains the full model file of the substation, and compresses it using a corresponding compression method according to the content information in the full model file of the substation to obtain the compressed full model file and auxiliary data, and finally sends the compressed full model file and auxiliary data to the control module;

[0043] S2: the control module decompresses the compressed full model file and performs scheduling;

[0044] Among them, the processing module traverses the content information in the substation full model file, and if it is general data, it is processed by the first compression unit, otherwise, if it is traversed to non-general data, it is processed by the second compression unit, otherwise, if it is traversed to basic data, it is processed by the third compression unit until the traversal of the current substation full model file is completed, wherein the general data is the same data information that exists in each substation full model file, the non-general data is the data information that is not all the same in different substation full model files, and the basic data is the basic information representing the substation full model file.

[0045] Beneficial effects: Compared with the prior art, the present invention has the following advantages: the present invention compresses the different content information in the full model file of the substation obtained by the monitoring device using a compression algorithm corresponding to the content information, that is, the file format and structure targeted by the compression algorithm are the same as the content information, thereby effectively identifying and compressing redundant data and repeated patterns in the power grid model file, and improving compression efficiency. Therefore, the compressed full model file after compression of the present invention only occupies a small memory space, and the method can improve the timeliness of the transmission of the full model file of the substation, thereby reducing the data transmission cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 A flow chart of a method for efficiently compressing and transmitting a full model file of a substation provided in Embodiment 1 of the present invention;

[0047] Figure 2 A schematic diagram of the structure of a transmission system for efficiently compressing a full model file of a substation provided in Embodiment 1 of the present invention;

[0048] Figure 3 A schematic diagram of the structure of a transmission system for efficiently compressing a full model file of a substation provided in Embodiment 2 of the present invention;

[0049] Figure 4 An example of implementing the compression method in the second compression unit provided in embodiment 2 of the present invention Figure 1 ;

[0050] Figure 5 An example of implementing the compression method in the second compression method provided in Embodiment 2 of the present invention Figure 2 . DETAILED DESCRIPTION

[0051] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0052] First, according to a first aspect of the present invention, a transmission system for efficiently compressing a full model file of a substation is provided, the system comprising a processing module and a control module, the control module being communicatively connected to the processing module, the processing module being used to obtain a full model file of the substation, and compress the full model file and auxiliary data by using a corresponding compression method according to content information in the full model file of the substation, and finally sending the compressed full model file and auxiliary data to the control module;

[0053] The step of sending the compressed full model file and auxiliary data to the control module includes:

[0054] Determine current network data flow information between the processing module and the control system;

[0055] Based on a preset correspondence between network data flow information and network data flow transmission mode, a target transmission mode corresponding to the network data flow information is determined; the network data flow transmission mode includes at least one of the following transmission modes: UDP transmission mode, TCP transmission mode, HTTPS transmission mode, FTP transmission mode, QUIC transmission mode and WebSocket transmission mode.

[0056] The compressed full model file is sent to the control system via target transmission.

[0057] The control module is used to decompress the compressed full model file and perform scheduling. It includes:

[0058] A first decompression unit, used to decompress the first compressed file and the third compressed file to obtain a corresponding first decompressed file and a third decompressed file respectively;

[0059] A second decompression unit is used to decompress the data under the first node of the common phrase dictionary, and decompress the data under the second node using the symbol conversion relationship to obtain a second decompressed file;

[0060] The splicing unit is used to splice the contents of the first decompressed file, the second decompressed file and the third decompressed file to obtain a complete model file of the substation.

[0061] Among them, the processing module traverses the content information in the substation full model file, and if it is general data, it is processed by the first compression unit, otherwise, if it is traversed to non-general data, it is processed by the second compression unit, otherwise, if it is traversed to basic data, it is processed by the third compression unit until the traversal of the current substation full model file is completed, wherein the general data is the same data information that exists in each substation full model file, the non-general data is the data information that is not all the same in different substation full model files, and the basic data is the basic information representing the substation full model file.

[0062] Further, including:

[0063] The compression method adopted by the first compression unit is LZ77 algorithm or Huffman coding, and the compression method adopted by the third compression unit is a lossy compression algorithm.

[0064] The non-universal data includes multiple nodes, and a set of nodes with completely identical data under the same node name is recorded as a first node set, and a set of nodes with non-completely identical data under the same node name is recorded as a second node set.

[0065] The second compression unit comprises:

[0066] Traversing each node in the first node set, converting the repeated content in the current first node into special characters, wherein the special characters are the repeated content under the first node in a distinguishable character representation form;

[0067] Traversing each node name in the second node set, configuring a replacement symbol for the current node according to the different contents corresponding thereto, until all second nodes are configured with replacement symbols, wherein the replacement symbol is a distinguishable character representation of second nodes with the same name but different contents, and corresponds to a specific symbol conversion relationship;

[0068] All special characters in the first node set and all replacement symbols in the second node set are compressed to obtain a second compressed file.

[0069] The second compression unit comprises:

[0070] Traversing each node in the first node set, converting repeated content in the current first node into special characters, compressing all special characters to form a first node compressed file, wherein the special characters are repeated content under the first node in a distinguishable character representation form;

[0071] Traversing each node name in the second node set, configuring a replacement symbol for the current node according to the different contents corresponding thereto, until all second nodes are configured with replacement symbols, and compressing all replacement symbols to form a second node compressed file, wherein the replacement symbol is a distinguishable character representation of second nodes with the same name but different contents, and corresponds to a specific symbol conversion relationship;

[0072] The first node compressed file and the second node compressed file are merged to obtain a second compressed file.

[0073] Wherein, the second compression unit further comprises:

[0074] A common phrase dictionary is established using the first node and the corresponding special character, and the common phrase dictionary is used as auxiliary data; the key in the common phrase dictionary is the first node, and the value in the common phrase dictionary is the special character corresponding to the first node.

[0075] Furthermore, the control module is also used to:

[0076] When there is no file transfer task, automatically parse the auxiliary data stored locally;

[0077] Before performing the file transfer task, determining whether the version of the auxiliary data stored locally is the same as the version of the auxiliary data in the processing module;

[0078] If they are the same, a first instruction indicating that only the compressed full model file is transmitted is sent to the processing module; if they are different, a second instruction indicating that the compressed full model file and auxiliary data are transmitted simultaneously is sent to the substation.

[0079] In order to more clearly and completely illustrate the solution of the present invention, a specific embodiment is used to describe in detail, specifically including:

[0080] Example 1

[0081] like Figure 1 and 2 As shown, an embodiment of the present invention provides a transmission system for efficiently compressing a full model file of a substation, the system includes a processing module and a control module. In this embodiment, the processing module is a monitoring device, the control system is communicatively connected to the monitoring device, and the monitoring device is also communicatively connected to the substation. The transmission steps specifically include steps 101 to 103.

[0082] Step 101: The monitoring device obtains the full model file of the substation.

[0083] Specifically, the substation full model file includes files of various data types and data structures, such as: ICD files used to describe the substation IED capabilities, SSD files used to describe the substation primary system structure and associated logical nodes, CAD drawings used to describe the substation structure, and excel files for staff configuration, etc.

[0084] The substation obtains the above files through various channels and integrates them to obtain the substation full model file. When there is a demand for model file transmission tasks, the substation will send the substation full model file to the monitoring equipment.

[0085] Step 102: The monitoring device compresses the substation full model file using a corresponding compression algorithm according to the content information in the substation full model file to obtain a compressed full model file and auxiliary data.

[0086] As can be seen from the above description, the substation full model file usually contains files of various data types and data structures, which may be quite different from the file formats and structures targeted by the general compression algorithm. This results in the general compression algorithm being unable to effectively identify and compress redundant data and repeated patterns in the power grid model file, which means that the compression efficiency is low, and the compressed substation full model file still occupies a high memory, which in turn results in low timeliness of substation full model file transmission and high data transmission costs.

[0087] In this embodiment, for different content information in the full model file of the substation, a compression algorithm corresponding to the content information is used for compression, that is, the file format and structure targeted by the compression algorithm are the same as the content information, thereby effectively identifying and compressing redundant data and repeated patterns in the power grid model file, thereby improving compression efficiency. Therefore, the compressed full model file after compression only occupies a small memory space, so this method can improve the timeliness of the transmission of the full model file of the substation, thereby reducing the data transmission cost.

[0088] In addition, some data in the substation full model file usually needs to maintain high accuracy and integrity for subsequent analysis and processing. However, the general compression algorithm may perform certain lossy compression on the data, thereby affecting the accuracy and integrity of the data. In this embodiment, for the data that needs to maintain high accuracy and integrity, a compression algorithm with less compression loss can be used to ensure the accuracy and integrity of the data.

[0089] Step 103: The monitoring device sends the compressed full model file and auxiliary data to the centralized control system.

[0090] Step 104: The centralized control system decompresses the compressed full model file based on the auxiliary data to obtain a substation full model file. Then, the centralized control system can perform power dispatching based on the substation full model file.

[0091] Example 2

[0092] In step 102 of the first embodiment, the substation full model file may be compressed by the following compression algorithm.

[0093] First, extract the common data, non-common data and basic file data from the substation full model file. Then, compress the common data based on a first compression method to obtain a first compressed file; compress the non-common data based on a second compression method to obtain a second compressed file and auxiliary data; and compress the basic file data based on a third compression method to obtain a third compressed file.

[0094] Specifically, common data refers to: the common data in different substation full model files are the same. For example, a certain ICD file in a substation, the specific ICD file provided by the manufacturer is the same. In other words, common data belongs to the most common part of the substation full model file, and the common data in different substation full model files are the same, so the first compression method can be LZ77 algorithm and Huffman coding, etc. This traditional compression algorithm can achieve a higher compression effect when compressing common data.

[0095] The basic file data is used to represent the basic information of the substation full model file, such as the file path, name information and file size information of the substation full model file, etc. This part of the content is not very important for the power dispatching business. Therefore, the third compression method can be a lossy compression algorithm, etc., which performs lossy compression on the basic file data and presets inherent content values ​​on each service side to improve the compression effect.

[0096] Non-universal data is opposite to the above-mentioned universal data. Non-universal data in different substation full model files are partially the same and partially different. For example, Excel spreadsheet files, model topology files, etc. Since the non-universal data in different substation full model files may be the same or different, the use of the traditional first compression algorithm may result in poor compression effect. Therefore, this embodiment uses a second compression algorithm specifically for processing non-universal data to compress the non-universal data. The specific process is as follows.

[0097] Non-generic data may include multiple nodes, and the data under the same node may be the same or different.

[0098] First, the first node in the non-universal data is determined. The data under each first node is exactly the same. For example, the non-universal data includes 3 DataTypeTemplates nodes, and the data under each DataTypeTemplates node is the same, which is repeated content. Therefore, the DataTypeTemplates node can be determined as the first node.

[0099] Based on the pre-configured character conversion relationship, the same data under the first node is converted into special characters, and the non-universal data after the character conversion is used as the second compressed file.

[0100] Because the same data under the first node is repeated content, the repeated content can be converted into special characters. Special characters occupy less space, so the compression effect can be improved while ensuring data integrity. For example, the repeated content under the DataTypeTemplates node in the above example can be fixed to the special characters "$FuncEna1$DataType". Compared with the same data in the first node, the special characters "$FuncEna1$DataType" occupy very little space, so the compression effect is very obvious.

[0101] In addition, in order to enable the centralized control system to have the ability to decompress the second compressed file, a common phrase dictionary is established based on the first node and the special character while generating the second compressed file, and the common phrase dictionary is used as auxiliary data. Among them, the key in the common phrase dictionary is the first node, and the value in the common phrase dictionary is the special character corresponding to the first node. Therefore, after receiving the common phrase dictionary, the centralized control system can decompress the second compressed file according to the common phrase dictionary.

[0102] Specifically, a common phrase dictionary is established for the model file contents with more similar contents according to the encoded contents. For example, in the contents of the secondary device model file of the full model, there is a measurement point template "FuncEna1" ("<DO name=”FuncEna1”type=”CN_SPC_GZK_EX”desc=”Function 1enabled” / > "),like Figure 4 As shown, the compression method fixes the measurement point template "FuncEna1" with repeated content to the special characters "$FuncEna1$DataType".

[0103] Secondly, a second node in the non-universal data is determined, and different data under the second node is converted into a replacement symbol based on a pre-configured symbol conversion relationship.

[0104] The data under each second node is different. For example, for the name node under non-universal data, the data under the first name node represents the time synchronization service status, while the data under the second name node represents the time jump detection status. From this example, it can be seen that even though they are both name nodes, the data under different name nodes is different, and it is impossible to compress them by establishing a common phrase dictionary. Therefore, for the data under the second node, based on the pre-configured symbol conversion relationship, the different data under the second node is converted into substitute symbols. Since only a small amount of data in non-universal data belongs to the second node, it is easy to implement compression using this method. The substitute symbols also occupy less space, so the compression effect can be improved while ensuring data integrity.

[0105] As Figure 5 shown, substitute symbols are constructed for the content frequency of the model file content with less similar content according to the encoded content; for example, replacing "<DAI name="" with a specific substitute byte number "0x61".

[0106] The symbol conversion and the non-universal data after symbol conversion are used as the second compressed file. In this embodiment, the symbols corresponding to the first node and the second node can also be compressed separately, and then the first node compressed file and the second node compressed file are merged to obtain the second compressed file; finally, the first compressed file, the second compressed file, and the third compressed file are merged to obtain the compressed full model file, and the common phrase dictionary and the symbol conversion relationship are used as auxiliary data.

[0107] Embodiment 3

[0108] After the monitoring device compresses the substation full model file, the compressed full model file can be sent to the centralized control system through the network data stream transmission method. Using the network data stream transmission method can further reduce the time consumed during data transmission and further reduce the timeliness of the substation full model file transmission.

[0109] Embodiment 4

[0110] In the third embodiment, the transmission method can be determined through the following steps.

[0111] Determine the current network data stream information between the monitoring device and the centralized control system.

[0112] Among them, the data stream information includes: the network capacity and the real-time data traffic between the monitoring device and the centralized control system.

[0113] Based on a preset correspondence between network data flow information and a network data flow transmission mode, a target transmission mode corresponding to the network data flow information is determined; and the compressed full model file is sent to a centralized control system through the target transmission mode.

[0114] In this embodiment, the network data stream transmission mode includes at least one of the following transmission modes: UDP transmission mode, TCP transmission mode, HTTPS transmission mode, FTP transmission mode, QUIC transmission mode and WebSocket transmission mode. This embodiment can select a suitable transmission mode according to the current network status between the monitoring device and the centralized control system to increase the data transmission speed and reduce the time consumed in the data transmission process.

[0115] For example, when the network capacity is small but the timeliness requirement is high, select the WebSocket transmission method; when the network capacity is small, the timeliness requirement is not high but the reliability requirement is high, select the TCP transmission method; when the network capacity is small, the reliability requirement is low but the timeliness requirement is high, the source maintenance tool selects the UDP transmission method.

[0116] Example 5

[0117] See also Figure 3 On the basis of the second embodiment, after receiving the compressed full model file and auxiliary data, the dispatching system decompresses the first compressed file, the second compressed file and the third compressed file based on the auxiliary data to obtain a first decompressed file, a second decompressed file and a third decompressed file; then the first decompressed file, the second decompressed file and the third decompressed file are spliced ​​to obtain the substation full model file.

[0118] Specifically, firstly, a general decompression method is used to decompress the first compressed file and the third compressed file to obtain a first decompressed file and a third decompressed file, and then the second compressed file is decompressed based on the auxiliary data. For example, a common phrase dictionary is used to decompress the data under the first node, and a symbol conversion relationship is used to decompress the data under the second node. Finally, the contents of the decompressed files are spliced ​​to obtain a complete substation model file.

[0119] Example 6

[0120] After the monitoring device and the centralized control system are connected, the auxiliary data stored locally are automatically parsed when there is no file transfer task. Before the file transfer task is performed, it is determined whether the version of the auxiliary data stored locally is the same as the version of the auxiliary data in the monitoring device; if they are the same, a first instruction indicating that only the compressed full model file is transmitted is sent to the monitoring device; if they are different, a second instruction indicating that the compressed full model file and the auxiliary data are transmitted simultaneously is sent to the substation.

[0121] By adopting the above-mentioned block transmission method, when there is a file transfer task, the centralized control system checks whether the version of the auxiliary data is consistent with the version in the monitoring device. If they are consistent, there is no need to transmit the auxiliary data additionally, thus reducing the time required for data model transmission and encoding and decoding.

[0122] Example 7

[0123] The present invention also provides a method for efficiently compressing and transmitting a full model file of a substation, which specifically comprises the following steps:

[0124] S1 processing module obtains the full model file of the substation, and compresses it using a corresponding compression method according to the content information in the full model file of the substation to obtain the compressed full model file and auxiliary data, and finally sends the compressed full model file and auxiliary data to the control module;

[0125] The S2 control module decompresses the compressed full model file and performs scheduling;

[0126] Among them, the processing module traverses the content information in the substation full model file, and if it is general data, it is processed by the first compression unit, otherwise, if it is traversed to non-general data, it is processed by the second compression unit, otherwise, if it is traversed to basic data, it is processed by the third compression unit until the traversal of the current substation full model file is completed, wherein the general data is the same data information that exists in each substation full model file, the non-general data is the data information that is not all the same in different substation full model files, and the basic data is the basic information representing the substation full model file.

[0127] The other technical features of the highly efficient compressed transmission method of the full substation model file described in the present invention are similar to those of the highly efficient compressed transmission system of the full substation model file, which will not be described in detail here.

[0128] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.

[0129] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present invention without departing from the spirit and scope of the embodiments of the present invention. Thus, if these modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A transmission system for efficiently compressing the full model file of a substation, characterized in that: The system includes a processing module and a control module, wherein the control module is in communication with the processing module, and the processing module is used to obtain a full model file of a substation, and compress the full model file and auxiliary data using a corresponding compression method according to the content information in the full model file of the substation, and finally send the compressed full model file and auxiliary data to the control module; The control module is used to decompress the compressed full model file and perform scheduling; The processing module traverses the content information in the substation full model file, and if it is general data, it is processed by the first compression unit, otherwise, if it is traversed to non-general data, it is processed by the second compression unit, otherwise, if it is traversed to basic data, it is processed by the third compression unit, until the traversal of the current substation full model file is completed, wherein the general data is the same data information that exists in each substation full model file, the non-general data is the data information that is not all the same in different substation full model files, and the basic data is the basic information representing the substation full model file; The non-common data includes multiple nodes, a set of nodes with completely identical data under the same node name is recorded as a first node set, and a set of nodes with non-completely identical data under the same node name is recorded as a second node set. The second compression unit comprises: Traversing each node in the first node set, converting the repeated content in the current first node into special characters, wherein the special characters are the repeated content under the first node in a distinguishable character representation form; Traversing each node name in the second node set, configuring a replacement symbol for the current node according to the different contents corresponding thereto, until all second nodes are configured with replacement symbols, wherein the replacement symbol is a distinguishable character representation of second nodes with the same name but different contents, and corresponds to a specific symbol conversion relationship; Compressing all special characters in the first node set and all replacement symbols in the second node set to obtain a second compressed file; The second compression unit comprises: Traversing each node in the first node set, converting repeated content in the current first node into special characters, compressing all special characters to form a first node compressed file, wherein the special characters are repeated content under the first node in a distinguishable character representation form; Traversing each node name in the second node set, configuring a replacement symbol for the current node according to the different contents corresponding thereto, until all second nodes are configured with replacement symbols, and compressing all replacement symbols to form a second node compressed file, wherein the replacement symbol is a distinguishable character representation of second nodes with the same name but different contents, and corresponds to a specific symbol conversion relationship; Merging the first node compressed file with the second node compressed file to obtain a second compressed file; In the embodiment, the second compression unit further includes: A common phrase dictionary is established using the first node and the corresponding special character, and the common phrase dictionary is used as auxiliary data; the key in the common phrase dictionary is the first node, and the value in the common phrase dictionary is the special character corresponding to the first node.

2. The transmission system for efficiently compressing the full model file of a substation according to claim 1 is characterized in that: The control module is also used for: When there is no file transfer task, automatically parse the auxiliary data stored locally; Before performing the file transfer task, determining whether the version of the auxiliary data stored locally is the same as the version of the auxiliary data in the processing module; If they are the same, a first instruction indicating that only the compressed full model file is transmitted is sent to the processing module; if they are different, a second instruction indicating that the compressed full model file and auxiliary data are transmitted simultaneously is sent to the substation.

3. The transmission system for efficiently compressing the full model file of a substation according to claim 1 is characterized in that: The control module includes: A first decompression unit, used to decompress the first compressed file and the third compressed file to obtain a corresponding first decompressed file and a corresponding third decompressed file respectively; A second decompression unit is used to decompress the data under the first node of the common phrase dictionary, and decompress the data under the second node using the symbol conversion relationship to obtain a second decompressed file; The splicing unit is used to splice the contents of the first decompressed file, the second decompressed file and the third decompressed file to obtain a complete model file of the substation.

4. The transmission system for efficiently compressing the full model file of a substation according to claim 1 is characterized in that: The sending of the compressed full model file and auxiliary data to the control module comprises: Determine current network data flow information between the processing module and the control system; Determining a target transmission mode corresponding to the network data flow information based on a preset correspondence between the network data flow information and the network data flow transmission mode; The compressed full model file is sent to the control system through the target transmission mode.

5. The transmission system for efficiently compressing the full model file of a substation according to claim 4 is characterized in that: The network data stream transmission mode includes at least one of the following transmission modes: UDP transmission mode, TCP transmission mode, HTTPS transmission mode, FTP transmission mode, QUIC transmission mode and WebSocket transmission mode.

6. The transmission system for efficiently compressing the full model file of a substation according to claim 1 is characterized in that: The compression algorithm adopted by the first compression unit is LZ77 algorithm or Huffman coding, and the compression algorithm adopted by the third compression unit is a lossy compression algorithm.

7. A method for efficiently compressing and transmitting a full model file of a substation, characterized in that: The method comprises the following steps: S1 processing module obtains the full model file of the substation, and compresses it using a corresponding compression method according to the content information in the full model file of the substation to obtain the compressed full model file and auxiliary data, and finally sends the compressed full model file and auxiliary data to the control module; S2: the control module decompresses the compressed full model file and performs scheduling; Wherein, the processing module traverses the content information in the substation full model file, and if it is general data, it is processed by the first compression unit, otherwise, if it is traversed to non-general data, it is processed by the second compression unit, otherwise, if it is traversed to basic data, it is processed by the third compression unit, until the traversal of the current substation full model file is completed, wherein the general data is the same data information that exists in each substation full model file, the non-general data is the data information that is not all the same in different substation full model files, and the basic data is the basic information representing the substation full model file; The non-common data includes multiple nodes, a set of nodes with completely identical data under the same node name is recorded as a first node set, and a set of nodes with non-completely identical data under the same node name is recorded as a second node set. The second compression unit comprises: Traversing each node in the first node set, converting the repeated content in the current first node into special characters, wherein the special characters are the repeated content under the first node in a distinguishable character representation form; Traversing each node name in the second node set, configuring a replacement symbol for the current node according to the different contents corresponding thereto, until all second nodes are configured with replacement symbols, wherein the replacement symbol is a distinguishable character representation of second nodes with the same name but different contents, and corresponds to a specific symbol conversion relationship; Compressing all special characters in the first node set and all replacement symbols in the second node set to obtain a second compressed file; The second compression unit comprises: Traversing each node in the first node set, converting repeated content in the current first node into special characters, compressing all special characters to form a first node compressed file, wherein the special characters are repeated content under the first node in a distinguishable character representation form; Traversing each node name in the second node set, configuring a replacement symbol for the current node according to the different contents corresponding thereto, until all second nodes are configured with replacement symbols, and compressing all replacement symbols to form a second node compressed file, wherein the replacement symbol is a distinguishable character representation of second nodes with the same name but different contents, and corresponds to a specific symbol conversion relationship; Merging the first node compressed file with the second node compressed file to obtain a second compressed file; In the embodiment, the second compression unit further includes: A common phrase dictionary is established using the first node and the corresponding special character, and the common phrase dictionary is used as auxiliary data; the key in the common phrase dictionary is the first node, and the value in the common phrase dictionary is the special character corresponding to the first node.

Citation Information

Patent Citations

  • Method for carrying out data compression on three-dimensional model of transformer substation

    CN112862910A

  • Compression method and system for BIM (Building Information Modeling) file of transformer substation

    CN114253919A

  • GIM model-based primary and secondary three-dimensional visualization fusion display method

    CN115761158A

  • Generation method, system and device of composite information model file suitable for transformer substation and medium

    CN117494662A

  • Document transmission method and device

    CN103873860A