A kind of electric power Internet of Things intelligent communication method and system and intelligent communication gateway
Technical field
The present invention relates to Internet of Things communication technical field, relate to a kind of electric power Internet of Things intelligent communication method be applied in electrical network Internet of Things, the invention still further relates to a kind of electric power Internet of Things intelligent communication system simultaneously, and a kind of electric power Internet of Things intelligent communication gateway.
Background technology
Along with the development of technology of Internet of things, the application of Internet of Things gets more and more, and the application of Internet of Things in intelligent grid is also deepening constantly.According to the design of intelligent grid Internet of Things general frame, electric power Internet of Things is divided into sensing layer, network layer and application layer.In this three layer model, network layer assume responsibility for the task of Data Collection, data processing and transfer of data, has very important effect for whole Internet of Things application.
But can find from the practice of the Demonstration Application of electric power Internet of Things, the intelligent communication gateway being deployed in transformer station's level is a very weak link.One is the intelligent communication gateway hardware platform and the embedded OS that are not applicable to electric power Internet of Things application-specific scene.Current communication class server is on the market generally versatility product, serial ports, network interface are few, there are some interfaces that DVI, Digital I/O etc. is useless to electric power Internet of Things, some leading indicator is not all right (as EMC) also, and mostly adopt x86 framework, cause power consumption inevitable large, cost also can be high, therefore can not meet the requirement that electric power Internet of Things requirement intelligent communication gateway has enough network interfaces and serial ports and low-power consumption, low cost, high reliability.In addition, what existing communication class server was often installed is Windows or the (SuSE) Linux OS of full release, and not for the embedded OS of electric power Internet of Things communication gate application program, program running and comparing can be caused so slow, and take larger memory space.Two is that existing communication gateway application software has often only done an existing standard agreement (as IEC60870-5-101 stipulations), can not the proprietary protocol that uses of compatible sensor installation, the gap of the compatibility multiple support serial ports required from electric power Internet of Things and the standard agreement of network interface and the mounted transducer of access is also larger, and these realistic problems seriously constrain the in-depth of electric power Internet of Things and apply.
Summary of the invention
In order to overcome defect and the deficiency of above-mentioned prior art, the invention provides a kind of electric power Internet of Things intelligent communication method, can compatible multiple different communication protocol, privately owned communication protocol, the information of the transducer in electric power Internet of Things, monitoring device is changed, standard configurations, distribution integration, comprehensive analysis processing, intelligent storage and intelligent transportation.Realize the intelligent communication of data message in electric power Internet of Things.
The present invention also provides a kind of electric power Internet of Things intelligent communication system realizing said method in addition, and a kind of electric power Internet of Things intelligent communication gateway.
Provided by the invention, a kind of electric power Internet of Things intelligent communication method, comprises the steps:
A, step for data acquisition and data normalization process: gather the data message inputted from transducer each in electric power Internet of Things and monitoring device, protocol analysis conversion is carried out to the communication information of different protocol standards, and uplink after the data message of conversion being carried out standardization;
B, the step integrated for information distribution: for upstream data, the standardized data of receiving step a uplink category is assigned to each respective modules respectively; For downlink data, Standardisation Cell will be sent to after the Data Integration of modules by step a process;
C-1, step for aggregation of data analyzing and processing: carry out comprehensive analysis processing for the data being assigned to each module, step b process is transferred to for downlink data;
C-2, for carrying out the step of intelligent storage while carrying out step c-1: building database, intelligent storage and reading are carried out to the data in step b and the data in step c-1;
D, step for intelligent transportation: unify to carry out data interaction between application service at intelligent communication gateway and electric power Internet of Things, the data upstream transmission that step c-1 is comprehensively analyzed, downlink transfer electric power Internet of Things unifies the downlink data of application service simultaneously, by step c-1 process; In addition by the intelligent storage data upstream transmission in step c-2, downlink transfer electric power Internet of Things unifies the downlink data of application service simultaneously, by step c-2 process.
Preferably, in step a, to transducer and the monitoring device of different communication protocol standard, man-to-man protocol adaptation conversion method is adopted to change, by unified for the data message of the multiple different communication protocol data message be converted to based on the same communications protocols.
Preferably, in stepb, standardized data information comprises: device class numbering, device name numbering, acquisition time, name of the information numbering.
Preferably, in step c-1, directly externally provide Real-time Monitoring Data, alarm data and various data results by WebService mode simultaneously.
Preferably, in step c-1, comprehensive analysis processing comprises: performance evaluation, early warning analysis, fault locating analysis, tuning regulation and control, fault warning statistics, environmental monitoring and analysis, asset management analysis and secure environment analysis.
Preferably, in step c-1: described comprehensive analysis processing comprises three aspects: (1), after analyzing through modules, carries out comprehensively to analysis result; (2) warning information carries out comprehensively; (3) in conjunction with data message and the warning information of modules, comprehensive descision fault and fault is positioned.
Preferably, in steps d, the described data interaction carried out comprises: analysis statisticaling data is uploaded, equipment controls, parameter configuration, parameter read, system synchronization.
A kind of electric power Internet of Things intelligent communication system realizing above-mentioned arbitrary described method that the present invention provides in addition, comprising:
Module for data acquisition and data normalization process: comprise the module gathering the data message inputted from transducer each in electric power Internet of Things and monitoring device, carries out the standardized module of uplink after standardization after protocol analysis transforms to this data message;
Module for information distribution is integrated: for upstream data, comprises and receives the data of uplink and to go forward side by side the module of column criterion process, the data message category after standardization is assigned to respectively the module that each respective modules carries out analyzing; For downlink data, the module of standardized module process will be sent to after the Data Integration of modules;
Module for aggregation of data analyzing and processing: comprise the module of carrying out comprehensive analysis processing for the data being assigned to each module, by downlink data transmission to the module of information distribution integrate module process;
For carrying out the module of intelligent storage: comprise building database, the data in the data in information distribution integrate module and aggregation of data analysis and processing module are carried out to the module of intelligent storage and reading;
Module for intelligent transportation: be included in the module that intelligent communication gateway and electric power Internet of Things unify to carry out between application service data interaction; By the data upstream transmission that aggregation of data analysis and processing module is comprehensively analyzed, downlink transfer electric power Internet of Things unifies the downlink data of application service simultaneously, is carried out the module processed by aggregation of data analysis and processing module; By the intelligent storage data upstream transmission in intelligent storage module, downlink transfer electric power Internet of Things unifies the downlink data of application service simultaneously, by the module of intelligent storage resume module.
The present invention also provides a kind of electric power Internet of Things intelligent communication gateway in addition, comprising:
Core processor, for processing the data message in electric power Internet of Things;
The network communication module be connected with described core processor, for accessing electric power Internet of Things, carries out the telecommunication of data;
The serial communication modular be connected with described core processor, for accessing electric power Internet of Things, the communication connection between extended core processor and serial equipment;
The memory module be connected with described core processor, for the memory function of extended core processor;
The expansion module be connected with described core processor, for the communication connection between extended core processor and different communication interface equipment; The state indicator module be connected with described core processor, for the instantaneous operating conditions information of display communication gateway;
The power management module be connected with described core processor, converts the various voltage signals that device inside uses to by the alternating current 220V of input or direct current 110V voltage signal;
Described core processor comprises:
For the data message of the data message in store power Internet of Things, core processor process, the embedded OS needed for described core processor work and the DDR2SDRAM memory of software module and the Nandflash flash memory that realize various function;
For running for described processing data information, embedded OS and each software module the central processing unit (CPU) providing calculation process;
For described central processing unit (CPU) provides the real-time timepiece chip of clock timing.
Preferably, the described software module realizing various function comprises:
Data acquisition and data normalization processing module;
Information distribution integrate module;
Aggregation of data analysis and processing module, intelligent storage module;
Intelligent transportation module.
The beneficial effect adopting a kind of electric power Internet of Things intelligent communication method provided by the invention to bring is: (1) this communication means is applied in electric power Internet of Things, for upstream data: gather each transducer in electric power Internet of Things, the detection data message of monitoring device, and the data message of different communication protocol is changed, standardization is carried out to this data message simultaneously, afterwards standardized data message is distributed, comprehensively analyzed by each respective modules, on the one hand intelligent storage is carried out to the comprehensive data analyzed, uplink is to the control base station of electric power Internet of Things on the other hand, carry out further comprehensive descision, realize the running state monitoring to the whole network.For control export downlink data, by electric power Internet of Things control base station export control command, remote regulating/remote control command downlink transfer to each equipment in electric power Internet of Things, to control the whole network.Achieve the use that coexists of the different communication protocol in electric power Internet of Things, and standardization is carried out to various data message, distribute and integrate, Data Management Analysis for electric power Internet of Things provides effective data basis, simultaneously can by the uplink of Treatment Analysis result, and by up control command to downlink transfer, play and merge the various communication equipment of existing electric power Internet of Things, sensor device, the information communication between monitoring equipment and control master station, interactive controlling.(2) described data acquisition and standardization and intelligent transportation possess compatible multiple existing standard communication protocol (as IEC61850, IEC60870-1-101/103/104, ModBus, CAN etc.) and the function such as producer's proprietary protocol of using of sensor installation.(3) described intelligent storage is based on three stratum servers of Distributed automatic control systim, realizes the unified access to database and data access; Set up specific data structure by shared drive, realize the efficient access of the data such as data message, order.(4) described Data Analysis Services directly can externally provide Real-time Monitoring Data, alarm data and various data results by WebService mode, meets the needs of data validity and real-time.
The beneficial effect adopting a kind of electric power Internet of Things intelligent communication system provided by the invention to bring is: the use that coexists carrying out multi-communication protocol equipment for electric power Internet of Things provides the foundation, electric power Internet of Things control in base station and electric power Internet of Things provide between monitoring device, transducer and various equipment a kind of can carry out data compatibility conversion, data standardization, distribute integrate, the comprehensive analysis of data, and the uplink of data and downlink transfer.
The beneficial effect adopting a kind of electric power Internet of Things intelligent communication gateway provided by the invention to bring is: the hardware platform of (1) intelligent communication gateway adopts High performance industrial level ARM9 chip as host CPU, extend out Large Copacity DDR2SSRAM and NANDFLASH, by parallel busses extended network interface and serial ports, and provide CF/SD card interface and transducer access capability.Framework is reasonable, and on hardware and functionally more integrated, ensure that overall stability and reliability.(2) compatible multiple existing standard communication protocol (as IEC61850, IEC60870-1-101/103/104, ModBus, CAN etc.) etc.(3) described intelligent storage is based on three stratum servers of Distributed automatic control systim, realizes the unified access to database and data access; Set up specific data structure by shared drive, realize the efficient access of the data such as data message, order.(4) described Data Analysis Services directly can externally provide Real-time Monitoring Data, alarm data and various data results by WebService mode, meets the needs of data validity and real-time.
Accompanying drawing explanation
Fig. 1 is the flow chart of electric power Internet of Things intelligent communication method provided by the invention;
Fig. 2 is the hardware configuration schematic diagram of a kind of electric power Internet of Things intelligent communication gateway provided by the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, be a kind of electric power Internet of Things intelligent communication method provided by the invention, comprise the steps:
A, step for data acquisition and data normalization process: gather the data message inputted from transducer each in electric power Internet of Things and monitoring device, protocol analysis conversion is carried out to the communication information of different protocol standards, and uplink after the data message of conversion being carried out standardization.To transducer and the monitoring device of different communication protocol standard, man-to-man protocol adaptation conversion method is adopted to change, by unified for the data message of the multiple different communication protocol data message be converted to based on the same communications protocols.
For upstream data, intelligent communication gateway collects all kinds of Monitoring Data by the transmission means of serial ports or network interface, sends into information distribution integral unit after protocol analysis and consensus standard.Standardized information should comprise: device class numbering, device name numbering, acquisition time, name of the information numbering etc.
Different monitoring devices, its concrete serial ports/network interface configures, communication protocol is all different, so need to develop different protocol adaptors (specifying corresponding adapter by communication protocol configuration file) for different monitoring devices.
For downlink data, the remote regulating that intelligent communication gateway issues and remote control command are converted into by anti-standardisation process the instruction that monitoring device issues, and are issued to monitoring device by corresponding serial ports/network interface after carrying out packing encapsulation according to corresponding adapter.
B, the step integrated for information distribution: for upstream data, the standardized data of receiving step a uplink category is assigned to each respective modules respectively; For downlink data, Standardisation Cell being sent to after the Data Integration of modules by step a process. standardized data information comprises: device class numbering, device name numbering, acquisition time, name of the information numbering etc.
For upstream data, the data message classification after standardization is assigned to corresponding module and goes comprehensively to analyze by information distribution integral unit respectively.For downlink data, information distribution integral unit is sent to Standardisation Cell by after the Data Integration of each module.
C-1, step for aggregation of data analyzing and processing: carry out comprehensive analysis processing for the data being assigned to each module, step b process is transferred to for downlink data.Directly can externally provide Real-time Monitoring Data, alarm data and various data results by WebService mode simultaneously.Comprehensive analysis processing comprises: performance evaluation, early warning analysis, fault locating analysis, tuning regulation and control, fault warning statistics, environmental monitoring and analysis, asset management analysis and secure environment analysis etc.Comprehensive analysis comprises three aspects: (1), after analyzing through modules, analysis result needs comprehensive; (2) warning information needs comprehensive; (3) data message in conjunction with modules and warning information is needed, comprehensive descision fault and fault is positioned.
C-2, for carrying out the step of intelligent storage while carrying out step c-1: need store data, divide from the type of data, basic data, sampled data, alarm data, analysis statisticaling data, configuration data etc. can be divided into.Adopt three stratum servers management based on Distributed automatic control systim to the connection of database and data access operation, achieve platform and the language independence of database manipulation, improve data access efficiency.
Building database, based on three stratum servers of Distributed automatic control systim, carries out intelligent storage and reading to the data in step b and the data in step c-1.Described intelligent storage, based on three stratum servers of Distributed automatic control systim, realizes the unified access to database and data access; Set up specific data structure by shared drive, realize the efficient access of the data such as data message, order.
D, step for intelligent transportation: unify to carry out data interaction between application service at intelligent communication gateway and electric power Internet of Things, the data upstream transmission that step c-1 is comprehensively analyzed, downlink transfer electric power Internet of Things unifies the downlink data of application service simultaneously, by step c-1 process; In addition by the intelligent storage data upstream transmission in step c-2, downlink transfer electric power Internet of Things unifies the downlink data of application service simultaneously, by step c-2 process.In steps d, the described data interaction carried out comprises: analysis statisticaling data is uploaded, equipment controls, parameter configuration, parameter read, system synchronization.
Intelligent transportation has been used for the data interaction that intelligent communication gateway and electric power Internet of Things are unified between application service, comprises that analysis statisticaling data is uploaded, equipment control, parameter configuration, parameter read, the function of system synchronization.
The intellectual analysis statistics of intelligent communication gateway can unify application service in conjunction with Policy Table's active upload to electric power Internet of Things, and simultaneously electric power Internet of Things is unified application service and also can be called intellectual analysis statistics, sampling real time data and historical data.
Equipment controls mainly to complete electric power Internet of Things and unifies the direct sending controling instruction of application service to the function of equipment, such as access control, air-conditioner temperature adjustment etc.
Parameter configuration mainly completes the setting to equipment remote regulating value, such as the under-voltage set point of Switching Power Supply direct current etc.Parameter reads the reading mainly completed remote regulating value.
It is synchronous that system synchronization mainly completes between center-side support platform and intelligent communication gateway, the basic account data etc. of such as equipment.
The intelligent communication gateway function such as also support the mandate of novel intelligent lockset in transformer station and Monitoring Data to upload.
During intelligent communication gateway correspondence with foreign country, message can do the encryption process, and guarantee data security transmission.
Except the function needed above, intelligent communication gateway and the electric power Internet of Things Unified Communication agreement unified between application service is also the critical function of intelligent transportation.Intelligent transportation needs to carry out protocol analysis or carry out packing to data according to agreement sending to transmission data.
In addition, the present invention also provides a kind of electric power Internet of Things intelligent communication system realizing said method, comprising:
Module for data acquisition and data normalization process: comprise the module gathering the data message inputted from transducer each in electric power Internet of Things and monitoring device, carries out the standardized module of uplink after standardization after protocol analysis transforms to this data message;
Module for information distribution is integrated: for upstream data, comprises and receives the data of uplink and to go forward side by side the module of column criterion process, the data message category after standardization is assigned to respectively the module that each respective modules carries out analyzing; For downlink data, the module of standardized module process will be sent to after the Data Integration of modules;
Module for aggregation of data analyzing and processing: comprise the module of carrying out comprehensive analysis processing for the data being assigned to each module, by downlink data transmission to the module of information distribution integrate module process;
For carrying out the module of intelligent storage: comprise building database, the data in the data in information distribution integrate module and aggregation of data analysis and processing module are carried out to the module of intelligent storage and reading;
Module for intelligent transportation: be included in the module that intelligent communication gateway and electric power Internet of Things unify to carry out between application service data interaction; By the data upstream transmission that aggregation of data analysis and processing module is comprehensively analyzed, downlink transfer electric power Internet of Things unifies the downlink data of application service simultaneously, is carried out the module processed by aggregation of data analysis and processing module; By the intelligent storage data upstream transmission in intelligent storage module, downlink transfer electric power Internet of Things unifies the downlink data of application service simultaneously, by the module of intelligent storage resume module.
Described after protocol analysis transforms, standardization is carried out to this data message after the standardized module of uplink comprise: to transducer and the monitoring device of different communication host-host protocol, protocol adaptor is set one to one, the data message of multiple different communication protocol is converted to the data message based on the same communications protocols.
As shown in Figure 2, the present invention also provides a kind of electric power Internet of Things intelligent communication gateway, comprising:
Core processor, for processing the data message in electric power Internet of Things;
The network communication module be connected with described core processor, for accessing electric power Internet of Things, carries out the telecommunication of data, with electric power system master device or electric power thing network sensing layer devices communicating; In the present embodiment, described network communication module adopts RJ45 interface, and interface number is no less than 3, for master device and sensing layer devices communicating.
The serial communication modular be connected with described core processor, for accessing electric power Internet of Things, the data of reception with electric power thing network sensing layer devices communicating, and are given core processor by the communication connection between extended core processor and serial equipment.In the present embodiment, described serial communication modular is RS-232/422/485 interface, and interface number is no less than 12.
The memory module be connected with described core processor, for the memory function of extended core processor, this locality realizing Large Volume Data stores.In the present embodiment, described memory module is CF/SD card interface, and accessible CF/SD card capacity is not less than 8G.
The expansion module be connected with described core processor, for the communication connection between extended core processor and different communication interface equipment, access electric power thing network sensing layer transducer, in the present embodiment, described expansion module provides I2C/SPI/GPIO interface, directly can be connected with various sensor device easily, obtain the heat transfer agent needed.
The state indicator module be connected with described core processor, for the instantaneous operating conditions information of display communication gateway.In the present embodiment: described state indicator module the power supply status, communications status, operating state etc. current to equipment can provide display.
The power management module be connected with described core processor, converts the various voltage signals that device inside uses to by the alternating current 220V of input or direct current 110V voltage signal;
Described core processor comprises:
For the data message of the data message in store power Internet of Things, core processor process, the embedded OS needed for described core processor work and the DDR2SDRAM memory of software module and the Nandflash flash memory that realize various function;
For running for described processing data information, embedded OS and each software module the central processing unit (CPU) providing calculation process;
For described central processing unit (CPU) provides the real-time timepiece chip of clock timing.
The described software module realizing various function comprises: data acquisition and data normalization processing module; Information distribution integrate module; Aggregation of data analysis and processing module, intelligent storage module; Intelligent transportation module.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.