WO2024002146A1 - 一种配置时隙的方法、装置和系统 - Google Patents

一种配置时隙的方法、装置和系统 Download PDF

Info

Publication number
WO2024002146A1
WO2024002146A1 PCT/CN2023/103121 CN2023103121W WO2024002146A1 WO 2024002146 A1 WO2024002146 A1 WO 2024002146A1 CN 2023103121 W CN2023103121 W CN 2023103121W WO 2024002146 A1 WO2024002146 A1 WO 2024002146A1
Authority
WO
WIPO (PCT)
Prior art keywords
time slot
data frame
information
bandwidth
payload area
Prior art date
Application number
PCT/CN2023/103121
Other languages
English (en)
French (fr)
Inventor
孙亮
李江
苏伟
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024002146A1 publication Critical patent/WO2024002146A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0086Network resource allocation, dimensioning or optimisation

Definitions

  • the present application relates to the field of optical communications, and more specifically, to a method, device and system for configuring time slots.
  • Optical Service Unit as a high-quality dedicated line bearer that can be applied to different bandwidth levels, takes the Optical Transport Network (OTN) as the basic core and has flexible bandwidth pipes for efficient bearer of metropolitan area networks. It can realize efficient bearing of 10Mbit/s ⁇ 100Gbit/s level granularity services.
  • This application provides a method, device and system for configuring time slots, which can improve the efficiency of configuring time slots without additional overhead and support efficient and reliable path establishment, deletion and bandwidth adjustment.
  • embodiments of the present application provide a method for configuring time slots.
  • the method may be executed by the first device or by a component of the first device (such as a chip or chip system, etc.), which is not limited in this application.
  • the method includes: configuring a first time slot for a second data frame in the first data frame, and the second data frame is used to carry service data.
  • the first time slot information is sent to the second device through the payload area of the second time slot of the first data frame, and the first time slot information is used to instruct the second device to configure the first time slot, wherein,
  • the payload area of the second time slot does not carry the service data when carrying the first time slot information.
  • the first device selects a time slot that does not carry any service data to carry the first time slot information. Therefore, for the first device, it does not need to reconfigure the resources for transmitting the first time slot information. Instead, it reuses the time slots that do not carry service data to transmit the time slot information to the opposite end device, thereby saving system transmission time.
  • the purpose of the resource is not limited to the resource.
  • the first time slot and the second time slot are the same time slot.
  • the second time slot is a specific time slot in the first data frame.
  • the receiving end device of the time slot information only parses the time slot information in the payload area of the fixed time slot, and configures the corresponding time slot according to the instructions.
  • Using fixed time slots can further reduce the efficiency of time slot configuration by the receiving end device.
  • the second data frame is configured in the first data frame.
  • the first time slot includes: adding the first time slot for the second data frame in the first data frame; or deleting the first time slot for the second data frame in the first data frame. First time slot.
  • adding a first time slot to the second data frame in the first data frame can be understood as creating a first time slot in the first data frame.
  • the first slot of the second data frame when a second data frame already exists in the first data frame, adding a first time slot for the second data frame in the first data frame can be understood as increasing the bandwidth of the second data frame.
  • deleting the first time slot for the second data frame in the first data frame can be understood as deleting the second data in the first data frame.
  • the time slots present in the second data frame also include time slots other than the first time slot, deleting the first time slot for the second data frame in the first data frame can be understood to reduce the bandwidth of the second data frame.
  • the payload area of the second time slot includes a first indication field, the first indication field is used to indicate that the first time slot is configured as Add or delete.
  • the payload area of the second time slot further includes an error correction code, and the error correction code is used to correct transmission errors of the first indication field.
  • the first indication field is used to indicate the added or deleted time slot, and the error correction code is used to error-correct the first indication field, which can ensure the reliability when configuring the time slot and improve the stability of the system.
  • the payload area of the second time slot includes 16 bytes, and the first indication field is 1 byte.
  • the method further includes: receiving second time slot information from the second device, the second time slot information in the payload area is used to indicate the The first device configures the third time slot.
  • the second time slot information is carried in the payload area of the fourth time slot of the first data frame, and the payload area of the fourth time slot does not carry the second time slot information when carrying it. the business data.
  • the third time slot and the fourth time slot are the same time slot.
  • the payload area of the fourth time slot includes a second indication field, the second indication field is used to indicate that the third time slot is configured as Add or delete.
  • the payload area of the fourth time slot further includes an error correction code, and the error correction code is used to correct transmission errors of the second indication field.
  • the payload area of the fourth time slot includes 16 bytes, and the second indication field is 1 byte.
  • the method further includes: receiving configuration information, the configuration information being used to indicate that the second data frame is configured in the first data frame. Describe the first time slot.
  • configuring the first time slot for the second data frame in the first data frame includes: configuring the first time slot for the second data frame in the first data frame according to the configuration information. .
  • the Configuring the first time slot in the second data frame includes: adding the first time slot to the second data frame as a receiving time slot in the first data frame.
  • the method further includes: receiving first bandwidth information from the second device, the first bandwidth information being used to indicate a transmission bandwidth of the second device.
  • this application can quickly and reliably complete the transmission by adding the receiving time slot of the sending device to the already created second data frame and using the first time slot information to instruct the receiving device to increase the sending time slot of the receiving end.
  • the method further includes: receiving second time slot information from the second device, the second time slot information in the payload area is used to indicate the The first device adds a third time slot.
  • the second time slot information is carried in the payload area of the fourth time slot of the first data frame, and the payload area of the fourth time slot does not carry the second time slot information when carrying it. the business data.
  • the third time slot is added to the second data frame as a sending time slot.
  • Send second bandwidth information to the second device where the second bandwidth information is used to indicate the sending bandwidth of the first device.
  • the method further includes: generating alarm start information when the second bandwidth is different from the transmission bandwidth of the second device. Report the alarm start information to the network management device, where the alarm start information is used to indicate the alarm start.
  • the method further includes: generating alarm end information when the second bandwidth is the same as the transmission bandwidth of the second device. Report the alarm end information to the network management device, where the alarm end information is used to indicate the end of the alarm.
  • the first device since the first device increases the receiving bandwidth and the second device increases the sending bandwidth, it is not synchronized, that is, there is a time difference between the first device increasing the receiving bandwidth and the second device increasing the complete sending bandwidth. At that time, because the second device has not completed the increase in sending bandwidth, its sending bandwidth is inconsistent with the second bandwidth. Therefore, the first device will report the alarm start information to the network management device after increasing the receiving bandwidth until the second device will After the sending bandwidth is increased to the second bandwidth, alarm end information is reported to indicate the end of the alarm.
  • the network management device can help the network management device monitor the adjustment of the device bandwidth. For example, when the first device reports alarm end information to the network management device within a preset time range, it may mean that the first device and the second device have completed the bandwidth adjustment normally. When for a long period of time, for example, it may exceed a preset time range, the first device has been sending alarm start information to the network management device, that is, the network management device has not received the alarm message sent by the first device within this time period. When the alarm ends, the network management device can infer that the bandwidth adjustment process of the second device is abnormal, and thus perform maintenance and other operations on the second device.
  • the first device may periodically report alarm start information to the network management device, which is not limited in this application.
  • the Configuring the first time slot in the second data frame includes deleting the transmission time slot corresponding to the first time slot for the second data frame in the first data frame.
  • the method further includes: sending first bandwidth information to the second device, where the first bandwidth information is used to indicate the sending bandwidth of the first device.
  • this application reduces the bandwidth of the second data frame by deleting the sending time slot of the sending device in the already created second data frame and instructing the receiving device to delete the corresponding receiving time slot based on the first time slot information.
  • the purpose is to achieve lossless reduction of bandwidth quickly and reliably.
  • the method further includes: receiving second time slot information from the second device.
  • the second time slot information is carried in the payload area of the fourth time slot of the first data frame, and the second time slot information is used to instruct the first device to delete the third time slot.
  • the payload area of the fourth time slot does not carry the service data when carrying the second time slot information.
  • Second bandwidth information is received from the second device, and the second bandwidth information is used to indicate the transmission bandwidth of the second device.
  • the method further includes: generating alarm start information when the second bandwidth is different from the transmission bandwidth of the second device. Report the alarm start information to the network management device, where the alarm start information is used to indicate the alarm start.
  • the method further includes: generating alarm end information when the second bandwidth is the same as the transmission bandwidth of the second device. Report the alarm end information to the network management device, where the alarm end information is used to indicate the end of the alarm.
  • the alarm information is used to realize the monitoring of bandwidth adjustment by the network management equipment.
  • This beneficial effect please refer to the description of this solution in the above bandwidth increase, which will not be described again here.
  • the method further includes: receiving bandwidth indication information, the bandwidth indication information being used to indicate the second bandwidth.
  • embodiments of the present application provide a method for configuring time slots.
  • the method may be executed by the second device or by a component of the second device (such as a chip or a chip system, etc.), which is not limited in this application.
  • the method includes: receiving first time slot information, the first time slot information is carried in a payload area of a second time slot of a first data frame, and the first time slot information is used to indicate the second device
  • the first time slot is configured, wherein the payload area of the second time slot does not carry the service data when carrying the first time slot information.
  • the first time slot is configured for the second data frame in the first data frame according to the first time slot information.
  • the method further includes: the second device configures a third time slot for the second data frame in the first data frame, and the second data frame Used to carry business data. Send second time slot information to the first device.
  • the second time slot information is carried in the payload area of the fourth time slot of the first data frame, and the second time slot information is used to instruct the first device to configure a third time slot.
  • the payload area of the fourth time slot does not carry the service data when carrying the second time slot information.
  • the method further includes: receiving configuration information, the configuration information being used to indicate that all configuration parameters for the second data frame are configured in the first data frame. Describe the third time slot.
  • configuring the second data frame in the first data frame includes: configuring the third time slot for the second data frame in the first data frame according to the configuration information.
  • the first time slot information is used in the Configuring the first time slot for the second data frame in the first data frame includes: the second device configures the first time slot for the second data in the first data frame according to the first time slot information.
  • the first time slot is added to the frame as a sending time slot.
  • the method further includes: sending first bandwidth information to the first device, where the first bandwidth information is used to indicate the sending bandwidth of the second device.
  • the method further includes: adding the third time slot to the second data frame in the first data frame as a receiving time slot.
  • Send second time slot information to the first device the second time slot information is carried in the payload area of the fourth time slot of the first data frame, and the second time slot information is used to indicate the third time slot.
  • a device adds a third time slot, wherein the payload area of the fourth time slot does not carry the service data when carrying the second time slot information.
  • Second bandwidth information is received from the first device, and the second bandwidth information is used to indicate a transmission bandwidth of the first device. The transmission bandwidth of the first device is determined according to the second bandwidth information.
  • the method further includes: generating alarm start information when the second bandwidth is different from the transmission bandwidth of the first device. Report the alarm start information to the network management device, where the alarm start information is used to indicate the alarm start.
  • the method further includes: generating alarm end information when the second bandwidth is the same as the transmission bandwidth of the first device. Report the alarm end information to the network management device, where the alarm end information is used to indicate the end of the alarm.
  • the first time slot information is used in the Configuring the first time slot for the second data frame in the first data frame includes: the second device configures the first time slot for the second data in the first data frame according to the first time slot information.
  • the frame deletes the receiving time slot corresponding to the first time slot.
  • the method further includes: receiving first bandwidth information from the first device, the first bandwidth information being used to indicate a transmission bandwidth of the first device.
  • the method further includes: deleting the transmission time slot corresponding to the third time slot for the second data frame in the first data frame.
  • the second time slot information is carried in the payload area of the fourth time slot of the first data frame, and the second time slot information is used to instruct the first device to delete the reception time corresponding to the third time slot. gap.
  • the payload area of the fourth time slot does not carry the service data when carrying the second time slot information.
  • the method further includes: generating alarm start information when the second bandwidth is different from the transmission bandwidth of the first device. Report the alarm start information to the network management device, where the alarm start information is used to indicate the alarm start.
  • the method further includes: generating alarm end information when the second bandwidth is the same as the transmission bandwidth of the first device. Report the alarm end information to the network management device, where the alarm end information is used to indicate the end of the alarm.
  • the method further includes: receiving bandwidth indication information, the bandwidth indication information being used to indicate the second bandwidth.
  • the definition of the payload area of the second time slot and the payload area of the fourth time slot in the second aspect may refer to the implementation in the above-mentioned first aspect.
  • inventions of the present application provide a system for configuring time slots.
  • the system includes a first device and a second device, wherein the first device is used to perform the method in the above-mentioned first aspect or any of the possible implementations, and the second device is used to perform the method in the above-mentioned second aspect or wherein method in any possible implementation.
  • embodiments of the present application provide a device for configuring time slots.
  • the device is used to perform the method provided in the first aspect or to perform the method provided in the second aspect.
  • the device for configuring the time slot may include a unit and/or module for executing the method provided by the first aspect or any of the above implementations of the first aspect, or the device for configuring the time slot may include a unit for Units and/or modules that perform the method provided by the second aspect or any of the above implementations of the second aspect, such as a processing module and a transceiver module.
  • the device for configuring the time slot may include a unit and/or module for executing the method provided by the first aspect or any of the above implementations of the first aspect, and is a sending end device.
  • the transceiver module can be a transceiver, or an input/output interface.
  • the processing module may be at least one processor.
  • the transceiver may be a transceiver circuit.
  • the input/output interface may be an input/output circuit.
  • the device for configuring time slots is a chip, chip system or circuit in the sending end device.
  • the transceiver module may be an input/output interface, interface circuit, output circuit, input circuit, pin or related circuit on the chip, chip system or circuit.
  • the processing module may be at least one processor, processing circuit or logic circuit, etc.
  • the device for configuring the time slot may include a unit and/or module for performing the method provided by the second aspect or any of the above implementations of the second aspect, and is a receiving end device.
  • the transceiver can be a transceiver, or an input/output interface.
  • the processing module may be at least one processor.
  • the transceiver may be a transceiver circuit.
  • the input/output interface may be an input/output circuit.
  • the device for configuring time slots is a chip, chip system or circuit in the receiving end device.
  • the transceiver module may be an input/output interface, interface circuit, output circuit, input circuit, pin or related circuit on the chip, chip system or circuit.
  • the processing module may be at least one processor, processing circuit or logic circuit, etc.
  • embodiments of the present application provide a processor for executing the methods provided in the above aspects.
  • processor output, reception, input and other operations can be understood as processor output, reception, input and other operations.
  • transmitting and receiving operations performed by the radio frequency circuit and the antenna, which is not limited in this application.
  • embodiments of the present application provide a computer-readable storage medium.
  • the computer-readable storage medium stores program code for device execution, and the program code includes the method provided by any one of the implementations of the first aspect or the second aspect.
  • embodiments of the present application provide a computer program product containing instructions.
  • the computer program product When the computer program product is run on the computer, the computer is caused to execute the method provided by any implementation of the first aspect or the second aspect.
  • embodiments of the present application provide a chip.
  • the chip includes a processor and a communication interface.
  • the processor reads instructions stored in the memory through the communication interface and executes the method provided by any implementation of the first aspect or the second aspect.
  • the chip also includes a memory, in which computer programs or instructions are stored.
  • the processor is used to execute the computer programs or instructions stored in the memory.
  • the processor is used to execute The method provided by any implementation of the first aspect or the second aspect.
  • embodiments of the present application provide a communication system, including at least two devices for configuring time slots described in the fourth aspect.
  • Figure 1 is a schematic diagram of an OTN optical network system applicable to the embodiment of the present application.
  • Figure 2 is a schematic diagram of a possible network device hardware structure.
  • Figure 3 is a schematic flowchart of a method 300 for configuring time slots provided by an embodiment of the present application.
  • Figure 4 shows first time slot information included in the payload area of a second time slot provided by an embodiment of the present application.
  • Figure 5 shows first time slot information included in the payload area of another second time slot provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a payload area of a second time slot with a length of 16 bytes provided by an embodiment of the present application.
  • FIG. 7 is a code representation diagram used to indicate a bearer object in the second time slot payload area provided by an embodiment of the present application.
  • Figure 8 is a schematic structural diagram of a 65-byte time slot block provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of an optical transport network OTN frame corresponding to FIG. 8 provided by an embodiment of the present application.
  • Figure 10 is a schematic flowchart of a method 1000 for lossless bandwidth increase provided by an embodiment of the present application.
  • Figure 11 is a schematic flowchart of a lossless bandwidth reduction method 1100 provided by an embodiment of the present application.
  • Figure 12 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • words such as “exemplary” or “for example” are used to express examples, illustrations or illustrations, and embodiments or designs described as “exemplary” or “for example” should not are to be construed as preferred or advantageous over other embodiments or designs.
  • the use of words such as “exemplary” or “such as” is intended to present related concepts in a concrete manner that is easier to understand.
  • service data refers to services that can be carried by the optical transmission network.
  • it can be Ethernet services, packet services, wireless backhaul services, etc.
  • Business data can also be called business signals, customer data or customer business data. It should be understood that the type of service data is not limited in the embodiment of this application.
  • for instructions includes direct instructions and indirect instructions.
  • information when describing certain information as indicating A, it includes that the information directly indicates A or indirectly indicates A, but it does not mean that the information must contain A.
  • OTN optical transport network
  • MTN metropolitan area Metro transport network
  • the device may also be called a node or node device, and the sending device may be called a sending node, sending end or source node.
  • the same receiving device may be called a receiving device, receiving end or sink node.
  • Intermediate devices can be called intermediate nodes.
  • FIG 1 is a schematic diagram of an OTN optical network system applicable to the embodiment of the present application.
  • an OTN optical network is composed of multiple devices connected through optical fibers, and can be formed into different topology types such as linear, ring, and mesh according to specific needs.
  • OTN 100 shown in Figure 1 eight OTN devices 101 are included, namely devices A-H.
  • 102 indicates the optical fiber, used to connect two devices
  • 103 indicates the customer service interface, used to receive or send customer service data.
  • OTN 100 is used to transmit business data for customer devices 1-3.
  • Customer equipment is connected to OTN equipment through customer service interfaces.
  • client devices 1-3 are connected to OTN devices A, H and F respectively.
  • client device 1 when client device 1 needs to communicate with client device 3, it can send service data through OTN devices A-F.
  • OTN device A can be the sending device
  • OTN devices B-E can be intermediate devices
  • OTN device F Can be a receiving device.
  • OTN equipment is divided into optical layer equipment, electrical layer equipment and optical and electrical hybrid equipment.
  • Optical layer equipment refers to equipment that can process optical layer signals, such as: optical amplifier (optical amplifier, OA), optical add-drop multiplexer (optical add-drop multiplexer, OADM).
  • OA also known as optical line amplifier (OLA)
  • OLA optical line amplifier
  • Electrical layer equipment refers to equipment that can process electrical layer signals, such as equipment that can process OTN signals.
  • Optoelectronic hybrid equipment refers to equipment that has the ability to process optical layer signals and electrical layer signals. It should be noted that, depending on specific integration needs, an OTN device can integrate a variety of different functions. The technical solution provided in this application is suitable for OTN equipment containing electrical layer functions of different forms and integration levels.
  • the data frame structure used by the OTN device in the embodiment of this application is an OTN frame, which is used to carry various business data and provide rich management and monitoring functions.
  • the OTN frame can be an optical data unit frame (Optical Data Unit k, ODUk), ODUCn, ODUflex, optical channel transmission unit k (optical transport unit k, OTUk), OTUCn, or a flexible OTN (FlexO) frame, etc.
  • the difference between an ODU frame and an OTU frame is that an OTU frame includes an ODU frame and an OTU overhead.
  • ODU frame refers to any one of ODUk, ODUCn or ODUflex
  • OTU frame refers to any one of OTUk, OTUCn or FlexO.
  • FIG. 2 is a schematic diagram of a possible network device hardware structure.
  • the OTN device 200 includes a tributary board 201, a cross-connect board 202, a line board 203, an optical layer processing board (not shown in the figure), and a system control and communication board 204.
  • network equipment may contain different types and numbers of boards.
  • a network device serving as a core node does not have a tributary board 201 .
  • a network device serving as an edge node has multiple tributary boards 201 or no optical cross-connect board 202 .
  • network equipment that only supports electrical layer functions may not have optical layer processing boards.
  • the branch board 201, the cross-connect board 202 and the circuit board 203 are used to process the electrical layer signals of the OTN.
  • the tributary board 201 is used to realize the reception and transmission of various customer services, such as SDH services, packet services, Ethernet services and fronthaul services.
  • the tributary board 201 can be divided into a client-side optical transceiver module and a signal processor.
  • the client-side optical transceiver module can also be called an optical transceiver and is used to receive and/or send service data.
  • the signal processor is used to implement mapping and demapping of business data to data frames.
  • the cross-connect board 202 is used to realize the exchange of data frames and complete the exchange of one or more types of data frames.
  • the circuit board 203 mainly implements the processing of line-side data frames.
  • the circuit board 203 can be divided into a line-side optical module and a signal processor.
  • the line side optical module can be called an optical transceiver and is used to receive and/or send data frames.
  • the signal processor is used to implement multiplexing and demultiplexing, or mapping and demapping processing of data frames on the line side.
  • the system control and communication single board 204 is used to implement system control. Specifically, information can be collected from different boards, or control instructions can be sent to the corresponding boards.
  • a specific component such as a signal processor
  • the optical service unit is mainly used to carry customer services at a rate of 10M to 100Gbps.
  • Carrying low-speed small-granularity service signals through OSU, and then mapping the OSU into ODUk/ODUflex can reduce the service transmission delay, increase the number of ports carrying services, and solve the problem of the original OTN technology.
  • this application proposes a method for configuring time slots.
  • the device that receives the time slot information is instructed to perform corresponding time slot configuration.
  • the overhead ratio is increased, it can support the rapid allocation of a large number of time slots.
  • OSU lossless bandwidth adjustment with high reliability can be achieved.
  • Figure 3 shows a schematic flow chart of a method 300 for configuring time slots provided by an embodiment of the present application.
  • the first device may be an OTN device, or may be executed by a component of the OTN device (such as a chip or a chip system, etc.).
  • the second device may be an OTN device, or may be executed by a component of the OTN device (such as a chip or a chip system, etc.).
  • the method includes the following steps.
  • the first device configures a first time slot for the second data frame in the first data frame.
  • the second data frame is used to carry service data.
  • the first device configuring the first time slot for the second data frame in the first data frame can be understood as adding or deleting the first time slot for the second data frame in the first data frame.
  • time slot Specifically, when the second data frame does not exist in the first data frame, adding the first time slot to the second data frame in the first data frame can be understood as creating the first time slot of the second data frame in the first data frame. time slot. When a second data frame already exists in the first data frame, adding a first time slot for the second data frame in the first data frame can be understood as increasing the bandwidth of the second data frame.
  • deleting the first time slot for the second data frame in the first data frame can be understood as deleting the second data in the first data frame.
  • the time slots present in the second data frame also include time slots other than the first time slot, deleting the first time slot for the second data frame in the first data frame can be understood to reduce the bandwidth of the second data frame.
  • the first device sends the first time slot information to the second device through the payload area of the second time slot of the first data frame.
  • the first time slot information is used to instruct the second device to configure the first time slot, and the payload area of the second time slot does not carry service data when carrying the first time slot information.
  • S303 The second device configures the first time slot for the second data frame in the first data frame according to the first time slot information.
  • the first time slot information included in the payload area of the second time slot may be as shown in FIG. 4 .
  • possible situations of the indication information included in the first time slot information will be described in detail.
  • the payload area of the second time slot is divided into five indication fields.
  • the first indication field includes first indication information, which is used to indicate that the second time slot is a time slot that does not carry service data.
  • the first indication information field may also be called a data length indication field, and the first indication information may be called data length indication information.
  • the data length indicated by the indication byte included in the data length indication field is 0, it means that the length of the service data carried by the payload area of the second time slot is 0, that is, the payload area of the second time slot does not carry services. data.
  • the second indication field includes second indication information, used to indicate that the first time slot is a deleted time slot or an added time slot.
  • the second indication information is used to indicate adding the first time slot or deleting the first time slot.
  • the third indication field includes third indication information, used to indicate that the first time slot is configured as a transmitting time slot or a receiving time slot.
  • the third indication information is used to indicate that the first time slot is used to send service data or to receive service data.
  • the third indication information may be used to indicate the transmission direction of the service data. It should be understood that when the third indication information is used to instruct the second device to configure the first time slot as a receiving time slot, it may indicate that service data needs to be transmitted from the first device to the second device.
  • the fourth indication field includes fourth indication information, used to indicate the identifier of the second data frame, that is, configuring the first time slot in the second data frame corresponding to the identifier. It should be understood that when the second data frame is a created second data frame corresponding to the first time slot, the fourth indication information indicates the identity of the created second data frame. When the second data frame is the deleted second data frame corresponding to the first time slot, the fourth indication information indicates the identifier of the deleted second data frame.
  • the fifth indication field includes fifth indication information, used to indicate the identity of the first time slot.
  • the first time slot information when the first time slot information instructs the second device to add the first time slot as a reception time slot, the first time slot information may be expressed as Add Ts(Rx).
  • the first time slot information when the first time slot information instructs the second device to add the first time slot as a transmission time slot, the first time slot information may be expressed as Add Ts (Tx).
  • Add means addition
  • Ts means tributary slot
  • Rx means receive
  • Tx means transmit.
  • the first time slot information instructs the second device to delete the first time slot as a reception time slot the first time slot information may be expressed as Del Ts(Rx).
  • the first time slot information When the first time slot information instructs the second device to delete the first time slot as a transmission time slot, the first time slot information may be expressed as Del Ts(Tx). Among them, Del means delete.
  • the first time slot information may also include first error correction indication information and second error correction indication information. and third error correction indication information.
  • the first error correction indication information is used to correct transmission errors of the first indication information, and the first error correction indication information may occupy bytes or bits in the first indication field that are not occupied by the first indication information.
  • the second error correction indication information is used to correct transmission errors of the second indication information.
  • the second error correction indication information may occupy bytes or bits in the second indication field that are not occupied by the second indication information.
  • the third error correction indication information is carried in the sixth indication field of the first time slot and is used to correct transmission errors of the third indication information, the fourth indication information and the fifth indication information.
  • first error correction indication information can all adopt cyclic redundancy check (CRC) and error correcting code (error correcting code) , ECC) or other error correction technologies for error detection, which is not limited by this application.
  • CRC cyclic redundancy check
  • ECC error correcting code
  • FIG. 6 is a schematic structural diagram of a payload area of a second time slot with a length of 16 bytes provided by an embodiment of the present application.
  • the first byte is used as the first indication field to carry the 4-bit first indication information, using the Hamming Code HAMMING ( 8,4)
  • the encoding performs error correction protection on 4 independently indicated bits.
  • the second byte is used as the second indication field to carry 4-bit second indication information, and HAMMING (8,4) encoding is used to perform error correction protection on the 4 independent indication bits.
  • the second indication information is used to indicate that the remaining 15 bytes of the first time slot corresponding to the 16 bytes except the first byte are padding.
  • the second indication information is used to indicate that the first time slot is a time slot that needs to be added.
  • the second indication information is used to indicate that the first time slot is a time slot that needs to be deleted.
  • the third indication field is the third byte of the first time slot. When the value of the third indication information is 0, it indicates that the first time slot is the transmission time slot. When the value of the third indication information is 1, it indicates that the third indication field is the transmission time slot. One time slot is the receiving time slot.
  • the fourth indication field occupies 4 bytes, which are the 4th to 7th bytes. The value of these 4 bytes is used to indicate the identity of the second data frame.
  • the fifth indication field is bytes 8-11, and the value of these 4 bytes is used to indicate the identity of the first time slot.
  • the sixth indication field occupies the 15th and 16th bytes and is used to carry the third error correction indication information to correct transmission errors in the 3rd byte, 4th to 7th bytes and 8th to 11th bytes.
  • Figure 6 is only an example. This application does not limit the position of the bytes occupied by each indication field, and the number of bytes included in the time slot is not limited.
  • the second byte can be used as the first indication field, or the third byte can be used as the second indication field, or the first time slot can be a 24-byte time slot, or each indication can be The number of bytes in the field can also change, etc. That is, other division methods of the time slot structure that include the indication information provided by this application and modifications of the division form based on the embodiments of this application are all within the protection scope of this application.
  • Figure 7 is a code representation diagram used to indicate a bearer object in the second time slot payload area.
  • the payload area of the second time slot includes 16 bytes, and the bearer of the 16 bytes is indicated by another independent 1-bit control code.
  • the value of the control code is 0, it indicates that all 16 bytes of the payload area of the second time slot are used to carry service data.
  • the value of the control code is 1, the length of the service data carried in the 16-byte time slot (that is, the number of bytes occupied by the service data) is determined based on the length of the service data indicated by the first indication information.
  • the value of the first indication information is 0, since the indicated time slot does not carry any service data, it can be used to carry the above-mentioned first time slot information.
  • the specific indication method please refer to the relevant description of Figure 6. No further details will be given here.
  • this application also provides a schematic diagram of a time slot block composed of 65 bytes.
  • the structure of the 65-byte time slot block is defined as consisting of an independent 1 byte and four 16-byte blocks.
  • the 4 bits contained in an independent 1 byte are used to independently indicate that the object carried in each 16 bytes is business data or non-business data (filling or indication information). That is, an independent bit is used to indicate the object carried by every 16 bytes.
  • the indication bit is the 1-bit control code in the code table shown in Figure 7.
  • the first data frame may be divided into time slot blocks composed of 65 bytes as shown in FIG. 8 to increase the data transmission rate.
  • the first data frame is an ODUk frame (4 rows * 3824 columns), and the time slot block in the ODUk frame can be defined as shown in Figure 8. At this time, 15 in the first row can be used and two bytes in column 16 to carry the slot cycle indication information, indicating the starting position of each slot block cycle.
  • the transmission of business data is bidirectional. Therefore, when service data is transmitted from the first device to the second device, the former is the sending device and the latter is the receiving device. On the contrary, when service data is transmitted from the second device to the first device, the second device is the sending device and the first device is the receiving device.
  • the method 300 shown in Figure 3 does not limit the first device.
  • method 300 indicates that the transmission direction of service data is from the sending device to the receiving device.
  • method 300 indicates that the transmission direction of service data is from the receiving device to the sending device.
  • the above S301-S303 can be understood as configuring the time slot of the second data frame in the direction from the sending end to the receiving end.
  • the method 300 when configuring the time slot of the second data frame in the direction from the receiving end to the transmitting end, the method 300 also includes the following steps as shown.
  • S304 The second device configures a third time slot for the second data frame in the first data frame.
  • the second device configures the third time slot for the second data frame in the first data frame. Please refer to the description of the first device configuring the first time slot for the second data frame in the first data frame in S301. Here, No further details will be given.
  • S305 The second device sends the second time slot information to the first device through the payload area of the fourth time slot of the first data frame.
  • the second time slot information is carried in the payload area of the fourth time slot of the first data frame and is used to instruct the first device to configure the third time slot.
  • the payload area of the fourth time slot does not carry service data when carrying the second time slot information.
  • the first device configures a third time slot for the second data frame in the first data frame according to the second time slot information.
  • the indication information included in the second time slot information may refer to the above related description of the first time slot.
  • the indication domain included in the fourth time slot payload area reference can be made to the relevant description of the second time slot payload area in any of Figures 4-6, which will not be described again here.
  • the method for configuring time slots uses idle time slots to carry the time slot information that needs to be configured, so that the device that receives the time slot information can configure the time slot according to the time slot information. It avoids configuring additional resources to transmit time slot information, thereby saving system resources and supporting efficient path establishment and deletion.
  • the first time slot and the second time slot may be the same time slot, that is, the first time slot information is carried through the payload area of the first time slot.
  • the third time slot may be the same time slot as the fourth time slot, that is, the second time slot information is carried through the payload area of the third time slot.
  • the payload area of a fixed time slot used to carry time slot information in the above method can be used, that is, one or several time slots in the first data frame are used exclusively to carry time slot information.
  • these fixed time slots may be preset.
  • the "preset” may include predefined definitions, for example, protocol definitions. Among them, "pre-definition" can be realized by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in the device. This application does not limit its specific implementation method.
  • time slots carrying time slot information are certain fixed time slots
  • the time slot information can be stored in the fixed time slot without having to parse these fixed time slots.
  • the type of data carried by the slot can improve the efficiency of the device in configuring time slots.
  • the first device may receive configuration information from the network management device.
  • the configuration information is used to instruct the first device to configure the first time slot for the second data frame in the first data frame.
  • the configuration information issued by the network management device may directly indicate the identity of the first time slot to the first device, or may only indicate that the first device needs to configure the first time slot in the second data frame, and the first device itself determines the first time slot.
  • the identifier of a time slot This application is not limited.
  • the second device may also receive configuration information from the network management device, and configure the second data frame for the second data frame in the first data frame according to the configuration information. Configure the third time slot.
  • Figure 10 is a schematic flowchart of a method 1000 for lossless bandwidth increase provided by an embodiment of the present application.
  • the method 1000 is described with the first device as the sending device and the second device as the receiving device. Specifically, the method 1000 includes the following steps.
  • the first device determines to increase the bandwidth of the second data frame from the first bandwidth to the second bandwidth.
  • the first device adds the first time slot as a receiving time slot.
  • the first device adds the first time slot as a reception time slot of the second data frame.
  • the first device sends the first time slot information to the second device.
  • the first device sends the first Add Ts (Tx) time slot information to the second device through the payload area of the second time slot of the first data frame. This information is used to instruct the second device to add the first time slot as a sending time slot.
  • the second device adds the first time slot as the transmission time slot according to the first Add Ts (Tx) time slot information.
  • the second device adds the first time slot as the sending time slot in the second data frame.
  • the second device sends first bandwidth information to the first device, where the first bandwidth information is used to indicate the sending bandwidth of the second device.
  • the first device learns that the second device increases the first time slot as the transmission time slot of the second data frame, and the transmission bandwidth of the second device becomes is large, and the sending bandwidth of the second device is obtained through the first bandwidth information. At this time, it means that the bandwidth adjustment from the first device to the second device is completed.
  • the embodiment of the present application implements bandwidth configuration through a time slot configuration method.
  • This method does not require strict constraints on the rates of upstream and downstream devices. Therefore, rapid bandwidth adjustment can be achieved and the delay of bandwidth adjustment can be reduced. .
  • the receiving bandwidth for the sending device by configuring the receiving bandwidth for the sending device and configuring the sending bandwidth for the receiving device, lossless adjustment of the bandwidth is achieved and the reliability of the bandwidth adjustment is improved.
  • the transmission of service data is bidirectional. That is, after the adjustment of the receiving bandwidth of the first device is completed, the receiving bandwidth of the second device needs to be adjusted. Therefore, the method 1000 further includes the following steps.
  • the second device adds a third time slot as a receiving time slot.
  • the second device adds the third time slot as the reception time slot of the second data frame.
  • the second device sends the second time slot information to the first device.
  • the second device sends the second Add Ts (Tx) time slot information to the first device through the payload area of the fourth time slot of the first data frame. This information is used to instruct the first device to add a third time slot to Send time slot.
  • the first device adds a third time slot as a transmission time slot according to the second Add Ts (Tx) time slot information.
  • the first device adds a third time slot to the second data frame as a sending time slot.
  • the first device sends second bandwidth information to the second device, where the second bandwidth information is used to indicate the sending bandwidth of the first device.
  • the second device learns that the first device adds the third time slot to the transmission time slot of the second data frame.
  • the transmission bandwidth of the first device is becomes larger. At this time, it indicates that the bandwidth adjustment from the second device to the first device is completed. At this point, the two-way bandwidth adjustment is completed.
  • the method 1000 further includes S1010: the first device receives bandwidth indication information from the network management device, where the bandwidth indication information is used to indicate the second bandwidth.
  • the first device After receiving the bandwidth indication information, the first device obtains the size of the second bandwidth, compares it with its current first bandwidth, and determines to increase the first bandwidth to the second bandwidth.
  • the bandwidth indication information can also be sent to each device in the system through the network management device, for example, it can also be sent to a second device, etc., which is not limited in this application.
  • the method 1000 further includes the following steps.
  • the first device generates the first alarm start information.
  • the first device determines the expected bandwidth, which is the sending bandwidth of the second device, and the bandwidth of the expected bandwidth.
  • the size is the second bandwidth. Therefore, when the first device determines that the desired bandwidth is different from the second bandwidth, or before the second device's sending bandwidth is adjusted, for example, the first device obtains the second device's sending bandwidth from the first bandwidth information. When the size of the bandwidth is different from the size of the second bandwidth, the first device will generate the first alarm start information.
  • the first device sends the first alarm start information to the network management device.
  • the first alarm start information is used to indicate that the network management device has started alarming, that is, the second device has not completed the adjustment of the receiving bandwidth.
  • the first device generates the first alarm end information.
  • the first device determines that the desired bandwidth is the second bandwidth, that is, when the sending bandwidth of the second device received by the first device is the second bandwidth, the first device generates the first alarm end information.
  • the first device sends the first alarm end information to the network management device.
  • the first alarm end information is used to indicate that the alarm of the network management device has ended, that is, the second device has completed the adjustment of the receiving bandwidth.
  • the network management device may preset a threshold, which is the time period that the network management device expects the second device to complete adjusting the sending bandwidth, that is, the threshold is the time the network management device expects the second device to adjust the sending bandwidth to the third Expected time for two bandwidths.
  • the threshold is the time the network management device expects the second device to adjust the sending bandwidth to the third Expected time for two bandwidths.
  • the bandwidth of the network management equipment monitoring equipment can be adjusted, the self-checking and error correction capabilities of the network system can be improved, and the stability of the system can be further improved.
  • the second device when configuring the sending bandwidth of the first device, it will also send the second alarm start information and the second alarm end information to the network management device.
  • This process corresponds to S1015-S1018, please refer to S1011-S1014 The relevant instructions will not be repeated here.
  • Figure 11 is a schematic flowchart of a method 1100 for lossless bandwidth reduction provided by an embodiment of the present application.
  • the method 1100 is described with the first device as the sending device and the second device as the receiving device. Specifically, the method 1100 includes the following steps.
  • the first device determines to reduce the bandwidth of the second data frame from the first bandwidth to the second bandwidth.
  • the first device deletes the sending time slot corresponding to the first time slot.
  • the first device deletes the sending time slot corresponding to the first time slot in the second data frame.
  • the first device sends first bandwidth information to the second device, where the first bandwidth information is used to indicate the sending bandwidth of the first device.
  • the first device sends the first time slot information to the second device.
  • the first device sends the first Del Ts (Rx) time slot information to the second device through the payload area of the second time slot of the first data frame, and the first Del Ts (Rx) time slot information is used to indicate
  • the second device deletes the receiving time slot corresponding to the first time slot in the second data frame.
  • the second device deletes the receiving time slot corresponding to the first time slot in the second data frame according to the first Del Ts (Rx) time slot information.
  • the method 1100 further includes the following steps.
  • the second device deletes the sending time slot corresponding to the third time slot in the second data frame.
  • the second device sends second bandwidth information to the first device, where the second bandwidth information is used to indicate the sending bandwidth of the second device.
  • the second device sends the second time slot information to the first device.
  • the second device sends the second Del Ts (Rx) time slot information to the first device through the payload area of the fourth time slot of the first data frame, and the second Del Ts (Rx) time slot information is used to indicate The first device deletes the receiving time slot corresponding to the third time slot in the second data frame.
  • the first device deletes the receiving time slot corresponding to the third time slot according to the second Del Ts (Rx) time slot information.
  • the method 1100 further includes S1110: the first device receives bandwidth indication information from the network management device, where the bandwidth indication information is used to indicate the second bandwidth.
  • the first device After receiving the bandwidth indication information, the first device obtains the size of the second bandwidth, compares it with its current first bandwidth, and determines to reduce the first bandwidth to the second bandwidth.
  • the bandwidth indication information can also be sent to each device in the system through the network management device, for example, it can also be sent to a second device, etc., which is not limited in this application.
  • both the first device and the second device can report alarm start information and alarm end information to the network management.
  • the steps of reporting the first alarm start information and reporting the first alarm end information by the first device are S1111-S1114.
  • the steps for the second device to report the second alarm start information and the second alarm end information are S1115-S1118.
  • the communication device provided by the embodiment of the present application will be described in detail below with reference to FIG. 12 . It should be understood that the description of the device embodiments corresponds to the description of the method embodiments. Therefore, for content that is not described in detail, please refer to the above method embodiments. For the sake of brevity, some content will not be described again.
  • Figure 12 is a schematic structural diagram of a possible communication device, which is a first device or a second device.
  • the communication device 1200 includes a processor 1201, an optical transceiver 1202 and a memory 1203. Among them, memory 1203 is optional.
  • the communication device 1200 can be applied to both the sending side device (eg, the first device) and the receiving side device (eg, the above-mentioned second device).
  • the processor 1201 and the optical transceiver 1202 are used to implement the method performed by the first device shown in any one of FIG. 3, FIG. 10, or FIG. 11.
  • each step of the processing flow can complete the method performed by the sending device in the above figure through instructions in the form of hardware integrated logic circuits or software in the processor 1201.
  • the optical transceiver 1202 is used to receive and process the sent OTN frame to send to the peer device (also called the receiving device).
  • the processor 1201 and the optical transceiver 1202 are used to implement the method performed by the second device shown in any one of FIG. 3, FIG. 10, or FIG. 11.
  • each step of the processing flow may be implemented by instructions in the form of hardware integrated logic circuits or software in the processor 1201 to complete the method performed by the receiving side device described in the preceding figures.
  • the optical transceiver 1202 is used to receive the OTN frame sent by the peer device (also called the transmitting device), and send it to the processor 1201 for subsequent processing.
  • Memory 1203 may be used to store instructions such that process 1201 may be used to perform steps as mentioned in the above figures. Alternatively, the storage 1203 can also be used to store other instructions to configure parameters of the processor 1201 to implement corresponding functions.
  • the processor 1201 and the memory 1203 may be located in a branch board, or may be located in a single board that combines a branch circuit and a line.
  • both the processor 1201 and the memory 1203 include multiple processors, which are respectively located on the branch board and the circuit board, and the two boards cooperate to complete the foregoing method steps.
  • embodiments of the present application also provide a computer-readable storage medium.
  • the storage medium stores a software program.
  • the software program can implement the method provided by any one or more of the above embodiments.
  • the computer-readable storage medium may include: U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk and other various media that can store program codes.
  • embodiments of the present application also provide a chip.
  • the chip includes a processor for implementing the functions involved in any one or more of the above embodiments, such as acquiring or processing the OTN frames involved in the above method.
  • the chip further includes a memory, and the memory is used for necessary program instructions and data executed by the processor.
  • the chip may be composed of chips or may include chips and other discrete devices.
  • processors mentioned in the embodiments of this application may be a central processing unit (CPU), or other general-purpose processor, digital signal processor (DSP), or application-specific integrated circuit (ASIC).
  • ASIC application specific integrated circuit
  • FPGA field programmable gate array
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
  • non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically removable memory. Erase electrically programmable read-only memory (EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (RAM). For example, RAM can be used as an external cache.
  • RAM may include the following forms: static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM) , double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlink DRAM, SLDRAM) and Direct memory bus random access memory (direct rambus RAM, DR RAM).
  • static random access memory static random access memory
  • dynamic RAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM synchronous DRAM
  • double data rate SDRAM double data rate SDRAM
  • DDR SDRAM double data rate SDRAM
  • ESDRAM enhanced synchronous dynamic random access memory
  • SLDRAM synchronous link dynamic random access memory
  • Direct memory bus random access memory direct rambus RAM, DR RAM
  • the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component
  • the memory storage module
  • the disclosed devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device.
  • the computer may be a personal computer, a server, or a network device.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another, e.g., the computer instructions may be transferred from a website, computer, server, or data center Via wired (e.g. coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g. infrared, wireless, microwave, etc.) to another website, computer, server or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more available media integrated.
  • the available media may be magnetic media (such as floppy disks, hard disks, magnetic tapes), optical media (such as DVDs), or semiconductor media (such as solid state disks (SSD)).
  • the aforementioned available media may include But it is not limited to: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

本申请提供了一种配置时隙的方法、装置和系统。该方法包括:第一设备在第一数据帧中为第二数据帧配置第一时隙后,通过第二时隙的净荷区向第二设备发送第一时隙信息,指示第二设备在第二数据帧中配置第一时隙。当完成第一设备到第二设备的时隙配置后,第二设备通过第四时隙的净荷区向第一设备发送第二时隙信息,通过第二时隙信息指示第一设备对第三时隙的配置,该过程与第一设备发起配置第一时隙的过程相同。其中,第二数据帧为承载业务数据的帧,第二时隙的净荷区和第四时隙的净荷区均未承载业务数据。在本申请中,发送设备采用未承载业务数据的时隙向接收设备发送时隙信息,可以节约系统的传输资源。

Description

一种配置时隙的方法、装置和系统
本申请要求于2022年7月1日提交中国国家知识产权局、申请号202210768786.6、申请名称为“一种配置时隙的方法、装置和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及光通信领域,更具体地,涉及一种配置时隙的方法、装置和系统。
背景技术
随着第5代固定网络(Fifth Generation Fixed Network,F5G)时代的到来,高品质连接逐步面向更多的终端用户提供更多的管道链接数量。光业务单元(Optical Service Unit,OSU)作为可以应用于不同带宽级别高品质专线承载,以光传送网(Optical Transport Network,简称OTN)为基础核心,具备面向城域网络高效承载的灵活带宽管道,可以实现对10Mbit/s~100Gbit/s级粒度业务的高效承载。
然而,随着专线业务以及企业的数字化建设的不断完善,基于OSU承载低速率业务时如何实现链路的快速建立、删除和/或带宽调整,是亟待解决的问题。
发明内容
本申请提供一种配置时隙的方法、装置和系统,能够在不额外使用开销的情况下提升配置时隙的效率,支持高效和可靠的路径建立、删除和带宽调整。
第一方面,本申请实施例提供了一种配置时隙的方法。该方法可以由第一设备或者由第一设备的部件(如芯片或芯片系统等)执行,本申请对此不作限定。该方法包括:在第一数据帧中为第二数据帧配置第一时隙,所述第二数据帧用于承载业务数据。通过第一数据帧的第二时隙的净荷区向第二设备发送第一时隙信息,所述第一时隙信息用于指示所述第二设备配置所述第一时隙,其中,所述第二时隙的净荷区在承载所述第一时隙信息时未承载所述业务数据。
在本申请实施例中,第一设备选择没有承载任何业务数据的时隙来承载第一时隙信息。因此,对于第一设备来说,其不需要再重新配置传输第一时隙信息的资源,而是复用本身未承载业务数据的时隙向对端设备传输时隙信息,达到节约系统的传输资源的目的。
结合第一方面,在第一方面的某些实现方式中,第一时隙与第二时隙为同一时隙。
结合第一方面,在第一方面的某些实现方式中,所述第二时隙为所述第一数据帧中的特定时隙。通过将时隙信息承载在特定的时隙上,使时隙信息的接收端设备仅在固定时隙的净荷区中解析时隙信息,并根据指示来配置相应的时隙。采用固定的时隙可以进一步减少接收端设备配置时隙的效率。
结合第一方面,在第一方面的某些实现方式中,所述在第一数据帧中为第二数据帧配置 第一时隙,包括:在所述第一数据帧中为所述第二数据帧增加所述第一时隙;或者,在所述第一数据帧中为所述第二数据帧删除所述第一时隙。
需要说明的是,在本申请中,当第一数据帧中不存在第二数据帧时,在第一数据帧中为第二数据帧增加第一时隙可以理解为在第一数据帧中创建第二数据帧的第一时隙。当第一数据帧中已经存在第二数据帧时,在第一数据帧中为第二数据帧增加第一时隙可以理解为增大第二数据帧的带宽。当第二数据帧中仅存在第一时隙时,在第一数据帧中为第二数据帧删除第一时隙可以理解为将第一数据帧中的第二数据删除。当第二数据帧中存在的时隙还包括第一时隙之外的时隙时,在第一数据帧中为第二数据帧删除第一时隙可以理解减小第二数据帧的带宽。
结合第一方面,在第一方面的某些实现方式中,所述第二时隙的净荷区包括第一指示字段,所述第一指示字段用于指示所述第一时隙被配置为添加或者删除。
结合第一方面,在第一方面的某些实现方式中,所述第二时隙的净荷区还包括纠错码,所述纠错码用于纠正所述第一指示字段的传输错误。基于上述方案,通过第一指示字段指示被添加或被删除的时隙,并采用纠错码对第一指示字段进行经错,可以保证配置时隙时的可靠度,提升系统的稳定性。
结合第一方面,在第一方面的某些实现方式中,所述第二时隙的净荷区包括16字节,所述第一指示字段为1字节。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:接收来自第二设备的第二时隙信息,净荷区中所述第二时隙信息用于指示所述第一设备配置第三时隙。其中,所述第二时隙信息承载在所述第一数据帧的第四时隙的净荷区中,所述第四时隙的净荷区在承载所述第二时隙信息时未承载所述业务数据。通过该方案,完成数据传输的双向时隙配置。
结合第一方面,在第一方面的某些实现方式中,所述第三时隙与所述第四时隙为同一时隙。
结合第一方面,在第一方面的某些实现方式中,所述第四时隙的净荷区包括第二指示字段,所述第二指示字段用于指示所述第三时隙被配置为添加或者删除。
结合第一方面,在第一方面的某些实现方式中,所述第四时隙的净荷区还包括纠错码,所述纠错码用于纠正所述第二指示字段的传输错误。
结合第一方面,在第一方面的某些实现方式中,所述第四时隙的净荷区包括16字节,所述第二指示字段为1字节。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:接收配置信息,所述配置信息用于指示在所述第一数据帧中为所述第二数据帧配置所述第一时隙。其中,所述在第一数据帧中为第二数据帧配置第一时隙,包括:根据所述配置信息在所述第一数据帧中为所述第二数据帧配置所述第一时隙。
结合第一方面,在第一方面的某些实现方式中,确定将所述第二数据帧的带宽从第一带宽增大为第二带宽时,所述在所述第一数据帧中为所述第二数据帧配置所述第一时隙包括:在所述第一数据帧中为所述第二数据帧增加所述第一时隙为接收时隙。所述方法还包括:从所述第二设备接收第一带宽信息,所述第一带宽信息用于指示所述第二设备的发送带宽。
基于上述方案,本申请通过在已经创建的第二数据帧中增加发送设备的接收时隙,并利用第一时隙信息指示接收设备增大接收端的发送时隙,从而能够快速且可靠地完成发送设备 的接收带宽和接收设备的发送带宽的无损增大。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:接收来自第二设备的第二时隙信息,净荷区中所述第二时隙信息用于指示所述第一设备增加第三时隙。其中,所述第二时隙信息承载在所述第一数据帧的第四时隙的净荷区中,所述第四时隙的净荷区在承载所述第二时隙信息时未承载所述业务数据。在所述第一数据帧中为所述第二数据帧增加所述第三时隙为发送时隙。向所述第二设备发送第二带宽信息,所述第二带宽信息用于指示所述第一设备的发送带宽。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:所述第二带宽与所述第二设备的发送带宽不同时,生成告警开始信息。向网管设备上报所述告警开始信息,所述告警开始信息用于指示告警开始。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:所述第二带宽与所述第二设备的发送带宽相同时,生成告警结束信息。向网管设备上报所述告警结束信息,所述告警结束信息用于指示告警结束。
需要说明的是,由于系统中第一设备增大接收带宽到第二设备增大发送带宽并不是同步的,即第一设备增大接收带宽到第二设备完整发送带宽的增大存在时间差,此时,由于第二设备未完成发送带宽的增大,其发送的带宽与第二带宽不一致,因此,第一设备会在增大接收带宽后向网管设备上报告警开始信息,直到第二设备将发送带宽增大为第二带宽后,上报告警结束信息,指示告警结束。
需要说明的是,采用该告警过程,可以帮助网管设备监控设备带宽的调整。示例性地,当第一设备在一个预设的时间范围内向网管设备上报了告警结束信息时,可以表示第一设备和第二设备正常完成了带宽的调整。当在一段很长的时间内,例如可以是超过预设的时间范围时,第一设备一直在在向网管设备发送告警开始信息,即网管设备在该时间段内未收到第一设备发送的告警结束信息时,网管设备可推测第二设备的带宽调整过程异常,从而对第二设备采取维护等操作。
此外,第一设备在第二设备调整带宽的时间段内,可采取周期性地向网管设备上报告警开始信息,本申请不做限定。
结合第一方面,在第一方面的某些实现方式中,确定将所述第二数据帧的带宽从第一带宽减小为第二带宽时,所述在所述第一数据帧中为所述第二数据帧配置所述第一时隙包括:在所述第一数据帧中为所述第二数据帧删除所述第一时隙对应的发送时隙。所述方法还包括:向第二设备发送第一带宽信息,所述第一带宽信息用于指示所述第一设备的发送带宽。
基于该方案,本申请通过在已经创建的第二数据帧中删除发送设备的发送时隙,并基于第一时隙信息指示接收设备删除相应的接收时隙,从而实现减小第二数据帧带宽目的,能够快速且可靠地实现带宽的无损减小。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:接收来自第二设备的第二时隙信息。所述第二时隙信息承载在所述第一数据帧的第四时隙的净荷区中,所述第二时隙信息用于指示所述第一设备删除第三时隙。其中,所述第四时隙的净荷区在承载所述第二时隙信息时未承载所述业务数据。在所述第一数据帧中为所述第二数据帧删除所述第三时隙对应的接收时隙。从所述第二设备接收第二带宽信息,所述第二带宽信息用于指示所述第二设备的发送带宽。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:所述第二带宽与所述第二设备的发送带宽不同时,生成告警开始信息。向网管设备上报所述告警开始信息,所述告警开始信息用于指示告警开始。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:所述第二带宽与所述第二设备的发送带宽相同时,生成告警结束信息。向网管设备上报所述告警结束信息,所述告警结束信息用于指示告警结束。
通过告警信息实现网管设备对带宽调整的监控,该有益效果可参考上述带宽增大中对该该方案的说明,此处不再赘述。
结合第一方面,在第一方面的某些实现方式中,所述方法还包括:接收带宽指示信息,所述带宽指示信息用于指示所述第二带宽。
第二方面,本申请实施例提供了一种配置时隙的方法。该方法可以由第二设备或者由第二设备的部件(如芯片或芯片系统等)执行,本申请对此不作限定。该方法包括:接收第一时隙信息,所述第一时隙信息承载在第一数据帧的第二时隙的净荷区中,所述第一时隙信息用于指示所述第二设备配置所述第一时隙,其中,所述第二时隙的净荷区在承载所述第一时隙信息时未承载所述业务数据。根据所述第一时隙信息在所述第一数据帧中为所述第二数据帧配置所述第一时隙。
结合第二方面,在第二方面的某些实现方式中,所述方法还包括:所述第二设备在第一数据帧中为第二数据帧配置第三时隙,所述第二数据帧用于承载业务数据。向第一设备发送第二时隙信息。所述第二时隙信息承载在所述第一数据帧的第四时隙的净荷区中,所述第二时隙信息用于指示所述第一设备配置第三时隙。其中,所述第四时隙的净荷区在承载所述第二时隙信息时未承载所述业务数据。
结合第二方面,在第二方面的某些实现方式中,所述方法还包括:接收配置信息,所述配置信息用于指示在所述第一数据帧中为所述第二数据帧配置所述第三时隙。其中,所述在第一数据帧中配置第二数据帧,包括:根据所述配置信息在所述第一数据帧中为所述第二数据帧配置所述第三时隙。
结合第二方面,在第二方面的某些实现方式中,确定将所述第二数据帧的带宽从第一带宽增大为第二带宽时,所述根据所述第一时隙信息在所述第一数据帧中为所述第二数据帧配置所述第一时隙,包括:所述第二设备根据所述第一时隙信息在所述第一数据帧中为所述第二数据帧增加所述第一时隙为发送时隙。所述方法还包括:向所述第一设备发送第一带宽信息,所述第一带宽信息用于指示所述第二设备的发送带宽。
结合第二方面,在第二方面的某些实现方式中,所述方法还包括:在所述第一数据帧中为所述第二数据帧增加所述第三时隙为接收时隙。向第一设备发送第二时隙信息,所述第二时隙信息承载在所述第一数据帧的第四时隙的净荷区中,所述第二时隙信息用于指示所述第一设备增加第三时隙,其中,所述第四时隙的净荷区在承载所述第二时隙信息时未承载所述业务数据。从所述第一设备接收第二带宽信息,所述第二带宽信息用于指示所述第一设备的发送带宽。根据所述第二带宽信息确定所述第一设备的发送带宽。
结合第二方面,在第二方面的某些实现方式中,所述方法还包括:所述第二带宽与所述第一设备的发送带宽不同时,生成告警开始信息。向网管设备上报所述告警开始信息,所述告警开始信息用于指示告警开始。
结合第二方面,在第二方面的某些实现方式中,所述方法还包括:所述第二带宽与所述第一设备的发送带宽相同时,生成告警结束信息。向网管设备上报所述告警结束信息,所述告警结束信息用于指示告警结束。
结合第二方面,在第二方面的某些实现方式中,确定将所述第二数据帧的带宽从第一带宽减小为第二带宽时,所述根据所述第一时隙信息在所述第一数据帧中为所述第二数据帧配置所述第一时隙,包括:所述第二设备根据所述第一时隙信息在所述第一数据帧中为所述第二数据帧删除所述第一时隙对应的接收时隙。所述方法还包括:从第一设备接收第一带宽信息,所述第一带宽信息用于指示所述第一设备的发送带宽。
结合第二方面,在第二方面的某些实现方式中,所述方法还包括:在所述第一数据帧中为所述第二数据帧删除所述第三时隙对应的发送时隙。向第一设备发送第二时隙信息。所述第二时隙信息承载在所述第一数据帧的第四时隙的净荷区中,所述第二时隙信息用于指示所述第一设备删除第三时隙对应的接收时隙。其中,所述第四时隙的净荷区在承载所述第二时隙信息时未承载所述业务数据。向第一设备发送第二带宽信息,所述第二带宽信息用于指示所述第二设备的发送带宽。
结合第二方面,在第二方面的某些实现方式中,所述方法还包括:所述第二带宽与所述第一设备的发送带宽不同时,生成告警开始信息。向网管设备上报所述告警开始信息,所述告警开始信息用于指示告警开始。
结合第二方面,在第二方面的某些实现方式中,所述方法还包括:所述第二带宽与所述第一设备的发送带宽相同时,生成告警结束信息。向网管设备上报所述告警结束信息,所述告警结束信息用于指示告警结束。
结合第二方面,在第二方面的某些实现方式中,所述方法还包括:接收带宽指示信息,所述带宽指示信息用于指示所述第二带宽。
需要说明的是,第二方面中对所述第二时隙的净荷区和所述第四时隙的净荷区的限定可以参考上述第一方面中的实现方式。
第三方面,本申请实施例提供一种配置时隙的系统。该系统包括第一设备和第二设备,其中,第一设备用于执行如上述第一方面或其中任一种可能的实现方式中的方法,第二设备用于执行如上述第二方面或其中任一种可能的实现方式中的方法。
第四方面,本申请实施例提供了一种配置时隙的装置。该装置用于执行上述第一方面提供的方法或用于执行上述第二方面提供的方法。具体地,该配置时隙的装置可以包括用于执行第一方面或第一方面的上述任意一种实现方式提供的方法的单元和/或模块,或者,该配置时隙的装置可以包括用于执行第二方面或第二方面的上述任意一种实现方式提供的方法的单元和/或模块,如处理模块和收发模块。
在一种实现方式中,该配置时隙的装置可以包括用于执行第一方面或第一方面的上述任意一种实现方式提供的方法的单元和/或模块,为发送端设备。收发模块可以是收发器,或,输入/输出接口。处理模块可以是至少一个处理器。可选地,收发器可以为收发电路。可选地,输入/输出接口可以为输入/输出电路。
或者,该配置时隙的装置为发送端设备中的芯片、芯片系统或电路。收发模块可以是该芯片、芯片系统或电路上的输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等。处理模块可以是至少一个处理器、处理电路或逻辑电路等。
在另一种实现方式中,该配置时隙的装置可以包括用于执行第二方面或第二方面的上述任意一种实现方式提供的方法的单元和/或模块,为接收端设备。收发可以是收发器,或,输入/输出接口。处理模块可以是至少一个处理器。可选地,收发器可以为收发电路。可选地,输入/输出接口可以为输入/输出电路。
或者,该配置时隙的装置为接收端设备中的芯片、芯片系统或电路。收发模块可以是该芯片、芯片系统或电路上的输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等。处理模块可以是至少一个处理器、处理电路或逻辑电路等。
第五方面,本申请实施例提供了一种处理器,用于执行上述各方面提供的方法。
对于处理器所涉及的发送和获取/接收等操作,如果没有特殊说明,或者,如果未与其在相关描述中的实际作用或者内在逻辑相抵触,则可以理解为处理器输出和接收、输入等操作,也可以理解为由射频电路和天线所进行的发送和接收操作,本申请对此不做限定。
第六方面,本申请实施例提供了一种计算机可读存储介质。该计算机可读存储介质存储用于设备执行的程序代码,该程序代码包括用于执行上述第一方面或第二方面的任意一种实现方式提供的方法。
第七方面,本申请实施例提供了提供一种包含指令的计算机程序产品。当该计算机程序产品在计算机上运行时,使得计算机执行上述第一方面或第二方面的任意一种实现方式提供的方法。
第八方面,本申请实施例提供了提供一种芯片。芯片包括处理器与通信接口,处理器通过通信接口读取存储器上存储的指令,执行上述第一方面或第二方面的任意一种实现方式提供的方法。
可选地,作为一种实现方式,芯片还包括存储器,存储器中存储有计算机程序或指令,处理器用于执行存储器上存储的计算机程序或指令,当计算机程序或指令被执行时,处理器用于执行上述第一方面或第二方面的任意一种实现方式提供的方法。
第九方面,本申请实施例提供了提供一种通信系统,包括至少两个第四方面所述的配置时隙的装置。
上述第二方面至第九方面带来的有益效果具体可以参考第一方面中有益效果的描述,此处不再赘述。
附图说明
图1为本申请实施例适用的一种OTN光网络系统的示意图。
图2为一种可能的网络设备硬件结构示意图。
图3为本申请实施例提供的一种配置时隙的方法300的流程示意图。
图4示出了本申请实施例提供的一种第二时隙的净荷区包括的第一时隙信息。
图5示出了本申请实施例提供的另一种第二时隙的净荷区包括的第一时隙信息。
图6为本申请实施例提供的一种长度为16字节的第二时隙的净荷区的结构示意图。
图7为本申请实施例提供的一种用于指示第二时隙净荷区承载对象的码表示意图。
图8为本申请实施例提供的一种65字节时隙块的结构示意图。
图9为本申请实施例提供的对应于图8的光传送网OTN帧的结构示意图。
图10为本申请实施例提供的一种无损带宽增大的方法1000的流程示意图。
图11为本申请实施例提供的一种无损带宽减小的方法1100的流程示意图。
图12是本申请实施例提供的一种通信设备的结构示意图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
为了便于理解本申请实施例,作出以下说明。
第一、在下文示出的本申请实施例中的文字说明或附图中的术语“第一”、“第二”、“第三”和“第四”等以及各种数字编号仅为描述方便进行的区分,而不必用于描述特定的顺序或者先后次序,并不用来限制本申请实施例的范围。例如,区分不同的时隙等。
第二、下文示出的本申请实施例中的术语“包括”和“具有”以及它们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可以包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其他步骤或者单元。
第三、在本申请实施例中,“示例性的”或者“例如”等词用于表示例子、例证或说明,被描述为“示例性的”或者“例如”的实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念,便于理解。
第四、在本申请实施例中,业务数据指的是光传送网络可以承载的业务。例如,可以是以太网业务、分组业务、无线回传业务等。业务数据也可以称业务信号、客户数据或客户业务数据。应理解,本申请实施例中对于业务数据的类型不做限定。
第五、在本申请中,“用于指示”包括直接指示和间接指示。当描述某一信息用于指示A时,包括该信息直接指示A或间接指示A,而并不代表该信息中一定携带有A。
第六、下文示出的本申请实施例中,仅以光传送网(optical transport network,OTN)中的OTN帧作为示例对实施例进行说明的,应理解,对于其他承载OTN帧,或者城域传送网(metro transport network,MTN)帧,或者随着OTN技术以及MTN技术的发展,可能定义出新的类型的OTN帧和MTN帧,也适用于本申请。
第七、在本申请实施例中,设备也可以称为节点或者节点设备,发送设备可以称为发送节点、发送端或源节点。同样的接收设备可以称为接收端设备、接收端或者宿节点。中间设备可以称为中间节点。
图1为本申请实施例适用的一种OTN光网络系统的示意图。通常,OTN光网络由多个设备通过光纤连接而成,可以根据具体需要组成如线型、环形和网状等不同的拓扑类型。在图1所示的OTN 100中,包括8个OTN设备101,即设备A-H。其中,102指示光纤,用于连接两个设备,103指示客户业务接口,用于接收或发送客户业务数据。如图1所示,OTN 100用于为客户设备1-3传输业务数据。客户设备通过客户业务接口跟OTN的设备相连。例如,图1中,客户设备1-3分别和OTN设备A,H和F相连。
在图1中,当客户设备1需要与客户设备3通信时,其可以通过OTN设备A-F来发送业务数据,此时,OTN设备A可以为发送设备,OTN设备B-E可以为中间设备,OTN设备F可以为接收设备。
应理解,在本申请提供的系统中,中间设备可以一个或者多个,当然在一些场景中,也可以没有中间设备。为了说明的简便性,在以下对本申请实施例提供的配置时隙的方法流程 进行说明时,均是以没有中间设备为例进行说明的。
一般地来说,OTN设备分为光层设备、电层设备以及光电混合设备。光层设备指的是能够处理光层信号的设备,例如:光放大器(optical amplifier,OA)、光分插复用器(optical add-drop multiplexer,OADM)。OA也可被称为光线路放大器(optical line amplifier,OLA),主要用于对光信号进行放大,以支持在保证光信号的特定性能的前提下传输更远的距离。OADM用于对光信号进行空间的变换,从而使其可以从不同的输出端口(有时也称为方向)输出。电层设备指的是能够处理电层信号的设备,例如:能够处理OTN信号的设备。光电混合设备指的是具备处理光层信号和电层信号能力的设备。需要说明的是,根据具体的集成需要,一个OTN设备可以集合多种不同的功能。本申请提供的技术方案适用于不同形态和集成度的包含电层功能的OTN设备。
需要说明的是,本申请实施例中的OTN设备使用的数据帧结构是OTN帧,用于承载各种业务数据,并提供丰富的管理和监控功能。OTN帧可以是光数据单元帧(Optical Data Unit k,ODUk)、ODUCn、ODUflex,光通道传输单元k(optical transport unit k,OTUk),OTUCn,或灵活OTN(FlexO)帧等。其中,ODU帧和OTU帧区别在于,OTU帧包括ODU帧和OTU开销。k代表了不同的速率等级,例如,k=1表示2.5Gbps,k=4表示100Gbps;Cn表示可变速率,具体为100Gbps的正整数倍的速率。除非特殊的说明,ODU帧指的是ODUk、ODUCn或ODUflex的任意一种,OTU帧指的是OTUk、OTUCn或者FlexO的任意一种。随着OTN技术发展,可能定义出新的类型的OTN帧,也适用于本申请。
图2为一种可能的网络设备硬件结构示意图。例如,图1中的设备A。具体地,OTN设备200包括支路板201、交叉板202、线路板203、光层处理单板(图中未示出)以及系统控制和通信类单板204。根据需要,网络设备包含的单板类型和数量可能不相同。例如,作为核心节点的网络设备没有支路板201。又如,作为边缘节点的网络设备有多个支路板201,或者没有光交叉板202。再如,只支持电层功能的网络设备可能没有光层处理单板。
支路板201、交叉板202和线路板203用于处理OTN的电层信号。其中,支路板201用于实现各种客户业务的接收和发送,例如SDH业务、分组业务、以太网业务和前传业务等。更进一步地,支路板201可以划分为客户侧光收发模块和信号处理器。其中,客户侧光收发模块也可以称为光收发器,用于接收和/或发送业务数据。信号处理器用于实现对业务数据到数据帧的映射和解映射处理。交叉板202用于实现数据帧的交换,完成一种或多种类型的数据帧的交换。线路板203主要实现线路侧数据帧的处理。具体地,线路板203可以划分为线路侧光模块和信号处理器。其中,线路侧光模块可以称为光收发器,用于接收和/或发送数据帧。信号处理器用于实现对线路侧的数据帧的复用和解复用,或者映射和解映射处理。系统控制和通信类单板204用于实现系统控制。具体地,可以从不同的单板收集信息,或将控制指令发送到对应的单板上去。需要说明的是,除非特殊说明,具体的组件(例如信号处理器)可以是一个或多个,本申请不做限制。还需要说明的是,对设备包含的单板类型以及单板的功能设计和数量,本申请不做任何限制。需要说明的是,在具体的实现中,上述两个单板也可能设计为一个单板。此外,网络设备还可能包括用于备用的电源、用于散热的风扇等。
作为OTN技术中关键技术之一的光业务单元(optical service unit,OSU),主要用于承载10M~100Gbps速率客户业务。通过OSU承载低速小颗粒业务信号,再将OSU映射进ODUk/ODUflex可以降低业务的传输时延,增加承载业务的端口数量,解决了原有OTN技术 中承载低速效率小颗粒业务效率偏低的问题。
然而,随着信息化和云化的发展,专线和视频业务承载需求越来越旺盛,这类业务对带宽的需求不高,但是对带宽的应用呈现动态变化,实现网络中的链路实时无损动态带宽调整,不仅能够增加网络使用的弹性,减轻网络运维的负担,还可以提升客户使用的体验。因此,基于OSU承载低速率业务时如何快速实现链路业务的动态无损调整,即在不需要中断链路中正在运行的业务,且不影响其他链路业务的情况下,快速的对当前链路的带宽实现增大或者减小,是需要解决的问题。
为了解决上述问题,本申请提出了一种配置时隙的方法,通过将不承载业务数据的时隙用于承载时隙信息,指示收到时隙信息的设备进行相应的时隙配置,在不提升开销占比的情况下,能够支持大量时隙的快速分配。当应用于OTN技术中时,可以实现具备高可靠性的OSU无损带宽调整。
图3示出了本申请实施例提供的一种配置时隙的方法300的示意性流程图。如图3所示,其中,第一设备可以是OTN设备,或者由OTN设备的部件(如芯片或芯片系统等)执行。第二设备可以是OTN设备,或者由OTN设备的部件(如芯片或芯片系统等)执行。具体的,该方法包括如下多个步骤。
S301,第一设备在第一数据帧中为第二数据帧配置第一时隙。
其中,第二数据帧用于承载业务数据。
需要说明的是,在本申请实施例中,第一设备在第一数据帧中为第二数据帧配置第一时隙可以理解为在第一数据帧中为第二数据帧增加或者删除第一时隙。具体地,当第一数据帧中不存在第二数据帧时,在第一数据帧中为第二数据帧增加第一时隙可以理解为在第一数据帧中创建第二数据帧的第一时隙。当第一数据帧中已经存在第二数据帧时,在第一数据帧中为第二数据帧增加第一时隙可以理解为增大第二数据帧的带宽。当第二数据帧中仅存在第一时隙时,在第一数据帧中为第二数据帧删除第一时隙可以理解为将第一数据帧中的第二数据删除。当第二数据帧中存在的时隙还包括第一时隙之外的时隙时,在第一数据帧中为第二数据帧删除第一时隙可以理解减小第二数据帧的带宽。
S302,第一设备通过第一数据帧的第二时隙的净荷区向第二设备发送第一时隙信息。
其中,该第一时隙信息用于指示第二设备配置第一时隙,第二时隙的净荷区在承载第一时隙信息时未承载业务数据。
S303,第二设备根据第一时隙信息在第一数据帧中为第二数据帧配置第一时隙。
具体地,第二时隙的净荷区所包括该第一时隙信息可以如图4所示。接下来对该第一时隙信息包括的指示信息的可能情况进行详细说明。
在一种可能的实现方式中,第二时隙的净荷区分为五个指示域。其中,第一指示域包括第一指示信息,用于指示该第二时隙为不承载业务数据的时隙。该第一指示信息域还可以称为数据长度指示域,第一指示信息可以称为数据长度指示信息。当数据长度指示域包括的指示字节指示的数据长度为0时,表示该第二时隙的净荷区所承载的业务数据的长度为0,即第二时隙的净荷区没有承载业务数据。第二指示域包括第二指示信息,用于指示该第一时隙为被删除的时隙或者被增加的时隙。即该第二指示信息用于指示添加第一时隙或者删除第一时隙。第三指示域包括第三指示信息,用于指示第一时隙被配置为发送时隙或者接收时隙。换句话说,该第三指示信息用于指示第一时隙的作用为发送业务数据或者用于接收业务数据。 或者该第三指示信息可以用于指示业务数据的传输方向。应理解,当该第三指示信息用于指示第二设备将第一时隙配置为接收时隙时,可以表示为业务数据需要从第一设备传输至第二设备。或者当该第三指示信息用于指示第二设备将第一时隙配置为发送时隙时,可以表示为业务数据需要从第二设备传输至第一设备。第四指示域包括第四指示信息,用于指示第二数据帧的标识,即在标识对应的第二数据帧中配置第一时隙。应理解,当第二数据帧为第一时隙对应的创建的第二数据帧时,该第四指示信息指示的即为创建的第二数据帧的标识。当第二数据帧为第一时隙对应的删除的第二数据帧时,该第四指示信息指示的即为删除的第二数据帧的标识。第五指示域包括第五指示信息,用于指示第一时隙的标识。
示例性地,当第一时隙信息指示第二设备增加第一时隙为接收时隙时,该第一时隙信息可以表示为Add Ts(Rx)。当第一时隙信息指示第二设备增加第一时隙为发送时隙时,该第一时隙信息可以表示为Add Ts(Tx)。其中,Add表示增加(addition),Ts表示时隙(tributary slot),Rx表示接收(receive),Tx表示发送(transmit)。当第一时隙信息指示第二设备删除第一时隙为接收时隙时,该第一时隙信息可以表示为Del Ts(Rx)。当第一时隙信息指示第二设备删除第一时隙为发送时隙时,该第一时隙信息可以表示为Del Ts(Tx)。其中,Del表示删除(delete)。
为了提升该第一时隙信息的可靠性,在另一种可实现的方式中,如图5所示,第一时隙信息中还可以包括第一纠错指示信息、第二纠错指示信息和第三纠错指示信息。其中,第一纠错指示信息用于纠正第一指示信息的传输错误,该第一纠错指示信息可以占用第一指示域中未被第一指示信息占用的字节或者比特。第二纠错指示信息用于纠正第二指示信息的传输错误,该第二纠错指示信息可以占用第二指示域中未被第二指示信息占用的字节或者比特。第三纠错指示信息承载于第一时隙的第六指示域,用于纠正第三指示信息、第四指示信息和第五指示信息的传输错误。
需要说明的是,上述第一纠错指示信息、第二纠错指示信息和第三纠错指示信息均可以采循环冗余校验码(cyclic redundancy check,CRC)和错误纠正码(error correcting code,ECC)或其他纠错技术进行检错,本申请不做限定。
在一个具体的实现方式中,示例性的,图6为本申请实施例提供的一种长度为16字节的第二时隙的净荷区的结构示意图。如图6所示,在该第二时隙的净荷区中,将第1个字节作为第一指示域,用于承载4比特的第一指示信息,采用汉明码(HAMMING Code)HAMMING(8,4)编码对4个独立指示的比特进行误码纠错保护。将第2字节作为第二指示域,用于承载4比特的第二指示信息,采用HAMMING(8,4)编码对4个独立指示的比特进行误码纠错保护。具体的,当第二指示信息的值为0时,该第二指示信息用于指示该16字节对应的第一时隙除第1字节外的其余15个字节为填充。当第二指示信息的值为1时,该第二指示信息用于指示第一时隙为需要被添加的时隙。当第二指示信息的值为2时,该第二指示信息用于指示第一时隙为需要被删除的时隙。第三指示域为第一时隙的第3个字节,当第三指示信息的值为0时,指示第一时隙为发送时隙,当第三指示信息的值为1是,指示第一时隙为接收时隙。在第二时隙的净荷区中,第四指示域占用4个字节,为第4-7字节,该4个字节的值用于指示第二数据帧的标识。第五指示域为第8-11字节,该4个字节的值用于指示第一时隙的标识。此外,第六指示域占用第15和16字节,用来承载第三纠错指示信息,对第3字节、第4-7字节和第8-11字节的传输错误进行纠正。
需要说明的是,图6仅为示例,本申请对各个指示域所占用的字节的位置并不限定,同时对时隙包含的字节数也不限定。举例来说,也可以采用第2个字节作为第一指示域,或者采用第3个字节作为第二指示域,或者该第一时隙还可以为24字节的时隙,或者各个指示域的字节数还可以发生改变等。即只要包含本申请提供的指示信息的时隙结构的其他划分方式以及在本申请实施例的基础上的划分形式的变形,均在本申请的保护范围之内。
图7为一种用于指示第二时隙净荷区承载对象的码表示意图。在图7所示的码表中,第二时隙的净荷区包括16字节,并通过另外独立的1比特控制码指示该16字节的承载。具体地,当控制码的值为0时,指示第二时隙的净荷区的16字节均用于承载业务数据。当控制码的值为1时,根据第一指示信息指示的业务数据的长度判断16字节时隙中承载业务数据的长度(即业务数据占用的字节数)。当第一指示信息的值为0时,由于该指示的时隙不承载任何业务数据,此时可以被用于承载上述的第一时隙信息,具体的指示方式可以参考图6的相关说明,此处不再赘述。
对于图6或图7所示的16字节的时隙,在图8中,本申请还提供了一种65字节构成的时隙块的示意图。该65字节时隙块的结构定义为由独立的1个字节以及4个16字节构成。独立的1个字节中包含的4个比特用于独立指示每个16字节中承载的对象为业务数据或非业务数据(填充或指示信息)。即每16个字节承载的对象使用一个独立的比特进行指示,该指示比特即为图7所示的码表中的1比特控制码。具体地,可以在第一数据帧中以图8所示的65字节构成的时隙块对第一数据帧进行划分,以提升数据传输的速率。
示例性地,在图9中,以第一数据帧为ODUk帧(4行*3824列),可以定义ODUk帧中的时隙块如图8所示,此时,可以采用第一行的15和16列的两个字节来承载时隙周期指示信息,指示每个时隙块周期的起始位置。
通常来讲,业务数据的传输是双向的。因此,当业务数据从第一设备向第二设备传输时,前者为发送设备,后者为接收设备。反之,当业务数据从第二设备向第一设备传输时,第二设备为发送设备,第一设备为接收设备。图3所示的方法300不对第一设备进行限定。当第一设备为发送设备时,方法300表示业务数据的传输方向为发送设备到接收设备。当第一设备为接收设备时,方法300表示业务数据的传输方向为接收设备到发送设备。
或者,若仅将第一设备作为发送设备,第二设备作为接收设备时,上述S301-S303可以理解为配置发送端到接收端方向的第二数据帧的时隙。此时,当配置接收端到发送端方向的第二数据帧的时隙时,该方法300如图还包括如下多个步骤。
S304,第二设备在第一数据帧中为第二数据帧配置第三时隙。
其中,第二设备在第一数据帧中为第二数据帧配置第三时隙,可参考上述S301中第一设备在第一数据帧中为第二数据帧配置第一时隙的说明,此处不再赘述。
S305,第二设备通过第一数据帧的第四时隙的净荷区向第一设备发送第二时隙信息。
具体地,第二时隙信息承载在第一数据帧的第四时隙的净荷区中,用于指示第一设备配置第三时隙。其中,第四时隙的净荷区在承载第二时隙信息时未承载业务数据。
S306,第一设备根据第二时隙信息在第一数据帧中为第二数据帧配置第三时隙。
具体地,第二时隙信息包括的指示信息可以参考上述对第一时隙的相关说明。此外,第四时隙净荷区包括的指示域的划分可以参考图4-6任一对第二时隙净荷区的相关说明,此处不再赘述。
基于上述方案,本申请实施例提供的配置时隙的方法,通过采用空闲的时隙承载需要配置的时隙信息,使接收到时隙信息的设备根据该时隙信息进行时隙的配置,能够避免另外配置资源来传输时隙信息,从而节省了系统的资源,支持高效的路径建立和删除。
在一种可实现的方式中,上述S301-S303中,第一时隙可以与第二时隙为同一时隙,即通过第一时隙的净荷区承载第一时隙信息。同时,上述S304-S306中,第三时隙可以与第四时隙为同一时隙,即通过第三时隙的净荷区承载第二时隙信息。
在另一种可实现的方式中,上述方法中用于承载时隙信息的可以为一个固定时隙的净荷区,即将第一数据帧中的某一个或者几个时隙用于专门承载时隙信息的时隙。其中,这些固定的时隙可以是预设的。应理解,该“预设”可包括预先定义,例如,协议定义。其中,“预先定义”可以通过在设备中预先保存相应的代码、表格或其他可用于指示相关信息的方式来实现,本申请对于其具体的实现方式不做限定。
在这种方案下,由于承载时隙信息的时隙为某些固定的时隙,对接收时隙信息的设备来讲,可以在固定的时隙中时隙信息,而不必再解析这些固定时隙承载的数据的类型,能够提升设备配置时隙的效率。
此外,第一设备在第一数据帧中为第二数据帧配置第一时隙之前,第一设备可以接收来自网管设备的配置信息。该配置信息用于指示第一设备在第一数据帧中为第二数据帧配置第一时隙。应理解,网管设备下发的配置信息可以直接为第一设备指示第一时隙的标识,或者仅指示第一设备需要在第二数据帧中配置第一时隙,由第一设备自己确定第一时隙的标识。本申请并不限定。同样的,在第二设备在第一数据帧中为第二数据帧配置第三时隙之前,也可以接收来自网管设备的配置信息,并根据配置信息在第一数据帧中为第二数据帧配置第三时隙。
图10为本申请实施例提供的一种无损带宽增大的方法1000的流程示意图。该方法1000是以第一设备为发送设备,第二设备为接收设备进行说明的,具体地,该方法1000包括如下多个步骤。
S1001,第一设备确定将第二数据帧的带宽从第一带宽增大为第二带宽。
S1002,第一设备增加第一时隙为接收时隙。
具体地,第一设备将第一时隙添加为第二数据帧的接收时隙。
S1003,第一设备向第二设备发送第一时隙信息。
具体地,第一设备通过第一数据帧的第二时隙的净荷区向第二设备发送第一Add Ts(Tx)时隙信息。该信息用于指示第二设备增加第一时隙为发送时隙。
S1004,第二设备根据第一Add Ts(Tx)时隙信息增加第一时隙为发送时隙。
其中,第二设备在第二数据帧中增加第一时隙为发送时隙。
S1005,第二设备向第一设备发送第一带宽信息,该第一带宽信息用于指示第二设备的发送带宽。
具体地,当第一设备接收到第二设备发送的第一带宽信息后,第一设备获知第二设备将第一时隙增加为第二数据帧的发送时隙,第二设备的发送带宽变大,并通过第一带宽信息获取到第二设备的发送带宽的大小,此时,表示完成了第一设备至第二设备的带宽调整。
需要说明的是,当第二设备的发送带宽变大后,相应的,第二设备的发送带宽的带宽开销随之变大。
基于上述方案,本申请实施例通过时隙配置方法实现带宽的配置,该方法对上下游的设备的速率不需要进行严格的约束,因此,能够实现快速的带宽调整,降低了带宽调整的时延。同时,通过为发送设备配置接收带宽,为接收设备配置发送带宽,实现带宽的无损调整,提升了带宽调整的可靠性。
通常来说,业务数据的传输均为双向传输的,即完成第一设备的接收带宽的调整后,还需要对第二设备的接收带宽进行调整。因此,该方法1000还包括以下步骤。
S1006,第二设备增加第三时隙为接收时隙。
具体地,第二设备将第三时隙添加为第二数据帧的接收时隙。
S1007,第二设备向第一设备发送第二时隙信息。
具体地,第二设备通过第一数据帧的第四时隙的净荷区向第一设备发送第二Add Ts(Tx)时隙信息,该信息用于指示第一设备增加第三时隙为发送时隙。
S1008,第一设备根据第二Add Ts(Tx)时隙信息增加第三时隙为发送时隙。
其中,第一设备在第二数据帧中增加第三时隙为发送时隙。
S1009,第一设备向第二设备发送第二带宽信息,该第二带宽信息用于指示第一设备的发送带宽。
具体地,当第二设备接收到第一设备发送的第二带宽信息后,第二设备获知第一设备将第三时隙增加为第二数据帧的发送时隙,该第一设备的发送带宽变大,此时,表示完成了第二设备至第一设备的带宽调整。至此,双向带宽调整完成。
需要说明的是,当第一设备的发送带宽变大后,相应的,第一设备的发送带宽的带宽开销随之变大。
在一种可实现的方式中,该方法1000还包括S1010:第一设备接收来自网管设备的带宽指示信息,该带宽指示信息用于指示第二带宽的。
当第一设备接收到带宽指示信息后,获取第二带宽的大小,并与其当前的第一带宽进行比较,确定将第一带宽增大为第二带宽。可选地,该带宽指示信息也可以通过网管设备下发给系统中的每一个设备,例如,还可以发送给第二设备等,本申请不做限定。
为了提升带宽调整的可靠性,在一种可实现的方式中,该方法1000还包括如下步骤。
S1011,第一设备生成第一告警开始信息。
具体地,第一设备调整完接收带宽之后,即完成接收带宽增大为第二带宽后,此时,第一设备确定期望带宽,该期望带宽为第二设备的发送带宽,该期望带宽的带宽大小为第二带宽。因此,当第一设备确定期望带宽的带宽大小与第二带宽不同之前,或者第二设备的发送带宽未完成调整之前,例如,第一设备从第一带宽信息中获取到的第二设备的发送带宽的大小与第二带宽的大小不同时,第一设备会生成第一告警开始信息。
S1012,第一设备向网管设备发送第一告警开始信息。
其中,该第一告警开始信息用于指示网管设备告警开始,即第二设备未完成接收带宽的调整。
S1013,第一设备生成第一告警结束信息。
具体地,第一设备确定期望的带宽大小为第二带宽,即第一设备收到的第二设备的发送带宽为第二带宽时,第一设备会生成第一告警结束信息。
S1014,第一设备向网管设备发送第一告警结束信息。
其中,该第一告警结束信息用于指示网管设备告警结束,即第二设备完成了接收带宽的调整。
需要说明的是,在具体实现中,网管设备可以预设一个阈值,该阈值为网管设备预计第二设备完成发送带宽调整的时长,即该阈值为网管期望的第二设备将发送带宽调整为第二带宽的期望时间。当第一设备在一个阈值范围内向网管设备上报了告警结束信息时,可以表示第一设备和第二设备正常完成了带宽的调整。当超出阈值时间时,网管设备还未收到第一设备发送的第一告警结束信息,则网管设备可推测第二设备的带宽调整过程异常。
基于上述方案,通过该告警过程,可以实现网管设备监控设备带宽的调整,提升网络系统的自检能力和纠错能力,进一步地,提升系统的稳定性。
相应的,对于第二设备来说,当配置第一设备的发送带宽时,同样会向网管设备第二发送告警开始信息和第二告警结束信息,该过程对应S1015-S1018,可参考S1011-S1014的相关说明,此处不再赘述。
结合上述图3所示的配置时隙的方法,图11为本申请实施例提供的一种无损带宽减小的方法1100的流程示意图。该方法1100是以第一设备为发送端设备,第二设备为接收端设备进行说明的,具体地,该方法1100包括如下多个步骤。
S1101,第一设备确定将第二数据帧的带宽从第一带宽减小为第二带宽。
S1102,第一设备删除第一时隙对应的发送时隙。
具体地,第一设备将第二数据帧中第一时隙对应的发送时隙删除。
S1103,第一设备向第二设备发送第一带宽信息,该第一带宽信息用于指示第一设备的发送带宽。
S1104,第一设备向第二设备发送第一时隙信息。
具体地,第一设备通过第一数据帧的第二时隙的净荷区向第二设备发送第一Del Ts(Rx)时隙信息,该第一Del Ts(Rx)时隙信息用于指示第二设备删除第二数据帧中第一时隙对应的接收时隙。
S1105,第二设备根据第一Del Ts(Rx)时隙信息将第二数据帧中第一时隙对应的接收时隙删除。
当第一设备完成发送带宽的调整后,还需要对第二设备的发送带宽进行调整。因此,该方法1100还包括以下步骤。
S1106,第二设备删除第二数据帧中的第三时隙对应的发送时隙。
S1107,第二设备向第一设备发送第二带宽信息,该第二带宽信息用于指示第二设备的发送带宽。
S1108,第二设备向第一设备发送第二时隙信息。
具体地,第二设备通过第一数据帧的第四时隙的净荷区向第一设备发送第二Del Ts(Rx)时隙信息,该第二Del Ts(Rx)时隙信息用于指示第一设备将第二数据帧中的第三时隙对应的接收时隙删除。
S1109,第一设备根据第二Del Ts(Rx)时隙信息删除第三时隙对应的接收时隙。
至此,第一设备的接收带宽调整完成。
在一种可实现的方式中,该方法1100还包括S1110:第一设备接收来自网管设备的带宽指示信息,该带宽指示信息用于指示第二带宽的。
当第一设备接收到带宽指示信息后,获取第二带宽的大小,并与其当前的第一带宽进行比较,确定将第一带宽减小为第二带宽。可选地,该带宽指示信息也可以通过网管设备下发给系统中的每一个设备,例如,还可以发送给第二设备等,本申请不做限定。
同样的,为了提升带宽调整的可靠性,第一设备和第二设备均可以向网管上报告警开始信息以及告警结束信息。其中,第一设备上报第一告警开始信息以及上报第一告警结束信息的步骤为S1111-S1114,该过程可参考图10中的S1011-S1014。第二设备上报第二告警开始信息以及上报第二告警结束信息的步骤为S1115-S1118,该过程可参考图10中的S1015-S1018,为了说明的简便性,此处均不在赘述。
以下,结合图12详细说明本申请实施例提供的通信的装置。应理解,装置实施例的描述与方法实施例的描述相互对应。因此,未详细描述的内容可以参见上文方法实施例,为了简洁,部分内容不再赘述。
图12为一种可能的通信设备的结构示意图,该通信设备为第一设备或者第二设备。如图12所示,该通信设备1200包括处理器1201、光收发器1202和存储器1203。其中,存储器1203是可选的。通信设备1200既可以应用于发送侧设备(如,第一设备),也应用于接收侧设备(如,上述的第二设备)。
在应用于发送侧设备时,处理器1201和光收发器1202用于实现图3、图10或图11任一所示的第一设备所执行的方法。在实现过程中,处理流程的各步骤可以通过处理器1201中的硬件的集成逻辑电路或软件形式的指令完成上述附图的发送设备所执行的方法。光收发器1202用于接收处理发送的OTN帧,以发送给对端设备(亦称为接收端设备)。
在应用于接收侧设备时,处理器1201和光收发器1202用于实现图3、图10或图11任一所示的第二设备所执行的方法。在实现过程中,处理流程的各步骤可以通过处理器1201中的硬件的集成逻辑电路或者软件形式的指令完成前述附图中所述的接收侧设备所执行的方法。光收发器1202用于接收对端设备(亦称为发送端设备)发送的OTN帧,以发送给处理器1201使其进行后续的处理。
存储器1203可以用于存储指令,以使得处理1201可以用于执行如上述图中提及的步骤。或者,存储1203也可以用于存储其他指令,以配置处理器1201的参数以实现对应的功能。
需要说明的是,处理器1201和存储器1203在图2所述的网络设备硬件结构图中,可能位于支路板中,也可能位于支路和线路合一的单板中。或者,处理器1201和存储器1203都包括多个,分别位于支路板和线路板,两个板配合完成前述的方法步骤。
需要说明的是,图12所述的装置也可以用于执行前述提及的附图所示的实施例变形所涉及的方法步骤,在此不再赘述。
基于以上实施例,本申请实施例还提供了一种计算机可读存储介质。该存储介质中存储软件程序,该软件程序在被一个或多个处理器读取并执行时可实现上述任意一个或多个实施例提供的方法。所述计算机可读存储介质可以包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。
基于以上实施例,本申请实施例还提供了一种芯片。该芯片包括处理器,用于实现上述任意一个或多个实施例所涉及的功能,例如获取或处理上述方法中所涉及的OTN帧。可选地,所述芯片还包括存储器,所述存储器,用于处理器所执行必要的程序指令和数据。该芯片,可以由芯片构成,也可以包含芯片和其他分立器件。
显然,本领域的技术人员可以对本申请实施例进行各种改动和变型而不脱离本申请实施例的范围。这样,倘若本申请实施例的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。
应理解,本申请实施例中提及的处理器可以是中央处理单元(central processing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
还应理解,本申请实施例中提及的存储器可以是易失性存储器和/或非易失性存储器。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM)。例如,RAM可以用作外部高速缓存。作为示例而非限定,RAM可以包括如下多种形式:静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。
需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)可以集成在处理器中。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及步骤,能够以电子硬件、或计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能;这种实现不应认为超出本申请的保护范围。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。此外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。例如,所述计算机可以是个人计算机,服务器,或者网络设备等。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、 无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD)等。例如,前述的可用介质可以包括但不限于:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (27)

  1. 一种配置时隙的方法,其特征在于,应用于第一设备,包括:
    在第一数据帧中为第二数据帧配置第一时隙,所述第二数据帧用于承载业务数据;
    通过第一数据帧的第二时隙的净荷区向第二设备发送第一时隙信息,所述第一时隙信息用于指示所述第二设备配置所述第一时隙,其中,所述第二时隙的净荷区在承载所述第一时隙信息时未承载所述业务数据。
  2. 根据权利要求1所述的方法,其特征在于,所述第一时隙与所述第二时隙为同一时隙。
  3. 根据权利要求1或2所述的方法,其特征在于,所述在第一数据帧中为第二数据帧配置第一时隙,包括:
    在所述第一数据帧中为所述第二数据帧增加所述第一时隙;或者,在所述第一数据帧中为所述第二数据帧删除所述第一时隙。
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述第二时隙的净荷区包括第一指示字段,所述第一指示字段用于指示所述第一时隙被配置为添加或者删除。
  5. 根据权利要求4所述的方法,其特征在于,所述第二时隙的净荷区还包括纠错码,所述纠错码用于纠正所述第一指示字段的传输错误。
  6. 根据权利要求4或5所述的方法,其特征在于,所述第二时隙的净荷区包括16字节,所述第一指示字段为1字节。
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述方法还包括:
    接收来自第二设备的第二时隙信息,所述第二时隙信息用于指示所述第一设备配置第三时隙,所述第二时隙信息承载在所述第一数据帧的第四时隙的净荷区中,其中,所述第四时隙的净荷区在承载所述第二时隙信息时未承载所述业务数据。
  8. 根据权利要求7所述的方法,其特征在于,所述第三时隙与所述第四时隙为同一时隙。
  9. 根据权利要求7或8所述的方法,其特征在于,所述第四时隙的净荷区包括第二指示字段,所述第二指示字段用于指示所述第三时隙被配置为添加或者删除。
  10. 根据权利要求9所述的方法,其特征在于,所述第四时隙的净荷区还包括纠错码,所述纠错码用于纠正所述第二指示字段的传输错误。
  11. 根据权利要求9或10所述的方法,其特征在于,所述第四时隙的净荷区包括16字节,所述第二指示字段为1字节。
  12. 根据权利要求1至11中任一项所述的方法,其特征在于,所述方法还包括:
    接收配置信息,所述配置信息用于指示在所述第一数据帧中为所述第二数据帧配置所述第一时隙;
    其中,所述在第一数据帧中为第二数据帧配置第一时隙,包括:
    根据所述配置信息在所述第一数据帧中为所述第二数据帧配置所述第一时隙。
  13. 根据权利要求1所述的方法,其特征在于,
    确定将所述第二数据帧的带宽从第一带宽增大为第二带宽时,所述在所述第一数据帧中为所述第二数据帧配置所述第一时隙包括:在所述第一数据帧中为所述第二数据帧 增加所述第一时隙为接收时隙,所述方法还包括:
    从所述第二设备接收第一带宽信息,所述第一带宽信息用于指示所述第二设备的发送带宽。
  14. 根据权利要求13所述的方法,其特征在于,所述方法还包括:
    接收来自第二设备的第二时隙信息,所述第二时隙信息用于指示所述第一设备增加第三时隙,所述第二时隙信息承载在所述第一数据帧的第四时隙的净荷区中,其中,所述第四时隙的净荷区在承载所述第二时隙信息时未承载所述业务数据;
    在所述第一数据帧中为所述第二数据帧增加所述第三时隙为发送时隙;
    向所述第二设备发送第二带宽信息,所述第二带宽信息用于指示所述第一设备的发送带宽。
  15. 根据权利要求13或14所述的方法,其特征在于,所述方法还包括:
    所述第二带宽与所述第二设备的发送带宽不同时,生成告警开始信息;
    向网管设备上报所述告警开始信息,所述告警开始信息用于指示告警开始。
  16. 根据权利要求15所述的方法,其特征在于,所述方法还包括:
    所述第二带宽与所述第二设备的发送带宽相同时,生成告警结束信息;
    向网管设备上报所述告警结束信息,所述告警结束信息用于指示告警结束。
  17. 根据权利要求1所述的方法,其特征在于,
    确定将所述第二数据帧的带宽从第一带宽减小为第二带宽时,所述在所述第一数据帧中为所述第二数据帧配置所述第一时隙包括:在所述第一数据帧中为所述第二数据帧删除所述第一时隙对应的发送时隙,所述方法还包括:
    向第二设备发送第一带宽信息,所述第一带宽信息用于指示所述第一设备的发送带宽。
  18. 根据权利要求17所述的方法,其特征在于,所述方法还包括:
    接收来自第二设备的第二时隙信息,净荷区中所述第二时隙信息用于指示所述第一设备删除第三时隙,所述第二时隙信息承载在所述第一数据帧的第四时隙的净荷区中,其中,所述第四时隙的净荷区在承载所述第二时隙信息时未承载所述业务数据;
    在所述第一数据帧中为所述第二数据帧删除所述第三时隙对应的接收时隙;
    从所述第二设备接收第二带宽信息,所述第二带宽信息用于指示所述第二设备的发送带宽。
  19. 根据权利要求17或18所述的方法,其特征在于,所述方法还包括:
    所述第二带宽与所述第二设备的发送带宽不同时,生成告警开始信息;
    向网管设备上报所述告警开始信息,所述告警开始信息用于指示告警开始。
  20. 根据权利要求15所述的方法,其特征在于,所述方法还包括:
    所述第二带宽与所述第二设备的发送带宽相同时,生成告警结束信息;
    向网管设备上报所述告警结束信息,所述告警结束信息用于指示告警结束。
  21. 根据权利要求13或17所述的方法,其特征在于,所述方法还包括:
    接收带宽指示信息,所述带宽指示信息用于指示所述第二带宽。
  22. 一种配置时隙的系统,其特征在于,包括:第一设备和第二设备,其中:
    所述第一设备,用于在第一数据帧中为第二数据帧配置第一时隙,并通过第一数据 帧的第二时隙的净荷区向第二设备发送第一时隙信息,其中,所述第二数据帧用于承载业务数据,所述第一时隙信息用于指示所述第二设备配置所述第一时隙,所述第二时隙的净荷区在承载所述第一时隙信息时未承载所述业务数据;
    所述第二设备,用于接收所述第一时隙信息,并根据所述第一时隙信息在所述第一数据帧中为所述第二数据帧配置所述第一时隙。
  23. 根据权利要求22所述的系统,其特征在于,所述在第一数据帧中为第二数据帧配置第一时隙,包括:
    在所述第一数据帧中为所述第二数据帧增加所述第一时隙;或者,在所述第一数据帧中为所述第二数据帧删除所述第一时隙。
  24. 根据权利要求22或23所述的系统,其特征在于,
    所述第二设备,还用于在第一数据帧中为第二数据帧配置第三时隙,并向第一设备发送第二时隙信息,其中,所述第二数据帧用于承载业务数据,所述第二时隙信息承载在所述第一数据帧的第四时隙的净荷区中,所述第二时隙信息用于指示所述第一设备配置第三时隙,所述第四时隙的净荷区在承载所述第二时隙信息时未承载所述业务数据;
    所述第一设备,还用于接收所述第二时隙信息,并根据所述第二时隙信息在所述第一数据帧中为所述第二数据帧配置所述第三时隙。
  25. 根据权利要求24所述的系统,其特征在于,
    所述第一设备确定将所述第二数据帧的带宽从第一带宽增大为第二带宽时,
    其中,所述第一设备在所述第一数据帧中为所述第二数据帧配置所述第一时隙包括:所述第一设备在所述第一数据帧中为所述第二数据帧增加所述第一时隙为接收时隙;
    所述第二设备根据所述第一时隙信息在所述第一数据帧中为所述第二数据帧配置所述第一时隙,包括:所述第二设备根据所述第一时隙信息在所述第一数据帧中为所述第二数据帧增加所述第一时隙为发送时隙;
    所述第二设备在第一数据帧中为第二数据帧配置第三时隙,包括:所述第二设备在所述第一数据帧中为所述第二数据帧增加所述第三时隙为接收时隙;
    所述第一设备根据所述第二时隙信息在所述第一数据帧中为所述第二数据帧配置所述第三时隙,包括:所述第一设备根据所述第二时隙信息在所述第一数据帧中为所述第二数据帧增加所述第三时隙为发送时隙;
    所述第二设备,还用于向所述第一设备发送第一带宽信息,所述第一带宽信息用于指示所述第二设备的发送带宽;
    所述第一设备,还用于接收所述第一带宽信息,并根据所述第一带宽信息确定所述第二设备的发送带宽,以及向所述第二设备发送第二带宽信息,所述第二带宽信息用于指示所述第一设备的发送带宽;
    所述第二设备,还用于接收所述第二带宽信息,并根据所述第二带宽信息确定所述第一设备的发送带宽。
  26. 根据权利要求24所述的系统,其特征在于,
    所述第一设备确定将所述第二数据帧的带宽从第一带宽减小为第二带宽时,
    其中,所述第一设备在所述第一数据帧中为所述第二数据帧配置所述第一时隙包括:所述第一设备在所述第一数据帧中为所述第二数据帧删除所述第一时隙对应的发送时隙;
    所述第二设备根据所述第一时隙信息在所述第一数据帧中为所述第二数据帧配置所述第一时隙,包括:所述第二设备根据所述第一时隙信息在所述第一数据帧中为所述第二数据帧删除所述第一时隙对应的接收时隙;
    所述第二设备在第一数据帧中为第二数据帧配置第三时隙,包括:所述第二设备在所述第一数据帧中为所述第二数据帧删除所述第三时隙对应的发送时隙,
    所述第一设备根据所述第二时隙信息在所述第一数据帧中为所述第二数据帧配置所述第三时隙,包括:所述第一设备根据所述第二时隙信息在所述第一数据帧中为所述第二数据帧删除所述第三时隙对应的接收时隙;
    所述第一设备,还用于向所述第二设备发送第一带宽信息,所述第一带宽信息用于指示所述第一设备的发送带宽;
    所述第二设备,还用于接收所述第一带宽信息,并根据所述第一带宽信息确定所述第一设备的发送带宽,以及向所述第一设备发送第二带宽信息,所述第二带宽信息用于指示所述第二设备的发送带宽;
    所述第一设备,还用于接收所述第二带宽信息,并根据所述第二带宽信息确定所述第二设备的发送带宽。
  27. 一种芯片,其特征在于,所述芯片包括处理器和通信接口,所述通信接口用于接收数据帧并传输至所述处理器或将数据帧发送给包括所述芯片的通信装置之外的其他通信装置,所述处理器用于执行如权利要求1至21中任一项所述的方法。
