Method for intercepting WCF communication message in intelligent building integrated management platform

The invention provides a method for intercepting a WCF communication message in an intelligent building integrated management platform. The method includes: when a client end transmits a WCF message request to a server end, a message intercepting process is used to intercept a message response retur...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: YANG XUJUN, ZHONG WEIWEI, HU ZHIYONG, CAI JIANFENG, YE XIAOSHAN, QIU XIANLONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention provides a method for intercepting a WCF communication message in an intelligent building integrated management platform. The method includes: when a client end transmits a WCF message request to a server end, a message intercepting process is used to intercept a message response returned by the server end, performing intelligent building integrated management platform log printing and abnormity capturing and processing, and returning the message to the client end. The method has the advantages that WCF communication message intercepting is achieved by an AOP programming manner to achieve functions of log printing and abnormity processing, automatic message intercepting can be achieved, resource cost is lowered, and the method is widely applicable and high in commercial value. 本发明提供种智能建筑综合管理平台系统中WCF通信消息拦截方法,当Client端向Server端发送WCF消息请求后,通过消息拦截过程拦截Server端返回的消息响应,并进行智能建筑综合管理平台系统中日志打印以及异常的捕捉处理,最后将消息返回给Client端,本发明利用AOP编程的方式实现了对WCF通信消息的拦截实现日志打印和异常处理的功能。本发明能够实现自动化消息拦截,降低了资源成本,应用广泛,商业价值高。