Periodic traffic transmission method, apparatus, communication node and storage medium
By determining data transmission information and coordinating equipment cooperation in a passive optical network (PON) system, low-latency transmission of periodic services is achieved, solving the problem of high transmission latency of periodic services in PON systems and improving transmission efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZTE CORP
- Filing Date
- 2020-04-08
- Publication Date
- 2026-05-01
AI Technical Summary
In passive optical network (PON) systems, achieving low-latency transmission of periodic services is a pressing technical problem that needs to be solved.
By determining the data transmission information of the current node and transmitting periodic services based on this information, the system coordinates the cooperation between devices such as the OLT and ONU to ensure seamless matching of data transmission plans and minimize latency.
It effectively reduces the transmission latency of periodic services, improves transmission efficiency, and ensures low-latency transmission of periodic services in the PON system.
Smart Images

Figure CN113497986B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communications, specifically to methods, apparatus, communication nodes, and storage media for periodic service transmission. Background Technology
[0002] Passive Optical Network (PON) is a purely media-based network that avoids electromagnetic interference and lightning strikes from external devices, reduces the failure rate of lines and external equipment, improves system reliability, and saves maintenance costs.
[0003] However, when periodic services are transmitted in a PON system, how to achieve low-latency transmission of periodic services is a technical problem that urgently needs to be solved. Summary of the Invention
[0004] To address the aforementioned technical problems, this application provides a method, apparatus, communication node, and storage medium for periodic service transmission.
[0005] In a first aspect, embodiments of this application provide a method for periodic service transmission, including:
[0006] Determine the data transmission information of the current node;
[0007] Based on the data transmission information of the current node, periodic services are transmitted.
[0008] Secondly, this application provides a periodic service transmission apparatus, comprising:
[0009] The module is configured to determine the data transmission information of the current node.
[0010] The transmission module is configured to transmit periodic services based on the data transmission information of the current node.
[0011] Thirdly, this application provides a communication node, including:
[0012] One or more processors;
[0013] Storage device for storing one or more programs;
[0014] When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided in the embodiments of the present invention.
[0015] Fourthly, embodiments of this application provide a storage medium storing a computer program, which, when executed by a processor, implements any of the methods described in the embodiments of this application.
[0016] Further details regarding the above embodiments and other aspects of this application, as well as their implementations, are provided in the accompanying drawings, detailed description, and claims. Attached Figure Description
[0017] Figure 1 A flowchart illustrating a periodic service transmission method provided in this application;
[0018] Figure 1a A schematic diagram of the TSN service provided in this application;
[0019] Figure 1b A schematic diagram of a workflow for seamless matching of periodic business processes provided for this application;
[0020] Figure 1c A flowchart illustrating a method for determining transmission delay provided in this application;
[0021] Figure 1d A flowchart illustrating another method for determining transmission delay provided in this application;
[0022] Figure 1e This application provides a schematic diagram of a data transmission method.
[0023] Figure 1f A schematic diagram illustrating another data transmission method provided in this application;
[0024] Figure 1g A schematic diagram illustrating another data transmission method provided in this application;
[0025] Figure 2 A schematic diagram of the structure of a periodic service transmission device provided in this application;
[0026] Figure 3 This is a schematic diagram of the structure of a communication node provided in this application. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in detail below with reference to the accompanying drawings. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be arbitrarily combined with each other.
[0028] The steps illustrated in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in a different order than that presented here.
[0029] In one exemplary implementation Figure 1This application provides a flowchart illustrating a method for transmitting periodic services. This method is applicable to situations requiring low-latency transmission of periodic services. It can be executed by a periodic service transmission device, which can be implemented in software and / or hardware and integrated onto a communication node. The communication node can be a node device that performs data transmission within a system transmitting periodic services. The communication node can include source nodes, intermediate nodes, and terminal nodes. Data transmission information can be sent by the source node, forwarded by intermediate nodes to remote nodes, and finally received by the terminal node. Intermediate nodes can include optical line terminals (OLTs) and optical network units (ONUs). That is, the source node can be considered the terminal node sending the periodic service, and the terminal node can be considered the terminal node receiving the periodic service.
[0030] This application uses Time Sensitive Network (TSN) as an example to illustrate the transmission of periodic services, but does not limit the scope of periodic services.
[0031] TSN service is a latency and jitter-sensitive service. To achieve low-latency transmission of TSN service in a Passive Optical Network (PON) system, coordination is required between the OLT and its upstream equipment, between the ONU and its downstream equipment, and between the OLT and the ONU. This application mainly addresses the coordination mechanisms and interfaces between these devices to achieve low-latency transmission of TSN service in a PON system.
[0032] like Figure 1 As shown, the periodic service transmission method provided in this application includes S110 and S120.
[0033] S110. Determine the data transmission information of the current node.
[0034] Data transmission information can be information indicating the transmission of periodic services. Periodic services can be transmitted according to the data transmission information. To reduce latency, communication nodes can obtain the data transmission information before transmitting periodic services. These periodic services can be TSN (Time-of-Sight) services.
[0035] Optionally, the data transmission information may include one or more of the following: data transmission start time; data transmission end time; data transmission period; data transmission duration; forwarding delay.
[0036] The data transmission start time refers to the time when the periodic service begins transmission, such as the start time of receiving and the start time of sending. The start time of receiving can be equal to the start time of sending. The data transmission end time refers to the time when the periodic service ends transmission, such as the end time of receiving and the end time of sending. The end time of receiving can be equal to the end time of sending. The data transmission end time can be determined based on the data transmission start time and data transmission duration. Forwarding latency can be understood as the time required for the periodic service to be forwarded at the node.
[0037] This step determines the data transmission information of the current node based on the received data transmission information. This received data transmission information can be from the current node or from a non-current node, such as the data transmission information of the previous node. The current node's data transmission information can be considered the data transmission information required for the current node to perform periodic service transmissions; that is, the current node performs periodic service transmissions based on this data transmission information. The current node can be considered the node in the current system that determines the data transmission information. After the current node has determined its data transmission information, periodic service transmissions can be performed based on this information. Before performing periodic service transmissions, all node devices in the system have already determined their corresponding data transmission information.
[0038] If the acquired data transmission information is not from the current node, the data transmission information of the current node can be determined based on this data transmission information, such as by determining the data transmission information of the current node based on the received data transmission information and the first transmission attribute information. The first transmission attribute information includes one or more of the following: the first transmission delay between the previous node and the current node; the first transmission rate between the current node and the next node; and the second transmission rate between the current node and the previous node. The first transmission attribute information can be considered as attribute information in the periodic service transmission process.
[0039] It should be noted that the terms "first" and "second" in this application are used only to distinguish corresponding content. For example, the first transmission rate can be considered the data transmission rate between the current node and the next node. The second transmission rate can be considered the data transmission rate between the current node and the previous node. The previous node and the next node can be considered to be determined based on the direction of data transmission. For example, between two adjacent nodes, the node sending data transmission information can be considered the previous node or the upstream node, and the node receiving data transmission information can be considered the next node or the downstream node.
[0040] When the current node is the source node, the source node can determine the corresponding data transmission information according to actual needs and then transmit it to the next node or controller. After the terminal node determines the corresponding data transmission information (i.e., all node devices in the system are aware of their own data transmission information), the source node can perform periodic service transmission based on the data transmission information of the source node.
[0041] When the current node is an intermediate node, the intermediate node can obtain the data transmission information sent by the previous node or controller, and then determine its own data transmission information based on the obtained data transmission information before sending its own data transmission information, the data transmission information of the next node, or the quasi-data transmission information of the next node to the next node or controller.
[0042] When the current node is an end node, the end node can receive data transmission information sent by the previous node or controller to determine its own data transmission information, and then perform periodic service transmission.
[0043] S120. Based on the data transmission information of the current node, perform periodic service transmission.
[0044] Periodic services can be latency-sensitive services, such as time-sensitive network services.
[0045] After determining the data transmission information of the current node, this step can transmit periodic services based on this information. For example, if the current node is the source node, it can send periodic services after the terminal node determines the corresponding data transmission information; if the current node is an intermediate node, it can forward periodic services; and if the current node is a terminal node, it can receive periodic services. Specifically, the current node determines the start and stop times for receiving, sending, and receiving of the periodic services, and begins forwarding the periodic services based on the start and start times, and ends forwarding the periodic services based on the end and end times.
[0046] In a system that transmits periodic services, each node device can first determine its own data transmission information before transmitting periodic services, and then transmit periodic services based on the data transmission information, thereby reducing the forwarding delay generated during the transmission of periodic services.
[0047] This application provides a method for periodic service transmission. The method first determines the data transmission information of the current node; then, based on the data transmission information of the current node, it performs periodic service transmission. Using this method, forwarding latency is effectively reduced, achieving low-latency transmission of periodic services and improving the efficiency of periodic service transmission.
[0048] Based on the above embodiments, modified embodiments of the above embodiments are proposed. It should be noted that, in order to keep the description brief, only the differences from the above embodiments are described in the modified embodiments.
[0049] In one embodiment, when the current node is not the source node, the data transmission information for determining the current node includes:
[0050] Obtain data transmission information sent by the previous node or controller;
[0051] If the acquired data transmission information is not the data transmission information of the current node, the data transmission information of the current node is determined based on the acquired data transmission information and the first transmission attribute information.
[0052] The first transmission attribute information includes one or more of the following: the first transmission delay between the previous node and the current node; the first transmission rate between the current node and the next node; and the second transmission rate between the current node and the previous node.
[0053] This application determines the data transmission information of the current node based on the acquired data transmission information. When the current node is not the source node, it can obtain the data transmission information from the previous node or the controller. The acquired data transmission information can be the data transmission information of the current node, or it can be the data transmission information of a non-current node, such as the data transmission information of the previous node.
[0054] If the acquired data transmission information is not from the current node, the data transmission information of the current node can be determined based on the acquired data transmission information and the first transmission attribute information. Specifically, the data transmission information of the current node is determined based on the first transmission delay, the first transmission rate, the second transmission rate, and the acquired data transmission information.
[0055] The first transmission rate can be considered as the rate at which the current node transmits data to the next node. The second transmission rate can be considered as the rate at which the previous node transmits data to the current node.
[0056] It is important to note that the controller can receive data transmission information from the source node, then determine the data transmission information of each node device based on the transmission latency between the node devices, and then send the determined data transmission information to the corresponding node device for the node device to perform periodic service transmission.
[0057] In one embodiment, the data transmission information of the current node is determined based on the acquired data transmission information and the first transmission attribute information, including:
[0058] When the acquired data transmission information is the quasi-data transmission information of the current node, the data transmission information of the current node is determined based on the acquired data transmission information, the first transmission rate, the second transmission rate, and the forwarding delay included in the acquired data transmission information; wherein, the quasi-data transmission information of the current node is determined based on the data transmission information of the previous node and the first transmission delay.
[0059] When determining the data transmission information of the current node, one can first determine whether the acquired data transmission information belongs to the current node. The determination method is not limited here; for example, identification information can be used to indicate the node device to which the data transmission information belongs. The identification information can uniquely identify whether the acquired data transmission information is the data transmission information of the previous node, the data transmission information of the current node, or the quasi-data transmission information of the current node.
[0060] When the acquired data transmission information is the data transmission information of the current node, periodic services can be transmitted directly based on this data transmission information; when the acquired data transmission information is the quasi-data transmission information of the current node, the current node can directly compare the first transmission rate and the second transmission rate to adjust the acquired data transmission information. When adjusting the acquired data transmission information, forwarding information can be used as a limitation for adjustment.
[0061] Specifically, when the first transmission rate equals the second transmission rate, the interval between the data transmission start time and the data transmission end time remains unchanged, the data transmission period remains unchanged, and the data transmission duration remains unchanged. When the first transmission rate is greater than the second data rate, the interval between the data transmission start time and the data transmission end time increases, the data transmission period increases, and the data transmission duration increases. When the first transmission rate is less than the second data rate, the interval between the data transmission start time and the data transmission end time decreases, the data transmission period decreases, and the data transmission duration decreases. The changes in the above information in the acquired data transmission information are limited by the forwarding delay; that is, the forwarding delay generated by the data transmission information of the current node is less than the forwarding delay included in the acquired data transmission information. The specific value of the forwarding delay included in the data transmission information is not limited here; those skilled in the art can set it according to actual communication needs.
[0062] In one embodiment, the data transmission information of the current node is determined based on the acquired data transmission information and the first transmission attribute information, including:
[0063] If the acquired data transmission information is the data transmission information of the previous node, the acquired data transmission information is adjusted based on the first transmission delay to obtain the quasi-data transmission information of the current node.
[0064] Based on the quasi-data transmission information of the current node, the second transmission rate, the first transmission rate, and the forwarding delay included in the acquired data transmission information, the data transmission information of the current node is determined.
[0065] Given the quasi-data transmission information of the current node, the data transmission start time and data transmission end time corresponding to the acquired data transmission information can be respectively added to a first transmission delay. The data transmission start time and data transmission end time can be included in the acquired data transmission information, or they can be determined based on the data transmission period and / or data transmission duration included in the acquired data transmission information. The data transmission period can be considered as the period of periodic service transmission, and the data transmission duration can be considered as the duration of periodic service transmission.
[0066] The specific means of determining the data transmission information of the current node based on quasi-data transmission information is not limited here, but can be found in the above embodiments.
[0067] In one embodiment, the data transmission information includes one or more of the following: data transmission start time; data transmission end time; data transmission period; data transmission duration; and forwarding delay.
[0068] Forwarding delay is used by the current node to determine data transmission information. Furthermore, when the current node acquires at least two data transmission information entries, it serves as an indicator for adjusting the data transmission information. This ensures that the adjusted data transmission information meets the forwarding delay requirement without conflict; that is, the forwarding delay generated by the adjusted data transmission information is less than the forwarding delay included in the corresponding acquired data transmission information.
[0069] In one embodiment, the method further includes:
[0070] If the current node is not an end node, the data transmission information is sent to the next node or controller; or, the data transmission information of the next node is sent to the next node; or, the quasi-data transmission information of the next node is sent to the next node or controller.
[0071] When the current node is not a terminal node, the data transmission information can be sent to the next node so that the next node can determine the data transmission information of the next node based on the data transmission information to carry out the transmission of periodic services.
[0072] When the current node is not an end node, it can send the data transmission information of the next node to the next node or the controller, so that the next node can perform periodic service transmission based on the data transmission information of the next node.
[0073] When the current node is not an end node, it can send quasi-data transmission information of the next node to the next node or controller to determine the data transmission information of the next node.
[0074] After receiving the relevant information, the controller can either directly forward it to the corresponding node device, or determine the data transmission information of the corresponding node device before sending it to the corresponding node device. The technical means by which the controller determines the data transmission information of the corresponding node device are not limited and can be found in the above embodiments.
[0075] In one embodiment, before sending the data transmission information of the next node to the next node, the method further includes:
[0076] Based on the data transmission information and second transmission attribute information of the current node, determine the data transmission information of the next node;
[0077] The second transmission attribute information includes one or more of the following: the second transmission delay between the current node and the next node; the first transmission rate; and the third transmission rate between the next node and the node after that.
[0078] For the technical means of determining the data transmission information of the next node, please refer to the technical means of determining the data transmission information of the current node, which will not be elaborated here.
[0079] In one embodiment, before sending the quasi-data transmission information of the next node to the next node or controller, the method further includes:
[0080] Based on the data transmission information and second transmission delay of the current node, determine the quasi-data transmission information of the next node.
[0081] The technical means for determining the quasi-data transmission information of the next node can be found in the technical means for determining the quasi-data transmission information of the current node, and will not be elaborated here.
[0082] In one embodiment, the transmission of periodic services based on the data transmission information of the current node includes:
[0083] Based on the data transmission start time corresponding to the data transmission information of the current node, periodic services are received, sent, and forwarded.
[0084] Based on the data transmission end time corresponding to the data transmission information of the current node, the receiving and sending of periodic services will cease.
[0085] In one embodiment, if the data transmission information acquired by the current node includes at least two, and the acquired data transmission information conflicts, the method further includes:
[0086] Adjust the acquired data transmission information to obtain the adjusted data transmission information; or,
[0087] The acquired data transmission information is transmitted to the controller, and the adjusted data transmission information is received from the controller.
[0088] The adjusted data transmission information does not conflict, and the forwarding delay generated by the adjusted data transmission information is not greater than the forwarding delay included in the corresponding acquired data transmission information.
[0089] The specific means by which the current node adjusts the acquired data transmission information are not limited, as long as the adjusted data transmission information does not conflict and the forwarding delay generated by the adjusted data transmission information is not greater than the forwarding delay included in the corresponding acquired data transmission information.
[0090] The current node can also transmit the acquired data transmission information to the controller for adjustment. For details on how the controller adjusts its data, please refer to the instructions on how the current node adjusts its data.
[0091] In one embodiment, if the current node or controller cannot determine the adjusted data transmission information, the method further includes:
[0092] A change request is sent to the previous node corresponding to at least one of the acquired data transmission information, and the operation of determining the data transmission information of the current node continues. The change request instructs the previous node to change the corresponding data transmission information. The change request includes one of the following: suggested start time and suggested end time.
[0093] If the current node or controller cannot determine the adjusted data transmission information, a change request can be sent to the previous node corresponding to at least one of the acquired data transmission information to control the previous node to adjust the corresponding data transmission information. Then, the operation of determining the data transmission information of the current node is performed to determine the data transmission information of the current node, so that the data transmission information acquired by the current node again will not conflict.
[0094] The suggested start time can be the suggested new start time for data transmission. The suggested end time can be the suggested new end time for data transmission.
[0095] For example, the current node can adjust the acquired data transmission information based on the acquired data transmission information and the corresponding first transmission attribute information to ensure that the adjusted data transmission information does not conflict. The adjustment method is not limited here, as long as the adjusted data transmission information does not conflict and meets the forwarding delay requirements.
[0096] In one embodiment, the method further includes:
[0097] Receive change requests from the next node;
[0098] Adjust the data transmission information of the current node based on the change request.
[0099] When the current node receives a change request from the next node, it can directly adjust the data transmission information of the current node based on the change request to ensure that no conflicts occur later.
[0100] In one embodiment, the method further includes, before determining the data transmission information of the current node:
[0101] Synchronize clocks and time;
[0102] Determine the first transmission attribute information and the second transmission attribute information.
[0103] Before acquiring data transmission information, time and clock synchronization can be performed, such as synchronizing the clocks and times of each node device in a system that transmits periodic services. The current node can synchronize its clock and time with the previous and next nodes.
[0104] After time and clock synchronization, the first transmission attribute information and the second transmission attribute information can be determined. The determination method can be based on the content contained in the first and second transmission attribute information, and is not limited here.
[0105] In one embodiment, obtaining the transmission delay with the previous node includes:
[0106] Receive the first test message sent by the previous node, the first test message including the first sending time;
[0107] The system feeds back a first response information to the previous node, the first response information including a first processing time, and receives a transmission delay fed back by the previous node, the transmission delay being determined by the previous node based on the first sending time, the first processing time, and the receiving time of receiving the first response information; or, the transmission delay is determined based on the first sending time and the receiving time of the first test message.
[0108] In one embodiment, a second test message is sent to the next node, the second test message including a second sending time;
[0109] Receive second response information from the next node, the second response information including a second processing time;
[0110] The transmission delay with the next node is determined based on the second sending time, the second processing time, and the receiving time of receiving the second response information;
[0111] The transmission delay is sent to the next node.
[0112] In this application, the terms "first" and "second" are used only to distinguish the corresponding content. For example, "first test message" and "second test message" are used only to distinguish test messages. For example, "first test message" is a test message sent from the previous node to the current node, and "second test message" is a test message sent from the current node to the next node.
[0113] Test messages can include a first test message and a second test message, which can be considered as trigger messages for testing transmission latency. Sending time includes a first sending time and a second sending time. The first sending time can be considered the time when the previous node sent the first test message. The second sending time can be considered the time when the current node sends the second test message.
[0114] The first response information can be the current node's response to the first test message sent by the previous node. The first processing time can be considered the time it takes for the current node to process the first test message. The second response information can be the next node's response to the second test message sent by the current node. The second processing time can be the time it takes for the next node to process the second test message.
[0115] When determining the transmission delay with the previous node, the current node can directly receive the transmission delay determined by the previous node, or it can determine the transmission time based on the first sending time and the receiving time of the first test message, such as determining the transmission delay as the receiving time of the first test message minus the first sending time.
[0116] When determining the transmission time with the next node, the current node can determine the transmission delay with the next node as half of the result of subtracting the second sending time from the receiving time of the second response information and then subtracting the second processing time.
[0117] The periodic service transmission method of this application is described exemplarily below.
[0118] The periodic service transmission method described in this application can be considered as a method for a PON system to carry periodic TSN services. Figure 1a A schematic diagram illustrating the TSN service provided in this application. (Example) Figure 1a As shown, TSN services send and transmit data periodically, such as... Figure 1a In this context, Q3 and t0 represent the data transmission time. Q0, Q1, and Q2 represent other data.
[0119] In a PON system, in the downlink direction, the OLT can perform periodic scheduling to achieve periodic data transmission, while in the uplink direction, the ONU can obtain periodic bandwidth allocation to achieve periodic data transmission.
[0120] However, PON systems need to identify and strictly match the periodic characteristics of TSN services, such as data transmission start time, data transmission end time, and data transmission period. Only on this basis can the PON system seamlessly forward TSN services and achieve low-latency transmission. If the periodic characteristics of TSN services are not strictly matched—for example, the PON system has matched the TSN service period but not the TSN service data transmission start time—then the PON system cannot predict when the TSN service will arrive. The TSN service needs to be buffered in the PON system or devices, introducing latency. Moreover, this forwarding latency is different and uncertain in different scenarios, which will affect the Quality of Service (QoS) of TSN services.
[0121] How to seamlessly integrate and cooperate with the PON system to achieve minimal and stable transmission latency for TSN services in the PON system is a key issue that this application needs to address.
[0122] Figure 1b A flowchart illustrating a seamless matching process for periodic business operations provided in this application is shown below. Figure 1b The node devices transmitting TSN services can include: central unit (CU) / distributeunit (DU), OLT, ONU, and remote unit (RU). The CU / DU or RU can be the source node. The node devices transmitting TSN services, especially adjacent node devices, need to support the following functions:
[0123] (1) All node devices need to be clocked (frequency and phase) and time synchronized;
[0124] (2) Transmission delay testing is required between node devices, especially between adjacent node devices, if it is necessary for node devices to share transmission delay. The transmission time between transmission devices is used by each node device to calculate the data transmission plan (i.e., the data transmission information) and update it after it arrives;
[0125] (3) Data transmission plans are exchanged between node devices, especially between adjacent node devices. The data transmission plan includes the data transmission start time, data transmission end time, and data transmission cycle. Specifically, in a PON system, the data transmission plan from the ONU to the OLT requires the ONU to request the OLT, and the OLT allocates bandwidth to the ONU to support the data transmission plan. Therefore, in addition to making the corresponding data transmission arrangements locally, the OLT also needs to allocate corresponding bandwidth to the ONU. The data transmission plan can be the source node's sending plan (the terminal node calculates the receiving plan based on the transmission delay test results) or the terminal node's receiving plan (the source node calculates the terminal node's receiving plan based on the transmission delay test results). The source node can be the node that sends data transmission information among two node devices transmitting data. The terminal node can be the node that receives data transmission information among two node devices transmitting data.
[0126] In this scenario, if the current node is an OLT, the previous node, i.e., an ONU, sends a bandwidth request to the OLT, instructing the OLT to allocate bandwidth to the ONU to support the data transmission plan. Then, the current node receives the bandwidth information from the previous node and transmits the data transmission plan based on that bandwidth information.
[0127] A transmission device can be considered as a node device that performs data transmission.
[0128] In one example, the terminal node can determine the receiving plan, i.e., the terminal node's data transmission information, based on the transmission delay test results, namely transmission delay, transmission rate, and the received data transmission plan.
[0129] (4) Node devices transmit data according to the data transmission plan prepared for the completion of the interaction. According to the data transmission plan, data forwarding is prepared in advance at the start time of data transmission, and other data forwarding is arranged in advance at the end time of data transmission. According to the data transmission plan, the buffering time of data in each node device is minimized during transmission. Other data can be data other than periodic services.
[0130] The clock and time synchronization between node devices can be achieved through one or more of the following technologies: 1588, Synchronous Ethernet, and 802.1AS.
[0131] Handling conflicts between multiple data transmission plans: In aggregation devices (i.e., devices with multiple upstream nodes transmitting data transmission information), such as OLTs, multiple overlapping data transmission plans may be received. Aggregation devices need to calculate and arrange these data transmission plans so that they do not overlap after being output by the aggregation device, and even make the data forwarding delay in each data transmission plan within a specified range.
[0132] If the computing power of some aggregation devices is limited, such as when an ONU is connected to multiple RUs, the ONU is an aggregation device, but its computing power is weak due to cost factors. In this case, these data transmission plans can be uploaded to devices with stronger capabilities for calculation. For example, the ONU can upload these data transmission plans to the OLT or controller. After the OLT or controller completes the calculation, it will send the adjusted data transmission plan back to the ONU.
[0133] Feedback mechanism for data transmission plan: When a node device is unable to schedule the data transmission plan of an upstream node device, it can provide feedback to the upstream node device and suggest that the upstream node device change the data transmission plan. This mechanism can further reduce forwarding latency in the event of data transmission plan conflicts.
[0134] The expression of a data transmission plan typically includes periodic characteristics such as data transmission start time, data transmission end time, and data transmission period. These can vary, for example, the data transmission start time, data transmission duration, and data transmission period. Additionally, to provide a basis for adjustment when data transmission plans conflict, the data transmission plan can also include the maximum acceptable forwarding delay. After a node device obtains the data transmission plan from its upstream node device, it needs to adjust its data transmission plan based on its own characteristics, such as the transmission rate to the next node device, before sending it to the next node device.
[0135] The interaction protocol encapsulation of the data transmission plan can be determined based on the specific interface between the node devices. For example, the OLT and ONU can use the PLOAM message format, while the ONU and RU can use Ethernet Operation Administration and Maintenance (OAM) or a custom interface.
[0136] Figure 1c A flowchart illustrating a method for determining transmission delay provided in this application. Figure 1d A flowchart illustrating another method for determining transmission delay provided in this application. See also... Figure 1c and Figure 1d The transmission latency test between node devices includes the following two methods:
[0137] Method 1: The source node (node 1) sends a test message to the destination node (node 2) and records the sending time t0. After receiving the test message, the destination node sends a test response to the source node. The destination node can include its local processing time Td in the test response. After receiving the test response, the source node records the receiving time t1. Then, the transmission delay D = (t1 - t0 - Td) / 2. This method is suitable for symmetric transmission networks.
[0138] Method 2: The source node, i.e., node 1, sends a test message to the destination node, i.e., node 2. The test message carries the sending time t0. After receiving the test message, the destination node records the receiving time t1. Then the transmission time D = (t1 - t0). This method requires that the node devices have completed clock synchronization and time synchronization.
[0139] In one embodiment, Figure 1e This application provides a schematic diagram of a data transmission method. Figure 1f A schematic diagram illustrating another data transmission method provided in this application; Figure 1g This is a schematic diagram illustrating another data transmission method provided in this application. The data transmission plan (i.e., data transmission information) between node devices can be exchanged in the following three ways:
[0140] Method 1: Direct data transmission plan exchange between node devices.
[0141] See Figure 1e The data transmission plan is initiated by the node device at the data source (i.e., the source node), sent to the next node device, and then from the next node device to the next, and so on. The data transmission plans exchanged between node devices can be the same or different. Each node device can send its own data transmission information, the data transmission information of the next node, or quasi-data transmission information of the next node to the next node device. Node 1 can be the source node, and node 4 can be the terminal node.
[0142] See Figure 1f The node devices interact with each other through the controller to exchange data transmission plans. The data transmission plan is initiated by the source node device, sent to the controller, and then forwarded to all node devices by the controller. The data transmission information forwarded by the controller to each node device can be the data transmission information of each node device itself. The controller can determine the data transmission information of each node device based on the data transmission information of the source node.
[0143] Node devices can be combined Figure 1e and Figure 1f There are two methods for forwarding data transmission information. Specifically, data transmission information from some node devices in the system is transmitted node-by-node, that is... Figure 1e In this manner, the data transmission information of the remaining node devices is transmitted through controller forwarding, such as... Figure 1f See also Figure 1g Data transmission information of node 2 can be transmitted through inter-node forwarding, while data transmission information of nodes 3 and 4 can be forwarded through the controller.
[0144] Each node device can only transmit data after it receives the data transmission plan.
[0145] After learning of the data transmission plan, each node device prepares to receive and send data in advance, and can send out the data as soon as it is received, so that the data buffering time at each node is minimized, or even zero.
[0146] Each node device accurately grasps the data transmission plan, including the data transmission start time, data transmission end time, and data transmission cycle, and sets the data transmission according to this information, preparing the data sending time and end time in advance, so that the data buffering time at this node is as low as possible or even 0.
[0147] This application provides a periodic service transmission device. Figure 2 This is a schematic diagram of a periodic service transmission device provided in this application. The device is configured at a communication node. (See attached diagram.) Figure 2 The device includes:
[0148] Module 21 is configured to determine the data transmission information of the current node;
[0149] The transmission module 22 is configured to transmit periodic services based on the data transmission information of the current node.
[0150] The periodic service transmission device provided in this embodiment is used to implement the periodic service transmission device method of the embodiments of this application. The implementation principle and technical effects of the periodic service transmission device provided in this embodiment are similar to those of the periodic service transmission device method of the embodiments of this application, and will not be repeated here.
[0151] Based on the above embodiments, modified embodiments of the above embodiments are proposed. It should be noted that, in order to keep the description brief, only the differences from the above embodiments are described in the modified embodiments.
[0152] In one embodiment, when the current node is not the source node, the determination module 21 is specifically used for:
[0153] Obtain data transmission information sent by the previous node or controller;
[0154] If the acquired data transmission information is not the data transmission information of the current node, the data transmission information of the current node is determined based on the acquired data transmission information and the first transmission attribute information.
[0155] The first transmission attribute information includes one or more of the following: the first transmission delay between the previous node and the current node; the first transmission rate between the current node and the next node; and the second transmission rate between the current node and the previous node.
[0156] In one embodiment, the determining module 21 determines the data transmission information of the current node based on the acquired data transmission information and the first transmission attribute information, including:
[0157] When the acquired data transmission information is the quasi-data transmission information of the current node, the data transmission information of the current node is determined based on the acquired data transmission information, the first transmission rate, the second transmission rate, and the forwarding delay included in the acquired data transmission information; wherein, the quasi-data transmission information of the current node is determined based on the data transmission information of the previous node and the first transmission delay.
[0158] In one embodiment, the determining module 21 determines the data transmission information of the current node based on the acquired data transmission information and the first transmission attribute information, including:
[0159] If the acquired data transmission information is the data transmission information of the previous node, the acquired data transmission information is adjusted based on the first transmission delay to obtain the quasi-data transmission information of the current node.
[0160] Based on the quasi-data transmission information of the current node, the second transmission rate, the first transmission rate, and the forwarding delay included in the acquired data transmission information, the data transmission information of the current node is determined.
[0161] In one embodiment, the data transmission information includes one or more of the following: data transmission start time; data transmission end time; data transmission period; data transmission duration; and forwarding delay.
[0162] In one embodiment, the device further includes: a transmitting module configured to:
[0163] If the current node is not an end node, the data transmission information is sent to the next node or controller; or, the data transmission information of the next node is sent to the next node; or, the quasi-data transmission information of the next node is sent to the next node or controller.
[0164] In one embodiment, the device further includes: a first module configured to determine the data transmission information of the next node based on the data transmission information of the current node and second transmission attribute information before sending the data transmission information of the next node to the next node;
[0165] The second transmission attribute information includes one or more of the following: the second transmission delay between the current node and the next node; the first transmission rate; and the third transmission rate between the next node and the node after that.
[0166] In one embodiment, the device further includes a second module configured to determine the quasi-data transmission information of the next node based on the data transmission information of the current node and a second transmission delay before sending the quasi-data transmission information of the next node to the next node or controller.
[0167] In one embodiment, the transmission module 22 is configured as follows:
[0168] Based on the data transmission start time corresponding to the data transmission information of the current node, periodic services are forwarded.
[0169] Based on the data transmission end time corresponding to the data transmission information of the current node, the forwarding of periodic services is stopped.
[0170] In one embodiment, the device further includes: an adjustment module, configured to adjust the acquired data transmission information to obtain adjusted data transmission information when the data transmission information acquired by the current node includes at least two data transmission information and the acquired data transmission information conflicts; or,
[0171] The acquired data transmission information is transmitted to the controller, and the adjusted data transmission information is received from the controller.
[0172] The adjusted data transmission information does not conflict, and the forwarding delay generated by the adjusted data transmission information is not greater than the forwarding delay included in the corresponding acquired data transmission information.
[0173] In one embodiment, the apparatus further includes: a modification module, configured to, when the current node or controller cannot determine the adjusted data transmission information, send a modification request to the previous node corresponding to at least one of the acquired data transmission information, and continue to perform the operation of determining the data transmission information of the current node, wherein the modification request instructs the previous node to modify the corresponding data transmission information, and the modification request includes one of the following: a suggested start time and a suggested end time.
[0174] In one embodiment, the device further includes a receiving module configured to:
[0175] Receive change requests from the next node;
[0176] Adjust the data transmission information of the current node based on the change request.
[0177] In one embodiment, the device further includes: a synchronization module configured to: synchronize a clock and time before determining the data transmission information of the current node; and determine first transmission attribute information and second transmission attribute information.
[0178] This application provides a communication node, Figure 3 This application provides a schematic diagram of the structure of a communication node, such as... Figure 3 As shown, the communication node provided in this application includes one or more processors 51 and a storage device 52; the processor 51 in the communication node can be one or more. Figure 3 Taking a processor 51 as an example; a storage device 52 is used to store one or more programs; the one or more programs are executed by the one or more processors 51, causing the one or more processors 51 to perform as described in the embodiments of this application. Figure 1 The method described.
[0179] The communication node also includes: a communication device 53, an input device 54, and an output device 55.
[0180] The processor 51, storage device 52, communication device 53, input device 54, and output device 55 in the communication node can be connected via a bus or other means. Figure 3 Taking the example of a connection between China and Israel via a bus.
[0181] Input device 54 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the communication node. Output device 55 may include display devices such as a display screen.
[0182] The communication device 53 may include a receiver and a transmitter. The communication device 53 is configured to perform information transmission and reception communication under the control of the processor 51. The information includes, but is not limited to, data transmission information and periodic services.
[0183] Storage device 52, as a computer-readable storage medium, can be configured to store software programs, computer-executable programs, and modules, as described in the embodiments of this application. Figure 1 The method corresponds to program instructions / modules (e.g., determination module 21 and transmission module 22 in a periodic service transmission device). Storage device 52 may include a program storage area and a data storage area, wherein the program storage area may store the operating system and application programs required for at least one function; the data storage area may store data created based on the use of the communication node, etc. Furthermore, storage device 52 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, storage device 52 may further include memory remotely located relative to processor 51, which can be connected to the communication node via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0184] This application embodiment also provides a storage medium storing a computer program, which, when executed by a processor, implements the periodic service transmission method described in this application embodiment, the method comprising:
[0185] Determine the data transmission information of the current node;
[0186] Based on the data transmission information, periodic services are transmitted.
[0187] The computer storage medium in this application embodiment can be any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. For example, a computer-readable storage medium can be—but is not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable CD-ROM, optical storage device, magnetic storage device, or any suitable combination thereof. The computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0188] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit programs for use by or in connection with an instruction execution system, apparatus, or device.
[0189] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, radio frequency (RF), etc., or any suitable combination thereof.
[0190] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0191] The above description is merely an exemplary embodiment of this application and is not intended to limit the scope of protection of this application.
[0192] Those skilled in the art will understand that the term user equipment covers any suitable type of wireless user equipment, such as mobile phones, portable data processing devices, portable web browsers, or vehicle-mounted mobile stations.
[0193] Generally, the various embodiments of this application can be implemented in hardware or dedicated circuitry, software, logic, or any combination thereof. For example, some aspects can be implemented in hardware, while others can be implemented in firmware or software that can be executed by a controller, microprocessor, or other computing device, although this application is not limited thereto.
[0194] Embodiments of this application can be implemented by executing computer program instructions through the data processor of a mobile device, for example, in a processor entity, or through hardware, or through a combination of software and hardware. The computer program instructions can be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages.
[0195] Any block diagram of logical flow in the accompanying drawings of this application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. The computer program may be stored on memory. Memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, read-only memory (ROM), random access memory (RAM), optical storage devices and systems (Digital Video Disc (DVD) or Compact Disk (CD)), etc. Computer-readable media may include non-transitory storage media. The data processor may be of any type suitable to the local technical environment, such as, but not limited to, general-purpose computers, special-purpose computers, microprocessors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), and processors based on multi-core processor architectures.
[0196] A detailed description of exemplary embodiments of this application has been provided above through exemplary and non-limiting examples. However, various modifications and adjustments to the above embodiments will be apparent to those skilled in the art when considered in conjunction with the accompanying drawings and claims, without departing from the scope of this application. Therefore, the proper scope of this application will be determined by the claims.
Claims
1. A method for periodic service transmission, characterized in that, include: Determine the data transmission information of the current node; Based on the data transmission information of the current node, periodic services are transmitted. When the current node is not the source node, the data transmission information for determining the current node includes: Obtain data transmission information sent by the previous node or controller; If the acquired data transmission information is not the data transmission information of the current node, the data transmission information of the current node is determined based on the acquired data transmission information and the first transmission attribute information. The first transmission attribute information includes one or more of the following: the first transmission delay between the previous node and the current node; the first transmission rate between the current node and the next node; and the second transmission rate between the current node and the previous node. Based on the acquired data transmission information and the first transmission attribute information, the data transmission information of the current node is determined, including: When the acquired data transmission information is the quasi-data transmission information of the current node, the data transmission information of the current node is determined based on the acquired data transmission information, the first transmission rate, the second transmission rate, and the forwarding delay included in the acquired data transmission information; wherein, the quasi-data transmission information of the current node is determined based on the data transmission information of the previous node and the first transmission delay.
2. The method according to claim 1, characterized in that, Based on the acquired data transmission information and the first transmission attribute information, the data transmission information of the current node is determined, including: If the acquired data transmission information is the data transmission information of the previous node, the acquired data transmission information is adjusted based on the first transmission delay to obtain the quasi-data transmission information of the current node. Based on the quasi-data transmission information of the current node, the second transmission rate, the first transmission rate, and the forwarding delay included in the acquired data transmission information, the data transmission information of the current node is determined.
3. The method according to claim 1, characterized in that, The data transmission information includes one or more of the following: data transmission start time; data transmission end time; data transmission period; data transmission duration; forwarding delay.
4. The method according to claim 1, characterized in that, Also includes: If the current node is not an end node, the data transmission information is sent to the next node or controller; or, the data transmission information of the next node is sent to the next node; or, the quasi-data transmission information of the next node is sent to the next node or controller.
5. The method according to claim 1, characterized in that, Before sending the data transmission information of the next node to the next node, it also includes: Based on the data transmission information and second transmission attribute information of the current node, determine the data transmission information of the next node; The second transmission attribute information includes one or more of the following: the second transmission delay between the current node and the next node; the first transmission rate; and the third transmission rate between the next node and the node after that.
6. The method according to claim 5, characterized in that, Before sending the quasi-data transmission information of the next node to the next node or controller, the method further includes: Based on the data transmission information and second transmission delay of the current node, determine the quasi-data transmission information of the next node.
7. The method according to claim 1, characterized in that, The transmission of periodic services based on the data transmission information of the current node includes: Based on the data transmission start time corresponding to the data transmission information of the current node, periodic services are forwarded. Based on the data transmission end time corresponding to the data transmission information of the current node, the forwarding of periodic services is stopped.
8. The method according to claim 1, characterized in that, If the data transmission information acquired by the current node includes at least two data transmission information, and the acquired data transmission information conflicts, the following is also included: Adjust the acquired data transmission information to obtain the adjusted data transmission information; or, The acquired data transmission information is transmitted to the controller, and the adjusted data transmission information is received from the controller. The adjusted data transmission information does not conflict, and the forwarding delay generated by the adjusted data transmission information is not greater than the forwarding delay included in the corresponding acquired data transmission information.
9. The method according to claim 8, characterized in that, In cases where the current node or controller cannot determine the adjusted data transmission information, the method further includes: A change request is sent to the previous node corresponding to at least one of the acquired data transmission information, and the operation of determining the data transmission information of the current node continues. The change request instructs the previous node to change the corresponding data transmission information. The change request includes one of the following: suggested start time and suggested end time.
10. The method according to claim 1, characterized in that, Also includes: Receive change requests from the next node; Adjust the data transmission information of the current node based on the change request.
11. The method according to claim 5, characterized in that, Before determining the data transmission information of the current node, the following is also included: Synchronize clocks and time; Determine the first transmission attribute information and the second transmission attribute information.
12. A periodic service transmission device, characterized in that, include: The module is configured to determine the data transmission information of the current node. The transmission module is configured to transmit periodic services based on the data transmission information of the current node; When the current node is not the source node, the determining module is specifically used for: Obtain data transmission information sent by the previous node or controller; If the acquired data transmission information is not the data transmission information of the current node, the data transmission information of the current node is determined based on the acquired data transmission information and the first transmission attribute information. The first transmission attribute information includes one or more of the following: the first transmission delay between the previous node and the current node; the first transmission rate between the current node and the next node; and the second transmission rate between the current node and the previous node. The determining module determines the data transmission information of the current node based on the acquired data transmission information and the first transmission attribute information, including: When the acquired data transmission information is the quasi-data transmission information of the current node, the data transmission information of the current node is determined based on the acquired data transmission information, the first transmission rate, the second transmission rate, and the forwarding delay included in the acquired data transmission information; wherein, the quasi-data transmission information of the current node is determined based on the data transmission information of the previous node and the first transmission delay.
13. A communication node, characterized in that, include: One or more processors; Storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-11.
14. A storage medium, characterized in that, The storage medium stores a computer program that, when executed by a processor, implements the method described in any one of claims 1-11.
Citation Information
Patent Citations
Improved method for transmitting a communication signal
CN102792741A
Service transmission method and device
CN110958681A