WO2014048129A1 - Indicating message sending method, indicating message receiving method, device and system - Google Patents

Indicating message sending method, indicating message receiving method, device and system Download PDF

Info

Publication number
WO2014048129A1
WO2014048129A1 PCT/CN2013/076375 CN2013076375W WO2014048129A1 WO 2014048129 A1 WO2014048129 A1 WO 2014048129A1 CN 2013076375 W CN2013076375 W CN 2013076375W WO 2014048129 A1 WO2014048129 A1 WO 2014048129A1
Authority
WO
WIPO (PCT)
Prior art keywords
indication message
downstream
description information
power
downstream device
Prior art date
Application number
PCT/CN2013/076375
Other languages
French (fr)
Chinese (zh)
Inventor
洪维毅
罗秋雁
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2014048129A1 publication Critical patent/WO2014048129A1/en

Links

Classifications

    • 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/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • 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
    • H04L41/0686Additional information in the notification, e.g. enhancement of specific meta-data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning

Definitions

  • Embodiments of the present invention relate to communication technologies, and in particular, to an indication message sending method, a receiving method, a device, and a system. Background technique
  • the downstream device sends a dying gist to the upstream device before the dying (English name is Dying gasp), and the upstream device receives the Dying gasp through a certain port, and then The upstream device will report the port number of the Dying gasp to the NMS. Because the upstream device reports its own port number, on the network management side, you need to manually find out which downstream device is connected to the port number. This results in poor maintainability and low efficiency of the network.
  • the embodiments of the present invention provide an indication message sending method, a receiving method, a device, and a system, which are used to solve the problem that the network has poor maintainability and low efficiency when a downstream device is powered off.
  • a first aspect of the embodiments of the present invention provides a method for sending an indication message, including: determining, by a downstream device, that a power outage occurs; the downstream device sending a power failure indication message to the upstream device, where the power failure indication message includes the downstream device Device description information.
  • the downstream device sends a recovery indication message to the upstream device after the power supply is restored, where the recovery indication message includes device description information of the downstream device.
  • the power failure indication message is a dying message.
  • the data/fill value field of the dying message includes the device description information of the downstream device.
  • the method for sending a message according to any one of the first aspect to the third possible implementation manner where the device description information includes: an IP address and/or a device name of the downstream device .
  • a second aspect of the embodiments of the present invention provides a message receiving method, including: an upstream device receiving a power-off indication message sent by the downstream device after the power-off, where the power-off indication message carries a device description of the downstream device
  • the upstream device obtains the device description information of the downstream device according to the power-off indication message; the upstream device reports the device description information of the downstream device to the network management.
  • the upstream device receives a recovery indication message sent by the downstream device after the power is restored, where the recovery indication message includes device description information of the downstream device.
  • the power failure indication message is a dying message.
  • the device description information is included in a data/fill value field of the dying message.
  • the device description information includes: an IP address and/or a device name of the downstream device.
  • a third aspect of the embodiments of the present invention provides a downstream device, including: a determining module, configured to determine that a downstream device is powered off; and a sending module, configured to send a power-off indication message to the upstream device, where the power-off indication message includes The device description information of the downstream device.
  • the sending module is further configured to send a recovery indication message to the upstream device after the downstream device resumes power supply, where the recovery finger is The device description information of the downstream device is included in the message.
  • a fourth aspect of the embodiments of the present invention provides an upstream device, including: a receiving module, configured to receive a power-off indication message sent by the downstream device after the power-off, where the power-off indication information carries the downstream device
  • the device description information is used by the processing module, configured to obtain, according to the power-off indication message, the device description information of the downstream device, and the reporting module, configured to report the device description information of the downstream device to the network management.
  • the receiving module is further configured to: after receiving the recovery device, the recovery indication message sent by the downstream device, where the recovery indication message includes the downstream device Device description information.
  • a fifth aspect of the embodiments of the present invention provides an indication message transmission system, including the downstream device according to the third aspect or the first possible implementation manner of the embodiment of the present invention, and the fourth aspect or the first possible The upstream device described in the implementation.
  • the method for transmitting the indication message, the receiving method, the device, and the system provided by the embodiment of the present invention enable the upstream device to learn the downstream device that has been powered off according to the indication message by sending the power-off indication message including the device description information to the upstream device.
  • Device description information easy network maintenance, and improved efficiency.
  • FIG. 1 is a flowchart of an embodiment of an indication message sending method according to the present invention.
  • FIG. 3 is a flowchart of an embodiment of a message receiving method according to the present invention.
  • FIG. 4 is a schematic structural diagram of a message frame of a dying message according to an embodiment of the method for transmitting a message according to the present invention
  • FIG. 5 is a schematic structural diagram of an embodiment of a downstream device according to the present invention.
  • FIG. 6 is a schematic structural view of an embodiment of an upstream device according to the present invention.
  • Figure 7 is a schematic structural view of still another embodiment of the downstream device of the present invention.
  • FIG. 8 is a schematic structural view of still another embodiment of the upstream device of the present invention
  • FIG. 9 is a schematic structural diagram of an embodiment of an indication message transmission system according to the present invention.
  • FIG. 1 is a flowchart of an embodiment of a method for sending an indication message according to the present invention. As shown in FIG. 1, the method in this embodiment may include:
  • the downstream device determines that power failure occurs; electrical or other reasons, which are not limited herein.
  • the downstream device's control unit for example, the central processing unit CPU
  • receives a level interrupt signal and based on the level interrupt signal, the downstream device can determine that it has been powered down.
  • the downstream device sends a power-off indication message to the upstream device, where the power-off indication message includes device description information of the downstream device.
  • the downstream device can send a power failure indication message to the upstream device by using the power in the downstream device capacitor.
  • the downstream device may generate the power failure indication message according to the device description information of the downstream device.
  • the device description information of the downstream device may include at least one of the following information: an Internet Protocol (IP) address of the downstream device and a device name of the downstream device. Further, the device description information of the downstream device may further include: attribute information of the downstream device, for example, at least one of the downstream device manufacturer identifier and the downstream device model.
  • IP Internet Protocol
  • the upstream device After receiving the power-off indication message sent by the downstream device, the upstream device can learn, according to the device description information carried in the power-off indication message, which downstream device is powered off, and then report the packet to the network management.
  • the device description information of the power-off device is fed back to the upstream device, thereby facilitating the network management to locate the power-off device, which is convenient for network maintenance. Increased efficiency.
  • FIG. 2 is a flowchart of still another embodiment of an indication message sending method according to the present invention. As shown in FIG. 2, the method for sending an indication message in this embodiment includes:
  • the downstream device determines that a power outage occurs
  • the downstream device sends a dying message to the upstream device, where the dying message carries the device description information of the downstream device.
  • the message structure of the dying message of the embodiment of the present invention includes: a frame header, a data/padding value Data/Pad field, and Frame detection sequence FCS field.
  • the frame header includes: destination address Destination Address field, source address Source Address field, length/type Length/Type field, subtype Subtype field, flag Flags field, and code Code field.
  • the downstream device may carry the device description letter, packet, of the downstream device in the data/padding data Data/Pad field of the dying message.
  • the Data/Pad value field includes: Local Information Local Information TLV, Remote Information Remote Information TLV, and Dying Gasp Information TLV.
  • the downstream device may carry the device description information of the downstream device in the Dying Gasp Information TLV of the Data/Pad field.
  • the method for sending the indication message in this embodiment may further include:
  • the downstream device sends a recovery indication message to the upstream device after the power supply is restored, where the recovery indication message includes device description information of the downstream device.
  • the foregoing recovery indication message may be a dying message carrying the device description information of the downstream device and the end event identifier of the fault event.
  • the Flags field may be used to identify the end of the fault event.
  • the Flags field is 16 bits, so one or several of these bits can be used to identify the end of the fault time. For example, you can set the 1 bit to 0 to identify the end of the fault event.
  • the upstream device can automatically obtain the device description information of the power-off device when the downstream device is powered off, which is beneficial for the network management to perform the power-off device. Positioning, easy network maintenance, and improved efficiency.
  • FIG. 3 is a flowchart of an embodiment of a message receiving method according to the present invention. As shown in FIG. 3, the method for receiving an indication message in this embodiment includes:
  • the upstream device receives a power-off indication message sent by the downstream device after the power-off, where the power-off indication information carries device description information of the downstream device.
  • the device description information of the downstream device includes at least one of the following information: an IP address of the downstream device and a device name of the downstream device. Further, the device description information of the downstream device may further include: attribute information of the downstream device, for example, at least one of the downstream device manufacturer identifier and the downstream device model.
  • the upstream device obtains device description information of the downstream device according to the power failure indication message.
  • the upstream device reports the device description information of the downstream device to the network management.
  • the upstream device receives the power-off indication message sent after the power-off of the downstream device, and can learn, according to the device description information carried in the power-off indication message, which downstream device is powered off, and then report the packet to the network management device, so that the network management device can learn to break according to the device description information. Electrical equipment.
  • the device by receiving the power-off indication message that is sent by the downstream device, including the device description information, the device can automatically obtain the device description information of the power-off device, which facilitates the network management to locate the power-off device, thereby facilitating network maintenance and improving. The efficiency.
  • the power-off indication message in the foregoing method for receiving the indication message may be a dying message as shown in FIG.
  • the method further includes: the upstream device receiving a recovery indication message sent by the downstream device after the power is restored, where the recovery indication message includes the downstream Device description information of the device.
  • the recovery indication message in the foregoing method for receiving the indication message may be a dying message as shown in FIG.
  • FIG. 5 is a schematic structural diagram of an embodiment of a downstream device according to the present invention. As shown in FIG. 5, the downstream device in this embodiment includes: a determining module 501, and a sending module 502, where:
  • a determining module 501 configured to determine that the downstream device is powered off;
  • the sending module 502 is configured to send a power-off indication message to the upstream device, where the power-off indication message includes device description information of the downstream device.
  • the foregoing power failure indication message may be a dying message.
  • the downstream device of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1 or FIG. 2, and the implementation principle thereof is similar, and details are not described herein again.
  • the sending module feeds back the device description information to the upstream device, and implements the device description information reporting, thereby facilitating the network management to locate the power-off device, facilitating network maintenance, and improving effectiveness.
  • the sending module 502 of the upstream device embodiment may be further configured to send a recovery indication message to the upstream device after the downstream device resumes power supply, where the recovery indication message includes device description information of the downstream device.
  • FIG. 6 is a schematic structural diagram of an embodiment of an upstream device according to the present invention.
  • the upstream device in this embodiment includes: a receiving module 601, a processing module 602, and a reporting module 603, where: a receiving module 601 is configured to receive a power failure indication message sent by the downstream device after the power is off, where the power failure indication information carries device description information of the downstream device;
  • the processing module 602 is configured to obtain, according to the power-off indication message, device description information of the downstream device.
  • the reporting module 603 is configured to report the device description information of the downstream device to the network management system.
  • the upstream device of this embodiment may be used to implement the technical solution of the embodiment of the message receiving method shown in FIG. 3, and the implementation principle thereof is similar, and details are not described herein again.
  • the upstream device provided by the embodiment receives the power-off indication message that is sent by the downstream device and includes the device description information, and the processing module obtains the device description information of the downstream device, and then uses the reporting module to describe the device description information of the downstream device. Reported to the network management system, which facilitates the network management to locate the power-off device according to the device description information of the reported downstream device, which facilitates network maintenance and improves efficiency.
  • the foregoing power failure indication message may be a dying message as shown in FIG. 4.
  • the receiving module 601 of the upstream device embodiment may be further configured to receive a recovery indication message sent by the downstream device after the power is restored, where the recovery indication message includes device description information of the downstream device.
  • FIG. 7 is a schematic structural diagram of still another embodiment of a downstream device according to the present invention.
  • the downstream device of this embodiment includes: a detector 701 and a transmitter 702, where:
  • a detector 701 configured to determine that the downstream device is powered off
  • the transmitter 702 is configured to send a power-off indication message to the upstream device, where the power-off indication message includes the device description information of the downstream device, to report the device description information of the downstream device to the network management.
  • the downstream device of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1 or FIG. 2, and the implementation principle is similar, and details are not described herein again.
  • the transmitter 702 of the upstream device embodiment may be further configured to send a recovery indication message to the upstream device after the downstream device resumes power supply, where the recovery indication message includes device description information of the downstream device. .
  • FIG. 8 is a schematic structural diagram of still another embodiment of the upstream device of the present invention.
  • the upstream device of this embodiment includes: a receiver 801, a processor 802, and a transmitter 803, where:
  • a receiver 801 configured to receive a power-off indication message sent by the downstream device after the power-off, where the power-off indication information carries device description information of the downstream device;
  • the processor 802 is configured to obtain, according to the power-off indication message, device description information of the downstream device.
  • the sender 803 is configured to report the device description information of the downstream device to the network management.
  • the upstream device of this embodiment may be used to implement the technical solution of the embodiment of the message receiving method shown in FIG. 3, and the implementation principle thereof is similar, and details are not described herein again.
  • the upstream device provided by the embodiment receives the power-off indication message that is sent by the downstream device and includes the device description information, and the device obtains the device description information of the downstream device, and then the device description information of the downstream device is sent by the transmitter. Reported to the network management system, which facilitates the network management to locate the power-off device according to the device description information of the reported downstream device, which facilitates network maintenance and improves efficiency.
  • the receiver 801 of the upstream device embodiment may be further configured to receive a recovery indication message sent by the downstream device after the power is restored, where the recovery indication message includes device description information of the downstream device.
  • FIG. 9 is a schematic structural diagram of an embodiment of an indication message transmission system according to the present invention. As shown in FIG. 9, the system includes a downstream device 901 and an upstream device 902, where
  • the downstream device 901 is configured to send to the upstream device 902 when the downstream device 901 is powered off. a power-off indication message, where the power-off indication message includes the device description information of the downstream device 901; optionally, the downstream device 901 may be any one of the foregoing downstream device embodiments;
  • the upstream device 902 is configured to receive the power-off indication message sent by the downstream device 901, and obtain the device description information of the downstream device according to the power-off indication message, and report the device description information of the downstream device to the network management device;
  • the upstream device 902 can be any one of the foregoing upstream device embodiments.
  • the indication message transmission system provided in this embodiment is configured to send an indication message including the device description information to the upstream device, so as to report the upstream device or other device in the communication system when the downstream device is powered off or powered off, facilitating the network. Maintenance, improved efficiency.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Embodiments of the invention provide an indicating message sending method, an indicating message receiving method, device and a system. The indicating message sending method comprises: downstream equipment determines forthcoming outage; and the downstream equipment sends an outage indicating message to upstream equipment before outage, wherein the outage indicating message includes equipment description information of the downstream equipment, so that the upstream equipment learns that the downstream equipment corresponding to the equipment description information is in outage. The indicating message sending method, the indicating message receiving method, the device and the system provided in the embodiments of the invention can achieve that the upstream equipment is capable of learning the equipment description information of the downstream equipment in outage according to the indicating message through sending the outage indicating message including the equipment description information to the upstream equipment, so that network maintenance is facilitated while efficiency is improved.

Description

指示消息发送方法、 接收方法、 设备及系统  Instruction message sending method, receiving method, device and system
本申请要求于 2012 年 9 月 26 日提交中国专利局、 申请号为 201210363649.0、 发明名称为 "指示消息发送方法、 接收方法、 设备及系 统" 的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。 This application claims priority to Chinese Patent Application No. 201210363649.0, entitled "Instruction Message Sending Method, Receiving Method, Device and System", filed on September 26, 2012, the entire contents of which are incorporated by reference. In this application.
技术领域 本发明实施例涉及通信技术, 尤其涉及指示消息发送方法、 接收方法、 设备及系统。 背景技术 TECHNICAL FIELD Embodiments of the present invention relate to communication technologies, and in particular, to an indication message sending method, a receiving method, a device, and a system. Background technique
在人们的日常生活和工作中, 通信系统已经成为一种不可或缺的工 具, 它通过将各个孤立的工作站或设备联系在一起组成数据链路, 达到资 源共享和通信信息传递的目的。 通常, 通信系统中各个设备之间进行信息 交互时, 相互通信的设备在上电状态下互相发送消息建立链接、 进行正常 通信。  In people's daily life and work, communication systems have become an indispensable tool for resource sharing and communication information transmission by linking isolated workstations or devices together to form a data link. Generally, when information is exchanged between devices in a communication system, devices that communicate with each other send messages to each other to establish a link and perform normal communication in a power-on state.
在已经建立链接的通信系统中, 如果某一下游设备发生断电, 下游设 备在临终前向上游设备发送临终遗言 (英文全称为 Dying gasp ) ,上游设 备通过某一个端口接收到该 Dying gasp, 然后上游设备将接收到该 Dying gasp的端口号上报网管。 由于上游设备上报的是自身的端口号, 因此, 在 网管侧, 需要人工查找与该端口号相连的是哪一个下游设备。 这导致了网 络的可维护性差, 效率低。 发明内容 本发明实施例提供一种指示消息发送方法、 接收方法、 设备及系统, 用 以解决现有技术中下游设备发生断电时, 网络的可维护性差, 效率低的问题。  In a communication system in which a link has been established, if a downstream device is powered off, the downstream device sends a dying gist to the upstream device before the dying (English name is Dying gasp), and the upstream device receives the Dying gasp through a certain port, and then The upstream device will report the port number of the Dying gasp to the NMS. Because the upstream device reports its own port number, on the network management side, you need to manually find out which downstream device is connected to the port number. This results in poor maintainability and low efficiency of the network. SUMMARY OF THE INVENTION The embodiments of the present invention provide an indication message sending method, a receiving method, a device, and a system, which are used to solve the problem that the network has poor maintainability and low efficiency when a downstream device is powered off.
本发明实施例第一方面提供一种指示消息发送方法, 包括: 下游设备确 定发生断电; 所述下游设备向上游设备发送断电指示消息, 所述断电指示消 息中包含所述下游设备的设备描述信息。 在第一种可能的实现方式中, 根据第一方面, 所述下游设备在恢复供电 之后向所述上游设备发送恢复指示消息, 所述恢复指示消息中包含所述下游 设备的设备描述信息。 A first aspect of the embodiments of the present invention provides a method for sending an indication message, including: determining, by a downstream device, that a power outage occurs; the downstream device sending a power failure indication message to the upstream device, where the power failure indication message includes the downstream device Device description information. In a first possible implementation manner, according to the first aspect, the downstream device sends a recovery indication message to the upstream device after the power supply is restored, where the recovery indication message includes device description information of the downstream device.
在第二种可能的实现方式中, 结合第一方面或第一种可能的实现方式, 所述断电指示消息为临终遗言报文。  In a second possible implementation manner, in combination with the first aspect or the first possible implementation manner, the power failure indication message is a dying message.
在第三种可能的实现方式中, 结合第二种可能的实现方式, 所述临终遗 言报文的数据 /填充值字段中包含所述下游设备的设备描述信息。  In a third possible implementation manner, in combination with the second possible implementation manner, the data/fill value field of the dying message includes the device description information of the downstream device.
在第四种可能的实现方式中, 结合第一方面至第三种可能的实现方式中 任一指示消息发送方法, 所述设备描述信息, 包括: 所述下游设备的 IP地址 和 /或设备名称。  In a fourth possible implementation, the method for sending a message according to any one of the first aspect to the third possible implementation manner, where the device description information includes: an IP address and/or a device name of the downstream device .
本发明实施例第二方面提供一种消息接收方法, 包括: 上游设备接收所 述下游设备在断电之后发送的断电指示消息, 其中, 所述断电指示消息携带 所述下游设备的设备描述信息; 所述上游设备根据所述断电指示消息, 获得 所述下游设备的设备描述信息; 上游设备将所述下游设备的设备描述信息上 报给网管。  A second aspect of the embodiments of the present invention provides a message receiving method, including: an upstream device receiving a power-off indication message sent by the downstream device after the power-off, where the power-off indication message carries a device description of the downstream device The upstream device obtains the device description information of the downstream device according to the power-off indication message; the upstream device reports the device description information of the downstream device to the network management.
在第一种可能的实现方式中, 根据第二方面, 所述上游设备接收所述下 游设备在恢复供电之后发送的恢复指示消息, 所述恢复指示消息中包含所述 下游设备的设备描述信息。  In a first possible implementation, according to the second aspect, the upstream device receives a recovery indication message sent by the downstream device after the power is restored, where the recovery indication message includes device description information of the downstream device.
在第二种可能的实现方式中, 结合第二方面或第一种可能的实现方式, 所述断电指示消息为临终遗言报文。  In a second possible implementation manner, in combination with the second aspect or the first possible implementation manner, the power failure indication message is a dying message.
在第三种可能的实现方式中, 结合第二种可能的实现方式, 所述临终遗 言报文的数据 /填充值字段中包含所述设备描述信息。  In a third possible implementation manner, in combination with the second possible implementation manner, the device description information is included in a data/fill value field of the dying message.
在第四种可能的实现方式中, 结合第二方面至第三种可能的实现方式中 任一消息接收方法, 所述设备描述信息, 包括: 所述下游设备的 IP地址和 / 或设备名称。  In a fourth possible implementation, in combination with any one of the second to third possible implementation manners, the device description information includes: an IP address and/or a device name of the downstream device.
本发明实施例第三方面提供一种下游设备, 包括: 确定模块, 用于确定 下游设备发生断电; 发送模块, 用于向上游设备发送断电指示消息, 所述断 电指示消息中包含所述下游设备的设备描述信息。  A third aspect of the embodiments of the present invention provides a downstream device, including: a determining module, configured to determine that a downstream device is powered off; and a sending module, configured to send a power-off indication message to the upstream device, where the power-off indication message includes The device description information of the downstream device.
在第一种可能的实现方式中, 根据第三方面, 所述发送模块, 还用于在 所述下游设备恢复供电之后向所述上游设备发送恢复指示消息, 所述恢复指 示消息中包含所述下游设备的设备描述信息。 In a first possible implementation manner, according to the third aspect, the sending module is further configured to send a recovery indication message to the upstream device after the downstream device resumes power supply, where the recovery finger is The device description information of the downstream device is included in the message.
本发明实施例第四方面提供一种上游设备, 包括: 接收模块, 用于接收 所述下游设备在断电之后发送的断电指示消息, 其中, 所述断电指示信息携 带所述下游设备的设备描述信息; 处理模块, 用于根据所述断电指示消息, 获得所述下游设备的设备描述信息; 上报模块, 用于将所述下游设备的设备 描述信息上报给网管。  A fourth aspect of the embodiments of the present invention provides an upstream device, including: a receiving module, configured to receive a power-off indication message sent by the downstream device after the power-off, where the power-off indication information carries the downstream device The device description information is used by the processing module, configured to obtain, according to the power-off indication message, the device description information of the downstream device, and the reporting module, configured to report the device description information of the downstream device to the network management.
在第一种可能的实现方式中, 根据第四方面, 所述接收模块, 还用于在 接收所述下游设备恢复供电之后发送的恢复指示消息, 所述恢复指示消息中 包含所述下游设备的设备描述信息。  In a first possible implementation manner, according to the fourth aspect, the receiving module is further configured to: after receiving the recovery device, the recovery indication message sent by the downstream device, where the recovery indication message includes the downstream device Device description information.
本发明实施例第五方面提供一种指示消息传输系统, 包括本发明实施例 第三方面或第一种可能的实现方式所述的下游设备和本发明实施例第四方面 或第一种可能的实现方式所述的上游设备。  A fifth aspect of the embodiments of the present invention provides an indication message transmission system, including the downstream device according to the third aspect or the first possible implementation manner of the embodiment of the present invention, and the fourth aspect or the first possible The upstream device described in the implementation.
本发明实施例提供的指示消息发送方法、 接收方法、 设备及系统, 通过 向上游设备发送包含设备描述信息的断电指示消息, 实现了上游设备能够根 据指示消息获知该发生了断电的下游设备的设备描述信息, 便于网络维护, 提高了效率。 附图说明 为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  The method for transmitting the indication message, the receiving method, the device, and the system provided by the embodiment of the present invention enable the upstream device to learn the downstream device that has been powered off according to the indication message by sending the power-off indication message including the device description information to the upstream device. Device description information, easy network maintenance, and improved efficiency. BRIEF DESCRIPTION OF THE DRAWINGS In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. The drawings are some embodiments of the present invention, and those skilled in the art can obtain other drawings based on these drawings without any inventive labor.
图 1为本发明指示消息发送方法一个实施例的流程图;  1 is a flowchart of an embodiment of an indication message sending method according to the present invention;
图 2为本发明指示消息发送方法又一个实施例的流程图;  2 is a flowchart of still another embodiment of an indication message sending method according to the present invention;
图 3为本发明消息接收方法一个实施例的流程图;  3 is a flowchart of an embodiment of a message receiving method according to the present invention;
图 4为本发明指示消息发送方法实施例的临终遗言报文帧结构示意图; 图 5为本发明下游设备一个实施例的结构示意图;  4 is a schematic structural diagram of a message frame of a dying message according to an embodiment of the method for transmitting a message according to the present invention; FIG. 5 is a schematic structural diagram of an embodiment of a downstream device according to the present invention;
图 6为本发明上游设备一个实施例的结构示意图;  6 is a schematic structural view of an embodiment of an upstream device according to the present invention;
图 7为本发明下游设备又一个实施例的结构示意图;  Figure 7 is a schematic structural view of still another embodiment of the downstream device of the present invention;
图 8为本发明上游设备又一个实施例的结构示意图; 图 9为本发明指示消息传输系统实施例的结构示意图。 具体实施方式 为使本发明的目的、 技术方案和优点更加清楚, 下面将结合本发明中的 附图, 对本发明中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施 例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施 例, 都属于本发明保护的范围。 Figure 8 is a schematic structural view of still another embodiment of the upstream device of the present invention; FIG. 9 is a schematic structural diagram of an embodiment of an indication message transmission system according to the present invention. The technical solutions in the present invention will be clearly and completely described in conjunction with the drawings in the present invention, and the embodiments described are the present invention. Some embodiments, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1为本发明指示消息发送方法一个实施例的流程图, 如图 1所示, 本 实施例的方法可以包括:  FIG. 1 is a flowchart of an embodiment of a method for sending an indication message according to the present invention. As shown in FIG. 1, the method in this embodiment may include:
101、 下游设备确定发生断电; 电或其它原因, 此处不做限定。 当下游设备发生断电时, 该下游设备的控制 单元(例如, 中央处理器 CPU )会收到一个电平中断信号, 根据该电平中断 信号, 该下游设备可以确定自身已经发生断电。  101. The downstream device determines that power failure occurs; electrical or other reasons, which are not limited herein. When the downstream device is powered off, the downstream device's control unit (for example, the central processing unit CPU) receives a level interrupt signal, and based on the level interrupt signal, the downstream device can determine that it has been powered down.
102、 所述下游设备向上游设备发送断电指示消息, 所述断电指示消息中 包含所述下游设备的设备描述信息。  102. The downstream device sends a power-off indication message to the upstream device, where the power-off indication message includes device description information of the downstream device.
可选的, 下游设备可以借助下游设备电容中的电量将断电指示消息发送 给上游设备。  Optionally, the downstream device can send a power failure indication message to the upstream device by using the power in the downstream device capacitor.
可选的, 下游设备可以根据所述下游设备的设备描述信息生成所述断电 指示消息。  Optionally, the downstream device may generate the power failure indication message according to the device description information of the downstream device.
可选的, 该下游设备的设备描述信息可以包括以下信息中的至少一个: 下游设备的网际协议(英文全称为 Internet Protocol, 简称为 IP )地址和下游 设备的设备名称。 进一步可选的, 该下游设备的设备描述信息还可以包括: 该下游设备的属性信息, 例如, 该下游设备制造商标识和该下游设备型号中 的至少一个。  Optionally, the device description information of the downstream device may include at least one of the following information: an Internet Protocol (IP) address of the downstream device and a device name of the downstream device. Further, the device description information of the downstream device may further include: attribute information of the downstream device, for example, at least one of the downstream device manufacturer identifier and the downstream device model.
上游设备接收下游设备发送的断电指示消息后, 能够根据断电指示消息 携带的设备描述信息获知哪一个下游设备发生断电, 从而向网管上报。  After receiving the power-off indication message sent by the downstream device, the upstream device can learn, according to the device description information carried in the power-off indication message, which downstream device is powered off, and then report the packet to the network management.
釆用本实施例提供的方法, 下游设备发生断电时, 会向上游设备反馈断 电设备的设备描述信息, 从而利于网管对断电设备进行定位, 便于网络维护, 提高了效率。 With the method provided in this embodiment, when the downstream device is powered off, the device description information of the power-off device is fed back to the upstream device, thereby facilitating the network management to locate the power-off device, which is convenient for network maintenance. Increased efficiency.
图 2为本发明指示消息发送方法又一个实施例的流程图, 如图 2所示, 本实施例的指示消息发送方法, 包括:  2 is a flowchart of still another embodiment of an indication message sending method according to the present invention. As shown in FIG. 2, the method for sending an indication message in this embodiment includes:
201、 下游设备确定发生断电;  201. The downstream device determines that a power outage occurs;
本实施例下游设备确定发生断电的实现方法与上述实施例 101 的实现方 法相同, 此处不再赘述。  The method for implementing the power-off of the downstream device in this embodiment is the same as that of the foregoing embodiment 101, and details are not described herein again.
202、 所述下游设备向上游设备发送临终遗言报文, 所述临终遗言报文携 带所述下游设备的设备描述信息。  202. The downstream device sends a dying message to the upstream device, where the dying message carries the device description information of the downstream device.
图 4为本发明指示消息发送方法实施例的临终遗言报文帧结构示意图, 如图 4 所示, 本发明实施例的临终遗言报文结构包括: 帧头、 数据 /填充值 Data/Pad字段和帧检测序列 FCS字段。其中,帧头包括: 目的地址 Destination Address字段、 源地址 Source Address字段、 长度 /类型 Length/Type字段、 子 类型 Subtype字段、 标志 Flags字段和代码 Code字段。 下游设备发生断电之 后, 可以向上游设备发送如图 4所示的临终遗言报文。  4 is a schematic structural diagram of a message frame of a dying message according to an embodiment of the method for transmitting a message according to the present invention. As shown in FIG. 4, the message structure of the dying message of the embodiment of the present invention includes: a frame header, a data/padding value Data/Pad field, and Frame detection sequence FCS field. The frame header includes: destination address Destination Address field, source address Source Address field, length/type Length/Type field, subtype Subtype field, flag Flags field, and code Code field. After the downstream device is powered off, the dying message can be sent to the upstream device as shown in Figure 4.
可选地, 下游设备可以在临终遗言报文的数据 /填充值 Data/Pad字段中携 带该下游设备的设备描述信 ,包、。  Optionally, the downstream device may carry the device description letter, packet, of the downstream device in the data/padding data Data/Pad field of the dying message.
如图 4所示,数据 /填充值 Data/Pad字段包括:本地信息 Local Information TLV、 远端信息 Remote Information TLV、 和临终遗言信息 Dying Gasp Information TLV。 具体地, 该下游设备可以在 Data/Pad字段的 Dying Gasp Information TLV中携带该下游设备的设备描述信息。  As shown in Figure 4, the Data/Pad value field includes: Local Information Local Information TLV, Remote Information Remote Information TLV, and Dying Gasp Information TLV. Specifically, the downstream device may carry the device description information of the downstream device in the Dying Gasp Information TLV of the Data/Pad field.
在上述实施例 102或 202之后, 本实施例的指示消息发送方法还可以包 括:  After the foregoing embodiment 102 or 202, the method for sending the indication message in this embodiment may further include:
所述下游设备在恢复供电之后向所述上游设备发送恢复指示消息, 所述 恢复指示消息中包含所述下游设备的设备描述信息。  The downstream device sends a recovery indication message to the upstream device after the power supply is restored, where the recovery indication message includes device description information of the downstream device.
可选的, 上述恢复指示消息可以为携带下游设备的设备描述信息和故障 事件结束标识的临终遗言报文。  Optionally, the foregoing recovery indication message may be a dying message carrying the device description information of the downstream device and the end event identifier of the fault event.
可选的,在图 4所示的报文结构中,可以利用 Flags字段来标识故障事件 结束。 通常情况下, Flags字段为 16 bit, 因此, 可以利用其中的一个或者几 个 bit来标识故障时间结束。 例如, 可以将 1 bit位设置为 0, 以标识故障事件 结束。 本实施例, 通过在临终遗言报文中携带断电设备的设备描述信息, 实现 了下游设备发生断电时, 上游设备可以自动获取断电设备的设备描述信息, 利于网管对该断电设备进行定位, 便于网络维护, 提高了效率。 Optionally, in the message structure shown in FIG. 4, the Flags field may be used to identify the end of the fault event. Normally, the Flags field is 16 bits, so one or several of these bits can be used to identify the end of the fault time. For example, you can set the 1 bit to 0 to identify the end of the fault event. In this embodiment, by carrying the device description information of the power-off device in the dying message, the upstream device can automatically obtain the device description information of the power-off device when the downstream device is powered off, which is beneficial for the network management to perform the power-off device. Positioning, easy network maintenance, and improved efficiency.
图 3为本发明消息接收方法一个实施例的流程图,如图 3所示, 本实施例 的指示消息接收方法, 包括:  FIG. 3 is a flowchart of an embodiment of a message receiving method according to the present invention. As shown in FIG. 3, the method for receiving an indication message in this embodiment includes:
301、 上游设备接收下游设备在断电之后发送的断电指示消息, 其中, 所 述断电指示信息携带所述下游设备的设备描述信息;  301. The upstream device receives a power-off indication message sent by the downstream device after the power-off, where the power-off indication information carries device description information of the downstream device.
可选的, 下游设备的设备描述信息包括以下信息中的至少一个: 下游设 备的 IP地址和下游设备的设备名称。 进一步可选的, 该下游设备的设备描述 信息还可以包括: 该下游设备的属性信息, 例如, 该下游设备制造商标识和 该下游设备型号中的至少一个。  Optionally, the device description information of the downstream device includes at least one of the following information: an IP address of the downstream device and a device name of the downstream device. Further, the device description information of the downstream device may further include: attribute information of the downstream device, for example, at least one of the downstream device manufacturer identifier and the downstream device model.
302、 所述上游设备根据所述断电指示消息, 获得所述下游设备的设备描 述信息;  302. The upstream device obtains device description information of the downstream device according to the power failure indication message.
303、 上游设备将所述下游设备的设备描述信息上报给网管。 上游设备通 过接收下游设备断电之后发送的断电指示消息, 能够根据断电指示消息携带 的设备描述信息获知哪一个下游设备发生断电, 从而向网管上报, 便于网管 根据设备描述信息获知发生断电的设备。  303. The upstream device reports the device description information of the downstream device to the network management. The upstream device receives the power-off indication message sent after the power-off of the downstream device, and can learn, according to the device description information carried in the power-off indication message, which downstream device is powered off, and then report the packet to the network management device, so that the network management device can learn to break according to the device description information. Electrical equipment.
本实施例,通过接收下游设备发送的包含设备描述信息的断电指示消息, 实现了上游设备可以自动获取断电设备的设备描述信息, 利于网管对该断电 设备进行定位, 便于网络维护, 提高了效率。  In this embodiment, by receiving the power-off indication message that is sent by the downstream device, including the device description information, the device can automatically obtain the device description information of the power-off device, which facilitates the network management to locate the power-off device, thereby facilitating network maintenance and improving. The efficiency.
可选的, 上述指示消息接收方法实施例中的所述断电指示消息可以是如 图 4所示的临终遗言报文。  Optionally, the power-off indication message in the foregoing method for receiving the indication message may be a dying message as shown in FIG.
可选的, 在上述指示消息接收方法实施例中的 302之后, 还可以包括: 所述上游设备接收所述下游设备在恢复供电之后发送的恢复指示消息, 所述恢复指示消息中包含所述下游设备的设备描述信息。  Optionally, after the 302 in the foregoing method for receiving the indication message, the method further includes: the upstream device receiving a recovery indication message sent by the downstream device after the power is restored, where the recovery indication message includes the downstream Device description information of the device.
可选的, 上述指示消息接收方法实施例中的所述恢复指示消息可以是如 图 4所示的临终遗言报文。  Optionally, the recovery indication message in the foregoing method for receiving the indication message may be a dying message as shown in FIG.
图 5为本发明下游设备一个实施例的结构示意图, 如图 5所示, 本实施 例的下游设备包括: 确定模块 501、 发送模块 502, 其中:  FIG. 5 is a schematic structural diagram of an embodiment of a downstream device according to the present invention. As shown in FIG. 5, the downstream device in this embodiment includes: a determining module 501, and a sending module 502, where:
确定模块 501 , 用于确定下游设备发生断电; 发送模块 502 , 用于向上游设备发送断电指示消息, 所述断电指示消息 中包含所述下游设备的设备描述信息。 a determining module 501, configured to determine that the downstream device is powered off; The sending module 502 is configured to send a power-off indication message to the upstream device, where the power-off indication message includes device description information of the downstream device.
可选的, 上述断电指示消息可以为临终遗言报文。 本实施例的下游设备, 可以用于执行图 1或图 2所示方法实施例的技术方案, 其实现原理类似, 此 处不再赘述。  Optionally, the foregoing power failure indication message may be a dying message. The downstream device of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1 or FIG. 2, and the implementation principle thereof is similar, and details are not described herein again.
本实施例提供的下游设备, 确定模块确定发生断电以后, 通过发送模块 向上游设备反馈设备描述信息, 实现了设备描述信息上报, 从而利于网管对 断电设备进行定位, 便于网络维护, 提高了效率。  In the downstream device provided by the embodiment, after the determining module determines that the power failure occurs, the sending module feeds back the device description information to the upstream device, and implements the device description information reporting, thereby facilitating the network management to locate the power-off device, facilitating network maintenance, and improving effectiveness.
上述上游设备实施例的发送模块 502还可以用于在所述下游设备恢复供 电之后向所述上游设备发送恢复指示消息, 所述恢复指示消息中包含所述下 游设备的设备描述信息。  The sending module 502 of the upstream device embodiment may be further configured to send a recovery indication message to the upstream device after the downstream device resumes power supply, where the recovery indication message includes device description information of the downstream device.
图 6为本发明上游设备一个实施例的结构示意图, 如图 6所示, 本实施 例的上游设备包括: 接收模块 601、 处理模块 602、 上报模块 603 , 其中: 接收模块 601 , 用于接收所述下游设备在断电之后发送的断电指示消息, 其中, 所述断电指示信息携带所述下游设备的设备描述信息;  FIG. 6 is a schematic structural diagram of an embodiment of an upstream device according to the present invention. As shown in FIG. 6, the upstream device in this embodiment includes: a receiving module 601, a processing module 602, and a reporting module 603, where: a receiving module 601 is configured to receive a power failure indication message sent by the downstream device after the power is off, where the power failure indication information carries device description information of the downstream device;
处理模块 602 , 用于根据所述断电指示消息, 获得所述下游设备的设备 描述信息;  The processing module 602 is configured to obtain, according to the power-off indication message, device description information of the downstream device.
上报模块 603, 用于将所述下游设备的设备描述信息上报给网管。  The reporting module 603 is configured to report the device description information of the downstream device to the network management system.
本实施例的上游设备, 可以用于执行图 3所示消息接收方法实施例的技 术方案, 其实现原理类似, 此处不再赘述。  The upstream device of this embodiment may be used to implement the technical solution of the embodiment of the message receiving method shown in FIG. 3, and the implementation principle thereof is similar, and details are not described herein again.
本实施例提供的上游设备, 通过接收模块接收下游设备发送的包含设备 描述信息的断电指示消息, 经处理模块获得该下游设备的设备描述信息, 再 通过上报模块将该下游设备的设备描述信息上报给网管, 利于网管根据该上 报的下游设备的设备描述信息对该断电设备进行定位, 便于网络维护, 提高 了效率。  The upstream device provided by the embodiment receives the power-off indication message that is sent by the downstream device and includes the device description information, and the processing module obtains the device description information of the downstream device, and then uses the reporting module to describe the device description information of the downstream device. Reported to the network management system, which facilitates the network management to locate the power-off device according to the device description information of the reported downstream device, which facilitates network maintenance and improves efficiency.
可选的, 上述断电指示消息可以是如图 4所示的临终遗言报文。  Optionally, the foregoing power failure indication message may be a dying message as shown in FIG. 4.
可选的, 上述上游设备实施例的接收模块 601还可以用于接收所述下游 设备在恢复供电之后发送的恢复指示消息, 所述恢复指示消息中包含所述下 游设备的设备描述信息。  Optionally, the receiving module 601 of the upstream device embodiment may be further configured to receive a recovery indication message sent by the downstream device after the power is restored, where the recovery indication message includes device description information of the downstream device.
进一步可选的, 所述恢复指示消息可以是如图 4所示的临终遗言报文。 图 7为本发明下游设备又一个实施例的结构示意图, 如图 7所示, 本实 施例的下游设备包括: 检测器 701、 发送器 702, 其中: Further optionally, the recovery indication message may be a dying message as shown in FIG. 4 . FIG. 7 is a schematic structural diagram of still another embodiment of a downstream device according to the present invention. As shown in FIG. 7, the downstream device of this embodiment includes: a detector 701 and a transmitter 702, where:
检测器 701 , 用于确定下游设备发生断电;  a detector 701, configured to determine that the downstream device is powered off;
发送器 702 , 用于向上游设备发送断电指示消息, 所述断电指示消息中 包含所述下游设备的设备描述信息, 以将所述下游设备的设备描述信息上报 给网管。  The transmitter 702 is configured to send a power-off indication message to the upstream device, where the power-off indication message includes the device description information of the downstream device, to report the device description information of the downstream device to the network management.
本实施例的下游设备, 可以用于执行图 1或图 2所示方法实施例的技术 方案, 其实现原理类似, 此处不再赘述。  The downstream device of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1 or FIG. 2, and the implementation principle is similar, and details are not described herein again.
可选的, 上述上游设备实施例的发送器 702还可以用于在所述下游设备 恢复供电之后向所述上游设备发送恢复指示消息, 所述恢复指示消息中包含 所述下游设备的设备描述信息。  Optionally, the transmitter 702 of the upstream device embodiment may be further configured to send a recovery indication message to the upstream device after the downstream device resumes power supply, where the recovery indication message includes device description information of the downstream device. .
图 8为本发明上游设备又一个实施例的结构示意图, 如图 8所示, 本实 施例的上游设备包括: 接收器 801、 处理器 802、 发送器 803 , 其中:  FIG. 8 is a schematic structural diagram of still another embodiment of the upstream device of the present invention. As shown in FIG. 8, the upstream device of this embodiment includes: a receiver 801, a processor 802, and a transmitter 803, where:
接收器 801 , 用于接收所述下游设备在断电之后发送的断电指示消息, 其中, 所述断电指示信息携带所述下游设备的设备描述信息;  a receiver 801, configured to receive a power-off indication message sent by the downstream device after the power-off, where the power-off indication information carries device description information of the downstream device;
处理器 802 , 用于根据所述断电指示消息, 获得所述下游设备的设备描 述信息;  The processor 802 is configured to obtain, according to the power-off indication message, device description information of the downstream device.
发送器 803 , 用于将所述下游设备的设备描述信息上报给网管。  The sender 803 is configured to report the device description information of the downstream device to the network management.
本实施例的上游设备, 可以用于执行图 3所示消息接收方法实施例的技 术方案, 其实现原理类似, 此处不再赘述。  The upstream device of this embodiment may be used to implement the technical solution of the embodiment of the message receiving method shown in FIG. 3, and the implementation principle thereof is similar, and details are not described herein again.
本实施例提供的上游设备, 通过接收器接收下游设备发送的包含设备描 述信息的断电指示消息, 经处理器获得该下游设备的设备描述信息, 再通过 发送器将该下游设备的设备描述信息上报给网管, 利于网管根据该上报的下 游设备的设备描述信息对该断电设备进行定位, 便于网络维护, 提高了效率。  The upstream device provided by the embodiment receives the power-off indication message that is sent by the downstream device and includes the device description information, and the device obtains the device description information of the downstream device, and then the device description information of the downstream device is sent by the transmitter. Reported to the network management system, which facilitates the network management to locate the power-off device according to the device description information of the reported downstream device, which facilitates network maintenance and improves efficiency.
可选的, 上述上游设备实施例的接收器 801还可以用于接收所述下游设 备在恢复供电之后发送的恢复指示消息, 所述恢复指示消息中包含所述下游 设备的设备描述信息。  Optionally, the receiver 801 of the upstream device embodiment may be further configured to receive a recovery indication message sent by the downstream device after the power is restored, where the recovery indication message includes device description information of the downstream device.
图 9为本发明指示消息传输系统一个实施例的结构示意图,如图 9所示, 该系统包括下游设备 901和上游设备 902 , 其中,  FIG. 9 is a schematic structural diagram of an embodiment of an indication message transmission system according to the present invention. As shown in FIG. 9, the system includes a downstream device 901 and an upstream device 902, where
所述下游设备 901用于在下游设备 901发生断电时向上游设备 902发送 断电指示消息, 断电指示消息中包含下游设备 901的设备描述信息; 可选的, 所述下游设备 901可以为上述下游设备实施例中的任意一设备; The downstream device 901 is configured to send to the upstream device 902 when the downstream device 901 is powered off. a power-off indication message, where the power-off indication message includes the device description information of the downstream device 901; optionally, the downstream device 901 may be any one of the foregoing downstream device embodiments;
所述上游设备 902用于接收下游设备 901发送的断电指示消息, 根据所 述断电指示消息, 获得所述下游设备的设备描述信息, 将所述下游设备的设 备描述信息上报给网管; 可选的, 所述上游设备 902可以为上述上游设备实 施例中的任意一设备。  The upstream device 902 is configured to receive the power-off indication message sent by the downstream device 901, and obtain the device description information of the downstream device according to the power-off indication message, and report the device description information of the downstream device to the network management device; Optionally, the upstream device 902 can be any one of the foregoing upstream device embodiments.
本实施例提供的指示消息传输系统, 通过向上游设备发送包含设备描述 信息的指示消息, 实现了下游设备发生断电或断电恢复时向通信系统中的上 游设备或其它设备的上报, 便于网络维护, 提高了效率。  The indication message transmission system provided in this embodiment is configured to send an indication message including the device description information to the upstream device, so as to report the upstream device or other device in the communication system when the downstream device is powered off or powered off, facilitating the network. Maintenance, improved efficiency.
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: ROM, RAM, 磁碟或者光盘等各种可以存储程序代码的介 最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。  A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., which can store various program codes. Finally, the above embodiments are only used to illustrate the technology of the present invention. The invention is not limited thereto; although the invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions described in the foregoing embodiments may still be modified, or Some or all of the technical features are equivalently substituted; and the modifications or substitutions do not depart from the scope of the technical solutions of the embodiments of the present invention.

Claims

权利要求 Rights request
1、 一种指示消息发送方法, 其特征在于, 包括:  A method for sending an indication message, comprising:
下游设备确定发生断电;  The downstream device determines that a power outage occurs;
所述下游设备向上游设备发送断电指示消息, 所述断电指示消息中包含 所述下游设备的设备描述信息。  The downstream device sends a power failure indication message to the upstream device, where the power failure indication message includes device description information of the downstream device.
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法, 还包括: 所述下游设备在恢复供电之后向所述上游设备发送恢复指示消息, 所述 恢复指示消息中包含所述下游设备的设备描述信息。  The method according to claim 1, wherein the method further includes: after the power supply is restored, the downstream device sends a recovery indication message to the upstream device, where the recovery indication message includes the downstream Device description information of the device.
3、根据权利要求 1或 2所述的方法,所述断电指示消息为临终遗言报文。  3. The method according to claim 1 or 2, wherein the power down indication message is a dying message.
4、 根据权利要求 3所述的方法, 其特征在于, 所述临终遗言报文的数据 4. The method according to claim 3, wherein the data of the dying message is
/填充值字段中包含所述下游设备的设备描述信息。 The /fill value field contains the device description information of the downstream device.
5、 根据权利要求 1~4中任一项所述的方法, 其特征在于, 所述设备描述 信息, 包括:  The method according to any one of claims 1 to 4, wherein the device description information comprises:
所述下游设备的 IP地址和 /或设备名称。  The IP address and/or device name of the downstream device.
6、 一种消息接收方法, 其特征在于, 包括:  6. A message receiving method, comprising:
上游设备接收所述下游设备在断电之后发送的断电指示消息, 其中, 所 述断电指示消息携带所述下游设备的设备描述信息;  The upstream device receives the power-off indication message sent by the downstream device after the power-off, where the power-off indication message carries the device description information of the downstream device;
所述上游设备根据所述断电指示消息, 获得所述下游设备的设备描述信 息;  The upstream device obtains device description information of the downstream device according to the power failure indication message;
上游设备将所述下游设备的设备描述信息上报给网管。  The upstream device reports the device description information of the downstream device to the network management system.
7、 根据权利要求 6所述的方法, 其特征在于, 还包括:  7. The method according to claim 6, further comprising:
所述上游设备接收所述下游设备在恢复供电之后发送的恢复指示消息, 所述恢复指示消息中包含所述下游设备的设备描述信息。  The upstream device receives a recovery indication message sent by the downstream device after the power is restored, and the recovery indication message includes device description information of the downstream device.
8、根据权利要求 6或 7所述的方法,所述断电指示消息为临终遗言报文。  8. The method according to claim 6 or 7, wherein the power down indication message is a dying message.
9、 根据权利要求 8所述的方法, 其特征在于, 所述临终遗言报文的数据 /填充值字段中包含所述设备描述信息。  The method according to claim 8, wherein the device description information is included in a data/fill value field of the dying message.
10、 根据权利要求 6~9中任一项所述的方法, 其特征在于, 所述设备描 述信息, 包括:  The method according to any one of claims 6 to 9, wherein the device description information comprises:
所述下游设备的 IP地址和 /或设备名称。  The IP address and/or device name of the downstream device.
11、 一种下游设备, 其特征在于, 包括: 确定模块, 用于确定下游设备发生断电; 11. A downstream device, comprising: a determining module, configured to determine that the downstream device is powered off;
发送模块, 用于向上游设备发送断电指示消息, 所述断电指示消息中包 含所述下游设备的设备描述信息。  And a sending module, configured to send a power-off indication message to the upstream device, where the power-off indication message includes device description information of the downstream device.
12、 根据权利要求 11所述的下游设备, 其特征在于, 所述发送模块, 还 用于在所述下游设备恢复供电之后向所述上游设备发送恢复指示消息, 所述 恢复指示消息中包含所述下游设备的设备描述信息。  The downstream device according to claim 11, wherein the sending module is further configured to send a recovery indication message to the upstream device after the downstream device resumes power supply, where the recovery indication message includes The device description information of the downstream device.
13、 一种上游设备, 其特征在于, 包括:  13. An upstream device, comprising:
接收模块, 用于接收所述下游设备在断电之后发送的断电指示消息, 其 中, 所述断电指示信息携带所述下游设备的设备描述信息;  a receiving module, configured to receive a power-off indication message sent by the downstream device after the power is off, where the power-off indication information carries device description information of the downstream device;
处理模块, 用于根据所述断电指示消息, 获得所述下游设备的设备描述 信息;  a processing module, configured to obtain, according to the power-off indication message, device description information of the downstream device;
上报模块, 用于将所述下游设备的设备描述信息上报给网管。  The reporting module is configured to report the device description information of the downstream device to the network management system.
14、 根据权利要求 13所述的上游设备, 其特征在于, 所述接收模块, 还 用于在接收所述下游设备恢复供电之后发送的恢复指示消息, 所述恢复指示 消息中包含所述下游设备的设备描述信息。  The upstream device according to claim 13, wherein the receiving module is further configured to: after receiving the recovery indication message sent by the downstream device to resume power supply, where the recovery indication message includes the downstream device Device description information.
15、 一种指示消息传输系统, 其特征在于, 所述系统包括如权利要求 11 或 12所述的下游设备和如权利要求 13或 14所述的上游设备。  An indication message transmission system, characterized in that the system comprises the downstream device according to claim 11 or 12 and the upstream device according to claim 13 or 14.
PCT/CN2013/076375 2012-09-26 2013-05-29 Indicating message sending method, indicating message receiving method, device and system WO2014048129A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2012103636490A CN102882720A (en) 2012-09-26 2012-09-26 Indicating message sending method, indicating message receiving method, equipment and system
CN201210363649.0 2012-09-26

Publications (1)

Publication Number Publication Date
WO2014048129A1 true WO2014048129A1 (en) 2014-04-03

Family

ID=47483874

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/076375 WO2014048129A1 (en) 2012-09-26 2013-05-29 Indicating message sending method, indicating message receiving method, device and system

Country Status (2)

Country Link
CN (1) CN102882720A (en)
WO (1) WO2014048129A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102882720A (en) * 2012-09-26 2013-01-16 华为技术有限公司 Indicating message sending method, indicating message receiving method, equipment and system
US9772921B2 (en) * 2014-03-17 2017-09-26 Silver Spring Networks, Inc. Techniques for collecting and analyzing notifications received from neighboring nodes across multiple channels
CN114793344A (en) * 2021-01-26 2022-07-26 华为技术有限公司 Power failure warning method and related equipment
CN117938729A (en) * 2022-10-25 2024-04-26 中国移动通信有限公司研究院 Equipment information processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101257694A (en) * 2007-11-22 2008-09-03 中国移动通信集团山东有限公司 Mobile communication network managing intelligent sending method based on information support system
US7734432B2 (en) * 2005-07-15 2010-06-08 Cisco Technology, Inc. Transmission of a power loss condition over a network
CN102045107A (en) * 2009-04-22 2011-05-04 华为技术有限公司 Methods and apparatus for reception of dynamic information by inactive receivers
CN201967142U (en) * 2011-03-15 2011-09-07 中国移动通信集团设计院有限公司 Wireless communication equipment
CN102882720A (en) * 2012-09-26 2013-01-16 华为技术有限公司 Indicating message sending method, indicating message receiving method, equipment and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7734432B2 (en) * 2005-07-15 2010-06-08 Cisco Technology, Inc. Transmission of a power loss condition over a network
CN101257694A (en) * 2007-11-22 2008-09-03 中国移动通信集团山东有限公司 Mobile communication network managing intelligent sending method based on information support system
CN102045107A (en) * 2009-04-22 2011-05-04 华为技术有限公司 Methods and apparatus for reception of dynamic information by inactive receivers
CN201967142U (en) * 2011-03-15 2011-09-07 中国移动通信集团设计院有限公司 Wireless communication equipment
CN102882720A (en) * 2012-09-26 2013-01-16 华为技术有限公司 Indicating message sending method, indicating message receiving method, equipment and system

Also Published As

Publication number Publication date
CN102882720A (en) 2013-01-16

Similar Documents

Publication Publication Date Title
CN101420332B (en) Notifying method and network device for member terminal port configuring condition
JP2014175924A5 (en)
US20150339249A1 (en) Remote console access of port extenders
CN110324165A (en) The management method of the network equipment, apparatus and system
EP2961101A1 (en) Method, system and optical network terminal for ethernet performance detection
KR20160023900A (en) Data processing method and device
KR20150007623A (en) Method and appratus for protection switching in packet transport system
CN104144124B (en) Data forwarding method, Apparatus and system
WO2016062165A1 (en) Method and apparatus for implementing operations, administration and maintenance function
WO2014048129A1 (en) Indicating message sending method, indicating message receiving method, device and system
CN103095703A (en) Method and equipment and system for achieving data interaction between network and serial port
CN102377505A (en) Serial port-based IPMI (Intelligent Platform Management Interface) package transmission method
EP2472793A1 (en) Method, device and system for transmitting e1 bidirectional looped network data
WO2017008505A1 (en) Switching method and apparatus for multicast link, and route device
CN103841587A (en) Method, apparatus, and system for realization of internet-of-things converged gateway
WO2016015606A1 (en) Method for locating port connection error and related device
CN107623597B (en) Miniaturized POTN equipment and remote power failure prompting method
CN108282383B (en) Method and equipment for realizing fault processing
WO2011057544A1 (en) Method and system for implementing operation administration and maintenance (oam) from point to multi-points based on 802.3ah protocol
WO2016184025A1 (en) Device management method and apparatus
CN104081728A (en) Network management
CN102801561A (en) Method for managing network equipment
TWI679870B (en) Information processing method and device
CN101800667A (en) Alarm message transmitting method, network equipment and alarm system
CN102708036B (en) Server

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13841499

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13841499

Country of ref document: EP

Kind code of ref document: A1