Method for transmitting data frames and related device
By using target bits within data frames to represent multiple multiframes, the method addresses the inefficiencies and complexity caused by MFAS in OTNs, resulting in improved bandwidth usage and frame synchronization.
Patent Information
- Application Number
- JP2022579095
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2020-06-22
- Filing Date
- 2021-06-17
- Publication Date
- 2025-04-14
- Estimated Expiration
- 2041-06-17
AI Technical Summary
Multiframe alignment signals (MFAS) in optical transport networks (OTNs) occupy a large number of bits, leading to bandwidth wastage and increased complexity in inserting and analyzing MFAS, which reduces efficiency.
The proposed solution involves generating data frames with target bits that represent at least two multiframes simultaneously, allowing for efficient indication of multiframes, reduced complexity, and improved bandwidth usage.
This approach effectively saves bandwidth resources, improves efficiency in using bandwidth, and simplifies the process of showing and synchronizing multiframes in OTNs.
Smart Images

Figure 0007661372000001 
Figure 0007661372000002 
Figure 0007661372000003
Abstract
Description
[Technical field]
[0001] This application claims priority to Chinese Patent Application No. 202010575556.9, entitled “DATA FRAME TRANSMISSION METHOD AND RELATED DEVICE,” filed with the State Intellectual Property Office of the People's Republic of China on June 22, 2020, the entire contents of which are incorporated herein by reference.
[0002] The present application relates to the field of optical communications, and in particular to a data frame transmission method and related device. [Background technology]
[0003] Due to the characteristics of optical transport network (OTN), such as high bandwidth, large capacity, high reliability, and low latency, optical transport network has become the mainstream technology used for transport networks.
[0004] To expand the space used to carry overhead, an OTN frame is composed of a multiframe alignment signal (MFAS) that is set in the OTN frame. The MFAS occupies one byte in the OTN frame. The MFAS indicates different multiframes by using different numbers of bits contained in the MFAS. Different multiframes are used to carry different overhead information. Summary of the Invention [Means for solving the problem]
[0005] However, MFAS occupies a large number of bits, resulting in a waste of OTN bandwidth resources. In addition, since different multiframes are represented using different numbers of bits, the complexity of inserting and analyzing MFAS into OTN frames is high, which reduces the efficiency.
[0006] The embodiments of the present application provide a data frame transmission method and related devices to effectively improve bandwidth usage for indicating multi-frames.
[0007] According to a first aspect, an embodiment of the present invention provides a data frame transmission method, the method includes: first, a transmitting device generates a data frame; an overhead area of the data frame includes a target bit, the target bit indicates at least two multiframes simultaneously, the multiframe includes a plurality of consecutive data frames, different multiframes include different numbers of data frames, different overhead information is inserted in the different multiframes, and the data frame is an optical transport network (OTN) data frame; then, the transmitting device transmits the data frame to a receiving device.
[0008] It can be seen that since the target bit located in the data frame indicates at least two multi-frames simultaneously, the efficiency in indicating multi-frames is improved, and the complexity in indicating multi-frames is reduced, and bandwidth resources are effectively saved, thereby improving the utilization efficiency of bandwidth resources in indicating multi-frames.
[0009] According to the first aspect, in an optional implementation, the step of the transmitting device generating the data frame includes the step of the transmitting device inserting a plurality of target bits into an overhead area of a plurality of data frames included in a first multiframe, the first multiframe being any of at least two multiframes, and values of any two adjacent target bits of the plurality of target bits are each a first value, or values of any two adjacent target bits transition from a first value to a second value, the first value being different from the second value.
[0010] It can be seen that based on the value of the target bit, the transmitting device can accurately indicate each data frame located within the same first multiframe, and as a result, the use of the target bit improves efficiency in indicating the first multiframe.
[0011] According to the first aspect, in an optional implementation, the step of the transmitting device generating the data frame includes the step of the transmitting device inserting a first target bit and a second target bit into two adjacent first multiframes, respectively, where the first target bit is located in a last data frame of a former multiframe of the two adjacent first multiframes, the second target bit is located in a first data frame of a latter multiframe of the two adjacent first multiframes, the value of the first target bit is a second value, and the value of the second target bit is a first value.
[0012] Based on the first aspect, in an optional embodiment, the first target bit and the second target bit are inserted into two consecutive data frames, DataFrame belong to different multiframes, the value of the first target bit is the second value, and the value of the second target bit is the first value.
[0013] It can be seen that a first target bit having a second value transitions to a second target bit having a first value, thereby allowing the transmitting device to accurately indicate frame boundaries of the first multiframe by using the target bits to improve efficiency in indicating the first multiframe.
[0014] Based on the first aspect, in an optional implementation, the at least two multiframes further include a second multiframe, the second multiframe including a plurality of first multiframes, and the step of the transmitting device generating the data frame includes the steps of determining a target number, where the target number indicates a rank of a target first multiframe in the second multiframe, and the target first multiframe is one of the plurality of first multiframes included in the second multiframe, and determining a value of a target bit included in the target first multiframe based on the target number, where the value of the target bit further indicates a frame boundary of the second multiframe.
[0015] Based on the first aspect, in an optional implementation, the target number is N, N being a positive integer greater than or equal to 1, and the step of determining values of target bits included in the target first multiframe based on the target number includes the step of determining that values of first N target bits among a plurality of target bits included in the target first multiframe are each a first value.
[0016] Based on the first aspect, in an optional implementation, the target number is N, where N is a positive integer greater than or equal to 1, and the step of determining values of target bits included in the first multiframe of the target based on the target number includes the step of determining that values of first C target bits among a plurality of target bits included in the first multiframe of the target bits are first values, where C is an integer multiple of N.
[0017] Based on the first aspect, in an optional implementation, the frame boundary of the second multiframe includes a multiframe including a minimum number of target bits whose value is the first value, and the frame boundary of the second multiframe further includes a multiframe including a maximum number of target bits whose value is the first value.
[0018] It can be seen that the use of the target bits allows the transmitting device to accurately indicate the frame boundaries of the second multiframe, and as a result, the use of the target bits improves efficiency in indicating the second multiframe.
[0019] According to the first aspect, in an optional implementation, the number of target bits is one.
[0020] It can be seen that by using a target bit having a size of only one bit, at least two multiframes can be indicated, thereby improving the efficiency in indicating multiframes and saving bandwidth resources in indicating multiframes.
[0021] According to a second aspect, an embodiment of the present invention provides a data frame transmission method, the method includes: first, a receiving device receives a plurality of data frames; an overhead area of each data frame includes a target bit, the target bit indicates at least two multiframes simultaneously, the multiframe includes a plurality of consecutive data frames, different multiframes include different numbers of data frames, different overhead information is inserted in different multiframes, and the data frames are optical transport network (OTN) data frames; then, the receiving device obtains the target bit from each data frame; finally, the receiving device determines at least two multiframes in the plurality of data frames based on the target bit.
[0022] It can be seen that the receiving device can determine the at least two multi-frames only by using the target bits, so that the efficiency of the receiving device in determining the at least two multi-frames is improved, and the accuracy of the receiving device in performing frame synchronization for the at least two multi-frames is improved, thereby effectively saving bandwidth resources and also improving the usage efficiency of bandwidth resources in indicating multi-frames.
[0023] According to the second aspect, in an optional implementation, the step of the receiving device determining at least two multiframes in the plurality of data frames based on the target bits includes determining a first multiframe in the plurality of data frames, the first multiframe being any of the at least two multiframes, in which, in the plurality of target bits included in the first multiframe, values of any two adjacent target bits are first values, or values of any two adjacent target bits transition from a first value to a second value, and the first value and the second value are different from each other.
[0024] Based on the second aspect, in an optional implementation, the step of the receiving device determining at least two multiframes in the multiple data frames based on the target bits includes the steps of determining a first target bit and a second target bit adjacent to each other in the multiple data frames, where a value of the first target bit is a second value and a value of the second target bit is a first value; and determining that the first target bit and the second target bit are located in two adjacent first multiframes, where the first target bit is located in a last data frame of a former multiframe in the two adjacent first multiframes, and the second target bit is located in a first data frame of a latter multiframe in the two adjacent first multiframes.
[0025] It can be seen that based on the target bits, the receiving device can accurately perform frame synchronization for the first multiframe, thereby improving the efficiency and accuracy in performing frame synchronization for the first multiframe.
[0026] According to the second aspect, in an optional implementation, the at least two multiframes further include a second multiframe, the second multiframe includes a plurality of first multiframes, and the step of the receiving device determining the at least two multiframes in the plurality of data frames based on the target bit includes determining a target number based on a value of the target bit included in the target first multiframe, the target number indicating a rank of the target first multiframe in the second multiframe, the target first multiframe being one of the plurality of first multiframes included in the second multiframe.
[0027] According to the second aspect, in an optional implementation, the step of the receiving device determining the target number based on values of target bits included in the target first multiframe includes determining that the target number is equal to N when values of first N target bits among a plurality of target bits included in the target first multiframe are each a first value.
[0028] According to the second aspect, in an optional implementation, the step of the receiving device determining the target number based on values of target bits included in the target first multiframe includes determining that the target number is equal to a quotient of C when values of first C target bits among the plurality of target bits included in the target first multiframe are each a first value.
[0029] Based on the second aspect, in an optional implementation, the step of the receiving device determining at least two multi-frames in the plurality of data frames based on the target bits includes a step of determining a frame boundary of a second multi-frame, wherein the frame boundary of the second multi-frame includes a multi-frame having a minimum value of the target number, and the frame boundary of the second multi-frame further includes a multi-frame having a maximum value of the target number.
[0030] It can be seen that based on the target bits, the receiving device can accurately perform frame synchronization for the second multiframe, thereby improving the efficiency and accuracy in performing frame synchronization for the second multiframe.
[0031] According to the second aspect, in an optional implementation, the number of target bits is one.
[0032] It can be seen that since the number of target bits used to indicate the at least two multi-frames is extremely small, the difficulty for a receiving device to perform frame synchronization for the at least two multi-frames based on the target bits is effectively reduced, and the efficiency of frame synchronization is also improved.
[0033] According to a third aspect, an embodiment of the present application provides a digital processing chip, the chip comprising a processor and a memory, the memory and the processor being interconnected via a transmission line, the memory storing instructions, and the processor configured to execute the method of the first aspect or the second aspect.
[0034] No. 4 According to an aspect of the present application, an embodiment of the present application provides a transmitting device including a processor and a memory, the processor and the memory being interconnected, and the processor calls a program code in the memory to execute the method in the first aspect or any one of the implementations of the first aspect.
[0035] No. 5 According to the first aspect, an embodiment of the present application provides a receiving device including a processor and a memory, the processor and the memory being interconnected, and the processor calls a program code in the memory to execute the method in the second aspect or any one of the implementations of the second aspect.
[0036] No. 6According to an aspect, an embodiment of the present invention provides a computer readable storage medium comprising instructions which, when executed on a computer, enable the computer to perform a method of any one of the first aspect or the second aspect.
[0037] No. 7 According to an aspect, an embodiment of the present invention provides a computer program product comprising instructions which, when executed on a computer, enable the computer to perform a method of any one of the first aspect or the second aspect. [Brief description of the drawings]
[0038] [Figure 1] 1 is a schematic diagram of the structure of an optical network according to an embodiment of the present invention; [Diagram 2] 2 is an exemplary diagram of a structure of an embodiment of a data frame according to the present application; [Diagram 3] 4 is a flow chart illustrating steps in an embodiment of a method for transmitting data frames according to an embodiment of the present invention. [Figure 4] FIG. 2 is an exemplary diagram illustrating Example 1 of target bit values of a data frame according to the present application. [Diagram 5] FIG. 11 is an exemplary diagram illustrating Example 2 of target bit values of a data frame according to the present application. [Figure 6] FIG. 11 is an exemplary diagram illustrating Example 3 of target bit values of a data frame according to the present application. [Figure 7] FIG. 11 is an exemplary diagram showing Example 4 of target bit values of a data frame according to the present application. [Figure 8] FIG. 2 is an exemplary diagram of the structure of a network device according to a first embodiment of the present application; [Figure 9] FIG. 11 is an exemplary diagram of a structure of a network device according to a second embodiment of the present application; [Figure 10] FIG. 11 is an exemplary diagram of the structure of a network device according to the present application in Example 3; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0039] In order to more effectively understand the data frame transmission method provided in the present application, the following will first describe an optical network to which the method of the present application is applied with reference to Figure 1. Figure 1 is a schematic diagram of the structure of an optical network according to an embodiment of the present invention.
[0040] The data frame transmission method provided in this application is applicable to optical networks, such as OTN. An OTN is usually formed by connecting multiple network devices using fibers, and the OTN may be of different topology types, such as circuit type, ring type, and mesh type, based on specific requirements. The OTN 200 shown in FIG. 1 includes eight OTN devices 201, specifically devices A to H. 202 denotes a fiber, configured to connect two devices. 203 denotes a customer service interface, configured to receive or transmit customer service data. Based on actual requirements, the OTN devices may have various functions. The OTN devices usually include optical layer type devices, electrical layer type devices, and photoelectric hybrid type devices. The optical layer type devices are devices that can process optical layer signals, such as optical amplifiers (OA) or optical add / drop devices. / The OADM is an optical drop multiplexer (OADM). The OA is also called an optical line amplifier (OLA), and is mainly configured to amplify the optical signal to support longer distance transmission when a certain performance of the optical signal is ensured. The OADM is configured to perform spatial conversion on the optical signal, so that the optical signal can be output from various output ports (also called directions). The electrical layer device is a device that can process electrical layer signals, for example, a device that can process OTN signals. The photoelectric hybrid device is a device that has the function of processing optical layer signals and electrical layer signals. It should be noted that multiple different functions may be integrated into one OTN device based on specific integration requirements. The technical solutions provided in this application are applicable to OTN devices with different forms and integration degrees and with electrical layer functions.
[0041] In this embodiment of the present application, an example in which the data frame is an OTN frame is used for explanation. Various service data are carried using the OTN frame, and abundant management and monitoring functions are provided. The OTN frame may be an optical service unit (OSU) frame, an ODUk frame, an ODUCn frame, an ODUflex frame, an optical transport unit k (OTUk) frame, an OTUCn frame, a flexible OTN (FlexO) frame, etc. The difference between an ODU frame and an OTU frame is that an OTU frame includes an ODU frame and an OTU overhead, and k represents different rate levels, for example, k=1 represents 2.5Gbps, k=4 represents 100Gbps, and Cn represents a variable rate, specifically, a rate that is a positive integer multiple of 100Gbps. Unless otherwise specified, an ODU frame is either an ODUk frame, an ODUCn frame, or an ODUflex frame, and an OTU frame is either an OTUk frame, an OTUCn frame, or a FlexO frame. Furthermore, with the development of OTN technology, new types of OTN frames may be defined and are applicable to this application.
[0042] In addition, the description of the data frame in this embodiment is an example that can be arbitrarily selected, and is not limited in any way. Alternatively, the data frame provided in this application may be applied to a passive optical network (PON) and a flexible Ethernet (FlexE).
[0043] In order to improve the transport efficiency when the OTN frame transports low-rate frames, the present application uses an example in which the OTN frame is an OSU frame for explanation. Alternatively, in another example, the OTN frame is a Flexible Optical Service Unit (OSU). flexible Optical Service Uni t、The name OSU may be referred to as an optical service data unit (OSUflex). Note that the name OSU is merely an example and does not impose any limitation on the frame structure defined in this application. Alternatively, the name may be replaced with another name such as low rate frame, low rate service frame, or optical service data unit frame.
[0044] 2 is a schematic diagram of an available OSU frame structure. In this embodiment, the specific number of overhead areas and the specific number of payload areas included in the OSU frame are not limited. In FIG. 2, an example in which the OSU frame includes one overhead area and multiple payload areas is used for explanation.
[0045] The OSU frame consists of 192 bytes. The overhead area consists of 7 bytes, and the payload area consists of 185 bytes. Various overhead information must be inserted into the overhead area, such as general overhead, mapping overhead, and one byte of cyclic redundancy check-8 bit (CRC8). The general overhead may include the following overhead information, namely version (VER), tributary port number (TPN), general communication channel (GCC), frame type (FT), tandem connection monitoring (TCM) overhead, and path monitoring (PM) overhead.
[0046] It can be seen that while the byte size of the overhead area of the OSU frame is limited, there is a need to insert more overhead information. The objective of the method provided in this application is to improve the efficiency of inserting overhead information into the overhead area of the OSU frame.
[0047] FIG. 3 is a flow chart illustrating steps in an embodiment of a method for transmitting data frames according to an embodiment of the present invention.
[0048] First, a transmitting device and a receiving device for executing the method according to the present embodiment are configured as an OTN 200 It should be noted that the example of two interconnected OTN devices included in the above is used for illustrative purposes and is not intended to be limiting. Alternatively, in another embodiment, the transmitting device and the receiving device may be two devices that need to exchange data frames in a PON, or two devices that need to exchange data frames in a FlexE.
[0049] In step 301, a transmitting device determines at least two pieces of overhead information.
[0050] In this embodiment, as long as two or more pieces of overhead information are transmitted using multiframes, the amount of overhead information that the transmitting device transmits to the receiving device using multiframes is not limited. In this embodiment, an example is used for explanation, in which the transmitting device needs to transmit first overhead information and second overhead information to the receiving device, and the number of bits occupied by the second overhead information is greater than the number of bits occupied by the first overhead information.
[0051] The specific type of the first overhead information and the specific type of the second overhead information are not limited in this embodiment. For example, the first overhead information is related to automatic protection switching (APS) or delay measurement (DM) in the TCM or PM shown in Figure 2. In another embodiment, the second overhead information is related to a trail trace identifier (TTI).
[0052] In step 302, a transmitting device generates a number of data frames.
[0053] To transmit the first overhead information and the second overhead information to the receiving device, the transmitting device generates a plurality of data frames, and then determines a first multiframe and a second multiframe within the plurality of data frames, the first overhead information is inserted into the plurality of data frames included in the first multiframe, and the second overhead information is inserted into the plurality of data frames included in the second multiframe.
[0054] Specifically, the overhead area of each data frame included in the first multiframe includes a first field. The transmitting device inserts the first overhead information into the first field. For example, if the number of bits occupied by the first field in the data frame is 1 and the first multiframe includes 32 data frames, the transmitting device may insert the first overhead information into a bit space belonging to the first multiframe and including 32×1=32 bits.
[0055] The overhead area of each data frame included in the second multiframe includes a second field. The transmitting device inserts second overhead information into the second field. The position of the first field and the position of the second field are different in the data frame. For example, if the number of bits occupied by the second field in the data frame is 1 and the second multiframe includes 512 data frames, the transmitting device S Second overhead information may be inserted into the bit space belonging to the second multiframe and containing 512×1=512 bits.
[0056] In order to indicate to a receiving device the first multiframe with the first overhead information inserted and the second multiframe with the second overhead information inserted, in the process of generating a plurality of data frames, the transmitting device needs to insert a target bit into the overhead area of the data frame. The first multiframe and the second multiframe are indicated to the receiving device using the target bit. The receiving device can extract the first overhead information from the first multiframe and the second overhead information from the second multiframe based on the target bit. The position of the target bit in the overhead area of the data frame is different from each of the position of the first field and the position of the second field. For example, the target bit may be located in the TCM or PM, and is at a different position from the position of the first field and the position of the second field.
[0057] In this embodiment, as long as the target bit can indicate the first multiframe and the second multiframe simultaneously, the specific bit number of the target bit is not limited. For example, the bit number of the target bit in this embodiment is less than the bit number occupied by the MFAS in the existing OTN frame. When the MFAS occupies 8 bits, the bit number of the target bit in this embodiment may be any integer less than 8 and equal to or greater than 1. For example, when the bit number of the target bit is 1, the first multiframe and the second multiframe may be indicated using a target bit of 1 bit. It can be seen that when the target bit can indicate the first multiframe and the second multiframe simultaneously, the efficiency in inserting overhead information into the overhead area of the data frame is effectively improved, thereby effectively saving bandwidth resources.
[0058] To be able to indicate the first and second multiframes simultaneously, the target bits need to achieve two objectives:
[0059] In purpose 1, the target bit may indicate a frame boundary of a first multiframe, the frame boundary of the first multiframe being a first data frame and a last data frame of a plurality of consecutive data frames included in the first multiframe.
[0060] In purpose 2, the target bit may indicate a frame boundary of the second multiframe, the frame boundary of the second multiframe being the first and last first multiframes of a plurality of consecutive first multiframes included in the second multiframe.
[0061] The process by which the target bits achieve purpose 1 is described below with reference to Figure 4. Figure 4 is an exemplary diagram illustrating Example 1 of the value of the target bits of a data frame according to the present application.
[0062] The first multiframe in this embodiment includes M consecutive data frames. Specifically, the first multiframe includes a first data frame, a second data frame, ..., and an Mth data frame. In this embodiment, the specific value of M is not limited, but M is a positive integer greater than 1. In FIG. 4, an example of M=5 is used for explanation. It can be seen that in this embodiment, the first multiframe includes 5 data frames.
[0063] The transmitting device sets the value of the target bit in the first data frame included in the first multiframe to a first value. This first value is not limited in this embodiment. For example, if the number of bits of the target bit is 1, the first value may be "0" or "1". As another embodiment, if the number of bits of the target bit is 2, the first value may be "01", etc.
[0064] The transmitting device sets the value of the target bit in the last data frame included in the first multiframe to a second value. The first value and the second value in this embodiment are different from each other, and the second value is not limited in this embodiment. For example, if the first value is "1", the second value is "0".
[0065] It can be seen that in the M consecutive data frames included in the first multi-frame in this embodiment, the target bit values in two data frames located at a frame boundary are different from each other, and among the different first multi-frames, the target bit values in the first data frames are the same, and the target bit values in the last data frames are also the same.
[0066] There are two cases of values of target bits of data frames included in the first multiframe and within a frame boundary, in one case, the values of two adjacent target bits included in the first multiframe are a first value, and in another case, the values of two adjacent target bits included in the first multiframe transition from a first value to a second value. The two adjacent target bits included in the first multiframe are located in the overhead areas of two adjacent data frames.
[0067] The following describes how a number of consecutive target bits in the first multiframe specifically indicate a frame boundary of the first multiframe.
[0068] The value of the target bit transitions from the second value to the first value, so that the transmitting device instructs the receiving device to identify the frame boundaries of two adjacent first multiframes. In FIG. 4, two adjacent first multiframes (401 and 402) are used as an example. The first multiframe 401 is the first of the two adjacent multiframes and is the first multiframe. 1Multiframe 402 is the latter of two adjacent multiframes.
[0069] The transmitting device determines a first target bit and a second target bit. The first target bit is a target bit in the last data frame (i.e., the fifth data frame) of the first multiframe 401. The second target bit is a target bit in the first data frame of the first multiframe 402.
[0070] To indicate a transition between the first multiframe 401 and the first multiframe 402, the transmitting device sets the value of the first target bit to a second value. The transmitting device sets the value of the second target bit to the first value. It can be seen that the receiving device can determine that the data frame including the first target bit is the last data frame of the first multiframe 401 based on the transition from the first target bit having a first value to the second target bit having a second value. The receiving device may further determine that the data frame including the second target bit is the first data frame of the first multiframe 402.
[0071] In addition, in the first multi-frame of this embodiment, the values of the target bits of two adjacent data frames do not transition from the second value to the first value, thereby effectively avoiding confusion between the frame boundary included in the first multi-frame and the data frames located within the frame boundary.
[0072] The process by which the sending device achieves purpose 2 is described below.
[0073] Specifically, the transmitting device can indicate the frame boundary of the second multiframe based on the value of each target bit in each first multiframe. Two ways of indicating the frame boundary of the second multiframe are described below.
[0074] In Scheme 1, first, the transmitting device determines a target number N. The target number N indicates the rank of the first multiframe in the second multiframe. Please continue to refer to FIG. 4. If the first multiframe 401 is the highest ranked first multiframe in the second multiframe, the target number N of the first multiframe 401 is 1. If the first multiframe 404 is the lowest ranked first multiframe in the second multiframe, the target number N of the first multiframe 404 is 4.
[0075] Furthermore, the transmitting device sets the value of each of the first N target bits of all target bits included in the first multiframe to a first value. For example, the transmitting device determines that the value of the first target bit of the first multiframe 401 ranked highest in the second multiframe is a first value and that the values of each of the other target bits are a second value. In another embodiment, the transmitting device determines that the value of each of the first four target bits of the first multiframe 404 ranked fourth in the second multiframe is a first value and that the values of each of the other target bits are a second value.
[0076] In this way, it can be seen that the number of target bits included in each first multiframe and having a first value indicates the rank of each first multiframe within the second multiframe. Based on the rank of each first multiframe within the second multiframe, the receiving device may determine the frame boundary of the second multiframe.
[0077] The frame boundary of the second multiframe includes a multiframe (which is the first multiframe of the multiple first multiframes included in the second multiframe) that includes a minimum number of target bits whose value is the first value, and the frame boundary of the second multiframe further includes a multiframe (which is the last first multiframe of the multiple first multiframes included in the second multiframe) that includes a maximum number of target bits whose value is the first value.
[0078] In this embodiment, the ascending order of the target bits included in the first multiframe and having a first value is used to indicate the rank of each first multiframe in the second multiframe for the purpose of explanation, and is not intended to be limiting. Alternatively, for example, in another embodiment, the descending order of the target bits included in the first multiframe and having a first value may be used to indicate the rank of the first multiframe in the second multiframe.
[0079] In method 2, first, the transmitting device determines the target number N. For the specific process, please refer to method 1. The details will not be described here.
[0080] Furthermore, the transmitting device determines that the values of the first C target bits among all the target bits included in the first multiframe are first values, where C is an integer multiple of N. For example, if the target number N of a first multiframe included in the second multiframe is 3, the transmitting device may set the values of the first C=3×2=6 target bits in the first multiframe to the first value, and may set the values of the other target bits to the second value.
[0081] In step 303, the transmitting device transmits a data frame to the receiving device.
[0082] In step 304, the receiving device obtains the target bit from each data frame.
[0083] Specifically, the receiving device presets a search period. The receiving device continuously obtains M data frames in the search period. As can be seen from this description, the first multi-frame includes M data frames. In this embodiment, the example of the receiving device continuously obtaining M data frames in the search period is used for description.
[0084] The receiving device obtains the target bit included in each of the M data frames obtained in the search period. For example, the transmitting device and the receiving device may agree in advance to use a preset field to carry the target bit in the TCM of the overhead area of each data frame. In this embodiment, the specific location of the preset field in the overhead area of the data frame is described as an optional example and is not intended to be limiting.
[0085] In step 305, the receiving device determines at least two multiframes based on the target bits.
[0086] As can be seen from this description, in this embodiment, an example is provided in which the multi-frames that the transmitting device transmits to the receiving device are the first multi-frame and the second multi-frame. First, the process that the receiving device determines the first multi-frame is described below.
[0087] The receiving device may identify the frame boundary of each first multiframe based on the values of the target bits in any two adjacent data frames, where if the value of the target bit of the former of two target bits included in two data frames detected consecutively in the first search period is the second value and the value of the target bit of the latter of the two target bits is the first value, this indicates that the two data frames including the two target bits are located at the frame boundaries of the two first multiframes.
[0088] When the receiving device determines that the values of the two target bits included in two consecutively detected data frames are a first value or a second value, respectively, this indicates that the two data frames are located in the same first multiframe. In addition, when the receiving device determines that the value of the former target bit is a first value and the value of the latter target bit is a second value in the two target bits included in two consecutively detected data frames, this also indicates that the two data frames including the two target bits are located in the same first multiframe.
[0089] An exemplary description of a specific search process of a receiving device is provided with continued reference to FIG.
[0090] If the receiving device detects the first data frame in the search period, it is the third data frame in the first multiframe 401. If the value of the target bit in the third data frame is the second value, this indicates that the third data frame is a data frame located within the frame boundary of the first multiframe 401. The search is continuously performed until the receiving device detects a data frame including the first target bit and a data frame including the second target bit. For a description of the first target bit and the second target bit, please refer to step 302. Details will not be described here. It can be seen that if the receiving device detects two data frames in which the first target bit whose value is the second value transitions to the second target bit whose value is the first value, it may be determined that there was a transition between two first multiframes.
[0091] On the other hand, in order to avoid misjudging the frame boundary of the first multiframe due to bit errors, after detecting a transition from the first target bit having a second value to the second target bit having a first value, the receiving device determines whether a second transition from the first target bit having a second value to the second target bit having a first value has occurred M frames later. If a second transition has occurred, no bit error occurs. The receiving device may determine that the data frame including the first target bit is the last data frame of the first multiframe. The receiving device may further determine that the data frame including the second target bit is the first data frame of the first multiframe. The above operations are repeated until the receiving device sequentially determines the first and last data frames included in each first multiframe.
[0092] Next, the process by which the receiving device determines the second multiframe will be described.
[0093] When the receiving device determines each first multiframe, the frame boundary of the second multiframe may be determined based on the target bit included in each first multiframe and having a first value. Specifically, the receiving device first determines that one of the multiple first multiframes is a target first multiframe. Furthermore, the receiving device determines the target number based on the target bit included in the target first multiframe and having a first value. For example, in the method 1 of step 302, if the number of target bits included in the target first multiframe and having a first value is N, the target number is determined to be N. In another embodiment, in the method 2 of step 302, if the number of target bits included in the target first multiframe and having a first value is C, the target number is determined to be N=C / X, where C is X times N. Specifically, for example, if the receiving device determines that C=6 and pre-determines that X is 2, it may be determined that N=6 / 2=3. The target number indicates the rank of the first multiframe in the second multiframe.
[0094] Specifically, when it is determined that N=1 based on the target first multiframe, this indicates that the target first multiframe is the first first multiframe of the second multiframe. Optionally, the receiving device may obtain the frame number of the first multiframes included in each second multiframe in advance, so as to be able to determine the frame boundary of the second multiframe. The receiving device determines that the first multiframe with the target number N=1 among the multiple consecutive first multiframes is the first first multiframe of the second multiframes (the first multiframe 401 shown in FIG. 4). The first multiframe with the target number N equal to the frame number is the last first multiframe of the second multiframe. For example, when the frame number is 4, the receiving device determines that the target number N of the first multiframe 404 is equal to 4, which indicates that the first multiframe 404 is the last first multiframe included in the second multiframe.
[0095] From the above, it can be seen that the target numbers of the first multiframes included in the second multiframe are in ascending order. When the receiving device detects that the target numbers of two adjacent first multiframes transition from a small value to a large value, this indicates that the two adjacent first multiframes are located in the same second multiframe. When the receiving device detects that the target numbers of two adjacent first multiframes transition from a small value to a large value, this indicates that the two adjacent first multiframes are located in two adjacent second multiframes. In the two adjacent first multiframes, the first multiframe with a larger target number is the last first multiframe of the former second multiframe. The first multiframe with a smaller target number is the first first multiframe of the latter second multiframe.
[0096] In this embodiment, the number of targets of the first multiframes included in the second multiframe is in ascending order. In another embodiment, each first multiframe of As long as the target number can indicate the rank of each first multiframe within the second multiframe, the target numbers of the first multiframes included in the second multiframe may be in descending order.
[0097] As shown in FIG. 4, the first multiframe 401, 402, 403, and 404 of If the target numbers are in ascending order, this indicates that the first multiframes 401, 402, 403, and 404 are located within the same second multiframe. of If the target number N is equal to 4 and the target number N of the first multiframe 405 is equal to 1, this indicates that the first multiframe 404 is the last first multiframe of the former second multiframes and the first multiframe 405 is the first first multiframe of the latter second multiframes.
[0098] In step 306, the receiving device extracts overhead information from the at least two multiframes.
[0099] From the foregoing, it can be seen that the first multiframes are used to carry the first overhead information and the second multiframes are used to carry the second overhead information, and the receiving device may extract the first overhead information from each determined first multiframe and may extract the second overhead information from each determined second multiframe.
[0100] In the method of the present embodiment, the target bit located in the data frame indicates at least two multi-frames simultaneously, so that the efficiency of indicating multi-frames is improved, and the complexity of indicating multi-frames is reduced, so that the efficiency and accuracy of performing frame synchronization for multi-frames using the target bit are improved.In addition, the bit number of the target bit is less than the existing bit number of the information (e.g., MFAS) for indicating multi-frames, so that the bandwidth resource is effectively saved, and the utilization efficiency of the bandwidth resource is also improved when indicating multi-frames.
[0101] In order to more effectively understand the process in which the target bit indicates at least two multiframes in the present application, the first application scenario of the target bit provided in the present application will be described below with reference to Fig. 5. Fig. 5 is an exemplary diagram showing Example 2 of the value of the target bit of a data frame according to the present application.
[0102] In the application scenario shown in FIG. 5, an example is used for explanation, in which the first overhead information is APS and the second overhead information is TTI. The first multiframe carrying the first overhead information can completely carry one APS overhead information by only using 32 data frames included in the first multiframe. The second multiframe carrying the second overhead information can completely carry one TTI overhead information by only using 16 first multiframes included in the second multiframe (a total of 512 data frames). Therefore, the transmitting device determines that each first multiframe includes 32 data frames, and each second multiframe includes 16 first multiframes.
[0103] In this application scenario, an example is used for explanation, in which the number of target bits is 1. Specifically, the first multiframe generated by the transmitting device has one target bit with a value of "1" and 31 target bits with a value of "0". In addition, the target bit of the first data frame included in the first multiframe has a value of "1", and the target bits of the second data frame to the 32nd data frame are all "0".
[0104] The second first multiframe generated by the transmitting device has two target bits with a value of "1" and 30 target bits with a value of "0". In addition, the target bits of the first data frame and the second data frame included in the first multiframe each have a value of "1". The target bits of the third data frame through the 32nd data frame included in the first multiframe each have a value of "0".
[0105] By analogy, in the 16th first multiframe generated by the transmitting device, there are 16 target bits with a value of "1" and 16 target bits with a value of "0". In addition, the target bits of the 1st data frame through the 16th data frame in the first multiframe each have a value of "1". The target bits of the 17th data frame through the 32nd data frame each have a value of "0".
[0106] How the transmitting device inserts the first overhead information into the first multiframe is described below.
[0107] In each first multiframe, the transmitting device inserts APS overhead information indicating a request and / or a status from the first field of the first data frame to the first field of the fourth data frame in the first multiframe. For an explanation of the first field, please refer to FIG. 3. A detailed description will not be given here. APS overhead information indicating a protection type is inserted from the first field of the fifth data frame to the first field of the eighth data frame in the first multiframe. APS overhead information indicating a request signal is inserted from the first field of the ninth data frame to the first field of the sixteenth data frame in the first multiframe. APS overhead information indicating a bridge signal is inserted from the first field of the seventeenth data frame to the first field of the twenty-fourth data frame in the first multiframe. APS overhead information indicating a user response (RES) and / or a reservation is inserted from the first field of the twenty-fifth data frame to the first field of the thirty-second data frame in the first multiframe. It can be seen that the first field of each data frame contained in the complete first multiframe is used to carry the complete APS overhead information.
[0108] How the transmitting device inserts the second overhead information into the second multiframe is described below.
[0109] In each second multiframe, the transmitting device inserts a TTI indicating a source access point identifier (SAPI) into the second field of a total of 256 data frames included in the second multiframe from the 1st first multiframe to the 8th first multiframe. The transmitting device inserts a TTI indicating a destination access point identifier (DAPI) into the second field of a total of 256 data frames included in the second multiframe from the 9th first multiframe to the 16th first multiframe. It can be seen that the second field of each data frame included in the complete second multiframe is used to convey the complete TTI.
[0110] When the receiving device receives multiple data frames from the transmitting device, the receiving device determines each first multiframe in the multiple data frames. When the receiving device determines that the value of the target bit transitions from "0" to "1", this indicates that the data frame containing two target bits is located at the frame boundary of the first multiframe. For a detailed description of the specific process, please refer to step 304 and step 305 shown in Figure 3. Details will not be described here.
[0111] The receiving device receives each first multiframe ofThe frame boundary of the second multiframe can be further determined according to the frame number (in this embodiment, the frame number is equal to 16). If the first first multiframe includes one target bit with a value of "1", this indicates that the first first multiframe is the first one of the first multiframes included in the second multiframe. If the 16th first multiframe includes 16 target bits with a value of "1", this indicates that the 16th first multiframe is the last one of the first multiframes included in the second multiframe. For a detailed description of the specific process, please refer to step 304 and step 305 shown in FIG. 3. Details will not be described here.
[0112] When the receiving device has determined the first multiframe and the second multiframe, the first overhead information may be extracted from the first multiframe and the second overhead information may be extracted from the second multiframe.
[0113] A second application scenario of the target bit provided in the present application is described below with reference to Fig. 6. Fig. 6 is an exemplary diagram showing Example 3 of the value of the target bit of a data frame according to the present application.
[0114] For the description of the first overhead information carried in the first multiframe and the second overhead information carried in the second multiframe in this application scenario, please refer to Figure 5. Details will not be described here. In this application scenario, an example is used for description, in which each first multiframe includes 32 data frames, and each second multiframe includes 8 first multiframes.
[0115] For a specific description of the value of each target bit included in each first multiframe shown in Figure 6, please refer to Figure 5. Details will not be described here.
[0116] The third application scenario of the target bit provided in the present application is described below with reference to Fig. 7. Fig. 7 is an exemplary diagram showing Example 4 of the value of the target bit of the data frame according to the present application.
[0117] For the description of the first overhead information carried in the first multiframe and the second overhead information carried in the second multiframe in this application scenario, please refer to Figure 5. Details will not be described here. In this application scenario, an example is used for description, in which each first multiframe includes 32 data frames, and each second multiframe includes 8 first multiframes.
[0118] In this application scenario, an example is used for explanation, in which the number of target bits is 1. In the first multiframe generated by the transmitting device, there are two target bits with a value of "1", and there are 30 target bits with a value of "0". In addition, the target bits of the first data frame and the second data frame included in the first multiframe are each "1", and the target bits of the third data frame to the 32nd data frame are each "0".
[0119] By analogy, in the eighth first multiframe generated by the transmitting device, there are 16 target bits with a value of "1" and 16 target bits with a value of "0". In addition, the target bits of the first data frame through the sixteenth data frame in the first multiframe are all "1", and the target bits of the seventeenth data frame through the thirty-second data frame are all "0".
[0120] It can be seen that in each first multiframe in this application scenario, the number of target bits with value "1" is twice the rank of the first multiframe in the second multiframe. When determining the first multiframe, the receiving device can divide the data of the target bits with value "1" contained in the first multiframe by 2, and the quotient obtained is the rank of the first multiframe in the second multiframe.
[0121] The structure of the network device provided in the present application is described below with reference to Figure 8. Figure 8 is an exemplary diagram of the structure of one embodiment of a network device according to the present application.
[0122] The network device 800 in this embodiment includes a processor 801 and a memory 802. The memory 802 is configured to store program instructions and data. The network device may be the transmitting device or the receiving device in the above embodiment.
[0123] When the network device 800 is a transmitting device, the processor 801 is configured to execute steps 301 to 303 shown in Fig. 3. When the processor 801 executes the transmitting step shown in step 303, the processor 801 may transmit a data frame to the optical transceiver so that the optical transceiver transmits the data frame to the receiving device.
[0124] When the network device 800 is a receiving device, the processor 801 is configured to perform steps 304 to 306 shown in Fig. 3. Note that the data frame acquired by the processor 801 may be received by an optical transceiver disposed in the receiving device, and then the optical transceiver may transmit the received data frame to the processor 801.
[0125] In the embodiments of the present application, the processor 801 may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array, or another programmable logic device, a discrete gate or transistor logic device, or a separate hardware component, and may implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor, or any conventional processor, etc. The steps of the methods disclosed with reference to the embodiments of the present application may be directly executed by a hardware processor, or may be executed by a combination of hardware modules and software modules in the processor.
[0126] Program codes used by the processor 801 to implement the aforementioned methods may be stored in the memory 802. The memory 802 is coupled to the processor 801. The coupling in this embodiment of the present application is an indirect coupling or communication connection between the devices, units or modules for information exchange between the devices, units or modules, which coupling may be electrical, mechanical or in other forms. The processor 801 may cooperate with the memory 802. The memory 802 may be a non-volatile memory, such as a hard disk drive (HDD), or a volatile memory, such as a random access memory (RANM). The memory 802 may be, but is not limited to, a random access memory (RAM), or any other medium capable of carrying or storing program code, such as in the form of instruction structures or data structures, that can be accessed by a computer.
[0127] 9 and 10 are schematic diagrams of the structure of two available network devices. The network device 900 shown in FIG. 9 comprises a generating unit 901 and a sending unit 902. The generating unit 901 is configured to perform steps 301 and 302 shown in FIG. 3. The sending unit 902 is configured to perform step 303 shown in FIG. 3. The network device 1000 shown in FIG. 10 comprises a receiving unit 1001 and a processing unit 1002. The receiving unit 1001 is configured to receive data frames from the sending device. The processing unit is configured to perform steps 304 to 306 shown in FIG. 3.
[0128] Those skilled in the art will appreciate that the units included in network device 900 and network device 1000 may be implemented using one or more processors.
[0129] Based on the above embodiment, an embodiment of the present application further provides a computer-readable storage medium. The storage medium stores a software program. When the software program is read and executed by one or more processors, the method provided in the above embodiment may be implemented. The computer-readable storage medium may include any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory, a random access memory, a magnetic disk, or an optical disk.
[0130] Based on the above-mentioned embodiment, an embodiment of the present application further provides a chip. The chip includes a processor, and the processor is configured to perform the functions in any one or more of the above-mentioned embodiments, for example, to obtain or process data frames in the above-mentioned manner. Optionally, the chip further includes a memory, and the memory is configured to store necessary program instructions and data executed by the processor. The chip may include a chip, or may include a chip and another separate device.
[0131] The above embodiments do not limit the present invention, but are merely for illustrating the technical solutions of the present invention. Although the present invention has been described in detail in conjunction with the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments can be further modified, or equivalent replacements can be made for some technical features of the above embodiments. Such modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application. [Explanation of symbols]
[0132] 200 Optical Transport Network (OTN) 201 OTN Devices 202 Fiber 203 Customer Service Interface 800 Network Devices 801 Processor 802 Memory 900 Network Devices 901 Generator Unit 902 Transmitter Unit 1000 Network Devices 1001 Receiver Unit 1002 Processing unit
Claims
1. A data frame transmission method, comprising: generating a data frame, an overhead area of the data frame including target bits, the target bits indicating at least two multiframes simultaneously, the multiframe including a plurality of consecutive data frames, different multiframes including different numbers of data frames, and different overhead information being inserted into the different multiframes, the data frame being an Optical Transport Network (OTN) data frame; transmitting the data frame; Including, Simultaneous display of at least two multiframes indicating a frame boundary of a multiframe of the at least two multiframes; indicating a frame boundary of another multiframe of said at least two multiframes; Including, The method according to claim 1, wherein the number of target bits is 1.
2. said step of generating a data frame further comprising: inserting a plurality of target bits into an overhead area of a plurality of consecutive data frames included in a first multiframe, the first multiframe being any one of the at least two multiframes, and values of any two adjacent target bits of the plurality of target bits being a first value, or values of any two adjacent target bits transitioning from a first value to a second value, the first value being different from the second value; 2. The method of claim 1, comprising:
3. said step of generating a data frame further comprising: a step of inserting a first target bit and a second target bit into two adjacent first multiframes, respectively, each of the two adjacent first multiframes being one of the at least two multiframes, the first target bit being located in a last data frame of a first multiframe in the two adjacent first multiframes, the second target bit being located in a first data frame of a second multiframe in the two adjacent first multiframes, a value of the first target bit being the second value, and a value of the second target bit being the first value; 3. The method of claim 2, comprising:
4. The at least two multiframes further include a second multiframe, the second multiframe including a plurality of first multiframes, and the step of generating a data frame further includes: determining a number of targets, the number of targets indicating a rank of a first multiframe of a target in the second multiframe, the first multiframe of the target being one of the plurality of first multiframes included in the second multiframe, and the rank indicating an order of the first multiframe of the target in the plurality of first multiframes; determining a value of a target bit included in the target first multiframe based on the target number, the value of the target bit further indicating a frame boundary of the second multiframe; 4. The method of claim 2 or 3, comprising:
5. the target number is N, N being a positive integer equal to or greater than 1, and the step of determining a value of a target bit to be included in the target first multiframe based on the target number comprises: determining that the values of the first N target bits among a plurality of target bits included in the target first multiframe are the first value; 5. The method of claim 4, comprising:
6. the target number is N, N being a positive integer equal to or greater than 1, and the step of determining a value of a target bit to be included in the target first multiframe based on the target number comprises: determining that values of first C target bits among a plurality of target bits included in the target first multiframe are the first value, where C is an integer multiple of N; 5. The method of claim 4, comprising:
7. 7. The method of claim 5 or 6, wherein the second multiframe ranges from a multiframe including a minimum number of target bits whose value is the first value to a multiframe including a maximum number of target bits whose value is the first value.
8. A data frame transmission method, comprising: receiving a plurality of data frames, an overhead area of the plurality of data frames including a target bit, the target bit indicating at least two multiframes simultaneously, the multiframes including a plurality of consecutive data frames, different multiframes including different numbers of data frames, different overhead information being inserted into the different multiframes, the data frames being optical transport network (OTN) data frames; obtaining the target bit from the plurality of data frames; determining the at least two multiframes within the plurality of data frames based on the target bits; Including, Simultaneous display of at least two multiframes indicating a frame boundary of a multiframe of the at least two multiframes; indicating a frame boundary of another multiframe of said at least two multiframes; Including, The method according to claim 1, wherein the number of target bits is 1.
9. determining the at least two multiframes within the plurality of data frames based on the target bits; determining a first multiframe in the plurality of data frames, the first multiframe being any one of the at least two multiframes, and among a plurality of target bits included in the first multiframe, values of any two adjacent target bits are first values, or values of any two adjacent target bits transition from a first value to a second value, and the first value and the second value are different from each other; 9. The method of claim 8, comprising:
10. determining the at least two multiframes within the plurality of data frames based on the target bits; determining a first target bit and a second target bit that are adjacent to each other in the plurality of data frames, the first target bit having a value of the second value and the second target bit having a value of the first value; determining that the first target bit and the second target bit are located in two adjacent first multiframes, each of the two adjacent first multiframes being one of the at least two multiframes, the first target bit being located in a last data frame of a first multiframe of the two adjacent first multiframes, and the second target bit being located in a first data frame of a second multiframe of the two adjacent first multiframes; 10. The method of claim 9, comprising:
11. The at least two multiframes further include a second multiframe, the second multiframe including a plurality of first multiframes, and the step of determining the at least two multiframes in the plurality of data frames based on the target bit includes: determining a target number based on a value of a target bit included in a target first multiframe, the target number indicating a rank of the target first multiframe in the second multiframe, the target first multiframe being one of the plurality of first multiframes included in the second multiframe, and the rank indicating an order of the target first multiframe in the plurality of first multiframes; 11. The method of claim 9 or 10, comprising:
12. determining a target number based on a value of a target bit included in a target first multiframe; determining that the target number is equal to N if values of first N target bits of a plurality of target bits included in the target first multiframe are each the first value; 12. The method of claim 11, comprising:
13. determining a target number based on a value of a target bit included in a target first multiframe; determining that the target number is equal to a quotient of C when values of first C target bits of a plurality of target bits included in the target first multiframe are the first value; 12. The method of claim 11, comprising:
14. determining the at least two multiframes within the plurality of data frames based on the target bits; determining frame boundaries of the second multiframe, the second multiframe including a multiframe having a minimum target number through a multiframe having a maximum target number; 14. The method according to any one of claims 11 to 13, comprising:
15. A digital processing chip comprising a processor and a memory, the memory and the processor being interconnected via a transmission line, the memory storing instructions, and the processor configured to execute a method according to any one of claims 1 to 7.
16. A digital processing chip comprising a processor and a memory, the memory and the processor being interconnected via a transmission line, the memory storing instructions, and the processor configured to execute a method according to any one of claims 8 to 14.
17. A transmitting device comprising a processor and a memory, the processor and the memory being interconnected, the processor calling a program code in the memory to: generating a data frame, an overhead area of the data frame including target bits, the target bits simultaneously indicating at least two multiframes, the multiframe including a plurality of consecutive data frames, different multiframes including different numbers of data frames, and different overhead information being inserted into the different multiframes, the data frame being an optical transport network (OTN) data frame; transmitting said data frame; Do the following: Simultaneous display of at least two multiframes indicating a frame boundary of a multiframe of the at least two multiframes; indicating a frame boundary of another multiframe of said at least two multiframes; Including, The number of the target bits is 1. Sending device.
18. The processor, inserting a plurality of target bits into an overhead area of a plurality of consecutive data frames included in a first multiframe, the first multiframe being any one of the at least two multiframes, and values of any two adjacent target bits among the plurality of target bits being a first value, or values of any two adjacent target bits transitioning from a first value to a second value, the first value being different from the second value; The transmitting device of claim 17, further configured to:
19. The processor, inserting a first target bit and a second target bit into two adjacent first multiframes, respectively, each of the two adjacent first multiframes being one of the at least two multiframes, the first target bit being located in a last data frame of a first multiframe in the two adjacent first multiframes, the second target bit being located in a first data frame of a second multiframe in the two adjacent first multiframes, a value of the first target bit being the second value, and a value of the second target bit being the first value; The transmitting device of claim 18, further configured to:
20. The at least two multiframes further include a second multiframe, the second multiframe including a plurality of the first multiframes, and the processor: determining a target number, the target number indicating a rank of a target first multiframe in the second multiframe, the target first multiframe being one of the plurality of first multiframes included in the second multiframe, and the rank indicating an order of the target first multiframe in the plurality of first multiframes; determining a value of a target bit included in the target first multiframe based on the target number, the value of the target bit further indicating a frame boundary of the second multiframe; 20. The transmitting device of claim 18 or 19, further configured to:
21. the target number is N, N being a positive integer greater than or equal to 1, and the processor: determining that values of first N target bits among a plurality of target bits included in the target first multiframe are the first value; The transmitting device of claim 20, further configured to:
22. the target number is N, N being a positive integer greater than or equal to 1, and the processor: determining that values of first C target bits among a plurality of target bits included in the target first multiframe are the first value, where C is an integer multiple of N; The transmitting device of claim 20, further configured to:
23. A receiving device, comprising: a processor and a memory, the processor and the memory being interconnected, the processor calling a program code in the memory to: receiving a plurality of data frames, wherein an overhead area of the plurality of data frames includes a target bit, the target bit simultaneously indicating at least two multiframes, the multiframes including a plurality of consecutive data frames, different multiframes including different numbers of data frames, and different overhead information being inserted into the different multiframes, the data frames being optical transport network (OTN) data frames; obtaining the target bit from the plurality of data frames; determining the at least two multiframes within the plurality of data frames based on the target bits; Do the following: Simultaneous display of at least two multiframes indicating a frame boundary of a multiframe of the at least two multiframes; indicating a frame boundary of another multiframe of said at least two multiframes; Including, The number of the target bits is 1. The receiving device.
24. The processor, determining a first multiframe in the plurality of data frames, the first multiframe being any one of the at least two multiframes, and among a plurality of target bits included in the first multiframe, values of any two adjacent target bits are first values, or values of any two adjacent target bits transition from a first value to a second value, and the first value and the second value are different from each other; 24. The receiving device of claim 23, further configured to:
25. The processor, determining a first target bit and a second target bit adjacent to each other in the plurality of data frames, the first target bit having a value of the second value and the second target bit having a value of the first value; determining that the first target bit and the second target bit are located within two adjacent first multiframes, each of the two adjacent first multiframes being one of the at least two multiframes, the first target bit being located within a last data frame of a first multiframe of the two adjacent first multiframes, and the second target bit being located within a first data frame of a second multiframe of the two adjacent first multiframes; 25. The receiving device of claim 24, further configured to:
26. The at least two multiframes further include a second multiframe, the second multiframe including a plurality of the first multiframes, and the processor: determining a target number based on a value of a target bit included in a target first multiframe, the target number indicating a rank of the target first multiframe in the second multiframe, the target first multiframe being one of the plurality of first multiframes included in the second multiframe, and the rank indicating an order of the target first multiframe in the plurality of first multiframes; 26. A receiving device according to claim 24 or 25, further configured to:
27. The processor, determining that the target number is equal to N when values of first N target bits among a plurality of target bits included in the target first multiframe are the first value; 27. The receiving device of claim 26, further configured to:
28. The processor, determining that the target number is equal to a quotient of C when values of first C target bits among a plurality of target bits included in the target first multiframe are the first value; 27. The receiving device of claim 26, further configured to:
29. The processor, determining frame boundaries of the second multiframe, the second multiframe including a multiframe having a minimum target number through a multiframe having a maximum target number; 29. A receiving device according to any one of claims 26 to 28, further configured to:
Citation Information
Patent Citations
Multi-frame synchronizing method and its device
JP1986067342A
Frame synchronizing system
JP1988062428A
64XN-frame data multiplex synchronizing system
JP1992156125A
Frame transmission system and frame transmission device
JP2017059892A