The invention discloses an event sequential record reporting method, which comprises the following steps: the master station sends data exchange request messages to each slave station; receives data exchange response messages returned from each slave station containing operation status data and event sequential record marks; and sends data to the target slave station when determining that the target slave station generates event sequential record data according to event sequential record marks. Send event sequence record request message and receive target return event sequence record reply message. The technical scheme provided by the embodiment of the present invention greatly reduces the length of the data exchange reply message reported from the slave station to the master station, greatly reduces the transmission time of the data exchange reply message, greatly improves the timeliness of the master station acquiring the operation status data of each slave station, and improves the timeliness of the master station controlling each slave station. The invention also discloses an event sequential recording and reporting device, equipment and storage medium, which has corresponding technical effects.
【技术实现步骤摘要】
一种事件顺序记录上报方法、装置、设备及可读存储介质
本专利技术涉及电力系统
,特别是涉及一种事件顺序记录上报方法、装置、设备及计算机可读存储介质。
技术介绍
电力系统中PROFIBUS-DP协议主站和从站在通信的过程中,当从站产生了开关或继电保护动作的事件顺序记录SOE时,需要将事件顺序记录上报给主站。现有的事件顺序记录上报方法是从站主动上报。如果从站产生了事件顺序记录,那么从站在收到主站发送的“数据交换请求报文”时,将“事件顺序记录数据长度”和“事件顺序记录数据”填写到“数据交换应答报文”中,上报给主站。主站从从站上报的“数据交换应答报文”中获取“事件顺序记录数据长度”和“事件顺序记录数据”,主站收到“数据交换应答报文”后,在报文中固定的位置读取“事件顺序记录数据长度”,如果“事件顺序记录数据长度”为0,则表示“数据交换应答报文”中没有携带“事件顺序记录数据”。如果“事件顺序记录数据长度”不为0,则根据“事件顺序记录数据长度”读取后面的“事件顺序记录数据”。但是现有的事件顺序记录上报方法,当从站生成事件顺序记录的数量很大的情况下,如果把这些事件顺序记录数据 ...
【技术保护点】
1.一种事件顺序记录上报方法,其特征在于,所述方法包括:主站向各从站发送数据交换请求报文;接收各所述从站返回的包含运行状态数据和事件顺序记录标志的数据交换应答报文;向目标从站发送事件顺序记录请求报文;其中,所述目标从站为根据所述事件顺序记录标志确定生成事件顺序记录数据的从站;接收所述目标从站返回的事件顺序记录应答报文。
【技术特征摘要】
1.一种事件顺序记录上报方法,其特征在于,所述方法包括:主站向各从站发送数据交换请求报文;接收各所述从站返回的包含运行状态数据和事件顺序记录标志的数据交换应答报文;向目标从站发送事件顺序记录请求报文;其中,所述目标从站为根据所述事件顺序记录标志确定生成事件顺序记录数据的从站;接收所述目标从站返回的事件顺序记录应答报文。2.根据权利要求1所述的方法,其特征在于,向所述目标从站发送事件顺序记录请求报文,包括:向各所述目标从站依次发送所述事件顺序记录请求报文;接收所述目标从站返回的事件顺序记录应答报文,包括:依次接收各所述目标从站返回的事件顺序记录应答报文。3.根据权利要求2所述的方法,其特征在于,在依次接收各所述目标从站返回的事件顺序记录应答报文之后,还包括:对接收到的各所述目标从站的所述事件顺序记录应答报文依次进行保存。4.根据权利要求3所述的方法,其特征在于,对接收到的各所述目标从站的所述事件顺序记录应答报文依次进行保存之后,还包括:对保存的每个目标从站的所述事件顺序记录应答报文进行整体转发给上位机进行显示。5.一种事件顺序记录上报装置,其特征在于,所述装置包括:第一报文发送模块,用于主站向各从站发送数据交换请求报文;第一报文接收模块,用于接收各所述从站返回的包含运行状态数据和事件顺序...
【专利技术属性】
技术研发人员:李鑫,杨鹏,余瑞,郑超,
申请(专利权)人:杭州和利时自动化有限公司,
类型:发明
国别省市:浙江,33
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。