A service transmission method and device, a sending end and a storage medium
Patent Information
- Application Number
- CN202010366934.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-30
- Publication Date
- 2026-09-18
- Estimated Expiration
- 2040-04-30
Smart Images

Figure CN113596628B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a service transmission method, apparatus, transmitting end, and storage medium. Background Technology
[0002] PON (Passive Optical Network) is a typical passive optical fiber network. A PON system typically consists of an optical line terminal (OLT) on the central office side, optical network units (ONUs) on the user side, and an optical distribution network (ODN).
[0003] In traditional PON systems, when the ONU sends a received service to the OLT, if a high-priority service arrives at the ONU while the ONU is sending a low-priority service, it must wait for the low-priority service to finish before sending the high-priority service. For example... Figure 1 As shown, Service 1 has a higher priority than Service 2. When Service 1 arrives at the ONU, Service 2 is already transmitting. Therefore, Service 1 needs to wait for Service 2 to finish transmitting before it can transmit, as shown below. Figure 2 As shown, this transmission method causes a certain delay in the transmission of high-priority services, the magnitude of which is as follows: Figure 1 As shown, the larger the amount of data that Service 2 has not yet completed sending, the greater the transmission delay of Service 1. This is especially true for time-sensitive services, which directly affects the timeliness of the service.
[0004] Application content
[0005] This application provides a service transmission method, apparatus, transmitting end, and storage medium to reduce the transmission latency of time-sensitive services.
[0006] In a first aspect, embodiments of this application provide a service transmission method applied at a sending end, the method comprising:
[0007] One transmission entity seizes the transmission opportunity of another transmission entity to carry out service transmission.
[0008] Secondly, embodiments of this application also provide a service transmission device, disposed at a transmitting end, the device comprising:
[0009] The first control module is used to control one transmission entity to preempt the transmission opportunity of another transmission entity to carry out service transmission.
[0010] Optionally, the first control module includes:
[0011] The first control unit is configured to, if the preempted transmission entity is not currently transmitting a service, control the preempting transmission entity to preempt the transmission opportunity of the preempted transmission entity and perform service transmission.
[0012] Optionally, the first control module includes:
[0013] The second control unit is used to control the preempting transmission entity to preempt the transmission opportunity of the preempted transmission entity and perform the transmission if the preempted transmission entity is currently transmitting a service.
[0014] Optionally, the first control module includes:
[0015] The third control unit is used to control the preempting transmission entity to preempt the transmission opportunity of the preempted transmission entity if the preempted transmission entity is currently transmitting a service, and the preempted transmission entity suspends the transmission of the current service.
[0016] Optional, also includes:
[0017] The second control module is used to control the preempted transmission entity to continue service transmission after the preemption ends.
[0018] Optional, also includes:
[0019] The information sending module is used to send a preemption indication message to the receiving end after one transmission entity preempts the transmission opportunity of another transmission entity and performs service transmission, so that the receiving end can compensate the preempted transmission entity or buffer the preempted service according to the preemption indication message.
[0020] Optional, also includes:
[0021] The first configuration module is used to configure the attribute information of the transmission opportunity or transmission entity before one transmission entity preempts the transmission opportunity of another transmission entity to carry out service transmission.
[0022] The attribute information of the transmission opportunity includes the preemption attribute of the transmission opportunity, and the attribute information of the transmission entity includes the priority attribute and / or preemption attribute of the transmission entity.
[0023] Optional, also includes:
[0024] The third control module is used to control the transmission entity to receive the transmission opportunity allocated by the optical line terminal after configuring the attribute information of the transmission opportunity or transmission entity.
[0025] Optionally, the first configuration module is specifically used for:
[0026] Configure a dedicated transport entity for preemption.
[0027] Optional, also includes:
[0028] The fourth control module is used to control the preempted transmission entity to receive the transmission opportunity allocated by the optical line terminal when multiple transmission entities compete for the same transmission opportunity and a conflict occurs, or to control the preempting transmission entity to receive the transmission opportunity allocated by the optical line terminal.
[0029] Optional, also includes:
[0030] The fifth control module is used to control the transmission entity to acquire data segments to be transmitted at set intervals before one transmission entity preempts the transmission opportunity of another transmission entity and before the service transmission is carried out.
[0031] The sixth control module is used to control the transmission entity to stop acquiring the data segments to be transmitted and to send the acquired data segments to be transmitted when the transmission entity is preempted.
[0032] Thirdly, embodiments of this application also provide a transmitting end, including:
[0033] Controller;
[0034] A transmission entity used for transmitting services;
[0035] Memory, used to store one or more programs;
[0036] When the controller executes the one or more programs, it causes the controller to implement the service transmission method as described in the first aspect.
[0037] Fourthly, embodiments of this application also provide a storage medium storing a computer program thereon, which, when executed by a controller, implements the service transmission method as described in the first aspect.
[0038] This application provides a service transmission method, apparatus, transmitting end, and storage medium. In the transmitting end, one transmission entity preempts the transmission opportunity of another transmission entity to prioritize the transmission of services, effectively reducing the service transmission latency of the preempting transmission entity. Attached Figure Description
[0039] Figure 1 This is a schematic diagram illustrating data transmission when high-priority data arrives in an existing PON system.
[0040] Figure 2 This is a schematic diagram illustrating the start of high-priority data transmission in an existing PON system.
[0041] Figure 3 A flowchart illustrating a service transmission method provided in an embodiment of this application;
[0042] Figure 4 A flowchart illustrating another service transmission method provided in this application embodiment;
[0043] Figure 5 A structural diagram of a BWmap provided in an embodiment of this application;
[0044] Figure 6 A flowchart illustrating another service transmission method provided in this application embodiment;
[0045] Figure 7 A structural diagram of an XGTC header provided in an embodiment of this application;
[0046] Figure 8 A structural diagram of an XGEM header provided in an embodiment of this application;
[0047] Figure 9 A structural diagram of a service transmission device provided in an embodiment of this application;
[0048] Figure 10 This is a structural diagram of a transmitter provided in an embodiment of this application. Detailed Implementation
[0049] The present application will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and not intended to limit it. Furthermore, it should be noted that, for ease of description, only the parts relevant to the present application are shown in the drawings, not all structures. Moreover, unless otherwise specified, the embodiments and features described in the present application can be combined with each other.
[0050] Figure 3 This is a flowchart illustrating a service transmission method provided in an embodiment of this application. This embodiment is applied to service transmission in a PON system to reduce the transmission latency of time-sensitive services. The method can be executed by a service transmission device, which can be implemented in software and / or hardware and is generally integrated into the transmitting end. The transmitting end can be either an ONU or an OLT. When the transmitting end is an ONU, the receiving end is an OLT; when the transmitting end is an OLT, the receiving end is an ONU. The transmission direction from ONU to OLT is called the uplink direction, and the transmission direction from OLT to ONU is called the downlink direction. The service transmission processes in the uplink and downlink directions are similar. This embodiment takes the uplink direction as an example and applies it within the same ONU. (Reference) Figure 3 The method involves the following steps:
[0051] S110. One transmission entity seizes the transmission opportunity of another transmission entity to carry out service transmission.
[0052] The service transmission process in this embodiment can be implemented in an active or passive manner. In the active manner, the transmission entity actively seizes a transmission opportunity to transmit services. In the passive manner, the transmission entity seizes a transmission opportunity under controlled conditions, such as a transmission entity seizing the transmission opportunity of another transmission entity under the control of a controller. This embodiment uses the passive method as an example. A transmission entity is a device used to transmit services received at the sending end to the receiving end. A transmission opportunity is the chance for a transmission entity to transmit services. The transmission entity performs service transmission when it has a transmission opportunity. In this embodiment, the transmission opportunity of the transmission entity can be obtained through preemption, especially when transmitting TSN (Time Sensitive Network) services. By preempting transmission opportunities, the transmission latency of TSN services can be reduced.
[0053] Optionally, it can be determined whether a transmission entity can be preempted based on its identification information. For example, when a transmission entity is marked as allowing preemption, it means that all transmission opportunities for that entity can be preempted. Alternatively, it can be determined whether a transmission opportunity can be preempted based on its identification information. For example, when a transmission opportunity is marked as allowing preemption, it means that the transmission opportunity can be preempted. Generally, the identification information of transmission entities can also be set according to their priority. For example, a higher-priority transmission entity can preempt a lower-priority transmission entity.
[0054] Different priority transmission entities can correspond to different priority services. The priority of a service can be determined by the user side and then sent to the sender through the corresponding port. The sender obtains the priority of the corresponding service based on the different ports. Alternatively, the priority can be determined by the sender. For example, the user side sends services as data packets to the sender through the same port, and the sender determines the priority of each service by parsing the data packets. After receiving the service, the sender can allocate the service to the corresponding transmission entity according to its priority, and the transmission entity will then send it to the receiver. The specific allocation rule is not limited in the implementation example. For example, high-priority services can be allocated to high-priority transmission entities, and low-priority services can be allocated to low-priority transmission entities. For example, in one case, transmission entity A is marked as allowed to preempt, and transmission entity B is marked as allowed to be preempted. When a high-priority TSN service arrives at transmission entity A, transmission entity A can be controlled to preempt the transmission opportunity of transmission entity B, allowing transmission entity A to transmit the high-priority TSN service first and reducing the transmission latency of the high-priority service.
[0055] This application provides a service transmission method, comprising: one transmission entity preempting the transmission opportunity of another transmission entity to perform service transmission. Compared with the prior art, the transmission entity in this solution achieves service transmission by preempting the transmission opportunity, effectively reducing the service transmission latency.
[0056] Figure 4 A flowchart of another service transmission method provided in an embodiment of this application.
[0057] S210. Configure the attribute information of the transmission opportunity or transmission entity.
[0058] The attribute information of the transmission opportunity includes its preemption attribute, and the attribute information of the transmission entity includes its priority attribute and / or preemption attribute. The preemption attribute of the transmission opportunity is configured by the OLT to identify whether the transmission opportunity is allowed to be preempted. In one case, the transmission opportunity can be bandwidth, in which case the OLT can identify the bandwidth that is allowed to be preempted in the bandwidth allocation BWmap. The embodiment does not limit the type of bandwidth; for example, it can be one or more of fixed bandwidth, guaranteed bandwidth, non-guaranteed bandwidth, and best-effort bandwidth.
[0059] Figure 5 This is a structural diagram of a BWmap provided in an embodiment of this application.
[0060] refer to Figure 5BWmap includes N allocation structures. Each allocation structure is used to allocate bandwidth allocated by the OLT to the ONU. Each allocation structure includes an AllocationIdentifier (Alloc-ID) field, bandwidth allocation options (Flags) field, StartTime field, Grant Size field, Forced Wake-up Indicator (FWI) field, Burst Overhead Parameter (Bprofile) field, and Hybrid Error Correction (HEC) field. The Flags field, representing bandwidth allocation options, occupies two bits. One bit indicates whether the ONU sends an uplink Dynamic Bandwidth Report (DBRu), and the other bit indicates whether the ONU sends an uplink Physical Layer Operations, Administration and Maintenance (PLOAMu) message. StartTime indicates the position of the first byte of the XG-PON transmission convergence burst (XGTC burst) sent by the ONU within a 125µs uplink frame. When an ONU receives an allocation structure, if the ONU determines that the allocation structure is allocated to itself based on the bandwidth allocation identifier, the ONU will start sending the data in the transmission container corresponding to the bandwidth allocation identifier at the start time indicated in the allocation structure. The length of the data sent is the length of data that the ONU can send as resolved by the granted size in the allocation structure.
[0061] Optionally, the StartTime and Grant Size fields can be reduced, while the Flags field can be expanded. The Flags field indicates whether the bandwidth is allowed to be preempted. For example, the StartTime and Grant Size fields can be reduced from 16 bits to 14 bits each, and 4 bits can be added to the Flags field. In one identification method, these 4 bits can be set to 1 when the bandwidth is allowed to be preempted, and set to 0 when the bandwidth is not allowed to be preempted. In another identification method, these 4 bits can be set to one of 0, 1, 2, ..., 7, with different values representing different priorities. For example, 0 represents the lowest priority, and 7 represents the highest priority. Lower-priority bandwidth can be preempted by higher-priority bandwidth. Of course, other identification methods can also be used, and this embodiment is not limited.
[0062] The priority and preemption attributes of a transmission entity can be configured in the ONU. The priority attribute identifies the priority of the transmission entity. Optionally, an attribute can be added to the OMCI (ONU Management and Control Interface) of the transmission entity to identify its priority. Higher-priority transmission entities can preempt transmission opportunities from lower-priority transmission entities. The preemption attribute indicates whether the transmission entity is allowed to preempt. Optionally, an Alloc-ID can be used to uniquely identify the transmission entity. Alternatively, an attribute can be added to the OMCI to indicate whether the transmission entity is allowed to preempt. When a transmission entity is marked as allowing preemption, it means that all transmission opportunities for that entity can be preempted. For example, when the transmission opportunity is bandwidth, it means that all bandwidth allocated to that transmission entity can be preempted.
[0063] S220: One transmission entity seizes the transmission opportunity of another transmission entity to carry out service transmission.
[0064] Optionally, the transmission entity includes a transmission channel (GEM Port) and a transmission container. The transmission channel is used to send the services received by the sender to the transmission container, which then sends them to the receiver. A sender can contain one or more transmission entities, and a transmission entity contains one transmission container. One or more transmission channels can be integrated on a transmission container. The embodiment uses a sender containing multiple transmission entities and a transmission container integrating multiple transmission channels as an example. Different transmission channels can have different priorities, and different transmission containers can have different priorities. The transmission container includes an uplink transmission container and a downlink transmission container. The uplink transmission container is used for uplink service transmission, and the downlink transmission container is used for downlink service transmission. For ease of description, the embodiment refers to the uplink transmission container as T-CONT (Transmission CONT), the downlink transmission container as a slice, and the transmission entity that preempts the transmission opportunity as the preempting transmission entity, and the transmission entity whose transmission opportunity is preempted as the preempted transmission entity.
[0065] In one scenario, if the preempted transmission entity is not currently transmitting a service, the preempting transmission entity can seize the transmission opportunity of the preempted entity and transmit the service. This scenario can apply to preemption between different T-CONTs. For example, when the transmission entity is a T-CONT, and the transmission opportunity is measured in bandwidth, if a service arrives at the preempting T-CONT, and the preempted T-CONT is not currently transmitting a service, the preempting T-CONT can directly seize the bandwidth of the preempted T-CONT to complete its own service transmission.
[0066] In another scenario, if the preempted transmission entity is currently transmitting a service, the preempting transmission entity will seize the preempted entity's transmission opportunity and perform its own service transmission after the preempted entity completes its service transmission. For example, when the transmission entity is T-CONT, if the transmission channel A of the preempted T-CONT is currently transmitting a service, then after the preempted T-CONT's transmission channel A completes its service transmission, the preempting T-CONT will seize the remaining bandwidth of the preempted T-CONT, and the preempted T-CONT will suspend transmission. Here, "transmission channel A completes service transmission" means that transmission channel A completes the transmission of a data packet; that is, when transmission channel A is transmitting a data packet, the preempting T-CONT needs to wait until transmission channel A completes the transmission of the current data packet before seizing the remaining bandwidth of the preempted T-CONT.
[0067] In another scenario, if the preempted transmission entity is currently transmitting a service, the preempting transmission entity takes over the transmission opportunity of the preempted entity, and the preempted entity suspends its current service transmission. For example, when the transmission entity is a T-CONT, if the transmission channel A of the preempted T-CONT is currently transmitting a service, then the preempted T-CONT's transmission channel A suspends its current service transmission, and the preempting T-CONT takes over the remaining bandwidth of the preempted T-CONT. In this case, the preemption occurs both between transmission channels and between T-CONTs, which can further reduce service transmission latency. When the transmission entity is a transmission channel, if the preempted transmission channel is currently transmitting a service, then the preempting transmission channel takes priority in transmitting the service, and the preempted channel suspends its current service transmission. In this case, the preemption can occur between different transmission channels of the same T-CONT.
[0068] S230. After the preemption ends, the preempted transmission entity continues to transmit services.
[0069] For example, when the transmission entity is a transmission channel, if a low-priority transmission channel is suspended from transmitting its current service due to preemption by a high-priority transmission channel, the low-priority transmission channel will continue transmitting the unfinished service after the preemption ends. When the transmission entity is a T-CONT, if the preempted T-CONT is not currently transmitting a service, the preempted T-CONT will perform service transmission after obtaining a transmission opportunity after the preemption ends.
[0070] Based on the above embodiments, the data acquisition method of the transmission entities can be modified to allow one transmission entity to preempt the transmission opportunity of another transmission entity. Accordingly, before one transmission entity preempts the transmission opportunity of another transmission entity to perform service transmission, the following steps are also included:
[0071] The transmission entity acquires data segments to be transmitted at set intervals.
[0072] When the transmission entity is preempted, the transmission entity ends the acquisition of the data segments to be transmitted and sends the acquired data segments to be transmitted.
[0073] Traditional service transmission uses complete data packets. This means that when a high-priority transmission entity receives a service request, if a low-priority transmission entity is already transmitting a service, the high-priority entity must wait until the low-priority entity finishes transmitting its data packet before it can transmit, resulting in transmission delays for high-priority services. This embodiment supports preemption between transmission entities by changing their data acquisition method. Optionally, transmission entities can acquire data segments to be transmitted at set intervals. When data arrives at a high-priority transmission entity, it can preempt the transmission opportunity of a low-priority transmission entity and send its data first, reducing transmission delays. The time interval can remain constant, such as acquiring data segments at fixed intervals, or it can vary randomly or according to a certain pattern. This embodiment does not specifically limit the time interval. The size of the data segments to be transmitted is similar. In one scenario, a transmission container can be understood as a set of transmission channels. After the data acquisition method of the transmission container is changed, the data acquisition method of the transmission channels under the transmission container also changes accordingly, and the change method is the same.
[0074] Figure 6 A flowchart of another service transmission method provided in an embodiment of this application.
[0075] S310. One transmission entity seizes the transmission opportunity of another transmission entity to carry out service transmission.
[0076] S320. Send a preemption indication message to the receiving end so that the receiving end can compensate the preempted transmission entity or the preempted service of the buffer according to the preemption indication message.
[0077] Preemption notification messages are used to instruct the receiver to compensate for preempted transmission entities or services whose buffers have been preempted. Optionally, preemption notification messages can be added to the XGTC header of an XGTC burst, see reference [link to XGTC burst]. Figure 7 , Figure 7This application provides a structural diagram of an XGTC header, which includes an ONU-ID field (10 bits), an Ind field (9 bits), an HEC field (13 bits), and a PLOAMu field (0 or 48 bits). The ONU-ID is used to uniquely identify the ONU. Optionally, the Ind field can be used to indicate whether preemption has occurred. In one approach, bit 7 can be used to indicate whether preemption has occurred. For example, when bit 7 is 1, it indicates that T-CONT bandwidth preemption has occurred, and when bit 7 is 0, it indicates that T-CONT bandwidth preemption has not occurred. When the receiving end detects that bit 7 is 1, it can perform bandwidth compensation on the preempted T-CONT based on the identifier of the preempted T-CONT to ensure the transmission performance of the T-CONT.
[0078] Optionally, a preemption notification message can also be added to the XGEM header. See reference [link / reference]. Figure 8 , Figure 8 This application provides a structural diagram of an XGEM header, which includes a PLI field (14 bits), a Keyindex field (2 bits), an XGEM port-ID field (16 bits), an Options field (18 bits), an LF field (1 bit), and an HEC field (13 bits). The XGEM port-ID is used to uniquely identify the transmission channel of the T-CONT. In one embodiment, the last bit of the Options field can be used to indicate whether the transmission channel has been preempted; for example, a value of 1 indicates that preemption has occurred, and a value of 0 indicates that preemption has not occurred. When the receiving end detects that the last bit of the Options field is 1, it buffers the service corresponding to the transmission channel so that the remaining part of the subsequent data packet can be reassembled to obtain a complete data packet.
[0079] Based on the above embodiments, after configuring the attribute information of the transmission opportunity or transmission entity, the method further includes:
[0080] The preempted transmission entity is allowed to receive the transmission opportunity allocated by the optical line terminal.
[0081] Taking bandwidth as an example, after determining the allowed preemptive transmission entities and the allowed preempted transmission entities, the OLT can continue to allocate the remaining bandwidth to the allowed preempted transmission entities to avoid affecting the subsequent transmission performance of the transmission entities due to bandwidth preemption.
[0082] Based on the above embodiments, configuring the attribute information of the transmission entity includes:
[0083] Configure a dedicated transport entity for preemption.
[0084] Taking bandwidth as an example, in one approach, a preemptible T-CONT can be configured as a dedicated T-CONT. The dedicated T-CONT is not linked to any specific service; that is, the bandwidth of the dedicated T-CONT is only available for preemption by other T-CONTs.
[0085] Based on the above embodiments, the method further includes:
[0086] When multiple transmission entities compete for the same transmission opportunity and a conflict occurs, the transmission entity whose transmission opportunity was competed for receives the transmission opportunity allocated by the optical line terminal, or the transmission entity that competed for the transmission opportunity receives the transmission opportunity allocated by the optical line terminal.
[0087] The service transmission method provided in this embodiment can be applied not only to the same sending end but also to different sending ends. Preemption between transmission entities can be executed actively or passively. When applied to different sending ends and executed actively, if multiple transmission entities preempt the same transmission opportunity and a conflict occurs, to eliminate the preemption conflict, in one approach, the preempted transmission entity can be given another transmission opportunity; in another approach, a separate transmission opportunity can be allocated to the preempting transmission entity.
[0088] Taking the sending end as ONU and the service transmission method applied between different ONUs as an example, when multiple ONUs compete for the same transmission opportunity and a conflict occurs, the OLT can continue to allocate transmission opportunities to the entity whose transmission opportunity was competed for, or allocate transmission opportunities separately to the entity whose transmission opportunity was competed for.
[0089] Figure 9 This is a structural diagram of a service transmission device provided in an embodiment of this application. The device is located at the transmitting end. (Reference) Figure 9 The device includes:
[0090] The first control module 41 is used to control one transmission entity to preempt the transmission opportunity of another transmission entity to carry out service transmission.
[0091] This application provides a service transmission device in which one transmission entity in the sending end preempts the transmission opportunity of another transmission entity to transmit services first, effectively reducing the service transmission delay of the preempting transmission entity.
[0092] Based on the above embodiments, the first control module 41 includes:
[0093] The first control unit is configured to, if the preempted transmission entity is not currently transmitting a service, control the preempting transmission entity to preempt the transmission opportunity of the preempted transmission entity and perform service transmission.
[0094] Based on the above embodiments, the first control module 41 includes:
[0095] The second control unit is used to control the preempting transmission entity to preempt the transmission opportunity of the preempted transmission entity and perform the transmission if the preempted transmission entity is currently transmitting a service.
[0096] Based on the above embodiments, the first control module 41 includes:
[0097] The third control unit is used to control the preempting transmission entity to preempt the transmission opportunity of the preempted transmission entity if the preempted transmission entity is currently transmitting a service, and the preempted transmission entity suspends the transmission of the current service.
[0098] Based on the above embodiments, the device further includes:
[0099] The second control module is used to control the preempted transmission entity to continue service transmission after the preemption ends.
[0100] Based on the above embodiments, the device further includes:
[0101] The information sending module is used to send a preemption indication message to the receiving end after one transmission entity preempts the transmission opportunity of another transmission entity and performs service transmission, so that the receiving end can compensate the preempted transmission entity or buffer the preempted service according to the preemption indication message.
[0102] Based on the above embodiments, the device further includes:
[0103] The first configuration module is used to configure the attribute information of the transmission opportunity or transmission entity before one transmission entity preempts the transmission opportunity of another transmission entity to carry out service transmission.
[0104] The attribute information of the transmission opportunity includes the preemption attribute of the transmission opportunity, and the attribute information of the transmission entity includes the priority attribute and / or preemption attribute of the transmission entity.
[0105] Based on the above embodiments, the device further includes:
[0106] The third control module is used to control the transmission entity to receive the transmission opportunity allocated by the optical line terminal after configuring the attribute information of the transmission opportunity or transmission entity.
[0107] Based on the above embodiments, the first configuration module is specifically used for:
[0108] Configure a dedicated transport entity for preemption.
[0109] Based on the above embodiments, the device further includes:
[0110] The fourth control module is used to control the preempted transmission entity to receive the transmission opportunity allocated by the optical line terminal when multiple transmission entities compete for the same transmission opportunity and a conflict occurs, or to control the preempting transmission entity to receive the transmission opportunity allocated by the optical line terminal.
[0111] Based on the above embodiments, the device further includes:
[0112] The fifth control module is used to control the transmission entity to acquire data segments to be transmitted at set intervals before one transmission entity preempts the transmission opportunity of another transmission entity and before the service transmission is carried out.
[0113] The sixth control module is used to control the transmission entity to stop acquiring the data segments to be transmitted and to send the acquired data segments to be transmitted when the transmission entity is preempted.
[0114] The service transmission device provided in this application embodiment can execute the service transmission method in the above embodiment, and has the corresponding functional modules and beneficial effects of the execution method.
[0115] Figure 10 This is a structural diagram of a transmitter provided in an embodiment of this application. The transmitter can be either an ONU or an OLT. Figure 10 Taking the ONU as the transmitting end as an example. (Reference) Figure 10 The transmitting end includes: a controller 51, a transmission entity 52, and a memory 53. The number of controllers 51 in the transmitting end can be one or more. Figure 10 Taking a controller 51 as an example, the transmission entity 52 is used to transmit the service received by the sending end to the receiving end. The same sending end can contain one or more transmission entities 52. Figure 10 Taking multiple transmission entities 52 as an example, each transmission entity 52 includes a transmission channel 520 and a transmission container 521. A single transmission entity 52 may contain one transmission container 521 and one or more transmission channels 520. Figure 10 Taking multiple transmission channels 520 as an example, when the sending end contains multiple transmission entities 52, and each transmission entity 52 contains multiple transmission channels 520, different transmission channels 520 can correspond to different priorities, and different transmission containers 521 can correspond to different priorities. During service transmission, the attributes of each transmission channel 520 and each transmission container 521 can be used to control one transmission entity 52 to preempt the transmission opportunity of another transmission entity 52 for service transmission. The attributes of each transmission channel 520 and each transmission container 521 can be pre-configured.
[0116] The controller 51 can be connected to the transmission entity 52 and the memory 53 via a bus or other means. Figure 10 Taking the example of a connection between China and Israel via a bus.
[0117] The memory 53, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the service transmission method in the embodiments of this application. The controller 51 executes various functional applications and data processing of the transmitting end by running the software programs, instructions, and modules stored in the memory 53, thereby implementing the service transmission method of the above embodiments.
[0118] The memory 53 primarily includes a program storage area and a data storage area. The program storage area stores the operating system and at least one application program required for a given function; the data storage area stores data created based on terminal usage. Furthermore, the memory 53 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory, or other non-volatile solid-state storage device. In some instances, the memory 53 may further include memory remotely configured relative to the controller 51, which can be connected to the transmitting end 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.
[0119] The sending end provided in this application embodiment belongs to the same concept as the service transmission method provided in the above embodiments. Technical details not described in detail in this embodiment can be found in the above embodiments. Furthermore, this embodiment has the same beneficial effects as the service transmission method.
[0120] This application also provides a storage medium storing a computer program thereon, which, when executed by a controller, implements the service transmission method as described in the above embodiments of this application.
[0121] Of course, the computer-executable instructions provided in the embodiments of this application are not limited to the operations in the service transmission method described above, but can also perform related operations in the service transmission method provided in any embodiment of this application, and have corresponding functions and beneficial effects.
[0122] Based on the above description of the implementation methods, those skilled in the art can clearly understand that this application can be implemented using software and necessary general-purpose hardware, and of course, it can also be implemented using hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory, hard disk, or optical disk, etc., including several instructions to cause a computer device (which may be a robot, personal computer, server, or network device, etc.) to execute the service transmission method described in the above embodiments of this application.
[0123] Note that the above are merely preferred embodiments and the technical principles employed in this application. Those skilled in the art will understand that this application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments, and may include many other equivalent embodiments without departing from the concept of this application, the scope of which is determined by the scope of the appended claims.
Claims
1. A service transmission method, characterized in that, Applied to the transmitting end and suitable for service transmission in passive optical fiber network (PON) systems, the method includes: One transmission entity preempts the transmission opportunity of another transmission entity to perform service transmission; wherein, the transmission entity includes a transmission container, and the transmission opportunity is the bandwidth allocated to the transmission container; Wherein, the act of one transmission entity preempting the transmission opportunity of another transmission entity includes: It can directly seize the bandwidth of another transmission entity or seize the remaining bandwidth of another transmission entity.
2. The method according to claim 1, characterized in that, The act of one transmission entity preempting the transmission opportunity of another transmission entity to perform service transmission includes: If the preempted transmission entity is not currently transmitting a service, the preempting transmission entity will seize the transmission opportunity of the preempted transmission entity and transmit the service.
3. The method according to claim 1, characterized in that, The act of one transmission entity preempting the transmission opportunity of another transmission entity to perform service transmission includes: If the entity whose transmission was preempted is currently transmitting a service, the entity that preempts the transmission will seize the transmission opportunity of the entity whose transmission was preempted after the entity has completed the service transmission and perform the service transmission.
4. The method according to claim 1, characterized in that, The act of one transmission entity preempting the transmission opportunity of another transmission entity to perform service transmission includes: If the entity whose transmission is being preempted is currently transmitting a service, the entity that preempts the transmission will seize the transmission opportunity of the entity whose transmission is being preempted, and the entity whose transmission is being preempted will suspend the transmission of its current service.
5. The method according to any one of claims 1-4, characterized in that, Also includes: After the preemption ends, the preempted transmission entity continues to transmit services.
6. The method according to any one of claims 1-4, characterized in that, After one transmission entity preempts another transmission entity's transmission opportunity to perform service transmission, the following also includes: Send a preemption indication message to the receiving end so that the receiving end can compensate the preempted transmission entity or the preempted service according to the preemption indication message.
7. The method according to any one of claims 1-4, characterized in that, Before one transmission entity preempts another transmission entity's transmission opportunity to conduct service transmission, the following steps are also included: Configure the attribute information of the transmission opportunity or transmission entity; The attribute information of the transmission opportunity includes the preemption attribute of the transmission opportunity, and the attribute information of the transmission entity includes the priority attribute and / or preemption attribute of the transmission entity.
8. The method according to claim 7, characterized in that, After configuring the attribute information of the transmission opportunity or transmission entity, the following is also included: The preempted transmission entity is allowed to receive the transmission opportunity allocated by the optical line terminal.
9. The method according to claim 7, characterized in that, The configuration of the attribute information of the transmission entity includes: Configure a dedicated transport entity for preemption.
10. The method according to any one of claims 1-4, characterized in that, Also includes: When multiple transmission entities compete for the same transmission opportunity and a conflict occurs, the transmission entity whose transmission opportunity was competed for receives the transmission opportunity allocated by the optical line terminal, or the transmission entity that competed for the transmission opportunity receives the transmission opportunity allocated by the optical line terminal.
11. The method according to any one of claims 1-4, characterized in that, Before one transmission entity preempts another transmission entity's transmission opportunity to conduct service transmission, the following steps are also included: The transmission entity acquires data segments to be transmitted at set intervals. When the transmission entity is preempted, the transmission entity ends the acquisition of the data segments to be transmitted and sends the acquired data segments to be transmitted.
12. The method according to any one of claims 1-4, characterized in that, The method is executed by the controller in the sending end.
13. A service transmission device, characterized in that, Located at the transmitting end, and suitable for service transmission in a passive optical network (PON) system, the device includes: The first control module is used to control one transmission entity to preempt the transmission opportunity of another transmission entity to carry out service transmission; The transmission entity includes a transmission container, and the transmission opportunity is the bandwidth allocated to the transmission container; Wherein, the act of one transmission entity preempting the transmission opportunity of another transmission entity includes: It can directly seize the bandwidth of another transmission entity or seize the remaining bandwidth of another transmission entity.
14. A transmitter, characterized in that, include: Controller; A transmission entity used for transmitting services; Memory, used to store one or more programs; When the controller executes the one or more programs, it causes the controller to implement the service transmission method as described in any one of claims 1-12.
Citation Information
Patent Citations
TDM-PON mobile forward transmission optical network data transmission method and device based on frame preemption
CN110933532A