[go: up one dir, main page]

CN103024949B - The management method of adapter and device in Internet of Things - Google Patents

The management method of adapter and device in Internet of Things Download PDF

Info

Publication number
CN103024949B
CN103024949B CN201210460466.0A CN201210460466A CN103024949B CN 103024949 B CN103024949 B CN 103024949B CN 201210460466 A CN201210460466 A CN 201210460466A CN 103024949 B CN103024949 B CN 103024949B
Authority
CN
China
Prior art keywords
adapter
sensing device
information corresponding
new
internet
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.)
Expired - Fee Related
Application number
CN201210460466.0A
Other languages
Chinese (zh)
Other versions
CN103024949A (en
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.)
EASYWAY TECHNOLOGY Co Ltd
Original Assignee
EASYWAY TECHNOLOGY Co Ltd
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 EASYWAY TECHNOLOGY Co Ltd filed Critical EASYWAY TECHNOLOGY Co Ltd
Priority to CN201210460466.0A priority Critical patent/CN103024949B/en
Publication of CN103024949A publication Critical patent/CN103024949A/en
Application granted granted Critical
Publication of CN103024949B publication Critical patent/CN103024949B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

本发明提供一种物联网中适配器的管理方法与装置,该方法包括:当已有感知设备发生变化或者新型感知设备接入时,从适配器仓库中获取与发生变化的已有感知设备对应的适配器信息或者与新型感知设备对应的适配器信息;将发生变化的已有感知设备对应的适配器信息或者新型感知设备对应的适配器信息携带在部署指令中发送给物联网中间件,以供物联网中间件根据部署指令中的发生变化的已有感知设备对应的适配器或者新型感知设备对应的适配器,更新与发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与新型感知设备对应的适配器信息对应的适配器。

The present invention provides a method and device for managing adapters in the Internet of Things. The method includes: when an existing sensory device changes or a new sensory device is connected, the adapter corresponding to the changed existing sensory device is obtained from an adapter warehouse. information or the adapter information corresponding to the new sensing device; carry the adapter information corresponding to the changed existing sensing device or the adapter information corresponding to the new sensing device in the deployment command and send it to the IoT middleware for the IoT middleware to deploy according to The adapter corresponding to the changed existing sensing device or the adapter corresponding to the new sensing device in the instruction, updates the adapter corresponding to the adapter information corresponding to the changed existing sensing device, or creates an adapter corresponding to the adapter information corresponding to the new sensing device adapter.

Description

物联网中适配器的管理方法与装置Adapter management method and device in internet of things

技术领域 technical field

本发明涉及物联网应用技术,尤其涉及一种物联网中适配器的管理方法与装置。The invention relates to the application technology of the Internet of Things, in particular to a method and device for managing adapters in the Internet of Things.

背景技术 Background technique

物联网是新一代信息技术的重要组成部分。通过各种信息感知设备,实时采集任何需要监控、连接、互动的物体或过程,采集其声、光、热、电、力学、化学、生物、位置等各种需要的信息,与互联网结合形成的一个巨大网络。其目的是实现物与物、物与人,所有的物品与网络的连接,方便识别、管理和控制。The Internet of Things is an important part of the new generation of information technology. Through various information sensing devices, any object or process that needs to be monitored, connected, and interacted can be collected in real time, and various required information such as sound, light, heat, electricity, mechanics, chemistry, biology, and location can be collected, and it is formed by combining with the Internet. A huge network. Its purpose is to realize the connection between things and things, things and people, and all things and networks, so as to facilitate identification, management and control.

物联网应用系统处于动态的工作环境中,通常适配器采集物联网中感知设备的数据,并将数据信息解析成事件对象发送给物联网中间件,从而实现感知设备与网络的连接进而实现物联网的通信。当有新型感知设备要接入物联网时或已有的感知设备发生变化时,需要部署新型适配器或者对已有适配器进行升级以与感知设备相配合。新型适配器可以采集感知设备的数据,并将数据信息解析成事件对象发送给物联网中间件,该物联网中间件也必须进行相应的升级才能使用。The Internet of Things application system is in a dynamic working environment. Usually, the adapter collects the data of the sensing device in the Internet of Things, and parses the data information into an event object and sends it to the Internet of Things middleware, so as to realize the connection between the sensing device and the network and realize the realization of the Internet of Things. communication. When a new sensory device is to be connected to the Internet of Things or an existing sensory device changes, it is necessary to deploy a new adapter or upgrade an existing adapter to cooperate with the sensory device. The new adapter can collect data from sensing devices, and parse the data information into event objects and send them to the IoT middleware. The IoT middleware must be upgraded accordingly before it can be used.

但是现有技术中的物联网中间件,只能够与已有的适配器进行交互,当新型感知设备接入或者已有感知设备发生变化时,物联网中间件会因为无法识别适配器解析的事件对象,因此需要部署与适配器相配合的物联网中间件才能完成通信。However, the IoT middleware in the prior art can only interact with existing adapters. When a new sensing device is connected or an existing sensing device changes, the IoT middleware will fail to recognize the event object parsed by the adapter. Therefore, it is necessary to deploy the Internet of Things middleware that cooperates with the adapter to complete the communication.

发明内容 Contents of the invention

本发明提供一种物联网中适配器的管理方法与装置,用以实现了在新型感知设备接入或者已有感知设备发生变化时,无需重新部署物联网中间件就可以进行物联网通信。The present invention provides a method and device for managing adapters in the Internet of Things, which are used to realize Internet of Things communication without re-deploying Internet of Things middleware when new sensing devices are connected or existing sensing devices are changed.

本发明的第一个方面是提供一种物联网中适配器的管理方法,包括:A first aspect of the present invention is to provide a management method for adapters in the Internet of Things, including:

当已有感知设备发生变化或者新型感知设备接入时,从适配器仓库中获取与发生变化的已有感知设备对应的适配器信息或者与所述新型感知设备对应的适配器信息;When an existing sensing device changes or a new sensing device is connected, acquire adapter information corresponding to the changed existing sensing device or adapter information corresponding to the new sensing device from the adapter warehouse;

将所述发生变化的已有感知设备对应的适配器信息或者所述新型感知设备对应的适配器信息携带在部署指令中发送给物联网中间件,以供物联网中间件根据所述部署指令中的所述发生变化的已有感知设备对应的适配器或者所述新型感知设备对应的适配器,更新与所述发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与所述新型感知设备对应的适配器信息对应的适配器。Carry the adapter information corresponding to the changed existing sensing device or the adapter information corresponding to the new sensing device in the deployment instruction and send it to the Internet of Things middleware, so that the Internet of Things middleware can The adapter corresponding to the changed existing sensing device or the adapter corresponding to the new sensing device, updating the adapter corresponding to the adapter information corresponding to the changed existing sensing device, or creating the adapter corresponding to the new sensing device The adapter to which the information corresponds.

本发明的第二个方面是提供一种物联网中适配器的管理方法,包括:A second aspect of the present invention is to provide a management method for adapters in the Internet of Things, including:

接收管理装置发送的部署指令,所述部署指令包括:发生变化的已有感知设备对应的适配器信息或者新型感知设备对应的适配器信息;receiving a deployment instruction sent by the management device, the deployment instruction including: adapter information corresponding to the changed existing sensing device or adapter information corresponding to the new sensing device;

根据所述部署指令,更新与所述发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与新型感知设备对应的适配器信息对应的适配器。According to the deployment instruction, the adapter corresponding to the adapter information corresponding to the changed existing sensing device is updated, or the adapter corresponding to the adapter information corresponding to the new sensing device is created.

本发明的第三个方面是提供一种物联网中适配器的管理装置,包括:A third aspect of the present invention is to provide a management device for adapters in the Internet of Things, including:

获取模块,用于当已有感知设备发生变化或者新型感知设备接入时,从适配器仓库中获取与发生变化的已有感知设备对应的适配器信息或者与所述新型感知设备对应的适配器信息;An acquisition module, configured to acquire adapter information corresponding to the changed existing sensing device or adapter information corresponding to the new sensing device from the adapter warehouse when an existing sensing device changes or a new sensing device is connected;

发送模块,用于将所述发生变化的已有感知设备对应的适配器信息或者所述新型感知设备对应的适配器信息携带在部署指令中发送给物联网中间件,以供物联网中间件根据所述部署指令中的所述发生变化的已有感知设备对应的适配器或者所述新型感知设备对应的适配器,更新与所述发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与所述新型感知设备对应的适配器信息对应的适配器。The sending module is configured to carry the adapter information corresponding to the changed existing sensory device or the adapter information corresponding to the new sensory device in the deployment instruction and send it to the Internet of Things middleware, so that the Internet of Things middleware can according to the deployment The adapter corresponding to the changed existing sensing device or the adapter corresponding to the new-type sensing device in the instruction, updates the adapter corresponding to the adapter information corresponding to the changed existing sensing device, or creates an adapter corresponding to the new-type sensing device The adapter corresponding to the adapter information corresponding to the perception device.

本发明的第四个方面是提供一种物联网中适配器的管理装置,包括:A fourth aspect of the present invention is to provide a management device for adapters in the Internet of Things, including:

接收模块,用于接收管理装置发送的部署指令,所述部署指令包括:发生变化的已有感知设备对应的适配器信息或者新型感知设备对应的适配器信息;The receiving module is configured to receive the deployment instruction sent by the management device, where the deployment instruction includes: adapter information corresponding to the changed existing sensing device or adapter information corresponding to the new sensing device;

处理模块,用于根据所述部署指令,更新与所述发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与新型感知设备对应的适配器信息对应的适配器。The processing module is configured to update the adapter corresponding to the adapter information corresponding to the changed existing sensing device according to the deployment instruction, or create an adapter corresponding to the adapter information corresponding to the new sensing device.

本发明提供的物联网中适配器的管理方法和装置,当已有感知设备发生变化或者新型感知设备接入时,通过在适配器仓库中获取与发生变化的感知设备对应的适配器信息或与新型感知设备对应的适配器信息,并将适配器信息携带在部署指令中发送给多个物联网中间件,以使多个物联网中间件根据接收到的部署指令在线更新或创建新型适配器,从而实现在已有感知设备发生变化或者新型感知设备接入时,物联网能够正常通信。The adapter management method and device in the Internet of Things provided by the present invention, when the existing sensing device changes or a new sensing device is connected, acquires the adapter information corresponding to the changed sensing device in the adapter warehouse or communicates with the new sensing device Corresponding adapter information, and carry the adapter information in the deployment instruction and send it to multiple IoT middleware, so that multiple IoT middleware can update online or create a new type of adapter according to the received deployment instruction, so as to realize the existing perception When the equipment changes or new sensing equipment is connected, the Internet of Things can communicate normally.

附图说明 Description of drawings

图1是本发明物联网中适配器的管理方法实施例一的流程图;FIG. 1 is a flow chart of Embodiment 1 of a management method for an adapter in the Internet of Things of the present invention;

图2是本发明物联网中适配器的管理方法实施例二的流程图;FIG. 2 is a flow chart of Embodiment 2 of the method for managing adapters in the Internet of Things of the present invention;

图3是本发明物联网中适配器的管理装置实施例一的结构示意图;FIG. 3 is a schematic structural diagram of Embodiment 1 of an adapter management device in the Internet of Things of the present invention;

图4是本发明物联网中适配器的管理装置实施例二的结构示意图。FIG. 4 is a schematic structural diagram of Embodiment 2 of an adapter management device in the Internet of Things of the present invention.

具体实施方式 detailed description

图1是本发明物联网中适配器的管理方法实施例一的流程图。如图1所示,本发明提供的物联网中适配器的管理方法,包括:FIG. 1 is a flow chart of Embodiment 1 of the method for managing adapters in the Internet of Things of the present invention. As shown in Figure 1, the management method of the adapter in the Internet of Things provided by the present invention includes:

S101、当已有感知设备发生变化或者新型感知设备接入时,从适配器仓库中获取与发生变化的已有感知设备对应的适配器信息或者与新型感知设备对应的适配器信息。S101. When an existing sensing device changes or a new sensing device is connected, acquire adapter information corresponding to the changed existing sensing device or adapter information corresponding to the new sensing device from an adapter warehouse.

在本实施例中,初始时,适配器仓库中可以存储每个物联网中间件和该物理网中间件中的适配器对应的适配器信息。当已有感知设备发生变化(例如,已有感知设备中的数据报文结构发生变化)或者新型感知设备接入物联网时,需要开发人员在适配器仓库中,根据发生变化的已有感知设备更新与该已有感知设备对应的已有适配器信息或根据新型感知设备创建新型适配器信息。In this embodiment, initially, adapter information corresponding to each IoT middleware and the adapter in the physical network middleware may be stored in the adapter repository. When existing sensory devices change (for example, the structure of data packets in existing sensory devices changes) or new sensory devices are connected to the Internet of Things, developers need to update in the adapter warehouse according to the changed existing sensory devices Existing adapter information corresponding to the existing sensing device or creating new adapter information based on the new sensing device.

S102、将发生变化的已有感知设备对应的适配器信息或者新型感知设备对应的适配器信息携带在部署指令中发送给物联网中间件,以供物联网中间件根据部署指令中的发生变化的已有感知设备对应的适配器或者新型感知设备对应的适配器,更新与发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与新型感知设备对应的适配器信息对应的适配器。S102. Carry the adapter information corresponding to the changed existing sensing device or the adapter information corresponding to the new sensing device in the deployment instruction and send it to the Internet of Things middleware, so that the Internet of Things middleware can use the changed existing sensing device according to the deployment instruction The adapter corresponding to the device or the adapter corresponding to the new sensing device updates the adapter corresponding to the adapter information corresponding to the changed existing sensing device, or creates the adapter corresponding to the adapter information corresponding to the new sensing device.

