CN109618010A - A method of realizing that internet of things equipment is registered and found automatically - Google Patents
A method of realizing that internet of things equipment is registered and found automatically Download PDFInfo
- Publication number
- CN109618010A CN109618010A CN201910087093.9A CN201910087093A CN109618010A CN 109618010 A CN109618010 A CN 109618010A CN 201910087093 A CN201910087093 A CN 201910087093A CN 109618010 A CN109618010 A CN 109618010A
- Authority
- CN
- China
- Prior art keywords
- equipment
- internet
- management server
- things equipment
- device management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
- H04L41/0266—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/54—Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer And Data Communications (AREA)
Abstract
Include internet of things equipment the invention discloses the method that internet of things equipment is registered automatically to connect for a long time by connection management module with device management server foundation, declaration facility registration, device management server determines whether to succeed in registration according to device identification;The method of internet of things equipment discovery includes connecting for a long time after internet of things equipment succeeds in registration with device management server foundation, and declaration equipment is online, and device management server is added to facility information in online equipment group and connect for a long time with the foundation of online equipment;It sends and searches equipment message, device management server returns and the associated facility information of the equipment, after internet of things equipment obtains information, initiates the session with equipment by session management module.By the above-mentioned means, the present invention breaks through current facility registration and finds limitation of the method in local area network, realizes the method that more feasible internet of things equipment is registered and found automatically, be easier so that promoting Internet of Things application.
Description
Technical field
The present invention relates to Internet of Things application fields, realize what internet of things equipment was registered and found automatically more particularly to a kind of
Method.
Background technique
Early in the last century 90's, " Internet of Things " is just it has been proposed that the most direct concept of " Internet of Things " is exactly to utilize
Product electronic code, there are also radio RF recognition technologies, and at any time, Anywhere realizing for article is realized by network
It is point-to-point to interconnect.It has passed through market in recent years and the cultivation of overall situation, " Internet of Things " is in the innovation, mutually with technology
The development of networking and information industry are fast-developing, have formed certain market scale.
One of most important technology is exactly device discovery techniques in IoT applications, but the equipment of comparative maturity at present
Automatic discovering method is still based on the requirement in local area network, not being able to satisfy Internet of Things development.Application No. is
201010621374.7 patent elaborates that DLNA device discovery and control method and device, the invention are based between a kind of family
DLNA standard, primarily to meeting the connection between household internal equipment.Application No. is 200910093457.0 patents to explain
Home network interconnection device, home network service system and method for discovering equipment have been stated, which is the basis of IGRS protocol, but
It is also to be confined in local area network.
Summary of the invention
The invention mainly solves the technical problem of providing a kind of method for realizing internet of things equipment and registering and find automatically,
Using now widely used IP network, 3G network, 4G network, current facility registration and discovery method are broken through in local area network
Limitation, realizes a kind of method that more feasible internet of things equipment is registered and found automatically, is easier so that promoting Internet of Things application.
In order to solve the above technical problems, one technical scheme adopted by the invention is that: a kind of realization internet of things equipment is provided
The automatic method registered and find, comprising: be based on internet of things equipment, device management server, connection management module, session management
The method for method and the internet of things equipment discovery that the internet of things equipment of module is registered automatically;
Method that the internet of things equipment is registered automatically the following steps are included:
The first step supports the internet of things equipment of connection internet to establish by connection management module and device management server
Long-term connection, to declare the registration of this equipment, wherein declaration information includes device identification, device IP, other facility informations;
Second step, after the device management server receives the registration information of equipment, in order to guarantee device identification only
One property, device management server determine whether to succeed in registration according to device identification, succeed in registration, and equipment is added to equipment
In management group, registration failure then gives registration equipment to return to registration failure information;
The method of internet of things equipment discovery the following steps are included:
The first step after supporting the internet of things equipment of connection internet to succeed in registration, is established long-term with device management server
Connection, to declare the online of this equipment, wherein declaring the facility information declared when information includes facility registration and online information;
Second step, after device management server receives the online declaration information of equipment, device management server is equipment
Information is added in online equipment group, and connect for a long time with the foundation of online equipment;
Third step after internet of things equipment declares online success, passes through the long-term connection established with device management server, hair
Lookup equipment message is sent, device management server returns and the associated all online facility informations of the equipment;
4th step, the internet of things equipment get all after the facility information of line, so that it may one of equipment is selected,
By session management module, the session with the online equipment is initiated;
5th step, after internet of things equipment sends lookup equipment message, if there is the status information of other equipment changes
When, the facility information after variation is actively sent to the equipment by connection management module by device management server;
6th step, after internet of things equipment is offline or disconnects with connect for a long time of establishing of device management server, to setting
Standby management server sending device offline message, after device management server receives equipment off-line message, the state of the equipment
It is updated to offline.
Further, the device management server refer to operation on the internet and with public ip address calculating
Machine server.
Further, the connection management module is responsible for connection and the Internet of Things of internet of things equipment and device management server
Connection between equipment and internet of things equipment.
Further, the session management module is responsible for session and equipment pipe between internet of things equipment and internet of things equipment
Reason server push gives the session of internet of things equipment.
Further, the message sent between the internet of things equipment and device management server is passed through based on XML format
TCP and udp protocol carry out data transmitting.
The beneficial effects of the present invention are: being used the present invention is based on now widely used IP network, 3G network and 4G network
This method can independently complete equipment discovery, break through current facility registration and find limitation of the method in local area network, realize
A method of more feasible internet of things equipment is registered and is found automatically.
Detailed description of the invention
Fig. 1 is a kind of fabric topology figure for realizing method that internet of things equipment is registered and found automatically of the present invention;
Fig. 2 is shown a kind of to realize that Internet of Things is set in one preferred embodiment of method that internet of things equipment is registered and found automatically
Standby type format defines table.
Specific embodiment
The preferred embodiments of the present invention will be described in detail with reference to the accompanying drawing, so that advantages and features of the invention energy
It is easier to be readily appreciated by one skilled in the art, so as to make a clearer definition of the protection scope of the present invention.
Referring to Fig. 1, a kind of method for realizing internet of things equipment and registering and find automatically, comprising: based on internet of things equipment,
Device management server, connection management module, the method registered automatically of internet of things equipment of session management module and Internet of Things are set
The existing method of preparation, device management server refer to operation on the internet and with public ip address Computer Service
Device, connection management module are responsible for connection and internet of things equipment and the internet of things equipment of internet of things equipment and device management server
Between connection, session management module is responsible for session and device management server between internet of things equipment and internet of things equipment
Be pushed to the session of internet of things equipment, the message sent between internet of things equipment and device management server based on XML format,
Data transmitting is carried out by TCP and udp protocol;
Method that the internet of things equipment is registered automatically the following steps are included:
The first step supports the internet of things equipment of connection internet to establish by connection management module and device management server
Long-term connection, to declare the registration of this equipment, wherein declaration information includes device identification, device IP, other facility informations;
Second step, after the device management server receives the registration information of equipment, in order to guarantee device identification only
One property, device management server determine whether to succeed in registration according to device identification, succeed in registration, and equipment is added to equipment
In management group, registration failure then gives registration equipment to return to registration failure information;
The method of internet of things equipment discovery the following steps are included:
The first step after supporting the internet of things equipment of connection internet to succeed in registration, is established long-term with device management server
Connection, to declare the online of this equipment, wherein declaring the facility information declared when information includes facility registration and online information;
Second step, after device management server receives the online declaration information of equipment, device management server is equipment
Information is added in online equipment group, and connect for a long time with the foundation of online equipment;
Third step after internet of things equipment declares online success, passes through the long-term connection established with device management server, hair
Lookup equipment message is sent, device management server returns and the associated all online facility informations of the equipment;
4th step, the internet of things equipment get all after the facility information of line, so that it may one of equipment is selected,
By session management module, the session with the online equipment is initiated;
5th step, after internet of things equipment sends lookup equipment message, if there is the status information of other equipment changes
When, the facility information after variation is actively sent to the equipment by connection management module by device management server;
6th step, after internet of things equipment is offline or disconnects with connect for a long time of establishing of device management server, to setting
Standby management server sending device offline message, after device management server receives equipment off-line message, the state of the equipment
It is updated to offline.
Illustrate the information and date format that related equipment of the invention connects in conjunction with example.The present invention is based on XMPP protocol,
Interaction message is encapsulated using XML format, and data transmission uses Transmission Control Protocol and udp protocol.
Regulation according to the present invention, internet of things equipment type format are defined as follows:
urn:device:devtype:manufacturer:operatesystem:version
Fig. 2 is shown in each marker field meaning description;
1, facility registration:
Internet of things equipment will be registered before online for the first time to the information flow that device management server sends XML format,
The packaging information format of transmission is as follows:
<iq id=" id " to=" server " type=" set ">
<query xmlns=" jabber:iq:register ">
<password>password</password>
<username>jid</username>
<name>nickname</name>
<deviceType>deviceType</deviceType>
<operateSystem>operateSystem:v</operateSystem>
<manufacturer>manufacturer</manufacturer>
<modelName>modelName</modelName>
</query>
</iq>
Wherein outermost layer iq refers to the XMPP communication section of standard, and wherein id refers to this connection identifier, to guarantee connection
Uniqueness, jid refer to the unique ID of this equipment, and server refers to server address, can be IP address, are also possible to mutually
Networking domain name, but server is required to have been carried out XMPP server-side agreement.It can repeat to use below each field, represent
Meaning is identical with this, and is repeated no more.
It, can basis in order to guarantee the uniqueness of device identification after device management server receives the registration information of equipment
Device identification determines whether to succeed in registration, and succeeds in registration, equipment is added in equipment management group, registration failure then gives note
Volume equipment returns to registration failure information.
2, equipment is online:
After internet of things equipment succeeds in registration, when equipment needs online, to the online letter of device management server sending device
Breath, information format are as follows:
After device management server receives the online declaration information of equipment, facility information can be added to online equipment group
In, and connect for a long time with the foundation of online equipment.
3, equipment is searched:
After equipment online success, in order to conversate with other online equipments, need to device management server application,
All online equipment lists are obtained, which can send the device discovery messages of XML format, lattice to device management server
Formula are as follows:
After device management server receives device discovery messages, online equipment also is returned to request equipment in xml format
List, format are as follows:
Wherein, in order to guarantee the uniqueness of each session, the id phase in iq section that the id in iq section must be sent with equipment
Together.The item section for including in query section refers to each online equipment.
When it is empty that device management server, which inquires list of devices, to the data format for the equipment return for initiating request
Are as follows:
When device management server is found there is no when list of devices, the device management server that can be requested to initiation is returned
Error message, format are as follows:
4, equipment is offline:
It, can be to device management server when needing offline when online equipment completion all working, or because of other reasons
Send the presence information of " unavailable ", to state that the equipment has been off, format are as follows:
<presence type="unavailable">
<status>going on vacation</status>
</presence>
5, equipment session:
After equipment completes the processes such as all facility registrations, equipment online, equipment query, in order to other equipment
It conversates, it is also desirable to encapsulate conversation message, format in xml format are as follows:
Wherein, jid1 refers to the device identification for initiating session, and jid2 refers to session target equipment.Body section in include be
Specific conversation message, format can be by user's self-definings.
The method that internet of things equipment according to the present invention is registered and found automatically, based on above example description process,
Comprising facility registration, the processes such as equipment is online, equipment query, the offline, equipment session of equipment, including internet of things equipment, equipment pipe
The modules such as server, connection management, session management are managed, can satisfy the Dialog request in internet between internet of things equipment.
The above description is only an embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (5)
1. a kind of method for realizing internet of things equipment and registering and find automatically characterized by comprising based on internet of things equipment,
Device management server, connection management module, the method registered automatically of internet of things equipment of session management module and Internet of Things are set
The existing method of preparation;
Method that the internet of things equipment is registered automatically the following steps are included:
It is long-term to support that the internet of things equipment of connection internet is established by connection management module and device management server for the first step
Connection, to declare the registration of this equipment, wherein declaration information includes device identification, device IP, other facility informations;
Second step, after the device management server receives the registration information of equipment, in order to guarantee the uniqueness of device identification,
Device management server determines whether to succeed in registration according to device identification, succeeds in registration, and equipment is added to equipment management group
In, registration failure then gives registration equipment to return to registration failure information;
The method of internet of things equipment discovery the following steps are included:
The first step after supporting the internet of things equipment of connection internet to succeed in registration, is connect for a long time with device management server foundation,
To declare the online of this equipment, wherein declaring the facility information declared when information includes facility registration and online information;
Second step, after device management server receives the online declaration information of equipment, device management server is facility information
It is added in online equipment group, and is connect for a long time with the foundation of online equipment;
Third step, after internet of things equipment declares online success, by the long-term connection established with device management server, transmission is looked into
Equipment message is looked for, device management server returns and the associated all online facility informations of the equipment;
4th step, the internet of things equipment get all after the facility information of line, so that it may select one of equipment, pass through
Session management module initiates the session with the online equipment;
5th step, after internet of things equipment sends lookup equipment message, when changing if there is the status information of other equipment, if
Facility information after variation is actively sent to the equipment by connection management module by standby management server;
6th step, after internet of things equipment is offline or disconnects with connect for a long time of establishing of device management server, to equipment pipe
Server sending device offline message is managed, after device management server receives equipment off-line message, the state of the equipment is updated
It is offline.
2. a kind of method for realizing internet of things equipment and registering and find automatically according to claim 1, it is characterised in that: institute
State device management server refer to operation on the internet and with public ip address computer server.
3. a kind of method for realizing internet of things equipment and registering and find automatically according to claim 1, it is characterised in that: institute
State connection and internet of things equipment and internet of things equipment that connection management module is responsible for internet of things equipment and device management server
Between connection.
4. a kind of method for realizing internet of things equipment and registering and find automatically according to claim 1, it is characterised in that: institute
It states session that session management module is responsible between internet of things equipment and internet of things equipment and device management server is pushed to object
The session of networked devices.
5. a kind of method for realizing internet of things equipment and registering and find automatically according to claim 1, it is characterised in that: institute
The message sent between internet of things equipment and device management server is stated based on XML format, is carried out by TCP and udp protocol
Data transmitting.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910087093.9A CN109618010A (en) | 2019-01-29 | 2019-01-29 | A method of realizing that internet of things equipment is registered and found automatically |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910087093.9A CN109618010A (en) | 2019-01-29 | 2019-01-29 | A method of realizing that internet of things equipment is registered and found automatically |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109618010A true CN109618010A (en) | 2019-04-12 |
Family
ID=66019105
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910087093.9A Pending CN109618010A (en) | 2019-01-29 | 2019-01-29 | A method of realizing that internet of things equipment is registered and found automatically |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109618010A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112383891A (en) * | 2020-10-02 | 2021-02-19 | 中盈优创资讯科技有限公司 | Equipment registration method and device based on object model automatic matching |
CN113038592A (en) * | 2019-12-24 | 2021-06-25 | 阿里巴巴集团控股有限公司 | Communication method and device between Internet of things devices |
CN113329402A (en) * | 2021-04-30 | 2021-08-31 | 河海大学 | Self-registration method and system of Internet of things sensing layer equipment on Internet of things platform |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436600A (en) * | 2011-11-04 | 2012-05-02 | 深圳市天和荣视频技术有限公司 | Automatic product registering and setting system |
CN103888431A (en) * | 2012-12-21 | 2014-06-25 | 陈韶钢 | User account automatic registration method and apparatus |
CN103905409A (en) * | 2012-12-30 | 2014-07-02 | 青岛海尔软件有限公司 | Automatic registration and discovery method based on wide area network devices |
CN104113602A (en) * | 2014-07-30 | 2014-10-22 | 无锡航天飞邻测控技术有限公司 | Object name based Internet of Things device access management system and method |
CN107613478A (en) * | 2017-08-07 | 2018-01-19 | 中兴克拉科技(苏州)有限公司 | A kind of terminal automatic registration method of LPWAN Internet of Things |
WO2018137105A1 (en) * | 2017-01-24 | 2018-08-02 | 深圳企管加企业服务有限公司 | Automatic alarm method and system for robot in environment of internet of things |
KR20180137706A (en) * | 2017-06-19 | 2018-12-28 | 홍익대학교세종캠퍼스산학협력단 | Wireless-sensor automatic detection home automatation control device |
CN109104400A (en) * | 2018-03-09 | 2018-12-28 | 深圳市智子云守护科技有限公司 | A kind of automatic register account number of high efficiency Internet of Things and automated log on mode |
-
2019
- 2019-01-29 CN CN201910087093.9A patent/CN109618010A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102436600A (en) * | 2011-11-04 | 2012-05-02 | 深圳市天和荣视频技术有限公司 | Automatic product registering and setting system |
CN103888431A (en) * | 2012-12-21 | 2014-06-25 | 陈韶钢 | User account automatic registration method and apparatus |
CN103905409A (en) * | 2012-12-30 | 2014-07-02 | 青岛海尔软件有限公司 | Automatic registration and discovery method based on wide area network devices |
CN104113602A (en) * | 2014-07-30 | 2014-10-22 | 无锡航天飞邻测控技术有限公司 | Object name based Internet of Things device access management system and method |
WO2018137105A1 (en) * | 2017-01-24 | 2018-08-02 | 深圳企管加企业服务有限公司 | Automatic alarm method and system for robot in environment of internet of things |
KR20180137706A (en) * | 2017-06-19 | 2018-12-28 | 홍익대학교세종캠퍼스산학협력단 | Wireless-sensor automatic detection home automatation control device |
CN107613478A (en) * | 2017-08-07 | 2018-01-19 | 中兴克拉科技(苏州)有限公司 | A kind of terminal automatic registration method of LPWAN Internet of Things |
CN109104400A (en) * | 2018-03-09 | 2018-12-28 | 深圳市智子云守护科技有限公司 | A kind of automatic register account number of high efficiency Internet of Things and automated log on mode |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113038592A (en) * | 2019-12-24 | 2021-06-25 | 阿里巴巴集团控股有限公司 | Communication method and device between Internet of things devices |
CN112383891A (en) * | 2020-10-02 | 2021-02-19 | 中盈优创资讯科技有限公司 | Equipment registration method and device based on object model automatic matching |
CN113329402A (en) * | 2021-04-30 | 2021-08-31 | 河海大学 | Self-registration method and system of Internet of things sensing layer equipment on Internet of things platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100440583B1 (en) | A Method and Apparatus of Management and Control of UPnP Device in Home Network from the Internet | |
CN101222519B (en) | Remote activation of home devices | |
EP2575292B1 (en) | Terminal, server, terminal management method, and terminal capability information reporting method | |
US8060588B2 (en) | Home network apparatus and system for cooperative work service and method thereof | |
CN100488155C (en) | Network device and control method thereof | |
CN109618010A (en) | A method of realizing that internet of things equipment is registered and found automatically | |
CN103441881A (en) | Unified device management method | |
US20040208159A1 (en) | Network device, system and method for providing list of controlled devices | |
US20090116479A1 (en) | UPnP-BASED NETWORK SYSTEM AND CONTROL METHOD THEREOF | |
CN103905409A (en) | Automatic registration and discovery method based on wide area network devices | |
CN101656645B (en) | Method, equipment and system for communication between external equipment and internal equipment of home network | |
KR101937736B1 (en) | Apparatus and method for identifying interoperability between object identifier based heterogeneous identifier node for next generation network | |
CN102665134B (en) | Method for realizing DLNA media sharing by using set-top box | |
EP1478128B1 (en) | Apparatus and method for connecting separate networks | |
US20090304019A1 (en) | Method and device for reducing multicast traffice in a upnp network | |
CN102474502B (en) | For realizing the method and apparatus of multimedia service for the equipment in local network | |
US7962598B2 (en) | Concurrent IGRS-UPnP | |
CN104935484A (en) | Method and apparatus for calling appliance service via gateways | |
US20150106462A1 (en) | Communication processing method, server, and terminal | |
US20100049804A1 (en) | Instant Messaging | |
CN105050028A (en) | Method and device for controlling household appliances | |
CN106792468A (en) | The method and system of identification discovery in machine communication | |
JP4217579B2 (en) | Seamless device control method and system, gateway device, terminal, and domain controller device | |
CN101465783B (en) | Connection method, device and connection network bridge for isomery household network appliances | |
KR101746226B1 (en) | Method for exchanging information using smart grid in universal plug and play |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190412 |
|
RJ01 | Rejection of invention patent application after publication |