Optical network system, message scheduling method, communication equipment and readable storage medium
By integrating and binding multiple management channels to the same transmission container in the optical network system, and processing downlink messages based on transmission priority, the problems of low bandwidth utilization and high latency in the optical network system are solved, and the system efficiency is improved. bandwidth utilization and user experience.
Patent Information
- Application Number
- CN202410604701.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-15
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2044-05-15
AI Technical Summary
In an optical network system, the bandwidth of each data transmission channel is allocated independently, making it difficult to fully utilize the overall bandwidth of the system. In particular, the bandwidth resources of the management channel cannot be fully utilized, which cannot meet scenarios with high bandwidth requirements, affecting the user experience.
By integrating and binding multiple management channels to the same transmission container, it is equivalent to multiple management channels sharing part of the bandwidth, thereby releasing the bandwidth independently occupied by some channels, reducing bandwidth overhead, improving system bandwidth utilization, and downlink packets During transmission, the messages are transmitted sequentially based on the transmission priority to achieve priority transmission of emergency messages and reduce the transmission delay of emergency messages.
It improves the utilization of system bandwidth, meets scenarios with high bandwidth and delay requirements, improves user experience, and achieves priority transmission of emergency messages and reduced delay.
Smart Images

Figure CN118175465B
Abstract
Description
Technical Field
[0001] The present application relates to, but is not limited to, the field of communication equipment, and in particular to an optical network system, a message scheduling method, a communication device, and a readable storage medium. Background Art
[0002] Optical network generally refers to a wide area network, metropolitan area network or newly built large-scale local area network that uses optical fiber as the main transmission medium. Due to the advantages of high transmission speed and long transmission distance, optical network is widely used in broadband access for homes and enterprises such as fiber to the home (FTTH), fiber to the room (FTTR), and fiber to the office (FTTO). In FTTH, FTTR, and FTTO systems, optical access networks are formed by optical network devices such as optical line terminal equipment and user-side equipment, so that data can be transmitted at high speed on the optical fiber network. There are many types of data transmitted between optical network devices. Therefore, there are also many data transmission channels between optical network devices. Different data transmission channels can meet the needs of different services. However, the bandwidth of each data transmission channel in the optical access network system of related technologies is allocated independently, and the overall bandwidth of the system is difficult to fully utilize, and it cannot meet some scenarios with high bandwidth requirements, affecting the user experience. Summary of the invention
[0003] The embodiments of the present application provide an optical network system, a message scheduling method, a communication device and a readable storage medium, which can improve the utilization rate of the system bandwidth and meet the user's usage needs.
[0004] In a first aspect, an embodiment of the present application provides an optical network system, including:
[0005] First Optical Network Equipment;
[0006] A second optical network device, wherein the second optical network device performs uplink transmission of uplink messages with the first optical network device through a service channel and at least two management channels, wherein the service channel and all the management channels are bound to a transmission container, and at least two of the management channels are bound to the same transmission container.
[0007] In a second aspect, an embodiment of the present application provides a message scheduling method, which is applied to the first optical network device in the optical network system as described in the first aspect, and the message scheduling method includes:
[0008] Obtaining a message to be transmitted, and identifying the message to be transmitted;
[0009] When the message to be transmitted is an urgent message, the message to be transmitted is allocated to the first queue; when the message to be transmitted is a non-urgent message, the message to be transmitted is sliced and encapsulated to obtain multiple message fragments, and the multiple message fragments are allocated to the second queue;
[0010] The messages in each queue are transmitted based on the transmission priority, wherein the transmission priority of the first queue is higher than the transmission priority of the second queue.
[0011] In a third aspect, an embodiment of the present application provides a communication device, including:
[0012] at least one processor;
[0013] at least one memory for storing at least one program;
[0014] When at least one of the programs is executed by at least one of the processors, the message scheduling method as described in the fourth aspect is implemented.
[0015] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the message scheduling method as described in the second aspect.
[0016] The embodiment of the present application provides an optical network system, a message scheduling method, a communication device and a readable storage medium. Since the uplink transmission data volume of the uplink message of the management channel is small and the transmission period is short, multiple management channels are integrated and bound to the same transmission container, which is equivalent to multiple management channels sharing part of the bandwidth, thereby releasing the bandwidth independently occupied by some channels, reducing bandwidth overhead, and improving system bandwidth utilization. In addition, when transmitting downlink messages, the downlink messages are transmitted in sequence based on the transmission priority, and the downlink messages can be sliced and encapsulated at the same time, shortening the downlink message transmission time, which can not only realize the priority transmission of emergency messages, but also effectively reduce the transmission delay of emergency messages, so that in scenarios with high bandwidth requirements, it can also effectively reduce the delay and improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a structural diagram of an optical network system provided in an embodiment of the present application;
[0018] Figure 2 This is a schematic diagram of the effect of sharing bandwidth resources through data transmission channels provided in an embodiment of the present application;
[0019] Figure 3 is a schematic diagram of a data transmission channel sharing bandwidth resources provided by another embodiment of the present application;
[0020] Figure 4is a schematic diagram of a data transmission channel sharing bandwidth resources provided by another embodiment of the present application;
[0021] Figure 5 is a schematic diagram of a data transmission channel sharing bandwidth resources provided by another embodiment of the present application;
[0022] Figure 6 is a flow chart of the message scheduling method provided in an embodiment of the present application;
[0023] Figure 7 It is a schematic diagram of message scheduling provided in an embodiment of the present application;
[0024] Figure 8 This is a flowchart of the steps of non-emergency message slicing encapsulation provided by an embodiment of the present application;
[0025] Fig. 9 A schematic diagram of the steps of downlink transmission of a non-emergency message provided by an embodiment of the present application;
[0026] Fig.10 It is a structural diagram of a communication device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0028] It is understood that although the functional modules are divided in the device schematic diagram and the logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flow chart. The terms "first", "second", etc. in the specification or the above drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0029] At present, in an optical access network system, in order to provide different services or meet specific network requirements, multiple optical network devices need to transmit different types of message data through multiple different data transmission channels. In some cases where the requirements for device management and control are high, in addition to a service channel, multiple management channels are established between the upstream device and the downstream device. Different management channels are used to transmit different types of management and control data. In the related art, a transmission container (Transmission CONT, T-CONT) can be bound to each data transmission channel, and the bandwidth allocation of each transmission container can be adjusted to achieve bandwidth allocation adjustment for each data transmission channel. For example, when a certain data transmission channel is idle uplink (i.e., the data transmission volume is small), the bandwidth allocation of the transmission container corresponding to the data transmission channel can be reduced, and the saved and released bandwidth resources can be used by other data transmission channels. When a certain data transmission channel is busy uplink (i.e., the data transmission volume is large), the bandwidth resources of the transmission container corresponding to the data transmission channel can be increased, so that the bandwidth resources allocated to each data transmission channel can be adjusted according to the real-time traffic of each data transmission channel to optimize bandwidth utilization. Although transmission containers are bound to each data transmission channel one by one, the bandwidth of each data transmission channel is still allocated independently. The data transmission volume of management messages in the management channel is small, the transmission period is short, and the bandwidth utilization rate of the management channel is low, resulting in the overall bandwidth resources of the system still being difficult to fully utilize, especially the bandwidth resources of the management channel. In addition, in the current optical access network system, the downlink message data is transmitted in a first-in-first-out manner during downlink transmission. Therefore, in case of urgent data transmission, it is necessary to wait for the data being transmitted to complete the transmission before transmitting. If the data being transmitted is large, the delay of urgent data transmission will increase, which cannot meet the scenarios with high delay requirements and affect user use.
[0030] Based on this, the present application provides an optical network system, a message scheduling method, a communication device and a readable storage medium, which integrate and bind multiple management channels to the same transmission container, which is equivalent to multiple management channels sharing part of the bandwidth, thereby releasing the bandwidth independently occupied by some channels, reducing bandwidth overhead, and improving system bandwidth utilization. In addition, when transmitting messages downlink, the messages are transmitted in sequence based on the transmission priority, and the messages are sliced and encapsulated at the same time to shorten the transmission time of a single message, which can not only realize the priority transmission of emergency messages, but also effectively reduce the transmission delay of emergency messages, thereby meeting the scenarios with high requirements for bandwidth and delay, and improving the user experience.
[0031] First, refer to Figure 1 , Figure 1: is a structural diagram of the optical network system provided by an embodiment of the present application. It can be seen that the optical network system has a first optical network device 100 and a second optical network device 200. The first optical network device 100 serves as an uplink device of the optical network system, and the second optical network device 200 serves as a downlink device of the optical network system. A service channel and at least two management channels are established between the first optical network device 100 and the second optical network device 200, wherein the service channel and all management channels are bound to a transmission container, and at least two management channels are bound to the same transmission container. Therefore, integrating and binding multiple management channels to the same transmission container is equivalent to multiple management channels sharing part of the bandwidth, thereby being able to release the bandwidth independently occupied by some channels, reduce bandwidth overhead, and improve system bandwidth utilization.
[0032] It should be noted that the uplink device may refer to a device used to send data from a user-end device to a network or server. The uplink device may receive data transmitted uplink by the user-end device, and the uplink device may also transmit network or server data downlink to the downlink device. The downlink device may refer to a device used to receive data from a network or server. At the same time, the downlink device may transmit user-end data uplink to the uplink device. The downlink device may refer to a user-end device. For example, in an FTTH system, the uplink device may refer to an optical line terminal (OLT), and the downlink device may refer to an optical network unit (ONU), i.e., a terminal device for optical fiber access. In an FTTR system, the uplink device may refer to a FTTR main device (MFU), and the downlink device may refer to a FTTR slave device (SFU).
[0033] In some embodiments, the optical network system may be a fiber-to-the-room network system, i.e., a FTTR system. Therefore, the first optical network device 100 may be a master optical fiber unit, i.e., a FTTR master device MFU, in the FTTR system, and the second optical network device 200 may be a slave optical fiber unit, i.e., a FTTR slave device SFU, in the FTTR system. The management channel established between the first optical network device 100 and the second optical network device 200 may refer to an FMCI channel and a WMCI channel.
[0034] In some embodiments, the optical network system may be a fiber-to-the-home network system, i.e., a FTTH system. Therefore, the first optical network device 100 may be an optical line terminal OLT in the FTTH system, and the second optical network device 200 may be an optical network unit ONU in the FTTH system, and the management channel established between the first optical network device 100 and the second optical network device 200 may refer to an OMCI channel and a WMCI channel.
[0035] In some embodiments, the optical network system may be a network system that combines a fiber-to-the-home network system with a fiber-to-the-room network system. Then, the first optical network device 100 may be either a master optical fiber unit or an optical line terminal. In the optical access network system that combines FTTR with FTTH, the master optical fiber unit may also be used as a downlink device of the optical line terminal. Therefore, the second optical network device 200 may be either a slave optical fiber unit or a master optical fiber unit.
[0036] It should be noted that the second optical network device 200 may include multiple ones, that is, the first optical network device 100 can establish a service channel and at least two management channels with multiple second optical network devices 200, and perform data exchange. As the number of second optical network devices 200 in the optical network system increases, the number of management channels established in the optical network system increases, and the bandwidth resources that need to be allocated to the management channels in the optical network system increase, which greatly reduces the bandwidth utilization of the system. In the management channel established between the first optical network device 100 and the second optical network device 200, the embodiment of the present application binds multiple management channels to the same transmission container, so that multiple management channels can use part of the bandwidth resources together, thereby saving and releasing part of the bandwidth resources independently occupied by the management channels, and then optimizing the allocation of these saved and released bandwidth resources, such as providing more bandwidth resources to busy service channels, and improving the bandwidth resource utilization in the system.
[0037] In some embodiments, a data transmission channel includes an uplink port and a downlink port, wherein the uplink port is located in the downlink device, i.e., the second optical network device 200, and the downlink port is located in the uplink device, i.e., the first optical network device 100. The uplink port and the downlink port can be mapped to the corresponding data transmission channel, and the data transmission channels mapped to different uplink ports or different downlink ports are also different. The downlink device can transmit data to the corresponding data transmission channel through the uplink port to realize the uplink transmission of data, and the uplink device can receive the data transmitted by the downlink device through the downlink port corresponding to the same data transmission channel. Therefore, the first optical network device 100 may include a service uplink port for connecting to the service channel, and a plurality of management uplink ports for connecting to different management channels. Accordingly, the second optical network device 200 may include a service downlink port for connecting to the service channel, and a plurality of management downlink ports for connecting to different management channels.
[0038] The optical line terminal OLT establishes a data transmission channel (GPON Encapsulation Method Port, GEM Port) between the upstream device and the downstream device by configuring the corresponding bandwidth authorization and parameters, and then associates and binds each data transmission channel GEM Port with the transmission container T-CONT. When the downstream device needs to transmit data upstream to the first optical network device 100, the message data to be transmitted can be mapped to the corresponding data transmission channel GEM Port, and the corresponding data transmission channel GEM Port carries the message data and maps it to the bound transmission container T-CONT for upstream transmission. In this way, the first optical network device 100 can receive the upstream transmission data through the downstream port of the data transmission channel. Specifically, the data transmission channel can be demodulated through the transmission container T-CONT, and then the message data in the data transmission channel can be demodulated. Figure 1 As shown, the first optical network device 100, as an uplink device in the optical access network system, can receive data transmitted by the downlink device, i.e., the second optical network device 200, through a service channel and at least two management channels, wherein each data transmission channel is bound to a transmission container T-CONT, and at least two management channels are bound to the same transmission container T-CONT, which is equivalent to binding the management uplink ports of at least two management channels to the same transmission container T-CONT, or in other words, binding the management downlink ports of at least two management channels to the same transmission container T-CONT. Therefore, at least two management channels share part of the bandwidth, thereby saving and releasing the bandwidth resources independently occupied by part of the management channels, reducing the bandwidth resource overhead, and improving the overall bandwidth utilization.
[0039] In some embodiments, two management channels and one service channel may be established between the first optical network device 100 and the second optical network device 200, wherein the transmission data types carried by the two management channels are different. For example, the optical network system may be an FTTR system, the first optical network device 100 may be an upstream device (i.e., an FTTR master device) in the FTTR system, and the second optical network device 200 may be a downstream device (i.e., an FTTR slave device), and three channels are usually established between the upstream device and the downstream device in the FTTR system, namely, a fiber management and control interface channel (Fibre Management & Control Interface Port, FMCI PORT), a wireless management and control interface channel (Wireless Management & Control Interface Port, WMCI PORT) and a service channel (Service Port); for another example, the optical network system may be an FTTH system, the first optical network device 100 may be an upstream device (i.e., an optical line terminal OLT) in the FTTH system, and the second optical network device 200 may be a downstream device (i.e., an optical network unit ONU), and three channels may also be established between the upstream device and the downstream device in the FTTH system, namely, an optical network unit management and control interface channel (ONU Management & Control Interface Port, OMCI PORT) and a wireless management and control interface channel (Wireless Management & Control Interface Port, WMCI PORT). PORT), WMCI channel and business channel.
[0040] Reference Figure 2 , Figure 2 Schematic diagram of the effect of sharing bandwidth resources through data transmission channels provided in the embodiment of the present application. Figure 2 As shown in (a), Figure 2(a) in the figure indicates that in the FTTR system, the data transmission channels established between the optical network device (i.e., the FTTR master device) and the downstream device (i.e., the FTTR slave device) are each bound to a different transmission container, i.e., the first management channel (i.e., FMCI PORT) is bound to the first transmission container T-CONT, the second management channel (i.e., WMCI PORT) is bound to the second transmission container T-CONT, and the service channel is bound to the third transmission container T-CONT. Specifically, there are five types of transmission containers T-CONT, including fixed bandwidth type, guaranteed bandwidth type, burst allocation type with minimum guaranteed bandwidth, best effort allocation type, and combined allocation type. Each transmission container T-CONT has a corresponding specific quality of service (QoS) feature. Therefore, the optical line terminal OLT can dynamically allocate corresponding bandwidth resources according to the actual traffic situation of the network and the needs of each transmission container T-CONT. In general, the traffic volume that the service channel needs to carry is large, and the bandwidth resources required are more. Therefore, the third transmission container T-CONT bound to the service channel is allocated with more bandwidth resources. The traffic volume that the two management channels carry is small, and the bandwidth resources required are less. Therefore, the transmission container T-CONT bound to the two management channels is allocated with less bandwidth resources. Figure 2 As shown in (a), even if the bandwidth resources allocated to the first transmission container T-CONT, the second transmission container T-CONT and the third transmission container T-CONT can be adjusted dynamically in real time, and the bandwidth resources of the corresponding transmission container T-CONT can be reduced when the management channel is idle, the first transmission container T-CONT and the second transmission container T-CONT still need to occupy part of the bandwidth, so that the bandwidth resources corresponding to the management channel cannot be fully utilized; and when the splitting ratio is larger and the number of downlink devices is more, the bandwidth resources occupied by the transmission container corresponding to the management channel are also more, so that the overall bandwidth utilization of the system is also reduced.
[0041] like Figure 2 As shown in (b), Figure 2 (b) indicates that in the embodiment of the present application, in the FTTR, two management channels in the data transmission channel established between the first optical network device 100 (i.e., the FTTR master device) and the second optical network device 200 (i.e., the FTTR slave device) are bound to the same transmission container, that is, the first management channel (i.e., FMCI PORT) and the second management channel (i.e., WMCI PORT) are jointly bound to the fourth transmission container T-CONT, and the service channel is bound to the fifth transmission container T-CONT. Therefore, the two management channels are jointly bound to the same transmission container, which is equivalent to Figure 2(a) shows a solution for sharing bandwidth resources of two management channels. When the overall bandwidth resources of the system remain unchanged, compared with each management channel being bound to a different transmission container and independently occupying the corresponding bandwidth resources, the embodiment of the present application can save and release part of the bandwidth resources independently occupied by the two management channels, thereby reducing the bandwidth resource overhead and improving the overall bandwidth utilization of the system.
[0042] In some embodiments, when multiple management channels are bound to the same transmission container, the message priorities corresponding to the management channels in the same transmission container may be the same or different. Figure 2 As shown in (b), when the FMCI channel and the WMCI channel are bound together in the fourth transmission container, the message priority of the FMCI message corresponding to the FMCI channel may be the same as the message priority of the WMCI message corresponding to the WMCI channel, that is, when the FMCI message and the WMCI message need to be transmitted uplink, message scheduling may be performed through QoS to preferentially transmit the message with an earlier message time; or the message priority of the FMCI message corresponding to the FMCI channel may be higher than the message priority of the WMCI message corresponding to the WMCI channel; or, the message priority of the FMCI message corresponding to the FMCI channel may be lower than the message priority of the WMCI message corresponding to the WMCI channel.
[0043] In some embodiments, reference Figure 3 , Figure 3 It is a schematic diagram of the shared bandwidth resources of the data transmission channels provided by another embodiment of the present application. The service channel and all management channels can be bound to the same transmission container together, which is equivalent to the service upstream port and all management upstream ports being bound to the same transmission container, or the service downstream port and all management downstream ports being bound to the same transmission container. At this time, all management channels and service channels share bandwidth resources, so that the bandwidth resources of the management channels can be fully utilized when the management channels are idle, especially when the splitting is relatively large and the number of downstream devices is large, the overall bandwidth utilization of the system can be effectively improved. At this time, the optical line terminal OLT can increase the bandwidth allocation frequency for each transmission container T-CONT, and adjust the bandwidth allocation situation multiple times within the allocation cycle of 125 microseconds, so that the bandwidth allocation situation of each downstream device can be adjusted in time, and the overall bandwidth resources of the system can be fully utilized.
[0044] In some embodiments, when a service channel and multiple management channels are bound to the same transmission container, in the same transmission container, the message priority of the service messages corresponding to the service channel is lower than the message priority of the management messages corresponding to each management channel, and the message priorities of the messages corresponding to each management channel can be the same or different.
[0045] In some embodiments, reference Figure 4 , Figure 4 It is a schematic diagram of a data transmission channel sharing bandwidth resource provided by another embodiment of the present application. The multiple management channels established by the first optical network device 100 and the second optical network device 200 can be merged to form a management shared channel, and the formed management shared channel can be independently bound to a transmission container, wherein, in the process of merging multiple management channels, the management uplink ports of these management channels are also merged to form the uplink ports of the management channels, and similarly, the management downlink ports of these management channels are also merged to form the downlink ports of the management channels. Figure 4 As shown, in the FTTR system, the FMCI channel and the WMCI channel established between the optical network device and the downstream device can be merged to form a FMCI / WMCI channel, i.e., a management shared channel, and the management shared channel is independently bound to the sixth transmission container T-CONT, and the service channel is independently bound to the seventh transmission container T-CONT. Therefore, by merging multiple management channels, multiple management channels can share part of the bandwidth resources, saving and releasing part of the bandwidth resources independently occupied by multiple management channels, thereby reducing the bandwidth resource overhead and improving the overall bandwidth utilization of the system.
[0046] In some embodiments, reference Figure 5 , Figure 5 This is a schematic diagram of a data transmission channel sharing bandwidth resource provided by another embodiment of the present application. The management shared channel formed by merging multiple management channels established by the first optical network device 100 and the second optical network device 200 can be bound to the same transmission container with the service channel, which is equivalent to the uplink port of the management shared channel and the service uplink port of the service channel being bound to the same transmission container, or the downlink port of the management shared channel and the service downlink port of the service channel being bound to the same transmission container. Figure 5 As shown in the figure, in the FTTR system, the FMCI / WMCI management shared channel formed by merging the FMCI channel and the WMCI channel is bound to the eighth transmission container T-CONT together with the service channel. At this time, all management channels and service channels share bandwidth resources, so that the bandwidth resources of the management channels can be fully utilized when the management channels are idle, especially when the splitting is relatively large and the number of downstream devices is large, which can effectively improve the overall bandwidth utilization of the system. At this time, the optical line terminal OLT can increase the bandwidth allocation frequency for each transmission container T-CONT, and adjust the bandwidth allocation situation multiple times within the allocation cycle of 125 microseconds, so as to timely adjust the bandwidth allocation situation of each downstream device and make full use of the overall bandwidth resources of the system.
[0047] In some embodiments, after the management common channel is formed by channel merging some management channels established by the first optical network device 100 and the second optical network device 200, an independent management channel can still be established between the first optical network device 100 and the second optical network device 200. These independent management channels can be bound to different transmission containers respectively, or can be bound to the same transmission container together, can be bound to the same transmission container together with the management common channel, and can be bound to the same transmission container together with the service channel.
[0048] In some embodiments, when a service channel and a management shared channel formed by merging multiple management channels are bound to the same transmission container, the message priority of service messages corresponding to the service channel is lower than the message priority of management messages corresponding to the management shared channel.
[0049] In some embodiments, the first optical network device 100, as an upstream device in the optical access network system, can broadcast data downstream to each downstream device, i.e., the second optical network device 200, through the data transmission channel connected to the downstream port. However, the data downstream broadcast adopts a first-in-first-out method, which means that once the data packet starts to be transmitted, it cannot be interrupted. If the urgent data packet is sent after the ordinary data packet, it will be delayed, and the specific delay time depends on the size of the ordinary data packet being transmitted. For example, if the ordinary data packet is a giant Ethernet frame and the payload is as high as 9000 bytes, then for the FTTR system with a transmission rate of 10GB, a maximum delay of 8.2 microseconds will be introduced for the urgent data packet. Therefore, the first optical network device 100 may include a message slicing unit and a message sorting unit. The message slicing unit can slice and encapsulate message data with a large effective load to form multiple message segments with small loads, and then perform downlink broadcast transmission, thereby shortening the sending period occupied by a single message segment, thereby reducing the waiting time for emergency data packets to be transmitted, and effectively reducing the transmission delay of emergency messages; and the message sorting unit can identify the urgency of each data packet, that is, the transmission priority, and sort the data packets according to the transmission priority of each data packet, and perform downlink transmission in sequence, thereby realizing priority transmission of emergency messages and reducing the transmission delay of emergency messages. For example, at this time, there is no urgent message in the data packet to be transmitted, so the giant Ethernet frame to be transmitted can be broadcasted downlink to each downstream device according to the transmission priority, wherein, before the giant Ethernet frame is broadcasted downlink, the message slicing unit in the first optical network device 100 can be called to slice and encapsulate the giant Ethernet frame to form a plurality of small-load message fragments, and then these small-load message fragments are broadcasted downlink in sequence; when one of the message fragments is being transmitted downlink, an urgent data packet that needs to be broadcast downlink is received, and the message sorting unit can adjust the transmission priority of the urgent data packet to the highest, which is equivalent to arranging the subsequent message fragments to be transmitted after the transmission of the urgent data packet before transmitting downlink, therefore, the urgent data packet can be preferentially transmitted downlink after the transmission of the message fragment currently being transmitted downlink is completed, and since the effective load of the message fragment is reduced after the slicing and encapsulation, and the data transmission volume is small, the transmission time occupied by the message fragment is short, and compared with the scheme of transmitting the complete giant Ethernet frame and then transmitting the urgent data packet, the transmission delay of the urgent data packet can be effectively reduced.
[0050] Based on the structure of the optical network system proposed in the embodiment of the first aspect, various embodiments of the message scheduling method of the embodiment of the fourth aspect of the present application are proposed.
[0051] Reference Figure 6 , Figure 6A flow chart of a message scheduling method provided in an embodiment of the present application is shown. The message scheduling method can be applied to the first optical network device 100 of the optical network system proposed in the embodiment of the first aspect. The message scheduling method includes but is not limited to the following steps:
[0052] Step S100, obtaining a message to be transmitted and identifying the message to be transmitted;
[0053] Step S200: when the message to be transmitted is an urgent message, the message to be transmitted is allocated to the first queue; when the message to be transmitted is a non-urgent message, the message to be transmitted is sliced and encapsulated to obtain multiple message segments, and the multiple message segments are allocated to the second queue;
[0054] Step S300: Transmit the messages in each queue based on the transmission priority.
[0055] The message to be transmitted may refer to a data packet sent by a server in response to a request from a user terminal device (i.e., a downlink device) in network communication, so that after the user terminal device receives the message to be transmitted, it can perform corresponding processing according to the message to be transmitted to complete the requested operation. When the message to be transmitted that needs to be transmitted downlink is obtained, the urgency of the message to be transmitted, i.e., the transmission priority, can be identified. Specifically, the emergency message can be judged by the flag bit in the message segment. If the flag bit meets the conditions of the emergency message (such as the flag bit is set to 1), the message to be transmitted can be considered to be an emergency message; if the flag bit does not meet the conditions of the emergency message, the message to be transmitted can be considered to be a non-emergency message.
[0056] When the message to be transmitted is an urgent message, the message to be transmitted can be assigned to the first queue, and when the message to be transmitted is a non-urgent message, the message to be transmitted can be assigned to the second queue, wherein the transmission priority of the first queue is higher than the transmission priority of the second queue, and the downlink transmission of the message data is transmitted based on the transmission priority, therefore, the message data in the first queue will be downlinked before the message data in the second queue, wherein the message data in the same queue are sorted according to the time of entering the queue, or the urgency of the message data can be further sorted, thereby enabling priority transmission of urgent messages and reducing the transmission delay of urgent messages, therefore, when the message data in the first queue does not exist in the message data to be transmitted, the message data in the second queue can be downlinked.
[0057] In addition, in the process of allocating non-urgent messages to the second queue, the non-urgent messages can also be sliced and encapsulated to obtain multiple message fragments, and then the multiple message fragments can be allocated to the second queue. When allocating multiple message fragments to the second queue, they can be sorted based on the content sequence of the multiple message fragments.
[0058] Reference Figure 7 , Figure 7 It is a schematic diagram of message scheduling provided by an embodiment of the present application. At the first moment, the message data to be broadcasted downlink includes a first message XFEM frame to be transmitted with Port-ID X and a second message XFEM frame to be transmitted with Port-ID Y, that is, the first message to be transmitted needs to be transmitted through a data transmission channel with Port-ID X, and the second message XFEM frame to be transmitted needs to be transmitted through a data transmission channel with Port-ID Y. Among them, the payload of the first message to be transmitted is an emergency application protocol data unit N (Application Protocol Data Unit, APDU), that is, APDU N, and the payload of the second message to be transmitted is a non-emergency application protocol data unit M, that is, a normal APDU M. By identifying the first message to be transmitted and the second message to be transmitted, it is confirmed that the first message to be transmitted is an urgent message and the second message to be transmitted is a non-urgent message. Therefore, the first message to be transmitted is assigned to the first queue, i.e., the high transmission priority queue, and the second message to be transmitted is assigned to the second queue, i.e., the low transmission priority queue. The messages in each queue are downlink broadcast transmitted based on the transmission priority. Therefore, the first transmission message APDU N of the first queue is transmitted first. At the same time, the second message APDU M to be transmitted is sliced, and the sliced fragments are respectively encapsulated in XFEM frames to form the second transmission message fragment APDUM1 and the second transmission message fragment APDU M2. If no urgent message is obtained in the subsequent transmission process, the second transmission message fragment APDU M1 and the second transmission message fragment APDU M2 are transmitted in sequence after the first transmission message APDU N is transmitted.
[0059] After the transmission of the first transmission message APDU N is completed, the second transmission message fragment APDU M1 is broadcasted downlink, and in the process of downlink broadcasting the second transmission message fragment APDU M1, the third to-be-transmitted message XFEM frame with Port-ID X is obtained, and the payload of the third transmission message is the emergency APDU N+1, so the third transmission message APDU N+1 is an emergency message and is assigned to the first queue. Due to the first-in-first-out of the downlink transmission, the second transmission message fragment APDUM1 cannot interrupt the transmission, so the third transmission message APDU N+1 will be preferentially transmitted after the downlink transmission of the second transmission message fragment APDU M1 is completed, that is, the third transmission message APDU N+1 is transmitted later than the second transmission message fragment APDU M1, but the third transmission message APDU N+1 is transmitted before the second transmission message fragment APDU M2. By slicing and encapsulating the non-urgent message and then transmitting it downlink, the single message transmission time can be effectively shortened, and at the same time, the emergency message (the third transmission message APDU N+1) can be transmitted before the non-urgent message (the second transmission message APDU M) during the transmission process, effectively reducing the optical transmission delay of emergency messages.
[0060] In addition, refer to Figure 8 , in one embodiment, Figure 6 Step S200 in the illustrated embodiment also includes but is not limited to the following steps:
[0061] Step S210, when the message to be transmitted is a non-urgent message and the payload of the message to be transmitted is greater than a preset byte threshold, the message to be transmitted is sliced and encapsulated to obtain multiple message fragments, and the multiple message fragments are allocated to the second queue.
[0062] When it is determined that the message to be transmitted is a non-urgent message, the message to be transmitted can be sliced according to a preset byte threshold, and the message to be transmitted can be sliced to form segments with the same byte length as the preset byte threshold, and then these segments are encapsulated to obtain multiple message segments. Therefore, when the payload of the message to be transmitted is greater than the preset byte threshold, the message to be transmitted can be sliced and encapsulated to form multiple message segments. Among them, the preset byte threshold can be adjusted according to the bandwidth resources of the optical access network system.
[0063] It should be noted that when the payload of the message fragment obtained after slicing is still greater than the preset byte threshold, the message fragment can continue to be sliced and encapsulated until the payload of the message fragment is less than or equal to the preset byte threshold. By slicing and encapsulating non-emergency messages before transmitting them, the single transmission time of non-emergency messages can be effectively shortened, which facilitates the timely transmission of emergency messages and reduces the transmission delay of emergency messages.
[0064] In addition, refer to Fig. 9 , in one embodiment, Figure 6 In the illustrated embodiment, step S300 also includes but is not limited to the following steps:
[0065] Step S220: When the message to be transmitted is a non-urgent message and the effective load of the message to be transmitted is less than or equal to the preset byte threshold, the message to be transmitted is allocated to the second queue.
[0066] When it is determined that the message to be transmitted is a non-urgent message, if the payload of the message to be transmitted is less than or equal to the preset byte threshold, it can be considered that the time required for the downlink transmission of the message to be transmitted is shorter. Therefore, when an urgent message is obtained while the message to be transmitted is being transmitted downlink, the transmission of the message to be transmitted can be completed quickly and the downlink transmission of the urgent message can be performed, which has little impact on the transmission delay of the urgent message. Therefore, there is no need to slice and encapsulate the message to be transmitted. The message to be transmitted can be directly assigned to the second queue, and then the messages in each queue can be transmitted based on the transmission priority.
[0067] In addition, fourthly, refer to Fig.10 An embodiment of the present application further provides a communication device 1000, Fig.10 The structure diagram of the communication device 1000 provided in the embodiment of the present application is shown. The communication device 1000 includes: at least one memory 1010, at least one processor 1020, and a program stored in the memory 1010 and executable on the processor 1020.
[0068] The processor 1020 and the memory 1010 may be connected via a bus or other means.
[0069] The non-transient software program and instructions required to implement the message scheduling method of the above embodiment are stored in the memory 1010. When executed by the processor 1020, the message scheduling method of the above embodiment is executed, for example, the above described Figure 6 Method steps S100 to S300, Figure 8 In the method step S210, Fig. 9 Method step S220 in .
[0070] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0071] In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions. The computer-executable instructions are executed by a processor or a controller, for example, by a processor in the above embodiment, so that the above processor can execute the message scheduling method in the above embodiment, for example, execute the above described Figure 6 Method steps S100 to S300, Figure 8 In the method step S210, Fig. 9 Method step S220 in .
[0072] It will be appreciated by those skilled in the art that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
Claims
1. An optical network system, comprising: First Optical Network Equipment; a second optical network device, wherein the second optical network device performs uplink transmission of uplink messages with the first optical network device through a service channel and at least two management channels, wherein the service channel and all the management channels are bound to a transmission container, and at least two management channels of different transmission data types of the same second optical network device are bound to the same transmission container; Among them, when the first optical network device is a master optical fiber unit in a fiber-to-room network system and the second optical network device is a slave optical fiber unit in the fiber-to-room network system, the two management channels of different transmission data types include an FMCI channel and a WMCI channel.
2. The optical network system according to claim 1, characterized in that: The service channel and all the management channels are bound to the same transmission container.
3. The optical network system according to claim 1, characterized in that: At least two of the management channels are merged into a management common channel, and the management common channel is bound to the transmission container.
4. The optical network system according to claim 3, characterized in that: The service channel and the management shared channel are both bound to the same transmission container.
5. The optical network system according to claim 1 or 3, characterized in that: The service channel is independently bound to one of the transmission containers.
6. The optical network system according to claim 2 or 4, characterized in that: In the same transmission container, the message priority corresponding to each management channel is higher than the message priority corresponding to the service channel.
7. The optical network system according to any one of claims 1 to 4, characterized in that: In the same transmission container, the message priorities corresponding to the various management channels are the same or different.
8. The optical network system according to claim 1, characterized in that: The first optical network device is an optical line terminal in a fiber-to-the-home network system, and the second optical network device is an optical network unit in the fiber-to-the-home network system.
9. A message scheduling method, applied to the first optical network device in the optical network system according to any one of claims 1 to 8, the message scheduling method comprising: Obtaining a message to be transmitted, and identifying the message to be transmitted; When the message to be transmitted is an urgent message, allocating the message to be transmitted to a first queue; When the message to be transmitted is a non-urgent message, slicing and encapsulating the message to be transmitted to obtain a plurality of message segments, and allocating the plurality of message segments to a second queue; Transmitting the messages in each queue based on the transmission priority, wherein the transmission priority of the first queue is higher than the transmission priority of the second queue; In the process of transmitting the messages in each queue based on the transmission priority, the emergency message is inserted into the transmission process of the plurality of message segments.
10. The message scheduling method according to claim 9, characterized in that: The slicing and encapsulating of the message to be transmitted to obtain multiple message fragments includes: When the effective load of the message to be transmitted is greater than a preset byte threshold, the message to be transmitted is sliced and encapsulated to obtain multiple message fragments.
11. The message scheduling method according to claim 9, characterized in that: Also includes: When the message to be transmitted is a non-urgent message and the effective load of the message to be transmitted is less than or equal to a preset byte threshold, the message to be transmitted is allocated to the second queue.
12. A communication device, characterized in that: include: at least one processor; at least one memory for storing at least one program; When at least one of the programs is executed by at least one of the processors, the message scheduling method according to any one of claims 9 to 11 is implemented.
13. A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the message scheduling method according to any one of claims 9 to 11.
