CN115484091A - Virtual power plant aggregation gateway device and internal and external network data transmission method - Google Patents

Virtual power plant aggregation gateway device and internal and external network data transmission method Download PDF

Info

Publication number
CN115484091A
CN115484091A CN202211109571.XA CN202211109571A CN115484091A CN 115484091 A CN115484091 A CN 115484091A CN 202211109571 A CN202211109571 A CN 202211109571A CN 115484091 A CN115484091 A CN 115484091A
Authority
CN
China
Prior art keywords
data
message data
message
processing unit
modeling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211109571.XA
Other languages
Chinese (zh)
Inventor
卜宪德
刘川
刘世栋
陶静
鲍兴川
刘莹
苏剑
陆启宇
向佳霓
吴佳伟
汪莞乔
吕冉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Smart Grid Research Institute Co ltd
China Electric Power Research Institute Co Ltd CEPRI
State Grid Shanghai Electric Power Co Ltd
Original Assignee
State Grid Smart Grid Research Institute Co ltd
China Electric Power Research Institute Co Ltd CEPRI
State Grid Shanghai Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Smart Grid Research Institute Co ltd, China Electric Power Research Institute Co Ltd CEPRI, State Grid Shanghai Electric Power Co Ltd filed Critical State Grid Smart Grid Research Institute Co ltd
Priority to CN202211109571.XA priority Critical patent/CN115484091A/en
Publication of CN115484091A publication Critical patent/CN115484091A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/02Network architectures or network communication protocols for network security for separating internal from external traffic, e.g. firewalls
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a virtual power plant aggregation gateway device and an internal and external network data transmission method, wherein the aggregation gateway device comprises: the data processing unit is divided into a data writing processing unit and a data reading processing unit according to a data transmission direction; the data writing processing unit and the data reading processing unit are respectively connected with the data storage unit. Based on at least two data processing units in the same gateway device, the data writing processing unit analyzes the message data to form modeling message data and stores the modeling message data in the data storage unit, the data reading processing unit reads the data in the data storage unit and restores and analyzes the modeling message data, so that the data writing processing unit in the gateway device serves as an access side of the message data, the data reading processing unit in the gateway device serves as a sending side of the message data, and unified control of two access modes is realized by the aggregation gateway device.

Description

