Time slot adjustment method, communication device, and storage medium

By transmitting time slot adjustment policy information to all nodes simultaneously, the method enhances end-to-end time slot negotiation efficiency and success rate, addressing the inefficiencies of hop-by-hop mechanisms in communication networks.

JP7867621B2Active Publication Date: 2026-05-29ZTE CORP

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
ZTE CORP
Filing Date
2023-07-10
Publication Date
2026-05-29

AI Technical Summary

Technical Problem

Existing communication networks face inefficiencies and low success rates in end-to-end time slot negotiation and adjustment due to hop-by-hop negotiation mechanisms, leading to inconsistent bearer bandwidth and complex fallback processes.

Method used

A method where time slot adjustment policy information is transmitted to a sink node via a downstream node, allowing all nodes to determine and implement a corresponding adjustment policy simultaneously, reducing negotiation time and avoiding fallback demands.

Benefits of technology

Improves time slot negotiation efficiency and success rate by ensuring all nodes synchronize time slot adjustments end-to-end, reducing negotiation time and minimizing fallback failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007867621000001
    Figure 0007867621000001
  • Figure 0007867621000002
    Figure 0007867621000002
  • Figure 0007867621000003
    Figure 0007867621000003
Patent Text Reader

Abstract

The embodiments of the present application provide a time slot adjustment method, a communication device, and a medium, in which a source node (610) sends time slot adjustment policy information to a sink node (640) via downstream nodes (620, 630), so that the downstream nodes (620, 630) and the sink node (640) determine a corresponding time slot adjustment policy based on the time slot adjustment policy information, and upon receiving time slot adjustment policy response information returned from the sink node (640) via the downstream nodes (620, 630), the source node (610) sends time slot adjustment instruction information to the sink node (640) via the downstream nodes (620, 630), and adopts the corresponding time slot adjustment policy to complete the time slot adjustment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application is filed based on a Chinese patent application with an application number of 202210968679.8 and an application date of August 12, 2022, and claims the priority of the Chinese patent application. All the contents of the Chinese patent application are incorporated into this application by reference.

[0002] The embodiments of this application relate to the technical field of communications, and in particular, to a time slot adjustment method, a communication device, and a computer-readable storage medium.

Background Art

[0003] In a communication network, it is common to adopt a frame structure to bear client services. By dividing time slots in the bearer frame, services are borne using time slots. In actual service applications, as the client service / traffic demand increases or decreases, it is necessary to adjust the number of bearer time slots as well.

[0004] In related technologies, time slot negotiation and adjustment are performed by adopting a negotiation per hop and an adjustment per hop method, that is, all nodes between end-to-end sequentially negotiate and adjust time slots with each other. In this negotiation and adjustment process, if the negotiation between some nodes fails, some nodes perform transmission using the time slot bearer scheme after negotiation, while the remaining nodes perform transmission using the time slot bearer scheme before negotiation. As a result, the end-to-end bearer bandwidth may become inconsistent. However, even if reverse adjustment is performed using a fallback mechanism, the negotiation difficulty increases and the success rate of time slot adjustment decreases. Therefore, how to improve the end-to-end time slot negotiation efficiency and the success rate of time slot adjustment has become an urgent problem to be solved. [Overview of the project] [Problems that the invention aims to solve]

[0005] Embodiments of the present invention provide a time slot adjustment method, a communication device, and a computer-readable storage medium. [Means for solving the problem]

[0006] In a first embodiment, an embodiment of the present application provides a time slot adjustment method comprising the steps of: transmitting time slot adjustment policy information to a sink node via a downstream node so that the downstream node and the sink node determine a corresponding time slot adjustment policy based on the time slot adjustment policy information; and, upon receiving time slot adjustment policy response information returned from the sink node via the downstream node, transmitting time slot adjustment instruction information to the sink node via the downstream node to adopt a corresponding time slot adjustment policy and complete the time slot adjustment.

[0007] In a second embodiment, an embodiment of the present application provides a time slot adjustment method comprising: receiving time slot adjustment policy information transmitted by an upstream node; determining a corresponding time slot adjustment policy based on the time slot adjustment policy information; transmitting the time slot adjustment policy information to a downstream node so that the downstream node can determine a corresponding time slot adjustment policy based on the time slot adjustment policy information; receiving time slot adjustment policy response information returned from the downstream node and transferring the time slot adjustment policy response information to the upstream node; and receiving time slot adjustment instruction information transmitted by the upstream node and transferring the time slot adjustment instruction information to the downstream node and completing time slot adjustment by adopting the corresponding time slot adjustment policy.

[0008] In a third embodiment, an embodiment of the present invention provides a time slot adjustment method comprising: receiving time slot adjustment policy information transmitted by a source node via an upstream node; determining a corresponding time slot adjustment policy based on the time slot adjustment policy information; transmitting time slot adjustment policy response information to the source node via the upstream node based on the time slot adjustment policy information; and, upon receiving time slot adjustment instruction information transmitted by the source node via the upstream node, adopting a corresponding time slot adjustment policy to complete time slot adjustment.

[0009] In a fourth embodiment, an embodiment of the present application provides a communication device comprising at least one processor and at least one memory for storing at least one program, wherein when at least one program is executed by at least one processor, the time slot adjustment method described in the first, second, or third embodiment is realized.

[0010] In a fifth embodiment, the embodiment of the present application provides a computer-readable storage medium storing a processor-executable program that, when executed by a processor, implements the time slot adjustment method described in the first, second, or third embodiment. [Brief explanation of the drawing]

[0011] [Figure 1] This is a schematic diagram illustrating the inter-node transmission of bearer frames in related technologies. [Figure 2] This is a schematic diagram of the frame structure in related technologies. [Figure 3] This is a schematic diagram illustrating the flow of time slot negotiation and adjustment in relation to the decrease in time slot demand in related technologies. [Figure 4] This is a schematic diagram illustrating the flow of time slot negotiation and adjustment in response to the increasing demand for time slots in related technologies. [Figure 5] This is a schematic diagram of the time slot adjustment process according to one embodiment of the present invention. [Figure 6] This is a schematic diagram of the time slot adjustment process according to one embodiment of the present invention. [Figure 7] This is a schematic diagram of the time slot adjustment process according to another embodiment of the present invention. [Figure 8] This is a schematic diagram illustrating how time slot adjustment policy content is encapsulated using an Ethernet message format according to one embodiment of the present invention. [Figure 9] This is a schematic diagram illustrating the transmission of a coordination policy message from a source node to another node according to one embodiment of the present invention. [Figure 10] This is a schematic diagram of a frame structure according to one embodiment of the present invention. [Figure 11] This is a schematic diagram of the time slot adjustment process according to another embodiment of the present invention. [Figure 12] This is a schematic diagram illustrating the issuance of a coordination policy message via a network management center according to one embodiment of the present invention. [Figure 13] This is a schematic diagram illustrating the flow of a time slot adjustment method according to one embodiment of the present invention. [Figure 14] This is a schematic diagram of a message structure that encapsulates the content of a time slot adjustment policy according to one embodiment of the present invention. [Figure 15] This is a schematic diagram of the time slot adjustment process according to another embodiment of the present invention. [Figure 16] This is a schematic diagram of a bearer frame structure according to another embodiment of the present invention. [Figure 17] A schematic diagram of the structure of a communication device according to one embodiment of the present invention. [Modes for carrying out the invention]

[0012] To more clearly define the objectives, technical solutions, and advantages of this application, the following will provide a more detailed description of this application while referring to the drawings and embodiments. It should be understood that the embodiments described in this specification are for the purpose of explaining this application and are not intended to limit this application.

[0013] Note that the division of functional modules is carried out in the schematic diagram of the device, and a logical order is shown in the flowchart. However, in some cases, it may be different from the division of modules in the device, or the steps shown or described may be executed in a different order than that in the flowchart. Terms such as "first," "second," etc. in this specification, the claims, and the above drawings are terms for distinguishing similar objects and are not necessarily used to explain a specific order or priority.

[0014] In the embodiments of this application, terms such as "further," "exemplarily," or "optionally" are used for illustration, exemplification, or explanation and should not be construed as being more preferable or superior to another embodiment or design scheme. The use of terms such as "further," "exemplarily," or "optionally" is intended to present related concepts.

[0015] In communication networks, a frame structure is typically used to bear client services, and service bearing is performed using time slots by dividing them into bearer frames. When dividing time slots, multiple time slots may be divided into bearer frames, or time slots may be divided into multiple bearer frames. Figure 1 is a schematic diagram showing inter-node transmission of bearer frames in the relevant technology. As shown in Figure 1, nodes 110 to 140 are nodes that support bearing client services using the time slot method, where node 110 is the source node, node 140 is the sink node, and nodes 120 to 130 are intermediate nodes. The nodes may be various bearer nodes such as nodes that support international standard protocols or slice packet network nodes that support the relevant technology definitions. Bearer frames 210 to 240 consist of a frame header, a container, and a frame footer, and time slots are divided into the bearer frame container, the position of the time slots is fixed, and the time slots are transmitted within the network along with the bearer frame. Each client service may be transmitted in a predetermined time slot, and different clients may select different time slot locations to bear the service. If the client bandwidth is large, multiple time slot locations may be selected for the bearer, and if the client bandwidth is small, a small number of time slot locations may be selected for the bearer. When bearing a client service, the source node 110 maps the client service to the corresponding time slot in the bearer frame and transmits it, the intermediate nodes 120-130 perform time slot transfer, and the sink node 140 extracts the client service from the corresponding time slot and restores the original client service.

[0016] FIG. 2 is a schematic diagram of a frame structure in the related art. As shown in the figure, the bearer frame generally has a certain frame structure. According to the frame structure described in the "Slice Packet Network Fine Granularity Slice Technical Requirements" standard file, the bearer frame is composed of 1 S code block, 195 D code blocks, and 1 T code block. The S code block, D code block, and T code block are in the 66-bit code block format defined by the 802.3 standard specification. In the standard, in addition to the S code block, D code block, and T code block, an O code block and an IDLE code block (idle code block) are also defined. In the D code blocks within the bearer frame, overhead bytes and 24 time slots are also divided. Since one multi-frame is composed of every 20 frames, there are 480 time slots in one multi-frame period. The overhead bytes of the bearer frame usually include multi-frame indication information (MFI: Multi-frame indicator), general communication channel information (GCC: General Communication Channel), time slot number information (Slot num), time slot configuration request indication information (CR: Configuration Request), time slot configuration response indication information (CA: Configuration Acknowledge), time slot configuration effective indication information (C: Configuration come into force), and time slot increase adjustment notification information (S: Send notice).

[0017] In actual service applications, initially, client bandwidth is small, requiring a small bearer channel bandwidth, and client needs can be met with only a few bearer time slots. Over time, client traffic volume increases, bandwidth increases, and more time slots are needed to bear the client traffic. Therefore, it is necessary to increase the number of time slots without impacting or interrupting client traffic, and to complete the time slot increase operation without loss. Conversely, for clients with declining traffic volume, over time, client service bandwidth decreases, and the number of time slots bearing the service needs to be reduced. Therefore, it is necessary to dynamically adjust the number of time slots bearing the client service without impacting the client service.

[0018] Related technologies employ hop-by-hop negotiation and adjustment mechanisms. The adjustment process begins with a handshake negotiation process for time slot adjustment. Specifically, one node sends a time slot adjustment request signal, and another node, upon receiving the time slot adjustment request signal, sends back a time slot adjustment response confirmation signal. When the node that sent the time slot adjustment request signal receives the time slot adjustment response confirmation signal, the negotiation flow between the two nodes is completed, and the time slot number adjustment process can begin.

