CN117998234A - Message transmission method and device and optical communication system - Google Patents

Message transmission method and device and optical communication system Download PDF

Info

Publication number
CN117998234A
CN117998234A CN202211376469.6A CN202211376469A CN117998234A CN 117998234 A CN117998234 A CN 117998234A CN 202211376469 A CN202211376469 A CN 202211376469A CN 117998234 A CN117998234 A CN 117998234A
Authority
CN
China
Prior art keywords
node
receiving
receiving node
data frame
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211376469.6A
Other languages
Chinese (zh)
Inventor
贺俊妮
刘耕辰
黄远达
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202211376469.6A priority Critical patent/CN117998234A/en
Priority to PCT/CN2023/105236 priority patent/WO2024093331A1/en
Publication of CN117998234A publication Critical patent/CN117998234A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A message transmission method and device and an optical communication system belong to the technical field of optical communication. The method comprises the following steps: after obtaining a plurality of messages to be transmitted, a sending node in the optical communication system sends part of the messages to a first receiving node in the plurality of receiving nodes. Wherein, a plurality of receiving nodes are positioned between the sending node and the user node, the destination nodes of at least two messages in the plurality of messages are different, and a set formed by the destination nodes of the plurality of messages comprises the plurality of receiving nodes; the destination node of at least one of the partial messages includes a first receiving node. The application can solve the problem of lower safety of the message, and is used for transmitting the message in an optical communication system.

Description

