A communication method, device and chip system
By adjusting the number of time slot resources in multiframes, the problem of bandwidth adjustment for small-granularity services in FlexE and MTN technologies has been solved, enabling flexible bandwidth adjustment and efficient service carrying.
Patent Information
- Application Number
- CN202110185075.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-10
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2041-02-10
AI Technical Summary
Existing FlexE and MTN technologies suffer from bandwidth efficiency issues when carrying small-granularity services, especially for services with bandwidth requirements of 10Mbps or 100Mbps, where it is difficult to flexibly adjust bandwidth.
By adjusting the number of time slot resources included in a multiframe, the bandwidth resources corresponding to the multiframe can be adjusted, enabling flexible adjustment of service bandwidth.
It enables flexible bandwidth adjustment, improves the carrying efficiency of small-granularity services, avoids service damage, and reduces signaling load.
Smart Images

Figure CN114915366B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, and more particularly to a communication method, device, and chip system. Background Technology
[0002] With the advent of the 5G era, various new services (such as cloud services and vehicle-to-everything) are emerging, which has put forward new demands on Ethernet technology and led to the development of a variety of technologies, including Flexible Ethernet (FlexE), Metro Transport Network (MTN) and Optical Transport Network (OTN), as well as the small-granularity technology Optical Switching Unit (OSU).
[0003] FlexE is a lightweight enhanced Ethernet technology that supports port bonding and channelization, enabling the construction of end-to-end links. Through port bonding, FlexE supports higher bandwidth, such as bonding eight 100Gbps ports (bps stands for bit / s) to achieve 800Gbps bandwidth. Channelization allows for flexible bandwidth allocation, supporting diverse service rates without being constrained by the tiered rate architecture defined by the IEEE 802.3 standard. Furthermore, FlexE divides a 100Gbps interface into 20 time slots, each with 5Gbps bandwidth, thus supporting N*5Gbps services through time slot allocation. However, because FlexE allocates bandwidth in 5Gbps units, it faces efficiency issues for services with non-5Gbps granularities, including those smaller than 5Gbps.
[0004] MTN, based on FlexE technology, provides functions such as channel forwarding and operation, administration, and maintenance (OAM). Its time slot allocation, like FlexE, is in 5Gbps granularity, thus also facing issues with transport efficiency, especially for small-granularity services, such as those requiring 10Mbps or 100Mbps bandwidth.
[0005] Ethereum hard leased line technology builds upon MTN / FlexE technology, providing finer-grained pipeline bandwidth. Typically, a 5Gbps timeslot granularity channel in MTN / FlexE is called a large-granularity pipeline. Small-granularity services are carried within the large-granularity pipeline, meaning each small-granularity service occupies one 5Gbps slot. The minimum bandwidth for a small-granularity service is 10Mbps, and the 5Gbps large-granularity pipeline provides 480 small-granularity timeslots to carry such services.
[0006] In practical applications, the bandwidth requirements of large-granularity or small-granularity services may change, and there is an urgent need for a solution for bandwidth adjustment. Summary of the Invention
[0007] This application provides a communication method, device, and chip system for adjusting the bandwidth resources corresponding to a multiframe by adjusting the number of time slot resources included in the multiframe.
[0008] In a first aspect, this application provides a communication method in which a first communication device sends a first request message to request an adjustment of the number of basic frames in a multiframe comprising a second code block sequence. The first communication device, based on S1 time slot resources corresponding to the adjusted multiframe in the second code block sequence, and the correspondence between the time slot resources in the S1 time slot resources and Q1 first code block sequences, multiplexes the Q1 first code block sequences to obtain the second code block sequence; where Q1 is a positive integer. The first communication device then sends the second code block sequence. Thus, since the number of basic frames in a multiframe can be adjusted, i.e., the number of time slot resources corresponding to the data carried in a multiframe can be adjusted, i.e., the bandwidth corresponding to a multiframe can be adjusted, and further, based on the adjusted bandwidth corresponding to the multiframe, the bandwidth of the service corresponding to that multiframe can be further adjusted.
[0009] In one possible implementation, one of the Q1 first code block sequences may originate from the services of one customer or from the services of multiple customers.
[0010] In this embodiment of the application, the bandwidth corresponding to a time slot resource can be a preset value, such as 5Gbps or 10Mbps, and no limitation is made in this embodiment of the application.
[0011] In one possible implementation, a multiframe refers to a data segment within a data stream. A multiframe includes at least one basic frame. A basic frame refers to a data segment within the data segment corresponding to a multiframe.
[0012] In this embodiment, the second code block sequence is obtained by multiplexing the first code block sequence according to the correspondence between each time slot resource and the first code block sequence. The data in a multiframe of the second code block sequence originates from the data corresponding to all time slot resources corresponding to the second code block sequence. A multiframe includes at least one basic frame. A basic frame is used to carry data from at least one client corresponding to a time slot resource.
[0013] In one possible implementation, a multiframe includes at least one base frame, wherein the time slot resources corresponding to the data in a base frame are a portion of the total time slot resources corresponding to a multiframe.
[0014] In one possible implementation, a multiframe includes at least one base frame, and a base frame includes client data corresponding to a preset fixed number of time slot resources. The two base frames in a multiframe are, for example, referred to as a first base frame and a second base frame, and any time slot resource corresponding to the first base frame is different from any time slot resource corresponding to the second base frame.
[0015] A basic frame carries data corresponding to K0 time slot resources. The number of basic frames included in a multiframe is equal to the quotient of the total number of time slot resources S1 and K0.
[0016] In this embodiment, the total number of time slot resources corresponding to a multiframe after bandwidth adjustment is adjusted from S2 to S1. Therefore, the number of basic frames included in a multiframe after bandwidth adjustment is adjusted from the quotient of S2 and K0 to the quotient of S1 and K0.
[0017] In one possible implementation, a basic frame sequentially includes: a header block, K1 data blocks, and one tail block. The first data block following the header block carries overhead information. K1 is a positive integer.
[0018] In one possible implementation, before sending the first request message, the first communication device further includes receiving a bandwidth adjustment message. This bandwidth adjustment message can be sent by other devices, such as a network management device for unified management of devices. The bandwidth adjustment message indicates that the bandwidth corresponding to one or more of the Q1 customers should be adjusted, for example, by increasing or decreasing the bandwidth. The bandwidth adjustment message also indicates the adjusted bandwidth corresponding to the Q1 customers. Based on the bandwidth adjustment message, the first communication device determines that the bandwidth corresponding to the Q1 customers needs adjustment, and then sends the first request message. The first request message requests an adjustment to the number of basic frames in a multiframe, or it can request an adjustment to the number of time slot resources included in a multiframe.
[0019] For example, increasing the bandwidth means that more time slots are available for customers. In this case, due to the increase in time slots, the number of time slots included in the multiframe can also be increased. Furthermore, in order to carry the data corresponding to the increased time slots, the number of basic frames included in the multiframe can be increased.
[0020] For example, when the bandwidth is adjusted to be smaller, it means that the number of time slot resources available to customers is reduced. In this case, due to the reduction in time slot resources, the number of time slot resources included in the multiframe can also be reduced, which in turn reduces the number of basic frames included in the multiframe, thereby achieving the goal of reducing the number of time slot resources included in a multiframe.
[0021] In one possible implementation, when the first request message requests an increase in the number of basic frames in the multiframes included in the second code block sequence: the multiframes in the second code block sequence include a first number of basic frames, the first number being greater than a number threshold, the number threshold being related to the number of time slot resources allocated in a time slot and the number of time slot resources corresponding to the data included in a basic frame. Since the number of basic frames included in a multiframe is greater than the number threshold, more bandwidth can be allocated to the customer.
[0022] In one possible implementation, before multiplexing the Q1 first code block sequences corresponding to the Q1 clients based on the S1 time slot resources to obtain the second code block sequence, the method further includes: adjusting the correspondence between the Q1 clients and the S2 time slot resources to: the correspondence between the Q1 clients and the S1 time slot resources; wherein, the S2 time slot resources are the time slot resources corresponding to the basic frames in the multiframes before adjustment in the second code block sequence; and S2 is a positive integer. The first time slot resources in S2 may be the same as or different from the second time slot resources in S1. Thus, when the number of time slot resources increases, adjusting the correspondence between clients and time slot resources allows clients to be more evenly distributed across the adjusted time slot resources. When the number of time slot resources decreases, adjusting the correspondence between clients and time slot resources allows clients on deleted time slot resources to migrate to retained time slot resources, preventing service disruption.
[0023] To increase the flexibility of the solution, on the one hand, a first request message can be used to instruct the adjustment of the correspondence between the Q1 clients and time slot resources. On the other hand, a new signaling message, namely a second request message, can be defined and sent to instruct the adjustment of the correspondence between the Q1 clients and time slot resources.
[0024] In one possible implementation, where the first request message requests an increase in the number of basic frames in the multiframe comprising the second code block sequence: the second request message is sent after the first request message. In this way, the number of basic frames in the multiframe can be increased first, and then the correspondence between the clients and time slot resources on the adjusted multiframe can be adjusted.
[0025] In one possible implementation, when the first request message is used to request a reduction in the number of basic frames in the multiframe included in the second code block sequence: the second request message is sent before the first request message. In this way, services corresponding to the time slot resources to be deleted in the multiframe can be migrated to the retained time slot resources first, and then the number of basic frames in the multiframe can be reduced, thereby preventing service disruption.
[0026] In one possible implementation, the second request message further includes: indication information for instructing an adjustment strategy to adjust the correspondence between the Q1 clients and time slot resources. Thus, the first communication device and the second communication device can each adjust the correspondence between time slot resources and clients according to the adjustment strategy, thereby reducing the signaling load caused by transmitting time slot resource configuration tables.
[0027] In one possible implementation, the adjustment strategy includes: establishing a correspondence between the customers among the Q1 customers and the time slot resources among the S1 time slot resources according to a first preset rule. This allows all customers and all corresponding time slot resources in the adjusted multiframe to be rearranged, resulting in a more even distribution of customers across the time slot resources.
[0028] In one possible implementation, the adjustment strategy includes: when the first request message is used to request a reduction in the number of basic frames in the multiframes included in the second code block sequence: establishing a correspondence between clients corresponding to occupied time slot resources in the time slot resources to be deleted and idle time slot resources in the time slot resources to be retained, according to a second preset rule; wherein, the time slot resources in the time slot resources to be deleted satisfy the following conditions: the time slot resources are the time slot resources corresponding to the multiframes before adjustment, and the time slot resources are not the time slot resources corresponding to the multiframes after adjustment; the time slot resources in the time slot resources to be retained satisfy the following conditions: the time slot resources are the time slot resources corresponding to the multiframes before adjustment, and the time slot resources are the time slot resources corresponding to the multiframes after adjustment. Since only clients on the time slot resources to be deleted are adjusted, the number of time slot resources that need to have their correspondence with clients adjusted can be reduced.
[0029] In one possible implementation, establishing the correspondence between customers corresponding to occupied time slots in the time slot resources to be deleted and idle time slots in the time slot resources to be retained, according to a second preset rule, includes: setting a first pointer and a second pointer; the first pointer is used to find idle time slots from the time slot resources to be retained according to the sorting of the time slot resources; the second pointer is used to find occupied time slots from the time slot resources to be deleted according to the sorting of the time slot resources; based on the sorting of the idle time slots found by the first pointer, customers corresponding to occupied time slots found sequentially by the second pointer are associated with the idle time slots found by the first pointer. This allows for relatively quick migration of services on time slot resources and prevents any services from being missed.
[0030] In one possible implementation, the first request message further includes: indication information for indicating the maximum index number of the time slot resource corresponding to the data carried in the adjusted multiframe in the second code block sequence. Thus, on the one hand, the second communication device no longer needs to determine the maximum index number of the time slot resource based on the information issued by the network management device; on the other hand, the second communication device can compare it with the maximum index number of the time slot resource determined based on the information issued by the network management device, thereby achieving a verification effect.
[0031] To improve the flexibility of the scheme, in one possible implementation, the indication information used to indicate the maximum index number of the time slot resource corresponding to the data carried in the adjusted multiframe in the second code block sequence is one of the following: the maximum index number of the time slot resource corresponding to the data carried in the adjusted multiframe in the second code block sequence; the total number of time slot resources corresponding to the data carried in the adjusted multiframe in the second code block sequence; the total number of time slot resources corresponding to the data carried in the adjusted multiframe in the second code block sequence and the calculation result of the correction value.
[0032] In one possible implementation, sending the first request message includes sending R1 first sub-request messages; wherein one of the R1 first sub-request messages is used to indicate the correspondence between the time slot resources in the S1 time slot resources corresponding to the adjusted multiframe and the customers in the Q1 customers; R1 is a positive integer. One customer may correspond to one or more time slot resources, and one time slot resource corresponds to one customer. There may be one or more time slot resources in the S1 time slot resources that are not allocated to any customers; in this case, the time slot resource can be referred to as an idle time slot resource or an unoccupied time slot resource. The R1 first sub-request messages are also used to indicate adjusting the number of basic frames in the multiframe included in the second code block sequence according to the number of S1 time slot resources indicated by the R1 first sub-request messages. Thus, by fully distributing the correspondence between time slot resources and customers, the workload of the second communication device can be reduced, and the signaling interaction caused by the inconsistency between the time slot resources and customer correspondence can be reduced.
[0033] In one possible implementation, one of the R1 first sub-request messages further includes indication information indicating whether the first sub-request message is the last of the R1 first sub-request messages. This allows the second communication device to determine whether all the first sub-request messages have been received.
[0034] To be more compatible with existing technologies, in one possible implementation, the first request message is carried in a code block in a multiframe of the second code block sequence for carrying overhead information.
[0035] In one possible implementation, after sending the first request message, the method further includes: receiving a first response message, the first response message indicating that the content requested by the first request message is permitted; and sending a first confirmation message, the first confirmation message indicating that the content requested by the first request message is enabled, starting with a first preset code block. Thus, this handshake negotiation scheme allows both parties to clearly define the starting position for enabling the content requested by the first request message. Furthermore, this handshake method is relatively compatible with existing technologies.
[0036] In one possible implementation, where sending the first request message includes sending R1 first sub-request messages, receiving the first response message includes receiving R1 first sub-response messages; wherein the R1 first sub-request messages correspond one-to-one with the R1 first sub-response messages, and each first sub-response message indicates that the content requested by the corresponding first sub-request message is permitted. This allows the sending side to determine whether the receiving side has missed any first sub-request message.
[0037] It should be noted that the S1 time slot resources in this application can be understood as S1 sub-time slots or S1 time slots. That is, time slot resources can be sub-time slots or time slots.
[0038] Secondly, embodiments of this application provide a communication method, comprising: a second communication device receiving a first request message, the first request message being used to request adjustment of the number of basic frames in a multiframe included in a second code block sequence; the second communication device acquiring a second code block sequence; the second communication device demultiplexing the second code block sequence according to S1 time slot resources corresponding to the adjusted multiframe in the second code block sequence, and the correspondence between the time slot resources in the S1 time slot resources and Q1 first code block sequences, to obtain Q1 first code block sequences; wherein S1 and Q1 are both positive integers. Thus, since the number of basic frames in a multiframe can be adjusted, that is, the number of time slot resources corresponding to the data carried in a multiframe can be adjusted, that is, the bandwidth corresponding to a multiframe can be adjusted, and further, based on the adjusted bandwidth corresponding to the multiframe, the bandwidth of the service corresponding to the multiframe can be further adjusted.
[0039] In one possible implementation, one of the Q1 first code block sequences may originate from the services of one customer or from the services of multiple customers.
[0040] In this embodiment of the application, the bandwidth corresponding to a time slot resource can be a preset value, such as 5Gbps or 10Mbps, and no limitation is made in this embodiment of the application.
[0041] In one possible implementation, a multiframe refers to a data segment within a data stream. A multiframe includes at least one basic frame. A basic frame refers to a data segment within the data segment corresponding to a multiframe.
[0042] In this embodiment, the second code block sequence is obtained by multiplexing the first code block sequence according to the correspondence between each time slot resource and the first code block sequence. The data in a multiframe of the second code block sequence originates from the data corresponding to all time slot resources corresponding to the second code block sequence. A multiframe includes at least one basic frame. A basic frame is used to carry data from at least one client corresponding to a time slot resource.
[0043] In one possible implementation, a multiframe includes at least one base frame, wherein the time slot resources corresponding to the data in a base frame are a portion of the total time slot resources corresponding to a multiframe.
[0044] In one possible implementation, a multiframe includes at least one base frame, and a base frame includes client data corresponding to a preset fixed number of time slot resources. The two base frames in a multiframe are, for example, referred to as a first base frame and a second base frame, and any time slot resource corresponding to the first base frame is different from any time slot resource corresponding to the second base frame.
[0045] In one possible implementation, the second communication device also receives a bandwidth adjustment message, which may be sent by other devices, such as a network management device for unified management of devices. The bandwidth adjustment message indicates an adjustment to the bandwidth corresponding to one or more of the Q1 customers, such as increasing or decreasing the bandwidth. The bandwidth adjustment message also indicates the adjusted bandwidth corresponding to the Q1 customers. Based on the bandwidth adjustment message, the second communication device can determine the number of time slot resources included in an adjusted multiframe, and subsequently determine the number of basic frames included in an adjusted multiframe.
[0046] For example, increasing the bandwidth means that more time slots are available for customers. In this case, due to the increase in time slots, the number of time slots included in the multiframe can also be increased. Furthermore, in order to carry the data corresponding to the increased time slots, the number of basic frames included in the multiframe can be increased.
[0047] For example, when the bandwidth is adjusted to be smaller, it means that the number of time slot resources available to customers is reduced. In this case, due to the reduction in time slot resources, the number of time slot resources included in the multiframe can also be reduced, which in turn reduces the number of basic frames included in the multiframe, thereby achieving the goal of reducing the number of time slot resources included in a multiframe.
[0048] In one possible implementation, when the first request message requests an increase in the number of basic frames in the multiframes included in the second code block sequence: the multiframes in the second code block sequence include a first number of basic frames, which is greater than a number threshold. This number threshold is related to the number of time slot resources allocated in a time slot and the number of time slot resources corresponding to the data included in a basic frame. Since the number of basic frames included in a multiframe is greater than the number threshold, the number of time slot resources included in a multiframe can be greater than the basic value of time slot resources, thereby allowing more bandwidth to be allocated to the customer.
[0049] In one possible implementation, the second communication device adjusts the correspondence between Q1 clients and S2 time slot resources as follows: the correspondence between the Q1 clients and the S2 time slot resources; wherein, the S2 time slot resources are the time slot resources corresponding to the basic frames in the multiframes before adjustment in the second code block sequence; and S2 is a positive integer. One of the S1 time slot resources is one of at least two time slot resources obtained by dividing a time slot. The first time slot resource in S2 may be the same as or different from the second time slot resource in S1. Thus, when the number of time slot resources increases, by adjusting the correspondence between clients and time slot resources, clients can be more evenly distributed across the adjusted time slot resources. When the number of time slot resources decreases, by adjusting the correspondence between clients and time slot resources, clients on deleted time slot resources can be migrated to retained time slot resources, preventing service disruption.
[0050] To increase the flexibility of the solution, on the one hand, a first request message can be used to instruct adjustments to the mapping between the Q1 clients and time slot resources. On the other hand, a new signaling message, namely a second request message, can be defined.
[0051] In one possible implementation, the second communication device further receives a second request message, which is used to instruct the adjustment of the correspondence between the Q1 clients and time slot resources.
[0052] In one possible implementation, where the first request message requests an increase in the number of basic frames in the multiframe comprising the second code block sequence: the second request message is received after the first request message. Thus, the number of basic frames in the multiframe can be increased first, and then the correspondence between clients and time slot resources on the adjusted multiframe can be adjusted.
[0053] In one possible implementation, where the first request message is used to request a reduction in the number of basic frames in the multiframe included in the second code block sequence: the second request message is received before the first request message. In this way, services corresponding to the time slot resources to be deleted in the multiframe can be migrated to the retained time slot resources first, and then the number of basic frames in the multiframe can be reduced, thereby preventing service disruption.
[0054] In one possible implementation, the second request message further includes: indication information for instructing an adjustment strategy to adjust the correspondence between the Q1 clients and time slot resources. Thus, the first communication device and the second communication device can each adjust the correspondence between time slot resources and clients according to the adjustment strategy, thereby reducing the signaling load caused by transmitting time slot resource configuration tables.
[0055] In one possible implementation, the adjustment strategy includes: establishing a correspondence between the customers among the Q1 customers and the time slot resources among the S1 time slot resources according to a first preset rule. This allows all customers and all corresponding time slot resources in the adjusted multiframe to be rearranged, resulting in a more even distribution of customers across the time slot resources.
[0056] In one possible implementation, the adjustment strategy includes: when the first request message is used to request a reduction in the number of basic frames in the multiframes included in the second code block sequence: establishing a correspondence between clients corresponding to occupied time slot resources in the time slot resources to be deleted and idle time slot resources in the time slot resources to be retained, according to a second preset rule; wherein, the time slot resources in the time slot resources to be deleted satisfy the following conditions: the time slot resources are the time slot resources corresponding to the multiframes before adjustment, and the time slot resources are not the time slot resources corresponding to the multiframes after adjustment; the time slot resources in the time slot resources to be retained satisfy the following conditions: the time slot resources are the time slot resources corresponding to the multiframes before adjustment, and the time slot resources are the time slot resources corresponding to the multiframes after adjustment. Since only clients on the time slot resources to be deleted are adjusted, the number of time slot resources that need to have their correspondence with clients adjusted can be reduced.
[0057] In one possible implementation, establishing the correspondence between customers corresponding to occupied time slots in the time slot resources to be deleted and idle time slots in the time slot resources to be retained, according to a second preset rule, includes: setting a first pointer and a second pointer; the first pointer is used to find idle time slots from the time slot resources to be retained according to the sorting of the time slot resources; the second pointer is used to find occupied time slots from the time slot resources to be deleted according to the sorting of the time slot resources; based on the sorting of the idle time slots found by the first pointer, customers corresponding to occupied time slots found sequentially by the second pointer are associated with the idle time slots found by the first pointer. This allows for relatively quick migration of services on time slot resources and prevents any services from being missed.
[0058] In one possible implementation, the first request message further includes: indication information for indicating the maximum index number of the time slot resource corresponding to the data carried in the adjusted multiframe in the second code block sequence. Thus, on the one hand, the second communication device no longer needs to determine the maximum index number of the time slot resource based on the information issued by the network management device; on the other hand, the second communication device can compare it with the maximum index number of the time slot resource determined based on the information issued by the network management device, thereby achieving a verification effect.
[0059] To improve the flexibility of the scheme, in one possible implementation, the indication information used to indicate the maximum index number of the time slot resource corresponding to the data carried in the adjusted multiframe in the second code block sequence is one of the following: the maximum index number of the time slot resource corresponding to the data carried in the adjusted multiframe in the second code block sequence; the total number of time slot resources corresponding to the data carried in the adjusted multiframe in the second code block sequence; the total number of time slot resources corresponding to the data carried in the adjusted multiframe in the second code block sequence and the calculation result of the correction value.
[0060] In one possible implementation, where the first request message further indicates an update to the correspondence between clients and time slot resources: receiving the first request message includes receiving R1 first sub-request messages; wherein, one of the R1 first sub-request messages indicates the correspondence between the time slot resources in the S1 time slot resources corresponding to the adjusted multiframe and the clients in the Q1 clients; R1 is a positive integer; the R1 first sub-request messages further indicate adjusting the number of basic frames in the multiframe included in the second code block sequence according to the number of S1 time slot resources indicated by the R1 first sub-request messages. Thus, by fully distributing the correspondence between time slot resources and clients, the workload of the second communication device can be reduced, and the signaling interaction caused by inconsistencies in the correspondence between time slot resources and clients can be reduced.
[0061] In one possible implementation, one of the R1 first sub-request messages further includes indication information indicating whether the first sub-request message is the last of the R1 first sub-request messages. This allows the second communication device to determine whether all the first sub-request messages have been received.
[0062] To be more compatible with existing technologies, in one possible implementation, the first request message is carried in a code block in a multiframe of the second code block sequence for carrying overhead information.
[0063] In one possible implementation, after receiving the first request message, the method further includes: sending a first response message, the first response message indicating that the content requested by the first request message is permitted; and receiving a first confirmation message, the first confirmation message indicating that the content requested by the first request message is enabled, starting with a first preset code block. Thus, this handshake negotiation scheme allows both parties to clearly define the starting position for enabling the content requested by the first request message. Furthermore, this handshake method is relatively compatible with existing technologies.
[0064] In one possible implementation, where receiving the first request message includes sending R1 first sub-request messages, sending the first response message includes sending R1 first sub-response messages; wherein the R1 first sub-request messages correspond one-to-one with the R1 first sub-response messages, and each first sub-response message indicates that the content requested by the corresponding first sub-request message is permitted. This allows the sending side to determine whether the receiving side has missed any first sub-request message.
[0065] A basic frame carries data corresponding to K0 time slot resources. The number of basic frames included in a multiframe is equal to the quotient of the total number of time slot resources and K0. In this embodiment, after bandwidth adjustment, the total number of time slot resources corresponding to a multiframe is adjusted from S2 to S1. Therefore, the number of basic frames included in a multiframe after bandwidth adjustment is adjusted from the quotient of S2 and K0 to the quotient of S1 and K0.
[0066] In one possible implementation, a basic frame sequentially includes: a header block, K1 data blocks, and one tail block. The first data block following the header block carries overhead information. K1 is a positive integer.
[0067] It should be noted that the S1 time slot resources in this application can be understood as S1 sub-time slots or S1 time slots. That is, time slot resources can be sub-time slots or time slots.
[0068] Thirdly, this application provides a communication method in which a first communication device sends a first request message to request an adjustment of the number of basic frames in a multiframe included in a second code block sequence. The first communication device, based on S1 sub-time slots corresponding to the adjusted multiframe in the second code block sequence, and the correspondence between the sub-time slots and Q1 first code block sequences in the S1 sub-time slots, multiplexes the Q1 first code block sequences to obtain the second code block sequence; Q1 is a positive integer; the first communication device sends the second code block sequence. In this application, one of the Q1 customers can correspond to one or more sub-time slots in the S1 sub-time slots, and one sub-time slot in the S1 sub-time slots corresponds to only one of the Q1 customers. There can also be one or more sub-time slots in the S1 sub-time slots without assigning any customers to them. Since the number of basic frames in a multiframe can be adjusted, the number of time slot resources corresponding to the data carried in a multiframe can be adjusted, which means the bandwidth corresponding to a multiframe can be adjusted. Furthermore, based on the adjusted bandwidth corresponding to the multiframe, the bandwidth of the service corresponding to that multiframe can be further adjusted. It should be noted that the S1 sub-slots are an example of the S1 slot resources mentioned in the first and second aspects above.
[0069] In one possible implementation, one of the Q1 first code block sequences may originate from the service of one customer or from the service of multiple customers. When the S1 time slot resources are sub-time slots, in one possible implementation, the Q1 first code block sequences correspond one-to-one with the Q1 customers.
[0070] In this embodiment of the application, the bandwidth corresponding to a sub-time slot can be a preset value, such as 5Gbps or 10Mbps, and is not limited in this embodiment of the application.
[0071] In one possible implementation, a multiframe refers to a data segment within a data stream. A multiframe includes at least one basic frame. A basic frame refers to a data segment within the data segment corresponding to a multiframe.
[0072] In this embodiment, the second code block sequence is obtained by multiplexing the first code block sequence according to the correspondence between each sub-time slot and the first code block sequence. The data in a multiframe of the second code block sequence originates from the data corresponding to all sub-time slots of the second code block sequence. A multiframe includes at least one basic frame. A basic frame carries data from at least one client corresponding to a sub-time slot.
[0073] In one possible implementation, a multiframe includes at least one base frame, wherein the sub-time slots corresponding to data in a base frame are a portion of the sub-time slots among all the sub-time slots corresponding to a multiframe.
[0074] In one possible implementation, a multiframe includes at least one base frame, and a base frame includes client data corresponding to a predetermined fixed number of sub-time slots. The two base frames in a multiframe are, for example, referred to as the first base frame and the second base frame, and any one of the sub-time slots corresponding to the first base frame is different from any one of the sub-time slots corresponding to the second base frame.
[0075] In one possible implementation, before sending the first request message, the first communication device further includes receiving a bandwidth adjustment message. This bandwidth adjustment message can be sent by other devices, such as a network management device for unified management of devices. The bandwidth adjustment message indicates that the bandwidth corresponding to one or more of the Q1 customers should be adjusted, for example, by increasing or decreasing the bandwidth. The bandwidth adjustment message also indicates the adjusted bandwidth corresponding to the Q1 customers. Based on the bandwidth adjustment message, the first communication device determines that the bandwidth corresponding to the Q1 customers needs adjustment, and then sends the first request message. The first request message requests an adjustment to the number of basic frames in a multiframe, or it can request an adjustment to the number of sub-time slots included in a multiframe.
[0076] For example, when the bandwidth is increased, it means that more sub-time slots can be available for customers. In this case, due to the increase in sub-time slots, the number of sub-time slots included in the multiframe can also be increased. Furthermore, in order to carry the data corresponding to the increased sub-time slots, the number of basic frames included in the multiframe can be increased.
[0077] For example, when the bandwidth is adjusted to be smaller, it means that the number of sub-time slots available to customers is reduced. In this case, due to the reduction in sub-time slots, the number of sub-time slots included in the multiframe can also be reduced, thereby reducing the number of basic frames included in the multiframe, thus achieving the goal of reducing the number of sub-time slots included in a multiframe.
[0078] In one possible implementation, transmitting the second code block sequence includes: a first communication device multiplexing the second code block sequence and the third code block sequence according to the time slot corresponding to the sub-time slot in the adjusted multiframe and the time slot corresponding to the third code block sequence to obtain a fourth code block sequence; one of the S1 sub-time slots is one of at least two sub-time slots obtained by dividing a time slot; S1 and Q1 are both positive integers; the first communication device transmits the fourth code block sequence. In this way, data can be multiplexed in two stages, thereby allocating more suitable small-bandwidth sub-time slots for smaller services.
[0079] In one possible implementation, when the first request message requests an increase in the number of basic frames in the multiframes included in the second code block sequence: the multiframes in the second code block sequence include a first number of basic frames, which is greater than a number threshold. This number threshold is related to the number of sub-time slots divided into a time slot and the number of sub-time slots corresponding to the data included in a basic frame. Because the number of basic frames included in a multiframe is greater than the number threshold, more bandwidth can be allocated to the customer.
[0080] In one possible implementation, the Q1 customers include a first customer and a second customer; at least one sub-time slot corresponding to the first customer is one of at least two sub-time slots obtained by dividing the first time slot; at least one sub-time slot corresponding to the second customer is one of at least two sub-time slots obtained by dividing the second time slot. Thus, it can be seen that the range of sub-time slots allocable to a customer is increased, thereby allowing for the allocation of greater bandwidth to the customer.
[0081] In one possible implementation, before multiplexing the Q1 first code block sequences corresponding to the Q1 clients based on the S1 sub-time slots to obtain the second code block sequence, the method further includes: adjusting the correspondence between the Q1 clients and the S2 sub-time slots to: the correspondence between the Q1 clients and the S1 sub-time slots; wherein the S2 sub-time slots are the sub-time slots corresponding to the basic frames in the pre-adjustment multiframes of the second code block sequence; and S2 is a positive integer. The first sub-time slot in S2 may be the same as or different from the second sub-time slot in S1. Thus, when the number of sub-time slots increases, adjusting the correspondence between clients and sub-time slots allows clients to be more evenly distributed across the adjusted sub-time slots. When the number of sub-time slots decreases, adjusting the correspondence between clients and sub-time slots allows clients on deleted sub-time slots to be migrated to retained sub-time slots, preventing service disruption.
[0082] To increase the flexibility of the solution, on the one hand, a first request message can be used to instruct the adjustment of the correspondence between the Q1 clients and sub-time slots. On the other hand, a new signaling message, namely a second request message, can be defined and sent to instruct the adjustment of the correspondence between the Q1 clients and sub-time slots.
[0083] In one possible implementation, where the first request message is used to request an increase in the number of basic frames in the multiframe comprising the second code block sequence: the second request message is sent after the first request message. In this way, the number of basic frames in the multiframe can be increased first, and then the correspondence between the corresponding clients and sub-slots on the adjusted multiframe can be adjusted.
[0084] In one possible implementation, when the first request message is used to request a reduction in the number of basic frames in the multiframe included in the second code block sequence: the second request message is sent before the first request message. In this way, services corresponding to the sub-slots to be deleted in the multiframe can be migrated to the retained sub-slots first, and then the number of basic frames in the multiframe can be reduced, thereby preventing service disruption.
[0085] In one possible implementation, the second request message further includes: indication information for instructing an adjustment strategy to adjust the correspondence between the Q1 clients and sub-time slots. Thus, the first and second communication devices can each adjust the correspondence between sub-time slots and clients according to the adjustment strategy, thereby reducing the signaling load on both due to the transmission time slot resource configuration table.
[0086] In one possible implementation, the adjustment strategy includes: establishing a correspondence between the customers among the Q1 customers and the sub-time slots among the S1 sub-time slots according to a first preset rule. This allows all customers and all corresponding sub-time slots in the adjusted multiframe to be rearranged, resulting in a more even distribution of customers across the sub-time slots.
[0087] In one possible implementation, the adjustment strategy includes: when the first request message is used to request a reduction in the number of basic frames in the multiframes included in the second code block sequence: establishing a correspondence between clients corresponding to occupied subtime slots in the subtime slots to be deleted and idle subtime slots in the subtime slots to be retained, according to a second preset rule; wherein, the subtime slots in the subtime slots to be deleted satisfy the following conditions: the subtime slot is the subtime slot corresponding to the multiframe before adjustment, and the subtime slot is not the subtime slot corresponding to the multiframe after adjustment; the subtime slots in the subtime slots to be retained satisfy the following conditions: the subtime slot is the subtime slot corresponding to the multiframe before adjustment, and the subtime slot is the subtime slot corresponding to the multiframe after adjustment. Since only clients in the subtime slots to be deleted are adjusted, the number of subtime slots whose correspondence with clients needs to be adjusted can be reduced.
[0088] In one possible implementation, establishing the correspondence between customers corresponding to occupied sub-time slots in the sub-time slots to be deleted and free sub-time slots in the sub-time slots to be retained, according to a second preset rule, includes: setting a first pointer and a second pointer; the first pointer is used to find free sub-time slots from the sub-time slots to be retained according to the order of the sub-time slots; the second pointer is used to find occupied sub-time slots from the sub-time slots to be deleted according to the order of the sub-time slots; and according to the order of the free sub-time slots found by the first pointer, associating customers corresponding to occupied sub-time slots found sequentially by the second pointer with the free sub-time slots found by the first pointer. This allows for relatively quick migration of services on sub-time slots and prevents any services from being missed.
[0089] In one possible implementation, the first request message further includes: indication information for indicating the maximum index number of the sub-time slot corresponding to the data carried in the adjusted multiframe in the second code block sequence. Thus, on the one hand, the second communication device no longer needs to determine the maximum index number of the sub-time slot based on the information issued by the network management device; on the other hand, the second communication device can compare it with the maximum index number of the sub-time slot determined based on the information issued by the network management device, thereby achieving a verification effect.
[0090] To improve the flexibility of the scheme, in one possible implementation, the indication information used to indicate the maximum index number of the sub-time slot corresponding to the data carried in the adjusted multiframe in the second code block sequence is one of the following: the maximum index number of the sub-time slot corresponding to the data carried in the adjusted multiframe in the second code block sequence; the total number of sub-time slots corresponding to the data carried in the adjusted multiframe in the second code block sequence; the total number of sub-time slots corresponding to the data carried in the adjusted multiframe in the second code block sequence and the calculation result of the correction value.
[0091] In one possible implementation, sending the first request message includes sending R1 first sub-request messages; wherein one of the R1 first sub-request messages is used to indicate the correspondence between the sub-time slots in the S1 sub-time slots corresponding to the adjusted multiframe and the customers in the Q1 customers; R1 is a positive integer. One customer may correspond to one or more sub-time slots, and one sub-time slot corresponds to one customer. There may be one or more sub-time slots in the S1 sub-time slots that are not allocated to any customers; in this case, the sub-time slot can be called an idle sub-time slot or an unoccupied sub-time slot. The R1 first sub-request messages are also used to indicate adjusting the number of basic frames in the multiframe included in the second code block sequence according to the number of S1 sub-time slots indicated by the R1 first sub-request messages. Thus, by fully distributing the correspondence between sub-time slots and customers, the workload of the second communication device can be reduced, and the signaling interaction caused by the inconsistency between the correspondence between sub-time slots and customers can be reduced.
[0092] In one possible implementation, one of the R1 first sub-request messages further includes indication information indicating whether the first sub-request message is the last of the R1 first sub-request messages. This allows the second communication device to determine whether all the first sub-request messages have been received.
[0093] To be more compatible with existing technologies, in one possible implementation, the first request message is carried in a code block in a multiframe of the second code block sequence for carrying overhead information.
[0094] In one possible implementation, the first request message carries the first data block following the S-block in the basic frame of the multiframe of the second code block sequence.
[0095] In one possible implementation, the first request message carries an indication of at least one of the following for requesting an adjustment of the number of basic frames in the multiframes included in the second code block sequence: a slot table configuration table field of the first code block; or, an OP code field under the slot configuration table field of the first code block.
[0096] In one possible implementation, the first request message carries an indication of at least one of the following for requesting an adjustment of the number of basic frames in the multiframes included in the second code block sequence: 9 to 12 bits of the first code block; or 37 to 40 bits of the first code block.
[0097] In one possible implementation, after sending the first request message, the method further includes: receiving a first response message, the first response message indicating that the content requested by the first request message is permitted; and sending a first confirmation message, the first confirmation message indicating that the content requested by the first request message is enabled, starting with a first preset code block. Thus, this handshake negotiation scheme allows both parties to clearly define the starting position for enabling the content requested by the first request message. Furthermore, this handshake method is relatively compatible with existing technologies.
[0098] In one possible implementation, where sending the first request message includes sending R1 first sub-request messages, receiving the first response message includes receiving R1 first sub-response messages; wherein the R1 first sub-request messages correspond one-to-one with the R1 first sub-response messages, and each first sub-response message indicates that the content requested by the corresponding first sub-request message is permitted. This allows the sending side to determine whether the receiving side has missed any first sub-request message.
[0099] To better compatibility with existing technologies, in one possible implementation, the base frame is used to carry data corresponding to 24 sub-time slots. In one possible implementation, the bandwidth corresponding to one sub-time slot is 10 Mbps. In one possible implementation, one time slot is divided into 480 sub-time slots. In one possible implementation, the first quantity is related to: the number of sub-time slots divided from N2 time slots, and the number of sub-time slots corresponding to the data included in one base frame; wherein, N2 is the total number of time slots to which the sub-time slots corresponding to the Q1 clients belong, and N2 is an integer greater than 1. In one possible implementation, the number of sub-time slots in any two time slots of the N2 time slots is equal; the value of the first quantity is equal to: N2 times the quantity threshold. In one possible implementation, the quantity threshold is: the quotient of the total number of sub-time slots divided from one time slot and the number of sub-time slots corresponding to the data included in one base frame.
[0100] A basic frame carries data corresponding to K0 sub-time slots. The number of basic frames included in a multiframe is equal to the quotient of the total number of sub-time slots and K0. In this embodiment, after bandwidth adjustment, the total number of sub-time slots corresponding to a multiframe is adjusted from S2 to S1. Therefore, the number of basic frames included in a multiframe after bandwidth adjustment is adjusted from the quotient of S2 and K0 to the quotient of S1 and K0. It should be noted that in this embodiment, both sub-time slots and time slots belong to time slot resources. In this implementation, the S2 time slot resources mentioned above are S1 sub-time slots, and the S1 time slot resources are S1 sub-time slots.
[0101] In one possible implementation, a basic frame sequentially includes: a header block, K1 data blocks, and one tail block. The first data block following the header block carries overhead information. K1 is a positive integer. In one possible implementation, K1 is 195.
[0102] Fourthly, embodiments of this application provide a communication method, comprising: a second communication device receiving a first request message, the first request message being used to request adjustment of the number of basic frames in a multiframe included in a second code block sequence; the second communication device acquiring a second code block sequence; the second communication device demultiplexing the second code block sequence according to S1 sub-time slots corresponding to the adjusted multiframe in the second code block sequence, and the correspondence between the sub-time slots in the S1 sub-time slots and Q1 first code block sequences, to obtain the Q1 first code block sequences; wherein S1 and Q1 are both positive integers. Thus, since the number of basic frames in a multiframe can be adjusted, that is, the number of time slot resources corresponding to the data carried in a multiframe can be adjusted, that is, the bandwidth corresponding to a multiframe can be adjusted, and further, based on the adjusted bandwidth corresponding to the multiframe, the bandwidth of the service corresponding to the multiframe can be further adjusted. It should be noted that the S1 sub-time slots are an example of the S1 time slot resources in the aforementioned first and second aspects.
[0103] In one possible implementation, one of the Q1 first code block sequences may originate from the service of one customer or from the service of multiple customers. When the S1 time slot resources are sub-time slots, in one possible implementation, the Q1 first code block sequences correspond one-to-one with the Q1 customers.
[0104] In this embodiment of the application, the bandwidth corresponding to a sub-time slot can be a preset value, such as 5Gbps or 10Mbps, and is not limited in this embodiment of the application.
[0105] In one possible implementation, a multiframe refers to a data segment within a data stream. A multiframe includes at least one basic frame. A basic frame refers to a data segment within the data segment corresponding to a multiframe.
[0106] In this embodiment, the second code block sequence is obtained by multiplexing the first code block sequence according to the correspondence between each sub-time slot and the first code block sequence. The data in a multiframe of the second code block sequence originates from the data corresponding to all sub-time slots of the second code block sequence. A multiframe includes at least one basic frame. A basic frame carries data from at least one client corresponding to a sub-time slot.
[0107] In one possible implementation, a multiframe includes at least one base frame, wherein the sub-time slots corresponding to data in a base frame are a portion of the sub-time slots among all the sub-time slots corresponding to a multiframe.
[0108] In one possible implementation, a multiframe includes at least one base frame, and a base frame includes client data corresponding to a predetermined fixed number of sub-time slots. The two base frames in a multiframe are, for example, referred to as the first base frame and the second base frame, and any one of the sub-time slots corresponding to the first base frame is different from any one of the sub-time slots corresponding to the second base frame.
[0109] In one possible implementation, the second communication device also receives a bandwidth adjustment message, which may be sent by other devices, such as a network management device for unified management of devices. The bandwidth adjustment message indicates an adjustment to the bandwidth corresponding to one or more of the Q1 customers, such as increasing or decreasing the bandwidth. The bandwidth adjustment message also indicates the adjusted bandwidth corresponding to the Q1 customers. Based on the bandwidth adjustment message, the second communication device can determine the number of sub-time slots included in an adjusted multiframe, and subsequently determine the number of basic frames included in an adjusted multiframe.
[0110] For example, when the bandwidth is increased, it means that more sub-time slots can be available for customers. In this case, due to the increase in sub-time slots, the number of sub-time slots included in the multiframe can also be increased. Furthermore, in order to carry the data corresponding to the increased sub-time slots, the number of basic frames included in the multiframe can be increased.
[0111] For example, when the bandwidth is adjusted to be smaller, it means that the number of sub-time slots available to customers is reduced. In this case, due to the reduction in sub-time slots, the number of sub-time slots included in the multiframe can also be reduced, thereby reducing the number of basic frames included in the multiframe, thus achieving the goal of reducing the number of sub-time slots included in a multiframe.
[0112] In one possible implementation, the second communication device receives a fourth code block sequence; the second communication device demultiplexes the fourth code block sequence according to the time slot corresponding to the sub-time slot in the adjusted multiframe in the second code block sequence and the time slot corresponding to the third code block sequence, to obtain the second code block sequence and the third code block sequence; in this way, data can be multiplexed in two stages, thereby allocating more suitable small bandwidth sub-time slots for smaller services.
[0113] In one possible implementation, when the first request message requests an increase in the number of basic frames in the multiframes included in the second code block sequence: the multiframes in the second code block sequence include a first number of basic frames, which is greater than a number threshold. This number threshold is related to the number of sub-time slots divided into a time slot and the number of sub-time slots corresponding to the data included in a basic frame. Since the number of basic frames included in a multiframe is greater than the number threshold, the number of time slot resources included in a multiframe can be greater than the basic value of time slot resources, thereby allowing more bandwidth to be allocated to the customer.
[0114] In one possible implementation, the Q1 customers include a first customer and a second customer; at least one sub-time slot corresponding to the first customer is one of at least two sub-time slots obtained by dividing the first time slot; at least one sub-time slot corresponding to the second customer is one of at least two sub-time slots obtained by dividing the second time slot. Thus, it can be seen that the range of sub-time slots allocable to a customer is increased, thereby allowing for the allocation of greater bandwidth to the customer.
[0115] In one possible implementation, before demultiplexing the fourth code block sequence according to the time slots corresponding to the sub-time slots in the adjusted multiframe of the second code block sequence and the time slots corresponding to the third code block sequence to obtain the second code block sequence and the third code block sequence, the method further includes: adjusting the correspondence between Q1 clients and S2 sub-time slots to: the correspondence between the Q1 clients and the S1 sub-time slots; wherein, the S2 sub-time slots are the sub-time slots corresponding to the basic frames in the pre-adjustment multiframe of the second code block sequence; and S2 is a positive integer. One of the S1 sub-time slots is one of at least two sub-time slots obtained by dividing a time slot. The first sub-time slot in S2 may be the same as or different from the second sub-time slot in S1. Thus, when the number of sub-time slots increases, by adjusting the correspondence between clients and sub-time slots, clients can be more evenly distributed across the adjusted sub-time slots. When the number of sub-time slots decreases, by adjusting the correspondence between customers and sub-time slots, customers on the deleted sub-time slots can be migrated to the retained sub-time slots, which can prevent business losses.
[0116] To increase the flexibility of the solution, on the one hand, a first request message can be used to instruct adjustments to the correspondence between the Q1 clients and sub-time slots. On the other hand, a new signaling message, namely a second request message, can be defined.
[0117] In one possible implementation, before demultiplexing the fourth code block sequence according to the time slot corresponding to the sub-time slot in the adjusted multiframe in the second code block sequence and the time slot corresponding to the third code block sequence to obtain the second code block sequence and the third code block sequence, the method further includes: receiving a second request message, the second request message being used to indicate the adjustment of the correspondence between the Q1 clients and the sub-time slots.
[0118] In one possible implementation, where the first request message requests an increase in the number of basic frames in the multiframe comprising the second code block sequence: the second request message is received after the first request message. Thus, the number of basic frames in the multiframe can be increased first, and then the correspondence between clients and sub-slots on the adjusted multiframe can be adjusted.
[0119] In one possible implementation, where the first request message is used to request a reduction in the number of basic frames in the multiframe comprising the second code block sequence: the second request message is received before the first request message. In this way, services corresponding to the sub-slots to be deleted in the multiframe can be migrated to the retained sub-slots first, and then the number of basic frames in the multiframe can be reduced, thereby preventing service disruption.
[0120] In one possible implementation, the second request message further includes: indication information for instructing an adjustment strategy to adjust the correspondence between the Q1 clients and sub-time slots. Thus, the first and second communication devices can each adjust the correspondence between sub-time slots and clients according to the adjustment strategy, thereby reducing the signaling load on both due to the transmission time slot resource configuration table.
[0121] In one possible implementation, the adjustment strategy includes: establishing a correspondence between the customers among the Q1 customers and the sub-time slots among the S1 sub-time slots according to a first preset rule. This allows all customers and all corresponding sub-time slots in the adjusted multiframe to be rearranged, resulting in a more even distribution of customers across the sub-time slots.
[0122] In one possible implementation, the adjustment strategy includes: when the first request message is used to request a reduction in the number of basic frames in the multiframes included in the second code block sequence: establishing a correspondence between clients corresponding to occupied subtime slots in the subtime slots to be deleted and idle subtime slots in the subtime slots to be retained, according to a second preset rule; wherein, the subtime slots in the subtime slots to be deleted satisfy the following conditions: the subtime slot is the subtime slot corresponding to the multiframe before adjustment, and the subtime slot is not the subtime slot corresponding to the multiframe after adjustment; the subtime slots in the subtime slots to be retained satisfy the following conditions: the subtime slot is the subtime slot corresponding to the multiframe before adjustment, and the subtime slot is the subtime slot corresponding to the multiframe after adjustment. Since only clients in the subtime slots to be deleted are adjusted, the number of subtime slots whose correspondence with clients needs to be adjusted can be reduced.
[0123] In one possible implementation, establishing the correspondence between customers corresponding to occupied sub-time slots in the sub-time slots to be deleted and free sub-time slots in the sub-time slots to be retained, according to a second preset rule, includes: setting a first pointer and a second pointer; the first pointer is used to find free sub-time slots from the sub-time slots to be retained according to the order of the sub-time slots; the second pointer is used to find occupied sub-time slots from the sub-time slots to be deleted according to the order of the sub-time slots; and according to the order of the free sub-time slots found by the first pointer, associating customers corresponding to occupied sub-time slots found sequentially by the second pointer with the free sub-time slots found by the first pointer. This allows for relatively quick migration of services on sub-time slots and prevents any services from being missed.
[0124] In one possible implementation, the first request message further includes: indication information for indicating the maximum index number of the sub-time slot corresponding to the data carried in the adjusted multiframe in the second code block sequence. Thus, on the one hand, the second communication device no longer needs to determine the maximum index number of the sub-time slot based on the information issued by the network management device; on the other hand, the second communication device can compare it with the maximum index number of the sub-time slot determined based on the information issued by the network management device, thereby achieving a verification effect.
[0125] To improve the flexibility of the scheme, in one possible implementation, the indication information used to indicate the maximum index number of the sub-time slot corresponding to the data carried in the adjusted multiframe in the second code block sequence is one of the following: the maximum index number of the sub-time slot corresponding to the data carried in the adjusted multiframe in the second code block sequence; the total number of sub-time slots corresponding to the data carried in the adjusted multiframe in the second code block sequence; the total number of sub-time slots corresponding to the data carried in the adjusted multiframe in the second code block sequence and the calculation result of the correction value.
[0126] In one possible implementation, where the first request message further indicates an update to the correspondence between clients and sub-time slots: receiving the first request message includes receiving R1 first sub-request messages; wherein, one of the R1 first sub-request messages indicates the correspondence between the sub-time slots in the S1 sub-time slots corresponding to the adjusted multiframe and the clients in the Q1 clients; R1 is a positive integer; the R1 first sub-request messages further indicate adjusting the number of basic frames in the multiframe included in the second code block sequence according to the number of S1 sub-time slots indicated by the R1 first sub-request messages. Thus, by fully distributing the correspondence between sub-time slots and clients, the workload of the second communication device can be reduced, and the signaling interaction caused by inconsistencies in the correspondence between sub-time slots and clients can be reduced.
[0127] In one possible implementation, one of the R1 first sub-request messages further includes indication information indicating whether the first sub-request message is the last of the R1 first sub-request messages. This allows the second communication device to determine whether all the first sub-request messages have been received.
[0128] To better compatibility with existing technologies, in one possible implementation, the first request message carries a code block in a multiframe within the second code block sequence that carries overhead information. In another possible implementation, the first request message carries the first data code block following the S code block in the basic frames included in the adjusted multiframe. In yet another possible implementation, in the first request message, indication information for requesting an adjustment of the number of basic frames in the multiframes included in the second code block sequence is carried in at least one of the following: a slot configuration table field of the first code block; or, an OP code field under the slot configuration table field of the first code block.
[0129] In one possible implementation, the first indication information is carried in at least one of the following: 9 to 12 bits of the first code block; or 37 to 40 bits of the first code block.
[0130] In one possible implementation, after receiving the first request message, the method further includes: sending a first response message, the first response message indicating that the content requested by the first request message is permitted; and receiving a first confirmation message, the first confirmation message indicating that the content requested by the first request message is enabled, starting with a first preset code block. Thus, this handshake negotiation scheme allows both parties to clearly define the starting position for enabling the content requested by the first request message. Furthermore, this handshake method is relatively compatible with existing technologies.
[0131] In one possible implementation, where receiving the first request message includes sending R1 first sub-request messages, sending the first response message includes sending R1 first sub-response messages; wherein the R1 first sub-request messages correspond one-to-one with the R1 first sub-response messages, and each first sub-response message indicates that the content requested by the corresponding first sub-request message is permitted. This allows the sending side to determine whether the receiving side has missed any first sub-request message.
[0132] To better compatibility with existing technologies, in one possible implementation, the base frame is used to carry data corresponding to 24 sub-time slots. In one possible implementation, the bandwidth corresponding to one sub-time slot is 10 Mbps. In one possible implementation, one time slot is divided into 480 sub-time slots. In one possible implementation, the first quantity is related to: the number of sub-time slots divided from N2 time slots, and the number of sub-time slots corresponding to the data included in one base frame; wherein, N2 is the total number of time slots to which the sub-time slots corresponding to the Q1 clients belong. In one possible implementation, the number of sub-time slots in any two time slots of the N2 time slots is equal; the value of the first quantity is equal to: N2 times the quantity threshold. In one possible implementation, the quantity threshold is: the quotient of the total number of sub-time slots divided from one time slot and the number of sub-time slots corresponding to the data included in one base frame.
[0133] A basic frame carries data corresponding to K0 sub-time slots. The number of basic frames included in a multiframe is equal to the quotient of the total number of sub-time slots and K0. In this embodiment, after bandwidth adjustment, the total number of sub-time slots corresponding to a multiframe is adjusted from S2 to S1. Therefore, the number of basic frames included in a multiframe after bandwidth adjustment is adjusted from the quotient of S2 and K0 to the quotient of S1 and K0. It should be noted that in this embodiment, both sub-time slots and time slots belong to time slot resources. In this implementation, the S2 time slot resources mentioned above are S1 sub-time slots, and the S1 time slot resources are S1 sub-time slots.
[0134] In one possible implementation, a basic frame sequentially includes: a header block, K1 data blocks, and one tail block. The first data block following the header block carries overhead information. K1 is a positive integer. In one possible implementation, K1 is 195.
[0135] Corresponding to any of the communication methods in the first to fourth aspects, this application also provides a communication device. The communication device can be any device of a transmitting end (such as the first communication device) or a receiving end (such as the second communication device) that transmits data wirelessly or via wired means. For example, it can be a communication chip or a network device. During communication, the transmitting end device and the receiving end device are relative to each other. In some communication processes, the communication device (such as the first or second communication device) can function as the aforementioned network device or a communication chip that can be used in a network device.
[0136] Fifthly, a communication device is provided, which is either the first or second communication device described above. It includes a communication unit and a processing unit to execute any embodiment of any of the communication methods described in the first to fourth aspects. The communication unit is used to perform functions related to sending and receiving. Optionally, the communication unit includes a receiving unit and a sending unit. In one design, the communication device is a communication chip, and the communication unit can be the input / output circuit or port of the communication chip.
[0137] In another design, the communication unit can be a transmitter and a receiver, or the communication unit can be a transmitter and a receiver.
[0138] Optionally, the communication device may further include modules that can be used to perform any of the communication methods described in the first to fourth aspects.
[0139] Sixthly, a communication device is provided, which is either the first or second communication device described above. It includes a processor and a memory. Optionally, it also includes a transceiver. The memory stores computer programs or instructions, and the processor retrieves and executes the computer programs or instructions from the memory. When the processor executes the computer programs or instructions in the memory, the communication device performs any implementation of any of the communication methods described in the first to fourth aspects.
[0140] Optionally, there may be one or more processors and one or more memories.
[0141] Optionally, the memory can be integrated with the processor, or the memory can be set up separately from the processor.
[0142] Optionally, the transceiver may include a transmitter and a receiver.
[0143] A seventh aspect provides a communication device, which is either the first or second communication device described above. It includes a processor. The processor is coupled to a memory and can be used to execute any one of the first to fourth aspects, and the methods in any possible implementation of the first to fourth aspects. Optionally, the communication device further includes a memory. Optionally, the communication device further includes a communication interface, and the processor is coupled to the communication interface.
[0144] In another implementation, the communication device is a network device. When the communication device is a network device, the communication interface can be a transceiver or an input / output interface. Optionally, the transceiver can be a transceiver circuit. Optionally, the input / output interface can be an input / output circuit.
[0145] In another implementation, the communication device is a chip or a chip system. When the communication device is a chip or a chip system, the communication interface can be an input / output interface, interface circuit, output circuit, input circuit, pin, or related circuit on the chip or chip system. The processor can also be a processing circuit or a logic circuit.
[0146] Eighthly, a system is provided, which includes the aforementioned first communication device and second communication device.
[0147] Ninth aspect, a computer program product is provided, comprising: a computer program (also referred to as code or instructions), which, when run, causes a computer to perform a method in any possible implementation of the first aspect, or causes a computer to perform a method in any implementation of the first to fourth aspects.
[0148] In a tenth aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code or instructions) that, when executed on a computer, causes the computer to perform the method in any possible implementation of the first aspect, or causes the computer to perform the method in any implementation of the first to fourth aspects.
[0149] Eleventhly, a chip system is provided, which may include a processor. The processor is coupled to a memory and can be used to execute any one of the first to fourth aspects, and the methods in any possible implementation of any one of the first to fourth aspects. Optionally, the chip system further includes a memory. The memory is used to store a computer program (also referred to as code or instructions). The processor is used to call and run the computer program from the memory, causing a device on which the chip system is mounted to execute any one of the first to fourth aspects, and the methods in any one of the first to fourth aspects.
[0150] In a twelfth aspect, a processing apparatus is provided, comprising: an input circuit, an output circuit, and a processing circuit. The processing circuit is configured to receive signals through the input circuit and transmit signals through the output circuit, such that any one of the first to fourth aspects, and any possible implementation thereof, is implemented.
[0151] In specific implementation, the aforementioned processing device can be a chip, the input circuit can be an input pin, the output circuit can be an output pin, and the processing circuit can be a transistor, gate circuit, flip-flop, and various logic circuits, etc. The input signal received by the input circuit can be received and input by, for example, but not limited to, a receiver, and the signal output by the output circuit can be, for example, but not limited to, output to a transmitter and transmitted by the transmitter. Furthermore, the input circuit and the output circuit can be the same circuit, which is used as the input circuit and the output circuit at different times, respectively. This application does not limit the specific implementation of the processor and various circuits. Attached Figure Description
[0152] Figure 1a This is a schematic diagram of an application scenario provided by an embodiment of this application;
[0153] Figure 1b for Figure 1a A schematic diagram of the data transmission architecture between two devices;
[0154] Figure 1c In order to be in Figure 1b Based on this, one possible pipeline partitioning scheme is illustrated by example;
[0155] Figure 1d In order to be in Figure 1a Based on this, one possible data transmission scheme is illustrated by example;
[0156] Figure 2a A schematic diagram of the structure of a code block in the 64B / 66B encoding format defined in the standard provided for embodiments of this application;
[0157] Figure 2b The structural form of the free code block provided in the embodiments of this application;
[0158] Figure 2c The structural form of the error code block provided in the embodiments of this application;
[0159] Figure 2d This is the structural form of the low-power code block provided in the embodiments of this application;
[0160] Figure 2e A schematic diagram of the frame format of a flexible Ethernet protocol provided in an embodiment of this application;
[0161] Figure 2f A flexible small granularity basic unit (fgBU) format is provided for embodiments of this application;
[0162] Figure 2g As a kind Figure 2f A schematic diagram of the code block structure used to carry overhead information in the frame structure;
[0163] Figure 2h A schematic diagram of a possible correspondence table between small-granularity services and sub-time slots provided for embodiments of this application;
[0164] Figure 3a A flowchart illustrating a possible communication method provided in an embodiment of this application;
[0165] Figure 3b This is a rendering of a data transmission scheme.
[0166] Figure 3c A diagram illustrating the effect of the data transmission scheme after applying the solution provided in the embodiments of this application;
[0167] Figure 4 This is a schematic diagram illustrating the four types of bandwidth mentioned in the embodiments of this application;
[0168] Figure 5a for Figure 3a A flowchart illustrating another possible implementation of steps S3005 and S3006 in the above steps.
[0169] Figure 5b This is a rendering of a data transmission scheme.
[0170] Figure 5c As an application Figure 5a A schematic diagram illustrating one possible effect of the method shown;
[0171] Figure 5d for Figure 5c A schematic diagram of the correspondence between a type of small-granularity service and sub-time slot corresponding to the large-granularity pipeline 70 after the increase of medium bandwidth;
[0172] Figure 5e for Figure 5c The frame format of the code block sequence output by the medium-to-large particle pipeline 70;
[0173] Figure 6a This application provides a schematic diagram of the structure of a code block used to carry overhead information on a multiframe in a second code block sequence.
[0174] Figure 6bA schematic diagram illustrating the format of a possible enlarge message, OK message, and Do it message provided for an embodiment of this application;
[0175] Figure 6c A schematic diagram illustrating the format of a possible shrink message, OK message, and Do it message provided for an embodiment of this application;
[0176] Figure 6d A schematic diagram illustrating the possible formats of the arrange message, OK message, and Do it message provided for embodiments of this application;
[0177] Figure 6e A schematic diagram illustrating the possible formats of FC message, OK message, and Do it message provided for embodiments of this application;
[0178] Figure 6f A schematic diagram illustrating the possible formats of FC message, OK message, and Do it message provided for embodiments of this application;
[0179] Figure 7 A distribution table showing a possible correspondence between sub-time slots and customers, provided for embodiments of this application;
[0180] Figure 8 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application;
[0181] Figure 9 This is a schematic diagram of the structure of a communication device provided in an embodiment of this application;
[0182] Figure 10 This is a schematic diagram of a communication device provided in an embodiment of this application. Detailed Implementation
[0183] It should be understood that the technical solutions of the embodiments of this application can be applied to various communication systems, such as: mobile bearer fronthaul or backhaul fields, metropolitan area multi-service bearer, data center interconnection, industrial communication and other communication systems based on Ethernet technology, as well as communication systems between different components or modules in industrial or communication equipment.
[0184] Figure 1a An exemplary schematic diagram of an application scenario provided by an embodiment of this application is shown below. The application scenario of this application embodiment is described below with reference to the accompanying drawings.
[0185] like Figure 1a As shown, it includes a network management device 100, a communication device 101, a communication device 2 102, and... Figure 1aSeveral intermediate nodes are shown, such as intermediate node 110, intermediate node 111, and intermediate node 112. Any one of the following devices: network management device 100, communication device one 101, communication device two 102, and intermediate nodes. This device can be a network device or a chip located inside a network device. This device can be a network device supporting high-speed Ethernet interfaces (e.g., 200G, 400G). This device includes, but is not limited to: core routers, edge routers, Optical Transport Network (OTN) transmission equipment, OTN Optical Service Units (OSUs), and, for specific scenarios, Internet Protocol Radio Access Network (IPRAN) and Packet Transport Network (PTN) box-type or chassis-type switch equipment.
[0186] like Figure 1a As shown, the network management device 100 can be used to send control or management information to various nodes, such as bandwidth adjustment information for services (large-granularity services and / or small-granularity services mentioned later). Communication device 101 and communication device 2 102 can transmit data to each other through an intermediate node.
[0187] Figure 1a Any one of the following devices—communication device 101, intermediate node, and communication device 2 102—can include both a transmitting module and a receiving module. That is, any one of these three devices can function as both a transmitting module and a receiving module. Figure 1b In some cases, the transmitter 121 can also be used as... Figure 1b The receiving end 122 in the example. That is, the solution provided in this application embodiment, which can be applied to the sending end 121, can be applied to... Figure 1a Any one of the following devices: communication device 101, intermediate node, and communication device 2 102; the solution provided in this application embodiment that can be applied to receiver 122 can also be applied to… Figure 1a The device is any one of the following: communication device 101, intermediate node, and communication device 2 102. For the sake of clarity in describing the embodiments of this application, the following description will use... Figure 1a The following is an example of how communication device 101 transmits data to communication device 2 102 through an intermediate node.
[0188] Figure 1b The example shown in the middle Figure 1a A schematic diagram of the data transmission architecture between two devices, as shown below. Figure 1bAs shown, the solution in this application embodiment can be applied between the device interfaces of the sending end 121 and the receiving end 122, such as between the sending end interface and the receiving end interface. One or more services (e.g., ...) in this application embodiment... Figure 1b Services 1, 2, ..., m) can be multiplexed at the sending end. The multiplexed data is then transmitted to the receiving end 122, where it is demultiplexed to recover the individual services. In this embodiment, the services between the sending end 121 and the receiving end 122 can be dynamically adjusted, such as adding or deleting services, increasing or decreasing service bandwidth. In this embodiment, the sending interface and the receiving interface can be FlexE, OTN, Ethernet, or other interfaces, or pipes partitioned from these interfaces.
[0189] Figure 1c exist Figure 1b Based on this, an example of a possible pipe partitioning scheme is shown, such as... Figure 1c As shown, the interfaces of the transmitting end 121 and the receiving end 122 are divided into channels. In this embodiment, two terms are defined: large-granularity channel and small-granularity channel. These are relative terms; a large-granularity channel can be divided into at least two small-granularity channels, and the bandwidth of a large-granularity channel is greater than that of a small-granularity channel. In this embodiment, the MTN / FlexE time slot allocation is in 5Gbps granularity, and a 5Gbps time slot channel in MTN / FlexE can be called a large-granularity channel. Ethernet hard leased line technology, based on MTN / FlexE technology, provides channel bandwidth with even smaller granularity. Channels with even smaller bandwidth granularity provided in Ethernet hard leased line technology can be called small-granularity channels, which are used to carry one or more small-granularity services.
[0190] In this application's embodiments, "small-granularity service" can be defined relative to "large-granularity service." A small-granularity service refers to a service with a bandwidth smaller than that of a large-granularity pipeline; for example, services requiring bandwidth of 10Mbps or 100Mbps can be called small-granularity services. In this application's embodiments, nodes that require multiplexing or demultiplexing of small-granularity services are called small-granularity nodes, and nodes that require multiplexing and demultiplexing of large-granularity services are called large-granularity nodes. A node on a transmission path may or may not be a small-granularity node.
[0191] Figure 1d exist Figure 1a Based on this, an example of a possible data transmission scheme is shown, such as Figure 1dAs shown, communication device 101 acts as a transmitter 121, multiplexing the small-granular services carried on the large-granularity pipeline. The multiplexed data is then multiplexed again with services from other large-granularity pipelines. Communication device 101 sends the multiplexed large-granularity services to intermediate node 110 (which acts as a receiver 122). It can be seen that communication device 101 is both a large-granularity node and a small-granularity node. Intermediate node 110 demultiplexes the received data once to obtain the data corresponding to each large-granularity pipeline. Intermediate node 110 further demultiplexes the data corresponding to the large-granularity pipelines to obtain the small-granularity services. It can be seen that intermediate node 110 is both a large-granularity node and a small-granularity node.
[0192] further, Figure 1d Intermediate node 110, acting as sender 121, multiplexes the small-granular services carried on the large-granularity pipeline. The multiplexed data is then multiplexed again with services from other large-granularity pipelines, and sent to intermediate node 111 (which acts as receiver 122). Intermediate node 111 demultiplexes the received data to obtain the data corresponding to each large-granularity pipeline. Intermediate node 111 does not need to demultiplex the data corresponding to large-granularity pipeline 1 again, i.e., it does not need to obtain the individual small-granularity services; instead, it directly sends the data corresponding to each large-granularity pipeline to intermediate node 112. It can be seen that intermediate node 111 belongs only to large-granularity nodes, not small-granularity nodes. Subsequent content is similar to the above and will not be repeated.
[0193] from Figure 1dAs shown, in the small-granularity pass-through mode, large-granularity nodes are unaware of the existence of small-granularity services and only forward the services of the large-granularity pipeline, such as intermediate node 111 acting as large-granularity node 3. In the small-granularity switching mode, large-granularity nodes are aware of the existence of small-granularities and demultiplex (or deencapsulate) the small-granularity services for forwarding, such as communication device 101 acting as communication device one between large-granularity node 1 and small-granularity node 1, intermediate node 110 acting as communication device two between large-granularity node 2 and small-granularity node 2, intermediate node 112 acting as communication device two between large-granularity node 4 and small-granularity node 3, and communication device two 102 acting as communication device two between large-granularity node 5 and small-granularity node 4. In one possible implementation, for large-granularity nodes, there can be three-end links, such as three links between large-granularity node 1 and large-granularity node 2, large-granularity node 2 and large-granularity node 3, large-granularity node 3 and large-granularity node 4, and large-granularity node 4 and large-granularity node 5. For small-granularity nodes, there is only one end-to-end link, such as the link between small-granularity node 1 and small-granularity node 4. It is worth noting that the adjustment of the total bandwidth of the small-granularity pipeline only occurs at the first and second nodes of each large-granularity link, such as between large-granularity node 1 and large-granularity node 2, between large-granularity node 2 and large-granularity node 4, and between large-granularity node 4 and large-granularity node 5; at the same time, it also only occurs between adjacent nodes of the small granularity, such as between small-granularity node 1 and small-granularity node 2, small-granularity node 2 and small-granularity node 3, and between small-granularity node 3 and small-granularity node 4.
[0194] It should be noted that the solution provided in this application can be applied to situations where only large-particle pipes are used, i.e., the large-particle pipes are not divided into small-particle pipes. It can also be applied to situations where both large-particle and small-particle pipes are used. This application does not impose limitations; for ease of explanation in subsequent sections, the following description will focus on the scenario where both large-particle and small-particle pipes are used.
[0195] The following explains some of the terms and concepts used in the embodiments of this application.
[0196] (1) Code block.
[0197] In the embodiments of this application, a code block refers to one or more consecutive bits. The information carried on a code block can refer to the information carried on the bits included in the code block. The code block in the embodiments of this application can also have other alternative names, such as data unit or Flit, where Flit can be translated as micro-piece in some scenarios. It should be noted that some embodiments using code blocks as examples in this application are also applicable to Flit scenarios.
[0198] The code blocks in this application embodiment can include two main types: data type code blocks and control type code blocks. The bits in data type code blocks can be used to carry the actual data payload, while the bits in control type code blocks can be used to carry control information.
[0199] Control-type code blocks can be further divided into various other types of code blocks, such as: head code block, tail code block, idle code block, operation and maintenance management code block, error code block, low-power code block, etc.
[0200] Figure 2a An exemplary diagram illustrates the structure of a code block in the 64B / 66B encoding format defined in the standard, such as... Figure 2a As shown, this code block is defined by IEEE Std 802.3-2018, IEEE Standard for Ethernet SECTION SIX. Figure 2a As shown, the synchronization header area of a code block includes the 0th and 1st bits of the code block. The synchronization header area has two possible values: 01 and 10. A code block with a synchronization header of 01 is called a data code block, which can be written as a D code block; a code block with a synchronization header of 10 is called a control code block. The D0 field of the control code block occupies 8 bits and can be called the type field of the control code block (the type field can be written as the type field).
[0201] The control code block may include: a header code block, a tail code block, an ordered set code block (which can also be written as an 0 code block), an idle code block (which can also be written as an IDLE code block), an error code block (which can also be written as an error code block), and a low-power code block, etc. In this embodiment, the header code block is... Figure 2a The synchronization header of type 10 and the code block of 0x78 can be written as an S code block. In this embodiment, the tail code block can be written as a T code block, including... Figure 2a The code block has a synchronization header of 10 and type fields of 0x87, 0x99, 0xAA, 0xB4, 0xCC, 0xD2, 0xE1, and 0xFF. In this embodiment, the O code block is... Figure 2a The synchronization header is of type 10 and the code block is 0x4B. In this embodiment, the control code blocks other than the S and T code blocks can be written as C code blocks.
[0202] Figure 2b An example is shown showing the structure of a free code block. Figure 2c An example is shown showing the structure of an error code block. Figure 2d An example is shown illustrating the structure of a low-power code block. For example... Figure 2b , Figure 2c and Figure 2dAs shown, the synchronization header area of the idle code block, error code block, and low-power code block is 10, and other contents are shown in the figure. The code blocks involved in this embodiment are... Figure 2a The code block structure shown is used as an example for illustration, but the embodiments of this application are also applicable to code block forms defined by other standards, such as 8B / 10B, 256B / 257B, etc.
[0203] (2) Code block sequence.
[0204] In this application embodiment, a data stream composed of code blocks is referred to as a code block sequence, such as the first code block sequence, the second code block sequence, etc. involved in this application embodiment. The code block sequence in this application embodiment may also have other names, such as code block stream, etc., and no specific restrictions are imposed on the name in this application embodiment.
[0205] In the embodiments of this application, one of the code block sequences in the "first code block sequence," "second code block sequence," "third code block sequence," and "fourth code block sequence" may have multiple forms for a continuous code block, such as those exemplified below:
[0206] …SDDDD…
[0207] …DDDDD…
[0208] …DDDT…
[0209] …DDDTI…
[0210] …TIIISDDD..
[0211] …TOS…
[0212] …TIOS…
[0213] In the examples above, S represents the header block, D represents the data block, T represents the tail block, I represents the idle block, and O represents the O block. As can be seen from the examples above, the block sequence in this embodiment may include various block types, such as S blocks, D blocks, and T blocks, and may also include I blocks, O blocks, etc. The specific number of blocks is not limited; this merely lists the possible forms of a continuous block sequence in this embodiment.
[0214] (3) Flexible Ethernet protocol frame format.
[0215] The following description uses a 5Gbps time slot channel of FlexE as a large-granularity pipeline. It should be noted that the bandwidth of a large-granularity pipeline in this embodiment is not limited to 5Gbps, but can also be 6Gbps, 7Gbps, etc.
[0216] Figure 2e An exemplary diagram illustrates the structure of a frame format for a flexible Ethernet protocol provided in an embodiment of this application. Figure 1d The frame format in the code block sequence 1211 output by the transmitter 121 can be a flexible Ethernet protocol frame format, such as... Figure 2e As shown, the Flexible Ethernet protocol can construct a fixed frame format for transmission at physical ports and perform time slot division based on Time Division Multiplexing (TDM). For a 100GE PHY port, the data block sequence can consist of 64B / 66B blocks with a period of 20, corresponding to 20 time slots, each with a bandwidth of 5Gbps, called a time slot.
[0217] like Figure 2e As shown, Flexible Ethernet can be built on a time-division multiplexed frame structure based on 64B / 66B code blocks. Data on each PHY of FlexE is aligned by periodically inserting FlexE overhead (OH) code blocks, for example, inserting one 66B overhead code block FlexE OH every 1023x20 66B payload data code blocks.
[0218] like Figure 2e As shown, 8 rows (each row includes 1 OH code block + 1023 x 20 data) of 66B code blocks constitute a protocol frame under the Flexible Ethernet Protocol (protocol frames can also be called basic frames, single frames, etc., and the name can be chosen according to actual needs. This application does not specifically limit the name. It should be noted that the frame here may not refer to the Ethernet Medium Access Control (MAC) frame, but a data stream with a specific format). Figure 2e As shown, 32 protocol frames under the Flexible Ethernet Protocol constitute a multiframe under the Flexible Ethernet Protocol. The multiframe in this embodiment can also be written as "multi frame," and the name can be chosen according to actual needs. This embodiment does not specifically limit the name.
[0219] In one possible implementation, in the first OH code block of a protocol frame under the Flexible Ethernet protocol, the 0x4B field (bits 0-7) and the 0x5 field (bits 32-35) together constitute the frame header indication field of the FlexE frame overhead code block. The FlexE OH may define two management channels, which can be used to run management and OAM communication links for two Ethernet protocols at 1.2Mb / s and 1.8Mb / s based on 64B / 66B code block sequence encoding. Furthermore, in this embodiment, 64B / 66B encoding can be used in a 100GE physical layer scenario.
[0220] ITU-T MTN reuses the FlexE frame structure, so its frame structure is the same.
[0221] (4) Flexible fine granularity basic unit (fgBU) frame format.
[0222] In this embodiment, a large granular pipeline is divided into at least two small granular pipelines. The bandwidth of a small granular pipeline is less than the bandwidth of the large granular pipeline to which it belongs. This embodiment uses an example of a large granular pipeline with a bandwidth of 5Gbps and a small granular pipeline with a bandwidth of 10Mbps for illustrative purposes. The bandwidths of the two large granular pipelines can be equal or unequal. The bandwidths of any two small granular pipelines obtained from dividing a large granular pipeline can also be equal or unequal. To more clearly illustrate this embodiment, the following description uses an example where each large granular pipeline has a bandwidth of 5Gbps and each small granular pipeline has a bandwidth of 10Mbps. A time slot corresponding to a large granular pipeline can be divided into 480 sub-time slots. Furthermore, a correspondence can be established between these 480 sub-time slots and small granular services, allowing data multiplexing of each small granular service based on this correspondence.
[0223] Figure 2f An exemplary embodiment of this application illustrates a flexible fine granularity basic unit (fgBU) frame format. The code block sequence output by the large granularity pipeline 40 is obtained by multiplexing data from multiple small granularity pipelines; that is, the frame format in the code block sequence 411 output by the large granularity pipeline 40 can be called the fgBU frame format. Figure 2f As shown, the large particle pipeline 40 is divided into 480 small particle pipelines 401. Each small particle pipeline corresponds to a sub-time slot. Based on the correspondence between the sub-time slots and the small particle services, each small particle service is multiplexed to obtain the multiplexed code block sequence (the code block sequence output by the large particle pipeline 40 is shown in the figure).
[0224] The code block sequence after multiplexing small-granularity services includes at least one multiframe, where one multiframe consists of 20 basic frames (e.g., ...). Figure 2f The basic frames (0 to 19) in this application include 24 sub-time slot resources. A multiframe may include all 480 sub-time slot resources of a large granular pipeline. The basic frames in this application embodiment may also be referred to as fine granularity basic units (fgBU) or small granular base frames.
[0225] like Figure 2f As shown, the basic frame structure can consist of 1 S-block + 195 D-blocks + 1 T-block, with a total length of 197 66-bit blocks. The first data block following the S-block carries overhead information, with a total of 7 * 8 bits = 56 bits available for this information. Within the 24 sub-slot resources of a single basic frame, eight 65-bit blocks can be transmitted per sub-slot.
[0226] (6) The code block structure used to carry overhead information in the frame structure corresponding to the data carried by the small particle pipeline.
[0227] Figure 2g An example is shown. Figure 2f A schematic diagram of the code block structure used to carry overhead information in the frame structure, as shown below. Figure 2g As shown, in a 5Gbps pipeline, a multiframe includes 20 basic frames. The first data block after the S-block in each basic frame can be used to carry overhead information. A multiframe can have 20 blocks for carrying overhead information. The overhead information (overhead, abbreviated as OH) on a block can occupy 56 bits, with 2 bits reserved (reserve, RES). The Multi-Frame Indication (MFI) uses 6 bits (0-19 in the 5Gbps pipeline, with the remaining values reserved). Of the remaining 48 bits, the type is used to distinguish between the Generic Communication Channel (GCC) and bandwidth adjustment, with the type occupying 2 bits. When type = 0b11, it indicates that the following fields are used for GCC communication; when type = 0b00, it indicates that the following fields carry bandwidth adjustment information. Of course, these fields can also be used for other purposes.
[0228] (7) Correspondence table between small-granular services and sub-time slots.
[0229] Figure 2hAn exemplary diagram illustrates a possible correspondence table between small-granular services and sub-time slots, such as... Figure 2h As shown, a 5Gbps time slot can be divided into 480 sub-time slots, numbered from sub-time slot 0 to sub-time slot 479. Time slot resources within these 480 sub-time slots can be allocated to services based on their bandwidth requirements. For example... Figure 2h In the example, service number 0x444 is assigned sub-time slot 0 and sub-time slot 477. For another example... Figure 2h The middle slot is sub-slot 1 for service number 0x010.
[0230] In this application embodiment, the service can be understood as a client, or customer. Since the service occupies relatively little bandwidth, it can be called a small-granular service or small-granular customer, etc. The service number can also be understood as the service identifier, customer identifier, or client identifier, or as the service index number, as long as it can be used to indicate the service. In this application embodiment, both sub-slots and time slots belong to time slot resources, and their English name can be written as "slot". The total sub-slot index number or time slot index number in this application embodiment can be understood as the identifier of the time slot resource, used to indicate the time slot resource.
[0231] Based on the above, Figure 3a An exemplary flowchart of a possible communication method is shown, applicable to a first communication device and a second communication device, wherein the first communication device and the second communication device can be as described above. Figure 1a The communication device shown is any two nodes selected from 101, intermediate node 110, intermediate node 111, intermediate node 112, and communication device 102. For clarity, the following description will use the first communication device as an example. Figure 1c The transmitter 121 in the middle, the second communication device is Figure 1c The following is an example illustration using receiver 122 as an example. Figure 3a As shown, the method includes:
[0232] Step S3001: The first communication device sends a first request message, which is used to request an adjustment of the number of basic frames in the multiframes included in the second code block sequence.
[0233] Correspondingly, the second communication device receives the first request message.
[0234] In one possible implementation, the first communication device can determine that the bandwidth of the channel used to carry the second code block sequence needs to be adjusted before sending the first request message. For example, the first communication device can receive bandwidth adjustment information from the network management system before sending the first request message. In another possible implementation, when the first communication device determines that the bandwidth of the channel used to carry the second code block sequence needs to be increased, the number of basic frames in the multiframes included in the second code block sequence can be increased; when the first communication device determines that the bandwidth of the channel used to carry the second code block sequence needs to be decreased, the number of basic frames in the multiframes included in the second code block sequence can be decreased.
[0235] For example, before sending the first request message, the first communication device receives a message from the network management device: increase the bandwidth of the pipe used to carry the second code block sequence from 5Gbps to 10Gbps. If a 5Gbps bandwidth is divided into 480 time slots, then the increased bandwidth includes 960 time slots. If a basic frame includes 24 time slots, then the number of basic frames included in a multiframe needs to be increased from 20 to 40.
[0236] In one possible implementation, the first communication device can indicate the number of basic frames included in a specifically adjusted multiframe to the second communication device. In another possible implementation, the first communication device may not indicate the number of basic frames included in a adjusted multiframe to the second communication device. Instead, the network management device sends bandwidth adjustment information to the second communication device, so that both the first and second communication devices determine the number of basic frames included in the adjusted multiframe according to certain rules.
[0237] In this embodiment of the application, the information used to request an adjustment of the number of basic frames in the multiframes included in the second code block sequence can also be: information used to indicate the number of time slot resources in the multiframes included in the second code block sequence, or information used to indicate the length of the multiframes included in the second code block sequence.
[0238] In step S3002, the second communication device sends a first response message, which indicates that the content requested by the first request message is permitted.
[0239] Correspondingly, the first communication device receives the first response message.
[0240] The first response message can also be called an OK message or an ACK message.
[0241] In step S3003, the first communication device sends a first confirmation message, which indicates that the content requested by the first request message is enabled, starting with the first preset code block.
[0242] Correspondingly, the second communication device receives the first confirmation message.
[0243] The first confirmation message can be called a Do it message or a CMT message.
[0244] In one possible implementation, the first communication device may send three Do it messages, and starting from the next multiframe boundary in the code block sequence after the three Do it messages, change the length of the multiframe in the second code block sequence (which can also be understood as generating a multiframe based on the number of basic frames included in the adjusted multiframe according to the first request message).
[0245] Correspondingly, after receiving three Do it messages, the second communication device demultiplexes the next received multiframe based on the number of basic frames included in the adjusted multiframe.
[0246] It should be noted that one or more of the steps in steps S3002 and S3003 above are not mandatory.
[0247] Step S3004: The first communication device, based on the S1 time slot resources corresponding to the adjusted multiframe in the second code block sequence and the correspondence between the time slot resources in the S1 time slot resources and the Q1 first code block sequences, multiplexes the Q1 first code block sequences to obtain the second code block sequence.
[0248] Step S3005: The first communication device sends the second code block sequence.
[0249] Correspondingly, the second communication device receives the second code block sequence.
[0250] In step S3006, the second communication device demultiplexes Q1 first code block sequences from the second code block sequence.
[0251] Among them, one of the S1 time slot resources can be a sub-time slot mentioned in the embodiments of this application, or it can be a time slot.
[0252] In one possible implementation, Q1 first code block sequences correspond one-to-one with Q1 customers, such as the example below where S1 time slot resources are S1 sub-time slots. In another possible implementation, the Q1 first code block sequences may be sequences of large-granularity pipelines. In this case, one of the Q1 first code block sequences may be obtained by multiplexing service data from multiple customers. Therefore, in this case, the one-to-one correspondence between Q1 customers and Q1 first code block sequences is no longer present. In the embodiments of this application, S1 and Q1 are both positive integers.
[0253] It should be noted that the time slot resources in this embodiment are essentially time slot resources. They are called time slot resources to distinguish them from the time slots in other embodiments. The solutions for steps S3001 to S3006 provided in this embodiment can be applied to application scenarios with only one level of multiplexing, as well as to scenarios with multiple levels of multiplexing. Figure 3b An example diagram illustrating the effect of a data transmission scheme is shown. Figure 3c An exemplary diagram of the data transmission scheme after applying the solution provided in the embodiments of this application is shown below. Figure 3b and Figure 3c The beneficial effects of the embodiments of this application are described below:
[0254] In practical applications, there are scenarios where increased service bandwidth is required, such as... Figure 3b As shown, before the bandwidth increase, if pipe 91 is used to carry data for service 90, the bandwidth of pipe 91 is assumed to be 5Gbps (the pipe bandwidth can also be other values, such as 100Gbps or 10Mbps, etc.). Now, the bandwidth of the pipe used to carry service 90 is increased, for example, by adding pipe 93, and the bandwidth of pipe 93 is also assumed to be 5Gbps. In one possible case, for example, pipes 92 and 93 are not in the same bound port. In this case, although the bandwidth of the pipe used to carry service 90 has increased, service 90 cannot use the bandwidth in pipe 93. However, by applying the solution provided in the embodiments of this application, since the number of basic frames included in the multiframe can be adjusted, or in other words, the length of the multiframe in the code block sequence can be adjusted, thus achieving... Figure 3c As shown, the original pipe 92 and the enlarged pipe 93 are merged into a single pipe 94 with a bandwidth of 10Gbps, meaning that the bandwidth of pipe 94, which is used to carry service 90, is increased from 5Gbps to 10Gbps.
[0255] It should be noted that the solution provided in this application embodiment can adjust the length of the multiframe in a code block sequence. This code block sequence can be a code block sequence obtained by multiplexing code blocks on a small-granularity pipeline, or a code block sequence obtained by multiplexing code blocks on a large-granularity pipeline. Of course, it can also be used in other scenarios that require increased pipeline bandwidth, and this application embodiment does not limit this.
[0256] To more clearly illustrate the solution provided in the embodiments of this application, the following description uses S1 time slot resources as S1 sub-time slots as an example. When the S1 time slot resources are S1 sub-time slots, Figure 3a The time slot resources in each step can be understood as sub-time slots.
[0257] The following sections introduce four bandwidths: a1 - bandwidth for small-granularity services, a2 - bandwidth for small-granularity pipelines, a3 - total bandwidth for small-granularity pipelines used to carry small-granularity services, and a4 - bandwidth for large-granularity pipelines. Figure 4 The illustration shows a schematic diagram of the four types of bandwidth mentioned in the embodiments of this application, combined with Figure 4 Please provide an explanation.
[0258] a1 - Bandwidth for small-granular services.
[0259] The bandwidth of a small-granularity service refers to the inherent rate characteristics of the service itself, such as 9 Mbps. The bandwidth of a small-granularity service can also be understood as the signal bandwidth of that service.
[0260] a2 - Bandwidth of the small particle pipe.
[0261] The bandwidth of a small-granularity pipeline, also known as the bandwidth of a small-granularity channel, refers to the bandwidth in units of 10Mbps used to carry small-granularity services. For example, for a 9Mbps small-granularity service, the small-granularity channel provides a bandwidth of 10Mbps to carry it; for a 28Mbps small-granularity service, the small-granularity channel provides three 10Mbps, or 30Mbps, bandwidth to carry it.
[0262] a3 - The total bandwidth of the small-granularity pipeline used to carry small-granularity services.
[0263] The total bandwidth of the small-granularity pipeline used to carry small-granularity services can also be called the small-granularity pipeline fgBU-n bandwidth, or the small-granularity pipeline fgBU-n total bandwidth. It refers to the total bandwidth used to carry all small-granularity channels. For example, with 480 10Mbps small-granularity channels, the small-granularity pipeline fgBU-n is fgBU-20, corresponding to a nominal bandwidth of 4.8Gbps and an actual bandwidth of 5Gbps. When using two 5Gbps time slots, the small-granularity pipeline fgBU-n is fgBU-40, with a bandwidth of 10Gbps.
[0264] a4 - Bandwidth of large-particle pipes.
[0265] Large-particle pipes, also known as large-particle channels, refer to the bandwidth of the pipe used to carry the bandwidth of small-particle pipes (fgBU-n). For example, if one 5Gbps time slot is used to carry small-particle pipes (fgBU-n), the corresponding large-particle channel bandwidth is 5Gbps; when two 5Gbps time slots are used, the corresponding large-particle channel bandwidth is 10Gbps.
[0266] The solution provided in this application simplifies the control plane. The control plane can issue adjustments for large-granularity channel bandwidth changes separately, and adjustments for small-granularity channel bandwidth changes separately. The specific implementation process can be negotiated by the data plane. The network management system can issue bandwidth adjustment information for large-granularity channels and / or small-granularity channels. The solution provided in this application provides a smooth and feasible coordinated adjustment method on the data plane side. The core idea of data plane operation can be found below.
[0267] like Figure 4 As shown, these four bandwidths have a nested relationship. When it is necessary to increase the bandwidth of the channel used to carry small-granularity services, a certain order of change must be followed, for example... Figure 4 As shown, the bandwidth can be increased from right to left. Specifically, the bandwidth of the large-granularity channel carrying small-granularity services can be increased. First, the bandwidth of the large-granularity channel carrying small-granularity services needs to be increased. Then, the total bandwidth of the small-granularity channel carrying small-granularity services can be increased (that is, the small-granularity channel fgBU-n carried in the increased large-granularity channel is increased). (In this embodiment, increasing fgBU-n refers to increasing the corresponding sub-slot resources in a multiframe within a code block sequence, or it can be said that the length of a multiframe in the code block sequence increases). Optionally, after increasing fgBU-n, the bandwidth of the small-granularity channel can be increased further. Optionally, the actual bandwidth of the service signal can also be increased afterward. By adjusting the bandwidth in a certain order, lossless bandwidth adjustment of the large and small-granularity channels can be achieved. If the order of the four bandwidth changes is incorrect during the bandwidth change process, it can easily lead to damage to customer services.
[0268] When it's necessary to reduce the bandwidth of large-particle pipes, a certain order of change must be followed, for example, it can be based on... Figure 4The bandwidth is reduced sequentially from left to right. For example, the bandwidth of the service signal can be reduced first (this step is optional), then the bandwidth of the small-granularity pipeline can be reduced (this step is optional). Next, the time slots in the small-granularity pipeline fgBU-n can be concentrated and reorganized, and then the bandwidth of fgBU-n can be reduced (this step can be understood as shortening the length of a multiframe in the code block sequence in this embodiment, or reducing the number of basic frames included in a multiframe in the code block sequence, or reducing the resources of the sub-time slots included in a multiframe in the code block sequence), and then the bandwidth of the large-granularity pipeline can be reduced. Adjusting the bandwidth in a certain order can achieve lossless bandwidth adjustment of the large and small granularity pipelines. If the order is reversed, the bandwidth of the small-granularity pipeline will be damaged, which will also lead to the loss of customer services. As can be seen from the above increase and decrease processes, the new steps that need to be redefined in the lossless adjustment scheme of small and large particle linkage are the increase and decrease of the small particle pipeline fgBU-n, that is, the change in the number of time slots and multiframe length contained in it, and the concentration and reorganization of time slots in the small particle pipeline fgBU-n. Overall, the adjustment of the small particle pipeline fgBU-n needs to be redefined.
[0269] based on Figure 4 The application scenarios shown Figure 5a An example is shown Figure 3a A flowchart illustrating another possible implementation of steps S3005 and S3006 is shown below. Figure 5a As shown, step S3005 specifically includes the following:
[0270] Step S30051: The first communication device multiplexes the second code block sequence and the third code block sequence according to the time slot corresponding to the sub-time slot in the adjusted multiframe and the time slot corresponding to the third code block sequence to obtain the fourth code block sequence.
[0271] Step S30052, the first communication device sends the fourth code block sequence.
[0272] Correspondingly, the second communication device receives the fourth code block sequence.
[0273] like Figure 5a As shown, step S3006 specifically includes the following:
[0274] In step S30061, the second communication device demultiplexes the fourth code block sequence according to the time slot corresponding to the sub-time slot in the adjusted multiframe of the second code block sequence and the time slot corresponding to the third code block sequence, to obtain the second code block sequence and the third code block sequence.
[0275] Step S30062: Based on the S1 sub-time slots corresponding to the adjusted multiframe in the second code block sequence, and the correspondence between the sub-time slots and Q1 clients in the S1 sub-time slots, the second code block sequence is demultiplexed to obtain the Q1 first code block sequences corresponding to the Q1 clients.
[0276] One of the S1 sub-time slots is one of at least two sub-time slots obtained by dividing a time slot. Both S1 and Q1 are positive integers.
[0277] Figure 5b This is a rendering of a data transmission scheme. Figure 5c An example application is shown. Figure 5a The diagram illustrates one possible effect of the method shown below, in conjunction with... Figure 5b and Figure 5c One possible beneficial effect of the embodiments of this application is described below:
[0278] Figure 5b An exemplary diagram illustrates a data transmission scheme with increased bandwidth for a large-granularity pipeline carrying small-granularity services, such as... Figure 5b As shown, before the bandwidth increase, if only one large-granularity pipe (40) is used to carry small-granularity services, and the remaining 19 large-granularity pipes are all used to carry large-granularity services (one large-granularity pipe is divided into 20 small-granularity pipes), then based on a certain need, the bandwidth of the large-granularity pipe used to carry small-granularity services will be increased to twice 5Gbps, or in other words, the other large-granularity pipe will also be used to carry small-granularity services. For example... Figure 5b In the process, the large particle pipe 50 is also used to carry small particle services, which includes 480 small particle pipes 501.
[0279] In one possible approach, although the bandwidth of the large-granularity pipeline used to carry small-granularity services is increased, for example to 10Gbps, because a multiframe in the code block sequence multiplexed for small-granularity services can only carry data in 480 sub-time slots, although the number of small-granularity pipelines used to carry small-granularity services increases to 980, for small-granularity services (e.g., those occupying 40 sub-time slots in the large-granularity pipeline)... Figure 5b For small-granularity service 2, it cannot occupy any of the additional 480 sub-time slots (i.e., the 480 sub-time slots in large-granularity pipeline 50). For small-granularity service 2, if the sub-time slots in the current large-granularity pipeline 40 have been fully allocated, then even if the bandwidth of the large-granularity pipeline used to carry small-granularity services increases, the bandwidth corresponding to small-granularity service 2 cannot be further increased.
[0280] To address this issue, this application provides a solution. In this embodiment, the number of basic frames included in the multiframes within the multiplexed code block sequence of the small-granularity service can be adjusted based on the bandwidth of the large-granularity pipeline used to carry small-granularity services. Alternatively, the length of the multiframes in the code block sequence can be adjusted. Therefore, even if the sub-slot resources of the large-granularity pipeline are already fully utilized before the bandwidth increase, the bandwidth of the small-granularity service can still be further increased when the bandwidth of the large-granularity pipeline used to carry the small-granularity service increases. The technical effects of applying the solution provided in this application can be found in [link to relevant documentation]. Figure 5c As shown:
[0281] Figure 5c An exemplary diagram illustrates a data transmission scheme applied to a large-granularity pipeline carrying small-granularity services after bandwidth increases, using embodiments of this application. Figure 5c As shown, before the bandwidth increase, one large granular pipe 70 (with a bandwidth of 5Gbps) is used to carry small granular services, and the remaining 19 large granular pipes are also used to carry large granular services. Now, based on certain needs, the bandwidth of the large granular pipe 70 used to carry small granular services is increased to twice 5Gbps, and two time slots are also occupied. The remaining 18 large granular pipes are still used to carry large granular services. In this case, the number of small granular pipes that can be included on the large granular pipe 70 is 980 (including 480 small granular pipes 401 and 480 small granular pipes 501).
[0282] compared to Figure 5b The plan, in Figure 5c In this process, sub-time slots can be allocated from 980 sub-time slots for small-granularity service 1 and small-granularity service 2. Therefore, for small-granularity service 2, if the sub-time slots in the current large-granularity pipeline 40 have been fully allocated, and if the bandwidth of the large-granularity pipeline used to carry small-granularity services increases, the bandwidth corresponding to small-granularity service 2 can also be further increased.
[0283] The above Figure 5b The correspondence between sub-time slots and services corresponding to the large-granularity pipeline 40 after the increase in medium bandwidth can be found in the aforementioned text. Figure 2h As shown. Figure 5d The example shown in the middle Figure 5c A schematic diagram showing the correspondence between a type of small-granularity service and sub-time slots corresponding to the large-granularity pipeline 70 after the increase in medium bandwidth, as shown below. Figure 5d As shown, the 10Gbps time slot of the large particle pipeline 70 can be divided into 960 sub-time slots, namely sub-time slot 0 to sub-time slot 959. That is, the sub-time slots in this large particle pipeline are uniformly numbered. Figure 5d In this embodiment, service number 0x444 is allocated sub-time slot 0 and sub-time slot 959. This application demonstrates... Figure 5d An exemplary embodiment of this application illustrates the correspondence table between sub-time slots and clients, adjusted according to an embodiment. Because this embodiment adjusts the table, increasing the number of sub-time slots to 960, when the first communication device subsequently generates multiframes, in one possible implementation, the first communication device considers a multiframe complete only after all the data from the sub-time slots in the table has been carried. Since the number of sub-time slots that can be carried in a basic frame is preset, such as a fixed preset value of 24 sub-time slots, the increased number of sub-time slots in the table in this embodiment leads to an increase in the number of basic frames in the subsequently generated multiframes. Conversely, a decrease in the number of sub-time slots in the table results in a decrease in the number of basic frames in a multiframe for a similar reason, which will not be elaborated further.
[0284] The above Figure 5b The frame format of the code block sequence output by the large-particle pipeline 40 after the increase in bandwidth can be found in the aforementioned document. Figure 2f The content in [the document / article]. Figure 5e An example is shown Figure 5c The frame format of the code block sequence output by the medium-to-large particle pipeline 70. For example... Figure 5e As shown, a multiframe in the code block sequence 711 can include 40 basic frames, and each basic frame includes service data corresponding to 24 sub-time slots, meaning that a multiframe can carry 960 sub-time slots (e.g., Figure 5d The data corresponding to the services on the 956 sub-time slots shown in the figure.
[0285] exist Figure 5a In the illustrated method, when the first request message requests an increase in the number of basic frames in the complex frames included in the second code block sequence: the adjusted complex frames in the second code block sequence include a first number of basic frames, the first number being greater than a quantity threshold, the quantity threshold being related to the number of sub-time slots divided in a time slot and the number of sub-time slots corresponding to the data included in a basic frame. In one possible implementation, the first number is related to: the number of sub-time slots divided in N2 time slots and the number of sub-time slots corresponding to the data included in a basic frame. N2 is a positive integer. Wherein, N2 is the total number of time slots to which the sub-time slots corresponding to the Q1 clients belong. In one possible implementation, the quantity threshold is: the quotient of the total number of sub-time slots divided in a time slot and the number of sub-time slots corresponding to the data included in a basic frame. In one possible implementation, the number of sub-time slots in any two of the N2 time slots is equal. The value of the first number is equal to N2 times the quantity threshold. Figure 5c and Figure 5e The example uses a quantity threshold of 20, a first quantity of 40, and N2 of 2.
[0286] It should be noted that when using Figure 5e In the frame structure of the second code block sequence, a multiframe in the second code block sequence includes 40 basic frames, and a multiframe can have 40 code blocks used to carry overhead information. The overhead on a code block can be as described above. Figure 2g As shown, with Figure 2g The difference is that the Multi-Frame Indication (MFI) uses 6 bits, and in a 10Gbps pipeline, it uses 0 to 39, with the remaining values reserved.
[0287] from Figure 5b , Figure 5c and Figure 5e It can be seen that, Figure 5b A second code block sequence (e.g., the code block sequence output by the large-granularity pipe 40) can only be used to carry the services carried on the small-granularity pipe 401. And... Figure 5c In the illustrated scheme, a second code block sequence (e.g., the code block sequence output by the large-granularity pipe 40) can be used to carry services carried on the small-granularity pipes 4701 and 501. The large-granularity pipe 70 can correspond to two time slots. In this case, in one possible implementation, the Q1 customers include a first customer and a second customer. At least one sub-time slot corresponding to the first customer is one of at least two sub-time slots obtained by dividing the first time slot (e.g., the time slot corresponding to the large-granularity pipe 40). At least one sub-time slot corresponding to the second customer is one of at least two sub-time slots obtained by dividing the second time slot (e.g., the time slot corresponding to the large-granularity pipe 50).
[0288] To further illustrate the beneficial effects of the solution provided in the embodiments of this application, such as... Figure 5c As shown, if there are three small-granularity services of 3.3Gbps, in Figure 5b In the illustrated scheme, only one 3.3Gbps small-granularity service can be allocated in the large-granularity pipe 40, and another 3.3Gbps small-granularity service can be allocated in the large-granularity pipe 50. The third 3.3Gbps small-granularity service can only be placed in other large-granularity pipes used to carry large-granularity services. The bandwidth of the large-granularity pipe is 5Gbps, which leads to the problem of low carrying efficiency. However, the embodiment provided in this application... Figure 5c In the scheme shown, since the bandwidth of the large-granularity pipe 70 is 10Gbps, all three 3.3Gbps small-granularity services can be carried on the large-granularity pipe 70, thereby improving the carrying efficiency during data transmission.
[0289] Based on the above, the formats of the signaling (such as the first request message and the second request message, which will be mentioned later) defined in the embodiments of this application are described below. The first request message and / or the second request message in the embodiments of this application can be carried on a code block containing overhead information within a multiframe of the second code block sequence. This code block can be the first data code block following the S-code block in the basic frame included in the multiframe.
[0290] Figure 6a An exemplary diagram illustrates the structure of a code block used to carry overhead information in a multiframe within a second code block sequence, such as... Figure 6a As shown, MFI = ? indicates that the code block may be a code block from any of the fundamental frames in a multiframe. For example... Figure 6a As shown, bits 10 to 55 after the type field of this code block are divided into the following fields, each defined as follows:
[0291] The 6 bits following Type are the operation (OP) field, of which 2 bits are reserved (RES) fields.
[0292] In the OP field:
[0293] DD field: occupies 1 bit (bit represents bit in this embodiment). When this field is set to 1, it can indicate that the data was sent from downstream to upstream, or that the downstream has done. For example, it can indicate that the downstream node has instructed the upstream node to start adjusting the bandwidth.
[0294] CMT field: Occupies 1 bit. When this bit is set to 1, it can indicate the start of a certain action; for example, it can indicate the start of time slot adjustment (calendar configuration commit).
[0295] REQ field: Occupies 1 bit. When this bit is set to 1, it can indicate a request; for example, it can indicate a calendar configuration request.
[0296] ACK field: Occupies 1 bit. When this bit is set to 1, it indicates a response; for example, it can indicate a time slot adjustment response (calendar configuration acknowledge).
[0297] The fgSlot Number field occupies 12 bits and represents the destination operation slot number (the slot number can also be understood as the identifier of the slot resource or the index number of the slot resource).
[0298] The client ID field (fgClient ID) occupies 12 bits and can carry the identifier of the client corresponding to the destination operation slot number (the client identifier can also be understood as the business identifier, the client index number, etc.). It is used to indicate the identifier (ID) of the client to which the slot resource corresponding to the destination operation slot number is allocated.
[0299] RES field: occupies 9 bits, reserved field;
[0300] Cyclic Redundancy Check (CRC) field: occupies 7 bits and is used to carry the aforementioned 51 bits of check value.
[0301] In one possible implementation, the indication information for requesting adjustment of the number of basic frames in the multiframes included in the second code block sequence in the first request message is carried in at least one of the following: the slot table configuration table field of the first code block; or, the OP code field under the slot configuration table field of the first code block.
[0302] In another possible implementation, the indication information in the first request message for requesting an adjustment of the number of basic frames in the multiframes included in the second code block sequence may be carried in at least one of the following: 9 to 12 bits of the first code block; or 37 to 40 bits of the first code block.
[0303] The following describes several implementation methods: Implementation A1 describes the scenario where the first request message requests an increase in the number of basic frames in the complex frames included in the second code block sequence. Implementation A2 describes the scenario where the first request message requests a decrease in the number of basic frames in the complex frames included in the second code block sequence.
[0304] In implementation method A1, the first request message is used to request an increase in the number of basic frames in the multiframes included in the second code block sequence. In this case, the first request message can also be called an enlarge message.
[0305] based on Figure 6a The content shown, Figure 6b An example diagram illustrates the possible formats of the enlarge message, OK message, and Doit message, as shown below. Figure 6b As shown, the 4 bits of the op field can be used to distinguish between different messages, for example... Figure 6b As shown:
[0306] In the format of the enlarge message: the OP field is set to 1100; when the second communication device receives this overhead information, it can confirm that the message is an enlarge message based on the OP field being 1100, that is, the message is used to request an increase in the number of basic frames included in the multiframes in the second code block sequence;
[0307] In the OK message corresponding to the enlarge message: the OP field is set to 0001; when the first communication device receives this overhead information, it can confirm that the message is an OK message based on the OP field being 0001, that is, confirm that the second communication device allows the content requested by the first request message sent by the first communication device;
[0308] In the Do it message corresponding to the enlarge message: the OP field is set to 0100; in one possible implementation, when the second communication device receives three Do it messages, it enables the content requested by the first request message, that is, in the multiframe of the next second code block sequence, demultiplexing is performed based on the number of basic frames included in the adjusted multiframe.
[0309] like Figure 6b As shown, the `fgClient ID` field in the `enlarge` message can be filled with a reserved client number, and the `fgSlotNumber` field can be filled with the largest number of the increased time slot (after the 5Gbps large-granularity pipeline is increased to 10Gbps, the number of sub-time slots increases from 480 to 960. The 960 sub-time slots can be numbered from 0 to 959). However, it is worth noting that the most important part of the `enlarge` message is essentially the OP code indication. The `fgClient ID` and `fgSlot Number` fields can be left blank or filled with other information values; the content shown in the diagram is not mandatory.
[0310] like Figure 6b As shown, the first request message may also include indication information indicating the maximum index number of the sub-slot corresponding to the data carried in the adjusted multiframe in the second code block sequence. For example, a 10Gbps pipe has 960 10Mbps sub-slots, with Slot Number = 0 (0x000), 1 (0x001), ... 959 (0x3BF). The fgSlot number# field can be set to 0x3BF to indicate that the maximum index number of the sub-slots included in a multiframe in the adjusted second code block sequence is 959.
[0311] The indication information used to indicate the maximum index number of the sub-slot corresponding to the data carried in the adjusted multiframe in the second code block sequence is one of the following:
[0312] The maximum index number of the sub-slot corresponding to the data carried in the adjusted multiframe in the second code block sequence;
[0313] The total number of sub-slots corresponding to the data carried in the adjusted multiframe in the second code block sequence;
[0314] The calculation results of the total number of sub-slots corresponding to the data carried in the adjusted multiframe in the second code block sequence and the correction value.
[0315] The correction value is either 0 or 1. For example, starting the count from 0, the maximum index number in the 960 sub-slots is 959. In this case, 959 is obtained from 960-1, where 1 is the correction value.
[0316] In implementation method A2, the first request message is used to request a reduction in the number of basic frames in the multiframes included in the second code block sequence. In this case, the first request message can also be called a shrink message.
[0317] based on Figure 6a The content shown, Figure 6c An example diagram illustrates the possible formats of shrink, OK, and Do it messages, such as... Figure 6c As shown, the 4 bits of the op field can be used to distinguish between different messages, for example... Figure 6c As shown:
[0318] In the format of the shrink message: the OP field is set to 0011; when the second communication device receives this overhead information, it can confirm that the message is a shrink message based on the 0011 of the OP field, that is, the message is used to request a reduction in the number of basic frames included in the multiframes in the second code block sequence;
[0319] In the OK message corresponding to the shrink message: the OP field is set to 0001; when the first communication device receives this overhead information, it can confirm that the message is an OK message based on the OP field being 0001, that is, confirm that the second communication device allows the content requested by the first request message sent by the first communication device.
[0320] In the Do it message corresponding to the shrink message: the OP field is set to 0100; in one possible implementation, when the second communication device receives three Do it messages, it enables the content requested by the first request message, that is, in the multiframe of the next second code block sequence, demultiplexing is performed based on the number of basic frames included in the adjusted multiframe.
[0321] like Figure 6cAs shown, the `fgClient ID` field in the `shrink` message can be filled with a reserved client number, and the `fgSlotNumber` field can be filled with the number of the minimum or maximum sub-slot after the pipeline bandwidth adjustment (for example, if the bandwidth used to carry small-granularity services is reduced from 10Gbps to 5Gbps, the total number of sub-slots will decrease from 960 to 480). However, it is worth noting that the most important element in the `shrink` message is essentially the OP code indication; the `fgClient ID` and `fgSlotNumber` fields are optional and can be filled with other information values. The content shown in the diagram is not mandatory.
[0322] In this embodiment, adjusting the number of basic frames included in a multiframe of the second code block sequence, i.e., adjusting the number of sub-time slots that the multiframe may include, is equivalent to increasing or decreasing the number of sub-time slots used to carry small-granularity services. In one possible implementation, before generating the second code block sequence using the updated number of basic frames in the multiframe, the first communication device can adjust the relationship between clients and sub-time slots. Specifically, the correspondence between Q1 clients and S2 sub-time slots can be adjusted to: the correspondence between the Q1 clients and the S1 sub-time slots. Here, the S2 sub-time slots are the sub-time slots corresponding to the basic frames in the multiframe before adjustment in the second code block sequence. S2 is a positive integer.
[0323] In one possible implementation, the first and second communication devices can follow the same adjustment strategy, each organizing the correspondence between sub-time slots and clients. In another possible implementation, the first communication device can organize the correspondence between sub-time slots and clients and then send the organized correspondence to the second communication device, possibly by sending it in its entirety to the second communication device (this scheme will be introduced later and will not be described here).
[0324] In one possible implementation, the first request message may indicate an adjustment to the number of basic frames in a multiframe, and may also instruct the second communication device to organize the correspondence between sub-time slots and clients. In this case, the second communication device may reply with the first response message after organizing the correspondence between sub-time slots and clients, and the first communication device may reply with the first confirmation message after organizing the correspondence between sub-time slots and clients and receiving the first response message.
[0325] In another possible implementation, the first request message may simply indicate an adjustment to the number of basic frames included in a multiframe. In this case, a second request message may also be sent, received by the second communication device. The second request message indicates an adjustment to the correspondence between the Q1 clients and sub-time slots. In one possible implementation, after receiving the second request message, the second communication device may also send a second response message corresponding to the second request message, and after receiving the second response message, the first communication device may also send a second confirmation message corresponding to the second response message.
[0326] When the first request message requests an increase in the number of basic frames in the multiframes included in the second code block sequence: the second request message is sent after the first request message, so that the number of basic frames included in the multiframe is increased first, and then the correspondence between the sub-time slots and clients included in the adjusted multiframe is adjusted. When the first request message requests a decrease in the number of basic frames in the multiframes included in the second code block sequence: the second request message is sent before the first request message, so that by adjusting the correspondence between sub-time slots and clients, services on the sub-time slots that need to be deleted can be removed first, to prevent service loss due to the reduction of sub-time slots.
[0327] For example, when the bandwidth used to carry small-granularity services decreases from 10Gbps to 5Gbps, the corresponding number of sub-time slots needs to be reduced from 960 to 480. Before the actual change in the number of sub-time slots, the service time slot allocation might be distributed across 960 sub-time slots, so the sub-time slots need to be consolidated, i.e., organized into the 480 sub-time slots to be retained. This consolidation and organization process may involve relocation operations. Conversely, when the bandwidth used to carry small-granularity services increases from 5Gbps to 10Gbps, the corresponding number of sub-time slots needs to increase from 480 to 960. In this case, the newly added sub-time slots need to coexist with the original 480 sub-time slots, and the appropriate placement method needs to be considered, such as placing them at the end of the original 480 sub-time slots or interspersed in the middle of the original sub-time slots.
[0328] The signaling format during the adjustment of sub-time slots and customer relationships is described below through embodiments A3 and A4. Embodiment A3 describes an implementation method for sending a second request message to instruct the adjustment of the correspondence between the Q1 customers and sub-time slots. Embodiment A4 describes an implementation method for issuing the correspondence between sub-time slots and customers through R1 first sub-request messages.
[0329] Implementation method A3 describes an implementation method for sending a second request message to instruct adjustments to the correspondence between the Q1 clients and sub-time slots. This second request message may also be referred to as an arrange message, a centralize message, or a centralize message.
[0330] based on Figure 6a The content shown, Figure 6d An example diagram illustrates the possible formats of the arrange message, OK message, and Doit message, as shown below. Figure 6d As shown, the 4 bits of the op field can be used to distinguish between different messages, for example... Figure 6d As shown:
[0331] In the format of the arrange message: the OP field is set to 1110; when the second communication device receives this overhead information, it can confirm that the message is an arrange message based on the OP field 1110, that is, the message is used to request the number of basic frames included in the multiframes in the second code block sequence.
[0332] In the OK message corresponding to the arrange message: the OP field is set to 0001; when the first communication device receives this overhead information, it can confirm that the message is an OK message based on the OP field being 0001, that is, confirm that the second communication device allows the content requested by the first request message sent by the first communication device.
[0333] In the Do it message corresponding to the arrange message: the OP field is set to 0100; in one possible implementation, after the second communication device receives three Do it messages, it enables the content requested by the second request message, that is, in the multiframe of the next second code block sequence, demultiplexing is performed based on the updated correspondence between the client and the sub-slot.
[0334] like Figure 6d As shown, the `fgClient ID` field in the `arrange` message can be filled with a reserved client number, and the `fgSlotNumber` field can be filled with the number of the maximum sub-slot after the pipeline bandwidth adjustment (for example, if the bandwidth used to carry small-granularity services is reduced from 10Gbps to 5Gbps, the total number of sub-slots will decrease from 960 to 480). However, it is worth noting that the most important element in the `arrange` message is essentially the OP code indication; the `fgClient ID` and `fgSlot Number` fields are optional and can be filled with other information values. The content shown in the diagram is not mandatory.
[0335] This application embodiment may also provide a protocol format for a first request message, a second request message, and corresponding OK and Do it messages. Without adding the OP code of Embodiment 1, reserved bits are used to distinguish the three handshake protocols and the REQ, ACK, CMT messages used for bandwidth adjustment. Specifically, when taking the OP code value, the OP code of REQ can be reused, but the RES reserved bit needs to be used for mutual differentiation, or the flag position bit value can be other values.
[0336] Method 1: Use flag location to differentiate protocols:
[0337] 1) When the Flag value is 0b10, the REQ field (when this field is set to 1, it indicates the first request message), the ACK field (when this field is set to 1, it indicates the first response message), and the CMT field (when this field is set to 1, it indicates the first acknowledgment message) are reused, indicating that the number of basic frames included in a multiframe is negotiated to increase.
[0338] 2) When the Flag value is 0b01, the REQ field (when this field is set to 1, it indicates the first request message), the ACK field (when this field is set to 1, it indicates the first response message), and the CMT field (when this field is set to 1, it indicates the first acknowledgment message) are reused, indicating that the number of basic frames included in a multiframe is negotiated to be reduced.
[0339] 3) When the Flag value is 0b11, the REQ field (when this field is set to 1, it indicates a second request message), the ACK field (when this field is set to 1, it indicates a second response message), and the CMT field (when this field is set to 1, it indicates a second acknowledgment message) are reused, indicating that the correspondence between the sub-slots and the customers included in a multiframe is negotiated and adjusted.
[0340] Method 2: Use RES (2 bits or the following 9 bits) for protocol differentiation:
[0341] 1) When RES is 0b10, the REQ field (when this field is set to 1, it indicates the first request message), the ACK field (when this field is set to 1, it indicates the first response message), and the CMT field (when this field is set to 1, it indicates the first acknowledgment message) are reused, indicating that the number of basic frames included in a multiframe is increased through negotiation.
[0342] 2) When RES is 0b01, the REQ field (when this field is set to 1, it indicates the first request message), the ACK field (when this field is set to 1, it indicates the first response message), and the CMT field (when this field is set to 1, it indicates the first acknowledgment message) are reused, indicating that the number of basic frames included in a multiframe is negotiated to be reduced.
[0343] 3) When RES is 0b11, the REQ field (when this field is set to 1, it indicates a second request message), the ACK field (when this field is set to 1, it indicates a second response message), and the CMT field (when this field is set to 1, it indicates a second acknowledgment message) are reused, indicating that the correspondence between the sub-slots and the customers included in a multiframe is negotiated and adjusted.
[0344] In implementation method A4, the sub-time slot and customer correspondence is distributed through R1 first sub-request messages. In this implementation, the first communication device organizes the correspondence between the sub-time slots and customers, and then distributes the organized correspondence to the second communication device, which may distribute the entire correspondence to the second communication device. A first sub-request message can be called a full-configuration (FC) message, or simply an FC message, or an FC request message.
[0345] In the aforementioned implementation methods A1-A3, each node can independently change the number of sub-slots and the multiframe length, as well as centralize and organize the sub-slots. Implementation method A4 adopts a method where the receiving side follows the sending side between adjacent nodes. The sending side performs the relevant configurations and synchronizes them with the receiving side through a protocol handshake.
[0346] Specifically, the centralization and organization of time slot resources are handled separately by the sending side of the node. After completion, the number of sub-time slots and the multiframe length of the small-granularity pipeline (fgBU-n) are changed by distributing the correspondence between the organized sub-time slots and the clients. Specifically, if the number of sub-time slots and the multiframe length of the small-granularity pipeline (fgBU-n) need to be reduced from 960 time slots in 10Gbps to 480 time slots in 5Gbps, in this embodiment, the sending side can first organize the time slots used by services into the 480 time slots to be retained. After organization, the sending side sends the organized 480 time slots to the receiving side of the downstream node through R1 first sub-request messages (also called time slot configuration full distribution messages) defined in this embodiment. After receiving all 480 time slots, the downstream node responds to the sending side of the upstream node (the response message corresponding to the R1 first sub-request messages). Subsequently, the upstream node's transmitting side sends a handover enable message (an acknowledgment message corresponding to the R1 first sub-request messages) to enable these 480 time slots. In this way, the number of time slots and the multiframe length are reduced through the switching of the time slot table.
[0347] In this embodiment, R1 is a positive integer. One of the R1 first sub-request messages indicates the correspondence between the sub-time slots in the S1 sub-time slots of the adjusted multiframe and the customers in the Q1 customers. Correspondingly, the second communication device receives the R1 first sub-request messages.
[0348] One of the R1 first sub-request messages further includes: indication information for indicating whether the first sub-request message is the last of the R1 first sub-request messages.
[0349] In one possible implementation, the second communication device may send an OK message only after receiving all FC messages. Alternatively, it may send multiple first sub-response messages corresponding to FCs; for example, it may reply with one first sub-response message (also called an OK message) upon receiving one FC message, and reply with R1 first sub-response messages upon receiving R1 FC messages. A first sub-response message is used to indicate that the content requested by the first sub-request message corresponding to the first sub-response message is permitted.
[0350] In the protocol handshake method for full timeslot configuration distribution as defined in this application embodiment, between adjacent nodes, the receiving side (Rx) can follow the timeslot configuration sent by the sending side (Tx), that is, the receiving side receives the timeslot configuration sent by the sending side and then makes it effective. Specifically, the first communication device (which can be a small-granularity node) (the sending side) sends FC messages corresponding to the entire timeslot configuration to the second communication device (which can also be a small-granularity node) (the receiving side). If there are 480 timeslots in the timeslot configuration, then 480 FC messages need to be sent. After receiving all 480 FC messages, the receiving side verifies that each message is correct and can reply with an ACK response message, indicating that all messages have been correctly received and preparation for handover is complete. After receiving the ACK message, the first communication device sends three CMT messages at the boundary of the small-granularity multiframe to indicate that the handover will take effect at the next multiframe boundary, using the newly sent timeslot configuration. After the CMT messages are sent, at the next multiframe boundary, both nodes simultaneously perform handover to enable the new configuration.
[0351] based on Figure 6a The content shown, Figure 6e An exemplary diagram illustrates the possible formats of FC messages, OK messages, and Do it messages, as shown below. Figure 6e As shown, the 4 bits of the op field can be used to distinguish between different messages, for example... Figure 6e As shown:
[0352] In the format of the FC message: the OP field is set to 1010; when the second communication device receives this overhead information, it can confirm that the message is an FC message based on the OP field being 1010; that is, the message is used to indicate the correspondence between the client and the sub-slot carried in the received FC message, and can also indicate the request to enable the updated correspondence between the sub-slot and the client after R1 FC messages have been sent, and the number of sub-slots in the adjusted multiframe;
[0353] In the OK message corresponding to the FC message: the OP field is set to 0001; when the first communication device receives this overhead information, it can confirm that the message is an OK message based on the OP field being 0001, that is, confirm that the second communication device allows the content requested by the first request message sent by the first communication device;
[0354] In the Do it message corresponding to the FC message: the OP field is set to 0100; in one possible implementation, after the second communication device receives three Do it messages, it enables the content requested by the R1 first sub-request messages, that is, in the multiframe of the next second code block sequence, it demultiplexes based on the updated correspondence between the client and the sub-time slot, and the number of basic frames included in the adjusted multiframe.
[0355] like Figure 6e As shown, the `fgClient ID` field in the FC message can be filled with the client number corresponding to the sub-slot number indicated in the current FC message, and the `fgSlot Number` field can be filled with the sub-slot number indicated in the current FC message. The `LE` field indicates whether it is the last FC message; if it is the last, the `LE` field is 1; otherwise, it is 0. The `Total Num` field indicates the total number of sub-slots in this transmission; when its value is n, it means that the number of slots in this transmission is n*96.
[0356] based on Figure 6a The content shown, Figure 6f An example diagram illustrates another possible format of the FC message, OK message, and Do it message, such as... Figure 6f As shown, the 4 bits of the op field can be used to distinguish between different messages, for example... Figure 6f As shown:
[0357] Flag field: Distinguish from GCC Generic communication channel. A value of 0b00 indicates a message type related to bandwidth operations, and 0b11 indicates a GCC channel.
[0358] LE field: last Element, indicates whether it is the last element; a value of 0 indicates that it is not the last element, and a value of 1 indicates that it is the last element.
[0359] OP code field: 4 bits. The value of these 4 bits needs to be different from the value in the aforementioned first request message. That is, the value of this field should be distinguished from the REQ field, ACK field, CMT field, DD field, etc. in the small-granularity first request message (also known as the lossless bandwidth adjustment message). Here, the value is 0b1010, which is used to indicate that this message is an adjustment message for the sub-slot and customer correspondence related to the small-granularity pipeline fgBU-n.
[0360] The fgClient ID field is 12 bits and represents the customer service number identifier assigned to the corresponding sub-time slot; 0x001 to 0xFFE are valid, 0x000 indicates an invalid customer number, and 0xFFF is reserved.
[0361] The `fgSlot Number#` field is 12 bits long and represents the destination sub-slot number / sub-slot index. Typically, a 5Gbps pipeline has 480 10Mbps sub-slots, with `fgSlot Number` = 0 (0x000), 1 (0x001), ... 479 (0x1DF). A 10Gbps pipeline has 960 10Mbps sub-slots, with `Slot Number` = 0 (0x000), 1 (0x001), ... 959 (0x3BF). Future 25Gbps expansions follow the same pattern. A pipeline with 2400 10Mbps sub-slots will have `Slot Number` = 0 (0x000), 1 (0x001), ... 2399 (0x95F).
[0362] The Sub OP field (3 bits) indicates the specific message type in the FC message channel related to the adjustment of the sub-slot and customer correspondence of the fgBU-n. For example, it indicates whether the message is an FC request message requesting the adjustment of the sub-slot and customer correspondence, an OK message corresponding to an FC message, a Do it message corresponding to an FC message, or another message. In one possible implementation, when Sub oP = 0b100, it indicates that the message is an FC request message (which can be written as FC.REQ); when Sub oP = 0b010, it indicates that the message is an OK message corresponding to an FC message (which can be written as FC.ACK); when Sub oP = 0b001, it indicates that the message is a Do it message corresponding to an FC message (which can be written as FC.CMT).
[0363] The FgBU-n field (6 bits) indicates the number of sub-slots and the multiframe length in the small-granularity pipeline, with a value greater than 0. For example, when the value is 0x04 (fgBU-4), it means that the second code block sequence multiframe (where the data in the second code block sequence is obtained by multiplexing the code blocks corresponding to the small-granularity service, and the multiframe in the second code block sequence can also be called a small-granularity multiframe, and the basic frame in this multiframe can also be called a small-granularity basic frame) includes 4 small-granularity basic frames (fgBU), corresponding to a total of 24 * 4 = 96 sub-slots. When the value is 0x14 (fgBU-20), it means that the small-granularity multiframe includes 20 small-granularity basic frames (fgBU), corresponding to a total of 24 * 20 = 480 sub-slots.
[0364] CRC Field: The value carried is a 7-bit CRC7 checksum of the preceding 41 bits, which can be calculated from the first 41 bits. It includes a 2-bit flag field, a 1-bit reserved field, and a 38-bit sub-slot reconfiguration message field. The calculation is performed using the first bit sent as the high-order bit. One possible CRC polynomial: x 7 +x 5 +x 4 +x 2 +x+1, initial value is 0. CRC7 result [x6:x0] high-order bits are sent first.
[0365] Based on the above, from Figure 6f As can be seen from the above, in the format of the FC message (or FC request message): the OP field is set to 1010, and the sub op field of bits 40-47 is set to 100; when the second communication device receives this overhead information, it can confirm that the message is an FC message based on the OP field 1010 and the sub op field being set to 100.
[0366] In the OK message corresponding to the FC message: the OP field is set to 1010, and the sub op field of bits 40-47 is set to 101; when the first communication device receives this overhead information, it can confirm that the message is an OK message based on the OP field being 1010 and the sub op field being set to 101.
[0367] In the Do it message corresponding to the FC message: the OP field is set to 1010, and the sub op field of bits 40-47 is set to 001.
[0368] like Figure 6f As shown, the fgClient ID field in the FC message can be filled with the client number corresponding to the sub-slot number indicated in the current FC message, and the fgSlot Number field can be filled with the sub-slot number indicated in the current FC message.
[0369] By using the full-slot configuration distribution method in implementation method A4, since the slot allocation action is performed by the sending end, the problems of multiple interactions and inconsistencies between the slots on both sides can be avoided, thus further improving efficiency.
[0370] It should be noted that, in the embodiments of this application, the code block sequence output by a large granular pipeline is generated according to the correspondence table between small granular services and the sub-time slots corresponding to the large granular pipeline during the generation process. A multiframe in the code block sequence includes all the sub-time slots corresponding to the large granular pipeline. In other words, a multiframe in the code block sequence is used to carry the data corresponding to all the sub-time slots divided by the large granular pipeline. In this embodiment, after the receiving side receives the full correspondence between sub-time slots and clients, it interleaves each first code block sequence according to the sub-time slot and client relationship to obtain a second code block sequence. A multiframe in the second code block sequence can carry data corresponding to all sub-time slots in the updated full correspondence between sub-time slots and clients. That is, when the receiving end generates a multiframe in the second code block sequence based on the updated correspondence between sub-time slots and clients, since this embodiment limits the number of sub-time slots carried in a multiframe to the total number of sub-time slots corresponding to the pipe outputting the second code block sequence, the number of sub-time slots included in the multiframe will be updated with the sent full correspondence between sub-time slots and clients. In other words, the number of basic frames included in the multiframe will be updated with the sent full correspondence between sub-time slots and clients. It can also be understood that the sending of the full correspondence between sub-time slots and clients is used not only to indicate the updated correspondence between sub-time slots and clients, but also to indicate the number of basic frames included in the updated multiframe.
[0371] Based on the above, this application embodiment also provides the following adjustment strategies for the correspondence between sub-time slots and customers. It should be noted that some content in this application embodiment is described using S1 time slot resources as S1 sub-time slots as an example, and the solutions provided in this application embodiment can also be applied to the case where S1 time slot resources are S1 time slots. For example, the adjustment strategies described below; other content will not be listed individually.
[0372] To illustrate the adjustment strategy more clearly, let's take a concrete example. Before the adjustment, the total number of sub-time slots in the pipeline is S2, and after the adjustment, the total number of sub-time slots in the pipeline is S1. The number of customers is always Q1, and both S1 and S2 are positive integers.
[0373] S2 may be less than S1. For example, if the bandwidth of the pipeline used to carry small-granularity services is adjusted from 5Gbps to 10Gbps, then S2 will be 480 and S1 will be 960.
[0374] S2 may also be equal to S1. In this case, the number of sub-time slots does not change, but the location of the sub-time slots may be moved. For example, a 5Gbps pipeline used to carry small-granularity services can be replaced with another 5Gbps pipeline used to carry small-granularity services.
[0375] S2 may be greater than S1. For example, if the bandwidth of the pipeline used to carry small-granularity services is adjusted from 10Gbps to 5Gbps, then S2 will be 960 and S1 will be 480. (In this case, the network management device or other devices will also indicate which sub-time slots are specifically retained. For example, sub-time slots 0 to 479 may be retained (a sub-time slot being retained means that the sub-time slot is still used to carry small-granularity services in Q1 customers), while sub-time slots 480 to 959 may be deleted (a sub-time slot being deleted means that the sub-time slot is no longer used to carry small-granularity services in Q1 customers. For example, the reduced 5Gbps time slot resources may be used to carry large-granularity services)).
[0376] The following are some adjustment strategies based on the above examples:
[0377] Adjust strategy B1 to establish the correspondence between customers among the Q1 customers and sub-time slots among the S1 sub-time slots according to the first preset rule.
[0378] Adjustment strategy B1 is equivalent to a full algorithm, which means that the sub-time slot allocation is recalculated in the target pipeline, and the correspondence between all sub-time slots and customers needs to be recalculated.
[0379] Adjust strategy B2, when the first request message is used to request a reduction in the number of basic frames in the multiframe included in the second code block sequence (i.e., when the number of sub-time slots included in the multiframe is reduced, for example, from 960 sub-time slots to 480 sub-time slots): establish the correspondence between the client corresponding to the occupied sub-time slot in the sub-time slot to be deleted and the free sub-time slot in the sub-time slot to be retained according to the second preset rule.
[0380] The sub-time slots to be deleted satisfy the following conditions: the sub-time slot is the sub-time slot corresponding to the pre-adjustment multiframe, and the sub-time slot is not the sub-time slot corresponding to the post-adjustment multiframe.
[0381] The sub-time slots to be retained meet the following conditions: the sub-time slot is the sub-time slot corresponding to the pre-adjustment multiframe and the sub-time slot corresponding to the post-adjustment multiframe.
[0382] Adjustment strategy B2 can be understood as an incremental algorithm, which adds the customers corresponding to the occupied sub-slots in the pipeline to be deleted to the pipeline to be retained in an incremental manner (only the customer relationships corresponding to some sub-slots need to be changed). The first preset rule can be the same as or different from the second preset rule.
[0383] By adjusting strategy B2, the pipelines to be deleted and the pipelines to be retained are identified. The customers corresponding to the occupied sub-time slots in the pipelines to be deleted are moved to the free sub-time slots in the pipelines to be retained (partially moved) in order. If the distribution of sub-time slots of each service is uniform before the move, and the distribution of time slots after deleting some services is also uniform, then the time slot move can also be guaranteed to be uniform.
[0384] Adjustment strategy B3 involves setting a first pointer and a second pointer. The first pointer is used to find free sub-time slots from the sub-time slots to be retained based on their sorting. The second pointer is used to find occupied sub-time slots from the sub-time slots to be deleted based on their sorting. Based on the sorting of the free sub-time slots found through the first pointer, customers corresponding to the occupied sub-time slots found sequentially through the second pointer are associated with the free sub-time slots found through the first pointer. Adjustment strategy B3 can also be a subset of adjustment strategy B2.
[0385] The following is combined Figure 7 An exemplary distribution table showing the correspondence between a possible sub-time slot and a customer is provided to illustrate the adjustment strategy B3. Figure 7 As shown, if the number of sub-time slots is reduced from 960 to 480, then the 960 sub-time slots will be divided into... Figure 7 The structure is arranged such that the 10Gbps large-granularity channel bandwidth is divided into 10 rows, with each row containing 96 time slots, corresponding to a large-granularity channel bandwidth of 1Gbps. If the channel bandwidth needs to be reduced from 10Gbps to 5Gbps, then 5 rows need to be deleted. Assuming the first 5 rows are the reserved time slots and the last 5 rows are the time slots to be processed, let's begin:
[0386] 1) Pointer A (pointer A is the first pointer) and point B (pointer B is the second pointer) start searching simultaneously. Pointer A is used to search for free sub-time slots in the first 5 lines, and Pointer B is used to search for occupied sub-time slots in the last 5 lines.
[0387] 2) Once Point A finds a free sub-time slot, it stops searching and waits for Pointer B to find an occupied sub-time slot (an occupied sub-time slot can also be called a sub-time slot to be moved).
[0388] 3) Pointer B finds the occupied sub-time slot and immediately moves the customer corresponding to the sub-time slot indicated by pointer B to the sub-time slot indicated by pointer A;
[0389] 4) After the move is complete, repeat steps 1) to 3) to move from the beginning of the row to the end of the row, from the first row to the second row, until all customers corresponding to the occupied sub-time slots in the last 5 rows are moved to the sub-time slots in the first 5 rows.
[0390] In one possible implementation, the first or second request message may carry indication information for an adjustment strategy to adjust the correspondence between the Q1 clients and sub-time slots. For example, the adjustment strategy (or relocation method) can be specified in the 2-bit reserved field (RES field) after the flag field on the code block carrying overhead information.
[0391] A value of 00 in the RES field indicates that the adjustment strategy is the aforementioned adjustment strategy B3 (adjustment strategy B3 can be called idle time slot insertion and relocation).
[0392] A value of 01 for the RES field indicates that the adjustment strategy is the incremental algorithm described in adjustment strategy B2 above.
[0393] A value of 10 in the RES field indicates that the adjustment strategy is the full algorithm described in adjustment strategy B2 above.
[0394] The RES field is 11: Reserved.
[0395] Based on the above, in one possible implementation, the network management device can issue information on adjusting the bandwidth of large-granularity services according to customer service needs. For example, when the bandwidth of large-granularity time slots carrying small-granularity services needs to be increased, the network management device issues information on increasing the bandwidth of large-granularity services. After the bandwidth of large-granularity services carrying small-granularity services is increased, the total bandwidth of small-granularity pipelines needs to be increased. After the total bandwidth of small-granularity pipelines is increased, the network management device can issue information on adjusting the bandwidth of small-granularity services (the bandwidth adjustment of small-granularity pipelines, that is, the increase of the pipeline bandwidth allocated to a single service) according to the needs of small-granularity services, such as increasing the bandwidth of small-granularity pipelines corresponding to existing small-granularity services, or adding other small-granularity services.
[0396] When the bandwidth of a large-granularity pipeline carrying small-granularity services needs to be reduced, the network management device will first issue a small-granularity service bandwidth adjustment before issuing the corresponding large-granularity bandwidth adjustment information. After the small-granularity service bandwidth adjustment is completed and the time slots corresponding to the total bandwidth of the small-granularity pipeline are reorganized into the time slots to be reserved, the network management device will issue a large-granularity pipeline bandwidth reduction information.
[0397] In other words, the network management device only needs to send out large-granular bandwidth adjustment information and small-granular bandwidth adjustment information separately, without needing to sense the process of changes in the total bandwidth of the small-granular pipeline.
[0398] On the other hand, the solution provided in this application embodiment allows adjustment of the number of basic frames, or the number of time slots, included in the multiframe. When applied to small-granularity services, the bandwidth of the pipeline used to carry small-granularity services can be adjusted, supporting on-demand upgrades of the service pipeline without affecting customer services. Furthermore, it supports coordinated adjustment of large-granularity and small-granularity pipelines. When the number of large-granularity pipelines used to carry small-granularity services increases, merging multiple large-granularity pipelines into one large-granularity pipeline maximizes the service carrying efficiency of the small-granularity pipelines without causing significant bandwidth waste. Moreover, the solution provided in this application embodiment is not perceptible to the service during bandwidth adjustment, and because the correspondence between sub-time slots and customers is adjusted, no service impairment is caused. It can be seen that the embodiments of this application allow for simultaneous and lossless adjustment of both large and small granularity, making it relatively simple and practical, and supporting smooth service upgrades.
[0399] The terms "system" and "network" in the embodiments of this application are used interchangeably. "At least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0400] Furthermore, unless otherwise specified, the ordinal numbers such as "first" and "second" mentioned in the embodiments of this application are used to distinguish multiple objects and are not used to limit the order, timing, priority, or importance of multiple objects. For example, "first request message" and "second request message" are only used to distinguish different request messages, and do not indicate that the two request messages have different priorities or importance.
[0401] It should be noted that the names of the above messages are merely examples. As communication technology evolves, the names of any of the above messages may change. However, regardless of how the names change, as long as their meaning is the same as that of the messages in this application, they all fall within the protection scope of this application.
[0402] The above mainly describes the solution provided in this application from the perspective of interaction between various network elements. It is understood that, in order to achieve the above functions, each network element includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this invention can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this invention.
[0403] According to the aforementioned method, Figure 8 This is a schematic diagram of the structure of the communication device provided in the embodiments of this application, such as... Figure 8 As shown, the communication device can be a first communication device or a second communication device. The communication device can be a network device, or it can be a chip or circuit, such as a chip or circuit that can be installed in a network device.
[0404] The communication device 1301 includes a processor 1302 and a transceiver 1303.
[0405] Furthermore, the communication device 1301 may include a memory 1304. The memory 1304 is shown as a dashed line in the figure, indicating that the memory is optional.
[0406] Furthermore, the communication device 1301 may further include a bus system, wherein the processor 1302, memory 1304, and transceiver 1303 can be connected through the bus system.
[0407] It should be understood that the processor 1302 described above can be a chip. For example, the processor 1302 can be a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a system-on-chip (SoC), a central processor unit (CPU), a network processor (NP), a digital signal processor (DSP), a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips.
[0408] In implementation, each step of the above method can be completed by the integrated logic circuitry of the hardware in the processor 1302 or by instructions in software form. The steps of the method disclosed in the embodiments of this application can be directly implemented by the hardware processor, or by a combination of hardware and software modules in the processor 1302. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory 1304, and the processor 1302 reads the information in memory 1304 and, in conjunction with its hardware, completes the steps of the above method.
[0409] It should be noted that the processor 1302 in this application embodiment can be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiment can be completed by the integrated logic circuitry in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in this application embodiment. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in this application embodiment can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software modules can be located in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory; the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.
[0410] It is understood that the memory 1304 in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0411] In the case where the communication device 1301 corresponds to the first communication device in the above method, the transceiver 1303 can be used to send a first request message, which requests an adjustment of the number of basic frames in the multiframes included in the second code block sequence. The processor 1302 can be used to multiplex the Q1 first code block sequences according to the S1 time slot resources corresponding to the adjusted multiframes in the second code block sequence, and the correspondence between the time slot resources in the S1 time slot resources and the Q1 first code block sequences, to obtain the second code block sequence; where Q1 is a positive integer, the second code block sequence is sent.
[0412] In the case where the communication device 1301 corresponds to the second communication device in the above method, the transceiver 1303 can be used to receive a first request message, which requests an adjustment of the number of basic frames in the multiframes included in the second code block sequence. The processor 1302 can be used to acquire the second code block sequence; according to the S1 time slot resources corresponding to the adjusted multiframes in the second code block sequence, and the correspondence between the time slot resources in the S1 time slot resources and the Q1 first code block sequences, the second code block sequence is demultiplexed to obtain Q1 first code block sequences; where S1 and Q1 are both positive integers.
[0413] For the concepts, explanations, detailed descriptions, and other steps related to the technical solutions provided in the embodiments of this application, please refer to the descriptions of these contents in the foregoing methods or other embodiments, which will not be repeated here.
[0414] According to the aforementioned method, Figure 9 This is a schematic diagram of the structure of the communication device provided in the embodiments of this application, such as... Figure 9 As shown, the communication device 1401 may include a communication interface 1403 and a processor 1402. Further, the communication device 1401 may include a memory 1404. The memory 1404 is shown as a dashed line in the figure, indicating that the memory is optional. The communication interface 1403 is used for inputting and / or outputting information; the processor 1402, when running, enables the communication device 1401 to perform the above-mentioned functions. Figures 1a to 7 The method on the first communication device side in the relevant scheme, or the communication device 1401, can achieve the above-mentioned Figures 1a to 7 The method on the second communication device side in the relevant scheme. In this embodiment, the communication interface 1403 can implement the above. Figure 8 The transceiver 1303 implements the above-mentioned solution, and the processor 1402 can implement it. Figure 8 The processor 1302 implements the above-mentioned scheme, and the memory 1404 can implement the above-mentioned scheme. Figure 8 The solution implemented by memory 1304 will not be described in detail here.
[0415] Based on the above embodiments and the same concept, Figure 10 A schematic diagram of the communication device provided in the embodiments of this application, such as... Figure 10 As shown, the communication device 1501 can be a first communication device or a second communication device, or it can be a chip or circuit, such as a chip or circuit that can be disposed in the first communication device or the second communication device. The communication device 1501 includes a processing unit 1502 and a communication unit 1503. Further, the communication device 1501 may or may not include a storage unit 1504. In the figure, the storage unit 1504 is shown as a dashed line to further indicate that the memory is optional.
[0416] This communication device can correspond to the first communication device in the above method. A first request message is sent via communication unit 1503, requesting an adjustment of the number of basic frames in the multiframes included in the second code block sequence. Processing unit 1502 is used to multiplex the Q1 first code block sequences according to the S1 time slot resources corresponding to the adjusted multiframes in the second code block sequence, and the correspondence between the time slot resources in the S1 time slot resources and the Q1 first code block sequences, to obtain the second code block sequence; where Q1 is a positive integer; and to send the second code block sequence via communication unit 1503.
[0417] This communication device can correspond to the second communication device in the above method. A first request message is received through communication unit 1503, which requests an adjustment to the number of basic frames in the multiframes included in the second code block sequence. Processing unit 1502 is used to acquire the second code block sequence; based on S1 time slot resources corresponding to the adjusted multiframes in the second code block sequence, and the correspondence between the time slot resources in the S1 time slot resources and Q1 first code block sequences, the second code block sequence is demultiplexed to obtain the Q1 first code block sequences; where S1 and Q1 are both positive integers.
[0418] The processing unit 1502 may be a processor or controller, such as a general-purpose central processing unit (CPU), a general-purpose processor, a digital signal processing unit (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. The storage unit 1504 may be a memory. The communication unit 1503 is an interface circuit of the device for receiving signals from other devices. For example, when the device is implemented as a chip, the communication unit 1503 is an interface circuit of the chip for receiving signals from other chips or devices, or an interface circuit of the chip for sending signals to other chips or devices.
[0419] The communication device 1501 can be either the first or second communication device in any of the above embodiments. For example, when the communication device 1501 is the first or second communication device, the processing unit 1502 can be, for example, a processor, and the communication unit 1503 can be, for example, a transceiver. Optionally, the transceiver can include radio frequency circuitry, and the storage unit can be, for example, a memory. For example, when the communication device 1501 is a chip for cell search, the processing unit 1502 can be, for example, a processor, and the communication unit 1503 can be, for example, an input / output interface, pins, or circuitry. The processing unit 1502 can execute computer execution instructions stored in the storage unit. Optionally, the storage unit can be a storage unit within the chip, such as a register or cache. The storage unit can also be a storage unit located outside the chip within the session management network element, such as a read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions, such as random access memory (RAM).
[0420] For the concepts, explanations, detailed descriptions, and other steps related to the technical solutions provided in the embodiments of this application, please refer to the descriptions of these contents in the foregoing methods or other embodiments, which will not be repeated here.
[0421] It is understood that the functions of each unit in the above-mentioned communication device 1501 can be referred to the implementation of the corresponding method embodiments, and will not be repeated here.
[0422] It should be understood that the above division of communication device units is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. In this embodiment, the communication unit 1503 can be composed of the above-mentioned... Figure 8 The transceiver 1303 is implemented, and the processing unit 1502 can be implemented by the above. Figure 8 The processor 1302 is implemented.
[0423] According to the method provided in the embodiments of this application, this application also provides a computer program product, which includes: computer program code or instructions, which, when executed on a computer, cause the computer to perform... Figures 1a to 7 The method of any one of the embodiments shown.
[0424] According to the method provided in the embodiments of this application, this application also provides a computer-readable storage medium storing program code, which, when run on a computer, causes the computer to perform... Figures 1a to 7 The method of any one of the embodiments shown.
[0425] According to the method provided in the embodiments of this application, this application also provides a chip system, which may include a processor. The processor is coupled to a memory and can be used to execute... Figures 1a to 7 The method of any one of the embodiments shown. Optionally, the chip system further includes a memory. The memory is used to store a computer program (also referred to as code or instructions). The processor is used to call and run the computer program from the memory, causing the device on which the chip system is installed to perform... Figures 1a to 7 The method of any one of the embodiments shown.
[0426] According to the method provided in the embodiments of this application, this application also provides a system that includes one or more first communication devices and one or more second communication devices as described above.
[0427] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to a computer or a data storage device such as a server or data center that integrates one or more available media. The available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., high-density digital video discs (DVDs)), or semiconductor media (e.g., solid-state disks (SSDs)).
[0428] It should be noted that a portion of this patent application contains copyrighted material. The copyright holder retains all rights except for making copies of the contents of patent documents or records from the patent office.
[0429] In the above-described device embodiments, the second communication device corresponds to the first communication device and the second or first communication device in the method embodiments. Corresponding modules or units execute corresponding steps. For example, a communication unit (transceiver) executes the receiving or sending steps in the method embodiments, while other steps besides sending and receiving can be executed by a processing unit (processor). The specific functions of each unit can be found in the corresponding method embodiments. There can be one or more processors.
[0430] The terms “component,” “module,” “system,” etc., used in this specification are used to refer to computer-related entities, hardware, firmware, combinations of hardware and software, software, or software in execution. For example, a component can be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, and / or a computer. As illustrated, applications running on computing devices and computing devices can both be components. One or more components may reside in a process and / or an execution thread, and components may be located on a single computer and / or distributed among two or more computers. Furthermore, these components can be executed from various computer-readable media on which various data structures are stored. Components can communicate, for example, via local and / or remote processes based on signals having one or more data packets (e.g., data from two components interacting with another component between a local system, a distributed system, and / or a network, such as the Internet interacting with other systems via signals).
[0431] Those skilled in the art will recognize that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this application.
[0432] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0433] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0434] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0435] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0436] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0437] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A communication device, characterized by Including communication interfaces and processors: A communication interface is used to send a first request message, which requests an adjustment to the number of basic frames in the complex frames included in the second code block sequence. The processor is configured to multiplex Q1 first code block sequences corresponding to the time slot resources in the S1 time slot resources corresponding to the adjusted multiframe in the second code block sequence to obtain the second code block sequence; and send the second code block sequence through a communication interface, wherein S1 and Q1 are both positive integers; Specifically, the communication interface is used for: Send R1 first sub-request messages; wherein R1 is a positive integer, and one of the R1 first sub-request messages is used to indicate: the correspondence between the time slot resources in the S1 time slot resources in the adjusted multiframe and the customers in the Q1 customers; the Q1 first code block sequences correspond to the Q1 customers.
2. The communication device of claim 1, wherein, The S1 time slot resources are S1 sub-time slots, and one of the S1 sub-time slots is one of at least two sub-time slots obtained by dividing a time slot; The processor is also used for: Based on the time slots corresponding to the S1 sub-time slots in the adjusted multiframe and the time slots corresponding to the third code block sequence, the second code block sequence and the third code block sequence are multiplexed to obtain the fourth code block sequence; The fourth code block sequence is sent through the communication interface.
3. The communication device according to claim 1 or 2, characterized by The Q1 first code block sequences correspond one-to-one with the Q1 clients, and the communication interface is further used for: Send a second request message, which is used to instruct the adjustment of the correspondence between the Q1 customers and the time slot resources.
4. The communication device of claim 3, wherein, The second request message also includes: Instruction information used to indicate the adjustment strategy for adjusting the correspondence between the Q1 customers and time slot resources; The adjustment strategy includes: A correspondence is established between the customers among the Q1 customers and the time slot resources among the S1 time slot resources according to a first preset rule; wherein, one customer corresponds to at least one time slot resource, and one time slot resource corresponds to one or zero customers; or, When the first request message is used to request a reduction in the number of basic frames in the multiframes included in the second code block sequence: a correspondence is established between the client corresponding to the occupied time slot resources in the time slot resources to be deleted and the idle time slot resources in the time slot resources to be retained, according to the second preset rule; Among them, the time slot resources in the time slot resources to be deleted meet the following conditions: the time slot resources are the time slot resources corresponding to the multiframe before adjustment, and the time slot resources are not the time slot resources corresponding to the multiframe after adjustment. The time slot resources to be retained meet the following conditions: the time slot resources are the time slot resources corresponding to the multiframe before adjustment and the time slot resources corresponding to the multiframe after adjustment.
5. The communication device as described in claim 1 or 2, characterized in that: The R1 first sub-request messages are also used to instruct the adjustment of the number of basic frames in the multiframes included in the second code block sequence according to the number of S1 time slot resources indicated by the R1 first sub-request messages.
6. The communication device of claim 5, wherein, One of the R1 first sub-request messages also includes: Indication information used to indicate whether the first sub-request message is the last of the R1 first sub-request messages.
7. The communication device of claim 1 or 2, wherein, The first request message is carried in a code block in a multiframe of the second code block sequence, which is used to carry overhead information.
8. The communication device of claim 1 or 2, wherein, The communication interface is also used for: Receive a first response message, the first response message being used to indicate that the content requested by the first request message is permitted; Send a first confirmation message, which indicates that the content requested by the first request message is enabled, starting with the first preset code block.
9. A communication device, characterized by Includes processor and communication interface; A communication interface is used to receive a first request message, which requests an adjustment to the number of basic frames in the complex frames included in the second code block sequence. The processor is configured to acquire a second code block sequence; based on S1 time slot resources corresponding to the adjusted multiframe in the second code block sequence, and the correspondence between the time slot resources in the S1 time slot resources and Q1 first code block sequences, demultiplex the second code block sequence to obtain the Q1 first code block sequences; where S1 and Q1 are both positive integers; The communication interface is specifically used for: Receive R1 first sub-request messages; wherein R1 is a positive integer, and one of the R1 first sub-request messages is used to indicate: the correspondence between the time slot resources in the S1 time slot resources corresponding to the adjusted multiframe and the customers in the Q1 customers; the Q1 first code block sequences correspond to the Q1 customers.
10. The communication device of claim 9, wherein, The S1 time slot resources are S1 sub-time slots, and one of the S1 sub-time slots is one of at least two sub-time slots obtained by dividing a time slot; The communication interface is also used for: Receive the fourth code block sequence; The processor is specifically used for: Based on the time slots corresponding to the S1 sub-time slots in the adjusted multiframe of the second code block sequence and the time slots corresponding to the third code block sequence, the fourth code block sequence is demultiplexed to obtain the second code block sequence and the third code block sequence.
11. The communication device of claim 9 or 10, wherein, The Q1 first code block sequences correspond one-to-one with the Q1 clients, and the communication interface is further used for: A second request message is received, which is used to instruct the adjustment of the correspondence between the Q1 customers and time slot resources.
12. The communication device of claim 11, wherein, The second request message also includes: Instruction information used to indicate the adjustment strategy for adjusting the correspondence between the Q1 customers and time slot resources; The adjustment strategy includes: A correspondence is established between the customers among the Q1 customers and the time slot resources among the S1 time slot resources according to a first preset rule; wherein, one customer corresponds to at least one time slot resource, and one time slot resource corresponds to one or zero customers; or, When the first request message is used to request a reduction in the number of basic frames in the multiframes included in the second code block sequence: a correspondence is established between the client corresponding to the occupied time slot resources in the time slot resources to be deleted and the idle time slot resources in the time slot resources to be retained, according to the second preset rule; Among them, the time slot resources in the time slot resources to be deleted meet the following conditions: the time slot resources are the time slot resources corresponding to the multiframe before adjustment, and the time slot resources are not the time slot resources corresponding to the multiframe after adjustment. The time slot resources to be retained meet the following conditions: the time slot resources are the time slot resources corresponding to the multiframe before adjustment and the time slot resources corresponding to the multiframe after adjustment.
13. The communication device as described in claim 9 or 10, characterized in that: The R1 first sub-request messages are also used to instruct the adjustment of the number of basic frames in the multiframes included in the second code block sequence according to the number of S1 time slot resources indicated by the R1 first sub-request messages.
14. The communication device of claim 13, wherein, One of the R1 first sub-request messages also includes: Indication information used to indicate whether the first sub-request message is the last of the R1 first sub-request messages.
15. The communication device of claim 9 or 10, wherein, The first request message is carried in a code block in a multiframe of the second code block sequence that carries overhead information.
16. The communication device of claim 9 or 10, wherein, The communication interface is also used for: Send a first response message, which indicates that the content requested by the first request message is permitted; Receive a first confirmation message, which indicates that the content requested by the first request message is enabled, starting with a first preset code block.
17. A method of communication, comprising: include: Send a first request message, which is used to request an adjustment of the number of basic frames in the complex frames included in the second code block sequence; Based on the S1 time slot resources corresponding to the adjusted multiframe in the second code block sequence, the Q1 first code block sequences corresponding to the time slot resources in the S1 time slot resources are multiplexed to obtain the second code block sequence; S1 and Q1 are both positive integers; Send the second code block sequence; The sending of the first request message includes: Send R1 first sub-request messages; wherein R1 is a positive integer, and one of the R1 first sub-request messages is used to indicate: the correspondence between the time slot resources in the S1 time slot resources in the adjusted multiframe and the customers in the Q1 customers; the Q1 first code block sequences correspond to the Q1 customers.
18. The method of claim 17, wherein, The S1 time slot resources are S1 sub-time slots, and one of the S1 sub-time slots is one of at least two sub-time slots obtained by dividing a time slot; The transmission of the second code block sequence includes: Based on the time slots corresponding to the S1 sub-time slots in the adjusted multiframe and the time slots corresponding to the third code block sequence, the second code block sequence and the third code block sequence are multiplexed to obtain the fourth code block sequence; Send the fourth code block sequence.
19. The method of claim 17 or 18, wherein, The Q1 first code block sequences correspond one-to-one with the Q1 clients. Before multiplexing the Q1 first code block sequences to obtain the second code block sequence by using the S1 time slot resources corresponding to the adjusted multiframe in the second code block sequence, and the correspondence between the time slot resources in the S1 time slot resources and the Q1 first code block sequences, the method further includes: Send a second request message, which is used to instruct the adjustment of the correspondence between the Q1 customers and the time slot resources.
20. The method as described in claim 19, characterized in that, The second request message also includes: Instruction information used to indicate the adjustment strategy for adjusting the correspondence between the Q1 customers and time slot resources; The adjustment strategy includes: A correspondence is established between the customers among the Q1 customers and the time slot resources among the S1 time slot resources according to a first preset rule; wherein, one customer corresponds to at least one time slot resource, and one time slot resource corresponds to one or zero customers; or, When the first request message is used to request a reduction in the number of basic frames in the multiframes included in the second code block sequence: a correspondence is established between the client corresponding to the occupied time slot resources in the time slot resources to be deleted and the idle time slot resources in the time slot resources to be retained, according to the second preset rule; Among them, the time slot resources in the time slot resources to be deleted meet the following conditions: the time slot resources are the time slot resources corresponding to the multiframe before adjustment, and the time slot resources are not the time slot resources corresponding to the multiframe after adjustment. The time slot resources to be retained meet the following conditions: the time slot resources are the time slot resources corresponding to the multiframe before adjustment and the time slot resources corresponding to the multiframe after adjustment.
21. The method as described in claim 17 or 18, characterized in that: The R1 first sub-request messages are also used to indicate the number of basic frames in the multiframes included in the second code block sequence.
22. The method of claim 17 or 18, wherein, After sending the first request message, the method further includes: Receive a first response message, the first response message being used to indicate that the content requested by the first request message is permitted; Send a first confirmation message, which indicates that the content requested by the first request message is enabled, starting with the first preset code block.
23. A method of communication, comprising: include: Receive a first request message, which is used to request an adjustment of the number of basic frames in the multiframes included in the second code block sequence; Obtain the second code block sequence; Based on the S1 time slot resources corresponding to the adjusted multiframe in the second code block sequence, and the correspondence between the time slot resources in the S1 time slot resources and the Q1 first code block sequences, the second code block sequence is demultiplexed to obtain the Q1 first code block sequences; S1 and Q1 are both positive integers. The receipt of the first request message includes: Receive R1 first sub-request messages; wherein R1 is a positive integer, and one of the R1 first sub-request messages is used to indicate: the correspondence between the time slot resources in the S1 time slot resources corresponding to the adjusted multiframe and the customers in the Q1 customers; the Q1 first code block sequences correspond to the Q1 customers.
24. The method of claim 23, wherein, The S1 time slot resources are S1 sub-time slots, and one of the S1 sub-time slots is one of at least two sub-time slots obtained by dividing a time slot; The process of obtaining the second code block sequence includes: Receive the fourth code block sequence; Based on the time slots corresponding to the S1 sub-time slots in the adjusted multiframe of the second code block sequence and the time slots corresponding to the third code block sequence, the fourth code block sequence is demultiplexed to obtain the second code block sequence and the third code block sequence.
25. The method of claim 23 or 24, wherein, The Q1 first code block sequences correspond one-to-one with the Q1 clients. Before demultiplexing the fourth code block sequence according to the time slots corresponding to the time slot resources in the adjusted multiframe of the second code block sequence and the time slots corresponding to the third code block sequence to obtain the second code block sequence and the third code block sequence, the method further includes: A second request message is received, which is used to instruct the adjustment of the correspondence between the Q1 customers and time slot resources.
26. The method of claim 25, wherein, The second request message also includes: Instruction information used to indicate the adjustment strategy for adjusting the correspondence between the Q1 customers and time slot resources; The adjustment strategy includes: A correspondence is established between the customers among the Q1 customers and the time slot resources among the S1 time slot resources according to a first preset rule; wherein, one customer corresponds to at least one time slot resource, and one time slot resource corresponds to one or zero customers; or, When the first request message is used to request a reduction in the number of basic frames in the multiframes included in the second code block sequence: a correspondence is established between the client corresponding to the occupied time slot resources in the time slot resources to be deleted and the idle time slot resources in the time slot resources to be retained, according to the second preset rule; Among them, the time slot resources in the time slot resources to be deleted meet the following conditions: the time slot resources are the time slot resources corresponding to the multiframe before adjustment, and the time slot resources are not the time slot resources corresponding to the multiframe after adjustment. The time slot resources to be retained meet the following conditions: the time slot resources are the time slot resources corresponding to the multiframe before adjustment and the time slot resources corresponding to the multiframe after adjustment.
27. The method as described in claim 23 or 24, characterized in that: The R1 first sub-request messages are also used to instruct the adjustment of the number of basic frames in the multiframes included in the second code block sequence according to the number of S1 time slot resources indicated by the R1 first sub-request messages.
28. The method of claim 23 or 24, wherein, After receiving the first request message, the process further includes: Send a first response message, which indicates that the content requested by the first request message is permitted; Receive a first confirmation message, which indicates that the content requested by the first request message is enabled, starting with a first preset code block.
29. A chip system, characterized by It includes a communication interface and a processor, the communication interface being used for inputting and / or outputting information; when the processor is running, it causes the method described in any one of claims 17 to 28 to be executed.
Citation Information
Patent Citations
Method for determining downlink multi-access system transmission mode, transmitting end device and receiving end device
CN101924721A
Lossless bandwidth adjustment method, device and system
US20130243427A1
Method and apparatus for sending and receiving multiframe, and storage medium
US20200112383A1
