CN103905409A - Automatic registration and discovery method based on wide area network devices - Google Patents
Automatic registration and discovery method based on wide area network devices Download PDFInfo
- Publication number
- CN103905409A CN103905409A CN201210586482.4A CN201210586482A CN103905409A CN 103905409 A CN103905409 A CN 103905409A CN 201210586482 A CN201210586482 A CN 201210586482A CN 103905409 A CN103905409 A CN 103905409A
- Authority
- CN
- China
- Prior art keywords
- equipment
- internet
- registration
- management server
- 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.)
- Pending
Links
Landscapes
- Computer And Data Communications (AREA)
Abstract
The invention relates to the technology for automatic registration and discovery of wide area network devices in internet of things application. The automatic registration and discovery method base on wide area network devices includes the device automatic registration step and the device automatic discovery step. According to the method, restrictions on local area networks are broken, the method is expanded into the range of the Internet and supports the IP network, the 2G network and the 3G network which are widely used at present, and popularization of application of internet of things is made easier.
Description
Technical field
The present invention relates to the auto registration of realizing WAN equipment in the application of a kind of Internet of Things and the technology of discovery.
Background technology
At present, along with country advances " unification of three nets " strategy, Internet of Things concept is also extensively universal.The concept of " Internet of Things " is to be proposed by the researcher of masschusetts, u.s.a Polytechnics the earliest, so-called " Internet of Things " definite definition, by the agreement of agreement, any article and the Internet are coupled together, carry out information exchange and communication, to realize a kind of network of intelligent identification, location, tracking, monitoring and management.And China is also one of country the earliest of research " Internet of Things ", as far back as eighties of last century nineties, " Internet of Things " just proposes, the most direct concept of " Internet of Things " is utilized product electronic code exactly, also have radio RF recognition technology, that realizes article by network realizes point-to-point interconnecting at any time, Anywhere.Passed through market in recent years and the cultivation of overall situation, " Internet of Things ", in development and the information industry fast development of the innovation along with technology, the Internet, formed certain market scale.
In Internet of Things application, one of topmost technology is exactly device discovery techniques, but the method for discovering equipment of comparative maturity or based in local area network (LAN) at present can not meet the requirement of Internet of Things development.Application number is that 201010621374.7 patent has been set forth DLNA device discovery and control method and device between a kind of family, and this invention, based on DLNA standard, is mainly in order to meet the connection between household internal equipment.Application number is that 200910093457.0 patent has been set forth home network interconnection device, home network service system and method for discovering equipment, and this invention is the basis of IGRS protocol, but is also confined in local area network (LAN).
Summary of the invention
Technique effect of the present invention can overcome above-mentioned defect, and a kind of auto registration and discover method based on WAN equipment is provided, and it can realize the more feasible method of internet of things equipment auto registration and discovery.
For achieving the above object, the present invention adopts following technical scheme: it comprises equipment auto registration step and automatic device discovery step,
Wherein, equipment auto registration comprises the steps:
(1) set up and be connected for a long time with device management server by connection management module by the internet of things equipment of Supporting connectivity the Internet, to declare the registration of this equipment, wherein declaration information comprises device identification, device IP information;
(2) described device management server receives after the log-on message of equipment, in order to guarantee the uniqueness of device identification, can determine whether to succeed in registration according to device identification, succeed in registration and equipment is added in equipment control group, registration failure returns to registration failure information to device registration;
Wherein, automatic device discovery comprises the steps:.
(1), after the internet of things equipment of Supporting connectivity the Internet succeeds in registration, set up and be connected for a long time with device management server, to declare reaching the standard grade of this equipment, the facility information of declaring when wherein declaration information comprises facility registration and the information of reaching the standard grade;
(2) device management server receives reaching the standard grade after declaration information of equipment, facility information can be added in online equipment group, and set up and be connected for a long time with the equipment of reaching the standard grade;
(3) after internet of things equipment declaration is reached the standard grade successfully, by long-term connection of setting up with device management server, send and search equipment message, device management server can return to all online facility information associated with this equipment;
(4) this internet of things equipment gets after all online facility informations, selects one of them equipment, by session management module, initiates the session with this online equipment;
(5) internet of things equipment sends and searches after equipment message, if while having the state information of miscellaneous equipment to change, device management server can initiatively send to this equipment by the facility information after changing by connection management module;
(6) the long-term connection after disconnection of setting up when internet of things equipment off-line or with device management server, can be to device management server transmitting apparatus deferred information, device management server is received after equipment off-line message, the state of this equipment can be updated to off-line.
The present invention utilizes now widely used IP network, 2G network, 3G network, breaks through current facility registration and the discover method limitation in local area network (LAN), realizes a kind of more feasible internet of things equipment auto registration and the method for discovery.
The present invention needs a device management server that property networked devices is managed, internet of things equipment uses equipment unique identification, connect by the Internet and device management server, device management server is managed the connection status of all internet of things equipments and the session with internet of things equipment.
The present invention mainly comprises the modules such as internet of things equipment, device management server, connection management, session management.
Further, the internet of things equipment that described support the Internet connects refers to, as long as can connecting Internet, not have other specific (special) requirements.
Further, described device management server refers to, moves on the internet, and has the computer server of public ip address.In general, its performance will be higher than common personal computer.
Further, described connection management module refers to, internet of things equipment is connected with device management server, and being connected between internet of things equipment and internet of things equipment, is all by this module management.
Further, described session management module refers to, the session between internet of things equipment and internet of things equipment, and device management server is pushed to the session of internet of things equipment, is all by this module management.
Further, the message sending between internet of things equipment and device management server, based on XML form, is carried out data transmission by TCP and udp protocol.
Method of the present invention, has broken through the restriction of local area network (LAN), expands within the scope of the Internet, supports now widely used IP network, 2G network, 3G network, makes to promote Internet of Things application and is more prone to.
Embodiment
Auto registration and discover method based on WAN equipment of the present invention comprises equipment auto registration step and automatic device discovery step,
Wherein, equipment auto registration comprises the steps:
(1) set up and be connected for a long time with device management server by connection management module by the internet of things equipment of Supporting connectivity the Internet, to declare the registration of this equipment, wherein declaration information comprises device identification, device IP information;
(2) described device management server receives after the log-on message of equipment, in order to guarantee the uniqueness of device identification, can determine whether to succeed in registration according to device identification, succeed in registration and equipment is added in equipment control group, registration failure returns to registration failure information to device registration;
Wherein, automatic device discovery comprises the steps:.
(1), after the internet of things equipment of Supporting connectivity the Internet succeeds in registration, set up and be connected for a long time with device management server, to declare reaching the standard grade of this equipment, the facility information of declaring when wherein declaration information comprises facility registration and the information of reaching the standard grade;
(2) device management server receives reaching the standard grade after declaration information of equipment, facility information can be added in online equipment group, and set up and be connected for a long time with the equipment of reaching the standard grade;
(3) after internet of things equipment declaration is reached the standard grade successfully, by long-term connection of setting up with device management server, send and search equipment message, device management server can return to all online facility information associated with this equipment;
(4) this internet of things equipment gets after all online facility informations, selects one of them equipment, by session management module, initiates the session with this online equipment;
(5) internet of things equipment sends and searches after equipment message, if while having the state information of miscellaneous equipment to change, device management server can initiatively send to this equipment by the facility information after changing by connection management module;
(6) the long-term connection after disconnection of setting up when internet of things equipment off-line or with device management server, can be to device management server transmitting apparatus deferred information, device management server is received after equipment off-line message, the state of this equipment can be updated to off-line.
The present invention is based on XMPP agreement, interaction message adopts the encapsulation of XML form, and transfer of data is used Transmission Control Protocol and udp protocol.
According to regulation of the present invention, internet of things equipment type format is defined as follows:
urn:device:devtype:manufacturer:opera?tesystem:version
Each marker field meaning is described and is seen the following form:
Facility registration: the information flow that internet of things equipment will send XML form to device management server before reaching the standard grade is first registered, and the packaging information form of transmission is as follows:
Wherein outermost layer iq refers to the XMPP communication joint of standard, wherein id refers to this connection identifier, with the uniqueness that guarantees to connect, jid refers to the unique ID of this equipment, server refers to server address, can be IP address, can be also internet domain name, but require server to realize XMPP service end agreement.Each field is following can be repeated to use, and the implication of its representative is identical therewith, repeats no more.
Device management server receives after the log-on message of equipment, in order to guarantee the uniqueness of device identification, can determine whether to succeed in registration according to device identification, succeed in registration and equipment is added in equipment control group, registration failure returns to registration failure information to device registration.
Equipment is reached the standard grade: after internet of things equipment succeeds in registration, in the time that equipment need to be reached the standard grade, to the device management server transmitting apparatus information of reaching the standard grade, information format is:
Device management server receives reaching the standard grade after declaration information of equipment, facility information can be added in online equipment group, and set up and be connected for a long time with the equipment of reaching the standard grade.
Equipment is searched: after equipment is reached the standard grade successfully, in order to carry out session with other online equipment, need to be to device management server application, obtain all online list of devices, this equipment can send to device management server the device discovery messages of XML form, and its form is:
Device management server receives after device discovery messages, also returns to online list of devices with XML form to requesting service, and its form is:
Wherein, in order to guarantee the uniqueness of each session, the id in the iq joint that the id in iq joint must send with equipment is identical.The item joint comprising in query joint refers to each online equipment.
In the time that device management server inquires list of devices for sky, the data format returning to the equipment of initiating request is:
When device management server is found while there is not list of devices, can return to error message to the device management server of initiating request, its form is:
Equipment rolls off the production line: when online equipment completes all working, or because other reason, need to roll off the production line time, can send to device management server the presence information of " unavailable ", to state off-line of this equipment, its form is:
<presence?type=“unavailable”>
<status>going?on?vacation</status>
</presence>
Equipment session: when completing all facility registrations, equipment, equipment reaches the standard grade, after the process such as equipment query, in order to carry out session with miscellaneous equipment, also need to be with XML form encapsulation conversation message, its form is:
Wherein, jid1 refers to the device identification of initiation session, and jid2 refers to session target equipment.What in body joint, comprise is concrete conversation message, and its form can be by user's self-defining.
Internet of things equipment auto registration involved in the present invention and the method for discovery, the process of describing based on above example, comprise that facility registration, equipment are reached the standard grade, the process such as equipment query, equipment roll off the production line, equipment session, can meet the Dialog request between internet of things equipment in wide area network.
Claims (1)
1. the auto registration based on WAN equipment and a discover method, is characterized in that, comprises equipment auto registration step and automatic device discovery step,
Wherein, equipment auto registration comprises the steps:
(1) set up and be connected for a long time with device management server by connection management module by the internet of things equipment of Supporting connectivity the Internet, to declare the registration of this equipment, wherein declaration information comprises device identification, device IP information;
(2) device management server receives after the log-on message of equipment, in order to guarantee the uniqueness of device identification, can determine whether to succeed in registration according to device identification, succeed in registration and equipment is added in equipment control group, registration failure returns to registration failure information to device registration;
Wherein, automatic device discovery comprises the steps:
(1), after the internet of things equipment of Supporting connectivity the Internet succeeds in registration, set up and be connected for a long time with device management server, to declare reaching the standard grade of this equipment, the facility information of declaring when wherein declaration information comprises facility registration and the information of reaching the standard grade;
(2) device management server receives reaching the standard grade after declaration information of equipment, facility information can be added in online equipment group, and set up and be connected for a long time with the equipment of reaching the standard grade;
(3) after internet of things equipment declaration is reached the standard grade successfully, by long-term connection of setting up with device management server, send and search equipment message, device management server can return to all online facility information associated with this equipment;
(4) this internet of things equipment gets after all online facility informations, selects one of them equipment, by session management module, initiates the session with this online equipment;
(5) internet of things equipment sends and searches after equipment message, if while having the state information of miscellaneous equipment to change, device management server can initiatively send to this equipment by the facility information after changing by connection management module;
(6) the long-term connection after disconnection of setting up when internet of things equipment off-line or with device management server, can be to device management server transmitting apparatus deferred information, device management server is received after equipment off-line message, the state of this equipment can be updated to off-line.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210586482.4A CN103905409A (en) | 2012-12-30 | 2012-12-30 | Automatic registration and discovery method based on wide area network devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210586482.4A CN103905409A (en) | 2012-12-30 | 2012-12-30 | Automatic registration and discovery method based on wide area network devices |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103905409A true CN103905409A (en) | 2014-07-02 |
Family
ID=50996564
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210586482.4A Pending CN103905409A (en) | 2012-12-30 | 2012-12-30 | Automatic registration and discovery method based on wide area network devices |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103905409A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105635063A (en) * | 2014-10-31 | 2016-06-01 | 腾讯科技(上海)有限公司 | IOT (Internet of Things) communication protocol configuration method and device |
CN105812909A (en) * | 2014-12-29 | 2016-07-27 | 中国移动通信集团公司 | Video transmission method and device |
CN108055273A (en) * | 2017-12-22 | 2018-05-18 | 北京启明星辰信息安全技术有限公司 | A kind of intranet server finds method, system and Network Security Audit System |
CN109005075A (en) * | 2018-09-25 | 2018-12-14 | 江苏本能科技有限公司 | Traffic headend equipment networking method and system |
CN109618010A (en) * | 2019-01-29 | 2019-04-12 | 浪潮金融信息技术有限公司 | A method of realizing that internet of things equipment is registered and found automatically |
CN110380931A (en) * | 2019-07-17 | 2019-10-25 | 上海庆科信息技术有限公司 | Processing method, device, storage medium, processor and the system of connection status |
CN112383891A (en) * | 2020-10-02 | 2021-02-19 | 中盈优创资讯科技有限公司 | Equipment registration method and device based on object model automatic matching |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101466022A (en) * | 2007-12-19 | 2009-06-24 | 康佳集团股份有限公司 | Internet business gateway for digital household network and audio/video program request method |
US20090210532A1 (en) * | 2006-01-31 | 2009-08-20 | Matsushita Electric Industrial Co., Ltd. | Method for selective service updates for communication networks |
CN101867508A (en) * | 2006-12-31 | 2010-10-20 | 华为技术有限公司 | Method, system and device for realizing home network interconnection |
CN102035760A (en) * | 2009-09-24 | 2011-04-27 | 深圳市闪联信息技术有限公司 | Home network interconnection device, home network service system and equipment discovery method |
CN102123065A (en) * | 2010-12-29 | 2011-07-13 | 东软集团股份有限公司 | Inter-home digital living network alliance (DLNA) equipment discovering and controlling method and device |
CN102724334A (en) * | 2012-06-30 | 2012-10-10 | 华为技术有限公司 | Notification and acquisition method, device and system for address information change in digital living network alliance (DLNA) |
-
2012
- 2012-12-30 CN CN201210586482.4A patent/CN103905409A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090210532A1 (en) * | 2006-01-31 | 2009-08-20 | Matsushita Electric Industrial Co., Ltd. | Method for selective service updates for communication networks |
CN101867508A (en) * | 2006-12-31 | 2010-10-20 | 华为技术有限公司 | Method, system and device for realizing home network interconnection |
CN101466022A (en) * | 2007-12-19 | 2009-06-24 | 康佳集团股份有限公司 | Internet business gateway for digital household network and audio/video program request method |
CN102035760A (en) * | 2009-09-24 | 2011-04-27 | 深圳市闪联信息技术有限公司 | Home network interconnection device, home network service system and equipment discovery method |
CN102123065A (en) * | 2010-12-29 | 2011-07-13 | 东软集团股份有限公司 | Inter-home digital living network alliance (DLNA) equipment discovering and controlling method and device |
CN102724334A (en) * | 2012-06-30 | 2012-10-10 | 华为技术有限公司 | Notification and acquisition method, device and system for address information change in digital living network alliance (DLNA) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105635063A (en) * | 2014-10-31 | 2016-06-01 | 腾讯科技(上海)有限公司 | IOT (Internet of Things) communication protocol configuration method and device |
CN105635063B (en) * | 2014-10-31 | 2019-04-12 | 腾讯科技(上海)有限公司 | Internet of Things communication protocol configuration method and device |
CN105812909A (en) * | 2014-12-29 | 2016-07-27 | 中国移动通信集团公司 | Video transmission method and device |
CN108055273A (en) * | 2017-12-22 | 2018-05-18 | 北京启明星辰信息安全技术有限公司 | A kind of intranet server finds method, system and Network Security Audit System |
CN108055273B (en) * | 2017-12-22 | 2020-08-28 | 北京启明星辰信息安全技术有限公司 | Method and system for discovering intranet server and network security audit system |
CN109005075A (en) * | 2018-09-25 | 2018-12-14 | 江苏本能科技有限公司 | Traffic headend equipment networking method and system |
CN109618010A (en) * | 2019-01-29 | 2019-04-12 | 浪潮金融信息技术有限公司 | A method of realizing that internet of things equipment is registered and found automatically |
CN110380931A (en) * | 2019-07-17 | 2019-10-25 | 上海庆科信息技术有限公司 | Processing method, device, storage medium, processor and the system of connection status |
CN112383891A (en) * | 2020-10-02 | 2021-02-19 | 中盈优创资讯科技有限公司 | Equipment registration method and device based on object model automatic matching |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103905409A (en) | Automatic registration and discovery method based on wide area network devices | |
EP2721805B1 (en) | Apparatus and method for exchanging data between upnp based devices | |
US8942212B2 (en) | Autoconfiguration system for wireless sensor network and its method, and gateway apparatus for wireless sensor network | |
US9602602B2 (en) | Apparatus and method for identifying interoperability between object identifier-based heterogeneous identifier nodes for next generation network | |
CN103905511A (en) | Point-to-point service discovering and calling system and method based on wide area network | |
US20130311570A1 (en) | Communication system for establishing p2p connections and the corresponding devices using the same | |
CN103441881A (en) | Unified device management method | |
WO2013091382A1 (en) | Method and system for realizing compatibility of electrical appliance, and universal peripheral access gateway | |
US8493888B2 (en) | Connectivity architecture for service discovery | |
CN110740490A (en) | Terminal network access method, gateway equipment, system, storage medium and device | |
US9450816B2 (en) | Provisioning device, and method of setting network parameter in provisioning network | |
CN101212372B (en) | Method and system for interworking between digital household equipment networks | |
EP2579525B1 (en) | System and method for managing device identifiers of ubiquitous network | |
CN105409187A (en) | Apparatus and method for performing wireless docking operation in communication system supporting universal plug and play protocol | |
CN109618010A (en) | A method of realizing that internet of things equipment is registered and found automatically | |
WO2018010595A1 (en) | Network access method, apparatus and system | |
EP2693691B1 (en) | Method and apparatus for initializing gateway in device management system | |
CN105100158A (en) | Message pushing and obtaining methods and apparatuses | |
CN114422288B (en) | Communication system based on Modbus protocol | |
US20150106462A1 (en) | Communication processing method, server, and terminal | |
WO2014166218A1 (en) | Fault management method and apparatus | |
CN104955153A (en) | Method, device and appliances for discovering resources | |
EP2811694A1 (en) | Method and apparatus for transmitting and receiving service in wireless communication system | |
CN102130807A (en) | Equipment discovery method for realizing real-time dynamic networking in personal internet | |
US20100049804A1 (en) | Instant Messaging |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20140702 |
|
WD01 | Invention patent application deemed withdrawn after publication |