A master-slave interface conversion communication device and communication method
The master-slave interface conversion communication device and method solves the problem of grid instructions being overwritten after distributed photovoltaic equipment is connected to the grid, achieves absolute control on the grid side, prevents malicious attacks, and ensures grid security.
Patent Information
- Application Number
- CN202411392158.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-08
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2044-10-08
AI Technical Summary
After distributed photovoltaic equipment is connected to the power grid, grid instructions are easily overwritten, resulting in a significant increase in the risk of external attacks and instruction tampering, which may cause power grid security incidents.
A master-slave interface conversion communication device is used to implement the master-slave mode through the controller and switching module to ensure that the grid side instructions have absolute control, physically or logically disconnect the slave side communication link to prevent malicious attacks.
Without affecting customers' power generation revenue, ensure the security of the power grid network, prevent distributed photovoltaics from collectively going offline, and protect the safety of power grid assets.
Smart Images

Figure CN119211315B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of information communication technology, and in particular relates to a master-slave interface conversion communication device and a communication method. Background Art
[0002] In recent years, distributed photovoltaics have shown a rapid growth trend. After massive distributed photovoltaic equipment is connected to the power grid, the Internet remote operation and maintenance method they usually adopt has opened up internal and external networks, which means that countless small channels have been opened in the originally closed and complete power network security protection system. Once they are subject to external batch control, distributed photovoltaics will be instantly disconnected from the grid, causing the grid voltage and frequency to exceed the limit, and the low-frequency and low-voltage load reduction devices to be activated, resulting in a large number of power loads being cut off, and even causing large-scale power grid collapse, seriously affecting the safe and stable operation of the power grid.
[0003] The main reason for this type of major risk is that distributed photovoltaics involve communication and control by multiple parties such as the power grid, customers, and integrators. Figure 1 This is a connection diagram of a direct connection of an interface converter in the prior art. On the user side, a communication stick is often used to collect data and control distributed photovoltaic inverters through the Internet. Its command weight is equal to that on the grid side, making it easy for grid commands to be overwritten and unable to be fully controlled, resulting in a significant increase in the risks of external attacks and command tampering. Summary of the Invention
[0004] To address the aforementioned technical issues, the present invention proposes a master-slave interface conversion communication device and method. This ensures absolute control over grid-side commands without impacting customers' normal power generation revenue, ensuring grid network security and preventing malicious attackers from issuing malicious commands that could cause a distributed photovoltaic system to go offline instantly, potentially triggering a grid security incident.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] A master-slave interface conversion communication device, comprising: a controller, a plurality of communication interfaces and a plurality of switching modules;
[0007] A first switching module is provided between the signal input terminal of the controller and the first communication interface; the first communication interface is connected to the grid-side device;
[0008] A second switching module is provided between the first signal output terminal of the controller and the second communication interface; the second communication interface is connected to the owner-side device;
[0009] A third switching module is provided between the second signal output terminal of the controller and the third communication interface; the third communication interface is connected to the photovoltaic inverter;
[0010] After the controller sets the first communication interface as the master end, it receives a first control signal forwarded by the first communication interface and uses the third switching module and the second switching module to switch the slave end link on and off according to the first control signal; the slave end link is a communication link for the communication stick to collect data and control the photovoltaic inverter;
[0011] Alternatively, the controller receives a second control signal forwarded by any one of the first communication interface, the second communication interface, and the third communication interface, and determines the master-end device based on the time of receiving the second control signal, wherein the device connected to the interface corresponding to the second controller signal received first is the master-end device, and the master-end device realizes the connection and disconnection of the slave-end link according to the corresponding switching module.
[0012] Furthermore, the controller is further configured to monitor the slave link, and cut off the corresponding slave link when monitoring an untrusted control instruction issued in the slave link.
[0013] Furthermore, the number of the communication interfaces is equal to the number of the switching modules.
[0014] Furthermore, the first communication interface is connected to the grid-side device specifically:
[0015] The first communication interface is connected to a protocol converter;
[0016] The protocol converter is communicatively connected to the grid-side equipment via the power transmission network.
[0017] Furthermore, the second communication interface is connected to the owner-side device specifically as follows:
[0018] The second communication interface is connected to a communication stick;
[0019] The communication stick is connected to the user side device via a wireless communication network.
[0020] Furthermore, the first communication interface includes an RJ45 interface, a USB interface, a COM interface and an aviation 4-pin interface;
[0021] The second communication interface includes an RJ45 interface, a USB interface, a COM interface and an aviation 4-pin interface;
[0022] The third communication interface includes an RJ45 interface, a USB interface, a COM interface and an aviation 4-pin interface.
[0023] Furthermore, the first switching module adopts a relay; the second switching module adopts a relay; and the third switching module adopts a relay.
[0024] Furthermore, the first switching module adopts a software script to implement signal switching; the second switching module adopts a software script to implement signal switching; and the third switching module adopts a software script to implement signal switching.
[0025] The present invention also proposes a master-slave interface conversion communication method, which uses a master-slave interface conversion communication device and includes the following steps:
[0026] The controller sets the first communication interface as the master end and receives the first control signal forwarded by the first communication interface; according to the first control signal, the third switching module and the second switching module are used to realize the on and off of the slave end link; the slave end link is a communication link for the communication stick to collect data and control the photovoltaic inverter.
[0027] Alternatively, the controller receives a second control signal forwarded by any one of the first communication interface, the second communication interface, and the third communication interface, and determines the master-end device based on the time of receiving the second control signal, wherein the device connected to the interface corresponding to the second controller signal received first is the master-end device, and the master-end device realizes the connection and disconnection of the slave-end link according to the corresponding switching module.
[0028] Furthermore, the method further includes: monitoring the slave link through the controller, and cutting off the corresponding slave link when an untrusted control instruction is monitored to be issued from the slave link.
[0029] The effects provided in the summary of the invention are only the effects of the embodiments, not all the effects of the invention. One of the above technical solutions has the following advantages or beneficial effects:
[0030] The present invention proposes a master-slave interface conversion communication device and communication method, which includes a controller, multiple communication interfaces, and multiple switching modules; a first switching module is set between the signal input end of the controller and the first communication interface; the first communication interface is connected to the grid-side device; a second switching module is set between the first signal output end of the controller and the second communication interface; the second communication interface is connected to the owner-side device; a third switching module is set between the second signal output end of the controller and the third communication interface; the third communication interface is connected to the photovoltaic inverter; after the controller sets the first communication interface as the master end, it receives a first control signal forwarded by the first communication interface, and uses the third switching module and the second switching module to realize the connection and disconnection of the slave end link according to the first control signal; the slave end link is a communication link for the communication stick to collect data and control the photovoltaic inverter; or the controller receives a second control signal forwarded by any interface of the first communication interface, the second communication interface, and the third communication interface, and determines the master end device according to the time of receiving the second control signal, wherein the device connected to the interface corresponding to the first received second controller signal is the master end device, and the master end device realizes the connection and disconnection of the slave end link according to the corresponding switching module. Based on the master-slave interface conversion communication device, a master-slave interface conversion communication method is also proposed. The present invention mainly plays a role in low-voltage distributed photovoltaic scenarios, aiming to protect the security of power grid assets and achieve effective isolation of the channel between the grid and the Internet.
[0031] The present invention adopts a master-slave mode. By sending instructions from the master side, the slave side communication channel can be physically disconnected or opened. This ensures that the grid side has absolute control over the instructions without affecting the normal power generation income of customers, ensuring the security of the grid network and preventing malicious attackers from issuing malicious instructions, causing distributed photovoltaics to be instantly disconnected from the grid and triggering grid security incidents. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a connection diagram of a direct connection of an interface converter in the prior art;
[0033] Figure 2 This is a schematic diagram of a master-slave interface conversion communication device proposed in Example 1 of the present invention;
[0034] Figure 3 This is a first installation diagram of a master-slave interface conversion communication device proposed in Example 1 of the present invention;
[0035] Figure 4 This is a second installation diagram of a master-slave interface conversion communication device proposed in Example 1 of the present invention;
[0036] Figure 5This is a communication principle diagram of a master-slave interface conversion communication method proposed in Example 2 of the present invention;
[0037] Figure 6 This is a flow chart of a master-slave interface conversion communication method proposed in Example 2 of the present invention. DETAILED DESCRIPTION
[0038] In order to clearly illustrate the technical features of this solution, the present invention is described in detail below through specific implementation methods and in conjunction with the accompanying drawings. The disclosure below provides many different embodiments or examples for realizing different structures of the present invention. In order to simplify the disclosure of the present invention, the components and settings of specific examples are described below. In addition, the present invention may repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplicity and clarity and does not itself indicate the relationship between the various embodiments and / or settings discussed. It should be noted that the components illustrated in the accompanying drawings are not necessarily drawn to scale. The present invention omits descriptions of well-known components and processing technologies and processes to avoid unnecessary limitations on the present invention.
[0039] Example 1
[0040] An embodiment of the present invention proposes a master-slave interface conversion communication device, which is used to solve the problem in the prior art that grid-side instructions are easily overwritten and the acquisition communication stick cannot be fully controlled, resulting in a significant increase in the risks of external attacks and instruction tampering.
[0041] Figure 2 This is a schematic diagram of a master-slave interface conversion communication device proposed in Example 1 of the present invention; the device includes: a controller, multiple communication interfaces and multiple switching modules; the multiple communication interfaces can transmit data normally in both directions with each other.
[0042] A first switching module is provided between the signal input terminal of the controller and the first communication interface; the first communication interface is connected to the grid-side device;
[0043] A second switching module is provided between the first signal output terminal of the controller and the second communication interface; the second communication interface is connected to the owner-side device;
[0044] A third switching module is provided between the second signal output terminal of the controller and the third communication interface; the third communication interface is connected to the photovoltaic inverter;
[0045] In the master-slave mode, after the controller sets the first communication interface as the master end, it receives the first control signal forwarded by the first communication interface and uses the third switching module and the second switching module to connect and disconnect the slave end link according to the first control signal; the slave end link is the communication link used by the communication stick to collect data and control the photovoltaic inverter;
[0046] In the competition mode, the controller receives the second control signal forwarded by any one of the first communication interface, the second communication interface and the third communication interface, and determines the master-end device according to the time of receiving the second control signal, wherein the device connected to the interface corresponding to the second controller signal received first is the master-end device, and the master-end device realizes the connection and disconnection of the slave-end link according to the corresponding switching module.
[0047] In a master-slave interface conversion communication device proposed in this application, the first communication interface on the controller includes an RJ45 interface, a USB interface, a COM interface, and an aviation 4-pin connector. The second communication interface includes an RJ45 interface, a USB interface, a COM interface, and an aviation 4-pin connector. The third communication interface includes an RJ45 interface, a USB interface, a COM interface, and an aviation 4-pin connector. The scope of protection of the present invention is not limited to the interface models listed in Example 1. Those skilled in the art may make reasonable settings and selections based on actual conditions.
[0048] The controller is also used to monitor the slave link, and cut off the corresponding slave link when it monitors an untrusted control instruction issued by the slave link.
[0049] Figure 3 This is a first installation diagram of a master-slave interface conversion communication device proposed in Example 1 of the present invention; the master-slave interface communication device is installed between the acquisition communication stick and the protocol converter.
[0050] A first switching module is provided between the signal input terminal of the controller and the first communication interface; the first communication interface is connected to the protocol converter; and the protocol converter is communicatively connected to the grid-side device via the power transmission network.
[0051] Figure 3 The master-slave interface conversion communication device in the system is connected to the inverter at one end, and is used for communication access by all parties at the other end. It is used to uniformly access and control the communication devices of distributed photovoltaic management by all parties, such as the protocol converter of the grid-side equipment and the communication stick on the user side. This communication device provides multiple interfaces such as RJ45, USB, COM, and aviation 4-pin for access by all parties. Its core feature is that the interface is divided into master and slave modes, and the exclusive use of the device communication channel can be achieved by issuing commands. The master side (usually the grid-side device in actual applications) can disconnect the communication links of other slave sides through commands, realizing the master side's complete independent control of the device.
[0052] In the master-slave mode, the specific implementation method is: fix one interface as the master and the rest as slaves. The master side can send instructions to disconnect the slave side communication link, and each channel can be used as a master or slave.
[0053] After the master side issues the command, the slave side disconnection mode is also divided into two levels, one is physical interface disconnection (high level), the other is logical interface disconnection (slightly lower level). There is no detailed restriction on the above control mode.
[0054] In the present application, the first switching module adopts a relay; the second switching module adopts a relay; and the third switching module adopts a relay.
[0055] Alternatively, the first switching module adopts a software script to implement signal switching; the second switching module adopts a software script to implement signal switching; and the third switching module adopts a software script to implement signal switching.
[0056] The switching module can be implemented by software or hardware.
[0057] When an untrusted control instruction is detected in a slave link, the corresponding slave link is cut off, that is, the communication link between a master-slave interface conversion communication device and a collection communication stick is disconnected.
[0058] In contention mode, the controller receives a second control signal forwarded by any of the first, second, and third communication interfaces. The controller determines the master device based on the time the second control signal is received. The device connected to the interface that first receives the second controller signal is the master device. The master device then disconnects the slave link using the corresponding switching module. In other words, each interface is weighted equally; the one that receives the disconnection command first becomes the master, while the others are slaves. The master disconnects the slave link after issuing the command.
[0059] Figure 4 This is a second installation diagram of a master-slave interface conversion communication device proposed in Example 2 of the present invention; it is installed between the acquisition communication stick and the interface converter.
[0060] The specific implementation method in the master-slave mode is: the grid-side equipment can issue instructions to the device through the first communication interface, and use the third switching module and the second switching module according to the first control signal to realize the on and off of the slave-end link, that is, to control the on and off of the communication link between the communication stick and the inverter. There are two on and off methods, one is the physical interface disconnection (high level), and the other is the logical interface disconnection (slightly lower level).
[0061] In competitive mode, the controller receives a second control signal forwarded by any of the first, second, and third communication interfaces. The controller determines the master device based on the time the second control signal is received. The device connected to the interface that first receives the second controller signal is the master device. The master device then uses the corresponding switching module to connect and disconnect the slave link. In other words, each interface is weighted equally. The one that receives the disconnection command first becomes the master, while the others are slaves. The master disconnects the slave link after issuing the command.
[0062] A master-slave interface conversion communication device proposed in Example 1 of the present invention mainly functions in low-voltage distributed photovoltaic scenarios, aiming to protect the security of power grid assets and achieve effective isolation of the channel between the grid and the Internet.
[0063] A master-slave interface conversion communication device proposed in Example 1 of the present invention adopts a master-slave mode. By sending instructions through the master side master, the slave side slave communication channel can be physically disconnected or opened, thereby ensuring that the grid side instructions have absolute control without affecting the normal power generation income of the customer, ensuring the security of the grid network, and preventing malicious attackers from issuing malicious instructions, causing distributed photovoltaics to be instantly disconnected from the grid and triggering grid security incidents.
[0064] The master-slave interface conversion communication device proposed in Example 1 of the present invention can realize the control of any number of interfaces and is not limited to three-party communication; the present invention can be applied to communications in other fields besides distributed photovoltaics.
[0065] Example 2
[0066] Based on the master-slave interface conversion communication device proposed in embodiment 1 of the present invention, embodiment 2 of the present invention further proposes a master-slave interface conversion communication method. Figure 5 This is a communication principle diagram of a master-slave interface conversion communication method proposed in Example 2 of the present invention;
[0067] Figure 6 Flowchart of a master-slave interface conversion communication method proposed in Example 2 of the present invention
[0068] In step S600, the controller sets the first communication interface as the master end and receives the first control signal forwarded by the first communication interface; according to the first control signal, the third switching module and the second switching module are used to realize the on and off of the slave end link; the slave end link is a communication link for the communication stick to collect data and control the photovoltaic inverter.
[0069] The first communication interface on the controller includes an RJ45 interface, a USB interface, a COM interface, and an aviation 4-pin connector. The second communication interface includes an RJ45 interface, a USB interface, a COM interface, and an aviation 4-pin connector. The third communication interface includes an RJ45 interface, a USB interface, a COM interface, and an aviation 4-pin connector.
[0070] A first switching module is provided between the signal input terminal of the controller and the first communication interface; the first communication interface is connected to the grid-side device.
[0071] The interface is divided into master and slave modes, and can achieve exclusive control of the device communication channel by issuing commands. The master side (usually the power grid side in actual applications) can disconnect the communication links of other slave sides through commands, achieving complete independent control of the device by the master side.
[0072] The specific implementation method can be to fix a certain interface as the master and the others as slaves. The master side can send an instruction to disconnect the slave side communication link.
[0073] After the master side issues the command, the slave side disconnection mode is also divided into two levels, one is physical interface disconnection (high level), the other is logical interface disconnection (slightly lower level). There is no detailed restriction on the above control mode.
[0074] In step S610, alternatively, the controller receives a second control signal forwarded by any one of the first communication interface, the second communication interface, and the third communication interface, and determines the master-end device based on the time of receiving the second control signal, wherein the device connected to the interface corresponding to the second controller signal received first is the master-end device, and the master-end device realizes the on and off of the slave-end link according to the corresponding switching module.
[0075] That is, the weight of each interface is equal. The one that receives the disconnection command first is the master side, and the others are slaves. The slave side link is disconnected after the master side sends the command.
[0076] The communication method further includes: monitoring the slave link through the controller, and cutting off the corresponding slave link when an untrusted control instruction is monitored from the slave link.
[0077] A master-slave interface conversion communication method proposed in Example 2 of the present invention is mainly used in low-voltage distributed photovoltaic scenarios, aiming to protect the security of power grid assets and achieve effective isolation of the channel between the grid and the Internet.
[0078] A master-slave interface conversion communication method proposed in Example 2 of the present invention adopts a master-slave mode. By sending instructions through the master on the master side, the slave communication channel on the slave side can be physically disconnected or opened, thereby ensuring that the grid side instructions have absolute control without affecting the normal power generation income of the customer, ensuring the security of the grid network, and preventing malicious attackers from issuing malicious instructions, causing distributed photovoltaics to be instantly disconnected from the grid and triggering grid security incidents.
[0079] The master-slave interface conversion communication method provided in Example 2 of the present application relies on the master-slave interface conversion communication device provided in Example 1 of the present application. For the description of the relevant details, please refer to the detailed description of the corresponding parts in Example 1, which will not be repeated here.
[0080] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device comprising a series of elements are inherent to the elements. In the absence of further restrictions, the elements limited by the statement "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device comprising the elements. In addition, the above-mentioned technical solutions provided in the embodiments of the present application are not described in detail in accordance with the corresponding technical solutions in the prior art to achieve the same principle, so as to avoid excessive elaboration.
[0081] Although the above description is of specific embodiments of the present invention in conjunction with the accompanying drawings, it does not limit the scope of protection of the present invention. For those skilled in the art, other different forms of modifications or variations can be made based on the above description. It is not necessary and impossible to list all embodiments here. Based on the technical solution of the present invention, various modifications or variations that can be made by those skilled in the art without expending creative effort are still within the scope of protection of the present invention.
Claims
1. A master-slave interface conversion communication device, characterized in that: include: A controller, multiple communication interfaces, and multiple switching modules; A first switching module is provided between the signal input terminal of the controller and the first communication interface; The first communication interface is connected to a grid-side device; A second switching module is provided between the first signal output terminal of the controller and the second communication interface; the second communication interface is connected to the owner-side device; A third switching module is provided between the second signal output terminal of the controller and the third communication interface; the third communication interface is connected to the photovoltaic inverter; After the controller sets the first communication interface as the master end, it receives a first control signal forwarded by the first communication interface and uses the second switching module to switch the slave end link on and off according to the first control signal; the slave end link is a communication link for the communication stick to collect data and control the photovoltaic inverter; Alternatively, the controller receives a second control signal forwarded by any one of the first communication interface and the second communication interface, and determines the master-end device according to the time of receiving the second control signal, wherein the device connected to the interface corresponding to the first received second controller signal is the master-end device, and the master-end device implements the connection and disconnection of the slave-end link according to the corresponding switching module; The controller is further configured to monitor the slave link and, upon monitoring an untrusted control instruction issued by the slave link, cut off the corresponding slave link; The first communication interface is connected to the grid-side device specifically as follows: the first communication interface is connected to a protocol converter; the protocol converter is communicatively connected to the grid-side device via the power transmission network; The second communication interface is connected to the owner-side device specifically as follows: the second communication interface is connected to a communication stick; and the communication stick is connected to the user-side device via a wireless communication network.
2. A master-slave interface conversion communication device according to claim 1, characterized in that: The number of the communication interfaces is equal to the number of the switching modules.
3. A master-slave interface conversion communication device according to claim 1, characterized in that: The first communication interface, the second communication interface and the third communication interface all include an RJ45 interface, a USB interface, a COM interface and an aviation 4-pin interface.
4. The master-slave interface conversion communication device according to claim 1, characterized in that: The first switching module adopts a relay; the second switching module adopts a relay; and the third switching module adopts a relay.
5. A master-slave interface conversion communication device according to claim 1, characterized in that: The first switching module adopts a software script to implement signal switching; the second switching module adopts a software script to implement signal switching; and the third switching module adopts a software script to implement signal switching.
6. A master-slave interface conversion communication method, using a master-slave interface conversion communication device according to any one of claims 1 to 5, characterized in that: The following steps are involved: The controller sets the first communication interface as the master end and receives the first control signal forwarded by the first communication interface; uses the second switching module to realize the on and off of the slave end link according to the first control signal; the slave end link is the communication link for the communication stick to collect data and control the photovoltaic inverter; Alternatively, the controller receives a second control signal forwarded by any one of the first communication interface and the second communication interface, and determines the master-end device according to the time of receiving the second control signal, wherein the device connected to the interface corresponding to the first received second controller signal is the master-end device, and the master-end device implements the connection and disconnection of the slave-end link according to the corresponding switching module; The method further includes: monitoring the slave link through the controller, and cutting off the corresponding slave link when an untrusted control instruction is monitored to be issued in the slave link.
Citation Information
Patent Citations
Communication control and signal processing device, photovoltaic management system and control method thereof
CN114640540A
Photovoltaic control system, method, device, equipment and medium
CN115589021A