System and method for synchronizing digital twin data of power distribution network in novel power system

Through edge computing and data classification processing, the problem of untimely and unsafe synchronization of digital twin data in the distribution network in the new power system is solved, and efficient and secure data transmission is achieved, especially through classification processing and encryption technology, the distribution is improved. The efficiency and security of network data synchronization.

CN119010953APending Publication Date: 2024-11-22NANJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410970987.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-19
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The synchronization of digital twin data in the distribution network in the new power system is not timely and is not safe enough, resulting in low data transmission efficiency and large delay.

Method used

Adopting edge computing and data classification processing, by setting up a data classification module and four subsystems for transmitting data in parallel in the edge computing device, the data to be synchronized is classified into the first category, the second category, the remote signal data and the telemetry data, and the The synchronization is performed using ECC, AES encryption and sliding window technologies respectively. The data update judgment module is used to determine whether to update the digital twin model.

Benefits of technology

It improves the data transmission efficiency of the distribution network, reduces invalid data transmission, realizes low-latency remote signal data synchronization, reduces the pressure of data transmission and reception modules, and takes into account the security and transmission efficiency of different types of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119010953A_ABST
    Figure CN119010953A_ABST
Patent Text Reader

Abstract

The invention discloses a system and a method for synchronizing digital twin data of a power distribution network in a novel power system. According to the method, the efficiency of data synchronization between a novel power system physical entity and a digital twin model is optimized by classifying collected data through edge calculation. According to the method provided by the invention, the encryption grade of the data needing to be encrypted is judged, then the data are encrypted in different modes, and the data are sent to the digital twin model database in a sliding window mode. The data requiring low delay in the data are divided into remote signaling and telemetering data, and the data are synchronized in a sliding window mode through different methods. According to the method, the data synchronization efficiency and safety of the power distribution network physical entity and the digital twin model in a novel power system can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of digital twins and relates to a system and method for data synchronization between a physical device and a virtual model. Background Art

[0002] The distribution network is at the end of the power system, with the characteristics of wide geographical distribution, large scale, many types of equipment, diverse network connections, and changeable operation modes. With the growth of urbanization and electricity demand, the distribution network is constantly being transformed and expanded, and its scale is also constantly expanding. The scale of the distribution network has reached thousands of feeders, and the number of devices connected under each feeder is showing a geometric growth pattern. Therefore, the digital twin data synchronization of the distribution network in the new power system based on this is facing severe tests, so it is necessary to conduct in-depth research on the digital twin data synchronization of the distribution network in the new power system, and find a safer and more efficient data synchronization method. Summary of the invention

[0003] The fundamental starting point of this invention is to solve the problem of untimely data synchronization and insufficient security of the data synchronization process of the distribution network digital twin in the new power system. Edge computing and data classification processing are used to ensure safe and efficient data transmission.

[0004] To achieve the above purpose, the present invention will adopt the following technical solutions: A system for synchronizing digital twin data of a distribution network in a novel power system, for realizing synchronization of data to be synchronized between a physical device database of an edge computing device and a digital twin database of a digital twin model, wherein the edge computing device is provided with a data classification module, and four subsystems for parallel data transmission are established between the physical device database and the digital twin database; The data classification module is used to classify the data to be synchronized according to its own security transmission requirements; the input of the data classification module is the data to be synchronized, and the output is four types of data, corresponding to the first type of data, the second type of data, the telesignaling data and the telemetry data, wherein: the first type of data is the data with higher security transmission requirements among the data to be synchronized, and the second type of data is the data with lower security transmission requirements among the data to be synchronized; The four subsystems for parallel data transmission are built for four types of data, which can realize the classified synchronization of the data to be synchronized between the physical device database and the digital twin database; The four subsystems correspond to the first to fourth subsystems; the first type of data, the second type of data, the telesignaling data and the telemetry data can be input into the first to fourth subsystems in parallel; The first subsystem is used to implement encryption of the first type of data in the edge computing device, confidential transmission between the edge computing device and the digital twin model, and decryption of the encrypted first type of data synchronized to the digital twin model; The second subsystem is used to implement encryption of the second type of data in the edge computing device, confidential transmission between the edge computing device and the digital twin model, and decryption of the encrypted second type of data synchronized to the digital twin model; The third subsystem is used to synchronize the remote signaling data between the edge computing device and the digital twin model; The fourth subsystem is used to synchronize telemetry data between the edge computing device and the digital twin model; In the digital twin model, a data update judgment module is provided; The data update judgment module is used to compare the synchronized data with the current data of the digital twin model to determine whether to update the digital twin model: if the comparison result shows that the data error between the synchronized data and the current data of the digital twin model exceeds the preset error range, the digital twin model is updated; otherwise, the digital twin model does not need to be updated.

