CN108990083B - Method and equipment for synchronous alarm - Google Patents

Method and equipment for synchronous alarm Download PDF

Info

Publication number
CN108990083B
CN108990083B CN201710398279.7A CN201710398279A CN108990083B CN 108990083 B CN108990083 B CN 108990083B CN 201710398279 A CN201710398279 A CN 201710398279A CN 108990083 B CN108990083 B CN 108990083B
Authority
CN
China
Prior art keywords
alarm
synchronous
message
type
synchronization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710398279.7A
Other languages
Chinese (zh)
Other versions
CN108990083A (en
Inventor
韩柳燕
胡新天
张德朝
王磊
李晗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710398279.7A priority Critical patent/CN108990083B/en
Priority to PCT/CN2018/088895 priority patent/WO2018219276A1/en
Publication of CN108990083A publication Critical patent/CN108990083A/en
Application granted granted Critical
Publication of CN108990083B publication Critical patent/CN108990083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/001Synchronization between nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method and equipment for synchronous alarming, which are used for solving the problem that synchronous alarming can not be carried out between an ONU and an OLT in the prior art. The method comprises the following steps: after the state of the synchronous alarm is changed, the ONU generates a synchronous alarm message, wherein the synchronous alarm message comprises a type identifier of the synchronous alarm and state information of the synchronous alarm; and the ONU sends a synchronization alarm message to the OLT so that the OLT determines the synchronization alarm with the changed state according to the synchronization alarm message. The ONU can generate a synchronous alarm message comprising a type identifier of the synchronous alarm and state information of the synchronous alarm after the state of the synchronous alarm is changed, and the ONU can transmit the synchronous alarm to the OLT through the synchronous alarm message, thereby solving the problem that the synchronous alarm can not be carried out between the ONU and the OLT in the prior art.

Description

Method and equipment for synchronous alarm
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for performing a synchronous alarm.
Background
In view of wireless systems such as TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), TD-LTE (Time Division Long Term Evolution), and the like, the relative Time difference between different base stations needs to be kept within a certain range, i.e. the Time synchronization requirement needs to be met, otherwise, when mobile terminals such as mobile phones are switched between different base stations, signals interfere with each other, which causes problems such as reduction of call quality, crosstalk, call drop, and the like. The conventional method realizes time synchronization between different base stations by installing a GPS (Global Positioning System) satellite receiver.
PON (Passive Optical Network ) has been widely used in the existing Network as a fiber access technology for solving the last kilometer. In a PON, an OLT (Optical Line Terminal) and an ONU (Optical Network Unit) are connected by an Optical fiber. In a scheme of delivering time synchronization information for a small cell using a terrestrial network, as shown in fig. 1, the time synchronization information is transmitted from a time source 101, reaches an OLT102 through a transmission network, and reaches an ONU103 through an optical fiber via the OLT, and the ONU103 provides the time synchronization information to a small cell 104. Different small base stations 104 achieve time synchronization by tracing to the same time source. The use of PON to transfer time synchronization information has become one of the solutions for transferring time synchronization information to small base stations.
The problem of synchronization of time and time synchronization information is solved, and equipment needs to have the capacity of reporting an alarm in order to find and process a fault in time. However, the existing PON network mainly carries services such as voice, internet access, and video, and does not have a synchronous alarm capability. Meanwhile, the PON network is composed of two-stage structures of an OLT and an ONU, and a synchronization alarm generated at an ONU end needs to be transmitted to the OLT, and then the alarm is reported to a network management system after being processed by the OLT. The lack of synchronous alarm can cause the problems of slow response after fault, difficult fault positioning and the like, so that the small base station can not stably and reliably use the time synchronization information provided by the PON.
In summary, in the prior art, the transmission of the synchronization alarm between the ONU and the OLT cannot be performed.
Disclosure of Invention
The invention provides a method and equipment for synchronous alarm, which are used for solving the problem that synchronous alarm transmission cannot be carried out between an ONU and an OLT in the prior art.
The invention provides a method for carrying out synchronous alarm, which comprises the following steps:
after the state of the synchronous alarm is changed, the ONU generates a synchronous alarm message, wherein the synchronous alarm message comprises a type identifier of the synchronous alarm and state information of the synchronous alarm;
and the ONU sends a synchronization alarm message to the OLT so that the OLT determines the synchronization alarm with the changed state according to the synchronization alarm message.
Optionally, synchronizing the alert message comprises:
the type identification of the synchronous alarm with changed state and the state information of the synchronous alarm; or
The type identification of the synchronous alarm with changed state and the state information of the synchronous alarm, and the type identification with unchanged state and the state information of the synchronous alarm.
Optionally, the ONU determines the type identifier according to the following method:
and the ONU determines a type identifier corresponding to the type of the synchronous alarm according to the type of the synchronous alarm and the corresponding relation between the preset type of the synchronous alarm and the type identifier.
Optionally, the type identifier includes some or all of the following:
a preset specific mark;
a message class code for indicating that the message is an alert message;
synchronizing management unit identification corresponding to the synchronous alarm;
and synchronizing alarm numbers corresponding to the alarms.
Optionally, the sending, by the ONU, the synchronization warning message to the OLT includes:
the ONU determines a corresponding management channel according to a preset corresponding relation between the ONU and the management channel;
and the ONU sends a synchronization alarm message to the OLT through the management channel.
The invention provides a method for carrying out synchronous alarm, which comprises the following steps:
the OLT receives a synchronous alarm message sent by the ONU, wherein the synchronous alarm message comprises a type identifier of the synchronous alarm and state information of the synchronous alarm;
and the OLT determines the synchronous alarm with the changed state according to the synchronous alarm message.
Optionally, the OLT determines a synchronization alarm whose state changes according to the synchronization alarm message, including:
the OLT determines the type of the synchronous alarm with the changed state according to the following method:
if the type identifier in the synchronous alarm message is the type identifier of the synchronous alarm with the changed state, the OLT takes the type identifier of the synchronous alarm in the synchronous alarm message as the type identifier of the synchronous alarm with the changed state, and determines the type of the synchronous alarm with the changed state according to the type identifier of the synchronous alarm with the changed state; or
If the type identifier in the synchronization alarm message is the type identifier of the synchronization alarm with the changed state and the type identifier with the unchanged state, the OLT determines the type of the synchronization alarm with the changed state according to the previously received synchronization alarm message.
Optionally, the determining, by the OLT, the type of the synchronization alarm with the changed state according to the type identifier of the synchronization alarm with the changed state includes:
and determining the type of the synchronous alarm with the changed state corresponding to the type identifier according to the corresponding relation between the type of the synchronous alarm with the changed state and the type identifier.
Optionally, the type identifier includes some or all of the following:
a preset specific mark;
a message class code for indicating that the message is an alert message;
synchronizing management unit identification corresponding to the synchronous alarm;
and synchronizing alarm numbers corresponding to the alarms.
Optionally, after receiving the synchronization warning message sent by the ONU, the OLT further includes:
the OLT determines a management channel receiving the synchronous alarm message;
and the OLT determines the ONU corresponding to the management channel according to the preset corresponding relation between the ONU and the management channel.
The invention provides an ONU for synchronous alarm, which comprises:
the synchronous alarm message generating module is used for generating a synchronous alarm message after the state of the synchronous alarm is changed, wherein the synchronous alarm message comprises a type identifier of the synchronous alarm and state information of the synchronous alarm;
and the sending module is used for sending the synchronous alarm message to the OLT so that the OLT determines the synchronous alarm with the changed state according to the synchronous alarm message.
Optionally, synchronizing the alert message comprises:
the type identification of the synchronous alarm with changed state and the state information of the synchronous alarm; or
The type identification of the synchronous alarm with changed state and the state information of the synchronous alarm, and the type identification with unchanged state and the state information of the synchronous alarm.
Optionally, the synchronous warning message generating module is specifically configured to:
and determining the type identifier corresponding to the type of the synchronous alarm according to the type of the synchronous alarm and the preset corresponding relationship between the type of the synchronous alarm and the type identifier.
Optionally, the type identifier includes some or all of the following:
a preset specific mark;
a message class code for indicating that the message is an alert message;
synchronizing management unit identification corresponding to the synchronous alarm;
and synchronizing alarm numbers corresponding to the alarms.
Optionally, the sending module is specifically configured to:
determining a management channel corresponding to the management channel according to a preset corresponding relation between the ONU and the management channel;
and sending a synchronous alarm message to the OLT through the management channel.
The OLT for carrying out synchronous alarm provided by the invention comprises the following components:
the receiving module is used for receiving a synchronous alarm message sent by the ONU, wherein the synchronous alarm message comprises a type identifier of the synchronous alarm and state information of the synchronous alarm;
and the determining module is used for determining the synchronous alarm with the changed state according to the synchronous alarm message.
Optionally, the determining module is specifically configured to:
determining the type of the synchronous alarm with the changed state according to the following method:
if the type identifier in the synchronous alarm message is the type identifier of the synchronous alarm with the changed state, taking the type identifier of the synchronous alarm in the synchronous alarm message as the type identifier of the synchronous alarm with the changed state, and determining the type of the synchronous alarm with the changed state according to the type identifier of the synchronous alarm with the changed state; or
If the type identifier in the synchronization alarm message is the type identifier of the synchronization alarm with the changed state and the type identifier with the unchanged state, the OLT determines the type of the synchronization alarm with the changed state according to the previously received synchronization alarm message.
Optionally, the determining module is specifically configured to:
and determining the type of the synchronous alarm with the changed state corresponding to the type identifier with the changed state according to the preset corresponding relation between the type of the synchronous alarm and the type identifier.
Optionally, the type identifier includes some or all of the following:
a preset specific mark;
a message class code for indicating that the message is an alert message;
synchronizing management unit identification corresponding to the synchronous alarm;
and synchronizing alarm numbers corresponding to the alarms.
Optionally, the determining module is further configured to:
determining a management channel receiving the synchronous alarm message;
and determining the ONU corresponding to the management channel according to the preset corresponding relation between the ONU and the management channel.
According to the method for performing the synchronous alarm provided by the embodiment of the invention, the ONU can generate the synchronous alarm message comprising the type identifier of the synchronous alarm and the state information of the synchronous alarm after the state of the synchronous alarm is changed, and the ONU can transmit the synchronous alarm to the OLT through the synchronous alarm message, so that the problem that the synchronous alarm transmission cannot be performed between the ONU and the OLT in the prior art is solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic diagram of a network architecture for performing time synchronization on a small base station through a PON according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating steps of a method for performing a synchronous alarm according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating another method for performing a synchronous alarm according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a method for performing synchronous alarm according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an ONU performing synchronous alarm according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an OLT for performing synchronous alarm according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 2 illustrates a method for performing synchronous alarm according to the present invention, which includes the following steps:
step 201: after the state of the synchronous alarm is changed, the ONU generates a synchronous alarm message, wherein the synchronous alarm message comprises a type identifier of the synchronous alarm and state information of the synchronous alarm;
step 202: and the ONU sends a synchronization alarm message to the OLT so that the OLT determines the synchronization alarm with the changed state according to the synchronization alarm message.
In the method for performing synchronous alarm provided in the embodiment of the present invention, after the state of the synchronous alarm changes, the ONU may report to the OLT through a synchronous alarm message, where the synchronous alarm message includes a type identifier of the synchronous alarm and state information of the synchronous alarm, and the OLT determines the synchronous alarm whose state changes according to the synchronous alarm message after receiving the synchronous alarm message, and accordingly, the OLT may perform corresponding synchronous alarm processing, such as synchronous alarm reporting to a network side management device. By adopting the method, the ONU informs the OLT of the type of the synchronous alarm and the state information of the synchronous alarm through the synchronous alarm message, so that the OLT can determine the synchronous alarm with the changed state according to the synchronous alarm message, and therefore, the method for carrying out the synchronous alarm in the embodiment of the invention realizes the synchronous alarm between the ONU and the OLT.
As shown in fig. 3, another method for performing synchronous alarm according to an embodiment of the present invention includes:
step 301: the OLT receives a synchronous alarm message sent by the ONU, wherein the synchronous alarm message comprises a type identifier of the synchronous alarm and state information of the synchronous alarm;
step 302: and the OLT determines the synchronous alarm with the changed state according to the synchronous alarm message.
In the method for performing a synchronization alarm provided in the embodiment of the present invention, after receiving a synchronization alarm message including a type identifier of the synchronization alarm and status information of the synchronization alarm sent by an ONU, an OLT determines the synchronization alarm whose status changes, and on this basis, the OLT may perform corresponding synchronization alarm processing, for example, report the type and status of the synchronization alarm whose status changes to a network side management device. By adopting the method, the OLT can receive and determine the type and the state information of the synchronous alarm reported by the ONU according to the synchronous alarm message sent by the ONU, thereby solving the problem that the synchronous alarm can not be carried out between the ONU and the OLT in the prior art.
In the embodiment of the invention, the type of the synchronous alarm comprises one or more of the following types: loss of Frequency input reference source, clock loss lock, failure of synchronous processing hardware, failure of Frequency output module, loss of message of ESMC (Ethernet Synchronization Messaging Channel), out-of-limit of current reference source FREQ (Frequency performance), out-of-limit of reference source FREQ in priority list, out-of-limit of PTP (Precision Time Protocol), detection of out-of-limit of Frequency offset, Frequency reference source inversion, switching of device Frequency Synchronization state, Time loss lock, loss of Time input source, failure of synchronous processing hardware, PTP physical link alarm, loss of advance message, loss of Sync or Delay _ Resp message, switching of Slave port, switching of GM clock (Grand Master clock) and switching of device Time state.
The following illustrates several common types of synchronous alarms and their status changes:
1. ESMC message loss
The ONU receives the ESMC message according to a preset frequency (for example, the ESMC message is received once within a preset time length of 1 second), and if the ESMC message is not received within a set time length (for example, 5 seconds), the ONU determines that the synchronous alarm state is changed, namely the synchronous alarm of the loss of the ESMC message is generated; after the synchronous alarm of the loss of the ESMC message is generated, the ONU continuously detects the ESMC message containing frequency synchronization quality information, if the ONU receives a part of the ESMC message within a set time (for example, 5 seconds), the ONU determines that the synchronous alarm state changes after determining that the influence of the synchronous alarm indication problem is reduced or the importance is lightened, namely the synchronous alarm degradation of the loss of the ESMC message; if the ONU cannot receive the ESMC message after the set time length (for example, 5 seconds), the ONU determines that the synchronous alarm state changes after determining that the influence of the synchronous alarm indication problem is increased or the importance is increased, namely the synchronous alarm of the loss of the ESMC message is upgraded; if the ONU can correctly receive the ESMC message within a set time length (e.g., 10 seconds), the ONU determines that the synchronization alarm state changes, that is, the synchronization alarm of the ESMC message loss is cleared.
2. Clock lock
If the ONU detects that the clock phase-locked loop cannot work normally, the ONU determines that the synchronous alarm state is changed, namely the synchronous alarm of clock loss lock is generated; and if the ONU detects that the clock phase-locked loop recovers to work normally, the ONU determines that the synchronous alarm state changes, namely the synchronous alarm of clock loss lock is eliminated. The ONU can judge whether the clock phase-locked loop normally works or not by detecting the quality of frequency signals output by the clock phase-locked loop, such as 2MHz, 2Mbits/s, 8000Hz and the like, and detecting the phase difference change of input signals and feedback signals of the phase-locked loop and the like.
3. Time losing lock
If the ONU detects that the time cannot be locked, the ONU determines that the synchronous alarm state is changed, namely the synchronous alarm of time loss lock is generated; after the synchronous alarm of time lock loss is generated, if the ONU detects that the attributes of the interface main working state and the interface slave working state related to the time lock loss are changed, or detects that the parameters of the tracking source quality grade related to the time lock loss are changed, or detects that the alarm reasons of the tracking source quality grade reduction related to the time lock loss, the source port working state transition and the like are changed, the ONU determines that the synchronous alarm state is changed, namely the parameter of the synchronous alarm of the time lock loss is changed. The ONU may detect whether the Time is normally locked by detecting a Time tracking state in a Time output message such as a TOD (Time of Day, current Time) output by the Time module, a PTP message, and the like.
In the embodiment of the invention, the state change of the synchronous alarm comprises one or more of the following: the method comprises the steps of synchronous alarm generation, synchronous alarm elimination, synchronous alarm upgrading, synchronous alarm downgrading and change of parameters of synchronous alarms, wherein the change of the parameters of the synchronous alarms comprises the change of the attributes of the synchronous alarms (such as information including the relevant time, the generation position and the like of the synchronous alarms) and the change of the reasons of the synchronous alarms.
In the synchronous alarm message, information indicating a state change of the synchronous alarm is included, and specifically, the state information of the synchronous alarm includes part or all of the following:
the status information indicating the generation of the synchronous alarm may indicate the generation of the synchronous alarm through a specific flag bit in the synchronous alarm message, for example, a character of a certain bit in the status information is set to 1, which is used to indicate that the status information indicates the generation of the synchronous alarm;
the status information indicating synchronous alarm elimination may indicate synchronous alarm elimination through a specific flag bit in the synchronous alarm message, for example, a character of a bit in the status information is set to 0, which is used to indicate that the status information indicates synchronous alarm elimination; the synchronous alarm generation and the synchronous alarm elimination can be respectively represented by different values of the same flag bit;
the status information indicating the synchronous alarm upgrade can indicate the synchronous alarm upgrade through a specific flag bit in the synchronous alarm message, for example, a character of a certain bit in the status information is set as a, which is used for indicating that the status information indicates that the synchronous alarm is raised by one level on the basis of the previous level;
the status information indicating the synchronization alarm degradation may indicate the synchronization alarm degradation through a specific flag bit in the synchronization alarm message, for example, a character of a certain bit in the status information is set to b, which is used to indicate that the status information indicates that the synchronization alarm is decreased by one level on the basis of the previous level; the synchronous alarm upgrading and the synchronous alarm degrading can be respectively represented by different values of the same zone bit;
the state information indicating that the parameter of the synchronous alarm changes may preset a corresponding relationship between the changed parameter of the synchronous alarm and a value of a specific flag bit, for example, when a character of a certain bit is set as a character a, the state information indicates that the cause of the synchronous alarm changes to a cause a; the changed parameters and the changed parameters may also be carried in the synchronization warning message.
The above exemplified types of information indicating a state change of a synchronization alarm and the method of setting the information indicating a state change of a synchronization alarm are only examples, and other types and setting methods of information indicating a state change of a synchronization alarm than the above examples also belong to the scope of the present invention.
In the embodiment of the invention, after receiving the synchronization warning message, the OLT determines the specific state change of the synchronization warning with the state change according to the information which represents the state change of the synchronization warning in the synchronization warning message, wherein the meaning represented by the information which represents the state change of the synchronization warning can be appointed by the OLT and the ONU.
Optionally, synchronizing the alert message comprises: the type identification of the synchronous alarm with changed state and the state information of the synchronous alarm; or the type identifier of the synchronous alarm with the changed state and the state information of the synchronous alarm, and the type identifier with the unchanged state and the state information of the synchronous alarm.
In the embodiment of the invention, the ONU can only carry the type identifier of the synchronous alarm with the changed state in the synchronous alarm message, but not carry the type identifier with the unchanged state, correspondingly, after the OLT receives the synchronous alarm message generated by the ONU in the way, the type identifier of the synchronous alarm in the synchronous alarm message is used as the type identifier of the synchronous alarm with the changed state, and the OLT sends the type identifier of the synchronous alarm with the changed state to the OLT; the ONU may also carry a type identifier of a synchronization alarm whose state is changed and a type identifier whose state is not changed in the synchronization alarm message, and accordingly, after receiving the synchronization alarm message generated by the ONU in this manner, the OLT determines the type of the synchronization alarm whose state is changed according to the previously received synchronization alarm message.
Optionally, the OLT determines a synchronization alarm whose state changes according to the synchronization alarm message, including:
the OLT determines the type of the synchronous alarm with the changed state according to the following method:
if the type identifier in the synchronous alarm message is the type identifier of the synchronous alarm with the changed state, the OLT takes the type identifier of the synchronous alarm in the synchronous alarm message as the type identifier of the synchronous alarm with the changed state, and determines the type of the synchronous alarm with the changed state according to the type identifier of the synchronous alarm with the changed state; or
If the type identifier in the synchronization alarm message is the type identifier of the synchronization alarm with the changed state and the type identifier with the unchanged state, the OLT determines the type of the synchronization alarm with the changed state according to the previously received synchronization alarm message.
In the embodiment of the invention, if the synchronous alarm message only comprises the type identifier of the synchronous alarm with the changed state, the OLT takes the type identifier in the synchronous alarm message as the state identifier of the synchronous alarm with the changed state, and then determines the type of the synchronous alarm with the changed state according to the state identifier; if the synchronous alarm message comprises the type identifier of the synchronous alarm with the changed state and the type identifier of the synchronous alarm with the unchanged state, the OLT determines the type of the synchronous alarm with the changed state according to the previously received synchronous alarm message.
In implementation, the OLT determines the changed synchronous alarm according to the received synchronous alarm message and the own synchronous alarm list. The comparison may be performed using one or more received synchronization alert messages. The synchronous alarm list of the OLT is related to synchronous alarm information received by the OLT before. Specifically, the OLT maintains a synchronization alarm list for the ONU itself, and the OLT maintains and updates the synchronization alarm list according to the previously received synchronization alarm information, and when the OLT receives the synchronization alarm message, the OLT compares a synchronization alarm state in the synchronization alarm message with a synchronization alarm state stored in the synchronization alarm list, and determines that the alarm state changes if the state of one synchronization alarm is different from that in the alarm message and the synchronization alarm list.
In addition, if the OLT does not receive the synchronization alarm message before, the synchronization alarm list maintained by the OLT is in an initial state (for example, the initial state of the synchronization alarm in the synchronization alarm list is set to be that no alarm is generated), the OLT compares the synchronization alarm state in the synchronization alarm message with the initial state of the synchronization alarm in the synchronization alarm list, and determines that the alarm state changes if the state of one synchronization alarm is different in the alarm message and the synchronization alarm list.
Optionally, the ONU determines the type identifier according to the following method: and the ONU determines the type identifier corresponding to the type of the synchronous alarm with the changed state according to the type of the synchronous alarm and the corresponding relation between the preset type of the synchronous alarm and the type identifier.
In the embodiment of the present invention, the ONU may determine the type identifier according to the following method: and after determining the type of the synchronous alarm with the changed state, the ONU determines the type identifier corresponding to the type of the synchronous alarm according to the corresponding relation between the type of the synchronous alarm and the type identifier. For example, the type identifier corresponding to the synchronization alarm that is unlocked at the preset time is an identifier a, and after determining that the state of the synchronization alarm that is unlocked at the preset time is changed, the ONU determines that the type identifier corresponding to the synchronization alarm that is changed in state is an identifier a. Besides determining the type identifier corresponding to the type of the synchronization alarm with the changed state transmission, the ONU may determine the type identifier corresponding to the type of the synchronization alarm with the unchanged state.
Optionally, the type identifier includes some or all of the following:
a preset specific mark;
a message class code for indicating that the message is an alert message;
synchronizing management unit identification corresponding to the synchronous alarm;
and synchronizing alarm numbers corresponding to the alarms.
In the embodiment of the present invention, the type identifier may include a preset specific identifier, a message type code used for indicating that the message is a synchronous alarm message, a synchronous management unit identifier corresponding to the synchronous alarm, and/or a part or all of an alarm number corresponding to the synchronous alarm.
The following describes the components of the above types of identifiers:
1. preset specific mark
The preset specific identifier is used for indicating that the message carrying the specific identifier is a synchronous alarm message, and the specific identifier and the type of the synchronous alarm have a one-to-one correspondence type identifier, wherein the identifier which is not used in the message used for interaction between the existing ONU and the OLT can be used in the invention to indicate the type of the synchronous alarm with the changed state; the existing identification in the message used for the interaction between the existing ONU and the OLT can also be used, but the new meaning is given in the scheme. The specific setting method and meaning of the specific identifier may be agreed by the ONU and the OLT, or may be assigned by a standardization organization.
In actual operation, if the ONU places the preset specific identifier in the synchronization warning message, the OLT may determine that the message is the synchronization warning message after receiving the message including the preset specific identifier, and determine the type of the synchronization warning whose state changes according to the correspondence between the specific identifier and the type of the synchronization warning.
2. Message class code
The message class code may be a preset identifier for indicating that the message is an alarm message, where the alarm message includes a synchronous alarm message and other messages for performing an alarm, and an existing identifier for indicating the alarm message may be used as the message class code. In use, the synchronization management unit identification may be used in conjunction with the message class code to indicate that the message is a synchronization alert message. The message class code itself may not have a one-to-one correspondence with the type of synchronization alarm.
In actual operation, if the ONU adds the message class code SSS to the synchronization warning message, the OLT determines that the message is the synchronization warning message after determining that the message contains the message class code SSS. The specific setting method and meaning of the message type code may be agreed by the ONU and the OLT, or may be assigned by a standardization organization.
3. Synchronization management unit identification
The synchronization management unit identifier corresponding to the synchronization alarm refers to an identifier of a synchronization management unit used by the OLT when performing time synchronization on the ONU, where the synchronization management unit may include, for example, a time transfer management unit, a time status management unit, and a frequency quality management unit according to different information carried by the OLT. The identity of the synchronization management unit may be set, for example, in the following way: the time transfer management unit is identified as 131, the time status management unit is identified as 427, and the frequency quality management unit is identified as 428. The specific setting method and meaning of the synchronization management unit identifier may be agreed by the ONU and the OLT, or may be assigned by a standardization organization.
If the synchronous management unit identifier corresponds to the type of the synchronous alarm one by one, the synchronous management unit identifier can be used as the type identifier of the synchronous alarm; if one synchronization management unit identifier corresponds to multiple synchronization alarm types, the synchronization management unit identifier and the alarm number can be used to distinguish the synchronization alarm types.
In implementation, if the synchronization management unit identifier is used as a part of the type identifier, the ONU may add only the type and state information of the synchronization alarm, of which the state changes in at least one synchronization alarm corresponding to the same synchronization management unit identifier, to the synchronization alarm message; the ONU may also add all types and current states of synchronization alarms corresponding to the same synchronization management unit identifier as state information of the synchronization alarms to the synchronization alarm message, regardless of whether the states of the synchronization alarms change, for example, if the synchronization management unit identifier a corresponds to a clock loss lock, a time loss lock, and an ESMC message loss, the ONU may add the message class code and the synchronization management unit identifier to the synchronization alarm message, and carry the state information of the clock loss lock, the time loss lock, and the ESMC message loss in the synchronization alarm message.
In addition, the synchronization management unit identifier carried in the synchronization warning message may be preset, for example, in the above example, if it is set that the ONU needs to carry the synchronization management unit identifier a and the state information of the synchronization warning corresponding to the synchronization management unit identifier a when generating the synchronization warning message each time, the ONU carries the state information of the clock loss lock, the time loss lock, and the ESMC message loss corresponding to the synchronization management unit identifier a when generating the synchronization warning message each time, regardless of whether the state of the synchronization warning changes.
4. Alarm number corresponding to synchronous alarm
The alarm number refers to a number generated by counting the types of the synchronous alarms from 0 (or 1, or other values), wherein the scope and the mode of numbering the types of the synchronous alarms are not limited in the present invention, for example, only the types of a plurality of synchronous alarms corresponding to the same synchronization management unit identifier may be numbered, or all the types of the synchronous alarms may be numbered. The specific setting method and meaning of the alarm number may be agreed by the ONU and the OLT, or may be assigned by a standardization organization.
The alarm number can be set in the following way in the embodiment of the invention: the types of the synchronous alarms corresponding to the same message class code are numbered, so that the types of the synchronous alarms can uniquely correspond to each other according to the message class code and the alarm number; the types of the synchronous alarms corresponding to the same synchronous management unit identifier can also be numbered, and the types of the synchronous alarms can be uniquely corresponding according to the synchronous management unit identifier and the alarm number.
In the embodiment of the invention, the alarm number can be represented in the synchronous alarm message in the following modes:
the number of the alarm number is added to the synchronous alarm message, or the alarm number is represented in the synchronous alarm message in an indirect or implicit way, for example, the variable or fixed N bits are used for representing the type of the synchronous alarm.
For example, if the alarm number is directly carried in the synchronous alarm message, the number of the alarm number may be placed at an appointed position;
if the alarm number is represented by a specific bit, the agreed bit can be set to an agreed value to represent the type of the synchronous alarm corresponding to the bit. For example, for convenience of description, N bits are referred to as an alarm information table, where the bit length N of the alarm information table is greater than or equal to the total number (M) of types of synchronous alarms corresponding to the synchronous management unit corresponding to the alarm information table. The first M bits of the alarm information table correspond to the types of M synchronous alarms under the corresponding synchronous management unit one by one. The alarm numbers of the synchronous alarms corresponding to the synchronous management unit can be predefined from 0 to M-1, and then the bits 0 to M-1 in the alarm information table correspond to the alarm numbers 0 to M-1. Specifically, bit 0 corresponds to the synchronous alarm corresponding to the alarm number 0, bit 1 corresponds to the synchronous alarm corresponding to the alarm number 1, and so on. For the case that N is greater than M, for the remaining N-M bits in the state information table, one part may be defined as a reserved field, and the other part may be defined as a custom field. For example, when M-N is greater than or equal to 2, bits M to M + L are defined as reserved fields, and bits M + L +1 to N are defined as custom fields. The custom fields correspond to the custom synchronous alarms one to one. The value range of the alarm number of the user-defined synchronous alarm is M + L +1 to N. L, N, M are integers equal to or greater than zero.
Through the method, the ONU can represent the alarm number under the synchronous management unit corresponding to each bit in the synchronous alarm through the bit information, and the OLT can acquire the alarm number under the synchronous management unit corresponding to each bit in the synchronous alarm through the bit information and acquire the alarm number corresponding to the synchronous alarm through the alarm number.
The following illustrates three types of type identifiers corresponding to types of synchronous alarms with changed setting states:
in the first mode, a preset specific identifier is adopted to represent a type identifier corresponding to the type of the synchronous alarm with the changed state:
in step 201, a preset specific identifier may be used as a type identifier corresponding to a type of a synchronous alarm whose state changes. The type identifier may be determined using the following method: the method comprises the steps that a corresponding relation table of specific identification and synchronous alarm type shown in table 1 is preset, after the synchronous alarm with the changed state is determined, the specific identification corresponding to the synchronous alarm type can be determined according to the table 1, and the determined specific identification is used as the synchronous alarm type identification.
Figure BDA0001309044060000151
Figure BDA0001309044060000161
TABLE 1
If the ONU determines that the type of the synchronous alarm with the changed state is clock loss lock, the ONU carries a specific identifier 'identifier A' corresponding to the synchronous alarm type of the clock loss lock in the synchronous alarm message to indicate that the message is the synchronous alarm message, and the type of the synchronous alarm with the changed state is clock loss lock.
And in the second mode, the message type code for indicating that the message is the alarm message and the synchronous management unit identifier corresponding to the synchronous alarm are adopted to indicate the type identifier:
in step 201, the ONU may indicate that the synchronization alarm message is a synchronization alarm message through the message class code and the synchronization management unit identifier, and indicate the type of the synchronization alarm whose state changes through the synchronization management unit identifier, where the synchronization management unit identifier corresponds to the type of the synchronization alarm one to one. The message class code may be set using the following method: setting a specific value of a certain position M as N (for example, 1) as a message type code, and determining that a certain message is a synchronous warning message when the OLT judges that the specific value of the position M of the certain message is N; the type identifier may be determined using the following method: the corresponding relationship between the synchronization management unit identifier and the type of the synchronization alarm shown in table 2 is preset, so that after the synchronization alarm with a changed state is determined, the synchronization management unit identifier corresponding to the type of the synchronization alarm can be determined according to table 2, and the determined synchronization management unit identifier is used as the type identifier of the synchronization alarm.
Synchronization management unit identification Type of synchronization alarm
Synchronization management unit identification a Clock lock
Synchronization management unit identification B Time losing lock
Synchronization management unit identification C ESMC message loss
…… ……
TABLE 2
If the ONU determines that the type of the synchronous alarm with the changed state is clock loss lock, the ONU carries a message type code and a specific synchronous management unit identifier 'synchronous management unit identifier A' corresponding to the synchronous alarm type of the clock loss lock in the synchronous alarm message to indicate that the message is the synchronous alarm message, and the type of the synchronous alarm with the changed state is clock loss lock.
And in the third mode, the message type code for indicating that the message is the synchronous alarm message, the synchronous management unit identifier corresponding to the synchronous alarm and the type identifier corresponding to the type of the synchronous alarm with the changed state are adopted:
in step 201, the ONU may indicate that the synchronous alarm message is a synchronous alarm message through the message class code and the synchronous management unit identifier, and indicate the type of the synchronous alarm with a changed state through the synchronous management unit identifier and the alarm number corresponding to the synchronous alarm, where at least one synchronous management unit identifier corresponds to at least one synchronous alarm type, and the alarm numbers between different synchronous alarm types corresponding to the same synchronous management unit identifier are not repeated.
The type identifier used may be determined using the following method: if the synchronous management unit identifier and the corresponding relationship between the alarm number and the type of the synchronous alarm shown in table 3 are preset, after the synchronous alarm with the changed state is determined, the synchronous management unit identifier and the alarm number corresponding to the type of the synchronous alarm can be determined according to table 2, and the combination of the synchronous management unit identifier and the alarm number is used as the type identifier of the synchronous alarm with the changed state.
In table 3, the alarm number may be set by the following method: the alarm numbers between all synchronous alarm types are not repeated, or the alarm numbers between synchronous alarm types with the same synchronous management unit identification are not repeated; if the alarm numbers between the types of the synchronous alarms with the same synchronous management unit identification are not repeated, the alarm numbers between the types of the synchronous alarms with the same synchronous management unit identification are numbered from 1 in an accumulated mode. The alarm number may be a cumulative number from a value other than 1, for example, 0.
Figure BDA0001309044060000171
Figure BDA0001309044060000181
TABLE 3
If the ONU determines that the type of the synchronous alarm with the changed state is ESMC message loss, the ONU carries a message type code in the synchronous alarm message, and a specific synchronous management unit identifier 'synchronous management unit identifier B' and an alarm number '2' corresponding to the synchronous alarm type with the ESMC message loss so as to indicate that the message is the synchronous alarm message, and the type of the synchronous alarm with the changed state is ESMC message loss. Wherein, the alarm number can be represented by bit information in the synchronous alarm message.
Optionally, the determining, by the OLT, the type of the synchronization alarm with the changed state according to the type identifier of the synchronization alarm with the changed state includes:
and determining the type of the synchronous alarm with the changed state corresponding to the type identifier of the synchronous alarm with the changed state according to the preset corresponding relation between the type of the synchronous alarm and the type identifier.
In the embodiment of the invention, after receiving the synchronous alarm message, the OLT determines the type of the synchronous alarm according to the type identifier in the synchronous alarm message and the corresponding relation between the type of the synchronous alarm with the changed preset state and the type identifier.
In implementation, after determining that a certain message includes a category identifier having a specific identifier or a message category code, the OLT may determine that the message is a synchronization warning message, and then determine, by the category identifier, a type of synchronization warning whose state indicated by the synchronization warning message changes, where the category identifier is set by the ONU, and a specific setting method is described in the embodiment of the present invention.
Optionally, the synchronization alert message comprises a message sequence number.
In the embodiment of the present invention, the synchronization warning message generated by the ONU may include a message sequence number, where the message sequence number may be set by using the following method: adding 1 to the message serial number of the synchronous alarm message sent by the ONU before, and after the ONU is initialized, counting from 1 to the message serial number of the synchronous alarm message.
Optionally, the OLT determines whether the synchronization warning message is lost according to a message sequence number in the synchronization warning message, and the OLT determines whether the received synchronization warning message is continuous according to the message sequence number in the synchronization warning message.
In the embodiment of the invention, because the ONU carries the message serial number in the synchronous alarm message and the message serial number is added with 1 on the basis of the message serial number of the synchronous alarm message sent by the ONU before, the OLT judges whether the synchronous alarm message is lost or not according to the message serial number after receiving the synchronous alarm message. In addition, the OLT may determine how much received synchronous alarm message and the previous synchronous alarm message according to the message sequence number, and further compare the two continuous synchronous alarm messages to determine the changed synchronous alarm.
Optionally, the sending, by the ONU, the synchronization warning message to the OLT includes: the ONU determines a corresponding management channel according to a preset corresponding relation between the ONU and the management channel; and the ONU sends a synchronization alarm message to the OLT through the management channel.
In the embodiment of the present invention, as shown in fig. 1, one OLT may access at least one ONU, and if the OLT accesses a plurality of ONUs, in order to enable the OLT to determine the ONU performing the synchronization alarm, a correspondence between the ONU and the management channel may be preset, and the ONU uses the management channel corresponding to itself to send the synchronization alarm message to the OLT.
Optionally, after receiving the synchronization warning message sent by the ONU, the OLT further includes: determining a management channel receiving the synchronous alarm message; and determining the ONU corresponding to the management channel according to the preset corresponding relation between the ONU and the management channel.
In the embodiment of the invention, when the OLT receives the synchronous alarm message, the ONU sending the synchronous alarm message can be determined according to the management channel receiving the synchronous alarm message and the corresponding relation between the preset ONU and the management channel, so that the OLT can determine the ONU performing synchronous alarm from a plurality of accessed ONUs. For example, the correspondence between the number of the management channel and the ONU is preset, and when receiving the synchronization warning message, the OLT may determine the ONU that sends the synchronization warning message according to the number of the management channel that receives the synchronization warning message.
Optionally, the ONU sends a synchronization alarm message to the OLT through the device management channel.
In the embodiment of the invention, the ONU can send the synchronization warning message to the OLT through the equipment management channel, wherein the equipment management channel can be established in advance, after the equipment management channel is established, the OLT can appoint the equipment management channel used by the ONU, and the ONU sends the synchronization warning message to the OLT through the appointed equipment management channel.
A device management channel comprises a physical or logical channel used to communicate or carry operational, and management information. For example, in a PON, device management channels include the following: an embedded OAM (Operation, Administration and Maintenance) channel, a PLOAM (Physical Layer Operations, Administration and Maintenance) channel, and an OMCI (ONU Management and Control Interface) channel. The OAM channel is an overhead field specified in a TC (Transmission Convergence) frame, and includes fields such as check, dynamic bandwidth scheduling, and device identification. The PLOAM channel refers to the use of a PLOAM message body in a TC frame, which has a fixed length and a message body format. The OMCI channel refers to a GEM (G-PON Encapsulation Mode, GPON Encapsulation Mode) frame that specifies a Port-ID (Port number, ID, IDentity, number) and encapsulates an OMCI message in the GEM frame. The OMCI message includes a base message set and an extended message set.
For example, in a PON system, when an ONU initializes, the OLT assigns a channel with a dedicated Port-ID to the ONU using a PLOAM message, establishes an OMCI logical management channel between the OLT and the ONU, and during transmission, encapsulates a synchronization management message in a GEM frame and transmits the synchronization management message using the assigned Port-ID.
The following describes specific steps of the ONU performing synchronization alarm to the OLT in the embodiment of the present invention with reference to fig. 4:
step 401: after determining that the state of the synchronous alarm changes, the ONU determines the type identifier of the synchronous alarm with the changed state and determines the state information of the synchronous alarm according to the type of the synchronous alarm;
step 402: the ONU sends a synchronous alarm message carrying the type identifier of the synchronous alarm with the changed state and the state information to the OLT;
step 403: after receiving the synchronization warning message, the OLT determines the ONU that sends the synchronization warning message according to the management channel that receives the synchronization warning message, and determines the synchronization warning whose state changes according to the synchronization warning message, and then ends the process.
After step 403, the OLT may perform synchronization alarm processing according to the synchronization alarm whose state changes, for example, the OLT may report the ONU that sends the synchronization alarm message, the type of the synchronization alarm whose state changes, and the state change of the synchronization alarm to the network management device.
The following illustrates a method for an ONU to perform a synchronization alarm to an OLT in an embodiment of the present invention:
the first embodiment is as follows:
if the equipment is unlocked by the clock and simultaneously causes time unlocking, two synchronous alarm messages can be respectively packaged aiming at the state change of the two synchronous alarms, and the type identifications of the two synchronous alarm messages are respectively selected as the type identification corresponding to the clock unlocking and the type identification corresponding to the time unlocking; in addition, the two synchronous alarm messages carry the state information of the synchronous alarm respectively; and after the ONU encapsulates the content to form two synchronous alarm messages, the OLT manages a channel to transmit the two synchronous alarm messages.
Example two:
if the equipment is unlocked by a clock and simultaneously causes time unlocking, the synchronous alarm with two state sending changes can be packaged into a synchronous alarm message, wherein the type identifier is a message type code indicating that the message is an alarm, and the type identifier of the clock unlocking and the time unlocking (such as the type of the synchronous alarm indicated by a specific identifier) and the state information are simultaneously carried in the synchronous alarm message; and after the ONU encapsulates the content to form a synchronous alarm message, transmitting the synchronous alarm message by utilizing the OLT management channel.
Example three:
if the equipment is unlocked by the clock and simultaneously locked by the time, but the ESMC message is not lost, the synchronous alarm message can be encapsulated by adopting the following method: carrying a message category code indicating that the message is an alarm message in the synchronous alarm message; if the synchronization management unit identifier corresponding to the clock loss lock, the time loss lock and the ESMC message loss is 'synchronization management unit identifier 427', the corresponding synchronization management unit identifier 'synchronization management unit identifier 427' is carried in the synchronization alarm message; if the bit is used for representing the alarm number, setting the first bit position and the second bit position which are used for representing clock unlocking and time unlocking in an alarm state table with 224 bits in the synchronous alarm message as 1, setting the third bit position representing the loss of the ESMC message as 0, and setting the other bits without corresponding alarms as 0; the message sequence number of the synchronous alarm message is increased by 1 on the basis of the message sequence number of the synchronous alarm message of the previous time; and after the ONU encapsulates the content to form a synchronous alarm message, transmitting the synchronous alarm message by utilizing the OLT management channel.
Example four:
if the equipment is changed from the clock loss lock state to the normal state, and the time loss lock state is changed to the normal state, but the ESMC message is not lost, the synchronous alarm message can be encapsulated by adopting the following method: carrying a message category code indicating that the message is an alarm message in the synchronous alarm message; if the synchronization management unit identifier corresponding to the clock loss lock, the time loss lock and the ESMC message loss is 'synchronization management unit identifier 427', the corresponding synchronization management unit identifier 'synchronization management unit identifier 427' is carried in the synchronization alarm message; if the bit is used for representing the alarm number, setting the first bit position and the second bit position which are used for representing clock unlocking and time unlocking in an alarm state table with 224 bits in the synchronous alarm message as 0, setting the third bit position representing the loss of the ESMC message as 0, and setting other bits without corresponding alarms as 0; the message sequence number is increased by 1 on the basis of the message sequence number of the previous synchronous alarm message; after the ONU packages the content to form a synchronous alarm message, transmitting the synchronous alarm message by utilizing an OLT management channel;
if the OLT updates the state table of the synchronization alarm according to the synchronization alarm message received in the third embodiment, the OLT can determine that the first and second bit positions for indicating the clock loss-of-lock and the time loss-of-lock are set from 1 to 0 after receiving the synchronization alarm message in the fourth embodiment, and accordingly, the OLT determines that the synchronization alarm of the clock loss-of-lock and the time loss-of-lock is eliminated.
And 5, implementation example five:
if the equipment does not have clock loss lock and time loss lock but does not have ESMC message loss, the following method can be adopted to package the synchronous alarm message: carrying a message category code indicating that the message is an alarm message in the synchronous alarm message; if the synchronization management unit identifier corresponding to the clock loss lock, the time loss lock and the ESMC message loss is 'synchronization management unit identifier 427', the corresponding synchronization management unit identifier 'synchronization management unit identifier 427' is carried in the synchronization alarm message; if the bit is used for representing the alarm number, setting the first bit position used for representing clock unlocking in an alarm state table with 224 bits in the synchronous alarm message as 0, setting the second bit position used for representing time unlocking as 1, setting the third bit position used for representing ESMC message loss as 0, and setting other bits without corresponding alarms as 0; the message sequence number is increased by 1 on the basis of the message sequence number of the previous synchronous alarm message; after the ONU packages the content to form a synchronous alarm message, transmitting the synchronous alarm message by utilizing an OLT management channel;
if the OLT updates the state table of the synchronization alarm according to the synchronization alarm message received in the fourth embodiment, the OLT can determine that the second bit position for indicating the time loss lock is set from 0 to 1 after receiving the synchronization alarm message in the fifth embodiment, and accordingly, the OLT determines that the synchronization alarm of the time loss lock is generated.
Example six:
if the clock is not unlocked, the time is unlocked and the ESMC message is lost, the following method can be adopted to package the synchronous alarm message: carrying a message category code indicating that the message is an alarm message in the synchronous alarm message; if the synchronization management unit identifier corresponding to the clock loss lock, the time loss lock and the ESMC message loss is 'synchronization management unit identifier 427', the corresponding synchronization management unit identifier 'synchronization management unit identifier 427' is carried in the synchronization alarm message; if the bit is used for representing the alarm number, setting the first bit position and the second bit position which are used for representing clock unlocking and time unlocking in an alarm state table with 224 bits in the synchronous alarm message as 0 and 1, setting the third bit position which represents ESMC message loss as 1, and setting other bits without corresponding alarms as 0; the message sequence number is increased by 1 on the basis of the message sequence number of the previous synchronous alarm message; after the ONU packages the content to form a synchronous alarm message, transmitting the synchronous alarm message by utilizing an OLT management channel;
if the OLT updates the state table of the synchronous alarm according to the synchronous alarm message received in the fifth embodiment, the OLT can determine that the second bit position for indicating the loss of the ESMC message is set from 0 to 1 after receiving the synchronous alarm message in the sixth embodiment, and accordingly, the OLT determines that the synchronous alarm of the ESMC message loss occurs at the time.
Based on the same inventive concept, the embodiment of the invention also provides the ONU for carrying out synchronous alarm. Because the principle of solving the problem of the ONU is similar to the method of the embodiment of the present invention, the implementation of the ONU may refer to the implementation of the method of the present invention, and the repeated parts are not described in detail.
As shown in fig. 5, an ONU for performing synchronization alarm according to an embodiment of the present invention includes:
a synchronous alarm message generating module 501, configured to generate a synchronous alarm message after a state of the synchronous alarm is changed, where the synchronous alarm message includes a type identifier of the synchronous alarm and state information of the synchronous alarm;
a sending module 502, configured to send a synchronization alarm message to the OLT, so that the OLT determines a synchronization alarm with a changed state according to the synchronization alarm message.
Optionally, synchronizing the alert message comprises:
the type identification of the synchronous alarm with changed state and the state information of the synchronous alarm; or
The type identification of the synchronous alarm with changed state and the state information of the synchronous alarm, and the type identification with unchanged state and the state information of the synchronous alarm.
Optionally, the synchronous warning message generating module 501 is specifically configured to:
and determining the type identifier corresponding to the type of the synchronous alarm according to the type of the synchronous alarm and the preset corresponding relationship between the type of the synchronous alarm and the type identifier.
Optionally, the type identifier includes some or all of the following:
a preset specific mark;
a message class code for indicating that the message is an alert message;
synchronizing management unit identification corresponding to the synchronous alarm;
and synchronizing alarm numbers corresponding to the alarms.
Optionally, the sending module 502 is specifically configured to:
determining a management channel corresponding to the management channel according to a preset corresponding relation between the ONU and the management channel;
and sending a synchronous alarm message to the OLT through the management channel.
Based on the same inventive concept, the embodiment of the invention also provides the OLT for carrying out the synchronous alarm. Because the principle of the OLT for solving the problem is similar to the method of the embodiment of the present invention, the implementation of the OLT may refer to the implementation of the method of the present invention, and repeated details are not described.
As shown in fig. 6, an OLT for performing synchronous alarm according to the present invention includes:
a receiving module 601, configured to receive a synchronization warning message sent by an ONU, where the synchronization warning message includes a type identifier of a synchronization warning and status information of the synchronization warning;
the determining module 602 is configured to determine a synchronous alarm with a changed state according to the synchronous alarm message.
Optionally, the determining module 602 is specifically configured to:
determining the type of the synchronous alarm with the changed state according to the following method:
if the type identifier in the synchronous alarm message is the type identifier of the synchronous alarm with the changed state, taking the type identifier of the synchronous alarm in the synchronous alarm message as the type identifier of the synchronous alarm with the changed state, and determining the type of the synchronous alarm with the changed state according to the type identifier of the synchronous alarm with the changed state; or
If the type identifier in the synchronization alarm message is the type identifier of the synchronization alarm with the changed state and the type identifier with the unchanged state, the OLT determines the type of the synchronization alarm with the changed state according to the previously received synchronization alarm message.
Optionally, the determining module 602 is specifically configured to:
and determining the type of the synchronous alarm with the changed state corresponding to the type identifier with the changed state according to the preset corresponding relation between the type of the synchronous alarm and the type identifier.
Optionally, the type identifier includes some or all of the following:
a preset specific mark;
a message class code for indicating that the message is an alert message;
synchronizing management unit identification corresponding to the synchronous alarm;
and synchronizing alarm numbers corresponding to the alarms.
Optionally, the determining module 602 is further configured to:
determining a management channel receiving the synchronous alarm message;
and determining the ONU corresponding to the management channel according to the preset corresponding relation between the ONU and the management channel.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (18)

1. A method for performing a synchronized alert, the method comprising:
after the state of the synchronous alarm is changed, the ONU generates a synchronous alarm message, wherein the synchronous alarm message comprises a type identifier of the synchronous alarm and state information of the synchronous alarm;
the ONU sends the synchronization alarm message to the OLT so that the OLT determines the synchronization alarm with the changed state according to the synchronization alarm message; wherein the synchronization warning message comprises: the type identification of the synchronous alarm with changed state and the state information of the synchronous alarm, and the type identification with unchanged state and the state information of the synchronous alarm;
the type identification of the synchronous alarm comprises: synchronizing the management unit identification and the alarm number;
the method further comprises the following steps: and if one synchronous management unit identifier corresponds to at least one synchronous alarm type, the ONU uses the synchronous management unit identifier and the alarm number corresponding to the type as the synchronous alarm type identifier according to the synchronous alarm type.
2. The method of claim 1, wherein the ONU determines the type identifier according to the following method:
and the ONU determines a type identifier corresponding to the type of the synchronous alarm according to the type of the synchronous alarm and the corresponding relation between the preset type of the synchronous alarm and the type identifier.
3. The method of any of claims 1-2, wherein the type identifier further comprises some or all of:
a preset specific mark;
a message class code for indicating that the message is an alert message.
4. The method of claim 1, wherein the ONU sending the synchronization warning message to an OLT, comprising:
the ONU determines a corresponding management channel according to a preset corresponding relation between the ONU and the management channel;
and the ONU sends the synchronization warning message to the OLT through the management channel.
5. A method for performing a synchronized alert, the method comprising:
the OLT receives a synchronization alarm message sent by the ONU, wherein the synchronization alarm message comprises: the type identification of the synchronous alarm with changed state and the state information of the synchronous alarm, and the type identification with unchanged state and the state information of the synchronous alarm; the type identification of the synchronous alarm comprises: synchronizing the management unit identification and the alarm number;
if one synchronization management unit identifier corresponds to at least one synchronization alarm type, the OLT determines the type of the synchronization alarm with the changed state according to the synchronization management unit identifier and the alarm number.
6. The method of claim 5, wherein the OLT determining a synchronization alarm with a changed state based on the synchronization alarm message comprises:
the OLT determines the type of the synchronous alarm with the changed state according to the following method:
if the type identifier in the synchronous alarm message is the type identifier of the synchronous alarm with the changed state, the OLT takes the type identifier of the synchronous alarm in the synchronous alarm message as the type identifier of the synchronous alarm with the changed state, and determines the type of the synchronous alarm with the changed state according to the type identifier of the synchronous alarm with the changed state; or
And if the type identifier in the synchronous alarm message is the type identifier of the synchronous alarm with the changed state and the type identifier with the unchanged state, the OLT determines the type of the synchronous alarm with the changed state according to the previously received synchronous alarm message.
7. The method of claim 6, wherein the OLT determines the type of the synchronization alarm with the changed state according to the type identifier of the synchronization alarm with the changed state, and comprises:
and determining the type of the synchronous alarm with the changed state corresponding to the type identifier of the synchronous alarm with the changed state according to the preset corresponding relation between the type of the synchronous alarm and the type identifier.
8. A method according to any of claims 5 to 7, wherein the type identifier comprises some or all of:
a preset specific mark;
a message class code for indicating that the message is an alert message;
synchronizing management unit identification corresponding to the synchronous alarm;
and synchronizing alarm numbers corresponding to the alarms.
9. The method of claim 5, wherein after the OLT receives the synchronization warning message sent by the ONU, the method further comprises:
the OLT determines a management channel receiving the synchronous alarm message;
and the OLT determines the ONU corresponding to the management channel according to the preset corresponding relation between the ONU and the management channel.
10. An ONU for performing a synchronization alarm, comprising:
the synchronous alarm message generating module is used for generating a synchronous alarm message after the state of the synchronous alarm is changed, wherein the synchronous alarm message comprises a type identifier of the synchronous alarm and state information of the synchronous alarm;
a sending module, configured to send the synchronization warning message to an OLT, so that the OLT determines a synchronization warning whose state changes according to the synchronization warning message; wherein the synchronization warning message comprises: the type identification of the synchronous alarm with changed state and the state information of the synchronous alarm, and the type identification with unchanged state and the state information of the synchronous alarm;
the type identification of the synchronous alarm comprises: synchronizing the management unit identification and the alarm number;
and if one synchronous management unit identifier corresponds to at least one synchronous alarm type, the ONU uses the synchronous management unit identifier and the alarm number corresponding to the type as the synchronous alarm type identifier according to the synchronous alarm type.
11. The ONU of claim 10, wherein the synchronization alarm message generation module is specifically configured to:
and determining the type identifier corresponding to the type of the synchronous alarm according to the type of the synchronous alarm and the preset corresponding relationship between the type of the synchronous alarm and the type identifier.
12. The ONU of any of claims 10-11, wherein the type identifier comprises some or all of:
a preset specific mark;
a message class code for indicating that the message is an alert message;
synchronizing management unit identification corresponding to the synchronous alarm;
and synchronizing alarm numbers corresponding to the alarms.
13. The ONU of claim 10, wherein the sending module is specifically configured to:
determining a management channel corresponding to the management channel according to a preset corresponding relation between the ONU and the management channel;
and sending the synchronous alarm message to the OLT through the management channel.
14. An OLT for performing a synchronization alarm, comprising:
the receiving module is used for receiving a synchronous alarm message sent by the ONU, wherein the synchronous alarm message comprises a type identifier of the synchronous alarm and state information of the synchronous alarm; wherein the synchronization warning message comprises: the type identification of the synchronous alarm with changed state and the state information of the synchronous alarm, and the type identification with unchanged state and the state information of the synchronous alarm; the type identification of the synchronous alarm comprises: synchronizing the management unit identification and the alarm number;
and the determining module is used for determining the type of the synchronous alarm with the changed state according to the synchronous management unit identification and the alarm number if one synchronous management unit identification corresponds to at least one synchronous alarm type.
15. The OLT of claim 14, wherein the determining module is specifically configured to:
determining the type of the synchronous alarm with the changed state according to the following method:
if the type identifier in the synchronous alarm message is the type identifier of the synchronous alarm with the changed state, taking the type identifier of the synchronous alarm in the synchronous alarm message as the type identifier of the synchronous alarm with the changed state, and determining the type of the synchronous alarm with the changed state according to the type identifier of the synchronous alarm with the changed state; or
And if the type identifier in the synchronous alarm message is the type identifier of the synchronous alarm with the changed state and the type identifier with the unchanged state, the OLT determines the type of the synchronous alarm with the changed state according to the previously received synchronous alarm message.
16. The OLT of claim 15, wherein the determining module is specifically configured to:
and determining the type of the synchronous alarm with the changed state corresponding to the type identifier with the changed state according to the preset corresponding relation between the type of the synchronous alarm and the type identifier.
17. The OLT of any of claims 14-16, wherein the type identifier comprises some or all of the following:
a preset specific mark;
a message class code for indicating that the message is an alert message;
synchronizing management unit identification corresponding to the synchronous alarm;
and synchronizing alarm numbers corresponding to the alarms.
18. The OLT of claim 14, wherein the determination module is further to:
determining a management channel receiving the synchronous alarm message;
and determining the ONU corresponding to the management channel according to the corresponding relation between the preset ONU and the management channel.
CN201710398279.7A 2017-05-31 2017-05-31 Method and equipment for synchronous alarm Active CN108990083B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710398279.7A CN108990083B (en) 2017-05-31 2017-05-31 Method and equipment for synchronous alarm
PCT/CN2018/088895 WO2018219276A1 (en) 2017-05-31 2018-05-29 Method and device for carrying out synchronized alarming, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710398279.7A CN108990083B (en) 2017-05-31 2017-05-31 Method and equipment for synchronous alarm

Publications (2)

Publication Number Publication Date
CN108990083A CN108990083A (en) 2018-12-11
CN108990083B true CN108990083B (en) 2021-10-29

Family

ID=64455206

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710398279.7A Active CN108990083B (en) 2017-05-31 2017-05-31 Method and equipment for synchronous alarm

Country Status (2)

Country Link
CN (1) CN108990083B (en)
WO (1) WO2018219276A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113688144A (en) * 2020-05-19 2021-11-23 中兴通讯股份有限公司 Recording data synchronization method, device, equipment and storage medium
CN111885437A (en) * 2020-07-21 2020-11-03 中通服软件科技有限公司 Commercial power failure monitoring method, system, equipment and storage medium
CN111953412B (en) * 2020-08-07 2022-03-08 苏州浪潮智能科技有限公司 Method and device for realizing optical information synchronization of optical module switch
CN117081696A (en) * 2022-05-09 2023-11-17 中国电信股份有限公司 Method and system for synchronizing downlink signals
CN118138126A (en) * 2022-12-02 2024-06-04 中国移动通信有限公司研究院 Optical network fault management method, device and medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150365A (en) * 2007-10-22 2008-03-26 中兴通讯股份有限公司 A management method of passive optical network terminal
CN102014012B (en) * 2009-09-04 2014-03-19 中兴通讯股份有限公司 Synchronous alarming method and device
CN102195736B (en) * 2010-03-15 2015-11-25 中兴通讯股份有限公司 The processing method of time synchronized, system and OLT in EPON
CN105703893A (en) * 2014-11-25 2016-06-22 中兴通讯股份有限公司 Clock source attribute synchronization method, clock source attribute synchronization device and clock source attribute synchronization system
CN105959137B (en) * 2016-04-29 2019-05-24 烽火通信科技股份有限公司 The synchronous method and device of configuration data is realized in a kind of PON system