在本实施例中,向物联网中间件发送部署指令,部署指令所包含的信息包括:发生变化的已有感知设备对应的适配器信息或者新型感知设备对应的适配器信息。优选的,发生变化的已有感知设备对应的适配器信息或者新型感知设备对应的适配器信息包括:适配器的身份标识(Identification,简称:ID)以及该适配器身份标识所属的物联网中间件中该适配器的网际协议(InternetProtocol,简称:IP)地址,然后物联网中间件根据上述部署指令更新适配器或创建新型适配器。In this embodiment, the deployment instruction is sent to the Internet of Things middleware, and the information contained in the deployment instruction includes: adapter information corresponding to a changed existing sensing device or adapter information corresponding to a new sensing device. Preferably, the adapter information corresponding to the changed existing sensing device or the adapter information corresponding to the new sensing device includes: the identity of the adapter (Identification, ID for short) and the ID of the adapter in the IoT middleware to which the adapter identity belongs. Internet Protocol (Internet Protocol, referred to as: IP) address, and then the Internet of Things middleware updates the adapter or creates a new type of adapter according to the above deployment instructions.

本发明实施例一提供的物联网中适配器的管理方法,当已有感知设备发生变化或者新型感知设备接入时,通过在适配器仓库中获取与发生变化的感知设备对应的适配器信息或与新型感知设备对应的适配器信息,并将适配器信息携带在部署指令中发送给多个物联网中间件,以使多个物联网中间根据接收到的部署指令在线更新或创建新型适配器,从而实现在已有感知设备发生变化或者新型感知设备接入时,物联网能够正常通信。Embodiment 1 of the present invention provides an adapter management method in the Internet of Things. When an existing sensory device changes or a new sensory device is connected, the adapter information corresponding to the changed sensory device or the new sensory device is obtained from the adapter warehouse. Adapter information corresponding to the device, and carry the adapter information in the deployment command and send it to multiple IoT middleware, so that multiple IoT middleware can update online or create a new type of adapter according to the received deployment command, so as to realize the perception in the existing When the equipment changes or new sensing equipment is connected, the Internet of Things can communicate normally.

在上述实施例的基础上,S101中的适配器仓库可以采用开放服务网关协议仓库(OpenServiceGatewayInitiativebundlerepository,简称:OBR)技术,更新与所述发生变化的已有感知设备对应的适配器信息,或者与创建所述新型感知设备对应的适配器信息。On the basis of the above-mentioned embodiments, the adapter repository in S101 may use OpenService Gateway Initiative bundle repository (OBR for short) technology to update the adapter information corresponding to the changed existing sensing device, or to create the Adapter information corresponding to the new sensing device.

具体地,适配器仓库可以采用OBR技术与物联网中间件中的感知设备对应的适配器建立信息索引,可以通过信息索引对适配器仓库内的适配器进行查看与管理,适配器仓库用于更新与发生变化的已有感知设备对应的适配器信息,或者创建与新型感知设备对应的适配器信息。Specifically, the adapter warehouse can use OBR technology to establish an information index with the adapter corresponding to the sensing device in the IoT middleware, and can view and manage the adapters in the adapter warehouse through the information index. The adapter warehouse is used to update and change existing There is adapter information corresponding to the sensing device, or to create adapter information corresponding to a new type of sensing device.

本发明提供的物联网中适配器的管理方法通过采用OBR技术建立适配器的信息索引,便于查看与管理适配器仓库里的适配器,也便于根据适配器的信息索引更新与发生变化的已有感知设备对应的适配器信息,以及创建与新型感知设备对应的适配器信息。还可以通过OBR技术实现对适配器仓库内的适配器进行统一管理与维护。The adapter management method in the Internet of Things provided by the present invention adopts the OBR technology to establish the adapter information index, which is convenient for viewing and managing the adapters in the adapter warehouse, and is also convenient for updating the adapter corresponding to the changed existing sensing device according to the adapter information index information, and create adapter information corresponding to the new type of sensing device. The unified management and maintenance of the adapters in the adapter warehouse can also be realized through the OBR technology.

图2是本发明物联网中适配器的管理方法实施例二的流程图。如图2所示,本实施例提供的物联网中适配器的管理方法,包括:FIG. 2 is a flow chart of Embodiment 2 of the method for managing adapters in the Internet of Things of the present invention. As shown in Figure 2, the management method of the adapter in the Internet of Things provided by this embodiment includes:

S201、接收管理装置发送的部署指令,部署指令包括:发生变化的已有感知设备对应的适配器信息或者新型感知设备对应的适配器信息。S201. Receive a deployment instruction sent by a management device, where the deployment instruction includes: adapter information corresponding to a changed existing sensing device or adapter information corresponding to a new sensing device.

具体地,物联网中间件接收管理装置发送的部署指令,部署指令至少包括发生变化的已有感知设备对应的适配器信息或者新型感知设备对应的适配器信息,部署指令还可以包括:适配器的ID以及该适配器ID所属的适配器仓库的IP地址。Specifically, the IoT middleware receives the deployment instruction sent by the management device. The deployment instruction includes at least the adapter information corresponding to the changed existing sensing device or the adapter information corresponding to the new sensing device. The deployment instruction may also include: the ID of the adapter and the The IP address of the adapter repository to which the adapter ID belongs.

S202、根据部署指令,更新与发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与新型感知设备对应的适配器信息对应的适配器。S202. According to the deployment instruction, update the adapter corresponding to the adapter information corresponding to the changed existing sensing device, or create the adapter corresponding to the adapter information corresponding to the new sensing device.

物联网中间件根据部署指令,可以实现更新与发生变化的已有感知设备对应的适配器信息对应的适配器或创建与新型感知设备对应的适配器信息对应的适配器。According to the deployment instruction, the Internet of Things middleware can update the adapter corresponding to the adapter information corresponding to the changed existing sensing device or create the adapter corresponding to the adapter information corresponding to the new sensing device.

本发明实施例二提供的物联网中适配器的管理方法,通过接收管理装置的部署指令,并根据部署指令更新适配器或创建适配器,进而实现对物联网在线部署与更新。The method for managing adapters in the Internet of Things provided by Embodiment 2 of the present invention receives deployment instructions from the management device, and updates or creates adapters according to the deployment instructions, thereby realizing online deployment and updating of the Internet of Things.

在上述实施例二的基础上,优选地,在S202中,根据部署指令,并采用开放服务网关协议(OpenServiceGatewayInitiative,简称OSGi)技术,更新与发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与新型感知设备对应的适配器信息对应的适配器。On the basis of the second embodiment above, preferably, in S202, according to the deployment instruction, and using the Open Service Gateway Initiative (OSGi for short) technology, update the adapter corresponding to the adapter information corresponding to the changed existing sensing device , or create an adapter corresponding to the adapter information corresponding to the new type of sensing device.

具体地,根据部署指令并采用OSGi技术实现对适配器的开发与部署。由于OSGi技术支持模块化开发和功能模块的即插即用,因此可以实现对适配器模块化开发,并支持适配器的热插拔和即插即用,不停机不宕机。Specifically, the development and deployment of the adapter is realized according to the deployment instruction and using OSGi technology. Because OSGi technology supports modular development and plug-and-play of functional modules, it can realize modular development of adapters, and supports hot-swapping and plug-and-play of adapters without downtime.

本发明提供的物联网中适配器的管理方法,根据部署指令,采用OSGi技术实现对适配器的开发与部署,实现在线更新与部署在物联网中间件上的适配器。还支持模块化开发和即插即用,进而实现物联网实时通信不中断的同时,实现模块的功能升级与管理。The management method of the adapter in the Internet of Things provided by the present invention adopts OSGi technology to realize the development and deployment of the adapter according to the deployment instruction, and realizes online update and deployment of the adapter on the Internet of Things middleware. It also supports modular development and plug-and-play, so as to realize the function upgrade and management of the module while realizing the real-time communication of the Internet of Things without interruption.

图3是本发明物联网中适配器的管理装置实施例一的结构示意图。如图3所示,本发明提供的物联网中适配器的管理装置包括:获取模块11和发送模块12,获取模块11用于当已有感知设备发生变化或者新型感知设备接入时,从适配器仓库中获取与发生变化的已有感知设备对应的适配器信息或者与所述新型感知设备对应的适配器信息;发送模块12用于将发生变化的已有感知设备对应的适配器信息或者新型感知设备对应的适配器信息携带在部署指令中发送给物联网中间件,以供物联网中间件根据部署指令中的发生变化的已有感知设备对应的适配器或者新型感知设备对应的适配器,更新与发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与新感知设备对应的适配器信息对应的适配器。FIG. 3 is a schematic structural diagram of Embodiment 1 of a device for managing adapters in the Internet of Things according to the present invention. As shown in Figure 3, the device for managing adapters in the Internet of Things provided by the present invention includes: an acquisition module 11 and a sending module 12. The acquisition module 11 is used to obtain information from the adapter warehouse Obtain the adapter information corresponding to the existing sensory device that has changed or the adapter information corresponding to the new sensory device; the sending module 12 is used to send the adapter information corresponding to the existing sensory device that has changed or the adapter corresponding to the new sensory device The information is carried in the deployment instruction and sent to the Internet of Things middleware, so that the Internet of Things middleware can update the existing sensing device that has changed according to the adapter corresponding to the existing sensing device or the adapter corresponding to the new sensing device that has changed in the deployment instruction An adapter corresponding to the corresponding adapter information, or an adapter corresponding to the adapter information corresponding to the new sensing device is created.

本实施例的装置,可以用于执行图1所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 1 , and its implementation principle and technical effect are similar, and will not be repeated here.

在本实施例中,当已有感知设备发生变化或者新型感知设备接入时,通过在适配器仓库中获取与发生变化的感知设备对应的适配器信息或与新型感知设备对应的适配器信息,并将适配器信息携带在部署指令中发送给多个物联网中间件,以使多个物联网中间根据接收到的部署指令在线更新或创建新型适配器,从而实现在已有感知设备发生变化或者新型感知设备接入时,物联网能够正常通信。In this embodiment, when an existing sensory device changes or a new sensory device is connected, the adapter information corresponding to the changed sensory device or the adapter information corresponding to the new sensory device is obtained from the adapter warehouse, and the adapter The information is carried in the deployment command and sent to multiple IoT middleware, so that multiple IoT middleware can be updated online or create a new type of adapter according to the received deployment command, so as to realize changes in existing sensing devices or access to new sensing devices , the Internet of Things can communicate normally.

图4是本发明物联网中适配器的管理装置实施例二的结构示意图。如图4所示,本发明提供的物联网中适配器的管理装置包括:接收模块21和处理模块22,接收模块21用于接收管理装置发送的部署指令,部署指令包括:发生变化的已有感知设备对应的适配器信息或者新型感知设备对应的适配器信息;处理模块22用于根据部署指令,更新与发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与新型感知设备对应的适配器信息对应的适配器。FIG. 4 is a schematic structural diagram of Embodiment 2 of an adapter management device in the Internet of Things of the present invention. As shown in FIG. 4 , the management device of the adapter in the Internet of Things provided by the present invention includes: a receiving module 21 and a processing module 22. The receiving module 21 is used to receive the deployment instruction sent by the management device. The deployment instruction includes: The adapter information corresponding to the device or the adapter information corresponding to the new sensing device; the processing module 22 is used to update the adapter corresponding to the adapter information corresponding to the changed existing sensing device according to the deployment instruction, or create the adapter information corresponding to the new sensing device corresponding adapter.

在上述实施例二的装置中,管理装置可以为图3所示的物联网中适配器的管理装置,并可以执行图1所示方法实施例的技术方案,其实现原理相类似,此处不再赘述。In the device of the second embodiment above, the management device may be the management device of the adapter in the Internet of Things shown in FIG. 3, and may execute the technical solution of the method embodiment shown in FIG. repeat.

本实施例的装置,可以用于执行图2所示方法实施例的技术方案,其实现原理和技术效果类似,此处不再赘述。The device of this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 2 , and its implementation principle and technical effect are similar, and will not be repeated here.

另外,优选的,在本发明物联网中适配器的管理装置实施三中,在上述图4所示实施例的基础上,处理模块22具体用于根据部署指令,并采用OSGi技术,更新与发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与新型感知设备对应的适配器信息对应的适配器。In addition, preferably, in the third implementation of the adapter management device in the Internet of Things of the present invention, on the basis of the above-mentioned embodiment shown in FIG. 4 , the processing module 22 is specifically configured to update and change the The adapter corresponding to the adapter information corresponding to the existing sensing device, or creating the adapter corresponding to the adapter information corresponding to the new sensing device.

本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.

最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than limiting them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present invention. scope.

Claims (4)