[0005] Preferably, the first subsystem comprises a first encryption module, a first data output module, a first receiving module and a first data decryption module arranged in sequence along the data transmission direction; the first encryption module is used for ECC encryption processing of the first type of data; the first data output module is used to transmit the first type of data after ECC encryption processing to the digital twin model via a sliding window technology; the first receiving module is used to receive data transmitted to the digital twin model by the first data output module, and the first data decryption module is used to decrypt the data received by the first receiving module; The second subsystem includes a second encryption module, a second data output module, a second receiving module and a second data decryption module arranged in sequence along the data transmission direction; the second encryption module is used for AES encryption processing of the second type of data; the second data output module is used to transmit the data output by the second encryption module to the digital twin model via the sliding window technology; the second receiving module is used to receive the data transmitted to the digital twin model by the second data output module; the second data decryption module is used to decrypt the data transmitted by the second data output module; The third subsystem includes a third data output module and a third receiving module arranged in sequence along the data transmission direction; the third data output module is used to synchronize the remote signaling data to the digital twin model via the sliding window technology; the third receiving module is used to receive the data transmitted to the digital twin model by the third data output module; The fourth subsystem includes a fourth data output module and a fourth receiving module arranged sequentially along the data transmission direction; the fourth data output module is used to synchronize the telemetry data to the digital twin model via the sliding window technology; the fourth receiving module is used to receive the data transmitted to the digital twin model by the fourth data output module.

[0006] Preferably, the third data output module pre-sets each switch closing and opening telesignaling address of the telesignaling data, and directly obtains the switch closing and opening field address, so as to synchronize only one closing and opening result field in the memory during the data synchronization process, and confirms whether the data synchronization is completed through handshake between the physical device database and the digital twin database; The fourth data output module first obtains the equivalent address segment and size by providing the equivalent database block size and the initialization address of each business database, and then synchronizes the corresponding data to the digital twin model database by sending the memory, and determines whether the data synchronization is completed correctly through handshake.

[0007] Preferably, the digital twin model includes three databases, corresponding to the first to third digital twin databases; The first type of data is synchronized to the first digital twin database through the first subsystem; The second type of data is synchronized to the second digital twin database through the second subsystem; The telesignaling data and telemetry data are synchronized to the third digital twin database through their respective subsystems.

[0008] Preferably, the edge computing device is further provided with a data screening module; The data screening module is used to compare the current data stored in the physical device database with the historical data to screen out the data in the current data that is different from the historical data; the data to be synchronized is the output of the data screening module; The current data stored in the physical device database are various types of distribution network data output by the perception layer in real time.

[0009] Another technical object of the present invention is to provide a method for synchronizing digital twin data of a distribution network in a new power system, which is implemented based on the above-mentioned system for synchronizing digital twin data of a distribution network in a new power system, and includes the following steps: Step S1: The edge computing device receives and stores the data transmitted by the perception layer, and filters and sends the data that needs to be synchronized: The data transmitted by the perception layer are various distribution network data in the new power system; The edge computing device stores the data transmitted from the perception layer into the physical device database; The edge computing device compares the data stored in the physical device database with the historical data in the historical database, and then filters out the data that is different from the historical data to obtain the data that needs to be synchronized; Step S2: Determine the encryption level of the filtered data: The data classification module is used to determine the encryption level of the screened data, so as to classify the data to be synchronized and then match and input it into the corresponding subsystem; If the screened data has a high security requirement, it is recorded as the first type of data and enters step S3; if the screened data has a low security requirement, it is recorded as the second type of data and enters step S4; if the screened data requires synchronization with low latency, enter step S5; Step S3: Use the first subsystem to perform ECC encryption on the first type of data, and then transmit the data to the first digital twin database of the digital twin model through the sliding window technology, and finally decrypt the first type of data; Step S4: using the second subsystem to perform AES encryption on the second type of data, and then transmitting the data to the second digital twin database of the digital twin model via the sliding window technology, and then performing a decryption operation on the second type of data; Step S5: using the third subsystem to first divide the third type of data into telesignaling data and telemetry data according to whether there is a requirement for low-latency transmission, and then using the third subsystem to synchronize the telesignaling data to the third digital twin database of the digital twin model, and using the fourth subsystem to synchronize the telemetry data to the third digital twin database of the digital twin model; Step S6: Compare the synchronized data with the current data of the digital twin model. If the data error exceeds the preset error range, the digital twin model is updated. If the data error does not exceed the preset error range, there is no need to update the digital twin model.

