Method and equipment for transmitting data resource

A technology of data resources and response methods, applied in the field of network communication, can solve the problems of not considering the specific state of the server, aggravating congestion, and not being able to effectively solve node-level congestion, so as to improve the efficiency of message interaction and transmission efficiency

Active Publication Date: 2012-09-19
HUAWEI TECH CO LTD
View PDF4 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the algorithm used in the existing technology is based on time slots, and congestion control at the message level cannot effectively solve the congestion problem at the node level. When the server reaches a bottleneck due to resource processing capacity or an abnormality occurs, the exponential regression is a drop in the bucket. , and because it is a random algorithm on the client side, it does not take into account the specific state of the server at all, which may further aggravate the congestion in severe cases

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 equipment for transmitting data resource
  • Method and equipment for transmitting data resource
  • Method and equipment for transmitting data resource

Examples

Experimental program
Comparison scheme
Effect test

example

[0109] The gateway sends a resource discovery request to the sensor:

[0110] REQ: GET / .well-known / core---Send a request to the default URI, which is the root directory to get the resource list

[0111] Sensor sends resource response to gateway:

[0112] RES: 200OK -- The response identifier was obtained successfully, and it carried 2 sets of resource indication information

[0113] ;ct=41;n="TemperatureC", --temperature resource, content type 41, name is TemperatureC

[0114] ;ct=41;n="LightLux"'--Light resource, content type 41, name is LightLux

[0115] ;ct=52; n="firmware"; asz=65000; snapshot=0--firmware resource, content type 52, name is firmware, non-dynamic resource, accurate capacity is 65000 bytes;

[0116] ;ct=52;n="log";asz=88000;snapshot=1--firmware resource, content type 52, name is log, dynamic resource, current data is snapshot, and its precise capacity is 88000 bytes;

[0117] The response message is encapsulated in the message body of th...

Embodiment 1

[0252] In the request message sent in step S1110, the response mode option is a delayed one-time response or a one-time immediate response, and the request message also carries message type indication information and a delay time option. The message type indication information here indicates that the request message is a multicast request, and the delay time option is used to instruct multiple servers to arbitrarily select a time to send a response message to the client within the time indicated by the delay time option, in order to Avoid multiple servers sending back responses to the client at the same time, causing network congestion, and the client is too late to process. For example, within the time indicated by the delay time option, multiple servers send a response message to the client after a random delay.

[0253] For example, a building administrator uses the console (multicast gateway) to send an instruction (multicast request) to turn on the lights to multiple ...

Embodiment 2

[0263] In the request message sent in step S1110, the response mode option is multiple delayed responses, which means that the client subscribes (observes) the data of the server. In this case, the server sends a notification response message to the client. According to an embodiment of the present invention, the notification response message carries the longest duration (Max-Age) option and the waiting time (Patience) option, wherein the Max-Age option is used to indicate the longest valid time of the value of the resource; the Patience option It is used to indicate that the server will respond within the time indicated by the Patience option after the Max-Age expires. In the case that the value of the resource has not changed, the server can use this Patience option to delay the sending of the response message. In this case, the client can use this to judge. After the Max-Age expires, the server will try to send a notification response to the client before the Patience ti...

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 embodiment of the invention relates to a method for transmitting a data resource and equipment for transmitting the data resource. The method for transmitting the data resource in an internet of things system based on a node of a lightweight application layer protocol comprises the steps of: sending a request message with a response mode option to a server, wherein the response mode option shows one of the following response modes: once immediate response, delayed once response, delayed multi-response, and cancelling of delayed multi-response; and receiving the response message transmitted by the server and produced according to the response mode option. According to the method and the equipment for transmitting data resource, the response mode option can be specified in the message interaction process; the client can specify the response as required, thereby improving the message interaction efficiency of CoAP.

Description

technical field [0001] The embodiments of the present invention relate to the field of network communication, and more specifically, to a method and device for data resource transmission. Background technique [0002] The lightweight application layer protocol (Constrained Application Protocol, referred to as "CoAP") is mainly used in IoT (Machine to Machine, referred to as "M2M") scenarios, such as: home controllers, building automation, smart energy, sensor networks Wait. In such an environment, the functions of these machines are relatively simple. Generally, the processor has only 8 bits, the storage space is small, it does not support complex transmission protocols, and the data transmission rate is also low. CoAP provides a request / response interaction model that supports embedded resource discovery, including key web page concepts such as Uniform Resource Identifiers (URIs) and content types. CoAP can be easily translated to Hypertext Link Protocol (HTTP) for integr...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L29/06
CPCH04L67/1078H04L67/108H04L67/142H04L67/143H04L69/16H04L69/329H04W28/0236H04W28/10H04W80/12H04L67/12H04L67/5651H04L67/565
Inventor 李克鹏田林一卞永刚陈显锋
Owner HUAWEI TECH CO LTD
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