WO2021190310A1 - Method, apparatus and device for sending oam information, and storage medium - Google Patents
Method, apparatus and device for sending oam information, and storage medium Download PDFInfo
- Publication number
- WO2021190310A1 WO2021190310A1 PCT/CN2021/080002 CN2021080002W WO2021190310A1 WO 2021190310 A1 WO2021190310 A1 WO 2021190310A1 CN 2021080002 W CN2021080002 W CN 2021080002W WO 2021190310 A1 WO2021190310 A1 WO 2021190310A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- oam
- sent
- code block
- aps
- priority
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 95
- 230000000737 periodic effect Effects 0.000 claims description 50
- 230000015654 memory Effects 0.000 claims description 16
- 230000003139 buffering effect Effects 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 6
- 238000012423 maintenance Methods 0.000 claims description 5
- 238000005259 measurement Methods 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 abstract description 30
- 230000006870 function Effects 0.000 abstract description 16
- 238000010586 diagram Methods 0.000 description 39
- 230000003287 optical effect Effects 0.000 description 17
- 238000004891 communication Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000003672 processing method Methods 0.000 description 8
- 230000001960 triggered effect Effects 0.000 description 4
- 238000013500 data storage Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000003780 insertion Methods 0.000 description 3
- 230000037431 insertion Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 238000007792 addition Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000013439 planning Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012384 transportation and delivery Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q11/0067—Provisions for optical access or distribution networks, e.g. Gigabit Ethernet Passive Optical Network (GE-PON), ATM-based Passive Optical Network (A-PON), PON-Ring
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0079—Operation or maintenance aspects
Definitions
- This application relates to the technical field of communication networks, and in particular to a method, device, device, and storage medium for sending OAM information.
- the rapid increase of user network information traffic has promoted the rapid development of communication network information transmission broadband.
- the interface bandwidth speed of communication equipment has gradually increased from 10M to 100M, and further increased to 1G and 10G.
- the interface bandwidth of communication networks has been increased to 100G.
- 400G optical modules have been developed, the price is relatively high, even exceeding the price of 4 100G optical modules.
- 4 100G optical modules are often bundled to form a high-speed transmission channel to replace the expensive 400G.
- Optical modules the International Standards Organization defines the Flexible Ethernet (Flexible Ethernet, FlexE) protocol, which realizes the technical solution of bundling 4 100G optical modules to form a 400G transmission channel.
- the current FlexE protocol defines that it can carry 10GE, 25GE, 40GE and n* 50G (n is a positive integer) customer rate service, but the implementation method of pipeline OAM (Operation, Administration, Maintenance, OAM) transmission in the customer business flow is not given, and the service quality status of the communication pipeline cannot be detected, for example Data such as the bit error rate, delay time and service discard of the channel cannot be obtained.
- OAM Operaation, Administration, Maintenance, OAM
- This application provides a method, device, equipment, and storage medium for sending OAM information.
- the embodiment of the present application provides a method for sending OAM information, and the method includes:
- Buffer at least one type of OAM code blocks to be sent; output each OAM code block to be sent according to a preset scheduling mode; control the total output quantity of the OAM code blocks to be sent within a preset period.
- An embodiment of the present application provides an OAM information sending device, which includes:
- the buffer module is used to buffer at least one type of OAM code blocks to be sent; the scheduling module is used to output each of the OAM code blocks to be sent according to a preset scheduling mode; the control module is used to control the to be sent within a preset period. The total output number of OAM code blocks sent.
- An embodiment of the present application provides a device, which includes:
- One or more processors are One or more processors;
- Memory used to store one or more programs
- the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the OAM information sending method as described in any of the embodiments of the present application.
- the embodiment of the present application provides a computer-readable storage medium on which a computer program is stored.
- the program is executed by a processor, the OAM information sending method as described in any of the embodiments of the present application is implemented.
- the buffered OAM code blocks are output according to a preset scheduling method, and the total output number of OAM code blocks is controlled within a preset period, thereby realizing OAM in the customer service flow
- the output of the code block monitors the customer service channel on the basis of the high-speed transmission channel, which enriches the functions of the transmission channel and can enhance the reliability of the customer service channel.
- Figure 1 is an example diagram of 400G channel generation in related technologies
- FIG. 2 is an example diagram of a 66-bit information block arrangement plan provided by an embodiment of the present application
- FIG. 3 is a schematic diagram of data block allocation on multiple physical channels according to an embodiment of the present application.
- FIG. 4 is a schematic structural diagram of an overhead block data frame provided by an embodiment of the present application.
- Figure 5 is a schematic diagram of a channel carrying customer services provided by an embodiment of the present application.
- FIG. 6 is a schematic diagram of the arrangement structure of code blocks after 64/66 encoding of client services in an embodiment of the present application
- FIG. 7 is a schematic diagram of the location of free blocks in the customer service code block in an embodiment of the present application.
- FIG. 8 is an example diagram of forcibly inserting an OAM code block in a customer service code block in an embodiment of the present application
- FIG. 9 is a flowchart of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 10 is a flowchart of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 11 is a flowchart of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 12 is a flowchart of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 13 is a flowchart of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 14 is a flowchart of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 15 is an exemplary diagram of an OAM information sending method provided in an embodiment of the present application.
- FIG. 16 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 17 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 18 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 19 is an exemplary diagram of an OAM information sending method provided in an embodiment of the present application.
- FIG. 20 is an exemplary diagram of an OAM information sending method provided in an embodiment of the present application.
- FIG. 21 is an exemplary diagram of an OAM information sending method provided in an embodiment of the present application.
- FIG. 22 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 23 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 24 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 25 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 26 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 27 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 28 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 29 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application.
- FIG. 30 is a schematic structural diagram of an OAM information sending device provided in an embodiment of the present application.
- FIG. 31 is a schematic structural diagram of a device provided in an embodiment of the present application.
- Fig. 1 is an example diagram of 400G channel generation in the related art. Referring to Fig. 1, the high-speed transmission in the embodiment of the present application is formed by bundling four 100G optical modules through the FlexE protocol to form a 400G transmission channel.
- the FlexE protocol is defined according to the 100G rate of the physical layer.
- the data packet message can be 64//66 encoded, that is, the 64-bit data block is expanded to 66-bit information Block, add 2 bits of data before the 64-bit data block as the start mark of the 66-bit information block, and then send the 66-bit information block from the optical port of the optical module.
- the optical port distinguishes a 66-bit information block from the received data stream, and then recovers the original 64-bit data block from the 66-bit block.
- the FlexE protocol is at the 64-bit block to 66-block conversion layer.
- Figure 2 is a 66-bit information block arrangement plan provided by an embodiment of the present application. For an example diagram, see Figure 2.
- every 20 66-bit data blocks can be divided into a data block group, and each group can have a total of 20 data blocks, representing 20 time slots, and each time slot can identify 5G bandwidth.
- Business speed when sending 66-bit information blocks, every time 1023 data block groups (1023*20 data blocks) are sent, a total of FlexE overhead blocks are inserted. After the overhead blocks are inserted, the data blocks continue to be sent. Every time 1023 data block groups are sent, that is Inserting a total of overhead blocks, it can be understood that the interval between two adjacent overhead blocks is 1023*20 data blocks.
- Figure 3 is a schematic diagram of data block allocation on multiple physical channels provided in an embodiment of the present application. See Figure 3, each physical layer is based on 20 data The blocks form a data block group, and an overhead block is inserted every 1023 data block groups. At the shim layer of FlexE, 4 channels of 20 data blocks are assembled into a data block group consisting of 80 data blocks. There are 80 data blocks in the block group. Time slots. Customer services can be delivered in 80 time slots, each time slot bandwidth is 5G, generating a total of 400G service delivery broadband.
- the FlexE overhead block can be a 66-bit overhead block.
- an overhead block is inserted every 1023*20 data blocks.
- the overhead block can play a positioning function in the entire service stream and can be passed through the overhead block. Quickly find the position of the first data block group of the business and the position of the subsequent data block group.
- Fig. 4 is a schematic structural diagram of an overhead block data frame provided by an embodiment of the present application. Referring to Fig. 4, 8 consecutive overhead blocks form an overhead frame.
- An overhead block is composed of a 2-bit block flag and a 64-bit block content.
- the block flag is located in the first 2 columns, the next 64 columns are the block content, the block flag of the first overhead block is 10, and the block flag of the next 7 overhead blocks is 01 or SS (SS means the content is uncertain).
- the content of the first overhead block is: 0x4B (8 bits, 4B in hexadecimal), C bit (1 bit, indicating adjustment control), OMF bit (1 bit, indicating overhead frame multiframe indication), RPF bit ( 1 bit, indicating remote defect indication), RES bit (1 bit, reserved bit), FlexE group number (20 bits, indicating the number of the bundle group), 0x5 (4 bits, 5 in hexadecimal), 000000 (28 Bit, all 0).
- 0x4B and 0x5 are the flag indications of the first overhead block.
- the overhead block is the first overhead block in the overhead frame, and the next The last 7 consecutive overhead blocks form an overhead frame.
- the reserved part is reserved content and has not been defined, as shown in Figure 4, the black dot filling block.
- 8 overhead blocks are defined to form a frame, and the first overhead block is identified by two fields, 4B (hexadecimal, identified as 0x4B) and 05 (hexadecimal, identified as 0x5).
- 4B hexadecimal, identified as 0x4B
- 05 hexadecimal, identified as 0x5
- Figure 5 is a schematic diagram of a channel carrying customer services provided by an embodiment of the present application.
- 64/66 encoding is performed first, the customer data stream is cut into 64-bit (8-byte) long block information, and then The 64-bit information is encoded into a 66-bit information block.
- the service stream becomes a 66-bit length information block stream.
- These information blocks are divided into two types: data blocks (the first two bits are 01, indicating that the block is a data block) and control blocks (the first two bits are 10, indicating that the block is a data block).
- the two information blocks pass through the information block.
- the first two bits are distinguished.
- the control information block can be divided into various control information blocks (such as idle information blocks), which are distinguished by the first byte in the control information block.
- rate adjustment is achieved by adding or deleting idle information blocks, and then placing the 66-bit information block in the corresponding position in the time slot planning table (calendar) defined by the FlexE protocol according to the time slot configuration.
- the FlexE protocol provides a flexible transmission channel for customer services, and the size of the transmission channel can be flexibly adjusted according to customer bandwidth needs.
- the FlexE protocol only provides a pipeline for customers, and does not provide OAM (Operation Operation, Administration, Maintenance, OAM for short), so it cannot monitor pipeline service quality in real time, and cannot provide a reference for business protection switching. Signal.
- OAM Operation Operation, Administration, Maintenance, OAM for short
- the OAM information function is added to the current draft proposal to realize the monitoring function of customer service flow service quality.
- the first block of a client message is S block (first block), then D block (data block), and finally T block (tail block).
- I blocks free blocks
- O blocks fault information blocks
- FIG. 7 is a schematic diagram of the location of free blocks in the customer service code block in the embodiment of this application. See Figure 7.
- OAM information and customer data message information are transmitted together. The transmission path of OAM information and customer data information is exactly the same, and FlexE customers can be monitored in real time.
- OAM information blocks generally appear at intervals of 16K (that is, 16384) code blocks in the client stream.
- the alternative mode is to use OAM information blocks to replace I blocks (free blocks) between messages, as shown in Figure 7. This mode can only perform substitution operations when encountering I blocks.
- Fig. 8 is an example diagram of forced insertion of OAM code blocks into the customer service code blocks in the embodiment of the present application. See Fig. 8, the forced insertion mode is to directly insert OAM information blocks between messages, and perform operations regardless of whether there are free blocks. Insert the OAM code first, and then delete the corresponding number of free blocks when a free block is encountered.
- Ethernet devices When adding OAM information blocks to the customer service flow, it is necessary to delete the corresponding number of IDLE blocks to ensure that the speed of the information flow remains unchanged.
- the average interval between messages is at least 12 bytes, and the free space between the messages becomes an IDLE block during encoding.
- the ratio of the average number of 12 bytes in the message interval to the total message bytes will decrease.
- Ethernet devices generally support 9600-byte packets, so that every 9600-byte packet will have 12 bytes of free bytes.
- the 9600-byte length message will be programmed into 1200 code blocks in 64/66 encoding, and there are approximately 13.6 9600 messages out of the 16384 code block length. There are 12 idle interval bytes between each 9600 packet.
- the OAM block is used. There are a large number of OAM information blocks, and more than 10 code blocks may be required to be transmitted instantaneously, but in reality only two or three OAM code blocks can be transmitted, and the problem of multiple OAM burst transmission needs to be solved.
- FIG. 9 is a flowchart of an OAM information sending method provided in an embodiment of this application.
- the implementation of this application can be applied to the case of transmitting OAM information in a 400G high-speed channel.
- This method can be implemented by the OAM information sending device in this embodiment
- the device can be implemented by software and/or hardware. Referring to FIG. 9, the method of the embodiment of the present application specifically includes the following steps:
- Step 101 Buffer at least one type of OAM code block to be sent.
- the OAM code block to be sent can be an information data block that needs to be sent through a high-speed channel, and the OAM code block to be sent can store operation information data, management information data, and maintenance information data, etc., which can be used to detect the quality of service of the channel
- the status for example, can be used to detect the channel's bit error rate, delay time, and service discarding functions.
- the OAM code blocks to be sent that need to be sent can be buffered, and the buffering can be performed according to different types of OAM code blocks to be sent. It is understandable that due to the difference in information carried by the OAM code block to be sent, the type of the OAM code block to be sent may be different.
- the types of the OAM code blocks to be sent include at least basic OAM information blocks, automatic protection switch (APS) information blocks, and unidirectional delay measurement (1 Delay Measure, 1DM) code block, two-way delay measurement (2 Delay Measure, 2DM) code block, two-way delay measurement response (2 Delay Measure Response, 2DMR) code block, connection verification (Connection Verify, CV) CV code block and client type ( At least one of Client Service (CS) code blocks.
- APS automatic protection switch
- Step 102 Output each OAM code block to be sent according to a preset scheduling mode.
- the preset scheduling method may be a method of scheduling the output of the OAM code blocks to be sent in each buffer.
- the OAM code blocks to be sent may be sequentially output according to the type of the OAM code blocks to be sent or according to the OAM code to be sent The buffer time of the block sequentially outputs the OAM code blocks to be sent.
- Step 103 Control the total output quantity of the OAM code blocks to be sent within a preset period.
- the preset period may be a transmission period for outputting the OAM code block to be sent, and each preset period may be used as a control period for outputting the OAM code block to be sent.
- the total output quantity of the OAM code block to be sent output in each preset period can be controlled.
- the preset period of the OAM code block to be sent is 16384 code blocks. Two OAM code blocks to be sent can be sent within a preset period.
- the limitation of the number of IDLE blocks on the output of the OAM blocks to be sent can be solved, and the quantity and real-time performance of the OAM code block output can be improved.
- the total output number of the OAM code blocks to be sent is controlled within a preset period to realize binding channels
- the output of the lower OAM code block enriches the service functions of the channel, reduces the limitation of the number of IDLE blocks on the output OAM code block, increases the number of OAM code block outputs to be sent, and can enhance the real-time response of the channel to the control.
- the buffering of at least one type of OAM code blocks to be sent includes: buffering each of the OAM code blocks to be sent according to the priority corresponding to the type.
- the priority of the OAM to be sent can be preset, and the OAM code blocks to be sent can be buffered in the order of the priority of the type, for example, the priority order is from high to Low order, the basic OAM information block can have the highest priority, and then can be the event-triggered APS code block, the remaining periodic APS code block and 1DM code block, 2DMM, 2DMR, CV code block, CS code block and other codes
- the block priority can be the same.
- Fig. 10 is a flowchart of an OAM information sending method provided in an embodiment of the present application.
- the embodiment of the present application is embodied based on the above-mentioned application embodiment to determine the time APS code block and the period APS of the OAM code block to be sent For the priority of the code block when it is cached, referring to FIG. 10, the method of the embodiment of the present application may include the following steps:
- Step 111 The APS information block in the OAM code block to be sent includes at least an event APS code block and a periodic APS code block, and the event APS code block and/or the periodic APS code block are cached according to the same high priority.
- the APS information block can be sent in two ways. For example, when an emergency fault event occurs, the APS information block is output 3 times, and the interval between each sending can be 3.3 milliseconds. It is an emergency notification sending, and then it can be sent every second.
- the APS information block is repeatedly sent in a one-time manner. APS can be divided into an event APS code block triggered by an emergency event and a periodic APS code block sent periodically according to the trigger scenario.
- the priority requirements for transmission are different, but the original APS information generation time sequence must be maintained in the transmission sequence. If the priority of the periodic APS code block is relatively low, it is waiting to be transmitted. Event APS code block needs to be sent from time to time, the priority of the event APS code block is high, but if the previous low priority periodic APS code block has not been sent, the high priority event APS code block cannot be sent, and it can only wait for the previous low After the priority period APS code block is sent, the high priority event APS code block can be sent, or the previous low priority period APS code block is discarded, and then the high priority APS code block is sent. In the embodiment of the present application, the same high priority can be set for the periodic APS code block and the event APS code block, and other types of OAM code blocks to be sent can be lower than the periodic APS code block and the event APS code block.
- Step 112 Output each OAM code block to be sent according to a preset scheduling mode.
- the scheduled output can be performed according to the priority of each OAM code block to be sent. Since the event APS code block and the periodic APS code block have the same high priority, the event APS code can not be distinguished when outputting the OAM code block. Block or periodic APS code block, output the event APS code block and the periodic APS code block as the same APS information block. The event APS code block or the periodic APS code block can also be distinguished, but the event APS code block or the periodic APS code block has the same priority. When outputting, the event APS code block and the periodic APS code block are only output in chronological order.
- Step 113 Control the total output quantity of the OAM code blocks to be sent within a preset period.
- the total output quantity of the OAM code block to be sent that is output in each preset period can be controlled.
- the event APS code block and the periodic APS code block are set to the same high priority, and the same preset scheduling method is adopted for the event APS code block and the periodic APS code block at the time of output, so as to realize the failure information.
- Timely response can improve the reliability of channel transmission.
- FIG. 11 is a flowchart of a method for sending OAM information provided in an embodiment of the present application.
- the embodiment of the present application is embodied on the basis of the above-mentioned application embodiment to determine the time APS code block and the period APS of the OAM code block to be sent For the priority of the code block when it is cached, referring to FIG. 11, the method of the embodiment of the present application may include the following steps:
- Step 121 The APS information block in the OAM code block to be sent includes at least an event APS code block and a periodic APS code block, and the event APS code block and/or the periodic APS code block are cached according to the same high priority, so When the event APS code block is cached, the cached periodic APS code block is cleared.
- the information carried by the periodic APS code block may have been invalid when the channel sends the event APS code block.
- the output efficiency can be used to clear the periodic APS code blocks that already exist in the cache but have not been sent when the event APS code blocks are cached.
- the same high priority can be set for the event APS code block and the periodic APS code block in the OAM code block, and the corresponding type of OAM code block to be sent is buffered according to the priority. Because the event APS code block and the periodic APS code block Blocks have the same high priority. When the event APS code block and the periodic APS code block are obtained, they can be cached first. Whenever the event APS code block is cached during the caching process, the cached periodic APS code block can be removed from the cache. The medium clearing can guarantee the validity of the OAM code block to be sent when outputting.
- Step 122 Output each of the OAM code blocks to be sent according to the preset scheduling mode.
- Step 123 Control the total output quantity of the OAM code blocks to be sent within a preset period.
- the same preset scheduling method is adopted for the event APS code block and the periodic APS code block during output, and the event APS code block is cached.
- the code block is used, the timely response of the fault information can be realized, which can improve the reliability of the channel transmission.
- Fig. 12 is a flowchart of an OAM information sending method provided in an embodiment of the present application.
- the embodiment of the present application is embodied on the basis of the above-mentioned application embodiment, and outputs the OAM code block to be sent in a two-level scheduling manner.
- the scheduling output is polled within the same priority, and then the priority scheduling output is performed according to different priorities.
- the method of the embodiment of the present application may include the following steps:
- Step 201 Buffer at least one type of OAM code block to be sent.
- Step 202 First, the to-be-transmitted OAM code blocks belonging to the same priority are output using round-robin scheduling.
- the round-robin scheduling may be a way of sequentially outputting the OAM code blocks to be sent in order.
- polling scheduling output can be performed in the OAM code blocks to be sent with the same priority first, and the output probability of the OAM code blocks to be sent with the same priority is the same, and the output can be performed fairly.
- the priority OAM code block to be sent can output a buffered OAM code block to be sent at the same time. It is understandable that since the OAM code blocks to be sent can have multiple priorities, after polling scheduling is used in the code blocks to be sent with the same priority, multiple code blocks to be sent can be output, and the number of code blocks to be sent can correspond to The number of priorities.
- Step 203 The output OAM code blocks with different priorities to be sent are then output by priority scheduling.
- the OAM code blocks to be sent output within the same priority have different priorities
- multiple OAM code blocks to be sent can be output according to the number of priorities. Since only one OAM code block can be output at a time, The OAM code blocks to be sent are scheduled to be output according to different priorities, the high priority OAM code blocks to be sent are output first, and the low priority OAM code blocks to be sent are output later.
- Step 204 Control the total output quantity of the OAM code blocks to be sent within a preset period.
- the total output quantity of the OAM code blocks to be sent in a preset period can be fixed. It can be output by polling and scheduling in the same priority first, and priority scheduling and output in different priorities. When the number of OAM code blocks to be sent output in the preset period reaches the total output quantity, the OAM code blocks to be sent that have not been output can wait for the next preset period to be sent.
- the buffered OAM code blocks to be sent are output in a two-level scheduling manner, the OAM code blocks to be sent with the same priority are polled for scheduling output, and the OAM code blocks to be sent with different priorities are output according to the priority scheduling. , Realize the balanced output of the OAM code block to be sent, and improve the stability of the high-speed channel.
- FIG. 13 is a flowchart of a method for sending OAM information provided in an embodiment of the present application.
- the embodiment of the present application is embodied based on the above-mentioned application embodiment, and outputs the OAM code block to be sent in a two-level scheduling manner.
- the scheduling output is polled within the low priority level, and then the priority scheduling output is performed according to different priorities.
- the method of the embodiment of the present application may include the following steps:
- Step 211 Buffer at least one type of OAM code block to be sent.
- Step 212 First, the low priority OAM code blocks to be sent are output using round-robin scheduling.
- OAM code blocks can include at least high priority, medium priority, and low priority.
- the transmission of OAM code blocks is divided into low priority.
- the basic OAM information block can be divided into high priority
- the APS information block can be divided into medium priority
- the 1DM code block, 2DM code block, 2DMR code block, CV code block, and CS code block can be divided. To low priority.
- low-priority OAM code blocks are sent on demand, and there is the possibility of simultaneous activation.
- polling scheduling can be performed only in the low-priority OAM code blocks to be sent. Only one low-priority OAM code block to be sent is output at a time to prevent the output of too many OAM code blocks.
- Speed channel transmission has an impact on customer business.
- Step 213 The remaining priority OAM code blocks to be sent and the low priority OAM code blocks to be sent output by the round-robin scheduling output are output by priority scheduling.
- the OAM code blocks to be sent output by the first-level round-robin scheduling and other priority OAM code blocks to be sent can be prioritized and output, which can be sequentially output according to the priority.
- the OAM code block to be sent is output. It can be understood that the high priority OAM code block to be sent is output first, and the OAM code block to be sent output by the first-level round-robin scheduling is output last.
- Step 214 Control the total output quantity of the OAM code blocks to be sent within a preset period.
- the technical solution of the embodiment of the present application uses a two-level scheduling method to output the OAM code blocks to be transmitted, which realizes the OAM transmission function of the high-speed channel and improves the security of the channel. Only low priority OAM code blocks are to be transmitted. Carrying out round-robin scheduling in the process, it is convenient to control the total output quantity and improve the reliability of the channel.
- FIG. 14 is a flowchart of an OAM information sending method provided in an embodiment of the present application.
- the embodiment of the present application is embodied based on the above-mentioned application embodiment, and uses first-level scheduling based on the priority of each OAM code block to be sent Or output the to-be-transmitted OAM code block in a multi-level scheduling manner.
- the method of the embodiment of the present application may include the following steps:
- Step 221 Buffer at least one type of OAM code block to be sent.
- Step 222 Output according to the priority of each OAM code block to be sent, wherein each OAM code block to be sent with different priorities is output by priority scheduling, and each OAM code block to be sent with the same priority is used Polling scheduling output.
- the OAM code block to be sent is divided into low priority.
- the basic OAM information block can be divided into high priority
- the APS information block can be divided into medium priority
- the 1DM code block, 2DM code block, 2DMR code block, CV code block, and CS code block can be divided. To low priority.
- one-level scheduling or multi-level scheduling can be used to output the OAM code blocks to be sent.
- the polling scheduling output is performed in the sending block, and the results of each output are sequentially output to the OAM code blocks to be sent in the order from high priority to low priority according to priority scheduling.
- the first-level scheduling method can be used to complete priority scheduling and round-robin scheduling output at the same time.
- OAM code blocks to be sent with different priorities adopt priority scheduling
- Step 223 Control the total output quantity of the OAM code blocks to be sent within a preset period.
- the output of the buffered OAM code blocks to be sent is jointly realized, which enriches the functions of the transmission channel and improves the reliability of the customer service channel .
- controlling the total output quantity of the to-be-sent OAM code blocks within a preset period includes:
- the OAM code blocks to be sent can be output through priority scheduling and/or polling scheduling, and the total number can be achieved by controlling the number of OAM code blocks to be sent in the priority scheduling output within a preset period. limits.
- the total output quantity of the low-priority OAM code blocks to be sent is controlled by round-robin scheduling.
- the OAM code blocks to be sent can be output through priority scheduling and/or polling scheduling, and the total number can be realized by controlling the number of OAM code blocks to be sent out of the polling scheduling within a preset period. limits.
- the output quantity of the OAM code blocks to be sent at each priority level can be controlled, so as to achieve the effect of controlling the total output quantity.
- the polling scheduling output is performed only in the low priority level, the total output number of the to-be-transmitted OAM code blocks can be limited by limiting the output number of the low priority OAM code blocks.
- the OAM information sending method in the embodiment of the present application can be implemented by three modules, which can be a buffer module, a scheduling module, and an output control module, respectively.
- FIG. 15 is an example diagram of an OAM information sending method provided in an embodiment of the present application; referring to FIG. 15, the scheduling module in an embodiment of the present application may be composed of two levels and three groups of scheduling sub-modules, and OAM codes to be sent with the same priority Blocks use round-robin scheduling, and OAM code blocks to be sent with different priorities use priority scheduling.
- the Base code block and the APS code block have a high priority. These two OAM code blocks can be scheduled first, and the transmitted code block is output.
- Low-priority code blocks such as 1DM code block, 2DMM, 2DMR, CV code block, and CS code block are uniformly scheduled to output the output of the low-priority group. Then the high-priority output and the low-priority output are unified and scheduled output according to the priority, the high-priority output is first, and the low-priority output is later.
- the scheduling output is controlled by the output control module, and the content can only output a fixed number of OAM blocks in one cycle time.
- the OAM information sending method can be implemented by three modules, which can be a buffer module, a scheduling module, and an output control module, respectively.
- FIG. 16 is an example diagram of an OAM information sending method provided in an embodiment of the present application.
- the scheduling module can still adopt a two-level and three-group scheduling mode, but the method shown in FIG. 16 is different from that shown in FIG. 15.
- the buffer module is processing APS When buffering, when the event APS code block appears, the cached periodic APS code block can be deleted, which can increase the priority of the event APS code block and improve the efficiency of fault handling.
- the APS code block can be divided into an event APS code block and a periodic APS code block.
- the OAM information transmission method can be implemented by three modules, which can be a buffer module, a scheduling module, and an output control module.
- FIG. 17 is an example diagram of an OAM information sending method provided in an embodiment of the present application. See FIG. 17. The method shown in FIG. 17 is basically the same as that shown in FIG. 16, except that the APS code blocks are buffered with high and low priority respectively.
- Event APS code blocks can be queued for transmission in high priority
- periodic APS code blocks can be queued for transmission in low priority.
- delete all periodic APS code blocks in the low priority queue so as to ensure that the sending order of the high and low priority APS code blocks remains unchanged.
- the OAM information sending method can be implemented by three modules, which can be a buffer module, a scheduling module, and an output control module.
- the scheduling module can adopt a two-level two-group scheduling method.
- the previous level has only one scheduling sub-module, which can be completed.
- the second-level scheduling sub-module completes the scheduling of base code blocks, APS blocks, and low-priority code blocks.
- Figure 18 and Figure 15 are basically the same, but the structure of the scheduler is different.
- APS processing method 1 does not distinguish priority, all according to high priority processing; scheduling method; APS processing method 2: according to high priority scheduling, but the high priority APS code block triggered by the event Will directly delete the low-priority periodic APS code blocks to be sent; APS processing method 3: queue according to high and low priority, but the high-priority APS code blocks triggered by the event will directly delete the low-priority periodic APS codes to be sent The block is in the queue.
- Figure 18 and Figure 15, Figure 19 and Figure 16, Figure 20 and Figure 17, are basically the same, except that the internal structure of the scheduler is different.
- the scheduling module can also adopt the first-level scheduling mode, which is completed by the first-level scheduler at the same time, and the first-level scheduler simultaneously completes the priority and polling functions, and OAM codes of different priorities Blocks are scheduled by priority first, and OAM code blocks with the same priority are scheduled by polling, as shown in Figure 21.
- the OAM information transmission method can produce the three methods shown in FIG. 21, FIG. 22, and FIG. 23.
- the OAM information sending method can be implemented by three modules, which can be a buffer module, a scheduling module, and an output control module.
- FIG. 24 is an example diagram of an OAM information sending method provided in an embodiment of the present application. Referring to FIG. 24, for high-priority base code blocks and APS code blocks, a large number of simultaneous bursts are generally not sent. Low-priority on-demand OAM code blocks, such as 1DM code blocks, 2DMM, 2DMR, CV code blocks, and CS code blocks, may be enabled on-demand at the same time, and need to be sent at the same time in an instantaneous time segment, resulting in emergencies. Therefore, the essence of the control module is to control the total number of transmissions.
- 1DM code blocks, 2DMM, 2DMR, CV code blocks, and CS code blocks may be enabled on-demand at the same time, and need to be sent at the same time in an instantaneous time segment, resulting in emergencies. Therefore, the essence of the control module is to control the total
- the control module can be controlled on the subsequent scheduler or directly controlled by the low-priority scheduler. As long as the output of the low-priority scheduling is controlled, the total output number is Get under control. Since the APS code block can have three processing methods, correspondingly, the scheduling module adopting the two-level three-group scheduling form can have the three methods shown in FIG. 24, FIG. 25, and FIG. 26. For the same type, the scheduling module adopting the two-level and two-group mode can have the three modes shown in FIG. 27, FIG. 28, and FIG. 29.
- a buffer module which can be composed of three parts: a buffer module, a dispatch module and a control module.
- the dispatch module has three different structures
- the control module has 2 different positions.
- FIG. 30 is a schematic structural diagram of an OAM information sending device provided in an embodiment of the present application, which can execute the OAM information sending method provided in any embodiment of the present application, and has corresponding functional modules and beneficial effects for the execution method.
- the device may be implemented by software and/or hardware, and specifically includes: a cache module 31, a scheduling module 32, and a control module 33.
- the buffer module 31 is used to buffer at least one type of OAM code block to be sent.
- the scheduling module 32 is configured to output each OAM code block to be sent according to a preset scheduling mode.
- the control module 33 is configured to control the total output quantity of the OAM code blocks to be sent within a preset period.
- different types of OAM code blocks to be sent are buffered through a buffer module, the scheduling module outputs the OAM code blocks to be sent according to a preset scheduling method, and the control module controls the total output quantity of the OAM code blocks to be sent in a preset period. , Realize the output of OAM code block under the bound channel, enrich the service function of the channel, reduce the limitation of the number of IDLE blocks on the output OAM code block, increase the number of OAM code block output to be sent, and enhance the channel's response to control real-time.
- the types of the OAM code blocks to be sent in the buffer module include at least basic OAM information blocks, APS information blocks, 1DM code blocks, 2DM code blocks, 2DMR code blocks, and CV codes. At least one of a block and a CS code block.
- the cache module 31 is specifically configured to:
- the APS information block in the to-be-sent OAM code block in the buffer module 31 at least includes an event APS code block and a periodic APS code block, and the events are cached according to the same high priority.
- the APS code block and/or the periodic APS code block are cached according to the same high priority.
- the APS information block in the OAM code block to be sent in the buffer module 31 at least includes an event APS code block and a periodic APS code block, and the event is cached according to the same high priority.
- the buffered periodic APS code block is cleared when the event APS code block is buffered.
- the APS information block in the OAM code block to be sent in the buffer module 31 at least includes an event APS code block and a periodic APS code block, and the event APS code block has a high priority Level buffering, the periodic APS code blocks are buffered according to a low priority, and the buffered periodic APS code blocks are cleared when the event APS code block is buffered.
- the scheduling module 32 includes:
- the first processing unit is configured to first output the OAM code blocks to be sent that belong to the same priority using round-robin scheduling; and then output the output OAM code blocks of different priorities to be sent using priority scheduling and output.
- the scheduling module 32 includes:
- the second processing unit is used to first output the low priority OAM code blocks to be sent using polling scheduling; then output the remaining priority OAM code blocks to be sent and the low priority OAM codes to be sent out of the polling scheduling Blocks use priority scheduling output.
- the scheduling module 32 includes:
- the third processing unit is configured to output according to the priority of each OAM code block to be sent, wherein each of the OAM code blocks to be sent with different priorities is output by priority scheduling, and each of the OAM code blocks to be sent with the same priority is output
- the OAM code block is output by polling and scheduling.
- control module 33 includes:
- the first control unit is configured to control the total output quantity of the OAM code block to be sent using priority scheduling output within a preset period.
- control module 33 includes:
- the second control unit is configured to control the total output quantity of the low-priority OAM code blocks to be sent using the round-robin scheduling output within a preset period.
- FIG. 31 is a schematic structural diagram of a device provided in an embodiment of the present application.
- the device includes a processor 40, a memory 41, an input device 42, and an output device 43; the number of processors 40 in the device may be One or more, one processor 40 is taken as an example in FIG. 31; the device processor 40, the memory 41, the input device 42, and the output device 43 may be connected by a bus or other means. In FIG. 31, a bus connection is taken as an example.
- the memory 41 can be used to store software programs, computer-executable programs, and modules, such as the modules corresponding to the OAM information sending device in the embodiment of the present application (the buffer module 31, the scheduling module 32, and the control module 33). ).
- the processor 40 executes various functional applications and data processing of the device by running the software programs, instructions, and modules stored in the memory 41, that is, realizes the above-mentioned OAM information sending method.
- the memory 41 may mainly include a program storage area and a data storage area.
- the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal, and the like.
- the memory 41 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
- the memory 41 may further include a memory remotely provided with respect to the processor 40, and these remote memories may be connected to the device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
- the input device 42 can be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the device.
- the output device 43 may include a display device such as a display screen.
- An embodiment of the present application also provides a storage medium containing computer-executable instructions, when the computer-executable instructions are executed by a computer processor, are used to execute an OAM information sending method, the method including:
- Buffer at least one type of OAM code block to be sent
- a storage medium containing computer-executable instructions provided by an embodiment of the present application is not limited to the method operations described above, and can also execute the OAM information sending method provided in any embodiment of the present application. Related operations.
- this application can be implemented by software and necessary general-purpose hardware, and of course, it can also be implemented by hardware.
- the technical solution of this application essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, Read-Only Memory (ROM), Random Access Memory (RAM), Flash memory (FLASH), hard disk or optical disk, etc., including several instructions to make a computer device (which can be a personal computer, A server, or a network device, etc.) execute the method described in each embodiment of the present application.
- a computer device which can be a personal computer, A server, or a network device, etc.
- the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding function can be realized.
- user terminal encompasses any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser, or a vehicle-mounted mobile station.
- the various embodiments of the present application can be implemented in hardware or dedicated circuits, software, logic or any combination thereof.
- some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device, although the present application is not limited thereto.
- Computer program instructions can be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or written in any combination of one or more programming languages Source code or object code.
- ISA Instruction Set Architecture
- the block diagram of any logic flow in the drawings of the present application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions.
- the computer program can be stored on the memory.
- the memory can be of any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to ROM, RAM, optical storage devices and systems (Digital Video Disc, DVD) or optical disk ( Compact Disk, CD)) etc.
- Computer-readable media may include non-transitory storage media.
- the data processor can be any type suitable for the local technical environment, such as but not limited to general-purpose computers, special-purpose computers, microprocessors, digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (ASICs) ), programmable logic devices (Field-Programmable Gate Array, FGPA), and processors based on multi-core processor architecture.
- DSP Digital Signal Processing
- ASICs application specific integrated circuits
- FGPA programmable logic devices
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Proposed in the present application are a method, apparatus and device for sending OAM information, and a storage medium. The method comprises: caching at least one type of OAM code blocks to be sent; according to a preset scheduling mode, outputting each of the OAM code blocks to be sent; and controlling, within a preset period, the total output quantity of the OAM code blocks to be sent. In the embodiments of the present application, by means of limiting the total output quantity of outputted OAM code blocks, the functions of a transmission channel are enriched on the basis of ensuring data transmission speed, and the reliability of a customer service channel is improved.
Description
本申请涉及通信网络技术领域,具体涉及一种OAM信息发送方法、装置、设备和存储介质。This application relates to the technical field of communication networks, and in particular to a method, device, device, and storage medium for sending OAM information.
用户网络信息流量的快速增加,促使着通讯网络信息传递宽带的快速发展,通讯设备的接口带宽速度从10M逐渐提高到100M,又进一步提高到1G和10G,目前通讯网络的接口带宽已经提升到100G,并且在市场上逐渐普及。虽然目前已经研发出400G的光模块,然而其价格较高,甚至超过了4个100G光模块的价格,在实际应用时常采用4个100G光模块捆绑形成一个大速度的传递通道以替代昂贵的400G光模块,国际标准组织定义了灵活以太网(Flexible Ethernet,FlexE)协议,实现了4个100G光模块的捆绑形成400G传递通道的技术方案,目前FlexE协议定义可以承载10GE、25GE、40GE和n*50G(n为正整数)的客户速率业务,但没有给出客户业务流中管道OAM(操作Operation、管理Administration、维护Maintenance,简称OAM)传输的实现方法,无法检测通信管道的服务质量状态,例如不能获取信道的误码率、延迟时间和业务丢弃等数据。The rapid increase of user network information traffic has promoted the rapid development of communication network information transmission broadband. The interface bandwidth speed of communication equipment has gradually increased from 10M to 100M, and further increased to 1G and 10G. At present, the interface bandwidth of communication networks has been increased to 100G. , And gradually popularized in the market. Although 400G optical modules have been developed, the price is relatively high, even exceeding the price of 4 100G optical modules. In practical applications, 4 100G optical modules are often bundled to form a high-speed transmission channel to replace the expensive 400G. Optical modules, the International Standards Organization defines the Flexible Ethernet (Flexible Ethernet, FlexE) protocol, which realizes the technical solution of bundling 4 100G optical modules to form a 400G transmission channel. The current FlexE protocol defines that it can carry 10GE, 25GE, 40GE and n* 50G (n is a positive integer) customer rate service, but the implementation method of pipeline OAM (Operation, Administration, Maintenance, OAM) transmission in the customer business flow is not given, and the service quality status of the communication pipeline cannot be detected, for example Data such as the bit error rate, delay time and service discard of the channel cannot be obtained.
发明内容Summary of the invention
本申请提供了一种OAM信息发送方法、装置、设备和存储介质。This application provides a method, device, equipment, and storage medium for sending OAM information.
本申请实施例提供了一种OAM信息发送方法,该方法包括:The embodiment of the present application provides a method for sending OAM information, and the method includes:
缓存至少一个种类的待发送OAM码块;根据预设调度方式输出各所述待发送OAM码块;在预设周期内控制所述待发送OAM码块的总输出数量。Buffer at least one type of OAM code blocks to be sent; output each OAM code block to be sent according to a preset scheduling mode; control the total output quantity of the OAM code blocks to be sent within a preset period.
本申请实施例提供了一种OAM信息发送装置,该装置包括:An embodiment of the present application provides an OAM information sending device, which includes:
缓存模块,用于缓存至少一个种类的待发送OAM码块;调度模块,用于根 据预设调度方式输出各所述待发送OAM码块;控制模块,用于在预设周期内控制所述待发送OAM码块的总输出数量。The buffer module is used to buffer at least one type of OAM code blocks to be sent; the scheduling module is used to output each of the OAM code blocks to be sent according to a preset scheduling mode; the control module is used to control the to be sent within a preset period. The total output number of OAM code blocks sent.
本申请实施例提供了一种设备,该设备包括:An embodiment of the present application provides a device, which includes:
一个或多个处理器;One or more processors;
存储器,用于存储一个或多个程序;Memory, used to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本申请实施例中任一所述的OAM信息发送方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the OAM information sending method as described in any of the embodiments of the present application.
本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时,实现如本申请实施例中任一所述的OAM信息发送方法。The embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the OAM information sending method as described in any of the embodiments of the present application is implemented.
本申请实施例,通过缓存不同种类的OAM码块,按照预设调度方式对缓存的OAM码块进行输出,并且在预设周期内控制OAM码块的总输出数量,实现了客户业务流中OAM码块的输出,在大速度传输通道的基础上对客户业务通道进行监控,丰富了传输通道的功能,可增强客户业务通道的可靠性。In the embodiment of this application, by buffering different types of OAM code blocks, the buffered OAM code blocks are output according to a preset scheduling method, and the total output number of OAM code blocks is controlled within a preset period, thereby realizing OAM in the customer service flow The output of the code block monitors the customer service channel on the basis of the high-speed transmission channel, which enriches the functions of the transmission channel and can enhance the reliability of the customer service channel.
图1是相关技术中400G通道生成的示例图;Figure 1 is an example diagram of 400G channel generation in related technologies;
图2是本申请实施例提供的一种66比特信息块的排列规划示例图;FIG. 2 is an example diagram of a 66-bit information block arrangement plan provided by an embodiment of the present application;
图3是本申请实施例提供的一种多物理通道上数据块的分配示意图;FIG. 3 is a schematic diagram of data block allocation on multiple physical channels according to an embodiment of the present application;
图4是本申请实施例提供的一种开销块数据帧的结构示意图;FIG. 4 is a schematic structural diagram of an overhead block data frame provided by an embodiment of the present application;
图5是本申请实施例提供的一种通道承载客户业务的示意图;Figure 5 is a schematic diagram of a channel carrying customer services provided by an embodiment of the present application;
图6是本申请实施例中客户业务进行64/66编码后码块的排列结构示意图;FIG. 6 is a schematic diagram of the arrangement structure of code blocks after 64/66 encoding of client services in an embodiment of the present application;
图7是本申请实施例中客户业务码块中空闲块的位置示意图;FIG. 7 is a schematic diagram of the location of free blocks in the customer service code block in an embodiment of the present application;
图8是本申请实施例中客户业务码块中强制插入OAM码块的示例图;FIG. 8 is an example diagram of forcibly inserting an OAM code block in a customer service code block in an embodiment of the present application;
图9是本申请实施例中提供的一种OAM信息发送方法的流程图;FIG. 9 is a flowchart of a method for sending OAM information provided in an embodiment of the present application;
图10是本申请实施例中提供的一种OAM信息发送方法的流程图;FIG. 10 is a flowchart of a method for sending OAM information provided in an embodiment of the present application;
图11是本申请实施例中提供的一种OAM信息发送方法的流程图;FIG. 11 is a flowchart of a method for sending OAM information provided in an embodiment of the present application;
图12是本申请实施例中提供的一种OAM信息发送方法的流程图;FIG. 12 is a flowchart of a method for sending OAM information provided in an embodiment of the present application;
图13是本申请实施例中提供的一种OAM信息发送方法的流程图;FIG. 13 is a flowchart of a method for sending OAM information provided in an embodiment of the present application;
图14是本申请实施例中提供的一种OAM信息发送方法的流程图;FIG. 14 is a flowchart of a method for sending OAM information provided in an embodiment of the present application;
图15是本申请实施例中提供的一种OAM信息发送方法的示例图;FIG. 15 is an exemplary diagram of an OAM information sending method provided in an embodiment of the present application;
图16是本申请实施例中提供的一种OAM信息发送方法的示例图;FIG. 16 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application;
图17是本申请实施例中提供的一种OAM信息发送方法的示例图;FIG. 17 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application;
图18是本申请实施例中提供的一种OAM信息发送方法的示例图;FIG. 18 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application;
图19是本申请实施例中提供的一种OAM信息发送方法的示例图;FIG. 19 is an exemplary diagram of an OAM information sending method provided in an embodiment of the present application;
图20是本申请实施例中提供的一种OAM信息发送方法的示例图;FIG. 20 is an exemplary diagram of an OAM information sending method provided in an embodiment of the present application;
图21是本申请实施例中提供的一种OAM信息发送方法的示例图;FIG. 21 is an exemplary diagram of an OAM information sending method provided in an embodiment of the present application;
图22是本申请实施例中提供的一种OAM信息发送方法的示例图;FIG. 22 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application;
图23是本申请实施例中提供的一种OAM信息发送方法的示例图;FIG. 23 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application;
图24是本申请实施例中提供的一种OAM信息发送方法的示例图;FIG. 24 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application;
图25是本申请实施例中提供的一种OAM信息发送方法的示例图;FIG. 25 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application;
图26是本申请实施例中提供的一种OAM信息发送方法的示例图;FIG. 26 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application;
图27是本申请实施例中提供的一种OAM信息发送方法的示例图;FIG. 27 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application;
图28是本申请实施例中提供的一种OAM信息发送方法的示例图;FIG. 28 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application;
图29是本申请实施例中提供的一种OAM信息发送方法的示例图;FIG. 29 is an exemplary diagram of a method for sending OAM information provided in an embodiment of the present application;
图30是本申请实施例中提供的一种OAM信息发送装置的结构示意图;FIG. 30 is a schematic structural diagram of an OAM information sending device provided in an embodiment of the present application;
图31是本申请实施例中提供的一种设备的结构示意图。FIG. 31 is a schematic structural diagram of a device provided in an embodiment of the present application.
下文中将结合附图对本申请的实施例进行详细说明。Hereinafter, the embodiments of the present application will be described in detail with reference to the accompanying drawings.
用户网络信息流量的快速增加,促使着通讯网络信息传递宽带的快速发展,通讯设备的接口带宽速度从10M逐渐提高到100M,又进一步提高到1G和10G,目前通讯网络的接口带宽已经提升到100G,并且在市场上逐渐普及。虽然目前 已经研发出400G的光模块,然而其价格较高,甚至超过了4个100G光模块的价格,在实际应用时常采用4个100G光模块捆绑形成一个大速度的传递通道以替代昂贵的400G光模块。图1是相关技术中400G通道生成的示例图,参见图1,本申请实施例中大速度的传递通过通过FlexE协议将4个100G光模块捆绑起来形成一个400G的传输通道。The rapid increase of user network information traffic has promoted the rapid development of communication network information transmission broadband. The interface bandwidth speed of communication equipment has gradually increased from 10M to 100M, and further increased to 1G and 10G. At present, the interface bandwidth of communication networks has been increased to 100G. , And gradually popularized in the market. Although 400G optical modules have been developed, the price is relatively high, even exceeding the price of 4 100G optical modules. In practical applications, 4 100G optical modules are often bundled to form a high-speed transmission channel to replace the expensive 400G. Optical module. Fig. 1 is an example diagram of 400G channel generation in the related art. Referring to Fig. 1, the high-speed transmission in the embodiment of the present application is formed by bundling four 100G optical modules through the FlexE protocol to form a 400G transmission channel.
目前FlexE协议按照物理层100G速率来定义,在光模块中,100G的数据报文发送前,可以将数据包报文进行64//66编码,也即将64比特的数据块拓展为66比特的信息块,在64比特的数据块前增加2比特的数据作为66比特信息块的开始标志,然后将66比特信息块从光模块的光口发送。在接收报文时,光口从接收到的数据流中辨别出66比特信息块,然后从66比特块中恢复出原始的64比特数据块。其中,FlexE协议处于64比特块到66块转换层,在发送66比特数据块前,对66比特信息块进行排序和规划,图2是本申请实施例提供的一种66比特信息块的排列规划示例图,参见图2,对于100G业务,每20个66比特数据块可以划分为一个数据块组,每组中可以一共20个数据块,代表20个时隙,每个时隙可以标识5G带宽的业务速度。在发送66比特信息块时,每发送完1023个数据块组(1023*20个数据块),插入一共FlexE开销块,插入开销块后,继续发送数据块,每当发送1023个数据块组即插入一共开销块,可以理解的是,相邻两个开销块的间隔为1023*20个数据块。At present, the FlexE protocol is defined according to the 100G rate of the physical layer. In the optical module, before the 100G data message is sent, the data packet message can be 64//66 encoded, that is, the 64-bit data block is expanded to 66-bit information Block, add 2 bits of data before the 64-bit data block as the start mark of the 66-bit information block, and then send the 66-bit information block from the optical port of the optical module. When receiving a message, the optical port distinguishes a 66-bit information block from the received data stream, and then recovers the original 64-bit data block from the 66-bit block. Among them, the FlexE protocol is at the 64-bit block to 66-block conversion layer. Before sending the 66-bit data block, the 66-bit information block is sorted and planned. Figure 2 is a 66-bit information block arrangement plan provided by an embodiment of the present application. For an example diagram, see Figure 2. For 100G services, every 20 66-bit data blocks can be divided into a data block group, and each group can have a total of 20 data blocks, representing 20 time slots, and each time slot can identify 5G bandwidth. Business speed. When sending 66-bit information blocks, every time 1023 data block groups (1023*20 data blocks) are sent, a total of FlexE overhead blocks are inserted. After the overhead blocks are inserted, the data blocks continue to be sent. Every time 1023 data block groups are sent, that is Inserting a total of overhead blocks, it can be understood that the interval between two adjacent overhead blocks is 1023*20 data blocks.
当4路100G的物理成捆绑成一个400G的逻辑业务带宽时,图3是本申请实施例提供的一种多物理通道上数据块的分配示意图,参见图3,每个物理层按照20个数据块组成一个数据块组,每隔1023个数据块组插入一个开销块,在FlexE的shim层,4路20个数据块拼装成一个由80个数据块组成的数据块组,块组中有80个时隙。客户业务可以在80个时隙中进行传递,每个时隙带宽是5G,生成一共400G的业务传递宽带。When 4 physical channels of 100G are bundled into a logical service bandwidth of 400G, Figure 3 is a schematic diagram of data block allocation on multiple physical channels provided in an embodiment of the present application. See Figure 3, each physical layer is based on 20 data The blocks form a data block group, and an overhead block is inserted every 1023 data block groups. At the shim layer of FlexE, 4 channels of 20 data blocks are assembled into a data block group consisting of 80 data blocks. There are 80 data blocks in the block group. Time slots. Customer services can be delivered in 80 time slots, each time slot bandwidth is 5G, generating a total of 400G service delivery broadband.
FlexE开销块可以是一个66比特长的开销块,在业务数据流发送时,每间隔1023*20个数据块插入一个开销块,开销块可以在整个业务流中起到定位功 能,可以通过开销块快速寻找到业务第一数据块组的位置以及后续数据块组位置。图4是本申请实施例提供的一种开销块数据帧的结构示意图,参见图4,连续8个开销块则组成一个开销帧。一个开销块由2比特的块标志和64位的块内容组成。块标志位于前2列,后面64列是块内容,第一个开销块的块标志是10,后面7个开销块的块标志是01或SS(SS表示内容不确定)。第一个开销块的内容是:0x4B(8位,十六进制的4B)、C比特(1位,指示调整控制)、OMF比特(1位,表示开销帧复帧指示)、RPF比特(1位,表示远端缺陷指示)、RES比特(1位,保留位)、FlexE group number(20位,表示捆绑组的编号)、0x5(4位,十六进制的5)、000000(28位,都是0)。其中的0x4B和0x5是第一个开销块的标志指示,在接收时,当找到一个开销块中对应位置是0x4B和0x5,则表示该开销块是开销帧中的第一个开销块,和次后连续的7个开销块组成一个开销帧。在开销帧中,reserved部分是保留内容,尚未定义,见图4黑色点填充块。在FlexE协议中,定义8个开销块组成一帧,其中第一个开销块中由4B(16进制,标识为0x4B)和05(16进制,标识为0x5)两个字段标识。当开销块中,检测出对应位置是4B和05内容时,则表示该开销块是第一个开销块,和后面的7个开销块组成一帧。The FlexE overhead block can be a 66-bit overhead block. When the service data stream is sent, an overhead block is inserted every 1023*20 data blocks. The overhead block can play a positioning function in the entire service stream and can be passed through the overhead block. Quickly find the position of the first data block group of the business and the position of the subsequent data block group. Fig. 4 is a schematic structural diagram of an overhead block data frame provided by an embodiment of the present application. Referring to Fig. 4, 8 consecutive overhead blocks form an overhead frame. An overhead block is composed of a 2-bit block flag and a 64-bit block content. The block flag is located in the first 2 columns, the next 64 columns are the block content, the block flag of the first overhead block is 10, and the block flag of the next 7 overhead blocks is 01 or SS (SS means the content is uncertain). The content of the first overhead block is: 0x4B (8 bits, 4B in hexadecimal), C bit (1 bit, indicating adjustment control), OMF bit (1 bit, indicating overhead frame multiframe indication), RPF bit ( 1 bit, indicating remote defect indication), RES bit (1 bit, reserved bit), FlexE group number (20 bits, indicating the number of the bundle group), 0x5 (4 bits, 5 in hexadecimal), 000000 (28 Bit, all 0). Among them, 0x4B and 0x5 are the flag indications of the first overhead block. When receiving, when the corresponding positions in an overhead block are found to be 0x4B and 0x5, it means that the overhead block is the first overhead block in the overhead frame, and the next The last 7 consecutive overhead blocks form an overhead frame. In the overhead frame, the reserved part is reserved content and has not been defined, as shown in Figure 4, the black dot filling block. In the FlexE protocol, 8 overhead blocks are defined to form a frame, and the first overhead block is identified by two fields, 4B (hexadecimal, identified as 0x4B) and 05 (hexadecimal, identified as 0x5). When it is detected that the corresponding positions in the overhead block are 4B and 05 content, it means that the overhead block is the first overhead block, and the following 7 overhead blocks form a frame.
图5是本申请实施例提供的一种通道承载客户业务的示意图,对于客户业务,先进行64/66编码,将客户数据流切成64比特(8个字节)长的块信息,然后对64比特的信息进行编码,变成66比特的信息块。经过64/66编码,业务流变成66比特长度信息块流。这些信息块分成两种:数据块(前两个bit是01,指示该块是数据块)和控制块(前两个bit是10,指示该块是数据块),两种信息块通过信息块中前两位比特进行区分。控制信息块又可以分成各种不同的控制信息块(如空闲信息块),通过控制信息块中第一个字节来区分。将客户信息进行64/66编码之后,通过增加或删除空闲信息块实现速率调整,然后按照时隙配置情况将66比特的信息块放在FlexE协议定义时隙规划表(calendar)中的对应位置。FlexE协议为客户业务提供了灵活传递通道,可以根据客户带宽需要 灵活调整传输通道的大小。FlexE协议只是为客户提供了一个管道,没有提供该管道的服务质量的管理能力OAM(操作Operation、管理Administration、维护Maintenance,简称OAM),因此无法实时监控管道服务质量,无法提供业务保护倒换的参考信号。在当前的建议草案中增加OAM信息功能,实现客户业务流服务质量的监控功能。如图6,客户业务进行64/66比特编码后,一个客户报文的首块时S块(首块),然后时D块(数据块),最后是T块(尾块)。在前后两个数据包的码块之间可能有若干I块(空闲块)、O块(故障信息块)等,可以在两个报文之间增加OAM信息块。图7是本申请实施例中客户业务码块中空闲块的位置示意图,参见图7,OAM信息和客户数据报文信息一起传递,OAM信息和客户数据信息传递路径完全一致,可以实时监控FlexE客户管道的服务质量。OAM信息块一般是在客户流中每间隔16K(即16384)个码块的频率出现。在报文码块流之间增加OAM信息块有两种方式:替代方式和强插方式。替代模式就是用OAM信息块替代报文之间的I块(空闲块),如图7,该模式只有遇到I块时才能执行替代操作。图8是本申请实施例中客户业务码块中强制插入OAM码块的示例图,参见图8,强插模式就是直接在报文之间插入OAM信息块,不管是否有空闲块都执行操作,先执行插入OAM码,然后在遇到空闲块时再删除对应数量的空闲块。Figure 5 is a schematic diagram of a channel carrying customer services provided by an embodiment of the present application. For customer services, 64/66 encoding is performed first, the customer data stream is cut into 64-bit (8-byte) long block information, and then The 64-bit information is encoded into a 66-bit information block. After 64/66 encoding, the service stream becomes a 66-bit length information block stream. These information blocks are divided into two types: data blocks (the first two bits are 01, indicating that the block is a data block) and control blocks (the first two bits are 10, indicating that the block is a data block). The two information blocks pass through the information block. The first two bits are distinguished. The control information block can be divided into various control information blocks (such as idle information blocks), which are distinguished by the first byte in the control information block. After 64/66 encoding of client information, rate adjustment is achieved by adding or deleting idle information blocks, and then placing the 66-bit information block in the corresponding position in the time slot planning table (calendar) defined by the FlexE protocol according to the time slot configuration. The FlexE protocol provides a flexible transmission channel for customer services, and the size of the transmission channel can be flexibly adjusted according to customer bandwidth needs. The FlexE protocol only provides a pipeline for customers, and does not provide OAM (Operation Operation, Administration, Maintenance, OAM for short), so it cannot monitor pipeline service quality in real time, and cannot provide a reference for business protection switching. Signal. The OAM information function is added to the current draft proposal to realize the monitoring function of customer service flow service quality. As shown in Figure 6, after 64/66-bit encoding for client services, the first block of a client message is S block (first block), then D block (data block), and finally T block (tail block). There may be a number of I blocks (free blocks), O blocks (fault information blocks), etc. between the code blocks of the two data packets before and after, and an OAM information block can be added between the two packets. Figure 7 is a schematic diagram of the location of free blocks in the customer service code block in the embodiment of this application. See Figure 7. OAM information and customer data message information are transmitted together. The transmission path of OAM information and customer data information is exactly the same, and FlexE customers can be monitored in real time. The quality of service of the pipeline. OAM information blocks generally appear at intervals of 16K (that is, 16384) code blocks in the client stream. There are two ways to add OAM information blocks between the message code block streams: an alternative way and a forced insertion way. The alternative mode is to use OAM information blocks to replace I blocks (free blocks) between messages, as shown in Figure 7. This mode can only perform substitution operations when encountering I blocks. Fig. 8 is an example diagram of forced insertion of OAM code blocks into the customer service code blocks in the embodiment of the present application. See Fig. 8, the forced insertion mode is to directly insert OAM information blocks between messages, and perform operations regardless of whether there are free blocks. Insert the OAM code first, and then delete the corresponding number of free blocks when a free block is encountered.
在客户业务流中增加OAM信息块时,需要删除对应数量的IDLE块才能保证信息流的速度保持不变。以太网标准定义中报文之间平均间隔至少12个字节,报文之间间隔空闲位置在编码时变成IDLE块。当报文长度越长时,报文间隔平均12字节的数量相对总报文字节比值会降低。当前以太网设备普遍支持9600字节长度的报文,这样每间隔9600字节的报文才会出现12字节的空闲字节。9600字节长度报文在64/66编码时会编程成1200个码块,在16384个码块长度中大约有13.6个9600报文。每个9600报文之间有12个空闲间隔字节,13.6个9600包间隔中总共有13.6*12=163.8个空闲字节码块,这些空闲字节可以编程成20.5个空闲IDLE块。由于9600报文长度是8的整数倍,编码后每个报文尾部 会增加一个报文结束块T0,该每个T0需要占用一个空闲块,13.6报需要占14个空闲块,这样16384码块流周期中只剩下7.5个空闲块。以太网业务存在时钟频率偏差问题,最大偏差正负100PPM(即最大偏差200PPM,PPM是百万分之一的单位)需要进行IDLE增删,16384码块流周期需要3.3个空闲块进行速度调整,需要占用3.3个空闲块。类似,AM块和FlexE开销块大约也要各占一个空闲块,这样剩余的空闲块数量只有7.5-3.3-1-1=2.5,也就是说一个16K周期内只剩下2个空闲块可以被OAM块使用。OAM信息块的数量很多,瞬时可能需要10多个码块需要传送,但实际上只能允许2、3个OAM码块可以被传递,需要解决多个OAM突发传递的问题。When adding OAM information blocks to the customer service flow, it is necessary to delete the corresponding number of IDLE blocks to ensure that the speed of the information flow remains unchanged. In the Ethernet standard definition, the average interval between messages is at least 12 bytes, and the free space between the messages becomes an IDLE block during encoding. When the message length is longer, the ratio of the average number of 12 bytes in the message interval to the total message bytes will decrease. Currently, Ethernet devices generally support 9600-byte packets, so that every 9600-byte packet will have 12 bytes of free bytes. The 9600-byte length message will be programmed into 1200 code blocks in 64/66 encoding, and there are approximately 13.6 9600 messages out of the 16384 code block length. There are 12 idle interval bytes between each 9600 packet. There are 13.6*12=163.8 idle bytecode blocks in 13.6 9600 packet intervals. These idle bytes can be programmed into 20.5 idle IDLE blocks. Since the length of the 9600 message is an integer multiple of 8, after encoding, a message end block T0 will be added to the end of each message. Each T0 needs to occupy a free block, and the 13.6 message needs to occupy 14 free blocks, so 16384 code blocks Only 7.5 free blocks remain in the flow cycle. Ethernet services have clock frequency deviation problems. The maximum deviation is plus or minus 100PPM (that is, the maximum deviation is 200PPM, and PPM is a unit of one millionth). IDLE additions and deletions are required. The 16384 code block stream cycle requires 3.3 free blocks for speed adjustment. Occupies 3.3 free blocks. Similarly, the AM block and the FlexE overhead block also occupy approximately one free block each, so that the number of remaining free blocks is only 7.5-3.3-1-1=2.5, which means that only 2 free blocks can be used in a 16K cycle. The OAM block is used. There are a large number of OAM information blocks, and more than 10 code blocks may be required to be transmitted instantaneously, but in reality only two or three OAM code blocks can be transmitted, and the problem of multiple OAM burst transmission needs to be solved.
图9是本申请实施例中提供的一种OAM信息发送方法的流程图,本申请实施可适用于400G大速度通道中传输OAM信息的情况,该方法可以由本申请实施例中的OAM信息发送装置来执行,该装置可以通过软件和/或硬件的方式实现,参见图9,本申请实施例的方法具体包括如下步骤:FIG. 9 is a flowchart of an OAM information sending method provided in an embodiment of this application. The implementation of this application can be applied to the case of transmitting OAM information in a 400G high-speed channel. This method can be implemented by the OAM information sending device in this embodiment The device can be implemented by software and/or hardware. Referring to FIG. 9, the method of the embodiment of the present application specifically includes the following steps:
步骤101、缓存至少一个种类的待发送OAM码块。Step 101: Buffer at least one type of OAM code block to be sent.
其中,待发送OAM码块可以是需要通过大速度通道发送的信息数据块,待发送OAM码块中可以存储有操作信息数据、管理信息数据和维护信息数据等,可以用于检测通道的服务质量状态,例如,可以用于检测通道的误码率、延迟时间和业务丢弃等功能。Among them, the OAM code block to be sent can be an information data block that needs to be sent through a high-speed channel, and the OAM code block to be sent can store operation information data, management information data, and maintenance information data, etc., which can be used to detect the quality of service of the channel The status, for example, can be used to detect the channel's bit error rate, delay time, and service discarding functions.
具体的,由于OAM信息块的数量很多,无法瞬时进行发送,可以将需要进行发送的待发送OAM码块进行缓存,可以根据待OAM码块的不同种类进行缓存。可以理解的是,由于待发送OAM码块承载信息的不同,待发送OAM码块的种类可以不同。Specifically, due to the large number of OAM information blocks that cannot be sent instantaneously, the OAM code blocks to be sent that need to be sent can be buffered, and the buffering can be performed according to different types of OAM code blocks to be sent. It is understandable that due to the difference in information carried by the OAM code block to be sent, the type of the OAM code block to be sent may be different.
进一步的,在上述申请实施例的基础上,所述待发送OAM码块的种类至少包括基础OAM信息块、自动保护倒换(Automatic Protect Switch,APS)信息块、单方向延迟测量(1 Delay Measure,1DM)码块、双向延迟测量(2 Delay Measure,2DM)码块、双向延迟测量的应答(2 Delay Measure Response,2DMR)码块、链接校验(Connection Verify,CV)CV码块和客户类型(Client Service,CS)码块中至少一种。Further, on the basis of the foregoing application embodiment, the types of the OAM code blocks to be sent include at least basic OAM information blocks, automatic protection switch (APS) information blocks, and unidirectional delay measurement (1 Delay Measure, 1DM) code block, two-way delay measurement (2 Delay Measure, 2DM) code block, two-way delay measurement response (2 Delay Measure Response, 2DMR) code block, connection verification (Connection Verify, CV) CV code block and client type ( At least one of Client Service (CS) code blocks.
步骤102、根据预设调度方式输出各所述待发送OAM码块。Step 102: Output each OAM code block to be sent according to a preset scheduling mode.
在本申请实施例中,预设调度方式可以是调度各缓存的待发送OAM码块输出的方式,例如,可以根据待发送OAM码块的种类顺序输出待发送OAM码块或者按照待发送OAM码块的缓存时间依次输出待发送OAM码块。In the embodiment of the present application, the preset scheduling method may be a method of scheduling the output of the OAM code blocks to be sent in each buffer. For example, the OAM code blocks to be sent may be sequentially output according to the type of the OAM code blocks to be sent or according to the OAM code to be sent The buffer time of the block sequentially outputs the OAM code blocks to be sent.
步骤103、在预设周期内控制所述待发送OAM码块的总输出数量。Step 103: Control the total output quantity of the OAM code blocks to be sent within a preset period.
其中,预设周期可以是输出待发送OAM码块的发送周期,每个预设周期可以作为待发送OAM码块输出的控制周期。The preset period may be a transmission period for outputting the OAM code block to be sent, and each preset period may be used as a control period for outputting the OAM code block to be sent.
具体的,在待发送OAM码块输出时,可以控制每个预设周期内输出的待发送OAM码块的总输出数量,例如,待发送OAM码块的预设周期为16384个码块,每个预设周期内可以允许发送2个待发送OAM码块,可以设置预设周期T=16384和总输出数量sum=2来控制待发送OAM的输出,如果待发送OAM码块的数量超过两个时,剩余的待发送OAM码块需要等待下一个预设周期进行发送。通过在预设周期内控制待发送OAM码块的总输出数量,可解决IDLE块数量对待发送OAM块输出的限制,提高了OAM码块输出的数量和实时性。Specifically, when the OAM code block to be sent is output, the total output quantity of the OAM code block to be sent output in each preset period can be controlled. For example, the preset period of the OAM code block to be sent is 16384 code blocks. Two OAM code blocks to be sent can be sent within a preset period. The preset period T = 16384 and the total output number sum = 2 can be set to control the output of the OAM to be sent. If the number of OAM code blocks to be sent exceeds two At this time, the remaining OAM code blocks to be sent need to wait for the next preset period to be sent. By controlling the total output quantity of the OAM code blocks to be sent within a preset period, the limitation of the number of IDLE blocks on the output of the OAM blocks to be sent can be solved, and the quantity and real-time performance of the OAM code block output can be improved.
本申请实施例,通过将不同种类的待发送OAM码块缓存,并根据预设调度方式输出待发送OAM码块,在预设周期内控制待发送OAM码块的总输出数量,实现绑定通道下OAM码块的输出,丰富了通道的业务功能,降低了IDLE块数量对输出OAM码块的限制,提高了待发送OAM码块输出的数量,可增强通道对控制响应的实时性。In the embodiment of the present application, by buffering different types of OAM code blocks to be sent, and outputting the OAM code blocks to be sent according to a preset scheduling method, the total output number of the OAM code blocks to be sent is controlled within a preset period to realize binding channels The output of the lower OAM code block enriches the service functions of the channel, reduces the limitation of the number of IDLE blocks on the output OAM code block, increases the number of OAM code block outputs to be sent, and can enhance the real-time response of the channel to the control.
进一步的,在上述申请实施例的基础上,所述缓存至少一个种类的待发送OAM码块,包括:根据所述种类对应的优先级缓存各所述待发送OAM码块。Further, on the basis of the foregoing application embodiment, the buffering of at least one type of OAM code blocks to be sent includes: buffering each of the OAM code blocks to be sent according to the priority corresponding to the type.
在本申请实施例中,根据种类对待发送OAM缓存时,可以对待发送OAM 的种类预设优先级,可以按照种类优先级的顺序依次缓存待发送OAM码块,例如,优先级的顺序从高到低进行排列,基础OAM信息块可以具有最高优先级,然后可以为事件触发的APS码块,剩余的周期性的APS码块和1DM码块、2DMM、2DMR、CV码块、CS码块等码块优先级可以相同。In the embodiment of the present application, when the OAM to be sent is buffered according to the type, the priority of the OAM to be sent can be preset, and the OAM code blocks to be sent can be buffered in the order of the priority of the type, for example, the priority order is from high to Low order, the basic OAM information block can have the highest priority, and then can be the event-triggered APS code block, the remaining periodic APS code block and 1DM code block, 2DMM, 2DMR, CV code block, CS code block and other codes The block priority can be the same.
图10是本申请实施例中提供的一种OAM信息发送方法的流程图,本申请实施例是以上述申请实施例为基础进行具体化,确定待发送OAM码块中时间APS码块和周期APS码块在缓存时的优先级,参见图10,本申请实施例的方法可以包括如下步骤:Fig. 10 is a flowchart of an OAM information sending method provided in an embodiment of the present application. The embodiment of the present application is embodied based on the above-mentioned application embodiment to determine the time APS code block and the period APS of the OAM code block to be sent For the priority of the code block when it is cached, referring to FIG. 10, the method of the embodiment of the present application may include the following steps:
步骤111、所述待发送OAM码块中的APS信息块至少包括事件APS码块和周期APS码块,按照相同高优先级缓存所述事件APS码块和/或所述周期APS码块。Step 111: The APS information block in the OAM code block to be sent includes at least an event APS code block and a periodic APS code block, and the event APS code block and/or the periodic APS code block are cached according to the same high priority.
具体的,APS信息块可以有两种方式触发发送,例如当出现紧急故障事件时,输出3次APS信息块,每次发送间隔可以为3.3毫秒,属于紧急事件通知发送,然后可以以每秒发送一次的方式重复发送APS信息块,APS根据触发情景可以分为紧急事件触发的事件APS码块和周期性发送的周期APS码块。Specifically, the APS information block can be sent in two ways. For example, when an emergency fault event occurs, the APS information block is output 3 times, and the interval between each sending can be 3.3 milliseconds. It is an emergency notification sending, and then it can be sent every second. The APS information block is repeatedly sent in a one-time manner. APS can be divided into an event APS code block triggered by an emergency event and a periodic APS code block sent periodically according to the trigger scenario.
由于APS信息块的两种产生方式,发送的优先级需求不同,但在发送顺序上仍要保持原有的APS信息产生时刻顺序,如果周期APS码块优先级比较低,在等待发送中,这时又产生事件APS码块需要发送,事件APS码块优先级高,但如果前面低优先级的周期APS码块尚未发送,则高优先级的事件APS码块不能发送,只能等前面的低优先级周期APS码块发送结束后才能发送高优先级的事件APS码块,或者丢弃掉前面的低优先级周期APS码块,然后再发送高优先级的APS码块。本申请实施例中,可以为周期APS码块和事件APS码块设置相同的高优先级,其他种类的待发送OAM码块可以低于周期APS码块和事件APS码块。Due to the two generation methods of APS information blocks, the priority requirements for transmission are different, but the original APS information generation time sequence must be maintained in the transmission sequence. If the priority of the periodic APS code block is relatively low, it is waiting to be transmitted. Event APS code block needs to be sent from time to time, the priority of the event APS code block is high, but if the previous low priority periodic APS code block has not been sent, the high priority event APS code block cannot be sent, and it can only wait for the previous low After the priority period APS code block is sent, the high priority event APS code block can be sent, or the previous low priority period APS code block is discarded, and then the high priority APS code block is sent. In the embodiment of the present application, the same high priority can be set for the periodic APS code block and the event APS code block, and other types of OAM code blocks to be sent can be lower than the periodic APS code block and the event APS code block.
步骤112、根据预设调度方式输出各所述待发送OAM码块。Step 112: Output each OAM code block to be sent according to a preset scheduling mode.
具体的,可以根据各待发送OAM码块的种类的优先级进行调度输出,由于事件APS码块和周期APS码块具有相同的高优先级,在对OAM码块输出时可以不区分事件APS码块或者周期APS码块,将事件APS码块和周期APS码块作为相同的APS信息块输出。还可以区分事件APS码块或者周期APS码块,但是事件APS码块或者周期APS码块具有的优先级相同,在输出时,在事件APS码块和周期APS码块中只按照时间顺序输出。Specifically, the scheduled output can be performed according to the priority of each OAM code block to be sent. Since the event APS code block and the periodic APS code block have the same high priority, the event APS code can not be distinguished when outputting the OAM code block. Block or periodic APS code block, output the event APS code block and the periodic APS code block as the same APS information block. The event APS code block or the periodic APS code block can also be distinguished, but the event APS code block or the periodic APS code block has the same priority. When outputting, the event APS code block and the periodic APS code block are only output in chronological order.
步骤113、在预设周期内控制所述待发送OAM码块的总输出数量。Step 113: Control the total output quantity of the OAM code blocks to be sent within a preset period.
具体的,在待发送OAM码块输出时,可以控制每个预设周期内输出的待发送OAM码块的总输出数量。Specifically, when the OAM code block to be sent is output, the total output quantity of the OAM code block to be sent that is output in each preset period can be controlled.
本申请实施例中,通过对事件APS码块和周期APS码块设置相同的高优先级,根据在输出时对事件APS码块和周期APS码块采取相同的预设调度方式,实现故障信息的及时响应,可提升通道传输的可靠性。In the embodiment of the present application, the event APS code block and the periodic APS code block are set to the same high priority, and the same preset scheduling method is adopted for the event APS code block and the periodic APS code block at the time of output, so as to realize the failure information. Timely response can improve the reliability of channel transmission.
图11是本申请实施例中提供的一种OAM信息发送方法的流程图,本申请实施例是以上述申请实施例为基础进行具体化,确定待发送OAM码块中时间APS码块和周期APS码块在缓存时的优先级,参见图11,本申请实施例的方法可以包括如下步骤:FIG. 11 is a flowchart of a method for sending OAM information provided in an embodiment of the present application. The embodiment of the present application is embodied on the basis of the above-mentioned application embodiment to determine the time APS code block and the period APS of the OAM code block to be sent For the priority of the code block when it is cached, referring to FIG. 11, the method of the embodiment of the present application may include the following steps:
步骤121、所述待发送OAM码块中的APS信息块至少包括事件APS码块和周期APS码块,按照相同高优先级缓存所述事件APS码块和/或所述周期APS码块,所述事件APS码块缓存时清除已缓存的周期APS码块。Step 121: The APS information block in the OAM code block to be sent includes at least an event APS code block and a periodic APS code block, and the event APS code block and/or the periodic APS code block are cached according to the same high priority, so When the event APS code block is cached, the cached periodic APS code block is cleared.
本申请实施例中,由于事件APS码块和周期APS码块携带信息的及时性要求不同,当通道发送事件APS码块时周期APS码块携带的信息可以已经失效,为了提高待发送OAM码块的输出效率,可以在缓存事件APS码块时,将缓存中已经存在的但是还未发送的周期APS码块清除。In the embodiment of this application, due to the different timeliness requirements of the information carried by the event APS code block and the periodic APS code block, the information carried by the periodic APS code block may have been invalid when the channel sends the event APS code block. In order to improve the OAM code block to be sent The output efficiency can be used to clear the periodic APS code blocks that already exist in the cache but have not been sent when the event APS code blocks are cached.
具体的,可以为OAM码块中的事件APS码块和周期APS码块设置相同的高优先级,根据优先级将对应种类的待发送OAM码块进行缓存,由于事件APS 码块和周期APS码块具有相同的高优先级,在获取到事件APS码块和周期APS码块时,可以先进行缓存,缓存过程中每当缓存事件APS码块时,可以将已缓存的周期APS码块从缓存中清除,可以保障待发送OAM码块输出时的有效性。Specifically, the same high priority can be set for the event APS code block and the periodic APS code block in the OAM code block, and the corresponding type of OAM code block to be sent is buffered according to the priority. Because the event APS code block and the periodic APS code block Blocks have the same high priority. When the event APS code block and the periodic APS code block are obtained, they can be cached first. Whenever the event APS code block is cached during the caching process, the cached periodic APS code block can be removed from the cache. The medium clearing can guarantee the validity of the OAM code block to be sent when outputting.
步骤122、根据预设调度方式输出各所述待发送OAM码块。Step 122: Output each of the OAM code blocks to be sent according to the preset scheduling mode.
步骤123、在预设周期内控制所述待发送OAM码块的总输出数量。Step 123: Control the total output quantity of the OAM code blocks to be sent within a preset period.
本申请实施例,通过对事件APS码块和周期APS码块设置相同的高优先级,根据在输出时对事件APS码块和周期APS码块采取相同的预设调度方式,并在缓存事件APS码块时,实现故障信息的及时响应,可提升通道传输的可靠性。In the embodiment of the present application, by setting the same high priority for the event APS code block and the periodic APS code block, the same preset scheduling method is adopted for the event APS code block and the periodic APS code block during output, and the event APS code block is cached. When the code block is used, the timely response of the fault information can be realized, which can improve the reliability of the channel transmission.
图12是本申请实施例中提供的一种OAM信息发送方法的流程图,本申请实施例是以上述申请实施例为基础进行具体化,通过两级调度的方式输出待发送OAM码块,先在相同优先级内部轮询调度输出,再根据不同优先级进行优先级调度输出,参见图12,本申请实施例的方法可以包括如下步骤:Fig. 12 is a flowchart of an OAM information sending method provided in an embodiment of the present application. The embodiment of the present application is embodied on the basis of the above-mentioned application embodiment, and outputs the OAM code block to be sent in a two-level scheduling manner. The scheduling output is polled within the same priority, and then the priority scheduling output is performed according to different priorities. Referring to FIG. 12, the method of the embodiment of the present application may include the following steps:
步骤201、缓存至少一个种类的待发送OAM码块。Step 201: Buffer at least one type of OAM code block to be sent.
步骤202、先将属于相同优先级的待发送OAM码块采用轮询调度输出。Step 202: First, the to-be-transmitted OAM code blocks belonging to the same priority are output using round-robin scheduling.
其中,轮询调度可以是按照顺序依次输出待发送OAM码块的方式。Among them, the round-robin scheduling may be a way of sequentially outputting the OAM code blocks to be sent in order.
在本申请实施例中,可以先在具有相同优先级的待发送OAM码块中进行轮询调度输出,具有相同优先级的待发送OAM码块中输出的概率相同,可以公平的进行输出,同一优先级的待发送OAM码块同一时刻可以输出一个缓存的待发送OAM码块。可以理解的是,由于待发送OAM码块可以为多个优先级,在相同优先级的待发送码块中采用轮询调度后可以输出多个待发送码块,待发送码块的数量可以对应优先级的数量。In the embodiment of the present application, polling scheduling output can be performed in the OAM code blocks to be sent with the same priority first, and the output probability of the OAM code blocks to be sent with the same priority is the same, and the output can be performed fairly. The priority OAM code block to be sent can output a buffered OAM code block to be sent at the same time. It is understandable that since the OAM code blocks to be sent can have multiple priorities, after polling scheduling is used in the code blocks to be sent with the same priority, multiple code blocks to be sent can be output, and the number of code blocks to be sent can correspond to The number of priorities.
步骤203、再将输出的不同优先级的待发送OAM码块采用优先级调度输出。Step 203: The output OAM code blocks with different priorities to be sent are then output by priority scheduling.
具体的,由于在相同优先级内输出的待发送OAM码块的优先级不同,可以根据优先级的数量输出多个待发送OAM码块,由于通过一个时刻仅可以输出一 个OAM码块,可以在根据不同的优先级将待发送OAM码块调度输出,高优先的待发送OAM码块先输出,低优先级的待发送OAM码块后输出。Specifically, since the OAM code blocks to be sent output within the same priority have different priorities, multiple OAM code blocks to be sent can be output according to the number of priorities. Since only one OAM code block can be output at a time, The OAM code blocks to be sent are scheduled to be output according to different priorities, the high priority OAM code blocks to be sent are output first, and the low priority OAM code blocks to be sent are output later.
步骤204、在预设周期内控制所述待发送OAM码块的总输出数量。Step 204: Control the total output quantity of the OAM code blocks to be sent within a preset period.
在本申请实施例中,一个预设周期内的待发送OAM码块的总输出数量可以一定,可以通过先在相同优先级内进行轮询调度输出,在不同优先级内进行优先级调度输出,预设周期内输出的待发送OAM码块的数量达到总输出数量时,还未输出的待发送OAM码块可以等待下一个预设周期发送。In the embodiment of the present application, the total output quantity of the OAM code blocks to be sent in a preset period can be fixed. It can be output by polling and scheduling in the same priority first, and priority scheduling and output in different priorities. When the number of OAM code blocks to be sent output in the preset period reaches the total output quantity, the OAM code blocks to be sent that have not been output can wait for the next preset period to be sent.
本申请实施例,通过两级调度的方式输出缓存的待发送OAM码块,相同优先级的待发送OAM码块之间轮询调度输出,不同优先级的待发送OAM码块根据优先级调度输出,实现待发送OAM码块均衡的输出,提高了大速度通道的稳定性。In the embodiment of the present application, the buffered OAM code blocks to be sent are output in a two-level scheduling manner, the OAM code blocks to be sent with the same priority are polled for scheduling output, and the OAM code blocks to be sent with different priorities are output according to the priority scheduling. , Realize the balanced output of the OAM code block to be sent, and improve the stability of the high-speed channel.
图13是本申请实施例中提供的一种OAM信息发送方法的流程图,本申请实施例是以上述申请实施例为基础进行具体化,通过两级调度的方式输出待发送OAM码块,先在低优先级内部轮询调度输出,再根据不同优先级进行优先级调度输出,参见图13,本申请实施例的方法可以包括如下步骤:FIG. 13 is a flowchart of a method for sending OAM information provided in an embodiment of the present application. The embodiment of the present application is embodied based on the above-mentioned application embodiment, and outputs the OAM code block to be sent in a two-level scheduling manner. The scheduling output is polled within the low priority level, and then the priority scheduling output is performed according to different priorities. Referring to FIG. 13, the method of the embodiment of the present application may include the following steps:
步骤211、缓存至少一个种类的待发送OAM码块。Step 211: Buffer at least one type of OAM code block to be sent.
步骤212、先将属于低优先级的待发送OAM码块采用轮询调度输出。Step 212: First, the low priority OAM code blocks to be sent are output using round-robin scheduling.
在申请实施例中,可以根据待OAM码块的不同的种类划分为至少三个优先级,可以至少包括高优先级、中优先级和低优先级,可以将发送数量较多并且不重要的待发送OAM码块划分到低优先级。示例性的,可以将基础OAM信息块划分入高优先级,可以将APS信息块划分到中优先级,可以将1DM码块、2DM码块、2DMR码块、CV码块和CS码块等划分到低优先级。In the application embodiment, it can be divided into at least three priority levels according to different types of OAM code blocks, which can include at least high priority, medium priority, and low priority. The transmission of OAM code blocks is divided into low priority. Exemplarily, the basic OAM information block can be divided into high priority, the APS information block can be divided into medium priority, and the 1DM code block, 2DM code block, 2DMR code block, CV code block, and CS code block can be divided. To low priority.
具体的,由于高优先级的基础OAM信息块和中优先级的APS信息块一般情况下不会大量同时突发发送,低优先级的OAM码块按需发送,存在同时启用的可能,在进行第一层级的输出调度时,可以仅在低优先级的待发送OAM码块 中进行轮询调度对于一个时刻仅输出一个低优先级的待发送OAM码块,防止OAM码块输出过多对大速度通道传输的客户业务产生影响。Specifically, because high-priority basic OAM information blocks and medium-priority APS information blocks are generally not sent in a large number of bursts at the same time, low-priority OAM code blocks are sent on demand, and there is the possibility of simultaneous activation. In the first-level output scheduling, polling scheduling can be performed only in the low-priority OAM code blocks to be sent. Only one low-priority OAM code block to be sent is output at a time to prevent the output of too many OAM code blocks. Speed channel transmission has an impact on customer business.
步骤213、再将其余优先级的待发送OAM码块和轮询调度输出的低优先级的待发送OAM码块采用优先级调度输出。Step 213: The remaining priority OAM code blocks to be sent and the low priority OAM code blocks to be sent output by the round-robin scheduling output are output by priority scheduling.
具体的,在进行第二层级的输出调度时,可以将第一层级的轮询调度输出的待发送OAM码块与其他优先级的待发送OAM码块进行优先级调度输出,可以根据优先级依次输出待发送OAM码块,可以理解的是,高优先的待发送OAM码块先输出,第一层级轮询调度输出的待发送OAM码块最后输出。Specifically, when performing the second-level output scheduling, the OAM code blocks to be sent output by the first-level round-robin scheduling and other priority OAM code blocks to be sent can be prioritized and output, which can be sequentially output according to the priority. The OAM code block to be sent is output. It can be understood that the high priority OAM code block to be sent is output first, and the OAM code block to be sent output by the first-level round-robin scheduling is output last.
步骤214、在预设周期内控制所述待发送OAM码块的总输出数量。Step 214: Control the total output quantity of the OAM code blocks to be sent within a preset period.
本申请实施例的技术方案,通过采用两级调度的方式输出待发送OAM码块,实现了大速度通道的OAM发送功能,提高了通道的安全性,仅在低优先级的待发送OAM码块中进行轮询调度,便于对总输出数量的控制,提高通道的可靠性。The technical solution of the embodiment of the present application uses a two-level scheduling method to output the OAM code blocks to be transmitted, which realizes the OAM transmission function of the high-speed channel and improves the security of the channel. Only low priority OAM code blocks are to be transmitted. Carrying out round-robin scheduling in the process, it is convenient to control the total output quantity and improve the reliability of the channel.
图14是本申请实施例中提供的一种OAM信息发送方法的流程图,本申请实施例是以上述申请实施例为基础进行具体化,基于各待发送OAM码块的优先级使用一级调度或者多级调度的方式输出待发送OAM码块,参见图14,本申请实施例的方法可以包括如下步骤:FIG. 14 is a flowchart of an OAM information sending method provided in an embodiment of the present application. The embodiment of the present application is embodied based on the above-mentioned application embodiment, and uses first-level scheduling based on the priority of each OAM code block to be sent Or output the to-be-transmitted OAM code block in a multi-level scheduling manner. Referring to FIG. 14, the method of the embodiment of the present application may include the following steps:
步骤221、缓存至少一个种类的待发送OAM码块。Step 221: Buffer at least one type of OAM code block to be sent.
步骤222、根据各所述发送OAM码块的优先级进行输出,其中,不同优先级的各所述待发送OAM码块采用优先级调度输出,相同优先级的各所述待发送OAM码块采用轮询调度输出。Step 222: Output according to the priority of each OAM code block to be sent, wherein each OAM code block to be sent with different priorities is output by priority scheduling, and each OAM code block to be sent with the same priority is used Polling scheduling output.
在本申请实施例中,可以根据待OAM码块的不同的种类划分为至少三个优先级,可以至少包括高优先级、中优先级和低优先级,可以将发送数量较多并且不重要的待发送OAM码块划分到低优先级。示例性的,可以将基础OAM信息块划分入高优先级,可以将APS信息块划分到中优先级,可以将1DM码块、2DM码块、2DMR码块、CV码块和CS码块等划分到低优先级。In the embodiments of the present application, it can be divided into at least three priority levels according to different types of OAM code blocks, which can include at least high priority, medium priority, and low priority. The OAM code block to be sent is divided into low priority. Exemplarily, the basic OAM information block can be divided into high priority, the APS information block can be divided into medium priority, and the 1DM code block, 2DM code block, 2DMR code block, CV code block, and CS code block can be divided. To low priority.
具体的,根据优先级调度输出待发送OAM码块时,可以使用一级调度或者多级调度的方式输出待发送OAM码块,例如,可以采用两级调度的方式,可以在相同优先级的待发送块内进行轮询调度输出,各输出的结果在根据优先级调度按照从高优先级到低优先级的顺序依次输出待发送OAM码块。可以采用一级调度的方式,同时完成优先级调度和轮询调度输出,不同优先级的待发送OAM码块采用优先级调度,相同优先级的待发送OAM码块采用轮询调度。Specifically, when outputting OAM code blocks to be sent according to priority scheduling, one-level scheduling or multi-level scheduling can be used to output the OAM code blocks to be sent. The polling scheduling output is performed in the sending block, and the results of each output are sequentially output to the OAM code blocks to be sent in the order from high priority to low priority according to priority scheduling. The first-level scheduling method can be used to complete priority scheduling and round-robin scheduling output at the same time. OAM code blocks to be sent with different priorities adopt priority scheduling, and OAM code blocks to be sent with the same priority adopt round-robin scheduling.
步骤223、在预设周期内控制所述待发送OAM码块的总输出数量。Step 223: Control the total output quantity of the OAM code blocks to be sent within a preset period.
本申请实施例,通过在相同优先级使用轮询调度,在不同优先级使用优先级调度共同实现缓存的待发送OAM码块的输出,丰富了传输通道的功能,提高了客户业务通道的可靠性。In the embodiment of this application, by using round-robin scheduling at the same priority and priority scheduling at different priorities, the output of the buffered OAM code blocks to be sent is jointly realized, which enriches the functions of the transmission channel and improves the reliability of the customer service channel .
进一步的,在上述申请实施例的基础上,所述在预设周期内控制所述待发送OAM码块的总输出数量,包括:Further, on the basis of the foregoing application embodiment, the controlling the total output quantity of the to-be-sent OAM code blocks within a preset period includes:
预设周期内,控制所述待发送OAM码块采用优先级调度输出的总输出数量。In a preset period, control the total output quantity of the OAM code block to be sent using priority scheduling output.
在本申请实施例中,待发送OAM码块可以通过优先级调度输出和/或轮询调度输出,可以通过在预设周期内控制优先级调度输出的待发送OAM码块的数量实现总数出数量的限制。In the embodiment of the present application, the OAM code blocks to be sent can be output through priority scheduling and/or polling scheduling, and the total number can be achieved by controlling the number of OAM code blocks to be sent in the priority scheduling output within a preset period. limits.
进一步的,在上述申请实施例的基础上,预设周期内,控制低优先级的所述待发送OAM码块采用轮询调度输出的总输出数量。Further, on the basis of the above-mentioned application embodiment, in a preset period, the total output quantity of the low-priority OAM code blocks to be sent is controlled by round-robin scheduling.
在本申请实施例中,待发送OAM码块可以通过优先级调度输出和/或轮询调度输出,可以通过在预设周期内控制轮询调度输出的待发送OAM码块的数量实现总数出数量的限制。示例性的,当各相同优先级内均进行轮询调度时,可以控制各优先级的待发送OAM码块的输出数量,实现控制总输出数量的效果。当在仅在低优先级内进行轮询调度输出时,可以通过限制低优先级的OAM码块的输出数量实现待发送OAM码块的总输出数量的限制。In the embodiment of the present application, the OAM code blocks to be sent can be output through priority scheduling and/or polling scheduling, and the total number can be realized by controlling the number of OAM code blocks to be sent out of the polling scheduling within a preset period. limits. Exemplarily, when polling scheduling is performed within the same priority levels, the output quantity of the OAM code blocks to be sent at each priority level can be controlled, so as to achieve the effect of controlling the total output quantity. When the polling scheduling output is performed only in the low priority level, the total output number of the to-be-transmitted OAM code blocks can be limited by limiting the output number of the low priority OAM code blocks.
示例性的,本申请实施例中OAM信息发送方法可以通过三个模块实现,可 以分别是缓存模块、调度模块和输出控制模块。图15是本申请实施例中提供的一种OAM信息发送方法的示例图;参见图15,本申请实施例中调度模块可以由两级三组调度子模块组成,相同优先级的待发送OAM码块采用轮询调度,不同优先级的待发送OAM码块采用优先调度。Base码块和APS码块的优先级高,这两种的OAM码块可以先进行调度,输出发送的码块。1DM码块、2DMM、2DMR、CV码块、CS码块等其他低优先级码块统一进行调度,输出低优先级组的输出。然后高优先级输出和低优先输出再统一起来按照优先级进行调度输出,高优先级先输出,低优先级后输出。调度输出受输出控制模块控制,在一个周期时间内容只能输出固定数量的OAM块。Exemplarily, the OAM information sending method in the embodiment of the present application can be implemented by three modules, which can be a buffer module, a scheduling module, and an output control module, respectively. FIG. 15 is an example diagram of an OAM information sending method provided in an embodiment of the present application; referring to FIG. 15, the scheduling module in an embodiment of the present application may be composed of two levels and three groups of scheduling sub-modules, and OAM codes to be sent with the same priority Blocks use round-robin scheduling, and OAM code blocks to be sent with different priorities use priority scheduling. The Base code block and the APS code block have a high priority. These two OAM code blocks can be scheduled first, and the transmitted code block is output. Other low-priority code blocks such as 1DM code block, 2DMM, 2DMR, CV code block, and CS code block are uniformly scheduled to output the output of the low-priority group. Then the high-priority output and the low-priority output are unified and scheduled output according to the priority, the high-priority output is first, and the low-priority output is later. The scheduling output is controlled by the output control module, and the content can only output a fixed number of OAM blocks in one cycle time.
在另一种实施例中,OAM信息发送方法可以通过三个模块实现,可以分别是缓存模块、调度模块和输出控制模块。图16是本申请实施例中提供的一种OAM信息发送方法的示例图,调度模块仍可以采用两级三组的调度方式,但是图16与图15示出的方法不同,缓存模块在处理APS缓存时,当事件APS码块出现时,可以删除已经缓存的周期APS码块,可以提高事件APS码块的优先级,提高故障处理效率。In another embodiment, the OAM information sending method can be implemented by three modules, which can be a buffer module, a scheduling module, and an output control module, respectively. FIG. 16 is an example diagram of an OAM information sending method provided in an embodiment of the present application. The scheduling module can still adopt a two-level and three-group scheduling mode, but the method shown in FIG. 16 is different from that shown in FIG. 15. The buffer module is processing APS When buffering, when the event APS code block appears, the cached periodic APS code block can be deleted, which can increase the priority of the event APS code block and improve the efficiency of fault handling.
在一个示例性实时方式中,APS码块可以分为事件APS码块和周期APS码块,OAM信息发送方法可以通过三个模块实现,可以分别是缓存模块、调度模块和输出控制模块。图17是本申请实施例中提供的一种OAM信息发送方法的示例图,参见图17,图17中示出的方法和图16大部分基本相同,只是APS码块采用高低优先级分别缓存方式,事件APS码块可以在高优先级中排队发送,周期APS码块在低优先级中排队发送。当事件APS码块出现时,删掉低优先队列中所有周期APS码块,这样可以保证高、低优先级APS码块的发送顺序保持不变。In an exemplary real-time mode, the APS code block can be divided into an event APS code block and a periodic APS code block. The OAM information transmission method can be implemented by three modules, which can be a buffer module, a scheduling module, and an output control module. FIG. 17 is an example diagram of an OAM information sending method provided in an embodiment of the present application. See FIG. 17. The method shown in FIG. 17 is basically the same as that shown in FIG. 16, except that the APS code blocks are buffered with high and low priority respectively. , Event APS code blocks can be queued for transmission in high priority, and periodic APS code blocks can be queued for transmission in low priority. When the event APS code block appears, delete all periodic APS code blocks in the low priority queue, so as to ensure that the sending order of the high and low priority APS code blocks remains unchanged.
示例性,OAM信息发送方法可以通过三个模块实现,可以分别是缓存模块、调度模块和输出控制模块,调度模块可以采用两级两组的调度方式,前一级别只有一个调度子模块,可以完成对低优先级OAM块的调度,第二级调度子模块 完成base码块、APS块、低优先级码块调度。图18和图15基本相同,只是调度器的结构不同。由于APS码块可以有三种处理方式,APS处理方式1:不区分优先级,全部按照高优先处理;调度方式;APS处理方式2:按照高优先级调度,但事件触发的高优先级APS码块会直接删除待发送的低优先级周期APS码块;APS处理方式3:按照高、低优先级分别排队,但事件触发的高优先级APS码块会直接删除待发送的低优先级周期APS码块排队中码块。三种处理方式,这样当调度器采用两级两组调度方式,和不同的APS码块处理方式组合起来会产生不同的具体形态,如图18、如图19、如图20。图18和图15、如图19和图16、如图20和图17基本相同,只是调度器内部结构不同产生的组合形态。Exemplarily, the OAM information sending method can be implemented by three modules, which can be a buffer module, a scheduling module, and an output control module. The scheduling module can adopt a two-level two-group scheduling method. The previous level has only one scheduling sub-module, which can be completed. For the scheduling of low-priority OAM blocks, the second-level scheduling sub-module completes the scheduling of base code blocks, APS blocks, and low-priority code blocks. Figure 18 and Figure 15 are basically the same, but the structure of the scheduler is different. Since APS code blocks can be processed in three ways, APS processing method 1: does not distinguish priority, all according to high priority processing; scheduling method; APS processing method 2: according to high priority scheduling, but the high priority APS code block triggered by the event Will directly delete the low-priority periodic APS code blocks to be sent; APS processing method 3: queue according to high and low priority, but the high-priority APS code blocks triggered by the event will directly delete the low-priority periodic APS codes to be sent The block is in the queue. There are three processing methods, so when the scheduler adopts two-stage and two-group scheduling methods, combined with different APS code block processing methods, different specific forms will be produced, as shown in Figure 18, Figure 19, and Figure 20. Figure 18 and Figure 15, Figure 19 and Figure 16, Figure 20 and Figure 17, are basically the same, except that the internal structure of the scheduler is different.
进一步的,在上述申请实施例的基础上,调度模块也可以采用一级调度方式,由一级调度器同时完成,由一级调度器同时完成优先级、轮询功能,不同优先级的OAM码块先采用优先级调度,相同优先级的OAM码块采用轮询方式调度,如图21所示。同理,由于APS码块可以具有三种不同的处理方式,OAM信息发送方法可以产生图21、图22和图23所示的三种方式。Further, on the basis of the above application embodiment, the scheduling module can also adopt the first-level scheduling mode, which is completed by the first-level scheduler at the same time, and the first-level scheduler simultaneously completes the priority and polling functions, and OAM codes of different priorities Blocks are scheduled by priority first, and OAM code blocks with the same priority are scheduled by polling, as shown in Figure 21. In the same way, since the APS code block can have three different processing methods, the OAM information transmission method can produce the three methods shown in FIG. 21, FIG. 22, and FIG. 23.
在另一种实时方式中,OAM信息发送方法可以通过三个模块实现,可以分别是缓存模块、调度模块和输出控制模块。图24是本申请实施例中提供的一种OAM信息发送方法的示例图,参见图24,对于高优先的base码块、APS码块,一般不会大量同时突发发送。低优先级的按需OAM码块,如1DM码块、2DMM、2DMR、CV码块、CS码块,有可能同时启用按需,在一个瞬间时间片段内同时需要发送,导致出现突发现象,因此控制模块的本质是控制发送总数量,控制模块可以在后级调度器上控制,也可以直接在低优先级调度器进行控制,只要控制住了低优先级调度的输出,则总输出数量就得到控制。由于APS码块可以存在三种处理方式,相应的,采用两级三个组调度形式的调度模块可以具有三种图24、图25和图26示出的三种方式。同类,采用两级两组方式的调度模块可以存在图27、图28和图29示出的三种方式。In another real-time mode, the OAM information sending method can be implemented by three modules, which can be a buffer module, a scheduling module, and an output control module. FIG. 24 is an example diagram of an OAM information sending method provided in an embodiment of the present application. Referring to FIG. 24, for high-priority base code blocks and APS code blocks, a large number of simultaneous bursts are generally not sent. Low-priority on-demand OAM code blocks, such as 1DM code blocks, 2DMM, 2DMR, CV code blocks, and CS code blocks, may be enabled on-demand at the same time, and need to be sent at the same time in an instantaneous time segment, resulting in emergencies. Therefore, the essence of the control module is to control the total number of transmissions. The control module can be controlled on the subsequent scheduler or directly controlled by the low-priority scheduler. As long as the output of the low-priority scheduling is controlled, the total output number is Get under control. Since the APS code block can have three processing methods, correspondingly, the scheduling module adopting the two-level three-group scheduling form can have the three methods shown in FIG. 24, FIG. 25, and FIG. 26. For the same type, the scheduling module adopting the two-level and two-group mode can have the three modes shown in FIG. 27, FIG. 28, and FIG. 29.
以上是本申请示例性的实施例,可以由缓存模块、调度模块和控制模块三 部分组成,缓存模块中APS码块有3种处理方式,调度模块有三种不同结构,控制模块有2种不同位置,组合起来产生不同的具体形态,这些不同形态都在本申请保护范围内。The above is an exemplary embodiment of this application, which can be composed of three parts: a buffer module, a dispatch module and a control module. There are 3 processing methods for the APS code block in the buffer module, the dispatch module has three different structures, and the control module has 2 different positions. , Combined to produce different specific forms, these different forms are within the scope of protection of this application.
图30是本申请实施例中提供的一种OAM信息发送装置的结构示意图,可执行本申请任意实施例所提供的OAM信息发送方法,具备执行方法相应的功能模块和有益效果。该装置可以由软件和/或硬件实现,具体包括:缓存模块31、调度模块32和控制模块33。FIG. 30 is a schematic structural diagram of an OAM information sending device provided in an embodiment of the present application, which can execute the OAM information sending method provided in any embodiment of the present application, and has corresponding functional modules and beneficial effects for the execution method. The device may be implemented by software and/or hardware, and specifically includes: a cache module 31, a scheduling module 32, and a control module 33.
缓存模块31,用于缓存至少一个种类的待发送OAM码块。The buffer module 31 is used to buffer at least one type of OAM code block to be sent.
调度模块32,用于根据预设调度方式输出各所述待发送OAM码块。The scheduling module 32 is configured to output each OAM code block to be sent according to a preset scheduling mode.
控制模块33,用于在预设周期内控制所述待发送OAM码块的总输出数量。The control module 33 is configured to control the total output quantity of the OAM code blocks to be sent within a preset period.
本申请实施例,通过缓存模块将不同种类的待发送OAM码块缓存,调度模块根据预设调度方式输出待发送OAM码块,控制模块在预设周期内控制待发送OAM码块的总输出数量,实现绑定通道下OAM码块的输出,丰富了通道的业务功能,降低了IDLE块数量对输出OAM码块的限制,提高了待发送OAM码块输出的数量,可增强通道对控制响应的实时性。In this embodiment of the application, different types of OAM code blocks to be sent are buffered through a buffer module, the scheduling module outputs the OAM code blocks to be sent according to a preset scheduling method, and the control module controls the total output quantity of the OAM code blocks to be sent in a preset period. , Realize the output of OAM code block under the bound channel, enrich the service function of the channel, reduce the limitation of the number of IDLE blocks on the output OAM code block, increase the number of OAM code block output to be sent, and enhance the channel's response to control real-time.
进一步的,在上述申请实施例的基础上,缓存模块中的所述待发送OAM码块的种类至少包括基础OAM信息块、APS信息块、1DM码块、2DM码块、2DMR码块、CV码块和CS码块中至少一种。Further, on the basis of the foregoing application embodiment, the types of the OAM code blocks to be sent in the buffer module include at least basic OAM information blocks, APS information blocks, 1DM code blocks, 2DM code blocks, 2DMR code blocks, and CV codes. At least one of a block and a CS code block.
进一步的,在上述申请实施例的基础上,缓存模块31具体用于:Further, on the basis of the above application embodiment, the cache module 31 is specifically configured to:
根据所述种类对应的优先级缓存各所述待发送OAM码块。Buffer each of the OAM code blocks to be sent according to the priority corresponding to the type.
进一步的,在上述申请实施例的基础上,缓存模块31中的所述待发送OAM码块中的APS信息块至少包括事件APS码块和周期APS码块,按照相同高优先级缓存所述事件APS码块和/或所述周期APS码块。Further, on the basis of the foregoing application embodiment, the APS information block in the to-be-sent OAM code block in the buffer module 31 at least includes an event APS code block and a periodic APS code block, and the events are cached according to the same high priority. The APS code block and/or the periodic APS code block.
进一步的,在上述申请实施例的基础上,缓存模块31中的所述待发送OAM 码块中的APS信息块至少包括事件APS码块和周期APS码块,按照相同高优先级缓存所述事件APS码块和/或所述周期APS码块,所述事件APS码块缓存时清除已缓存的周期APS码块。Further, on the basis of the above-mentioned application embodiment, the APS information block in the OAM code block to be sent in the buffer module 31 at least includes an event APS code block and a periodic APS code block, and the event is cached according to the same high priority. For the APS code block and/or the periodic APS code block, the buffered periodic APS code block is cleared when the event APS code block is buffered.
进一步的,在上述申请实施例的基础上,缓存模块31中的所述待发送OAM码块中的APS信息块至少包括事件APS码块和周期APS码块,所述事件APS码块按照高优先级缓存,所述周期APS码块按照低优先级缓存,所述事件APS码块缓存时清除已缓存的周期APS码块。Further, on the basis of the above-mentioned application embodiment, the APS information block in the OAM code block to be sent in the buffer module 31 at least includes an event APS code block and a periodic APS code block, and the event APS code block has a high priority Level buffering, the periodic APS code blocks are buffered according to a low priority, and the buffered periodic APS code blocks are cleared when the event APS code block is buffered.
进一步的,在上述申请实施例的基础上,调度模块32包括:Further, on the basis of the foregoing application embodiment, the scheduling module 32 includes:
第一处理单元,用于先将属于相同优先级的待发送OAM码块采用轮询调度输出;再将输出的不同优先级的待发送OAM码块采用优先级调度输出。The first processing unit is configured to first output the OAM code blocks to be sent that belong to the same priority using round-robin scheduling; and then output the output OAM code blocks of different priorities to be sent using priority scheduling and output.
进一步的,在上述申请实施例的基础上,调度模块32包括:Further, on the basis of the foregoing application embodiment, the scheduling module 32 includes:
第二处理单元,用于先将属于低优先级的待发送OAM码块采用轮询调度输出;再将其余优先级的待发送OAM码块和轮询调度输出的低优先级的待发送OAM码块采用优先级调度输出。The second processing unit is used to first output the low priority OAM code blocks to be sent using polling scheduling; then output the remaining priority OAM code blocks to be sent and the low priority OAM codes to be sent out of the polling scheduling Blocks use priority scheduling output.
进一步的,在上述申请实施例的基础上,调度模块32包括:Further, on the basis of the foregoing application embodiment, the scheduling module 32 includes:
第三处理单元,用于根据各所述发送OAM码块的优先级进行输出,其中,不同优先级的各所述待发送OAM码块采用优先级调度输出,相同优先级的各所述待发送OAM码块采用轮询调度输出。The third processing unit is configured to output according to the priority of each OAM code block to be sent, wherein each of the OAM code blocks to be sent with different priorities is output by priority scheduling, and each of the OAM code blocks to be sent with the same priority is output The OAM code block is output by polling and scheduling.
进一步的,在上述申请实施例的基础上,控制模块33包括:Further, on the basis of the foregoing application embodiment, the control module 33 includes:
第一控制单元,用于预设周期内,控制所述待发送OAM码块采用优先级调度输出的总输出数量。The first control unit is configured to control the total output quantity of the OAM code block to be sent using priority scheduling output within a preset period.
进一步的,在上述申请实施例的基础上,控制模块33包括:Further, on the basis of the foregoing application embodiment, the control module 33 includes:
第二控制单元,用于预设周期内,控制低优先级的所述待发送OAM码块采用轮询调度输出的总输出数量。The second control unit is configured to control the total output quantity of the low-priority OAM code blocks to be sent using the round-robin scheduling output within a preset period.
图31是本申请实施例中提供的一种设备的结构示意图,如图31所示,该设备包括处理器40、存储器41、输入装置42和输出装置43;设备中处理器40的数量可以是一个或多个,图31中以一个处理器40为例;设备处理器40、存储器41、输入装置42和输出装置43可以通过总线或其他方式连接,图31中以通过总线连接为例。FIG. 31 is a schematic structural diagram of a device provided in an embodiment of the present application. As shown in FIG. 31, the device includes a processor 40, a memory 41, an input device 42, and an output device 43; the number of processors 40 in the device may be One or more, one processor 40 is taken as an example in FIG. 31; the device processor 40, the memory 41, the input device 42, and the output device 43 may be connected by a bus or other means. In FIG. 31, a bus connection is taken as an example.
存储器41作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本申请实施例中的OAM信息发送装置对应的模块(缓存模块31、调度模块32和控制模块33)。处理器40通过运行存储在存储器41中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述的OAM信息发送方法。As a computer-readable storage medium, the memory 41 can be used to store software programs, computer-executable programs, and modules, such as the modules corresponding to the OAM information sending device in the embodiment of the present application (the buffer module 31, the scheduling module 32, and the control module 33). ). The processor 40 executes various functional applications and data processing of the device by running the software programs, instructions, and modules stored in the memory 41, that is, realizes the above-mentioned OAM information sending method.
存储器41可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端的使用所创建的数据等。此外,存储器41可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器41可进一步包括相对于处理器40远程设置的存储器,这些远程存储器可以通过网络连接至设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 41 may mainly include a program storage area and a data storage area. The program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of the terminal, and the like. In addition, the memory 41 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some examples, the memory 41 may further include a memory remotely provided with respect to the processor 40, and these remote memories may be connected to the device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
输入装置42可用于接收输入的数字或字符信息,以及产生与设备的用户设置以及功能控制有关的键信号输入。输出装置43可包括显示屏等显示设备。The input device 42 can be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the device. The output device 43 may include a display device such as a display screen.
本申请实施例还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种OAM信息发送方法,该方法包括:An embodiment of the present application also provides a storage medium containing computer-executable instructions, when the computer-executable instructions are executed by a computer processor, are used to execute an OAM information sending method, the method including:
缓存至少一个种类的待发送OAM码块;Buffer at least one type of OAM code block to be sent;
根据预设调度方式输出各所述待发送OAM码块;Output each of the OAM code blocks to be sent according to the preset scheduling mode;
在预设周期内控制所述待发送OAM码块的总输出数量。Control the total output quantity of the OAM code blocks to be sent within a preset period.
当然,本申请实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的方法操作,还可以执行本申请任意实施例所提供的OAM信息发送方法中的相关操作。Of course, a storage medium containing computer-executable instructions provided by an embodiment of the present application is not limited to the method operations described above, and can also execute the OAM information sending method provided in any embodiment of the present application. Related operations.
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本申请可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the above description of the implementation manners, those skilled in the art can clearly understand that this application can be implemented by software and necessary general-purpose hardware, and of course, it can also be implemented by hardware. Based on this understanding, the technical solution of this application essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, Read-Only Memory (ROM), Random Access Memory (RAM), Flash memory (FLASH), hard disk or optical disk, etc., including several instructions to make a computer device (which can be a personal computer, A server, or a network device, etc.) execute the method described in each embodiment of the present application.
值得注意的是,上述OAM信息发送装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可。It is worth noting that, in the above-mentioned embodiment of the OAM information sending device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding function can be realized.
以上所述,仅为本申请的示例性实施例而已,并非用于限定本申请的保护范围。The above are only exemplary embodiments of the present application, and are not used to limit the protection scope of the present application.
本领域内的技术人员应明白,术语用户终端涵盖任何适合类型的无线用户设备,例如移动电话、便携数据处理装置、便携网络浏览器或车载移动台。Those skilled in the art should understand that the term user terminal encompasses any suitable type of wireless user equipment, such as a mobile phone, a portable data processing device, a portable web browser, or a vehicle-mounted mobile station.
一般来说,本申请的多种实施例可以在硬件或专用电路、软件、逻辑或其任何组合中实现。例如,一些方面可以被实现在硬件中,而其它方面可以被实现在可以被控制器、微处理器或其它计算装置执行的固件或软件中,尽管本申请不限于此。In general, the various embodiments of the present application can be implemented in hardware or dedicated circuits, software, logic or any combination thereof. For example, some aspects may be implemented in hardware, while other aspects may be implemented in firmware or software that may be executed by a controller, microprocessor, or other computing device, although the present application is not limited thereto.
本申请的实施例可以通过移动装置的数据处理器执行计算机程序指令来实现,例如在处理器实体中,或者通过硬件,或者通过软件和硬件的组合。计算机程序指令可以是汇编指令、指令集架构(Instruction Set Architecture,ISA)指 令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码。The embodiments of the present application may be implemented by executing computer program instructions by a data processor of a mobile device, for example, in a processor entity, or by hardware, or by a combination of software and hardware. Computer program instructions can be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or written in any combination of one or more programming languages Source code or object code.
本申请附图中的任何逻辑流程的框图可以表示程序步骤,或者可以表示相互连接的逻辑电路、模块和功能,或者可以表示程序步骤与逻辑电路、模块和功能的组合。计算机程序可以存储在存储器上。存储器可以具有任何适合于本地技术环境的类型并且可以使用任何适合的数据存储技术实现,例如但不限于ROM、RAM、光存储器装置和系统(数码多功能光碟(Digital Video Disc,DVD)或光盘(Compact Disk,CD))等。计算机可读介质可以包括非瞬时性存储介质。数据处理器可以是任何适合于本地技术环境的类型,例如但不限于通用计算机、专用计算机、微处理器、数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑器件(Field-Programmable Gate Array,FGPA)以及基于多核处理器架构的处理器。The block diagram of any logic flow in the drawings of the present application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. The computer program can be stored on the memory. The memory can be of any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to ROM, RAM, optical storage devices and systems (Digital Video Disc, DVD) or optical disk ( Compact Disk, CD)) etc. Computer-readable media may include non-transitory storage media. The data processor can be any type suitable for the local technical environment, such as but not limited to general-purpose computers, special-purpose computers, microprocessors, digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (ASICs) ), programmable logic devices (Field-Programmable Gate Array, FGPA), and processors based on multi-core processor architecture.
Claims (14)
- 一种操作管理维护OAM信息发送方法,包括:A method for sending operation, management and maintenance OAM information, including:缓存至少一个种类的待发送OAM码块;Buffer at least one type of OAM code block to be sent;根据预设调度方式输出所述至少一个种类的待发送OAM码块;Output the at least one type of OAM code block to be sent according to the preset scheduling mode;在预设周期内控制所述待发送OAM码块的总输出数量。Control the total output quantity of the OAM code blocks to be sent within a preset period.
- 根据权利要求1所述的方法,其中,所述待发送OAM码块的种类包括基础OAM信息块、自动保护倒换APS信息块、单方向延迟测量1DM码块、双向延迟测量2DM码块、双向延迟测量的应答2DMR码块、链接校验CV码块和客户类型CS码块中的至少一种。The method according to claim 1, wherein the types of OAM code blocks to be sent include basic OAM information blocks, automatic protection switching APS information blocks, one-way delay measurement 1DM code blocks, two-way delay measurement 2DM code blocks, two-way delay At least one of the measured response 2DMR code block, the link check CV code block, and the client type CS code block.
- 根据权利要求1所述的方法,其中,所述缓存至少一个种类的待发送OAM码块,包括:The method according to claim 1, wherein said buffering at least one type of OAM code blocks to be sent comprises:根据所述待发送OAM码块的种类对应的优先级缓存所述至少一个待发送OAM码块,其中所述待发送OAM码块的种类对应的优先级包括高优先级、中优先级和低优先级中的至少之一。The at least one OAM code block to be sent is cached according to the priority corresponding to the type of the OAM code block to be sent, wherein the priority corresponding to the type of the OAM code block to be sent includes high priority, medium priority, and low priority At least one of the levels.
- 根据权利要求3所述的方法,其中,所述根据所述待发送OAM码块的种类对应的优先级缓存至少一个种类的待发送OAM码块,包括:The method according to claim 3, wherein the buffering of at least one type of OAM code block to be sent according to the priority corresponding to the type of the OAM code block to be sent comprises:所述待发送OAM码块中的APS信息块至少包括事件APS码块和周期APS码块,按照相同的高优先级缓存所述事件APS码块和所述周期APS码块。The APS information block in the OAM code block to be sent includes at least an event APS code block and a periodic APS code block, and the event APS code block and the periodic APS code block are cached according to the same high priority.
- 根据权利要求3所述的方法,其中,所述根据所述待发送OAM码块的种类对应的优先级缓存至少一个种类的待发送OAM码块,包括:The method according to claim 3, wherein the buffering of at least one type of OAM code block to be sent according to the priority corresponding to the type of the OAM code block to be sent comprises:所述待发送OAM码块中的APS信息块至少包括事件APS码块和周期APS码块,按照相同的高优先级缓存所述事件APS码块和所述周期APS码块,所述事件APS码块缓存时清除已缓存的周期APS码块。The APS information block in the OAM code block to be sent includes at least an event APS code block and a periodic APS code block, the event APS code block and the periodic APS code block are cached according to the same high priority, and the event APS code Clear the cached periodic APS code blocks during block buffering.
- 根据权利要求3所述的方法,其中,所述根据所述待发送OAM码块的种类对应的优先级缓存至少一个种类的待发送OAM码块,包括:The method according to claim 3, wherein the buffering of at least one type of OAM code block to be sent according to the priority corresponding to the type of the OAM code block to be sent comprises:所述待发送OAM码块中的APS信息块至少包括事件APS码块和周期APS码块,所述事件APS码块按照高优先级缓存,所述周期APS码块按照低优先级 缓存,所述事件APS码块缓存时清除已缓存的周期APS码块。The APS information block in the OAM code block to be sent includes at least an event APS code block and a periodic APS code block, the event APS code block is cached according to a high priority, and the periodic APS code block is cached according to a low priority. When the event APS code block is cached, the cached periodic APS code block is cleared.
- 根据权利要求1所述的方法,其中,所述根据预设调度方式输出所述至少一个待发送OAM码块,包括:The method according to claim 1, wherein said outputting said at least one OAM code block to be transmitted according to a preset scheduling mode comprises:先将属于相同优先级的待发送OAM码块采用轮询调度输出;First, the OAM code blocks to be sent that belong to the same priority are output by round-robin scheduling;再将输出的不同优先级的待发送OAM码块采用优先级调度输出。Then, the output OAM code blocks with different priorities to be sent are output by priority scheduling.
- 根据权利要求1所述的方法,其中,所述根据预设调度方式输出所述至少一个待发送OAM码块,包括:The method according to claim 1, wherein said outputting said at least one OAM code block to be transmitted according to a preset scheduling mode comprises:先将属于低优先级的待发送OAM码块采用轮询调度输出;First, the low priority OAM code blocks to be sent are output using round-robin scheduling;再将除低优先级的待发送OAM码块之外的待发送OAM码块和轮询调度输出的低优先级的待发送OAM码块采用优先级调度输出。Then the OAM code blocks to be sent other than the low priority OAM code blocks to be sent and the low priority OAM code blocks to be sent output by the round-robin scheduling are output by priority scheduling.
- 根据权利要求1所述的方法,其中,所述根据预设调度方式输出所述至少一个待发送OAM码块,包括:The method according to claim 1, wherein said outputting said at least one OAM code block to be transmitted according to a preset scheduling mode comprises:根据所述至少一个待发送OAM码块的优先级进行输出,其中,不同优先级的所述待发送OAM码块采用优先级调度输出,相同优先级的所述待发送OAM码块采用轮询调度输出。Output according to the priority of the at least one OAM code block to be sent, wherein the OAM code blocks to be sent with different priorities are output by priority scheduling, and the OAM code blocks to be sent with the same priority are output by round-robin scheduling. Output.
- 根据权利要求1所述的方法,其中,所述在预设周期内控制所述待发送OAM码块的总输出数量,包括:The method according to claim 1, wherein the controlling the total output quantity of the to-be-sent OAM code blocks in a preset period comprises:预设周期内,控制所述待发送OAM码块采用优先级调度输出的总输出数量。In a preset period, control the total output quantity of the OAM code block to be sent using priority scheduling output.
- 根据权利要求1所述的方法,其中,所述在预设周期内控制所述待发送OAM码块的总输出数量,包括:The method according to claim 1, wherein the controlling the total output quantity of the to-be-sent OAM code blocks in a preset period comprises:预设周期内,控制低优先级的所述待发送OAM码块采用轮询调度输出的总输出数量。In a preset period, control the total output quantity of the low-priority OAM code blocks to be sent using the round-robin scheduling output.
- 一种OAM信息发送装置,包括:An OAM information sending device, including:缓存模块,设置为缓存至少一个种类的待发送操作管理维护OAM码块;The cache module is configured to cache at least one type of OAM code block to be sent for operation management and maintenance;调度模块,设置为根据预设调度方式输出所述至少一个待发送OAM码块;A scheduling module, configured to output the at least one to-be-transmitted OAM code block according to a preset scheduling mode;控制模块,设置为在预设周期内控制所述待发送OAM码块的总输出数量。The control module is configured to control the total output quantity of the OAM code blocks to be sent within a preset period.
- 一种设备,包括:A device that includes:至少一个处理器;At least one processor;存储器,设置为存储至少一个程序;Memory, set to store at least one program;当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1-11中任一所述的OAM信息发送方法。When the at least one program is executed by the at least one processor, the at least one processor implements the OAM information sending method according to any one of claims 1-11.
- 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时,实现如权利要求1-11中任一所述的OAM信息发送方法。A computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the OAM information sending method according to any one of claims 1-11 is realized.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010214058.1 | 2020-03-24 | ||
CN202010214058.1A CN112511919A (en) | 2020-03-24 | 2020-03-24 | OAM information sending method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021190310A1 true WO2021190310A1 (en) | 2021-09-30 |
Family
ID=74953255
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/080002 WO2021190310A1 (en) | 2020-03-24 | 2021-03-10 | Method, apparatus and device for sending oam information, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112511919A (en) |
WO (1) | WO2021190310A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115314179A (en) * | 2022-08-05 | 2022-11-08 | 烽火通信科技股份有限公司 | MTNP OAM message sending method and device |
WO2023193788A1 (en) * | 2022-04-07 | 2023-10-12 | 中国移动通信有限公司研究院 | Method for receiving oam code block, and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227450A (en) * | 2007-01-16 | 2008-07-23 | 华为技术有限公司 | Equipment, system and method for transmitting spending information |
WO2017070851A1 (en) * | 2015-10-27 | 2017-05-04 | Zte Corporation | Channelization for flexible ethernet |
CN108123813A (en) * | 2016-11-28 | 2018-06-05 | 华为技术有限公司 | The transmission method and device of Operations, Administration and Maintenance OAM data |
CN109347648A (en) * | 2017-09-21 | 2019-02-15 | 中国移动通信有限公司研究院 | OAM message transmission method, transmission device and storage medium |
-
2020
- 2020-03-24 CN CN202010214058.1A patent/CN112511919A/en active Pending
-
2021
- 2021-03-10 WO PCT/CN2021/080002 patent/WO2021190310A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227450A (en) * | 2007-01-16 | 2008-07-23 | 华为技术有限公司 | Equipment, system and method for transmitting spending information |
WO2017070851A1 (en) * | 2015-10-27 | 2017-05-04 | Zte Corporation | Channelization for flexible ethernet |
CN108123813A (en) * | 2016-11-28 | 2018-06-05 | 华为技术有限公司 | The transmission method and device of Operations, Administration and Maintenance OAM data |
CN109347648A (en) * | 2017-09-21 | 2019-02-15 | 中国移动通信有限公司研究院 | OAM message transmission method, transmission device and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023193788A1 (en) * | 2022-04-07 | 2023-10-12 | 中国移动通信有限公司研究院 | Method for receiving oam code block, and device |
CN115314179A (en) * | 2022-08-05 | 2022-11-08 | 烽火通信科技股份有限公司 | MTNP OAM message sending method and device |
CN115314179B (en) * | 2022-08-05 | 2023-06-09 | 烽火通信科技股份有限公司 | MTNP OAM message sending method and device |
Also Published As
Publication number | Publication date |
---|---|
CN112511919A (en) | 2021-03-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112134655B (en) | OAM message transmission method, transmission equipment and storage medium | |
CN110798415B (en) | Service transmission method, equipment and computer storage medium | |
WO2021190310A1 (en) | Method, apparatus and device for sending oam information, and storage medium | |
CN113728596A (en) | System and method for facilitating efficient management of idempotent operations in a Network Interface Controller (NIC) | |
US6480897B1 (en) | Optimistic transmission flow control including receiver data discards upon inadequate buffering condition | |
WO2019033857A1 (en) | Packet control method and network device | |
US9641407B2 (en) | Exporting real time network traffic latency and buffer occupancy | |
US12034653B2 (en) | Packet processing method and related devices | |
CN101567855B (en) | Distributed packet switching system and distributed packet switching method | |
WO2011120467A2 (en) | Message order-preserving processing method, order-preserving coprocessor and network equipment | |
JP5738324B2 (en) | Transmission device, communication device, communication system, and transmission method | |
WO2013189364A1 (en) | Message processing method and device | |
US20080089351A1 (en) | Flow control in communication networks | |
JP2003018186A (en) | Communications equipment and communication control method | |
US20080205287A1 (en) | Apparatus and method for controlling the transfer of communication traffic to multiple links of a multi-link system | |
CN113542148B (en) | Message aggregation method and device, network card and readable storage medium | |
CN113079074A (en) | Protocol stack communication method, device and storage medium based on CAN bus | |
CN115086238A (en) | TSN network port output scheduling device | |
WO2011074052A1 (en) | Communication device, statistical information gathering control device, and statistical information gathering control method | |
WO2022174444A1 (en) | Data stream transmission method and apparatus, and network device | |
CN105763375A (en) | Data packet transmission method, receiving method and microwave station | |
CN109347760B (en) | Data sending method and device | |
CN102594670B (en) | Multiport multi-flow scheduling method, device and equipment | |
WO2011137678A1 (en) | Method and system for processing multi-user parallel signaling tracking in client | |
US9621487B2 (en) | Method and apparatus for protection switching based on memory control in packet transport system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21776548 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 01/03/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21776548 Country of ref document: EP Kind code of ref document: A1 |