[0010] Preferably, in step S1, the edge computing device performs unified basic data collection on the data transmitted from the perception layer.

[0011] Preferably, in step S3, the first subsystem adopts a transactional processing mechanism to transmit data message packets. When the first subsystem executes a transaction commit operation, the first encryption module will encapsulate the transaction into a specific data synchronization message format and encrypt the message packet using an ECC encryption algorithm; then, the encrypted message is stored in a pending transaction queue, waiting for processing by the first data output module; the first data output module will use a sliding window technology to send the synchronization message to the digital twin model database for processing; when the digital twin model database receives a message from the physical device data sending module, the first data decryption module will decrypt the source message; the first receiving module of the digital twin model data will modify the completed synchronization position while completing the information synchronization itself; In step S4, the second subsystem adopts a transactional processing mechanism to transmit data message packets. When the second subsystem executes a transaction submission operation, the second encryption module will encapsulate the transaction into a specific data synchronization message format and encrypt the message packet using the AES encryption algorithm; then, the encrypted message is stored in the pending transaction queue, waiting for the second data output module to process; the second data output module will use the sliding window technology to send the synchronization message to the digital twin model database for processing; when the digital twin model database receives the message from the second data output module, the second data decryption module will decrypt the source message; the second receiving module of the digital twin model data will modify the completed synchronization position while completing the information synchronization itself; In step S5, when the third subsystem executes the transaction commit operation, the data that requires low-latency synchronization is divided into telesignaling and telemetry data for separate synchronization. The telesignaling data obtains the switch closing and opening field address and transmits a closing and opening result field through the sliding window technology to pass the data. The telemetry data obtains the equivalent address segment and size and synchronizes the corresponding data to the digital twin database through the sliding window technology.

[0012] Preferably, the step S1 specifically includes the following steps: Step S11: The edge computing device receives the data transmitted from the sensor layer and stores it in the physical device database; Step S12: The edge computing device performs edge computing on the data from the sensor layer; and uses a data screening module to compare the transmitted data with the historical data in the physical device database to screen out data that is inconsistent with the historical data, thereby obtaining the data to be synchronized.

[0013] Preferably, the step S6 specifically includes the following steps: Step S61: Compare the decrypted data in the first and second digital twin databases and the converted telesignaling and telemetry data in the third digital twin database with the current data of the digital twin model, calculate the error value, and determine whether the error value exceeds the preset error range; Step S62: If the comparison result shows that the data error between the synchronized data and the current data of the digital twin model exceeds the preset error range, the digital twin model is updated; otherwise, the digital twin model does not need to be updated.

[0014] Compared with the prior art, the present invention can achieve the following optimization effects: The present invention processes a large amount of data of the power grid through edge devices, and only synchronizes the data that needs to be synchronized to the digital twin model database, which solves the problem of a large amount of invalid data transmission and greatly improves the transmission efficiency of the power grid data. In addition, the present invention also classifies the data to be synchronized twice. The data shows that a large amount of time for data synchronization is applied to the encryption and decryption of the data, which greatly increases the time of data synchronization and causes a great delay in data synchronization. However, for some data that are urgently needed to be transmitted and have low security requirements, there is no need for encryption and decryption work, so it is divided into data that requires high security, data that requires low security, and data that does not require encryption. The remote signaling data in the data that does not require encryption has a great impact on the power grid, and requires low latency to complete the data synchronization work, and the synchronization difficulty is much less than that of telemetry data. This method can realize low-latency data synchronization between the physical device database and the digital twin model database. In addition, although the synchronized telemetry data without encryption does not have the low latency of the remote signaling data, it can also achieve a lower latency of data synchronization by exempting the encryption and decryption steps, and at the same time, it also reduces the data transmission pressure of the data sending and receiving modules, and increases the efficiency of data transmission. As for confidential data, it is necessary to divide it into data that requires high security and data that requires low security, and adopt a transactional processing mechanism to transmit data message packets, which ensures the security of different types of data transmission and takes into account the transmission efficiency of some data. In summary, the present invention improves the efficiency of digital twin data synchronization of the distribution network in the new power system and takes into account the security of confidential data synchronization. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 This is a flow chart of the method for synchronizing distribution network digital twin data in a novel power system described in the present invention.

