WO2019047911A1 - 一种物联网资源订阅的方法、设备和系统 - Google Patents
一种物联网资源订阅的方法、设备和系统 Download PDFInfo
- Publication number
- WO2019047911A1 WO2019047911A1 PCT/CN2018/104547 CN2018104547W WO2019047911A1 WO 2019047911 A1 WO2019047911 A1 WO 2019047911A1 CN 2018104547 W CN2018104547 W CN 2018104547W WO 2019047911 A1 WO2019047911 A1 WO 2019047911A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resource
- parameter
- server
- condition
- request message
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/82—Miscellaneous aspects
-
- 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/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
-
- 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
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- 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/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
Definitions
- the present application relates to the field of communications, and in particular, to a method, device, and system for resource subscription in the Internet of Things field.
- IoT devices such as sensors, smart devices or terminals
- IoT systems it is desirable to minimize the interaction of data or messages to save the consumption of transmission resources, and the energy consumption of the devices. Battery life, etc.
- the resource subscription mechanism can implement the terminal or the device to report the resource information of the terminal or the device to the server actively, without requiring the server to frequently query the terminal or the device, thereby reducing the message interaction between the server and the terminal.
- a server sometimes needs to monitor multiple resources, multiple object instances, or multiple objects at the same time.
- the current resource subscription mechanism can generally only subscribe to a single resource or an object instance.
- the Lightweight M2M (LwM2M) protocol uses write-attributes and observe operations to subscribe to resources, but the write-attributes operation can only set subscription rules for individual resources, object instances, or objects.
- the observe operation can only subscribe.
- the present application provides a method, device, and system for subscription of an Internet of Things resource to meet the business requirements for flexible subscription of multiple resources, object instances, or objects in an actual business scenario.
- the application provides a method for subscribing to an Internet of Things resource.
- the server sends a request message to the device, where the request message includes an identifier of the first resource and a first parameter, where the first resource includes the first sub-resource and the second sub-resource.
- the first parameter is used to indicate that the device sends the updated resource value to the server; the device determines that the preset or the server specified condition is met, and sends the value of the updated sub-resource in the first resource to the server.
- the device determines that the preset or the server specified condition is met, and the value of the current first sub-resource is different from the value of the first sub-resource sent to the server last time, and the current The value of the second sub-resource is the same as the value of the second sub-resource sent to the server last time, and the device sends the value of the current first sub-resource to the server.
- the request message sent by the server to the device further includes a second resource and a second parameter, where the second parameter includes a condition for determining the second resource, and when the device determines that the second resource meets the second parameter, When the condition is included, the value of the updated resource is sent to the server.
- the present application provides another method for subscribing to an Internet of Things resource.
- the server sends a request message to the device, where the request message includes an identifier of the first resource and an identifier of the second resource, where the request message further includes the first parameter and the first a second parameter, the second parameter includes a condition for determining a second resource, where the first parameter is used to indicate that the value of the second resource is not required to be sent to the server; and when the device determines that the second resource meets the second parameter Condition, the device sends the value of the current first resource to the server.
- the method enables the server to explicitly indicate which resources of the device need to be reported in the subscription request message, and which resources are only used as the subscription judgment condition.
- the device determines that the subscription condition is met, the device does not need to report the value of the resource that is not required to be reported, which not only reduces the transmission.
- the performance consumption on the device side and the server side is also reduced.
- the application further provides a method for subscribing to an Internet of Things resource, where the server sends a request message to the device, where the request message includes an identifier of the first resource, a first parameter, an identifier of the second resource, a second parameter, and a
- the third parameter the first parameter includes a condition for determining the first resource
- the second parameter includes a condition for determining the second resource
- the third parameter includes a data reporting condition
- the data reporting condition is that the first resource is performed according to the first parameter. Determining and logically combining the second resource according to the second parameter; the device determining that the first resource and the second resource meet the data reporting condition, and sending the current value of the first resource and the value of the second resource to the server.
- the subscription method enables the server to flexibly set subscription conditions using logical expressions, which greatly enhances the flexibility of resource subscription in a multi-resource subscription scenario.
- the data reporting condition may be a logical expression consisting of logical relationships such as "and", "or", and "non".
- the data reporting condition may be that the first resource satisfies the condition included in the first parameter, and the second resource satisfies the second condition.
- the data reporting condition may also be that the first resource satisfies the condition included in the first parameter, or the second resource satisfies the condition included in the second parameter.
- the present application provides an Internet of Things server, which implements the functions of the Internet of Things server in the method of the first aspect or the second aspect or the third aspect. These functions can be implemented in hardware or in software by executing the corresponding software.
- the hardware or software includes one or more modules corresponding to the functions described above.
- the present application provides an Internet of Things device, which implements the functions of the Internet of Things device in the method of the first aspect or the second aspect or the third aspect. These functions can be implemented in hardware or in software by executing the corresponding software.
- the hardware or software includes one or more modules corresponding to the functions described above.
- the present application provides a computer readable storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the first aspect or the second aspect or the third aspect described above Said method.
- the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect or the second or third aspect.
- the present application provides an Internet of Things system that implements resource subscription, and the system includes at least an Internet of Things server and an Internet of Things device as described above.
- FIG. 1 is a schematic structural diagram of an Internet of Things system according to an embodiment of the present invention.
- FIG. 2 is a schematic structural diagram of a device resource according to an embodiment of the present invention.
- FIG. 3 is a flowchart of a resource subscription method according to an embodiment of the present invention.
- FIG. 4 is a flowchart of another resource subscription method according to an embodiment of the present invention.
- FIG. 5 is a schematic diagram of a computer device according to an embodiment of the present invention.
- FIG. 6 is a schematic diagram of a server function module according to an embodiment of the present disclosure.
- FIG. 7 is a schematic diagram of a function module of a device according to an embodiment of the present disclosure.
- FIG. 1 shows an Internet of Things system, in which device 01, device 02, and device 03 are connected to server 0, and server 0 manages device 01, device 02, and device 03, such as device software and hardware upgrade, device function control, For resource subscription, resource query, etc.
- server 0 may be an Internet of Things connection management platform or an Internet of Things application server; device 011 and device 012 are connected to server 0 via device 01, and device 01 may be regarded as intermediate between server 0 and device 011/012.
- Devices such as home gateways, aggregation gateways, etc., server 0 can also manage devices 011 and devices 012, messages or data between server 0 and devices 011/012 are forwarded via device 01, and device 01 can also forward messages or data.
- smart terminal devices supporting different short-range communication technologies in smart homes communicate with home gateways through different connection methods and message formats, and the home gateway Connected to the server in a unified connection mode and message format.
- Device 01 shields the access side from server 0. Differences of message formats and communication protocols, so that the server can be connected to 0 and the management of different terminal devices.
- the present application does not limit the connection mode or communication protocol between the server 0 and any device.
- the server 0 and the device 01 may use a wired connection, and use the Constrained Application Protocol (CoAP) for data or Message transmission, between the server 0 and the device 02, a cellular-based Narrow Band Internet of Things (NB-IoT) wireless connection technology can be used to perform data or messages using the Message Queuing Telemetry Transport (MQTT) protocol. transmission.
- CoAP Constrained Application Protocol
- NB-IoT Narrow Band Internet of Things
- MQTT Message Queuing Telemetry Transport
- server and the device are numbered, and the numbers in the names of server 0, device 01, device 02, device 03, device 011 and device 012 represent only the number, the number itself is for the server or The device does not constitute any limit.
- the server manages the device in the form of resources.
- the "resource” is an abstract concept, which can refer to the physical form of the device, the model of the device, the software and hardware version, the manufacturer and other static attributes. It can also refer to the operations that the device can perform, the events that can be reported, the parameters, and the dynamic parameters that can be read.
- Each resource has a unique identifier, which can be a name or URI or any other type or format that can distinguish and identify the resource. In this application, the URI is used as an example to identify the resource.
- the URI of the server 0 is "/server0”
- the URIs of the device 01, the device 011, the device 012, the device 02, and the device 03 are respectively "/server0/device01”.
- the URI of a resource such as a static attribute or a dynamic attribute of the device may be different according to the device model.
- the device model of the LwM2M protocol is used as an example to describe the URI of the resource provided by the device.
- Those skilled in the art can understand that other technical standards can be used in the implementation of the technical solution provided by the embodiment of the present application.
- Device model or resource ID is used as an example to describe the URI of the resource provided by the device.
- the device 02 is a smart wearable device, and can provide a location service.
- the resource structure of the device 02 is as shown in FIG. 2.
- the device 02 includes two objects, a device and a Location, and the "object" can understand a resource set of similar attributes or functions.
- the Device number is 3 and the Location number is 6.
- the same "object” can have one or more instance instances. In the example shown in Figure 2, both the Device and Location objects have only one instance, and the instance number is 0.
- the object instance contains Multiple resources, each with its own number. The number can be used to form a specific resource in the URI identification device 02.
- server 0 can subscribe to the device 02 for location information under the specified conditions using the method shown in FIG.
- Device 02 first registers with server 0.
- the device 02 registers the object, the instance, and the resource included in the device02 as shown in FIG. 2 to the server 0 in the registration request message, and the registration message includes at least the URI of the object or the instance or the resource relative to the device02 (that is, the device02 is the root path).
- URI such as "/3" or "/3/0” or "/3/0/9”.
- Server 0 assigns a URI to device 02 in the registration response message, such as "/server0/device02".
- the device 02 may also register only the device02 itself, and the server 0 finds the URI of the object or instance or resource contained in the device02 through the discovery process.
- the server 0 subscribes to the device 02 for the latitude and longitude information of the device 02 when the speed of the device 02 is greater than 5 meters per second.
- the subscription request can be implemented by using a plurality of messages. This embodiment takes a Fetch message as an example.
- the server 0 sends a Fetch message to the device 02, which includes not only the URI of the Speed resource included in the device02, but the Speed is greater than the condition of 5 meters per second.
- the Speed is only used as a condition for subscribing to the condition of the subscription without reporting the Speed value, and includes the Latitude and Longitude resources.
- URI The information included in the above subscription request can be expressed as:
- e represents an array of resources
- n represents a resource name or URI
- gt represents greater than
- ra indicates that the Speed resource is only used as a judgment condition in the current subscription, and does not need to be reported; If the value of "ra” is "0” or does not contain “ra”, the value of the resource needs to be reported.
- the Fetch message contains the URIs of the three resources "/6/0/6", “/6/0/0” and "/6/0/1", after the resource "/6/0/6” Two parameters are added, one of which indicates the condition for the "/6/0/6” resource, and the other parameter indicates that the value of the "/6/0/6” resource is not required to be reported. It should be noted that other parameters or information may be included in the Fetch message, such as the URI “/server0/device02” including the device 02, and details are not described herein.
- the device 02 sends a subscription success response message to the server 0.
- the device 02 determines or detects the Speed resource according to the subscription condition specified by the server 0.
- the device 02 determines that the Speed resource is greater than 5 meters per second, the device 02 sends the values of the "/6/0/0" and "/6/0/1" resources, that is, the values of Latitude and Longitude, to the server at this time.
- the server 0 reduces the amount of data reported by the device 02 to the server 0 by adding an indication that does not need to be reported, such as "ra”: "1", in the subscription request, saving bandwidth and device consumption, and improving For the accuracy and efficiency of the subscription, the device 02 only needs to report the value of the resource specified by the server 0, and the server 0 does not need to receive or process the value of the resource that the server 0 does not care about, such as the value of Speed.
- the server 0 uses the change of one resource as the subscription condition of another resource in the subscription request, but in the actual application scenario, the server 0 may need to change the multiple resources at the same time as the subscription condition. For example, server 0 may need to subscribe to the location information of device 02 when Speed is greater than 5 meters per second (assuming that the value of the Speed resource is in meters per second) and the remaining battery BatteryLevel is less than 20% (assuming the value unit of the BatteryLevel resource is a percentage %). Server 0 needs to combine Speed and BatteryLevel as the subscription conditions for the location information.
- the information included in the 302 subscription request in FIG. 3 is exemplified by the Fetch message:
- server 0 If server 0 only needs to obtain location information, in order to reduce the amount of data reporting, server 0 can also set "/6/0/6" Speed and "/3/0/9" BatteryLevel as resources that do not need to be reported, then 302
- the information included in the subscription request takes the Fetch message as an example:
- the logical relationship between two or more resource judgment conditions in the "re" data reporting condition may be a logical relationship of "and", “or”, “non”, or a combination of multiple logical relationships, and is implemented by the present invention. This example does not limit this.
- the server 0 subscribes to the registered device 02 for the device and the location information with the speed greater than 5 meters per second.
- the Fetch message is used as an example, and the 402 resource subscription request message is included.
- the "rf" parameter is valid only for the Device(3) object.
- the device 02 reports the value of the changed resource in the Device(3) object and the value of all the resources in the Location(6) object.
- the solution provided by the embodiment of the present invention is mainly introduced from the perspective of the subscription process and the message interaction.
- entities such as servers and devices include hardware structures and/or software modules for performing respective functions in order to implement the above functions.
- the present invention can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
- the server or device entity of FIG. 1 can be implemented by the computer device (or system) of FIG.
- FIG. 5 is a schematic diagram of a computer device according to an embodiment of the present invention.
- Computer device 500 includes at least one processor 501, a communication bus 502, a memory 503, and at least one communication interface 504.
- the processor 501 can be a general purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more for controlling the execution of the program of the present invention. integrated circuit.
- CPU general purpose central processing unit
- ASIC application-specific integrated circuit
- Communication bus 502 can include a path for communicating information between the components described above.
- Communication interface 504 using any type of transceiver, for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. .
- RAN radio access network
- WLAN wireless local area networks
- the memory 503 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions.
- the dynamic storage device can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be Any other media accessed, but not limited to this.
- the memory can exist independently and be connected to the processor via a bus.
- the memory can also be integrated with the processor.
- the memory 503 is used to store application code for executing the solution of the present invention, and is controlled by the processor 501 for execution.
- the processor 501 is configured to execute application code stored in the memory 203 to implement the functions in the method of the present patent.
- processor 201 may include one or more CPUs, such as CPU0 and CPU1 in FIG.
- computer device 200 can include multiple processors, such as processor 501 and processor 508 in FIG. Each of these processors can be a single-CPU processor or a multi-core processor.
- processors herein may refer to one or more devices, circuits, and/or processing cores for processing data, such as computer program instructions.
- computer device 500 may also include an output device 505 and an input device 506 as an embodiment.
- Output device 505 is in communication with processor 501 and can display information in a variety of ways.
- the output device 205 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. Wait.
- Input device 506 is in communication with processor 501 and can accept user input in a variety of ways.
- input device 206 can be a mouse, keyboard, touch screen device or sensing device, and the like.
- the computer device 500 described above can be a general purpose computer device or a special purpose computer device.
- the computer device 500 can be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device, an embedded device, or have FIG. A device of similar structure.
- PDA personal digital assistant
- Embodiments of the invention do not limit the type of computer device 500.
- the embodiment of the present invention may further divide the function module into the server or the device.
- each function module may be divided according to each function, or two or more functions may be integrated into one module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that, in the embodiment of the present invention, the division of the module is schematic, and only one logical function is divided, and the actual implementation may have another division manner.
- FIG. 6 is a schematic diagram showing the possible structure of a server entity involved in the foregoing embodiment.
- the server 600 includes a subscription module 601 and a communication module 602.
- the subscription module 601 is responsible for constructing the subscription described in the foregoing embodiment.
- the message is requested and a subscription request message is sent to the device via communication module 602, such as the 302 message in FIG. 3 and the 402 message in FIG.
- the communication module 602 can also be configured to receive data reported by the device, such as the 305 message in FIG. 3 and the 405 message in FIG. 4, and the forwarding subscription module 601 parses and processes the message.
- FIG. 7 is a schematic structural diagram of a device entity involved in the foregoing embodiment.
- the device 700 includes a judgment processing module 701 and a communication module 702.
- the judgment processing module 701 is responsible for receiving the subscription received by the communication module 702.
- the request message is parsed, and the data report message is constructed when it is judged that the subscription condition is satisfied, and is reported to the server through the communication module 702, such as the 305 message in FIG. 3 and the 405 message in FIG.
- the above functional modules can be implemented in the form of hardware or in the form of software functional modules.
- the subscription module 601 of the server 600 or the judgment processing module 701 of the device 700 may be implemented by calling the code in the memory 503 by the processor 501 in FIG. 5, which is implemented by the present invention. There are no restrictions on this.
- the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
- software it may be implemented in whole or in part in the form of a computer program product.
- the computer program product includes one or more computer instructions.
- the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
- the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
- the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
- the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
- the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
- parameters such as “ra”, “re” and “rf” proposed in the embodiments of the present invention may be used alone or in combination.
- the process and message description are performed by using the device 02 and the Fetch message as an example in the embodiment of the present invention. It should be understood by those skilled in the art that the above process is also applicable to other devices registered in the server, such as the device 01 and the device 011, and the same applies to The method flow of using other messages for subscription, the message example, the parameter naming and the format in the above embodiment are only one possible implementation manner, and any modification is made based on the technical solutions and solution concepts of the present invention. And equivalent replacements, improvements, etc., are intended to be included within the scope of the present invention.
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)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
Claims (40)
- 一种物联网资源订阅的方法,其特征在于,包括:设备接收服务器发送的请求消息,所述请求消息中包括第一资源的标识和第一参数,所述第一资源包括第一子资源和第二子资源,所述第一参数用于指示向所述服务器发送更新的资源的值;所述设备判断满足预设或所述服务器指定的条件,所述设备向所述服务器发送消息,所述消息中包括所述第一资源中更新的子资源的值。
- 如权利要求1所述的方法,其特征在于,所述设备判断满足预设或所述服务器指定的条件,所述设备向所述服务器发送消息,所述消息中包括所述第一资源中更新的子资源的值,具体包括:所述设备判断满足预设或所述服务器指定的条件,且当前所述第一子资源的值与上次向所述服务器发送的所述第一子资源的值不同,且当前所述第二子资源的值与上次向所述服务器发送的所述第二子资源的值相同,所述设备向所述服务器发送当前所述第一子资源的值。
- 如权利要求1或2所述的方法,其特征在于,所述请求消息中还包括第二资源的标识和第二参数,所述第二参数包括对所述第二资源进行判断的条件,所述设备判断满足预设或所述服务器指定的条件,具体包括:所述设备判断所述第二资源满足所述第二参数中包括的条件。
- 如权利要求3所述的方法,其特征在于,所述设备向所述服务器发送的消息中还包括所述第二资源的值。
- 如权利要求1-4任一所述的方法,其特征在于,所述请求消息为用于资源订阅的请求消息。
- 如权利要求1-5任一所述的方法,其特征在于,所述请求消息为FETCH消息。
- 一种物联网资源订阅的方法,其特征在于,包括:设备接收服务器发送的请求消息,所述请求消息中包括第一资源的标识和第二资源的标识,所述请求消息中还包括第一参数和第二参数,所述第二参数包括对所述第二资源进行判断的条件,所述第一参数用于指示不需要向所述服务器发送所述第二资源的值;所述设备判断所述第二资源满足所述第二参数中包括的条件,向所述服务器发送当前所述第一资源的值。
- 如权利要求7所述的方法,其特征在于,所述请求消息为用于资源订阅的请求消息。
- 如权利要求7或8所述的方法,其特征在于,所述请求消息为FETCH消息。
- 一种物联网资源订阅的方法,其特征在于,包括:设备接收服务器发送的请求消息,所述请求消息中包括第一资源的标识,第一参数,第二资源的标识,第二参数和第三参数,所述第一参数包括对所述第一资源进行判断的条件,所述第二参数包括对所述第二资源进行判断的条件,所述第三参数包括数据上报条件,所述数据上报条件为根据所述第一参数对所述第一资源进行判断和根据所述第二参数对所述第二资源进行判断的逻辑组合;所述设备判断所述第一资源和所述第二资源满足所述数据上报条件,向所述服务器发送当前所述第一资源的值和所述第二资源的值。
- 如权利要求10所述的方法,其特征在于,所述数据上报条件为根据所述第一参数对所述第一资源进行判断和根据所述第二参数对所述第二资源进行判断的逻辑组合,具体包括所述数据上报条件为所述第一资源满足所述第一参数包括的条件,且所述第二资源满足所述第二参数包括的条件;所述设备判断所述第一资源和所述第二资源满足所述数据上报条件,向所述服务器发送当前所述第一资源的值和所述第二资源的值,具体包括:所述设备判断所述第一资源满足所述第一参数包括的条件,且所述第二资源满足所述第二参数包括的条件,所述设备向所述服务器发送当前所述第一资源的值和所述第二资源的值。
- 如权利要求10所述的方法,其特征在于,所述数据上报条件为根据所述第一参数对所述第一资源进行判断和根据所述第二参数对所述第二资源进行判断的逻辑组合,具体包括所述数据上报条件为所述第一资源满足所述第一参数包括的条件,或所述第二资源满足所述第二参数包括的条件;所述设备判断所述第一资源和所述第二资源满足所述数据上报条件,向所述服务器发送当前所述第一资源的值和所述第二资源的值,具体包括:所述设备判断所述第一资源满足所述第一参数包括的条件,或所述第二资源满足所述第二参数包括的条件,所述设备向所述服务器发送当前所述第一资源的值和所述第二资源的值。
- 如权利要求10-12任一所述的方法,其特征在于,所述请求消息为FETCH消息。
- 一种物联网资源订阅的方法,其特征在于,包括:服务器向设备发送请求消息,所述请求消息中包括第一资源的标识和第一参数,所述第一资源包括第一子资源和第二子资源,所述第一参数用于指示所述设备向所述服务器发送更新的资源的值。
- 如权利要求14所述的方法,其特征在于,所述服务器向所述设备发送所述请求消息后,所述方法还包括,所述服务器接收所述设备针对所述请求消息发送的资源上报消息,其中包括所述第一子资源的值。
- 如权利要求14或15所述的方法,其特征在于,所述请求消息中还包括第二资源和第二参数,所述第二参数包括对所述第二资源进行判断的条件,所述第二参数用于指示所述设备在判断所述第二资源满足所述第二参数中包括的条件时,向所述服务器发送更新的资源的值。
- 如权利要求14-16任一所述的方法,其特征在于,所述请求消息为FETCH消息。
- 一种物联网资源订阅的方法,其特征在于,包括:服务器向设备发送请求消息,所述请求消息中包括第一资源的标识和第二资源的标 识,所述请求消息中还包括第一参数和第二参数,所述第二参数包括对所述第二资源进行判断的条件,所述第一参数用于指示所述设备不需要向所述服务器发送所述第二资源的值。
- 如权利要求18所述的方法,其特征在于,所述服务器向所述设备发送所述请求消息后,所述方法还包括,所述服务器接收所述设备针对所述订阅请求发送的资源上报消息,其中包括所述第一资源的值。
- 如权利要求18或19所述的方法,其特征在于,所述请求消息为FETCH消息。
- 一种物联网资源订阅的方法,其特征在于,包括:服务器向设备发送请求消息,所述请求消息中包括第一资源的标识,第一参数,第二资源的标识,第二参数和第三参数,所述第一参数包括对所述第一资源进行判断的条件,所述第二参数包括对所述第二资源进行判断的条件,所述第三参数包括数据上报条件,所述数据上报条件为根据所述第一参数对所述第一资源进行判断和根据所述第二参数对所述第二资源进行判断的逻辑组合。
- 如权利要求21所述的方法,其特征在于,所述数据上报条件为根据所述第一参数对所述第一资源进行判断和根据所述第二参数对所述第二资源进行判断的逻辑组合,具体包括所述数据上报条件为所述第一资源满足所述第一参数包括的条件,且所述第二资源满足所述第二参数包括的条件。
- 如权利要求21所述的方法,其特征在于,所述数据上报条件为根据所述第一参数对所述第一资源进行判断和根据所述第二参数对所述第二资源进行判断的逻辑组合,具体包括所述数据上报条件为所述第一资源满足所述第一参数包括的条件,或所述第二资源满足所述第二参数包括的条件。
- 如权利要求21-23任一所述的方法,其特征在于,所述请求消息为FETCH消息。
- 一种物联网服务器,其特征在于,包括通信接口,存储器和处理器,其中通信接口用于接收或发送消息,处理器通过总线与存储器和通信接口连接,处理器执行存储器中存储的计算机执行指令,以完成14-24任一所述方法中服务器的功能。
- 一种物联网设备,其特征在于,包括判断处理模块和通信模块,其中,所述通信模块,用于接收服务器发送的请求消息,所述请求消息中包括第一资源的标识和第一参数,所述第一资源包括第一子资源和第二子资源,所述第一参数用于指示向所述服务器发送更新的资源的值;所述判断处理模块,用于解析所述请求消息,判断满足预设或所述服务器指定的条件,通过所述通信模块向所述服务器发送消息,所述消息中包括所述第一资源中更新的子资源的值。
- 如权利要求26所述的设备,其特征在于,所述判断处理模块,用于解析所述请求消息,判断满足预设或所述服务器指定的条件,通过所述通信模块向所述服务器发送消息,所述消息中包括所述第一资源中更新的子资源的值,具体包括:所述判断处理模块判断满足预设或所述服务器指定的条件,且当前所述第一子资源 的值与上次向所述服务器发送的所述第一子资源的值不同,且当前所述第二子资源的值与上次向所述服务器发送的所述第二子资源的值相同,所述判断处理模块通过所述通信模块向所述服务器发送当前所述第一子资源的值。
- 如权利要求26或27所述的设备,其特征在于,所述请求消息中还包括第二资源和第二参数,所述第二参数包括对所述第二资源进行判断的条件;所述判断处理模块判断满足预设或所述服务器指定的条件,具体包括:所述判断处理模块判断所述第二资源满足所述第二参数中包括的条件。
- 如权利要求28所述的设备,其特征在于,所述判断处理模块通过所述通信模块向所述服务器发送的消息中还包括所述第二资源的值。
- 如权利要求26-29任一所述的设备,其特征在于,所述请求消息为用于资源订阅的请求消息。
- 如权利要求26-30任一所述的设备,其特征在于,所述请求消息为FETCH消息。
- 一种物联网设备,其特征在于,包括判断处理模块和通信模块,其中,所述通信模块,用于接收服务器发送的请求消息,所述请求消息中包括第一资源的标识和第二资源的标识,所述请求消息中还包括第一参数和第二参数,所述第二参数包括对所述第二资源进行判断的条件,所述第一参数用于指示不需要向所述服务器发送所述第二资源的值;所述判断处理模块,用于解析所述请求消息,判断所述第二资源满足所述第二参数中包括的条件,通过所述通信模块向所述服务器发送当前所述第一资源的值。
- 如权利要求32所述的设备,其特征在于,所述请求消息为用于资源订阅的请求消息。
- 如权利要求32或33所述的设备,其特征在于,所述请求消息为FETCH消息。
- 一种物联网设备,其特征在于,包括判断处理模块和通信模块,其中,所述通信模块,用于接收服务器发送的请求消息,所述请求消息中包括第一资源的标识,第一参数,第二资源的标识,第二参数和第三参数,所述第一参数包括对所述第一资源进行判断的条件,所述第二参数包括对所述第二资源进行判断的条件,所述第三参数包括数据上报条件,所述数据上报条件为根据所述第一参数对所述第一资源进行判断和根据所述第二参数对所述第二资源进行判断的逻辑组合;所述判断处理模块,用于解析所述请求消息,判断所述第一资源和所述第二资源满足所述数据上报条件,通过所述通信模块向所述服务器发送当前所述第一资源的值和所述第二资源的值。
- 如权利要求35所述的设备,其特征在于,所述数据上报条件为根据所述第一参数对所述第一资源进行判断和根据所述第二参数对所述第二资源进行判断的逻辑组合,具体包括所述数据上报条件为所述第一资源满足所述第一参数包括的条件,且所述第二资源满足所述第二参数包括的条件;所述判断处理模块判断所述第一资源和所述第二资源满足所述数据上报条件,通过所述通信模块向所述服务器发送当前所述第一资源的值和所述第二资源的值,具体包括:所述判断处理模块判断所述第一资源满足所述第一参数包括的条件,且所述第二资源满足所述第二参数包括的条件,通过所述通信模块向所述服务器发送当前所述第一资源的值和所述第二资源的值。
- 如权利要求35所述的设备,其特征在于,所述数据上报条件为根据所述第一参数对所述第一资源进行判断和根据所述第二参数对所述第二资源进行判断的逻辑组合,具体包括所述数据上报条件为所述第一资源满足所述第一参数包括的条件,或所述第二资源满足所述第二参数包括的条件;所述判断处理模块判断所述第一资源和所述第二资源满足所述数据上报条件,通过所述通信模块向所述服务器发送当前所述第一资源的值和所述第二资源的值,具体包括:所述判断处理模块判断所述第一资源满足所述第一参数包括的条件,或所述第二资源满足所述第二参数包括的条件,通过所述通信模块向所述服务器发送当前所述第一资源的值和所述第二资源的值。
- 如权利要求35-37任一所述的设备,其特征在于,所述请求消息为FETCH消息。
- 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如权利要求1-24任意一项所述的方法。
- 一种物联网资源订阅系统,包括如权利要求25所述的服务器和如权利要求26-38中任一所述的设备。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP18853865.6A EP3672204B1 (en) | 2017-09-11 | 2018-09-07 | Internet of things resource subscription method, device, and system |
JP2020514520A JP7097525B2 (ja) | 2017-09-11 | 2018-09-07 | モノのインターネットのリソースサブスクリプション方法、デバイス、およびシステム |
KR1020207009746A KR102415845B1 (ko) | 2017-09-11 | 2018-09-07 | 사물 인터넷 리소스 구독 방법, 디바이스, 및 시스템 |
US16/814,382 US11528235B2 (en) | 2017-09-11 | 2020-03-10 | Internet of things resource subscription method, device, and system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710813841.8A CN109495524B (zh) | 2017-09-11 | 2017-09-11 | 一种物联网资源订阅的方法、设备和系统 |
CN201710813841.8 | 2017-09-11 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US16/814,382 Continuation US11528235B2 (en) | 2017-09-11 | 2020-03-10 | Internet of things resource subscription method, device, and system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019047911A1 true WO2019047911A1 (zh) | 2019-03-14 |
Family
ID=65634830
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/104547 WO2019047911A1 (zh) | 2017-09-11 | 2018-09-07 | 一种物联网资源订阅的方法、设备和系统 |
Country Status (6)
Country | Link |
---|---|
US (1) | US11528235B2 (zh) |
EP (1) | EP3672204B1 (zh) |
JP (1) | JP7097525B2 (zh) |
KR (1) | KR102415845B1 (zh) |
CN (1) | CN109495524B (zh) |
WO (1) | WO2019047911A1 (zh) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2580973B (en) * | 2019-02-01 | 2021-12-22 | Advanced Risc Mach Ltd | Message exchange between client and server |
GB2584589B (en) * | 2019-02-01 | 2023-05-10 | Arm Ip Ltd | Electronic device subscription |
CN109996263B (zh) * | 2019-03-26 | 2022-04-05 | 合肥移瑞通信技术有限公司 | 一种NB-IoT模组基于LwM2M协议对接设备管理平台的方法 |
CN111984895A (zh) * | 2019-05-23 | 2020-11-24 | 京东方科技集团股份有限公司 | 用于订阅资源的方法、装置、设备和存储介质 |
CN110809262B (zh) * | 2019-11-08 | 2023-09-01 | 杭州海兴电力科技股份有限公司 | 一种基于coap协议的物联网设备运维管理方法 |
CN113395730B (zh) * | 2020-03-12 | 2023-05-09 | 中国移动通信有限公司研究院 | 一种物联网终端网络参数上报方法、装置和存储介质 |
CN115362666A (zh) * | 2020-04-20 | 2022-11-18 | Oppo广东移动通信有限公司 | 物联网中消息的传输方法、装置、服务器、设备及云平台 |
WO2021217631A1 (zh) * | 2020-04-30 | 2021-11-04 | Oppo广东移动通信有限公司 | 服务分享方法、通信设备和云平台 |
CN114095571A (zh) * | 2020-07-30 | 2022-02-25 | 中移(苏州)软件技术有限公司 | 数据处理方法、数据服务总线、终端和存储介质 |
CN115943616B (zh) * | 2020-10-26 | 2024-09-13 | Oppo广东移动通信有限公司 | Zigbee设备的属性订阅方法、装置及设备 |
CN114745296B (zh) * | 2020-12-23 | 2023-08-15 | 北京首信科技股份有限公司 | 数据上报方法及装置 |
CN112911531B (zh) * | 2021-01-11 | 2022-12-30 | 国网江苏省电力有限公司常州供电分公司 | 高压开关的传感数据传输系统、方法和可读存储介质 |
EP4301017A4 (en) * | 2021-03-01 | 2024-04-10 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | INFORMATION TRANSMISSION METHOD AND APPARATUS, DEVICE AND STORAGE MEDIUM |
CN113114718A (zh) * | 2021-03-10 | 2021-07-13 | 中国—东盟信息港股份有限公司 | 物联网中的数据传输方法和系统及其物联网设备与终端 |
CN113259443B (zh) * | 2021-05-20 | 2023-09-29 | 远景智能国际私人投资有限公司 | 资源数据的更新系统、方法、装置、设备及可读存储介质 |
TWI839621B (zh) * | 2021-07-05 | 2024-04-21 | 鴻銘資訊有限公司 | 具大數據關聯腳本式決策管理系統 |
CN114520827B (zh) * | 2022-02-16 | 2024-05-10 | 广东美房智高机器人有限公司 | 一种消息接收方法、推送方法、系统及介质 |
CN115118759B (zh) * | 2022-05-31 | 2024-03-22 | 在行(杭州)大数据科技有限公司 | 一种车载设备的数据传输方法和系统 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103227803A (zh) * | 2012-01-30 | 2013-07-31 | 华为技术有限公司 | 一种物联网资源获取的方法、客户端和物联网资源装置 |
WO2013189394A2 (zh) * | 2012-10-26 | 2013-12-27 | 中兴通讯股份有限公司 | 一种物联网终端设备的资源信息获取方法、系统及设备 |
CN105228111A (zh) * | 2014-06-13 | 2016-01-06 | 中兴通讯股份有限公司 | 资源订阅处理方法及装置 |
CN105376706A (zh) * | 2014-08-29 | 2016-03-02 | 青岛海尔智能家电科技有限公司 | 一种订阅设备位置信息的方法和装置 |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7711810B2 (en) | 2003-01-03 | 2010-05-04 | Nortel Networks Limited | Distributed services based on presence technology |
CN1802013A (zh) * | 2005-07-01 | 2006-07-12 | 华为技术有限公司 | 实现网络服务提供商发现的方法及装置 |
CN102739425A (zh) * | 2011-04-11 | 2012-10-17 | 中兴通讯股份有限公司 | 一种物联网数据资源开放系统及方法 |
JP2011198379A (ja) | 2011-05-27 | 2011-10-06 | Hitachi Ltd | センサネットワークシステム及びセンサネットワークのデータ処理方法 |
RU2624106C2 (ru) | 2012-10-05 | 2017-06-30 | Телефонактиеболагет Л М Эрикссон (Пабл) | Сообщение относительно обслуживающей сети, часового пояса и uci |
CN103795689A (zh) * | 2012-10-29 | 2014-05-14 | 中兴通讯股份有限公司 | 资源订阅方法及装置 |
WO2014185754A1 (ko) | 2013-05-16 | 2014-11-20 | 엘지전자 주식회사 | M2m 통신 시스템에서 구독 및 통지를 위한 방법 및 이를 위한 장치 |
KR101769386B1 (ko) * | 2013-09-27 | 2017-08-18 | 엘지전자 주식회사 | M2m 시스템에서 통지 메시지 전달 방법 및 이를 위한 장치 |
CN104506345A (zh) * | 2014-12-08 | 2015-04-08 | 深圳市普天宜通技术有限公司 | 一种位置信息间隔上报自适应方法及系统 |
JP6524264B2 (ja) * | 2015-05-20 | 2019-06-05 | コンヴィーダ ワイヤレス, エルエルシー | 効率を高めるためにサービス層サブスクリプションおよび通知を分析しグループ化する方法および装置 |
WO2017087367A1 (en) | 2015-11-16 | 2017-05-26 | Convida Wireless, Llc | Cross-resource subscription for m2m service layer |
US11290519B2 (en) * | 2016-08-22 | 2022-03-29 | Telefonaktiebolaget Lm Ericsson (Publ) | Method for enabling a communication device to receive a partial modification of a resource |
US11032132B2 (en) * | 2017-08-23 | 2021-06-08 | Convida Wireless, Llc | Resource link binding management |
-
2017
- 2017-09-11 CN CN201710813841.8A patent/CN109495524B/zh active Active
-
2018
- 2018-09-07 WO PCT/CN2018/104547 patent/WO2019047911A1/zh unknown
- 2018-09-07 EP EP18853865.6A patent/EP3672204B1/en active Active
- 2018-09-07 KR KR1020207009746A patent/KR102415845B1/ko active IP Right Grant
- 2018-09-07 JP JP2020514520A patent/JP7097525B2/ja active Active
-
2020
- 2020-03-10 US US16/814,382 patent/US11528235B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103227803A (zh) * | 2012-01-30 | 2013-07-31 | 华为技术有限公司 | 一种物联网资源获取的方法、客户端和物联网资源装置 |
WO2013189394A2 (zh) * | 2012-10-26 | 2013-12-27 | 中兴通讯股份有限公司 | 一种物联网终端设备的资源信息获取方法、系统及设备 |
CN105228111A (zh) * | 2014-06-13 | 2016-01-06 | 中兴通讯股份有限公司 | 资源订阅处理方法及装置 |
CN105376706A (zh) * | 2014-08-29 | 2016-03-02 | 青岛海尔智能家电科技有限公司 | 一种订阅设备位置信息的方法和装置 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3672204A4 |
Also Published As
Publication number | Publication date |
---|---|
CN109495524B (zh) | 2022-03-04 |
EP3672204A1 (en) | 2020-06-24 |
US11528235B2 (en) | 2022-12-13 |
US20200213244A1 (en) | 2020-07-02 |
KR102415845B1 (ko) | 2022-07-05 |
CN109495524A (zh) | 2019-03-19 |
EP3672204B1 (en) | 2023-07-19 |
JP7097525B2 (ja) | 2022-07-08 |
JP2020533892A (ja) | 2020-11-19 |
KR20200042006A (ko) | 2020-04-22 |
EP3672204A4 (en) | 2020-06-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019047911A1 (zh) | 一种物联网资源订阅的方法、设备和系统 | |
US12052317B2 (en) | Subscription and notification service | |
WO2020259652A1 (zh) | 一种管理应用的网络切片的方法及装置 | |
US7725577B2 (en) | Method and system to adaptively manage the quality of service of interactions between smart item networks and enterprise applications | |
EP3861706B1 (en) | Framework for dynamic brokerage and management of topics and data at the service layer | |
WO2020164290A1 (zh) | 策略控制方法、装置及系统 | |
WO2019214343A1 (zh) | 订阅更新方法、设备及系统 | |
US10454795B1 (en) | Intermediate batch service for serverless computing environment metrics | |
US11283668B2 (en) | Method and apparatus in a web service system | |
WO2020238292A1 (zh) | 确定业务传输需求的方法、设备及系统 | |
WO2020020249A1 (zh) | 一种网络管理方法和装置 | |
CN106028311B (zh) | 一种终端注册方法及装置 | |
WO2020215869A1 (zh) | 计费管理方法、设备及系统 | |
EP3863312B1 (en) | Api publishing method and device | |
TWI381314B (zh) | 中介軟體橋接系統及方法 | |
US20230216697A1 (en) | Event subscription method, apparatus, and system | |
US20130198293A1 (en) | Techniques to distribute messages using communication pipelines |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18853865 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2020514520 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2018853865 Country of ref document: EP Effective date: 20200316 |
|
ENP | Entry into the national phase |
Ref document number: 20207009746 Country of ref document: KR Kind code of ref document: A |