[go: up one dir, main page]

CN103561079A - Wireless sensor network data interaction method based on XMPP - Google Patents

Wireless sensor network data interaction method based on XMPP Download PDF

Info

Publication number
CN103561079A
CN103561079A CN201310524776.9A CN201310524776A CN103561079A CN 103561079 A CN103561079 A CN 103561079A CN 201310524776 A CN201310524776 A CN 201310524776A CN 103561079 A CN103561079 A CN 103561079A
Authority
CN
China
Prior art keywords
wireless sensor
response
sensor network
request instruction
read
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310524776.9A
Other languages
Chinese (zh)
Inventor
王恒
王平
曾海勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing University of Post and Telecommunications
Original Assignee
Chongqing University of Post and Telecommunications
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing University of Post and Telecommunications filed Critical Chongqing University of Post and Telecommunications
Priority to CN201310524776.9A priority Critical patent/CN103561079A/en
Publication of CN103561079A publication Critical patent/CN103561079A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种基于XMPP协议的无线传感器网络的数据交互方法,包括步骤:无线传感器网络的源客户端收到对目标客户端进行操作的操作请求指令时,无线传感器网络的源客户端生成相应的操作请求数据包;无线传感器网络的源客户端将生成的操作请求数据包发送给目标客户端,并等待目标客户端的响应;目标客户端在收到来自无线传感器网络的源客户端发送的操作请求数据包时生成相应的响应数据包,并转发给该目标客户端的执行机构进行执行。本发明能够解决无线传感器网络各应用协议之间存在的兼容性与互通性等问题,有助于无线传感器网络的大规模部署与发展。

Figure 201310524776

The invention discloses a data interaction method of a wireless sensor network based on the XMPP protocol. The corresponding operation request data packet; the source client of the wireless sensor network sends the generated operation request data packet to the target client, and waits for the response of the target client; When operating the request data packet, a corresponding response data packet is generated, and forwarded to the executive body of the target client for execution. The invention can solve the problems of compatibility and interoperability among various application protocols of the wireless sensor network, and contributes to the large-scale deployment and development of the wireless sensor network.

Figure 201310524776

Description

一种基于XMPP协议的无线传感器网络的数据交互方法A data interaction method for wireless sensor networks based on XMPP protocol

技术领域Technical Field

本发明属于工业无线传感器网络技术领域,具体涉及一种无线传感器网络(Wireless Sensor Networks,简称WSN)中的XMPP数据交互方法。The present invention belongs to the technical field of industrial wireless sensor networks, and specifically relates to an XMPP data interaction method in wireless sensor networks (Wireless Sensor Networks, WSN for short).

背景技术Background Art

自因特网技术之后,WSN技术已成为21世纪影响人类最为重要的IT热点技术之一,其应用也成为人类关注的焦点,并被广泛应用于各应用领域。然而,WSN还存在着许多问题,如WSN的标准体系还不尽完善和各应用领域的数据格式互不统一等问题,造成了WSN的大规模部署和应用成为一大难题。Since the Internet technology, WSN technology has become one of the most important IT hot technologies affecting mankind in the 21st century. Its application has also become the focus of human attention and has been widely used in various application fields. However, WSN still has many problems, such as the imperfect WSN standard system and the inconsistent data formats in various application fields, which has made the large-scale deployment and application of WSN a major problem.

XMPP(可扩展消息与表示协议)作为一种基于XML语言的即时信息传输规范,具有开放性好、实时性强和易扩展等特点,已被广泛应用于互联网中,将其延伸到WSN,可解决WSN中各应用协议之间互不兼容和数据格式互不统一的问题。XMPP (Extensible Messaging and Presence Protocol), as an instant information transmission specification based on XML language, has the characteristics of good openness, strong real-time performance and easy extensibility. It has been widely used in the Internet. Extending it to WSN can solve the problems of incompatibility between application protocols and inconsistent data formats in WSN.

然而,现有的XMPP主要是面向即时通信制定的,主要针对于聊天系统、娱乐和电子邮件等的应用,架构较为复杂;而WSN主要是针对汇聚数据、发布数据和网络管理等的应用,架构比较单一,因此,直接将现有的XMPP协议应用于WSN还存在着一些问题。However, the existing XMPP is mainly developed for instant messaging, mainly targeting applications such as chat systems, entertainment and email, and has a relatively complex architecture; while WSN is mainly aimed at applications such as data aggregation, data publishing and network management, and has a relatively simple architecture. Therefore, there are still some problems in directly applying the existing XMPP protocol to WSN.

为了迎合WSN大规模部署和发展的要求,提出一种专门针对WSN的即时消息传输方法是非常有必要的,正如《一种基于XMPP协议的即时消息传输方法》(裴文江、王晓姝、张书强、王开、孙庆庆、张毅峰、杨洋、詹金狮、第伟、朱光辉、缪瑞华、沈彦真.一种基于XMPP协议的即时消息传输方法[P].中国专利:201210087194.4)文中所指出的。目前,针对WSN的即时消息传输方法还很少,几乎没有。如上述专利只描述了一种实现企业内部以及企业外部的即时消息之间的数据传输,并没有提出一种专门针对WSN的即时消息传输方法。In order to meet the requirements of large-scale deployment and development of WSN, it is very necessary to propose an instant message transmission method specifically for WSN, as pointed out in the article "An instant message transmission method based on XMPP protocol" (Pei Wenjiang, Wang Xiaoshu, Zhang Shuqiang, Wang Kai, Sun Qingqing, Zhang Yifeng, Yang Yang, Zhan Jinshi, Di Wei, Zhu Guanghui, Miao Ruihua, Shen Yanzhen. An instant message transmission method based on XMPP protocol [P]. Chinese patent: 201210087194.4). At present, there are very few instant message transmission methods for WSN. For example, the above patent only describes a method for realizing data transmission between instant messages within and outside the enterprise, and does not propose an instant message transmission method specifically for WSN.

本发明针对以上缺点,考虑到WSN的主体是数据,考虑到WSN的主体是数据,从WSN的需求和特点出发,对XMPP协议进行定制和优化,设计一个面向无线传感器网络的轻量级XMPP协议,利用对象的特性,设计具有读、写、执行、发布和报告功能的XMPP数据交互格式,提出了基于WSN的XMPP数据交互方法,目的在于解决WSN各应用领域数据格式不统一的问题,以促进WSN大规模部署和发展。In view of the above shortcomings, the present invention customizes and optimizes the XMPP protocol based on the needs and characteristics of WSN, designs a lightweight XMPP protocol for wireless sensor networks, utilizes the characteristics of objects, designs an XMPP data interaction format with read, write, execute, publish and report functions, and proposes an XMPP data interaction method based on WSN, aiming to solve the problem of inconsistent data formats in various application fields of WSN, so as to promote large-scale deployment and development of WSN.

发明内容Summary of the invention

针对以上现有技术中的不足,本发明的目的在于提供一种能够解决WSN各应用领域之间互不兼容的基于XMPP协议的无线传感器网络的数据交互方法。本发明的技术方案如下:一种基于XMPP协议的无线传感器网络的数据交互方法,其包括以下步骤:In view of the above shortcomings in the prior art, the purpose of the present invention is to provide a data interaction method for a wireless sensor network based on the XMPP protocol that can solve the incompatibility between various application fields of WSN. The technical solution of the present invention is as follows: A data interaction method for a wireless sensor network based on the XMPP protocol, which comprises the following steps:

101、当无线传感器网络的源客户端收到对目标客户端进行操作的读请求指令或写请求指令或执行请求指令时,无线传感器网络的源客户端生成相应的读请求指令数据包或写请求指令数据包或执行请求指令数据包,并跳转至步骤102;101. When the source client of the wireless sensor network receives a read request instruction, a write request instruction, or an execute request instruction for operating the target client, the source client of the wireless sensor network generates a corresponding read request instruction data packet, a write request instruction data packet, or an execute request instruction data packet, and jumps to step 102;

当无线传感器网络的源客户端收到对目标客户端进行操作的发布请求指令或报告请求指令时,无线传感器网络的源客户端生成相应的发布请求指令数据包及报告请求指令数据包;并跳转至步骤103;When the source client of the wireless sensor network receives a publishing request instruction or a report request instruction for operating the target client, the source client of the wireless sensor network generates a corresponding publishing request instruction data packet and a report request instruction data packet; and jumps to step 103;

102、无线传感器网络的源客户端将步骤101中生成的读请求指令数据包或写请求指令数据包或执行请求指令数据包发送给目标客户端,并等待目标客户端的响应;目标客户端在收到来自无线传感器网络的源客户端发送的读请求指令数据包或写请求指令数据包或执行请求指令数据包时生成相应的响应数据包,并转发给该目标客户端的执行机构进行执行,完成读操作或写操作或执行操作;102. The source client of the wireless sensor network sends the read request instruction data packet, write request instruction data packet, or execute request instruction data packet generated in step 101 to the target client, and waits for the response of the target client; when the target client receives the read request instruction data packet, write request instruction data packet, or execute request instruction data packet sent by the source client of the wireless sensor network, it generates a corresponding response data packet and forwards it to the execution mechanism of the target client for execution, thereby completing the read operation, write operation, or execute operation;

103、无线传感器网络的源客户端将步骤101中生成的发布请求指令数据包或报告请求指令数据包发送给目标客户端,完成发布操作或报告操作。103. The source client of the wireless sensor network sends the publishing request instruction data packet or the reporting request instruction data packet generated in step 101 to the target client to complete the publishing operation or the reporting operation.

进一步的,所述XMPP协议包括<object/>、<request/>、<response/>、<error/>、<command/>、<method/>、<attribute/>、<inargument/>和<outargument/>元素。Furthermore, the XMPP protocol includes <object/>, <request/>, <response/>, <error/>, <command/>, <method/>, <attribute/>, <inargument/> and <outargument/> elements.

本发明的优点及有益效果如下:The advantages and beneficial effects of the present invention are as follows:

本发明的基于XMPP协议的无线传感器网络的数据交互方法考虑到WSN的高实时性、低功耗和其现有的各应用协议之间互不兼容等特点,采用具有实时性强、灵活性好和易扩展的XMPP技术,设计具有读、写、执行、发布和报告功能的XMPP数据交互格式,以统一WSN各应用领域的数据交互格式。因此本发明的XMPP数据交互方法,既满足了WSN的应用需求,同时也有助于WSN的大规模部署与发展。The data interaction method of the wireless sensor network based on the XMPP protocol of the present invention takes into account the high real-time performance, low power consumption and incompatibility between the existing application protocols of WSN, adopts the XMPP technology with strong real-time performance, good flexibility and easy expansion, and designs the XMPP data interaction format with reading, writing, execution, publishing and reporting functions to unify the data interaction format of various application fields of WSN. Therefore, the XMPP data interaction method of the present invention not only meets the application requirements of WSN, but also contributes to the large-scale deployment and development of WSN.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本发明优选实施例数据对象应用场景图;FIG1 is a diagram of a data object application scenario in a preferred embodiment of the present invention;

图2读服务实现过程流程图;Figure 2 Read service implementation process flow chart;

图3写服务实现过程流程图;Figure 3 writes a flow chart of the service implementation process;

图4执行服务实现过程流程图;Figure 4 is a flow chart of the execution service implementation process;

图5发布服务实现过程流程图;Figure 5 is a flow chart of the publishing service implementation process;

图6报告服务实现过程流程图。Figure 6 Report service implementation process flow chart.

具体实施方式DETAILED DESCRIPTION

下面结合附图给出一个非限定性的实施例对本发明作进一步的阐述。但是应该理解,这些描述只是示例性的,而并非要限制本发明的范围。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本发明的概念。A non-limiting embodiment is provided below in conjunction with the accompanying drawings to further illustrate the present invention. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present invention. In addition, in the following description, the description of known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.

如图1所示在本发明所提出的基于XMPP协议的无线传感器网络的数据交互方法中,每个设备节点均应有一个数据对象。由于对象封装了属性和方法,属性即是设备节点中的相关参数,方法则是访问这些属性的接口函数。本发明设计的数据对象所支持的方法如表1所示,该表主要包括读、写、执行、发布和报告等五种公有方法,即数据对象提供读、写、执行、发布和报告等五种数据服务,对于执行方法中的私有方法为将来可能增加的方法,本发明暂未对其进行定义。当一个设备节点想要对另一个设备节点执行相应的操作时,即可通过使用数据对象所提供的数据服务对数据对象进行操作的方式来实现。As shown in Figure 1, in the data interaction method of the wireless sensor network based on the XMPP protocol proposed by the present invention, each device node should have a data object. Since the object encapsulates attributes and methods, the attributes are the relevant parameters in the device node, and the methods are the interface functions for accessing these attributes. The methods supported by the data object designed by the present invention are shown in Table 1, which mainly includes five public methods such as read, write, execute, publish and report, that is, the data object provides five data services such as read, write, execute, publish and report. The private methods in the execution method are methods that may be added in the future, and the present invention has not yet defined them. When a device node wants to perform a corresponding operation on another device node, it can be achieved by using the data service provided by the data object to operate the data object.

表1Table 1

Figure BDA0000404384230000041
Figure BDA0000404384230000041

如表1所述,设备节点中的数据对象提供读、写、执行、发布和报告服务,对于这几种数据服务,下面将对其进行分别介绍。As described in Table 1, the data objects in the device node provide read, write, execute, publish and report services. These data services are introduced separately below.

(1)读服务(1) Reading service

读服务为设备中数据对象所提供的服务,表示访问者可通过“读”这种方法来获取数据对象中的属性值。读服务属于被动接受指令服务,即在WSN中,设备中的数据对象的属性是通过被动的方式来实现其读操作的。读服务包括读请求和读响应,其标识符分别是request和response/error。Read service is a service provided by the data object in the device, which means that the visitor can obtain the attribute value in the data object by "reading". Read service belongs to the passive command acceptance service, that is, in WSN, the attribute of the data object in the device is read in a passive way. Read service includes read request and read response, whose identifiers are request and response/error respectively.

request:为读请求标识符,表示访问者想要获得设备中数据对象的属性值而发出的请求。request: a read request identifier, indicating a request made by a visitor to obtain the attribute value of a data object in the device.

response:为读响应标识符,表示访问者成功的读取到了设备中数据对象的属性值。response: is a read response identifier, indicating that the visitor has successfully read the attribute value of the data object in the device.

error:为读响应标识符,表示访问者在读取设备中的数据对象的属性值时,发生了错误。error: A read response identifier indicating that an error occurred when the visitor read the attribute value of a data object in the device.

(2)写服务(2) Write service

写服务为设备中数据对象所提供的服务,表示操作者可以通过“写”这种方法来写入相应的值到数据对象的属性中,以作为其属性值。写服务与读服务一样,属于被动接受指令服务,即在WSN中,设备中的数据对象的属性是通过被动的方式来实现其写操作的。写服务包括写请求和写响应,其标识符分别是request和response/error。Write service is a service provided by the data object in the device, which means that the operator can write the corresponding value to the attribute of the data object as its attribute value through the "write" method. Like the read service, the write service is a passive command acceptance service, that is, in WSN, the attribute of the data object in the device is implemented in a passive way. The write service includes write request and write response, and their identifiers are request and response/error respectively.

request:为写请求标识符,表示操作者想要写入相应的值到数据对象的属性中。request: is a write request identifier, indicating that the operator wants to write the corresponding value to the attribute of the data object.

response:为写响应标识符,表示操作者成功写入了相应的值到数据对象的属性中。response: is a write response identifier, indicating that the operator has successfully written the corresponding value to the attribute of the data object.

error:为写响应标识符,表示操作者在写入相应的值到数据对象的属性中时,发生了错误。error: A write response identifier, indicating that an error occurred when the operator wrote the corresponding value to the attribute of the data object.

(3)执行服务(3) Execution services

执行服务为设备中数据对象所提供的服务,表示执行者可以对数据对象中的属性执行某种私有方法,如创建或删除等操作。执行服务与前面所述的读服务和写服务一样,属于被动接受指令服务,即在WSN中,设备中数据对象的属性是通过被动的方式来实现其执行操作的。Execution service is a service provided by the data object in the device, which means that the executor can execute some private methods on the attributes in the data object, such as creation or deletion. Execution service is the same as the read service and write service mentioned above, which is a passive command acceptance service. That is, in WSN, the attributes of the data object in the device are implemented in a passive way.

(4)发布服务(4) Publishing services

发布服务为设备中数据对象所提供的服务,表示通信中的一方可根据其收到的来自其它设备所订阅的信息而发布相关信息所使用的方法。The publishing service is a service provided by the data object in the device, which means the method used by one party in the communication to publish relevant information based on the information it receives from other devices.

与上述的读、写和执行服务相反,数据服务协议所定义的发布-订阅服务属于主动发送指令服务,即在WSN中,设备中数据对象的属性是通过主动的方式进行发布和订阅的,如当传感器节点需要向服务器端获取相关信息时,即向服务器主动发送订阅信息,而服务器在收到这些订阅信息后,则会在某个时间段内,主动向一个或多个已订阅的传感器节点发布其所订阅的信息。发布-订阅服务这种方法主要用于周期性的数据更新等场合。In contrast to the above-mentioned read, write and execute services, the publish-subscribe service defined by the data service protocol belongs to the active command service, that is, in WSN, the attributes of the data objects in the device are published and subscribed in an active way. For example, when the sensor node needs to obtain relevant information from the server, it actively sends subscription information to the server. After receiving the subscription information, the server will actively publish the subscribed information to one or more subscribed sensor nodes within a certain period of time. The publish-subscribe service method is mainly used for occasions such as periodic data updates.

(5)报告服务(5) Reporting services

报告服务为设备中数据对象所提供的服务,表示设备在突发情况、异常状况或其它情况时向通信的另一方主动发起的非周期性的信息传递所使用的方法。The reporting service is a service provided by the data object in the device, which indicates the method used by the device to actively initiate non-periodic information transmission to the other party of the communication in case of emergencies, abnormal conditions or other situations.

与发布-订阅服务一样,报告服务属于主动发送指令服务。报告服务类似于“推”机制。例如,当传感器所采集到的数据超过预先所设定的上下限值时,传感器节点即推送报警类数据信息到网关上。此种服务方法主要用于非周期性的数据更新等场合。Like the publish-subscribe service, the report service is an active command service. The report service is similar to the "push" mechanism. For example, when the data collected by the sensor exceeds the preset upper and lower limits, the sensor node pushes the alarm data information to the gateway. This service method is mainly used for non-periodic data updates and other occasions.

针对数据对象对应的应用场景,如图1所示。在图1中,WSN表示WSN,数据流1表示传感器节点之间可以进行读、写和执行操作;数据流2表示传感器节点可与远程的设备节点进行读、写和执行操作,数据流1和数据流2传输的数据均为iq类消息;数据流3表示远程的设备节点可以向WSN中的传感器节点发布相关消息,其传输的数据为presence类消息。数据流4表示WSN中的其中一个传感器节点可以向另一个传感器节点报告其相关信息;数据流5表示远程的设备节点可以向WSN中的传感器节点报告其相关信息;数据流6表示WSN中的传感器节点可以向远程的设备节点报告其相关信息,数据流4、数据流5和数据流6传输的数据均为message类消息;对于前述的几种数据服务,下面将分别对其进行详细介绍。The application scenarios corresponding to the data objects are shown in Figure 1. In Figure 1, WSN represents WSN, data stream 1 represents that sensor nodes can perform read, write and execute operations; data stream 2 represents that sensor nodes can perform read, write and execute operations with remote device nodes, and the data transmitted by data stream 1 and data stream 2 are all iq messages; data stream 3 represents that remote device nodes can publish relevant messages to sensor nodes in WSN, and the data transmitted is presence messages. Data stream 4 represents that one of the sensor nodes in WSN can report its relevant information to another sensor node; data stream 5 represents that remote device nodes can report their relevant information to sensor nodes in WSN; data stream 6 represents that sensor nodes in WSN can report their relevant information to remote device nodes, and the data transmitted by data streams 4, 5 and 6 are all message messages; the aforementioned data services will be introduced in detail below.

对于基于WSN的XMPP数据交互方法,需设计其数据交互语法和数据对象中各数据服务的实现方法。以下将详细描述这两部分内容。For the XMPP data interaction method based on WSN, it is necessary to design its data interaction syntax and the implementation method of each data service in the data object. The following will describe these two parts in detail.

1.数据交互语法设计1. Data interaction syntax design

在WSN中,一个对象与另一个对象之间的通信,是通过操作一个<object/>元素来实现的。本发明定义其名字空间为‘http://jabber.org/protocol/wsn-object’。该名字空间限定的<object/>元素应作为<message/>节、<presence/>节和<iq/>节的一级子元素。<object/>元素必须包含“from”属性和“to”属性,分别表示源对象与目的对象,其基本语法如下。In WSN, the communication between one object and another is realized by operating an <object/> element. The present invention defines its namespace as ' http://jabber.org/protocol/wsn-object '. The <object/> element defined by this namespace should be used as the first-level child element of the <message/> section, <presence/> section and <iq/> section. The <object/> element must contain the "from" attribute and the "to" attribute, which represent the source object and the destination object respectively. Its basic syntax is as follows.

(1)发送请求的语法(1) Syntax of sending request

Figure BDA0000404384230000071
Figure BDA0000404384230000071

(2)回复响应的语法(2) Syntax of reply response

Figure BDA0000404384230000072
Figure BDA0000404384230000072

or

Figure BDA0000404384230000073
Figure BDA0000404384230000073

如上所述,除XMPP核心协议所定义的一些元素外,本发明还定义了<object/>、<request/>、<response/>、<error/>、<command/>、<method/>、<attribute/>、<inargument/>和<outargument/>等元素,若有需要,将来还可以增加更多的元素。As described above, in addition to some elements defined by the XMPP core protocol, the present invention also defines elements such as <object/>, <request/>, <response/>, <error/>, <command/>, <method/>, <attribute/>, <inargument/> and <outargument/>. If necessary, more elements can be added in the future.

2.数据对象中各数据服务的实现方法设计2. Design of implementation methods for each data service in the data object

在设计基于无线传感器网络的XMPP数据交互方法时,需综合考虑XMPP和WSN的特点。由于XMPP协议是基于XML流的,而XML流中传输的又是些XML节,如<message/>节、<presence/>节和<iq/>节,因此,在将XMPP应用于WSN时,其中的设备之间的通信数据也是基于XML流的。鉴于此,针对本发明中所定义的WSN数据对象中数据服务的实现,则可通过扩展<message/>节、<presence/>节和<iq/>节来实现。When designing an XMPP data interaction method based on wireless sensor networks, the characteristics of XMPP and WSN need to be considered comprehensively. Since the XMPP protocol is based on XML streams, and the XML streams transmit XML sections, such as <message/> sections, <presence/> sections, and <iq/> sections, when XMPP is applied to WSNs, the communication data between the devices is also based on XML streams. In view of this, the implementation of data services in the WSN data objects defined in the present invention can be achieved by extending the <message/> section, <presence/> section, and <iq/> section.

在XMPP核心协议中,共定义了3种基本语义,即消息语义<message、出席信息语义<presence/>和IQ语义<iq/>。其中,<message/>节类型可以被看作是一种“推”机制用于一个实体推送消息给另一个实体,类似于WSN技术标准中的Source/sink通信模式;<presence/>节类型可以被看作是一个基本的广播或“发布-订阅”机制,用于多个实体接收某个已订阅的实体的信息,类似于WSN技术标准中的发布-订阅通信模式;而<iq/>节类型是一个用于使一个实体能够向另一个实体做出请求并做出应答的请求-响应机制,类似于WSN技术标准中的客户端-服务器通信模式。下面将具体介绍每种数据服务的实现方法。In the XMPP core protocol, three basic semantics are defined, namely, message semantics <message>, presence semantics <presence/>, and IQ semantics <iq/>. Among them, the <message/> section type can be regarded as a "push" mechanism for one entity to push messages to another entity, similar to the Source/sink communication mode in the WSN technical standard; the <presence/> section type can be regarded as a basic broadcast or "publish-subscribe" mechanism for multiple entities to receive information from a subscribed entity, similar to the publish-subscribe communication mode in the WSN technical standard; and the <iq/> section type is a request-response mechanism for one entity to make a request to another entity and respond to it, similar to the client-server communication mode in the WSN technical standard. The following will introduce the implementation method of each data service in detail.

(1)读服务实现方法设计(1) Design of read service implementation method

如上所述,读服务包括读请求和读响应服务。XMPP规定,一个实体在接收到一个读请求时,必须回复一个读响应,此过程使用的是请求-响应机制,因此读服务的实现可以通过扩展具有请求-响应机制的<iq/>节来实现。本文规定,一个接收到“request”类型的iq请求的实体必须回复一个“response”或“error”类型的iq应答,且<iq/>节中必须包含type和id属性。本发明设计其具体实现格式如下。As mentioned above, the read service includes a read request and a read response service. XMPP stipulates that when an entity receives a read request, it must reply with a read response. This process uses a request-response mechanism. Therefore, the implementation of the read service can be achieved by extending the <iq/> section with a request-response mechanism. This article stipulates that an entity that receives an iq request of type "request" must reply with an iq response of type "response" or "error", and the <iq/> section must contain type and id attributes. The specific implementation format designed by the present invention is as follows.

a)读请求格式a) Read request format

Figure BDA0000404384230000091
Figure BDA0000404384230000091

在读请求格式中,iq表示此条消息为<iq/>节类型消息;id=’get-id’表示一种交互行为;type=’get’表示此<iq/>节想要获得某项属性值;from=’source address’表示发送读请求的实体源地址;to=’destination address’表示接收读请求的实体目的地址;以上这些均是<iq/>节的属性。<object/>为<iq/>节的一级子元素,为本文所扩展的,表示<iq/>节的子元素为一个对象;xmlns='http://jabber.org/protocol/wsn-object'为<object/>元素的名字空间;from=’source object’表示发送读请求的源对象;to=’targetobject’表示接收读请求信息的目的对象;<request/>为<object/>的子元素,表示源对象要执行请求操作,它必须包含一个“var”属性,以表示要执行的公有方法,如此处的var=’read’表示源对象要进行读操作;<attribute/>为<request/>的子元素,它必须包含一个“var”属性,以表示要读取的的对象属性。In the read request format, iq indicates that this message is an <iq/> section type message; id='get-id' indicates an interactive behavior; type='get' indicates that this <iq/> section wants to obtain a certain attribute value; from='source address' indicates the source address of the entity sending the read request; to='destination address' indicates the destination address of the entity receiving the read request; all of the above are attributes of the <iq/> section. <object/> is the first-level child element of the <iq/> section, which is extended by this article and indicates that the child element of the <iq/> section is an object; xmlns=' http://jabber.org/protocol/wsn-object ' is the namespace of the <object/>element;from='sourceobject' indicates the source object that sends the read request; to='targetobject' indicates the destination object that receives the read request information; <request/> is the child element of <object/> and indicates that the source object is to perform the requested operation. It must contain a "var" attribute to indicate the public method to be executed, such as var='read' here, which indicates that the source object is to perform a read operation; <attribute/> is the child element of <request/> and it must contain a "var" attribute to indicate the object attribute to be read.

b)读响应格式b) Read response format

读响应分为读响应成功与读响应错误两种情况。针对读响应成功,本发明设计其格式如下:The read response is divided into two cases: a successful read response and an error read response. For a successful read response, the present invention designs its format as follows:

Figure BDA0000404384230000092
Figure BDA0000404384230000092

Figure BDA0000404384230000101
Figure BDA0000404384230000101

在读响应成功的格式中,type=’result’表示此<iq/>节为响应结果,且响应成功;from=’source address’表示响应读请求的实体源地址;to=’destination address’表示响应读请求的实体目的地址,即发起读请求的实体地址;<response/>为<object/>的子元素,表示对象要进行响应操作,且响应读请求成功;<attribute/>为<response/>的子元素,它必须包含一个“var”属性,以表示所响应的那个对象属性,其下可包含所读取的属性值,如此处的attribute value即为所读的属性值。In the format of a successful read response, type=’result’ indicates that this <iq/> section is a response result and the response is successful; from=’source address’ indicates the entity source address of the response to the read request; to=’destination address’ indicates the entity destination address of the response to the read request, that is, the entity address of the entity that initiated the read request; <response/> is a child element of <object/>, indicating that the object is to perform a response operation and the response to the read request is successful; <attribute/> is a child element of <response/>, which must contain a "var" attribute to indicate the object attribute being responded to, which may contain the attribute value being read, such as the attribute value here is the attribute value being read.

针对读响应错误,本发明设计其格式如下:In view of the read response error, the present invention designs the format as follows:

Figure BDA0000404384230000102
Figure BDA0000404384230000102

在读响应错误的格式中,type=’error’表示此<iq/>节为响应结果,且在响应过程中发生了错误;<error/>为<object/>的子元素,表示对象要进行响应操作,且响应错误,它必须包含一个type属性,以表示错误类型,如type=’error-type’,其中error-type的值可取cancel(不重试)、continue(继续进行)、modify(改变数据之后重试)、auth(提供证书之后重试)或wait(等待之后重试)。此外,<error/>元素还必须包含一个子元素,即此处的defined-condition,且这个子元素必须符合‘urn:ietf:params:xml:ns:xmpp-stanzas’名字空间,其取值参见IETF中的RFC6120的8.3.3节的Defined Conditions。其中,读响应格式中与读请求格式中相同的部分,在此不再赘述,参见读请求格式的描述即可。两个实体之间实现读服务的通信流程如图2所示。In the format of the read response error, type='error' indicates that this <iq/> section is the response result, and an error occurred during the response process; <error/> is a child element of <object/>, indicating that the object is to perform a response operation and the response is an error. It must contain a type attribute to indicate the error type, such as type='error-type', where the value of error-type can be cancel (no retry), continue (continue), modify (retry after changing data), auth (retry after providing a certificate) or wait (retry after waiting). In addition, the <error/> element must also contain a child element, namely defined-condition here, and this child element must conform to the 'urn:ietf:params:xml:ns:xmpp-stanzas' namespace. For its value, refer to Defined Conditions in Section 8.3.3 of RFC6120 in IETF. Among them, the parts of the read response format that are the same as those in the read request format are not repeated here, and refer to the description of the read request format. The communication process for implementing the read service between the two entities is shown in Figure 2.

(2)写服务实现方法设计(2) Write a service implementation method design

写服务包含写请求服务和写响应服务,其实现方式与读服务类似,也是利用扩展<iq/>节的方式来实现的。本发明设计其具体实现格式如下。The write service includes a write request service and a write response service, and its implementation is similar to that of the read service, and is also implemented by extending the <iq/> section. The present invention designs its specific implementation format as follows.

a)写请求格式a) Write request format

Figure BDA0000404384230000111
Figure BDA0000404384230000111

在写请求格式中,type=’set’表示此<iq/>节想要设置或修改某项属性值;from=’source address’表示发送写请求的实体源地址;to=’destination address’表示接收写请求的实体目的地址;以上这些均是<iq/>节的属性。<object/>为<iq/>节的一级子元素,为本文所扩展的,表示<iq/>节的子元素为一个对象;<request/>为<object/>的子元素,表示源对象要执行请求操作,它必须包含一个“var”属性,以表示要执行的公有方法,如此处的var=’write’表示源对象要进行写操作;<attribute/>为<request/>的子元素,它必须包含一个“var”属性,如var=’objectattribute’,以表示要对对象的哪个属性进行写操作,其下应包含所写入的属性值,如此处的attribute value。In the write request format, type=’set’ indicates that this <iq/> section wants to set or modify a certain attribute value; from=’source address’ indicates the source address of the entity sending the write request; to=’destination address’ indicates the destination address of the entity receiving the write request; all of the above are attributes of the <iq/> section. <object/> is the first-level child element of the <iq/> section, which is extended by this article, indicating that the child element of the <iq/> section is an object; <request/> is a child element of <object/>, indicating that the source object wants to perform the requested operation, and it must contain a "var" attribute to indicate the public method to be executed, such as var=’write’ here, indicating that the source object wants to perform a write operation; <attribute/> is a child element of <request/>, and it must contain a "var" attribute, such as var=’objectattribute’, to indicate which attribute of the object is to be written, and it should contain the attribute value to be written, such as attribute value here.

b)写响应格式b) Write response format

与读响应类似,写响应也分为写响应成功与写响应错误两种情况。对于写响应成功,本发明设计其格式如下:Similar to the read response, the write response is also divided into two cases: write response success and write response error. For a write response success, the present invention designs its format as follows:

Figure BDA0000404384230000121
Figure BDA0000404384230000121

在写响应成功的格式中,type=’result’表示此<iq/>节为响应结果,且响应成功;from=’source address’表示发送写响应的实体源地址;to=’destination address’表示接收写响应的实体目的地址;<response/>为<object/>的子元素,表示对象要进行响应操作,且响应写入操作成功,此处,由于没有需要返回的内容,所以<response/>为空。In the format of a successful write response, type=’result’ indicates that this <iq/> section is a response result and the response is successful; from=’source address’ indicates the source address of the entity sending the write response; to=’destination address’ indicates the destination address of the entity receiving the write response; <response/> is a child element of <object/>, indicating that the object is to perform a response operation and the response write operation is successful. Here, since there is no content to be returned, <response/> is empty.

针对写响应错误的情况,本发明设计其格式如下:In view of the write response error, the present invention designs the format as follows:

Figure BDA0000404384230000122
Figure BDA0000404384230000122

在写响应错误的格式中,type=’error’表示此<iq/>节为响应结果,且在响应过程中发生了错误;<error/>为<object/>的子元素,表示对象要进行响应操作,且响应出错,它必须包含一个type属性,如type=’error-type’,其中error-type的描述可参见读响应错误中error-type的描述。两个实体之间实现写服务的通信流程如图3所示。In the format of the write response error, type='error' indicates that this <iq/> section is a response result and an error occurred during the response process; <error/> is a child element of <object/>, indicating that the object is to perform a response operation and the response is an error. It must contain a type attribute, such as type='error-type', where the description of error-type can refer to the description of error-type in the read response error. The communication process for implementing the write service between the two entities is shown in Figure 3.

(3)执行服务实现方法设计(3) Design of execution service implementation method

由于执行服务与读服务和写服务一样,属于被动接受指令服务,都是需要先请求再响应。因此,本发明通过扩展具有请求-响应机制的<iq/>节来对其进行实现。执行服务的具体实现格式如下。Since the execution service, like the read service and the write service, is a passive instruction receiving service, it needs to be requested before responding. Therefore, the present invention implements it by extending the <iq/> section with a request-response mechanism. The specific implementation format of the execution service is as follows.

a)执行请求格式a) Execution request format

Figure BDA0000404384230000131
Figure BDA0000404384230000131

在执行请求格式中,id=’execute-id’表示一种交互行为;type=’X’表示执行的方法,X可取set或get;from=’source address’表示发起执行操作的实体源地址;to=’destination address’表示接受执行操作的实体目的地址;<request/>为<object/>的子元素,表示源对象要进行请求操作,它必须包含一个“var”属性,以表示要执行的公有方法,如此处的var=’execute’表示源对象要进行执行操作;<method/>为<request/>的子元素,它必须包含一个“var”属性,以表示要执行的私有方法,此私有方法为将来需要时再增加,本文暂未定义;<inargument/>为<method/>的子元素,它必须包含一个“var”属性,如var=’argument_name’,以表示要对哪个参数进行执行操作,根据需要,其下可包含执行的具体内容,如此处的inargument value,也可不包含相应的内容。In the execution request format, id=’execute-id’ indicates an interactive behavior; type=’X’ indicates the execution method, where X can be set or get; from=’source address’ indicates the source address of the entity that initiates the execution operation; to=’destination address’ indicates the destination address of the entity that receives the execution operation; <request/> is a child element of <object/>, indicating that the source object is to perform a request operation. It must contain a “var” attribute to indicate the public method to be executed, such as var=’execute’ here, indicating that the source object is to perform an execution operation; <method/> is a child element of <request/>, and it must contain a “var” attribute to indicate the private method to be executed. This private method will be added when needed in the future and is not defined in this article; <inargument/> is a child element of <method/>, and it must contain a “var” attribute, such as var=’argument_name’, to indicate which parameter is to be executed. It may contain specific content to be executed as needed, such as inargument value here, or it may not contain corresponding content.

b)执行响应格式b) Execution response format

当发起执行操作的源对象对目的对象的属性执行某项操作时,源对象需知道执行这项操作的结果,以便后续的操作(如执行某项操作成功,则不需继续发送执行命令;若执行某项操作失败,则需重新发起执行命令)。执行响应可分为执行响应成功和错误两种情况。本发明设计的执行响应成功的格式如下:When the source object that initiates the execution operation performs an operation on the attribute of the destination object, the source object needs to know the result of the execution of this operation for subsequent operations (for example, if the execution of an operation is successful, there is no need to continue to send the execution command; if the execution of an operation fails, the execution command needs to be re-initiated). The execution response can be divided into two situations: successful execution response and error. The format of the successful execution response designed by the present invention is as follows:

Figure BDA0000404384230000141
Figure BDA0000404384230000141

针对执行响应发生了错误的情况,其格式设计如下:In case of an error in the execution response, the format is designed as follows:

Figure BDA0000404384230000142
Figure BDA0000404384230000142

两个实体之间实现执行服务的通信流程如图4所示。The communication process between the two entities to implement the execution service is shown in Figure 4.

(4)发布服务实现方法设计(4) Design of publishing service implementation method

针对本发明所定义的发布服务是基于发布-订阅机制的,因此,本发明通过扩展具有发布-订阅机制的<presence/>节来实现。而其它两种节,如<message/>:推机制和<iq/>:请求-回应机制,均不适合于发布服务的实现。根据XMPP相关定义,本发明设计的发布格式如下:The publishing service defined in the present invention is based on the publish-subscribe mechanism. Therefore, the present invention is implemented by extending the <presence/> section with the publish-subscribe mechanism. The other two sections, such as <message/>: push mechanism and <iq/>: request-response mechanism, are not suitable for the implementation of the publishing service. According to the relevant definition of XMPP, the publishing format designed by the present invention is as follows:

Figure BDA0000404384230000143
Figure BDA0000404384230000143

在发布-订阅格式中,presence表示此条消息为<presence/>节类型消息;from=’source address’表示发布实体地址,to=’destinationaddress’表示接收发布信息的实体地址,当发布的信息采用的是广播方式时,则<presence/>节中应无to属性;from=’source object’表示发布消息的源对象,to=’target object’表示接收所发布消息的目的对象;<command/>为<object/>的子元素,必须包含一个“var”属性,如var=’publish’,表示源对象要进行发布操作;<attribute/>为<command/>的子元素,必须包含一个“var”属性,如var=’object attribute’,表示要对对象的哪个属性进行发布;其下需包含具体的发布消息内容,如此处的publish information即为发布的具体内容。两个实体之间实现发布-订阅服务的通信流程如图5所示。In the publish-subscribe format, presence indicates that this message is a <presence/> section type message; from=’source address’ indicates the address of the publishing entity, to=’destinationaddress’ indicates the address of the entity receiving the published information. When the published information is broadcast, there should be no to attribute in the <presence/> section; from=’source object’ indicates the source object of the published message, and to=’target object’ indicates the destination object receiving the published message; <command/> is a child element of <object/> and must contain a “var” attribute, such as var=’publish’, indicating that the source object is to be published; <attribute/> is a child element of <command/> and must contain a “var” attribute, such as var=’object attribute’, indicating which attribute of the object is to be published; it must contain the specific content of the published message, such as the publish information here is the specific content of the publication. The communication process between two entities to implement the publish-subscribe service is shown in Figure 5.

(5)报告服务实现方法设计(5) Design of reporting service implementation method

本发明所定义的报告服务是基于“推”机制的,可使用扩展具有“推”机制的<message/>来实现,而其它两种节,如<presence/>:发布-订阅机制和<iq/>:请求-回应机制均不适合于报告服务的实现。The report service defined in the present invention is based on a "push" mechanism and can be implemented by extending <message/> with a "push" mechanism, while the other two sections, such as <presence/>: publish-subscribe mechanism and <iq/>: request-response mechanism, are not suitable for the implementation of the report service.

本发明所设计的报告格式如下:The report format designed by the present invention is as follows:

Figure BDA0000404384230000151
Figure BDA0000404384230000151

在报告格式中,message表示此条消息为<message/>节类型消息;from=’source address’表示发起报告的实体地址;to=’destinationaddress’表示接收报告信息的目的实体地址;type=’X’表示通信双方所处的环境类型,“X”可取chat、groupchat、error或normal;<command/>为<object/>的子元素,表示源对象要执行的操作,它必须包含一个“var”属性,以表示要执行的公有方法,如此处的var=’report’表示源对象要进行报告操作;<attribute/>为<command/>的子元素,它必须包含一个“var”属性,以表示要报告的对象属性;value为报告的具体信息。两个实体之间实现报告服务的通信流程如图6所示。In the report format, message indicates that this message is a <message/> section type message; from=’source address’ indicates the address of the entity that initiates the report; to=’destinationaddress’ indicates the address of the destination entity that receives the report information; type=’X’ indicates the type of environment in which the two communicating parties are located, and “X” can be chat, groupchat, error, or normal; <command/> is a child element of <object/>, indicating the operation to be performed by the source object, and it must contain a “var” attribute to indicate the public method to be executed, such as var=’report’ here, indicating that the source object is to perform a report operation; <attribute/> is a child element of <command/>, and it must contain a “var” attribute to indicate the object attribute to be reported; value is the specific information of the report. The communication process between the two entities to implement the report service is shown in Figure 6.

这样本发明的数据交互方法能够在满足WSN应用需求的基础上,统一无WSN各应用领域的数据交互格式,以解决WSN各应用协议的兼容性和互通性,有助于WSN的大规模部署与发展。In this way, the data interaction method of the present invention can unify the data interaction formats of various WSN application fields on the basis of meeting the application requirements of WSN, so as to solve the compatibility and interoperability of various WSN application protocols, and contribute to the large-scale deployment and development of WSN.

以上这些实施例应理解为仅用于说明本发明而不用于限制本发明的保护范围。在阅读了本发明的记载的内容之后,技术人员可以对本发明作各种改动或修改,这些等效变化和修饰同样落入本发明基于无线传感器网络的XMPP数据交互方法权利要求所限定的范围。The above embodiments should be understood as being only used to illustrate the present invention and not to limit the protection scope of the present invention. After reading the contents of the present invention, technicians can make various changes or modifications to the present invention, and these equivalent changes and modifications also fall within the scope defined by the claims of the XMPP data interaction method based on wireless sensor networks of the present invention.

Claims (2)

1.一种基于XMPP协议的无线传感器网络的数据交互方法,其特征在于包括以下步骤:1. A data interaction method for a wireless sensor network based on the XMPP protocol, characterized in that it comprises the following steps: 101、当无线传感器网络的源客户端收到对目标客户端进行操作的读请求指令或写请求指令或执行请求指令时,无线传感器网络的源客户端生成相应的读请求指令数据包或写请求指令数据包或执行请求指令数据包,并跳转至步骤102;101. When the source client of the wireless sensor network receives a read request instruction or a write request instruction or an execution request instruction for operating the target client, the source client of the wireless sensor network generates a corresponding read request instruction packet or write request Instruction data packet or execution request instruction data packet, and jump to step 102; 当无线传感器网络的源客户端收到对目标客户端进行操作的发布请求指令或报告请求指令时,无线传感器网络的源客户端生成相应的发布请求指令数据包及报告请求指令数据包;并跳转至步骤103;When the source client of the wireless sensor network receives a release request instruction or a report request instruction for operating the target client, the source client of the wireless sensor network generates a corresponding release request instruction packet and a report request instruction packet; and jumps to Go to step 103; 102、无线传感器网络的源客户端将步骤101中生成的读请求指令数据包或写请求指令数据包或执行请求指令数据包发送给目标客户端,并等待目标客户端的响应;目标客户端在收到来自无线传感器网络的源客户端发送的读请求指令数据包或写请求指令数据包或执行请求指令数据包时生成相应的响应数据包,并转发给该目标客户端的执行机构进行执行,完成读操作或写操作或执行操作;102. The source client of the wireless sensor network sends the read request instruction data packet or write request instruction data packet or execution request instruction data packet generated in step 101 to the target client, and waits for a response from the target client; When the source client from the wireless sensor network sends a read request command packet or a write request command packet or an execution request command packet, a corresponding response packet is generated and forwarded to the target client’s actuator for execution, completing the read operate or write or perform an operation; 103、无线传感器网络的源客户端将步骤101中生成的发布请求指令数据包或报告请求指令数据包发送给目标客户端,完成发布操作或报告操作。103. The source client of the wireless sensor network sends the release request instruction data packet or the report request instruction data packet generated in step 101 to the target client to complete the release operation or the report operation. 2.根据权利要求1所述的基于无线传感器网络的XMPP数据交互方法,其特征在于:所述XMPP协议包括<object/>、<request/>、<response/>、<error/>、<command/>、<method/>、<attribute/>、<inargument/>和<outargument/>元素。2. The XMPP data interaction method based on wireless sensor network according to claim 1, characterized in that: said XMPP protocol includes <object/>, <request/>, <response/>, <error/>, <command />, <method/>, <attribute/>, <inargument/>, and <outargument/> elements.
CN201310524776.9A 2013-10-29 2013-10-29 Wireless sensor network data interaction method based on XMPP Pending CN103561079A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310524776.9A CN103561079A (en) 2013-10-29 2013-10-29 Wireless sensor network data interaction method based on XMPP

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310524776.9A CN103561079A (en) 2013-10-29 2013-10-29 Wireless sensor network data interaction method based on XMPP

Publications (1)

Publication Number Publication Date
CN103561079A true CN103561079A (en) 2014-02-05

Family

ID=50015229

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310524776.9A Pending CN103561079A (en) 2013-10-29 2013-10-29 Wireless sensor network data interaction method based on XMPP

Country Status (1)

Country Link
CN (1) CN103561079A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468618A (en) * 2014-12-26 2015-03-25 重庆邮电大学 Sensor network based XMPP security access method
CN105959165A (en) * 2016-07-15 2016-09-21 重庆邮电大学 Extensible messaging and presence protocol (XMPP)-based service releasing and subscribing method in industrial measurement and control network
CN107835150A (en) * 2017-09-15 2018-03-23 广州唯品会研究院有限公司 A kind of full media customer service dispatching method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060271559A1 (en) * 2005-05-26 2006-11-30 Nicholas Stavrakos Method and system for delta compression
CN102289737A (en) * 2011-07-29 2011-12-21 武汉大学 Method for managing property of internet of things entity based on extensible messaging and presence protocol (XMPP)
CN102594845A (en) * 2012-03-29 2012-07-18 东南大学 Instant message transmission method based on XMPP
CN103347276A (en) * 2013-07-29 2013-10-09 重庆邮电大学 Design method for instant management system of wireless sensor network based on XMPP (Extensible Messaging and Presence Protocol)

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060271559A1 (en) * 2005-05-26 2006-11-30 Nicholas Stavrakos Method and system for delta compression
CN102289737A (en) * 2011-07-29 2011-12-21 武汉大学 Method for managing property of internet of things entity based on extensible messaging and presence protocol (XMPP)
CN102594845A (en) * 2012-03-29 2012-07-18 东南大学 Instant message transmission method based on XMPP
CN103347276A (en) * 2013-07-29 2013-10-09 重庆邮电大学 Design method for instant management system of wireless sensor network based on XMPP (Extensible Messaging and Presence Protocol)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
黄勇: "《基于XMPP标准的即时消息系统及其应用》", 《江西科学》, vol. 23, no. 6, 31 December 2005 (2005-12-31), pages 776 - 780 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104468618A (en) * 2014-12-26 2015-03-25 重庆邮电大学 Sensor network based XMPP security access method
CN104468618B (en) * 2014-12-26 2017-10-03 重庆邮电大学 XMPP safety access method based on sensor network
CN105959165A (en) * 2016-07-15 2016-09-21 重庆邮电大学 Extensible messaging and presence protocol (XMPP)-based service releasing and subscribing method in industrial measurement and control network
CN105959165B (en) * 2016-07-15 2019-02-15 重庆邮电大学 A publish/subscribe service method based on XMPP protocol in industrial measurement and control network
CN107835150A (en) * 2017-09-15 2018-03-23 广州唯品会研究院有限公司 A kind of full media customer service dispatching method and system
CN107835150B (en) * 2017-09-15 2021-06-04 唯品会(广州)软件有限公司 An all-media customer service scheduling method and system

Similar Documents

Publication Publication Date Title
CN108712332B (en) A communication method, system and device
CN103117983B (en) Data service request response method and design method of data service protocol stack
JP7634561B2 (en) MESSAGE PROCESSING METHOD AND APPARATUS, NOTIFICATION METHOD AND APPARATUS, NETWORK BRIDGE NODE, SOURCE DEVICE, STORAGE MEDIUM AND MESSAGE PROCESSING SYSTEM
CN105959165B (en) A publish/subscribe service method based on XMPP protocol in industrial measurement and control network
CN101461194B (en) Method and system for remotely accessing devices in a network
US20060153072A1 (en) Extending universal plug and play messaging beyond a local area network
CN110365758A (en) A Protocol Adaptive IoT Gateway System
CN103795689A (en) Resource subscription method and device
CN102148698A (en) Network configuration protocol-based network configuration management method, equipment and system
WO2015024524A1 (en) Issuing method for forwarding adjacency link
CN104580073B (en) A method and device for implementing message transmission between heterogeneous systems
CN101355492B (en) Routing method and system for access protocol of simple objects as well as relevant equipment
KR101890310B1 (en) Adapter for message queuing telemetry transport protocol interworking and data exchange system employing the same
CN103561079A (en) Wireless sensor network data interaction method based on XMPP
CN112134915A (en) A general network processing system with application layer protocol decoupling
CN109818883B (en) Distributed publishing and subscribing transmission method based on appointed source multicast
CN103699450B (en) Linux adaptive component communication method
CN101685460A (en) Database device, method and system for processing shared data
CN113079029B (en) Configuration information subscription method and device
CN101243660A (en) Group management method and system in interworking system of IMPS system and SIMPLE IM system
US9560145B2 (en) XMPP based UPNP device architecture for cloud computing in a network environment
EP4044545B1 (en) Method and apparatus for subscribing to event stream
CN107665148B (en) Named pipeline process communication method based on Chromium
US20110167152A1 (en) Methods, systems and computer readable media for providing session initiation protocol (sip) event watcher entity information in a communications network
CN102546201A (en) System and method for achieving management of serial server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140205

RJ01 Rejection of invention patent application after publication