CN111245477B - Power failure detection method of communication equipment - Google Patents

Power failure detection method of communication equipment Download PDF

Info

Publication number
CN111245477B
CN111245477B CN202010049411.5A CN202010049411A CN111245477B CN 111245477 B CN111245477 B CN 111245477B CN 202010049411 A CN202010049411 A CN 202010049411A CN 111245477 B CN111245477 B CN 111245477B
Authority
CN
China
Prior art keywords
network
central coordinator
equipment
devices
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010049411.5A
Other languages
Chinese (zh)
Other versions
CN111245477A (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.)
Panji Technology Co ltd
Original Assignee
Panji 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 Panji Technology Co ltd filed Critical Panji Technology Co ltd
Priority to CN202010049411.5A priority Critical patent/CN111245477B/en
Publication of CN111245477A publication Critical patent/CN111245477A/en
Application granted granted Critical
Publication of CN111245477B publication Critical patent/CN111245477B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/544Setting up communications; Call and signalling arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users

Abstract

A power failure detection method of communication equipment comprises the steps that a central coordinator carries MAC addresses of all equipment in a current network and a network internal ID number mapping table corresponding to the MAC addresses in public broadcast information, all equipment in the current network judges the state of the equipment in the network according to the MAC addresses and the network internal ID number mapping table by updating the mapping table in the public broadcast information, and then the network connection state of the equipment is optimized; the invention needs to update the state information of each device in the current network in time in the communication system, so as to prevent the waste of system resources caused by the occupation of network resources due to unnecessary factors, effectively ensure the timeliness of the state update of the devices, avoid unnecessary loss caused by abnormal connection when the devices are reconnected, and simultaneously ensure the resource utilization rate in the system network.

Description

Power failure detection method of communication equipment
Technical Field
The invention belongs to the technical field of communication equipment, and particularly relates to a power failure detection method of communication equipment.
Background
The closest prior art to the technology is power line carrier communication, the power line carrier communication belongs to a self-organizing network architecture, and the network connection releasing state of equipment is divided into an active releasing mode and a passive releasing mode. The active release refers to that the equipment actively sends a message for releasing connection and exits from the current network, and the passive release refers to that the equipment passively leaves from the current network under the uncontrolled condition due to external reasons.
The active release is that the equipment sends a request for leaving the network to the central coordinator, and the central coordinator replies that the equipment leaves successfully after receiving the request and resends a new network equipment mapping table to other equipment in the network;
the passive release is that the device passively leaves the network due to sudden power failure and other reasons under the condition that a request for leaving the network is not sent, the central coordinator cannot know the state of the current device, and if the device does not interact with the central coordinator within a specific time, the central coordinator judges that the device is in the leaving state, releases all connections with the device, and sends a new network device mapping table to other devices in the network.
The first prior art has the following defects: because the central coordinator cannot acquire the current information of the equipment leaving the network in time in the passive release state, if the equipment is powered on and powered off repeatedly in a detection period, the central coordinator cannot judge whether the equipment is newly accessed. When the device is powered down and powered up again successfully due to an uncontrollable factor, and requests to be associated with the central coordinator, because the mac (media Access control) address of the device is the same as the address of the device connected last time, the central coordinator will only think that the device has been connected before, and will regard the connection as a normal timeout reconnection rather than as a new device to be connected into the network. When reconnection is carried out in normal overtime, the central coordinator does not need to allocate new connection resources to the equipment, but if the central coordinator is used as new equipment, the central coordinator not only needs to allocate link resources to the new equipment, but also needs to add the information of the equipment in a network equipment mapping table, so that other equipment in a network can sense the existence of the new equipment and can interact with the new equipment.
The technical scheme of the prior art II is as follows: a more straightforward solution to this solution is: and setting a timeout mechanism, and when the power-down equipment does not interact with the central coordinator after the timeout time, the central coordinator considers that the equipment leaves the current network, and removes the equipment when a network equipment mapping table is updated by broadcasting next time, so that other equipment in the network can update the state of the equipment in time, and the resource used by the equipment can be released in time.
The disadvantages of this solution are: when the timeout mechanism is set, because the time is not fixed, if the set time is too long, the situation that the device in the prior art is powered on and powered off again but the central coordinator does not monitor the state update of the device occurs, so that the device cannot be reconnected to the network, if the set time is too short, the efficiency of data transmission in the network is affected, and because all devices in the network transmit data based on a contention mechanism, once the timeout time is too short, resources in the network are frequently occupied, and the waste of network resources is caused.
Usually, a compromise scheme is selected to monitor at a specific time point, but the scheme cannot avoid timely updating of the state of the equipment in case of abnormal power failure.
Disclosure of Invention
The invention aims to provide a power failure detection method of communication equipment to solve the problem.
In order to achieve the purpose, the invention adopts the following technical scheme:
a power failure detection method of communication equipment comprises the steps that a central coordinator carries MAC addresses of all equipment in a current network and a network internal ID number mapping table corresponding to the MAC addresses in public broadcast information, all equipment in the current network judges the state of the equipment in the network according to the MAC addresses and the network internal ID number mapping table by updating the mapping table in the public broadcast information, and then the network connection state of the equipment is optimized;
the method specifically comprises the following steps:
step 1, all devices and other devices in a network send current state information of the device;
step 2, the central coordinator processes and receives state information sent by the equipment in the network, and the central coordinator records and stores the state of the equipment;
and 3, updating and broadcasting the equipment state in the current network by the central coordinator.
Further, step 1 includes that each device sends broadcast information to other devices, and the broadcast information carries a state information table of the current device, so that all other devices in the network can find the network internal ID number corresponding to the MAC address through the state information table.
Further, step 2 includes that when the central coordinator in the network receives the broadcast information sent by the device, the central coordinator records and stores the state of the device, and analyzes the state in two bridge information sending periods, if a new device is connected or disconnected, the central coordinator processes the connection of the central coordinator, and releases related resources to perform sub-balance weight utilization on the device resources.
Further, the analyzing performed in the two bridge information sending periods specifically includes: and if the second device starts to send the bridging information to the central coordinator in the third period, the second device starts to access the current network.
Further, step 3 specifically comprises: the central coordinator updates the mapping table in the public broadcast information to all the devices in the network to enable the devices to know the number of the access devices in the current network and the network address of each device in real time, processes the connection of the devices after the devices receive the mapping table, and releases and disconnects the data interaction information and the related links between the devices and the removal device.
Further, when the central coordinator leaves the network and cannot send broadcast information to the devices in the network, at this time, the devices cannot receive the data sent by the central coordinator, the devices perform contention access again and push a new central coordinator, when the contention is successful, the related connection resources related to the initial central coordinator are released, then the devices perform interaction connection with the new central coordinator, the new central coordinator replaces the central coordinator which has left the network to perform related functions, when the new central coordinator is determined, the new central coordinator retransmits the state of the new network device, and the current network returns to the previous state again.
Compared with the prior art, the invention has the following technical effects:
the invention needs to update the state information of each device in the current network in time in the communication system, so as to prevent the waste of system resources caused by the occupation of network resources due to unnecessary factors, effectively ensure the timeliness of the state update of the devices, avoid unnecessary loss caused by abnormal connection when the devices are reconnected, and simultaneously ensure the resource utilization rate in the system network.
Drawings
FIG. 1 is a flow chart of the present invention for powering down and powering up the device;
FIG. 2 is a flow chart of the power down of the central coordinator in the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings:
referring to fig. 1 and 2, a power failure detection method for a communication device includes that a central coordinator carries MAC addresses of all devices in a current network and a network internal ID number mapping table corresponding to the MAC addresses in public broadcast information, and by updating the mapping table in the public broadcast information, all devices in the current network determine states of the devices in the network according to the MAC addresses and the network internal ID number mapping table, and then optimize a network connection state of the device;
the method specifically comprises the following steps:
step 1, all devices and other devices in a network send current state information of the device;
step 2, the central coordinator processes and receives state information sent by the equipment in the network, and the central coordinator records and stores the state of the equipment;
and 3, updating and broadcasting the equipment state in the current network by the central coordinator.
Step 1 includes that each device sends broadcast information to other devices, the broadcast information carries a state information table of the current device, and all other devices in the network are guaranteed to find out the network internal ID number corresponding to the MAC address through the state information table.
And step 2, when the central coordinator in the network receives the broadcast information sent by the equipment, the central coordinator records and stores the state of the equipment, analyzes the state in two bridging information sending periods, processes the connection of the central coordinator if a new equipment is accessed or departed, and releases related resources to perform sub-balance weight utilization on the equipment resources.
The analysis performed in the two bridge information sending periods specifically includes: and if the second device starts to send the bridging information to the central coordinator in the third period, the second device starts to access the current network.
The step 3 specifically comprises the following steps: the central coordinator updates the mapping table in the public broadcast information to all the devices in the network to enable the devices to know the number of the access devices in the current network and the network address of each device in real time, processes the connection of the devices after the devices receive the mapping table, and releases and disconnects the data interaction information and the related links between the devices and the removal device.
When the central coordinator leaves the network and cannot send broadcast information to the devices in the network, the devices cannot receive the data sent by the central coordinator, the devices perform contention access again and recommend a new central coordinator, after the contention is successful, relevant connection resources related to the initial central coordinator are released, then interaction is performed with the new central coordinator, the new central coordinator replaces the central coordinator which has left the central coordinator to execute relevant functions, after the new central coordinator is determined, the new central coordinator retransmits a new network device state, and the current network returns to the previous state again.
Example (b):
the central coordinator carries MAC addresses of all devices in the current network and a corresponding network internal ID number mapping table in the public broadcast information, all the devices in the current network can judge the states of the devices in the network according to the MAC addresses and the corresponding network internal ID number mapping table by updating the mapping table in the public broadcast information, and then the network connection state of the device is optimized, so that the effect of fully utilizing resources is achieved.
The scheme is suitable for all centerless network communication, no fixed central equipment is arranged in the whole network, the state of the equipment (node) in the current network is managed by carrying out competition and promoting a pseudo center (central coordinator) through all the equipment (nodes) in the network, and if the current pseudo center (central coordinator) leaves the current network, other equipment promotes a new pseudo center (central coordinator) again for management.
Step 1: all the devices in the network send the current state information of the device.
Each device sends broadcast information to other devices, carries the state information table of the current device, and ensures that all other devices in the network can find the network internal ID number corresponding to the MAC address through the state information table. For example, in power carrier communication, the bridge information of the device is sent through the local bridge destination address table carried in the CM _ BRG _ info.
Step 2: the central coordinator processes and receives state information sent by the devices in the network.
When a central coordinator in the network receives broadcast information sent by a device (as shown in a dashed line frame 1 in fig. 1), the central coordinator records and stores the state of the device, and performs analysis once in two periods of sending bridge information (as shown in dashed line frames 1, 2, and 3 in fig. 1, when the device 3 does not send bridge information in two consecutive periods starting from the second period, it is determined that the device 3 has disconnected the current network connection, when the device 4 starts sending bridge information to the central coordinator in the third period, it is determined that the device 4 starts accessing the current network), if a new device is accessed or left, the central coordinator processes its connection and releases related resources (as shown in a processing flow 4 in fig. 1, the central coordinator processes its related resources and performs sub-weight utilization on the resources of the device 3 and the device 4).
And step 3: central coordinator updating device status in broadcast current network
The central coordinator updates the mapping table (shown as a dashed box 5 in fig. 1) in the public broadcast information to all the devices in the network to enable the devices to know the number of the access devices in the current network and the network address of each device in real time, processes the connection of the devices after receiving the mapping table, releases and disconnects the data interaction information and the related links (shown as 6, 7 and 8 processing flows in fig. 1) between the devices and the removal device, and prevents the removal device from rejoining the network in a short time while the original link is still occupied, so that a new connection cannot be established, and the removed connection cannot be used, thereby causing waste of device resources.
If the central coordinator leaves the network, because no administrator manages the current network after the pushed temporary administrator leaves the network after power failure, the central coordinator needs to be pushed again or backed up, but the current network may be in a paralysis state because the equipment in the network cannot be updated in time due to long time, so that the central coordinator needs to be replaced as soon as possible.
Step 1: the central coordinator leaves the network so that the network device status cannot be sent in time.
When the central coordinator leaves the network, it cannot transmit broadcast information to the devices in the network (as shown by the dashed boxes 9, 10 in fig. 2), and at this time, none of the devices 1, 2, 3 can receive the data transmitted from the central coordinator.
Step 2: the other devices promote or initiate a backup central coordinator.
When the device cannot receive the data sent by the central coordinator in the expected next period, the device performs contention access again and elects a new central coordinator (for example, time node 11 in fig. 2 for processing), and when the contention is successful, releases the relevant connection resources related to the initial central coordinator (for example, time nodes 12, 13, and 14 in fig. 2 for processing), and then performs interaction with the new central coordinator to establish a connection.
And step 3: the new central coordinator performs the related function instead of the central coordinator which has left
After determining the new central coordinator, the new central coordinator retransmits the updated network device state and the current network resumes the previous state.

Claims (4)

1. A power failure detection method of communication equipment is characterized in that a central coordinator carries MAC addresses of all equipment in a current network and a network internal ID number mapping table corresponding to the MAC addresses in public broadcast information, all the equipment in the current network judges states of the equipment in the network according to the MAC addresses and the network internal ID number mapping table by updating the mapping table in the public broadcast information, and then network connection states of the equipment are optimized;
the method specifically comprises the following steps:
step 1, all devices in a network send current state information of the device to other devices;
step 2, the central coordinator processes and receives state information sent by the equipment in the network, and the central coordinator records and stores the state of the equipment;
step 3, the central coordinator updates and broadcasts the equipment state in the current network;
step 1, each device sends broadcast information to other devices, the broadcast information carries a state information table of the current device, and all other devices in a network are guaranteed to find out a network internal ID number corresponding to an MAC address through the state information table;
and step 2, when the central coordinator in the network receives the broadcast information sent by the equipment, the central coordinator records and stores the state of the equipment, analyzes the state in two bridging information sending periods, processes the connection of the central coordinator if a new equipment is accessed or departed, and releases related resources to perform sub-balance weight utilization on the equipment resources.
2. The power-down detection method of communication equipment according to claim 1, wherein the analysis performed in two bridge information sending periods specifically includes: and if the second device starts to send the bridging information to the central coordinator in the third period, the second device starts to access the current network.
3. The power failure detection method of the communication device according to claim 1, wherein step 3 specifically comprises: the central coordinator updates the mapping table in the public broadcast information to all the devices in the network to enable the devices to know the number of the access devices in the current network and the network address of each device in real time, processes the connection of the devices after the devices receive the mapping table, and releases and disconnects the data interaction information and the related links between the devices and the removal device.
4. The method as claimed in claim 1, wherein when the central coordinator leaves the network and cannot transmit the broadcast information to the devices in the network, and at this time, the devices cannot receive the data transmitted from the central coordinator, the devices perform contention access again and promote a new central coordinator, when the contention is successful, the related connection resources related to the initial central coordinator are released, and then the new central coordinator performs interactive connection establishment, the new central coordinator replaces the left central coordinator to perform related functions, and when the new central coordinator is determined, the new central coordinator retransmits the updated network device status, and the current network resumes the previous status.
CN202010049411.5A 2020-01-16 2020-01-16 Power failure detection method of communication equipment Active CN111245477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010049411.5A CN111245477B (en) 2020-01-16 2020-01-16 Power failure detection method of communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010049411.5A CN111245477B (en) 2020-01-16 2020-01-16 Power failure detection method of communication equipment

Publications (2)

Publication Number Publication Date
CN111245477A CN111245477A (en) 2020-06-05
CN111245477B true CN111245477B (en) 2022-02-22

Family

ID=70876981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010049411.5A Active CN111245477B (en) 2020-01-16 2020-01-16 Power failure detection method of communication equipment

Country Status (1)

Country Link
CN (1) CN111245477B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101273580A (en) * 2005-07-27 2008-09-24 科内森特系统公司 Managing spectra of modulated signals in a communication network
CN102546236A (en) * 2011-12-16 2012-07-04 华为技术有限公司 Central coordinator switching method and coordinator
CN102571151A (en) * 2011-12-21 2012-07-11 华为技术有限公司 Processing method for power line communication network and central coordinator (CCo)
CN102857372A (en) * 2012-08-24 2013-01-02 华为技术有限公司 Method, central coordinator and device for sending find beacon
CN103560840A (en) * 2013-10-28 2014-02-05 华为技术有限公司 Method, device and system for monitoring terminal conditions
CN103701674A (en) * 2013-12-27 2014-04-02 海信集团有限公司 Power line device access method, power line device and electronic device
WO2014206273A1 (en) * 2013-06-24 2014-12-31 华为技术有限公司 Code matching method and apparatus
CN106533501A (en) * 2015-09-14 2017-03-22 深圳市中兴微电子技术有限公司 Inter-site communication state detection method and device for power line communication network
CN108683708A (en) * 2018-04-13 2018-10-19 珠海格力电器股份有限公司 Data processing method, device and the multi-line system of multi-line system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8046484B2 (en) * 2002-09-26 2011-10-25 Sharp Laboratories Of America, Inc. Transmitting data across a contention channel in a centralized network
CN105721204A (en) * 2016-01-27 2016-06-29 厦门科灿信息技术有限公司 Firmware upgrading method and system for network adapters
CN106506046B (en) * 2016-11-24 2019-05-31 重庆邮电大学 A kind of electricity saving method of bandwidth carrier communication system terminal node
CN109963352B (en) * 2019-04-08 2021-04-27 乐鑫信息科技(上海)股份有限公司 Network access method and device of equipment, equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101273580A (en) * 2005-07-27 2008-09-24 科内森特系统公司 Managing spectra of modulated signals in a communication network
CN102546236A (en) * 2011-12-16 2012-07-04 华为技术有限公司 Central coordinator switching method and coordinator
CN102571151A (en) * 2011-12-21 2012-07-11 华为技术有限公司 Processing method for power line communication network and central coordinator (CCo)
CN102857372A (en) * 2012-08-24 2013-01-02 华为技术有限公司 Method, central coordinator and device for sending find beacon
WO2014206273A1 (en) * 2013-06-24 2014-12-31 华为技术有限公司 Code matching method and apparatus
CN103560840A (en) * 2013-10-28 2014-02-05 华为技术有限公司 Method, device and system for monitoring terminal conditions
CN103701674A (en) * 2013-12-27 2014-04-02 海信集团有限公司 Power line device access method, power line device and electronic device
CN106533501A (en) * 2015-09-14 2017-03-22 深圳市中兴微电子技术有限公司 Inter-site communication state detection method and device for power line communication network
CN108683708A (en) * 2018-04-13 2018-10-19 珠海格力电器股份有限公司 Data processing method, device and the multi-line system of multi-line system

Also Published As

Publication number Publication date
CN111245477A (en) 2020-06-05

Similar Documents

Publication Publication Date Title
US9722875B2 (en) Master device, slave device, and methods thereof
JP5937149B2 (en) Apparatus and method for network-initiated attachment and registrationless paging in a wireless network
CN102185718B (en) System upgrading method and device
CN101730090B (en) Method and equipment for releasing IP addresses by DHCP server
CN100466536C (en) System and method for managing protocol network failures in a cluster system
CN102546236B (en) Central coordinator switching method and coordinator
CN110752943B (en) Distributed fault diagnosis system and method for power transmission line
CN101820435A (en) Synchronization method and device for MAC (Media Access Control) address table information of distributed network processing system
CN113709839A (en) Multi-gateway network switching method, device and system, electronic equipment and storage medium
US20060153085A1 (en) Method and system for recovery from access point infrastructure link failures
CN108833149A (en) Method and system for monitoring network availability and self-healing of express delivery cabinet
US6826166B2 (en) Wireless access system
WO2021170033A1 (en) Network configuration method and apparatus
WO2022082724A1 (en) Method and apparatus for multicast service support in time sensitive network
US20220345872A1 (en) Method and system for controlling id identifier network mobility based on programmable switch
CN104253739A (en) Implementing method, system and device of always online services
CN105072145A (en) IOT (Internet of Things) communication method and system
CN102307194A (en) Graceful restarting method and device for universal protocol process
CN111245477B (en) Power failure detection method of communication equipment
EP2071764B1 (en) A method, device and communication system thereof of electing local master
US10931529B2 (en) Terminal device management method, server, and terminal device for managing terminal devices in local area network
CN105472707A (en) Traffic sharing method and device
CN111629059A (en) Cluster communication method, system, equipment and computer readable storage medium
CN114143904B (en) CPE management method based on 5G fusion network shunt
US8566460B1 (en) Method and apparatus for initiating temporary configuration allowing remote accessing via a network device

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