Information transmission method, device, communication device, and readable storage medium
By encapsulating OAM information into variable-length frames with fixed frame length L and additional fields, the method improves processing efficiency and scalability in OAM information transmission, overcoming the limitations of existing methods.
Patent Information
- Application Number
- JP2022566227
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-11-09
- Filing Date
- 2021-04-20
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2041-04-20
AI Technical Summary
Existing OAM information transmission methods face issues of complicated processing, high time consumption, and poor scalability due to the use of variable length frames with complex alignment processes and fixed-length frames with limited expandability.
The method involves encapsulating OAM information into N data frames with a variable first field for carrying OAM information, a second field representing the value of N or the length of OAM information, a third field for a check code, and a variable fourth field for filling idle portions, where N changes with the amount of OAM information, ensuring a fixed frame length L.
This approach facilitates efficient processing, reduces time consumption, and enhances scalability by allowing flexible frame length adjustment based on OAM information content, addressing the limitations of existing OAM information transmission methods.
Smart Images

Figure 0007612714000004 
Figure 0007612714000005 
Figure 0007612714000006
Abstract
Description
[Technical field]
[0001] (CROSS REFERENCE TO RELATED APPLICATIONS) This application is based on and claims priority to the Chinese patent application having the filing date of April 30, 2020 and the application number 202010366510.6, and the Chinese patent application having the filing date of November 9, 2020 and the application number 202011243284.9, the entire contents of which are hereby incorporated by reference into this disclosure.
[0002] The present application relates to the field of wireless communication technology, and in particular to an information transmission method, apparatus, communication device and readable storage medium. [Background technology]
[0003] In a communication system, the length of each type of data frame is different, and there is a large difference in the length between different data frames. Therefore, in a communication protocol, especially in the case of interconnection, the definition of the frame length has important practical significance for the realization of interconnection.
[0004] Currently, operation, administration and maintenance (OAM) information is mainly formed into an OAM frame by a framing method, and after framing, it is recognized and analyzed by a frame alignment function on the receiving side. Specifically, there are mainly two types of existing OAM framing modes:
[0005] The first OAM framing aspect is for an OAM variable-length frame, which has a flexible format based on a flexible extension length according to the message content being carried, but has a complex frame alignment process and a long frame determination time.
[0006] The second OAM framing mode is for an OAM fixed-length frame, which has a short frame determination time, but the message content is fixed length, has poor expansion performance, and when the message content is large, it cannot be carried in one frame.
[0007] From the above, it can be seen that the current OAM information transmission means have problems such as complex processing, time consumption, and poor scalability. Summary of the Invention [Problem to be solved by the invention]
[0008] The present application aims to provide an information transmission method, an apparatus, a communication device and a readable storage medium to solve the problems of complex processing, time consumption and poor scalability existing in the OAM information transmission means in the prior art. [Means for solving the problem]
[0009] In order to solve the above technical problems, an embodiment of the present application provides an information transmission method applied to a sending device, the method comprising: Obtaining OAM (Operation, Administration and Maintenance) information in an optical network; encapsulating the acquired OAM information to form an OAM frame; and transmitting the OAM frame. The OAM frame includes N data frames each having a frame length of L, where N changes with the change in the amount of OAM information, and L does not change with the change in the amount of OAM information.
[0010] Optionally, the data frame may include: a variable first field for carrying variable OAM information; a second field for indicating the value of N or the length of the OAM information; a third field for carrying a check code, and A variable fourth field is included for filling idle portions of the data frame. Optionally, the check code carried in the third field is used to check the contents related to OAM information in the data frame.
[0011] Optionally, if N is 1, prior to encapsulating the obtained OAM information, the method further comprises: determining a size of an amount of information corresponding to the OAM information; and filling the first field with OAM information.
[0012] Optionally, when N is a positive integer greater than 1, prior to encapsulating the obtained OAM information, the method further comprises: determining a size of an amount of information corresponding to the OAM information; determining whether the magnitude of the amount of information is equal to or greater than a preset threshold; If it is determined that the magnitude of the amount of information is equal to or greater than a preset threshold, determining a value of N.
[0013] Optionally, determining the value of N comprises: determining a numerical range that matches the magnitude of the amount of OAM information; determining the maximum value of said range of values; Calculating a ratio between the maximum value and a frame length L; and setting the calculated ratio as the value of N.
[0014] Optionally, encapsulating the obtained OAM information to form an OAM frame includes: forming a first field of each of the N data frames according to the obtained OAM information; forming a second field of each of the N data frames according to a value of N; and forming an OAM frame from the N data frames.
[0015] Optionally, where N is a positive integer greater than 1, each of the N data frames includes a field that indicates the order of the N data frames.
[0016] Optionally, transmitting the OAM frame comprises: A service signal is a carrier signal; performing a modulation process on a signal corresponding to the OAM frame by the carrier signal to obtain a modulated signal; and transmitting the modulated signal.
[0017] An embodiment of the present application further provides an information transmission method applied to a receiving device, the method comprising: receiving an OAM frame; The OAM frame is formed by encapsulating OAM information in an optical network, and includes N data frames of frame length L, where N changes with changes in the amount of OAM information, and L does not change with changes in the amount of OAM information.
[0018] Optionally, the data frame may include: a variable first field for carrying variable OAM information; a second field for indicating the value of N or the length of the OAM information; a third field for carrying a check code, and A variable fourth field is included for filling idle portions of the data frame.
[0019] Optionally, the check code carried in the third field is used to check the contents related to OAM information in the data frame.
[0020] Optionally, where N is a positive integer greater than 1, each of the N data frames includes a field indicating an order of the N data frames, and the method further comprises: The method further includes performing frame alignment recognition for the OAM frames using a field indicating the order of the N data frames, the field being included in each of the N data frames, to obtain OAM information included in each data frame.
[0021] An embodiment of the present application further provides an information transmission device applied to a sending device, the device comprising: A first acquisition module configured to acquire OAM information in an optical network; a first processing module configured to encapsulate the acquired OAM information to form an OAM frame, the OAM frame including N data frames each having a frame length L, N varying with a change in the size of the OAM information amount, and L not varying with a change in the size of the OAM information amount; and a first transmitting module configured to transmit the OAM frame.
[0022] Optionally, the data frame may include: a variable first field for carrying variable OAM information; a second field for indicating the value of N or the length of the OAM information; a third field for carrying a check code, and A variable fourth field is included for filling idle portions of the data frame. Optionally, the check code carried in the third field is used to check the contents related to OAM information in the data frame.
[0023] Optionally, the device further comprises: a first determining module configured to determine a size of an information amount corresponding to the acquired OAM information before encapsulating the acquired OAM information if N is 1; and a second processing module configured to fill the first field with OAM information.
[0024] Optionally, the apparatus further comprises: a second determining module configured to determine a size of an information amount corresponding to the acquired OAM information before encapsulating the acquired OAM information when N is a positive integer greater than 1; A first determination module configured to determine whether the magnitude of the information amount is equal to or greater than a preset threshold; and a third determining module configured to determine a value of N when determining that the magnitude of the amount of information is equal to or greater than a preset threshold.
[0025] Optionally, determining the value of N comprises: determining a numerical range that matches the magnitude of the amount of OAM information; determining the maximum value of said range of values; Calculating a ratio between the maximum value and a frame length L; and setting the calculated ratio as the value of N.
[0026] Optionally, the first processing module specifically: The system is configured to form a first field of each of the N data frames according to the acquired OAM information, form a second field of each of the N data frames according to the value of N, and form an OAM frame from the N data frames.
[0027] Optionally, where N is a positive integer greater than 1, each of the N data frames includes a field that indicates the order of the N data frames.
[0028] Optionally, transmitting the OAM frame comprises: A service signal is a carrier signal; performing a modulation process on a signal corresponding to the OAM frame by the carrier signal to obtain a modulated signal; and transmitting the modulated signal.
[0029] An embodiment of the present application further provides an information transmission device applied to a receiving device, the device comprising: a first receiving module configured to receive an OAM frame; The OAM frame is formed by encapsulating OAM information in an optical network, and includes N data frames of frame length L, where N changes with changes in the amount of OAM information, and L does not change with changes in the amount of OAM information.
[0030] Optionally, the data frame may include: a variable first field for carrying variable OAM information; a second field for indicating the value of N or the length of the OAM information; a third field for carrying a check code, and A variable fourth field is included for filling idle portions of the data frame. Optionally, the check code carried in the third field is used to check the contents related to OAM information in the data frame.
[0031] Optionally, where N is a positive integer greater than 1, each of the N data frames includes a field indicating a sequence of the N data frames, and the apparatus further comprises: and a third processing module configured to perform frame alignment recognition on the OAM frames using a field indicating an order of the N data frames, the field being included in each of the N data frames, and to obtain OAM information included in each data frame.
[0032] An embodiment of the present application further provides a communication device, which is a transmitting device, the communication device including a processor and a transceiver; The processor is configured to obtain OAM information in an optical network and encapsulate the obtained OAM information to form an OAM frame; The OAM frame includes N data frames each having a frame length of L, where N changes with a change in the amount of OAM information, and L does not change with a change in the amount of OAM information; The communication device transmits the OAM frame using the transceiver.
[0033] Optionally, the data frame may include: a variable first field for carrying variable OAM information; a second field for indicating the value of N or the length of the OAM information; a third field for carrying a check code, and A variable fourth field is included for filling idle portions of the data frame. Optionally, the check code carried in the third field is used to check the contents related to OAM information in the data frame.
[0034] Optionally, the processor further comprises: If N is 1, before encapsulating the acquired OAM information, determine the size of the information amount corresponding to the OAM information; The OAM information is configured to fill the first field.
[0035] Optionally, the processor further comprises: If N is a positive integer greater than 1, before encapsulating the acquired OAM information, determine a size of an information amount corresponding to the OAM information; determining whether the amount of information is equal to or greater than a preset threshold; It is configured to determine the value of N if it determines that the magnitude of the amount of information is greater than or equal to a preset threshold.
[0036] Optionally, the processor may specifically: determining a numerical range that matches the magnitude of the OAM information amount; Determine the maximum value of the range of values; Calculate a ratio between the maximum value and the frame length L; The calculated ratio is set as the value of N.
[0037] Optionally, the processor may specifically: The system is configured to form a first field of each of the N data frames according to the acquired OAM information, form a second field of each of the N data frames according to the value of N, and form an OAM frame from the N data frames.
[0038] Optionally, where N is a positive integer greater than 1, each of the N data frames includes a field that indicates the order of the N data frames.
[0039] Optionally, the processor may specifically: The service signal is used as the carrier signal, A signal corresponding to the OAM frame is modulated by the carrier signal to obtain a modulated signal; The transceiver is configured to transmit the modulated signal.
[0040] An embodiment of the present application further provides a communication device, which is a receiving device, the communication device including a processor and a transceiver; the processor is configured to receive an OAM frame by the transceiver; Here, the OAM frame is formed by encapsulating OAM information in an optical network, and includes N data frames, each of which has a frame length of L, where N changes with changes in the amount of OAM information, and L does not change with changes in the amount of OAM information.
[0041] Optionally, the data frame may include: a variable first field for carrying variable OAM information; a second field for indicating the value of N or the length of the OAM information; a third field for carrying a check code, and A variable fourth field is included for filling idle portions of the data frame. Optionally, the check code carried in the third field is used to check the contents related to OAM information in the data frame.
[0042] Optionally, where N is a positive integer greater than 1, each of the N data frames includes a field indicating an order of the N data frames, and the processor further comprises: The OAM information transmission device is configured to recognize frame alignment for the OAM frames based on a field that is included in each of the N data frames and indicates the order of the N data frames, and to obtain OAM information that is included in each data frame.
[0043] An embodiment of the present application further provides a communication device including a memory, a processor, and a program stored in the memory and executable by the processor, the communication device realizing the information transmission method on the sending device side when the processor executes the program; or When the processor executes the program, the information transmission method on the receiving device side is realized.
[0044] The embodiment of the present application further provides a readable storage medium having a program stored thereon, the program being executed by a processor to realize the information transmission method on the sending device side; or When the program is executed by a processor, the information transmission method on the receiving device side is realized. Effect of the Invention
[0045] The above technical means of the present application have the following beneficial effects: In the above means, the information transmission method includes a step of acquiring OAM information in an optical network, a step of encapsulating the acquired OAM information to form an OAM frame, the OAM frame including N data frames with a frame length of L, where N changes with the change in the amount of OAM information and L does not change with the change in the amount of OAM information, and a step of transmitting the OAM frame, thereby making it possible to realize transmission by adopting a variable fixed-length frame for OAM information, thus not only contributing to encoding and decoding of messages, making them easier to process and reducing time consumption, but also contributing to expansion based on message contents, ensuring scalability, and effectively solving the problems existing in the OAM information transmission means in the prior art, such as complex processing, long time consumption and poor scalability. [Brief description of the drawings]
[0046] [Figure 1] FIG. 1 is a schematic diagram of an optical network architecture according to the related art. [Diagram 2] 1 is a first flowchart for implementing an information transmission method according to an embodiment of the present application. [Diagram 3] 1 is a flowchart illustrating a first example of encapsulating OAM information to form an OAM frame according to an embodiment of the present application. [Figure 4] 4 is a flowchart for implementing determining the value of N according to an embodiment of the present application. [Diagram 5]2 is a second flowchart for implementing encapsulation of OAM information to form an OAM frame according to an embodiment of the present application. [Figure 6] 2 is a second flowchart for implementing the information transmission method according to the embodiment of the present application. [Figure 7] 4 is a flowchart for implementing parsing an OAM frame according to an embodiment of the present application; [Figure 8] FIG. 1 is a configuration diagram of an information transmission device according to an embodiment of the present application. [Figure 9] FIG. 2 is a second configuration diagram of an information transmission device according to an embodiment of the present application. [Figure 10] 1 is a configuration diagram of an information transmission system according to an embodiment of the present application; [Figure 11] FIG. 1 is a first configuration diagram of a communication device according to an embodiment of the present application. [Figure 12] FIG. 2 is a second configuration diagram of a communication device according to an embodiment of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0047] In order to make the technical problems, technical means and advantages that the present application aims to solve clearer, the present application will now be described in detail with reference to the drawings and specific embodiments.
[0048] Before describing the technical solutions of the embodiments of the present application, the related art will be described first. FIG. 1 is a schematic diagram of an optical network architecture according to the related art. As shown in FIG. 1, the optical network architecture includes a transmitting device and a receiving device, both of which are provided with optical modules, and the optical module of the transmitting device and the optical module of the receiving device can jointly realize the OAM function. The OAM function includes three functions: operation, administration, and maintenance. The operation function is used to complete daily analysis, prediction, planning, and configuration work for the network and services, the administration function is used to monitor the network resources, performance, alarms, safety, and services, and the maintenance function is used for daily operation activities such as testing and fault management for the network and its services. The optical module of the transmitting device and the optical module of the receiving device can realize the OAM function in the following manner: monitor the network performance to generate maintenance information, evaluate the network stability based on the maintenance information, detect network faults in the manner of periodic inquiry, generate various maintenance and alarm information, schedule to or switch to other entities, bypass the faulty entity, thereby ensuring the normal operation of the network, and transmit the fault information to the management entity.
[0049] In the related art, a transmitting device transmits OAM information to a receiving device so that the receiving device can monitor the resources, performance, alarms, safety and services of an optical network. Generally, the receiving device can obtain the OAM information transmitted from the transmitting device through a frame alignment function, but in practical application, if the OAM information changes, the receiving device may not be able to receive the OAM information through the frame alignment function, so that the receiving device cannot obtain the complete OAM information.
[0050] In the related art, a transmitting device encapsulates OAM information into an OAM frame and transmits the OAM frame to a receiving device, so that the receiving device can analyze the OAM frame through a frame alignment function. The transmitting device can encapsulate OAM information into an OAM frame by adopting one of the following two framing modes: encapsulating OAM information into an OAM variable-length frame and encapsulating OAM information into an OAM fixed-length frame. The above two framing modes encapsulate OAM information into an OAM variable-length frame, that is, the length of the frame is flexibly extended according to the message content to be carried, and the format of the OAM variable-length frame is flexible, but the process of the receiving device performing frame alignment processing on the OAM variable-length frame is complicated and the frame determination time is long; and the OAM information is encapsulated into an OAM fixed-length frame, and the time required for the receiving device to perform frame alignment processing on the OAM fixed-length frame is short, but the message content is fixed length, the expansion performance is poor, and more message content cannot be carried.
[0051] Based on the above, the present application provides an information transmission method applicable to a transmitting device to address the problems of complex processing, time consumption and poor scalability existing in existing OAM information transmission means, and as shown in FIG. 2, the method includes steps 201 to 203.
[0052] In step 201, OAM information in an optical network is obtained.
[0053] In step 202, the acquired OAM information is encapsulated to form an OAM frame, which includes N data frames of length L, where N changes with the change in the amount of OAM information, and L does not change with the change in the amount of OAM information.
[0054] In step 203, the OAM frame is transmitted.
[0055] Here, in step 201, the optical network may include a transmitting device and a receiving device, the transmitting device may be called a remote device, specifically an outdoor passive device, such as an antenna device, and the receiving device may be called a local device, specifically an indoor active device, such as an indoor base station. Both the transmitting device and the receiving device may be installed with an optical module, and the transmitting device can obtain OAM information in the optical network through its own optical module.
[0056] Here, in step 202, at the beginning of operation of the optical network, the optical module in the transmitting equipment operates stably and generates a relatively small amount of OAM information, so the value of N is relatively small. However, as the operation cycle becomes longer, the external environment changes, and the equipment gradually deteriorates, the amount of OAM information generated increases, so the value of N is relatively large.
[0057] Here, in step 203, the transmitting equipment may send the OAM frame to a receiving equipment in the optical network, and the receiving equipment obtains complete OAM information by analyzing the received OAM frame through a frame alignment function.
[0058] The information transmission method according to the embodiment of the present application includes the steps of acquiring OAM information in an optical network, encapsulating the acquired OAM information to form an OAM frame, where the OAM frame includes N data frames with a frame length of L, where N changes with the change in the amount of OAM information and L does not change with the change in the amount of OAM information, and transmitting the OAM frame, thereby realizing the adoption of a variable fixed-length frame for transmission of OAM information, which not only contributes to encoding and decoding of messages, making them easier to process and reducing time consumption, but also contributes to expansion based on message content, ensuring scalability, and effectively solving the problems of complex processing, time consumption and poor scalability existing in the OAM information transmission means in the prior art.
[0059] In practical application, when the OAM information acquired by the optical module of the transmitting device is relatively small, a single data frame can be used to carry the OAM information, that is, N = 1. When N = 1, one selectable variable fixed-length frame format can be seen in Table 1.
[0060] [Table 1]
[0061] The specific definition of the frame contents is as follows: 1. The frame head flag is 0x7E7E7E7E, marking the start of the frame. 2. The frame tail flag is 0x7E, which marks the end of the frame. 3. The module ID is 0x1~0x18 and marks the management channel corresponding to the frame. 4. Frame length is the length of the OAM information, that is, the length of the message content field filled with the OAM information, where the length of the message content field can change according to the change of the OAM information, and occupies X bytes. 5. The check code is used to check the module ID, message type, message ID, message length and message content of each frame, that is, to check the information other than the filler field in the fixed-length frame. 6. A predefined filler code (i.e., a filler field) is used for the idle bytes in each frame, and its length is Y bytes. Since the message content field can change according to the length of the OAM information, while the overall length of the data frame does not change, the filler field is actually used to complement the OAM information to ensure the overall length of the data frame, that is, the filler field can also be considered as variable. Since this field is only used for filling, it is not checked during the check.
[0062] When the OAM information acquired by the optical module of the transmitting device is relatively large, it is necessary to determine the number of data frames used to carry the OAM information to ensure that the receiving device can acquire the complete OAM information. In addition, when N is a multiple number, each of the N data frames may include a field indicating the order of the N data frames. The field may be an order indicating field.
[0063] Based on this, in one embodiment, before encapsulating the obtained OAM information, the method further comprises: determining a size of an amount of information corresponding to the OAM information; determining whether the amount of information is greater than or equal to a preset threshold; If it is determined that the magnitude of the amount of information is equal to or greater than a preset threshold, determining a value of N.
[0064] Here, if the amount of information of the OAM information is smaller than a preset threshold, a single data frame is used to carry the OAM information, and if the amount of information of the OAM information is equal to or greater than the preset threshold, N data frames, each having a frame length of L, are used to carry the OAM information.
[0065] Table 2 shows the contents of the OAM information, and as shown in Table 2, the OAM information includes version information, manufacturer information, optical module information, alarm information, digital diagnostic function information, pilot tone modulation parameters, semiconductor cooling parameters, loopback and extension information, etc. As the operation cycle of the transmitting equipment becomes longer, the external environment changes, and the equipment gradually deteriorates, the generated abnormal information, such as alarm information, increases, which leads to an increase in OAM information.
[0066] [Table 2]
[0067] In one example, as shown in FIG. 3, a process of encapsulating OAM information to form an OAM frame is described, which includes steps 301-303.
[0068] In step 301, the size of the information amount corresponding to the acquired OAM information is determined. In step 302, it is determined whether the amount of information is equal to or greater than a preset threshold. If the amount of information is equal to or greater than the preset threshold, step 303 is executed.
[0069] Here, in practical application, in addition to OAM information, other information can also be carried in the data frame. Therefore, if the frame length L of a single data frame is 64 bytes and the data frame needs to carry 10 bytes of other information, the preset threshold can be set as 64-10=54.
[0070] In step 303, the obtained OAM information is encapsulated to form an OAM frame. The OAM frame includes N data frames, each of which has a frame length L, where N and L are both positive integers greater than 1, N changes with changes in the amount of OAM information, and L does not change with changes in the amount of OAM information, and each of the N data frames includes a field indicating the order of the N data frames.
[0071] Here, if the size of the amount of information is smaller than a preset threshold, a single data frame with a frame length of L is used to carry the OAM information.
[0072] Here, when the amount of OAM information is equal to or larger than a preset threshold, carrying the OAM information using N data frames each having a frame length of L has the following advantages.
[0073] The total frame length of the OAM frames can be determined based on the amount of OAM information, specifically, when the amount of OAM information is smaller than a preset threshold, a single data frame is used to carry the OAM information, and when the amount of OAM information is equal to or larger than the preset threshold, N data frames, each having a frame length of L, are used to carry the OAM information. When the amount of OAM information is different, the total length of the OAM frames is different, and particularly in the context of interconnection, determining the total frame length of the OAM frames based on the amount of OAM information has important practical significance for realizing interconnection.
[0074] In practical application, when the amount of information of the OAM information is greater than or equal to a preset threshold, N data frames each having a frame length of L are used to carry the OAM information, where the value of N can be determined based on the amount of information of the OAM information.
[0075] Based on this, in one embodiment, determining the value of N comprises: determining a numerical range that matches the magnitude of the amount of OAM information; determining the maximum value of said range of values; Calculating a ratio between the maximum value and a frame length L; and setting the calculated ratio as the value of N.
[0076] In one example, as shown in FIG. 4, a process of determining the value of N is described, which includes steps 401 to 403.
[0077] In step 401, a numerical range that matches the magnitude of the amount of OAM information is determined, and a maximum value of the numerical range is determined.
[0078] In practical application, in addition to OAM information, other information can also be carried in a data frame. Therefore, if a single data frame needs to carry 10 bytes of other information, the numerical range matching the size of the information amount of the OAM information may be (0, M], where M is a positive integer.
[0079] In step 402, the ratio of the maximum value to the frame length L is calculated.
[0080] If M is 108 and the frame length L of a single frame is 64, then M / L=108 / 64=1.68.
[0081] In step 403, the calculated ratio is set as the value of N.
[0082] If the calculated ratio is not an integer, add 1 to the integer part of the ratio to determine the value of N. If the ratio is 1.68, the value of N is 2.
[0083] Here, determining the value of N based on the amount of OAM information has the following advantages.
[0084] The value of N is not fixed, and when the amount of OAM information to be carried is relatively large, a relatively large value of N is used, and when the amount of OAM information to be carried is relatively small, a relatively small value of N is used, thus ensuring that the OAM frame can carry more OAM information. In addition, when required OAM information is carried for transmitting devices provided by different manufacturers, the same value of N can be used to encapsulate the OAM information, which facilitates the realization of interconnection between transmitting devices of different manufacturers. In addition, when other private information related to the manufacturer needs to be carried in addition to the required OAM information, the value of N can be increased to encapsulate the OAM information, which not only meets the information transmission needs of different manufacturers, but also does not affect the realization of interconnection between transmitting devices of different manufacturers.
[0085] In practical application, when the amount of OAM information is equal to or larger than a preset threshold, N data frames with a frame length of L are used to encapsulate the OAM information to form an OAM frame.
[0086] Based on this, in one embodiment, encapsulating the obtained OAM information to form an OAM frame includes: forming a first field of each of the N data frames according to the obtained OAM information; forming a second field of each of the N data frames according to a value of N; and forming an OAM by the N data frames.
[0087] Here, the role of the first field is to carry changing OAM information, so the first field is also variable, and the role of the second field is to inform the receiving device of the value of N, which is used to perform correct frame alignment on the received OAM frame, thereby obtaining complete OAM information.
[0088] Here, the first field of each of the N data frames, i.e., a message content field, is formed according to the obtained OAM information, and the second field of each of the N data frames, i.e., a value field of N, is formed according to the value of N. In practical application, the second field may be a value field of the total frame length of the OAM frame, i.e., N×L.
[0089] In practical application, the OAM frame, in addition to carrying the OAM information, including the value of N, also needs to carry other information, such as a check code field.
[0090] Based on this, in one embodiment, each data frame of the N data frames further includes a third field, where the third field represents checking content related to OAM information in each data frame.
[0091] Here, the third field may be a check code field, and the check code field included in each of the N data frames eliminates the need to check the filler field, and checking the content related to the OAM information can reduce the content to be checked and improve the efficiency of checking.
[0092] Here, the process of determining the filler field to be included in each data frame of the N data frames may include the following two situations.
[0093] The first situation is to fill in the fill field of the data frame that is last in order in the N data frames.
[0094] If N is 2, L is 64, the number of bytes occupied for carrying other information than OAM information in each data frame is 10, and the size of the information amount of OAM information is 100 bytes, then in the first data frame the filler field occupies 0 bytes, in the first data frame the message content field occupies 64-10=54 bytes, in the second data frame the message content field occupies 100-54=46 bytes, and in the second data frame the filler field occupies 64-10-46=8 bytes.
[0095] The second situation involves filling in the fill field of each of the N data frames.
[0096] Assuming N is 2, L is 64, the number of bytes occupied for carrying other information than OAM information in each data frame is 10, and the size of the information amount of OAM information is 100 bytes, then in the first data frame the message content field occupies 100 / 2=50 bytes, in the first data frame the filler field occupies 64-10-50=4 bytes, in the second data frame the message content field occupies 100 / 2=50 bytes, and in the second data frame the filler field occupies 64-10-50=4 bytes. It can be seen that the fill field is also variable.
[0097] In one example, as shown in FIG. 5, a process of encapsulating OAM information to form an OAM frame is described, which includes steps 501 to 503.
[0098] In step 501, if the amount of OAM information is equal to or greater than the preset threshold, the value of N is determined.
[0099] In step 502, the obtained OAM information forms a first field of each of the N data frames, and the value of N forms a second field of each of the N data frames.
[0100] Assume that N is 2 and L is 64 bytes. Table 3 shows the structure of two data frames with a frame length of L. As shown in Table 3, both of the two data frames include the following fields: frame head flag, module ID, message type, message ID, value of N, check code, message content, filler, and frame tail flag. Here, the first field, i.e., the message content field, represents the size of the information amount of OAM information, and the second field, i.e., the value of N field, is determined based on the size of the information amount of OAM information. The frame head flag field represents the order of N data frames, for example, the frame head flag of the first data frame is 1 and occupies 4 bytes, and the frame head flag of the second data frame is 2 and occupies 4 bytes. The check field is used to check other fields than the filler field, for example, the frame head flag, module ID, and message type, and it is not necessary to check all fields.
[0101] [Table 3]
[0102] In step 503, an OAM frame is formed from N data frames.
[0103] Here, the N data frames may be combined in the order of the N data frames to obtain an OAM frame.
[0104] Here, the OAM frame is composed of N data frames with a frame length of L, and the frame structure of N data frames has the following advantages.
[0105] The frame length of each of the N data frames is fixed, and each data frame includes a field for indicating the order of the N data frames and a field for indicating the value of N, so that the receiving device can easily perform accurate frame alignment based on these two fields. Compared with the method of changing the frame length to carry more OAM information in the related art, the problem of the receiving device failing to perform frame alignment according to a fixed period due to the frame length not being fixed in the related art can be avoided. In addition, the check field does not need to check all the contents, so that the problem of the receiving device having to check all the contents due to the frame length not being fixed in the related art can be avoided, which contributes to improving the checking accuracy. In practical application, the transmitting device can increase or decrease the value of N based on the amount of information of the OAM information, and each data frame includes a field for indicating the value of N, so that the transmitting device can be notified to the optical module of the receiving device to achieve equality of the value of N between the transmitting and receiving devices.
[0106] In practical application, generally, a transmitting device can transmit a service signal to a receiving device, and thus can transmit an OAM frame to the receiving device via the service signal.
[0107] Based on this, in one embodiment, transmitting the OAM frame comprises: A service signal is a carrier signal; performing a modulation process on a signal corresponding to the OAM frame by the carrier signal to obtain a modulated signal; and transmitting the modulated signal.
[0108] Here, in practical application, the optical module of the transmitting device uses an internal probe to read out OAM information such as voltage, temperature, bias current, etc., and stores it in a data storage unit, encapsulates the OAM information stored in the data storage unit to form an OAM frame, and modulates the OAM frame onto a subcarrier signal corresponding to the service signal to be output through a pilot tone modulation method, and transmits it to the receiving device together with the service signal. Here, the pilot tone modulation method means that the service signal is used as a carrier signal, and the OAM frame is modulated to the peak-to-peak value of the carrier signal, and the subcarrier means that the service signal is used for modulation multiple times, and the service signal used for the first modulation is called the subcarrier signal.
[0109] In this embodiment, the transmitting device can transmit OAM frames to other receiving devices, and can also receive OAM frames transmitted from other devices.
[0110] The optical module in the fronthaul control system collects information related to the port, such as port information and alarm information (e.g., voltage, current, power, LOS, etc.), and the optical module encapsulates this information into an OpenWDM OAM Message and transmits it to the optical path by modulation.
[0111] The OAM link encoding process is as follows: 1. According to the message type, link layer message encoding is performed to obtain the message ID, message type, message length and message content. 2. Fill the message encoding into the OAM link layer message frame format. 3. Filling idle positions in the link layer frame format with idle content. 4. Calculate a check code based on the valid message content, module ID, message type, message ID, message length and message content to fill the OAM message frame format. 5. Encapsulate the frame head and frame tail of the message to form a 64-byte fixed-length message, which is then sent to the physical layer for transmission.
[0112] The OAM link decoding process is as follows: 1. The physical layer analyzes and obtains the link layer frame data. 2. Determine the frame based on the frame head and frame tail, and obtain a fixed-length frame of 64 bytes. 3. According to the frame format definition, obtain the module ID, message type, message ID, message length and message content. 4. Calculate a check code based on the valid message content, module ID, message type, message ID, message length and message content, and check whether it matches with the check code in the frame. 5. Once the packet is passed to the chuck, it is sent to the OAM protocol layer for protocol processing.
[0113] By adopting the technical means of the embodiments of the present application, when the amount of OAM information varies, the OAM information is encapsulated in N data frames with a fixed frame length to obtain an OAM frame, and the OAM frame is transmitted, so that the receiving device can perform accurate frame alignment based on the field indicating the order of the N data frames contained in each data frame of the OAM frame, thereby obtaining complete OAM information.
[0114] An embodiment of the present application further provides an information transmission method, as shown in FIG.
[0115] In step 601, an OAM frame is received.
[0116] Here, the OAM frame is formed by encapsulating OAM information in an optical network, and includes N data frames, each of which has a frame length of L, where N changes with changes in the amount of OAM information, and L does not change with changes in the amount of OAM information.
[0117] Here, the optical network may include a transmitting device and a receiving device, the transmitting device may be called a remote device, specifically an outdoor passive device, such as an antenna device, and the receiving device may be called a local device, specifically an indoor active device, such as an indoor base station active device. Both the transmitting device and the receiving device may be installed with an optical module, and the transmitting device can obtain OAM information in the optical network through its own optical module.
[0118] The information transmission method according to the embodiment of the present application receives an OAM frame, which is formed by encapsulating OAM information in an optical network, and includes N data frames, each having a frame length L, where N changes with a change in the amount of OAM information and L does not change with a change in the amount of OAM information, thereby supporting and realizing the adoption of a variable fixed-length frame for transmission of OAM information, which not only contributes to encoding and decoding of messages, making them easier to process and reducing time consumption, but also contributes to expansion based on message content, ensuring scalability, and effectively solving the problems of complex processing, time consumption and poor scalability existing in the OAM information transmission means in the prior art.
[0119] Here, the data frame includes a variable first field for carrying variable OAM information, a second field for indicating the value of N or the length of the OAM information, a third field for carrying a check code, and a variable fourth field for filling an idle portion of the data frame.
[0120] Specifically, the check code carried in the third field is used to check the contents related to OAM information in the data frame.
[0121] In practical application, the receiving device can obtain the complete OAM information by analyzing the OAM frame through the frame alignment function.
[0122] Based on this, in one embodiment, when N is a positive integer greater than 1, each of the N data frames includes a field indicating the order of the N data frames, and the method includes: The method further includes performing frame alignment recognition on the OAM frames using a field indicating the order of the N data frames, the field being included in each of the N data frames, to obtain OAM information included in each data frame.
[0123] Here, the receiving device recognizes frame alignment for each data frame in the OAM frame, obtains OAM information contained in each data frame, and obtains real-time operating status information of the optical module of the transmitting device through the obtained OAM information. The transmitting device can store the obtained operating status information of the optical module of the transmitting device in a local resource management system, and the resource management system records long-term operating data such as the voltage, temperature, bias current, etc. of the optical module of the transmitting device to analyze the operating trend of the optical module of the transmitting device, which is used by the operation staff to manage and predict the life of the optical module of the transmitting device, or is used by the operation staff to quickly locate whether the fault is located in the module or in the line, in the local optical module, or in the optical module of the transmitting device, thereby reducing the fault repair time of the system by quickly locating the fault.
[0124] Here, the receiving device can realize frame alignment by a synchronization circuit, and the alignment frame signal generated by the synchronization circuit and the received OAM frame signal are in exact phase with each other, and the synchronization circuit captures the frame alignment signal in the received OAM frame signal, i.e., the field representing the order of N data frames, and calibrates the time system of the receiving device based on the phase of the captured frame alignment signal, thereby accurately separating each frame signal in the OAM frame. Here, the realization of the capturing process is related to factors such as the frame length, the frame alignment code pattern, and the matching method for confirming the frame alignment signal.
[0125] In one example, as shown in FIG. 7, a process of parsing an OAM frame is described, which includes step 701 and step 702.
[0126] In step 701, an OAM frame is received.
[0127] In step 702, frame alignment is recognized for the OAM frames based on a field indicating the order of the N data frames contained in each of the N data frames, and OAM information contained in each data frame is obtained.
[0128] Here, when frame alignment is recognized for an OAM frame, if the value of the field indicating the order of the N data frames contained in the next frame is not equal to the value of N, the next frame is continued to be read, and if the value of the field indicating the order of the N data frames contained in the next frame is equal to the value of N, reading of the next frame is terminated.
[0129] Here, performing frame alignment recognition for OAM frames has the following advantages.
[0130] Since the OAM frame sent by the transmitting equipment contains N data frames with a fixed frame length of L, when the amount of OAM information becomes large, the period during which the receiving equipment performs frame alignment on the OAM frame is fixed, thus ensuring accurate positioning of each data frame, and thereby obtaining complete OAM information.
[0131] By adopting the technical means according to the embodiments of the present application, when the amount of OAM information changes, the receiving equipment receives the OAM frame transmitted by the transmitting equipment, and performs accurate frame alignment based on the field indicating the order of the N data frames contained in each data frame of the OAM frame, thereby obtaining complete OAM information.
[0132] An embodiment of the present application further provides an information transmission device applied to a sending device, as shown in FIG. 8, the device includes: A first acquisition module 81 configured to acquire OAM information in an optical network; a first processing module 82 configured to encapsulate the acquired OAM information to form an OAM frame, the OAM frame including N data frames each having a frame length L, N varying with a change in the size of the OAM information amount, and L not varying with a change in the size of the OAM information amount; and a first transmitting module 83 configured to transmit the OAM frame.
[0133] The information transmission device according to an embodiment of the present application includes the steps of acquiring OAM information in an optical network, encapsulating the acquired OAM information to form an OAM frame, where the OAM frame includes N data frames with a frame length of L, where N changes with the change in the amount of OAM information and L does not change with the change in the amount of OAM information, and transmitting the OAM frame, thereby enabling the adoption of a variable fixed-length frame for OAM information for transmission, which not only contributes to encoding and decoding of messages, making them easier to process and reducing time consumption, but also contributes to expansion based on message contents, ensuring scalability, and effectively solving the problems of complex processing, time consumption, and poor scalability present in the OAM information transmission means in the prior art.
[0134] Here, the data frame includes a variable first field for carrying variable OAM information, a second field for indicating the value of N or the length of the OAM information, a third field for carrying a check code, and a variable fourth field for filling an idle portion of the data frame.
[0135] Specifically, the check code carried in the third field is used to check the contents related to OAM information in the data frame.
[0136] Furthermore, the device further comprises: a first determining module configured to determine a size of an information amount corresponding to the acquired OAM information before encapsulating the acquired OAM information if N is 1; and a second processing module configured to fill the first field with OAM information.
[0137] Furthermore, the device further comprises: a second determining module configured to determine a size of an information amount corresponding to the acquired OAM information before encapsulating the acquired OAM information when N is a positive integer greater than 1; A first determination module configured to determine whether the magnitude of the information amount is equal to or greater than a preset threshold; and a third determining module configured to determine a value of N if it determines that the magnitude of the amount of information is equal to or greater than a preset threshold.
[0138] In an embodiment of the present application, determining the value of N includes determining a numerical range that matches the size of the OAM information amount, determining a maximum value of the numerical range, calculating a ratio between the maximum value and the frame length L, and setting the calculated ratio as the value of N.
[0139] Furthermore, the first processing module 82 is specifically configured to form a first field of each of the N data frames according to the acquired OAM information, form a second field of each of the N data frames according to the value of N, and form an OAM frame by the N data frames.
[0140] Here, when N is a positive integer greater than 1, each of the N data frames includes a field indicating the order of the N data frames.
[0141] Specifically, transmitting the OAM frame includes using a service signal as a carrier signal, performing modulation processing on a signal corresponding to the OAM frame using the carrier signal to obtain a modulated signal, and transmitting the modulated signal.
[0142] In practical application, the first acquisition module 81 may be realized by a communication interface in an information transmission device, and the first processing module 82 and the first transmission module 83 may be realized by the combination of a processor and a communication interface in an information transmission device.
[0143] An embodiment of the present application further provides an information transmission device applied to a receiving device, as shown in FIG. 9, the device includes: a first receiving module 91 configured to receive an OAM frame; The OAM frame is formed by encapsulating OAM information in an optical network, and includes N data frames of frame length L, where N changes with changes in the amount of OAM information, and L does not change with changes in the amount of OAM information.
[0144] The information transmission device according to the embodiment of the present application receives an OAM frame, which is formed by encapsulating OAM information in an optical network, and includes N data frames with a frame length of L, where N changes with the change in the amount of OAM information and L does not change with the change in the amount of OAM information, thereby supporting and realizing the adoption of a variable fixed length frame for transmission of OAM information, which not only contributes to encoding and decoding of messages, making them easier to process and reducing time consumption, but also contributes to expansion based on message content, ensuring scalability, and effectively solving the problems of complex processing, time consumption and poor scalability existing in the OAM information transmission means in the prior art.
[0145] Here, the data frame includes a variable first field for carrying variable OAM information, a second field for indicating the value of N or the length of the OAM information, a third field for carrying a check code, and a variable fourth field for filling an idle portion of the data frame.
[0146] Specifically, the check code carried in the third field is used to check the contents related to OAM information in the data frame.
[0147] In an embodiment of the present application, when N is a positive integer greater than 1, each of the N data frames includes a field indicating the order of the N data frames, and the device further includes a third processing module configured to perform frame alignment recognition on the OAM frame based on the field indicating the order of the N data frames included in each of the N data frames, and obtain OAM information included in each data frame.
[0148] In practical application, the first receiving module 91 can be realized by a communication interface in an information transmitting device, and the third processing module can be realized by a combination of a processor and a communication interface in the information transmitting device.
[0149] In addition, the information transmission device according to the above embodiment is described only by dividing each of the above program modules when transmitting information, and in actual application, the above processing can be assigned and completed in different program modules as necessary, that is, the internal structure of the device can be divided into different program modules to complete all or part of the above-described processing. In addition, the information transmission device according to the above embodiment belongs to the same concept as the embodiment of the information transmission method, and the specific implementation process can be detailed by referring to the embodiment of the method, and the description will be omitted here.
[0150] To realize the method of the embodiment of the present application, the embodiment of the present application provides an information transmission system, which includes a sending device 101 and a receiving device 102, as shown in FIG.
[0151] The sending equipment 101 is configured to obtain OAM information in an optical network, encapsulate the obtained OAM information to form an OAM frame, and transmit the OAM frame.
[0152] Here, the OAM frame includes N data frames, each having a frame length of L, where N changes with the change in the amount of OAM information, and L does not change with the change in the amount of OAM information.
[0153] The receiving device 102 is configured to receive OAM frames.
[0154] Incidentally, the specific processing steps of the sending device 101 and the receiving device 102 have already been described in detail above, and therefore will not be described here.
[0155] An embodiment of the present application further provides a communication device, which is a transmitting device, and as shown in FIG. 11, the communication device includes: a processor 111 and a transceiver 112; The processor 111 is configured to obtain OAM information in an optical network, and encapsulate the obtained OAM information to form an OAM frame; The OAM frame includes N data frames each having a frame length of L, where N changes with a change in the amount of OAM information, and L does not change with a change in the amount of OAM information; The communication device transmits the OAM frame via the transceiver 112 .
[0156] The communication device according to an embodiment of the present application includes the steps of acquiring OAM information in an optical network, encapsulating the acquired OAM information to form an OAM frame, the OAM frame including N data frames with a frame length of L, where N changes with the change in the amount of OAM information and L does not change with the change in the amount of OAM information, and transmitting the OAM frame, thereby realizing the adoption of a variable fixed-length frame for OAM information for transmission, which not only contributes to encoding and decoding of messages, making them easier to process and reducing time consumption, but also contributes to expansion based on message contents, ensuring scalability, and effectively solving the problems of complex processing, time consumption and poor scalability present in the OAM information transmission means in the prior art.
[0157] Here, the data frame includes a variable first field for carrying variable OAM information, a second field for indicating the value of N or the length of the OAM information, a third field for carrying a check code, and a variable fourth field for filling an idle portion of the data frame.
[0158] Specifically, the check code carried in the third field is used to check the contents related to OAM information in the data frame.
[0159] Moreover, the processor is further configured to, if N is 1, determine a size of an information amount corresponding to the acquired OAM information before encapsulating the OAM information, and fill the OAM information into the first field.
[0160] Furthermore, the processor is further configured to, when N is a positive integer greater than 1, determine a size of an amount of information corresponding to the acquired OAM information before encapsulating the OAM information, determine whether the size of the amount of information is greater than or equal to a preset threshold, and determine a value of N if it determines that the size of the amount of information is greater than or equal to the preset threshold.
[0161] In an embodiment of the present application, the processor is specifically configured to determine a numerical range that matches the magnitude of the OAM information amount, determine a maximum value of the numerical range, calculate a ratio between the maximum value and a frame length L, and set the calculated ratio value as the value of N.
[0162] Here, when N is a positive integer greater than 1, each of the N data frames includes a field indicating the order of the N data frames.
[0163] Specifically, the processor is configured to use a service signal as a carrier signal, perform a modulation process on a signal corresponding to the OAM frame using the carrier signal, obtain a modulated signal, and transmit the modulated signal via the transceiver.
[0164] Here, the above-mentioned implementation embodiments of the information transmission method on the sending device side can all be applied to the embodiments of the communication device, and the same corresponding technical effects can be achieved.
[0165] An embodiment of the present application further provides a communication device, which is a receiving device, and as shown in FIG. 12, the communication device includes: a processor 121 and a transceiver 122; The processor 121 is configured to receive an OAM frame by the transceiver 122; Here, the OAM frame is formed by encapsulating OAM information in an optical network, and includes N data frames, each of which has a frame length of L, where N changes with changes in the amount of OAM information, and L does not change with changes in the amount of OAM information.
[0166] The communication device according to the embodiment of the present application receives an OAM frame, which is formed by encapsulating OAM information in an optical network, and includes N data frames with a frame length of L, where N changes with the change in the amount of OAM information and L does not change with the change in the amount of OAM information, thereby supporting and realizing the adoption of a variable fixed-length frame for transmission of OAM information, which not only contributes to encoding and decoding of messages, making them easier to process and reducing time consumption, but also contributes to expansion based on message content, ensuring scalability, and successfully solving the problems of complex processing, time consumption and poor scalability existing in the OAM information transmission means in the prior art.
[0167] Here, the data frame includes a variable first field for carrying variable OAM information, a second field for indicating the value of N or the length of the OAM information, a third field for carrying a check code, and a variable fourth field for filling an idle portion of the data frame.
[0168] Specifically, the check code carried in the third field is used to check the contents related to OAM information in the data frame.
[0169] In an embodiment of the present application, when N is a positive integer greater than 1, each of the N data frames includes a field indicating the order of the N data frames, and the processor is further configured to perform frame alignment recognition on the OAM frame based on the field indicating the order of the N data frames included in each of the N data frames, and obtain OAM information included in each data frame.
[0170] Here, any of the above-mentioned embodiments of the information transmission method on the receiving device side can be applied to the embodiments of the communication device, and can achieve the same technical effects.
[0171] An embodiment of the present application further provides a communications device including a memory, a processor, and a program stored in the memory and executable by the processor, wherein, when the processor executes the program, the information transmission method on the transmitting device side is realized, or, when the processor executes the program, the information transmission method on the receiving device side is realized.
[0172] Here, any of the above-mentioned implementation embodiments of the information transmission method on the sending device side or the receiving device side can be applied to the embodiment of the communication device, and the same technical effects can be achieved.
[0173] An embodiment of the present application further provides a readable storage medium having a program stored thereon, the program being, when executed by a processor, capable of realizing steps of the information transmission method on the sending device side, or the program being, when executed by a processor, capable of realizing steps of the information transmission method on the receiving device side.
[0174] Here, the above-mentioned implementation embodiments of the information transmission method on the sending device side or the receiving device side can both be applied to the embodiment of the readable storage medium, and the same technical effects can be achieved.
[0175] The readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, a magnetic surface memory, an optical disk, or a CD-ROM. It should be noted that terms such as "first" and "second" are not necessarily used to describe a particular order or order of precedence, but are used to separate similar objects.
[0176] Furthermore, the technical means described in the embodiments of the present application can be combined arbitrarily if they do not conflict with each other.
[0177] It should be noted that many of the functional components described in this specification are referred to as modules in order to further emphasize the independence of their implementation methods.
[0178] In the embodiments of the present disclosure, the modules may be implemented by software to be executed by various types of processors. For example, a labeled executable code module may include one or more physical or logical blocks of computer instructions, e.g., structured as an object, process, or function. Regardless, the executable code of a labeled module need not be physically located together, but may include different instructions stored in different bits that, when logically combined, constitute the module to achieve a given purpose of the module.
[0179] Indeed, an executable code module may be one or more instructions and may be located in different code segments, different programs, and may be located across multiple storage devices. Similarly, operating data may be identifiable within a module and may be embodied in any suitable form and organized into any suitable type of data structure. The operating data may be collected as a single data set or may be distributed in different locations (including in different storage devices), and may exist at least in part in a system or network only as electronic signals.
[0180] If a module can be realized by software, taking into consideration the level of existing hardware processes, and not taking into consideration the cost, a person skilled in the art can construct a corresponding hardware circuit to realize the corresponding function. The hardware circuit includes a conventional very large scale integrated (VLSL) circuit, a gate array, or existing semiconductors such as logic chips and transistors, or other discrete components. The module can be realized by a programmable hardware device, such as a field programmable gate array, a programmable array logic, a programmable logic device, etc.
[0181] The configurations described above are preferred embodiments of the present application, and those skilled in the art may make some improvements and modifications without departing from the principles described in the present application, and these improvements and modifications should be regarded as within the protection scope of the present disclosure.
Claims
1. An information transmission method applied to a sending device, comprising: Obtaining operation, administration and maintenance (OAM) information in an optical network; encapsulating the acquired OAM information to form an OAM frame; transmitting the OAM frame; The information transmission method, wherein the OAM frame includes N data frames each having a frame length of L, N changes with a change in the amount of OAM information, and L does not change with a change in the amount of OAM information.
2. The data frame includes: a variable first field for carrying variable OAM information; a second field for indicating the value of N or the length of the OAM information; a third field for carrying a check code; and a variable fourth field for filling idle portions of the data frame; The method of claim 1.
3. The check code carried in the third field is used to check the contents related to OAM information in the data frame. The method of claim 2.
4. If N is 1, before encapsulating the obtained OAM information, determining a size of an amount of information corresponding to the OAM information; and filling the first field with OAM information. The method of claim 2.
5. When N is a positive integer greater than 1, before encapsulating the obtained OAM information, determining a size of an amount of information corresponding to the OAM information; determining whether the magnitude of the amount of information is equal to or greater than a preset threshold; and determining a value of N when the magnitude of the amount of information is determined to be equal to or greater than a preset threshold. The method of claim 2.
6. Determining the value of N comprises: determining a numerical range that matches the magnitude of the OAM information amount; determining the maximum value of said range of values; Calculating a ratio between the maximum value and a frame length L; and setting the calculated ratio as the value of N. The method according to claim 5.
7. encapsulating the acquired OAM information to form an OAM frame; forming a first field of each of the N data frames according to the obtained OAM information; forming a second field of each of the N data frames according to a value of N; forming an OAM frame by the N data frames. The method according to claim 5 or 6.
8. When N is a positive integer greater than 1, each of the N data frames includes a field that indicates the order of the N data frames. The method of claim 1.
9. The sending of the OAM frame includes: A service signal is a carrier signal; performing a modulation process on a signal corresponding to the OAM frame using the carrier signal to obtain a modulated signal; and transmitting the modulated signal. The method of claim 1.
10. An information transmission method applied to a receiving device, comprising: receiving an OAM frame; An information transmission method in which the OAM frame is formed by encapsulating OAM information in an optical network, the OAM frame includes N data frames, each having a frame length of L, N changing in accordance with changes in the amount of OAM information, and L not changing in accordance with changes in the amount of OAM information.
11. The data frame includes: a variable first field for carrying variable OAM information; a second field for indicating the value of N or the length of the OAM information; a third field for carrying a check code; and a variable fourth field for filling idle portions of the data frame; The method of claim 10.
12. The check code carried in the third field is used to check the contents related to OAM information in the data frame. The method of claim 11.
13. When N is a positive integer greater than 1, each of the N data frames includes a field indicating an order of the N data frames, and the method further comprises: The method further includes: performing frame alignment recognition for the OAM frame based on a field indicating the order of the N data frames, the field being included in each of the N data frames, to obtain OAM information included in each data frame. The method of claim 10.
14. An information transmission device applied to a transmitting device, A first acquisition module configured to acquire OAM information in an optical network; a first processing module configured to encapsulate the acquired OAM information to form an OAM frame, the OAM frame including N data frames each having a frame length L, N varying with a change in the amount of OAM information, and L not varying with a change in the amount of OAM information; a first transmitting module configured to transmit the OAM frame.
15. An information transmission device applied to a receiving device, a first receiving module configured to receive an OAM frame; An information transmission device, wherein the OAM frame is formed by encapsulating OAM information in an optical network, and the OAM frame includes N data frames, each having a frame length of L, where N changes in accordance with changes in the amount of OAM information, and L does not change in accordance with changes in the amount of OAM information.
Citation Information
Patent Citations
OAM message transmission method, OAM message sending equipment, OAM message receiving equipment and readable storage medium
CN110768742A
Gigabit ethernet passive optical network system and media access control method for the same
JP2003283521A
Message transmission method, apparatus, and system
US20180026715A1