Message transmission method and device and optical communication system
Technical Field
The present application relates to the field of optical communications technologies, and in particular, to a method and apparatus for transmitting a message, and an optical communications system.
Background
With the development of optical communication technology, optical communication systems are increasingly applied in various communication scenarios. An optical communication system includes: a transmitting node and a plurality of receiving nodes, the plurality of receiving nodes being located between the transmitting node and a user node (user equipment), point-to-multipoint (P2 MP) communication being possible between the transmitting node and the plurality of receiving nodes. Illustratively, an Optical communication system is taken as a passive Optical network (passive Optical network, PON) system, in which a transmitting node is, for example, an Optical line terminal (Optical LINE TERMINAL, OLT), and a receiving node is, for example, an Optical network terminal (Optical network unit, ONU).
In the related art, when performing point-to-multipoint communication between a sending node and a plurality of receiving nodes, the sending node may first obtain a plurality of messages of which destination nodes are the plurality of receiving nodes respectively. The transmitting node may then broadcast the plurality of messages to a plurality of receiving nodes. After each receiving node receives the messages broadcast by the sending node, the message of which the destination node is the receiving node is extracted from the messages.
However, broadcasting the message by the sending node to the plurality of receiving nodes may enable the receiving node to not only receive the message that the destination node is the receiving node, but also receive the message that the destination node is not the receiving node. This results in a lower security of the message.
Disclosure of Invention
The application provides a message transmission method and device and an optical communication system, which can solve the problem of lower safety of a message.
In a first aspect, the present application provides a method for transmitting a message, the method being performed by a transmitting node in an optical communication system. The optical communication system further includes a plurality of receiving nodes located between the transmitting node and the user node. In the message transmission method, after a transmitting node acquires a plurality of messages to be transmitted, a part of messages in the plurality of messages are transmitted to a first receiving node in the plurality of receiving nodes, and messages except the part of messages in the plurality of messages are not transmitted to the first receiving node. Wherein, the destination nodes of at least two messages in the plurality of messages are different, and the set formed by the destination nodes of the plurality of messages comprises the plurality of receiving nodes; the destination node of at least one message in the partial message sent by the sending node includes the first receiving node.
In the message transmission method provided by the application, the sending node sends the acquired partial messages in the plurality of messages to the first receiving node, so that the sending node does not send other messages except the partial messages in the plurality of messages to the first receiving node, thereby avoiding leakage of the other messages to the first receiving node. Thus, the security of the other message is improved. In addition, the first receiving node only needs to receive part of the message, and does not need to receive other messages, so that the power consumption of the first receiving node is reduced.
It can be understood that after the sending node obtains the plurality of messages, the sending node may send corresponding messages to the plurality of receiving nodes respectively. The first receiving node is one receiving node in the plurality of receiving nodes, and the message corresponding to the first receiving node is the partial message. For each receiving node in the plurality of receiving nodes, the destination node of at least one message corresponding to the receiving node comprises the receiving node, the messages corresponding to different receiving nodes can be the same or different, and the messages corresponding to at least two receiving nodes are different. The message sent by the sending node to the at least one receiving node is not all of the plurality of messages. For example, the first receiving node may be any receiving node of the plurality of receiving nodes, where the message sent by the sending node to each receiving node is not all of the plurality of messages.
Optionally, the plurality of receiving nodes are divided into a plurality of node groups; the message corresponding to the first receiving node is: a message having a destination node belonging to a node group to which the first receiving node belongs. The node group may include one receiving node or a plurality of receiving nodes. The number of receiving nodes in different node groups may be the same or different. When the node group to which the first receiving node belongs includes a plurality of receiving nodes, the message corresponding to the first receiving node may include a message that the destination node does not include the first receiving node, or may not include such a message.
The message corresponding to the first receiving node is: as an example of the message having the destination node belonging to the node group to which the first receiving node belongs, it is to be understood that the message corresponding to the first receiving node may have other realizations, for example, the message corresponding to the first receiving node includes, in addition to the message having the destination node belonging to the node group to which the first receiving node belongs, a message having the destination node belonging to other node groups than the node group in the plurality of node groups. For another example, the message corresponding to the first receiving node includes: a portion of the messages having destination nodes belonging to the node group to which the first receiving node belongs, but not including another portion of the messages having destination nodes belonging to the node group to which the first receiving node belongs.
When the first receiving node is any receiving node of the plurality of receiving nodes, the message corresponding to each receiving node of the plurality of receiving nodes includes: the message having the destination node belonging to the node group to which the receiving node belongs, the message transmitted by the transmitting node to the receiving node does not include: there is no message of the destination node belonging to the node group to which the receiving node belongs.
Alternatively, the transmitting node may transmit the message to the first receiving node in the form of a data frame. Illustratively, the transmitting node may encapsulate a first data frame corresponding to the first receiving node before transmitting a portion of the plurality of messages to the first receiving node; the load of the first data frame corresponding to the first receiving node carries a message corresponding to the first receiving node. When the sending node sends the corresponding message to the first receiving node, the sending node may send a first data frame corresponding to the first receiving node.
When the first receiving node is any receiving node of the plurality of receiving nodes, the transmitting node can package a plurality of first data frames corresponding to the plurality of receiving nodes before respectively transmitting the messages corresponding to the receiving nodes to the plurality of receiving nodes; each receiving node in the plurality of receiving nodes corresponds to a first data frame, and the load of the first data frame corresponding to the receiving node carries a message corresponding to the receiving node. When the transmitting node transmits the corresponding message to the plurality of receiving nodes respectively, the transmitting node may transmit the corresponding first data frame to the plurality of receiving nodes respectively.
Further, the first receiving node needs to determine the position of the first data frame corresponding to the first receiving node before receiving the corresponding first data frame. The first receiving node may determine the location of the corresponding first data frame in a number of ways.
In a first alternative implementation manner, before the sending node sends the corresponding first data frame to the first receiving node, the sending node sends a first frame header to the first receiving node, where the first frame header is used to indicate a position of the first data frame corresponding to the first receiving node, and the first receiving node may determine the position of the first data frame corresponding to the first receiving node according to the first frame header. The first frame header and the first data frame belong to a second data frame encapsulated by the sending node, when the sending node encapsulates the first data frame corresponding to the first receiving node, the second data frame can be encapsulated, and the second data frame includes: the first frame header and the first payload, the first payload comprising a first data frame corresponding to the first receiving node.
When the first receiving node is any receiving node of the plurality of receiving nodes, the first frame header is used for indicating the position of a first data frame corresponding to each receiving node, and the first load comprises the first data frame corresponding to each receiving node; the transmitting node may transmit the first frame header to the plurality of receiving nodes, respectively, before transmitting the corresponding first data frame to the plurality of receiving nodes, respectively. Therefore, the first frame header is broadcasted to each receiving node by the sending node, and after each receiving node receives the first frame header, the position of the first data frame corresponding to the receiving node can be determined according to the first frame header, so that the first data frame corresponding to the receiving node can be received at the subsequent position.
In a second alternative implementation, before sending the corresponding first data frame to the first receiving node, the sending node sends a second frame header in the private domain to the first receiving node, where the second frame header is used to indicate the location of the first data frame corresponding to the first receiving node, and the first receiving node. The first receiving node may determine a position of a first data frame corresponding to the first receiving node according to the second frame header. The private domain and the first data frame corresponding to the first receiving node all belong to a second data frame encapsulated by the sending node, and when the sending node encapsulates the first data frame corresponding to the first receiving node, the second data frame may be encapsulated, where the second data frame includes: the private domain corresponding to the first receiving node includes: the second load comprises a first data frame corresponding to the first receiving node.
When the first receiving node is any receiving node of the plurality of receiving nodes, the second data frame includes: the second load in each private domain comprises a first data frame corresponding to the receiving node corresponding to the private domain; the second frame header in each private domain is used for indicating the position of the first data frame corresponding to the receiving node corresponding to the private domain and the receiving node corresponding to the private domain; the transmitting node may transmit the second frame header in the corresponding private domain to the plurality of receiving nodes, respectively, before transmitting the corresponding first data frame to the plurality of receiving nodes, respectively.
In this case, the transmitting node does not need to transmit the first frame header to the receiving node, but transmits the second frame header in the corresponding private domain to the receiving node. Accordingly, the receiving node receives the second frame header in the private domain corresponding to the receiving node sent by the sending node. The receiving node may parse the received second frame header to determine a location of the first data frame corresponding to the receiving node.
Alternatively, the transmitting node may broadcast the respective second frame header in the respective private domain to respective receiving nodes, each having the capability to synchronize the respective second frame header. However, the power of the second frame header in the different private domains sent by the sending node is different, so that each receiving node can only receive (synchronize to) the second frame header in the private domain corresponding to the receiving node, and cannot receive other second frame headers except the second frame header. Then, the receiving node can determine the position of the first data frame corresponding to the receiving node according to the received second frame header. Taking the first receiving node as an example, the sending node may also broadcast each second frame header in each private domain, where the first receiving node has the capability to synchronize each second frame header. However, the power of the second frame header in the different private domains sent by the sending node is different, so that the first receiving node can only receive (synchronize to) the second frame header in the private domain corresponding to the first receiving node, and cannot receive other second frame headers except the second frame header. Then, the first receiving node can determine the position of the first data frame corresponding to the first receiving node according to the received second frame header.
In a third alternative implementation manner, before the sending node sends the corresponding first data frame to the first receiving node, the sending node may further send a first notification message to the first receiving node through the first transmission channel, where the first notification message is used to indicate a location of the first data frame corresponding to the first receiving node. The first transmission channel is different from a second transmission channel adopted by the transmitting node to transmit the corresponding first data frame to the first receiving node. The first transmission channel may be an optical network termination management control interface (OMCI) channel or a physical layer operation administration maintenance (PHYSICAL LAYER operation administration AND MAINTENANCE, PLOAM) channel, etc.
When the first receiving node is any receiving node in the plurality of receiving nodes, before sending a corresponding first data frame to each receiving node in the plurality of receiving nodes, the sending node may send a corresponding first notification message to the receiving node through a first transmission channel, where the first notification message corresponding to each receiving node is used to indicate a position of the first data frame corresponding to the receiving node; when the transmitting node transmits the corresponding first data frame to each receiving node, the transmitting node may transmit the corresponding first data frame to the receiving node through the second transmission channel.
In the case that the transmitting node notifies the receiving node of the position of the first data frame through the first notification message, the transmitting node may notify the receiving node of the position of the first data frame corresponding to the receiving node by transmitting the first frame header or the second frame header to the receiving node (e.g., the first receiving node). In this case, the receiving node may determine the location of the first data frame corresponding to the receiving node according to at least one of the received first notification message and the first frame header (or the second frame header).
In a fourth alternative implementation manner, the sending node may not notify the receiving node (such as the first receiving node) of the position of the corresponding first data frame, but the staff member configures the position of the first data frame corresponding to the receiving node on the sending node and the receiving node in a static configuration manner.
In addition, the position of the first data frame corresponding to the first receiving node may also be changed, for example, the length of the first data frame is changed so that at least one of the start position and the end position of the first data frame is changed. When the position of the first data frame corresponding to the first receiving node needs to be changed from the first position to the second position, the sending node can also send a second notification message for indicating the second position to the first receiving node through the first transmission channel.
When the first receiving node is any receiving node of the plurality of receiving nodes, and the position of the first data frame corresponding to any receiving node of the plurality of receiving nodes needs to be changed from the first position to the second position, the transmitting node can transmit a second notification message for indicating the second position to the receiving node through the first transmission channel.
For a first data frame in which the starting position and the ending position in the plurality of first data frames are unchanged, the sending node may not send a second notification message to a receiving node corresponding to the first data frame through the first transmission channel.
Optionally, when determining that the position of the first data frame needs to be changed from the first position to the second position, the sending node may directly change the position of the first data frame from the first position to the second position; and then, the sending node sends a second notification message for indicating the second position to the receiving node corresponding to the first data frame through the first transmission channel. Or the sending node may not change the first position to the second position when determining that the position of the first data frame needs to be changed from the first position to the second position, but send a second notification message for indicating the second position to the receiving node corresponding to the first data frame through the first transmission channel; the receiving node can send a notification response to the sending node through the first transmission channel after preparing to receive the first data frame of the second position according to the second notification message; then, the transmitting node may change the position of the first data frame from the first position to the second position after receiving the notification response.
The position of the first data frame is changed in various ways, for example, the position of the first data frame is changed and related to the number of messages corresponding to at least one receiving node in the application. For example, when the number of packets corresponding to a certain receiving node increases more, the length of the first data frame corresponding to the receiving node may increase, in which case the position of the first data frame changes, and when there are other first data frames after the first data frame, the positions of the other first data frames also change.
Further, the plurality of receiving nodes are divided into a plurality of node groups, and the message corresponding to the first receiving node is: in the case of a message having a destination node belonging to a node group to which the first receiving node belongs, the plurality of node groups are divided in various ways.
Illustratively, each receiving node is divided into a node group, the plurality of receiving nodes being in one-to-one correspondence with the plurality of node groups, each node group including a corresponding receiving node.
Also, for example, the plurality of node groups are in one-to-one correspondence with a plurality of mutually independent channel quality ranges, and the quality of the channel from the transmitting node to the first receiving node belongs to the channel quality range corresponding to the node group to which the first receiving node belongs. When the first receiving node is any receiving node in a plurality of receiving nodes, the quality of a channel from the transmitting node to each receiving node belongs to the channel quality range corresponding to the node group to which the receiving node belongs. The quality of the channel is related to at least one parameter of transmission parameters such as error rate, packet loss rate, frame error rate, insertion loss, return loss, signal to noise ratio, baud rate, data transmission rate and the like of the channel, and quality parameters for representing the quality of the channel can be obtained according to the at least one parameter.
In the case that the quality of the channel from the transmitting node to the receiving node belongs to the channel quality range corresponding to the node group in which the receiving node is located, the transmitting node may determine the quality of the channel from the transmitting node to the receiving node, and determine the node group to which the receiving node is divided according to the quality. It will be appreciated that the quality is obtained in a wide variety of ways, and the application is not limited in this regard.
Illustratively, taking the first receiving node as an example, the transmitting node may receive the quality of the channel set by the staff member from the transmitting node to the first receiving node.
As another example, taking the first receiving node as an example, the first receiving node may send a report message to the sending node, where the report message is used to indicate the quality of a channel from the sending node to the first receiving node (where the report message may be transmitted through the first transmission channel). The sending node may then determine the quality of the channel from the sending node to the first receiving node based on the reporting message. Alternatively, the report message sent by the first receiving node to the sending node may carry the serial number of the first receiving node. In other words, the report message may be implemented by multiplexing a message in which the first receiving node sends a sequence number to the transmitting node. It will be appreciated that the report message may be sent to the sending node at a time different from the serial number of the first receiving node, which is not limited by the present application.
In the case that the quality of the channel from the transmitting node to the first receiving node belongs to the channel quality range corresponding to the node group to which the first receiving node belongs, the physical layer transmission rate of the message corresponding to the first receiving node may be positively correlated with the quality in the channel quality range corresponding to the node group to which the first receiving node belongs. When the first receiving node is any receiving node of the plurality of receiving nodes, the physical layer transmission rate of the message corresponding to each receiving node may be positively correlated with the quality in the channel quality range corresponding to the node group to which the receiving node belongs.
It may be understood that, in the case where the quality of the channel from the transmitting node to the receiving node belongs to the channel quality range corresponding to the node group to which the receiving node belongs, the physical layer transmission rate of the packet corresponding to the receiving node (e.g., the first receiving node) may also be not positively correlated with the quality in the channel quality range corresponding to the node group to which the receiving node belongs, which is not limited by the present application.
The physical layer transmission rate of the message is related to the accuracy of the message received by the receiving node. When the quality of a channel from a sending node to a receiving node is lower, the message corresponding to the receiving node is transmitted on the channel more easily to make mistakes, and at this time, the physical layer transmission rate of the message corresponding to the receiving node is set lower, so that the accuracy of the message transmission received by the receiving node can be improved, and the transmission performance of the message can be improved, for example, the error rate of the message is reduced and/or the sensitivity of the message is improved. When the quality of a channel from a sending node to a receiving node is higher, the message corresponding to the receiving node is transmitted on the channel less prone to error, and at the moment, the physical layer transmission rate of the message corresponding to the receiving node is set higher, so that the transmission rate of the message can be improved on the premise of ensuring the accuracy of the message transmission received by the receiving node. Therefore, under the condition that the quality of a channel from a sending node to a receiving node is higher, the message corresponding to the receiving node can have higher transmission rate, and the waste of network capacity is reduced.
When the physical layer transmission rate of a packet corresponding to a receiving node (e.g., a first receiving node) is positively correlated with the quality in the channel quality range corresponding to the node group to which the receiving node belongs, if the packet corresponding to the receiving node is carried in the first data frame corresponding to the receiving node, the physical layer transmission rate of the first data frame corresponding to the receiving node may also be positively correlated with the quality in the channel quality range corresponding to the node group to which the receiving node belongs.
Optionally, when the physical layer transmission rate of the first data frame corresponding to the receiving node is positively correlated with the quality in the channel quality range corresponding to the node group to which the receiving node belongs, the second data frame where the first data frame belongs may further include an overhead portion. Of course, the second data frame may not include an overhead portion, which is not limited by the present application.
For example, when the second data frame includes an overhead portion, the payload of the first data frame includes a first effective portion, where the first effective portion carries a packet corresponding to a receiving node corresponding to the first data frame; at least one first data frame of the plurality of first data frames included in the second data frame further includes a first overhead portion, and a first length ratio of the first overhead portion to the first effective portion in the first data frame corresponding to the receiving node is negatively related to: the quality in the channel quality range corresponding to the node group where the receiving node is located. Generally, the longer the length of the overhead portion in the first data frame, the lower the physical layer transmission rate of the first data frame. Thus, the first length ratio of the first overhead portion to the first active portion in the first data frame corresponding to the receiving node is inversely related to: when the quality of the first data frame corresponding to the receiving node is within the channel quality range corresponding to the node group, the physical layer transmission rate of the first data frame corresponding to the receiving node can be positively correlated with the quality of the first data frame within the channel quality range corresponding to the node group.
On the basis that the first data frame includes a first active portion and at least one first data frame includes a first overhead portion, if the second data frame includes the first frame header, the first frame header may also include: the second length ratio of the second overhead portion to the second effective portion is greater than or equal to the maximum value of the first length ratio. In other words, the first overhead portion and the second effective portion of the plurality of first data frames have a plurality of first length ratios, and then the second length ratio may be greater than or equal to a maximum value of the plurality of first length ratios. In this way, the physical layer transmission rate of the first frame header is less than or equal to the first data frame with the lowest physical layer transmission rate in the first payload, so that each receiving node can effectively receive the first frame header.
On the basis that the first data frame includes a first valid portion and at least one first data frame includes a first overhead portion, if the second data frame includes the plurality of private fields, the second frame header in the private field may include a third valid portion, and the second frame header in the at least one private field may further include a third overhead portion, where the at least one private field is a private field in which the at least one first data frame including the first overhead portion is located. In one private domain, a third length ratio of the third overhead portion to the third active portion is greater than or equal to a first length ratio of the first overhead portion to the first active portion. In this way, the physical layer transmission rate of the second frame header is smaller than or equal to the physical layer transmission rate of the first data frame in the private domain where the second frame header is located, so that the receiving node corresponding to the first data frame can effectively receive the second frame header.
Optionally, the sending node may cache the packet corresponding to the first receiving node in a cache queue corresponding to the first receiving node. When the first receiving node is any receiving node of the plurality of receiving nodes, the sending node can buffer the acquired plurality of messages in a plurality of buffer queues, wherein each receiving node corresponds to one buffer queue, and the buffer queue corresponding to the receiving node is used for buffering the messages corresponding to the receiving node. Before sending the corresponding message to the receiving node, the sending node can take out the message corresponding to the receiving node from the buffer queue corresponding to the receiving node.
In a second aspect, the present application provides a method for transmitting a message performed by a first receiving node in an optical communication system. The optical communication system includes: a transmitting node and a plurality of receiving nodes, the first receiving node belonging to the plurality of receiving nodes; the plurality of receiving nodes are located between the transmitting node and a user node. The method comprises the following steps: after receiving part of messages in a plurality of messages sent by a sending node, a first receiving node extracts a message of which the destination node is the first receiving node from the part of messages. Wherein destination nodes of at least two messages in the plurality of messages are different, and a set formed by the destination nodes of the plurality of messages comprises the plurality of receiving nodes; the destination node of at least one message in the partial message includes the first receiving node. Accordingly, the transmitting node transmits a part of the messages to the first receiving node, and does not transmit other messages except the part of the messages to the first receiving node, so that the first receiving node does not receive the other messages.
In the message transmission method provided by the application, the sending node sends the acquired partial messages in the plurality of messages to the first receiving node, so that the sending node does not send other messages except the partial messages in the plurality of messages to the first receiving node, thereby avoiding leakage of the other messages to the first receiving node. Thus, the security of the other message is improved. In addition, the first receiving node only needs to receive part of the message, and does not need to receive other messages, so that the power consumption of the first receiving node is reduced.
It can be understood that after the sending node obtains the plurality of messages, the sending node may send corresponding messages to the plurality of receiving nodes respectively. The first receiving node is one receiving node in the plurality of receiving nodes, and the message corresponding to the first receiving node is the partial message. Each receiving node in the plurality of receiving nodes can receive the message corresponding to the receiving node sent by the sending node, and extract the message of the destination node including the receiving node from the received message. For one receiving node of the plurality of receiving nodes, the destination node of at least one message corresponding to the receiving node comprises the receiving node, the messages corresponding to different receiving nodes can be the same or different, and the messages corresponding to at least two receiving nodes are different. The message sent by the sending node to the at least one receiving node is not all of the plurality of messages. For example, the first receiving node may be any receiving node of the plurality of receiving nodes, where the message sent by the sending node to each receiving node is not all of the plurality of messages.
Optionally, the plurality of receiving nodes are divided into a plurality of node groups; the message corresponding to the first receiving node is: a message having a destination node belonging to a node group to which the first receiving node belongs. The node group may include one receiving node or a plurality of receiving nodes. The number of receiving nodes in different node groups may be the same or different. When the node group to which the first receiving node belongs includes a plurality of receiving nodes, the message corresponding to the first receiving node may include a message that the destination node does not include the first receiving node, or may not include such a message.
The message corresponding to the first receiving node is: as an example of the message having the destination node belonging to the node group to which the first receiving node belongs, it is to be understood that the message corresponding to the first receiving node may have other realizations, for example, the message corresponding to the first receiving node includes, in addition to the message having the destination node belonging to the node group to which the first receiving node belongs, a message having the destination node belonging to other node groups than the node group in the plurality of node groups. For another example, the message corresponding to the first receiving node includes: a portion of the messages having destination nodes belonging to the node group to which the first receiving node belongs, but not including another portion of the messages having destination nodes belonging to the node group to which the first receiving node belongs.
When the first receiving node is any receiving node of the plurality of receiving nodes, the message corresponding to each receiving node of the plurality of receiving nodes includes: the message having the destination node belonging to the node group to which the receiving node belongs, the message transmitted by the transmitting node to the receiving node does not include: there is no message of the destination node belonging to the node group to which the receiving node belongs.
Alternatively, the transmitting node may transmit the message to the first receiving node in the form of a data frame. Illustratively, the transmitting node may encapsulate a first data frame corresponding to the first receiving node before transmitting a portion of the plurality of messages to the first receiving node; the load of the first data frame corresponding to the first receiving node carries a message corresponding to the first receiving node. When the sending node sends the corresponding message to the first receiving node, the sending node may send a first data frame corresponding to the first receiving node. After receiving the corresponding first data frame, the first receiving node can analyze the first data frame to obtain a message corresponding to the first receiving node.
When the first receiving node is any receiving node of the plurality of receiving nodes, the transmitting node can package a plurality of first data frames corresponding to the plurality of receiving nodes before respectively transmitting the messages corresponding to the receiving nodes to the plurality of receiving nodes; each receiving node in the plurality of receiving nodes corresponds to a first data frame, and the load of the first data frame corresponding to the receiving node carries a message corresponding to the receiving node. When the transmitting node transmits the corresponding message to the plurality of receiving nodes respectively, the transmitting node may transmit the corresponding first data frame to the plurality of receiving nodes respectively. After each receiving node receives the corresponding first data frame, the first data frame can be analyzed to obtain a message corresponding to the receiving node.
Further, the first receiving node needs to determine the position of the first data frame corresponding to the first receiving node before receiving the corresponding first data frame. The first receiving node may determine the location of the corresponding first data frame in a number of ways.
In a first alternative implementation manner, before the sending node sends the corresponding first data frame to the first receiving node, the sending node sends a first frame header to the first receiving node, where the first frame header is used to indicate a location of the first data frame corresponding to the first receiving node, and after receiving the first frame header, the first receiving node may parse the first frame header to determine the location of the first data frame corresponding to the first receiving node. The first frame header and the first data frame belong to a second data frame encapsulated by the sending node, when the sending node encapsulates the first data frame corresponding to the first receiving node, the second data frame can be encapsulated, and the second data frame includes: the first frame header and the first payload, the first payload comprising a first data frame corresponding to the first receiving node.
When the first receiving node is any receiving node of the plurality of receiving nodes, the first frame header is used for indicating the position of a first data frame corresponding to each receiving node, and the first load comprises the first data frame corresponding to each receiving node; the transmitting node may broadcast the first frame header to the plurality of receiving nodes before transmitting the corresponding first data frame to the plurality of receiving nodes, respectively. After each receiving node receives the first frame header, the first frame header may be parsed to determine a location of a first data frame corresponding to the receiving node.
In a second alternative implementation, before sending the corresponding first data frame to the first receiving node, the sending node sends a second frame header in the private domain to the first receiving node, where the second frame header is used to indicate the location of the first data frame corresponding to the first receiving node, and the first receiving node. The first receiving node may parse the second frame header after receiving the second frame header to determine a position of the first data frame corresponding to the first receiving node. The private domain and the first data frame corresponding to the first receiving node all belong to a second data frame encapsulated by the sending node, and when the sending node encapsulates the first data frame corresponding to the first receiving node, the second data frame may be encapsulated, where the second data frame includes: the private domain corresponding to the first receiving node includes: the second load comprises a first data frame corresponding to the first receiving node.
When the first receiving node is any receiving node of the plurality of receiving nodes, the second data frame includes: the second load in each private domain comprises a first data frame corresponding to the receiving node corresponding to the private domain; the second frame header in each private domain is used for indicating the position of the first data frame corresponding to the receiving node corresponding to the private domain and the receiving node corresponding to the private domain; the transmitting node may transmit the second frame header in the corresponding private domain to the plurality of receiving nodes, respectively, before transmitting the corresponding first data frame to the plurality of receiving nodes, respectively. Each receiving node may parse the second frame header after receiving the second frame header to determine a position of the first data frame corresponding to the receiving node.
In this case, the transmitting node does not need to transmit the first frame header to the receiving node, but transmits the second frame header in the private domain where the corresponding first data frame is located to the receiving node. Accordingly, a receiving node (such as a first receiving node) receives a second frame header in a private domain corresponding to the receiving node sent by the receiving node, and parses the second frame header to determine a position of a first data frame corresponding to the receiving node.
Alternatively, the transmitting node may broadcast the respective second frame header in the respective private domain to respective receiving nodes, each having the capability to synchronize the respective second frame header. However, the power of the second frame header in the different private domains sent by the sending node is different, so that each receiving node can only receive (synchronize to) the second frame header in the private domain corresponding to the receiving node, and cannot receive other second frame headers except the second frame header. Then, the receiving node can determine the position of the first data frame corresponding to the receiving node according to the received second frame header. Taking the first receiving node as an example, the sending node may also broadcast each second frame header in each private domain, where the first receiving node has the capability to synchronize each second frame header. However, the power of the second frame header in the different private domains sent by the sending node is different, so that the first receiving node can only receive (synchronize to) the second frame header in the private domain corresponding to the first receiving node, and cannot receive other second frame headers except the second frame header. Then, the first receiving node can determine the position of the first data frame corresponding to the first receiving node according to the received second frame header.
In a third alternative implementation manner, before the sending node sends the corresponding first data frame to the first receiving node, the sending node may further send a first notification message to the first receiving node through the first transmission channel, where the first notification message is used to indicate a location of the first data frame corresponding to the first receiving node. The first transmission channel is different from a second transmission channel adopted by the transmitting node to transmit the corresponding first data frame to the first receiving node. The first transmission channel may be an OMCI channel or a PLOAM channel, etc.
When the first receiving node is any receiving node in the plurality of receiving nodes, before sending a corresponding first data frame to each receiving node in the plurality of receiving nodes, the sending node may send a corresponding first notification message to the receiving node through a first transmission channel, where the first notification message is used to indicate a position of the first data frame corresponding to the receiving node; when the transmitting node transmits the corresponding first data frame to the receiving node, the transmitting node can transmit the first data frame through the second transmission channel. Accordingly, each receiving node may receive, through the second transmission channel, the first data frame corresponding to the receiving node sent by the sending node.
In the case that the transmitting node notifies the receiving node of the position of the first data frame through the first notification message, the transmitting node may notify the receiving node of the position of the corresponding first data frame by transmitting the first frame header or the second frame header to the receiving node (e.g., the first receiving node). In this case, the receiving node (e.g., the first receiving node) may determine the location of the first data frame corresponding to the receiving node according to at least one of the first notification message and the first frame header (or the second frame header).
In a fourth alternative implementation manner, the sending node may not notify the receiving node (such as the first receiving node) of the position of the corresponding first data frame, but the staff member configures the position of the first data frame corresponding to the receiving node on the sending node and the receiving node in a static configuration manner.
In addition, the position of the first data frame corresponding to the first receiving node may also be changed, for example, the length of the first data frame is changed so that at least one of the start position and the end position of the first data frame is changed. When the position of the first data frame corresponding to the first receiving node needs to be changed from the first position to the second position, the sending node can also send a second notification message for indicating the second position to the first receiving node through the first transmission channel. The first receiving node may receive the second notification message through the first transmission channel when the position of the first data frame corresponding to the first receiving node needs to be changed from the first position to the second position, and determine the second position according to the second notification message.
When the first receiving node is any receiving node of the plurality of receiving nodes, and the position of the first data frame corresponding to any receiving node of the plurality of receiving nodes needs to be changed from the first position to the second position, the transmitting node can transmit a second notification message for indicating the second position to the receiving node through the first transmission channel. The receiving node may receive the second notification message through the first transmission channel when the position of the corresponding first data frame needs to be changed from the first position to the second position, and determine the second position according to the second notification message.
For a first data frame in which the starting position and the ending position in the plurality of first data frames are unchanged, the sending node may not send a second notification message to a receiving node corresponding to the first data frame through the first transmission channel.
Further, the plurality of receiving nodes are divided into a plurality of node groups, and the message corresponding to the first receiving node is: in the case of a message having a destination node belonging to a node group to which the first receiving node belongs, the plurality of node groups are divided in various ways.
Illustratively, each receiving node is divided into a node group, the plurality of receiving nodes being in one-to-one correspondence with the plurality of node groups, each node group including a corresponding receiving node.
Also, for example, the plurality of node groups are in one-to-one correspondence with a plurality of mutually independent channel quality ranges, and the quality of the channel from the transmitting node to the first receiving node belongs to the channel quality range corresponding to the node group to which the first receiving node belongs. When the first receiving node is any receiving node in a plurality of receiving nodes, the quality of a channel from the transmitting node to each receiving node belongs to the channel quality range corresponding to the node group to which the receiving node belongs. The quality of the channel is related to at least one parameter of transmission parameters such as error rate, packet loss rate, frame error rate, insertion loss, return loss, signal to noise ratio, baud rate, data transmission rate and the like of the channel, and quality parameters for representing the quality of the channel can be obtained according to the at least one parameter.
In the case that the quality of the channel from the transmitting node to the receiving node belongs to the channel quality range corresponding to the node group in which the receiving node is located, the transmitting node may determine the quality of the channel from the transmitting node to the receiving node, and determine the node group to which the receiving node is divided according to the quality. It will be appreciated that the quality is obtained in a wide variety of ways, and the application is not limited in this regard.
Illustratively, taking the first receiving node as an example, the transmitting node may receive the quality of the channel set by the staff member from the transmitting node to the first receiving node.
As another example, taking the first receiving node as an example, the first receiving node may send a report message to the sending node, where the report message is used to indicate the quality of a channel from the sending node to the first receiving node (where the report message may be transmitted through the first transmission channel). The sending node may then determine the quality of the channel from the sending node to the first receiving node based on the reporting message. Alternatively, the report message sent by the first receiving node to the sending node may carry the serial number of the first receiving node. In other words, the report message may be implemented by multiplexing a message in which the first receiving node sends a sequence number to the transmitting node. It will be appreciated that the report message may be sent to the sending node at a time different from the serial number of the first receiving node, which is not limited by the present application. When the first receiving node is any one of the plurality of receiving nodes, each of the plurality of receiving nodes may transmit a report message to the transmitting node indicating the quality of a channel of the transmitting node to the receiving node.
In the case that the quality of the channel from the transmitting node to the first receiving node belongs to the channel quality range corresponding to the node group to which the first receiving node belongs, the physical layer transmission rate of the message corresponding to the first receiving node may be positively correlated with the quality in the channel quality range corresponding to the node group to which the first receiving node belongs. When the first receiving node is any receiving node of the plurality of receiving nodes, the physical layer transmission rate of the message corresponding to each receiving node of the plurality of receiving nodes may be positively correlated with the quality in the channel quality range corresponding to the node group to which the receiving node belongs.
It may be understood that, in the case where the quality of the channel from the transmitting node to the receiving node belongs to the channel quality range corresponding to the node group to which the receiving node belongs, the physical layer transmission rate of the packet corresponding to the receiving node (e.g., the first receiving node) may also be not positively correlated with the quality in the channel quality range corresponding to the node group to which the receiving node belongs, which is not limited by the present application.
The physical layer transmission rate of the message is related to the accuracy of the message received by the receiving node. When the quality of a channel from a sending node to a receiving node is lower, the message corresponding to the receiving node is transmitted on the channel more easily to make mistakes, and at this time, the physical layer transmission rate of the message corresponding to the receiving node is set lower, so that the accuracy of the message transmission received by the receiving node can be improved, and the transmission performance of the message can be improved, for example, the error rate of the message is reduced and/or the sensitivity of the message is improved. When the quality of a channel from a sending node to a receiving node is higher, the message corresponding to the receiving node is transmitted on the channel less prone to error, and at the moment, the physical layer transmission rate of the message corresponding to the receiving node is set higher, so that the transmission rate of the message can be improved on the premise of ensuring the accuracy of the message transmission received by the receiving node. Therefore, under the condition that the quality of a channel from a sending node to a receiving node is higher, the message corresponding to the receiving node can have higher transmission rate, and the waste of network capacity is reduced.
When the physical layer transmission rate of a packet corresponding to a receiving node (e.g., a first receiving node) is positively correlated with the quality in the channel quality range corresponding to the node group to which the receiving node belongs, if the packet corresponding to the receiving node is carried in the first data frame corresponding to the receiving node, the physical layer transmission rate of the first data frame corresponding to the receiving node may also be positively correlated with the quality in the channel quality range corresponding to the node group to which the receiving node belongs.
Optionally, when the physical layer transmission rate of the first data frame corresponding to the receiving node may also be positively correlated with the quality in the channel quality range corresponding to the node group to which the receiving node belongs, the second data frame where the first data frame belongs may further include an overhead portion. Of course, the second data frame may not include an overhead portion, which is not limited by the present application.
For example, when the second data frame includes an overhead portion, the payload of the first data frame includes a first effective portion, where the first effective portion carries a packet corresponding to a receiving node corresponding to the first data frame; at least one first data frame of the plurality of first data frames included in the second data frame further includes a first overhead portion, and a first length ratio of the first overhead portion to the first effective portion in the first data frame corresponding to the receiving node is negatively related to: the quality in the channel quality range corresponding to the node group where the receiving node is located. Generally, the longer the length of the overhead portion in the first data frame, the lower the physical layer transmission rate of the first data frame. Thus, the first length ratio of the first overhead portion to the first active portion in the first data frame corresponding to the receiving node is inversely related to: when the quality of the first data frame corresponding to the receiving node is within the channel quality range corresponding to the node group, the physical layer transmission rate of the first data frame corresponding to the receiving node can be positively correlated with the quality of the first data frame within the channel quality range corresponding to the node group.
On the basis that the first data frame includes a first active portion and at least one first data frame includes a first overhead portion, if the second data frame includes the first frame header, the first frame header may also include: the second length ratio of the second overhead portion to the second effective portion is greater than or equal to the maximum value of the first length ratio. In other words, the first overhead portion and the second effective portion of the plurality of first data frames have a plurality of first length ratios, and then the second length ratio may be greater than or equal to a maximum value of the plurality of first length ratios. In this way, the physical layer transmission rate of the first frame header is less than or equal to the first data frame with the lowest physical layer transmission rate in the first payload, so that each receiving node can effectively receive the first frame header.
On the basis that the first data frame includes a first valid portion and at least one first data frame includes a first overhead portion, if the second data frame includes the plurality of private fields, the second frame header in the private field may include a third valid portion, and the second frame header in the at least one private field may further include a third overhead portion, where the at least one private field is a private field in which the at least one first data frame including the first overhead portion is located. In one private domain, a third length ratio of the third overhead portion to the third active portion is greater than or equal to a first length ratio of the first overhead portion to the first active portion. In this way, the physical layer transmission rate of the second frame header is smaller than or equal to the physical layer transmission rate of the first data frame in the private domain where the second frame header is located, so that the receiving node corresponding to the first data frame can effectively receive the second frame header.
In a third aspect, the present application provides a packet transmission device, where the packet transmission device belongs to a transmitting node in an optical communication system. The optical communication system further includes a plurality of receiving nodes located between the transmitting node and the user node. The message transmission device comprises: the device comprises an acquisition module and a first sending module. The device comprises an acquisition module, a receiving module and a transmission module, wherein the acquisition module is used for acquiring a plurality of messages to be transmitted, destination nodes of at least two messages in the plurality of messages are different, and a set formed by the destination nodes of the plurality of messages comprises the plurality of receiving nodes; and the first sending module is used for sending part of the messages to a first receiving node in the plurality of receiving nodes, and a destination node of at least one message in the part of messages comprises the first receiving node.
Optionally, the plurality of receiving nodes are divided into a plurality of node groups; the partial message is as follows: a message with a destination node belonging to the node group to which the first receiving node belongs.
Optionally, the message transmission device further includes: the encapsulation module is used for encapsulating the first data frame corresponding to the first receiving node; wherein, the load of the first data frame corresponding to the first receiving node carries the partial message; the first sending module is used for sending a first data frame corresponding to the first receiving node.
In a first implementation, the encapsulation module is configured to: encapsulating a second data frame, wherein the second data frame comprises: the first frame header is used for indicating the position of the first data frame corresponding to the first receiving node, and the first load comprises the first data frame corresponding to the first receiving node. The message transmission device further comprises: and the second sending module is used for sending the first frame header to the first receiving node before the first sending module sends the corresponding first data frame to the first receiving node.
In a second implementation, the encapsulation module is configured to: encapsulating a second data frame, wherein the second data frame comprises: the private domain corresponding to the first receiving node includes: the second load comprises a first data frame corresponding to the first receiving node; the second frame header is used for indicating the position of a first data frame corresponding to the first receiving node and the first receiving node; the message transmission device further comprises: and the third sending module is used for sending the second frame header in the private domain to the first receiving node before the first sending module sends the corresponding first data frame to the first receiving node.
In a third implementation manner, the method further includes: a fourth sending module, configured to send, before the first sending module sends a corresponding first data frame to the first receiving node, a first notification message to the first receiving node through a first transmission channel, where the first notification message is used to indicate a position of the first data frame corresponding to the first receiving node; the first sending module is used for: and sending a corresponding first data frame to the first receiving node through a second transmission channel, wherein the second transmission channel is different from the first transmission channel.
The third implementation manner may be combined with the first implementation manner (or the second implementation manner), in which case, the receiving node may determine the location of the first data frame corresponding to the receiving node according to at least one of the first notification message and the first frame header (or the second frame header).
Optionally, the message transmission device further includes: and a fifth sending module, configured to send, when the position of the first data frame corresponding to the first receiving node needs to be changed from a first position to a second position, a second notification message for indicating the second position to the first receiving node through the first transmission channel.
Optionally, the change of the position of the first data frame is related to the change of the number of messages corresponding to at least one receiving node, and the sending node is configured to send the message corresponding to the second receiving node to a second receiving node, where the second receiving node is any receiving node in the plurality of receiving nodes, and a destination node of the at least one message corresponding to the second receiving node includes the second receiving node.
Optionally, the plurality of receiving nodes are divided into a plurality of node groups; the message corresponding to the first receiving node (the partial message received by the first receiving node) is a message with a destination node belonging to a node group to which the first receiving node belongs; the plurality of node groups are in one-to-one correspondence with a plurality of mutually independent channel quality ranges, and the quality of a channel from the transmitting node to the first receiving node belongs to the channel quality range corresponding to the node group to which the first receiving node belongs.
Optionally, the message transmission device further includes: the receiving module is used for receiving a report message sent by the first receiving node, wherein the report message is used for indicating the quality of a channel from the sending node to the first receiving node; and the determining module is used for determining the quality of a channel from the sending node to the first receiving node according to the received reporting message.
Optionally, the report message carries a serial number of the first receiving node.
Optionally, the physical layer transmission rate of the message corresponding to the first receiving node is positively correlated with the quality in the channel quality range corresponding to the node group to which the first receiving node belongs.
Optionally, the packaging module is configured to: encapsulating a plurality of first data frames; the load of the first data frame corresponding to a second receiving node carries a message corresponding to the second receiving node, the second receiving node is any receiving node of the plurality of receiving nodes, a destination node of at least one message corresponding to the second receiving node comprises the second receiving node, and the sending node is used for sending the message corresponding to the second receiving node; the first sending module is used for: transmitting a corresponding first data frame to the first receiving node; the load of the first data frame comprises a first effective part, and the first effective part carries the message corresponding to the receiving node corresponding to the first data frame; at least one first data frame of the plurality of first data frames further includes a first overhead portion, and a first length ratio of the first overhead portion to the first effective portion in the first data frame corresponding to the receiving node is negatively related to: and the quality in the channel quality range corresponding to the node group to which the receiving node belongs.
Optionally, the packaging module is configured to: encapsulating a second data frame, wherein the second data frame comprises: a first frame header and a first load, where the first frame header is used to indicate a position of the first data frame corresponding to the second receiving node, and the first load includes the plurality of first data frames; the message transmission device further comprises: the second sending module is used for sending the first frame header to the first receiving node before the first sending module sends the corresponding first data frame to the first receiving node; the first header includes: a second effective portion and a second overhead portion, a second length ratio of the second overhead portion to the second effective portion being greater than or equal to a maximum value of the first length ratio.
Optionally, the packaging module is configured to: encapsulating a second data frame, wherein the second data frame comprises: the private domains corresponding to the plurality of receiving nodes include: the second load comprises a first data frame corresponding to the second receiving node, and the second frame head is used for indicating the position of the first data frame corresponding to the second receiving node and the second receiving node; the message transmission device further comprises: a third sending module, configured to send the second header in the private domain to the first receiving node before the first sending module sends the corresponding first data frame to the first receiving node; the second header includes a third active portion, the second header in at least one private domain including the at least one first data frame, and a third overhead portion; in one of the private domains, a third length ratio of the third overhead portion to the third active portion is greater than or equal to a first length ratio of the first overhead portion to the first active portion.
Optionally, the message transmission device further includes: and the caching module is used for caching the partial messages in a caching queue corresponding to the first receiving node.
In a fourth aspect, the present application provides a packet transmission device, where the packet transmission device belongs to a first receiving node in an optical communication system, and the optical communication system includes: a transmitting node and a plurality of receiving nodes. The first receiving node belongs to the plurality of receiving nodes; the plurality of receiving nodes are located between the transmitting node and a user node. The message transmission device comprises: the first receiving module and the extracting module. The first receiving module is used for receiving part of messages in the plurality of messages sent by the sending node; wherein destination nodes of at least two messages in the plurality of messages are different, and a set formed by the destination nodes of the plurality of messages comprises the plurality of receiving nodes; the destination node of at least one message in the partial message comprises the first receiving node; and the extraction module is used for extracting the message of which the destination node is the first receiving node from the partial message.
Optionally, the plurality of receiving nodes are divided into a plurality of node groups; the message corresponding to the first receiving node (the partial message received by the first receiving node) is: a message with a destination node belonging to the node group to which the first receiving node belongs.
Optionally, the first receiving module is configured to: receiving a first data frame corresponding to the first receiving node sent by the sending node; and analyzing the first data frame corresponding to the first receiving node to obtain a message corresponding to the first receiving node. The load of the first data frame corresponding to the first receiving node carries a message corresponding to the first receiving node;
In a first alternative implementation manner, the first data frame corresponding to the first receiving node belongs to a second data frame encapsulated by the sending node, where the second data frame includes: the first frame header is used for indicating the position of the first data frame corresponding to the first receiving node, and the first load comprises the first data frame corresponding to the first receiving node; the message transmission device further comprises: the second receiving module is used for receiving the first frame header sent by the sending node; the first parsing module is configured to parse the first frame header to determine a position of the first data frame corresponding to the first receiving node.
In a second alternative implementation manner, the first data frame corresponding to the first receiving node belongs to a second data frame encapsulated by the sending node, where the second data frame includes: the private domain corresponding to the first receiving node includes: a second frame header and a second payload, where the second payload includes the first data frame corresponding to the first receiving node; the second frame header is used for indicating the position of a first data frame corresponding to the first receiving node and the first receiving node; the message transmission device further comprises: the system comprises a third receiving module and a second analyzing module. The third receiving module is configured to receive the second frame header in the private domain corresponding to the first receiving node sent by the sending node, and the second analyzing module is configured to analyze the received second frame header to determine a position of the first data frame corresponding to the first receiving node.
In a third optional implementation manner, the message transmission device further includes: a fourth receiving module and a first determining module. The fourth receiving module is configured to receive, through a first transmission channel, a first notification message sent by the sending node, where the first notification message is used to indicate a location of the first data frame corresponding to the first receiving node; the first determining module is used for determining the position of the first data frame corresponding to the first receiving node according to the first notification message; the first receiving module is configured to receive, through a second transmission channel, a first data frame corresponding to the first receiving node sent by the sending node, where the second transmission channel is different from the first transmission channel.
The third implementation manner may be combined with the first implementation manner (or the second implementation manner), in which case, the first receiving node may determine the location of the first data frame corresponding to the first receiving node according to at least one of the first notification message and the first frame header (or the second frame header).
Optionally, the message transmission device further includes: a fifth receiving module and a second determining module. The fifth receiving module is configured to receive, through the first transmission channel, a second notification message sent by the sending node and used to indicate the second location when the location of the first data frame corresponding to the first receiving node needs to be changed from the first location to the second location; and the second determining module is used for determining the second position according to the second notification message.
Optionally, the plurality of receiving nodes are divided into a plurality of node groups; the message corresponding to the first receiving node is: a message with a destination node belonging to a node group to which the first receiving node belongs; the plurality of node groups are in one-to-one correspondence with a plurality of mutually independent channel quality ranges, and the quality of a channel from the transmitting node to the first receiving node belongs to the channel quality range corresponding to the node group to which the first receiving node belongs.
Optionally, the message transmission device further includes: and the sending module is used for sending a report message to the sending node, wherein the report message is used for indicating the quality of a channel from the sending node to the first receiving node.
Optionally, the report message carries a serial number of the first receiving node.
In a fifth aspect, the present application provides a communication device comprising: a processor and a memory, the memory storing a program, the processor being configured to execute the program stored in the memory, to implement the method according to any one of the first or second aspects.
In a sixth aspect, the present application provides an optical communication system, including a transmitting node and a plurality of receiving nodes, where the receiving nodes are located between the transmitting node and a user node, the transmitting node is configured to perform the method according to any one of the designs of the first aspect, and the plurality of receiving nodes includes a first receiving node, and the first receiving node is configured to perform the method according to any one of the designs of the second aspect.
In a seventh aspect, the present application provides a chip comprising programmable logic circuitry and/or program instructions for implementing the method of any one of the designs of the first or second aspects when the chip is run.
In an eighth aspect, the present application provides a computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the method of any one of the designs of the first or second aspects.
In a ninth aspect, the application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any one of the designs of the first or second aspects.
The effects of the second aspect to the ninth aspect may refer to the effects of the corresponding aspects in the first aspect, and the present application is not described herein.
Drawings
Fig. 1 is a schematic structural diagram of a PON system according to the present application;
fig. 2 is a schematic structural diagram of a data frame according to an embodiment of the present application;
Fig. 3 is a schematic structural diagram of a transmitting node according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a receiving node according to an embodiment of the present application;
Fig. 5 is a flowchart of a message transmission method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a first data frame according to an embodiment of the present application;
Fig. 7 is a schematic diagram of a process of determining, by a transmitting node, a first data frame and a buffer queue corresponding to a receiving node according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a second data frame according to an embodiment of the present application;
fig. 9 is a schematic diagram of another structure of a second data frame according to an embodiment of the present application;
Fig. 10 is a schematic structural diagram of a sending node and a receiving node according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a message transmission device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of another message transmission device according to an embodiment of the present application.
Detailed Description
In order to make the principles and technical solutions of the present application more apparent, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The present application provides an optical communication system, which may be a transmission system employing optical signal communication, such as a PON system or a metropolitan area P2MP system.
The optical communication system comprises a sending node and a plurality of receiving nodes, wherein the sending node and the receiving nodes are connected through optical fibers, and the plurality of receiving nodes are positioned between the sending node and the user node. The receiving node and the user node (user equipment such as mobile phone, computer, etc.) can be directly connected, or can be connected through other nodes, for example, the receiving node and the user node are connected through a switching node. The node in the present application may be a device or a part (such as an interface board) of a device, which is not limited in the present application.
A transmitting node may communicate point-to-multipoint with a plurality of receiving nodes. The present application takes the sending node sending a message to the receiving node as an example, and it is understood that the receiving node may also send a message to the sending node.
For example, taking PON system as an example, as shown in fig. 1, the transmitting node is an OLT, the plurality of receiving nodes are a plurality of ONUs, and the ONUs are also called ONT (optical network terminal). The OLT and the ONUs may be connected by an optical distribution network (optical distribution network, ODN), where the ODN includes a plurality of ODN nodes, two ODN nodes being illustrated in fig. 1.
When the transmitting node performs point-to-multipoint communication with the plurality of receiving nodes, the transmitting node may first acquire a plurality of messages of which the destination node is the plurality of receiving nodes respectively. The transmitting node may then broadcast the plurality of messages to a plurality of receiving nodes. After each receiving node receives the messages broadcast by the sending node, the message of which the destination node is the receiving node is extracted from the messages.
The transmitting node may carry the plurality of messages in a data frame and broadcast the data frame to the respective receiving nodes. The data frame sent by the sending node to the receiving node may be referred to as a downstream data frame. After receiving the data frame, the receiving node can analyze the data frame to obtain the message broadcast by the transmitting node.
For example, the transmitting node may first obtain a plurality of service data unit (SERVICE DATA units, SDU) messages for each of the plurality of receiving nodes. And the load in SDU message carries data, the message header of SDU message carries the label of the destination node. After acquiring the SDU messages, the transmitting node may encapsulate the data frames according to the SDU messages. Illustratively, as shown in fig. 2, the process of the transmitting node encapsulating the data frame according to the SDU packet includes:
(1.1) the transmitting node obtaining a plurality of GEM frames according to each SDU report Wen Fengzhuang gigabit passive optical network encapsulation method (gigabit-capable passive optical network encapsulation method, GEM) frame; the GEM frame may be a 10GEM (XGEM) frame. The GEM frame comprises a GEM frame header and a GEM load, and the GEM load carries an SDU message.
(1.2) The sending node encapsulates an FS frame (also referred to as a frame structure (frame dtructure, FS) frame) from the plurality of GEM frames.
The sending node carries an SDU message according to a GEM load of a GEM frame packaged by the SDU message, and a GEM frame head of the GEM frame comprises an identification of a destination node of the GEM frame (a destination node of the SDU message in the GEM frame). The FS frame includes an FS frame header and an FS payload carrying the plurality of GEM frames.
(1.3) After obtaining the FS frame, the transmitting node may encode the FS frame to obtain a data frame. The data frame includes a data frame header including a downstream physical synchronization block (physical synchronization block downlink, PSBd) (not shown in fig. 2) and a data frame payload including a plurality of codewords. Each codeword comprises a data block in the FS frame and check bits for the data block. Wherein, the code word is related to the coding mode, for example, when adopting a forward error correction code (forward error correction, FEC) coding mode, the code word is an FEC code word; when a probability constellation shaping (probability constellation plastic surgery, PCS) coding mode is adopted, the code word is a PCS code word; when a trellis coded modulation (trellis coded modulation, TCM) coding mode is adopted, the codeword is a TCM codeword. Alternatively, the data frame may comprise 125 microseconds in the time domain.
(1.4) The transmitting node may further modulate a digital signal according to the data frame, convert the digital signal into an analog signal, amplify the analog signal, modulate an optical signal according to the amplified analog signal, and broadcast the optical signal to each receiving node, so as to implement point-to-multipoint downlink communication from the transmitting node to the receiving node. The modulation mode adopted by the transmitting node for modulating the digital signal can be: non return to zero (not return to zero, NRZ) modulation scheme, pulse amplitude modulation (pulse amplitude modulation, PAM) 4 modulation scheme, PAM8, PAM3, etc.
For example, fig. 3 is a schematic structural diagram of a sending node according to an embodiment of the present application, referring to fig. 3, the sending node may include: a medium control unit (MEDIA ACCESS control, MAC) layer, a physical layer, and an optical transmitter. Among the above processes performed by the transmitting node, the processes of encoding, modulating the digital signal, digital-to-analog conversion, signal amplification, and the like may be performed by the physical layer, the modulated optical signal may be performed by the optical transmitter, and processes other than the physical layer process and the modulated optical signal may be performed by the MAC layer.
After receiving the optical signal broadcast by the transmitting node, the receiving node obtains a data frame according to the optical signal, and then extracts the SDU message carried by the data frame and serving as the receiving node. The receiving node can further analyze the SDU message and extract the data carried by the load of the SDU message.
Illustratively, the receiving node may convert the received optical signal into an analog signal, amplify the analog signal, convert the amplified analog signal into a digital signal, and demodulate the digital signal to obtain a data frame; then, the receiving node decodes the data frame to obtain an FS frame, and analyzes the FS frame to obtain a plurality of GEM frames; and finally, the receiving node analyzes the GEM frame of which the destination node is the receiving node to obtain the SDU message of which the destination node is the receiving node.
Fig. 4 is a schematic structural diagram of a receiving node according to an embodiment of the present application, referring to fig. 4, the receiving node may include: the MAC layer, the physical layer and the optical receiver. Among the above processes performed by the receiving node, the conversion of the received optical signal into an analog signal may be performed by the optical receiver, signal amplification, analog-to-digital conversion, decoding, etc. may be performed by the physical layer, and processes other than the physical layer process and the conversion of the optical signal into an analog signal may be performed by the MAC layer.
The foregoing describes by way of example a process for transmitting SDU messages from a transmitting node to a receiving node, it being understood that other variations of the process are possible. For example, the sending node may not encode the FS frame, and may use the FS frame as a data frame payload, and add a data frame header to obtain a data frame, and then the sending node may encode the data frame and then modulate the digital signal. For another example, the transmitting node may also scramble the data frame, etc., before modulating the digital signal. When the processing of the SDU message in the transmitting node changes, the process of extracting the SDU from the optical signal by the receiving node also changes accordingly, which is not described in detail in the embodiments of the present application.
According to the above, the sending node broadcasts the message to the plurality of receiving nodes, so that the receiving node can not only receive the message of which the destination node is the receiving node, but also receive the message of which the destination node is not the receiving node, which results in lower security of SDU message for other receiving nodes.
In addition, because the optical signal received by the receiving node carries the plurality of messages, the signal quantity of the optical signal is larger, so that the power consumption of the receiving node is larger, and the resource waste of the receiving node is caused. For example, the receiving node needs to perform physical layer processing on the optical signal carrying the entire data frame, resulting in greater power consumption of the physical layer of the receiving node.
Furthermore, the quality of the channel from the transmitting node to each receiving node is good or bad, and the transmission distances of the optical signals between the transmitting node and each receiving node are different, so that the signal attenuation degrees of the optical signals transmitted by the transmitting nodes received by each receiving node are different. In order to enable each receiving node to effectively receive the optical signal, the transmitting node needs to set the transmission rate of the optical signal according to the maximum signal attenuation degree of the optical signal between the transmitting node and each receiving node, which results in lower transmission rate of the optical signal and waste of network capacity.
The embodiment of the application provides a message transmission method, which can improve the safety of a message, reduce the power consumption of a receiving node and reduce the waste of network capacity. Fig. 5 is a flowchart of a message transmission method according to an embodiment of the present application, where, as shown in fig. 5, the message transmission method includes:
S101, a sending node obtains a plurality of messages, destination nodes of at least two messages in the plurality of messages are different, and a set formed by the destination nodes of the plurality of messages comprises a plurality of receiving nodes.
The message acquired by the transmitting node in S101 may be the SDU message or other messages described above. The messages may be messages generated by the sending node, or messages sent by other nodes to the sending node, which is not limited in the embodiment of the present application.
The plurality of receiving nodes may be all receiving nodes connected to the transmitting node in the optical communication system, or may be part of receiving nodes connected to the transmitting node.
The plurality of messages may include at least one of a unicast message and a multicast message. The unicast message has one destination node, and the multicast message has at least two destination nodes. When the messages are unicast messages, the messages are in one-to-one correspondence with the receiving nodes, and the destination node of each message is a corresponding receiving node.
S102, a sending node encapsulates a second data frame, wherein the second data frame comprises a plurality of first data frames; one receiving node corresponds to one first data frame, the content carried by the load of the first data frame corresponding to each receiving node in the plurality of receiving nodes is a message corresponding to the receiving node, the message corresponding to each receiving node is not all messages in the plurality of messages, and the destination node of at least one message corresponding to each receiving node comprises the receiving node.
Each first data frame corresponds to at least one receiving node, the receiving nodes corresponding to different first data frames are different, and the number of the receiving nodes corresponding to different first data frames can be the same or different.
The sending node may send a second data frame according to the report Wen Fengzhuang corresponding to each receiving node, where the second data frame includes a plurality of first data frames, and the first data frame corresponding to each receiving node carries a packet corresponding to the receiving node. Illustratively, the first data frame includes a private frame header and a private payload (i.e., a payload of the first data frame), the sending node may encapsulate the packet corresponding to the receiving node in the private payload of the first data frame corresponding to the receiving node, where the private frame header of the first data frame may be used to indicate a location of the private payload.
The sending node may directly encapsulate the packet corresponding to the receiving node in the first data frame corresponding to the receiving node. Or as shown in fig. 6, the sending node may package the multiple messages in different GEM frames, and then package the GEM frame in which the message corresponding to the receiving node is located in the first data frame corresponding to the receiving node.
The number of receiving nodes corresponding to different first data frames may be the same or different, and the amount of messages corresponding to each receiving node may be the same or different, so that the lengths of the different first data frames may be the same or different. But the length of the second data frame is fixed, e.g. the second data frame comprises 125 microseconds, or 31.25 microseconds, etc. in the time domain.
Further, the second data frame may include a first frame header in addition to the plurality of first data frames. The second data frame includes a first frame header and a first payload, the first payload including a plurality of first data frames, the first frame header indicating a location in the second data frame of a first data frame corresponding to each of the plurality of receiving nodes. Illustratively, the first header may include: the starting position of the first data frame corresponding to each receiving node in the second data frame, and the information of the length of the first data frame. As another example, the first frame header may include: and the information of the starting position and the ending position of the first data frame corresponding to each receiving node in the second data frame.
Optionally, the plurality of receiving nodes are divided into a plurality of node groups; the message corresponding to each receiving node is: a message having a destination node belonging to the node group to which the receiving node belongs. The node group may include one receiving node or a plurality of receiving nodes. The number of receiving nodes in different node groups may be the same or different. When a node group to which a receiving node belongs includes a plurality of receiving nodes, a message corresponding to the receiving node may include a message that the destination node does not include the receiving node, or may not include such a message.
The message corresponding to the receiving node is: as an example of the message having the destination node belonging to the node group to which the receiving node belongs, it is to be understood that the message corresponding to the receiving node may have other realizations, for example, the message corresponding to the receiving node includes, in addition to the message having the destination node belonging to the node group to which the receiving node belongs, the message having the destination node belonging to the other node groups of the plurality of node groups except the node group. For another example, the message corresponding to the receiving node includes: a portion of the messages having destination nodes belonging to the node group to which the receiving node belongs, but not including another portion of the messages having destination nodes belonging to the node group to which the receiving node belongs.
S103, the sending node sends the first frame header in the second data frame to the plurality of receiving nodes.
Accordingly, each receiving node receives the first frame header sent by the receiving node in S103, and parses the first frame header to determine the position of the first data frame corresponding to the receiving node.
Only one receiving node is shown in fig. 5, which is any one of a plurality of receiving nodes, and an operation performed by each of the plurality of receiving nodes may refer to an operation performed by the receiving node.
The sending node may perform S103 after encapsulating the second data frame, or may perform S103 after encapsulating the first frame header in the process of encapsulating the second data frame, which is not limited in the embodiment of the present application.
The first frame header is broadcasted by the sending node to each receiving node, and after each receiving node receives the first frame header, the position of the first data frame corresponding to the receiving node can be determined according to the first frame header, so that the first data frame corresponding to the receiving node can be received according to the position in the following S104. Each receiving node has the capacity of synchronizing the first frame header, and after the transmitting node broadcasts the first frame header, each receiving node can synchronize to the first frame header, so that the position of the first data frame corresponding to the receiving node is determined according to the first frame header.
S104, the transmitting node transmits the first data frame corresponding to the receiving node in the second data frame to each receiving node in the plurality of receiving nodes.
Accordingly, each receiving node receives the first data frame corresponding to the receiving node in the second data frames sent by the receiving node in S104.
The sending node may perform S104 after encapsulating the second data frame, or may send the first data frame to the receiving node corresponding to the first data frame after encapsulating each first data frame in the process of encapsulating the second data frame.
The second data frame comprises a plurality of first data frames, and the transmitting node only transmits one first data frame corresponding to the receiving node and does not transmit other first data frames except the first data frame to the receiving node. And the content of the load of the first data frame corresponding to the receiving node is a message corresponding to the receiving node, and the message corresponding to the receiving node is a part of messages in a plurality of messages, but not all messages. Therefore, the first data frame received by each receiving node carries part of the messages in the plurality of messages, so that other messages except the part of the messages in the plurality of messages can be prevented from being leaked on the receiving node.
The plurality of first data frames in the second data frame may be referred to as a plurality of slices, different slices being for transmission to different receiving nodes.
S105, the receiving node analyzes the received first data frame to obtain a message corresponding to the receiving node.
The receiving node analyzes the corresponding first data frame to obtain a message corresponding to the receiving node carried by the first data frame.
S106, the receiving node extracts the message of the destination node including the receiving node from the corresponding message.
The destination node of at least one message corresponding to the receiving node comprises the receiving node, and the receiving node can extract the at least one message according to the destination node of the message after obtaining the corresponding message. Further, the receiving node may further parse the at least one message to obtain data carried by the at least one message.
In summary, in the message transmission method provided in the embodiment of the present application, since the sending node sends some, but not all, of the acquired multiple messages to the receiving node, each receiving node receives some of the multiple messages, but not others of the multiple messages except for the some messages, so that leakage of the other messages to the receiving node is avoided. Thus, the security of the other message is improved. In addition, each receiving node does not need to receive all messages in the plurality of messages, so that the power consumption of the receiving node is reduced.
For example, assume that the plurality of receiving nodes are receiving nodes 1 to 8, respectively, the plurality of messages include messages 1 to 8, and the destination node of the message i is receiving node i (i is 1 is less than or equal to 8). As shown in table 1 below, the receiving nodes 1, 2, 3 belong to the node group 1, the receiving nodes 1, 2, 3 all correspond to the first data frame 1, and the first data frame 1 carries the messages 1, 2, 3 corresponding to the receiving nodes 1, 2, 3; the receiving nodes 4, 5 and 6 belong to the node group 2, the receiving nodes 4, 5 and 6 correspond to the first data frame 2, and the first data frame 2 carries messages 4, 5 and 6 corresponding to the receiving nodes 4, 5 and 6; the receiving nodes 7 and 8 belong to the node group 3, the receiving nodes 7 and 8 both correspond to the first data frame 3, and the first data frame 3 carries messages 7 and 8 corresponding to the receiving nodes 7 and 8. As shown in fig. 8, the second data frame includes: a first frame header and a first payload comprising a first data frame 1, 2, 3. The transmitting node may transmit the first data frame 1 to the receiving nodes 1, 2, 3, but will not transmit the first data frames 2 and 3; the transmitting node may transmit the first data frame 2 to the receiving nodes 4, 5, 6, but not the first data frames 1 and 3; the transmitting node may transmit the first data frame 3 to the receiving nodes 7, 8 but not the first data frames 1 and 2. In this way, the leakage of the messages 1, 2, 3 carried by the first data frame 1 to the receiving nodes 4, 5, 6, 7, 8 is avoided, the leakage of the messages 4, 5, 6 carried by the first data frame 2 to the receiving nodes 1, 2, 3, 7, 8 is avoided, and the leakage of the messages 7, 8 carried by the first data frame 3 to the receiving nodes 1, 2, 3, 4, 5, 6 is avoided.
TABLE 1
In the above embodiment, the second data frame includes the first frame header and the first payload as an example, it is understood that other implementations of the second data frame are also possible. For example, the second data frame includes: and a plurality of private domains corresponding to the plurality of receiving nodes, wherein for one private domain, the private domain comprises: the second frame header and the second load comprise a first data frame corresponding to a receiving node corresponding to the private domain; the second frame header is used for indicating the position of the first data frame corresponding to the private domain and the receiving node corresponding to the private domain.
In this case, the transmitting node does not need to transmit the first frame header to the receiving node in S103 described above, but transmits the second frame header in the corresponding private domain to the receiving node. Accordingly, the receiving node receives the second frame header in the private domain corresponding to the receiving node sent by the sending node. The receiving node may parse the second frame header in the private domain corresponding to the receiving node to determine a location of the first data frame corresponding to the receiving node.
Alternatively, the transmitting node may broadcast respective second frame headers in respective private domains to respective receiving nodes, each having the ability to synchronize the respective second frame headers. However, the power of the second frame header in the different private domains sent by the sending node is different, so that each receiving node can only receive (synchronize to) the second frame header in the private domain corresponding to the receiving node, and cannot receive other second frame headers except the second frame header. Then, the receiving node can determine the position of the first data frame corresponding to the receiving node according to the received second frame header.
In the above embodiment, the transmitting node notifies the receiving node of the position of the first data frame corresponding to the receiving node by transmitting the first frame header or the second frame header to the receiving node. Optionally, the sending node may also notify the receiving node of the location of the first data frame corresponding to the receiving node in other manners. In the case where the transmitting node does not notify the receiving node of the position of the first data frame corresponding to the receiving node by transmitting the first frame header or the second frame header to the receiving node, the transmitting node may not need to encapsulate the second data frame.
For example, before the sending node sends the corresponding first data frame to the receiving node, the sending node may further send a first notification message to the receiving node through the first transmission channel, where the first notification message is used to indicate a location of the first data frame corresponding to the receiving node. The first transmission channel is different from a second transmission channel adopted by the transmitting node to transmit the corresponding first data frame to the receiving node. The first transmission channel may be an OMCI channel or a PLOAM channel, etc.
In the case where the transmitting node notifies the receiving node of the position of the first data frame by the first notification message, the transmitting node may notify the receiving node of the position of the first data frame corresponding to the receiving node by transmitting the first frame header or the second frame header to the receiving node. In this case, the receiving node may determine the location of the first data frame corresponding to the receiving node according to at least one of the first notification message and the first frame header (or the second frame header).
Alternatively, the sending node may not notify the receiving node of the position of the corresponding first data frame, but the staff may configure the positions of the first data frames corresponding to the receiving node on the sending node and the receiving node in a static configuration manner.
In addition, the position of the first data frame corresponding to the receiving node may also be changed, for example, the length of the first data frame is changed so that at least one of the start position and the end position of the first data frame is changed. When the position of any first data frame needs to be changed from the first position to the second position, the sending node can also send a second notification message for indicating the second position to the receiving node corresponding to the first data frame through the first transmission channel. For the first data frame with unchanged starting position and ending position, the sending node may not send the second notification message to the receiving node corresponding to the first data frame through the first transmission channel.
The sending node may directly change the position of a first data frame from the first position to the second position when determining that the position of the first data frame needs to be changed from the first position to the second position; and then, the sending node sends a second notification message for indicating the second position to the receiving node corresponding to the first data frame through the first transmission channel.
Or the sending node may not change the first position to the second position when determining that the position of a first data frame needs to be changed from the first position to the second position, but send a second notification message for indicating the second position to the receiving node corresponding to the first data frame through the first transmission channel; the receiving node can send a notification response to the sending node through the first transmission channel after preparing to receive the first data frame of the second position according to the second notification message; then, the transmitting node may change the position of the first data frame from the first position to the second position after receiving the notification response.
The position of the first data frame varies in various ways, for example, in the embodiment of the present application, the position of the first data frame varies in relation to the number of messages corresponding to the at least one receiving node. For example, when the number of packets corresponding to a certain receiving node increases more, the length of the first data frame corresponding to the receiving node may increase, in which case the position of the first data frame changes, and when there are other first data frames after the first data frame, the positions of the other first data frames also change.
For example, the sending node may cache the acquired multiple messages in multiple cache queues, where one receiving node corresponds to one cache queue, and the cache queue is used to cache the message corresponding to the corresponding receiving node. Before S102, a packet corresponding to the receiving node may be fetched from a buffer queue corresponding to the receiving node. The sending node may periodically detect empty conditions for each cache queue (ideally, the cache queue should be approximately 50% empty and 50% full). If the number of messages in a certain buffer queue is too small (less than the first number threshold), it indicates that the number of messages corresponding to the receiving node corresponding to the buffer queue is too small, and at this time, the sending node may shorten the length of the first data frame corresponding to the receiving node. Similarly, if the number of messages in a certain buffer queue is too large (greater than the second number threshold, where the second number threshold is greater than the first number threshold), it indicates that the number of messages corresponding to the receiving node corresponding to the buffer queue is too large, and at this time, the sending node may increase the length of the first data frame corresponding to the receiving node. The total length of the second data frames is fixed, and the sending node can properly adjust the length of each first data frame according to the empty and full conditions of each buffer queue, so that the length of the first data frame corresponding to the receiving node is positively correlated with the empty and full degree of the buffer queue corresponding to the receiving node.
It may be understood that the sending node may not count the number of the messages in the buffer queue, but rather count the data amount of the messages in the buffer queue, and determine the length of each first data frame according to the data amount.
Further, in the case where the plurality of receiving nodes are divided into a plurality of node groups and the message corresponding to the receiving node is a message having a destination node belonging to the node group to which the receiving node belongs, the plurality of node groups are divided in various manners.
Illustratively, the plurality of receiving nodes are in one-to-one correspondence with a plurality of node groups, each node group including a corresponding receiving node.
Also, for example, the plurality of node groups are in one-to-one correspondence with a plurality of mutually independent channel quality ranges, and the quality of the channel from the transmitting node to the first receiving node belongs to the channel quality range corresponding to the node group to which the first receiving node belongs. When the first receiving node is any receiving node in a plurality of receiving nodes, the quality of a channel from the transmitting node to each receiving node belongs to the channel quality range corresponding to the node group to which the receiving node belongs. The quality of the channel is related to at least one parameter of transmission parameters such as error rate, packet loss rate, frame error rate, insertion loss, return loss, signal to noise ratio, baud rate, data transmission rate and the like of the channel, and quality parameters for representing the quality of the channel can be obtained according to the at least one parameter.
For example, assume that the multiple channel quality ranges include: [ quality 1, quality 2), [ quality 2, quality 5), [ quality 5, quality 6], the plurality of receiving nodes including receiving nodes 1 to 8, the quality of the channels from the transmitting node to these receiving nodes being shown in table 2, respectively, then the quality of the channels from the transmitting node to the receiving nodes 1, 2, 3 all belong to [ quality 1, quality 2), the receiving nodes 1, 2, 3 belong to node group 1, node group 1 corresponds to [ quality 1, quality 2), and the receiving nodes 1, 2, 3 all correspond to the first data frame 1; the quality of the channels from the transmitting node to the receiving nodes 4, 5, 6 all belong to [ quality 2, quality 5 ], the receiving nodes 4, 5, 6 belong to the node group 2, the node group 2 corresponds to [ quality 2, quality 5), and the receiving nodes 4, 5, 6 all correspond to the first data frame 2; the quality of the channel from the transmitting node to the receiving nodes 7, 8 both belong to the [ quality 5, quality 6], the receiving nodes 7, 8 belong to the node group 3, the node group 3 corresponds to the [ quality 5, quality 6], and the receiving nodes 7, 8 both correspond to the first data frame 3.
TABLE 2
The transmitting node may determine the quality of a channel from the transmitting node to the receiving node, and determine, according to the quality, a node group to which the receiving node belongs, and a first data frame corresponding to the receiving node. It will be appreciated that the quality may be obtained in a wide variety of ways, and embodiments of the present application are not limited in this regard.
For example, the transmitting node may receive the quality of the channel set by the worker from the transmitting node to each receiving node.
As another example, each receiving node may send a report message to the transmitting node, where the report message is used to indicate the quality of the channel from the transmitting node to the receiving node (the report message may be transmitted through the first transmission channel described above). Accordingly, the sending node may periodically open a silence window to receive the report message sent by the receiving node. The sending node may then determine the quality of the channel from the sending node to each receiving node based on the reported messages sent by that receiving node. Alternatively, the report message sent by the receiving node to the sending node may carry the sequence number of the receiving node. In other words, the report message sent by the receiving node may be implemented by multiplexing the message that the receiving node sends the sequence number to the sending node. It may be understood that the report message sent by the receiving node may be sent to the sending node at a time different from the serial number of the receiving node, which is not limited in the embodiment of the present application.
Alternatively, the receiving node may determine the quality of the channel from the transmitting node to the receiving node before sending the report message to the transmitting node, and send the report message to the transmitting node according to the quality. Illustratively, the receiving node may obtain the quality set by the staff member. As another example, the transmitting node may periodically transmit a second data frame, and when the second data frame includes the first frame header, the receiving node may estimate a channel from the transmitting node to the receiving node according to the receiving condition of the first frame header after the receiving node is online (establishes a communication connection with the transmitting node), and determine the quality of the channel.
Alternatively, the receiving node may not determine the quality of the channel from the transmitting node to the receiving node before sending the report message to the transmitting node. For example, the sending node may send the second data frame periodically, where the second data frame includes multiple private domains, the sending node may broadcast the second frame header in each private domain, and after the receiving node is online, only the second frame header in one private domain may be received, where the report message may include an identifier of the second frame header received by the receiving node. And then, the sending node can determine the corresponding relation between the receiving node and the first data frame in the private domain according to the identifier in the report message.
Illustratively, as shown in fig. 7, the transmitting node may periodically transmit a second data frame. It will be appreciated that when none of the plurality of receiving nodes is on-line, the second data frame includes a frame header (e.g., a first frame header and a second frame header), and that portions of the second data frame other than the frame header may be empty. After any receiving node is started to be online, the receiving node can send a report message to a sending node; for example, the receiving node may send a report message to the sending node according to the received first frame header or the received second frame header sent by the sending node. And then, the sending node determines the quality of the channel from the sending node to the receiving node according to the report message sent by the receiving node. Then, the sending node may further determine a first data frame corresponding to the receiving node according to the quality, and configure a buffer queue corresponding to the receiving node, so that the packet corresponding to the receiving node can be buffered in the buffer queue corresponding to the receiving node, and the packet corresponding to the receiving node can be carried in the first data frame corresponding to the receiving node.
In the case that the quality of the channel from the transmitting node to the receiving node belongs to the channel quality range corresponding to the node group to which the receiving node belongs, the physical layer transmission rate of the message corresponding to the receiving node may be positively correlated with the quality in the channel quality range corresponding to the node group to which the receiving node belongs. It may be understood that, in the case where the quality of the channel from the transmitting node to the receiving node belongs to the channel quality range corresponding to the node group to which the receiving node belongs, the physical layer transmission rate of the message corresponding to the receiving node may also be not positively correlated with the quality in the channel quality range corresponding to the node group to which the receiving node belongs, which is not limited by the present application.
The physical layer transmission rate of the message is related to the accuracy of the message received by the receiving node. When the quality of a channel from a sending node to a receiving node is lower, the message corresponding to the receiving node is transmitted on the channel more easily to make mistakes, and at this time, the physical layer transmission rate of the message corresponding to the receiving node is set lower, so that the accuracy of the message transmission received by the receiving node can be improved, and the transmission performance of the message can be improved, for example, the error rate of the message is reduced and/or the sensitivity of the message is improved. When the quality of a channel from a sending node to a receiving node is higher, the message corresponding to the receiving node is transmitted on the channel less prone to error, and at this time, the physical layer transmission rate of the message corresponding to the receiving node is set higher, so that the transmission rate of the message can be improved on the premise of ensuring the accuracy of the message transmission received by the receiving node. Therefore, under the condition that the quality of a channel from a sending node to a receiving node is higher, the message corresponding to the receiving node can have higher transmission rate, and the waste of network capacity is reduced.
When the physical layer transmission rate of the message corresponding to the receiving node is positively correlated with the quality in the channel quality range corresponding to the node group to which the receiving node belongs, if the message corresponding to the receiving node is carried in the first data frame corresponding to the receiving node, the physical layer transmission rate of the first data frame may also be positively correlated with the quality in the channel quality range corresponding to the node group to which the receiving node belongs.
It will be appreciated that in the process of transmitting from a transmitting node to a receiving node, a first data frame is first processed by a physical layer at the transmitting node into an optical signal, and then the optical signal is transmitted to the receiving node, and then the physical layer processing is performed at the receiving node to recover the first data frame. This process may be referred to as transmission of a first data frame at the physical layer between the sending node and the receiving node, and the transmission rate of the first data frame in this process may be referred to as the physical layer transmission rate of the first data frame. The physical layer processing in the transmitting node may include: at least one of encoding, scrambling, modulating a digital signal, digital-to-analog conversion, signal amplification, etc., physical layer processing in the receiving node may include: at least one of signal amplification, analog-to-digital conversion, descrambling, decoding, and the like.
The physical layer transmission rate of the first data frame is related to the accuracy of the first data frame received by the receiving node. When the quality of a channel from a transmitting node to a receiving node is lower, the transmission of the first data frame corresponding to the receiving node on the channel is more prone to error, and at this time, the physical layer transmission rate of the first data frame corresponding to the receiving node is set lower, so that the accuracy of the transmission of the first data frame received by the receiving node can be improved, the transmission performance of the first data frame can be improved, for example, the error rate of the first data frame is reduced and/or the sensitivity of the first data frame is improved. When the quality of a channel from a transmitting node to a receiving node is higher, the transmission of the first data frame corresponding to the receiving node on the channel is less prone to error, and at this time, the physical layer transmission rate of the first data frame corresponding to the receiving node is set higher, so that the transmission rate of the first data frame can be improved on the premise of ensuring the accuracy of the transmission of the first data frame received by the receiving node. Therefore, under the condition that the quality of a channel from a sending node to a receiving node is high, the first data frame corresponding to the receiving node can have a high transmission rate, and the waste of network capacity is reduced.
Optionally, when the physical layer transmission rate of the first data frame corresponding to the receiving node is positively correlated with the quality in the channel quality range corresponding to the node group to which the receiving node belongs, the second data frame where the first data frame belongs may further include an overhead portion. Of course, the second data frame may also not include an overhead portion, which is not limited by the embodiment of the present application.
For example, when the second data frame includes an overhead portion, the payload of the first data frame includes a first effective portion, where the first effective portion carries a packet corresponding to a receiving node corresponding to the first data frame; at least one first data frame of the plurality of first data frames further includes a first overhead portion, and a first length ratio of the first overhead portion to the first active portion in the first data frame is negatively related to: the quality in the channel quality range corresponding to the node group where the receiving node is located. If a certain first data frame includes a first effective part and does not include a first overhead part, a first length ratio of the first overhead part to the first effective part in the first data frame is 0. The at least one first data frame including the first overhead portion may be part or all of the plurality of first data frames, which is not limited by the embodiment of the present application.
The first data frame is transmitted at the physical layer and the sending node fills the content in the overhead portion. For example, assume that the physical layer processing performed in the transmitting node of the first data frame includes encoding, the length of a certain first data frame is the length required to carry 360 bits of data, and the ratio of the length of the first overhead portion to the length of the first effective portion in the first data frame is 20%, so that the length of the first overhead portion in the first data frame is the length required to carry 60 bits of data, and the length of the first effective portion is the length required to carry 300 bits of data. In this case, when the transmitting node performs encoding in the physical layer processing, the first overhead portion may be filled with check bits of the FEC encoding by adopting a variable-length FEC encoding scheme.
Generally, the longer the length of the overhead portion in the first data frame, the lower the physical layer transmission rate of the first data frame. Thus, the first length ratio of the first overhead portion to the first active portion in the first data frame corresponding to the receiving node is inversely related to: when the quality of the first data frame corresponding to the receiving node is within the channel quality range corresponding to the node group, the physical layer transmission rate of the first data frame corresponding to the receiving node can be positively correlated with the quality of the first data frame within the channel quality range corresponding to the node group. In other words, if the quality in the channel quality range corresponding to the receiving node is higher, the ratio of the first length of the first overhead portion to the first effective portion in the first data frame corresponding to the receiving node is smaller, and the physical layer transmission rate of the first data frame is higher. Conversely, if the quality in the channel quality range corresponding to the receiving node is lower, the ratio of the first length of the first overhead portion to the first effective portion in the first data frame corresponding to the receiving node is greater, and the physical layer transmission rate of the first data frame is lower.
For example, assume that the lengths of the first data frame 1 and the first data frame 2 are each the length required to carry 600 bits of data, the first data frame 1 does not include the first overhead portion, the first data frame 2 includes the first overhead portion, and the ratio of the length of the first overhead portion to the length of the first effective portion in the first data frame 2 is 100% (the lengths of the first overhead portion and the first effective portion in the first data frame 2 are each the length required to carry 300 bits of data). In this case, when the transmitting node modulates the digital signal in the physical layer processing, the first data frame 1 may be modulated by the PAM4 modulation scheme, and the first data frame 2 may be modulated by the NRZ modulation scheme. Since the modulation efficiency (2 bits/hz) of the PAM4 modulation scheme is twice that (1 bit/hz) of the NRZ modulation scheme, the physical layer transmission rate of the first data frame 1 is twice that of the first data frame 2. This is inversely related to the duty cycle of the first overhead portion in the first data frames 1 and 2.
On the basis that the first data frame includes a first active portion and at least one first data frame includes a first overhead portion, if the second data frame includes the first frame header, the first frame header may also include: the second length ratio of the second overhead portion to the second effective portion is greater than or equal to the maximum value of the first length ratio. In other words, the first overhead portion and the second effective portion of the plurality of first data frames have a plurality of first length ratios, and then the second length ratio may be greater than or equal to a maximum value of the plurality of first length ratios. In this way, the physical layer transmission rate of the first frame header is less than or equal to the first data frame with the lowest physical layer transmission rate in the first payload, so that each receiving node can effectively receive the first frame header.
For example, please continue with fig. 8, assume that the second data frame includes a first frame header and a first payload, the first payload includes three first data frames (first data frames 1, 2, 3), and assume that the lengths of the three first data frames are the same. The channel quality in the channel quality range corresponding to the node group where the receiving node corresponding to the first data frame 1 is located is highest, the channel quality in the channel quality range corresponding to the node group where the receiving node corresponding to the first data frame 2 is located is inferior, and the channel quality in the channel quality range corresponding to the node group where the receiving node corresponding to the first data frame 3 is located is lowest. Then, the first data frame 1 may include a first active portion and not include a first overhead portion; the first data frames 2 and 3 each include a first effective portion and a first overhead portion, and the first overhead portion in the first data frame 3 has a larger duty cycle than the first overhead portion in the first data frame 2. The first frame header comprises a second active portion and a second overhead portion, and the duty cycle of the second overhead portion in the first frame header is equal to the duty cycle of the first overhead portion in the first data frame 3. The physical layer transmission rate of the first data frames 1, 2, 3 is sequentially reduced, and the physical layer transmission rate of the first frame header is the same as the physical layer transmission rate of the first data frame 3.
On the basis that the first data frame includes a first valid portion and at least one first data frame includes a first overhead portion, if the second data frame includes the plurality of private fields, the second frame header in the private field may include a third valid portion, and the second frame header in the at least one private field may further include a third overhead portion, where the at least one private field is a private field in which the at least one first data frame including the first overhead portion is located. In one private domain, a third length ratio of the third overhead portion to the third active portion is greater than or equal to a first length ratio of the first overhead portion to the first active portion. In this way, the physical layer transmission rate of the second frame header is smaller than or equal to the physical layer transmission rate of the first data frame in the private domain where the second frame header is located, so that the receiving node corresponding to the first data frame can effectively receive the second frame header.
Illustratively, as shown in fig. 9, it is assumed that the second data frame includes private fields 1,2,3, the second payload of private field 1 includes first data frame 1, the second payload of private field 2 includes first data frame 2, the second payload of private field 3 includes first data frame 3, and the lengths of the three first data frames are assumed to be the same. The channel quality in the channel quality range corresponding to the node group where the receiving node corresponding to the first data frame 1 is located is highest, the channel quality in the channel quality range corresponding to the node group where the receiving node corresponding to the first data frame 2 is located is inferior, and the channel quality in the channel quality range corresponding to the node group where the receiving node corresponding to the first data frame 3 is located is lowest. Then the second header in private domain 1 may include the third active portion and not the third overhead portion, and the first data frame 1 in the second payload in private domain 1 may include the first active portion and not the first overhead portion. The second frame header in private fields 2 and 3 may each include a third active portion and a third overhead portion, and the first data frame in the second payload in private fields 2 and 3 may each include a first active portion and a first overhead portion. And the duty cycle of the first overhead part in the private domain 3 is larger than the duty cycle of the first overhead part in the private domain 2, the duty cycle of the third overhead part in the private domain 3 is equal to the duty cycle of the first overhead part in the private domain 3, and the duty cycle of the third overhead part in the private domain 2 is equal to the duty cycle of the first overhead part in the private domain 2. The physical layer transmission rate of the first data frames 1,2,3 is reduced in sequence, and the physical layer transmission rate of the second frame header in each private domain is the same as the physical layer transmission rate of the first data frame.
Further, in the embodiments of the present application, the implementation manners of the transmitting node and the receiving node are various, and one implementation manner will be explained below as an example.
Illustratively, as shown in fig. 10, the transmitting node includes: a determining unit, a first counter, a second counter, an allocator (e.g. a dynamic bandwidth allocation (dynamic bandwidth assignment, DBA) allocator), a selector (also called a cache), a plurality of cache queues (n > 1 in fig. 10 for example, n cache queues), an overhead unit, a first physical layer unit and an electro-optical conversion unit.
The determining unit is used for determining a first data frame and a buffer queue corresponding to the receiving node according to the report message sent by the receiving node, and controlling the buffer queue to buffer the message corresponding to the receiving node. The determining unit may also determine a first length ratio of the first overhead portion and the first active portion in the first data frame.
The sending node may periodically detect empty-full conditions of the respective cache queues. When the sending node detects the empty and full conditions of each buffer queue each time, the first counter is used for counting the data quantity (the unit can be bits) of the message in each buffer queue; the second counter is used for determining the amount of overhead data corresponding to each buffer queue according to the amount of data of the messages in the buffer queue corresponding to the first data frame counted by the first counter and the first length ratio of the first overhead part and the first effective part in the first data frame determined by the determining unit, wherein the ratio of the amount of overhead data corresponding to each buffer queue to the amount of data of the messages in the buffer queue is: the buffer queue corresponds to a first length ratio of a first overhead portion to a first effective portion in a first data frame.
The allocator is configured to determine a structure of the second data frame based on the data amounts counted by the first counter and the second counter. For example, the allocator may determine the length of each first data frame in the second data frame, the length of the first active portion and the first overhead portion in each first data frame, the length of the first frame header (or the second frame header), the length of the second active portion and the second overhead portion in the first frame header (or the length of the third active portion and the third overhead portion in the second frame header).
The overhead unit is used for providing overhead, the selector is used for selecting a message (for the first effective part) from a plurality of buffer queues according to the structure of the second data frame determined by the distributor, and selecting overhead (for the overhead part) from the overhead unit so as to encapsulate the second data frame.
The first physical layer unit is used for performing physical layer processing on the second data frame encapsulated by the selector to obtain an analog signal, the electro-optical conversion unit is used for modulating an optical signal according to the analog signal, and sending a part (carrying a first frame header (or a second frame header in a private domain corresponding to the receiving node) of the optical signal, which needs to be transmitted to the receiving node, and the first data frame corresponding to the receiving node, to the receiving node.
With continued reference to fig. 10, the receiving node may include: the device comprises a photoelectric conversion unit, a second physical layer unit, a buffer queue and a reporting unit. The photoelectric conversion unit is configured to receive an optical signal (carrying a first frame header (or a second frame header in a private domain corresponding to the receiving node) sent by the sending node, and a first data frame corresponding to the receiving node), and convert the optical signal into an analog signal. The second physical layer unit is used for processing the analog signal carrying the first data frame corresponding to the receiving node to obtain the first data frame, and caching the message of the destination node including the receiving node in the first data frame to a cache queue in the receiving node.
The second physical layer unit is further configured to process the analog signal carrying the first frame header to obtain the first frame header, and send a report message to the sending node according to the first frame header. Or the second physical layer unit is further configured to process an analog signal carrying a second frame header in the private domain corresponding to the receiving node to obtain the second frame header, and send a report message to the sending node according to the second frame header.
In the embodiment of the present application, the message sent by the sending node to each receiving node is not all the messages in the plurality of messages, and it can be understood that the message sent by the sending node to at least one receiving node may not be all the messages in the plurality of messages.
For example, the at least one receiving node includes a first receiving node, and the message sent by the sending node to the first receiving node is a part of the messages in the plurality of messages, and the transmission manner of the messages between the first receiving node and the sending node may refer to the above embodiment.
If there are other receiving nodes except the at least one receiving node in the plurality of receiving nodes, the message sent by the sending node to the other receiving nodes may be a part of or all of the plurality of messages, and the manner in which the sending node sends the message to the other receiving nodes may be different from the manner in the above embodiment, which is not limited by the embodiment of the present application.
When the transmission manner of the message between the first receiving node and the sending node can refer to the above embodiment, since the sending node sends part of the acquired multiple messages to the first receiving node, the sending node will not send other messages except the multiple messages in the multiple messages to the first receiving node, so that leakage of the other messages to the first receiving node is avoided. Thus, the security of the other message is improved. In addition, the first receiving node only needs to receive part of the message, and does not need to receive other messages, so that the power consumption of the first receiving node is reduced.
When the message sent by the sending node to each receiving node is not all the messages in the plurality of messages, the transmission mode of the message between the sending node and each receiving node can refer to the above embodiment. Taking any one of the plurality of receiving nodes as the second receiving node as an example: the sending node is used for sending a message corresponding to the second receiving node, and the destination node of at least one message corresponding to the second receiving node comprises the second receiving node; when the plurality of receiving nodes are divided into a plurality of node groups, the message corresponding to the second receiving node is a message with a destination node belonging to the node group to which the second receiving node belongs; the plurality of node groups are in one-to-one correspondence with a plurality of mutually independent channel quality ranges, and the quality of a channel from a transmitting node to a second receiving node belongs to the channel quality range corresponding to the node group to which the second receiving node belongs; the second receiving node may also send the report message to the sending node, and the sending node may determine the quality of the channel from the sending node to the second receiving node according to the report message; the physical layer transmission rate of the message corresponding to the second receiving node is positively correlated with the quality in the channel quality range corresponding to the node group to which the second receiving node belongs; when the sending node sends a corresponding message to the second receiving node, the sending node can send a corresponding first data frame to the second receiving node; the sending node may also send a second frame header in the corresponding private domain to a second receiving node; the sending node may also buffer the message corresponding to the second receiving node in a buffer queue corresponding to the second receiving node.
The application also provides a message transmission device belonging to the sending node in the optical communication system provided by the application, fig. 11 is a schematic structural diagram of the message transmission device, as shown in fig. 11, the message transmission device includes: an acquisition module 1001 and a first transmission module 1002.
The obtaining module 1001 is configured to obtain a plurality of messages to be transmitted, destination nodes of at least two messages in the plurality of messages are different, and a set formed by destination nodes of the plurality of messages includes the plurality of receiving nodes.
A first sending module 1002, configured to send a portion of the multiple messages to a first receiving node of the multiple receiving nodes, where a destination node of at least one message in the portion of the messages includes the first receiving node.
Optionally, the plurality of receiving nodes are divided into a plurality of node groups; the message corresponding to the first receiving node is: a message with a destination node belonging to the node group to which the first receiving node belongs.
Optionally, the message transmission device further includes: an encapsulation module (not shown in fig. 11) for encapsulating the first data frame corresponding to the first receiving node (the description of the first data frame may refer to the foregoing embodiment); the first sending module 1002 is configured to send a first data frame corresponding to the first receiving node.
Further, the first receiving node needs to determine the position of the first data frame corresponding to the first receiving node before receiving the corresponding first data frame. The first receiving node may determine the location of the corresponding first data frame in a number of ways. In a first implementation manner of determining the position of the corresponding first data frame by the first receiving node, the encapsulation module is configured to encapsulate the second data frame, and the packet transmission device further includes: a second transmitting module (not shown in fig. 11) for transmitting the first frame header. In a second possible implementation manner of determining the position of the corresponding first data frame by the first receiving node, the encapsulation module is configured to: encapsulating a second data frame, the message transmission device further comprising: a third transmitting module (not shown in fig. 11) for transmitting the second frame header. In a third implementation manner of the foregoing first receiving node determining a position of a corresponding first data frame, the packet transmission device further includes: a fourth sending module (not shown in fig. 11) for sending the first notification message. The third implementation may be combined with the first implementation (or the second implementation) described above.
Optionally, the message transmission device further includes: a fifth transmitting module (not shown in fig. 11) is configured to transmit the second notification message (the description of the second notification message may refer to the foregoing embodiment).
Alternatively, reference may be made to the previous embodiments for an introduction of a change in the position of the first data frame.
Optionally, when the plurality of receiving nodes are divided into a plurality of node groups, the plurality of node groups are in one-to-one correspondence with a plurality of mutually independent channel quality ranges, and the quality of a channel from the transmitting node to the first receiving node belongs to the channel quality range corresponding to the node group to which the first receiving node belongs.
Optionally, the message transmission device further includes: a receiving module and a determining module (not shown in fig. 11), where the receiving module is configured to receive a report message (the description of the report message may refer to the foregoing embodiment); the determining module is used for determining the quality of the channel according to the received report message.
Optionally, the physical layer transmission rate of the message corresponding to the first receiving node is positively correlated with the quality in the channel quality range corresponding to the node group to which the first receiving node belongs.
Optionally, the packaging module is configured to: encapsulating a plurality of first data frames in the above embodiment; the first sending module 1002 is configured to: transmitting a corresponding first data frame to the first receiving node; the payload of the first data frame includes the first valid portion; at least one first data frame of the plurality of first data frames further includes a first overhead portion, and a first length ratio of the first overhead portion to the first effective portion in the first data frame corresponding to the receiving node is negatively related to: and the quality in the channel quality range corresponding to the node group to which the receiving node belongs.
Optionally, the packaging module is configured to: encapsulating a second data frame comprising a first frame header and a first payload; the message transmission device further comprises: a second transmitting module (not shown in fig. 11) configured to transmit the first frame header to the first receiving node before the first transmitting module 1002 transmits the corresponding first data frame to the first receiving node; the first header includes: a second effective portion and a second overhead portion, a second length ratio of the second overhead portion to the second effective portion being greater than or equal to a maximum value of the first length ratio.
Optionally, the packaging module is configured to: encapsulating a second data frame comprising a plurality of private domains; the message transmission device further comprises: a third sending module (not shown in fig. 11) configured to send the second frame header in the private domain to the first receiving node before the first sending module 1002 sends the corresponding first data frame to the first receiving node; the second header includes a third active portion, the second header in at least one private domain including the at least one first data frame, and a third overhead portion; in one of the private domains, a third length ratio of the third overhead portion to the third active portion is greater than or equal to a first length ratio of the first overhead portion to the first active portion.
Optionally, the message transmission device further includes: a buffering module (not shown in fig. 11) configured to buffer the partial packet in a buffer queue corresponding to the first receiving node.
The present application also provides a message transmission device belonging to a first receiving node in the optical communication system provided by the present application, fig. 12 is a schematic structural diagram of the message transmission device, as shown in fig. 12, where the message transmission device includes: a first receiving module 1101 and an extracting module 1102.
A first receiving module 1101, configured to receive a portion of a plurality of messages sent by the sending node; wherein destination nodes of at least two messages in the plurality of messages are different, and a set formed by the destination nodes of the plurality of messages comprises the plurality of receiving nodes; the destination node of at least one message in the partial message comprises the first receiving node.
And an extracting module 1102, configured to extract, from the partial message, a message of which the destination node is the first receiving node.
Optionally, the plurality of receiving nodes are divided into a plurality of node groups; the message corresponding to the first receiving node is: a message with a destination node belonging to the node group to which the first receiving node belongs.
Optionally, the first receiving module 1101 is configured to: receiving a first data frame corresponding to the first receiving node sent by the sending node; and analyzing the first data frame corresponding to the first receiving node to obtain a message corresponding to the first receiving node. The load of the first data frame corresponding to the first receiving node carries a message corresponding to the first receiving node;
The first receiving node needs to determine the position of the first data frame corresponding to the first receiving node before receiving the corresponding first data frame. The first receiving node may determine the location of the corresponding first data frame in a number of ways.
In a first implementation manner of determining the position of the corresponding first data frame by the first receiving node, the packet transmission device further includes: a second receiving module and a first parsing module (not shown in fig. 11), the second receiving module being configured to receive the first frame header; the first parsing module is configured to parse the first frame header to determine a position of the first data frame corresponding to the first receiving node.
In a second alternative implementation manner of the foregoing first receiving node determining the position of the corresponding first data frame, the packet transmission device further includes: a third receiving module, configured to receive a second frame header, and a second parsing module (not shown in fig. 11) configured to parse the received second frame header to determine a location of the first data frame corresponding to the first receiving node.
In a third optional implementation manner of the foregoing first receiving node determining a position of a corresponding first data frame, the packet transmission device further includes: a fourth receiving module and a first determining module (not shown in fig. 11). The fourth receiving module is used for receiving the first notification message; the first determining module is configured to determine, according to the first notification message, a position of the first data frame corresponding to the first receiving node.
The third implementation may be combined with the first implementation (or the second implementation) described above.
Optionally, the message transmission device further includes: a fifth receiving module and a second determining module (not shown in fig. 11). The fifth receiving module is configured to receive the second notification message in the foregoing embodiment; the second determining module is configured to determine the second position in the above embodiment according to the second notification message.
Optionally, when the plurality of receiving nodes are divided into a plurality of node groups, the plurality of node groups are in one-to-one correspondence with a plurality of mutually independent channel quality ranges, and the quality of a channel from the transmitting node to the first receiving node belongs to the channel quality range corresponding to the node group to which the first receiving node belongs.
Optionally, the message transmission device further includes: a sending module (not shown in fig. 11) is configured to send the report message in the foregoing embodiment to the sending node (the description of the report message may refer to the foregoing embodiment).
The embodiment of the application also provides a communication device, which comprises: the system comprises a processor and a memory, wherein the memory stores a program, and the processor is used for executing the program stored in the memory so as to realize a message transmission method executed by a sending node or a receiving node (such as a first receiving node).
The embodiment of the application also provides a chip, which comprises the programmable logic circuit and/or the program instructions and is used for realizing the message transmission method executed by the sending node or the receiving node (such as the first receiving node) when the chip runs.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores instructions, when the instructions run on a computer, cause the computer to execute the message transmission method executed by the sending node or the receiving node (such as the first receiving node).
The embodiments of the present application also provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform a method of message transmission performed by a sending node or a receiving node (e.g. a first receiving node).
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be embodied in whole or in part in the form of a computer program product comprising one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a network of computers, or other programmable devices. The computer instructions may be stored in or transmitted from one computer readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) means from one website, computer, server, or data center. The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium, or a semiconductor medium (e.g., solid state disk), etc.
The data and the information related to the application are all authorized by the user or fully authorized by all parties, and the collection, the use and the processing of the data and the information need to comply with the relevant laws and regulations and standards of relevant countries and regions.
In the present application, the terms "first" and "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The term "at least one" means one or more, "a plurality" means two or more, unless expressly defined otherwise. The term "and/or" is merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
Different types of embodiments, such as a method embodiment and a device embodiment, provided by the embodiment of the present application may be referred to each other, and the embodiment of the present application is not limited to this. The sequence of operations in the method embodiment provided by the embodiment of the application can be properly adjusted, the operations can be correspondingly increased or decreased according to the situation, and any method which is easily conceivable to be changed by a person skilled in the art within the technical scope of the disclosure of the application is covered in the protection scope of the application, so that the description is omitted.
In the corresponding embodiments provided in the present application, it should be understood that the disclosed system and apparatus may be implemented in other structural manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, or may be in electrical or other forms.
Elements illustrated as separate elements may or may not be physically separate, and elements described as elements may or may not be physically located, or may be distributed over several apparatuses. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
While the application has been described in terms of various alternative embodiments, it will be apparent to those skilled in the art that various equivalent modifications and alterations can be made without departing from the scope of the application. Therefore, the protection scope of the application is subject to the protection scope of the claims.

