Method, device, equipment and storage medium for sending fault information
By generating and transmitting an AIS signal containing a fault indication frame in the optical transmission network, the problem of the inability to locate a channel-level fault in the prior art is solved, and fast and accurate fault positioning and repair are achieved, which is suitable for channel-level fault detection of the optical transmission network.
Patent Information
- Application Number
- CN202211510669.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-29
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2042-11-29
AI Technical Summary
The prior art is unable to effectively locate channel-level faults in the optical transmission network, resulting in low fault repair efficiency, and may damage the field environment or fail to meet the location requirements of channel-level faults.
An alarm indication AIS signal is generated in the optical transmission network. By inserting a fault indication frame into the AIS signal, it contains fault information for channel failure and transmits it transparently to the management device so that the management device can obtain fault information for location.
It realizes accurate positioning of channel-level faults, improves fault repair efficiency, avoids damage to the on-site environment, and is suitable for fault detection under normal business conditions.
Smart Images

Figure CN115866458B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method, apparatus, device, and storage medium for sending fault information. Background Art
[0002] Optical transport networks (OTNs) are often used to carry dedicated line services for high-value customers, such as government and enterprise private lines. These customers have strict requirements for service interruption time. When a communications network failure occurs, the faster the fault is repaired, the higher the customer satisfaction. Quickly locating the root cause is a prerequisite for repair. Currently, fault location can be determined using the following methods: 1. Manual loopback: When a communications network failure occurs, experienced operations and maintenance personnel manually loop back each segment of the dedicated line service path, comparing the service connectivity at different loopback points to identify the approximate fault point. 2. Automatic loopback: Software automatically loops back each segment, comparing the service connectivity at different loopback points to identify the approximate fault point. 3. First, organize existing faults into case studies and establish a fault location case library. When a communications network failure occurs, this fault location case library is used to locate the fault by searching for fault identifiers that match the fault alarm signal. 4. Collect the entire network topology, and the network management system extracts link connectivity based on the network topology. When a fault occurs, the network management system analyzes the alarm protocol association and link connection relationship and gives the root cause of the fault.
[0003] However, the manual loopback method described above relies on the experience and capabilities of the operations and maintenance personnel, resulting in low positioning efficiency. Furthermore, both the manual and automatic loopback methods involve loopbacks on the equipment, which is an invasive positioning method. This can potentially damage the on-site environment, causing the fault to disappear and making it impossible to locate the root cause. Furthermore, it is not suitable for detecting service connectivity issues when the service is normal. While the case analysis method is accurate in positioning, it cannot locate fault types that are not in the case library, so it cannot be used in some special situations. The alarm correlation method requires correlation analysis between alarms and topology. Operator networks are typically large in scale, with large amounts of topology and alarm data. This makes analysis complex and inadequate for locating channel-level faults.
[0004] Therefore, how to locate faults in OTN is a technical problem that needs to be solved urgently. Summary of the Invention
[0005] The present application provides a method, apparatus, device, and storage medium for sending fault information to at least solve the technical problem in related technologies that it is impossible to locate channel-level faults. The technical solution of the present application is as follows:
[0006] According to a first aspect of the present application, a method for sending fault information is provided, which is applied to a transmission device in an optical transport network (OTN), where the OTN also includes a management device. The method includes: generating an alarm indication AIS signal when a path fault exists in the transmission device; the AIS signal includes a fault indication frame, the fault indication frame includes a fault indication field and fault information of a path fault, and the fault indication field is used to indicate the presence of a path fault; and sending the AIS signal to the management device, so that after receiving the AIS signal, the management device obtains the fault information of the path fault from the fault indication frame when determining that the fault indication frame exists in the AIS signal.
[0007] In a possible implementation, the generating of the alarm indication AIS signal includes: adjusting the frame type of a preset operation, maintenance and management (OAM) frame to obtain a fault indication frame; and inserting the fault indication frame into a preset alarm signal to obtain the AIS signal.
[0008] In a possible implementation, the above-mentioned adjustment of the frame type of the preset operation, maintenance and management OAM frame to obtain the fault indication frame includes: modifying the preset field value of the OT field of the OAM frame to the target field value to obtain the fault indication frame; the OT field is used to indicate the frame type of the OAM frame, and the OT field whose field value is the target field value is the fault indication field.
[0009] In a possible implementation, the sending of the AIS signal to the management device includes: sending the AIS signal to a downstream device on a transmission link where the transmission device is located, so as to send the AIS signal to the management device in a transparent transmission manner.
[0010] In a possible implementation manner, the fault information of the channel fault includes a device identifier of the transmission device, a slot identifier where the channel fault occurs, a port identifier, and a channel identifier.
[0011] According to a second aspect of the present application, a fault information sending device is provided, which is applied to transmission equipment in an optical transport network (OTN). The OTN also includes a management device. The device includes a generating unit and a sending unit. The generating unit is configured to generate an alarm indication AIS signal when a channel fault exists in the transmission equipment. The AIS signal includes a fault indication frame, which includes a fault indication field and fault information of a channel fault. The fault indication field is used to indicate the presence of a channel fault. The sending unit is configured to send the AIS signal to the management device, so that after receiving the AIS signal, the management device obtains the fault information of the channel fault from the fault indication frame when determining that the AIS signal contains the fault indication frame.
[0012] In a possible implementation, the generating unit is specifically configured to: adjust the frame type of a preset operation, maintenance and management (OAM) frame to obtain a fault indication frame; and insert the fault indication frame into a preset alarm signal to obtain an AIS signal.
[0013] In a possible implementation, the generation unit is specifically configured to modify the preset field value of the OT field of the OAM frame to a target field value to obtain a fault indication frame; the OT field is used to indicate the frame type of the OAM frame, and the OT field whose field value is the target field value is a fault indication field.
[0014] In a possible implementation manner, the sending unit is specifically configured to send an AIS signal to a downstream device on a transmission link where the transmission device is located, so as to send the AIS signal to the management device in a transparent transmission manner.
[0015] In a possible implementation manner, the fault information of the channel fault includes a device identifier of the transmission device, a slot identifier where the channel fault occurs, a port identifier, and a channel identifier.
[0016] According to the third aspect provided by the present application, a transmission device is provided, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the method of the above-mentioned first aspect and any possible implementation method thereof.
[0017] According to the fourth aspect provided by the present application, a computer-readable storage medium is provided. When the instructions in the computer-readable storage medium are executed by the processor of the transmission device, the transmission device is enabled to execute the method in the above-mentioned first aspect and any possible implementation method thereof.
[0018] According to the fifth aspect provided by the present application, a computer program product is provided, which includes computer instructions. When the computer instructions are executed on a transmission device, the transmission device executes the method of the above-mentioned first aspect and any possible implementation method thereof.
[0019] The technical solution of the first aspect provided in the present application brings at least the following beneficial effects: after determining that a channel fault exists in a transmission device, by inserting a fault indication frame into an AIS signal and sending the AIS signal to a management device, the management device can obtain fault information of the channel fault from the fault indication frame, and then locate the fault based on the fault information, thereby achieving the location of the channel-level fault.
[0020] It should be noted that the technical effects brought about by any implementation method in the second to fifth aspects can refer to the technical effects brought about by the corresponding implementation method in the first aspect, and will not be repeated here.
[0021] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.
[0023] Figure 1 is a structural diagram of a system for sending fault information according to an exemplary embodiment;
[0024] Figure 2 is a flow chart showing a method for sending fault information according to an exemplary embodiment;
[0025] Figure 3 is a flowchart illustrating another method for sending fault information according to an exemplary embodiment;
[0026] Figure 4 is a flowchart illustrating another method for sending fault information according to an exemplary embodiment;
[0027] Figure 5 is a schematic diagram showing the structure of a fault indication frame according to an exemplary embodiment;
[0028] Figure 6 is a schematic diagram showing a method for sending fault information according to an exemplary embodiment;
[0029] Figure 7 is a block diagram of a device for sending fault information according to an exemplary embodiment;
[0030] Figure 8 The figure is a block diagram of a transmission device according to an exemplary embodiment. DETAILED DESCRIPTION
[0031] In order to enable ordinary people in the art to better understand the technical solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0032] It should be noted that the terms "first," "second," and the like in the specification and claims of this application and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate so that the embodiments of the application described herein can be implemented in an order other than those illustrated or described herein. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
[0033] Before introducing the method for sending fault information provided by the present application in detail, a brief introduction to the implementation environment (implementation architecture) involved in the present application is first given.
[0034] The method for sending fault information provided by the embodiment of the present invention may be applicable to a system for sending fault information, and the sending system of the fault information may specifically be OTN. Figure 1 FIG. 1 shows a structural diagram of the fault information sending system. Figure 1 As shown, the fault information sending system 10 includes multiple transmission devices ( Figure 1 Transmission devices 11, 12, and 13 are shown as examples. In actual applications, more or fewer transmission devices and electronic devices 14 may be present. Multiple transmission devices are connected sequentially, with the last transmission device on the transmission link connected to the management device. Connections between faulty devices, and between a faulty device and transmission device 12, can be wired or wireless, and this is not limited in this embodiment of the present invention.
[0035] The transmission device can be used to transmit user data on a transmission link, and the transmission device is further used to replace the user data with an alarm indication signal (AIS) signal including fault information of the channel failure when it is determined that a channel failure has occurred, and send the AIS signal to the management device through the transmission link, so that after receiving the AIS signal, the management device can obtain the fault information of the channel failure from the AIS signal.
[0036] After receiving the AIS signal, the management device may be configured to obtain the fault information of the channel fault from the fault indication frame when the AIS signal includes the fault indication frame.
[0037] Optionally, both the transmission device and the network device can be physical machines, such as a desktop computer, a mobile phone, a tablet computer, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), or other terminal devices, or network devices such as switches, routers, and optical transmission equipment. Furthermore, the management device can be a network management device, a server, or a server cluster consisting of multiple servers.
[0038] For ease of understanding, the method for sending fault information provided by this application is described in detail below with reference to the accompanying drawings.
[0039] Figure 2 This is a flowchart of a method for sending fault information according to an exemplary embodiment. The method can be applied to a transmission device or a device for sending fault information connected to the transmission device. At the same time, the method can also be applied to a device similar to the transmission device or the device for sending fault information. The following describes the method by taking the application of the method to the transmission device as an example. Figure 2 As shown, the method for sending fault information includes the following steps:
[0040] S201: When a channel failure occurs in the transmission device, the transmission device generates an alarm indication AIS signal.
[0041] The AIS signal includes a fault indication frame, which includes a fault indication field and fault information of a path fault. The fault indication field is used to indicate the presence of a path fault.
[0042] As a possible implementation manner, after a channel fault occurs, the transmission device generates a fault indication frame and inserts the fault indication frame into a preset alarm signal to obtain an AIS signal.
[0043] In some embodiments, the fault information of the above-mentioned channel fault includes a device identifier of the transmission device, a slot identifier of the channel fault to which the device belongs, a port identifier, and a channel identifier.
[0044] For the specific implementation of this step, please refer to the subsequent description of the embodiments of this application and will not be repeated here.
[0045] S202: The transmission device sends an AIS signal to the management device, so that after receiving the AIS signal, the management device obtains fault information of the channel fault from the fault indication frame if it determines that the AIS signal contains a fault indication frame.
[0046] As a possible implementation, the transmission device replaces the user data to be transmitted with an AIS signal, and sends the AIS signal to a downstream device on the transmission link where the transmission device is located, so as to send the AIS signal to the management device through transparent transmission.
[0047] It should be noted that the last transmission device on the transmission link is connected to the management device and can send the AIS signal to the management device after receiving the AIS signal.
[0048] Correspondingly, the management device receives the AIS signal sent by the transmission device.
[0049] S203: The management device determines whether there is a fault indication frame in the AIS signal.
[0050] As a possible implementation manner, after receiving the AIS signal sent by the last transmission device on the transmission link, the management device determines whether any data frame in the AIS signal includes a fault indication field, and if it is determined that there is a data frame including the fault indication field, determines that the data frame is the fault indication frame in the AIS signal.
[0051] S204: When a fault indication frame exists in the AIS signal, the management device obtains fault information of the channel fault from the fault indication frame.
[0052] The technical solution provided by the present application brings at least the following beneficial effects: after determining that a channel fault exists in a transmission device, by inserting a fault indication frame into an AIS signal and sending the AIS signal to a management device, the management device can obtain fault information of the channel fault from the fault indication frame, and then locate the fault based on the fault information, thereby achieving the location of the channel-level fault.
[0053] In some embodiments, in order to be able to generate an AIS signal, such as Figure 3 As shown, S201 provided in the embodiment of the present application can be implemented in the following manner:
[0054] S301: A transmission device adjusts a preset frame type of an operation and maintenance management frame to obtain a fault indication frame.
[0055] As a possible implementation method, the transmission equipment uses the operation administration maintenance (OAM) frame preset in the optical service unit (OSU) technology, adjusts the frame type of the OAM frame to indicate the presence of a channel fault, and uses the adjusted OAM frame as a fault indication frame.
[0056] It can be understood that in this case, the fault indication frame is used to indicate the presence of a channel fault. When the management device determines that the fault indication frame exists in the AIS signal, it determines that the channel fault exists.
[0057] S302: The transmission device inserts a fault indication frame into a preset alarm signal to obtain an AIS signal.
[0058] In some embodiments, in order to adjust the frame type of the OAM frame to obtain a fault indication frame, such as Figure 4 As shown, S301 provided in the embodiment of the present application can be implemented in the following manner:
[0059] S401: The transmission device modifies the preset field value of the OT field of the OAM frame to a target field value to obtain a fault indication frame.
[0060] The OT field is used to indicate the frame type of the OAM frame, and the OT field whose field value is the target field value is a fault indication field.
[0061] As a possible implementation manner, the transmission device modifies the preset field value of the OT field in the OAM frame to the target field value, that is, adjusts the preset type of the OAM frame to a fault indication frame for indicating a channel fault.
[0062] Figure 5 A schematic diagram of the frame structure of an OAM frame is shown in FIG. Figure 5 As shown, the OAM frame includes an OT field, including bits 5 to 8 of the third byte and bit 1 of the fourth byte, for a total of 5 bits.
[0063] In practical applications, the preset field value may be 00001, indicating that the preset OAM type is a lossless loan adjustment control frame. Upon detecting a path failure, the transmission device modifies the preset field value to a target field value, for example, to 00002, indicating that a path failure exists.
[0064] It can be understood that the embodiment of the present application newly defines an OAM frame in the OSU technical standard, as shown in the target field value 00002 in Table 1 below:
[0065] Table 1
[0066] 5 bits type 00001 Lossless bandwidth adjustment control frame 00002 Fault indication frame other reserve
[0067] The OAM frame size is 192 bytes, including an overhead area and a payload area. The overhead area is 7 bytes (bytes 1 to 7) and the payload area is 185 bytes (bytes 8 to 192). The overhead area includes but is not limited to overhead information such as the VER field, TPN field, FT field, and CRC8 field. Among them, the VER field is used to identify the version number of the OAM frame. The TPN field is the branch port number, which is used to identify the OSU service. The FT field is used to identify the OSU frame type. Specifically, different values of the FT identifier are used to distinguish between OSU basic frames and OSU extended frames. The CRC8 field is a cyclic redundancy check, which is used to perform a cyclic redundancy check on the overhead interval information (bytes 1 to 6) of the OAM frame.
[0068] For example, Figure 5 As shown, the VER field includes bits 1-2 of the first byte, the TPN field includes bits 3-8 of the first byte and bits 1-6 of the second byte, the FT field includes bits 7-8 of the second byte and bit 1 of the third byte, the RES byte includes bits 2-4 of the third byte, the OAM function definition area includes bits 2-8 of the fourth byte, the fifth byte, the sixth byte, and bytes 8-192, and the CRC8 field includes the seventh byte.
[0069] In some embodiments, the fault information of the channel fault involved in the embodiments of the present application may be located in the OAM function definition area or in other fields of the OAM frame, which is not limited in the embodiments of the present application.
[0070] Accordingly, in the case where the fault information of the path fault is located in the OAM function definition area, the management device may obtain the fault information of the path fault from the OAM function definition area after determining that the field value of the OT field is 00002.
[0071] The following describes the method for sending fault information provided in the embodiment of the present application by way of example:
[0072] like Figure 6 As shown, an OTN transmission link includes customer premise equipment (CPE) 1, central office (CO) equipment 2, aggregation / core equipment 3, CO equipment 4, CPE equipment 5 and management equipment 6.
[0073] Among them, CPE device 1 and CPE device 5 both include ETH function, OSU function, ODU (optical data unit) function and OP function, CO device 2, aggregation / core device 3, and CO device 4 all include OP function, ODU function and OSU function.
[0074] When a channel fault occurs between the ODU function and the OSU function of the convergence / core device 3, the convergence / core device 3, as the first fault node, executes the insertion of a maintenance signal and a fault indication frame in the maintenance signal (the AIS signal in the above embodiment). Furthermore, the convergence / core device 3 sends the maintenance signal to the CO device 4 in a transparent transmission manner. The CO device 4 ignores the fault indication frame in the maintenance signal and further sends the maintenance signal to the CPE device 5 in a transparent transmission manner. Similarly, the CPE device 5 sends the maintenance signal to the management device 6 in the same transparent transmission manner. After receiving the maintenance signal, the management device 6 determines that the maintenance signal includes a fault indication frame, and then obtains the fault information such as the device identifier of the convergence / core device 3, the slot identifier where the channel fault occurs, the port identifier, and the channel identifier from the maintenance signal, that is, it determines that a channel fault has occurred in the convergence / core device 3.
[0075] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, the sending device or transmission equipment of the fault information includes a hardware structure and / or software module corresponding to the execution of each function. It should be easy for those skilled in the art to realize that, in combination with the units and algorithm steps of each example 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 function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0076] In the embodiment of the present application, the sending device or transmission device of the fault information can be divided into functional modules according to the above method. For example, the sending device or transmission device of the fault information can include various functional modules corresponding to the various functional divisions, or two or more functions can 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 functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.
[0077] For example, an embodiment of the present application further provides a device for sending fault information, which is applied to a transmission device in an optical transport network (OTN), where the OTN also includes a management device.
[0078] In some embodiments, Figure 7 FIG. 1 is a block diagram of a device for sending fault information according to an exemplary embodiment. Figure 7The fault information sending device 500 includes a generating unit 501 and a sending unit 502.
[0079] The generating unit 501 is configured to generate an alarm indication AIS signal when a channel fault occurs in the transmission device. The AIS signal includes a fault indication frame, which includes a fault indication field and fault information of the channel fault. The fault indication field is used to indicate the presence of a channel fault.
[0080] The sending unit 502 is configured to send an AIS signal to the management device, so that after receiving the AIS signal, the management device obtains fault information of the channel fault from the fault indication frame if it determines that the AIS signal contains a fault indication frame.
[0081] like Figure 7 As shown, the generation unit 501 provided in the embodiment of the present application is specifically used to:
[0082] The frame type of the preset operation, maintenance and management (OAM) frame is adjusted to obtain a fault indication frame.
[0083] Insert the fault indication frame into the preset alarm signal to obtain the AIS signal.
[0084] like Figure 7 As shown, the generation unit 501 provided in the embodiment of the present application is specifically used to:
[0085] The preset field value of the OT field of the OAM frame is modified to the target field value to obtain a fault indication frame. The OT field is used to indicate the frame type of the OAM frame, and the OT field whose field value is the target field value is the fault indication field.
[0086] like Figure 7 As shown, the sending unit 502 provided in the embodiment of the present application is specifically configured to:
[0087] An AIS signal is sent to a downstream device on the transmission link where the transmission device is located, so as to send the AIS signal to the management device in a transparent transmission manner.
[0088] like Figure 7 As shown, the fault information of the channel fault provided in the embodiment of the present application includes the device identifier of the transmission device, the slot identifier where the channel fault occurs, the port identifier and the channel identifier.
[0089] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0090] Figure 8 FIG. 1 is a block diagram of a transmission device according to an exemplary embodiment. Figure 8As shown, the transmission device 600 includes but is not limited to: a processor 601 and a memory 602 .
[0091] The memory 602 is configured to store executable instructions of the processor 601. It is understood that the processor 601 is configured to execute instructions to implement the method for sending fault information in the above embodiment.
[0092] It should be noted that those skilled in the art can understand that Figure 8 The transmission device structure shown in the figure does not constitute a limitation on the transmission device, and the transmission device may include Figure 8 More or fewer components may be shown, or certain components may be combined, or the components may be arranged differently.
[0093] Processor 601 is the control center of the transmission equipment. It connects the various components of the entire transmission equipment using various interfaces and lines. By running or executing software programs and / or modules stored in memory 602 and accessing data stored in memory 602, it performs various functions of the transmission equipment and processes data, thereby providing overall monitoring of the transmission equipment. Processor 601 may include one or more processing units. Optionally, processor 601 may integrate an application processor and a modem processor. The application processor primarily handles the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 601.
[0094] The memory 602 can be used to store software programs and various data. The memory 602 may primarily include a program storage area and a data storage area. The program storage area may store an operating system and application programs required by at least one functional module (such as a determination unit, a processing unit, etc.). Furthermore, the memory 602 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device.
[0095] In an exemplary embodiment, a computer-readable storage medium including instructions is further provided, such as a memory 602 including instructions. The above instructions can be executed by the processor 601 of the transmission device 600 to implement the method for sending fault information in the above embodiment.
[0096] In actual implementation, Figure 7 The functions of the generating unit 501 and the sending unit 502 can be obtained by Figure 8 The processor 601 in the embodiment calls the computer program stored in the memory 602. The specific execution process can be referred to the description of the method for sending fault information in the above embodiment, which will not be repeated here.
[0097] Optionally, the computer-readable storage medium may be a non-temporary computer-readable storage medium, for example, the non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0098] In an exemplary embodiment, the present application also provides a computer program product including one or more instructions, which can be executed by the processor 601 of the transmission device to complete the method for sending fault information in the above embodiment.
[0099] It should be noted that when the instructions in the above-mentioned computer-readable storage medium or one or more instructions in the computer program product are executed by the processor of the transmission device, the various processes of the above-mentioned fault information sending method embodiment are implemented, and the same technical effect as the above-mentioned fault information sending method can be achieved. To avoid repetition, they will not be repeated here.
[0100] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete the full classification or partial functions described above.
[0101] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0102] The units described as separate components may or may not be physically separate, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0103] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0104] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or the full classification part or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute the full classification part or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks or optical disks.
[0105] The above are only specific embodiments of the present application, but the scope of protection of the present application is not limited thereto. Any changes or replacements within the technical scope disclosed in this application should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A method for sending fault information, characterized in that: A transmission device applied to an optical transport network (OTN), wherein the OTN further includes a management device, and the method includes: In the event that a channel fault exists in the transmission device, an alarm indication AIS signal is generated; the AIS signal includes a fault indication frame, the fault indication frame includes a fault indication field and fault information of the channel fault, and the fault indication field is used to indicate the presence of the channel fault; wherein, generating the alarm indication AIS signal includes: adjusting the frame type of a preset operation, maintenance and management (OAM) frame to obtain the fault indication frame, and inserting the fault indication frame into a preset alarm signal to obtain the AIS signal; The AIS signal is sent to the management device, so that after receiving the AIS signal, the management device obtains the fault information of the channel fault from the fault indication frame if it is determined that the fault indication frame exists in the AIS signal.
2. The sending method according to claim 1, wherein: The adjusting the frame type of the preset operation, maintenance and management (OAM) frame to obtain the fault indication frame includes: The preset field value of the OT field of the OAM frame is modified to the target field value to obtain the fault indication frame; the OT field is used to indicate the frame type of the OAM frame, and when the field value of the OT field is the target field value, the OT field is the fault indication field.
3. The sending method according to claim 1 or 2, characterized in that The sending the AIS signal to the management device includes: The AIS signal is sent to a downstream device on the transmission link where the transmission device is located, so as to send the AIS signal to the management device in a transparent transmission manner.
4. The sending method according to claim 1 or 2, characterized in that The fault information of the channel fault includes the device identifier of the transmission device, the slot identifier where the channel fault occurs, the port identifier, and the channel identifier.
5. A device for sending fault information, characterized in that: A transmission device used in an optical transport network (OTN), wherein the OTN further includes a management device, and the device includes a generating unit and a sending unit; The generating unit is configured to generate an alarm indication AIS signal when a channel fault exists in the transmission device; the AIS signal includes a fault indication frame, the fault indication frame includes a fault indication field and fault information of the channel fault, the fault indication field is used to indicate the presence of the channel fault; the generating unit is specifically configured to: adjust the frame type of a preset operation, maintenance and management (OAM) frame to obtain the fault indication frame; and insert the fault indication frame into a preset alarm signal to obtain the AIS signal; The sending unit is configured to send the AIS signal to the management device, so that after receiving the AIS signal, the management device obtains the fault information of the channel fault from the fault indication frame if it is determined that the fault indication frame exists in the AIS signal.
6. The transmitting device according to claim 5, characterized in that The generating unit is specifically configured to: The preset field value of the OT field of the OAM frame is modified to the target field value to obtain the fault indication frame; the OT field is used to indicate the frame type of the OAM frame, and when the field value of the OT field is the target field value, the OT field is the fault indication field.
7. The transmitting device according to claim 5 or 6, characterized in that The sending unit is specifically configured to: The AIS signal is sent to a downstream device on the transmission link where the transmission device is located, so as to send the AIS signal to the management device in a transparent transmission manner.
8. The transmitting device according to claim 5 or 6, characterized in that The fault information of the channel fault includes the device identifier of the transmission device, the slot identifier where the channel fault occurs, the port identifier, and the channel identifier.
9. A transmission device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of a transmission device, the transmission device is capable of performing the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Alarm indication and suppression (ais) mechanism in an Ethernet oam network.
CN101015157A
Method, device and system for precisely locating fault position under multi-protocol label switching environment
CN102546248A