Virtual power plant aggregation gateway device and internal and external network data transmission method
Technical Field
The invention relates to the technical field of virtual power plant data transmission, in particular to a virtual power plant aggregation gateway device and an internal and external network data transmission method.
Background
The virtual power plant adopts an advanced information network technology and a regulation and control transaction technology, integrates massive large-scale adjustable flexible resources, constructs a new generation of virtual power plant, replaces a coal-fired power plant to participate in clean frequency modulation, peak regulation and market transaction of a power grid, supports safe and stable operation of a novel power system taking new energy as a main body, and becomes an important trend of energy internet technology development. At present, user-side distributed resources are generally accessed to a virtual power plant operation platform or a power grid dispatching control center through a resource aggregation gateway (hereinafter referred to as gateway).
(1) If the distributed resources are accessed to the virtual power plant operation platform through the gateway, the virtual power plant operation platform is deployed in a management information large area or an internet large area, and then the virtual power plant operation platform is accessed to the power grid dispatching center through the transverse forward and reverse isolation device. Under the scene, a gateway passes through a virtual power plant operation platform from a power grid dispatching center, the number of network nodes is large, the information transmission delay is large, and the distributed resource access can only be controlled in a second level. For data uploaded by the gateway, the gateway needs to access to a power grid dispatching center in a longitudinal encryption mode.
(2) If the distributed resources are directly accessed to the power grid dispatching center through the gateway, the gateway is generally accessed to the virtual power plant operation platform in a longitudinal encryption mode because the power grid dispatching center is deployed in a production control large area. In the scene, the gateway is directly connected to the power grid dispatching center, the information transmission time delay is small, and millisecond control can be achieved. A longitudinal encryption mode is required to be adopted for the gateway, and meanwhile, the transverse isolation device is connected to the power grid dispatching center.
In the related art, in order to realize response control for a virtual power plant and different requirements of gateway functions and corresponding control, the two types of gateway devices need to be respectively adopted to realize safe access, and because the two access modes have different transmission delay differences, no aggregation gateway device can simultaneously realize unified control of the two access modes.
Disclosure of Invention
Therefore, the technical problem to be solved by the invention is to overcome the defect that unified control of two access modes cannot be simultaneously satisfied due to the difference of transmission time delay in the prior art, so that a virtual power plant aggregation gateway device and an internal and external network data transmission method are provided.
According to a first aspect, the present embodiment provides a virtual power plant aggregation gateway apparatus, including: the data processing unit comprises a data storage unit and at least two data processing units, wherein the at least two data processing units are divided into a data writing processing unit and a data reading processing unit according to the data transmission direction; the data writing processing unit and the data reading processing unit are respectively connected with the data storage unit; the data writing processing unit is configured to analyze the received message data to obtain analyzed first message data, form the first message data into modeling message data in a preset modeling form, store the modeling message data into the data storage unit, and send a data updating notice to the data reading unit; and the data reading and processing unit is configured to read the modeling message data from the data storage unit after receiving the data updating notification, restore the modeling message data based on a preset modeling form to obtain first message data, analyze the first message data to form second message data, and send the second message data to a target terminal corresponding to the message data.
Optionally, the data writing processing unit includes: the security check module is configured to perform security check on the first message data; the message header information acquisition module is configured to acquire first message header information representing a transmission source address and a destination address of the first message data based on the first message data after the first message data passes the security check; and the modeling message data forming module is configured to form the modeling message data from the first message data in a preset modeling form when the first message header information represents that the first message data needs to be transmitted across the network.
Optionally, the data reading processing unit includes: the modeling message data reduction module is configured to reduce modeling message data based on a preset modeling form to obtain first message data; the message header information replacing module is configured to replace the first message header information of the first message data with second message header information representing a transmission source address and a destination address of the second message data to obtain second message data; and the second message data sending module is configured to send the second message data according to the second message header information.
Optionally, the virtual power plant aggregation gateway apparatus further includes: an encryption chip and a switching chip; the encryption chip is connected with the data reading and processing unit and is configured to encrypt the second message data; and the switching chip is respectively connected with the data writing processing unit and the data reading processing unit and is configured to receive the message data or send the second message data.
According to a second aspect, this embodiment provides an internal and external network data transmission method for a virtual power plant aggregation gateway, which is applied to a data writing processing unit in the virtual power plant aggregation gateway apparatus of the first aspect, and includes: receiving message data; analyzing the message data to obtain analyzed first message data; and forming modeling message data by the first message data in a preset modeling form, and writing the modeling data into the data storage unit.
Optionally, parsing the message data to obtain parsed first message data includes: extracting an effective field of the message data to obtain first message data; correspondingly, the internal and external network data transmission method of the virtual power plant aggregation gateway further comprises the following steps: carrying out security check on the first message data; and after the first message data passes the security verification, acquiring first message header information representing a transmission source address and a destination address of the first message data.
According to a third aspect, this embodiment provides an internal and external network data transmission method for a virtual power plant aggregation gateway, which is applied to a data reading processing unit in the virtual power plant aggregation gateway apparatus in the first aspect, and includes: reading the modeling message data, and restoring the modeling message data according to a preset modeling form to obtain first message data; and analyzing the first message data, and forming and sending second message data to a target terminal corresponding to the message data. .
Optionally, parsing the first packet data to form and send second packet data includes: replacing first message header information representing a transmission source address and a destination address of the first message data with second message header information representing a transmission source address and a destination address of the second message data to obtain second message data; and sending the second message data. .
According to a fourth aspect, the present embodiment provides a non-transitory computer readable storage medium, where computer instructions are stored, and when the computer instructions are executed by a processor, the method for transmitting data of an internal network and an external network of a virtual power plant aggregation gateway is implemented as described in any one of the above embodiments.
According to a fifth aspect, the present embodiment provides a virtual power plant system, including the virtual power plant aggregation gateway apparatus according to any of the above embodiments.
The technical scheme of the invention has the following advantages:
the invention provides a virtual power plant aggregation gateway device and an internal and external network data transmission method, wherein the virtual power plant aggregation gateway device comprises: the data processing unit comprises a data storage unit and at least two data processing units, wherein the at least two data processing units are divided into a data writing processing unit and a data reading processing unit according to the data transmission direction; the data writing processing unit and the data reading processing unit are respectively connected with the data storage unit; the data writing processing unit is configured to analyze the received message data to obtain analyzed first message data, form the first message data into modeling message data in a preset modeling form, store the modeling message data into the data storage unit, and send a data updating notice to the data reading unit; and the data reading and processing unit is configured to read the modeling message data from the data storage unit after receiving the data updating notification, restore the modeling message data based on a preset modeling form to obtain first message data, analyze the first message data to form second message data, and send the second message data to a target terminal corresponding to the message data. . By implementing the embodiment of the invention, based on at least two data processing units in the same gateway device, the data writing processing unit analyzes the message data to form modeling message data and stores the modeling message data in the data storage unit, the data reading processing unit reads the data in the data storage unit and restores and analyzes the modeling message data, so that the data writing processing unit in the gateway device is used as an access side of the aggregation gateway device, and the data reading processing unit in the gateway device is used as a sending side of the aggregation gateway device, thereby realizing the unified control of two access modes of the aggregation gateway device.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a diagram illustrating an application example of a virtual power plant aggregation gateway device according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating an exemplary structure of a data write processing unit according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating an exemplary structure of a data reading processing unit according to an embodiment of the present invention;
fig. 4 is a diagram of a structural example of another pseudo-power plant aggregation gateway device according to an embodiment of the present invention;
fig. 5 is a flowchart of a specific example of an intra-and-extranet data transmission method for a virtual power plant aggregation gateway according to an embodiment of the present invention;
fig. 6 is a flowchart of a specific example of an internal and external network data transmission method of another virtual power plant aggregation gateway according to an embodiment of the present invention;
fig. 7 is an exemplary diagram of a message data parsing process of a virtual power plant system according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it is to be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; the connection may be direct, indirect or internal, and may be wireless or wired. The specific meanings of the above terms in the present invention can be understood in a specific case to those of ordinary skill in the art.
Furthermore, the technical features involved in the different embodiments of the present invention described below may be combined with each other as long as they do not conflict with each other.
As shown in fig. 1, the virtual power plant aggregation gateway apparatus provided in this embodiment mainly includes: at least one data processing unit 1, a data storage unit 2 and at least one data processing unit 3. The data processing unit 1 and the data storage unit 2 can realize bidirectional transmission of message data, and the data processing unit 3 and the data storage unit 2 can realize bidirectional transmission of message data. The data processing unit is divided into a data writing processing unit and a data reading processing unit according to the data transmission direction; the data write processing unit and the data read processing unit are connected to the data storage unit 2, respectively.
In practical application, the virtual power plant aggregation gateway device can be deployed between an internet large area and a production control large area, and for convenience of description, the internet large area is regarded as an external network, and the production control large area is regarded as an internal network. The data processing unit 1 is connected to an external network, and the data processing unit 3 is connected to an internal network.
In an optional embodiment, the virtual power plant aggregation gateway device provided in this embodiment may implement the following data transmission directions: the message data is written into the data storage unit 2 through the data processing unit 1, and the message data stored in the data storage unit 2 is read out through the data processing unit 3, in the data transmission direction, the data processing unit 1 is a data writing processing unit, and the data processing unit 3 is a data reading processing unit, so that the message data transmission from an external network to an internal network is realized.
In an optional embodiment, the virtual power plant aggregation gateway device provided in this embodiment may further implement another data transmission direction: the message data are written into the data storage unit 2 through the data processing unit 3, the message data stored in the data storage unit 2 are read out through the data processing unit 1, in the data transmission direction, the data processing unit 1 is a data reading processing unit, the data processing unit 3 is a data writing processing unit, and message data transmission from an internal network to an external network is achieved.
In practical applications, the data transmission direction provided by the virtual power plant aggregation gateway device provided by this embodiment further includes message data transmission from the intranet to the intranet and message data transmission from the extranet to the extranet.
In practical applications, the data processing units 1 and 3 may be CPUs, and the data processing unit 2 may be a database or a FIFO (First In First Out) data buffer or other storage unit, which is not specifically limited In the present application and can be selected according to actual conditions.
In practical application, as shown in fig. 1, when the data transmission direction is the first data transmission direction, that is, when message data is transmitted from the external network to the internal network, the data processing unit 1 serves as a data writing processing unit, and is configured to parse the received message data to obtain parsed first message data, form the first message data into modeling message data in a preset modeling form, store the modeling message data in the data storage unit 2, and send a data update notification to the data reading unit. The data processing unit 3, as a data reading processing unit, is configured to read the modeling message data from the data storage unit 2 after receiving the data update notification, restore the modeling message data based on a preset modeling form to obtain first message data, analyze the first message data to form second message data, and send the second message data to a target terminal corresponding to the message data.
In practical applications, the target terminal corresponding to the message data refers to a terminal device corresponding to a destination address of the message data, and in the first data transmission mode, the target terminal is a terminal device arranged in an intranet.
In practical applications, when the data transmission direction is the second data transmission manner, that is, when the message data is transmitted from the intranet to the extranet, the data processing unit 1 serves as a data reading processing unit, the data processing unit 3 serves as a data writing processing unit, and the specific contents of the data reading processing unit and the data writing processing unit are the same as those in the above embodiments and are not described again.
In practical applications, the data writing processing unit sends the data updating notification to the data reading unit, and the data reading processing unit receives the data updating notification means that the data writing processing unit and the data reading processing unit realize sending and receiving of the data updating notification through the internal bus. It should be understood that the data writing processing unit stores the modeling message data in the data storage unit 2, and the process of the data reading processing unit reading the modeling message data from the data storage unit 2 is related to the selection of the data processing unit 2. The writing and reading of the database or the writing and reading of the FIFO belongs to a mature technology, and is not described herein again.
The virtual power plant aggregation gateway device provided by the embodiment is based on at least two data processing units in the same gateway device, the data writing processing unit is used for analyzing message data to form modeling message data and storing the modeling message data into the data storage unit, the data reading processing unit is used for reading the data in the data storage unit, and the modeling message data is restored and analyzed, so that the data writing processing unit in the gateway device is used as an access side of the aggregation gateway device, the data reading processing unit in the gateway device is used as a sending side of the aggregation gateway device, and the aggregation gateway device can realize unified control of two access modes at the same time.
In an optional embodiment, in the virtual power plant aggregation gateway device, as shown in fig. 2, the data writing processing unit includes:
and the security checking module 21 is configured to perform security checking on the first message data.
Specifically, the first packet data includes: header information, payload, and check information. The payload refers to various information loads stored in the first packet data, that is, data to be actually transmitted.
Specifically, performing security Check on the first Message data refers to performing CRC (Cyclic Redundancy Check) on the first Message data according to Check information of the first Message data, performing MD5 (MD 5 Message-Digest Algorithm), parity Check, checksum Check, or xor Check on the first Message data, and may be selected according to actual working conditions as long as the method can be used to ensure correctness and integrity of the first Message data. It should be understood that CRC, MD5 parity, checksum or xor check belong to the mature prior art and are not described in detail.
The header information obtaining module 22 is configured to obtain, based on the first packet data, first header information representing a transmission source address and a destination address of the first packet data after the first packet data passes the security check.
Specifically, acquiring first packet header information representing a transmission source address and a destination address of the first packet data based on the first packet data means determining the transmission source address and the destination address of the first packet data according to the packet header information of the first packet data. Specifically, the transmission source Address and the destination Address of the first message data refer to a source MAC Address (local area network Address), a source IP Address (Internet Protocol Address), a destination MAC Address, and a destination IP Address of the message data.
In practical applications, the message data transmission direction is taken as the message data transmission from the internal network to the external network as an example. The source MAC address of the first message data is the MAC address of the terminal device deployed in the intranet, the source IP address is the IP address of the terminal device deployed in the intranet, the destination MAC address is the intranet MAC address of the virtual power plant aggregation gateway device, and the destination IP address is the IP address of the terminal device deployed in the extranet. The terminal device deployed in the intranet is a device for sending message data to the data write processing unit of the virtual power plant aggregation gateway device, and the terminal device deployed in the extranet is a device for receiving second message data sent by the virtual power plant aggregation gateway device, namely a target terminal corresponding to the message data.
In practical applications, the header information acquiring module 22 may determine, by acquiring the first header information, a transmission direction of the first message data, that is, a message data transmission from the intranet to the extranet, a message data transmission from the extranet to the intranet, a message data transmission from the intranet to the intranet, and a message data transmission from the extranet to the extranet. And determining that the data transmission direction of the first message is judged based on the source IP address and the destination IP address in the first message header information. When the transmission direction of the first message data is from the intranet to the intranet or from the extranet to the extranet, that is, the first message data is transmitted in the same network area, the data write processing unit directly sends the first message data in the corresponding message header information after the message header information obtaining module 22 obtains the corresponding message header information, and the modeling message data is not formed by the corresponding first message data in a preset modeling form.
And the modeling message data forming module 23 is configured to form modeling message data from the first message data in a preset modeling form when the first message header information indicates that the first message data needs to be transmitted across networks.
Specifically, the performing of cross-network transmission on the first message data refers to that the message data is transmitted from the intranet to the intranet or the message data is transmitted from the extranet to the extranet in the above embodiments.
Specifically, the forming of the modeling message data by the first message data in the preset modeling form means that the payload and the first header information in the first message data are formed into the modeling message data in the preset modeling form.
In practical application, the forming of the modeling message data by the first message data in the preset modeling form means forming the modeling message data according to the corresponding relationship between the first message data and the modeling message data, the preset modeling form may be to describe the payload and the header information of the message by self-defining a plurality of message values, and the description form may be a JSON format code. The correspondence of the payload to the description is exemplarily shown in table 1 below.
TABLE 1
Attribute Name(s) Description of the preferred embodiment
id Message identification Unique identifier of message, unique under message attribute
type Type of message Class type of message, including general information, alarm, failure
In practical application, the process of forming the first message data into the modeling message data in the preset modeling form is a process of forming the message data received by the write processing unit into uniform modeling message data, that is, a process of repackaging the first message data is realized, and data differences existing in the received message data can be ignored through repackaging. In the process, the received message data is analyzed through the data writing processing unit to obtain the analyzed first message data, so that the effective field of the message data is extracted, namely, the message header information, the net load and the check information in the message data are extracted, and then the first message data forms the modeling message data in a preset modeling form, thereby ensuring the consistency and the effectiveness of the message data.
According to the virtual power plant aggregation gateway device provided by the invention, the obtained message data is filtered and subjected to security check through the security check module and the message header information acquisition module in the data write-in processing unit, the normally communicated message data is screened out to form first message data, and non-effective messages, malformed messages and the like are discarded, so that the security of the message data is ensured. And the modeling message data forming module forms the first message data into modeling message data in a preset modeling form, so that the consistency and the effectiveness of the message data are ensured, the data transmission isolation of the internal network and the external network is realized by storing the modeling message data into the data storage unit, and the safety of data transmission is improved.
In an optional embodiment, in the virtual power plant aggregation gateway apparatus, as shown in fig. 3, the data reading and processing unit includes:
and the modeling message data reduction module 31 is configured to reduce the modeling message data based on a preset modeling form to obtain first message data.
Specifically, the mode of restoring the modeling message data based on the preset modeling form to obtain the first message data is the same as the mode of forming the modeling message data in the preset modeling form by the first message data in the modeling message data forming module of the data writing processing unit in the above embodiment, and is not repeated.
In practical application, the process of obtaining the modeling message data based on the preset modeling form is specifically a process of recovering the modeling message data, and data reproduction of the first message data is realized through the modeling message data recovery module 31.
The message header information replacing module 32 is configured to replace the first message header information of the first message data with second message header information representing a transmission source address and a destination address of the second message data, so as to obtain the second message data.
Specifically, the second message data includes: header information and payload. The second packet header information representing the transmission source address and the destination address of the second packet data means that the transmission source address and the destination address of the second packet data are determined according to the second packet header information of the second packet data. Specifically, the transmission source address and the destination address of the second message data refer to a source MAC address, a source IP address, a destination MAC address, and a destination IP address of the message data.
Specifically, replacing the first packet header information of the first packet data with the second packet header information representing the transmission source address and the destination address of the second packet data means replacing the first packet header information of the first packet data with the second packet header information of the second packet data.
In practical applications, the message data transmission direction is taken as the message data transmission from the internal network to the external network as an example. The source MAC address of the second message data is an external network MAC address of the virtual power plant aggregation gateway device, the source IP address is an IP address of the terminal device deployed in the internal network, the target MAC address is an MAC address of the terminal device deployed in the external network, and the target IP address is an IP address of the terminal device deployed in the external network.
And a second message data sending module 33 configured to send the second message data according to the second message header information.
According to the virtual power plant aggregation gateway device provided by the invention, the modeling message data is restored through the modeling message data restoring module in the data reading and processing unit, so that the data reproduction of the message data is realized, and the sending of the second message data is realized through the message header information replacing module and the second message data sending module. In the process, the data transmission isolation of the internal network and the external network is realized by reading the modeling message data through the data storage unit, and the safety of data transmission is improved.
It should be noted that, in the above embodiment, the data processing unit is divided into the data writing processing unit and the data reading processing unit according to the data transmission direction, and in practical application, as described above, the data processing unit can actually realize the functions of the data writing processing unit and the data reading processing unit, and therefore, the data processing unit may include the security verification module 21, the message header information acquisition module 22, and the modeling message data forming module 23 of the data writing processing unit; or, the modeling message data recovery module 31, the message header information replacement module 32, and the second message data sending module 33 that include the data reading processing unit.
In an optional embodiment, as shown in fig. 4, the virtual power plant aggregation gateway apparatus provided in this embodiment further includes: the encryption chip and the exchange chip.
And the encryption chip is connected with the data reading processing unit and is configured to encrypt the second message data.
And the switching chip is respectively connected with the data writing processing unit and the data reading processing unit and is configured to receive the message data or send the second message data.
Specifically, the encryption mode of the encryption information on the second message data can be selected according to the actual working condition, and encryption of the message data belongs to a mature technology, which is not described herein again.
In practical applications, as shown in fig. 2, the virtual power plant aggregation gateway device includes: data processing unit 1, data storage unit 2, data processing unit 3, encryption chip 41, encryption chip 42, exchange chip 51, exchange chip 52. Because of the different transmission directions of the message data, the encryption chip 41 is connected to the data processing unit 1, which means that the message data is transmitted from the intranet to the extranet, that is, the data processing unit 1 serves as a data reading processing unit. In this manner, the data processing unit 3, as a data writing processing unit, receives message data through a network interface connected to the switching chip 52 and sends the message data to the data processing unit 3 to form modeling message data to be stored in the data storage unit 2, and the data processing unit 3 sends a data update notification to the data processing unit 1 through the bus. After receiving the data update notification, the data processing unit 1 reads the modeling message data from the data storage unit 2 to form second message data, encrypts the second message data through the encryption chip, and sends the encrypted second message data to the target terminal corresponding to the message data through the switch chip 51.
In practical applications, the encryption chip 42 is connected to the data processing unit 3, which means that the message data is transmitted from the extranet to the intranet, that is, the data processing unit 3 serves as a data reading processing unit. In this manner, the data processing unit 1 serves as a data writing processing unit, and the rest of the connection manner is the same as the principle of the above embodiment and is not described again.
The embodiment provides an internal and external network data transmission method of a virtual power plant aggregation gateway, as shown in fig. 5, the data transmission method mainly includes:
and S51, receiving the message data.
Specifically, receiving the message data refers to a process in which the data writing unit receives the message data through the switch chip in the above embodiment, and details may refer to a process implemented by the data writing unit in any of the above embodiments, which is not described herein again.
S52, the message data are analyzed, and the analyzed first message data are obtained.
Specifically, analyzing the message data, and obtaining the analyzed first message data refers to extracting an effective field of the message data, obtaining the first message data, checking security of the first message data, and obtaining header information of the first message data, and details of the process implemented by the data writing unit according to any of the embodiments may be referred to, and are not described herein again.
And S53, forming modeling message data by the first message data in a preset modeling form, and writing the modeling data into a data storage unit. For details, reference may be made to a process implemented by the data writing unit according to any of the above embodiments, and details are not described herein again. The first message data are formed into modeling message data in a preset modeling form, data differences of the message data received by the data writing unit through the exchange chip due to different reporting terminals are ignored, and consistency and effectiveness of the message data are guaranteed. And the data transmission isolation of the internal network and the external network is realized by storing the modeling message data into the data storage unit, so that the safety of data transmission is improved.
In an optional embodiment, in the step S52, a specific process of parsing the message data to obtain the parsed first message data includes:
(1) And extracting the effective field of the message data to obtain the first message data.
Specifically, extracting the effective field of the message data, and acquiring the first message data refers to extracting the effective field of the message data, and extracting the message header information, the payload, and the check information included in the message data to be used as the first message data. Therefore, invalid messages and malformed messages are discarded, and the safety of message data is ensured. For details, reference may be made to a process implemented by the data writing unit according to any of the above embodiments, and details are not described herein again.
(2) And carrying out security check on the first message data. For details, reference may be made to the process implemented by the data writing unit according to any of the above embodiments, and details are not described herein again.
(3) And after the first message data passes the security check, acquiring first message header information representing a transmission source address and a destination address of the first message data based on the first message data. For details, reference may be made to a process implemented by the data writing unit according to any of the above embodiments, and details are not described herein again.
The embodiment provides an internal and external network data transmission method of a virtual power plant aggregation gateway, as shown in fig. 6, the method mainly includes:
s61, reading the modeling message data, and restoring the modeling message data according to a preset modeling form to obtain first message data. For details, reference may be made to a process implemented by the data reading unit according to any of the above embodiments, and details are not described herein again.
S62, the first message data is analyzed, and second message data is formed and sent to the target terminal corresponding to the message data.
Specifically, the parsing the first packet data, and the forming and sending the second packet data means replacing the header information of the first packet data with the header information of the second packet data. For details, reference may be made to a process implemented by the data reading unit according to any of the above embodiments, and details are not described herein again.
In an optional embodiment, in the step S62, a specific process of analyzing the first message data, forming and sending the second message data includes:
(1) And replacing the first message header information representing the transmission source address and the destination address of the first message data with the second message header information representing the transmission source address and the destination address of the second message data to obtain the second message data. For details, reference may be made to a process implemented by the data reading unit according to any of the above embodiments, and details are not described herein again.
(2) And sending the second message data. For details, reference may be made to a process implemented by the data reading unit according to any of the above embodiments, and details are not described herein again.
By implementing the embodiment of the disclosure, the modeling message data is read, the modeling message data is restored according to the preset modeling form, the first message data is restored, the data reproduction of the message data is realized, and the sending of the second message data is realized by replacing the message header information of the first message data with the message header information of the second message data. In the process, the data transmission isolation of the internal network and the external network is realized by reading the modeling message data, and the safety of data transmission is improved.
An embodiment of the present invention further provides a non-transitory computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions may execute the internal and external network data transmission method of the virtual power plant aggregation gateway in any method embodiment described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
An embodiment of the present invention further provides a virtual power plant system, as shown in fig. 7, including the virtual power plant aggregation gateway device in the foregoing embodiment. The extranet terminal and the intranet terminal are connected through the virtual power plant aggregation gateway device.
In practical application, the message data is sent to an external network communication interface of a virtual power plant aggregation gateway device for the external network terminal in the process of being sent to an internal network terminal by the external network terminal, and the external network communication interface sends the message data to a data writing processing unit through an exchange chip; the data writing processing unit analyzes the received message data to obtain analyzed first message data, the first message data forms modeling message data in a preset modeling form, the modeling message data is stored in the data storage unit, and a data updating notice is sent to the data reading unit; after receiving the data updating notification, the data reading and processing unit reads the modeling message data from the data storage unit, restores the modeling message data based on a preset modeling form to obtain first message data, and analyzes the first message data to form second message data; and the data reading and processing unit sends the second message data to the encryption chip for encryption, and sends the encrypted second message data to the intranet terminal through the intranet communication interface connected with the exchange chip. The principle of the process of sending the message data from the intranet terminal to the extranet terminal is the same, and the detailed description is omitted.
Through implementing this disclosed embodiment, based on virtual power plant's aggregation gateway device, realize that intranet terminal and extranet terminal's data transmission keeps apart to the cross-regional communication between inside and extranet terminal equipment has been guaranteed. In the process, the safe crossing of the data message in the internal network and the external network is realized by analyzing, packaging and restoring the message data, and the safety of data transmission is ensured.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications derived therefrom are intended to be within the scope of the invention.

Claims (10)

1. A virtual power plant aggregation gateway device, comprising: the data processing unit comprises a data storage unit and at least two data processing units, wherein the at least two data processing units are divided into a data writing processing unit and a data reading processing unit according to a data transmission direction; the data writing processing unit and the data reading processing unit are respectively connected with the data storage unit;
the data writing processing unit is configured to analyze received message data to obtain analyzed first message data, form the first message data into modeling message data in a preset modeling form, store the modeling message data into the data storage unit, and send a data updating notice to the data reading unit;
the data reading and processing unit is configured to read the modeling message data from the data storage unit after receiving the data updating notification, restore the modeling message data based on the preset modeling form to obtain the first message data, analyze the first message data to form second message data, and send the second message data to a target terminal corresponding to the message data.
2. The virtual power plant aggregation gateway device of claim 1, wherein the data write processing unit comprises:
a security check module configured to perform security check on the first packet data;
a message header information obtaining module configured to obtain first message header information representing a transmission source address and a destination address of the first message data based on the first message data after the first message data passes security verification;
and the modeling message data forming module is configured to form modeling message data from the first message data in a preset modeling form when the first message header information represents that the first message data needs to be transmitted across networks.
3. The virtual power plant aggregation gateway device of claim 2, wherein the data reading processing unit comprises:
the modeling message data reduction module is configured to reduce the modeling message data based on the preset modeling form to obtain the first message data;
a message header information replacing module configured to replace the first message header information of the first message data with second message header information representing a transmission source address and a destination address of the second message data, so as to obtain the second message data;
and the second message data sending module is configured to send the second message data according to the second message header information.
4. The virtual power plant aggregation gateway device of any of claims 1-3, wherein the device further comprises: an encryption chip and a switching chip;
the encryption chip is connected with the data reading and processing unit and is configured to encrypt the second message data;
the switching chip is connected to the data writing processing unit and the data reading processing unit, and is configured to receive the packet data or send the second packet data.
5. An internal and external network data transmission method of a virtual power plant polymerization gateway is applied to the data writing processing unit included in the virtual power plant polymerization gateway device according to any one of claims 1 to 4, and the method comprises the following steps:
receiving message data;
analyzing the message data to obtain analyzed first message data;
and forming modeling message data by the first message data in a preset modeling form, and writing the modeling data into the data storage unit.
6. The method for transmitting data of an internal network and an external network of a virtual power plant aggregation gateway according to claim 5, wherein the analyzing the message data to obtain the analyzed first message data comprises:
extracting the effective field of the message data to obtain the first message data;
correspondingly, the method further comprises the following steps:
performing security check on the first message data;
and after the first message data passes the security verification, acquiring first message header information representing a transmission source address and a transmission destination address of the first message data, wherein the first message header information belongs to the first message data.
7. An internal and external network data transmission method of a virtual power plant polymerization gateway is applied to a data reading and processing unit included in the virtual power plant polymerization gateway device according to any one of claims 1 to 4, and the method comprises the following steps:
reading the modeling message data, and restoring the modeling message data according to a preset modeling form to obtain the first message data;
and analyzing the first message data, and forming and sending second message data to a target terminal corresponding to the message data.
8. The internal and external network data transmission method of the virtual power plant aggregation gateway according to claim 7, wherein the analyzing the first message data to form and send the second message data includes:
replacing first message header information representing a transmission source address and a destination address of the first message data with second message header information representing a transmission source address and a destination address of the second message data to obtain the second message data;
and sending the second message data.
9. A non-transitory computer readable storage medium storing computer instructions which, when executed by a processor, implement the intranet and extranet data transmission method of the virtual power plant aggregation gateway of any one of claims 5-8.
10. A virtual power plant system, comprising: the virtual power plant aggregation gateway device of any one of claims 1 to 4.
CN202211109571.XA 2022-09-13 2022-09-13 Virtual power plant aggregation gateway device and internal and external network data transmission method Pending CN115484091A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211109571.XA CN115484091A (en) 2022-09-13 2022-09-13 Virtual power plant aggregation gateway device and internal and external network data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211109571.XA CN115484091A (en) 2022-09-13 2022-09-13 Virtual power plant aggregation gateway device and internal and external network data transmission method