Claims (22)

1. A method of transmitting a message, the method performed by a transmitting node in an optical communication system, the optical communication system further comprising a plurality of receiving nodes, the plurality of receiving nodes being located between the transmitting node and a user node, the method comprising:
acquiring a plurality of messages to be transmitted, wherein destination nodes of at least two messages in the plurality of messages are different, and a set formed by the destination nodes of the plurality of messages comprises the plurality of receiving nodes;
And sending part of messages in the plurality of messages to a first receiving node in the plurality of receiving nodes, wherein a destination node of at least one message in the part of messages comprises the first receiving node.
2. The method of claim 1, wherein the plurality of receiving nodes are divided into a plurality of node groups; the partial message is as follows: a message with a destination node belonging to the node group to which the first receiving node belongs.
3. The method according to claim 1 or 2, wherein before sending a part of the plurality of messages to a first receiving node of the plurality of receiving nodes, the method further comprises:
encapsulating a first data frame corresponding to the first receiving node; wherein, the load of the first data frame corresponding to the first receiving node carries the partial message;
Transmitting a portion of the plurality of messages to a first receiving node of the plurality of receiving nodes, comprising:
and sending a first data frame corresponding to the first receiving node.
4. A method according to claim 3, wherein encapsulating the first data frame corresponding to the first receiving node comprises:
Encapsulating a second data frame, wherein the second data frame comprises: the first frame header is used for indicating the position of the first data frame corresponding to the first receiving node, and the first load comprises the first data frame corresponding to the first receiving node;
before sending the corresponding first data frame to the first receiving node, the method further comprises:
And sending the first frame header to the first receiving node.
5. A method according to claim 3, wherein encapsulating the first data frame corresponding to the first receiving node comprises:
Encapsulating a second data frame, wherein the second data frame comprises: the private domain corresponding to the first receiving node includes: the second load comprises a first data frame corresponding to the first receiving node; the second frame header is used for indicating the position of a first data frame corresponding to the first receiving node and the first receiving node;
before sending the corresponding first data frame to the first receiving node, the method further comprises:
And sending the corresponding second frame header in the private domain to the first receiving node.
6. The method according to any of claims 3 to 5, wherein before transmitting the corresponding first data frame to the first receiving node, the method further comprises:
Sending a first notification message to the first receiving node through a first transmission channel, wherein the first notification message is used for indicating the position of the first data frame corresponding to the first receiving node;
Transmitting a corresponding first data frame to the first receiving node, including:
And sending a corresponding first data frame to the first receiving node through a second transmission channel, wherein the second transmission channel is different from the first transmission channel.
7. The method of claim 6, wherein the method further comprises:
And when the position of the first data frame corresponding to the first receiving node is required to be changed from a first position to a second position, sending a second notification message for indicating the second position to the first receiving node through the first transmission channel.
8. The method of claim 7, wherein the change in the position of the first data frame is related to a change in the number of messages corresponding to at least one of the receiving nodes;
The sending node is configured to send a message corresponding to a second receiving node to the second receiving node, where the second receiving node is any receiving node in the plurality of receiving nodes, and a destination node of at least one message corresponding to the second receiving node includes the second receiving node.
9. The method according to any one of claims 1 to 8, wherein the plurality of receiving nodes are divided into a plurality of node groups; the partial message is a message with a destination node belonging to a node group to which the first receiving node belongs;
the plurality of node groups are in one-to-one correspondence with a plurality of mutually independent channel quality ranges, and the quality of a channel from the transmitting node to the first receiving node belongs to the channel quality range corresponding to the node group to which the first receiving node belongs.
10. The method of claim 9, wherein prior to transmitting a portion of the plurality of messages to a first receiving node of the plurality of receiving nodes, the method further comprises:
receiving a report message sent by the first receiving node, wherein the report message is used for indicating the quality of a channel from the sending node to the first receiving node;
and determining the quality of a channel from the sending node to the first receiving node according to the received report message.
11. The method of claim 10, wherein the report message carries a sequence number of the first receiving node.
12. The method according to any of claims 9 to 11, wherein a physical layer transmission rate of the message corresponding to the first receiving node is positively correlated with a quality within the channel quality range corresponding to the node group to which the first receiving node belongs.
13. The method according to claim 12, characterized in that the method comprises: encapsulating a plurality of first data frames; the load of the first data frame corresponding to a second receiving node carries a message corresponding to the second receiving node, the second receiving node is any receiving node of the plurality of receiving nodes, a destination node of at least one message corresponding to the second receiving node comprises the second receiving node, and the sending node is used for sending the message corresponding to the second receiving node;
Transmitting a portion of the plurality of messages to a first receiving node of the plurality of receiving nodes, comprising: transmitting a corresponding first data frame to the first receiving node;
the load of the first data frame comprises a first effective part, and the first effective part carries the message corresponding to the receiving node corresponding to the first data frame;
at least one first data frame of the plurality of first data frames further includes a first overhead portion, and a first length ratio of the first overhead portion to the first effective portion in the first data frame corresponding to the receiving node is negatively related to: and the quality in the channel quality range corresponding to the node group to which the receiving node belongs.
14. The method of claim 13, wherein encapsulating the plurality of first data frames comprises: encapsulating a second data frame, wherein the second data frame comprises: a first frame header and a first load, where the first frame header is used to indicate a position of the first data frame corresponding to the second receiving node, and the first load includes the plurality of first data frames;
Before sending the corresponding first data frame to the first receiving node, the method further comprises: transmitting the first frame header to the first receiving node;
The first header includes: a second effective portion and a second overhead portion, a second length ratio of the second overhead portion to the second effective portion being greater than or equal to a maximum value of the first length ratio.
15. The method of claim 13, wherein encapsulating the plurality of first data frames comprises: encapsulating a second data frame, wherein the second data frame comprises: the private domains corresponding to the plurality of receiving nodes include: the second load comprises a first data frame corresponding to the second receiving node, and the second frame head is used for indicating the position of the first data frame corresponding to the second receiving node and the second receiving node;
before sending the corresponding first data frame to the first receiving node, the method further comprises: transmitting the second frame header in the private domain to the first receiving node;
The second header includes a third active portion, the second header in at least one private domain including the at least one first data frame, and a third overhead portion; in one of the private domains, a third length ratio of the third overhead portion to the third active portion is greater than or equal to a first length ratio of the first overhead portion to the first active portion.
16. The method according to any one of claims 1 to 15, further comprising:
And caching the partial message in a cache queue corresponding to the first receiving node.
17. A method of transmitting a message, the method performed by a first receiving node in an optical communication system, the optical communication system comprising: a transmitting node and a plurality of receiving nodes, the first receiving node belonging to the plurality of receiving nodes; the plurality of receiving nodes are located between the transmitting node and a user node; the method comprises the following steps:
Receiving partial messages in a plurality of messages sent by the sending node; wherein destination nodes of at least two messages in the plurality of messages are different, and a set formed by the destination nodes of the plurality of messages comprises the plurality of receiving nodes; the destination node of at least one message in the partial message comprises the first receiving node;
And extracting the message of which the destination node comprises the first receiving node from the partial message.
18. The method of claim 17, wherein the plurality of receiving nodes are divided into a plurality of node groups; the message corresponding to the first receiving node is: a message with a destination node belonging to a node group to which the first receiving node belongs;
the plurality of node groups are in one-to-one correspondence with a plurality of mutually independent channel quality ranges, and the quality of a channel from the transmitting node to the first receiving node belongs to the channel quality range corresponding to the node group to which the first receiving node belongs;
before receiving a part of messages in the plurality of messages sent by the sending node, the method further comprises:
And sending a report message to the sending node, wherein the report message is used for indicating the quality of a channel from the sending node to the first receiving node.
19. A message transmission device, wherein the message transmission device belongs to a transmitting node in an optical communication system, the optical communication system further comprises a plurality of receiving nodes, the plurality of receiving nodes are located between the transmitting node and a user node, and the message transmission device comprises:
The device comprises an acquisition module, a receiving module and a transmission module, wherein the acquisition module is used for acquiring a plurality of messages to be transmitted, destination nodes of at least two messages in the plurality of messages are different, and a set formed by the destination nodes of the plurality of messages comprises the plurality of receiving nodes;
And the first sending module is used for sending part of the messages to a first receiving node in the plurality of receiving nodes, and a destination node of at least one message in the part of messages comprises the first receiving node.
20. A message transmission device, wherein the message transmission device belongs to a first receiving node in an optical communication system, and the optical communication system comprises: a transmitting node and a plurality of receiving nodes, the first receiving node belonging to the plurality of receiving nodes; the plurality of receiving nodes are located between the transmitting node and a user node; the message transmission device comprises:
The first receiving module is used for receiving part of messages in the plurality of messages sent by the sending node; wherein destination nodes of at least two messages in the plurality of messages are different, and a set formed by the destination nodes of the plurality of messages comprises the plurality of receiving nodes; the destination node of at least one message in the partial message comprises the first receiving node;
And the extraction module is used for extracting the message of which the destination node is the first receiving node from the partial message.
21. A communication device, comprising: a processor and a memory, the memory having a program stored therein, the processor being configured to execute the program stored in the memory to implement the method of any one of claims 1 to 18.
22. An optical communication system comprising a transmitting node and a plurality of receiving nodes, the receiving nodes being located between the transmitting node and a user node, the transmitting node being configured to perform the method of any of claims 1 to 16, the plurality of receiving nodes comprising a first receiving node, the first receiving node being configured to perform the method of claim 17 or 18.
CN202211376469.6A 2022-11-04 2022-11-04 Message transmission method and device and optical communication system Pending CN117998234A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211376469.6A CN117998234A (en) 2022-11-04 2022-11-04 Message transmission method and device and optical communication system
PCT/CN2023/105236 WO2024093331A1 (en) 2022-11-04 2023-06-30 Message transmission method and apparatus, and optical communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211376469.6A CN117998234A (en) 2022-11-04 2022-11-04 Message transmission method and device and optical communication system