PCT/CN2023/103121 2022-07-01 2023-06-28 一种配置时隙的方法、装置和系统 WO2024002146A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210768786.6 2022-07-01
CN202210768786.6A CN117376740A (zh) 2022-07-01 2022-07-01 一种配置时隙的方法、装置和系统

Publications (1)

Publication Number Publication Date
WO2024002146A1 true WO2024002146A1 (zh) 2024-01-04

Family

ID=89383064

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/103121 WO2024002146A1 (zh) 2022-07-01 2023-06-28 一种配置时隙的方法、装置和系统

Country Status (2)

Country Link
CN (1) CN117376740A (zh)
WO (1) WO2024002146A1 (zh)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030123472A1 (en) * 2001-12-28 2003-07-03 Akara Corporation Method and apparatus for in-service dynamic allocation of bandwidth in a TDM network
CN101516111A (zh) * 2008-02-21 2009-08-26 中兴通讯股份有限公司 资源分配方法及系统
US20120082455A1 (en) * 2010-10-05 2012-04-05 Bardalai Snigdho C TE-Link Bandwidth Model for ODU Switch Capable OTN Interfaces
US20160119075A1 (en) * 2014-10-24 2016-04-28 Ciena Corporation Flexible ethernet and multi link gearbox mapping procedure to optical transport network
CN109714825A (zh) * 2017-10-25 2019-05-03 普天信息技术有限公司 资源调度的时域指示方法及装置
CN112804078A (zh) * 2020-07-23 2021-05-14 中兴通讯股份有限公司 带宽调整方法、业务传输方法、网络设备和可读存储介质
CN113395613A (zh) * 2020-03-11 2021-09-14 华为技术有限公司 一种业务承载的方法、装置和系统

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030123472A1 (en) * 2001-12-28 2003-07-03 Akara Corporation Method and apparatus for in-service dynamic allocation of bandwidth in a TDM network
CN101516111A (zh) * 2008-02-21 2009-08-26 中兴通讯股份有限公司 资源分配方法及系统
US20120082455A1 (en) * 2010-10-05 2012-04-05 Bardalai Snigdho C TE-Link Bandwidth Model for ODU Switch Capable OTN Interfaces
US20160119075A1 (en) * 2014-10-24 2016-04-28 Ciena Corporation Flexible ethernet and multi link gearbox mapping procedure to optical transport network
CN109714825A (zh) * 2017-10-25 2019-05-03 普天信息技术有限公司 资源调度的时域指示方法及装置
CN113395613A (zh) * 2020-03-11 2021-09-14 华为技术有限公司 一种业务承载的方法、装置和系统
CN112804078A (zh) * 2020-07-23 2021-05-14 中兴通讯股份有限公司 带宽调整方法、业务传输方法、网络设备和可读存储介质

Also Published As

Publication number Publication date
CN117376740A (zh) 2024-01-09

Similar Documents

Publication Publication Date Title
RU2500080C2 (ru) СПОСОБ РЕГУЛИРОВКИ ПОЛОСЫ ПРОПУСКАНИЯ КАНАЛА ODUflex БЕЗ ПОТЕРЬ И КАНАЛ ODUflex
WO2018090856A1 (zh) 用于建立灵活以太网群组的方法和设备
JP6562435B2 (ja) プロテクション切替方法およびノード
US20170005746A1 (en) Method, Apparatus and System for Processing Flexible-Rate Signal
US11381335B2 (en) Method and apparatus for spectrum defragmentation, device, and system
US12021615B2 (en) Data processing method, optical transmission device, and digital processing chip
EP2388964A1 (en) Method and device for transmitting and receiving service data
WO2022170830A1 (zh) 一种通信方法、设备和芯片系统
US20230209517A1 (en) Resource Configuration Method and Communication Apparatus
WO2024002146A1 (zh) 一种配置时隙的方法、装置和系统
US20230051477A1 (en) Service Processing Method and Apparatus
WO2020051851A1 (zh) 光传送网中的数据传输方法及装置
WO2021259121A1 (zh) 一种数据帧的传输方法以及相关设备
CN111447036B (zh) 一种通信方法、装置及系统
WO2024109416A1 (zh) 一种调整带宽的方法、装置和系统
WO2024046465A1 (zh) 一种传输数据的方法和装置
WO2024109580A1 (zh) 数据传输的方法和装置
WO2024109349A1 (zh) 一种传输数据的方法和装置
WO2023231764A1 (zh) 业务数据处理的方法和装置
WO2019011003A1 (zh) 一种光网络中光监控信道处理的方法和装置
WO2024187967A1 (zh) 一种传输时钟信息的方法、装置和系统
CN112398530B (zh) 一种断纤位置的确定方法和装置
WO2023143507A1 (zh) 一种带宽调整方法及装置
WO2024051586A1 (zh) 一种光传送网中的数据帧的处理方法、装置和系统
Taful et al. Dynamic capacity allocation in OTN networks

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: 23830320

Country of ref document: EP

Kind code of ref document: A1