CN110809262B - COAP protocol-based operation and maintenance management method for Internet of things equipment - Google Patents

COAP protocol-based operation and maintenance management method for Internet of things equipment Download PDF

Info

Publication number
CN110809262B
CN110809262B CN201911089960.9A CN201911089960A CN110809262B CN 110809262 B CN110809262 B CN 110809262B CN 201911089960 A CN201911089960 A CN 201911089960A CN 110809262 B CN110809262 B CN 110809262B
Authority
CN
China
Prior art keywords
internet
things equipment
maintenance management
coap protocol
event
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.)
Active
Application number
CN201911089960.9A
Other languages
Chinese (zh)
Other versions
CN110809262A (en
Inventor
洪峥
孙凯
顾玉杰
王未花
戴翚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Haixing Zeke Information Technology Co ltd
Hangzhou Renhe Information Technology Co ltd
Nanjing Haixing Power Grid Technology Co Ltd
Hangzhou Hexing Electrical Co Ltd
Ningbo Henglida Technology Co Ltd
Original Assignee
Hangzhou Haixing Zeke Information Technology Co ltd
Hangzhou Renhe Information Technology Co ltd
Nanjing Haixing Power Grid Technology Co Ltd
Hangzhou Hexing Electrical Co Ltd
Ningbo Henglida Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Hangzhou Haixing Zeke Information Technology Co ltd, Hangzhou Renhe Information Technology Co ltd, Nanjing Haixing Power Grid Technology Co Ltd, Hangzhou Hexing Electrical Co Ltd, Ningbo Henglida Technology Co Ltd filed Critical Hangzhou Haixing Zeke Information Technology Co ltd
Priority to CN201911089960.9A priority Critical patent/CN110809262B/en
Publication of CN110809262A publication Critical patent/CN110809262A/en
Application granted granted Critical
Publication of CN110809262B publication Critical patent/CN110809262B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/16Implementing security features at a particular protocol layer
    • H04L63/166Implementing security features at a particular protocol layer at the transport layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Medical Informatics (AREA)
  • Cardiology (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses an operation and maintenance management method, device and system for Internet of things equipment based on a COAP protocol, an operation and maintenance management platform and a readable storage medium, wherein the scheme comprises the following steps: subscribing state change events of the Internet of things equipment according to a subscription mechanism of the COAP protocol; when the state change event occurs to the Internet of things equipment, acquiring a notification message based on a COAP protocol generated by the Internet of things equipment; and according to the notification message, performing corresponding operation and maintenance management operation locally, or generating an operation message based on the COAP protocol and sending the operation message to the Internet of things equipment so that the Internet of things equipment can perform corresponding processing operation according to the operation message. Therefore, the operation and maintenance management function of the Internet of things equipment is realized by utilizing the self-perfected interaction mechanism of the COAP protocol, the integrity and the safety of the interaction process are ensured, and in addition, the cost on the memory and the network is effectively reduced because the COAP protocol is realized based on UDP.

Description

COAP protocol-based operation and maintenance management method for Internet of things equipment
Technical Field
The application relates to the technical field of communication, in particular to an operation and maintenance management method, device and system for Internet of things equipment based on a COAP protocol, an operation and maintenance management platform and a readable storage medium.
Background
At present, most of operation and maintenance management of the Internet of things equipment is based on a private protocol, so that the safety is low, an interaction mechanism is incomplete, and in addition, the issuing of an upgrade package requires excessive fragmentation, so that the expansibility is poor.
The existing scheme adopts a network management protocol Netconf to realize the monitoring (such as alarm and performance management) of network equipment, can be constructed and expanded through a data model, is flexible to use, and has a perfect subscription system for reporting equipment alarms. However, the management protocol uses XML coding and TCP long connection, so that the resource consumption of the Internet of things equipment is too large, the network traffic consumption is too large, low power consumption is difficult to realize, and the management protocol is not suitable for the low power consumption Internet of things scene.
Therefore, how to ensure the safety and lower power consumption in the operation management process of the internet of things equipment is a problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide an operation and maintenance management method, device and system for Internet of things equipment based on a COAP protocol, an operation and maintenance management platform and a readable storage medium, which are used for solving the problems that the traditional operation and maintenance management scheme for the Internet of things equipment is low in safety, incomplete in interaction mechanism and high in power consumption. The specific scheme is as follows:
in a first aspect, the present application provides a method for managing operation and maintenance of an internet of things device based on a COAP protocol, which is applied to an operation and maintenance management platform, and the method includes:
subscribing state change events of the Internet of things equipment according to a subscription mechanism of the COAP protocol;
acquiring a notification message based on a COAP protocol generated by the Internet of things equipment when the state change event occurs to the Internet of things equipment;
and executing corresponding operation and maintenance management operation locally according to the notification message, or generating an operation message based on a COAP protocol and sending the operation message to the Internet of things equipment so that the Internet of things equipment executes corresponding processing operation according to the operation message.
Preferably, the state change event includes any one or more of the following: an online event, an alarm event, a fault event, an upgrade event, and a route change event.
Preferably, the state change event is an online event, and the locally executing a corresponding operation and maintenance management operation according to the notification message includes:
and calling a get interface of a COAP protocol to acquire basic equipment information of the Internet of things equipment according to the notification message, and monitoring the online state of the Internet of things equipment through a heartbeat mechanism.
Preferably, the monitoring the online state of the internet of things device through a heartbeat mechanism includes:
judging whether the Internet of things equipment has warehousing rights or not according to the notification message;
and if the device is provided, warehousing the internet of things device, and monitoring the online state of the internet of things device through a heartbeat mechanism.
Preferably, the state change event is a fault event, and the locally executing a corresponding operation and maintenance management operation according to the notification message includes:
and determining the fault type and generating a corresponding operation and maintenance work order and prompt information according to the notification message.
Preferably, the state change event is an upgrade event, and the generating an operation message based on a COAP protocol and sending the operation message to the internet of things device includes:
splitting the target upgrade package, and writing a splitting result into an operation message based on the COAP protocol in a block mode;
and calling a post interface of a COAP protocol to send the operation message to the Internet of things equipment in a multicast mode.
In a second aspect, the present application provides an operation and maintenance management device for an internet of things device based on a COAP protocol, which is applied to an operation and maintenance management platform, and the device includes:
an event subscription module: the subscription mechanism is used for subscribing state change events of the Internet of things equipment according to the COAP protocol;
message acquisition module: the method comprises the steps that when the state change event occurs to the Internet of things equipment, a notification message based on a COAP protocol generated by the Internet of things equipment is obtained;
and the operation and maintenance management module is used for: and the operation management device is used for executing corresponding operation and maintenance management operation locally according to the notification message, or generating an operation message based on a COAP protocol and sending the operation message to the Internet of things device so that the Internet of things device executes corresponding processing operation according to the operation message.
In a third aspect, the present application provides an operation and maintenance management platform, including:
a memory: for storing a computer program;
a processor: the method is used for executing the computer program to realize the steps of the operation and maintenance management method of the internet of things equipment based on the COAP protocol.
In a fourth aspect, the present application provides a readable storage medium having stored thereon a computer program for implementing the steps of a COAP protocol based operation and maintenance method for an internet of things device as described above when executed by a processor.
In a fifth aspect, the application provides an operation and maintenance management system for internet of things equipment based on a COAP protocol, which comprises an operation and maintenance management platform and the internet of things equipment;
the operation and maintenance management platform is used for subscribing the state change event of the Internet of things equipment according to a subscription mechanism of the COAP protocol; the internet of things device is used for generating a notification message based on a COAP protocol when the state change event occurs; the operation and maintenance management platform is used for acquiring the notification message and executing corresponding operation and maintenance management operation locally according to the notification message, or generating an operation message based on a COAP protocol and sending the operation message to the Internet of things equipment so that the Internet of things equipment can execute corresponding processing operation according to the operation message.
The application provides an operation and maintenance management method of an Internet of things device based on a COAP protocol, which is applied to an operation and maintenance management platform and comprises the following steps: subscribing state change events of the Internet of things equipment according to a subscription mechanism of the COAP protocol; when the state change event occurs to the Internet of things equipment, acquiring a notification message based on a COAP protocol generated by the Internet of things equipment; and according to the notification message, performing corresponding operation and maintenance management operation locally, or generating an operation message based on the COAP protocol and sending the operation message to the Internet of things equipment so that the Internet of things equipment can perform corresponding processing operation according to the operation message.
Therefore, the method utilizes the self-perfected interaction mechanism of the COAP protocol to realize the operation and maintenance management function of the Internet of things equipment, ensures the integrity and the safety of the interaction process, and in addition, because the COAP protocol is realized based on UDP, the cost on a memory and a network is much smaller than that of TCP, the method is more suitable for the scene of the low-power consumption Internet of things, and the reliability of the data transmission process is improved by the confirmation frame and the retransmission mechanism provided by the COAP protocol.
In addition, the application also provides an operation and maintenance management device, a system, an operation and maintenance management platform and a readable storage medium of the Internet of things equipment based on the COAP protocol, and the technical effects of the operation and maintenance management device and the operation and maintenance management platform correspond to those of the method, and are not repeated here.
Drawings
For a clearer description of embodiments of the application or of the prior art, the drawings that are used in the description of the embodiments or of the prior art will be briefly described, it being apparent that the drawings in the description below are only some embodiments of the application, and that other drawings can be obtained from them without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of an implementation of an embodiment of an operation and maintenance management method for an internet of things device based on a COAP protocol according to the present application;
fig. 2 is a schematic diagram of an operation and maintenance management system framework of an internet of things device based on a COAP protocol provided by the application;
fig. 3 is a flowchart of implementation corresponding to an online event in a second embodiment of an operation and maintenance management method for an internet of things device based on a COAP protocol provided by the present application;
fig. 4 is a flowchart of implementation corresponding to a fault event in a second embodiment of an operation and maintenance management method for an internet of things device based on a COAP protocol provided by the present application;
fig. 5 is a flowchart of an implementation corresponding to an upgrade event in a second embodiment of an operation and maintenance management method for an internet of things device based on a COAP protocol provided by the present application;
fig. 6 is a functional block diagram of an embodiment of an operation and maintenance management device for an internet of things device based on COAP protocol provided by the present application;
fig. 7 is a schematic structural diagram of an embodiment of an operation and maintenance management platform according to the present application.
Detailed Description
The core of the application is to provide an operation and maintenance management method, device and system for the Internet of things equipment based on the COAP protocol, an operation and maintenance management platform and a readable storage medium, so that the integrity of interaction between the operation and maintenance management platform and the Internet of things equipment is improved while the safety of the interaction process is ensured, and the consumption of a memory and a network is reduced.
In order to better understand the aspects of the present application, the present application will be described in further detail with reference to the accompanying drawings and detailed description. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The following describes an embodiment of an operation and maintenance management method for an internet of things device based on a COAP protocol, referring to fig. 1, the embodiment is applied to an operation and maintenance management platform, and includes the following steps:
s101, subscribing state change events of the Internet of things equipment according to a subscription mechanism of the COAP protocol;
s102, when the state change event occurs to the Internet of things equipment, acquiring a notification message based on a COAP protocol generated by the Internet of things equipment;
and S103, performing corresponding operation and maintenance management operation locally according to the notification message, or generating an operation message based on a COAP protocol and sending the operation message to the Internet of things equipment so that the Internet of things equipment can perform corresponding processing operation according to the operation message.
The embodiment is realized based on a COAP protocol (Constrained Application Protocol, limited application protocol), and mainly aims to realize operation and maintenance management of the internet of things equipment. The COAP protocol is a network transmission protocol based on a REST model and is mainly used for lightweight M2M communication.
In this embodiment, as shown in fig. 2, the operation and maintenance management system framework of the internet of things device based on the COAP protocol is that the internet of things device is a managed device and is a generator of data, so that the internet of things device in different application scenarios can be specifically an ammeter device, a relay device and a gateway device by using the COAP Server; the management end is the operation and maintenance management platform of the embodiment, and uses the COAP client, and the operation and maintenance management platform can use methods such as get, put, post, delete provided by the COAP protocol to achieve operations such as parameter acquisition, modification, addition and deletion of the internet of things equipment. It should be noted that in this embodiment, different internet of things devices use different addresses URI-host, and different parameters use different paths URI-path, so that different internet of things devices and device parameters can be easily distinguished.
In this embodiment, the operation and maintenance management platform may subscribe to a state change event on the internet of things device according to a subscription mechanism of the COAP protocol, and after the subscription is successful, each time the state change event occurs on the internet of things device, a corresponding notification message is sent to the operation and maintenance management platform, so that monitoring on the internet of things device is realized based on the notification message. The state change event may be selected according to actual requirements, and specifically, the state change event may include any one or any combination of the following: an online event, an alarm event, a fault event, an upgrade event, and a route change event.
In this embodiment, after receiving a notification message of an internet of things device, the operation and maintenance management platform may be divided into the following two cases according to specific situations of the notification message: or executing corresponding operation and maintenance management operation locally, or generating an operation message and sending the operation message to the Internet of things equipment, and executing corresponding processing operation by the follow-up Internet of things equipment according to the operation message. Because the operation and maintenance management requirements are different for different state change events, the selection of the two conditions can be determined according to the instant requirements in the actual application scene. For example, when the state change event is the fault event, maintenance cannot be automatically performed, so that fault prompt information can only be generated on one side of the operation and maintenance management platform to prompt an operation and maintenance person to maintain the fault event. When the state change event is an online event, the operation and maintenance management platform can automatically realize a subsequent processing process, such as identifying the validity of the current online Internet of things equipment, and collecting basic equipment information of the Internet of things equipment.
As a preferred embodiment, TLS may be used to encrypt transmissions for some security-required data, such as the operation messages described above, to improve security.
Particularly, in this embodiment, both the notification message sent by the internet of things device to the operation and maintenance management platform and the operation message sent by the operation and maintenance management platform to the internet of things device are messages based on the COAP protocol. In the operation and maintenance management process of the whole Internet of things equipment, the Internet of things equipment and the operation and maintenance management platform are communicated through a COAP protocol. Whereas the COAP protocol has the following advantages: the COAP protocol has a perfect interaction mechanism, and can realize the operation and maintenance management function of the equipment of the Internet of things; the COAP protocol is realized based on UDP, the cost of the protocol and the network is much lower than that of TCP, and the COAP protocol is more suitable for the scene of the low-power-consumption Internet of things; the COAP protocol provides a confirmation frame and retransmission mechanism, so that the unreliable transmission problem of UDP is solved; the message overhead of the COAP protocol is small, and the consumption of network traffic and the consumption of electric quantity during transmission can be saved greatly.
In summary, the method for managing operation and maintenance of the internet of things device based on the COAP protocol provided in the present embodiment is applied to an operation and maintenance management platform, and the scheme includes: subscribing state change events of the Internet of things equipment according to a subscription mechanism of the COAP protocol; when the state change event occurs to the Internet of things equipment, acquiring a notification message based on a COAP protocol generated by the Internet of things equipment; and according to the notification message, performing corresponding operation and maintenance management operation locally, or generating an operation message based on the COAP protocol and sending the operation message to the Internet of things equipment so that the Internet of things equipment can perform corresponding processing operation according to the operation message. Therefore, the operation and maintenance management function of the internet of things equipment is realized by utilizing the self-perfected interaction mechanism of the COAP protocol, the integrity and the safety of the interaction process are ensured, in addition, the COAP protocol is realized on the basis of UDP, so that the overhead on a memory and a network is much smaller than that of TCP, the COAP protocol is more suitable for the scene of the low-power-consumption internet of things, and the reliability of the data transmission process is improved by the confirmation frame and the retransmission mechanism provided by the COAP protocol.
The second embodiment of the operation and maintenance management method for the internet of things equipment based on the COAP protocol provided by the application is implemented based on the first embodiment, and is expanded to a certain extent based on the first embodiment.
Specifically, the embodiment describes corresponding monitoring and controlling processes in detail for different state change events, and the following describes the situations that the state change events are an online event, a fault event and an upgrade event respectively. In an actual application scenario, the monitoring control process of the state change event being another event may refer to the present embodiment, but this embodiment will not be described one by one.
As shown in fig. 3, when the state change event is an online event, the embodiment includes the following steps:
s301, subscribing an online event of the Internet of things equipment according to a subscription mechanism of the COAP protocol;
s302, when an online event occurs to the Internet of things equipment, acquiring an online notification message based on a COAP protocol generated by the Internet of things equipment;
the above-mentioned on-line event may specifically be power-up or reset.
S303, judging whether the Internet of things equipment has warehousing rights or not according to the online notification message; if yes, jumping to S304, otherwise refusing the Internet of things equipment to be on line;
s304, allowing the Internet of things equipment to be online and put in storage, and monitoring the online state of the Internet of things equipment through a heartbeat mechanism;
s305, calling a get interface of the COAP protocol to acquire basic equipment information of the Internet of things equipment.
In this embodiment, the operation and maintenance management platform subscribes to the online event of the internet of things device through the subscription mechanism of the COAP protocol, so when the internet of things device is powered on or reset, the internet of things device generates an online notification message based on the COAP protocol and sends the online notification message to the operation and maintenance management platform; then, the operation and maintenance management platform judges whether the Internet of things equipment for sending the online message is legal or not, and if so, the Internet of things equipment is allowed to be online and put in storage; the operation and maintenance management platform subscribes to the heartbeat message of the Internet of things equipment so as to maintain the online state of the Internet of things equipment, and meanwhile, the Internet of things equipment needs to periodically send heartbeat packets to the operation and maintenance management platform; after the Internet of things equipment is online, the operation and maintenance management platform can also acquire basic equipment information of the Internet of things equipment through a get interface of the COAP protocol.
As shown in fig. 4, when the state change event is a fault event, the embodiment includes the following steps:
s401, subscribing a fault event of the equipment of the Internet of things according to a subscription mechanism of the COAP protocol;
s402, when the Internet of things equipment generates a fault event, acquiring a fault notification message based on a COAP protocol generated by the Internet of things equipment;
s403, determining the fault type and generating a corresponding operation and maintenance work order and prompt information according to the fault notification message.
In this embodiment, the operation and maintenance management platform, as a management end, may acquire basic device information of the internet of things device, and subscribe to a state to be monitored, such as an alarm event, a fault event, etc., on one side of the internet of things device through a subscription mechanism of the COAP protocol.
Specifically, when the internet of things device detects an event such as a fault, the internet of things device can generate a fault notification message through a COAP protocol, and after the operation and maintenance management platform receives the fault notification message, a corresponding work order and prompt information can be generated according to the fault type, so that maintenance personnel can be dispatched to maintain the device conveniently.
It can be understood that the operation and maintenance management platform can subscribe to a fault release event of the internet of things device, and after the fault of the internet of things device is released, the internet of things device can report the fault release to the operation and maintenance management platform by the same mechanism, and the operation and maintenance management platform recovers the corresponding state.
As shown in fig. 5, when the state change event is an upgrade event, the embodiment includes the following steps:
s501, subscribing to an upgrade event of the Internet of things equipment according to a subscription mechanism of the COAP protocol;
the upgrade event can be understood as an upgrade request, specifically, the internet of things device can automatically detect whether the firmware of the internet of things device needs to be upgraded, and when the update is determined to be needed, the upgrade event is considered to occur.
S502, when an upgrading event occurs to the Internet of things equipment, acquiring an upgrading notification message based on a COAP protocol generated by the Internet of things equipment;
s503, splitting a target upgrade package according to the upgrade notification message, and writing a splitting result into an operation message based on a COAP protocol in a block mode;
s504, calling a post interface of a COAP protocol to send the operation message to the Internet of things equipment in a multicast mode until no message remains;
s505, judging whether the Internet of things equipment sends a package supplementing request in a preset time period; if yes, jumping to S506, otherwise judging that the data transmission of the upgrade package is finished, and jumping to S507;
s506, corresponding operation messages are sent to the Internet of things equipment in a unicast mode;
s507, the equipment of the Internet of things executes upgrading operation.
In this embodiment, for large file transmission such as firmware upgrade packages of the internet of things devices, when batch upgrade is needed, the large file transmission can be issued in a multicast mode, so that a client is prevented from repeatedly sending data for many times, and in addition, excessive sub-package issuing can be avoided by using a block transmission mode, so that a plurality of internet of things devices can be timely and quickly received to an upgrade data package issued by an operation and maintenance management platform.
Specifically, in the power operation and maintenance scenario, the electric meter acquisition terminal is used as a COAP server, the power operation and maintenance management system is used as a COAP client, and the power operation and maintenance management system and the electric meter acquisition terminal interact by using a COAP protocol, so that the following operation and maintenance management functions can be realized based on the embodiment of the method:
1. the power operation and maintenance management system acquires equipment information (such as equipment serial numbers, equipment types and the like) of an ammeter acquisition terminal by using a get method of a COAP protocol;
2. the power management system sends an upgrade data packet to the ammeter acquisition terminal through a post method of the COAP protocol;
3. the electric power management system modifies the debugging level and the like of the electric meter acquisition terminal through a put method of the COAP protocol;
4. the electric power management system can subscribe the electric meter acquisition terminal through a subscription mechanism of the COAP protocol, and the electric meter acquisition terminal reports registration information, power failure alarm state, routing change and the like to the electric power management system.
In summary, the operation and maintenance management method for the internet of things device based on the COAP protocol is applied to an operation and maintenance management platform, the COAP protocol is applied to the operation and maintenance management design of the internet of things device, the power operation and maintenance platform and the internet of things device interact with each other by using the COAP protocol, so that a small memory and network overhead can be used, perfect operation and maintenance management of the internet of things device is brought, in addition, the issuing of an upgrade package is realized by adopting a mode of combining a multicast mode and COAP block transmission, and the upgrade efficiency is improved.
The following describes an operation and maintenance management device for an internet of things device based on a COAP protocol, where the operation and maintenance management device for an internet of things device based on a COAP protocol described below and the operation and maintenance management method for an internet of things device based on a COAP protocol described above may be referred to correspondingly.
Referring to fig. 6, the operation and maintenance management apparatus is applied to an operation and maintenance management platform, and includes:
event subscription module 601: the subscription mechanism is used for subscribing state change events of the Internet of things equipment according to the COAP protocol;
message acquisition module 602: the method comprises the steps that when the state change event occurs to the Internet of things equipment, a notification message based on a COAP protocol generated by the Internet of things equipment is obtained;
the operation and maintenance management module 603: and the operation management device is used for executing corresponding operation and maintenance management operation locally according to the notification message, or generating an operation message based on a COAP protocol and sending the operation message to the Internet of things device so that the Internet of things device executes corresponding processing operation according to the operation message.
The operation and maintenance management device for the internet of things device based on the COAP protocol in this embodiment is configured to implement the foregoing operation and maintenance management method for the internet of things device based on the COAP protocol, so that the specific implementation of the device may be found in the foregoing embodiment of the operation and maintenance management method for the internet of things device based on the COAP protocol, for example, the event subscription module 601, the message acquisition module 602, and the operation and maintenance management module 603 are respectively configured to implement steps S101, S102, and S103 in the operation and maintenance management method for the internet of things device based on the COAP protocol. Therefore, the detailed description will be omitted herein with reference to the accompanying drawings, which illustrate examples of the respective parts.
In addition, since the operation and maintenance management device of the internet of things device based on the COAP protocol in this embodiment is used to implement the operation and maintenance management method of the internet of things device based on the COAP protocol, the function of the operation and maintenance management device of the internet of things device based on the COAP protocol corresponds to that of the method, and is not described herein again.
In addition, the application also provides an operation and maintenance management platform, as shown in fig. 7, which comprises:
memory 100: for storing a computer program;
processor 200: the method is used for executing the computer program to realize the steps of the operation and maintenance management method of the internet of things equipment based on the COAP protocol.
The application also provides a readable storage medium having stored thereon a computer program for implementing the steps of a COAP protocol based operation and maintenance method for an internet of things device as described above when executed by a processor.
Finally, the application also provides an operation and maintenance management system of the Internet of things equipment based on the COAP protocol, which comprises an operation and maintenance management platform and the Internet of things equipment;
the operation and maintenance management platform is used for subscribing the state change event of the Internet of things equipment according to a subscription mechanism of the COAP protocol; the internet of things device is used for generating a notification message based on a COAP protocol when the state change event occurs; the operation and maintenance management platform is used for acquiring the notification message and executing corresponding operation and maintenance management operation locally according to the notification message, or generating an operation message based on a COAP protocol and sending the operation message to the Internet of things equipment so that the Internet of things equipment can execute corresponding processing operation according to the operation message.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The foregoing has outlined rather broadly the more detailed description of the application in order that the detailed description of the principles and embodiments of the application may be better understood, and in order that the present application may be better understood; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.

Claims (8)

1. The operation and maintenance management method for the Internet of things equipment based on the COAP protocol is characterized by being applied to an operation and maintenance management platform and comprising the following steps of:
subscribing state change events of the Internet of things equipment according to a subscription mechanism of the COAP protocol;
acquiring a notification message based on a COAP protocol generated by the Internet of things equipment when the state change event occurs to the Internet of things equipment;
according to the notification message, performing corresponding operation and maintenance management operation locally, or generating an operation message based on a COAP protocol and sending the operation message to the Internet of things equipment so that the Internet of things equipment performs corresponding processing operation according to the operation message;
wherein the state change event comprises any one or more of the following: an online event, an alarm event, a fault event, an upgrade event, and a route change event;
and when the state change event is the upgrade event, generating an operation message based on a COAP protocol and sending the operation message to the internet of things device, including:
splitting the target upgrade package, and writing a splitting result into an operation message based on the COAP protocol in a block mode;
and calling a post interface of a COAP protocol to send the operation message to the Internet of things equipment in a multicast mode.
2. The method of claim 1, wherein the state change event is an online event, and the locally executing the corresponding operation and maintenance management operation according to the notification message includes:
and calling a get interface of a COAP protocol to acquire basic equipment information of the Internet of things equipment according to the notification message, and monitoring the online state of the Internet of things equipment through a heartbeat mechanism.
3. The method of claim 2, wherein the monitoring the online status of the internet of things device via a heartbeat mechanism comprises:
judging whether the Internet of things equipment has warehousing rights or not according to the notification message;
and if the device is provided, warehousing the internet of things device, and monitoring the online state of the internet of things device through a heartbeat mechanism.
4. The method of claim 1, wherein the state change event is a fault event, and the locally performing a corresponding operation and maintenance management operation according to the notification message includes:
and determining the fault type and generating a corresponding operation and maintenance work order and prompt information according to the notification message.
5. The utility model provides an operation and maintenance management device of thing networking equipment based on COAP agreement which characterized in that is applied to operation and maintenance management platform, and the device includes:
an event subscription module: the subscription mechanism is used for subscribing state change events of the Internet of things equipment according to the COAP protocol;
message acquisition module: the method comprises the steps that when the state change event occurs to the Internet of things equipment, a notification message based on a COAP protocol generated by the Internet of things equipment is obtained;
and the operation and maintenance management module is used for: the operation management method comprises the steps of executing corresponding operation and maintenance management operation locally according to the notification message, or generating an operation message based on a COAP protocol and sending the operation message to the Internet of things equipment so that the Internet of things equipment executes corresponding processing operation according to the operation message;
wherein the state change event comprises any one or more of the following: an online event, an alarm event, a fault event, an upgrade event, and a route change event;
and when the state change event is an upgrade event, the operation and maintenance management module includes:
the data packet splitting unit is used for splitting the target upgrading packet and writing a splitting result into an operation message based on the COAP protocol in a block mode;
and the message sending unit is used for calling a post interface of the COAP protocol to send the operation message to the Internet of things equipment in a multicast mode.
6. An operation and maintenance management platform, comprising:
a memory: for storing a computer program;
a processor: the steps for executing the computer program to implement the method for managing operation and maintenance of the internet of things device based on the COAP protocol according to any one of claims 1 to 4.
7. A readable storage medium, wherein a computer program is stored on the readable storage medium, and the computer program is used for implementing the steps of the method for managing operation and maintenance of the internet of things device based on the COAP protocol according to any one of claims 1-4 when the computer program is executed by a processor.
8. The operation and maintenance management system for the Internet of things equipment based on the COAP protocol is characterized by comprising an operation and maintenance management platform and the Internet of things equipment;
the operation and maintenance management platform is used for subscribing the state change event of the Internet of things equipment according to a subscription mechanism of the COAP protocol; the internet of things device is used for generating a notification message based on a COAP protocol when the state change event occurs; the operation and maintenance management platform is used for acquiring the notification message and executing corresponding operation and maintenance management operation locally according to the notification message, or generating an operation message based on a COAP protocol and sending the operation message to the Internet of things equipment so that the Internet of things equipment can execute corresponding processing operation according to the operation message;
wherein the state change event comprises any one or more of the following: an online event, an alarm event, a fault event, an upgrade event, and a route change event;
and when the state change event is the upgrade event, generating an operation message based on a COAP protocol and sending the operation message to the internet of things device, including:
splitting the target upgrade package, and writing a splitting result into an operation message based on the COAP protocol in a block mode;
and calling a post interface of a COAP protocol to send the operation message to the Internet of things equipment in a multicast mode.
CN201911089960.9A 2019-11-08 2019-11-08 COAP protocol-based operation and maintenance management method for Internet of things equipment Active CN110809262B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911089960.9A CN110809262B (en) 2019-11-08 2019-11-08 COAP protocol-based operation and maintenance management method for Internet of things equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911089960.9A CN110809262B (en) 2019-11-08 2019-11-08 COAP protocol-based operation and maintenance management method for Internet of things equipment

Publications (2)

Publication Number Publication Date
CN110809262A CN110809262A (en) 2020-02-18
CN110809262B true CN110809262B (en) 2023-09-01

Family

ID=69501700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911089960.9A Active CN110809262B (en) 2019-11-08 2019-11-08 COAP protocol-based operation and maintenance management method for Internet of things equipment

Country Status (1)

Country Link
CN (1) CN110809262B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112216082B (en) * 2020-09-02 2022-07-01 国电南瑞科技股份有限公司 Remote electric energy terminal operation and maintenance management system based on Internet of things communication protocol
CN112039917B (en) * 2020-09-08 2023-04-18 杭州粒合信息科技有限公司 Internet of things communication management system
CN118103838A (en) * 2021-10-22 2024-05-28 Oppo广东移动通信有限公司 Information reporting method, device, equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015031750A1 (en) * 2013-08-29 2015-03-05 Convida Wireless LLC Internet of things event management systems and methods
CN104936202A (en) * 2015-06-04 2015-09-23 南京邮电大学 CoAP protocol based 6LoWPAN wireless sensor network management system
WO2015149531A1 (en) * 2014-03-31 2015-10-08 中兴通讯股份有限公司 Internet of things terminal firmware management method, device and general service entity
CN106169967A (en) * 2016-07-14 2016-11-30 美的集团股份有限公司 A kind of subscription client, household electrical appliance and control method thereof
CN107104836A (en) * 2017-05-04 2017-08-29 深圳市欧瑞博电子有限公司 The firmware upgrade method and device of Zigbee equipment
WO2018112327A1 (en) * 2016-12-15 2018-06-21 Convida Wireless, Llc Methods of concurrency control for block transfer in coap publish-subscribe architecture
CN109347659A (en) * 2018-09-17 2019-02-15 瓴泰科技(上海)有限公司 Intelligent terminal and mould group remote upgrade method based on NB-IOT
CN109429205A (en) * 2017-09-05 2019-03-05 西安中兴新软件有限责任公司 A kind of narrowband Internet of Things upgrade method and device and system
CN109495524A (en) * 2017-09-11 2019-03-19 华为技术有限公司 A kind of method, apparatus and system of Internet of Things resource subscription
CN109547538A (en) * 2018-11-05 2019-03-29 广西大学 Controller switching equipment condition monitoring system and implementation method based on technology of Internet of things
CN109981617A (en) * 2019-03-12 2019-07-05 深圳市智物联网络有限公司 A kind of internet of things equipment monitoring method, system and electronic equipment and storage medium
CN110008757A (en) * 2019-04-09 2019-07-12 江南大学 Data guard method and system in a kind of internet-of-things terminal firmware update

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9426136B2 (en) * 2014-03-31 2016-08-23 EXILANT Technologies Private Limited Increased communication security
WO2016048208A1 (en) * 2014-09-25 2016-03-31 Telefonaktiebolaget L M Ericsson (Publ) Device mobility with coap
EP3255541A1 (en) * 2016-06-06 2017-12-13 Advanced Digital Broadcast S.A. A method and system for installing software
US20190036896A1 (en) * 2017-07-27 2019-01-31 Cisco Technology, Inc. Generic Bootstrapping Architecture (GBA) Based Security Over Constrained Application Protocol (CoAP) for IoT Devices

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015031750A1 (en) * 2013-08-29 2015-03-05 Convida Wireless LLC Internet of things event management systems and methods
WO2015149531A1 (en) * 2014-03-31 2015-10-08 中兴通讯股份有限公司 Internet of things terminal firmware management method, device and general service entity
CN104936202A (en) * 2015-06-04 2015-09-23 南京邮电大学 CoAP protocol based 6LoWPAN wireless sensor network management system
CN106169967A (en) * 2016-07-14 2016-11-30 美的集团股份有限公司 A kind of subscription client, household electrical appliance and control method thereof
WO2018112327A1 (en) * 2016-12-15 2018-06-21 Convida Wireless, Llc Methods of concurrency control for block transfer in coap publish-subscribe architecture
CN107104836A (en) * 2017-05-04 2017-08-29 深圳市欧瑞博电子有限公司 The firmware upgrade method and device of Zigbee equipment
CN109429205A (en) * 2017-09-05 2019-03-05 西安中兴新软件有限责任公司 A kind of narrowband Internet of Things upgrade method and device and system
CN109495524A (en) * 2017-09-11 2019-03-19 华为技术有限公司 A kind of method, apparatus and system of Internet of Things resource subscription
CN109347659A (en) * 2018-09-17 2019-02-15 瓴泰科技(上海)有限公司 Intelligent terminal and mould group remote upgrade method based on NB-IOT
CN109547538A (en) * 2018-11-05 2019-03-29 广西大学 Controller switching equipment condition monitoring system and implementation method based on technology of Internet of things
CN109981617A (en) * 2019-03-12 2019-07-05 深圳市智物联网络有限公司 A kind of internet of things equipment monitoring method, system and electronic equipment and storage medium
CN110008757A (en) * 2019-04-09 2019-07-12 江南大学 Data guard method and system in a kind of internet-of-things terminal firmware update

Also Published As

Publication number Publication date
CN110809262A (en) 2020-02-18

Similar Documents

Publication Publication Date Title
CN110809262B (en) COAP protocol-based operation and maintenance management method for Internet of things equipment
CN107645529B (en) Heartbeat packet sending method and device
CN108092847B (en) A kind of electric power LTE wireless terminal remote on-line monitoring method
KR101416280B1 (en) Event handling system and method
CN109218126B (en) Method, device and system for monitoring node survival state
CN110691398B (en) Network interaction method, system, equipment and storage medium of intelligent equipment
CN106993043B (en) Data communication system and method based on agency
CN105099763B (en) Equipment goes offline based reminding method and device
CN109040295B (en) Method and device for determining abnormal disconnection, terminal and storage medium
CN104967537A (en) Alarm information pushing method and device
CN113726556B (en) Edge internet of things proxy node operation and maintenance method, system, storage medium and computing equipment
CN103516588A (en) Method and system of background processing of client-side
CN110636030B (en) Hierarchical security management and control method and system for electric power mobile terminal
CN112637344A (en) Monitoring method, equipment and device of Internet of things equipment and storage medium
CN107508916B (en) Server link management method for intelligent robot
CN116166499A (en) Data monitoring method and device, electronic equipment and nonvolatile storage medium
CN106411574B (en) Management control method and device
CN104243473B (en) A kind of method and device of data transmission
EP3373608B1 (en) Method and apparatus for acquiring resources
CN103166779A (en) Alarm confirming and processing method and device based on mobile terminal
CN109040286B (en) Client online state maintenance method based on memory database
CN107861485A (en) Data acquisition and monitoring control method, client, server and system
CN108781215B (en) Network service implementation method, service controller and communication system
CN114679472A (en) Communication system, method, apparatus, storage medium, and electronic device
CN110601914B (en) Method and system for monitoring survival state of server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant