CN110809262A - Internet of things equipment operation and maintenance management method based on COAP protocol - Google Patents

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

Info

Publication number
CN110809262A
CN110809262A CN201911089960.9A CN201911089960A CN110809262A CN 110809262 A CN110809262 A CN 110809262A CN 201911089960 A CN201911089960 A CN 201911089960A CN 110809262 A CN110809262 A CN 110809262A
Authority
CN
China
Prior art keywords
internet
maintenance management
things equipment
things
coap protocol
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.)
Granted
Application number
CN201911089960.9A
Other languages
Chinese (zh)
Other versions
CN110809262B (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

Images

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)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Cardiology (AREA)
  • Medical Informatics (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses an operation and maintenance management method, device and system of internet of things equipment based on a COAP protocol, an operation and maintenance management platform and a readable storage medium, and the scheme comprises the following steps: subscribing the state change event of the equipment of the Internet of things according to a subscription mechanism of a COAP protocol; when the state change event occurs to the equipment of the Internet of things, acquiring a notification message which is generated by the equipment of the Internet of things and is based on a COAP (chip on Board) protocol; and according to the notification message, executing 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 executes 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 perfect interaction mechanism of the COAP protocol, the integrity and the safety of the interaction process are ensured, and in addition, the cost on a memory and a network is effectively reduced because the COAP protocol is realized based on the UDP.

Description

Internet of things equipment operation and maintenance management method based on COAP protocol
Technical Field
The application relates to the technical field of communication, in particular to an operation and maintenance management method, device and system of internet of things equipment based on a COAP protocol, an operation and maintenance management platform and a readable storage medium.
Background
At present, operation and maintenance management of internet of things equipment is mostly based on a private protocol, the security is low, an interaction mechanism is incomplete, and in addition, too many fragments are required for issuing an upgrade package, and the expansibility is poor.
The existing scheme adopts a network management protocol Netconf to realize the monitoring (such as alarming and performance management) of network equipment, can construct and expand through a data model, is flexible to use, and has a relatively perfect subscription system for reporting equipment alarms. However, the management protocol uses XML coding and TCP long connection, and resource consumption and network traffic consumption of the internet of things device are too large, so that low power consumption is difficult to realize, and the management protocol is not suitable for a low-power-consumption internet of things scene.
Therefore, how to ensure that the safety and the power consumption are lower in the operation management process of the internet of things equipment is a problem to be solved by technical personnel in the field urgently.
Disclosure of Invention
The application aims to provide an operation and maintenance management method, an operation and maintenance management device, an operation and maintenance management system, an operation and maintenance management platform and a readable storage medium of internet of things equipment based on a COAP protocol, and the method, the device, the system, the operation and maintenance management platform and the readable storage medium are used for solving the problems that a traditional operation and maintenance management scheme of the internet of things equipment is low in safety, incomplete in interaction mechanism or high in power consumption. The specific scheme is as follows:
in a first aspect, the application provides an operation and maintenance management method for internet of things equipment based on a COAP protocol, which is applied to an operation and maintenance management platform, and the method includes:
subscribing the state change event of the equipment of the Internet of things according to a subscription mechanism of a COAP protocol;
when the state change event occurs to the Internet of things equipment, acquiring a notification message based on a COAP protocol and generated by 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: 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 packet 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 permission or not according to the notification message;
and if yes, warehousing the Internet of things equipment, and monitoring the online state of the Internet of things equipment through a heartbeat mechanism.
Preferably, the state change event is a failure event, and the locally executing a corresponding operation and maintenance management operation according to the notification packet 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 generating the operation packet based on the COAP protocol and sending the operation packet to the internet of things device includes:
splitting the target upgrade package, and writing a splitting result into an operation message based on a 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 application provides an internet of things device operation and maintenance management 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 device is used for subscribing the state change event of the Internet of things equipment according to a subscription mechanism of a COAP protocol;
a message acquisition module: the notification message based on the COAP protocol and generated by the Internet of things equipment is acquired when the state change event occurs to the Internet of things equipment;
the operation and maintenance management module: and the operation and maintenance management module is used for locally executing corresponding operation and maintenance management operation 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 a third aspect, the present application provides an operation and maintenance management platform, including:
a memory: for storing a computer program;
a processor: the computer program is used for executing the computer program to implement the steps of the operation and maintenance management method of the internet of things device based on the COAP protocol.
In a fourth aspect, the present application provides a readable storage medium, on which a computer program is stored, where the computer program is used to implement the steps of the method for managing and maintaining the devices of the internet of things based on the COAP protocol, when the computer program is 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 includes an operation and maintenance management platform and internet of things equipment;
the operation and maintenance management platform is used for subscribing a state change event of the Internet of things equipment according to a subscription mechanism of a COAP protocol; the Internet of things equipment 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 locally executing corresponding operation and maintenance management operation 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 internet of things equipment based on a COAP protocol, which is applied to an operation and maintenance management platform and comprises the following steps: subscribing the state change event of the equipment of the Internet of things according to a subscription mechanism of a COAP protocol; when the state change event occurs to the equipment of the Internet of things, acquiring a notification message which is generated by the equipment of the Internet of things and is based on a COAP (chip on Board) protocol; and according to the notification message, executing 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 executes corresponding processing operation according to the operation message.
In addition, the COAP protocol is realized based on UDP, so that the overhead 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 due to the confirmation frame and retransmission mechanism provided by the COAP protocol.
In addition, the application also provides an operation and maintenance management device, system, operation and maintenance management platform and readable storage medium of the internet of things equipment based on the COAP protocol, and the technical effect of the operation and maintenance management device corresponds to that of the method, and is not repeated herein.
Drawings
For a clearer explanation of the embodiments or technical solutions of the prior art of the present application, the drawings needed for the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart illustrating an implementation of a first embodiment of an operation and maintenance management method for internet of things equipment based on a COAP protocol provided in the present application;
fig. 2 is a schematic diagram of a framework of an operation and maintenance management system of an internet of things device based on a COAP protocol provided in the present application;
fig. 3 is a flowchart illustrating an implementation of an online event in a second embodiment of a method for managing operation and maintenance of internet of things devices based on a COAP protocol according to the present application;
fig. 4 is a flowchart illustrating implementation of a fault event correspondence in a second embodiment of a method for managing operation and maintenance of an internet of things device based on a COAP protocol according to the present application;
fig. 5 is a flowchart illustrating an implementation of an upgrade event corresponding to a second embodiment of a method for managing operation and maintenance of an internet of things device based on a COAP protocol according to the present application;
fig. 6 is a functional block diagram of an embodiment of an operation and maintenance management apparatus for an internet of things device based on a COAP protocol provided in the present application;
fig. 7 is a schematic structural diagram of an embodiment of an operation and maintenance management platform provided in 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, which can improve the integrity of interaction between the operation and maintenance management platform and the internet of things equipment and reduce the consumption of memory and network while ensuring the security of the interaction process.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, a first embodiment of an operation and maintenance management method for internet of things devices based on a COAP protocol provided in the present application is applied to an operation and maintenance management platform, and includes the following steps:
s101, subscribing a state change event of the Internet of things equipment according to a subscription mechanism of a COAP protocol;
s102, when the state change event occurs to the Internet of things equipment, obtaining a notification message based on a COAP protocol and generated by the Internet of things equipment;
s103, according to the notification message, corresponding operation and maintenance management operation is executed locally, or an operation message based on a COAP protocol is generated and sent to the Internet of things equipment, so that the Internet of things equipment executes corresponding processing operation according to the operation message.
The embodiment is implemented based on a COAP (Constrained Application Protocol), and mainly aims to implement operation and maintenance management on the internet of things device. The COAP protocol is a network transmission protocol based on the REST model and is mainly used for lightweight M2M communication.
In this embodiment, as shown in fig. 2, an operation and maintenance management system framework of an internet of things device based on a COAP protocol is shown, where the internet of things device is a managed device and is a data producer, so that the internet of things device may specifically be an electric meter device, a relay device, and a gateway device in different application scenarios by using a COAP Server; the management end, that is, the operation and maintenance management platform of this embodiment, uses the COAP client, and the operation and maintenance management platform may implement operations such as obtaining, modifying, adding, deleting parameters of the internet of things device by using methods such as get, put, post, delete, and the like provided by the COAP protocol. 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, a corresponding notification message may be sent to the operation and maintenance management platform whenever the state change event occurs to the internet of things device, so that monitoring of the internet of things device is achieved. 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 the notification message of the internet of things device, the operation and maintenance management platform may be divided into the following two cases according to the specific situation of the notification message: or locally executing corresponding operation and maintenance management operation, or generating an operation message and sending the operation message to the Internet of things equipment, and executing corresponding processing operation by the subsequent Internet of things equipment according to the operation message. Because the operation and maintenance management requirements for different state change events are different, the selection of the two conditions can be determined according to the instant requirement in the actual application scene. For example, when the state change event is the above-mentioned fault event, the maintenance cannot be automatically performed, and therefore, only the operation and maintenance management platform side can generate the fault prompt information to prompt the operation and maintenance personnel to perform the maintenance. When the state change event is an online event, the operation and maintenance management platform can automatically perform subsequent processing, such as identifying the validity of the currently online internet of things device, collecting basic device information of the internet of things device, and the like.
As a preferred embodiment, for some data required by security, such as the above operation message, TLS encryption transmission may be used to improve security.
Specifically, in this embodiment, no matter the notification message sent by the internet of things device to the operation and maintenance management platform or the operation message sent by the operation and maintenance management platform to the internet of things device, is a message based on the COAP protocol. Specifically, in the operation and maintenance management process of the whole internet of things device, the internet of things device and the operation and maintenance management platform are communicated through the COAP protocol. 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 overhead of the protocol and the network is much smaller than that of TCP, and the method is more suitable for the scene of the low-power-consumption Internet of things; the COAP protocol provides a confirmation frame and retransmission mechanism, and makes up the unreliable transmission problem of UDP; the message overhead of the COAP protocol is very small, and the consumption of network flow and the consumption of electric quantity during transmission can be greatly saved.
In summary, the operation and maintenance management method for the internet of things device based on the COAP protocol provided by this embodiment is applied to an operation and maintenance management platform, and the scheme includes: subscribing the state change event of the equipment of the Internet of things according to a subscription mechanism of a COAP protocol; when the state change event occurs to the equipment of the Internet of things, acquiring a notification message which is generated by the equipment of the Internet of things and is based on a COAP (chip on Board) protocol; and according to the notification message, executing 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 executes corresponding processing operation according to the operation message. Therefore, the operation and maintenance management function of the internet of things equipment is realized by using the perfect interaction mechanism of the COAP protocol, the integrity and the safety of the interaction process are guaranteed, in addition, the COAP protocol is realized based on the UDP, so that the overhead on a memory and a network is much smaller than that of the 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 acknowledgement frame and the retransmission mechanism provided by the COAP protocol.
An embodiment of a second operation and maintenance management method for internet of things equipment based on a COAP protocol provided by the present application is described in detail below, and the embodiment is implemented based on the first embodiment and is expanded to a certain extent on the basis of the first embodiment.
Specifically, the present embodiment describes the corresponding monitoring control process in detail for different status change events, and the following describes the status change events as an online event, a failure event, and an upgrade event. In an actual application scenario, the present embodiment may be referred to for a monitoring control process in which a state change event is another event, but this is not described in detail in this embodiment.
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 a COAP protocol;
s302, when an online event occurs to the Internet of things equipment, acquiring an online notification message generated by the Internet of things equipment and based on a COAP (chip on Board) protocol;
the online event may specifically be power-on or reset.
S303, judging whether the Internet of things equipment has warehousing permission 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 a COAP protocol to obtain basic equipment information of the Internet of things equipment.
In this embodiment, the operation and maintenance management platform first subscribes an online event of the internet of things device through a subscription mechanism of the COAP protocol, so that after 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 sending the online message is legal or not, and if the Internet of things equipment is legal, the Internet of things equipment is allowed to be online and put in storage; the operation and maintenance management platform further subscribes heartbeat messages 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 send heartbeat packets to the operation and maintenance management platform regularly; after the internet of things equipment is on line, the operation and maintenance management platform can also acquire basic equipment information of the internet of things equipment through a get interface of a COAP protocol.
As shown in fig. 4, when the state change event is a failure event, the embodiment includes the following steps:
s401, subscribing a fault event of the Internet of things equipment according to a subscription mechanism of a COAP protocol;
s402, when the Internet of things equipment has a fault event, acquiring a fault notification message based on a COAP (chip on Board) protocol and generated by the Internet of things equipment;
and 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 subscribe, through a subscription mechanism of the COAP protocol, a state, such as an alarm event, a fault event, and the like, of the device side of the internet of things, in addition to acquiring basic device information of the device of the internet of things.
Specifically, when the internet of things device detects an event such as a fault, a fault notification message can be generated 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 sent to maintain the device.
It can be understood that the operation and maintenance management platform may also subscribe to a failure resolution event of the internet of things device, and after the failure resolution of the internet of things device, the internet of things device may report the failure resolution to the operation and maintenance management platform by the same mechanism, and the operation and maintenance management platform recovers a corresponding state.
As shown in fig. 5, when the state change event is an upgrade event, the embodiment includes the following steps:
s501, subscribing an upgrading event of the Internet of things equipment according to a subscription mechanism of a 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 firmware needs to be upgraded, the internet of things device considers that the upgrade event occurs.
S502, when an upgrading event occurs to the Internet of things equipment, obtaining an upgrading notification message which is generated by the Internet of things equipment and based on a COAP protocol;
s503, splitting the target upgrade package according to the upgrade notification message, and writing the split 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 residual message exists;
s505, judging whether the Internet of things equipment sends a packet supplementing request in a preset time period; if so, jumping to S506, otherwise, judging that the upgrade packet data is completely transmitted, and jumping to S507;
s506, sending the corresponding operation message to the Internet of things equipment in a unicast mode;
and S507, the Internet of things equipment executes upgrading operation.
In this embodiment, for large file transmission such as a firmware upgrade package of internet of things devices, when batch upgrade is required, multicast mode delivery may be used, so as to avoid repeated sending of data by a client, and in addition, excessive sub-package delivery may be avoided by using a block transmission mode, thereby ensuring that a plurality of internet of things devices can timely and quickly receive an upgrade data package delivered by an operation and maintenance management platform.
Specifically, in an electric power operation and maintenance scene, the electric power acquisition terminal serves as a COAP server, the electric power operation and maintenance management system serves as a COAP client, and the electric power operation and maintenance management system and the electric power acquisition terminal use a COAP protocol for interaction, and based on the method embodiment, the following operation and maintenance management functions can be realized:
1. the electric power operation and maintenance management system acquires equipment information (such as an equipment serial number, an equipment type and the like) of an electric meter acquisition terminal by using a get method of a COAP protocol;
2. the power management system sends an upgrading data packet to an ammeter acquisition terminal through a post method of a 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 a COAP protocol;
4. the power management system can subscribe the ammeter acquisition terminal through a subscription mechanism of a COAP protocol, and the ammeter acquisition terminal reports registration information, power failure alarm state, routing change and the like to the power management system.
In summary, the operation and maintenance management method for the internet of things equipment based on the COAP protocol provided by the embodiment 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 equipment, the electric operation and maintenance platform and the internet of things equipment interact with each other by using the COAP protocol, so that very small memory and network overhead can be used, perfect operation and maintenance management of the internet of things equipment 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.
In the following, an operation and maintenance management device of an internet of things device based on a COAP protocol provided in an embodiment of the present application is introduced, and a device of an internet of things device based on a COAP protocol described below and an operation and maintenance management method of an internet of things device based on a COAP protocol described above may be referred to in a corresponding manner.
Referring to fig. 6, the operation and maintenance management apparatus is applied to an operation and maintenance management platform, and includes:
the event subscription module 601: the device is used for subscribing the state change event of the Internet of things equipment according to a subscription mechanism of a COAP protocol;
the message acquisition module 602: the notification message based on the COAP protocol and generated by the Internet of things equipment is acquired when the state change event occurs to the Internet of things equipment;
the operation and maintenance management module 603: and the operation and maintenance management module is used for locally executing corresponding operation and maintenance management operation 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 operation and maintenance management device of the internet of things equipment based on the COAP protocol in this embodiment is used for implementing the operation and maintenance management method of the internet of things equipment based on the COAP protocol, so a specific implementation manner in the device can be seen in the foregoing embodiment of the operation and maintenance management method of the internet of things equipment 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 used for implementing steps S101, S102, and S103 in the operation and maintenance management method of the internet of things equipment based on the COAP protocol. Therefore, specific embodiments thereof may be referred to in the description of the corresponding respective partial embodiments, and will not be described herein.
In addition, since the operation and maintenance management device of the internet of things equipment based on the COAP protocol of the embodiment is used for implementing the operation and maintenance management method of the internet of things equipment based on the COAP protocol, the role of the operation and maintenance management device corresponds to that of the method, and details are not repeated here.
In addition, the present application further provides an operation and maintenance management platform, as shown in fig. 7, including:
the memory 100: for storing a computer program;
the processor 200: the computer program is used for executing the computer program to implement the steps of the operation and maintenance management method of the internet of things device based on the COAP protocol.
The present application further provides a readable storage medium, on which a computer program is stored, where the computer program is used to implement the steps of the method for managing and maintaining the devices of the internet of things based on the COAP protocol as described above when being 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 a state change event of the Internet of things equipment according to a subscription mechanism of a COAP protocol; the Internet of things equipment 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 locally executing corresponding operation and maintenance management operation 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 embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
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. A software module may reside 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 above detailed descriptions of the solutions provided in the present application, and the specific examples applied herein are set forth to explain the principles and implementations of the present application, and the above descriptions of the examples are only used to help understand the method and its core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. An operation and maintenance management method for Internet of things equipment based on a COAP protocol is applied to an operation and maintenance management platform, and comprises the following steps:
subscribing the state change event of the equipment of the Internet of things according to a subscription mechanism of a COAP protocol;
when the state change event occurs to the Internet of things equipment, acquiring a notification message based on a COAP protocol and generated by 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.
2. The method of claim 1, wherein the state change event comprises any one or more of: an online event, an alarm event, a fault event, an upgrade event, and a route change event.
3. The method according to claim 2, wherein the state change event is an online event, and the locally performing a corresponding operation and maintenance management operation according to the notification packet 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.
4. The method of claim 3, 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 permission or not according to the notification message;
and if yes, warehousing the Internet of things equipment, and monitoring the online state of the Internet of things equipment through a heartbeat mechanism.
5. The method according to claim 2, wherein the state change event is a failure event, and the locally performing a corresponding operation and maintenance management operation according to the notification packet includes:
and determining the fault type and generating a corresponding operation and maintenance work order and prompt information according to the notification message.
6. The method according to any one of claims 2 to 5, wherein the state change event is an upgrade event, and the generating and sending an operation packet based on a COAP protocol to the internet of things device includes:
splitting the target upgrade package, and writing a splitting result into an operation message based on a 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.
7. The utility model provides a thing networking equipment operation and maintenance management device 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 device is used for subscribing the state change event of the Internet of things equipment according to a subscription mechanism of a COAP protocol;
a message acquisition module: the notification message based on the COAP protocol and generated by the Internet of things equipment is acquired when the state change event occurs to the Internet of things equipment;
the operation and maintenance management module: and the operation and maintenance management module is used for locally executing corresponding operation and maintenance management operation 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.
8. An operation and maintenance management platform, comprising:
a memory: for storing a computer program;
a processor: the computer program is executed to implement the steps of the operation and maintenance management method for the internet of things device based on the COAP protocol according to any one of claims 1 to 6.
9. A readable storage medium, having stored thereon a computer program, which when executed by a processor, is configured to implement the steps of the method for operation and maintenance management of internet of things devices based on the COAP protocol according to any one of claims 1 to 6.
10. An operation and maintenance management system of Internet of things equipment based on a 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 a state change event of the Internet of things equipment according to a subscription mechanism of a COAP protocol; the Internet of things equipment 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 locally executing corresponding operation and maintenance management operation 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.
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 true CN110809262A (en) 2020-02-18
CN110809262B 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)

Cited By (3)

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

Citations (16)

* 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
US20170302745A1 (en) * 2014-09-25 2017-10-19 Telefonaktiebolaget Lm Ericsson (Publ) Device mobility with coap
US20170324725A1 (en) * 2014-03-31 2017-11-09 EXILANT Technologies Private Limited Increased communication security
US20170351503A1 (en) * 2016-06-06 2017-12-07 Advanced Digital Broadcast S.A. Method and system for installing software
WO2018112327A1 (en) * 2016-12-15 2018-06-21 Convida Wireless, Llc Methods of concurrency control for block transfer in coap publish-subscribe architecture
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
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

Patent Citations (16)

* 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
US20170324725A1 (en) * 2014-03-31 2017-11-09 EXILANT Technologies Private Limited Increased communication security
US20170302745A1 (en) * 2014-09-25 2017-10-19 Telefonaktiebolaget Lm Ericsson (Publ) Device mobility with coap
CN104936202A (en) * 2015-06-04 2015-09-23 南京邮电大学 CoAP protocol based 6LoWPAN wireless sensor network management system
US20170351503A1 (en) * 2016-06-06 2017-12-07 Advanced Digital Broadcast S.A. Method and system for installing software
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
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
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

Cited By (4)

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

Also Published As

Publication number Publication date
CN110809262B (en) 2023-09-01

Similar Documents

Publication Publication Date Title
US20210036907A1 (en) Methods and apparatuses for pushing a message
CN107645529B (en) Heartbeat packet sending method and device
CN110809262B (en) COAP protocol-based operation and maintenance management method for Internet of things equipment
US20140310358A1 (en) Adaptive Publish/Subscribe System
CN106993043B (en) Data communication system and method based on agency
CN109040295B (en) Method and device for determining abnormal disconnection, terminal and storage medium
CN109495530B (en) Real-time traffic data transmission method, transmission device and transmission system
CN103906087A (en) Access point upgrading method, device and system
CN105099763B (en) Equipment goes offline based reminding method and device
CN104144124B (en) Data forwarding method, Apparatus and system
CN110933142A (en) ICFS cluster network card monitoring method, device and equipment and medium
CN110705893B (en) Service node management method, device, equipment and storage medium
CN103516588A (en) Method and system of background processing of client-side
CN109962827B (en) Equipment link detection method, device, equipment and readable storage medium
US20170126828A1 (en) Sending Method and Apparatus and Computer Storage Medium of Notification Message
US20170164138A1 (en) Notification message transmission method and device, and computer storage medium
CN110572315A (en) Information interaction method and device, robot and storage medium
CN100359865C (en) Detecting method
KR101207219B1 (en) Method for protecting DDS network overload
US9967163B2 (en) Message system for avoiding processing-performance decline
CN106230878B (en) Equipment service calling method and device based on AllJoyn framework
CN110474807B (en) Log processing method and device
CN111247819B (en) Device management method and BLE device
CN112532663B (en) Household intelligent gateway login method and device
CN109947630B (en) Fault notification method, device and storage medium

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