Disclosure of Invention
In view of the above, the present invention proposes a micro-grid communication control method, device and system that overcomes or at least partially solves the above-mentioned problems.
To this end, in a first aspect, the present invention proposes a micro-grid communication control method, comprising:
acquiring a communication mode parameter value set by a communication node sensor arranged in a micro-grid subsystem; the communication mode parameter value is set by the communication node sensor based on whether the communication node receives communication data returned by the micro-grid mother system or not;
judging whether the acquired communication mode parameter value is a first preset value of a communication mode parameter or not, wherein the first preset value of the communication mode parameter is used for indicating that the communication mode of the micro-grid subsystem and the micro-grid parent system is wireless network communication;
if yes, the working state of a communication mode switching module arranged in the micro-grid subsystem is controlled to be a wireless network communication state, so that the communication mode between the micro-grid subsystem and the micro-grid parent system is wireless network communication, and communication nodes in the micro-grid subsystem send communication data to the micro-grid parent system through the wireless network.
In a second aspect, the present invention also proposes a micro-grid communication control device, including:
an acquisition unit for acquiring a communication mode parameter value set by a communication node sensor provided in the micro-grid subsystem; the communication mode parameter value is set by the communication node sensor based on whether the communication node receives communication data returned by the micro-grid mother system or not;
the judging unit is used for judging whether the acquired communication mode parameter value is a first preset value of a communication mode parameter, and the first preset value of the communication mode parameter is used for indicating that the communication mode of the micro-grid subsystem and the micro-grid parent system is wireless network communication;
and the control unit is used for controlling the working state of the communication mode switching module arranged in the micro-grid subsystem to be a wireless network communication state after the judging unit judges that the communication mode parameter value is the first preset value of the communication mode parameter so as to enable the communication mode between the micro-grid subsystem and the micro-grid parent system to be wireless network communication, and the communication node in the micro-grid subsystem sends communication data to the micro-grid parent system through the wireless network.
In a third aspect, the present invention further provides a micro-grid communication control system, including:
the microgrid communication control device according to the second aspect, a communication node sensor provided in a microgrid subsystem, and a communication mode switching module provided in the microgrid subsystem;
the microgrid communication control device communicates with the communication node sensors.
Compared with the prior art, the micro-grid communication control method, the micro-grid communication control device and the micro-grid communication control system provided by the invention determine whether the wired network fails or not through the parameter values of the communication mode, ensure uninterrupted communication between the micro-grid subsystem and the micro-grid parent system during the failure period of the wired network, and solve the problem of off-grid of the micro-grid subsystem.
Furthermore, the embedded database module is directly built at the front end of the micro-grid data acquisition module, and compared with the mode of associating the local database module with the local micro-server in the prior art, the embedded database module stores original data, so that the method, the device and the system are beneficial to analyzing fault reasons and managing the micro-grid.
Furthermore, the micro-grid communication control method, the micro-grid communication control device and the micro-grid communication control system can realize automatic switching between a wired link and a wireless link, and when the wireless link is switched to the wired link, the data stored by the embedded database module in the wireless network communication period is sent to the micro-grid mother system, so that the data link is only briefly stopped, and the micro-grid mother system does not lose the data of the micro-grid subsystem in the fault period.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention.
It should be noted that, herein, "first" and "second" are used merely to distinguish the same names, and do not imply a relationship or order between the names.
As shown in fig. 2, the present embodiment discloses a micro-grid communication control method, which may include the following steps 201 to 203:
201. acquiring a communication mode parameter value set by a communication node sensor arranged in a micro-grid subsystem; the communication mode parameter value is set by the communication node sensor based on whether the communication node receives communication data returned by the micro-grid mother system.
202. Judging whether the acquired communication mode parameter value is a first preset value of a communication mode parameter or not, wherein the first preset value of the communication mode parameter is used for indicating that the communication mode of the micro-grid subsystem and the micro-grid parent system is wireless network communication; if yes, go to step 203.
203. The working state of a communication mode switching module arranged in the micro-grid subsystem is controlled to be a wireless network communication state, so that the communication mode between the micro-grid subsystem and the micro-grid parent system is wireless network communication, and communication nodes in the micro-grid subsystem send communication data to the micro-grid parent system through a wireless network.
In this embodiment, step 203 may be: and controlling a communication mode switching module arranged in the micro-grid subsystem to switch the communication mode between the micro-grid subsystem and the micro-grid parent system into wireless network communication so that communication nodes in the micro-grid subsystem send communication data to the micro-grid parent system through a wireless network. Of course, if the communication mode between the micro-grid subsystem and the micro-grid parent system is already wireless network communication, the switching action of the communication mode switching module is not needed, and only the working state of the communication mode switching module is maintained to be the wireless network communication state.
Compared with the prior art, the micro-grid communication control method disclosed by the embodiment determines whether the wired network fails or not through the parameter values of the communication mode, ensures uninterrupted communication between the micro-grid subsystem and the micro-grid parent system during the failure period of the wired network, and solves the problem of off-grid of the micro-grid subsystem.
In a specific example, after the step 202 of determining whether the obtained communication mode parameter value is the first preset value of the communication mode parameter, if not, the method further includes the step 202' or 202″ not shown in fig. 2:
202', controlling the working state of a communication mode switching module arranged in the micro-grid subsystem to be a wired network communication state, so that the communication mode between the micro-grid subsystem and the micro-grid parent system is wired network communication, and transmitting communication data to the micro-grid parent system through a wired network by a communication node in the micro-grid subsystem.
In this embodiment, step 202' may be: and controlling a communication mode switching module arranged in the micro-grid subsystem to switch the communication mode between the micro-grid subsystem and the micro-grid parent system into wired network communication, so that communication nodes in the micro-grid subsystem send communication data to the micro-grid parent system through a wired network. Of course, if the communication mode between the micro-grid subsystem and the micro-grid parent system is already wired network communication, the switching action of the communication mode switching module is not needed, and only the working state of the communication mode switching module is maintained to be the wired network communication state.
202", judging whether the acquired communication mode parameter value is a second preset value of a communication mode parameter, wherein the second preset value of the communication mode parameter is used for indicating that the communication mode between the micro-grid subsystem and the micro-grid parent system is wired network communication; if yes, the working state of the communication mode switching module arranged in the micro-grid subsystem is controlled to be in wired network communication, so that the communication nodes in the micro-grid subsystem send communication data to the micro-grid parent system through the wired network. Of course, step 202 "may also be performed after step 201.
According to the micro-grid communication control method disclosed by the embodiment, the communication mode switching module arranged in the micro-grid subsystem is used for switching the communication mode between the micro-grid subsystem and the micro-grid parent system, so that uninterrupted communication between the micro-grid subsystem and the micro-grid parent system is ensured, and the problem of off-grid of the micro-grid subsystem is solved.
In a specific example, while the operation state of the communication mode switching module in the micro-grid subsystem is controlled to be the wireless network communication state in step 203, the method shown in fig. 2 further includes step 203' not shown in fig. 2:
203', controlling an embedded database module arranged in the micro-grid subsystem to store data acquired by a micro-grid data acquisition module in the micro-grid subsystem during wireless network communication.
In the micro-grid communication control method disclosed by the embodiment, the embedded database module is directly built at the front end of the micro-grid data acquisition module, compared with the mode of associating the local database module with the local micro-server in the prior art, the embedded database module in the embodiment stores original data, so that the analysis of fault reasons and micro-grid management are facilitated.
In a specific example, after the communication mode switching module of the control device in the micro-grid subsystem switches the communication mode between the micro-grid subsystem and the micro-grid parent system from wireless network communication to wired network communication, the control device controls the embedded database module to send data stored during wireless network communication to the micro-grid parent system through a communication node in the micro-grid subsystem by using a wired network.
According to the micro-grid communication control method disclosed by the embodiment, automatic switching between a wired link and a wireless link can be realized, when the wireless link is switched to the wired link, data stored in the embedded database module during wireless network communication is sent to the micro-grid mother system, so that all data of the micro-grid subsystem can be kept backed up, the data link is only briefly stopped, and the micro-grid mother system does not lose the data of the micro-grid subsystem during a fault period. Of course, when the communication mode of the micro grid subsystem and the micro grid mother system is wireless network communication, the data of the micro grid subsystem can be sent to the micro grid mother system in real time, so that the micro grid mother system can conduct real-time data analysis on the data of the micro grid subsystem.
As shown in fig. 3, the present embodiment discloses a micro-grid communication control device, which may include the following units: the acquisition unit 31, the judgment unit 32, and the control unit 33 are specifically described as follows:
an acquisition unit 31 for acquiring a communication mode parameter value set by a communication node sensor provided in the micro grid subsystem; the communication mode parameter value is set by the communication node sensor based on whether the communication node receives communication data returned by the micro-grid mother system.
The judging unit 32 is configured to judge whether the obtained communication mode parameter value is a first preset value of a communication mode parameter, where the first preset value of the communication mode parameter is used to indicate that a communication mode between the micro-grid subsystem and the micro-grid parent system is wireless network communication.
And the control unit 33 is configured to control, after the determining unit determines that the communication mode parameter value is the first preset value of the communication mode parameter, the working state of the communication mode switching module disposed in the micro-grid subsystem to be a wireless network communication state, so that the communication mode between the micro-grid subsystem and the micro-grid parent system is wireless network communication, and the communication node in the micro-grid subsystem sends communication data to the micro-grid parent system through the wireless network.
In this embodiment, the control unit 33 is specifically configured to control the communication mode switching module disposed in the micro-grid subsystem to switch the communication mode between the micro-grid subsystem and the micro-grid parent system to wireless network communication, so that the communication node in the micro-grid subsystem sends communication data to the micro-grid parent system through the wireless network. Of course, if the communication mode between the micro-grid subsystem and the micro-grid parent system is already wireless network communication, the switching action of the communication mode switching module is not needed, and only the working state of the communication mode switching module is maintained to be the wireless network communication state.
The micro-grid communication control device disclosed in the embodiment can be arranged in a local micro-server of the micro-grid subsystem. Compared with the prior art, the micro-grid communication control device disclosed by the embodiment determines whether the wired network fails or not through the parameter values of the communication mode, ensures uninterrupted communication between the micro-grid subsystem and the micro-grid parent system during the failure period of the wired network, and solves the problem of off-grid of the micro-grid subsystem.
In a specific example, the control unit 33 is further configured to control, after the determining unit 32 determines that the communication mode parameter value is not the first preset value of the communication mode parameter, the working state of the communication mode switching module disposed in the micro-grid subsystem to be a wired network communication state, so that the communication mode between the micro-grid subsystem and the micro-grid parent system is wired network communication, and the communication node in the micro-grid subsystem sends communication data to the micro-grid parent system through the wired network.
In this embodiment, the control unit 33 is specifically configured to control, after the judging unit 32 judges that the communication mode parameter value is not the first preset value of the communication mode parameter, a communication mode switching module disposed in the micro-grid subsystem to switch the communication mode between the micro-grid subsystem and the micro-grid parent system to wired network communication, so that the communication node in the micro-grid subsystem sends communication data to the micro-grid parent system through the wired network. Of course, if the communication mode between the micro-grid subsystem and the micro-grid parent system is already wired network communication, the switching action of the communication mode switching module is not needed, and only the working state of the communication mode switching module is maintained to be the wired network communication state.
In another implementation manner of this embodiment, the determining unit 32 is further configured to determine whether the obtained communication mode parameter value is a second preset value of a communication mode parameter, where the second preset value of the communication mode parameter is used to indicate that a communication mode between the micro-grid subsystem and the micro-grid parent system is wired network communication; if yes, the control unit 33 controls the working state of the communication mode switching module in the micro-grid subsystem to be wired network communication, so that the communication node in the micro-grid subsystem sends communication data to the micro-grid parent system through the wired network.
According to the micro-grid communication control device disclosed by the embodiment, the communication mode switching module arranged in the micro-grid subsystem is used for switching the communication mode between the micro-grid subsystem and the micro-grid parent system, so that uninterrupted communication between the micro-grid subsystem and the micro-grid parent system is ensured, and the problem of off-grid of the micro-grid subsystem is solved.
In a specific example, the control unit 33 is further configured to control an embedded database module provided in the micro grid subsystem to store data collected by a micro grid data collection module in the micro grid subsystem during wireless network communication.
Compared with the mode of associating the local database module with the local micro server in the prior art, the micro-grid communication control device disclosed by the embodiment has the advantages that the embedded database module stores original data, so that the fault cause and micro-grid management can be analyzed.
In a specific example, the control unit 33 is further configured to control the embedded database module to send, when the communication mode is switched from wireless network communication to wired network communication, data stored during the wireless network communication to the micro-grid mother system through a communication node in the micro-grid subsystem by using a wired network.
According to the micro-grid communication control device disclosed by the embodiment, automatic switching between a wired link and a wireless link can be realized, when the wireless link is switched to the wired link, data stored by the embedded database module during wireless network communication is sent to the micro-grid mother system, so that the data link is only briefly stopped, and the micro-grid mother system does not lose data of the micro-grid subsystem during faults. Of course, when the communication mode of the micro grid subsystem and the micro grid subsystem is wireless network communication, data communication between the micro grid subsystem and the micro grid parent system can be realized in real time, so that the micro grid parent system can timely acquire data of the micro grid subsystem during faults, and the fault reasons of the micro grid subsystem can be analyzed more quickly.
Further, the embodiment of the invention also discloses a micro-grid communication control system, which can comprise:
the micro-grid communication control device, the communication node sensor arranged in the micro-grid subsystem and the communication mode switching module arranged in the micro-grid subsystem as shown in fig. 3;
the microgrid communication control device communicates with the communication node sensors.
Further, the method further comprises the following steps:
an embedded database module disposed in the microgrid subsystem;
the micro-grid communication control device is in communication with the embedded database module.
Based on the micro-grid communication control device and the micro-grid communication control system disclosed in the above embodiments, fig. 4 shows a schematic structural diagram of a smart micro-grid according to an embodiment of the present invention.
The hardware of the embedded database module is an embedded storage system formed by a CPU of ARM7, a DDR memory and a solid state disk, the embedded storage system provides a hardware carrier for the embedded database, a micro operating system based on linux is operated on the embedded storage system to backup and manage data acquired by the micro grid data acquisition module in real time, when a communication fault occurs in the micro grid subsystem, the data can be backed up timely, no data loss is caused, the wired communication is recovered, and the micro grid parent system reads the data during the fault to the large cloud platform through the Ethernet to analyze the fault and adjust a control model, so that the micro grid is more stable and reliable. In this embodiment, the embedded database module stores and manages the local data collected by the micro-grid data collection module, so as to realize hardware data storage, and the original data collected by the micro-grid data collection module is stored in the embedded database module, so that external expansion is supported, and the capacity is not limited.
In specific application, the embedded database module is internally provided with the independent storage unit of the USB flash disk, so that the data of the device can be stored internally and cannot be lost even if the device can run and even if the device cannot communicate with any upper management system. After the communication with the upper management system is restored, the upper management system automatically reads the storage unit in the equipment and extracts the equipment data, so that the integrity of the system data is ensured to the maximum.
In a specific application, the communication mode between the micro-grid subsystem and the micro-grid parent system adopts a wired network and wireless network communication mode to realize composite link communication. For example: the micro-grid communication control device acquires the communication mode parameter value set by the communication node sensor as 1, judges that the current starting is a wired network, and the internal message mode and the analysis mode are carried out by adopting the wired network, wherein the communication node sensor can acquire signals generated by communication data returned by the micro-grid mother system; when a wired network has a problem, the communication node sensor cannot acquire signals, and because the communication node does not receive communication data returned by the micro-grid mother system, the communication node sensor sets a communication mode parameter value as a first preset value (the first preset value is 0) of the communication mode parameter, the micro-grid communication control device acquires the communication mode parameter value set by the communication node sensor as 0, judges that the current wired network has a fault, and needs to enable the wireless network, and the internal message mode and the analysis mode are performed by adopting the wireless network. In addition, when the wired network or the wireless network needs to be maintained, the manual switching can be performed, so that the communication between the micro-grid subsystem and the mother system is ensured to be smooth.
Those skilled in the art will appreciate that the elements of the embodiments may be combined into one unit and, in addition, they may be divided into a plurality of sub-units. Except where at least some of such features and/or processes or units are mutually exclusive, any combination of all the features disclosed in this specification, and all of the processes or units of any method or apparatus so disclosed, may be employed. Each feature disclosed in this specification may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Those skilled in the art will appreciate that the elements of an embodiment may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components according to embodiments of the present invention may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.