1.一种物联网中适配器的管理方法,其特征在于,包括:1. a management method of adapter in the Internet of Things, is characterized in that, comprises: 当已有感知设备发生变化或者新型感知设备接入时,从适配器仓库中获取与发生变化的已有感知设备对应的适配器信息或者与所述新型感知设备对应的适配器信息;When an existing sensing device changes or a new sensing device is connected, acquire adapter information corresponding to the changed existing sensing device or adapter information corresponding to the new sensing device from the adapter warehouse; 将所述发生变化的已有感知设备对应的适配器信息或者所述新型感知设备对应的适配器信息携带在部署指令中发送给物联网中间件,以供物联网中间件根据所述部署指令中的所述发生变化的已有感知设备对应的适配器或者所述新型感知设备对应的适配器,更新与所述发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与所述新型感知设备对应的适配器信息对应的适配器;Carry the adapter information corresponding to the changed existing sensing device or the adapter information corresponding to the new sensing device in the deployment instruction and send it to the Internet of Things middleware, so that the Internet of Things middleware can The adapter corresponding to the changed existing sensing device or the adapter corresponding to the new sensing device, updating the adapter corresponding to the adapter information corresponding to the changed existing sensing device, or creating the adapter corresponding to the new sensing device The adapter corresponding to the information; 所述适配器仓库采用开放服务网关协议仓库技术,更新与所述发生变化的已有感知设备对应的适配器信息,或者创建与所述新型感知设备对应的适配器信息。The adapter warehouse adopts the open service gateway protocol warehouse technology to update the adapter information corresponding to the changed existing sensing device, or create the adapter information corresponding to the new sensing device. 2.一种物联网中适配器的管理方法,其特征在于,包括:2. A method for managing adapters in the Internet of Things, comprising: 接收管理装置发送的部署指令,所述部署指令包括:发生变化的已有感知设备对应的适配器信息或者新型感知设备对应的适配器信息;receiving a deployment instruction sent by the management device, the deployment instruction including: adapter information corresponding to the changed existing sensing device or adapter information corresponding to the new sensing device; 根据所述部署指令,更新与所述发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与新型感知设备对应的适配器信息对应的适配器;According to the deployment instruction, update the adapter corresponding to the adapter information corresponding to the changed existing sensing device, or create an adapter corresponding to the adapter information corresponding to the new sensing device; 所述根据所述部署指令,更新与所述发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与新型感知设备对应的适配器信息对应的适配器,包括:According to the deployment instruction, updating the adapter corresponding to the adapter information corresponding to the changed existing sensing device, or creating an adapter corresponding to the adapter information corresponding to the new sensing device, includes: 根据所述部署指令,并采用开放服务网关协议技术,更新与所述发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与新型感知设备对应的适配器信息对应的适配器。According to the deployment instruction, and using the open service gateway protocol technology, update the adapter corresponding to the adapter information corresponding to the changed existing sensing device, or create an adapter corresponding to the adapter information corresponding to the new sensing device. 3.一种物联网中适配器的管理装置,其特征在于,包括:3. A management device for an adapter in the Internet of Things, comprising: 获取模块,用于当已有感知设备发生变化或者新型感知设备接入时,从适配器仓库中获取与发生变化的已有感知设备对应的适配器信息或者与所述新型感知设备对应的适配器信息;An acquisition module, configured to acquire adapter information corresponding to the changed existing sensing device or adapter information corresponding to the new sensing device from the adapter warehouse when an existing sensing device changes or a new sensing device is connected; 发送模块,用于将所述发生变化的已有感知设备对应的适配器信息或者所述新型感知设备对应的适配器信息携带在部署指令中发送给物联网中间件,以供物联网中间件根据所述部署指令中的所述发生变化的已有感知设备对应的适配器或者所述新型感知设备对应的适配器,更新与所述发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与所述新型感知设备对应的适配器信息对应的适配器;The sending module is configured to carry the adapter information corresponding to the changed existing sensory device or the adapter information corresponding to the new sensory device in the deployment instruction and send it to the Internet of Things middleware, so that the Internet of Things middleware can according to the deployment The adapter corresponding to the changed existing sensing device or the adapter corresponding to the new-type sensing device in the instruction, updates the adapter corresponding to the adapter information corresponding to the changed existing sensing device, or creates an adapter corresponding to the new-type sensing device The adapter corresponding to the adapter information corresponding to the perception device; 所述适配器仓库采用开放服务网关协议仓库技术,更新与所述发生变化的已有感知设备对应的适配器信息,或者创建与所述新型感知设备对应的适配器信息。The adapter warehouse adopts the open service gateway protocol warehouse technology to update the adapter information corresponding to the changed existing sensing device, or create the adapter information corresponding to the new sensing device. 4.一种物联网中适配器的管理装置,其特征在于,包括:4. A management device for an adapter in the Internet of Things, comprising: 接收模块,用于接收管理装置发送的部署指令,所述部署指令包括:发生变化的已有感知设备对应的适配器信息或者新型感知设备对应的适配器信息;The receiving module is configured to receive the deployment instruction sent by the management device, where the deployment instruction includes: adapter information corresponding to the changed existing sensing device or adapter information corresponding to the new sensing device; 处理模块,用于根据所述部署指令,更新与所述发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与新型感知设备对应的适配器信息对应的适配器;A processing module, configured to update the adapter corresponding to the adapter information corresponding to the changed existing sensing device according to the deployment instruction, or create an adapter corresponding to the adapter information corresponding to the new sensing device; 所述处理模块具体用于根据所述部署指令,并采用开放服务网关协议技术,更新与所述发生变化的已有感知设备对应的适配器信息对应的适配器,或者创建与新型感知设备对应的适配器信息对应的适配器。The processing module is specifically configured to update the adapter corresponding to the adapter information corresponding to the changed existing sensing device according to the deployment instruction and adopt the open service gateway protocol technology, or create the adapter information corresponding to the new sensing device corresponding adapter.
CN201210460466.0A 2012-11-15 2012-11-15 The management method of adapter and device in Internet of Things Expired - Fee Related CN103024949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210460466.0A CN103024949B (en) 2012-11-15 2012-11-15 The management method of adapter and device in Internet of Things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210460466.0A CN103024949B (en) 2012-11-15 2012-11-15 The management method of adapter and device in Internet of Things