Publications (1)

Publication Number Publication Date
CN117998234A true CN117998234A (en) 2024-05-07

Family

ID=90895971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211376469.6A Pending CN117998234A (en) 2022-11-04 2022-11-04 Message transmission method and device and optical communication system

Country Status (2)

Country Link
CN (1) CN117998234A (en)
WO (1) WO2024093331A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7289501B2 (en) * 2003-11-06 2007-10-30 Teknovus, Inc. Method and apparatus for bandwidth-efficient multicast in ethernet passive optical networks
CN101048009A (en) * 2006-03-31 2007-10-03 株式会社日立制作所 Method and system for controlling IP packet service quality in passive optical network system
CN102355301A (en) * 2011-07-12 2012-02-15 无锡北邮感知技术产业研究院有限公司 Node grouping algorithm applied in PON (Passive Optical Network) planning
EP3852384B1 (en) * 2020-01-14 2023-11-08 Nokia Solutions and Networks Oy An optical line terminal and an optical network unit and methods therefor

Also Published As

Publication number Publication date
WO2024093331A1 (en) 2024-05-10

Similar Documents

Publication Publication Date Title
US9331785B2 (en) Method and apparatus of building a coaxial convergence layer in ethernet passive optical network (PON) over coaxial network (EPoC)
JP5512807B2 (en) System and method for energy efficient operation of an optical network device based on scheduled payload reception
US9793993B2 (en) Method and apparatus of delivering upstream data in ethernet passive optical network over coaxial network
CA2169151C (en) Information communication network system, central information communication control device and information communication device used in the system, information sending method, andmodulation method
US8126335B2 (en) Methods and apparatus for next generation access passive optical networks
CN100527708C (en) Method for transmitting service frame in passive light network, optical network unit and optical line circuit
WO2010048892A1 (en) Optical network terminal management and control interface over ethernet
US8885652B2 (en) Hybrid orthogonal frequency division multiplexing time domain multiplexing passive optical network
KR20040025354A (en) Discovery method for oam capability in ethernet passive optical network
US9137850B2 (en) Wired/wireless converged MAC adaptor and method of transmitting frame using wired/wireless converged MAC adaptor
CN112019299B (en) Data transmission method and related equipment
KR20130093788A (en) Converged pon for tdma-pon service based on ofdma-pon
US20220232300A1 (en) Service data transmission method, related device, and digital processing chip
WO2023246416A1 (en) Data transmission method and apparatus
CN114520937A (en) Data transmission method, device and system in PON
CN117998234A (en) Message transmission method and device and optical communication system
WO2021196932A1 (en) Multiplexing-based channel identification method and apparatus therefor
US10992406B2 (en) Communication in passive optical networks (PONs) related to digital signal processing for optical signal (oDSP)
KR100723874B1 (en) Tdma passive optical network olt system for broadcast service
Begovic et al. 10G EPON vs. XG-PON1 efficiency
CN116528083B (en) Passive optical network downlink grouping method and data scheduling method
US20240236532A1 (en) Upstream transmission resource allocation method and related device
RU2809182C1 (en) Service data transmission method, corresponding device and digital processing chip
CN118679730A (en) Downstream data processing method and device for cascade passive optical network
KR100815520B1 (en) Centralized control message transmission by using multicast burst polling scheme

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication