WO2023138328A1 - Communication recovery method, communication apparatus and communication system - Google Patents

Communication recovery method, communication apparatus and communication system Download PDF

Info

Publication number
WO2023138328A1
WO2023138328A1 PCT/CN2022/142706 CN2022142706W WO2023138328A1 WO 2023138328 A1 WO2023138328 A1 WO 2023138328A1 CN 2022142706 W CN2022142706 W CN 2022142706W WO 2023138328 A1 WO2023138328 A1 WO 2023138328A1
Authority
WO
WIPO (PCT)
Prior art keywords
access
access device
communication
terminal device
candidate
Prior art date
Application number
PCT/CN2022/142706
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 WO2023138328A1 publication Critical patent/WO2023138328A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • H04B10/038Arrangements for fault recovery using bypasses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/03Arrangements for fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0081Fault tolerance; Redundancy; Recovery; Reconfigurability

Definitions

  • the present application relates to the field of optical fiber communication, in particular to a communication recovery method, communication device and communication system.
  • the home optical fiber can be connected to the passive optical network (PON) gateway in the home, and the PON gateway is responsible for managing the optical network terminal (ONT) located in each room.
  • the terminal equipment can access the communication network through the ONT in the room, thereby realizing FTTR.
  • the terminal device When the ONT connected to the terminal device fails, the terminal device needs to re-establish connections with other ONTs to continue accessing the communication network. During this period, the communication between the terminal device and the communication network will be interrupted, and this process ranges from hundreds of milliseconds to more than ten seconds, which takes a long time and affects user experience.
  • Embodiments of the present application provide a communication recovery method, a communication device, and a communication system, which are used to realize fast recovery of communication between a terminal device and a communication network.
  • a communication restoration method including: a control device receives fault indication information from a first access device, and the fault indication information is used to indicate a failure of the first access device; the control device determines a target candidate device from multiple candidate devices according to network performance information of the multiple candidate devices, the network performance of the target candidate device is the best, and the target candidate device is used to establish communication with the first terminal device according to the link information between the first access device and the first terminal device, wherein the multiple candidate devices include the control device and at least one access device other than the first access device controlled by the control device, and the first terminal device is the first access device connected to the first access device before the failure terminal equipment.
  • the control device may be a PON gateway connected to the home optical fiber, and the access device may be an ONT located in each room managed by the PON gateway. Both the PON gateway and the ONT can be used by terminal equipment to access (for example, access via Wi-Fi) the optical fiber network in the home, so as to realize FTTR.
  • the target candidate device backs up the link information between the first access device and the first terminal device connected to the first access device, and the target candidate device is the candidate device with the best network performance determined by the control device, and the target candidate device may be the control device or the second access device.
  • the target candidate device establishes communication with the first terminal device according to the backup link information.
  • the first terminal device does not need to go through steps such as authentication, connection establishment, and key exchange again, which shortens the communication establishment time and enables the first terminal device to quickly access the communication network through the target candidate device, thereby realizing rapid recovery of communication between the terminal device and the communication network.
  • the network performance information includes signal strength of the candidate device and auxiliary network performance information
  • the control device determines the target candidate device from the multiple candidate devices according to the network performance information of the multiple candidate devices, including: the control device determines at least one neighbor candidate device of the first access device from the multiple candidate devices according to the signal strength of the multiple candidate devices; the control device determines the target candidate device from the at least one neighbor candidate device according to the auxiliary network performance information of the neighbor candidate devices.
  • the neighbor candidate device of the first access device refers to the neighbor candidate device that is closer to the first access device.
  • the reason for determining the neighbor candidate device of the first access device is that the distance between the candidate device that is closer to the first access device is not far from the first terminal device that has previously connected to the first access device, and the first terminal device is easy to access the candidate device.
  • the auxiliary network performance information includes at least one of the following information: network parameters of the candidate device, load of the candidate device, channel utilization of the candidate device, signal strength of an interference signal detected by the candidate device, and signal strength of a terminal device connected to the candidate device detected by the candidate device.
  • Weights can be set for each piece of information in the auxiliary network performance information of a neighbor candidate device, and the control device performs weighted calculations on each piece of information in the auxiliary network performance information of a neighbor candidate device to obtain the weight value of the candidate device. Then the control device determines a target candidate device from at least one candidate device according to the weight value of the at least one neighbor candidate device, for example, takes the neighbor candidate device with the largest weight value as the target candidate device.
  • the method further includes: the control device sends access indication information to the target candidate device, where the access indication information is used to instruct the target candidate device to establish communication with the first terminal device according to the link information, and the access indication information includes an identifier of the first terminal device.
  • the target candidate device After receiving the access indication information, the target candidate device obtains the identifier of the first terminal device, quickly rebuilds the link with the first terminal device according to the link information, and restores the communication between the first terminal device and the communication network.
  • the access indication information is carried in an access indication message, and the access indication message includes an access indication message type field, a target candidate device identification field, and a first terminal device identification field, the access indication message type field is used to indicate that the access indication message carries the access indication information, the target candidate device identification field is used to indicate the identity of the target candidate device, and the first terminal device identification field is used to indicate the identity of the first terminal device.
  • This embodiment provides a structure of a message carrying access indication information.
  • the method further includes: the control device sends link information to the candidate target device.
  • the target candidate device obtains the identifier of the first terminal device, quickly rebuilds the link with the first terminal device according to the link information, and restores the communication between the first terminal device and the communication network.
  • the method before the control device receives the fault indication information from the first access device, the method further includes: the control device acquires link information.
  • the controlling device can use the link information itself, or send it to other candidate devices.
  • the link information includes at least one of the following information: a communication key between the first access device and the first terminal device, a communication capability of the first terminal device, and a link establishment message between the first access device and the first terminal device.
  • the communication key between the access device and the terminal device connected to the access device is obtained by the access device and the terminal device through an exchange key process
  • the communication capability of the terminal device connected to the access device is obtained through the authentication process between the access device and the terminal device
  • the link establishment message between the access device and the terminal device connected to the access device is obtained by the connection establishment process between the access device and the terminal device.
  • the fault indication information is carried in a fault indication message, and the fault indication message includes a fault indication message type field and a first access device identification field, where the fault indication message type field is used to indicate that the fault indication message carries the fault indication information, and the first access device identification field is used to indicate the identification of the first access device.
  • This embodiment provides a structure of a message carrying fault indication information.
  • the fault indication message further includes a fault cause field, and the fault cause field is used to indicate a reason for the fault of the first access device.
  • This field can indicate different reasons by taking different values, or this field can include multiple fields, and each field indicates a reason.
  • the reason includes power failure or abnormality of the virtual access point.
  • the embodiment of the present application does not limit the cause of the failure.
  • the method before the control device receives the fault indication information from the first access device, the method further includes: the control device acquires an identifier of the first terminal device and signal strengths of multiple candidate devices.
  • the identifier of the first terminal device is used to know which terminal devices connected to the first access device will not be able to access the communication network through the first access device.
  • the signal strengths of the candidate devices are used to determine which candidate devices are neighbor candidate devices of the first access device.
  • the method further includes: the control device changing the information of the first access device in the forwarding table to the information of the target candidate device.
  • the message can be sent to the target candidate device according to the forwarding table, or, when a message from the target candidate device is received, the message can be sent to the communication network according to the forwarding table.
  • the instruction information transmitted between the first access device or the target candidate device and the control device is carried in a custom message, or carried in a payload of an Ethernet message, or carried in a payload of an optical network unit management control interface message.
  • the embodiment of the present application does not limit the message carrying the indication information.
  • a communication recovery method including: a first access device sends link information between the first access device and a first terminal device to a control device or a second access device, where the first terminal device is a terminal device connected to the first access device; the first access device sends fault indication information to the control device, and the fault indication information is used to indicate a failure of the first access device.
  • the link information includes at least one of the following information: a communication key between the first access device and the first terminal device, a communication capability of the first terminal device, and a link establishment message between the first access device and the first terminal device.
  • the fault indication information is carried in a fault indication message, and the fault indication message includes a fault indication message type field and a first access device identification field, where the fault indication message type field is used to indicate that the fault indication message carries the fault indication information, and the first access device identification field is used to indicate the identification of the first access device.
  • the fault indication message further includes a fault cause field, and the fault cause field is used to indicate a reason for the fault of the first access device.
  • the reason includes power failure or abnormality of the virtual access point.
  • the method before the first access device sends fault indication information to the control device, the method further includes: the first access device sends the identifier of the first terminal device and the signal strength of other devices detected by the first access device to the control device.
  • the method further includes: the first access device sends at least one of the following information to the control device: network parameters of the first access device, load of the first access device, channel utilization rate of the first access device, signal strength of an interference signal detected by the first access device, and signal strength of the first terminal device detected by the first access device.
  • the indication information transmitted between the first access device and the control device is carried in a custom message, or carried in a payload of an Ethernet message, or carried in a payload of an ONU management control interface message.
  • a communication recovery method including: a second access device acquires link information between a first access device and a first terminal device, where the first terminal device is a terminal device that accesses the first access device; the second access device receives access indication information from a control device, the access indication information is used to instruct the second access device to establish communication with the first terminal device according to the link information, and the access indication information includes an identifier of the first terminal device; the second access device establishes communication with the first terminal device indicated by the identifier according to the link information.
  • the access indication information is carried in an access indication message, and the access indication message includes an access indication message type field, a target candidate device identification field, and a first terminal device identification field, the access indication message type field is used to indicate that the access indication message carries the access indication information, the target candidate device identification field is used to indicate the identity of the second access device, and the first terminal device identification field is used to indicate the identity of the first terminal device.
  • the link information includes at least one of the following information: a communication key between the first access device and the first terminal device, a communication capability of the first terminal device, and a link establishment message between the first access device and the first terminal device.
  • the acquisition by the second access device of link information between the first access device and the first terminal device includes: the second access device receives link information from the control device or the first access device.
  • the method before the second access device receives the access indication information from the control device, the method further includes: the second access device sends to the control device an identifier of a terminal device accessing the second access device and signal strengths of other devices detected by the second access device.
  • the method before the second access device receives the access indication information from the control device, the method further includes: the second access device sends at least one of the following information to the control device: a network parameter of the second access device, a load of the second access device, a channel utilization rate of the second access device, a signal strength of an interference signal detected by the second access device, and a signal strength of a terminal device connected to the second access device detected by the second access device.
  • the access indication information is carried in a self-defined message, or carried in a payload of an Ethernet message, or carried in a payload of an ONU management control interface message.
  • a communication device including a processor and a transceiver, the transceiver is used to communicate with other communication devices, and when the processor executes instructions, the method described in the first aspect and any implementation manner thereof is executed.
  • a communication device including a processor and a transceiver, the transceiver is used to communicate with other communication devices, and when the processor executes instructions, the method described in the second aspect and any implementation manner thereof is executed.
  • a sixth aspect provides a communication device, including a processor and a transceiver, the transceiver is used to communicate with other communication devices, and when the processor executes instructions, the method as described in the third aspect and any implementation manner thereof is executed.
  • a communication device including a processing module and a transceiver module.
  • the transceiver module is used to receive fault indication information from the first access device, and the fault indication information is used to indicate the failure of the first access device;
  • the processing module is used to determine a target candidate device from multiple candidate devices according to the network performance information of the multiple candidate devices.
  • the processing module is specifically configured to: determine at least one neighbor candidate device of the first access device from multiple candidate devices according to signal strengths of the multiple candidate devices; determine a target candidate device from the at least one neighbor candidate device according to auxiliary network performance information of the neighbor candidate device.
  • the transceiver module is further configured to send access indication information to the target candidate device, where the access indication information is used to instruct the target candidate device to establish communication with the first terminal device according to the link information, and the access indication information includes an identifier of the first terminal device.
  • the transceiver module is further configured to send link information to the candidate target device before sending the access indication information to the candidate target device.
  • the transceiver module is further configured to acquire link information before the control device receives the fault indication information from the first access device.
  • the transceiving module is further configured to obtain an identifier of the first terminal device and signal strengths of multiple candidate devices before receiving the fault indication information from the first access device.
  • the processing module changes the information of the first access device in the forwarding table to the information of the target candidate device.
  • a communication device including a processing module and a transceiver module.
  • the transceiver module is configured to send link information between the first access device and the first terminal device to the control device or the second access device, where the first terminal device is a terminal device that accesses the first access device; to send fault indication information to the control device, where the fault indication information is used to indicate a failure of the first access device.
  • the transceiver module is further configured to send the identifier of the first terminal device and the signal strength of other devices detected by the first access device to the control device before the first access device sends fault indication information to the control device.
  • the transceiver module is further configured to send at least one of the following information to the control device before the first access device sends fault indication information to the control device: network parameters of the first access device, load of the first access device, channel utilization of the first access device, signal strength of an interference signal detected by the first access device, and signal strength of the first terminal device detected by the first access device.
  • a communication device including a processing module and a transceiver module.
  • the transceiver module is configured to obtain link information between the first access device and the first terminal device, where the first terminal device is a terminal device that accesses the first access device; receiving access indication information from the control device, the access indication information is used to instruct the second access device to establish communication with the first terminal device according to the link information, and the access indication information includes the identification of the first terminal device; the processing module is configured to establish communication with the first terminal device indicated by the identification according to the link information.
  • the transceiver module is specifically configured to receive link information from the control device or the first access device.
  • the transceiver module is further configured to send to the control device the identifier of the terminal device accessing the second access device and the signal strength of other devices detected by the second access device before the second access device receives the access indication information from the control device.
  • the transceiver module is further configured to send at least one of the following information to the control device before the second access device receives the access indication information from the control device: network parameters of the second access device, load of the second access device, channel utilization of the second access device, signal strength of an interference signal detected by the second access device, and signal strength of a terminal device connected to the second access device detected by the second access device.
  • a tenth aspect provides a communication system, which is characterized in that it includes the communication device according to the third aspect, the communication device according to the fourth aspect, and the communication device according to the fifth aspect; or, includes the communication device according to the sixth aspect and any implementation thereof, the communication device according to the seventh aspect and any implementation thereof, and the communication device according to the eighth aspect and any implementation thereof.
  • a computer-readable storage medium is provided, and the computer-readable storage medium includes an instruction.
  • the communication device is made to execute the method as described in the first aspect and any embodiment thereof, or execute the method as described in the second aspect and any embodiment thereof, or the method as described in the third aspect and any embodiment thereof.
  • a twelfth aspect provides a computer program product including an instruction.
  • the communication device is made to execute the method described in the first aspect and any embodiment thereof, or execute the method described in the second aspect and any embodiment thereof, or the method described in the third aspect and any embodiment thereof.
  • Fig. 1 is a schematic diagram of the architecture of an optical fiber communication system
  • FIG. 2 is a schematic structural diagram of a communication system provided by an embodiment of the present application.
  • FIG. 3 is a schematic flow diagram of a communication recovery method provided in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a message structure carrying fault indication information and fault cause information provided by an embodiment of the present application
  • FIG. 5 is a schematic flowchart of another method for restoring communication provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a message structure carrying access indication information provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a chip system provided by an embodiment of the present application.
  • Words such as “exemplary” or “for example” involved in the embodiments of the present application are used to represent examples, illustrations or descriptions. Any embodiment or design described herein as “exemplary” or “for example” is not to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as “exemplary” or “such as” is intended to present related concepts in a concrete manner.
  • Virtual access point refers to virtualizing multiple APs on a physical entity access point (access point, AP). Each virtualized AP is a VAP, and each VAP provides the same function as the physical entity AP. Different VAPs can provide wireless access services for different user groups (such as family members or visitors).
  • Fig. 1 shows a kind of optical fiber communication system, can be applied to Gigabit passive optical network (GPON), this system comprises optical line terminal (optical line terminal, OLT) 11, PON gateway 12, at least one ONT 13 and terminal equipment 14.
  • the OLT 11 is connected to the PON gateway 12 through the home optical fiber, and the OLT 11 is used to connect the optical fiber network in the family to the backbone optical fiber network (that is, the communication network involved in the application) through the PON gateway 12.
  • the PON gateway 12 is used to manage the ONT 13 in the family.
  • the ONT 13 and the PON gateway 12 are connected by optical fiber, and the ONT 13 can be located in each room. Both the PON gateway 12 and the ONT 13 can be used for terminal equipment 14 to access (for example, access by Wi-Fi) the optical fiber network in the family, thereby realizing FTTR.
  • the fiber optic communication system can adopt a variety of backup technologies to avoid network interruption:
  • Type A (type A), only backs up and protects the network equipment in the backbone optical fiber network, but does not back up the OLT 11, PON gateway 12, and ONT 13.
  • This backup method has a backup function for the breakpoint of the backbone optical fiber network, but has no backup function for the network interruption caused by the failure of the OLT 11, PON gateway 12, and ONT 13.
  • Type B (type B), while backing up the OLT 11 and the network equipment of the backbone optical fiber, but not backing up the PON gateway 12 and ONT 13. Taking cost and performance into consideration, it is the most commonly used solution.
  • Type C backs up OLT 11, PON gateway 12, ONT 13 and network equipment in the backbone optical fiber network. Any fault in the network can be switched to the backup network equipment to avoid network interruption, and the reliability is high; but the network is very complicated, and the cost is very high due to the large number of network equipment.
  • Type D (type D) backs up the entire network, which further improves reliability, but the complexity of the network is higher, and cold backup is required to prevent conflicts between the main and backup signals.
  • the embodiment of the present application provides a communication recovery method, a communication device and a communication system.
  • the link information between the first access device (such as another ONT 13) and the terminal device connected to the first access device is backed up by the control device (such as the PON gateway 12 mentioned above) or the second access device (such as the ONT 13 mentioned above).
  • the terminal device does not need to re-authenticate, establish a connection, and exchange keys, which shortens the communication establishment time and enables the terminal device to quickly access the communication network through the second access device or control device, thereby realizing rapid recovery of communication between the terminal device and the communication network.
  • the embodiment of the present application provides a communication system, including a control device 21 , at least one access device (such as a first access device 22 and a second access device 23 ), and at least one terminal device 24 .
  • the terminal device 24 can access the communication network through the control device 21 or the access device.
  • the control device 21 can be the aforementioned PON gateway, and the access device can be the aforementioned ONT; or, in a cascaded wired communication system or wireless communication (such as Wi-Fi) communication system, the control device 21 can be a communication device of an upper level, and the access device can be a communication device of a lower level; or, in a communication system including a master communication device and a slave communication device, the control device 21 can be a master communication device, and the access device can be a slave communication device.
  • the embodiment of the present application provides a communication recovery method, including steps S101-S105:
  • the control device acquires network performance information of multiple candidate devices.
  • Multiple candidate devices include the control device itself and at least one access device (such as the first access device and the second access device mentioned above), that is to say, both the control device and at least one access device can establish communication with the terminal device, so that the terminal device can access the communication network through the control device or the access device.
  • candidate devices in the same home network can use the same broadcast service set identifier (BSSID) (such as media access control (MAC) address), capability set information, and communication keys derived from MAC addresses to communicate with terminal devices.
  • BSSID broadcast service set identifier
  • MAC media access control
  • At least one access device may send the network performance information of the access device to the control device.
  • the control device can be configured with network performance information or obtain network performance information by monitoring the network environment.
  • the network performance information of the candidate device includes the signal strength of the candidate device (for example, a received signal strength indication (RSSI)), an identifier of a terminal device accessing the candidate device, and auxiliary network performance information.
  • RSSI received signal strength indication
  • the signal strength of the candidate device may be the signal strength of another candidate device detected by one candidate device, for example, the signal strength of the second access device detected by the first access device, the signal strength of the control device detected by the first access device, the signal strength of the first access device detected by the second access device, the signal strength of the control device detected by the second access device, the signal strength of the first access device detected by the control device, and the signal strength of the second access device detected by the control device.
  • the identifier of the terminal device accessing the candidate device may be an allocation identifier (allocation ID).
  • the auxiliary network performance information includes at least one of the following information: network parameters of the candidate device (such as channel, bandwidth, etc.), load of the candidate device (such as the number of terminal devices accessing the candidate device, average data flow, etc.), channel utilization of the candidate device, signal strength (such as RSSI) of an interference signal detected by the candidate device (such as interference signals generated by microwave ovens, hair dryers, etc.), and signal strength (such as RSSI) of terminal devices connected to the candidate device detected by the candidate device.
  • network parameters of the candidate device such as channel, bandwidth, etc.
  • load of the candidate device such as the number of terminal devices accessing the candidate device, average data flow, etc.
  • channel utilization of the candidate device such as signal strength (such as RSSI) of an interference signal detected by the candidate device (such as interference signals generated by microwave ovens, hair dryers, etc.), and signal strength (such as RSSI) of terminal devices connected to the candidate device detected by the candidate device.
  • signal strength such as RSSI
  • the access device (for example, the first access device and the second access device mentioned above) sends the link information of the access device to other candidate devices.
  • the link information of the access device refers to link information between the access device and a terminal device accessing the access device.
  • the link information includes at least one of the following information: the communication key between the access device and the terminal device accessing the access device, the communication capability of the terminal device accessing the access device (for example, the supported maximum rate, the supported communication protocol), the message for establishing a link between the access device and the terminal device accessing the access device (for example, a probe request message, an authentication request message, an association request message, a reassociation request message, and a reassociation request message. ) messages, etc.).
  • the communication key between the access device and the terminal device connected to the access device is obtained by the access device and the terminal device through an exchange key process
  • the communication capability of the terminal device connected to the access device is obtained through an authentication process between the access device and the terminal device
  • the link establishment message between the access device and the terminal device connected to the access device is obtained by the access device and the terminal device through a connection establishment process.
  • the timing for the access device to send link information may include: after the access device starts working; or when the terminal device connected to the access device changes, for example, a new terminal device accesses the terminal device, and a terminal device that has connected to the access device disconnects from the access device, etc.
  • the link information may be directly sent to other candidate devices.
  • the first access device may send the link information of the access device (the first access device) to other candidate devices (the second access device and the control device) through group sending, or the first access device may send the link information of the access device (the first access device) to other candidate devices (the second access device and the control device) separately.
  • the second access device may send the link information of the access device (the second access device) to other candidate devices (the first access device and the control device) through group sending, or the second access device may send the link information of the access device (the second access device) to other candidate devices (the first access device and the control device) separately.
  • the link information may be indirectly sent to other candidate devices through forwarding by the control device.
  • the first access device may send the link information of the access device (the first access device) to the control device, and the control device sends the link information of the first access device to the second access device.
  • the second access device may send the link information of the own access device (the second access device) to the control device, and the control device sends the link information of the second access device to the first access device.
  • control device After the control device receives the link information from an access device, it does not send it to other access devices but uses the link information by itself, or the control device can send it to other access devices later, or the control device can wait to meet certain conditions before sending it to other access devices, so as to save network transmission resources. For example, when the access device sending the link information fails, the control device can send the link information to other access devices; or, when the network is not busy, the control device can send link information to other access devices; or, after determining the target candidate device in step S104, the control device can send the link information to the target candidate device.
  • the first access device sends fault indication information to the control device.
  • the control device receives fault indication information from the first access device.
  • the fault indication information is used to indicate the failure of the first access device, that is, the first terminal device that has connected to the first access device before the failure can no longer access the communication network through the first access device.
  • the first terminal device may be one terminal device or multiple terminal devices, and may be all terminal devices or some terminal devices that have connected to the first access device. For the convenience of description, unless otherwise specified, the first terminal device refers to one terminal device.
  • the chip of the first access device will generate a dying gasp signal (for example, about 100ms before stopping work) after detecting a power failure (for example, detecting that the power supply voltage is insufficient), or there is a module inside the chip for judging whether it is currently in an abnormal state of the VAP (that is, the VAP cannot provide access services). Therefore, the first access device may also send fault cause information to the control device, and accordingly, the control device receives fault cause information from the first access device.
  • the failure cause information is used to indicate the cause of the failure of the first access device, and the specific reasons include but are not limited to power failure or abnormal VAP.
  • the fault indication information and the fault cause information may be sent in the same message or in different messages. This application uses sending in the same message as an example, but it is not intended to be limited thereto.
  • the fault indication information and fault cause information can be carried in a custom message, or, as shown in Figure 4 B, the fault indication information and fault cause information can be carried in the packet header of the Ethernet message, or, as shown in Figure 4 C, the fault indication information and fault cause information can be carried in an ONU management and control interface (ONU management and control interface, OMCI) message.
  • ONU management and control interface ONU management and control interface
  • the fault indication message may include a fault indication message type field and a first access device identification field.
  • the fault indication message type field is used to indicate that the fault indication message is used to carry fault indication information.
  • it is also used to indicate that the fault indication message is used to carry fault cause information;
  • the first access device identification field is used for the identification of the first access device (that is, indicating which access device is faulty).
  • the identification of the first access device can be the index of the ONT; these two fields are combined to represent the fault indication information.
  • the fault indication message may also include a fault cause field, and the fault cause field is used to indicate the cause of the failure of the first access device, that is, this field may be used to represent fault cause information, and this field may represent different reasons through different values, or this field may include multiple fields, each field represents a reason, for example, one field indicates that the cause is power failure, and the other field indicates that the cause is VAP abnormality.
  • the fault indication message may also include a reserved field, and the reserved field may be used for future expansion (for example, to expand the fault cause field).
  • the control device determines a target candidate device from the multiple candidate devices according to the network performance information from the multiple candidate devices.
  • the target candidate device may be a candidate device with the best network performance, and the target candidate device may be the control device itself, or may be another access device (such as a second access device) other than the first access device.
  • the purpose of determining the target candidate device is to enable the first terminal device to access the communication network through the candidate device.
  • step S104 includes S1041-S1042.
  • the control device determines at least one neighbor candidate device of the first access device from the multiple candidate devices according to the signal strengths of the multiple candidate devices (from the network performance information of the aforementioned multiple candidate devices).
  • the signal strength of the opposite device detected by the local device can represent the distance between the opposite device and the local device.
  • the neighbor candidate device of the first access device refers to the neighbor candidate device that is closer to the first access device. The reason for determining the neighbor candidate device of the first access device is that the distance between the candidate device that is closer to the first access device is not far from the first terminal device that has previously connected to the first access device, and the first terminal device is easy to access the candidate device.
  • the signal strength of a candidate device may be the signal strength of another candidate device detected by one candidate device, so the first access device may detect the signal strengths of multiple candidate devices (such as a control device and a second access device), and the control device may use a candidate device whose signal strength detected by the first access device exceeds a first threshold as a neighbor candidate device of the first access device. That is to say, the control device may select a "candidate device with a better signal detected by the first access device" as a neighbor candidate device of the first access device.
  • the control device can also select the candidate device whose signal strength of the first access device exceeds the second threshold when detecting the signal strength of the first access device as the neighbor candidate device of the first access device. That is to say, the control device may select a "candidate device that detects a better signal of the first access device" as a neighbor candidate device of the first access device.
  • the first threshold and the second threshold may be the same or different.
  • control device may further screen candidate devices whose signal strength detected by the first access device exceeds the first threshold, and select candidate devices whose signal strength detected by the first access device exceeds the second threshold as neighbor candidate devices of the first access device. That is to say, the control device may select a "candidate device that detects each other with a better signal strength with the first access device" as a neighbor candidate device of the first access device.
  • the control device determines a target candidate device from at least one neighbor candidate device according to the auxiliary network performance information of the neighbor candidate device.
  • Weights can be set for each piece of information in the auxiliary network performance information of a neighbor candidate device, and the control device performs weighted calculations on each piece of information in the auxiliary network performance information of a neighbor candidate device to obtain the weight value of the candidate device. Then the control device determines a target candidate device from at least one candidate device according to the weight value of the at least one neighbor candidate device, for example, takes the neighbor candidate device with the largest weight value as the target candidate device.
  • the target candidate device is unique, but for multiple first terminal devices, the target candidate device may not be unique, that is, different first terminal devices may establish communications with different target candidate devices, thereby accessing the communication network through different target candidate devices.
  • control device may also change the information of the first access device in the forwarding table to the information of the target candidate device, for example, modify the identifier of the interface (interface) in the forwarding table from the identifier of the first access device to the identifier of the target candidate device, thereby changing the data forwarding path from the first access device to the target candidate device.
  • the message can be sent to the target candidate device according to the forwarding table, or, when a message from the target candidate device is received, the message can be sent to the communication network according to the forwarding table.
  • the target candidate device establishes communication with the first terminal device according to the link information between the first access device and the first terminal device.
  • step S105 when the target candidate device is a control device, step S105 includes step S1051, and when the target candidate device is not a control device, that is, when the target candidate device is at least one access device (such as a second access device) other than the first access device, step S105 includes steps S1052-S1053.
  • the control device establishes communication with the first terminal device according to link information between the first access device and the first terminal device.
  • the communication key between the access device and the terminal device connected to the access device is obtained through the key exchange process between the access device and the terminal device
  • the communication capability of the terminal device connected to the access device is obtained through the authentication process between the access device and the terminal device
  • the link establishment message between the access device and the terminal device connected to the access device is obtained through the connection establishment process between the access device and the terminal device.
  • obtaining the communication key between the first access device and the first terminal device by the control device can save the key exchange process between the control device and the first terminal device; obtaining the communication capability of the first terminal device by the control device can save the authentication process between the control device and the first terminal device; and obtaining the link establishment message between the first access device and the first terminal device by the control device can save the process of establishing a connection between the control device and the first terminal device.
  • control device can quickly re-establish the link with the first terminal device according to the link information, and restore the communication between the first terminal device and the communication network.
  • the control device sends access indication information to the candidate target device (for example, the second access device).
  • the access indication information includes the identifier of the first terminal device, and the access indication information is used to instruct the target candidate device to establish communication with the first terminal device according to the link information between the first access device and the first terminal device.
  • the access indication information may be carried in a custom message, or, as shown in B in FIG. 6 , the access indication information may be carried in a packet header of an Ethernet message, or, as shown in C in FIG. 6 , the access indication information may be carried in an OMCI message, or the access indication information may be carried in a PLOAM message.
  • the access indication message may include an access indication message type field, a target candidate device identification field, and a first terminal device identification field.
  • the access indication message type field is used to indicate that the access indication message carries access indication information;
  • the target candidate device identification field is used to indicate the identification of the target candidate device, which is used to indicate which candidate device (actually an access device) the third message is sent to.
  • the identification of the target candidate device can be an index of the ONT;
  • the first terminal device identification field is used to indicate the identification of the first terminal device, which is used to indicate which terminal equipment the target candidate device will establish communication with; the number of identities of the terminal equipment).
  • the second access device establishes communication with the first terminal device indicated by the identifier of the first terminal device according to the link information from the first access device.
  • the second access device After receiving the access indication information, the second access device obtains the identifier of the first terminal device from it, and similarly to the control device in step S1051, the second access device can quickly rebuild the link with the first terminal device according to the link information, and restore the communication between the first terminal device and the communication network.
  • the second access device may send indication information to the control device to indicate that the first terminal device successfully accesses the second access device.
  • the target candidate device backs up the link information between the first access device and the first terminal device that accesses the first access device.
  • the target candidate device is the candidate device with the best network performance determined by the control device, and the target candidate device may be the control device or the second access device.
  • the target candidate device establishes communication with the first terminal device according to the backed-up link information.
  • the first terminal device In the process of establishing communication, the first terminal device does not need to go through steps such as authentication, connection establishment, and key exchange again, which shortens the communication establishment time and enables the first terminal device to quickly access the communication network through the target candidate device, thereby realizing rapid recovery of communication between the terminal device and the communication network.
  • control device may also be implemented by components (such as chips or circuits) of the control device.
  • first access device may also be implemented by components (such as chips or circuits) of the first access device.
  • second access device may also be implemented by components (such as chips or circuits) of the second access device.
  • the embodiment of the present application also provides a communication device.
  • the communication device may be the control device in the above method embodiment, or a device including the above control device, or a chip or a functional module in the control device.
  • the communication device may be the first access device in the above method embodiment, or an apparatus including the first access device, or a chip or a functional module in the first access device.
  • the communication device may be the second access device in the above method embodiment, or an apparatus including the second access device, or a chip or a functional module in the second access device.
  • the communication device includes hardware structures and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • the embodiments of the present application may divide the communication device into functional modules according to the above method embodiments.
  • each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 7 shows a schematic structural diagram of a communication device 20 .
  • the communication device 20 includes a processing module 201 and a transceiver module 202 .
  • the communication device 20 may be the aforementioned control device, first access device or second access device.
  • the processing module 201 may also be referred to as a processing unit, and is configured to implement the processing functions of the control device, the first access device, or the second access device in the above method embodiments. For example, steps S104 and S105 in FIG. 3 and steps S1041, S1042, S1051 and S1053 in FIG. 5 are executed.
  • the transceiving module 202 which may also be referred to as a transceiving unit, is configured to implement the transceiving function of the control device, the first access device, or the second access device in the above method embodiments. For example, steps S101-S103 in FIG. 3 and steps S101-S103 and S1052 in FIG. 5 are executed.
  • the transceiver module 202 may be called a transceiver circuit, a transceiver, a transceiver or a communication interface.
  • the transceiver module 202 is configured to receive fault indication information from the first access device, and the fault indication information is used to indicate the failure of the first access device; the processing module 201 is configured to determine a target candidate device from multiple candidate devices according to network performance information of the multiple candidate devices. A terminal device that accesses the first access device.
  • the processing module 201 is specifically configured to: determine at least one neighbor candidate device of the first access device from multiple candidate devices according to signal strengths of the multiple candidate devices; determine a target candidate device from at least one neighbor candidate device according to auxiliary network performance information of the neighbor candidate device.
  • the transceiver module 202 is further configured to send access indication information to the candidate target device, where the access indication information is used to instruct the candidate target device to establish communication with the first terminal device according to the link information, and the access indication information includes an identifier of the first terminal device.
  • the transceiving module 202 is further configured to send link information to the candidate target device before sending access indication information to the candidate target device.
  • the transceiver module 202 is further configured to obtain link information before the control device receives the fault indication information from the first access device.
  • the transceiving module 202 is further configured to obtain an identifier of the first terminal device and signal strengths of multiple candidate devices before receiving the fault indication information from the first access device.
  • the processing module 201 changes the information of the first access device in the forwarding table to the information of the target candidate device.
  • the transceiver module 202 is configured to send link information between the first access device and the first terminal device to the control device or the second access device, where the first terminal device is a terminal device that accesses the first access device; and send fault indication information to the control device, where the fault indication information is used to indicate a failure of the first access device.
  • the transceiver module 202 is further configured to send the identifier of the first terminal device and the signal strength of other devices detected by the first access device to the control device before the first access device sends fault indication information to the control device.
  • the transceiver module 202 is further configured to send at least one of the following information to the control device before the first access device sends fault indication information to the control device: network parameters of the first access device, load of the first access device, channel utilization rate of the first access device, signal strength of an interference signal detected by the first access device, and signal strength of the first terminal device detected by the first access device.
  • the transceiver module 202 is configured to obtain link information between the first access device and the first terminal device, where the first terminal device is a terminal device that accesses the first access device; receive access indication information from the control device, the access indication information is used to instruct the second access device to establish communication with the first terminal device according to the link information, and the access indication information includes the identifier of the first terminal device; the processing module 202 is configured to establish communication with the first terminal device indicated by the identifier according to the link information.
  • the transceiver module 202 is specifically configured to receive link information from the control device or the first access device.
  • the transceiver module 202 is further configured to send the identification of the terminal device accessing the second access device and the signal strength of other devices detected by the second access device to the control device before the second access device receives access indication information from the control device.
  • the transceiver module 202 is further configured to send at least one of the following information to the control device before the second access device receives access indication information from the control device: network parameters of the second access device, load of the second access device, channel utilization of the second access device, signal strength of an interference signal detected by the second access device, and signal strength of a terminal device connected to the second access device detected by the second access device.
  • the embodiment of the present application also provides a communication device.
  • the communication device 30 includes a processor 301, a memory 302 and a transceiver 303.
  • the processor 301 is coupled to the memory 302 and the transceiver 303.
  • the transceiver 303 is used to support the communication device to communicate with other communication devices.
  • the processor 301 executes the computer program or instruction in the memory 302, the method corresponding to the control device, the first access device or the second access device in FIG. 3 or FIG. 5 is executed.
  • an embodiment of the present application further provides a chip system.
  • the chip system 40 includes at least one processor 401 and at least one interface circuit 402 .
  • At least one processor 401 and at least one interface circuit 402 may be interconnected through wires.
  • at least one interface circuit 402 may be used to receive signals from other devices, such as memory, or to send signals to other communication devices, such as a communication interface.
  • An embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium includes an instruction, and when the instruction is run on the above-mentioned communication device, the communication device is made to execute each function or step performed by the control device, the first access device, or the second access device in the above-mentioned method embodiment, for example, execute the method shown in FIG. 3 or FIG. 5 .
  • An embodiment of the present application further provides a computer program product including an instruction.
  • the communication device is made to execute each function or step performed by the control device, the first access device, or the second access device in the above-mentioned method embodiment, for example, execute the method shown in FIG. 3 or FIG. 5 .
  • the processor involved in this embodiment of the present application may be a chip.
  • it can be a field programmable gate array (field programmable gate array, FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (network processor, NP), or a digital signal processing circuit (digital sign al processor, DSP), a microcontroller (micro controller unit, MCU), a programmable logic device (programmable logic device, PLD) or other integrated chips.
  • field programmable gate array field programmable gate array
  • ASIC application specific integrated circuit
  • SoC system on chip
  • CPU central processor unit
  • NP network processor
  • DSP digital signal processing circuit
  • microcontroller micro controller unit, MCU
  • programmable logic device programmable logic device
  • the memory involved in the embodiments of the present application may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories.
  • the non-volatile memory may be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • Volatile memory can be random access memory (RAM), which acts as external cache memory.
  • RAM static random access memory
  • dynamic RAM dynamic RAM
  • DRAM dynamic random access memory
  • SDRAM synchronous dynamic random access memory
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • serial DRAM serial RAM
  • direct memory bus random access memory direct rambus RAM, DR RAM
  • sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
  • modules and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
  • the disclosed systems, devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the modules is only a logical function division. In actual implementation, there may be other division methods.
  • multiple modules or components may be combined or integrated into another device, or some features may be ignored or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical, mechanical or other forms.
  • the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one device, or may be distributed to multiple devices. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional module in each embodiment of the present application may be integrated into one device, or each module may physically exist separately, or two or more modules may be integrated into one device.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • a software program it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (such as infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or may be a data storage device including one or more servers, data centers, etc. that can be integrated with the medium.
  • the available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (Solid State Disk, SSD)) and the like.
  • a magnetic medium such as a floppy disk, a hard disk, or a magnetic tape
  • an optical medium such as a DVD
  • a semiconductor medium such as a solid state disk (Solid State Disk, SSD)

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application relates to the field of optical fiber communications, and discloses a communication recovery method, a communication apparatus and a communication system, used for achieving rapid recovery of communication between a terminal device and a communication network. The communication recovery method comprises: a control device receives fault indication information from a first access device, the fault indication information being used for indicating that a fault occurs in a first access device; the control device determines, according to network performance information of a plurality of candidate devices, a target candidate device from among the plurality of candidate devices, the network performance of the target candidate device being optimal, and the target candidate device being used for establishing communication with a first terminal device according to link information between the first access device and the first terminal device, wherein the plurality of candidate devices comprise the control device and at least one access device other than the first access device controlled by the control device, and the first terminal device is a terminal device that accesses the first access device before the fault occurs in the first access device.

Description

通信恢复方法、通信装置和通信***Communication recovery method, communication device and communication system
本申请要求于2022年1月24日提交中国国家知识产权局、申请号为202210081576.X、申请名称为“通信恢复方法、通信装置和通信***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202210081576.X and the application title "communication recovery method, communication device and communication system" filed with the State Intellectual Property Office of China on January 24, 2022, the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及光纤通信领域,尤其涉及一种通信恢复方法、通信装置和通信***。The present application relates to the field of optical fiber communication, in particular to a communication recovery method, communication device and communication system.
背景技术Background technique
随着家庭智能家电、远程教育、视频直播、虚拟现实(virtual reality,VR)的普及,用户对家庭无线保真(wireless fidelity,Wi-Fi)的带宽、时延、覆盖性能都提出了更高要求,在光纤入户(fiber to the home,FTTH)已大面积普及的基础上,业界近来提出了光纤入房间(fiber to the room,FTTR)的解决方案。With the popularity of home smart home appliances, distance education, live video, and virtual reality (virtual reality, VR), users have put forward higher requirements for the bandwidth, delay, and coverage performance of home wireless fidelity (Wireless Fidelity, Wi-Fi). On the basis of the widespread popularization of fiber to the home (FTTH), the industry has recently proposed a fiber to the room (FTTR) solution.
在基于FTTR的光纤通信***中,入户光纤可以连接家庭中的无源光网络(passive optical network,PON)网关,PON网关负责管理位于各个房间中的光网络终端(optical network terminal,ONT),终端设备可以通过所在房间中的ONT来访问通信网络,从而实现FTTR。In the FTTR-based optical fiber communication system, the home optical fiber can be connected to the passive optical network (PON) gateway in the home, and the PON gateway is responsible for managing the optical network terminal (ONT) located in each room. The terminal equipment can access the communication network through the ONT in the room, thereby realizing FTTR.
当终端设备所连接的ONT发生故障时,终端设备需要与其他ONT重新建立连接来继续访问通信网络,期间终端设备与通信网络之间的通信会中断,而这个过程从几百毫秒到十几秒不等,时间较长从而影响用户体验。When the ONT connected to the terminal device fails, the terminal device needs to re-establish connections with other ONTs to continue accessing the communication network. During this period, the communication between the terminal device and the communication network will be interrupted, and this process ranges from hundreds of milliseconds to more than ten seconds, which takes a long time and affects user experience.
发明内容Contents of the invention
本申请实施例提供一种通信恢复方法、通信装置和通信***,用于实现终端设备与通信网络之间通信快速恢复。Embodiments of the present application provide a communication recovery method, a communication device, and a communication system, which are used to realize fast recovery of communication between a terminal device and a communication network.
为达到上述目的,本申请的实施例采用如下技术方案:In order to achieve the above object, the embodiments of the present application adopt the following technical solutions:
第一方面,提供了一种通信恢复方法,包括:控制设备接收来自第一接入设备的故障指示信息,故障指示信息用于指示第一接入设备故障;控制设备根据多个候选设备的网络性能信息,从多个候选设备中确定目标候选设备,目标候选设备的网络性能最优,目标候选设备用于根据第一接入设备与第一终端设备之间的链路信息与第一终端设备建立通信,其中,多个候选设备包括控制设备以及控制设备控制的第一接入设备外的至少一个接入设备,第一终端设备为第一接入设备故障前接入第一接入设备的终端设备。控制设备可以为与入户光纤连接的PON网关,接入设备可以为该PON网关所管理的位于各个房间中的ONT。PON网关和ONT均可以供终端设备接入(例如通过Wi-Fi接入)家庭中的光纤网络,从而实现FTTR。According to the first aspect, a communication restoration method is provided, including: a control device receives fault indication information from a first access device, and the fault indication information is used to indicate a failure of the first access device; the control device determines a target candidate device from multiple candidate devices according to network performance information of the multiple candidate devices, the network performance of the target candidate device is the best, and the target candidate device is used to establish communication with the first terminal device according to the link information between the first access device and the first terminal device, wherein the multiple candidate devices include the control device and at least one access device other than the first access device controlled by the control device, and the first terminal device is the first access device connected to the first access device before the failure terminal equipment. The control device may be a PON gateway connected to the home optical fiber, and the access device may be an ONT located in each room managed by the PON gateway. Both the PON gateway and the ONT can be used by terminal equipment to access (for example, access via Wi-Fi) the optical fiber network in the home, so as to realize FTTR.
本申请实施例提供的通信恢复方法,由目标候选设备对第一接入设备与接入第一接入设备的第一终端设备之间的链路信息进行备份,目标候选设备为控制设备确定的网络性能最优的候选设备,目标候选设备可以为控制设备或第二接入设备。当第一接入设备发生故障而导 致第一终端设备无法访问通信网络时,由目标候选设备根据备份的链路信息与第一终端设备建立通信,在建立通信过程中,第一终端设备不必再重新经过认证、建立连接、交互密钥等步骤,缩短了通信建立时间,使得第一终端设备能够快速通过目标候选设备访问通信网络,从而实现终端设备与通信网络之间通信快速恢复。In the communication recovery method provided in the embodiment of the present application, the target candidate device backs up the link information between the first access device and the first terminal device connected to the first access device, and the target candidate device is the candidate device with the best network performance determined by the control device, and the target candidate device may be the control device or the second access device. When the first access device fails and the first terminal device cannot access the communication network, the target candidate device establishes communication with the first terminal device according to the backup link information. In the process of establishing communication, the first terminal device does not need to go through steps such as authentication, connection establishment, and key exchange again, which shortens the communication establishment time and enables the first terminal device to quickly access the communication network through the target candidate device, thereby realizing rapid recovery of communication between the terminal device and the communication network.
在一种可能的实施方式中,网络性能信息包括候选设备的信号强度和辅助网络性能信息,控制设备根据多个候选设备的网络性能信息,从多个候选设备中确定目标候选设备,包括:控制设备根据多个候选设备的信号强度,从多个候选设备中确定第一接入设备的至少一个邻居候选设备;控制设备根据邻居候选设备的辅助网络性能信息,从至少一个邻居候选设备确定目标候选设备。第一接入设备的邻居候选设备指与第一接入设备距离较近的邻居候选设备,确定第一接入设备的邻居候选设备的原因在于:与第一接入设备距离较近的候选设备对于原先已接入第一接入设备的第一终端设备来说,距离也不会远,第一终端设备容易接入该候选设备。In a possible implementation manner, the network performance information includes signal strength of the candidate device and auxiliary network performance information, and the control device determines the target candidate device from the multiple candidate devices according to the network performance information of the multiple candidate devices, including: the control device determines at least one neighbor candidate device of the first access device from the multiple candidate devices according to the signal strength of the multiple candidate devices; the control device determines the target candidate device from the at least one neighbor candidate device according to the auxiliary network performance information of the neighbor candidate devices. The neighbor candidate device of the first access device refers to the neighbor candidate device that is closer to the first access device. The reason for determining the neighbor candidate device of the first access device is that the distance between the candidate device that is closer to the first access device is not far from the first terminal device that has previously connected to the first access device, and the first terminal device is easy to access the candidate device.
在一种可能的实施方式中,辅助网络性能信息包括以下信息的至少一项:候选设备的网络参数、候选设备的负载、候选设备的信道利用率、候选设备检测的干扰信号的信号强度、候选设备检测的接入候选设备的终端设备的信号强度。可以针对一个邻居候选设备的辅助网络性能信息中的各个信息分别设置权重,控制设备对一个邻居候选设备的辅助网络性能信息中各个信息进行加权计算后得到该候选设备的权重值,例如对辅助网络性能信息中每个信息乘以权重值后再求和得到该邻居候选设备的权重值。然后控制设备根据至少一个邻居候选设备的权重值从至少一个候选设备中确定目标候选设备,例如取权重值最大的邻居候选设备作为目标候选设备。In a possible implementation manner, the auxiliary network performance information includes at least one of the following information: network parameters of the candidate device, load of the candidate device, channel utilization of the candidate device, signal strength of an interference signal detected by the candidate device, and signal strength of a terminal device connected to the candidate device detected by the candidate device. Weights can be set for each piece of information in the auxiliary network performance information of a neighbor candidate device, and the control device performs weighted calculations on each piece of information in the auxiliary network performance information of a neighbor candidate device to obtain the weight value of the candidate device. Then the control device determines a target candidate device from at least one candidate device according to the weight value of the at least one neighbor candidate device, for example, takes the neighbor candidate device with the largest weight value as the target candidate device.
在一种可能的实施方式中,当目标候选设备为至少一个接入设备时,方法还包括:控制设备向目标候选设备发送接入指示信息,接入指示信息用于指示目标候选设备根据链路信息与第一终端设备建立通信,接入指示信息包括第一终端设备的标识。目标候选设备接收到接入指示信息后,从中获取第一终端设备的标识,根据链路信息快速重建与第一终端设备之间的链路,恢复第一终端设备与通信网络之间的通信。In a possible implementation manner, when the target candidate device is at least one access device, the method further includes: the control device sends access indication information to the target candidate device, where the access indication information is used to instruct the target candidate device to establish communication with the first terminal device according to the link information, and the access indication information includes an identifier of the first terminal device. After receiving the access indication information, the target candidate device obtains the identifier of the first terminal device, quickly rebuilds the link with the first terminal device according to the link information, and restores the communication between the first terminal device and the communication network.
在一种可能的实施方式中,接入指示信息承载在接入指示消息中,接入指示消息包括接入指示消息类型字段、目标候选设备标识字段和第一终端设备标识字段,接入指示消息类型字段用于指示接入指示消息承载接入指示信息,目标候选设备标识字段用于指示目标候选设备的标识,第一终端设备标识字段用于指示第一终端设备的标识。该实施方式提供了一种承载接入指示信息的消息的结构。In a possible implementation manner, the access indication information is carried in an access indication message, and the access indication message includes an access indication message type field, a target candidate device identification field, and a first terminal device identification field, the access indication message type field is used to indicate that the access indication message carries the access indication information, the target candidate device identification field is used to indicate the identity of the target candidate device, and the first terminal device identification field is used to indicate the identity of the first terminal device. This embodiment provides a structure of a message carrying access indication information.
在一种可能的实施方式中,当目标候选设备为至少一个接入设备时,在控制设备向目标候选设备发送接入指示信息之前,该方法还包括:控制设备向目标候选设备发送链路信息。目标候选设备接收到接入指示信息后,从中获取第一终端设备的标识,根据链路信息快速重建与第一终端设备之间的链路,恢复第一终端设备与通信网络之间的通信。In a possible implementation manner, when the candidate target device is at least one access device, before the control device sends access indication information to the candidate target device, the method further includes: the control device sends link information to the candidate target device. After receiving the access indication information, the target candidate device obtains the identifier of the first terminal device, quickly rebuilds the link with the first terminal device according to the link information, and restores the communication between the first terminal device and the communication network.
在一种可能的实施方式中,在控制设备接收来自第一接入设备的故障指示信息之前,方法还包括:控制设备获取链路信息。控制设备可以自己使用链路信息,或者,发送给其他候选设备。In a possible implementation manner, before the control device receives the fault indication information from the first access device, the method further includes: the control device acquires link information. The controlling device can use the link information itself, or send it to other candidate devices.
在一种可能的实施方式中,链路信息包括以下信息的至少一项:第一接入设备与第一终端设备之间的通信密钥、第一终端设备的通信能力、第一接入设备与第一终端设备之间建立 链路的消息。接入设备与接入该接入设备的终端设备之间的通信密钥是接入设备与终端设备通过交互密钥过程得到,接入该接入设备的终端设备的通信能力是接入设备与终端设备通过认证过程得到,接入设备与接入该接入设备的终端设备之间建立链路的消息是接入设备与终端设备通过建立连接过程得到。In a possible implementation manner, the link information includes at least one of the following information: a communication key between the first access device and the first terminal device, a communication capability of the first terminal device, and a link establishment message between the first access device and the first terminal device. The communication key between the access device and the terminal device connected to the access device is obtained by the access device and the terminal device through an exchange key process, the communication capability of the terminal device connected to the access device is obtained through the authentication process between the access device and the terminal device, and the link establishment message between the access device and the terminal device connected to the access device is obtained by the connection establishment process between the access device and the terminal device.
在一种可能的实施方式中,故障指示信息承载在故障指示消息中,故障指示消息包括故障指示消息类型字段以及第一接入设备标识字段,故障指示消息类型字段用于指示故障指示消息承载故障指示信息,第一接入设备标识字段用于指示第一接入设备的标识。该实施方式提供了一种承载故障指示信息的消息的结构。In a possible implementation, the fault indication information is carried in a fault indication message, and the fault indication message includes a fault indication message type field and a first access device identification field, where the fault indication message type field is used to indicate that the fault indication message carries the fault indication information, and the first access device identification field is used to indicate the identification of the first access device. This embodiment provides a structure of a message carrying fault indication information.
在一种可能的实施方式中,故障指示消息还包括故障原因字段,故障原因字段用于指示第一接入设备故障的原因。该字段可以通过不同取值来表示不同原因,或者,该字段可以包括多个字段,每个字段表示一个原因。In a possible implementation manner, the fault indication message further includes a fault cause field, and the fault cause field is used to indicate a reason for the fault of the first access device. This field can indicate different reasons by taking different values, or this field can include multiple fields, and each field indicates a reason.
在一种可能的实施方式中,原因包括掉电或虚拟接入点异常。本申请实施例对于故障原因不作限定。In a possible implementation manner, the reason includes power failure or abnormality of the virtual access point. The embodiment of the present application does not limit the cause of the failure.
在一种可能的实施方式中,在控制设备接收来自第一接入设备的故障指示信息之前,还包括:控制设备获取第一终端设备的标识以及多个候选设备的信号强度。第一终端设备的标识用于获知哪些接入第一接入设备的终端设备将无法通过第一接入设备访问通信网络。候选设备的信号强度用于判断哪些候选设备是第一接入设备的邻居候选设备。In a possible implementation manner, before the control device receives the fault indication information from the first access device, the method further includes: the control device acquires an identifier of the first terminal device and signal strengths of multiple candidate devices. The identifier of the first terminal device is used to know which terminal devices connected to the first access device will not be able to access the communication network through the first access device. The signal strengths of the candidate devices are used to determine which candidate devices are neighbor candidate devices of the first access device.
在一种可能的实施方式中,还包括:控制设备将转发表中第一接入设备的信息变更为目标候选设备的信息。当接收到来自通信网络的消息时根据转发表即可以将该消息发送给目标候选设备,或者,当接收到来自目标候选设备的消息时根据转发表即可以将该消息发送给通信网络。In a possible implementation manner, the method further includes: the control device changing the information of the first access device in the forwarding table to the information of the target candidate device. When a message from the communication network is received, the message can be sent to the target candidate device according to the forwarding table, or, when a message from the target candidate device is received, the message can be sent to the communication network according to the forwarding table.
在一种可能的实施方式中,第一接入设备或目标候选设备与控制设备之间传输的指示信息承载在自定义消息中,或者,承载在以太网消息的载荷中,或者,承载在光网络单元管理控制接口消息的载荷中。本申请实施例对于承载指示信息的消息不作限定。In a possible implementation manner, the instruction information transmitted between the first access device or the target candidate device and the control device is carried in a custom message, or carried in a payload of an Ethernet message, or carried in a payload of an optical network unit management control interface message. The embodiment of the present application does not limit the message carrying the indication information.
第二方面,提供了一种通信恢复方法,包括:第一接入设备向控制设备或第二接入设备发送第一接入设备与第一终端设备之间的链路信息,第一终端设备为接入第一接入设备的终端设备;第一接入设备向控制设备发送故障指示信息,故障指示信息用于指示第一接入设备故障。In a second aspect, a communication recovery method is provided, including: a first access device sends link information between the first access device and a first terminal device to a control device or a second access device, where the first terminal device is a terminal device connected to the first access device; the first access device sends fault indication information to the control device, and the fault indication information is used to indicate a failure of the first access device.
在一种可能的实施方式中,链路信息包括以下信息的至少一项:第一接入设备与第一终端设备之间的通信密钥、第一终端设备的通信能力、第一接入设备与第一终端设备之间建立链路的消息。In a possible implementation manner, the link information includes at least one of the following information: a communication key between the first access device and the first terminal device, a communication capability of the first terminal device, and a link establishment message between the first access device and the first terminal device.
在一种可能的实施方式中,故障指示信息承载在故障指示消息中,故障指示消息包括故障指示消息类型字段以及第一接入设备标识字段,故障指示消息类型字段用于指示故障指示消息承载故障指示信息,第一接入设备标识字段用于指示第一接入设备的标识。In a possible implementation, the fault indication information is carried in a fault indication message, and the fault indication message includes a fault indication message type field and a first access device identification field, where the fault indication message type field is used to indicate that the fault indication message carries the fault indication information, and the first access device identification field is used to indicate the identification of the first access device.
在一种可能的实施方式中,故障指示消息还包括故障原因字段,故障原因字段用于指示第一接入设备故障的原因。In a possible implementation manner, the fault indication message further includes a fault cause field, and the fault cause field is used to indicate a reason for the fault of the first access device.
在一种可能的实施方式中,原因包括掉电或虚拟接入点异常。In a possible implementation manner, the reason includes power failure or abnormality of the virtual access point.
在一种可能的实施方式中,在第一接入设备向控制设备发送故障指示信息之前,方法还包括:第一接入设备向控制设备发送第一终端设备的标识以及第一接入设备检测的其他设备 的信号强度。In a possible implementation manner, before the first access device sends fault indication information to the control device, the method further includes: the first access device sends the identifier of the first terminal device and the signal strength of other devices detected by the first access device to the control device.
在一种可能的实施方式中,在第一接入设备向控制设备发送故障指示信息之前,方法还包括:第一接入设备向控制设备发送以下信息的至少一项:第一接入设备的网络参数、第一接入设备的负载、第一接入设备的信道利用率、第一接入设备检测的干扰信号的信号强度、第一接入设备检测的第一终端设备的信号强度。In a possible implementation manner, before the first access device sends the fault indication information to the control device, the method further includes: the first access device sends at least one of the following information to the control device: network parameters of the first access device, load of the first access device, channel utilization rate of the first access device, signal strength of an interference signal detected by the first access device, and signal strength of the first terminal device detected by the first access device.
在一种可能的实施方式中,第一接入设备与控制设备之间传输的指示信息承载在自定义消息中,或者,承载在以太网消息的载荷中,或者,承载在光网络单元管理控制接口消息的载荷中。In a possible implementation manner, the indication information transmitted between the first access device and the control device is carried in a custom message, or carried in a payload of an Ethernet message, or carried in a payload of an ONU management control interface message.
第三方面,提供了一种通信恢复方法,包括:第二接入设备获取第一接入设备与第一终端设备之间的链路信息,第一终端设备为接入第一接入设备的终端设备;第二接入设备从控制设备接收接入指示信息,接入指示信息用于指示第二接入设备根据链路信息与第一终端设备建立通信,接入指示信息包括第一终端设备的标识;第二接入设备根据链路信息与标识所指示的第一终端设备建立通信。In a third aspect, a communication recovery method is provided, including: a second access device acquires link information between a first access device and a first terminal device, where the first terminal device is a terminal device that accesses the first access device; the second access device receives access indication information from a control device, the access indication information is used to instruct the second access device to establish communication with the first terminal device according to the link information, and the access indication information includes an identifier of the first terminal device; the second access device establishes communication with the first terminal device indicated by the identifier according to the link information.
在一种可能的实施方式中,接入指示信息承载在接入指示消息中,接入指示消息包括接入指示消息类型字段、目标候选设备标识字段和第一终端设备标识字段,接入指示消息类型字段用于指示接入指示消息承载接入指示信息,目标候选设备标识字段用于指示第二接入设备的标识,第一终端设备标识字段用于指示第一终端设备的标识。In a possible implementation manner, the access indication information is carried in an access indication message, and the access indication message includes an access indication message type field, a target candidate device identification field, and a first terminal device identification field, the access indication message type field is used to indicate that the access indication message carries the access indication information, the target candidate device identification field is used to indicate the identity of the second access device, and the first terminal device identification field is used to indicate the identity of the first terminal device.
在一种可能的实施方式中,链路信息包括以下信息的至少一项:第一接入设备与第一终端设备之间的通信密钥、第一终端设备的通信能力、第一接入设备与第一终端设备之间建立链路的消息。In a possible implementation manner, the link information includes at least one of the following information: a communication key between the first access device and the first terminal device, a communication capability of the first terminal device, and a link establishment message between the first access device and the first terminal device.
在一种可能的实施方式中,第二接入设备获取第一接入设备与第一终端设备之间的链路信息,包括:第二接入设备从控制设备或第一接入设备接收链路信息。In a possible implementation manner, the acquisition by the second access device of link information between the first access device and the first terminal device includes: the second access device receives link information from the control device or the first access device.
在一种可能的实施方式中,在第二接入设备从控制设备接收接入指示信息之前,方法还包括:第二接入设备向控制设备发送接入第二接入设备的终端设备的标识以及第二接入设备检测的其他设备的信号强度。In a possible implementation manner, before the second access device receives the access indication information from the control device, the method further includes: the second access device sends to the control device an identifier of a terminal device accessing the second access device and signal strengths of other devices detected by the second access device.
在一种可能的实施方式中,在第二接入设备从控制设备接收接入指示信息之前,方法还包括:第二接入设备向控制设备发送以下信息的至少一项:第二接入设备的网络参数、第二接入设备的负载、第二接入设备的信道利用率、第二接入设备检测的干扰信号的信号强度、第二接入设备检测的接入第二接入设备的终端设备的信号强度。In a possible implementation manner, before the second access device receives the access indication information from the control device, the method further includes: the second access device sends at least one of the following information to the control device: a network parameter of the second access device, a load of the second access device, a channel utilization rate of the second access device, a signal strength of an interference signal detected by the second access device, and a signal strength of a terminal device connected to the second access device detected by the second access device.
在一种可能的实施方式中,接入指示信息承载在自定义消息中,或者,承载在以太网消息的载荷中,或者,承载在光网络单元管理控制接口消息的载荷中。In a possible implementation manner, the access indication information is carried in a self-defined message, or carried in a payload of an Ethernet message, or carried in a payload of an ONU management control interface message.
第四方面,提供了一种通信装置,包括处理器和收发器,收发器用于与其他通信装置进行通信,当处理器执行指令时,如第一方面及其任一实施方式所述的方法被执行。In a fourth aspect, a communication device is provided, including a processor and a transceiver, the transceiver is used to communicate with other communication devices, and when the processor executes instructions, the method described in the first aspect and any implementation manner thereof is executed.
第五方面,提供了一种通信装置,包括处理器和收发器,收发器用于与其他通信装置进行通信,当处理器执行指令时,如第二方面及其任一实施方式所述的方法被执行。In a fifth aspect, a communication device is provided, including a processor and a transceiver, the transceiver is used to communicate with other communication devices, and when the processor executes instructions, the method described in the second aspect and any implementation manner thereof is executed.
第六方面,提供了一种通信装置,包括处理器和收发器,收发器用于与其他通信装置进行通信,当处理器执行指令时,如第三方面及其任一实施方式所述的方法被执行。A sixth aspect provides a communication device, including a processor and a transceiver, the transceiver is used to communicate with other communication devices, and when the processor executes instructions, the method as described in the third aspect and any implementation manner thereof is executed.
第七方面,提供了一种通信装置,包括处理模块和收发模块。收发模块用于接收来自第一接入设备的故障指示信息,故障指示信息用于指示第一接入设备故障;处理模块用于根据 多个候选设备的网络性能信息,从多个候选设备中确定目标候选设备,目标候选设备的网络性能最优,目标候选设备用于根据第一接入设备与第一终端设备之间的链路信息与第一终端设备建立通信,其中,多个候选设备包括控制设备以及控制设备控制的第一接入设备外的至少一个接入设备,第一终端设备为第一接入设备故障前接入第一接入设备的终端设备。In a seventh aspect, a communication device is provided, including a processing module and a transceiver module. The transceiver module is used to receive fault indication information from the first access device, and the fault indication information is used to indicate the failure of the first access device; the processing module is used to determine a target candidate device from multiple candidate devices according to the network performance information of the multiple candidate devices.
在一种可能的实施方式中,处理模块,具体用于:根据多个候选设备的信号强度,从多个候选设备中确定第一接入设备的至少一个邻居候选设备;根据邻居候选设备的辅助网络性能信息,从至少一个邻居候选设备确定目标候选设备。In a possible implementation manner, the processing module is specifically configured to: determine at least one neighbor candidate device of the first access device from multiple candidate devices according to signal strengths of the multiple candidate devices; determine a target candidate device from the at least one neighbor candidate device according to auxiliary network performance information of the neighbor candidate device.
在一种可能的实施方式中,当目标候选设备为至少一个接入设备时,收发模块,还用于向目标候选设备发送接入指示信息,接入指示信息用于指示目标候选设备根据链路信息与第一终端设备建立通信,接入指示信息包括第一终端设备的标识。In a possible implementation manner, when the target candidate device is at least one access device, the transceiver module is further configured to send access indication information to the target candidate device, where the access indication information is used to instruct the target candidate device to establish communication with the first terminal device according to the link information, and the access indication information includes an identifier of the first terminal device.
在一种可能的实施方式中,当目标候选设备为至少一个接入设备时,收发模块,还用于在向目标候选设备发送接入指示信息之前,向目标候选设备发送链路信息。In a possible implementation manner, when the candidate target device is at least one access device, the transceiver module is further configured to send link information to the candidate target device before sending the access indication information to the candidate target device.
在一种可能的实施方式中,收发模块,还用于在控制设备接收来自第一接入设备的故障指示信息之前,获取链路信息。In a possible implementation manner, the transceiver module is further configured to acquire link information before the control device receives the fault indication information from the first access device.
在一种可能的实施方式中,收发模块,还用于在接收来自第一接入设备的故障指示信息之前,获取第一终端设备的标识以及多个候选设备的信号强度。In a possible implementation manner, the transceiving module is further configured to obtain an identifier of the first terminal device and signal strengths of multiple candidate devices before receiving the fault indication information from the first access device.
在一种可能的实施方式中,处理模块将转发表中第一接入设备的信息变更为目标候选设备的信息。In a possible implementation manner, the processing module changes the information of the first access device in the forwarding table to the information of the target candidate device.
第八方面,提供了一种通信装置,包括处理模块和收发模块。收发模块,用于向控制设备或第二接入设备发送第一接入设备与第一终端设备之间的链路信息,第一终端设备为接入第一接入设备的终端设备;向控制设备发送故障指示信息,故障指示信息用于指示第一接入设备故障。In an eighth aspect, a communication device is provided, including a processing module and a transceiver module. The transceiver module is configured to send link information between the first access device and the first terminal device to the control device or the second access device, where the first terminal device is a terminal device that accesses the first access device; to send fault indication information to the control device, where the fault indication information is used to indicate a failure of the first access device.
在一种可能的实施方式中,收发模块,还用于在第一接入设备向控制设备发送故障指示信息之前,向控制设备发送第一终端设备的标识以及第一接入设备检测的其他设备的信号强度。In a possible implementation manner, the transceiver module is further configured to send the identifier of the first terminal device and the signal strength of other devices detected by the first access device to the control device before the first access device sends fault indication information to the control device.
在一种可能的实施方式中,收发模块,还用于在第一接入设备向控制设备发送故障指示信息之前,向控制设备发送以下信息的至少一项:第一接入设备的网络参数、第一接入设备的负载、第一接入设备的信道利用率、第一接入设备检测的干扰信号的信号强度、第一接入设备检测的第一终端设备的信号强度。In a possible implementation manner, the transceiver module is further configured to send at least one of the following information to the control device before the first access device sends fault indication information to the control device: network parameters of the first access device, load of the first access device, channel utilization of the first access device, signal strength of an interference signal detected by the first access device, and signal strength of the first terminal device detected by the first access device.
第九方面,提供了一种通信装置,包括处理模块和收发模块。收发模块,用于获取第一接入设备与第一终端设备之间的链路信息,第一终端设备为接入第一接入设备的终端设备;从控制设备接收接入指示信息,接入指示信息用于指示第二接入设备根据链路信息与第一终端设备建立通信,接入指示信息包括第一终端设备的标识;处理模块,用于根据链路信息与标识所指示的第一终端设备建立通信。In a ninth aspect, a communication device is provided, including a processing module and a transceiver module. The transceiver module is configured to obtain link information between the first access device and the first terminal device, where the first terminal device is a terminal device that accesses the first access device; receiving access indication information from the control device, the access indication information is used to instruct the second access device to establish communication with the first terminal device according to the link information, and the access indication information includes the identification of the first terminal device; the processing module is configured to establish communication with the first terminal device indicated by the identification according to the link information.
在一种可能的实施方式中,收发模块,具体用于从控制设备或第一接入设备接收链路信息。In a possible implementation manner, the transceiver module is specifically configured to receive link information from the control device or the first access device.
在一种可能的实施方式中,收发模块,还用于在第二接入设备从控制设备接收接入指示信息之前,向控制设备发送接入第二接入设备的终端设备的标识以及第二接入设备检测的其他设备的信号强度。In a possible implementation manner, the transceiver module is further configured to send to the control device the identifier of the terminal device accessing the second access device and the signal strength of other devices detected by the second access device before the second access device receives the access indication information from the control device.
在一种可能的实施方式中,收发模块,还用于在第二接入设备从控制设备接收接入指示信息之前,向控制设备发送以下信息的至少一项:第二接入设备的网络参数、第二接入设备的负载、第二接入设备的信道利用率、第二接入设备检测的干扰信号的信号强度、第二接入设备检测的接入第二接入设备的终端设备的信号强度。In a possible implementation manner, the transceiver module is further configured to send at least one of the following information to the control device before the second access device receives the access indication information from the control device: network parameters of the second access device, load of the second access device, channel utilization of the second access device, signal strength of an interference signal detected by the second access device, and signal strength of a terminal device connected to the second access device detected by the second access device.
第十方面,提供了一种通信***,其特征在于,包括如第三方面所述的通信装置、如第四方面所述的通信装置以及如第五方面所述的通信装置;或者,包括第六方面及其任一实施方式所述的通信装置、如第七方面及其任一实施方式所述的通信装置以及如第八方面及其任一实施方式所述的通信装置。A tenth aspect provides a communication system, which is characterized in that it includes the communication device according to the third aspect, the communication device according to the fourth aspect, and the communication device according to the fifth aspect; or, includes the communication device according to the sixth aspect and any implementation thereof, the communication device according to the seventh aspect and any implementation thereof, and the communication device according to the eighth aspect and any implementation thereof.
第十一方面,提供了一种计算机可读存储介质,该计算机可读存储介质包括指令,当指令在上述通信装置上运行时,使得该通信装置执行如第一方面及其任一实施方式所述的方法,或者,执行如第二方面及其任一实施方式所述的方法,或者,如第三方面及其任一实施方式所述的方法。In an eleventh aspect, a computer-readable storage medium is provided, and the computer-readable storage medium includes an instruction. When the instruction is run on the above-mentioned communication device, the communication device is made to execute the method as described in the first aspect and any embodiment thereof, or execute the method as described in the second aspect and any embodiment thereof, or the method as described in the third aspect and any embodiment thereof.
第十二方面,提供了一种包括指令的计算机程序产品,当指令在上述通信装置上运行时,使得该通信装置执行如第一方面及其任一实施方式所述的方法,或者,执行如第二方面及其任一实施方式所述的方法,或者,如第三方面及其任一实施方式所述的方法。A twelfth aspect provides a computer program product including an instruction. When the instruction is run on the above-mentioned communication device, the communication device is made to execute the method described in the first aspect and any embodiment thereof, or execute the method described in the second aspect and any embodiment thereof, or the method described in the third aspect and any embodiment thereof.
第二方面至第十二方面的技术效果参照第一方面及其任一实施方式的技术效果,在此不再重复。For the technical effects of the second aspect to the twelfth aspect, refer to the technical effects of the first aspect and any implementation thereof, which will not be repeated here.
附图说明Description of drawings
图1为一种光纤通信***的架构示意图;Fig. 1 is a schematic diagram of the architecture of an optical fiber communication system;
图2为本申请实施例提供的一种通信***的架构示意图;FIG. 2 is a schematic structural diagram of a communication system provided by an embodiment of the present application;
图3为本申请实施例提供的一种通信恢复方法的流程示意图;FIG. 3 is a schematic flow diagram of a communication recovery method provided in an embodiment of the present application;
图4为本申请实施例提供的一种承载故障指示信息和故障原因信息的消息结构的示意图;FIG. 4 is a schematic diagram of a message structure carrying fault indication information and fault cause information provided by an embodiment of the present application;
图5为本申请实施例提供的另一种通信恢复方法的流程示意图;FIG. 5 is a schematic flowchart of another method for restoring communication provided by an embodiment of the present application;
图6为本申请实施例提供的一种承载接入指示信息的消息结构的示意图;FIG. 6 is a schematic diagram of a message structure carrying access indication information provided by an embodiment of the present application;
图7为本申请实施例提供的一种通信装置的结构示意图;FIG. 7 is a schematic structural diagram of a communication device provided by an embodiment of the present application;
图8为本申请实施例提供的另一种通信装置的结构示意图;FIG. 8 is a schematic structural diagram of another communication device provided by an embodiment of the present application;
图9为本申请实施例提供的一种芯片***的结构示意图。FIG. 9 is a schematic structural diagram of a chip system provided by an embodiment of the present application.
具体实施方式Detailed ways
需要说明的是,本申请实施例涉及的术语“第一”、“第二”等仅用于区分同一类型特征的目的,不能理解为用于指示相对重要性、数量、顺序等。It should be noted that the terms "first", "second" and the like involved in the embodiments of the present application are only used for the purpose of distinguishing features of the same type, and cannot be interpreted as indicating relative importance, quantity, order and the like.
本申请实施例涉及的术语“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。Words such as "exemplary" or "for example" involved in the embodiments of the present application are used to represent examples, illustrations or descriptions. Any embodiment or design described herein as "exemplary" or "for example" is not to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
虚拟接入点(virtual access point,VAP)指在一个物理实体接入点(access point,AP)上虚拟出多个AP,每一个被虚拟出的AP为一个VAP,每个VAP提供和物理实体AP一样的功能。不同VAP可以为不同的用户群体(例如家族成员或访客)提供无线接入服务。Virtual access point (virtual access point, VAP) refers to virtualizing multiple APs on a physical entity access point (access point, AP). Each virtualized AP is a VAP, and each VAP provides the same function as the physical entity AP. Different VAPs can provide wireless access services for different user groups (such as family members or visitors).
图1示出了一种光纤通信***,可以应用于千兆无源光纤网络(gigabit passive optical network,GPON),该***包括光线路终端(optical line terminal,OLT)11、PON网关12、至少一个ONT 13以及终端设备14。OLT 11通过入户光纤连接PON网关12,OLT 11用于通过PON网关12将家庭中的光纤网络连接至主干光纤网络(即本申请涉及的通信网络),PON网关12用于对家庭中的ONT 13进行管理,ONT 13与PON网关12之间通过光纤连接,ONT 13可以位于各个房间中。PON网关12和ONT 13均可以供终端设备14接入(例如通过Wi-Fi接入)家庭中的光纤网络,从而实现FTTR。Fig. 1 shows a kind of optical fiber communication system, can be applied to Gigabit passive optical network (GPON), this system comprises optical line terminal (optical line terminal, OLT) 11, PON gateway 12, at least one ONT 13 and terminal equipment 14. The OLT 11 is connected to the PON gateway 12 through the home optical fiber, and the OLT 11 is used to connect the optical fiber network in the family to the backbone optical fiber network (that is, the communication network involved in the application) through the PON gateway 12. The PON gateway 12 is used to manage the ONT 13 in the family. The ONT 13 and the PON gateway 12 are connected by optical fiber, and the ONT 13 can be located in each room. Both the PON gateway 12 and the ONT 13 can be used for terminal equipment 14 to access (for example, access by Wi-Fi) the optical fiber network in the family, thereby realizing FTTR.
该光纤通信***可以采用多种备份技术,以避免网络中断:The fiber optic communication system can adopt a variety of backup technologies to avoid network interruption:
类型A(type A),只对主干光纤网络中的网络设备进行备份保护,而不对OLT 11、PON网关12、ONT 13进行备份。这种备份方式对于主干光纤网络的断点有备份作用,但对于OLT 11、PON网关12、ONT 13故障引起的网络中断无备份作用。Type A (type A), only backs up and protects the network equipment in the backbone optical fiber network, but does not back up the OLT 11, PON gateway 12, and ONT 13. This backup method has a backup function for the breakpoint of the backbone optical fiber network, but has no backup function for the network interruption caused by the failure of the OLT 11, PON gateway 12, and ONT 13.
类型B(type B),同时备份OLT 11以及主干光纤的网络设备,但不备份PON网关12、ONT 13。综合考虑成本和性能来说是最常采用的方案。Type B (type B), while backing up the OLT 11 and the network equipment of the backbone optical fiber, but not backing up the PON gateway 12 and ONT 13. Taking cost and performance into consideration, it is the most commonly used solution.
类型C(type C),备份了OLT 11、PON网关12、ONT 13以及主干光纤网络中的网络设备,网络中任何一处故障都可以通过切换至备份网络设备来避免网络中断,可靠性很高;但是组网非常复杂,而且由于网络设备数量众多,成本十分高昂。Type C (type C) backs up OLT 11, PON gateway 12, ONT 13 and network equipment in the backbone optical fiber network. Any fault in the network can be switched to the backup network equipment to avoid network interruption, and the reliability is high; but the network is very complicated, and the cost is very high due to the large number of network equipment.
类型D(type D),对整个组网进行了备份,进一步提高了可靠性,但是组网复杂度更高,并且需要用冷备份以防主备信号冲突。Type D (type D) backs up the entire network, which further improves reliability, but the complexity of the network is higher, and cold backup is required to prevent conflicts between the main and backup signals.
这些备份技术都可以保障下行数据的链路恢复,但是均无法实现终端设备14与ONT 13之间通信故障的快速恢复。如果要恢复终端设备14与ONT 13之间的通信,还需经过以下几个步骤:终端设备14发现连接的ONT 13故障。终端设备14探测新的ONT 13。终端设备14要经过认证、建立连接、交互密钥等一系列流程,获取新的ONT 13的互联网协议(internet protocol,IP)地址等之后才能与ONT 13正常通信。而这个过程从几百毫秒到十几秒不等,时间较长从而影响用户体验。These backup technologies can guarantee the link recovery of downlink data, but all cannot realize the fast recovery of communication failure between terminal equipment 14 and ONT 13. If the communication between the terminal equipment 14 and the ONT 13 is to be restored, the following steps are required: the terminal equipment 14 finds that the connected ONT 13 fails. End equipment 14 detects new ONT 13. The terminal equipment 14 will go through a series of processes such as authentication, connection establishment, and key exchange, and can communicate normally with the ONT 13 only after obtaining the Internet protocol (internet protocol, IP) address of the new ONT 13, etc. And this process ranges from hundreds of milliseconds to more than ten seconds, which takes a long time and affects the user experience.
因此,本申请实施例提供了一种通信恢复方法、通信装置和通信***,由控制设备(例如前文所述的PON网关12)或第二接入设备(例如前文所述的ONT 13)对第一接入设备(例如另一ONT 13)与接入第一接入设备的终端设备之间的链路信息进行备份,当第一接入设备发生故障而导致接入第一接入设备的终端设备无法访问通信网络时,由第二接入设备或控制设备根据备份的链路信息与终端设备建立通信,在建立通信过程中,终端设备不必再重新经过认证、建立连接、交互密钥,缩短了通信建立时间,使得终端设备能够快速通过第二接入设备或控制设备访问通信网络,从而实现终端设备与通信网络之间通信快速恢复。Therefore, the embodiment of the present application provides a communication recovery method, a communication device and a communication system. The link information between the first access device (such as another ONT 13) and the terminal device connected to the first access device is backed up by the control device (such as the PON gateway 12 mentioned above) or the second access device (such as the ONT 13 mentioned above). , the terminal device does not need to re-authenticate, establish a connection, and exchange keys, which shortens the communication establishment time and enables the terminal device to quickly access the communication network through the second access device or control device, thereby realizing rapid recovery of communication between the terminal device and the communication network.
如图2所示,本申请实施例提供了一种通信***,包括控制设备21、至少一个接入设备(例如第一接入设备22和第二接入设备23)以及至少一个终端设备24。终端设备24可以通过控制设备21或接入设备访问通信网络。其中,在FTTR通信***中,控制设备21可以为前文所述的PON网关,接入设备可以为前文所述的ONT;或者,在级联的有线通信***或无线通信(例如Wi-Fi)通信***中,控制设备21可以为上一级的通信设备,接入设备可以为下一级的通信设备;或者,在包括主通信设备和从通信设备的通信***中,控制设备21可以为主通信设备,接入设备可以为从通信设备。As shown in FIG. 2 , the embodiment of the present application provides a communication system, including a control device 21 , at least one access device (such as a first access device 22 and a second access device 23 ), and at least one terminal device 24 . The terminal device 24 can access the communication network through the control device 21 or the access device. Wherein, in the FTTR communication system, the control device 21 can be the aforementioned PON gateway, and the access device can be the aforementioned ONT; or, in a cascaded wired communication system or wireless communication (such as Wi-Fi) communication system, the control device 21 can be a communication device of an upper level, and the access device can be a communication device of a lower level; or, in a communication system including a master communication device and a slave communication device, the control device 21 can be a master communication device, and the access device can be a slave communication device.
如图3所示,本申请实施例提供了一种通信恢复方法,包括步骤S101-S105:As shown in Figure 3, the embodiment of the present application provides a communication recovery method, including steps S101-S105:
S101、控制设备获取多个候选设备的网络性能信息。S101. The control device acquires network performance information of multiple candidate devices.
多个候选设备包括控制设备自己以及至少一个接入设备(例如前文所述的第一接入设备和第二接入设备),也就是说,控制设备以及至少一个接入设备都可以与终端设备建立通信,使得终端设备能够通过控制设备或接入设备访问通信网络。在FTTR通信***中,同一家庭网络中的候选设备可以使用相同的广播服务集标识(broadcast service set identifier,BSSID)(例如媒体访问控制(media access control,MAC)地址)、能力集信息以及由MAC地址派生的通信密钥等信息来与终端设备通信。Multiple candidate devices include the control device itself and at least one access device (such as the first access device and the second access device mentioned above), that is to say, both the control device and at least one access device can establish communication with the terminal device, so that the terminal device can access the communication network through the control device or the access device. In the FTTR communication system, candidate devices in the same home network can use the same broadcast service set identifier (BSSID) (such as media access control (MAC) address), capability set information, and communication keys derived from MAC addresses to communicate with terminal devices.
当候选设备不为控制设备自己时,即候选设备为至少一个接入设备时,至少一个接入设备可以向控制设备发送本接入设备的网络性能信息。当候选设备为控制设备自己时,控制设备可以被配置网络性能信息或者通过监测网络环境来获得网络性能信息。When the candidate device is not the control device itself, that is, when the candidate device is at least one access device, at least one access device may send the network performance information of the access device to the control device. When the candidate device is the control device itself, the control device can be configured with network performance information or obtain network performance information by monitoring the network environment.
候选设备(例如控制设备、第一接入设备或第二接入设备)的网络性能信息包括候选设备的信号强度(例如,接收信号强度指示(received signal strength indication,RSSI))、接入候选设备的终端设备的标识以及辅助网络性能信息。The network performance information of the candidate device (for example, the control device, the first access device, or the second access device) includes the signal strength of the candidate device (for example, a received signal strength indication (RSSI)), an identifier of a terminal device accessing the candidate device, and auxiliary network performance information.
候选设备的信号强度可以为一个候选设备检测的另一候选设备的信号强度,例如,第一接入设备检测的第二接入设备的信号强度,第一接入设备检测的控制设备的信号强度,第二接入设备检测的第一接入设备的信号强度,第二接入设备检测的控制设备的信号强度,控制设备检测的第一接入设备的信号强度,控制设备检测的第二接入设备的信号强度。The signal strength of the candidate device may be the signal strength of another candidate device detected by one candidate device, for example, the signal strength of the second access device detected by the first access device, the signal strength of the control device detected by the first access device, the signal strength of the first access device detected by the second access device, the signal strength of the control device detected by the second access device, the signal strength of the first access device detected by the control device, and the signal strength of the second access device detected by the control device.
接入候选设备的终端设备的标识可以为分配标识(allocation ID)。The identifier of the terminal device accessing the candidate device may be an allocation identifier (allocation ID).
辅助网络性能信息包括以下信息的至少一项:候选设备的网络参数(例如所处信道、带宽等)、候选设备的负载(例如接入候选设备的终端设备的数量、平均数据流量等)、候选设备的信道利用率、候选设备检测的干扰信号(例如微波炉、电吹风等设备产生的干扰信号)的信号强度(例如RSSI)、候选设备检测的接入该候选设备的终端设备的信号强度(例如RSSI)。The auxiliary network performance information includes at least one of the following information: network parameters of the candidate device (such as channel, bandwidth, etc.), load of the candidate device (such as the number of terminal devices accessing the candidate device, average data flow, etc.), channel utilization of the candidate device, signal strength (such as RSSI) of an interference signal detected by the candidate device (such as interference signals generated by microwave ovens, hair dryers, etc.), and signal strength (such as RSSI) of terminal devices connected to the candidate device detected by the candidate device.
S102、接入设备(例如前文所述的第一接入设备和第二接入设备)向其他候选设备发送本接入设备的链路信息。S102. The access device (for example, the first access device and the second access device mentioned above) sends the link information of the access device to other candidate devices.
接入设备的链路信息指该接入设备与接入该接入设备的终端设备之间的链路信息。链路信息包括以下信息的至少一项:接入设备与接入该接入设备的终端设备之间的通信密钥、接入该接入设备的终端设备的通信能力(例如,支持的最大速率、支持的通信协议)、接入设备与接入该接入设备的终端设备之间建立链路的消息(例如,探测请求(probe request)消息、鉴权请求(authentication request)消息、关联请求(association request)消息、重关联请求(reassociation request)消息等)。其中,接入设备与接入该接入设备的终端设备之间的通信密钥是接入设备与终端设备通过交互密钥过程得到,接入该接入设备的终端设备的通信能力是接入设备与终端设备通过认证过程得到,接入设备与接入该接入设备的终端设备之间建立链路的消息是接入设备与终端设备通过建立连接过程得到。The link information of the access device refers to link information between the access device and a terminal device accessing the access device. The link information includes at least one of the following information: the communication key between the access device and the terminal device accessing the access device, the communication capability of the terminal device accessing the access device (for example, the supported maximum rate, the supported communication protocol), the message for establishing a link between the access device and the terminal device accessing the access device (for example, a probe request message, an authentication request message, an association request message, a reassociation request message, and a reassociation request message. ) messages, etc.). The communication key between the access device and the terminal device connected to the access device is obtained by the access device and the terminal device through an exchange key process, the communication capability of the terminal device connected to the access device is obtained through an authentication process between the access device and the terminal device, and the link establishment message between the access device and the terminal device connected to the access device is obtained by the access device and the terminal device through a connection establishment process.
接入设备发送链路信息的时机可以包括:该接入设备开始工作后;或者,接入该接入设备的终端设备发生变化时,例如,新终端设备接入该终端设备,已接入该接入设备的终端设备断开与该接入设备的连接等。The timing for the access device to send link information may include: after the access device starts working; or when the terminal device connected to the access device changes, for example, a new terminal device accesses the terminal device, and a terminal device that has connected to the access device disconnects from the access device, etc.
在一种可能的实施方式中,链路信息可以直接发送给其他候选设备。例如,第一接入设备可以通过群发的方式向其他候选设备(第二接入设备以及控制设备)发送本接入设备(第一接入设备)的链路信息,或者,第一接入设备可以单独向其他候选设备(第二接入设备以 及控制设备)发送本接入设备(第一接入设备)的链路信息。再例如,第二接入设备可以通过群发的方式向其他候选设备(第一接入设备以及控制设备)发送本接入设备(第二接入设备)的链路信息,或者,第二接入设备可以单独向其他候选设备(第一接入设备以及控制设备)发送本接入设备(第二接入设备)的链路信息。In a possible implementation manner, the link information may be directly sent to other candidate devices. For example, the first access device may send the link information of the access device (the first access device) to other candidate devices (the second access device and the control device) through group sending, or the first access device may send the link information of the access device (the first access device) to other candidate devices (the second access device and the control device) separately. For another example, the second access device may send the link information of the access device (the second access device) to other candidate devices (the first access device and the control device) through group sending, or the second access device may send the link information of the access device (the second access device) to other candidate devices (the first access device and the control device) separately.
在另一种可能的实施方式中,链路信息可以通过控制设备的转发而间接发送给其他候选设备。例如,第一接入设备可以向控制设备发送本接入设备(第一接入设备)的链路信息,控制设备向第二接入设备发送第一接入设备的链路信息。再例如,第二接入设备可以向控制设备发送本接入设备(第二接入设备)的链路信息,控制设备向第一接入设备发送第二接入设备的链路信息。In another possible implementation manner, the link information may be indirectly sent to other candidate devices through forwarding by the control device. For example, the first access device may send the link information of the access device (the first access device) to the control device, and the control device sends the link information of the first access device to the second access device. For another example, the second access device may send the link information of the own access device (the second access device) to the control device, and the control device sends the link information of the second access device to the first access device.
需要说明的是,当控制设备接收到来自一个接入设备的链路信息后,不发送给其他接入设备而是自己使用该链路信息,或者,控制设备可以随后发送给其他接入设备,或者,控制设备可以等待满足一定条件时再发送给其他接入设备,以节省网络传输资源。例如当发送该链路信息的接入设备发生故障后,控制设备可以向其他接入设备发送该链路信息;或者,当网络不繁忙时,控制设备可以向其他接入设备发送链路信息;或者,在后面步骤S104中确定了目标候选设备之后,控制设备可以向目标候选设备发送链路信息。It should be noted that after the control device receives the link information from an access device, it does not send it to other access devices but uses the link information by itself, or the control device can send it to other access devices later, or the control device can wait to meet certain conditions before sending it to other access devices, so as to save network transmission resources. For example, when the access device sending the link information fails, the control device can send the link information to other access devices; or, when the network is not busy, the control device can send link information to other access devices; or, after determining the target candidate device in step S104, the control device can send the link information to the target candidate device.
S103、当第一接入设备发生故障时,第一接入设备向控制设备发送故障指示信息。S103. When the first access device fails, the first access device sends fault indication information to the control device.
相应地,控制设备从第一接入设备接收故障指示信息。故障指示信息用于指示第一接入设备故障,即故障前已接入第一接入设备的第一终端设备无法再通过第一接入设备访问通信网络,第一终端设备可以为一个终端设备也可以为多个终端设备,可以为已经接入第一接入设备的所有终端设备或部分终端设备,为便于描述,如无特别说明,第一终端设备均指一个终端设备。Correspondingly, the control device receives fault indication information from the first access device. The fault indication information is used to indicate the failure of the first access device, that is, the first terminal device that has connected to the first access device before the failure can no longer access the communication network through the first access device. The first terminal device may be one terminal device or multiple terminal devices, and may be all terminal devices or some terminal devices that have connected to the first access device. For the convenience of description, unless otherwise specified, the first terminal device refers to one terminal device.
第一接入设备的芯片检测到发生掉电(例如检测到供电电压不足)后会产生断电告警(dying gasp)信号(例如停止工作前100ms左右),或者,芯片内部有模块用于判断当前是否处于VAP异常状态(即VAP无法提供接入服务)。所以,第一接入设备还可以向控制设备发送故障原因信息,相应地,控制设备从第一接入设备接收故障原因信息。故障原因信息用于指示第一接入设备故障的原因,具体原因包括但不限于掉电或VAP异常等。The chip of the first access device will generate a dying gasp signal (for example, about 100ms before stopping work) after detecting a power failure (for example, detecting that the power supply voltage is insufficient), or there is a module inside the chip for judging whether it is currently in an abnormal state of the VAP (that is, the VAP cannot provide access services). Therefore, the first access device may also send fault cause information to the control device, and accordingly, the control device receives fault cause information from the first access device. The failure cause information is used to indicate the cause of the failure of the first access device, and the specific reasons include but are not limited to power failure or abnormal VAP.
故障指示信息和故障原因信息可以在同一消息或不同消息中发送,本申请以同一个消息中发送为例,但并不意在限定于此。如图4中A所示,故障指示信息和故障原因信息可以承载在自定义消息中,或者,如图4中B所示,故障指示信息和故障原因信息可以承载在以太网消息的包头中,或者,如图4中C所示,故障指示信息和故障原因信息可以承载在光网络单元管理控制接口(ONU management and control interface,OMCI)消息中。The fault indication information and the fault cause information may be sent in the same message or in different messages. This application uses sending in the same message as an example, but it is not intended to be limited thereto. As shown in A in Figure 4, the fault indication information and fault cause information can be carried in a custom message, or, as shown in Figure 4 B, the fault indication information and fault cause information can be carried in the packet header of the Ethernet message, or, as shown in Figure 4 C, the fault indication information and fault cause information can be carried in an ONU management and control interface (ONU management and control interface, OMCI) message.
承载故障指示信息和故障原因信息的消息可以统称为故障指示消息。故障指示消息中可以包括故障指示消息类型字段以及第一接入设备标识字段。故障指示消息类型字段用于指示故障指示消息用于承载故障指示信息,可选的,还用于指示故障指示消息用于承载故障原因信息;第一接入设备标识字段用于第一接入设备的标识(即指示哪个接入设备故障),示例性的,第一接入设备的标识可以为ONT的索引;这两个字段合并起来表示故障指示信息。可选的,故障指示消息还可以包括故障原因字段,故障原因字段用于指示第一接入设备故障的原因,即该字段可以用于表示故障原因信息,该字段可以通过不同取值来表示不同原因,或者,该字段可以包括多个字段,每个字段表示一个原因,例如一个字段表示原因为掉电,另一个 字段表示原因为VAP异常。可选的,故障指示消息还可以包括保留字段,保留字段可以用于未来扩展(例如扩展故障原因字段)。Messages carrying fault indication information and fault cause information may be collectively referred to as fault indication messages. The fault indication message may include a fault indication message type field and a first access device identification field. The fault indication message type field is used to indicate that the fault indication message is used to carry fault indication information. Optionally, it is also used to indicate that the fault indication message is used to carry fault cause information; the first access device identification field is used for the identification of the first access device (that is, indicating which access device is faulty). Exemplarily, the identification of the first access device can be the index of the ONT; these two fields are combined to represent the fault indication information. Optionally, the fault indication message may also include a fault cause field, and the fault cause field is used to indicate the cause of the failure of the first access device, that is, this field may be used to represent fault cause information, and this field may represent different reasons through different values, or this field may include multiple fields, each field represents a reason, for example, one field indicates that the cause is power failure, and the other field indicates that the cause is VAP abnormality. Optionally, the fault indication message may also include a reserved field, and the reserved field may be used for future expansion (for example, to expand the fault cause field).
S104、控制设备根据来自多个候选设备的网络性能信息,从多个候选设备中确定目标候选设备。S104. The control device determines a target candidate device from the multiple candidate devices according to the network performance information from the multiple candidate devices.
目标候选设备可以是网络性能最优的候选设备,目标候选设备可以是控制设备自己,或者可以是除了第一接入设备以外的其他接入设备(例如第二接入设备)。确定目标候选设备的目的是使得第一终端设备可以通过候选设备访问通信网络。如图5所示,步骤S104包括S1041-S1042。The target candidate device may be a candidate device with the best network performance, and the target candidate device may be the control device itself, or may be another access device (such as a second access device) other than the first access device. The purpose of determining the target candidate device is to enable the first terminal device to access the communication network through the candidate device. As shown in Fig. 5, step S104 includes S1041-S1042.
S1041、控制设备根据多个候选设备的信号强度(来自前文所述的多个候选设备的网络性能信息),从多个候选设备中确定第一接入设备的至少一个邻居候选设备。S1041. The control device determines at least one neighbor candidate device of the first access device from the multiple candidate devices according to the signal strengths of the multiple candidate devices (from the network performance information of the aforementioned multiple candidate devices).
即第一接入设备的邻居候选设备可以不止一个。当对侧设备(例如一个候选设备)与本侧设备(例如另一个候选设备)的距离越远,本侧设备检测到的对侧设备的信号强度越弱,当对侧设备与本侧设备的距离越近,本侧设备检测到的对侧设备的信号强度越强,因此本侧设备检测的对侧设备的信号强度可以表征对侧设备与本侧设备之间的距离。第一接入设备的邻居候选设备指与第一接入设备距离较近的邻居候选设备,确定第一接入设备的邻居候选设备的原因在于:与第一接入设备距离较近的候选设备对于原先已接入第一接入设备的第一终端设备来说,距离也不会远,第一终端设备容易接入该候选设备。That is, there may be more than one neighbor candidate device of the first access device. When the distance between the opposite device (such as a candidate device) and the local device (such as another candidate device) is farther, the signal strength of the opposite device detected by the local device is weaker. When the distance between the opposite device and the local device is closer, the signal strength of the opposite device detected by the local device is stronger. Therefore, the signal strength of the opposite device detected by the local device can represent the distance between the opposite device and the local device. The neighbor candidate device of the first access device refers to the neighbor candidate device that is closer to the first access device. The reason for determining the neighbor candidate device of the first access device is that the distance between the candidate device that is closer to the first access device is not far from the first terminal device that has previously connected to the first access device, and the first terminal device is easy to access the candidate device.
在一种可能的实施方式中,如前文所述的,候选设备的信号强度可以为一个候选设备检测的另一候选设备的信号强度,因此第一接入设备可以检测到多个候选设备(例如控制设备和第二接入设备)的信号强度,控制设备可以将第一接入设备检测的信号强度超过第一门限的候选设备作为第一接入设备的邻居候选设备。也就是说,控制设备可以选择“第一接入设备检测到的信号较好的候选设备”作为第一接入设备的邻居候选设备。In a possible implementation manner, as described above, the signal strength of a candidate device may be the signal strength of another candidate device detected by one candidate device, so the first access device may detect the signal strengths of multiple candidate devices (such as a control device and a second access device), and the control device may use a candidate device whose signal strength detected by the first access device exceeds a first threshold as a neighbor candidate device of the first access device. That is to say, the control device may select a "candidate device with a better signal detected by the first access device" as a neighbor candidate device of the first access device.
在另一种可能的实施方式中,由于不仅第一接入设备可以检测到其他候选设备的信号强度,其他候选设备也可以检测到第一接入设备的信号强度,即两个候选设备互相可以检测对方的信号强度,因此,控制设备也可以选择对第一接入设备的信号强度进行检测时,检测到第一接入设备的信号强度超过第二门限的候选设备作为第一接入设备的邻居候选设备。也就是说,控制设备可以选择“检测第一接入设备的信号较好的候选设备”作为第一接入设备的邻居候选设备。其中,第一门限和第二门限可以相同或不同。In another possible implementation manner, since not only the first access device can detect the signal strength of other candidate devices, other candidate devices can also detect the signal strength of the first access device, that is, two candidate devices can detect each other's signal strength, therefore, the control device can also select the candidate device whose signal strength of the first access device exceeds the second threshold when detecting the signal strength of the first access device as the neighbor candidate device of the first access device. That is to say, the control device may select a "candidate device that detects a better signal of the first access device" as a neighbor candidate device of the first access device. Wherein, the first threshold and the second threshold may be the same or different.
在又一种可能的实施方式中,可以将以上两种实施方式相结合,例如,控制设备可以对第一接入设备检测的信号强度超过第一门限的候选设备进一步筛选,从中选择检测第一接入设备的信号强度超过第二门限的候选设备作为第一接入设备的邻居候选设备。也就是说,控制设备可以选择“与第一接入设备互相检测对方的信号强度均较好的候选设备”作为第一接入设备的邻居候选设备。In yet another possible implementation manner, the above two implementation manners may be combined. For example, the control device may further screen candidate devices whose signal strength detected by the first access device exceeds the first threshold, and select candidate devices whose signal strength detected by the first access device exceeds the second threshold as neighbor candidate devices of the first access device. That is to say, the control device may select a "candidate device that detects each other with a better signal strength with the first access device" as a neighbor candidate device of the first access device.
S1042、控制设备在根据邻居候选设备的辅助网络性能信息,从至少一个邻居候选设备确定目标候选设备。S1042. The control device determines a target candidate device from at least one neighbor candidate device according to the auxiliary network performance information of the neighbor candidate device.
可以针对一个邻居候选设备的辅助网络性能信息中的各个信息分别设置权重,控制设备对一个邻居候选设备的辅助网络性能信息中各个信息进行加权计算后得到该候选设备的权重值,例如对辅助网络性能信息中每个信息乘以权重值后再求和得到该邻居候选设备的权重值。然后控制设备根据至少一个邻居候选设备的权重值从至少一个候选设备中确定目标候选设备, 例如取权重值最大的邻居候选设备作为目标候选设备。Weights can be set for each piece of information in the auxiliary network performance information of a neighbor candidate device, and the control device performs weighted calculations on each piece of information in the auxiliary network performance information of a neighbor candidate device to obtain the weight value of the candidate device. Then the control device determines a target candidate device from at least one candidate device according to the weight value of the at least one neighbor candidate device, for example, takes the neighbor candidate device with the largest weight value as the target candidate device.
需要说明的是,对于一个第一终端设备来说,目标候选设备是唯一的,但是对于多个第一终端设备来说,目标候选设备可以不是唯一的,即不同的第一终端设备可以与不同的目标候选设备建立通信,从而通过不同的目标候选设备访问通信网络。It should be noted that, for a first terminal device, the target candidate device is unique, but for multiple first terminal devices, the target candidate device may not be unique, that is, different first terminal devices may establish communications with different target candidate devices, thereby accessing the communication network through different target candidate devices.
可选的,控制设备还可以将转发表中第一接入设备的信息变更为目标候选设备的信息,例如,将转发表中接口(interface)的标识从第一接入设备的标识修改为目标候选设备的标识,从而将数据转发路径从第一接入设备变更为目标候选设备。当接收到来自通信网络的消息时根据转发表即可以将该消息发送给目标候选设备,或者,当接收到来自目标候选设备的消息时根据转发表即可以将该消息发送给通信网络。Optionally, the control device may also change the information of the first access device in the forwarding table to the information of the target candidate device, for example, modify the identifier of the interface (interface) in the forwarding table from the identifier of the first access device to the identifier of the target candidate device, thereby changing the data forwarding path from the first access device to the target candidate device. When a message from the communication network is received, the message can be sent to the target candidate device according to the forwarding table, or, when a message from the target candidate device is received, the message can be sent to the communication network according to the forwarding table.
S105、目标候选设备根据第一接入设备与第一终端设备之间的链路信息与第一终端设备建立通信。S105. The target candidate device establishes communication with the first terminal device according to the link information between the first access device and the first terminal device.
如图5所示,当目标候选设备为控制设备时,步骤S105包括步骤S1051,当目标候选设备不为控制设备时,即当目标候选设备为除了第一接入设备以外的至少一个接入设备(例如第二接入设备)时,步骤S105包括步骤S1052-S1053。As shown in Figure 5, when the target candidate device is a control device, step S105 includes step S1051, and when the target candidate device is not a control device, that is, when the target candidate device is at least one access device (such as a second access device) other than the first access device, step S105 includes steps S1052-S1053.
S1051、控制设备根据第一接入设备与第一终端设备之间的链路信息与第一终端设备建立通信。S1051. The control device establishes communication with the first terminal device according to link information between the first access device and the first terminal device.
如前文所述的,链路信息中接入设备与接入该接入设备的终端设备之间的通信密钥是接入设备与终端设备通过交互密钥过程得到,接入该接入设备的终端设备的通信能力是接入设备与终端设备通过认证过程得到,接入设备与接入该接入设备的终端设备之间建立链路的消息是接入设备与终端设备通过建立连接过程得到。因此,控制设备获取第一接入设备与第一终端设备之间的通信密钥即可以节省控制设备与第一终端设备交互密钥过程,控制设备获取第一终端设备的通信能力即可以节省控制设备与第一终端设备认证过程,控制设备获取第一接入设备与第一终端设备之间建立链路的消息即可以节省控制设备与第一终端设备建立连接过程。As mentioned above, in the link information, the communication key between the access device and the terminal device connected to the access device is obtained through the key exchange process between the access device and the terminal device, the communication capability of the terminal device connected to the access device is obtained through the authentication process between the access device and the terminal device, and the link establishment message between the access device and the terminal device connected to the access device is obtained through the connection establishment process between the access device and the terminal device. Therefore, obtaining the communication key between the first access device and the first terminal device by the control device can save the key exchange process between the control device and the first terminal device; obtaining the communication capability of the first terminal device by the control device can save the authentication process between the control device and the first terminal device; and obtaining the link establishment message between the first access device and the first terminal device by the control device can save the process of establishing a connection between the control device and the first terminal device.
所以,控制设备可以根据链路信息快速重建与第一终端设备之间的链路,恢复第一终端设备与通信网络之间的通信。Therefore, the control device can quickly re-establish the link with the first terminal device according to the link information, and restore the communication between the first terminal device and the communication network.
S1052、控制设备向目标候选设备(例如第二接入设备)发送接入指示信息。S1052. The control device sends access indication information to the candidate target device (for example, the second access device).
接入指示信息中包括第一终端设备的标识,接入指示信息用于指示目标候选设备根据第一接入设备与第一终端设备之间的链路信息与第一终端设备建立通信。The access indication information includes the identifier of the first terminal device, and the access indication information is used to instruct the target candidate device to establish communication with the first terminal device according to the link information between the first access device and the first terminal device.
如图6中A所示,接入指示信息可以承载在自定义消息中,或者,如图6中B所示,接入指示信息可以承载在以太网消息的包头中,或者,如图6中C所示,接入指示信息可以承载在OMCI消息中,或者,接入指示信息可以承载在PLOAM消息中。As shown in A in FIG. 6 , the access indication information may be carried in a custom message, or, as shown in B in FIG. 6 , the access indication information may be carried in a packet header of an Ethernet message, or, as shown in C in FIG. 6 , the access indication information may be carried in an OMCI message, or the access indication information may be carried in a PLOAM message.
承载接入指示信息的消息可以统称为接入指示消息。接入指示消息中可以包括接入指示消息类型字段、目标候选设备标识字段和第一终端设备标识字段。接入指示消息类型字段用于指示接入指示消息承载接入指示信息;目标候选设备标识字段用于指示目标候选设备的标识,即用于指示该第三消息发送给哪个候选设备(实际为接入设备),示例性的,目标候选设备的标识可以为ONT的索引;第一终端设备标识字段用于指示第一终端设备的标识,即用于指示该目标候选设备将要与哪些终端设备建立通信;可选的,接入指示消息还包括保留字段,保留字段用于未来扩展(例如扩展第一终端设备标识字段,以增加指示的第一终端设备的标 识的数量)。Messages carrying access indication information may be collectively referred to as access indication messages. The access indication message may include an access indication message type field, a target candidate device identification field, and a first terminal device identification field. The access indication message type field is used to indicate that the access indication message carries access indication information; the target candidate device identification field is used to indicate the identification of the target candidate device, which is used to indicate which candidate device (actually an access device) the third message is sent to. Exemplarily, the identification of the target candidate device can be an index of the ONT; the first terminal device identification field is used to indicate the identification of the first terminal device, which is used to indicate which terminal equipment the target candidate device will establish communication with; the number of identities of the terminal equipment).
S1053、第二接入设备根据来自第一接入设备的链路信息与第一终端设备的标识所指示的第一终端设备建立通信。S1053. The second access device establishes communication with the first terminal device indicated by the identifier of the first terminal device according to the link information from the first access device.
第二接入设备接收到接入指示信息后,从中获取第一终端设备的标识,与步骤S1051中的控制设备类似地,第二接入设备可以根据链路信息快速重建与第一终端设备之间的链路,恢复第一终端设备与通信网络之间的通信。After receiving the access indication information, the second access device obtains the identifier of the first terminal device from it, and similarly to the control device in step S1051, the second access device can quickly rebuild the link with the first terminal device according to the link information, and restore the communication between the first terminal device and the communication network.
第一终端设备成功接入第二接入设备后,第二接入设备可以向控制设备发送指示信息以指示第一终端设备成功接入第二接入设备。After the first terminal device successfully accesses the second access device, the second access device may send indication information to the control device to indicate that the first terminal device successfully accesses the second access device.
本申请实施例提供的通信恢复方法、通信装置和通信***,由目标候选设备对第一接入设备与接入第一接入设备的第一终端设备之间的链路信息进行备份,目标候选设备为控制设备确定的网络性能最优的候选设备,目标候选设备可以为控制设备或第二接入设备。当第一接入设备发生故障而导致第一终端设备无法访问通信网络时,由目标候选设备根据备份的链路信息与第一终端设备建立通信,在建立通信过程中,第一终端设备不必再重新经过认证、建立连接、交互密钥等步骤,缩短了通信建立时间,使得第一终端设备能够快速通过目标候选设备访问通信网络,从而实现终端设备与通信网络之间通信快速恢复。In the communication recovery method, communication device, and communication system provided in the embodiments of the present application, the target candidate device backs up the link information between the first access device and the first terminal device that accesses the first access device. The target candidate device is the candidate device with the best network performance determined by the control device, and the target candidate device may be the control device or the second access device. When the first access device fails and the first terminal device cannot access the communication network, the target candidate device establishes communication with the first terminal device according to the backed-up link information. In the process of establishing communication, the first terminal device does not need to go through steps such as authentication, connection establishment, and key exchange again, which shortens the communication establishment time and enables the first terminal device to quickly access the communication network through the target candidate device, thereby realizing rapid recovery of communication between the terminal device and the communication network.
可以理解的是,以上各个实施例中,由控制设备实现的方法和/或步骤,也可以由控制设备的部件(例如芯片或者电路)实现。由第一接入设备实现的方法和/或步骤,也可以由第一接入设备的部件(例如芯片或者电路)实现。由第二接入设备实现的方法和/或步骤,也可以由第二接入设备的部件(例如芯片或者电路)实现。It can be understood that, in the above embodiments, the methods and/or steps implemented by the control device may also be implemented by components (such as chips or circuits) of the control device. The methods and/or steps implemented by the first access device may also be implemented by components (such as chips or circuits) of the first access device. The methods and/or steps implemented by the second access device may also be implemented by components (such as chips or circuits) of the second access device.
本申请实施例还提供了一种通信装置。该通信装置可以为上述方法实施例中的控制设备,或者包含上述控制设备的装置,或者为控制设备内的芯片或功能模块。或者,该通信装置可以为上述方法实施例中的第一接入设备,或者包含上述第一接入设备的装置,或者为第一接入设备内的芯片或功能模块。或者,该通信装置可以为上述方法实施例中的第二接入设备,或者包含上述第二接入设备的装置,或者为第二接入设备内的芯片或功能模块。从而实现上述各种方法。The embodiment of the present application also provides a communication device. The communication device may be the control device in the above method embodiment, or a device including the above control device, or a chip or a functional module in the control device. Alternatively, the communication device may be the first access device in the above method embodiment, or an apparatus including the first access device, or a chip or a functional module in the first access device. Alternatively, the communication device may be the second access device in the above method embodiment, or an apparatus including the second access device, or a chip or a functional module in the second access device. Thereby realizing above-mentioned various methods.
可以理解的是,该通信装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员可以很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to realize the above functions, the communication device includes hardware structures and/or software modules corresponding to each function. Those skilled in the art can easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
本申请实施例可以根据上述方法实施例对通信装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiments of the present application may divide the communication device into functional modules according to the above method embodiments. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. It should be noted that the division of modules in the embodiment of the present application is schematic, and is only a logical function division, and there may be other division methods in actual implementation.
图7示出了一种通信装置20的结构示意图。该通信装置20包括处理模块201和收发模块202。该通信装置20可以为前文所述的控制设备、第一接入设备或第二接入设备。处理模块201也可以称为处理单元,用以实现上述方法实施例中控制设备、第一接入设备或第二接 入设备的处理功能。例如执行图3中的步骤S104、S105,图5中的步骤S1041、S1042、S1051、S1053。收发模块202,也可以称为收发单元,用以实现上述方法实施例中控制设备、第一接入设备或第二接入设备的收发功能。例如执行图3中的步骤S101-S103,图5中的步骤S101-S103、S1052。收发模块202可以称为收发电路、收发机、收发器或者通信接口。FIG. 7 shows a schematic structural diagram of a communication device 20 . The communication device 20 includes a processing module 201 and a transceiver module 202 . The communication device 20 may be the aforementioned control device, first access device or second access device. The processing module 201 may also be referred to as a processing unit, and is configured to implement the processing functions of the control device, the first access device, or the second access device in the above method embodiments. For example, steps S104 and S105 in FIG. 3 and steps S1041, S1042, S1051 and S1053 in FIG. 5 are executed. The transceiving module 202, which may also be referred to as a transceiving unit, is configured to implement the transceiving function of the control device, the first access device, or the second access device in the above method embodiments. For example, steps S101-S103 in FIG. 3 and steps S101-S103 and S1052 in FIG. 5 are executed. The transceiver module 202 may be called a transceiver circuit, a transceiver, a transceiver or a communication interface.
以通信装置20为上述方法实施例中的控制设备为例。Take the communication device 20 as the control device in the above method embodiment as an example.
在一种可能的实施方式中,收发模块202用于接收来自第一接入设备的故障指示信息,故障指示信息用于指示第一接入设备故障;处理模块201用于根据多个候选设备的网络性能信息,从多个候选设备中确定目标候选设备,目标候选设备的网络性能最优,目标候选设备用于根据第一接入设备与第一终端设备之间的链路信息与第一终端设备建立通信,其中,多个候选设备包括控制设备以及控制设备控制的第一接入设备外的至少一个接入设备,第一终端设备为第一接入设备故障前接入第一接入设备的终端设备。In a possible implementation manner, the transceiver module 202 is configured to receive fault indication information from the first access device, and the fault indication information is used to indicate the failure of the first access device; the processing module 201 is configured to determine a target candidate device from multiple candidate devices according to network performance information of the multiple candidate devices. A terminal device that accesses the first access device.
在一种可能的实施方式中,处理模块201,具体用于:根据多个候选设备的信号强度,从多个候选设备中确定第一接入设备的至少一个邻居候选设备;根据邻居候选设备的辅助网络性能信息,从至少一个邻居候选设备确定目标候选设备。In a possible implementation manner, the processing module 201 is specifically configured to: determine at least one neighbor candidate device of the first access device from multiple candidate devices according to signal strengths of the multiple candidate devices; determine a target candidate device from at least one neighbor candidate device according to auxiliary network performance information of the neighbor candidate device.
在一种可能的实施方式中,当目标候选设备为至少一个接入设备时,收发模块202,还用于向目标候选设备发送接入指示信息,接入指示信息用于指示目标候选设备根据链路信息与第一终端设备建立通信,接入指示信息包括第一终端设备的标识。In a possible implementation manner, when the candidate target device is at least one access device, the transceiver module 202 is further configured to send access indication information to the candidate target device, where the access indication information is used to instruct the candidate target device to establish communication with the first terminal device according to the link information, and the access indication information includes an identifier of the first terminal device.
在一种可能的实施方式中,当目标候选设备为至少一个接入设备时,收发模块202,还用于在向目标候选设备发送接入指示信息之前,向目标候选设备发送链路信息。In a possible implementation manner, when the candidate target device is at least one access device, the transceiving module 202 is further configured to send link information to the candidate target device before sending access indication information to the candidate target device.
在一种可能的实施方式中,收发模块202,还用于在控制设备接收来自第一接入设备的故障指示信息之前,获取链路信息。In a possible implementation manner, the transceiver module 202 is further configured to obtain link information before the control device receives the fault indication information from the first access device.
在一种可能的实施方式中,收发模块202,还用于在接收来自第一接入设备的故障指示信息之前,获取第一终端设备的标识以及多个候选设备的信号强度。In a possible implementation manner, the transceiving module 202 is further configured to obtain an identifier of the first terminal device and signal strengths of multiple candidate devices before receiving the fault indication information from the first access device.
在一种可能的实施方式中,处理模块201将转发表中第一接入设备的信息变更为目标候选设备的信息。In a possible implementation manner, the processing module 201 changes the information of the first access device in the forwarding table to the information of the target candidate device.
以通信装置20为上述方法实施例中的第一接入设备为例。Take the communication device 20 as the first access device in the above method embodiment as an example.
在一种可能的实施方式中,收发模块202,用于向控制设备或第二接入设备发送第一接入设备与第一终端设备之间的链路信息,第一终端设备为接入第一接入设备的终端设备;向控制设备发送故障指示信息,故障指示信息用于指示第一接入设备故障。In a possible implementation manner, the transceiver module 202 is configured to send link information between the first access device and the first terminal device to the control device or the second access device, where the first terminal device is a terminal device that accesses the first access device; and send fault indication information to the control device, where the fault indication information is used to indicate a failure of the first access device.
在一种可能的实施方式中,收发模块202,还用于在第一接入设备向控制设备发送故障指示信息之前,向控制设备发送第一终端设备的标识以及第一接入设备检测的其他设备的信号强度。In a possible implementation manner, the transceiver module 202 is further configured to send the identifier of the first terminal device and the signal strength of other devices detected by the first access device to the control device before the first access device sends fault indication information to the control device.
在一种可能的实施方式中,收发模块202,还用于在第一接入设备向控制设备发送故障指示信息之前,向控制设备发送以下信息的至少一项:第一接入设备的网络参数、第一接入设备的负载、第一接入设备的信道利用率、第一接入设备检测的干扰信号的信号强度、第一接入设备检测的第一终端设备的信号强度。In a possible implementation manner, the transceiver module 202 is further configured to send at least one of the following information to the control device before the first access device sends fault indication information to the control device: network parameters of the first access device, load of the first access device, channel utilization rate of the first access device, signal strength of an interference signal detected by the first access device, and signal strength of the first terminal device detected by the first access device.
以通信装置20为上述方法实施例中的第一接入设备为例。Take the communication device 20 as the first access device in the above method embodiment as an example.
在一种可能的实施方式中,收发模块202,用于获取第一接入设备与第一终端设备之间的链路信息,第一终端设备为接入第一接入设备的终端设备;从控制设备接收接入指示信息, 接入指示信息用于指示第二接入设备根据链路信息与第一终端设备建立通信,接入指示信息包括第一终端设备的标识;处理模块202,用于根据链路信息与标识所指示的第一终端设备建立通信。In a possible implementation manner, the transceiver module 202 is configured to obtain link information between the first access device and the first terminal device, where the first terminal device is a terminal device that accesses the first access device; receive access indication information from the control device, the access indication information is used to instruct the second access device to establish communication with the first terminal device according to the link information, and the access indication information includes the identifier of the first terminal device; the processing module 202 is configured to establish communication with the first terminal device indicated by the identifier according to the link information.
在一种可能的实施方式中,收发模块202,具体用于从控制设备或第一接入设备接收链路信息。In a possible implementation manner, the transceiver module 202 is specifically configured to receive link information from the control device or the first access device.
在一种可能的实施方式中,收发模块202,还用于在第二接入设备从控制设备接收接入指示信息之前,向控制设备发送接入第二接入设备的终端设备的标识以及第二接入设备检测的其他设备的信号强度。In a possible implementation manner, the transceiver module 202 is further configured to send the identification of the terminal device accessing the second access device and the signal strength of other devices detected by the second access device to the control device before the second access device receives access indication information from the control device.
在一种可能的实施方式中,收发模块202,还用于在第二接入设备从控制设备接收接入指示信息之前,向控制设备发送以下信息的至少一项:第二接入设备的网络参数、第二接入设备的负载、第二接入设备的信道利用率、第二接入设备检测的干扰信号的信号强度、第二接入设备检测的接入第二接入设备的终端设备的信号强度。In a possible implementation manner, the transceiver module 202 is further configured to send at least one of the following information to the control device before the second access device receives access indication information from the control device: network parameters of the second access device, load of the second access device, channel utilization of the second access device, signal strength of an interference signal detected by the second access device, and signal strength of a terminal device connected to the second access device detected by the second access device.
如图8所示,本申请实施例还提供了一种通信装置。该通信装置30包括处理器301、存储器302和收发器303,处理器301与存储器302和收发器303相耦合,收发器303用于支持通信装置与其他通信装置进行通信。当处理器301执行存储器302中的计算机程序或指令时,图3或图5中控制设备、第一接入设备或第二接入设备对应的方法被执行。As shown in FIG. 8 , the embodiment of the present application also provides a communication device. The communication device 30 includes a processor 301, a memory 302 and a transceiver 303. The processor 301 is coupled to the memory 302 and the transceiver 303. The transceiver 303 is used to support the communication device to communicate with other communication devices. When the processor 301 executes the computer program or instruction in the memory 302, the method corresponding to the control device, the first access device or the second access device in FIG. 3 or FIG. 5 is executed.
如图9所示,本申请实施例还提供一种芯片***。该芯片***40包括至少一个处理器401和至少一个接口电路402。至少一个处理器401和至少一个接口电路402可通过线路互联。例如,至少一个接口电路402可用于从其它装置(例如存储器)接收信号,或者,向其它通信装置(例如通信接口)发送信号。As shown in FIG. 9 , an embodiment of the present application further provides a chip system. The chip system 40 includes at least one processor 401 and at least one interface circuit 402 . At least one processor 401 and at least one interface circuit 402 may be interconnected through wires. For example, at least one interface circuit 402 may be used to receive signals from other devices, such as memory, or to send signals to other communication devices, such as a communication interface.
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质包括指令,当指令在上述通信装置上运行时,使得该通信装置执行上述方法实施例中由控制设备、第一接入设备或第二接入设备执行的各个功能或者步骤,例如执行图3或图5所示的方法。An embodiment of the present application further provides a computer-readable storage medium, where the computer-readable storage medium includes an instruction, and when the instruction is run on the above-mentioned communication device, the communication device is made to execute each function or step performed by the control device, the first access device, or the second access device in the above-mentioned method embodiment, for example, execute the method shown in FIG. 3 or FIG. 5 .
本申请实施例还提供一种包括指令的计算机程序产品,当指令在上述通信装置上运行时,使得该通信装置执行上述方法实施例中由控制设备、第一接入设备或第二接入设备执行的各个功能或者步骤,例如执行图3或图5所示的方法。An embodiment of the present application further provides a computer program product including an instruction. When the instruction is run on the above-mentioned communication device, the communication device is made to execute each function or step performed by the control device, the first access device, or the second access device in the above-mentioned method embodiment, for example, execute the method shown in FIG. 3 or FIG. 5 .
关于通信装置、计算机可读存储介质、计算机程序产品的技术效果参照前面方法实施例的技术效果。Regarding the technical effects of the communication device, the computer-readable storage medium, and the computer program product, refer to the technical effects of the foregoing method embodiments.
本申请实施例涉及的处理器可以是一个芯片。例如,可以是现场可编程门阵列(field programmable gate array,FPGA),可以是专用集成芯片(application specific integrated circuit,ASIC),还可以是***芯片(system on chip,SoC),还可以是中央处理器(central processor unit,CPU),还可以是网络处理器(network processor,NP),还可以是数字信号处理电路(digital signal processor,DSP),还可以是微控制器(micro controller unit,MCU),还可以是可编程控制器(programmable logic device,PLD)或其他集成芯片。The processor involved in this embodiment of the present application may be a chip. For example, it can be a field programmable gate array (field programmable gate array, FPGA), an application specific integrated circuit (ASIC), a system on chip (SoC), a central processor unit (CPU), a network processor (network processor, NP), or a digital signal processing circuit (digital sign al processor, DSP), a microcontroller (micro controller unit, MCU), a programmable logic device (programmable logic device, PLD) or other integrated chips.
本申请实施例涉及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示 例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。应注意,本文描述的***和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。The memory involved in the embodiments of the present application may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. Wherein, the non-volatile memory may be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically erasable programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, many forms of RAM are available such as static random access memory (SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous Connect dynamic random access memory (synchlink DRAM, SLDRAM) and direct memory bus random access memory (direct rambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but not be limited to, these and any other suitable types of memory.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that in various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的模块及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the modules and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***、装置和模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device, and module can refer to the corresponding process in the foregoing method embodiment, and details are not repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的***、设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块或组件可以结合或者可以集成到另一个设备,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,设备或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another device, or some features may be ignored or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理模块,即可以位于一个设备,或者也可以分布到多个设备上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one device, or may be distributed to multiple devices. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能模块可以集成在一个设备中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个设备中。In addition, each functional module in each embodiment of the present application may be integrated into one device, or each module may physically exist separately, or two or more modules may be integrated into one device.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半 导体介质(例如固态硬盘(Solid State Disk,SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer, or may be a data storage device including one or more servers, data centers, etc. that can be integrated with the medium. The available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (Solid State Disk, SSD)) and the like.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the application, but the scope of protection of the application is not limited thereto. Anyone skilled in the art within the scope of the technology disclosed in this application can easily think of changes or replacements, which should be covered within the scope of protection of the application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.

Claims (34)

  1. 一种通信恢复方法,其特征在于,包括:A communication recovery method, characterized in that, comprising:
    控制设备接收来自第一接入设备的故障指示信息,所述故障指示信息用于指示所述第一接入设备故障;The control device receives fault indication information from the first access device, where the fault indication information is used to indicate that the first access device is faulty;
    所述控制设备根据多个候选设备的网络性能信息,从所述多个候选设备中确定目标候选设备,所述目标候选设备的网络性能最优,所述目标候选设备用于根据所述第一接入设备与所述第一终端设备之间的链路信息与所述第一终端设备建立通信,其中,所述多个候选设备包括所述控制设备以及所述控制设备控制的所述第一接入设备外的至少一个接入设备,所述第一终端设备为所述第一接入设备故障前接入所述第一接入设备的终端设备。The control device determines a target candidate device from the multiple candidate devices according to network performance information of the multiple candidate devices, the target candidate device has the best network performance, and the target candidate device is used to establish communication with the first terminal device according to link information between the first access device and the first terminal device, where the multiple candidate devices include the control device and at least one access device other than the first access device controlled by the control device, and the first terminal device is a terminal device that accessed the first access device before the first access device failed.
  2. 根据权利要求1所述的方法,其特征在于,所述网络性能信息包括所述候选设备的信号强度和辅助网络性能信息,所述控制设备根据多个候选设备的网络性能信息,从所述多个候选设备中确定目标候选设备,包括:The method according to claim 1, wherein the network performance information includes the signal strength of the candidate device and auxiliary network performance information, and the control device determines the target candidate device from the plurality of candidate devices according to the network performance information of the plurality of candidate devices, comprising:
    所述控制设备根据所述多个候选设备的信号强度,从所述多个候选设备中确定所述第一接入设备的至少一个邻居候选设备;The control device determines at least one neighbor candidate device of the first access device from the plurality of candidate devices according to the signal strengths of the plurality of candidate devices;
    所述控制设备根据所述邻居候选设备的辅助网络性能信息,从所述至少一个邻居候选设备确定所述目标候选设备。The control device determines the target candidate device from the at least one neighbor candidate device according to the auxiliary network performance information of the neighbor candidate device.
  3. 根据权利要求2所述的方法,其特征在于,所述辅助网络性能信息包括以下信息的至少一项:所述候选设备的网络参数、所述候选设备的负载、所述候选设备的信道利用率、所述候选设备检测的干扰信号的信号强度、所述候选设备检测的接入所述候选设备的终端设备的信号强度。The method according to claim 2, wherein the auxiliary network performance information includes at least one of the following information: network parameters of the candidate device, load of the candidate device, channel utilization of the candidate device, signal strength of an interference signal detected by the candidate device, and signal strength of a terminal device connected to the candidate device detected by the candidate device.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,当所述目标候选设备为所述至少一个接入设备时,所述方法还包括:The method according to any one of claims 1-3, wherein when the target candidate device is the at least one access device, the method further comprises:
    所述控制设备向所述目标候选设备发送接入指示信息,所述接入指示信息用于指示所述目标候选设备根据所述链路信息与所述第一终端设备建立通信,所述接入指示信息包括所述第一终端设备的标识。The control device sends access indication information to the target candidate device, where the access indication information is used to instruct the target candidate device to establish communication with the first terminal device according to the link information, and the access indication information includes an identifier of the first terminal device.
  5. 根据权利要求4所述的方法,其特征在于,所述接入指示信息承载在接入指示消息中,所述接入指示消息包括接入指示消息类型字段、目标候选设备标识字段和第一终端设备标识字段,所述接入指示消息类型字段用于指示所述接入指示消息承载所述接入指示信息,所述目标候选设备标识字段用于指示所述目标候选设备的标识,所述第一终端设备标识字段用于指示所述第一终端设备的标识。The method according to claim 4, wherein the access indication information is carried in an access indication message, and the access indication message includes an access indication message type field, a target candidate device identification field, and a first terminal device identification field, the access indication message type field is used to indicate that the access indication message carries the access indication information, the target candidate device identification field is used to indicate the identity of the target candidate device, and the first terminal device identification field is used to indicate the identity of the first terminal device.
  6. 根据权利要求4或5所述的方法,其特征在于,当所述目标候选设备为所述至少一个接入设备时,在所述控制设备向所述目标候选设备发送接入指示信息之前,所述方法还包括:The method according to claim 4 or 5, wherein when the target candidate device is the at least one access device, before the control device sends access indication information to the target candidate device, the method further comprises:
    所述控制设备向所述目标候选设备发送所述链路信息。The control device sends the link information to the target candidate device.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,在所述控制设备接收来自第一接入设备的故障指示信息之前,所述方法还包括:The method according to any one of claims 1-6, wherein before the control device receives the fault indication information from the first access device, the method further comprises:
    所述控制设备获取所述链路信息。The control device acquires the link information.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述链路信息包括以下信息的至 少一项:所述第一接入设备与所述第一终端设备之间的通信密钥、所述第一终端设备的通信能力、所述第一接入设备与所述第一终端设备之间建立链路的消息。The method according to any one of claims 1-7, wherein the link information includes at least one of the following information: a communication key between the first access device and the first terminal device, a communication capability of the first terminal device, and a link establishment message between the first access device and the first terminal device.
  9. 根据权利要求1-8任一项所述的方法,其特征在于,所述故障指示信息承载在故障指示消息中,所述故障指示消息包括故障指示消息类型字段以及第一接入设备标识字段,所述故障指示消息类型字段用于指示所述故障指示消息承载所述故障指示信息,所述第一接入设备标识字段用于指示所述第一接入设备的标识。The method according to any one of claims 1-8, wherein the fault indication information is carried in a fault indication message, the fault indication message includes a fault indication message type field and a first access device identification field, the fault indication message type field is used to indicate that the fault indication message carries the fault indication information, and the first access device identification field is used to indicate the identification of the first access device.
  10. 根据权利要求9所述的方法,其特征在于,所述故障指示消息还包括故障原因字段,所述故障原因字段用于指示所述第一接入设备故障的原因。The method according to claim 9, wherein the failure indication message further includes a failure cause field, and the failure cause field is used to indicate a cause of the failure of the first access device.
  11. 根据权利要求10所述的方法,其特征在于,所述原因包括掉电或虚拟接入点异常。The method according to claim 10, wherein the reason includes power failure or virtual access point abnormality.
  12. 根据权利要求1-11任一项所述的方法,其特征在于,在所述控制设备接收来自第一接入设备的故障指示信息之前,还包括:The method according to any one of claims 1-11, further comprising: before the control device receives the fault indication information from the first access device:
    所述控制设备获取所述第一终端设备的标识以及所述多个候选设备的信号强度。The control device acquires the identifier of the first terminal device and the signal strengths of the multiple candidate devices.
  13. 根据权利要求1-12任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1-12, further comprising:
    所述控制设备将转发表中所述第一接入设备的信息变更为所述目标候选设备的信息。The control device changes the information of the first access device in the forwarding table to the information of the target candidate device.
  14. 根据权利要求1-13任一项所述的方法,其特征在于,所述第一接入设备或所述目标候选设备与所述控制设备之间传输的指示信息承载在自定义消息中,或者,承载在以太网消息的载荷中,或者,承载在光网络单元管理控制接口消息的载荷中。The method according to any one of claims 1-13, wherein the indication information transmitted between the first access device or the target candidate device and the control device is carried in a custom message, or carried in a payload of an Ethernet message, or carried in a payload of an optical network unit management control interface message.
  15. 一种通信恢复方法,其特征在于,包括:A communication recovery method, characterized in that, comprising:
    所述第一接入设备向控制设备或第二接入设备发送所述第一接入设备与第一终端设备之间的链路信息,所述第一终端设备为接入所述第一接入设备的终端设备;The first access device sends link information between the first access device and a first terminal device to a control device or a second access device, where the first terminal device is a terminal device that accesses the first access device;
    所述第一接入设备向所述控制设备发送故障指示信息,所述故障指示信息用于指示所述第一接入设备故障。The first access device sends failure indication information to the control device, where the failure indication information is used to indicate a failure of the first access device.
  16. 根据权利要求15所述的方法,其特征在于,所述链路信息包括以下信息的至少一项:所述第一接入设备与所述第一终端设备之间的通信密钥、所述第一终端设备的通信能力、所述第一接入设备与所述第一终端设备之间建立链路的消息。The method according to claim 15, wherein the link information includes at least one of the following information: a communication key between the first access device and the first terminal device, a communication capability of the first terminal device, and a link establishment message between the first access device and the first terminal device.
  17. 根据权利要求15-16任一项所述的方法,其特征在于,所述故障指示信息承载在故障指示消息中,所述故障指示消息包括故障指示消息类型字段以及第一接入设备标识字段,所述故障指示消息类型字段用于指示所述故障指示消息承载所述故障指示信息,所述第一接入设备标识字段用于指示所述第一接入设备的标识。The method according to any one of claims 15-16, wherein the fault indication information is carried in a fault indication message, the fault indication message includes a fault indication message type field and a first access device identification field, the fault indication message type field is used to indicate that the fault indication message carries the fault indication information, and the first access device identification field is used to indicate the identification of the first access device.
  18. 根据权利要求17所述的方法,其特征在于,所述故障指示消息还包括故障原因字段,所述故障原因字段用于指示所述第一接入设备故障的原因。The method according to claim 17, wherein the failure indication message further includes a failure cause field, and the failure cause field is used to indicate a cause of the failure of the first access device.
  19. 根据权利要求18所述的方法,其特征在于,所述原因包括掉电或虚拟接入点异常。The method according to claim 18, wherein the reason includes power failure or virtual access point abnormality.
  20. 根据权利要求15-19任一项所述的方法,其特征在于,在所述第一接入设备向所述控制设备发送故障指示信息之前,所述方法还包括:The method according to any one of claims 15-19, wherein before the first access device sends fault indication information to the control device, the method further comprises:
    所述第一接入设备向所述控制设备发送所述第一终端设备的标识以及所述第一接入设备检测的其他设备的信号强度。The first access device sends the identifier of the first terminal device and the signal strength of other devices detected by the first access device to the control device.
  21. 根据权利要求15-20任一项所述的方法,其特征在于,在所述第一接入设备向所述控制设备发送故障指示信息之前,所述方法还包括:The method according to any one of claims 15-20, wherein before the first access device sends fault indication information to the control device, the method further comprises:
    所述第一接入设备向所述控制设备发送以下信息的至少一项:所述第一接入设备的网 络参数、所述第一接入设备的负载、所述第一接入设备的信道利用率、所述第一接入设备检测的干扰信号的信号强度、所述第一接入设备检测的所述第一终端设备的信号强度。The first access device sends at least one of the following information to the control device: network parameters of the first access device, load of the first access device, channel utilization of the first access device, signal strength of an interference signal detected by the first access device, and signal strength of the first terminal device detected by the first access device.
  22. 根据权利要求15-21任一项所述的方法,其特征在于,所述第一接入设备与所述控制设备之间传输的指示信息承载在自定义消息中,或者,承载在以太网消息的载荷中,或者,承载在光网络单元管理控制接口消息的载荷中。The method according to any one of claims 15-21, wherein the indication information transmitted between the first access device and the control device is carried in a custom message, or carried in a payload of an Ethernet message, or carried in a payload of an optical network unit management control interface message.
  23. 一种通信恢复方法,其特征在于,包括:A communication recovery method, characterized in that, comprising:
    第二接入设备获取第一接入设备与第一终端设备之间的链路信息,所述第一终端设备为接入所述第一接入设备的终端设备;The second access device acquires link information between the first access device and the first terminal device, where the first terminal device is a terminal device that accesses the first access device;
    所述第二接入设备从控制设备接收接入指示信息,所述接入指示信息用于指示所述第二接入设备根据所述链路信息与所述第一终端设备建立通信,所述接入指示信息包括所述第一终端设备的标识;The second access device receives access indication information from the control device, the access indication information is used to instruct the second access device to establish communication with the first terminal device according to the link information, and the access indication information includes an identifier of the first terminal device;
    所述第二接入设备根据所述链路信息与所述标识所指示的所述第一终端设备建立通信。The second access device establishes communication with the first terminal device indicated by the identifier according to the link information.
  24. 根据权利要求23所述的方法,其特征在于,所述接入指示信息承载在接入指示消息中,所述接入指示消息包括接入指示消息类型字段、目标候选设备标识字段和第一终端设备标识字段,所述接入指示消息类型字段用于指示所述接入指示消息承载所述接入指示信息,所述目标候选设备标识字段用于指示所述第二接入设备的标识,所述第一终端设备标识字段用于指示所述第一终端设备的标识。The method according to claim 23, wherein the access indication information is carried in an access indication message, and the access indication message includes an access indication message type field, a target candidate device identification field, and a first terminal device identification field, the access indication message type field is used to indicate that the access indication message carries the access indication information, the target candidate device identification field is used to indicate the identity of the second access device, and the first terminal device identification field is used to indicate the identity of the first terminal device.
  25. 根据权利要求23-24任一项所述的方法,其特征在于,所述链路信息包括以下信息的至少一项:所述第一接入设备与所述第一终端设备之间的通信密钥、所述第一终端设备的通信能力、所述第一接入设备与所述第一终端设备之间建立链路的消息。The method according to any one of claims 23-24, wherein the link information includes at least one of the following information: a communication key between the first access device and the first terminal device, a communication capability of the first terminal device, and a link establishment message between the first access device and the first terminal device.
  26. 根据权利要求23-25任一项所述的方法,其特征在于,所述第二接入设备获取第一接入设备与第一终端设备之间的链路信息,包括:The method according to any one of claims 23-25, wherein the second access device acquires link information between the first access device and the first terminal device, comprising:
    所述第二接入设备从所述控制设备或所述第一接入设备接收所述链路信息。The second access device receives the link information from the control device or the first access device.
  27. 根据权利要求23-26任一项所述的方法,其特征在于,在所述第二接入设备从控制设备接收接入指示信息之前,所述方法还包括:The method according to any one of claims 23-26, wherein before the second access device receives access indication information from the control device, the method further comprises:
    所述第二接入设备向所述控制设备发送接入所述第二接入设备的终端设备的标识以及所述第二接入设备检测的其他设备的信号强度。The second access device sends the identifier of the terminal device accessing the second access device and the signal strength of other devices detected by the second access device to the control device.
  28. 根据权利要求23-25任一项所述的方法,其特征在于,在所述第二接入设备从控制设备接收接入指示信息之前,所述方法还包括:The method according to any one of claims 23-25, wherein before the second access device receives access indication information from the control device, the method further comprises:
    所述第二接入设备向所述控制设备发送以下信息的至少一项:所述第二接入设备的网络参数、所述第二接入设备的负载、所述第二接入设备的信道利用率、所述第二接入设备检测的干扰信号的信号强度、所述第二接入设备检测的接入所述第二接入设备的终端设备的信号强度。The second access device sends at least one of the following information to the control device: network parameters of the second access device, load of the second access device, channel utilization of the second access device, signal strength of an interference signal detected by the second access device, and signal strength of a terminal device connected to the second access device detected by the second access device.
  29. 根据权利要求23-28任一项所述的方法,其特征在于,所述接入指示信息承载在自定义消息中,或者,承载在以太网消息的载荷中,或者,承载在光网络单元管理控制接口消息的载荷中。The method according to any one of claims 23-28, wherein the access indication information is carried in a self-defined message, or carried in a payload of an Ethernet message, or carried in a payload of an optical network unit management control interface message.
  30. 一种通信装置,其特征在于,包括处理器和收发器,所述收发器用于与其他通信装置进行通信,当所述处理器执行指令时,如权利要求1-14任一项所述的方法被执行。A communication device, characterized by comprising a processor and a transceiver, the transceiver is used for communicating with other communication devices, and when the processor executes instructions, the method according to any one of claims 1-14 is executed.
  31. 一种通信装置,其特征在于,包括处理器和收发器,所述收发器用于与其他通信 装置进行通信,当所述处理器执行指令时,如权利要求15-22任一项所述的方法被执行。A communication device, characterized by comprising a processor and a transceiver, the transceiver is used to communicate with other communication devices, when the processor executes instructions, the method according to any one of claims 15-22 is executed.
  32. 一种通信装置,其特征在于,包括处理器和收发器,所述收发器用于与其他通信装置进行通信,当所述处理器执行指令时,如权利要求23-29任一项所述的方法被执行。A communication device, characterized by comprising a processor and a transceiver, the transceiver is used to communicate with other communication devices, when the processor executes instructions, the method according to any one of claims 23-29 is executed.
  33. 一种通信***,其特征在于,包括如权利要求30所述的通信装置、如权利要求31所述的通信装置以及如权利要求32所述的通信装置。A communication system, characterized by comprising the communication device according to claim 30 , the communication device according to claim 31 , and the communication device according to claim 32 .
  34. 一种计算机可读存储介质,其特征在于,包括指令,当所述指令在通信装置上运行时,使得所述通信装置执行如权利要求1-14任一项所述的方法,或者,执行如权利要求15-22任一项所述的方法,或者,执行如权利要求23-29任一项所述的方法。A computer-readable storage medium, characterized in that it includes instructions, and when the instructions are run on the communication device, the communication device is made to perform the method according to any one of claims 1-14, or to perform the method according to any one of claims 15-22, or to perform the method according to any one of claims 23-29.
PCT/CN2022/142706 2022-01-24 2022-12-28 Communication recovery method, communication apparatus and communication system WO2023138328A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210081576.X 2022-01-24
CN202210081576.XA CN116527127A (en) 2022-01-24 2022-01-24 Communication recovery method, communication device and communication system

Publications (1)

Publication Number Publication Date
WO2023138328A1 true WO2023138328A1 (en) 2023-07-27

Family

ID=87347748

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/142706 WO2023138328A1 (en) 2022-01-24 2022-12-28 Communication recovery method, communication apparatus and communication system

Country Status (2)

Country Link
CN (1) CN116527127A (en)
WO (1) WO2023138328A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2533573A1 (en) * 2011-06-07 2012-12-12 Deutsche Telekom AG Method and system for network-centric control of network connectivity for mobile terminals in IEEE 802.11 based networks
CN104380809A (en) * 2013-06-05 2015-02-25 华为技术有限公司 Access point selection method and device
WO2016064031A1 (en) * 2014-10-24 2016-04-28 한국과학기술원 Method for migration of ap of station in order to resolve wireless link failure

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2533573A1 (en) * 2011-06-07 2012-12-12 Deutsche Telekom AG Method and system for network-centric control of network connectivity for mobile terminals in IEEE 802.11 based networks
CN104380809A (en) * 2013-06-05 2015-02-25 华为技术有限公司 Access point selection method and device
WO2016064031A1 (en) * 2014-10-24 2016-04-28 한국과학기술원 Method for migration of ap of station in order to resolve wireless link failure

Also Published As

Publication number Publication date
CN116527127A (en) 2023-08-01

Similar Documents

Publication Publication Date Title
EP3537670B1 (en) Protection switching method, network device, and system
US20200244485A1 (en) Packet processing method, device, and system
US20200204499A1 (en) Communication Method, Communications Device, and Storage Medium
WO2020063991A1 (en) Pon network, method and apparatus for pon network and robot system
US8917990B2 (en) Fast protection scheme for passive optical network
WO2012103849A2 (en) Ranging method for passive optical network, system, and device
EP4221349A1 (en) Data transmission method and apparatus
WO2011038591A1 (en) Method, device and system for master-backup switching in passive optical network (pon)
WO2023056856A1 (en) Device management method and apparatus in optical network, and device
EP3883257B1 (en) Data communication and communication management method based on distributed processing unit (dpu) and dpu
JP4947729B2 (en) Station side equipment
WO2015085468A1 (en) Apparatus and method for detecting optical network uplink signal
WO2023138328A1 (en) Communication recovery method, communication apparatus and communication system
JP7185054B2 (en) Resource cycle configuration method and device, link processing and establishment method and device
RU2693903C1 (en) Method, apparatus and processing system for expanded port
CN101971522A (en) Method for providing internet gateway service using plurality of universal plug and play internet gateway devices and apparatus therefor
CN114422614B (en) Method, device, equipment and storage medium for controlling multilink equipment to transmit data
US9209928B2 (en) Transmission device and transmission method
CN113098737B (en) User node admission control method and device and electronic equipment
JP2019004261A (en) Transmission device and communication method
US20220224595A1 (en) Optical communication device and control method
JP2012222767A (en) Communication system, master station device, and communication circuit changeover method
EP2037709B1 (en) Mobile communication terminal
CN101340320B (en) Link detection method, apparatus and system
JP2012257163A (en) Band control device, band control program and termination device

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: 22921748

Country of ref document: EP

Kind code of ref document: A1