Publications (2)

Publication Number Publication Date
CN103024949A CN103024949A (en) 2013-04-03
CN103024949B true CN103024949B (en) 2016-02-03

Family

ID=47972936

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210460466.0A Expired - Fee Related CN103024949B (en) 2012-11-15 2012-11-15 The management method of adapter and device in Internet of Things

Country Status (1)

Country Link
CN (1) CN103024949B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997532B (en) * 2014-05-30 2017-05-17 长沙瑞和数码科技有限公司 Agriculture internet-of-things edge middleware system
CN110430180A (en) * 2019-07-29 2019-11-08 贵州航天智慧农业有限公司 A kind of platform of internet of things and implementation method based on hot plug

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202309767U (en) * 2011-05-13 2012-07-04 深圳市丰泰瑞达实业有限公司 Middleware system for Internet of things
CN102594871A (en) * 2011-12-31 2012-07-18 山东中创软件工程股份有限公司 Data packaging method and system, adapter and Internet of things middleware
CN102740466A (en) * 2011-04-01 2012-10-17 中兴通讯股份有限公司 Method for carrying out operation on resource in Internet of things and apparatus thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9171079B2 (en) * 2011-01-28 2015-10-27 Cisco Technology, Inc. Searching sensor data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102740466A (en) * 2011-04-01 2012-10-17 中兴通讯股份有限公司 Method for carrying out operation on resource in Internet of things and apparatus thereof
CN202309767U (en) * 2011-05-13 2012-07-04 深圳市丰泰瑞达实业有限公司 Middleware system for Internet of things
CN102594871A (en) * 2011-12-31 2012-07-18 山东中创软件工程股份有限公司 Data packaging method and system, adapter and Internet of things middleware

Also Published As

Publication number Publication date
CN103024949A (en) 2013-04-03

Similar Documents

Publication Publication Date Title
US9747093B2 (en) Device driver aggregation in operating system deployment
CN103441867B (en) Method for updating internal network resource allocation of virtual machine
KR101940747B1 (en) Apparatus for managing factories in internet of things
CN108205442A (en) Edge calculations platform
CN101834768B (en) Mutual discovery method between digital home network devices
CN108737463A (en) A kind of software deployment method, server and system
EP2814206B1 (en) Upgrading computer nodes in a computer network
CN105635216A (en) Distributed application upgrade method, device and distributed system
CN110532009A (en) A kind of smart machine upgrading management system and method
US8582422B2 (en) Access point configuration propagation
CN103024949B (en) The management method of adapter and device in Internet of Things
CN104243198A (en) Network management method and system based on network configuration protocol
WO2015138403A1 (en) Html network service tags used with web browsers for controlling network elements
CN107944012A (en) Knowledge data computing system, method, server and storage medium
CN104205730A (en) Network element data access method, device and network management system
CN104270432B (en) Based on drilling well industry Real-time Data Service system and data interactive method
US20150212834A1 (en) Interoperation method of newtork device performed by computing device including cloud operating system in could environment
CN117596157B (en) Dynamic construction method, apparatus and storage medium for object model
EP4576735A1 (en) Fan channel construction method and apparatus, and device
Singh et al. IoT Communication protocols
CN102571935A (en) Data transmission method, client, server and system
CN105577433B (en) A kind of ACS cluster management method, device and system
US20180375944A1 (en) Service elements
CN108228202A (en) A kind of information processing method, equipment and computer readable storage medium
Aloulou et al. Simplifying installation and maintenance of ambient intelligent solutions toward large scale deployment

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160203

CF01 Termination of patent right due to non-payment of annual fee