[0016] Figure 2 This is a flow chart of the method for synchronizing digital twin data of distribution networks in a new power system as described in the present invention (each implementation step is more specific). DETAILED DESCRIPTION

[0017] In order to enhance the accuracy, intuitiveness and in-depth understanding of the strategic design of the present invention by those skilled in the art, the present invention will be described in detail below with reference to the accompanying drawings and embodiments, which can provide readers with clearer visual references and actual cases, so as to more fully understand the principles and application methods of the present invention.

[0018] Example 1

[0019] like Figure 1 , Figure 2 As shown, in order to solve the problem that the digital twin data synchronization of the distribution network in the new power system is not timely and the data synchronization process is not safe enough. Edge computing and data classification processing are used to ensure that data is transmitted safely and efficiently. Specifically, this embodiment provides a system for synchronizing digital twin data of the distribution network in the new power system, which is provided with a data classification module in the edge computing device, and establishes four subsystems for parallel data transmission between the physical device database and the digital twin database.

[0020] The data classification module is used to classify the data to be synchronized according to its own security transmission requirements; the input of the data classification module is the data to be synchronized, and the output is four types of data, corresponding to the first type of data, the second type of data, the telesignaling data and the telemetry data, wherein: the first type of data is the data with higher security transmission requirements among the data to be synchronized, and the second type of data is the data with lower security transmission requirements among the data to be synchronized; The four subsystems for parallel data transmission are built for four types of data, and can realize the classified synchronization of the data to be synchronized between the physical device database and the digital twin database.

[0021] The four subsystems correspond to the first to fourth subsystems; the first type of data, the second type of data, the telesignaling data and the telemetry data can be input into the first to fourth subsystems in parallel, wherein: The first subsystem is used to implement encryption of the first type of data in the edge computing device, confidential transmission between the edge computing device and the digital twin model, and decryption of the encrypted first type of data synchronized to the digital twin model; the second subsystem is used to implement encryption of the second type of data in the edge computing device, confidential transmission between the edge computing device and the digital twin model, and decryption of the encrypted second type of data synchronized to the digital twin model; the third subsystem is used to implement synchronization of telesignaling data between the edge computing device and the digital twin model; the fourth subsystem is used to implement synchronization of telemetry data between the edge computing device and the digital twin model.

[0022] The digital twin model is provided with a data update judgment module; the data update judgment module is used to compare the synchronized data with the current data of the digital twin model to determine whether to update the digital twin model: if the comparison result shows that the data error between the synchronized data and the current data of the digital twin model exceeds the preset error range, the digital twin model is updated; otherwise, the digital twin model does not need to be updated.

[0023] Specifically, the first subsystem includes a first encryption module, a first data output module, a first receiving module and a first data decryption module arranged in sequence along the data transmission direction; the first encryption module is used for ECC encryption processing of the first type of data; the first data output module is used to transmit the first type of data after ECC encryption processing to the digital twin model via the sliding window technology; the first receiving module is used to receive data transmitted to the digital twin model by the first data output module, and the first data decryption module is used to decrypt the data received by the first receiving module.

[0024] The second subsystem includes a second encryption module, a second data output module, a second receiving module and a second data decryption module arranged in sequence along the data transmission direction; the second encryption module is used for AES encryption processing of the second type of data; the second data output module is used to transmit the data output by the second encryption module to the digital twin model via the sliding window technology; the second receiving module is used to receive the data transmitted to the digital twin model by the second data output module; the second data decryption module is used to decrypt the data transmitted by the second data output module.

[0025] The third subsystem includes a third data output module and a third receiving module arranged sequentially along the data transmission direction; the third data output module is used to synchronize the remote signal data to the digital twin model via the sliding window technology; the third receiving module is used to receive the data transmitted to the digital twin model by the third data output module.

[0026] The fourth subsystem includes a fourth data output module and a fourth receiving module arranged in sequence along the data transmission direction; the fourth data output module is used to synchronize the telemetry data to the digital twin model via the sliding window technology; the fourth receiving module is used to receive the data transmitted to the digital twin model by the fourth data output module. Preferably, the third data output module pre-sets each switch closing and opening telemetering address of the telemetering data, and directly obtains the switch closing and opening field address, so as to synchronize only one closing and opening result field in the memory during the data synchronization process, and confirms whether the data synchronization is completed through a handshake between the physical device database and the digital twin database; The fourth data output module first obtains the equivalent address segment and size by providing the equivalent database block size and the initialization address of each business database, and then synchronizes the corresponding data to the digital twin model database by sending the memory, and determines whether the data synchronization is completed correctly through handshake.