Publications (1)

Publication Number Publication Date
CN115484091A true CN115484091A (en) 2022-12-16

Family

ID=84423739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211109571.XA Pending CN115484091A (en) 2022-09-13 2022-09-13 Virtual power plant aggregation gateway device and internal and external network data transmission method

Country Status (1)

Country Link
CN (1) CN115484091A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106941494A (en) * 2017-03-30 2017-07-11 中国电力科学研究院 A kind of security isolation gateway and its application method suitable for power information acquisition system
CN112073375A (en) * 2020-08-07 2020-12-11 中国电力科学研究院有限公司 Isolation device and isolation method suitable for power Internet of things client side
CN112291214A (en) * 2020-10-19 2021-01-29 傲普(上海)新能源有限公司 Industry message parsing mode based on redis cache

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106941494A (en) * 2017-03-30 2017-07-11 中国电力科学研究院 A kind of security isolation gateway and its application method suitable for power information acquisition system
CN112073375A (en) * 2020-08-07 2020-12-11 中国电力科学研究院有限公司 Isolation device and isolation method suitable for power Internet of things client side
CN112291214A (en) * 2020-10-19 2021-01-29 傲普(上海)新能源有限公司 Industry message parsing mode based on redis cache

Similar Documents

Publication Publication Date Title
CN100361454C (en) Method for obtaining of daily information from network element equipment by network management server
CN109218126B (en) Method, device and system for monitoring node survival state
KR101769114B1 (en) Sending node and buffer status reporting method
CN102209064B (en) Method of using VRRP to provide backup for access equipment and VRRP gateway equipment
CN110752943A (en) Distributed fault diagnosis system and method for power transmission line
Gao et al. Toward emulation-based performance assessment of constrained application protocol in dynamic networks
CN113438010B (en) Constellation system capability evaluation system and system for heaven-earth integrated network
CN111464419B (en) Data transmission control method based on bus network communication
CN111181800B (en) Test data processing method and device, electronic equipment and storage medium
CN103906087A (en) Access point upgrading method, device and system
CN113255953B (en) RRU undervoltage risk prediction method, device, system, equipment and medium
CN115484091A (en) Virtual power plant aggregation gateway device and internal and external network data transmission method
EP2317803A1 (en) Method and system for power saving management
US8681645B2 (en) System and method for coordinated discovery of the status of network routes by hosts in a network
CA2516826A1 (en) System and method for monitoring noise within a communication link
CN114243914B (en) Power monitoring system
WO2022095785A1 (en) Method and apparatus and system, device, and medium for obtaining capture-data format file
CN106685087B (en) A kind of distribution management equipment for electrical power distribution automatization system
CN113985777A (en) Cloud network management based on narrowband Internet of things
CN102917388B (en) Self-repairing method for base stations, cut-through management and control device, cluster head base station and communication system
JP2010130113A (en) System and method of network management, manager, and agent
Rajagopal et al. Remote Health Monitoring System for Multiple Patients using WSN and NFC
CN115914418B (en) Railway interface gateway equipment
CN115278583B (en) Digital twin power grid sensor fault recovery method
CN115225484B (en) Management system of DPU networking

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination