CN103428627B - The transfer approach of data, Internet of things system and related device in Internet of things system - Google Patents
The transfer approach of data, Internet of things system and related device in Internet of things system Download PDFInfo
- Publication number
- CN103428627B CN103428627B CN201210160201.9A CN201210160201A CN103428627B CN 103428627 B CN103428627 B CN 103428627B CN 201210160201 A CN201210160201 A CN 201210160201A CN 103428627 B CN103428627 B CN 103428627B
- Authority
- CN
- China
- Prior art keywords
- data
- protocol
- internet
- gateway
- information
- 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.)
- Active
Links
- 238000012546 transfer Methods 0.000 title description 4
- 238000000034 method Methods 0.000 claims abstract description 33
- 238000012790 confirmation Methods 0.000 claims description 7
- 238000006243 chemical reaction Methods 0.000 claims description 6
- 238000012795 verification Methods 0.000 claims description 6
- 230000002159 abnormal effect Effects 0.000 claims description 4
- 238000011161 development Methods 0.000 abstract description 25
- 230000005540 biological transmission Effects 0.000 abstract description 13
- 238000004891 communication Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 9
- 230000006978 adaptation Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 230000009466 transformation Effects 0.000 description 3
- 125000004122 cyclic group Chemical group 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
本发明公开了物联网系统中数据的传送方法、物联网系统及相应装置,涉及物联网技术领域,解决了现有技术中由于行业传感设备私有协议不规范导致的网络侧开发工作量大的技术问题。本发明的系统包括:M2M网关,用于接收行业传感设备发送的数据,并根据数据中的行业传感设备的标识查找行业传感设备从属的协议配置信息,根据协议配置信息将数据的协议格式和解读意义转换成自身所识别的协议,并将发送到物联网平台;中间件平台,用于从物联网平台转发来的数据中解析出关键信息,并根据关键信息中的消息体类型确定关键信息的协议种类,对确定的协议种类添加对应的标识,根据标识和预设的状态机将关键信息转换成协议格式是企业应用端所识别的数据。
The invention discloses a data transmission method in an Internet of Things system, an Internet of Things system and corresponding devices, relates to the technical field of the Internet of Things, and solves the problem of a large network-side development workload caused by non-standard private protocols of industry sensing equipment in the prior art technical problem. The system of the present invention includes: an M2M gateway, used to receive the data sent by the industrial sensing device, and search for the protocol configuration information of the industrial sensing device according to the identification of the industrial sensing device in the data, and convert the protocol configuration information of the data according to the protocol configuration information The format and meaning of interpretation are converted into the protocol recognized by itself and sent to the IoT platform; the middleware platform is used to parse out the key information from the data forwarded by the IoT platform, and determine it according to the message body type in the key information The protocol type of the key information, adding the corresponding identification to the determined protocol type, converting the key information into the protocol format according to the identification and the preset state machine is the data recognized by the enterprise application side.
Description
技术领域 technical field
本发明涉及物联网技术领域,特别涉及一种物联网系统中数据的传送方法、物联网系统及相应装置。The invention relates to the technical field of the Internet of Things, in particular to a data transmission method in the Internet of Things system, the Internet of Things system and corresponding devices.
背景技术 Background technique
基于物联网服务平台的物联网应用体系需要一种远程传输设备(或通信模组)来实现近程通信网络与远程通信网络的互联互通,下面将面向物联网服务平台接入并支持远程传输的终端统称为M2M(machine-to-machine,机器对机器)网关。M2M网关是行业传感设备与物联网服务平台交互的桥梁,作用就是对两个网络段(近程通信网络和远程通信网络)中的使用不同传输协议的数据进行互相的翻译转换。M2M网关是承载信息上报、参数配置、行业传感设备状态检测等业务功能的上下行通道,目前很多行业传感设备都需要借助M2M网关实现物联网服务平台的远程接入。The Internet of Things application system based on the Internet of Things service platform needs a remote transmission device (or communication module) to realize the interconnection between the short-range communication network and the long-range communication network. The following will be oriented to the Internet of Things service platform and support remote transmission The terminals are collectively referred to as M2M (machine-to-machine, machine-to-machine) gateways. The M2M gateway is a bridge for the interaction between industrial sensing devices and the Internet of Things service platform. Its role is to translate and convert data using different transmission protocols in two network segments (short-range communication network and long-distance communication network). The M2M gateway is an uplink and downlink channel that carries business functions such as information reporting, parameter configuration, and industry sensor device status detection. At present, many industry sensor devices need to use the M2M gateway to realize remote access to the IoT service platform.
结合物联网服务平台的运作原理,目前物联网应用开发者接入物联网服务平台时需要在两个方面进行开发:一是在终端侧采用行业传感设备与支持M2M标准协议的M2M网关直接相连,这种方式实现的M2M终端立即可实现接入物联网服务平台,并利用物联网服务平台的优势(具有接入运营商BOSS系统的授权),扩展一些跟M2M终端通信状态、质量检测有关的相对成熟可靠的附加业务,从而实现对M2M终端(及其SIM卡)的全方位控制和管理;二是在应用侧解析M2M标准协议(M2M–A协议),还原为行业传感设备初始数据。Combined with the operating principle of the IoT service platform, currently IoT application developers need to develop in two aspects when accessing the IoT service platform: one is to use industrial sensing devices on the terminal side to directly connect with the M2M gateway that supports the M2M standard protocol , the M2M terminal implemented in this way can immediately realize the access to the Internet of Things service platform, and use the advantages of the Internet of Things service platform (with the authorization to access the operator's BOSS system) to expand some information related to the communication status and quality inspection of the M2M terminal. Relatively mature and reliable additional services, so as to realize all-round control and management of M2M terminals (and their SIM cards); the second is to analyze the M2M standard protocol (M2M-A protocol) on the application side and restore it to the initial data of industry sensor equipment.
但是,目前在终端侧,针对每种监控对象的行业传感设备的生产厂商非常多,因此通信协议、接口方式各不相同,具体项目中的监控功能要求也不一样。传统M2M终端完成的功能完全是针对每个具体项目的系统集成需求进行定制两种网络段协议之间的解析,这种基于定制研发的M2M终端,通用性差,移植工作量大,重复开发导致开发成本高。还有一种是在传感设备与远程传输设备之间采用定制适配器来支持行业传感设备的远程通信功能,但该适配器也仅能支持部分行业传感设备,通用性差,在应用推广会受到限制,并且增加了适配器的成本和开发时间。However, at present, on the terminal side, there are many manufacturers of industrial sensing equipment for each monitoring object, so the communication protocols and interface methods are different, and the monitoring function requirements in specific projects are also different. The function completed by the traditional M2M terminal is to customize the analysis between the two network segment protocols according to the system integration requirements of each specific project. This kind of M2M terminal based on customized research and development has poor versatility, heavy transplant workload, and repeated development. high cost. Another is to use a custom adapter between the sensing device and the remote transmission device to support the remote communication function of the industrial sensing device, but this adapter can only support some industrial sensing devices, which has poor versatility and will be limited in application promotion. , and increases adapter cost and development time.
在应用侧,由于M2M标准协议功能丰富、接口多、不易懂,因此对物联网应用开发者的要求很高,开发工作量。目前物联网应用开发者在基于物联网服务平台开发应用侧程序时,不仅需要其具备熟悉M2M标准协议的能力,而且需要自行开发搭建WSDL Web Services服务器,并利用M2M-A协议的JAVASDK搭建应用,另外还必须具备运营WSDL Web Services服务器的能力;各个物联网应用开发者开发搭建的WSDL Web Services服务器都供自己单独使用,并不能很好地提供给其他开发者使用,不仅造成WSDL Web Services服务器资源浪费,而且还需要重复投资建设,无法提高应用开发者接入物联网服务平台的开发效率。On the application side, because the M2M standard protocol has rich functions, many interfaces, and is difficult to understand, the requirements for IoT application developers are very high and the development workload is high. At present, when developing application-side programs based on the IoT service platform, IoT application developers not only need to be familiar with the M2M standard protocol, but also need to develop and build WSDL Web Services servers by themselves, and use the JAVASDK of the M2M-A protocol to build applications. In addition, it is necessary to have the ability to operate the WSDL Web Services server; the WSDL Web Services servers developed and built by each IoT application developer are for their own use alone, and cannot be well provided to other developers. It is wasteful and requires repeated investment in construction, which cannot improve the development efficiency of application developers accessing the IoT service platform.
发明内容 Contents of the invention
发明的实施例提供一种物联网系统中数据的传送方法、物联网系统及相应装置(包括中间件装置和M2M网关装置),可实现无需对行业传感设备进行任何改造,也不用重新定制通信适配器,便可提高行业传感设备接入物联网服务平台的效率;此外还可简化面向物联网服务平台进行应用开发的流程,降低了企业用户运营应用服务器的成本。Embodiments of the invention provide a method for transmitting data in an Internet of Things system, an Internet of Things system and corresponding devices (including middleware devices and M2M gateway devices), which can realize the need for no modification of industrial sensing equipment, and no need to re-customize communication Adapters can improve the efficiency of industrial sensing equipment accessing the IoT service platform; in addition, it can simplify the application development process for the IoT service platform and reduce the cost of operating application servers for enterprise users.
为达到上述目的,本发明的实施例采用如下技术方案:In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:
一种物联网系统,包括:M2M网关、物联网平台和中间件平台;其中,An Internet of Things system, comprising: an M2M gateway, an Internet of Things platform, and a middleware platform; wherein,
所述M2M网关,用于接收行业传感设备发送的数据,所述数据包括业务流数据和/或管理流数据,并根据所述数据中的行业传感设备的标识查找所述行业传感设备从属的协议配置信息,根据所述协议配置信息将所述数据的协议格式和解读意义转换成自身所识别的协议,并将所述转换后的数据发送到物联网平台;The M2M gateway is configured to receive data sent by industry sensing devices, the data includes business flow data and/or management flow data, and search for the industry sensing devices according to the identification of the industry sensing devices in the data The subordinate protocol configuration information converts the protocol format and interpretation meaning of the data into a protocol recognized by itself according to the protocol configuration information, and sends the converted data to the Internet of Things platform;
所述物联网平台,用于存储所述转换后的数据,并将所述数据发送到中间件平台;The Internet of Things platform is used to store the converted data and send the data to a middleware platform;
所述中间件平台,用于从所述数据中解析出关键信息,并根据关键信息中的消息体类型确定所述关键信息的协议种类,对确定的协议种类添加对应的标识,根据所述标识和预设的状态机将所述关键信息转换成协议格式是企业应用端所识别的数据,再将所述企业应用端所识别的数据发送到所述企业应用端。The middleware platform is configured to parse out key information from the data, and determine the protocol type of the key information according to the message body type in the key information, add a corresponding identification to the determined protocol type, and according to the identification and the preset state machine converts the key information into data in a protocol format recognized by the enterprise application end, and then sends the data identified by the enterprise application end to the enterprise application end.
本发明提供的系统中,M2M网关可以根据行业设备的标识查找到该行业传感设备从属的协议配置信息,进而可以根据该协议配置信息对该行业传感设备的数据转换,以使该行业传感设备的数据转换成M2M网关和物联网平台可识别的数据协议,因此克服了现有技术中由于行业传感设备使用的接入协议各异或定制的接入协议开发成本高的技术问题,取得了可以适应并识别使用各种接入协议的行业传感设备,无需对行业传感设备进行改造的技术效果;此外,本发明中的中间件平台可以将使用复杂协议,如WMMP-A(中国移动无线机器通信协议)的物联网平台的数据转换成企业应用端开发人员熟悉的如HTTP(超文本传送协议),解决了开发物联网平台对应的企业应用端的开发难度,实现了企业应用端开发者无需自己搭建web services服务器,只需要开发支持HTTP协议的M2M企业应用端即可,简化了面向物联网服务平台进行应用开发的流程,降低了企业用户运营应用服务器的成本,同时提高开发者开发M2M应用的效率,容易推出更多应用。In the system provided by the present invention, the M2M gateway can find out the protocol configuration information of the industrial sensing device according to the identification of the industrial device, and then can convert the data of the industrial sensing device according to the protocol configuration information, so that the industrial sensing device The data of the sensing device is converted into a data protocol recognizable by the M2M gateway and the Internet of Things platform, thus overcoming the technical problems in the prior art that the access protocols used by the industrial sensing devices are different or the development cost of the customized access protocol is high, Achieved the technical effect of being able to adapt to and identify industrial sensing devices using various access protocols without modifying the industrial sensing devices; in addition, the middleware platform in the present invention can use complex protocols, such as WMMP-A ( The data of the Internet of Things platform of China Mobile Wireless Machine Communication Protocol) is converted into HTTP (Hypertext Transfer Protocol) familiar to enterprise application developers, which solves the development difficulty of developing the enterprise application end corresponding to the Internet of Things platform and realizes the enterprise application end Developers do not need to build their own web services server, but only need to develop M2M enterprise application end that supports HTTP protocol, which simplifies the process of application development for the IoT service platform, reduces the cost of operating application servers for enterprise users, and improves developers The efficiency of developing M2M applications makes it easy to launch more applications.
一种M2M网关,包括:An M2M gateway, comprising:
接收模块,用于接收行业传感设备发送的数据,所述数据包括业务流数据和/或管理流数据;A receiving module, configured to receive data sent by industrial sensing devices, the data including business flow data and/or management flow data;
查找模块,用于根据所述数据中的行业传感设备的标识查找所述行业传感设备从属的协议配置信息;A search module, configured to search for the protocol configuration information subordinate to the industrial sensing device according to the identification of the industrial sensing device in the data;
适配模块,用于根据所述协议适配信息将所述数据的协议格式和解读意义转换成自身所识别的协议;An adaptation module, configured to convert the protocol format and interpretation meaning of the data into a protocol recognized by itself according to the protocol adaptation information;
发送模块,用于将所述转换后的数据发送到所述物联网平台。A sending module, configured to send the converted data to the Internet of Things platform.
本实施例提供的M2M网关可以根据行业设备的标识查找到该行业传感设备从属的协议配置信息,进而可以根据该协议配置信息对该行业传感设备的数据转换,以使该行业传感设备的数据转换成M2M网关和物联网平台可识别的数据协议,因此克服了现有技术中由于行业传感设备使用的接入协议各异或定制的接入协议开发成本高的技术问题,取得了可以适应并识别使用各种接入协议的行业传感设备,无需对行业传感设备进行改造的技术效果。The M2M gateway provided in this embodiment can find the protocol configuration information of the industrial sensing device according to the identification of the industrial device, and then can convert the data of the industrial sensing device according to the protocol configuration information, so that the industrial sensing device The data is converted into a data protocol recognizable by the M2M gateway and the Internet of Things platform, so it overcomes the technical problems in the prior art due to the different access protocols used by industry sensing devices or the high development cost of customized access protocols, and has achieved It can adapt to and identify industrial sensing equipment using various access protocols, without the technical effect of transforming industrial sensing equipment.
一种中间件平台,包括:A middleware platform comprising:
解析模块,用于接收来自物联网平台的数据,并从所述数据中解析出关键信息;An analysis module, configured to receive data from the Internet of Things platform, and analyze key information from the data;
确定模块,用于根据关键信息中的消息体类型确定所述关键信息的协议种类,并对确定的协议种类添加对应的标识;A determining module, configured to determine the protocol type of the key information according to the message body type in the key information, and add a corresponding identification to the determined protocol type;
转换模块,用于根据所述标识和预设的状态机将所述关键信息转换成协议格式是企业应用端所识别的数据;A conversion module, configured to convert the key information into data whose protocol format is recognized by the enterprise application end according to the identification and the preset state machine;
发送模块,用于将所述企业应用端所识别的数据发送到所述企业应用端。A sending module, configured to send the data identified by the enterprise application to the enterprise application.
本发明中的中间件平台可以将使用复杂协议,如WMMP-A(中国移动无线机器通信协议)的物联网平台的数据转换成企业应用端开发人员熟悉的如HTTP(超文本传送协议),解决了开发物联网平台对应的企业应用端的开发难度,实现了企业应用端开发者无需自己搭建web services服务器,只需要开发支持HTTP协议的M2M企业应用端即可,简化了面向物联网服务平台进行应用开发的流程,降低了企业用户运营应用服务器的成本,同时提高开发者开发M2M应用的效率,容易推出更多应用。The middleware platform in the present invention can convert the data of the Internet of Things platform using complex protocols such as WMMP-A (China Mobile Wireless Machine Communication Protocol) into HTTP (Hypertext Transfer Protocol) familiar to enterprise application developers, solving the problem of It reduces the development difficulty of developing the enterprise application end corresponding to the Internet of Things platform, and realizes that the enterprise application end developer does not need to build a web services server by itself, but only needs to develop the M2M enterprise application end supporting the HTTP protocol, which simplifies the application for the Internet of Things service platform The development process reduces the cost of operating application servers for enterprise users, and at the same time improves the efficiency of developers in developing M2M applications, making it easier to launch more applications.
一种物联网系统中数据的传送方法,包括:A method for transmitting data in an Internet of Things system, comprising:
M2M网关接收行业传感设备发送的数据,所述数据包括业务流数据和/或管理流数据,并根据所述数据中的行业传感设备的标识查找所述行业传感设备从属的协议配置信息,根据所述协议配置信息将所述数据的协议格式和解读意义转换成自身所识别的协议,并将所述转换后的数据发送到物联网平台;The M2M gateway receives the data sent by the industry sensor device, the data includes business flow data and/or management flow data, and searches for the protocol configuration information subordinate to the industry sensor device according to the identification of the industry sensor device in the data , converting the protocol format and interpretation meaning of the data into a protocol recognized by itself according to the protocol configuration information, and sending the converted data to the Internet of Things platform;
所述物联网平台存储所述转换后的数据,并将所述数据发送到中间件平台;The Internet of Things platform stores the converted data, and sends the data to a middleware platform;
所述中间件平台从所述数据中解析出关键信息,并根据关键信息中的消息体类型确定所述关键信息的协议种类,对确定的协议种类添加对应的标识,根据所述标识和预设的状态机将所述关键信息转换成协议格式是企业应用端所识别的数据,再将所述企业应用端所识别的数据发送到所述企业应用端。The middleware platform parses the key information from the data, and determines the protocol type of the key information according to the message body type in the key information, adds a corresponding identification to the determined protocol type, and according to the identification and preset The state machine converts the key information into data whose protocol format is recognized by the enterprise application end, and then sends the data identified by the enterprise application end to the enterprise application end.
本发明提供的方法中,M2M网关可以根据行业设备的标识查找到该行业传感设备从属的协议配置信息,进而可以根据该协议配置信息对该行业传感设备的数据转换,以使该行业传感设备的数据转换成M2M网关和物联网平台可识别的数据协议,因此克服了现有技术中由于行业传感设备使用的接入协议各异或定制的接入协议开发成本高的技术问题,取得了可以适应并识别使用各种接入协议的行业传感设备,无需对行业传感设备进行改造的技术效果;此外,本发明中的中间件平台可以将使用复杂协议,如WMMP-A(中国移动无线机器通信协议)的物联网平台的数据转换成企业应用端开发人员熟悉的如HTTP(超文本传送协议),解决了开发物联网平台对应的企业应用端的开发难度,实现了企业应用端开发者无需自己搭建web services服务器,只需要开发支持HTTP协议的M2M企业应用端即可,简化了面向物联网服务平台进行应用开发的流程,降低了企业用户运营应用服务器的成本,同时提高开发者开发M2M应用的效率,容易推出更多应用。In the method provided by the present invention, the M2M gateway can find out the protocol configuration information of the industrial sensing device according to the identification of the industrial device, and then can convert the data of the industrial sensing device according to the protocol configuration information, so that the industrial sensing device The data of the sensing device is converted into a data protocol recognizable by the M2M gateway and the Internet of Things platform, thus overcoming the technical problems in the prior art that the access protocols used by the industrial sensing devices are different or the development cost of the customized access protocol is high, Achieved the technical effect of being able to adapt to and identify industrial sensing devices using various access protocols without modifying the industrial sensing devices; in addition, the middleware platform in the present invention can use complex protocols, such as WMMP-A ( The data of the Internet of Things platform of China Mobile Wireless Machine Communication Protocol) is converted into HTTP (Hypertext Transfer Protocol) familiar to enterprise application developers, which solves the development difficulty of developing the enterprise application end corresponding to the Internet of Things platform and realizes the enterprise application end Developers do not need to build their own web services server, but only need to develop M2M enterprise application end that supports HTTP protocol, which simplifies the process of application development for the IoT service platform, reduces the cost of operating application servers for enterprise users, and improves developers The efficiency of developing M2M applications makes it easy to launch more applications.
附图说明 Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1是本发明实施例1中的物联网系统中数据的传送方法的场景示意图;FIG. 1 is a schematic diagram of a scene of a data transmission method in an Internet of Things system in Embodiment 1 of the present invention;
图2是本发明实施例1中的物联网系统中数据的传送方法的一部分流程图;FIG. 2 is a flow chart of a part of the data transmission method in the Internet of Things system in Embodiment 1 of the present invention;
图3是本发明实施例1中的物联网系统中数据的传送方法的另一部分流程图;3 is another part of the flow chart of the data transmission method in the Internet of Things system in Embodiment 1 of the present invention;
图4是本发明实施例2中的M2M网关的结构示意图;FIG. 4 is a schematic structural diagram of an M2M gateway in Embodiment 2 of the present invention;
图5是本发明实施例3中的M2MAH服务器中间件平台的结构示意图;5 is a schematic structural diagram of the M2MAH server middleware platform in Embodiment 3 of the present invention;
图6是本发明实施例4中物联网系统的结构示意图。Fig. 6 is a schematic structural diagram of the Internet of Things system in Embodiment 4 of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。并且,以下各实施例均为本发明的可选方案,实施例的排列顺序及实施例的编号与其优选执行顺序无关。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention. In addition, each of the following embodiments is an optional solution of the present invention, and the arrangement sequence and number of the embodiments have nothing to do with their preferred execution order.
实施例1Example 1
本实施例提供一种物联网系统中数据的传送方法,在实施该方法前,考虑到很多的行业传感设备往往都采用其私有协议,因此各自的协议格式不同,并且对于同样一个测量数值的解读也不同,因此所以需要用户向M2M网关用户输入的行业传感设备的基本信息(如该行业传感设备的标识)和该行业传感设备使用的私有协议的协议配置信息。This embodiment provides a data transmission method in the Internet of Things system. Before implementing this method, it is considered that many industrial sensing devices often use their proprietary protocols, so the respective protocol formats are different, and for the same measured value Interpretation is also different, so it is necessary for the user to input the basic information of the industrial sensing device (such as the identification of the industrial sensing device) and the protocol configuration information of the private protocol used by the industrial sensing device to the M2M gateway user.
其中,协议配置信息包括业务流数据的协议配置信息和管理流数据的协议配置信息;针对业务流数据的协议配置信息包括:数据帧头及其对应业务包长、有效数据的输出格式及其解读含义、报警阈值、数据帧尾及其对应业务包长;针对管理流数据的协议配置信息包括:数据帧头及其对应管理包长、有效数据的输出格式及其解读含义、报警阈值、数据帧尾及其对应管理包长。Among them, the protocol configuration information includes the protocol configuration information of the business flow data and the protocol configuration information of the management flow data; the protocol configuration information for the business flow data includes: the data frame header and its corresponding business packet length, the output format of valid data and its interpretation Meaning, alarm threshold, data frame tail and its corresponding service packet length; protocol configuration information for management flow data includes: data frame header and its corresponding management packet length, valid data output format and its interpretation meaning, alarm threshold, data frame tail and its corresponding management packet length.
相应地,M2M网关在本实施例中对应上述需要用户输入的协议配置信息,相应具有一些配置的选项,可记录用户输入的行业传感设备的基本信息和协议配置信息,基本信息与对应的协议配置信息之间有对应关系,用于根据行业传感设备的标识对应到其从属的协议配置信息,即可对应到该行业传感设备所使用的私有协议其格式和具体数值的解读意义。Correspondingly, in this embodiment, the M2M gateway corresponds to the above-mentioned protocol configuration information that needs to be input by the user, and correspondingly has some configuration options, which can record the basic information and protocol configuration information of the industrial sensing device input by the user, and the basic information and the corresponding protocol There is a corresponding relationship between the configuration information, which is used to correspond to its subordinate protocol configuration information according to the identification of the industrial sensing device, which can correspond to the interpretation meaning of the format and specific value of the private protocol used by the industrial sensing device.
进一步地,在M2M记录完用户输入的行业传感设备的基本信息和协议配置信息后,本实施例的方法还包括:M2M网关将基本信息和协议配置信息同步到物联网平台和中间件平台(在本实施例中具体为M2MAH服务器中间件平台);优选方案中,物联网平台在接收M2M网关的信息后,发送确定消息到M2M网关,接收到的M2M网关的信息为:接收到M2M网关发送的基本信息和协议配置信息。M2MAH服务器中间件平台在接收到物联网平台转发的M2M网关的信息后,也可通过物联网平台发送确定消息到M2M网关。Further, after the M2M has finished recording the basic information and protocol configuration information of the industrial sensing device input by the user, the method of this embodiment further includes: the M2M gateway synchronizes the basic information and the protocol configuration information to the IoT platform and the middleware platform ( In this embodiment, it is specifically the M2MAH server middleware platform); in the preferred solution, after receiving the information of the M2M gateway, the Internet of Things platform sends a confirmation message to the M2M gateway, and the received information of the M2M gateway is: received from the M2M gateway Basic information and protocol configuration information. After the M2MAH server middleware platform receives the information of the M2M gateway forwarded by the Internet of Things platform, it can also send a confirmation message to the M2M gateway through the Internet of Things platform.
将基本信息和协议配置信息同步到物联网平台和中间件平台的目的是为了让行业传感设备注册到物联网平台和M2MAH服务器中间件平台,实现物联网平台、M2MAH服务器中间件平台与M2M网关数据上的同步。同步后物联网平台和M2MAH服务器中间件平台都会保存此行业传感设备的基本信息和协议配置信息,便于后继该行业传感设备传送数据过来时,物联网平台和M2MAH服务器中间件平台可以识别出该设备。The purpose of synchronizing basic information and protocol configuration information to the Internet of Things platform and middleware platform is to allow industrial sensing devices to register with the Internet of Things platform and M2MAH server middleware platform, and realize the Internet of Things platform, M2MAH server middleware platform and M2M gateway Synchronization on data. After synchronization, both the IoT platform and the M2MAH server middleware platform will save the basic information and protocol configuration information of the sensor equipment in this industry, so that when the subsequent sensor equipment in the industry transmits data, the IoT platform and the M2MAH server middleware platform can identify the device.
下面结合图1所示的场景,具体描述本实施例的方法。在图1中各设备之间存在四类协议接口:-S接口、-T接口、-A接口与HTTP接口。-S接口:行业传感设备与M2M网关之间的接口;-T接口:M2M网关与物联网服务平台之间的接口;-A接口(用于WMMP-A协议):物联网服务平台与M2MAH服务器中间件平台之间的接口;HTTP接口(用于HTTP协议):M2MAH服务器中间件平台与企业应用之间远程接口。如图2,该方法包括:The method in this embodiment will be specifically described below in conjunction with the scenario shown in FIG. 1 . There are four types of protocol interfaces among the devices in FIG. 1 : -S interface, -T interface, -A interface and HTTP interface. -S interface: the interface between the industrial sensor device and the M2M gateway; -T interface: the interface between the M2M gateway and the IoT service platform; -A interface (for WMMP-A protocol): the IoT service platform and M2MAH Interface between server middleware platforms; HTTP interface (for HTTP protocol): remote interface between M2MAH server middleware platform and enterprise applications. As shown in Figure 2, the method includes:
101,行业传感设备在M2M网关、物联网平台和M2MAH服务器中间件平台注册成功后,向M2M网关发送数据,数据包括业务流数据和/或管理流数据;101. After the industrial sensing device is successfully registered on the M2M gateway, the Internet of Things platform, and the M2MAH server middleware platform, it sends data to the M2M gateway, and the data includes business flow data and/or management flow data;
102,M2M网关接收行业传感设备发送的数据,并根据数据中的行业传感设备的标识查找行业传感设备从属的协议配置信息,再根据协议配置信息将数据的协议格式和解读意义转换成M2M网关所识别的协议;102. The M2M gateway receives the data sent by the industry sensor device, and searches for the protocol configuration information subordinate to the industry sensor device according to the identification of the industry sensor device in the data, and then converts the protocol format and interpretation meaning of the data into The protocol recognized by the M2M gateway;
行业传感设备发出的是私有协议格式的数据,由于M2M网关记录了此行业传感设备其私有协议的专属协议识别方法,因此该行业传感设备的数据传递至M2M网关时,M2M网关可根据此数据私有协议格式数据包调用专属的协议配置信息,并根据此协议配置信息完成此私有协议格式数据的标准化转化。The data sent by the industry sensor device is in the format of the private protocol. Since the M2M gateway records the proprietary protocol identification method of the private protocol of the industry sensor device, when the data of the industry sensor device is transmitted to the M2M gateway, the M2M gateway can according to the The data packet in the private protocol format calls the exclusive protocol configuration information, and completes the standardized conversion of the private protocol format data according to the protocol configuration information.
例如:M2M网关会有一个配置工具界面,此配置界面包括了数据帧头、包长、帧标识、数据实体、报警阈值、数据帧尾等输入栏,用户只需要将行业传感设备的私有协议格式的解读意义根据上述配置界面分别填入,如果对于数据实体、以及报警阈值的解析可通过配置界面进行具体设置(如加、减、乘、除等经典数据转换方式),这样用户确认配置界面后,此行业传感设备发送的该私有协议格式的数据包将由M2M网关封装成标准化格式。For example: the M2M gateway will have a configuration tool interface. This configuration interface includes input fields such as data frame header, packet length, frame identifier, data entity, alarm threshold, and data frame tail. The interpretation meaning of the format is filled in separately according to the above configuration interface. If the analysis of data entities and alarm thresholds can be set through the configuration interface (such as classic data conversion methods such as addition, subtraction, multiplication, and division), the user can confirm the configuration interface. Afterwards, the data packet in the private protocol format sent by the industrial sensing device will be encapsulated into a standardized format by the M2M gateway.
103,M2M网关将转换后的数据封装成物联网平台适用协议,如-T接口适用协议的标准化格式,并将封装后的数据(管理流数据和/或业务流数据)发送到物联网平台;103. The M2M gateway encapsulates the converted data into an applicable protocol of the IoT platform, such as the standardized format of the applicable protocol of the -T interface, and sends the encapsulated data (management flow data and/or business flow data) to the IoT platform;
由于该转换后的数据的解读意义和协议格式是M2M网关所识别的,因此可对该转换后的数据按照物联网平台可识别的格式进行标准化封装,故而可取得可实现无需对行业传感设备进行任何改造,也不用重新定制通信适配器,便可提高行业传感设备接入物联网服务平台的效率的技术效果。Since the interpretation meaning and protocol format of the converted data are recognized by the M2M gateway, the converted data can be standardized and packaged in a format recognizable by the Internet of Things platform, so it can be achieved without the need for industry sensor equipment Any transformation, without re-customizing the communication adapter, can improve the technical effect of the efficiency of industrial sensor equipment access to the Internet of Things service platform.
104,物联网平台在接收到M2M网关发送的数据后,发送确定消息到M2M网关。104. After receiving the data sent by the M2M gateway, the IoT platform sends a confirmation message to the M2M gateway.
优选方案中,为了保证M2M网关与行业传感设备之间数据传送的可靠性,本实施例的方法还可包括:In the preferred solution, in order to ensure the reliability of data transmission between the M2M gateway and the industry sensor device, the method of this embodiment may further include:
M2M网关实时检测与行业传感设备的连接是否正常,若检测到连接不正常,则建立与所属行业传感设备的连接。The M2M gateway detects in real time whether the connection with the industry sensor equipment is normal, and if it detects that the connection is abnormal, it establishes a connection with the industry sensor equipment it belongs to.
105,M2M网关接收到物联网平台反馈的确认消息后,发送确认消息到终端。105. After receiving the confirmation message fed back by the Internet of Things platform, the M2M gateway sends the confirmation message to the terminal.
106,如图3所示,物联网平台存储转换后的数据,并将数据发送到M2MAH服务器中间件平台;106. As shown in FIG. 3, the IoT platform stores the converted data and sends the data to the M2MAH server middleware platform;
107,M2MAH服务器中间件平台从数据中解析出关键信息,并根据该关键信息中的小消息体类型确定关键信息的协议种类,对确定的协议种类添加对应的标识,根据标识和预设的状态机将关键信息转换成协议格式是企业应用端所识别的数据;107. The M2MAH server middleware platform parses the key information from the data, and determines the protocol type of the key information according to the type of the small message body in the key information, adds a corresponding identification to the determined protocol type, and according to the identification and the preset state The computer converts the key information into the protocol format, which is the data recognized by the enterprise application side;
其中,该关键信息包括:版本信息、消息头、消息体类型、消息长度、包序列号和消息体。Wherein, the key information includes: version information, message header, message body type, message length, packet serial number and message body.
具体而言,上述步骤107可通过如下方式实现:Specifically, the above step 107 can be realized in the following manner:
M2MAH服务器中间件平台对到达的WMMP-A协议格式的数据进行缓存,并根据企业应用需求确定是否需要存入DB数据库;M2MAH服务器中间件平台对WMMP-A协议格式的数据进行解析处理,按照WMMP-A协议格式的定义从中提取出xml版本信息、消息头、消息类型、消息长度、消息体、包序列号等关键信息;M2MAH服务器中间件平台根据消息体类型确定该数据的协议种类(该协议种类不同于步骤102或103中提到的传输协议的协议种类,而是在某一传输协议格式下,定义出数据专用于某一作用或功能的数据格式类型。例如该数据是业务流数据的数据格式类型还是管理流数据的数据格式类型?若消息体类型是管理流数据,还需要确定具体是控制指令还是注册指令等);M2MAH服务器中间件平台根据预先设立的状态机对确定消息体类型的数据中的各个部分,例如消息体、消息头等进行标识,并将标识出各个部分的消息体类型的数据按照HTTP格式转换成HTTP协议格式数据。The M2MAH server middleware platform caches the arriving data in the WMMP-A protocol format, and determines whether it needs to be stored in the DB database according to the application requirements of the enterprise; the M2MAH server middleware platform parses the data in the WMMP-A protocol format, according to the The definition of -A protocol format extracts key information such as xml version information, message header, message type, message length, message body, and packet serial number; the M2MAH server middleware platform determines the protocol type of the data according to the message body type (the protocol The type is different from the protocol type of the transmission protocol mentioned in step 102 or 103, but under a certain transmission protocol format, it defines the data format type that the data is dedicated to a certain role or function. For example, the data is of business flow data The data format type or the data format type of management flow data? If the message body type is management flow data, it is also necessary to determine whether it is a control instruction or a registration instruction, etc.); the M2MAH server middleware platform determines the message body type according to the pre-established state machine pair Identify each part of the data, such as message body, message header, etc., and convert the data identifying the message body type of each part into HTTP protocol format data according to the HTTP format.
108,M2MAH服务器中间件平台对转换成为HTTP协议的数据进行完整性校验,以确保转换结果的准确性。若通过校验,则只需步骤109;否则将重新等待接收来自物联网平台的数据,返回步骤107执行。108. The M2MAH server middleware platform checks the integrity of the data converted into the HTTP protocol to ensure the accuracy of the conversion result. If the verification is passed, only step 109 is needed; otherwise, it will wait for receiving data from the Internet of Things platform again, and return to step 107 for execution.
其中,完整性校验可以利用现有的奇偶校验、或者循环冗余校验码(Cyclic Redundancy Check,CRC)校验来实现。Wherein, the integrity check may be implemented by using an existing parity check or a cyclic redundancy check code (Cyclic Redundancy Check, CRC) check.
109,将经过转换及经过校验后的企业应用端所识别的数据,如HTTP格式的数据发送到企业应用端。109. Send the converted and verified data identified by the enterprise application end, such as data in HTTP format, to the enterprise application end.
本实施例提供的方法中,M2M网关可以记录用户自定义输入的协议配置信息和基本信息,可实现终端设备的登记、以及协议配置后适配接入物联网件平台的效果,进而可免去现有适配时必须要对终端设备进行改造,或者通过连接一个硬件适配器的方式来实现终端设备的物联网平台的远程接入;此外,本方法中的M2MA2H服务器中间件平台可将复杂的WMMP-A协议转化为简单的HTTP,故而企业应用开发人员无需自己搭建WSDL web services服务器,只需要开发支持HTTP协议的M2M应用即可,从而实现了全网设备灵活接入物联网服务平台的能力。因此本实施例提出的方法节省了M2M终端定制化改造开发的成本和时间,或接入硬件适配器的成本,提高了行业传感设备接入物联网服务平台的效率,并节约了开发成本;同时简化了M2M应用开发流程,降低了企业用户运营应用服务器的成本,同时提高企业开发M2M应用的效率。In the method provided by this embodiment, the M2M gateway can record the protocol configuration information and basic information input by the user, and can realize the registration of the terminal device and the effect of adapting to the Internet of Things platform after the protocol configuration, thereby eliminating the need to It is necessary to modify the terminal equipment during the existing adaptation, or realize the remote access of the IoT platform of the terminal equipment by connecting a hardware adapter; in addition, the M2MA2H server middleware platform in this method can integrate the complex WMMP The -A protocol is transformed into simple HTTP, so enterprise application developers do not need to build WSDL web services servers themselves, but only need to develop M2M applications that support the HTTP protocol, thus realizing the ability of all network devices to flexibly access the IoT service platform. Therefore, the method proposed in this embodiment saves the cost and time of M2M terminal customization transformation and development, or the cost of connecting hardware adapters, improves the efficiency of industrial sensor equipment accessing the Internet of Things service platform, and saves development costs; at the same time It simplifies the M2M application development process, reduces the cost of operating application servers for enterprise users, and improves the efficiency of enterprise development of M2M applications.
实施例2Example 2
本实施例提供一种M2M网关,如图4所示,包括:接收模块31,查找模块32,适配模块33。This embodiment provides an M2M gateway, as shown in FIG. 4 , including: a receiving module 31 , a search module 32 , and an adaptation module 33 .
接收模块31,用于接收行业传感设备发送的数据,数据包括业务流数据和/或管理流数据;查找模块32,用于根据数据中的行业传感设备的标识查找行业传感设备从属的协议配置信息;适配模块33,用于根据协议适配信息将数据的协议格式和解读意义转换成物联网平台所识别的协议;发送模块,用于将转换后的数据发送到物联网平台。The receiving module 31 is used to receive the data sent by the industry sensing device, and the data includes business flow data and/or management flow data; the search module 32 is used to search for the industrial sensor device subordinate according to the identification of the industry sensing device in the data. Protocol configuration information; the adaptation module 33 is used to convert the protocol format and interpretation meaning of the data into the protocol recognized by the IoT platform according to the protocol adaptation information; the sending module is used to send the converted data to the IoT platform.
优选地,该M2M网关还可包括:记录模块34,同步模块35,检测模块36。Preferably, the M2M gateway may further include: a recording module 34 , a synchronization module 35 and a detection module 36 .
记录模块34,用于记录用户输入的行业传感设备的基本信息和协议配置信息,其中,协议配置信息包括业务流数据的协议配置信息和管理流数据的协议配置信息;基本信息包括行业传感设备的标识;The recording module 34 is used to record the basic information and protocol configuration information of the industrial sensor equipment input by the user, wherein the protocol configuration information includes the protocol configuration information of the business flow data and the protocol configuration information of the management flow data; the basic information includes the industrial sensing device identification of the device;
同步模块35,用于将基本信息和协议配置信息同步到物联网平台和与物联网平台连接的中间件平台Synchronization module 35, for synchronizing basic information and protocol configuration information to the Internet of Things platform and the middleware platform connected with the Internet of Things platform
检测模块36,用于实时检测与行业传感设备的连接是否正常,若检测到连接不正常,则回滚内存中的状态,并建立与所属行业传感设备的连接。The detection module 36 is used to detect in real time whether the connection with the industrial sensing device is normal, and if it is detected that the connection is abnormal, roll back the state in the memory and establish a connection with the industrial sensing device.
本实施例提供M2M网关因为具有可以记录用户自定义输入的协议配置信息和基本信息的功能,所以可实现行业传感设备的登记、以及协议配置后适配接入物联网件平台的效果,进而可免去现有适配时必须要对终端设备进行改造,或者通过连接一个硬件适配器的方式来实现终端设备的物联网平台的远程接入的效果,同时,也节省了M2M终端定制化改造开发的成本和时间,或接入硬件适配器的成本,提高了行业传感设备接入物联网服务平台的效率。This embodiment provides that the M2M gateway can record the protocol configuration information and basic information input by the user, so it can realize the registration of industrial sensing devices and the effect of adapting to the Internet of Things software platform after protocol configuration, and then It can avoid the need to modify the terminal equipment during the existing adaptation, or realize the remote access effect of the IoT platform of the terminal equipment by connecting a hardware adapter. At the same time, it also saves the customized transformation and development of M2M terminals The cost and time of access, or the cost of accessing hardware adapters, improves the efficiency of industrial sensor devices accessing IoT service platforms.
实施例3Example 3
本实施例提供一种中间件平台,该平台可作为实施1中M2MAH服务器中间件平台使用,如图5所示,包括:解析模块41,确定模块42,转换模块43,发送模块44。This embodiment provides a middleware platform, which can be used as an M2MAH server middleware platform in Implementation 1, as shown in FIG.
解析模块41,用于接收来自物联网平台的数据,并从数据中解析出关键信息;确定模块42,用于根据关键信息中的消息体类型确定关键信息的协议种类,并对确定的协议种类添加对应的标识;转换模块43,用于根据标识和预设的状态机将关键信息转换成协议格式是企业应用端所识别的数据;发送模块44,用于将企业应用端所识别的数据发送到企业应用端。Parsing module 41, is used for receiving the data from Internet of things platform, and resolves key information from data; Determining module 42, is used for determining the protocol type of key information according to the message body type in the key information, and to the determined protocol type Add corresponding identification; Conversion module 43 is used to convert the key information into protocol format according to the identification and preset state machine is the data recognized by the enterprise application end; sending module 44 is used to send the data identified by the enterprise application end to enterprise applications.
此外,还可包括:校验模块45,用于对企业应用端所识别的数据进行完整性校验,若校验失败,则重新接收来自物联网平台的数据。In addition, it may further include: a verification module 45, configured to verify the integrity of the data identified by the enterprise application, and re-receive the data from the Internet of Things platform if the verification fails.
本实施例提供的中间件平台可将与物联网平台之间使用的复杂协议,如WMMP-A协议转化为简单的HTTP,故而企业应用开发人员无需自己搭建WSDLweb services服务器来解析中间件平台和物联网平台应用的协议格式,只需要开发支持HTTP协议的M2M应用即可,从而实现了全网设备灵活接入物联网服务平台的能力,同时简化了M2M应用开发流程,降低了企业用户运营应用服务器的成本,同时提高企业开发M2M应用的效率,容易推出更多应用,并便于利用物联网服务平台实现终端管理、故障监测等附加业务。The middleware platform provided by this embodiment can convert complex protocols used with the Internet of Things platform, such as the WMMP-A protocol, into simple HTTP, so enterprise application developers do not need to build their own WSDL web services server to analyze the middleware platform and the Internet of Things. The protocol format of the networking platform application only needs to develop an M2M application that supports the HTTP protocol, thereby realizing the ability of the entire network device to flexibly access the IoT service platform, simplifying the M2M application development process, and reducing the cost of operating the application server for enterprise users. At the same time, it improves the efficiency of enterprises to develop M2M applications, it is easy to launch more applications, and it is convenient to use the Internet of Things service platform to realize additional services such as terminal management and fault monitoring.
实施例4Example 4
本实施例提供一种物联网系统,如图6所示,包括:M2M网关21、物联网平台22和中间件平台23。This embodiment provides an Internet of Things system, as shown in FIG. 6 , including: an M2M gateway 21 , an Internet of Things platform 22 and a middleware platform 23 .
M2M网关21,用于接收行业传感设备发送的数据,数据包括业务流数据和/或管理流数据,并根据数据中的行业传感设备的标识查找行业传感设备从属的协议配置信息,根据协议配置信息将数据的协议格式和解读意义转换成物联网平台22所识别的协议,并将转换后的数据发送到物联网平台22;The M2M gateway 21 is used to receive the data sent by the industrial sensing device, the data includes business flow data and/or management flow data, and search for the protocol configuration information subordinate to the industrial sensing device according to the identification of the industrial sensing device in the data, according to The protocol configuration information converts the protocol format and interpretation meaning of the data into a protocol recognized by the IoT platform 22, and sends the converted data to the IoT platform 22;
物联网平台22,用于存储转换后的数据,并将数据发送到中间件平台23;The Internet of Things platform 22 is used to store the converted data and send the data to the middleware platform 23;
中间件平台23,用于从数据中解析出关键信息,并根据协议类型确定关键信息的协议种类,对确定的协议种类添加对应的标识,根据标识和预设的状态机将关键信息转换成协议格式是企业应用端所识别的数据,再将企业应用端所识别的数据发送到企业应用端。The middleware platform 23 is used to analyze the key information from the data, determine the protocol type of the key information according to the protocol type, add a corresponding identification to the determined protocol type, and convert the key information into a protocol according to the identification and the preset state machine The format is the data recognized by the enterprise application end, and then the data recognized by the enterprise application end is sent to the enterprise application end.
其中,协议配置信息包括业务流数据的协议配置信息和管理流数据的协议配置信息;Wherein, the protocol configuration information includes protocol configuration information of service flow data and protocol configuration information of management flow data;
基本信息包括行业传感设备的标识。Basic information includes identification of industrial sensing devices.
协议配置信息包括:业务流数据的数据帧头及其对应包长、业务流数据的有效数据的输出格式及其解读含义、报警阈值、业务流数据的数据帧尾及其对应包长;管理流数据的数据帧头及其对应包长、管理流数据的有效数据的输出格式及其解读含义、报警阈值、管理流数据的数据帧尾及其对应包长。Protocol configuration information includes: data frame header of business flow data and its corresponding packet length, output format of valid data of business flow data and its interpretation meaning, alarm threshold, data frame tail of business flow data and its corresponding packet length; The data frame header of the data and its corresponding packet length, the output format of the valid data of the management flow data and its interpretation meaning, the alarm threshold, the data frame tail of the management flow data and its corresponding packet length.
关键信息包括:版本信息、消息头、消息类型、消息长度和消息体。Key information includes: version information, message header, message type, message length, and message body.
进一步地,M2M网关21,还用于记录用户输入的行业传感设备的基本信息和协议配置信息,并将基本信息和协议配置信息同步到物联网平台22和中间件平台23;Further, the M2M gateway 21 is also used to record the basic information and protocol configuration information of the industrial sensor equipment input by the user, and synchronize the basic information and protocol configuration information to the IoT platform 22 and the middleware platform 23;
进一步地,物联网平台23,还用于在接收M2M网关21的信息后,发送确定消息到M2M网关21,接收到的M2M网关的信息包括:接收到M2M网关发送的基本信息和配置信息,和接收到M2M网关发送的转换后的数据;Further, the IoT platform 23 is also configured to send a confirmation message to the M2M gateway 21 after receiving the information of the M2M gateway 21, and the received information of the M2M gateway includes: receiving basic information and configuration information sent by the M2M gateway, and Receive the converted data sent by the M2M gateway;
M2M网关21,还用于实时检测与行业传感设备的连接是否正常,若检测到连接不正常,则回滚内存中的状态。The M2M gateway 21 is also used to detect in real time whether the connection with the industrial sensor device is normal, and if it detects that the connection is abnormal, the state in the memory is rolled back.
现有技术中,由于企业的各种应用系统的体系架构和实现技术不尽相同,因此企业也不可能将应用系统交由物联网服务平台的提供商进行修改以适应M2M接口的需要。但是,随着物联网平台业务的推进实施,各种基于物联网平台的新业务应用会不断增加,因此便出现了如何让企业尽量不修改或少修改企业的应用系统,让其更快地接入物联网平台的技术问题。因此,本实施例提供的系统中,从物联网平台的行业传感设备接入以及应用侧开发两方面结合考虑,M2M网关具有用于用户自定义行业传感设备协议和基本信息的功能,用户自身可以对不同行业传感设备的接入协议分别配置协议配置信息,并进行适配以实现其与物联网服务平台的接入通信,无需对行业传感设备进行任何改造,也不用重新定制通信适配器,提高了行业传感设备接入物联网服务平台的效率,并节约了开发成本;M2MAH服务器中间件平台可将复杂的M2M应用侧协议转化为用户熟悉的HTTP协议,物联网企业应用侧的开发者无需自己搭建WSDL web services服务器,只需要开发支持HTTP协议的M2M应用即可,简化了面向物联网平台进行应用开发的流程,降低了企业用户运营应用服务器的成本,同时提高开发者开发M2M应用的效率。In the prior art, since the architectures and implementation technologies of various application systems of enterprises are different, it is impossible for enterprises to hand over the application systems to the provider of the Internet of Things service platform for modification to meet the needs of the M2M interface. However, with the promotion and implementation of the IoT platform business, various new business applications based on the IoT platform will continue to increase. Therefore, how to make the enterprise's application system as little or as little as possible, so that it can be accessed more quickly Technical issues with IoT platforms. Therefore, in the system provided by this embodiment, the M2M gateway has the function of user-defined industry sensor device protocols and basic information from the aspects of the Internet of Things platform’s industrial sensor device access and application side development. It can configure protocol configuration information for the access protocols of sensing devices in different industries separately, and adapt them to realize the access communication with the IoT service platform, without any modification to the sensing devices of the industry, and no need to re-customize the communication The adapter improves the efficiency of industrial sensing devices connected to the IoT service platform and saves development costs; the M2MAH server middleware platform can convert the complex M2M application-side protocol into the HTTP protocol familiar to users, and the IoT enterprise application side Developers do not need to build WSDL web services servers themselves, but only need to develop M2M applications that support the HTTP protocol, which simplifies the application development process for the IoT platform, reduces the cost of operating application servers for enterprise users, and improves developers' development of M2M. application efficiency.
本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,也即是说:本发明的装置、设备或者组成系统的各个设备即便执行方法或实现功能的主体为硬件,但实现该本发明所述功能的部分也是计算机软件产品的模块或单元等。该计算机软件产品存储在可读取的存储介质中,如计算机的软盘,硬盘或光盘等,包括若干指令用以使得一台设备(可以是笔记本电脑等)执行本发明各个实施例所述的方法。The essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, that is to say: even if the device, device or each device composing the system of the present invention executes the method or realizes the function The main body is hardware, but the part that realizes the functions described in the present invention is also a module or unit of a computer software product. The computer software product is stored in a readable storage medium, such as a computer floppy disk, hard disk or optical disk, etc., and includes several instructions to make a device (which may be a notebook computer, etc.) execute the methods described in various embodiments of the present invention .
以上公开的仅为本发明的几个具体实施例,但是,本发明并非局限于此,任何本领域的技术人员能思之的变化都应落入本发明的保护范围。The above disclosures are only a few specific embodiments of the present invention, however, the present invention is not limited thereto, and any changes conceivable by those skilled in the art shall fall within the protection scope of the present invention.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210160201.9A CN103428627B (en) | 2012-05-22 | 2012-05-22 | The transfer approach of data, Internet of things system and related device in Internet of things system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210160201.9A CN103428627B (en) | 2012-05-22 | 2012-05-22 | The transfer approach of data, Internet of things system and related device in Internet of things system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103428627A CN103428627A (en) | 2013-12-04 |
| CN103428627B true CN103428627B (en) | 2016-12-14 |
Family
ID=49652664
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210160201.9A Active CN103428627B (en) | 2012-05-22 | 2012-05-22 | The transfer approach of data, Internet of things system and related device in Internet of things system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103428627B (en) |
Families Citing this family (44)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105635063B (en) * | 2014-10-31 | 2019-04-12 | 腾讯科技(上海)有限公司 | Internet of Things communication protocol configuration method and device |
| CN104539576B (en) * | 2014-11-19 | 2018-04-17 | 北京天地互连信息技术有限公司 | Communication means and system based on IPv6 networks |
| CN105827682A (en) * | 2015-01-09 | 2016-08-03 | 大唐电信科技股份有限公司 | Data uploading and downloading methods and devices thereof |
| CN105471982B (en) * | 2015-11-20 | 2019-02-12 | 中国石油天然气股份有限公司华北油田分公司 | The exchange method and system of things-internet gateway and cloud platform |
| CN105573300B (en) * | 2016-01-29 | 2018-01-16 | 广州能迪能源科技股份有限公司 | A kind of data acquisition dubbing system and its control method based on Internet of Things |
| CN105629790B (en) * | 2016-01-29 | 2019-02-05 | 广州能迪云服务科技有限公司 | A kind of data management platform and its data managing method based on industrial Internet of Things |
| CN107124436A (en) * | 2016-02-24 | 2017-09-01 | 中移物联网有限公司 | A kind of internet of things service hatching method and system |
| CN106230995A (en) * | 2016-09-30 | 2016-12-14 | 武汉火凤凰云计算服务股份有限公司 | A kind of M2M message communicating halfpace and communication means thereof |
| CN106781353A (en) * | 2016-11-23 | 2017-05-31 | 成都秦川科技发展有限公司 | Internet of Things propagated sensation module |
| CN106878381A (en) * | 2016-12-28 | 2017-06-20 | 珠海国芯云科技有限公司 | A communication device and method for the internet of things |
| CN107395604A (en) * | 2017-07-28 | 2017-11-24 | 深圳市盛路物联通讯技术有限公司 | A kind of Internet of Things information transferring method and device |
| CN107682318A (en) * | 2017-09-06 | 2018-02-09 | 金卡智能集团股份有限公司 | A kind of internet of things data transmission method based on NB IoT technologies |
| CN107666483A (en) * | 2017-09-19 | 2018-02-06 | 安徽三马信息科技有限公司 | A kind of conversion equipment for the multi-protocols for supporting multiple interfaces |
| CN108322485A (en) * | 2018-04-24 | 2018-07-24 | 四川精工伟达智能技术股份有限公司 | Free switching method and device based on NB-IoT networks |
| CN108833480A (en) * | 2018-05-17 | 2018-11-16 | 广州云湾信息技术有限公司 | Realize the method, apparatus and things-internet gateway that equipment is communicated with cloud |
| CN108809945A (en) * | 2018-05-17 | 2018-11-13 | 广州云湾信息技术有限公司 | Realize the method, apparatus and Internet of Things cloud platform that equipment room interconnects |
| CN108377207B (en) * | 2018-05-19 | 2021-01-12 | 浪潮集团有限公司 | Internet of things platform equipment access and configuration method |
| CN109639696A (en) * | 2018-12-23 | 2019-04-16 | 上海上实龙创智慧能源科技股份有限公司 | A kind of format conversion method applied to internet of things data communication |
| CN109889481B (en) * | 2018-12-26 | 2022-09-20 | 广州市中海达测绘仪器有限公司 | Data acquisition and fusion method and device based on multi-sensor equipment |
| CN110049056A (en) * | 2019-04-24 | 2019-07-23 | 广州铁科智控有限公司 | A kind of urban track traffic multi signal real-time processing method and system |
| CN110351270A (en) * | 2019-07-05 | 2019-10-18 | 深圳市浩科电子有限公司 | A kind of method and system improving concurrent data treatment effeciency |
| CN110519288A (en) * | 2019-09-02 | 2019-11-29 | 珠海格力电器股份有限公司 | Communication protocol configuration method, device and configuration system of data converter |
| CN110636136A (en) * | 2019-10-11 | 2019-12-31 | 山东有人信息技术有限公司 | Information interaction method for docking Internet of things cloud platform and middleware system |
| CN110855680B (en) * | 2019-11-18 | 2022-03-11 | 中国电子科技集团公司信息科学研究院 | Internet of things equipment docking method and device |
| CN110891057B (en) * | 2019-11-22 | 2021-12-28 | 北京启迪区块链科技发展有限公司 | Protocol conversion method, device, equipment and storage medium |
| CN113495915A (en) * | 2020-04-02 | 2021-10-12 | 中移物联网有限公司 | Information processing method and device of Internet of things equipment and cloud server |
| CN113595961A (en) * | 2020-04-30 | 2021-11-02 | 阿里巴巴集团控股有限公司 | Protocol conversion method and system, and gateway device |
| CN111897843B (en) * | 2020-06-19 | 2023-10-31 | 深圳奇迹智慧网络有限公司 | Configuration method and device of data flow strategy of Internet of things and computer equipment |
| CN112291296B (en) * | 2020-08-27 | 2022-08-19 | 浙江八度科技有限公司 | Internet of things equipment access system for urban fire-fighting remote monitoring system and method thereof |
| CN112422626A (en) * | 2020-10-15 | 2021-02-26 | 山东汇金海智慧农业研究院有限公司 | Device independence internet of things data acquisition, analysis and forwarding method based on coder and decoder |
| CN112737849B (en) * | 2020-12-29 | 2023-02-03 | 青岛海尔科技有限公司 | A device information processing method and device |
| CN112422588B (en) * | 2021-01-25 | 2021-06-01 | 北京工业大数据创新中心有限公司 | A method and system for processing information of Internet of Things equipment |
| CN114979191A (en) * | 2021-02-24 | 2022-08-30 | 华为技术有限公司 | Data communication processing method and device |
| CN113055378B (en) * | 2021-03-11 | 2022-07-05 | 武汉虹信科技发展有限责任公司 | Protocol conversion platform for industrial internet identification analysis and data docking method |
| CN113110081A (en) * | 2021-04-15 | 2021-07-13 | 泉州文学士信息科技有限公司 | Communication instruction transmission control device for various intelligent devices of building |
| CN113676555B (en) * | 2021-09-24 | 2024-08-06 | 迈迪信息技术有限公司 | Compatible platform and method for multi-level code pool |
| CN116112553A (en) * | 2021-11-11 | 2023-05-12 | 中国移动通信有限公司研究院 | Data format conversion method of Internet of things sensor, gateway and communication equipment |
| CN114285911A (en) * | 2021-12-30 | 2022-04-05 | 中国电信股份有限公司 | Data conversion method and device based on Internet of things, electronic equipment and readable medium |
| CN114567651B (en) * | 2021-12-31 | 2024-01-23 | 福建省公田软件股份有限公司 | Rapid visual access method for equipment and Internet of things platform |
| CN114257623B (en) * | 2022-03-02 | 2024-06-04 | 中节能晶和科技有限公司 | Internet of things equipment communication method based on stream processing |
| CN114745284A (en) * | 2022-03-07 | 2022-07-12 | 深圳渊联技术有限公司 | A configuration method, device and computer-readable storage medium for industrial Internet of Things |
| CN115118794A (en) * | 2022-06-17 | 2022-09-27 | 北京亚华物联科技发展有限公司 | Data standardization processing method, device and electronic equipment |
| CN115714700A (en) * | 2022-11-02 | 2023-02-24 | 杭州涂鸦信息技术有限公司 | Communication method of internet of things gateway and cloud, gateway and storage medium |
| CN116095187B (en) * | 2022-11-28 | 2025-01-14 | 厦门印天电子科技有限公司 | Data interaction method, device and storage medium |
Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101808025A (en) * | 2010-04-13 | 2010-08-18 | 中兴通讯股份有限公司 | Device, system and method for realizing intelligent home application |
| CN101867530A (en) * | 2010-05-31 | 2010-10-20 | 西安电子科技大学 | Internet of things gateway system and data interaction method based on virtual machine |
| CN101984706A (en) * | 2010-11-04 | 2011-03-09 | 中国电信股份有限公司 | Gateway of Internet of things and automatic adaptation method of communication protocol |
| CN102025577A (en) * | 2011-01-06 | 2011-04-20 | 西安电子科技大学 | Network system of Internet of things and data processing method thereof |
| CN102045896A (en) * | 2010-11-22 | 2011-05-04 | 中山爱科数字科技有限公司 | Virtual Internet-of-things gateway system capable of realizing multiprotocol and network self-adapting |
| CN102148863A (en) * | 2011-01-27 | 2011-08-10 | 华为技术有限公司 | Method and device for delivering M2M (machine to machine) service messages |
| CN102202093A (en) * | 2011-05-12 | 2011-09-28 | 南京中兴新软件有限责任公司 | Method for realizing sensor adaption and system thereof |
| CN102238573A (en) * | 2010-04-30 | 2011-11-09 | 中兴通讯股份有限公司 | Machine-to-machine/machine-to-man/man-to-machine (M2M) service structure and M2M service realization method |
| CN102255908A (en) * | 2011-07-08 | 2011-11-23 | 北京邮电大学 | Internet of things gateway protocol consistency realization method |
| CN102281251A (en) * | 2010-06-09 | 2011-12-14 | 中兴通讯股份有限公司 | Device, system and method for realizing intelligent household application |
| CN102307223A (en) * | 2011-05-12 | 2012-01-04 | 南京中兴新软件有限责任公司 | Method and system for realizing adaptation of application platforms |
| CN102355696A (en) * | 2011-08-08 | 2012-02-15 | 上海理工大学 | Large scale Internet of things gateway system and realization method thereof |
| CN102801544A (en) * | 2011-05-25 | 2012-11-28 | 中兴通讯股份有限公司 | Method and system for unified terminal management under Internet of things architecture |
-
2012
- 2012-05-22 CN CN201210160201.9A patent/CN103428627B/en active Active
Patent Citations (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101808025A (en) * | 2010-04-13 | 2010-08-18 | 中兴通讯股份有限公司 | Device, system and method for realizing intelligent home application |
| CN102238573A (en) * | 2010-04-30 | 2011-11-09 | 中兴通讯股份有限公司 | Machine-to-machine/machine-to-man/man-to-machine (M2M) service structure and M2M service realization method |
| CN101867530A (en) * | 2010-05-31 | 2010-10-20 | 西安电子科技大学 | Internet of things gateway system and data interaction method based on virtual machine |
| CN102281251A (en) * | 2010-06-09 | 2011-12-14 | 中兴通讯股份有限公司 | Device, system and method for realizing intelligent household application |
| CN101984706A (en) * | 2010-11-04 | 2011-03-09 | 中国电信股份有限公司 | Gateway of Internet of things and automatic adaptation method of communication protocol |
| CN102045896A (en) * | 2010-11-22 | 2011-05-04 | 中山爱科数字科技有限公司 | Virtual Internet-of-things gateway system capable of realizing multiprotocol and network self-adapting |
| CN102025577A (en) * | 2011-01-06 | 2011-04-20 | 西安电子科技大学 | Network system of Internet of things and data processing method thereof |
| CN102148863A (en) * | 2011-01-27 | 2011-08-10 | 华为技术有限公司 | Method and device for delivering M2M (machine to machine) service messages |
| CN102202093A (en) * | 2011-05-12 | 2011-09-28 | 南京中兴新软件有限责任公司 | Method for realizing sensor adaption and system thereof |
| CN102307223A (en) * | 2011-05-12 | 2012-01-04 | 南京中兴新软件有限责任公司 | Method and system for realizing adaptation of application platforms |
| CN102801544A (en) * | 2011-05-25 | 2012-11-28 | 中兴通讯股份有限公司 | Method and system for unified terminal management under Internet of things architecture |
| CN102255908A (en) * | 2011-07-08 | 2011-11-23 | 北京邮电大学 | Internet of things gateway protocol consistency realization method |
| CN102355696A (en) * | 2011-08-08 | 2012-02-15 | 上海理工大学 | Large scale Internet of things gateway system and realization method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103428627A (en) | 2013-12-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103428627B (en) | The transfer approach of data, Internet of things system and related device in Internet of things system | |
| CN105763426B (en) | A kind of internet of things service processing system based on multi-protocol instant messaging system | |
| CN103152378B (en) | A kind of transmission method of network data, system and client | |
| WO2013075490A1 (en) | Method for implementing terminal adaptation processing, protocol adaptation module and terminal | |
| CN112988485A (en) | Simulation test method and device for power Internet of things equipment | |
| CN113207194B (en) | Multi-mode communication implementation method and device based on kylin mobile operating system | |
| CN115514682B (en) | A data transmission method, device, equipment and storage medium | |
| CN106487847B (en) | Information processing method and transfer server | |
| CN117978888A (en) | Gateway and data transmission method using same | |
| CN110113771B (en) | Data processing method, device, gateway device and storage medium | |
| CN104580187A (en) | Method for achieving interaction of external devices of different MODULEBUS protocols and server | |
| CN114979212A (en) | Method, device and system for constructing proxy service for device access to Internet of Things platform | |
| CN105682134A (en) | WIFI-based intelligent terminal real-time sniffing method and real-time sniffing system | |
| CN112399446B (en) | Edge gateway communication method, device, computer equipment and storage medium | |
| CN105530137A (en) | Flow data analysis method and flow data analysis system | |
| CN116032968A (en) | IoT device communication method and IoT device | |
| CN118714202A (en) | A method, system, device and storage medium for communication protocol data conversion | |
| CN115643320A (en) | Data processing method, system, storage medium and processor | |
| WO2016184025A1 (en) | Device management method and apparatus | |
| CN113133107B (en) | Method and device for synchronizing information | |
| CN111988334A (en) | Data communication method based on TCP | |
| CN120315991B (en) | A hybrid App development and debugging method and device based on communication layer proxy | |
| CN112383924B (en) | Base station equipment management method, device and system | |
| CN115333980B (en) | Test method, second edge node device and edge gateway | |
| CN103905147A (en) | Data processing method, sending device, receiving device and communication system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20231126 Address after: 100080, 9th floor, Building C, No. 16 Danling Street, Haidian District, Beijing Patentee after: Zhongyi Shuzhi Technology Co.,Ltd. Address before: Planning and Technology Department of China Mobile Jiangsu Co., Ltd., No. 59 Huju Road, Nanjing City, Jiangsu Province, 210029 Patentee before: CHINA MOBILE GROUP JIANGSU Co.,Ltd. |
|
| TR01 | Transfer of patent right |