[0027] The digital twin model includes three databases, corresponding to the first to third digital twin databases; the first type of data is synchronized to the first digital twin database through the first subsystem; the second type of data is synchronized to the second digital twin database through the second subsystem; the telesignaling data and telemetry data are synchronized to the third digital twin database through their respective subsystems.

[0028] In order to reduce invalid transmission of data, the edge computing device described in the present invention is also provided with a data screening module; the data screening module is used to compare the current data stored in the physical device database with the historical data to filter out the data in the current data that is different from the historical data; the data to be synchronized is the output of the data screening module; the current data stored in the physical device database is various types of distribution network data output in real time by the perception layer.

[0029] Example 2

[0030] Figure 1 , Figure 2 The present invention is a flow chart of a method for synchronizing distribution network digital twin data in a novel power system.

[0031] Refer to the attached Figure 1 , Figure 2 , a method for synchronizing distribution network digital twin data in a new power system provided in this embodiment includes the following steps: Step S1: The edge computing device receives and stores the data transmitted by the perception layer, and filters and sends the data that needs to be synchronized: The data transmitted by the perception layer are various distribution network data in the new power system; The edge computing device stores the data transmitted from the perception layer into the physical device database; The edge computing device compares the data stored in the physical device database with the historical data in the historical database, and then filters out the data that is different from the historical data to obtain the data that needs to be synchronized.

[0032] Specifically, the step S1 is as follows: Figure 2 As shown, it includes the following two steps: Step S11: The edge device receives a large amount of new power system distribution network data transmitted from the sensor layer and stores it in the physical device database.

[0033] Step S12: The edge device performs edge computing (such as data cleaning) on ​​the big data from the distribution network. Then the transmitted data is compared with the historical data in the physical device history database, and the data that is inconsistent with the historical data is screened out to obtain the data that needs to be synchronized.

[0034] Step S2: Determine the encryption level of the filtered data: The data classification module is used to determine the encryption level of the screened data, so as to classify the data to be synchronized and then match and input it into the corresponding subsystem; If the screened data has high security requirements, it is recorded as the first category data and enters step S3; if the screened data has low security requirements, it is recorded as the second category data and enters step S4; if the screened data requires synchronous low latency, enter step S5.

[0035] Step S3: Perform ECC encryption on the first category of data, then transmit the data to the first digital twin database of the digital twin model via the sliding window technology, and finally perform decryption on the first category of data.

[0036] The step S3 specifically comprises the following steps: Step S31: In order to ensure the security of the database, ECC (elliptic curve cryptography), a public key encryption algorithm based on the mathematical principle of elliptic curves, is used. For data that needs to be encrypted, we encrypt the data files of the database. At the same time, during data transmission and database login, we use TLS encryption to ensure data security. Through such encryption methods, it can be ensured that database access and data storage are in an encrypted state, improving the confidentiality and protection capabilities of the database.

[0037] Step S32: Store the encrypted data in a transaction queue to be processed, waiting for processing by the message sending module; the message sending module uses a sliding window technology to send the synchronization message to the first digital twin database for processing.

[0038] Step S33: In the digital twin model database, after receiving the source message from the physical device data sending module, the execution subsystem will decrypt the source message and then reverse generate it into a transaction SQL statement; then, the digital twin model data receiving module will apply the generated SQL statement to the digital twin model database to complete the information synchronization operation, and at the same time modify the location where the synchronization has been completed.

[0039] Step S4: Use the second subsystem to perform AES encryption on the second type of data, then transmit the data to the second digital twin database of the digital twin model via the sliding window technology, and then decrypt the second type of data.

[0040] Specifically, step S4 includes the following steps: Step S41: In order to ensure the security of the database, AES (Advanced Encryption Standard), a symmetric key encryption algorithm, is used. For the data that needs to be encrypted, we encrypt the data files of the database. At the same time, during data transmission and database login, we use TLS encryption to ensure data security. Through such encryption means, it can be ensured that the access to the database and the storage of data are in an encrypted state, improving the confidentiality and protection capabilities of the database.

[0041] Step S42: Store the encrypted data in a transaction queue to be processed, waiting for the message sending module to process it; the message sending module uses the sliding window technology to send the synchronization message to the second digital twin database for processing.

[0042] Step S43: In the digital twin model database, after receiving the source message from the physical device data sending module, the execution subsystem will decrypt the source message and then reverse generate it into a transaction SQL statement; then, the digital twin model data receiving module will apply the generated SQL statement to the digital twin model database to complete the information synchronization operation, and at the same time modify the location where the synchronization has been completed.

[0043] Step S5: Use the third subsystem to first divide the third type of data into telesignaling data and telemetry data according to whether there is a requirement for low-latency transmission, and then use the third subsystem to synchronize the telesignaling data to the third digital twin database of the digital twin model, and use the fourth subsystem to synchronize the telemetry data to the third digital twin database of the digital twin model.

[0044] Specifically, step S5 includes the following steps: Step S51: When the distribution network performs data processing such as telesignaling position change and control operation that needs to meet performance requirements, it can adopt a method with high efficiency and small memory usage, that is, only changing the result field to achieve it. In order to ensure the security of the data, in the case of massive data upload, the synchronization priority of this type of data is the highest. In order to achieve this efficient synchronization, a channel method can be used for data synchronization, that is, data is transmitted through the channel to ensure that the above processing results can be updated first. At the same time, the program pre-sets the telesignaling address of each switch, and only synchronizes one closing and opening result field in the memory during the data synchronization process by directly obtaining the address of the switch closing and opening field. This data synchronization mode is a one-to-one method, that is, the physical device database only synchronizes a single field to the digital twin model database. In order to determine whether the data synchronization is completed correctly, the physical device database and the digital twin model database are confirmed by handshake.

[0045] Step S52: When synchronizing telemetry data, the synchronization efficiency of telemetry data is lower than that of telesignaling data, and in this synchronization process, the data volume is large and the performance is not optimal. During the synchronization process, the physical device database obtains the equivalent address segment and size through the equivalent database block size provided by the program and the initialization address of each business database. Then, the corresponding data is synchronized to the digital twin model database by sending the memory. This data synchronization method adopts a one-to-one synchronization mode. The physical device database uses the address segment and size of the data block to be synchronized to synchronize the data block content to the digital twin model database, and determines whether the data synchronization is completed correctly through handshake.

[0046] Step S53: Store the data in the third digital twin database and convert the data format into a format that is easy to compare with historical data.

[0047] In step S3 to step S5, the first to fourth subsystems are four subsystems for transmitting data in parallel, which are constructed between the physical device database and the digital twin database for the transmission of four types of data, namely, the first type of data, the second type of data, the telesignaling data, and the telemetry data, and can realize the classified synchronization of the data to be synchronized between the physical device database and the digital twin database; Step S6: Compare the synchronized data with the current data of the digital twin model. If the data error exceeds the preset error range, the digital twin model is updated. If the data error does not exceed the preset error range, there is no need to update the digital twin model.

[0048] Specifically, step S6 includes the following steps: Step S61: Compare the decrypted data in the first and second digital twin databases and the converted telesignaling and telemetry data in the third digital twin database with the current data of the digital twin model, calculate the error value, and determine whether the error value exceeds the preset error range.

[0049] Step S62: If the comparison result shows that the data error between the synchronized data and the current data of the digital twin model exceeds the preset error range, the digital twin model is updated; otherwise, the digital twin model does not need to be updated.

[0050] The above is a detailed description of the embodiments of the present invention in conjunction with the accompanying drawings. It is obvious that the specific implementation of the present invention is not limited by the above-mentioned methods. It should be pointed out that relevant technical personnel can make other improvements without departing from the technical principles of the present invention, and these improvements should be regarded as the protection scope of the present invention.

Claims

1. A system for synchronizing digital twin data of a distribution network in a new power system, used to synchronize data between a physical device database of an edge computing device and a digital twin database of a digital twin model, characterized in that: The edge computing device is provided with a data classification module, and four subsystems for parallel data transmission are established between the physical device database and the digital twin database; The data classification module is used to classify the data to be synchronized according to its own security transmission requirements; the input of the data classification module is the data to be synchronized, and the output is four types of data, corresponding to the first type of data, the second type of data, the telesignaling data and the telemetry data, wherein: the first type of data is the data with higher security transmission requirements among the data to be synchronized, and the second type of data is the data with lower security transmission requirements among the data to be synchronized; The four subsystems for parallel data transmission are built for four types of data, which can realize the classified synchronization of the data to be synchronized between the physical device database and the digital twin database; The four subsystems correspond to the first to fourth subsystems; the first type of data, the second type of data, the telesignaling data and the telemetry data can be input into the first to fourth subsystems in parallel; The first subsystem is used to implement encryption of the first type of data in the edge computing device, confidential transmission between the edge computing device and the digital twin model, and decryption of the encrypted first type of data synchronized to the digital twin model; The second subsystem is used to implement encryption of the second type of data in the edge computing device, confidential transmission between the edge computing device and the digital twin model, and decryption of the encrypted second type of data synchronized to the digital twin model; The third subsystem is used to synchronize the remote signaling data between the edge computing device and the digital twin model; The fourth subsystem is used to synchronize telemetry data between the edge computing device and the digital twin model; In the digital twin model, a data update judgment module is provided; The data update judgment module is used to compare the synchronized data with the current data of the digital twin model to determine whether to update the digital twin model: if the comparison result shows that the data error between the synchronized data and the current data of the digital twin model exceeds the preset error range, the digital twin model is updated; otherwise, the digital twin model does not need to be updated.

2. The system for synchronizing digital twin data of a distribution network in a novel power system according to claim 1, characterized in that: The first subsystem comprises a first encryption module, a first data output module, a first receiving module and a first data decryption module arranged in sequence along the data transmission direction; the first encryption module is used for ECC encryption processing of the first type of data; A first data output module, used to transmit the first type of data after ECC encryption processing to the digital twin model via a sliding window technology; A first receiving module, used to receive data transmitted to the digital twin model by the first data output module, and a first data decryption module, used to decrypt the data received by the first receiving module; The second subsystem comprises a second encryption module, a second data output module, a second receiving module and a second data decryption module arranged in sequence along the data transmission direction; The second encryption module is used for AES encryption processing of the second type of data; A second data output module, used to transmit the data output by the second encryption module to the digital twin model via a sliding window technology; A second receiving module, used to receive data transmitted to the digital twin model by the second data output module; A second data decryption module, used for decrypting the data transmitted from the second data output module; The third subsystem comprises a third data output module and a third receiving module arranged in sequence along the data transmission direction; The third data output module is used to synchronize the remote signaling data to the digital twin model via the sliding window technology; A third receiving module, used to receive data transmitted to the digital twin model by the third data output module; The fourth subsystem comprises a fourth data output module and a fourth receiving module arranged in sequence along the data transmission direction; The fourth data output module is used to synchronize the telemetry data into the digital twin model via the sliding window technology; The fourth receiving module is used to receive data transmitted to the digital twin model by the fourth data output module.

3. The system for synchronizing digital twin data of a distribution network in a novel power system according to claim 2, characterized in that: The third data output module pre-sets each switch closing and opening telesignaling address of the telesignaling data, and directly obtains the switch closing and opening field address, so as to synchronize only one closing and opening result field in the memory during the data synchronization process, and confirms whether the data synchronization is completed through handshake between the physical device database and the digital twin database; The fourth data output module first obtains the equivalent address segment and size by providing the equivalent database block size and the initialization address of each business database, and then synchronizes the corresponding data to the digital twin model database by sending the memory, and determines whether the data synchronization is completed correctly through handshake.

4. The system for synchronizing digital twin data of a distribution network in a novel power system according to claim 3, characterized in that: The digital twin model includes three databases, corresponding to the first to third digital twin databases; The first type of data is synchronized to the first digital twin database through the first subsystem; The second type of data is synchronized to the second digital twin database through the second subsystem; The telesignaling data and telemetry data are synchronized to the third digital twin database through their respective subsystems.

5. The system for synchronizing digital twin data of a distribution network in a novel power system according to claim 4, characterized in that: The edge computing device is also provided with a data screening module; The data screening module is used to compare the current data stored in the physical device database with the historical data to screen out the data in the current data that is different from the historical data; the data to be synchronized is the output of the data screening module; The current data stored in the physical device database are various types of distribution network data output by the perception layer in real time.

