Method and device for registering in CoAP network

A network and registration information technology, which is applied in the field of network communication, can solve the problems of not being able to obtain the online status of the terminal in time, registering, and not being able to ensure the correct delivery of CoAP messages, etc.

Inactive Publication Date: 2011-04-13
董玉琳
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the prior art, when a terminal supporting CoAP is turned on or its IP address changes, it cannot immediately register the current IP address on the server or platform in the netwo

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for registering in CoAP network
  • Method and device for registering in CoAP network
  • Method and device for registering in CoAP network

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] In this embodiment, the M2M terminal acts as the registration requester who initiates the registration, and the server or platform in the network acts as the accepting party of the registration request, and the M2M terminal sends the CoAP message carrying the registration information by extending the CoAP protocol and the corresponding header field, Such as figure 2 As shown, the method specifically includes:

[0024] Step 21, when the IP address of the M2M terminal in the CoAP network changes, a CoAP registration event is triggered.

[0025] When the IP address of the M2M terminal changes, it needs to report the new IP address to the server or platform in the CoAP network, otherwise the server or platform cannot recognize its status. Therefore, when the IP address of the M2M terminal changes, such as powering on, a CoAP registration event will be triggered.

[0026] Step 22, sending a CoAP message carrying registration information, said carrying registration informa...

Embodiment 2

[0053] In this embodiment, the M2M terminal acts as the registration requester who initiates the registration, and the server or platform in the network acts as the accepting party of the registration request, and the M2M terminal sends a CoAP message carrying registration information by extending a new header field, such as image 3 As shown, the method specifically includes:

[0054] Wherein, the implementation process of steps 31 and 33 is the same as figure 2 Steps 21 and 23 in the illustrated embodiment are similar, and will not be repeated here.

[0055] Step 32, sending a CoAP message carrying registration information, said carrying registration information including passing the registration information through an extended header field.

[0056] After the CoAP registration event is triggered, the M2M terminal sends a CoAP message to the server or the platform. The CoAP message includes the registration information through the extended header field, where the extended ...

Embodiment 3

[0075] In this embodiment, the M2M terminal acts as the registration requester who initiates the registration, and the server or platform in the network acts as the accepting party of the registration request, and the M2M terminal sends the CoAP message carrying the registration information through the message body carrying the registration information, as shown in Figure 4 As shown, the method specifically includes:

[0076] Wherein, the implementation process of steps 41 and 43 is the same as figure 2 Steps 21 and 23 in the illustrated embodiment are similar, and will not be repeated here.

[0077] Step 42, sending a CoAP message carrying registration information, where carrying the registration information includes carrying the registration information in a CoAP message body.

[0078] After the CoAP registration event is triggered, the M2M terminal sends a CoAP message to the server or the platform. The CoAP message includes the registration information carried in the Co...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method and device for registering in a Constrained Application Protocol (CoAP) network. The method comprises the following steps of: receiving a CoAP message carrying registering information, wherein the registering information is carried by one or more of an extensional CoAP message and a corresponding header field, an extensional header field, a message body or a uniform resource identifier (URI); and judging whether the CoAP message is sent by a contracted user, if so, storing the registering information, and otherwise, refusing a registering request corresponding to the CoAP message. In the method, a terminal can register for the current Internet protocol (IP) address of the terminal in a server or a platform in the network in time by sending the CoAP message carrying the registering information, so that the server or the platform can acquire the on-line state of the terminal in time, and ensure that the CoAP message sent to an identifier of the terminalcan be sent accurately.

Description

technical field [0001] The invention relates to a method and device for registering in a CoAP network, belonging to the technical field of network communication. Background technique [0002] IOT (Internet of Things, Internet of Things), as a new generation of information technology, has attracted more and more attention from various industries. Different countries and standard organizations have different interpretations of their specific meanings. For example, IOT is defined as a dynamic global network infrastructure with self-organizing capabilities based on standards and interoperable communication protocols, in which physical and virtual "things" have identities, physical attributes, virtual characteristics, and intelligent interfaces. , and seamlessly integrated with the information network; or, it is a kind of information sensing equipment such as radio frequency identification (RFID), infrared sensors, global positioning systems, laser scanners, etc., to connect any ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/06H04L29/12
CPCH04L29/08108H04W4/005H04L67/04H04L29/12301H04L61/2076H04W4/70H04L61/5076
Inventor 张颖
Owner 董玉琳
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products