[0019] Figure 3 is a schematic diagram of the time slot negotiation and adjustment flow in the reduction of time slot demand in the related technology. As shown in Figure 3, when a reduction in time slots is required, the source node 310 sends a time slot configuration request instruction CR signal to the downstream node 320, and when sending the CR signal, it also sends the time slot number to be reduced, notifying the downstream node 320 of the time slot number that requires reduction adjustment. Upon receiving the time slot configuration request instruction CR signal, the downstream node 320 completes its preparation work and then sends a time slot configuration response instruction CA signal to the source node 310. Upon receiving the time slot configuration response instruction CA signal from the downstream node 320, the source node 310 completes the time slot reduction adjustment negotiation flow between the source node 310 and the downstream node 320, and the source node 310 sends a time slot configuration valid instruction C signal to the downstream node 320, and then the source node 310 and the downstream node 320 bear client services according to the time slot position after reduction adjustment. When the downstream node 320 receives the time slot configuration enable instruction C signal from the source node 310, it begins sending a time slot configuration request instruction CR signal to the downstream node 330, simultaneously sending the time slot number to be reduced. Upon receiving the time slot configuration request instruction CR signal, the downstream node 330 completes its preparation work and then sends a time slot configuration response instruction CA signal to the downstream node 320. Upon receiving the time slot configuration response instruction CA signal from the downstream node 330, the downstream node 320 completes the negotiation flow for time slot reduction adjustment between the downstream node 320 and the downstream node 330. Upon receiving the time slot configuration response instruction CA signal from the downstream node 330, the downstream node 320 sends a time slot configuration enable instruction C signal to the downstream node 330, and then the downstream nodes 320 and 330 bear client services at the time slot position after reduction adjustment.In this way, the downstream node 330 and the sink node 340 also negotiate and perform the time slot reduction adjustment process, thus completing all time slot adjustment processes. Since the above adjustment process is negotiated and completed segment by segment, in the adjustment process there are nodes that have completed the adjustment and bear the service according to the adjusted number of time slots, and nodes that have not completed the adjustment and bear the service according to the number of time slots before the adjustment. In addition, in the time slot reduction adjustment process, the number of time slots between upstream neighboring nodes is reduced first, and after the number of time slots of the upstream neighboring nodes has been reduced, the time slot reduction operation of the downstream nodes is started. This keeps the number of time slots between upstream nodes always less than the number of time slots between downstream nodes, that is, keeps the service bandwidth between upstream nodes smaller than the service bandwidth between downstream nodes, thereby preventing the bandwidth of upstream services in the channel from becoming larger than the bandwidth of downstream services and preventing service overflow at some node locations. Therefore, in the adjustment process, the end-to-end bandwidth reduction adjustment of the service is completed after the last two nodes have completed the time slot reduction adjustment.

[0020] Figure 4 is a schematic diagram of the time slot negotiation and adjustment flow in the case of increased time slot demand in the related technology. As shown in Figure 4, when increasing time slots, in the conventional technology, in order to ensure that the service bandwidth between upstream nodes is smaller than the service bandwidth between downstream nodes, time slot increase adjustment starts from the sink node, the sink node 440 sends a time slot increase adjustment notification S signal to the upstream node 430, and when the upstream node 430 receives the time slot increase adjustment notification S signal, it starts the increase adjustment and sends a time slot configuration request instruction CR signal to the sink node 440, along with the time slot number to be increased, and when the sink node 440 receives the time slot configuration request instruction CR signal, it completes the preparation work and then sends a time slot configuration response instruction CA signal back to the upstream node 430. When the upstream node 430 receives a time slot configuration response instruction CA signal from the sink node 440, it completes the negotiation flow for time slot increase adjustment between the upstream node 430 and the sink node 440, and the upstream node 430 sends a time slot configuration enable instruction C signal to the sink node 440, and then the upstream node 430 and the sink node 440 bear client services according to the time slots after the time slot increase adjustment. Also, the upstream node 430 sends a time slot increase adjustment notification S signal to the upstream node 420, and when the upstream node 420 receives the time slot increase adjustment notification S signal, it starts the negotiation work for time slot increase adjustment, sends a time slot configuration request instruction CR signal to the upstream node 430, and also sends the time slot number to be increased, and when the upstream node 430 receives the time slot configuration request instruction CR signal, it completes the preparation work and replies to the upstream node 420 with a time slot configuration response instruction CA signal.When upstream node 420 receives the time slot configuration response instruction CA signal from upstream node 430, it completes the negotiation flow for time slot increase adjustment between upstream node 420 and upstream node 430, and upstream node 420 sends the time slot configuration enable instruction C signal to upstream node 430, and then upstream node 420 and upstream node 430 bear client services according to the time slots after time slot increase adjustment. Upstream node 420 also sends the time slot increase adjustment notification S signal to source node 410. In this way, source node 410 and upstream node 420 complete the negotiation and time slot increase adjustment flow for time slot increase adjustment and then complete all time slot increase adjustment processes. The adjustment process is negotiated and completed segment by segment. In the time slot augmentation process, the number of time slots is always increased among downstream nodes first, then among upstream nodes, and the number of time slots between upstream nodes is always kept smaller than the number of time slots between downstream nodes. In other words, the service bandwidth between upstream nodes is kept smaller than the service bandwidth between downstream nodes, thereby avoiding a situation where the upstream service bandwidth in the channel becomes larger than the downstream service bandwidth, leading to a service overflow. In the time slot augmentation process, the end-to-end bandwidth augmentation of the service is completed only after the last two nodes have completed the time slot augmentation.

[0021] According to the time slot negotiation and adjustment processes corresponding to Figures 3 and 4, the bandwidth adjustment process in related technologies involves negotiating and adjusting segment by segment. Since the adjustment of one segment must be completed before starting the adjustment of the next segment, the adjustment process is very time-consuming. Furthermore, segment-by-segment negotiation and adjustment have the following drawbacks: While adjustment may be completed between some nodes, unexpected situations may occur during the adjustment process between some nodes. For example, CR or CA signals may be lost due to interference during node adjustment, or a node may encounter difficulties and be unable to send a response CA signal in a timely manner, resulting in a failure of negotiation between upstream and downstream nodes. In the above cases, after the time slot adjustment negotiation between some nodes fails, subsequent time slot adjustment work cannot be continued. As a result, in the network, nodes that have successfully adjusted will perform service bearing according to the new number of time slots, while some nodes will perform service bearing according to the old number of time slots, resulting in an inconsistent end-to-end bearer bandwidth for the service. If negotiation between some of the nodes fails and subsequent node time slot adjustments cannot be continued, a fallback mechanism is generally activated. Following the time slot adjustment process, an inverse time slot adjustment method is adopted to return the successfully adjusted nodes to their original unadjusted time slot state. For example, in time slot increase adjustment, if some nodes are successfully adjusted but the remaining nodes fail, a time slot decrease adjustment operation is initiated for the successfully adjusted nodes. The increased time slots are then deleted again according to the time slot decrease mechanism, thus completing the time slot fallback operation. Similarly, in time slot decrease adjustment, if some nodes are successfully adjusted but the remaining nodes fail, a time slot increase adjustment operation is initiated for the successfully adjusted nodes. The decreased time slots are then increased again according to the time slot increase mechanism, thus completing the time slot fallback operation.However, the time slot fallback process is also very complex, and it is possible that the fallback adjustment fails again during the fallback process, making it impossible to continue the fallback. As a result, a dilemma arises where neither end-to-end time slot adjustment nor end-to-end time slot fallback is possible. Furthermore, in networks from different manufacturers, the processing mechanisms differ depending on the manufacturer, which makes it easy for time slot negotiation and adjustment to fail during time slot adjustment negotiation, making the application of time slot adjustment difficult.

[0022] Based on this, embodiments of the present application provide a time slot adjustment method, a communication device, and a computer-readable medium. In the time slot adjustment method, a source node transmits time slot adjustment policy information to a sink node via a downstream node, and the downstream node and sink node determine a corresponding time slot adjustment policy based on the time slot adjustment policy information. Furthermore, after the source node receives time slot adjustment policy response information returned from the sink node via the downstream node, it adopts the corresponding time slot adjustment policy and bears a service message, and transmits time slot adjustment instruction information to the sink node via the downstream node, and the downstream node and sink node adopt the corresponding time slot adjustment policy based on the time slot adjustment instruction information to complete the time slot adjustment. This not only reduces negotiation time but also avoids fallback demands due to negotiation failures in a hop-by-hop adjustment scheme by having all end-to-end nodes successfully negotiate a handshake regarding time slot adjustment before sequentially executing time slot adjustments starting from the source node, thereby improving time slot negotiation efficiency and the success rate of time slot adjustments.

[0023] The time slot adjustment method according to the embodiment of the present invention can be applied to an application environment that bears client services based on a time slot scheme, as shown in Figure 1. Figure 5 is a schematic diagram of the time slot adjustment flow according to the embodiment of the present invention. As shown in the figure, this embodiment includes four network nodes: a source node 510, a downstream node 520, a downstream node 530, and a sink node 540. In the service bearer application, the service bearer starts from the source node 510, ends at the sink node 540, and passes through the downstream nodes 520 and 530. In actual application scenarios, it can be understood that there may be more intermediate nodes between the source node and the sink node, and in this embodiment of the present invention, two intermediate nodes are described.

[0024] In the time slot adjustment flow according to this embodiment, first, the source node 510 transmits time slot adjustment policy information to the sink node 540 via the downstream nodes 520 and 530, and the downstream nodes 520, 530 and 540 determine the corresponding time slot adjustment policy based on the time slot adjustment policy information. The time slot adjustment policy information includes time slot adjustment request information for requesting time slot adjustment and adjustment target information for determining the policy content of the time slot adjustment policy. When the sink node 540 receives time slot adjustment request information, it sends time slot adjustment policy response information to the source node 510. When the source node 510 receives the time slot adjustment policy response information returned from the sink node 540 via the downstream nodes 530 and 520, it adopts the corresponding time slot adjustment policy and completes the time slot adjustment. It also sends time slot adjustment instruction information to the sink node 540 via the downstream nodes 520 and 530, so that the downstream nodes 520, 530, and the sink node 540 adopt the corresponding time slot adjustment policy based on the time slot adjustment instruction information and complete the time slot adjustment. In one embodiment, in the time slot negotiation process, the time slot adjustment policy information includes time slot adjustment request information and the time slot number to be adjusted as adjustment target information, and the time slot adjustment request information is a time slot adjustment request signal CR. Since the adjustment target information is the time slot number to be adjusted, the time slot adjustment policy determined by nodes other than the source node based on the time slot adjustment policy information becomes the adjustment policy corresponding to the time slot number. The time slot adjustment policy response information transmitted by the sink node includes time slot adjustment response information and the time slot number as the adjustment information to be confirmed. The time slot adjustment response information is a time slot adjustment response signal CA and is the response information corresponding to the time slot adjustment request information.Two adjacent nodes succeed in time slot negotiation only if the time slot number to be adjusted transmitted between them matches the time slot number to be verified transmitted between them. In this way, end-to-end time slot negotiation is completed only when the source node receives a time slot number to be verified that matches the time slot number to be adjusted transmitted by the source node, and then the process proceeds to the time slot adjustment process. In the time slot adjustment process, time slot adjustment instruction information is carried to the time slot adjustment instruction signal C. In this embodiment, since the time slot adjustment instruction information does not additionally hold the time slot number to be adjusted, each node, after receiving the time slot adjustment instruction signal, performs time slot adjustment by default according to the time slot adjustment policy determined in the previous time slot adjustment negotiation.

[0025] In one embodiment, during the time slot negotiation process, the time slot adjustment policy information includes time slot adjustment request information and the time slot number to be adjusted as adjustment target information, where the time slot adjustment request information is the time slot adjustment request signal CR. Since the adjustment target information is the time slot number to be adjusted, the time slot adjustment policy determined by nodes other than the source node based on the time slot adjustment policy information is the adjustment policy corresponding to the time slot number. The time slot adjustment policy response information transmitted by the sink node includes time slot adjustment response information and the time slot number as confirmation target adjustment information, where the time slot adjustment response information is the time slot adjustment response signal CA, which is the response information corresponding to the time slot adjustment request information. Two adjacent nodes succeed in time slot negotiation only if the adjustment target time slot number transmitted between the two adjacent nodes matches the confirmation target time slot number transmitted between the two adjacent nodes. In this way, end-to-end time slot negotiation is completed only when the source node receives a confirmation target time slot number that matches the adjustment target time slot number transmitted by the source node, and then the process proceeds to the time slot adjustment process. In the time slot adjustment process, time slot adjustment instruction information is carried to the time slot adjustment instruction signal C. The time slot adjustment instruction signal is used to instruct the activation of the time slot adjustment policy to be activated. The source node transmits the time slot number to be adjusted at the same time as transmitting the time slot adjustment instruction signal C. Since the time slot adjustment instruction information includes the time slot number to be adjusted, each node performs time slot adjustment according to the time slot number after receiving the time slot adjustment instruction signal.

[0026] In one embodiment, during the time slot negotiation process, the time slot adjustment policy information includes time slot adjustment request information and the adjustment target policy number as adjustment target information, where the time slot adjustment request information is the time slot adjustment request signal CR. Since the adjustment target information is the adjustment target policy number, the time slot adjustment policy determined by nodes other than the source node based on the time slot adjustment policy information is the adjustment policy corresponding to the policy number, and the time slot adjustment policy response information transmitted by the sink node includes time slot adjustment response information and the policy number as confirmation target adjustment information, where the time slot adjustment response information is the time slot adjustment response signal CA, which is the response information corresponding to the time slot adjustment request information. Two adjacent nodes succeed in time slot negotiation only if the adjustment target policy number transmitted between the two adjacent nodes matches the confirmation target policy number transmitted between the two adjacent nodes. In this way, end-to-end time slot negotiation is completed only when the source node receives a confirmation target policy number that matches the adjustment target policy number transmitted by the source node, and then the process proceeds to the time slot adjustment process. In the time slot adjustment process, time slot adjustment instruction information is carried to the time slot adjustment instruction signal C, which is used to instruct the activation of the time slot adjustment policy to be activated. In this embodiment, since the time slot adjustment instruction information does not additionally hold the policy number to be adjusted, each node, after receiving the time slot adjustment instruction signal, performs time slot adjustment by default according to the time slot adjustment policy determined in the previous time slot adjustment negotiation.

[0027] In one embodiment, during the time slot negotiation process, the time slot adjustment policy information includes time slot adjustment request information and the adjustment target policy number as adjustment target information, where the time slot adjustment request information is the time slot adjustment request signal CR. Since the adjustment target information is the adjustment target policy number, the time slot adjustment policy determined by nodes other than the source node based on the time slot adjustment policy information is the adjustment policy corresponding to the policy number, and the time slot adjustment policy response information transmitted by the sink node includes a time slot adjustment response signal and the policy number as confirmation target adjustment information, where the time slot adjustment response information is the time slot adjustment response signal CA and is the response information corresponding to the time slot adjustment request information. Two adjacent nodes succeed in time slot negotiation only if the adjustment target policy number transmitted between the two adjacent nodes matches the confirmation target policy number transmitted between the two adjacent nodes. In this way, end-to-end time slot negotiation is completed only when the source node receives a confirmation target policy number that matches the adjustment target policy number transmitted by the source node, and then the process proceeds to the time slot adjustment process. In the time slot adjustment process, time slot adjustment instruction information is carried to the time slot adjustment instruction signal C, which is used to instruct the activation of the time slot adjustment policy to be activated. The source node transmits the time slot adjustment instruction signal C along with the policy number to be adjusted. In this embodiment, since the time slot adjustment instruction information includes the policy number to be adjusted, each node performs time slot adjustment according to the policy number after receiving the time slot adjustment instruction signal.

[0028] In the above embodiment, the source node transmits time slot adjustment policy information, which includes time slot adjustment request information and adjustment target information, to the downstream node. When the downstream node receives the time slot adjustment policy information, it can simultaneously obtain the time slot adjustment request information and adjustment target information. The time slot adjustment request information can trigger time slot negotiation, and the adjustment target information allows the current node to determine the policy content for time slot adjustment. Therefore, each downstream node that receives the time slot adjustment policy information can perform time slot negotiation and time slot adjustment based on the time slot adjustment policy information. The source node can complete time slot negotiation without transmitting time slot adjustment request information or time slot adjustment content to the downstream node, thereby improving the efficiency of time slot negotiation.

[0029] In time slot adjustment, the source node and sink node perform handshake negotiations via a time slot adjustment request signal CR and a time slot adjustment response signal CA. When the CR signal is sent, the time slot number and service number to be adjusted are also contained in the CR signal. When the adjustment response signal CA is returned, the time slot number and service number to be adjusted are also contained in the adjustment response signal CA. The time slot number indicates which time slot to adjust, and the service number indicates which client's time slot to adjust. In the specifications of the conventional technology, only one time slot adjustment request signal CR, one time slot number, and one service number can be transmitted per frame. If 10 time slots need to be adjusted, the time slot adjustment request signal CR, time slot number, and service number must be transmitted in 10 frames, and if 400 time slots need to be adjusted, the time slot adjustment request signal CR, time slot number, and service number must be transmitted in 400 frames. Similarly, when sending a time slot adjustment response signal CA, only one response signal CA, one time slot number, and one service number can be sent simultaneously per frame. Therefore, when adjusting 400 time slots, the time slot adjustment response signal CA, time slot number, and service number must be sent in 400 frames. Thus, the handshake negotiation speed is very slow, and the time slot negotiation efficiency is also very low. Therefore, in the time slot adjustment scheme according to the embodiment of the present invention, all time slot numbers and service numbers that need to be negotiated can be packaged into a single policy adjustment scheme and communicated to each node in advance in the form of a message. As a result, when communicating the information to be adjusted, the time slot number and service number are not retained, and only the policy number is retained, thereby informing downstream nodes of the time slot information to be adjusted.

[0030] Furthermore, if the time slot adjustment policy information includes a service number, the time slot adjustment policy response information will include the service number to be verified that corresponds to the service number.

[0031] In the time slot negotiation process, the information to be negotiated transmitted by an intermediate node may be the same as or different from the information to be negotiated transmitted by the preceding node. In other words, the intermediate node may determine the information to be negotiated according to the time slot negotiation capability supported by its own node.

[0032] In one embodiment, if the information to be adjusted is the time slot number to be adjusted, the intermediate node may discover that the time slot number to be adjusted that it can support does not match the time slot number to be adjusted transmitted by the upstream node. In this case, the intermediate node may determine the time slot number to be adjusted according to the time slot adjustment capability that it supports and transmit the time slot number to be adjusted to the downstream node.

[0033] In one embodiment, if the information to be adjusted is an adjusted policy number, the intermediate node may discover that the adjusted policy numbers it can support do not match the adjusted policy numbers transmitted by the upstream node. In this case, the intermediate node may determine the adjusted policy number according to the time slot adjustment capability it supports and transmit the adjusted policy number to the downstream node.

[0034] The time slot adjustment response information is the response information corresponding to the time slot adjustment request information. The upstream node of the two adjacent nodes will continue to return the time slot adjustment response information until it returns to the source node only if the adjustment target information transmitted between the two adjacent nodes matches the confirmation target adjustment information transmitted between the two adjacent nodes.

[0035] In one embodiment, time slot adjustment policy information may be directly encapsulated in an adjustment policy message and transmitted to each node in message form. The following embodiment describes in detail the process of performing time slot adjustment by encapsulating time slot adjustment policy information in an adjustment policy message and transmitting the adjustment policy message.

[0036] In one embodiment, time slot adjustment policy information is transmitted via time slot adjustment policy messages, and the adjustment target information in the time slot adjustment policy information includes the adjustment target policy number. Before the source node transmits the time slot adjustment policy information to the sink node via the downstream node, it transmits an adjustment policy message to the sink node via the downstream node containing the adjustment target policy number and the adjustment target policy information corresponding to the adjustment target policy number, so that the downstream node and the sink node store the adjustment target policy number and the adjustment target policy information. The adjustment target policy information includes all the time slot numbers to be adjusted, the service number, and the adjustment category. The adjustment policy message includes a message type identifier field, a first message field, a second message field, and a third message field. If the value of the message type identifier field is a first preset value, the first message field is used to represent the service number, the second message field is used to represent all the time slot numbers to be adjusted, and the third message field is used to represent the adjustment target policy number.

[0037] In another embodiment, time slot adjustment policy information is transmitted via time slot adjustment policy messages, and the adjustment target information in the time slot adjustment policy information includes the adjustment target policy number. Before the source node transmits the time slot adjustment policy information to the sink node via the downstream node, the source node transmits an adjustment policy message to the sink node via the downstream node containing the adjustment target policy number and the adjustment target policy information corresponding to the adjustment target policy number, so that the downstream node and the sink node store the adjustment target policy number and the adjustment target policy information. The adjustment target policy information includes all the time slot numbers to be adjusted, the service number, and the adjustment category. The adjustment policy message includes a message type identifier field, and if the value of the message type identifier field is a second preset value, the adjustment policy message is used to hold the time slot adjustment policy information and includes a fourth message field for representing the adjustment target information, the fourth message field includes a first message field for representing the service number, a second message field for representing all the time slot numbers to be adjusted, and a third message field for representing the adjustment target policy number.

[0038] The adjustment categories in the above-described embodiment include time slot increase adjustments to meet bandwidth increase demands or time slot decrease adjustments to meet bandwidth decrease demands.

[0039] In yet another embodiment, time slot adjustment policy information is transmitted via time slot adjustment policy messages, the adjustment target information in the time slot adjustment policy information includes the adjustment target policy number, the time slot adjustment policy includes the adjustment target policy number and the adjustment target policy information corresponding to the adjustment target policy number, and the time slot adjustment policy is issued by the network management system.

[0040] The source node may also send the above coordination policy message to the sink node via multiple channels through the downstream node, and these channels may be network channels, normal service channels, or the general-purpose communication channel GCC in bearer frames, and the embodiments of this application are not limited thereto.

[0041] The message format of the adjustment policy message may be selected according to the actual network environment to which it is applied, for example, the Ethernet message format or the Link Layer Discovery Protocol message format.

[0042] In one embodiment, if the information to be adjusted includes the policy number to be adjusted, the time slot adjustment policy information is held in the first time slot adjustment message, and the first time slot adjustment message includes a fifth message field for representing the time slot adjustment request information, a sixth message field for representing the policy number to be adjusted, and a seventh message field for representing the time slot adjustment policy response information, the time slot adjustment request information in the fifth message field is enabled, and the time slot adjustment policy response information in the seventh message field is disabled.

[0043] In another embodiment, if the information to be adjusted includes the policy number to be adjusted, the time slot adjustment policy response information is held in the second time slot adjustment message, which includes a fifth message field for representing the time slot adjustment request information, a sixth message field for representing the policy number to be adjusted, and a seventh message field for representing the time slot adjustment policy response information, wherein the time slot adjustment request information in the fifth message field is invalid, and the time slot adjustment policy response information in the seventh message field is enabled.

[0044] There are various ways in which a source node can send time slot adjustment policy information. The source node may continuously send time slot adjustment policy information to the sink node, or it may send it only under certain conditions.

[0045] In one embodiment, to ensure that time slot adjustment is successful, the source node may continuously send time slot adjustment policy information to the sink node via the downstream node until it receives time slot adjustment policy response information returned from the sink node via the downstream node.

[0046] In another embodiment, the source node continuously monitors whether it has received time slot adjustment policy response information returned from the sink node via the downstream node. If it has not received time slot adjustment policy response information over a first pre-configured time period, the source node may consider this an end-to-end link failure and stop transmitting time slot adjustment policy information.

[0047] There are various ways in which a source node can send time slot adjustment instruction information.

[0048] In one embodiment, the source node transmits time slot adjustment instruction information to the sink node via the downstream node using multiple bearer frames from the multiframe.

[0049] In one embodiment, when a source node receives a fault indication signal, it continuously transmits time slot adjustment instruction information to the sink node via the downstream node until it stops receiving fault indication signals.

[0050] In one embodiment, the source node transmits time slot adjustment instruction information to the sink node via the downstream node. If it does not receive adjustment success instruction information from the sink node within a second pre-set time period, it repeatedly transmits time slot adjustment instruction information until it receives adjustment success instruction information from the sink node within the second pre-set time period.

[0051] In one embodiment, the source node continuously transmits time slot adjustment instruction information to the sink node via the downstream node until it receives adjustment success instruction information from the sink node.

[0052] According to the embodiment of the present invention described above, the source node transmits time slot adjustment policy information to the sink node via the downstream node, so that the downstream node and the sink node determine the corresponding time slot adjustment policy based on the time slot adjustment policy information. Furthermore, after the source node receives time slot adjustment policy response information returned from the sink node via the downstream node, it adopts the corresponding time slot adjustment policy to complete the time slot adjustment, and transmits time slot adjustment instruction information to the sink node via the downstream node, so that the downstream node and the sink node adopt the corresponding time slot adjustment policy based on the time slot adjustment instruction information to complete the time slot adjustment. This not only shortens the negotiation time but also avoids the fallback demand due to negotiation failures in a per-hop adjustment scheme, thereby improving time slot negotiation efficiency and the success rate of time slot adjustment.

[0053] In the time slot negotiation and adjustment process, the time slot adjustment policy information, time slot adjustment instruction information, and service messages transmitted by the source node are all transmitted to the sink node via the intermediate node, and the time slot adjustment policy response information returned from the sink node must also be transmitted to the source node via the intermediate node. Therefore, the time slot adjustment flow by the intermediate node will be described in the following embodiment.

[0054] In one embodiment, when an intermediate node receives time slot adjustment policy information transmitted by an upstream node, it determines a corresponding time slot adjustment policy based on the time slot adjustment policy information and transmits the time slot adjustment policy information to a downstream node, so that the downstream node determines a corresponding time slot adjustment policy based on the time slot adjustment policy information. After the intermediate node receives time slot adjustment policy response information returned from its downstream node, it forwards the time slot adjustment policy response information to its upstream node. When the intermediate node receives time slot adjustment instruction information transmitted from an upstream node, it adopts the corresponding time slot adjustment policy and completes the time slot adjustment, and also forwards the time slot adjustment instruction information to a downstream node, so that the downstream node adopts the corresponding time slot adjustment policy based on the time slot adjustment instruction information and completes the time slot adjustment.

[0055] The time slot adjustment policy information includes time slot adjustment request information for requesting time slot adjustment, and adjustment target information for determining the policy content of the time slot adjustment policy. The time slot adjustment policy response information is sent by the sink node after it receives the time slot adjustment request information, and the time slot adjustment instruction information is sent by the source node after it receives the time slot adjustment policy response information.

[0056] In one embodiment, the intermediate node continuously transmits time slot adjustment policy information to the downstream node until it receives time slot adjustment policy response information returned from the downstream node.

[0057] In one embodiment, the intermediate node continuously transmits time slot adjustment policy information to the downstream node within a first pre-configured time period, and if it does not receive time slot adjustment policy response information returned from the downstream node within the first pre-configured time period, it stops transmitting the time slot adjustment policy information.

[0058] The transmission policy for time slot adjustment policy information at an intermediate node depends on the transmission behavior of the source node regarding time slot adjustment policy information; that is, after receiving the relevant information transmitted by the source node, the node performs the corresponding action and continues to forward this information to downstream nodes.

[0059] The information to be adjusted in the time slot adjustment policy information received by the intermediate node may be the time slot number to be adjusted or the policy number to be adjusted. Based on the received information to be adjusted, the intermediate node determines the policy content of its own time slot adjustment policy and transmits it to the downstream node.

[0060] In one embodiment, if the received adjustment target information is an adjustment target time slot number, the intermediate node determines the adjustment target time slot number of its own node according to its supported time slot adjustment capability and transmits it to the downstream node as a time slot adjustment policy.

[0061] In one embodiment, if the received adjustment target information is an adjustment target policy number, the intermediate node determines its own adjustment target policy number according to its supported time slot adjustment capability and sends it to the downstream node as a time slot adjustment policy.

[0062] In the time slot adjustment scheme according to the embodiment of this application, all time slot numbers and service numbers that require negotiation may be packaged into a single policy adjustment scheme, the policy adjustment scheme may be encapsulated in an adjustment policy message, and this message may be transmitted to each node in advance. This allows downstream nodes to be notified of the time slot information to be adjusted by not retaining the time slot number and service number, but only the policy number, when transmitting the information to be adjusted. There are various ways to transmit the message; it may be sent to other nodes before the source node starts transmitting the time slot adjustment policy information, or it may be sent uniformly by a network management system.

[0063] In one embodiment, the adjustment policy message includes a message type identifier field, a first message field, a second message field, and a third message field, wherein the value of the message type identifier field is a first preset value, the first message field is used to represent the service number, the second message field is used to represent all the time slot numbers to be adjusted, and the third message field is used to represent the policy number to be adjusted.

[0064] In one embodiment, the adjustment policy message includes a message type identifier field, and if the value of the message type identifier field is a second preset value, the adjustment policy message is used to hold time slot adjustment policy information and includes a fourth message field for representing the information to be adjusted, the fourth message field includes a first message field for representing the service number, a second message field for representing all the time slot numbers to be adjusted, and a third message field for representing the policy number to be adjusted.

[0065] In one embodiment, if the information to be adjusted includes the policy number to be adjusted, before receiving the time slot adjustment policy information sent by the upstream node, the intermediate node receives the adjustment policy message sent by the upstream node, which contains the policy number to be adjusted and the corresponding policy information to be adjusted. The intermediate node stores the policy number to be adjusted and the policy information to be adjusted, and then forwards the adjustment policy message to the downstream node so that the downstream node stores the policy number to be adjusted and the policy information to be adjusted. The policy information to be adjusted includes all the time slot numbers to be adjusted, the service number, and the adjustment category.

[0066] In another embodiment, a time slot adjustment policy, which includes the adjustment target policy number and the adjustment target policy information corresponding to the adjustment target policy number, is issued by the network management system.

[0067] The message format for the coordination policy message is either the Ethernet message format or the Link Layer Discovery Protocol message format.

[0068] In one embodiment, if the information to be adjusted includes the policy number to be adjusted, the time slot adjustment instruction information includes the time slot adjustment instruction signal and the policy number to be adjusted, the policy number to be adjusted in the time slot adjustment instruction information is used to determine the time slot adjustment policy to be activated, and the time slot adjustment instruction signal is used to instruct the activation of the time slot adjustment policy to be activated.

[0069] In one embodiment, if the information to be adjusted includes the policy number to be adjusted, the time slot adjustment instruction information includes a time slot adjustment instruction signal, which is used to instruct the activation of the time slot adjustment policy determined in the previous time slot adjustment negotiation.

[0070] In one embodiment, if the information to be adjusted includes the policy number to be adjusted, the time slot adjustment policy information is held in the first time slot adjustment message, and the first time slot adjustment message includes a fifth message field for representing the time slot adjustment request information, a sixth message field for representing the policy number to be adjusted, and a seventh message field for representing the time slot adjustment policy response information, the time slot adjustment request information in the fifth message field is enabled, and the time slot adjustment policy response information in the seventh message field is disabled.

[0071] In one embodiment, if the information to be adjusted includes the policy number to be adjusted, the time slot adjustment policy response information is held in the second time slot adjustment message, and the second time slot adjustment message includes a fifth message field for representing the time slot adjustment request information, a sixth message field for representing the policy number to be adjusted, and a seventh message field for representing the time slot adjustment policy response information, the time slot adjustment request information in the fifth message field is invalidated, and the time slot adjustment policy response information in the seventh message field is enabled.

[0072] Furthermore, if the time slot adjustment policy information includes a service number, the time slot adjustment policy response information will include the service number to be verified corresponding to the service number. The adjustment category includes time slot increase adjustments to address the demand for increased bandwidth or time slot decrease adjustments to address the demand for decreased bandwidth.

[0073] Furthermore, the intermediate node may send the above coordination policy message to the downstream node through multiple channels, and these channels may be network channels, normal service channels, or the general-purpose communication channel GCC in bearer frames, and the embodiments of this application are not limited thereto.

[0074] There are various methods by which intermediate nodes can transfer time slot adjustment instruction information.

[0075] In one embodiment, the intermediate node uses multiple bearer frames from the multiframe to transfer time slot adjustment instruction information to the downstream node.

[0076] In one embodiment, when an intermediate node receives a fault indication signal, it continuously forwards time slot adjustment instruction information to the downstream node until it stops receiving fault indication signals.

[0077] In one embodiment, the intermediate node forwards time slot adjustment instruction information to the downstream node, and if it does not receive adjustment success instruction information from the sink node within a second pre-set time period, it repeatedly transmits time slot adjustment instruction information until it receives adjustment success instruction information from the sink node within the second pre-set time period.

[0078] In one embodiment, the intermediate node continuously forwards time slot adjustment instruction information to the downstream node until it receives adjustment success instruction information from the sink node.

[0079] According to an embodiment of the present invention relating to time slot adjustment by an intermediate node, the intermediate node determines its own time slot adjustment policy based on time slot adjustment policy information transmitted by the source node, and forwards time slot adjustment request information and time slot adjustment policy information, thereby enabling other downstream nodes to sequentially perform time slot negotiation. Furthermore, after receiving time slot adjustment policy response information returned from the downstream nodes, the intermediate node forwards the time slot adjustment policy response information, allowing the source node to ultimately know of the success of end-to-end time slot negotiation. The intermediate node processes service messages based on time slot adjustment instruction information transmitted by the source node and forwards the time slot adjustment instruction information to other downstream nodes, enabling other downstream nodes to sequentially process service messages based on the negotiated time slots. This shortens negotiation time, avoids the need for fallback due to negotiation failures in a hop-by-hop adjustment scheme, and improves time slot negotiation efficiency and the success rate of time slot adjustment.

[0080] In the time slot negotiation and adjustment process, the time slot adjustment policy information, time slot adjustment instruction information, and service messages sent by the source node are forwarded via the intermediate node and finally reach the sink node. The sink node also needs to send back time slot adjustment policy response information to the source node via the intermediate node. Therefore, the time slot adjustment flow of the sink node will be described in the following embodiment.

[0081] In one embodiment, the sink node receives time slot adjustment policy information sent by the source node via the upstream node, determines a corresponding time slot adjustment policy based on the time slot adjustment policy information, sends time slot adjustment policy response information to the source node via the upstream node based on the time slot adjustment request information, and upon receiving time slot adjustment instruction information sent by the source node via the upstream node, the sink node adopts the corresponding time slot adjustment policy and completes the time slot adjustment.

[0082] The time slot adjustment policy information includes time slot adjustment request information for requesting time slot adjustment, and adjustment target information for determining the policy content of the time slot adjustment policy. The time slot adjustment instruction information is sent after the source node receives the time slot adjustment policy response information.

[0083] The information to be adjusted in the time slot adjustment policy information received by the sink node may be the time slot number to be adjusted or the policy number to be adjusted. The sink node determines the policy content of its own node's time slot adjustment policy based on the received information to be adjusted. Since the sink node is the last node in the link, after receiving the time slot adjustment policy information, the sink node does not forward it to other downstream nodes, and the time slot negotiation ends at the sink node.

[0084] In one embodiment, if the received information to be adjusted is a time slot number to be adjusted, the sink node determines the time slot number to be adjusted for its own node, according to the time slot adjustment capability it can support.

[0085] In one embodiment, if the received adjustment information is a number in the adjustment policy, the sink node determines the adjustment policy number of its own node according to the time slot adjustment capability it can support.

[0086] In the time slot adjustment scheme according to the embodiment of this application, all time slot numbers and service numbers that require negotiation may be packaged into a single policy adjustment scheme, the policy adjustment scheme may be encapsulated in an adjustment policy message, and this message may be transmitted to each node in advance. This allows downstream nodes to be notified of the time slot information to be adjusted by not retaining the time slot number and service number, but only the policy number, when transmitting the information to be adjusted. There are various ways to transmit the message; it may be sent to other nodes before the source node starts transmitting the time slot adjustment policy information, or it may be sent uniformly by a network management system.

[0087] In one embodiment, the adjustment policy message includes a message type identifier field, a first message field, a second message field, and a third message field, wherein the value of the message type identifier field is a first preset value, the first message field is used to represent the service number, the second message field is used to represent all the time slot numbers to be adjusted, and the third message field is used to represent the policy number to be adjusted.

[0088] In one embodiment, the adjustment policy message includes a message type identifier field, and if the value of the message type identifier field is a second preset value, the adjustment policy message is used to hold time slot adjustment policy information and includes a fourth message field for representing the information to be adjusted, the fourth message field includes a first message field for representing the service number, a second message field for representing all the time slot numbers to be adjusted, and a third message field for representing the policy number to be adjusted.

[0089] In one embodiment, if the information to be adjusted includes the policy number to be adjusted, the sink node receives an adjustment policy message sent by the source node via the upstream node, which contains the policy number to be adjusted and the corresponding policy information to be adjusted, before receiving the time slot adjustment policy information sent by the source node via the upstream node. The sink node then stores the policy number to be adjusted and the policy information to be adjusted and uses them to determine the time slot adjustment policy during subsequent time slot negotiations. The policy information to be adjusted includes all the time slot numbers to be adjusted, the service number, and the adjustment category.

[0090] The message format for the coordination policy message is either the Ethernet message format or the Link Layer Discovery Protocol message format.

[0091] In one embodiment, if the information to be adjusted includes the policy number to be adjusted, the time slot adjustment instruction information includes the time slot adjustment instruction signal and the policy number to be adjusted, the policy number to be adjusted in the time slot adjustment instruction information is used to determine the time slot adjustment policy to be activated, and the time slot adjustment instruction signal is used to instruct the activation of the time slot adjustment policy to be activated.

[0092] In one embodiment, if the information to be adjusted includes the policy number to be adjusted, the time slot adjustment instruction information includes a time slot adjustment instruction signal, which is used to instruct the activation of the time slot adjustment policy determined in the previous time slot adjustment negotiation.

[0093] In one embodiment, if the information to be adjusted includes the policy number to be adjusted, the time slot adjustment policy information is held in the first time slot adjustment message, and the first time slot adjustment message includes a fifth message field for representing the time slot adjustment request information, a sixth message field for representing the policy number to be adjusted, and a seventh message field for representing the time slot adjustment policy response information, the time slot adjustment request information in the fifth message field is enabled, and the time slot adjustment policy response information in the seventh message field is disabled.

[0094] In one embodiment, if the information to be adjusted includes the policy number to be adjusted, the time slot adjustment policy response information is held in the second time slot adjustment message, and the second time slot adjustment message includes a fifth message field for representing the time slot adjustment request information, a sixth message field for representing the policy number to be adjusted, and a seventh message field for representing the time slot adjustment policy response information, the time slot adjustment request information in the fifth message field is invalidated, and the time slot adjustment policy response information in the seventh message field is enabled.

[0095] Furthermore, if the time slot adjustment policy information includes a service number, the time slot adjustment policy response information will include the service number to be verified corresponding to the service number. The adjustment category includes time slot increase adjustments to address the demand for increased bandwidth or time slot decrease adjustments to address the demand for decreased bandwidth.

[0096] In one embodiment, the sink node may send adjustment success instruction information to the source node or network management system to notify the source node that the time slot adjustment was successful and to enable the source node to adopt the corresponding time slot adjustment policy and complete the time slot adjustment. The adjustment success instruction information indicates that the time slot adjustment has been completed based on the time slot adjustment instruction information. In this way, if a link failure occurs after the time slot adjustment, the sink node cannot send the adjustment success instruction information to the source node, and the source node does not begin full-scale service processing using the adjusted time slot bearer scheme.

[0097] According to an embodiment of the service processing of an intermediate node of the present invention, the sink node determines its own time slot adjustment policy based on time slot adjustment policy information transferred from the intermediate node and sends time slot adjustment policy response information to the source node, thereby enabling the source node to finally know of the success of end-to-end time slot negotiation, process service messages based on time slot adjustment instruction information sent by the source node, shorten negotiation time, avoid fallback demand due to negotiation failure in a per-hop adjustment scheme, and improve time slot negotiation efficiency and the success rate of time slot adjustment.

[0098] The service processing scheme proposed in this application will be described below using examples.

[0099] Example 1 As shown in Figure 6, the network management system issues time slot configuration details and adjustment commands to the source node and sink node, determines the source node 610 and sink node 640, and the time slot adjustment is initiated by the source node 610. First, the source node 610 sends a time slot adjustment request CR signal to the downstream node 620, along with the time slot number to be adjusted, presenting the time slot number requiring adjustment to the downstream node 620. The downstream node 620 receives the CR signal and begins preparation work, and can generate an adjustment policy corresponding to the time slot number based on the received time slot adjustment policy information. In this embodiment, instead of immediately sending a time slot adjustment response CA signal back to the source node 610, the downstream node 620 continues to send a time slot adjustment response CR signal to the downstream node 630, along with the time slot number to be adjusted. Similarly, the downstream node 630 receives the CR signal transmitted by the downstream node 620 and begins preparatory work. Instead of immediately sending a time slot adjustment response CA signal back to the downstream node 620, it continues to send a time slot adjustment request CR signal to the sink node 640, along with the time slot number to be adjusted. The sink node 640 receives the time slot adjustment request CR signal transmitted by its upstream node, i.e., the downstream node 630, completes its preparatory work, and sends time slot adjustment policy response information back to the downstream node 630. The time slot adjustment policy response information includes time slot adjustment response information and confirmation target adjustment information. The time slot adjustment response information is the response information corresponding to the time slot adjustment request information and is carried to the time slot adjustment response CA signal. The confirmation target adjustment information includes the time slot number to be adjusted. After receiving the time slot adjustment response signal CA from the sink node 640, the downstream node 630 sends the time slot adjustment response signal CA and the time slot number to be adjusted back to the downstream node 620. Similarly, the downstream node 620 receives a time slot adjustment response signal CA from the downstream node 630 and then sends the response signal CA and the time slot number to be adjusted back to the source node 610.After receiving the downstream time slot adjustment response signal CA and the time slot number to be adjusted, source node 610 determines that the returned time slot number matches the requested time slot number, and determines that the negotiation work between source node 610 and sink node 640 and all intermediate nodes (downstream nodes 620 and 630) is complete and that the time slot adjustment negotiation has been successful among all nodes. Only in this case does source node 610 begin sending adjustment instruction signal C to the downstream nodes. Source node 610 also completes the time slot adjustment according to the new time slot scheme, and downstream node 620, after receiving adjustment instruction signal C, forwards service messages according to the previously negotiated time slot adjustment policy, completing the time slot adjustment work between source node 610 and downstream node 620. When the downstream node 620 receives the adjustment instruction signal C from the source node 610, it simultaneously sends the adjustment instruction signal C to the downstream node 630. The downstream node 620 also forwards a service message according to the previously negotiated time slot adjustment policy. When the downstream node 630 receives the adjustment instruction signal C, it also forwards a service message according to the previously negotiated time slot adjustment policy, completing the time slot adjustment operation between the downstream node 620 and the downstream node 630. In this way, when the downstream node 630 receives the adjustment instruction signal C from the downstream node 620, it sends the adjustment instruction signal C to the downstream sink node 640. The downstream node 630 also forwards a service message according to the previously negotiated time slot adjustment policy, and when the sink node 640 receives the adjustment instruction signal C, it completes the time slot adjustment operation between the downstream node 630 and the sink node 640. Once the sink node 640 completes the time slot adjustment, the end-to-end time slot adjustment operation is completed. After completing the time slot adjustment, the sink node 640 may report the adjustment results to the network management center and notify the source node 610 that the adjustment was successful and the adjustment operation is complete.If the network management center, source node 610, does not receive a time slot adjustment success signal from the sink node 640 for a certain period of time, source node 610 may retransmit the time slot adjustment signal C once. Source node 610 may continue to transmit the time slot adjustment signal C and stop transmitting the time slot adjustment signal C when it receives a time slot adjustment success signal from the sink node 640.

[0100] In this embodiment, time slot negotiation and adjustment are performed end-to-end between the source node 610 and the sink node 640. Intermediate nodes 620-630 participate in the negotiation, and these intermediate nodes sequentially transmit time slot adjustment negotiation signals in a relay manner, thereby realizing a handshake negotiation mechanism for time slot adjustment between the source node 610 and the sink node 640. Successful negotiation between the source node 610 and the sink node 640 indicates that the negotiation for time slot adjustment from the source node 610 to the sink node 640, including all intermediate nodes in the network, has been successful. Only after the handshake negotiation for time slot adjustment between all nodes has been successful do the time slot adjustment operations sequentially start from the source node 610. The end-to-end time slot adjustment method according to the embodiment of the present invention may be adopted regardless of whether time slots are increased or decreased, and time slot adjustment negotiation and execution work can be performed between the source node 610 and the sink node 640. In response to the demand for time slot increase adjustment, the client service bandwidth is not increased until the end-to-end time slot increase adjustment is completed, and the client service bandwidth is maintained at its original bandwidth. Therefore, in the end-to-end time slot increase adjustment process, even if the bandwidth between upstream nodes is large and the bandwidth between downstream nodes is small, the client service bandwidth is maintained at its original bandwidth. Since the size of the client service band bandwidth and the bandwidth between downstream nodes are the same, even if the bandwidth of the upstream channel is large, the effective client service bandwidth does not increase, and the service overflow phenomenon does not occur.

[0101] Figure 6 is a schematic diagram of the time slot adjustment flow according to one embodiment of the present invention. As shown in Figure 6, only one time slot is set between source node 610 and intermediate node 620, between intermediate node 620 and intermediate node 630, and between intermediate node 630 and sink node 640 to transmit client services, and the bandwidth of client services that can be transmitted in one time slot is only 10M. If it is necessary to adjust the bandwidth to 20M, the client service bandwidth initially remains at 10M, and in the adjustment process, the time slot between source node 610 and intermediate node 620 is first adjusted from one time slot to two time slots, and the bearer bandwidth becomes 20M. Between intermediate node 620 and intermediate node 630, and between intermediate node 630 and sink node 640, one time slot remains to transmit client services at a rate of 10M. At source node 610, when bearing a 10M rate client service in two time slots, the client service speed is slower than the bearer's time slot speed, so a large amount of idle information, such as idle code blocks, needs to be inserted between each client. Adding this large amount of idle information increases the total speed to 20M, after which it is carried over to two time slots. At intermediate node 620, after receiving the client traffic from source node 610 and removing the large amount of idle information inserted between messages, the remaining client service speed can be carried over to one time slot. Intermediate node 620 then carries the client traffic after removing the idle information over one time slot and sends it to intermediate node 630. If the time slots are adjusted from one to two between intermediate node 620 and intermediate node 630, intermediate node 620 does not remove the idle information when it receives client traffic from source node 610, and intermediate node 630 removes the idle information and carries it over one time slot.After the time slot count is adjusted from 1 to 2 between the intermediate node 630 and the sink node 640, the number of time slots in the end-to-end bearer channel between the source node 610 and the sink node 640 is adjusted to 2 time slots, and a 20M client service is bearered. The client service speed is adjusted to 20M after the end-to-end time slot count adjustment is successful. For adjustments that increase the number of time slots, the client service speed is increased after the end-to-end node time slot adjustment is complete. Similarly, for adjustments that decrease the number of time slots, the client service speed is slowed down before the end-to-end node time slot adjustment is performed, keeping the client service speed always slower than the bearer speed at any node in the end-to-end node bearer channel. For any node, if the upstream time slot bandwidth is greater than the downstream time slot bandwidth, a large amount of idle information is removed from the client service coming from upstream before the client service is sent to the downstream time slot; if the upstream time slot bandwidth is less than the downstream time slot bandwidth, a large amount of idle information is inserted into the client service coming from upstream before it is sent to the downstream time slot. Furthermore, when intermediate node 620 or intermediate node 630 receives the adjustment instruction C signal, it immediately transmits the adjustment instruction downstream, and the downstream time slot increase adjustment also starts immediately. In this way, the time slot increase adjustment starts from source node 610 and is performed sequentially by relay between all nodes in the network from upstream to downstream nodes. The adjustment between the upstream and downstream nodes is performed sequentially, and the mismatch in the number of time slots and bandwidth between the upstream and downstream nodes exists only for a moment. After that, the number of time slots between the upstream and downstream nodes immediately matches, thereby avoiding the problem of service overflow caused by the mismatch in the number of time slots between the upstream and downstream nodes.

[0102] Example 2 In time slot adjustment, the source node and sink node perform handshake negotiations via a time slot adjustment request signal CR and a time slot adjustment response signal CA. When the CR signal is sent, the time slot number and service number to be adjusted are also contained in the CR signal. When the adjustment response signal CA is returned, the time slot number and service number to be adjusted are also contained in the adjustment response signal CA. The time slot number indicates which time slot to adjust, and the service number indicates which service's time slot to adjust. The specifications of the relevant technology allow only one adjustment request signal, one time slot number, and one service number to be transmitted per frame. If 10 time slots need to be adjusted, the time slot adjustment request signal CR, time slot number, and service number must be transmitted in 10 frames. If 400 time slots need to be adjusted, the time slot adjustment request signal CR, time slot number, and service number must be transmitted in 400 frames. Similarly, when sending back a time slot adjustment response signal CA, only one time slot adjustment response signal CA, one time slot number, and one service number can be sent back simultaneously per frame. If 400 time slots are being adjusted, the time slot adjustment response signal CA, time slot number, and service number must be sent back over 400 frames. Thus, the handshake negotiation speed is extremely slow.

[0103] The embodiment of the present invention provides a convenient method for packaging all time slot numbers and service numbers that require negotiation into a single policy adjustment scheme. The policy adjustment scheme is encapsulated in a policy adjustment packet and communicated to each node in advance as a message. By communicating only the policy number when performing time slot adjustment between the source node and the sink node, the transmission of the time slot policy can be achieved.

[0104] Figure 7 is a schematic diagram of the time slot adjustment flow according to another embodiment of the present invention. As shown in Figure 7, when time slot adjustment negotiation is performed between the source node 710 and the sink node 740, the source node 710 transmits only the time slot adjustment policy number when it transmits the time slot adjustment request signal CR. In Figure 7, the time slot number to be adjusted, the service number, and the time slot adjustment method are all packaged together, and the policy number name is policy number 1, which includes all the time slot numbers, service numbers, and adjustment methods to be adjusted. The contents of policy number 1 are transmitted to each node in advance in the form of a message. When time slot adjustment negotiation is required, only the time slot adjustment request signal CR and policy number 1 need to be transmitted, so both the time slot adjustment request signal CR and policy number 1 can be transmitted in one frame. Similarly, when replying with a time slot adjustment response signal CA, only the time slot adjustment response signal CA and policy number 1 need to be replied with, so the response signal is transmitted in one frame. By transmitting policy numbers, even when adjusting a large number of time slots, the application signal and adjustment policy number can be transmitted in a single frame, and the response signal and adjustment policy number can be returned in a single frame. This speeds up the handshake negotiation process for time slot adjustment and improves the efficiency of time slot negotiation.

[0105] In this embodiment, the time slot adjustment policy content may be encapsulated in an adjustment policy message and transmitted to each node in message form. For example, it may be transmitted to each node in message form using the Ethernet message format or the Link Layer Discovery Protocol message format.

[0106] Figure 8 is a schematic diagram of encapsulating time slot adjustment policy content using the Ethernet message format according to an embodiment of the present invention. As shown in Figure 8, when the message includes the time slot adjustment policy number, time slot adjustment type (addition or deletion), the time slot number to be adjusted, and the service number to be adjusted, the time slot adjustment content is transmitted to each node collectively in message form. Figure 9 is a schematic diagram of sending an adjustment policy message to other nodes via a source node according to an embodiment of the present invention. As shown in Figure 9, a time slot adjustment policy message can be sent from the source node to all downstream nodes. The source node sends the adjustment policy message to each node using various methods such as a network channel, a normal service channel, or a general-purpose communication channel in a bearer frame. After an intermediate node in the network receives the time slot adjustment policy message, it forwards it sequentially to the downstream nodes until all nodes have received the time slot adjustment policy message.

[0107] Figure 10 is a schematic diagram of the frame structure according to an embodiment of the present invention. As shown in Figure 10, if the frame structure has a GCC channel (when the content of the flag field is "11"), the scheme message is 64 / 66 coded, and coding forms a 66-bit code block, all 66-bit code blocks are placed in the GCC field and transmitted, each GCC field can bear 33 bits, and the GCC fields of two consecutive frames can bear one complete 66 code block. If the content in the flag field is "00", the contents of fields such as CR, CA, client ID, and sub_slot ID are transmitted, and after the sub_slot ID field there is a 9-bit reserved field (res field in the figure, abbreviation for reserved) which can bear a policy number, and the 9-bit length can represent 512 different policy number values.

[0108] Example 3 In the end-to-end time slot negotiation and adjustment process, the source node initiates the time slot adjustment request, providing the policy number requiring adjustment. If the policy numbers to be adjusted are exactly the same across the source node, intermediate node, and sink node, the intermediate node only needs to forward the time slot adjustment request signal, policy number, and time slot adjustment response signal, thereby completing the end-to-end time slot adjustment handshake negotiation process. However, in practical applications, since the configuration time slots differ for each node, each node needs to determine the policy number according to the time slot adjustment capabilities it supports.

[0109] Figure 11 is a schematic diagram of the time slot adjustment flow according to another embodiment of the present invention. In this embodiment, the adjustment content of time slots 2 and 3 between source node 810 and downstream node 820 in Figure 11 is called policy number 12, the adjustment content of time slots 5 and 8 between downstream node 820 and downstream node 830 is called policy number 23, and the adjustment content of time slots 1 and 7 between downstream node 830 and sink node 840 is called policy number 34. Time slot policy numbers 12, 23, and 34 can be sent from the source node to all nodes in the network in the form of a message, or the network management center can send time slot adjustment policy numbers 12, schemes 23, and schemes 34 to each node. In this way, during time slot adjustment handshake negotiation, the time slot adjustment request signal CR, time slot adjustment response signal CA, and time slot adjustment instruction signal C do not need to hold the time slot number, but only the policy number, thereby speeding up the time slot adjustment negotiation.

[0110] Example 4 Time slot adjustment policy messages are transmitted sequentially from the source node to each node in the network, or a centralized transmission method may be used.

[0111] Figure 12 is a schematic diagram of the issuance of a time slot adjustment policy message via a network management center according to an embodiment of the present invention. As shown in Figure 12, the network management system of the management center transmits the message to each node in the network, and the network management system uniformly issues the time slot adjustment policy to each node. The time slot adjustment policy includes the content and policy number that implement the time slot adjustment scheme. After each node receives the time slot adjustment policy from the network management system, the source node initiates the time slot adjustment negotiation mechanism.

[0112] The time slot adjustment process based on the time slot adjustment policy is the same as in the above embodiment, so it will not be described in detail in this embodiment.

[0113] Example 5 In the end-to-end time slot negotiation and adjustment process, the source node initiates the time slot adjustment request, providing the time slot number and service number that need adjustment. If the time slot numbers to be adjusted are exactly the same across the source node, intermediate node, and sink node, the intermediate node only needs to forward the time slot adjustment request signal, time slot number, and time slot adjustment response signal, thereby achieving the end-to-end time slot adjustment handshake negotiation process. However, in practical applications, the configuration time slots differ across nodes, which may result in mismatched remaining time slot numbers. Therefore, if the adjustment time slot numbers are exactly the same, end-to-end time slot adjustment handshake negotiation cannot be achieved. Consequently, each intermediate node must determine which time slots to adjust based on its supported time slot adjustment capabilities.

[0114] Figure 13 is a schematic diagram of the flow of the time slot adjustment method according to an embodiment of the present invention. As shown in Figure 13, there are two idle time slots, idle time slot 2 and idle time slot 3, between source node 810 and downstream node 820. Source node 810 sends a time slot increase adjustment request signal CR, and the time slot numbers to increase are time slot 2 and time slot 3. Time slots 2 and time slot 3 may be added between source node 810 and downstream node 820, but between downstream node 820 and downstream node 830, time slots 2 and time slot 3 are already in use, so the negotiation operation to add time slots 2 and time slot 3 cannot be performed, and the end-to-end handshake negotiation operation stops between node 2 and node 3 and cannot proceed. To ensure the continuation of end-to-end time slot adjustment negotiation, the time slot numbers targeted for increased adjustment through negotiation between source node 810 and downstream node 820 are time slot 2 and time slot 3. However, depending on the idle time slot status between downstream node 820 and downstream node 830, downstream node 820 selects time slot 5 and time slot 8 as the time slot numbers targeted for time slot increase adjustment between downstream node 820 and downstream node 830. Thus, after downstream node 820 receives the time slot increase adjustment request signal, increased time slot 2, and increased time slot 3 transmitted by source node 810, the time slot increase adjustment request signal CR and increased time slot numbers transmitted to downstream node 830 are time slot 5 and time slot 8.In this way, depending on the idle time slot status between the downstream node 830 and the sink node 840, the downstream node 830 selects time slot 1 and time slot 7 as the time slot numbers to be subject to time slot increase adjustment between the downstream node 830 and the sink node 840. Thus, after the downstream node 830 receives the time slot increase adjustment request signal CR, increased time slot 5, and increased time slot 8 sent by the downstream node 820, it sends the time slot increase adjustment request signal CR, increased time slot 1, and increased time slot 7 to the sink node 840. After the sink node 840 receives the time slot increase adjustment request signal CR, increased time slot 1, and increased time slot 7, it replies to the downstream node 830 with the time slot increase adjustment response signal CA, increased time slot 1, and increased time slot 7, and the downstream node 830 replies with the time slot increase adjustment response signal CA, increased time slot 5, and increased time slot 8. In this way, after the downstream node 820 receives the returned time slot increase adjustment response signal CA, increased time slot 5, and increased time slot 8, it sends back the time slot increase adjustment response signal CA, increased time slot 2, and increased time slot 3 to the source node 810.After receiving the time slot increase adjustment response signals CA, increased time slot 2, and increased time slot 3 from the downstream nodes, source node 810 determines that the handshake negotiation for time slot increase adjustment is complete between source node 810, downstream node 820, downstream node 830, and sink node 840, even though the actual increased time slot numbers do not match between the different nodes. Source node 810 then begins sending time slot increase adjustment instruction signal C and begins bearing client services in time slots 2 and 3. Downstream node 820 receives time slot increase adjustment instruction signal C and extracts client services in time slots 2 and 3. Simultaneously, downstream node 820 sends time slot increase adjustment instruction signal C to downstream node 3 and bears client services in time slots 5 and 8 between downstream node 820 and downstream node 830. The downstream node 830 receives the time slot increase adjustment instruction signal C, extracts client services in time slots 5 and 8, and simultaneously sends the time slot increase adjustment instruction signal C to the sink node 840, bearing client services in time slots 1 and 7 between the downstream node 830 and the sink node 840. The sink node 840 receives the time slot increase adjustment instruction signal C and extracts client services in time slots 1 and 7. In this way, the end-to-end time slot increase adjustment operation is completed.

[0115] Example 6 Compared to the time slot negotiation and adjustment process in time slot increase according to Example 5, Example 6 provides a time slot negotiation and adjustment process in time slot deletion.

[0116] As shown in Figure 13, the end-to-end time slot reduction process is similar to the above, requiring the removal of client service time slots 2 and 3 between source node 810 and downstream node 820. Source node 810 sends a time slot adjustment request signal to reduce time slots 2 and 3. While time slots 2 and 3 may be reduced between source node 810 and downstream node 820, if time slots 2 and 3 are services for other clients and not for the client to be adjusted, or if time slots 2 and 3 are idle time slots and do not require reduction adjustment, then a reduction adjustment handshake negotiation for the target client's time slots 2 and 3 cannot be performed between downstream node 820 and downstream node 830. To ensure the continuation of the end-to-end time slot adjustment negotiation mechanism, the negotiation adjustment between source node 810 and downstream node 820 targets time slots 2 and 3. However, downstream node 820 plans to reduce time slots 5 and 8 used by the client between downstream node 820 and downstream node 830, depending on the status of time slots currently in use between downstream node 820 and downstream node 830 of the client being adjusted. Thus, after receiving the time slot adjustment request signal CR, reduced time slot 2, and reduced time slot 3 sent by source node 810, downstream node 820 sends the time slot adjustment request signal CR, reduced time slot 5, and reduced time slot 8 to downstream node 830.In this way, the downstream node 830 adjusts the time slots in use between the downstream node 830 and the sink node 840 by reducing time slot 1 and time slot 7, depending on the time slot status in use between the downstream node 830 and the sink node 840. Thus, after the downstream node 830 receives the time slot adjustment request signal CR, reduced time slot 5, and reduced time slot 8 transmitted by the downstream node 820, it transmits the time slot adjustment request signal CR, reduced time slot 1, and reduced time slot 7 to the sink node 840. After the sink node 840 receives the time slot adjustment request signal CR, the reduced time slot 1, and the reduced time slot 7, it sends back the time slot reduction adjustment response signal CA, the reduced time slot 1, and the reduced time slot 7 to the upstream node. After the downstream node 830 receives the time slot reduction adjustment response signal CA, the reduced time slot 1, and the reduced time slot 7 sent back from the sink node 840, it sends back the time slot adjustment response signal CA, the reduced time slot 5, and the reduced time slot 8 to the downstream node 820. In this way, after the downstream node 820 receives the time slot adjustment response signal CA, the reduced time slot 5, and the reduced time slot 8 sent back, it sends back the time slot reduction adjustment response signal CA, the reduced time slot 2, and the reduced time slot 3 to the source node 810.After receiving the time slot reduction adjustment response signal CA, the reduced time slot 2, and the reduced time slot 3 from the downstream node, source node 810 determines that the source node, the sink node, and the intermediate nodes in the network have completed the handshake negotiation for time slot reduction adjustment. Source node 810 then begins transmitting the time slot reduction adjustment instruction signal C, stopping the bearers of client services in time slots 2 and 3. Downstream node 820 transmits the time slot reduction adjustment instruction signal C to downstream node 830, stopping the bearers of client services in time slots 5 and 8 between downstream node 820 and downstream node 830. Downstream node 830 receives the time slot reduction adjustment instruction signal C and stops the extraction of client services in time slots 5 and 8. Downstream node 830 also transmits the time slot adjustment instruction signal C to sink node 840, stopping the bearers of client services in time slots 1 and 7 between downstream node 830 and sink node 840. The sink node 840 receives the time slot reduction adjustment instruction signal C and stops extracting client services in time slots 1 and 7. In this way, the end-to-end time slot reduction adjustment process is completed.

[0117] According to the embodiment of the present invention, by selecting and adjusting different time slot numbers between different nodes according to their respective time slot configurations, the time slot numbers used for time slot adjustment differ between different nodes. However, this does not affect the end-to-end time slot adjustment handshake negotiation mechanism, and the end-to-end time slot adjustment negotiation operation can be performed normally.

[0118] Example 7 When time slot adjustment policy contents are sent from a source node to another node, the adjustment policy message contents may simultaneously contain a time slot adjustment request signal CR and a time slot adjustment response signal C.

[0119] Figure 14 is a schematic diagram of the structure of a message encapsulating the time slot adjustment policy content according to an embodiment of the present invention. As shown in Figure 14, by simultaneously holding the time slot adjustment request signal CR, time slot adjustment response signal CA, adjustment type, adjustment time slot number, and service number in the message, all negotiation information for time slot adjustment is included in a single message. When sending an adjustment scheme number message, the time slot adjustment request signal CR and time slot adjustment response signal CA are also held. In the process of transmitting the contents of the time slot scheme, the handshake negotiation work is also started simultaneously, eliminating the need to individually send the time slot adjustment request signal CR and time slot adjustment response signal CA between nodes, thus reducing the transmission of the time slot adjustment request signal CR and time slot adjustment response signal CA signals.

[0120] Figure 15 is a schematic diagram of the time slot adjustment flow according to an embodiment of the present invention. Source node 910 sends an adjustment policy message to downstream node 920 containing the time slot content to be adjusted, the service number, and the adjustment type (increase adjustment or decrease adjustment), and the time slot adjustment request signal CR is active. After receiving the adjustment policy message from source node 910, downstream node 920 continues to send an adjustment policy message to downstream node 930 containing the time slot content to be adjusted, the service number, and the adjustment type, and the adjustment request signal CR is active. In this way, downstream node 930 sends an adjustment policy message to sink node 940 containing the time slot content to be adjusted, the service number, and the adjustment type, and the adjustment request signal CR is active. Sink node 940 receives the adjustment policy message and replies to downstream node 930 with an adjustment policy message containing the adjusted scheme, and the time slot adjustment response signal CA is active. Downstream node 930 receives the adjustment policy message and continues to reply to downstream node 920 with an adjustment policy message containing the scheme to be adjusted, and the adjustment response signal CA is active. In this way, the downstream node 920 sends back an adjustment policy message to the source node 910 containing the scheme to be adjusted, and the adjustment response signal CA is valid. Upon receiving the adjustment policy message and the validity of the time slot adjustment response signal CA, the source node 910 determines that the source node 910, the sink node 940, and the intermediate nodes 920-930 have completed the adjustment negotiation work, and the source node 910 begins transmitting the time slot adjustment instruction signal C, starts the time slot adjustment work, and processes client services using the new time slot scheme. Subsequent downstream devices receive the time slot adjustment instruction signal C, process client services using the new time slot scheme, and continue transmitting the time slot adjustment instruction signal C downstream until the sink node 940 receives the time slot adjustment instruction signal C, processes client services using the new time slot scheme, and completes the end-to-end time slot adjustment work.

[0121] In applications, the time slot adjustment instruction signal C is defined in a bearer frame, and the adjustment instruction signal is transmitted along with the bearer frame. If an error occurs in the bearer frame, the downstream device cannot correctly receive the adjustment instruction signal C, the downstream device cannot start the adjustment operation, and it cannot continue to transmit the adjustment instruction signal C further downstream. To improve the reliability of the transmission of the adjustment instruction signal C, multiple adjustment instruction signals C can be transmitted, so that even if some of the adjustment instruction signals C are lost due to signal interference, other adjustment instruction signals C will be transmitted to the downstream device. Figure 16 is a schematic diagram of the bearer frame structure according to an embodiment of the present invention. For example, when transmitting the adjustment instruction signal C in multiple bearer frames and adopting a multi-frame structure as the bearer frame, as shown in Figure 16, the bearer frame is a multi-frame consisting of 20 frames, and in applications, the instruction signal can be transmitted in multiple frames within one multi-frame, for example, the instruction signal can be transmitted in the first three frames, frame 1, frame 2, and frame 3, thereby transmitting the transmission instruction signal C three times. In applications, it is also possible to transmit the time slot adjustment instruction signal C in all frames of a multiframe, so that the adjustment instruction signal C is transmitted 20 times. In this embodiment, the adjustment instruction signal C is transmitted 20 times. When multiple transmission instruction signals C are used, even if one bearer frame is lost due to an error or other reason, if the adjustment instruction signal C of one bearer frame has been transmitted to the downstream device, the downstream device can perform time slot adjustment and transmit the transmission instruction signal C to the downstream device, thus avoiding interruption of the adjustment. In applications, if an adjustment instruction signal is received during a multiframe cycle, the adjustment starts from the first frame position of the next multiframe cycle, and the new time slot scheme is used for service processing in the first frame of the next multiframe cycle, both between upstream and downstream devices, the adjustment instruction signal is given one multiframe cycle earlier, and preparation for time slot adjustment conversion is reserved.In applications, to improve the reliability of transmission of adjustment instruction signal C, if an error code or fault occurs between the upstream and downstream nodes when the upstream node transmits adjustment instruction signal C, and the downstream node replies with a fault instruction signal indicating that the link between the upstream and downstream nodes is unreliable, the upstream node can continue transmitting adjustment instruction signal C until the fault is resolved, thereby avoiding the loss of adjustment instruction signal C due to link failure between the upstream and downstream nodes.

[0122] Figure 17 is a schematic diagram of the structure of a communication device according to one embodiment of the present invention. As shown in Figure 17, this communication device includes a memory 1100 and a processor 1200. The number of memory 1100 and processor 1200 may be one or more, and in Figure 17, one memory 1100 and one processor 1200 are illustrated. The memory 1100 and processor 1200 of the communication device may be connected by a bus or by other means, and in Figure 17, connection via a bus is given as an example.

[0123] The memory 1100 can be used as a computer-readable storage medium to store software programs, computer-executable programs, and modules such as program instructions / modules corresponding to the time slot adjustment method according to any embodiment of the present application. The processor 1200 implements the above-described time slot adjustment method by executing the software programs, instructions, and modules stored in the memory 1100.

[0124] The memory 1100 may primarily include a program storage area and a data storage area, the program storage area may store an operating system and application programs required for at least one function. Furthermore, the memory 1100 may include high-speed random-access memory and may further include non-temporary memory such as at least one magnetic disk memory device, flash memory device, or other non-temporary solid-state memory device. In some examples, the memory 1100 may include memory located remotely from the processor 1200, and these remote memories may be connected to the device via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0125] One embodiment of the present invention further provides a computer-readable storage medium storing computer-executable instructions for performing a time slot adjustment method according to any embodiment of the present invention.

[0126] One embodiment of the present invention provides a computer program product including a computer program or computer instruction, wherein the computer program or computer instruction is stored in a computer-readable storage medium, and the processor of a computer device reads the computer program or computer instruction from the computer-readable storage medium, and the processor executes the computer program or computer instruction, thereby causing the computer device to execute a time slot adjustment method according to any embodiment of the present invention.

[0127] According to the time slot adjustment method of the embodiment of the present invention, the source node transmits time slot adjustment policy information to the sink node via the downstream node, and the downstream node and sink node determine the corresponding time slot adjustment policy based on the time slot adjustment policy information. Furthermore, after the source node receives the time slot adjustment policy response information returned from the source node via the downstream node, it transmits time slot adjustment instruction information to the sink node via the downstream node, and the sink node adopts the corresponding time slot adjustment policy to complete the time slot adjustment. This not only shortens the negotiation time but also avoids the fallback demand due to negotiation failures in the hop-by-hop adjustment scheme by having all end-to-end nodes successfully complete the handshake negotiation regarding time slot adjustment before sequentially executing the time slot adjustment starting from the source node. This improves the time slot negotiation efficiency and the success rate of time slot adjustment.

[0128] The system architectures and application scenarios described in the embodiments of this application are intended to more clearly illustrate the technical solutions of the embodiments and do not limit the technical solutions provided by the embodiments. As system architectures evolve and new application scenarios emerge, the technical solutions provided by the embodiments of this application can also be applied to similar technical problems.

[0129] All or some steps of the methods disclosed above, the functional modules / units in the systems, or the apparatus may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0130] In hardware embodiments, the division between functional modules / units described above does not necessarily correspond to the division of physical components. For example, one physical component may have multiple functions, and one function or step may be performed in conjunction with multiple physical components. Some or all of the physical components may be implemented as software executed by a processor such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit such as an application-specific integrated circuit. Such software may be distributed on computer-readable media, which may include computer storage media (or non-temporary media) and communication media (or temporary media). As is well known to those skilled in the art, the term computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technique for storing information (e.g., computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage devices, magnetic cartridges, magnetic tapes, magnetic disk storage devices or other magnetic storage devices, or any other media that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media may include any information distribution media, typically containing computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms.

[0131] In this specification, terms such as “component,” “module,” and “system” are used to describe computer-related entities, hardware, firmware, hardware-software combinations, software, or running software. For example, a component may be, but is not limited to, a process running on a processor, a processor, an object, an executable file, an execution thread, a program, or a computer. As illustrated, both applications running on a computing device and computing devices may be components. One or more components may reside within a process or execution thread, components may be located on one computer, or distributed across two or more computers. Furthermore, these components may run from the various computer-readable media described above, which store various data structures. Components may communicate via local or remote processes according to signals, for example, having one or more data packets (e.g., data from two components interacting with other components in a local system, a distributed system, or a network, e.g., the Internet interacting with other systems via signals).

Claims

1. This is a method for adjusting the time slot. A step of transmitting time slot adjustment policy information to a sink node via a downstream node, so that the downstream node and the sink node determine a corresponding time slot adjustment policy based on the time slot adjustment policy information, wherein the time slot adjustment policy information includes time slot adjustment request information for requesting time slot adjustment and adjustment target information for determining the policy content of the time slot adjustment policy. A time slot adjustment method comprising the steps of: receiving time slot adjustment policy response information returned from the sink node via the downstream node, transmitting time slot adjustment instruction information to the sink node via the downstream node, and completing time slot adjustment by adopting the corresponding time slot adjustment policy, wherein the time slot adjustment policy response information includes time slot adjustment response information and confirmation target adjustment information, the time slot adjustment response information is response information corresponding to the time slot adjustment application information, and the adjustment target information transmitted between two adjacent nodes matches the confirmation target adjustment information transmitted between the two adjacent nodes.

2. The step of completing time slot adjustment by adopting the corresponding time slot adjustment policy is: The time slot adjustment method according to claim 1, further comprising the step of sending and receiving a service message by adopting the corresponding time slot adjustment policy if it is determined that the received confirmation target adjustment information matches the transmitted adjustment target information.

3. A time slot adjustment method, A step of transmitting time slot adjustment policy information to a sink node via a downstream node, so that the downstream node and the sink node determine a corresponding time slot adjustment policy based on the time slot adjustment policy information, wherein the time slot adjustment policy information includes time slot adjustment request information for requesting time slot adjustment, adjustment target information for determining the policy content of the time slot adjustment policy, and a service number. A time slot adjustment method comprising: receiving time slot adjustment policy response information returned from the sink node via the downstream node, sending time slot adjustment instruction information to the sink node via the downstream node, and completing time slot adjustment by adopting the corresponding time slot adjustment policy, wherein the time slot adjustment policy response information includes a service number to be verified that corresponds to the service number.

4. The time slot adjustment method according to claim 1 or 2, wherein the time slot adjustment policy response information is transmitted by the sink node after it has received the time slot adjustment request information.

5. The time slot adjustment method according to claim 1 or 2, wherein the time slot adjustment instruction information is used to instruct the downstream node and the sink node to complete the time slot adjustment by adopting the corresponding time slot adjustment policy.

6. The time slot adjustment method according to claim 1 or 2, wherein the information to be adjusted is determined according to the time slot adjustment capability supported by the node that transmits the information to be adjusted.

7. The step of sending time slot adjustment policy information to the sink node via a downstream node is: The time slot adjustment policy information is continuously transmitted to the sink node via the downstream node until the time slot adjustment policy response information returned from the sink node is received via the downstream node. or, A time slot adjustment method according to claim 1 or 2, comprising the steps of continuously transmitting the time slot adjustment policy information to the sink node via the downstream node within a first pre-set time period, and stopping the transmission of the time slot adjustment policy information if the time slot adjustment policy response information returned from the sink node via the downstream node is not received within the first pre-set time period.

8. The time slot adjustment method according to claim 1 or 2, wherein the information to be adjusted includes a time slot number to be adjusted or a policy number to be adjusted.

9. If the information to be adjusted includes the policy number to be adjusted, before the step of sending the time slot adjustment policy information to the sink node via the downstream node, The time slot adjustment method according to claim 8, further comprising the steps of: sending an adjustment policy message to the sink node via the downstream node, which holds the adjustment target policy number and adjustment target policy information corresponding to the adjustment target policy number, so that the downstream node and the sink node store the adjustment target policy number and the adjustment target policy information, wherein the adjustment target policy information includes all the time slot numbers to be adjusted, a service number, and an adjustment category.

10. The adjustment policy message includes a message type identification field, a first message field, a second message field, and a third message field, wherein if the value of the message type identification field is a first preset value, the first message field is used to represent the service number, the second message field is used to represent all of the time slot numbers to be adjusted, and the third message field is used to represent the policy number to be adjusted, as described in claim 9.

11. The time slot adjustment method according to claim 10, wherein, when the value of the message type identification field is a second preset value, the adjustment policy message is used to hold the time slot adjustment policy information and includes a fourth message field for representing the information to be adjusted, the fourth message field includes the first message field, the second message field, and the third message field.

12. The step of sending a reconciliation policy message containing the reconciliation target policy number and the reconciliation target policy information corresponding to the reconciliation target policy number to the sink node via the downstream node is: The step includes sending a coordinated policy message containing the coordinated policy number and the coordinated policy information corresponding to the coordinated policy number to the sink node via the downstream node using a network channel, a normal service channel, or a general-purpose communication channel in a bearer frame, The time slot adjustment method according to claim 9, wherein the message format of the adjustment policy message is the Ethernet message format or the Link Layer Discovery Protocol message format.

13. The time slot adjustment method according to claim 8, wherein if the information to be adjusted includes an adjustment target policy number, the time slot adjustment policy includes the adjustment target policy number and the adjustment target policy information corresponding to the adjustment target policy number, and the time slot adjustment policy is issued by a network management system.

14. If the information to be adjusted includes a policy number to be adjusted, the time slot adjustment instruction information includes a time slot adjustment instruction signal and the policy number to be adjusted, the policy number to be adjusted in the time slot adjustment instruction information is used to determine the time slot adjustment policy to be activated, and the time slot adjustment instruction signal is used to instruct the activation of the time slot adjustment policy to be activated. or, The time slot adjustment method according to claim 8, wherein if the information to be adjusted includes a policy number to be adjusted, the time slot adjustment instruction information includes a time slot adjustment instruction signal, and the time slot adjustment instruction signal is used to instruct the activation of the time slot adjustment policy determined in the previous time slot adjustment negotiation.

15. If the information to be adjusted includes the policy number to be adjusted, the time slot adjustment policy information is held in the first time slot adjustment message, and the first time slot adjustment message includes a fifth message field for representing the time slot adjustment request information, a sixth message field for representing the policy number to be adjusted, and a seventh message field for representing the time slot adjustment policy response information, wherein the time slot adjustment request information in the fifth message field is enabled, and the time slot adjustment policy response information in the seventh message field is disabled. or, If the information to be adjusted includes a policy number to be adjusted, the time slot adjustment policy response information is held in a second time slot adjustment message, the second time slot adjustment message includes a fifth message field for representing the time slot adjustment application information, a sixth message field for representing the policy number to be adjusted, and a seventh message field for representing the time slot adjustment policy response information, wherein the time slot adjustment application information in the fifth message field is invalidated and the time slot adjustment policy response information in the seventh message field is enabled, the time slot adjustment method according to claim 8.

16. The step of transmitting time slot adjustment instruction information to the sink node via the downstream node is: Using multiple bearer frames from the multiframe, time slot adjustment instruction information is transmitted to the sink node via the downstream node. or, Upon receiving a fault instruction signal, the system continuously transmits time slot adjustment instruction information to the sink node via the downstream node until the fault instruction signal is no longer received. or, If time slot adjustment instruction information is transmitted to the sink node via the downstream node, and adjustment success instruction information from the sink node is not received within the second preset time period, the time slot adjustment instruction information is repeatedly transmitted until adjustment success instruction information from the sink node is received within the second preset time period. or, A time slot adjustment method according to claim 1 or 2, comprising the step of continuously transmitting time slot adjustment instruction information to the sink node via the downstream node until adjustment success instruction information is received from the sink node.

17. A communication device, At least one processor, It includes at least one memory for storing at least one program, A communication device wherein, when at least one of the programs is executed by at least one of the processors, the time slot adjustment method according to any one of claims 1 to 3 is realized.

18. A computer-readable storage medium storing a processor-executable program that, when executed by a processor, realizes the time slot adjustment method described in any one of claims 1 to 3.