Also Published As

Publication number Publication date
WO2018219276A1 (en) 2018-12-06
CN108990083A (en) 2018-12-11

Similar Documents

Publication Publication Date Title
CN108990083B (en) Method and equipment for synchronous alarm
EP2372932B1 (en) Time synchronization method and corresponding synchronization system for passive optical network system
US7903681B2 (en) Method for distributing a common time reference within a distributed architecture
CN101677415B (en) Optical network system data link switching method, optical network unit and system
CN102273109A (en) Field framing with built-in information
WO2008098491A1 (en) A time synchronous method, system and apparatus
CN102136900A (en) Time synchronization method for passive optical network, device and system
US20100329404A1 (en) System for synchronizing clock
CN105228183A (en) Upstream data abnormality eliminating method and device
US6665315B1 (en) Transmission apparatus automatically acquiring identifying information and independently measuring propagation delay
CN101945468A (en) Method, system and device for clock synchronization
EP2553861B1 (en) Methods and arrangements in optical network
CN101945305A (en) Method and system for realizing time synchronization
CN107959537B (en) State synchronization method and device
JP2007295151A (en) Pon system and station side apparatus and terminal used for the same
CN102377481B (en) Distance-finding method in a kind of EPON and system
KR20120048700A (en) Method and system for time synchronization in a passive optical network
CN103139669A (en) Method and system for sending data
KR101679628B1 (en) System and method for synchronizing precision time in passive optical network
CN110708135B (en) Communication control system and method of passive optical network
US6792101B2 (en) Method to transport a reference clock signal
WO2020075318A1 (en) Station apparatus, subscriber apparatus, synchronization method, and pon system
CN102264011A (en) Method and device for determining time delay and performing clock synchronization based on GPON (gigabit-capable passive optical network)
JP2016119578A (en) PON system, ONU, OLT and transmission method
WO2021196932A1 (en) Multiplexing-based channel identification method and apparatus therefor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 19th floor, No.29, Financial Street, Xicheng District, Beijing 100032

Applicant after: CHINA MOBILE COMMUNICATION LTD., Research Institute

Applicant after: CHINA MOBILE COMMUNICATIONS GROUP Co.,Ltd.

Address before: 19th floor, No.29, Financial Street, Xicheng District, Beijing 100032

Applicant before: CHINA MOBILE COMMUNICATION LTD., Research Institute

Applicant before: China Mobile Communications Corp.

GR01 Patent grant
GR01 Patent grant