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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com