趙中英 李斌 王敏
摘? 要:針對電力領域中信息通信一體化調度運行支撐平臺(簡稱I6000)在數據交互和傳輸時存在實時性和靈活性等方面不足的問題,本文提出了一種新穎的數據交互新模型。這種模型是一種改進型發布-訂閱模式,將I6000的接口數據按日志格式進行預處理,然后將日志進行數據同步,將信息通信一體化調度運行支撐平臺的重要信息數據采集后進行保存,保存的格式采用預先設定的模式,然后對保存的數據進行壓縮處理,再通過發布-訂閱方式將壓縮的數據進行傳輸,并在接收端將壓縮的數據進行解析,最終通過發布和訂閱的方式實現了對I6000數據的采集-壓縮-傳輸-接受-解析。通過提出該方法,能夠有效解決I6000在數據傳輸上存在的延遲問題,提升數據處理效率,增加數據的時效性和健壯性。
關鍵詞:I6000;數據同步交互;中間件;異步傳輸
中圖分類號:TP311.13? ? ? 文獻標識碼:A 文章編號:2096-4706(2019)01-0024-02
Data Interaction Model of I6000 Interface Based on Publish-Subscribe
ZHAO Zhongying,LI Bin,WANG Min
(State Grid Ningxia Electric Power Co.,Ltd.,Information and Communication Company,Yinchuan? 750001,China)
Abstract:Aiming at the problem of insufficient real-time and flexibility in data interaction and transmission of information and communication integrated dispatching and operation support platform (I6000) in electric power field,this paper presents a new data interaction model,which is an improved publish-subscribe model and integrates I6000 interface number according to the pre-processing according to the log format,and then the log data synchronization,the important information data acquisition of the information and communication integrated dispatching and operation support platform is saved. The saved format adopts the pre-set mode,the saved data is compressed and processed,and the compressed data is transmitted through publish-subscribe mode. The receiving end parses the compressed data,and finally realizes the collection-compression-transmission-acceptance-analysis of I6000 data by publishing and subscribing. By putting forward this method,I6000 data transmission delay problem can be effectively solved,data processing efficiency can be improved,the timeliness and robustness of data can be increased.
Keywords:I6000;data synchronous interaction;middleware;asynchronous transmission
0? 引? 言
隨著信息化和大數據時代的發展,信息的處理效率越來越高,人們對于軟件的需要和非功能性需求也越來越高。在當前SaaS模式下,電力領域中部署的應用系統都是采用集中式部署方式或者二級部署方式,無論采用哪一種部署方式,其中數據傳輸都采用的是通用信息接口,這種接口能夠解決信息的共享和交互問題,使得管理和信息調度能夠對任務進行統一調度[1],但也存在一定的弊端。電力領域中各系統之間的數據交互,在實時性和靈活性方面存在一定的不足,使得信息數據的傳輸和交互存在延遲,降低了一些系統的實時性,也降低系統之間的緊密聯系[2]。……