6. A method for synchronizing digital twin data of a distribution network in a new power system, implemented based on the system for synchronizing digital twin data of a distribution network in a new power system according to claim 1, characterized in that: The following steps are involved: Step S1: The edge computing device receives and stores the data transmitted by the perception layer, and filters and sends the data that needs to be synchronized: The data transmitted by the perception layer are various distribution network data in the new power system; The edge computing device stores the data transmitted from the perception layer into the physical device database; The edge computing device compares the data stored in the physical device database with the historical data in the historical database, and then filters out the data that is different from the historical data to obtain the data that needs to be synchronized; Step S2: Determine the encryption level of the filtered data: The data classification module is used to determine the encryption level of the screened data, so as to classify the data to be synchronized and then match and input it into the corresponding subsystem; If the screened data has a high security requirement, it is recorded as the first type of data and goes to step S3; if the screened data has a low security requirement, it is recorded as the second type of data and goes to step S4; if the screened data requires synchronous low latency, go to step S5; Step S3: using the first subsystem to perform ECC encryption processing on the first type of data, then transmitting the data to the first digital twin database of the digital twin model via the sliding window technology, and finally performing a decryption operation on the first type of data; Step S4: using the second subsystem to perform AES encryption processing on the second type of data, and then transmitting the data to the second digital twin database of the digital twin model via the sliding window technology, and then performing a decryption operation on the second type of data; Step S5: using the third subsystem to first divide the third type of data into telesignaling data and telemetry data according to whether there is a requirement for low-latency transmission, and then using the third subsystem to synchronize the telesignaling data to the third digital twin database of the digital twin model, and using the fourth subsystem to synchronize the telemetry data to the third digital twin database of the digital twin model; Step S6: Compare the synchronized data with the current data of the digital twin model. If the data error exceeds the preset error range, the digital twin model is updated. If the data error does not exceed the preset error range, there is no need to update the digital twin model.

7. A method for synchronizing digital twin data of a distribution network in a new power system according to claim 1, characterized in that: In step S1, the edge computing device performs unified basic data collection on the data transmitted from the perception layer.

8. A method for synchronizing digital twin data of a distribution network in a new power system according to claim 6, characterized in that: In step S3, the first subsystem adopts a transactional processing mechanism to transmit data message packets. When the first subsystem executes a transaction commit operation, the first encryption module encapsulates the transaction into a specific data synchronization message format and encrypts the message packet using an ECC encryption algorithm; then, the encrypted message is stored in a pending transaction queue, waiting for processing by the first data output module; the first data output module uses a sliding window technology to send the synchronization message to the digital twin model database for processing; when the digital twin model database receives a message from the physical device data sending module, the first data decryption module decrypts the source message; the first receiving module of the digital twin model data modifies the completed synchronization position while completing the information synchronization itself; In step S4, the second subsystem adopts a transaction processing mechanism to transmit the data message packet. When the second subsystem performs a transaction commit operation, the second encryption module encapsulates the transaction into a specific data synchronization message format and encrypts the message packet using the AES encryption algorithm; then, the encrypted message is stored in the transaction queue to be processed, waiting for the second data output module to process it; The second data output module will use the sliding window technology to send the synchronization message to the digital twin model database for processing; when the digital twin model database receives the message from the second data output module, the second data decryption module will decrypt the source message; the second receiving module of the digital twin model data will modify the completed synchronization position while completing the information synchronization itself; In step S5, when the third subsystem executes the transaction commit operation, the data that requires low-latency synchronization is divided into telesignaling and telemetry data for separate synchronization. The telesignaling data obtains the switch closing and opening field address and transmits a closing and opening result field through the sliding window technology to pass the data. The telemetry data obtains the equivalent address segment and size and synchronizes the corresponding data to the digital twin database through the sliding window technology.

9. The method for synchronizing digital twin data of a distribution network in a novel power system according to claim 6, characterized in that: The step S1 specifically includes the following steps: Step S11: The edge computing device receives the data transmitted from the sensor layer and stores it in the physical device database; Step S12: The edge computing device performs edge computing on the data from the sensor layer; and uses a data screening module to compare the transmitted data with the historical data in the physical device database to screen out data that is inconsistent with the historical data, thereby obtaining the data to be synchronized.

10. A method for synchronizing digital twin data of a distribution network in a new power system according to claim 6, characterized in that: The step S6 specifically comprises the following steps: Step S61: Compare the decrypted data in the first and second digital twin databases and the converted telesignaling and telemetry data in the third digital twin database with the current data of the digital twin model, calculate the error value, and determine whether the error value exceeds the preset error range; Step S62: If the comparison result shows that the data error between the synchronized data and the current data of the digital twin model exceeds the preset error range, the digital twin model is updated; otherwise, the digital twin model does not need to be updated.

Citation Information

Cited By

  • Load flow calculation and simulation control method and system of digital twin power grid

    CN120524842A